Commit graph

4644 commits

Author SHA1 Message Date
FredKiefer
2cae54f0d9 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
nico
de5a159d50 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
nico
9aefb536cb 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
nico
3903ad9fc3 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
nico
9cf4c31a52 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
nico
716c42c781 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
nico
7d17e587c6 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
nico
5227a56022 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
FredKiefer
cd2eaa602f 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
FredKiefer
7581c0a471 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
FredKiefer
bf14890f36 [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
pyr
3dbebb3faa 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
pyr
0c19c58a52 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
pyr
0489eb0f3c 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
nico
6cc72f4e27 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
nico
2a9c291c51 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
nico
139ad9faac 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
nico
b810c6d953 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
nico
aa930b972f 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
nico
a12d774087 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
nico
4b75f32e1c 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
pyr
948186b125 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
fedor
c51f4265da 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
pyr
86eca68043 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
pyr
a0b4fbb0f4 [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
nico
ab9f957a43 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
nico
344431e578 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
nico
0e8da88cca 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
nico
d50dc905ec 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
nico
5a8bf680ff 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
fedor
e25669d434 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
fedor
1a4b92fb34 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
nico
14e5b05871 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
nico
1ffb45d2f3 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
FredKiefer
d6bccc8eb7 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
FredKiefer
2555835716 [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
FredKiefer
92a9be1d3c 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
FredKiefer
8169c22750 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
FredKiefer
e69d4a4cfe [_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
fedor
902527511b 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
pyr
80f7ffdb5f 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
pyr
8b173b0071 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
pyr
3bd5c1906b 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
pyr
8ba5897643 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
pyr
f81d98ffd2 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
fedor
3bccdadd9e 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
nico
d49716b6fa 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
nico
0d84a33a26 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
nico
51bf191cb5 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
nico
d5f42d299b 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