Commit graph

2862 commits

Author SHA1 Message Date
Fred Kiefer
2d05f0e6a9 Added some NSResponder methods with empty code to keep the
NSInputManager quiet.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11887 72102866-910b-0410-8b05-ffd578937521
2001-12-23 13:29:37 +00:00
Fred Kiefer
4e7bf384a7 Corrected writing to pasteboard from text object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11886 72102866-910b-0410-8b05-ffd578937521
2001-12-23 02:16:16 +00:00
Fred Kiefer
7f8dba0b2f [writeSelectionToPasteboard:types:] corrected C binary operator
short cut logic	that prevented us froam adding more than one
string type to the pasteboard. Remember that || wont evaluate the
second operand if the first is true.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11885 72102866-910b-0410-8b05-ffd578937521
2001-12-23 02:15:40 +00:00
Nicola Pero
ce22ed5135 Prepared localization framework, made a localization experiment with
NSApplication


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11880 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:50:55 +00:00
Nicola Pero
e348717ebb Added Resources
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11879 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:50:17 +00:00
Nicola Pero
02de1b149f New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11878 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:49:20 +00:00
Nicola Pero
224485caa7 Implemented GSGuiBundle(); localized messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11877 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:41:25 +00:00
Nicola Pero
54451c2e6e New header file for private gnustep-gui functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11876 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:40:47 +00:00
Nicola Pero
0bcac86a20 Removed some empty comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11872 72102866-910b-0410-8b05-ffd578937521
2001-12-21 15:44:47 +00:00
Nicola Pero
b4360186d0 Added subproject KeyBindings, which I had forgotten
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11871 72102866-910b-0410-8b05-ffd578937521
2001-12-21 14:41:00 +00:00
Nicola Pero
36c2acfcea Added KeyBindings subproject
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11870 72102866-910b-0410-8b05-ffd578937521
2001-12-21 14:40:06 +00:00
Adam Fedor
500322ea64 New image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11861 72102866-910b-0410-8b05-ffd578937521
2001-12-21 03:39:34 +00:00
Fred Kiefer
925688bbfd New backend method for screen resolution and some DnD improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11860 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:50:15 +00:00
Fred Kiefer
919986d571 [deviceDescription] call new function GSResolutionForScreen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11859 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:49:37 +00:00
Fred Kiefer
cc07289a95 Implemented [GSResolutionForScreen:] with code from NSScreen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11858 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:49:09 +00:00
Fred Kiefer
91fd13373a Added GSResolutionForScreen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11857 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:48:03 +00:00
Fred Kiefer
d78b73e3c5 Removed method [_postExternalEvents:]. Added method [GSResolutionForScreen:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11856 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:46:19 +00:00
Fred Kiefer
607e008095 New Implemantion of [dragImage:...slideBack:]. Replaced call to
[NSGraphicContext _postExternalEvents:] with [NSDragInfo
postDragEvent:].
Replaced most [NSScreen mainScreen] with [self screen].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11855 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:45:48 +00:00
Fred Kiefer
652569d814 Implemented dragFile:fromRect:slideBack:event:]. Moved code from
[dragImage:...slideBack:] to NSWindow and call this.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11854 72102866-910b-0410-8b05-ffd578937521
2001-12-21 00:45:15 +00:00
Nicola Pero
8f7ebfdc16 Fixed typo in my last commit in NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11837 72102866-910b-0410-8b05-ffd578937521
2001-12-19 17:56:48 +00:00
Nicola Pero
aac4630c79 Fixed typo in my last commit - a couple of lines being repeated twice
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11836 72102866-910b-0410-8b05-ffd578937521
2001-12-19 17:56:26 +00:00
Nicola Pero
bb00d990cc Tidied my last changelog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11830 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:35:52 +00:00
Nicola Pero
502d811501 Fixed crash in NSTextView when pressing C-e on an empty line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11829 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:34:50 +00:00
Nicola Pero
800a2241d4 Fixed moveToEndOfLine: for empty lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11828 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:31:20 +00:00
Nicola Pero
0cc1b5bd9a Fixed effectiveRange returned by lineFragment and textContainer methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11827 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:22:25 +00:00
Nicola Pero
8b15ba08d6 Removed old obsolete comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11825 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:09:13 +00:00
Fred Kiefer
bed8eea7fc Better window manager support for main menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11823 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:08:07 +00:00
Fred Kiefer
2d8e03ceb4 Removed the redefinition of NSRunAlertPanel() as NSWOrkspace no
longer uses this,


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11822 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:07:19 +00:00
Fred Kiefer
64bab8cfad [setMainMenu:] set the title of the main menu window, so
the window manager can display it.We could do this also for all
other menus, but those wont show up in the window manager.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11821 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:06:50 +00:00
Pierre-Yves Rivaille
740307b774 Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
([NSWindow -setTitle:]):
                  ([NSWindow -_initBackendWindow:]):
changed cString into lossyCString during DPStitlewindow calls


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11809 72102866-910b-0410-8b05-ffd578937521
2001-12-18 14:24:08 +00:00
Pierre-Yves Rivaille
68fc762180 Source/NSBrowser.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11808 72102866-910b-0410-8b05-ffd578937521
2001-12-18 13:35:48 +00:00
Pierre-Yves Rivaille
fba144b38e NSBrowserColumn: new methods initWithCoder & encodeWithCoder
now complies to NSCoding
[NSBrowser -initWithCoder:] & [NSBrowser -encodeWithCoder:]: major update
to previous implementation. It is now usable with Gorm and should not
generate memory leaks anymore.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11807 72102866-910b-0410-8b05-ffd578937521
2001-12-18 13:33:13 +00:00
Nicola Pero
7b4faa15fa Implemented loading key bindings from files with all bells and whistles
around that


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11798 72102866-910b-0410-8b05-ffd578937521
2001-12-18 00:34:30 +00:00
Nicola Pero
c89ba70bf6 Compile DefaultsSummary.gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11797 72102866-910b-0410-8b05-ffd578937521
2001-12-18 00:33:44 +00:00
Nicola Pero
02d8e96dce Regenerated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11796 72102866-910b-0410-8b05-ffd578937521
2001-12-18 00:33:13 +00:00
Nicola Pero
11508ce02d Added tentative explanation of GSDefaultKeyBindings and GSCustomKeyBindings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11795 72102866-910b-0410-8b05-ffd578937521
2001-12-18 00:32:34 +00:00
Nicola Pero
0f1621859c NSInputManager - first implementation from scratch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11794 72102866-910b-0410-8b05-ffd578937521
2001-12-18 00:31:21 +00:00
Nicola Pero
12f765491d Pass all key events to interpret to the current NSInputManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11793 72102866-910b-0410-8b05-ffd578937521
2001-12-18 00:30:21 +00:00
Nicola Pero
d9c5761cf7 New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11792 72102866-910b-0410-8b05-ffd578937521
2001-12-18 00:29:38 +00:00
Pierre-Yves Rivaille
cfdc65053b Source/NSButtonCell.m
Source/NSProgressIndicator.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11789 72102866-910b-0410-8b05-ffd578937521
2001-12-17 19:18:43 +00:00
Adam Fedor
d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Pierre-Yves Rivaille
a83fb608b9 drawInteriorWithFrame: inView: removed the code that drew the background
(osx doesn't draw background)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11780 72102866-910b-0410-8b05-ffd578937521
2001-12-16 23:35:06 +00:00
Pierre-Yves Rivaille
13ed0a690a [NSProgressIndicator +initialize]: retain the fillColour
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11779 72102866-910b-0410-8b05-ffd578937521
2001-12-16 23:31:17 +00:00
Nicola Pero
32b460ee36 Implemented in NSTextView methods to move to the end/beginning of line or
document, to move forward/backward word, to select line


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11775 72102866-910b-0410-8b05-ffd578937521
2001-12-16 02:14:59 +00:00
Nicola Pero
832cd40f79 Implemented methods to move to the end/beginning of document/line, to move
forward/backward a word, and to select the current line


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11774 72102866-910b-0410-8b05-ffd578937521
2001-12-16 02:14:01 +00:00
Nicola Pero
2288141aab Moved back some entries from ChangeLog.2 to ChangeLog to keep the size
of ChangeLog.2 reasonable


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11773 72102866-910b-0410-8b05-ffd578937521
2001-12-16 02:10:58 +00:00
Nicola Pero
4cd7f01f28 Renamed ChangeLog to ChangeLog.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11772 72102866-910b-0410-8b05-ffd578937521
2001-12-16 02:05:23 +00:00
Nicola Pero
0b806e1512 Indentation tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11768 72102866-910b-0410-8b05-ffd578937521
2001-12-15 10:30:53 +00:00
Adam Fedor
21a1c20196 New methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11735 72102866-910b-0410-8b05-ffd578937521
2001-12-13 04:13:42 +00:00
Adam Fedor
6923231b25 Improve NSDragging protocol handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11699 72102866-910b-0410-8b05-ffd578937521
2001-12-11 04:31:08 +00:00