Commit graph

8302 commits

Author SHA1 Message Date
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
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
79b98f2903 ChangeLog was updated. 2020-01-23 12:56:09 +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
fredkiefer
eae3f9e991 Add proper handling of code pages in RTF parsing. 2020-01-22 16:54:25 +01: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
b9c8e8d78b Merge branch 'master' of github.com:gnustep/libs-gui 2020-01-20 15:55:05 -05:00
Gregory John Casamento
de1c66bf7f Merge branch 'NSAppearance_branch' 2020-01-20 15:54:44 -05:00
Gregory John Casamento
1e2d243735 Start on storyboard 2020-01-20 15:52:31 -05:00
Gregory John Casamento
d507e88dec Add skeletons 2020-01-20 15:48:02 -05:00
fredkiefer
60fc987fb7 Fix compiler warnings 2020-01-20 20:57:32 +01:00
Gregory John Casamento
ca35ae6a22 Merge branch 'master' into NSTouchBar_branch 2020-01-20 14:44:14 -05:00
Gregory John Casamento
6accd98088 Take out implemented classes 2020-01-20 14:42:06 -05:00
Fred Kiefer
2350210dfe
Merge pull request #39 from gnustep/xib_document
Xib document
2020-01-20 20:05:06 +01:00
fredkiefer
e2c59a7bee Merge branch 'master' into xib_document 2020-01-20 19:12:15 +01:00
fredkiefer
09853bffc8 Fix indentation 2020-01-20 19:10:15 +01:00
Gregory John Casamento
d0ebeef85b Fix missing file. 2020-01-20 10:24:22 -05:00
Gregory Casamento
08c7bbdeaf
Merge pull request #46 from gnustep/NSDataAsset_branch
NSDataAsset branch
2020-01-19 20:44:18 -05:00
Gregory John Casamento
08cf9c3545 fix years 2020-01-19 20:43:49 -05:00
Gregory John Casamento
765e9bfecd Change NSString to NSDataAssetName. 2020-01-19 20:42:40 -05:00
Gregory Casamento
25bdc6e89c
Merge pull request #45 from gnustep/NSAppearance_branch
NSAppearance branch
2020-01-19 20:19:28 -05:00