Commit graph

6047 commits

Author SHA1 Message Date
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
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
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 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
Gregory John Casamento
9919d63d29 Add dealloc 2020-01-19 16:11:06 -05:00
fredkiefer
bc7c0262c5 Clean up the old XIB loading code. 2020-01-19 18:52:36 +01:00
fredkiefer
46ea0fb36d Merge branch 'master' into xib_document
# Conflicts:
#	ChangeLog
2020-01-19 17:24:04 +01:00
fredkiefer
42d771d589 Get master to guild again after breakage of last commit. 2020-01-19 17:21:51 +01:00
fredkiefer
50bc834ddc Add decoding of binding options and handle bindings to arrays
with transformations correctly.
2020-01-19 13:08:58 +01:00
Gregory John Casamento
c31ec536a2 NSNibOutletConnector and NSNibControlConnector classes added 2020-01-18 19:24:41 -05:00
fredkiefer
00bb2396a6 Diverse imporvements to get my XIB5 test application running. 2020-01-18 16:03:24 +01:00
Gregory John Casamento
7ba1d5f570 ASSIGN in initWithCoder: 2020-01-17 17:45:41 -05:00
Gregory John Casamento
a6c7d1d8fc Add NSDataAsset 2020-01-17 17:34:43 -05:00
Gregory John Casamento
0b23edea63 Add dealloc 2020-01-17 17:29:58 -05:00
Gregory John Casamento
810232cdad Correct some additional issues 2020-01-17 10:06:00 -05:00
Gregory John Casamento
9f2869bc82 Fix a couple of Fred's concerns. 2020-01-17 08:20:33 -05:00
Gregory John Casamento
e17c1287b3 Encoding 2020-01-15 10:39:44 -05:00
Gregory John Casamento
0a402df303 Implement copy 2020-01-15 10:02:58 -05:00
Gregory John Casamento
d9c42f8cc8 Clean compilation 2020-01-15 08:19:59 -05:00
fredkiefer
aeafa9578e Add generic mechanism to decode keys that include the class name.
Also add header clip view to subviews of scroller.
2020-01-12 21:10:54 +01:00
fredkiefer
3a6176b0cf Add observable array and use it for arrangeObjects. 2020-01-12 21:02:16 +01:00
fredkiefer
d7676fb7c2 Use decodeSizeForKey:. 2020-01-12 21:00:00 +01:00
fredkiefer
eb9fd58dce Merge branch 'master' into xib_document
# Conflicts:
#	.gitignore
#	ChangeLog
2020-01-11 19:47:13 +01:00
fredkiefer
5f147345fc Improve predicate editor decoding. 2020-01-11 19:33:24 +01:00
fredkiefer
97cb13a5ff Add some more bindings 2020-01-10 20:53:53 +01:00
Sergii Stoian
9a58a93ee5 * Images/common_StepperDown.tiff,
* Images/common_StepperDownHighlighted.tiff,
* Images/common_StepperUp.tiff,
* Images/common_StepperUpHighlighted.tiff: new images with arrows
similar to scroll view buttons'.

* Source/GSThemeDrawing.m (stepperUpButtonRectWithFrame:),
(stepperDownButtonRectWithFrame:): center buttons horizontally; simplify
and cleanup.

* Source/NSStepper.m (acceptsFirstResponder): return NO. Returning
YES makes sense only if `keyDown:` is implemented.
(acceptsFirstMouse:): return YES.

* Source/NSStepperCell.m (cellSize): initial implementation. Retruns
minimum size based on up and button sizes.
2020-01-10 15:46:22 +02:00
fredkiefer
668ae592f5 Remove unneeded class mappings. 2020-01-07 21:38:07 +01:00
fredkiefer
14f88edfe8 Merge branch 'master' into xib_document
# Conflicts:
#	ChangeLog
2020-01-07 21:27:20 +01:00
fredkiefer
c0714b0de1 Add minimal version of predicate editor copied over from mySTEP. 2020-01-07 21:25:21 +01:00
fredkiefer
9a9f32d1b5 Use a formatter in the NSDatePickerCell. 2020-01-07 17:38:03 +01:00
fredkiefer
dc955b1ce4 Add minimal version of date picker copied over from mySTEP. 2020-01-06 22:25:54 +01:00
fredkiefer
f6ce68d177 Add decoding for object controller and subclasses. 2020-01-06 20:17:23 +01:00
fredkiefer
210ce65e17 Correct handling of NSSelectedIndex and other references.
Add celltitle as a meta font name.
2020-01-06 14:30:04 +01:00
fredkiefer
05b35bd8a6 Small clean up. 2020-01-03 22:15:40 +01:00
fredkiefer
e868f47488 Add changelog entry. 2020-01-03 21:58:32 +01:00
fredkiefer
d45ce451f9 Move XIB type detection into GSXibLoader.m 2020-01-03 18:21:28 +01:00
fredkiefer
97891ed2bb Add definition of NSWindowStyleMask.
Fix some indentation.
Remove commented out code.
2020-01-03 17:49:47 +01:00
fredkiefer
0792f3080d Handle "message" as a font value and adjust the other values to
match the current GNUstep defaults.
2020-01-02 18:16:16 +01:00
fredkiefer
d810eb6945 Work on indentation. 2020-01-01 22:51:40 +01:00
fredkiefer
fd3c43c00d Merge branch 'master' into xib_document 2020-01-01 22:29:05 +01:00
fredkiefer
378bb98c12 Remove more commented out code.
Extract search button method.
2020-01-01 22:28:40 +01:00
fredkiefer
2f5e2b3c84 More renaming. 2020-01-01 16:46:18 +01:00
fredkiefer
f0b36d6ee8 Removed commented out elements from XmlTagToDecoderSelectorMap 2020-01-01 16:36:15 +01:00
fredkiefer
40a9e5f7b2 Fix description methods. 2020-01-01 16:23:03 +01:00
fredkiefer
9ba7063a45 Better handling of state attribute. 2020-01-01 16:10:36 +01:00
fredkiefer
3ce90ffd8a Minor spelling corrections 2020-01-01 14:13:59 +01:00
fredkiefer
0420155566 Clean up code for class NSCustomObject5. 2020-01-01 13:46:53 +01:00
fredkiefer
8b506e12b7 Better handling for DEBUG_XIB5 2020-01-01 13:39:38 +01:00
fredkiefer
250be5c957 Correct indentation. 2020-01-01 13:32:54 +01:00
fredkiefer
b6b28cc41c Better warning text for missing root obejects in XIB. 2020-01-01 13:32:10 +01:00
fredkiefer
d14a7d4ae8 Remove confusing comments. 2020-01-01 13:28:51 +01:00
fredkiefer
65445f6e4f Spelling correction and removal of a newline. 2020-01-01 13:24:39 +01:00
fredkiefer
cc8f4e6137 Document purpose and origin of coding flags. 2019-12-31 18:33:50 +01:00
fredkiefer
560f68323b * Source/NSBundleAdditions.m (-pathForNibResource:): Report type
not filename while iterating.
2019-12-29 22:19:24 +01:00
fredkiefer
d25610bf6a Merge branch 'master' into xib_document 2019-12-24 13:15:38 +01:00
fredkiefer
13c87bc9d0 "pullsDown" should not default to true. 2019-12-24 11:36:56 +01:00
fredkiefer
5c9c641113 Reenable userDefinedRuntimeAttribute handling that got lost.
Correct releasing of reference elements.
Add more font attributes and get the values from NSFont.
2019-12-22 13:46:50 +01:00
Sergii Stoian
1d0d5595a0 * Source/NSBrowser.m (frameOfColumn:): shift up column only for browser
with separated sparated columns layout.
(tile): fix column height calculation; moved sanity check of column
height closer to calculation; removed code that duplicates code below.
2019-12-18 17:35:59 +02:00