Commit graph

2879 commits

Author SHA1 Message Date
Nicola Pero
a9ab96ca32 Tidied some comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11936 72102866-910b-0410-8b05-ffd578937521
2002-01-02 09:35:25 +00:00
Nicola Pero
431a40577f Tidied up the clickedOnLink:atIndex: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11935 72102866-910b-0410-8b05-ffd578937521
2002-01-02 08:39:48 +00:00
Nicola Pero
11276aaed1 Set up the rulers in NSScrollView's -tile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11931 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:21:01 +00:00
Nicola Pero
dfeae9978f Set up the rulers in -tile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11930 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:20:37 +00:00
Nicola Pero
c1fdbfbd3e Rewritten NSScrollView's -tile method to be simpler to understand
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11929 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:06:41 +00:00
Nicola Pero
bfd82eec60 Rewritten the -tile method to be simpler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11928 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:06:01 +00:00
Nicola Pero
9b20bdef87 Clean up in NSView resize with old superview size method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11924 72102866-910b-0410-8b05-ffd578937521
2002-01-01 15:45:19 +00:00
Nicola Pero
0f19567490 Cleaned resizeWithOldSuperviewSize:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11923 72102866-910b-0410-8b05-ffd578937521
2002-01-01 15:44:18 +00:00
Richard Frith-Macdonald
4fc0a44d47 Implement forwardInvocation:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11908 72102866-910b-0410-8b05-ffd578937521
2001-12-29 08:22:33 +00:00
Nicola Pero
3b64cb19f7 Fixed drawing of background color in NSButtonCell; new code to set/remove
rulers in a scrollview


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11899 72102866-910b-0410-8b05-ffd578937521
2001-12-25 14:08:02 +00:00
Nicola Pero
57ea7f8bf1 Fixed drawing of background color which had broken nextstep-like look&feel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11898 72102866-910b-0410-8b05-ffd578937521
2001-12-25 14:07:25 +00:00
Nicola Pero
b3ef3c0cbc Added better support for adding/removing rulers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11897 72102866-910b-0410-8b05-ffd578937521
2001-12-25 14:03:06 +00:00
Fred Kiefer
81cc445c50 Allow copy as drag operation into NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11892 72102866-910b-0410-8b05-ffd578937521
2001-12-24 15:03:20 +00:00
Fred Kiefer
0adc332777 [dragOperationForDraggingInfo:type:] added NSDragOperationCopy to
the valid drag actions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11891 72102866-910b-0410-8b05-ffd578937521
2001-12-24 15:02:25 +00:00
Nicola Pero
01fa250f74 Some indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11890 72102866-910b-0410-8b05-ffd578937521
2001-12-24 01:25:04 +00:00
Fred Kiefer
35e9f52b2e Some code cleanup for NSInputManager changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11889 72102866-910b-0410-8b05-ffd578937521
2001-12-23 13:31:27 +00:00
Fred Kiefer
16c4b83d48 [initialize] retain the gui bundle and added an auto release pool
as this might be called without one installed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11888 72102866-910b-0410-8b05-ffd578937521
2001-12-23 13:30:35 +00:00
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