Commit graph

1821 commits

Author SHA1 Message Date
Nicola Pero
81f0b95aaa Enable to disable a previous keybinding if a "" action is used
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12045 72102866-910b-0410-8b05-ffd578937521
2002-01-08 16:33:18 +00:00
Nicola Pero
528d683390 Big simplification of the code managing the Windows menu, so that it should
now work properly when the application is translated.  Basically, all code
depending on the title of the Windows menu was removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12031 72102866-910b-0410-8b05-ffd578937521
2002-01-07 19:57:05 +00:00
Nicola Pero
7f388bdd2d Localization fixes for the Windows menu - better management of problems
with translation of the Windows menu


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12029 72102866-910b-0410-8b05-ffd578937521
2002-01-07 18:22:20 +00:00
Nicola Pero
7ebecf1620 Updated for changes in GSServicesManager's ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12010 72102866-910b-0410-8b05-ffd578937521
2002-01-06 16:01:02 +00:00
Nicola Pero
3bf8307f31 Prefixed all ivars with underscore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12008 72102866-910b-0410-8b05-ffd578937521
2002-01-06 13:26:27 +00:00
Nicola Pero
9055efeae3 Use the key equivalent for 'default' if no one under the appropriate
user language is found


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12006 72102866-910b-0410-8b05-ffd578937521
2002-01-06 13:06:56 +00:00
Nicola Pero
e1f54eb120 Implemented activation of links when you click on them; only activate
attachments on the first click


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11959 72102866-910b-0410-8b05-ffd578937521
2002-01-03 09:46:00 +00:00
Nicola Pero
df7e037dab Minor cleaning/tidying up in -mouseDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11937 72102866-910b-0410-8b05-ffd578937521
2002-01-02 09:53:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Nicola Pero
18e2344353 Use NSDebugMLLog, not NSWarn, when warning that -setStringValue: was
called with nil argument


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11693 72102866-910b-0410-8b05-ffd578937521
2001-12-11 02:23:59 +00:00
Fred Kiefer
454645a625 [NSIconWindow _initDefaults] set the title of the icon window, so
the window manager can display it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11666 72102866-910b-0410-8b05-ffd578937521
2001-12-09 16:05:27 +00:00
Fred Kiefer
a0223a8cd3 [_workspaceApplication] renamed defaults key for Workspace
application to GSWorkspaceApplication.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11655 72102866-910b-0410-8b05-ffd578937521
2001-12-07 23:02:55 +00:00
Adam Fedor
36be3e7686 Draw image background even when clear
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11654 72102866-910b-0410-8b05-ffd578937521
2001-12-07 22:52:42 +00:00
Pierre-Yves Rivaille
4a5f98e0e7 Source/NSTableView.m: [setDelegate:], [setDataSource:] and
[validateEditing] changed to conform to previous change
(quick_sort_internal()) : fixed typo


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11651 72102866-910b-0410-8b05-ffd578937521
2001-12-07 17:05:57 +00:00
Pierre-Yves Rivaille
c82a721e48 Source/NSTableColumn.m: changed the initWithIdentifier return type from
NSTableColumn* to id. It prevents warning when subclassing and is
consistent with the docs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11649 72102866-910b-0410-8b05-ffd578937521
2001-12-07 14:40:01 +00:00
Adam Fedor
3feebf562f Fix debug log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11636 72102866-910b-0410-8b05-ffd578937521
2001-12-05 15:44:29 +00:00
Nicola Pero
64396acc55 Commented out debugging log which wouldn't compile because of typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11634 72102866-910b-0410-8b05-ffd578937521
2001-12-05 13:08:39 +00:00
Nicola Pero
5df2192c99 Update the enclosing scrollview background color and drawsBackground flag
in response to change in ours; mark us as needing redisplay in such events


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11632 72102866-910b-0410-8b05-ffd578937521
2001-12-05 13:02:51 +00:00