Commit graph

6340 commits

Author SHA1 Message Date
Gregory John Casamento
9dd7b6d56d Make category unique 2020-05-05 15:35:35 -04:00
Gregory John Casamento
482b78d1ea Fix select option 2020-05-05 15:24:00 -04:00
Gregory John Casamento
dd62ab2d2c Correct encoding issue 2020-05-05 11:03:48 -04:00
Gregory John Casamento
9abc40727b Path Cell encoding/decoding 2020-05-05 08:26:13 -04:00
Gregory John Casamento
22c1897eee Fix popup positioning. 2020-05-05 02:14:46 -04:00
Gregory John Casamento
266ec7e430 Implement popUpMenuPositonItem:... dragging, dropdown implementation, menu changes 2020-05-04 09:50:22 -04:00
Gregory John Casamento
8222de40c6 Implement dragging handling and delegate interaction 2020-05-04 05:47:00 -04:00
Gregory John Casamento
636ebfcf0a Complete rendering for all types. 2020-05-03 23:20:42 -04:00
Gregory John Casamento
7dd732f9de Move to GSTheme. 2020-05-03 20:51:51 -04:00
Gregory John Casamento
a27119c56d PathStyle changes 2020-05-03 13:07:53 -04:00
Gregory John Casamento
9a70a452b5 Add cell generation and images 2020-05-03 04:17:00 -04:00
Gregory John Casamento
0c05c151a8 Move decoding of style to the correct place. 2020-05-02 13:48:12 -04:00
Gregory John Casamento
7b0bbdc26a Add to AppKit.h, implement URL and image lookup in NSPathComponentCell 2020-05-02 13:45:49 -04:00
Gregory John Casamento
12d6da05c0 Decode NSCell in the proper place. Fix metafont issue with toolTips 2020-05-02 08:12:23 -04:00
Gregory John Casamento
f597a389de Decoding of NSPathCell objects is working. 2020-05-02 05:12:54 -04:00
Gregory John Casamento
4591d8b60b Implement decoding 2020-04-28 12:07:34 -04:00
Gregory John Casamento
9dfe412e8e Implement decoding 2020-04-28 11:59:38 -04:00
Gregory John Casamento
a4e5ea39d7 Implement encoding 2020-04-27 14:37:22 -04:00
Gregory John Casamento
60e395f4d1 Delegate to cell 2020-04-27 05:34:02 -04:00
Gregory John Casamento
5811355c00 Add NSPathControlItem 2020-04-27 03:25:19 -04:00
Gregory John Casamento
3dc3feda41 Add NSPathComponentCell 2020-04-27 01:55:31 -04:00
Gregory John Casamento
699bffe59c Add skeleton code for NSPathCell 2020-04-27 01:33:49 -04:00
Gregory John Casamento
f07ed1351d Add path component cells 2020-04-26 23:42:44 -04:00
Gregory John Casamento
c49fcc0e0b Initial skeletal implementation of NSPathControl 2020-04-26 20:57:16 -04:00
Gregory John Casamento
a0aa55e1f1 Initial skeletons for Path objects 2020-04-26 17:15:06 -04:00
Gregory John Casamento
a390accec4 Merge branch 'master' into NSPathControl_branch 2020-04-26 15:30:05 -04:00
Gregory John Casamento
c8c312351a Fix spelling and extra include. 2020-04-26 15:04:25 -04:00
Gregory John Casamento
456fe72ab9 Fix formatting issues. 2020-04-26 10:53:48 -04:00
Gregory John Casamento
760b14a2cc Update pixel offset 2020-04-26 10:30:36 -04:00
Gregory John Casamento
54983cef50 Add NSEnabled decoding. it is encoded in NSControl, but is NOT used when it is decoded, so we have to retrieve the value here in NSSwitch. 2020-04-26 04:47:25 -04:00
Gregory John Casamento
0c1ab6c756 Remove pragmas to remove warnings. It was causing EXTRA warnings when building with gcc. 2020-04-24 07:05:06 -04:00
Gregory John Casamento
b0ead22814 revert GSThemeTools.m 2020-04-24 06:57:22 -04:00
Gregory John Casamento
d16e9769b0 Update display when setEnabled is called 2020-04-24 06:52:12 -04:00
Gregory John Casamento
6c690312e9 Correct formatting of code. 2020-04-24 06:36:14 -04:00
Gregory John Casamento
627a4894cc Use fred's calculation for moving the knob 2020-04-24 06:34:43 -04:00
Gregory John Casamento
be756441aa Use fred's approach for the colors 2020-04-24 06:25:06 -04:00
Gregory John Casamento
39601c0960 initialize colors as Fred suggested 2020-04-24 06:20:19 -04:00
Gregory John Casamento
d1beeaa0b7 remove uneeded function 2020-04-24 05:43:39 -04:00
Gregory John Casamento
2fb06e0e7b remove uneeded comment 2020-04-24 05:43:12 -04:00
Gregory John Casamento
6c8691a082 Remove some warnings and unused functions, finish implementation of encoding. 2020-04-24 04:29:15 -04:00
Gregory John Casamento
bd2372230f Undo removal of space. 2020-04-24 03:39:28 -04:00
Gregory John Casamento
33e2bbd1f0 Add setObject: 2020-04-24 03:32:57 -04:00
Gregory John Casamento
6e3d3a87d8 The warning generated by the code in this method -establishConnection is unavoidable. Disable the warning. 2020-04-24 03:27:34 -04:00
Gregory John Casamento
1a2ff4a40c Add code to decode enabled state for switch 2020-04-24 02:47:17 -04:00
Gregory John Casamento
fdd51ae2df Add color for disabled state 2020-04-24 02:34:59 -04:00
Gregory John Casamento
b32eb4d37d Add initial versions of files. 2020-04-23 00:43:15 -04:00
Gregory John Casamento
ab83e1ef81 Fix issue with calling setState: on classes which aren't NSSwitch when it's not needed 2020-04-22 17:50:46 -04:00
Gregory John Casamento
5d1ec31ef2 Move color selection into the theme 2020-04-22 17:44:04 -04:00
Gregory John Casamento
57a8720cd8 Reduce repetition of code 2020-04-22 17:39:10 -04:00
Gregory John Casamento
f57e5184c3 Resolve theme issues, change size of knob 2020-04-22 17:34:14 -04:00
Gregory John Casamento
d4b7a0c76d Attempt to fix issue with setState: on NSSwitch. 2020-04-22 17:02:53 -04:00
Gregory John Casamento
23ad6ba6c8 Add initWithCoder: / encodeWithCoder: 2020-04-22 05:20:04 -04:00
Gregory John Casamento
b3ac2b292b Fix issue with mouseDown: 2020-04-21 23:41:13 -04:00
Gregory John Casamento
ec3227d132 Implement setXXXValue methods and getters 2020-04-21 23:36:11 -04:00
Gregory John Casamento
0df7e5f7d7 Improve colors 2020-04-20 15:13:28 -04:00
Gregory John Casamento
8fd9db5130 Improve position of knob 2020-04-18 16:31:05 -04:00
Gregory John Casamento
6bf8d790ef Improve position of knob 2020-04-18 14:36:26 -04:00
Gregory John Casamento
d083bc061d Improve calculation for knob position when in On state 2020-04-18 11:46:34 -04:00
Gregory John Casamento
da0f7ded36 Better colors 2020-04-17 18:03:26 -04:00
Gregory John Casamento
dae6b91c99 Add target/action 2020-04-17 07:40:40 -04:00
Gregory John Casamento
bfa9f0c1c2 Add mouseDown: implementation call to super 2020-04-17 07:24:34 -04:00
Gregory John Casamento
4d7bc4435b Add mouseDown: implementation 2020-04-17 07:22:24 -04:00
Gregory John Casamento
aa9344c78b Draw elements. 2020-04-17 06:32:05 -04:00
Gregory John Casamento
ecc9791ecf Draw elements. 2020-04-17 06:10:04 -04:00
Gregory John Casamento
a1672a4605 Add skeleton drawing method for switch to GSThemeDrawing. 2020-04-16 12:16:30 -04:00
Gregory John Casamento
8785a1307b More initial work. 2020-04-16 11:42:21 -04:00
Gregory John Casamento
ea5dbc2236 Merge branch 'master' into NSSwitch_branch 2020-04-16 06:33:36 -04:00
Gregory John Casamento
789e89f0a2 Fix all of the issues mentioned by Fred. 2020-04-15 18:34:04 -04:00
Gregory John Casamento
f1ab633b2f Merge branch 'master' into NSSwitch_branch 2020-04-15 17:21:46 -04:00
Gregory John Casamento
64a33a3f45 Fix issue with NSSet and NSString. 2020-04-14 14:07:23 -04:00
Gregory John Casamento
8bdb4ffe16 Add methods for NSFontAssetRequest. 2020-04-14 13:41:27 -04:00
Gregory John Casamento
a761a01eb5 Add NSUserInterfaceItemSearching code. 2020-04-14 13:23:25 -04:00
Gregory John Casamento
e4fb12cae5 Add user interface compression 2020-04-14 11:54:02 -04:00
Gregory John Casamento
3d1da7a0b3 Skeleton for NSMediaLibraryBrowserController 2020-04-14 09:58:45 -04:00
Gregory John Casamento
63baff0b6a Skeleton out scrubber layout 2020-04-14 09:38:09 -04:00
Gregory John Casamento
1479a4fa88 Fix issues with license and import statements 2020-04-13 15:04:12 -04:00
Gregory John Casamento
f989474735 Add NSwitch initial changes 2020-04-13 14:15:07 -04:00
Gregory John Casamento
66ea79f256 Fix issues pointed out by Fred. More fixes to come. 2020-04-13 14:14:14 -04:00
Gregory John Casamento
4d87b8e97a Merge branch 'master' into mac_specific 2020-04-12 19:15:29 -04:00
Gregory John Casamento
9833ef333a Add scrubber classes 2020-04-08 17:17:41 -04:00
Gregory John Casamento
b4676fa0b3 Add AppKitErrors 2020-04-07 19:23:53 -04:00
Gregory John Casamento
813aa7eefd Add NSWindowRestoration protocol 2020-04-07 15:15:31 -04:00
Gregory John Casamento
3d8c8cf01c Add some mac specific classes. 2020-04-07 08:31:18 -04:00
Wolfgang Lux
9afab3aaf8 Change arguments names to reduce confusion about their intended use 2020-04-01 13:15:48 +02:00
Wolfgang Lux
b42691c160 Remove redundant calls to close method. 2020-04-01 12:57:37 +02:00
Wolfgang Lux
88e318e5e8 Restore call to delegate method which was lost a while ago. 2020-04-01 12:55:53 +02:00
Gregory John Casamento
3ee2a1e85c Merge branch 'master' of github.com:gnustep/libs-gui 2020-03-26 10:20:55 -04:00
Gregory John Casamento
15889eb8b1 Change declarations to NSExceptionName 2020-03-26 10:19:32 -04:00
Gregory John Casamento
bf90621300 Merge branch 'master' of github.com:gnustep/libs-gui into NSStoryboard_branch2 2020-03-25 02:32:11 -04:00
Fred Kiefer
ba165e185b
Merge pull request #51 from gnustep/NSFontCollection_branch
Merge NSFontCollection branch as nobody replied to my last comment.
2020-03-24 08:42:32 +01:00
Gregory John Casamento
d90821dc8e Debug changes 2020-03-24 00:03:58 -04:00
Gregory John Casamento
b88bff5ddb Change 'NSApplicationMain' to load storyboard if it is present. 2020-03-23 05:41:30 -04:00
Gregory John Casamento
dc8b036378 Add storyboard loader code. Storyboards are basically just xib files, so much of it is the same. 2020-03-22 22:16:48 -04:00
fredkiefer
6d5cbe977b Add missing import.
Add author section.
2020-03-21 15:48:25 +01:00
fredkiefer
76f84654c2 Implement font collection matching code in GSFontEnumerator.
Remove trailing white space.
2020-03-21 15:33:41 +01:00
fredkiefer
8d56f280f8 Use NSDebugLLog to reduce amount of output.
Small clean ups.
2020-03-21 14:32:43 +01:00
fredkiefer
4a56f9c742 Reduce data size to a usefull amount. 2020-03-21 14:25:30 +01:00
fredkiefer
4715703a20 Clean up file handling code.
Remove trailing white space.
Correct exclusion processing.
2020-03-20 19:33:14 +01:00
Gregory John Casamento
2584386fbc Add storyboard classes. 2020-03-20 05:50:56 -04:00
Gregory John Casamento
d6d1f2e658 use AUTORELEASE 2020-03-20 04:54:02 -04:00
Gregory John Casamento
6f7293d21e Fix indentation 2020-03-20 04:53:20 -04:00
Gregory John Casamento
34cfca2d06 Minor fix. Move panel instantiation to after lock. 2020-03-20 04:52:18 -04:00
Gregory John Casamento
54fc199d73 Additional fix for color selection issue. 2020-03-20 04:35:13 -04:00
Gregory John Casamento
ab5a52b59e Fix issue where color sampler only gets color from app windows. Now can get color from the entire screen. 2020-03-20 04:25:42 -04:00
Gregory John Casamento
bc47973133 Merge branch 'master' of github.com:gnustep/libs-gui into NSColorSampler_branch 2020-03-19 16:43:05 -04:00
Gregory John Casamento
53f211fdda Correct license on NSSegmentedControl to reflect the LGPL as it should. 2020-03-17 00:23:04 -04:00
Gregory John Casamento
03191c3756 Minor changes for NSColorSampler 2020-03-17 00:11:40 -04:00
Gregory John Casamento
26fdf7e10b Fix RELEASE statement 2020-03-15 19:44:11 -04:00
Gregory John Casamento
6b086ca150 Fix issue where color was being continuously updated. 2020-03-15 19:14:15 -04:00
Gregory John Casamento
c34e5688a1 NSColorSampler implementation 2020-03-15 18:39:22 -04:00
Gregory John Casamento
319c3677ff Remove code per fred's suggestion 2020-03-15 04:36:29 -04:00
fredkiefer
c15ff512c7 Add proper initializer and try to get retain counts correct. 2020-03-13 17:57:49 +01:00
Gregory John Casamento
8f5e702766 Remove uneeded code 2020-03-13 05:19:07 -04:00
Gregory John Casamento
369e45ebe2 Add/Remove descriptors when appropriate 2020-03-13 03:14:42 -04:00
Gregory John Casamento
1f04167c7d Autorelease NSFontCollection when created by _writeToFile 2020-03-12 16:03:39 -04:00
Gregory John Casamento
3a027a7eba Remove errant comment 2020-03-12 15:46:52 -04:00
Gregory John Casamento
22fa2f21ea Remove redundant check 2020-03-12 15:45:55 -04:00
Gregory John Casamento
28ff42fa4b Correct indentation 2020-03-12 15:43:57 -04:00
fredkiefer
5680d2e0fd Correct the implementation of some simple methods on NSFileCollection. 2020-03-12 16:40:04 +01:00
Gregory John Casamento
d9d5f60835 NSColorSampler initial commit 2020-03-12 04:14:09 -04:00
Gregory John Casamento
d8a43c580c Add NSColorSampler class. 2020-03-12 03:22:12 -04:00
Gregory John Casamento
3194948df4 minor improvements. 2020-03-11 23:39:39 -04:00
Gregory John Casamento
4b72608c35 Fix storage of font collection files 2020-03-11 23:36:22 -04:00
Gregory John Casamento
38f4292989 Fix encoding 2020-03-11 19:00:52 -04:00
Gregory John Casamento
ddce45a6a2 Release memory from archiving and unarchiving. 2020-03-11 01:17:51 -04:00
Gregory John Casamento
2760d90061 Rewrite the reading and writing portions of NSFontCollection so that we can output the root object as NSFontCollectionDictionary 2020-03-11 01:06:29 -04:00
Gregory John Casamento
681e5c9ed9 Correct issue with encoding, use a dictionary to store everything. Create collections when initializing when appropriate 2020-03-09 04:11:56 -04:00
Gregory John Casamento
fb7bdc70a0 Merge branch 'master' of github.com:gnustep/libs-gui into NSFontCollection_branch 2020-03-08 20:50:59 -04:00
Sergii Stoian
a61aa9f68f * Source/NSWindow.m (_applyFrame:): new helper method to do actual
resizing and repositionning.
  (setFrame:display:): use _applyFrame method.
  (applicationDidChangeScreenParameters:): use _applyFrame: method.
2020-03-05 23:27:31 +02:00
Sergii Stoian
3f85f86f3b * Source/NSScreen.m: remove +screen comment - not ready yet. 2020-03-05 12:25:56 +02:00
Sergii Stoian
96a3579e98 * Source/NSWindow.m (applicationDidChangeScreenParameters:):
Call backend's `placewindow::` directly because our origin in OpenStep
  coordinates might left unchanged and `setFrame:display:` has check
  for it.
2020-03-05 02:21:26 +02:00
Sergii Stoian
6d4afe9678 Merge branch 'master' into randr
Conflicts:
	ChangeLog
2020-03-05 02:19:23 +02:00
Gregory John Casamento
bf5d40ea58 Merge branch 'master' of github.com:gnustep/libs-gui into NSFontCollection_branch 2020-03-02 15:11:34 -05:00
Sergii Stoian
fcbb4d704b * Source/NSWindow.m (center): always center window on main screen -
monitor where user expects to see window.
2020-02-28 02:18:20 +02:00
Gregory John Casamento
f54d47667b Add implementations or mutable font dcollectioin 2020-02-26 07:36:45 -05:00
Gregory John Casamento
80bab3fa5a Implement encoding 2020-02-25 21:25:55 -05:00
Sergii Stoian
f460e3f875 * Source/NSWindow.m (sendEvent:): removed usage of extra local variables
in GSAppKitWindowMoved code block.
2020-02-26 02:05:34 +02:00
Gregory John Casamento
a06dc3bef4 Add implementation for a few more methods 2020-02-25 18:15:02 -05:00
Gregory John Casamento
46d2636b36 Update _removeFile method. Correct minor comments 2020-02-25 11:02:39 -05:00
Gregory John Casamento
bd1a349c0a Merge branch 'master' into NSFontCollection_branch 2020-02-25 09:00:17 -05:00
Gregory John Casamento
70bc1153de Font collection constants 2020-02-25 08:58:44 -05:00
Sergii Stoian
b3e099f4ab * Source/NSScreen.m (screens): add initial description of new logic
around screens (back, windows and menus) as comment.
2020-02-25 02:28:02 +02:00
Sergii Stoian
216d1f086f Merge branch 'master' into randr
Conflicts:
	ChangeLog
2020-02-23 23:38:36 +02:00
Sergii Stoian
fe5616f5e1 * Source/NSWindow.m
(applicationDidChangeScreenParameters:): quit while loop after
  screen was found.
  (sendEvent:): use `_screen` ivar to get screen befor frame change.
2020-02-23 23:26:18 +02:00
fredkiefer
3db981a95d Move more behaviour from the IBActionConnection5 and IBOutletConnection5
classes to the original ones.
2020-02-23 18:22:21 +01:00
Sergii Stoian
c0c5cad292 Merge branch 'master' into randr
Conflicts:
	ChangeLog
2020-02-23 03:04:19 +02:00
Sergii Stoian
99e0f4ddda * Source/NSMenu.m (windowDidChangeScreen:): join two if statements. 2020-02-23 01:56:33 +02:00
Sergii Stoian
11ff1789e8 * Source/NSMenu.m (_setGeometry): take into account main screen
origin when calculating horizontal menu postion.
2020-02-20 01:11:33 +02:00
Sergii Stoian
fe1cf36de0 * Source/NSApplication.m (_appIconInit): take into account main screen
origin when placing application icon.
2020-02-20 00:53:44 +02:00
Gregory John Casamento
344a4bbaf8 Eliminate duplicate entries in GNUmakefile, remove 'blocking' capability in speech recognizer code for now. 2020-02-17 01:35:57 -05:00
Sergii Stoian
557486906a * Source/NSMenu.m (initWithTitle:): moved observer setup for
window notification to applicationDidFinishLaunching: method.
  (setTornOff:): setup oberver for window notifications if menu is
  torn off, uset observer otherwise.
  (applicationDidFinishLaunching:): setup oberver only for main menu.
  (windowDidChangeScreen:): do not process notifications from menu
  windows. Use -netstedSetFrameOrigin for frame change to take care
  of submenus repositioning.
2020-02-14 14:14:05 +02:00
Sergii Stoian
c1c77cc7c0 * Source/NSMenu.m (windowDidChangeScreen:): simplify calculation of
frame X position.
2020-02-14 12:34:20 +02:00
Sergii Stoian
533be55806 * Source/NSWindow.m (setFrame:display:): use _screeForFrame: here
to prevent `_screen` reassign -  it will be reassigned in
  sendEvent: (GSAppKitWindowMoved event) after call to [self screen].
  (setFrameFromString:): removed unused code because _screenForFrame:
  never returns `nil`. Do not reassign `_screen` here.
2020-02-13 18:30:04 +02:00
Sergii Stoian
381c24cdf4 * Source/NSWindow.m (processEvent:): notification moved back here from
`screen` method. Placing posting notification into `screen` method
  is unreliable/dangerous - notification observer may call [NSWindow screen]
  which results in notification posting loop.
2020-02-12 13:55:15 +02:00
Sergii Stoian
4c531f04bc * Source/NSWindow.m (processEvent:): posting notification
NSWindowDidChangeScreenNotification moved into `screen`
  method.
2020-02-12 13:08:58 +02:00
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
6539ed8913 Final cleanup of debug output 2020-02-08 06:44:43 -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
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
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
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
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
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