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
Nicola Pero
b588777480
Automatically mark the NSClipView as needing redisplay when the background
...
color - or the drawsBackground flag - changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11631 72102866-910b-0410-8b05-ffd578937521
2001-12-05 13:01:43 +00:00
Adam Fedor
b4481e1c16
Cursor changes, etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11618 72102866-910b-0410-8b05-ffd578937521
2001-12-03 21:17:12 +00:00
Laurent Julliard
6c04b107d2
encoding/decoding methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11617 72102866-910b-0410-8b05-ffd578937521
2001-12-03 21:14:19 +00:00
Gregory John Casamento
43ae836014
Changed superviewFrameChanged to prevent crash when the number of columns
...
in an NSTableView is reduced to zero.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11603 72102866-910b-0410-8b05-ffd578937521
2001-12-03 01:51:45 +00:00
Fred Kiefer
e8ce0d207e
[initPrintInfoDefaults] use hardcoded @GNUSTEP_INSTALL_LIBDIR only
...
for non-GNUstep foundation library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11601 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:45:24 +00:00
Fred Kiefer
1a89415bdc
[initialize] and [imageNamed:] use hardcoded
...
@GNUSTEP_INSTALL_LIBDIR only for non-GNUstep foundation library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11600 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:45:01 +00:00
Fred Kiefer
5659406b7b
[_pbs] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
...
non-GNUstep foundation library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11599 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:44:34 +00:00
Fred Kiefer
dfa743ae22
[findApplications] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
...
non-GNUstep foundation library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11598 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:44:07 +00:00
Nicola Pero
8abb202934
Fixed problem when fixing up paragraph style attributes ... would get
...
into an infinite loop if no style was set at the beginning of paragraph
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11596 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:12:52 +00:00
Fred Kiefer
5e5c0b1156
[finishLaunching] and [terminate:] send workspace notification
...
with the shared workspace as object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11592 72102866-910b-0410-8b05-ffd578937521
2001-12-01 21:15:27 +00:00
Fred Kiefer
4229cb0b79
Moved all private methods into seperate category. New method
...
[_connectApplication:], use this in [openFile:...] and
[launchApplication:...]. Implemented [openTempFile:].
New method [_workspaceApplication] used to implement
[performFileOperation:...] and [selectFile:inFileViewerRootedAtPath:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11591 72102866-910b-0410-8b05-ffd578937521
2001-12-01 21:14:51 +00:00
Nicola Pero
eadda82a38
Use a warning, do not throw an exception, when setStringValue: is called
...
with nil argument
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11572 72102866-910b-0410-8b05-ffd578937521
2001-11-30 13:18:01 +00:00
Adam Fedor
f90488b0e2
Summary of user defaults
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11568 72102866-910b-0410-8b05-ffd578937521
2001-11-28 19:20:10 +00:00
Adam Fedor
b89ba69ae8
View coding fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11553 72102866-910b-0410-8b05-ffd578937521
2001-11-27 21:40:05 +00:00
Fred Kiefer
1dae607d5b
A lot of cleanup. Implemented the new methods. [openFile:XXX] no
...
longer show alert panels, as this should be done by the caller.
[launchApplication:XXX] now checks if the application is already running.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11547 72102866-910b-0410-8b05-ffd578937521
2001-11-26 20:29:42 +00:00
Fred Kiefer
afed87226a
Extracted new method [pathForNibResource:] for NSWindowController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11545 72102866-910b-0410-8b05-ffd578937521
2001-11-26 20:28:34 +00:00
Fred Kiefer
265a9e656e
Adopted to name changes of NSWindowController methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11543 72102866-910b-0410-8b05-ffd578937521
2001-11-26 20:27:47 +00:00
Fred Kiefer
11a71ac8c3
Implemented new methods and renamed some old which are now public.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11542 72102866-910b-0410-8b05-ffd578937521
2001-11-26 20:27:21 +00:00
Fred Kiefer
532a993b87
Implemented new methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11539 72102866-910b-0410-8b05-ffd578937521
2001-11-26 20:25:50 +00:00
Fred Kiefer
c45289573b
Implemented those new methods. Call new methods from the subview
...
handling methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11511 72102866-910b-0410-8b05-ffd578937521
2001-11-24 15:52:32 +00:00
Fred Kiefer
a10f888c84
Implemented extension methods for NSURL.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11509 72102866-910b-0410-8b05-ffd578937521
2001-11-24 15:51:39 +00:00