Commit graph

2976 commits

Author SHA1 Message Date
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
Nicola Pero
6cb538313c Minor change in type of warning emitted by NSCell upon -setStringValue:
called with nil argument


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11694 72102866-910b-0410-8b05-ffd578937521
2001-12-11 02:24:34 +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
f579c17b83 Set title of icon window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11667 72102866-910b-0410-8b05-ffd578937521
2001-12-09 16:06:20 +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
9a8ad9b5ab Documented the user defaults GSWorkspaceApplication and GSFontMask.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11657 72102866-910b-0410-8b05-ffd578937521
2001-12-07 23:05:40 +00:00
Fred Kiefer
f0d9a54e8b Documented NSWorkspace defaults entry GSWorkspaceApplication
and the new xgps defaults entry GSFontMask.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11656 72102866-910b-0410-8b05-ffd578937521
2001-12-07 23:03:39 +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
25d07c1ec7 Headers/gnustep/gui/NSTableColumn.m
Source/NSTableColumn.m
Headers/gnustep/gui/NSTableView.h
Source/NSTableView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11652 72102866-910b-0410-8b05-ffd578937521
2001-12-07 17:07:22 +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
Pierre-Yves Rivaille
adc15db374 Headers/gnustep/gui/NSTableView.h: changed ivar _del_editable to
_dataSource_editable. Previously the delegate was responsible for
tableView:setObjectValue:forTableColumn:row:, whereas it is now the
dataSource that is responsible for it (it conforms with the docs)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11647 72102866-910b-0410-8b05-ffd578937521
2001-12-07 14:19:57 +00:00
Pierre-Yves Rivaille
f7605af5d3 Headers/gnustep/gui/NSTableColumn.h: 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@11646 72102866-910b-0410-8b05-ffd578937521
2001-12-07 13:45:18 +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
43dc5e18af Commented out debugging log in NSPrintInfo.m which wouldn't compile with
debug=yes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11635 72102866-910b-0410-8b05-ffd578937521
2001-12-05 13:09:17 +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
38236813d1 More automation in NSText -setBackgroundColor: and -setDrawsBackground:
so you don't have to manually update the enclosing scrollview and mark all
objects as needing redisplay


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11633 72102866-910b-0410-8b05-ffd578937521
2001-12-05 13:04:04 +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
2cdafa35fb Added comment for NSTableView modification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11604 72102866-910b-0410-8b05-ffd578937521
2001-12-03 01:59:08 +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
1aa9ae91db Removed hardcoded installation dirrctory. GUI should now be able to run when
installed into another directory than the one it was compiled for.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11602 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:47:49 +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
bd742ab762 Fixed for a bug in text editing resulting in an infinite loop with text
attachmentsy


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11597 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:13:41 +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
Gregory John Casamento
7239377230 Added changelog entry for gopen change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11595 72102866-910b-0410-8b05-ffd578937521
2001-12-02 05:15:58 +00:00
Gregory John Casamento
3573776123 Modified to eliminate the output of "No application for extension 'app'" when launching an application using open. The code now checks to see if an app is being launched first, then, if not, attempts to open the file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11594 72102866-910b-0410-8b05-ffd578937521
2001-12-02 05:09:35 +00:00
Fred Kiefer
6a6410906d NSWorkspace now delegates some calls to GWorkspace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11593 72102866-910b-0410-8b05-ffd578937521
2001-12-01 21:16:43 +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
1bd55f46ab Rerun configure when a new configure is available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11586 72102866-910b-0410-8b05-ffd578937521
2001-12-01 12:24:24 +00:00