Commit graph

7890 commits

Author SHA1 Message Date
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
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