Gregory John Casamento
33a8a8c28e
Some refactoring and cleanup
2020-02-09 07:11:25 -05:00
Gregory John Casamento
2756be99e5
Merge branch 'master' into NSFontCollection_branch
2020-01-30 07:48:16 -05:00
Gregory John Casamento
2b388c6a88
Finish initialization method
2020-01-30 07:47:10 -05:00
Gregory John Casamento
772e4242a1
Finish initialization method
2020-01-30 07:46:41 -05:00
Gregory John Casamento
fac43795d6
Implement methods to modify font collections
2020-01-30 07:13:08 -05:00
Gregory John Casamento
f6555d14b0
Updates
2020-01-30 06:23:35 -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
Gregory John Casamento
697f6ba699
Add NSCTFontCollection so we can decode NSFontCollection
2020-01-27 02:31:11 -05:00
Gregory John Casamento
57d6be305b
Implement copyWithZone and mutableCopyWithZone
2020-01-26 21:53:28 -05: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
Gregory John Casamento
b41444e4c4
Correct errors and begin implementation of copy methods
2020-01-26 16:26:47 -05:00
Gregory John Casamento
15a2b03eab
Add setters and getters in NSMutableFontCollection
2020-01-26 14:42:25 -05: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
Gregory John Casamento
73bbad4059
Initial implementation of NSFontCollection methods.
2020-01-25 19:14:17 -05:00
Gregory John Casamento
479dca0b6d
Remove from NSFontCollection.m
2020-01-25 17:49:42 -05:00
Gregory John Casamento
d4bffaa399
Remove duplicate declaration
2020-01-25 17:36:25 -05:00
Gregory John Casamento
0cf034176d
Add new AppKit numbers.
2020-01-25 17:35:36 -05:00
Gregory John Casamento
607861def6
Move constants to extern.m
2020-01-25 17:25:55 -05:00
Gregory John Casamento
2f50bad42f
Update gitignore
2020-01-25 13:19:33 -05: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