Sergii Stoian
77778fb2bc
* Source/NSMenu.m (windowDidChangeScreen:): fixed formatting.
2020-02-12 12:10:14 +02:00
Sergii Stoian
2a1b9d4d54
* Source/NSWindow.m (sendEvent:): set current screen to ivar and
...
send WindowDidChangeScreen notification if window was moved to other
screen.
* Source/NSScreen.m (mainScreen): returns screen of main menu if no
key window exists. With this implementation default screen (screen at
index 0 in screens array) should never be returned.
* Source/NSMenu.m (initWithTitle:): observe WindowDidBecomeKey and
WindowDidChangeScreen notifications.
(windowDidChangeScreen:): new method to handle observed notification
added above. Moves menu to screen of key window for both cases: when
key window moved to or activated on different screen.
2020-02-12 01:46:17 +02:00
Gregory John Casamento
bacceb1a46
Prevent logging of content into public log. Only log server events
2020-02-11 06:37:49 -05:00
Gregory John Casamento
d0e05bfc3f
Add restart logic
2020-02-11 06:33:42 -05:00
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
1b2c0aad96
Correct some indentation
2020-02-10 02:31:39 -05:00
Gregory John Casamento
a9eb7c92e2
Minor changes
2020-02-09 23:00:26 -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
Gregory John Casamento
7ff1e9be8c
FontCollection changes
2020-02-09 17:45:44 -05:00
fredkiefer
b4ca06582e
* Source/NSFontDescriptor.m: Correct key for encoding and decoding.
2020-02-09 20:19:51 +01:00
Gregory John Casamento
33a8a8c28e
Some refactoring and cleanup
2020-02-09 07:11:25 -05: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
efc901b79d
Fix compilation error
2020-02-08 07:37:58 -05:00
Gregory John Casamento
347fa8c4e1
Update build to fred's suggestions. No more hardcoded entries
2020-02-08 07:01:46 -05:00
Gregory John Casamento
6539ed8913
Final cleanup of debug output
2020-02-08 06:44:43 -05:00
Gregory John Casamento
d415f526d7
Reduce info debugging.
2020-02-08 06:35:11 -05:00
Gregory John Casamento
928d816968
Update MISSING
2020-02-08 06:31:11 -05:00
Gregory John Casamento
4b3a7b5d15
Cleanup.
2020-02-08 06:25:10 -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
eda8259f53
Retain connection.
2020-02-08 03:58:13 -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
f823bf3021
Add headers
2020-02-07 04:35:35 -05:00
Gregory John Casamento
4ebc932cb3
Fix issues pointed out by fred
2020-02-07 04:25:39 -05:00
Gregory John Casamento
d3c1fd9724
More fixes to the recognizer
2020-02-06 04:29:51 -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
e50bfcf35d
Use a thread to start listening and release it when done.
2020-02-04 06:52:53 -05:00
Gregory John Casamento
1c792c3f40
Bring code into better compliance with GNUstep standards.
2020-02-04 06:20:36 -05:00
Gregory John Casamento
5ffc1ed127
Use NSLog instead of Pocketsphinx specific macros
2020-02-04 06:13:13 -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
Gregory John Casamento
8c35633a56
Add delegate
2020-02-03 11:02:03 -05:00
Gregory John Casamento
0ab7edf05a
Add start/end utterance calls
2020-02-03 08:13:08 -05:00
Gregory John Casamento
20fefae849
Fix link errors
2020-02-03 07:56:55 -05:00
Gregory John Casamento
2f8e9656a3
Fix compilation of recognizer using pocketsphinx.
2020-02-03 07:09:08 -05:00
Gregory John Casamento
eb506bd8ef
Update gitignore.
2020-02-03 01:47:02 -05:00
Gregory John Casamento
f084aa177d
Fix path
2020-02-03 01:05:58 -05:00
Gregory John Casamento
13e5b66acf
Add needed .gitignore entries.
2020-02-03 01:05:00 -05:00
Gregory John Casamento
fbcc8c6ae4
Add files
2020-02-03 01:02:50 -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
886cb4d0e8
Clean compile for speech recognizer server
2020-02-01 05:57:32 -05:00
Gregory John Casamento
ea2fe89e5f
Fix compilation errors
2020-02-01 05:43:06 -05:00