Commit graph

8284 commits

Author SHA1 Message Date
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
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
Gregory John Casamento
a880154841 NSSpeechRecognizer skeleton 2020-02-01 03:47:21 -05:00
Gregory John Casamento
11ac26b58a Speech recognition code 2020-01-31 05:27:48 -05:00
Gregory John Casamento
7e9fb9ed53 Fix conflicts 2020-01-31 04:43:30 -05:00
Gregory John Casamento
71a87523e4 Detect pocketsphinx_export.h header 2020-01-31 04:39:33 -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
Gregory John Casamento
d526f6f50d Initial add of all files 2020-01-30 16:28:18 -05:00
Gregory John Casamento
82f9cbb96b Add HAVE_POCKETSPHINX_H to config.h.in 2020-01-30 14:29:20 -05:00
Gregory John Casamento
2b565697e5 Add code to configure.ac to compile speech recognition 2020-01-30 13:56:54 -05:00
Richard Frith-Macdonald
36343b81b1 Fix error in format string 2020-01-30 09:29:55 +00:00
Sergii Stoian
31d06161d5
Merge pull request #50 from trunkmaster/master
Update window position on screen parameters change
2020-01-28 15:13:35 +02:00
Sergii Stoian
71056e625a
Merge branch 'master' into master 2020-01-28 14:46:26 +02:00
Sergii Stoian
b1dedaeb09 * ChangeLog: consolidate latest screen parameter changes. 2020-01-28 12:16:37 +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
11590c680d Add changelog entry for changes. 2020-01-24 23:04:20 +01: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