Gregory John Casamento
9953d7d132
Correct issue with detecting if app is in foreground
2020-02-11 06:11:43 -05:00
Gregory John Casamento
5b96ad6692
Merge branch 'master' of github.com:gnustep/libs-gui into NSSpeechRecognizer_branch
2020-02-10 03:03:20 -05:00
Gregory John Casamento
97a7bc738e
Move reconnection logic to one method
2020-02-09 21:26:01 -05:00
Gregory John Casamento
4ab70420a8
Add exception handling logic. I did this without using performSelector since it only occurs in a couple of places (it didn't seem worth the effort).
2020-02-09 19:55:46 -05:00
fredkiefer
b4ca06582e
* Source/NSFontDescriptor.m: Correct key for encoding and decoding.
2020-02-09 20:19:51 +01:00
Gregory John Casamento
031868f73e
Changes to support multiple connections.
2020-02-09 05:30:35 -05:00
Gregory John Casamento
4b1d3c679f
Implement both ignoring all recognizers, but the ones specified and ignoring when app is not active.
2020-02-08 15:01:31 -05:00
Gregory John Casamento
6539ed8913
Final cleanup of debug output
2020-02-08 06:44:43 -05:00
Gregory John Casamento
f05702d450
Stop thread properly and close utterance.
2020-02-08 06:22:14 -05:00
Gregory John Casamento
07bf3d32e4
Shut down server when all connections are dead
2020-02-08 06:08:27 -05:00
Gregory John Casamento
60cf308471
Collapse server into normal instance
2020-02-08 02:45:40 -05:00
Gregory John Casamento
3468a92539
Cleanup. Fix issues pointed out in review.
2020-02-07 04:50:40 -05:00
Gregory John Casamento
4ebc932cb3
Fix issues pointed out by fred
2020-02-07 04:25:39 -05:00
Gregory John Casamento
8320300fdd
Cleanup speech synth implementation. Correct recognizer.
2020-02-06 03:15:18 -05:00
Gregory John Casamento
a9bc3fe5d9
Cleanup and some minor changes
2020-02-06 02:35:53 -05:00
Gregory John Casamento
92e00382c0
Make changes suggested by fred
2020-02-05 22:56:16 -05:00
Gregory John Casamento
ebefe3805b
Merge branch 'master' into NSSpeechRecognizer_branch
2020-02-04 06:03:47 -05:00
Gregory John Casamento
72697f699c
Complete initial implementation of speech recognizer
2020-02-04 05:26:52 -05:00
Sergii Stoian
d1466b23ef
Merge pull request #52 from gnustep/randr
...
Keep menu inside visible screen frame.
2020-02-03 02:24:47 +02:00
Sergii Stoian
deec9c5932
* Source/GSTitleView.m (mouseDown:): add additional sanity checks
...
for NSScreen, NSWindow values.
2020-02-03 02:22:27 +02:00
Sergii Stoian
75cbfce281
* Source/GSTitleView.m (mouseDown): use [_window screen] instead
...
of [NSScreen mainScreen].
2020-02-02 22:40:43 +02:00
Gregory John Casamento
b1f9f1fd78
Fix speech recognizer compilation
2020-02-01 04:41:52 -05:00
Gregory John Casamento
75122ac78e
Server name to #define
2020-02-01 04:33:25 -05:00
Gregory John Casamento
f891819498
Add code to connect with server
2020-02-01 04:30:36 -05:00
Gregory John Casamento
9ee975860a
Clean build for NSSpeechRecognizer
2020-02-01 04:16:48 -05:00
Sergii Stoian
a7aa7d014d
* Source/GSTitleView.m (mouseDown:): limit menu movement to screen
...
frame for top/left/right edges. Menu can be moved to the bottom until
title is completely visible.
2020-01-31 02:31:19 +02:00
Richard Frith-Macdonald
36343b81b1
Fix error in format string
2020-01-30 09:29:55 +00:00
Sergii Stoian
71056e625a
Merge branch 'master' into master
2020-01-28 14:46:26 +02:00
Sergii Stoian
1146f35276
* Source/NSWindow.m (applicationDidChangeScreenParameters:): use enumerator
...
to go through the list of screens. Removed commented out debug output.
2020-01-28 12:15:39 +02:00
Sergii Stoian
a4174f2838
* Source/NSWindow.m (applicationDidChangeScreenParameters): take into
...
account screen origin change during window position recalculation.
* Source/NSScreen.m (dealloc): debug output was removed.
2020-01-27 00:47:08 +02:00
Sergii Stoian
d4ea1a490f
* Source/NSWindow.m (initWithContentRect:styleMask:backing:defer:):
...
added observer of NSApplicationDidChangeScreenParametersNotification.
(applicationDidChangeScreenParameters:): callback for added notification -
updates window position, set new screen object and saves frame if
autosave name exists.
* Source/NSScreen.m (initialize): remove observer of
NSApplicationDidChangeScreenParametersNotification - NSScreen shouldn't
do it. Backend explicitely calls -resetScreens before posting notification.
(_initWithScreenNumber:): ditto.
(_resetScreens): removed.
(deviceDescription): removed duplicated addition of NSDeviceSize object.
* Source/NSApplication.m (finishLaunching): remove observer of
NSApplicationDidChangeScreenParametersNotification.
2020-01-26 03:13:16 +02:00
fredkiefer
8a000a6ce2
Remove useless code as the real object is at that time nil.
2020-01-24 22:59:41 +01:00
fredkiefer
db57ab7885
Replace the NSWindowTemplate5 by the runtime attribute @"NSWindowTemplate.visibleAtLaunch"
2020-01-24 21:47:49 +01:00
Sergii Stoian
731abde796
* Source/NSScreen.m (_initWithScreenNumber:): add self as observer to
...
NSApplicationDidChangeScreenParametersNotification.
(frame): use `_frame` ivar since libs-back recreates screens list.
(dealloc): remove observer.
(applicationDidChangeScreenParameters:): update _frame and _depth
ivars for bad behaving objects which retain NSScreen and not observing
screen parameters changes.
2020-01-24 19:48:28 +02:00
fredkiefer
8c08f0c4b3
Move XIB type detection from GSXibLoader to GSXIBKeyedUnarchiver.
2020-01-24 17:30:28 +01:00
fredkiefer
3541c564e6
Fix typo spotted by Greg.
2020-01-24 16:51:36 +01:00
fredkiefer
978c58bcde
HACK to get KVO to work on the array controller class.
2020-01-24 16:50:47 +01:00
Sergii Stoian
41dc7fa9cd
Fixed permissions.
2020-01-23 13:57:42 +02:00
Sergii Stoian
232b70967a
* Source/NSScreen.m (dealloc): removed unneeded -removeObserver call.
2020-01-23 12:51:51 +02:00
Sergii Stoian
50b7d772c2
* Source/NSScreen.m: retrun back accedentially removed comment.
2020-01-23 12:49:25 +02:00
Sergii Stoian
211d9bcc46
* Source/NSScreen.m (frame): removed extra semicolon.
2020-01-23 12:47:17 +02:00
Sergii Stoian
e0af3bd8c9
* Source/NSMenu.m (_screenChanged): removed.
...
(initWithTitle:): remove observer for
NSApplicationDidChangeScreenNotification.
2020-01-23 12:46:03 +02:00
Sergii Stoian
f322393161
* Source/NSApplication.m (finishLaunching): oberver for
...
NSApplicationDidChangeScreenParametersNotification was added.
2020-01-23 02:10:27 +02:00
Sergii Stoian
fbc08684f4
* Source/NSMenu.m (_initWithScreenNumber:): removed observer for
...
NSApplicationDidChangeScreenParametersNotification.
(_updateScreenInfo:): removed obsever action.
(frame): get screen diension from display server (-boundsForScreen)
to get actual numbers.
2020-01-23 02:08:55 +02:00
Sergii Stoian
dcec52e7be
* Source/NSMenu.m: fixed typo in comment.
2020-01-23 02:05:07 +02:00
fredkiefer
3ac76af826
Move toolbar ivar from NSWindowTemplate5 to NSWindowTemplate.
2020-01-22 20:29:19 +01:00
Sergii Stoian
b3113cd66f
* Source/NSScreen.m: (_initWithScreenNumber): observe notification from
...
baackend on screen changes (display resolution).
* Source/NSScreen.m: (_updateScreenInfo): initial implementation.
2020-01-22 19:15:57 +02:00
Gregory Casamento
22612a641c
Merge pull request #47 from gnustep/NSTouchBar_branch
...
NSTouchBar branch
2020-01-20 16:47:17 -05:00
Gregory John Casamento
2c3e755825
Move storyboard stuff to storyboard branch
2020-01-20 15:59:25 -05:00
Gregory John Casamento
1e2d243735
Start on storyboard
2020-01-20 15:52:31 -05:00