Commit graph

2445 commits

Author SHA1 Message Date
CaS
d43b8b0077 Typo fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14809 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:23:59 +00:00
CaS
ca36571cc6 Fix coding bugs etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14808 72102866-910b-0410-8b05-ffd578937521
2002-10-21 17:20:46 +00:00
CaS
82d40abd70 Rewrite key view handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14805 72102866-910b-0410-8b05-ffd578937521
2002-10-21 13:03:23 +00:00
nico
5b3b0ef612 Fixed setNextKeyView: and setPreviousKeyView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14803 72102866-910b-0410-8b05-ffd578937521
2002-10-20 23:56:30 +00:00
fedor
feaf4828d5 More focus fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14800 72102866-910b-0410-8b05-ffd578937521
2002-10-20 01:48:55 +00:00
nico
d6e7072b6e Get the GSBackend class in a safer way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14783 72102866-910b-0410-8b05-ffd578937521
2002-10-15 00:47:52 +00:00
nico
33210ed0c3 Fixed last change which had broken GSFileBrowserHideDotFiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14767 72102866-910b-0410-8b05-ffd578937521
2002-10-14 00:31:22 +00:00
CaS
1891c095af Tidied method argument naming.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14763 72102866-910b-0410-8b05-ffd578937521
2002-10-13 13:50:06 +00:00
CaS
ebf17d372b Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14762 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:33:26 +00:00
CaS
ed00ac6d93 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14760 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:26:57 +00:00
CaS
39011c43ca Fix error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14759 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:13:38 +00:00
CaS
f2da05104e Tidied for documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14758 72102866-910b-0410-8b05-ffd578937521
2002-10-13 09:16:17 +00:00
CaS
4c5d36f0ae Tidied for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14752 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:10:44 +00:00
CaS
3550daa6a3 SRome documentation tidyupsi
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14751 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:00:38 +00:00
CaS
96dde22989 Avoid problem with DEFINE_RINT_IF_MISSING
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14750 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:30:02 +00:00
CaS
b6ba718583 Update documentation building
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14749 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:17:04 +00:00
gcasa
58d4138cba Adding custom class changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14747 72102866-910b-0410-8b05-ffd578937521
2002-10-13 06:03:10 +00:00
CaS
438c317b9e Minor mod to improve performance and avoid warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14745 72102866-910b-0410-8b05-ffd578937521
2002-10-13 04:45:29 +00:00
fedor
9f39142905 Document. Fix up NSDebugLogs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14727 72102866-910b-0410-8b05-ffd578937521
2002-10-12 03:14:22 +00:00
nico
e0159ddd70 Return a nil font if such a font can't be found; try to find an appropriate
font when loading a default font.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14711 72102866-910b-0410-8b05-ffd578937521
2002-10-10 23:27:51 +00:00
nico
558d7e964e Implemented pageUp: and pageDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14709 72102866-910b-0410-8b05-ffd578937521
2002-10-10 19:05:02 +00:00
nico
96ba8c1256 Use 't' as key equivalent for the font panel; 'f' is for 'find'
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14707 72102866-910b-0410-8b05-ffd578937521
2002-10-10 18:18:03 +00:00
FredKiefer
df40fbfea2 Handle seting of an empty dash in [setLineDash:count:phase:].
[_doPath] now always sends the dash pattern, even when empty.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14699 72102866-910b-0410-8b05-ffd578937521
2002-10-10 09:47:48 +00:00
fedor
f3cfa66e90 Constrain windows that are off bottom of screen also.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14695 72102866-910b-0410-8b05-ffd578937521
2002-10-10 03:10:31 +00:00
fedor
12feed898b Fix focus on hide problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14694 72102866-910b-0410-8b05-ffd578937521
2002-10-09 17:35:03 +00:00
fedor
fb3f2ea067 Add Quartz-like interface. Fix focus problems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14678 72102866-910b-0410-8b05-ffd578937521
2002-10-09 02:47:40 +00:00
nico
d72f8e94e4 Mostly rewritten - should no longer crash with new internals, and be quite
better


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14675 72102866-910b-0410-8b05-ffd578937521
2002-10-08 18:01:38 +00:00
nico
bbf4f470ca Set the layout manager's text storage to nil when we remove it, since we
are the ones setting it to non-nil when we add it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14673 72102866-910b-0410-8b05-ffd578937521
2002-10-08 17:58:09 +00:00
nico
e49060e479 Fixed bugs in replaceLayoutManager:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14672 72102866-910b-0410-8b05-ffd578937521
2002-10-08 17:57:33 +00:00
gcasa
37894d4104 Added NSButtonTemplate. Made changes to some of the other templates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14671 72102866-910b-0410-8b05-ffd578937521
2002-10-08 06:30:13 +00:00
gcasa
6db538c88b Committing additional changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14670 72102866-910b-0410-8b05-ffd578937521
2002-10-08 02:05:54 +00:00
FredKiefer
cc1307d3ae [setButtonType:] use those new names. Corrected [cellAttribute:]
and [setCellAttribute:] to use the right tests. [performClick:]
now play the sound, if provided.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14668 72102866-910b-0410-8b05-ffd578937521
2002-10-07 23:42:02 +00:00
fedor
4aba3cb17a Minor browser column fix. Change some methods to take void *
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14663 72102866-910b-0410-8b05-ffd578937521
2002-10-07 17:05:06 +00:00
gcasa
9b79751a63 Changes necessary in the gui library to implement custom class support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14660 72102866-910b-0410-8b05-ffd578937521
2002-10-06 23:59:30 +00:00
fedor
7dde67abce Implement non-separated columns.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14645 72102866-910b-0410-8b05-ffd578937521
2002-10-04 18:47:04 +00:00
fedor
c6fdfc994b New ivar for mouseDown view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14635 72102866-910b-0410-8b05-ffd578937521
2002-10-04 02:44:13 +00:00
CaS
520d119709 Fix for Enrico
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14629 72102866-910b-0410-8b05-ffd578937521
2002-10-02 12:17:08 +00:00
nico
64e7845179 Fixed sending out the controlTextDidBeginEditingNotification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14626 72102866-910b-0410-8b05-ffd578937521
2002-10-02 10:36:37 +00:00
CaS
5ab6e68dd7 Workspace fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14624 72102866-910b-0410-8b05-ffd578937521
2002-10-02 04:35:25 +00:00
fedor
9d8d7f9fde flip and audio fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14623 72102866-910b-0410-8b05-ffd578937521
2002-10-02 03:34:54 +00:00
nico
8dfa929763 Renamed an ivar; fixed positioning of insertion point when clicking
after the last char (or before the first char) of a line


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14619 72102866-910b-0410-8b05-ffd578937521
2002-10-01 16:19:01 +00:00
nico
93b70c6804 Fixed moving to the end of the 'one before the last' line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14618 72102866-910b-0410-8b05-ffd578937521
2002-10-01 16:17:23 +00:00
CaS
855c744745 Fix stupid error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14591 72102866-910b-0410-8b05-ffd578937521
2002-09-27 13:37:29 +00:00
CaS
4658c7dc35 Font caching rewrite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14590 72102866-910b-0410-8b05-ffd578937521
2002-09-27 12:25:02 +00:00
CaS
898e2814df Fix error in caching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14589 72102866-910b-0410-8b05-ffd578937521
2002-09-27 09:05:02 +00:00
CaS
bbe972eef7 Fix caching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14588 72102866-910b-0410-8b05-ffd578937521
2002-09-27 08:52:04 +00:00
CaS
ab43ceed49 Minor tidyups ... nothing functional
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14587 72102866-910b-0410-8b05-ffd578937521
2002-09-27 08:26:13 +00:00
FredKiefer
45e32b29a4 Removed the coder methods as they were just super calls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14561 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:56:31 +00:00
FredKiefer
371bc78eed Moved method [NSBundle pathForSoundResource:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14560 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:56:08 +00:00
FredKiefer
73c54f7230 Moved method [NSBundle pathForImageResource:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14559 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:55:44 +00:00
FredKiefer
ebe7ed977a Moved add-on methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14558 72102866-910b-0410-8b05-ffd578937521
2002-09-25 22:55:19 +00:00
nico
a8843e8b92 Localized strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14546 72102866-910b-0410-8b05-ffd578937521
2002-09-25 01:52:05 +00:00
nico
75cdeba43d Updated localization macros for new GSGuiPrivate - should be parseable
by make_strings now


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14545 72102866-910b-0410-8b05-ffd578937521
2002-09-25 01:51:23 +00:00
nico
61d022a244 Fixed [_window makeFirstResponder: aTextField] to actually select the text
in the textfield


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14539 72102866-910b-0410-8b05-ffd578937521
2002-09-24 14:36:59 +00:00
nico
3e69a4287e Do not force an immediate display in editXxx: and selectXxxx:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14538 72102866-910b-0410-8b05-ffd578937521
2002-09-24 14:35:52 +00:00
nico
82eb86b11a Added FIXME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14533 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:34:15 +00:00
nico
a688e33968 Added -dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14532 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:33:36 +00:00
nico
90bbe7b1e8 Remove the delegate from the notification center in -dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14531 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:33:09 +00:00
nico
3be0c5db02 Remove the delegate from the notification center in -dealloc; cache the
default notification center


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14530 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:32:42 +00:00
nico
c51012e260 Fixed typo in last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14529 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:30:29 +00:00
nico
c9b7054627 Added FIXME
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14528 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:29:14 +00:00
nico
973353b6cb Remove the delegate from the notification center in -dealloc; cache the
default notification center for the whole class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14527 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:28:12 +00:00
nico
224ef09258 Added missing dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14526 72102866-910b-0410-8b05-ffd578937521
2002-09-24 01:22:50 +00:00
nico
e2be4ba3d1 Improved error messages when loading the backend fails
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14521 72102866-910b-0410-8b05-ffd578937521
2002-09-23 13:26:26 +00:00
CaS
156d1d22dd Fix some coding standard errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14520 72102866-910b-0410-8b05-ffd578937521
2002-09-23 05:52:36 +00:00
FredKiefer
84dc37bfb4 Removed unused ivar _numberOfRows from NSBrowserColumn.
Made GSBrowserTitleCell a subclass of NSTableHeaderCell.
Corrected [scrollColumnToVisible:], so that the column becomes
visible but not always last. Adopted [scrollViaScroller:] to this
change. Inlined most private methods and optimized the
code. Reorganized [_performLoadOfColumn:] to remove code
duplication. Set the title of a column here and not each time
when drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14513 72102866-910b-0410-8b05-ffd578937521
2002-09-22 22:10:50 +00:00
alexm
d01649dcc9 Don't set uses_font_panel and uses_ruler to YES until initialization is done.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14511 72102866-910b-0410-8b05-ffd578937521
2002-09-22 14:35:22 +00:00
alexm
5b626bb4e2 Update the size in the preview and size browser when the size text field changes. Set sane defaults _before_ setting the current font.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14510 72102866-910b-0410-8b05-ffd578937521
2002-09-22 14:33:41 +00:00
alexm
61cc498161 Handle becomesKeyOnlyIfNeeded in NSPanel properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14508 72102866-910b-0410-8b05-ffd578937521
2002-09-21 23:33:37 +00:00
gcasa
67baee0c6d Corrected preprocessor compilation problem w/ NSOutlineView and NSToolbar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14507 72102866-910b-0410-8b05-ffd578937521
2002-09-21 22:57:25 +00:00
alexm
293ff83e71 When the family changes, score all faces in the new family and select the one that differs the least from what we want.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14504 72102866-910b-0410-8b05-ffd578937521
2002-09-21 15:52:42 +00:00
CaS
5b7fd41ef0 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14488 72102866-910b-0410-8b05-ffd578937521
2002-09-19 09:06:32 +00:00
CaS
686fca8eeb Minor documentation generation update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14486 72102866-910b-0410-8b05-ffd578937521
2002-09-19 05:55:41 +00:00
pyr
4ecddd4517 * Source/NSSplitView.m ([NSSplitView -initWithCoder:]):
set _never_displayed_before to YES.
* Source/NSFont.m: rearrange the last change to make
  it look like other classes' initWithCoder/encodeWithCoder
* Source/NSTextView.m: do not call _blink directly
  (suggested by Nicola Pero).
* Source/NSButtonCell.m
  ([NSButtonCell -drawInteriorWithFrame:inView:]):
  if the button is NSImageOnly, draw the dotted frame at
  the right location.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14483 72102866-910b-0410-8b05-ffd578937521
2002-09-18 18:00:30 +00:00
alexm
d5342ebd2e Fix encoding/decoding of matrixExplicitlySet.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14466 72102866-910b-0410-8b05-ffd578937521
2002-09-16 18:23:13 +00:00
alexm
2fb0700465 Make last change C89 compatible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14465 72102866-910b-0410-8b05-ffd578937521
2002-09-16 17:11:12 +00:00
alexm
f330e81ccd In -close, retain and release self to make sure it isn't deallocated too early.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14464 72102866-910b-0410-8b05-ffd578937521
2002-09-16 17:08:18 +00:00
FredKiefer
e18f0f9c1c drawRun() now correctly flags that it wants some temporary memory
allocated. The old behaviour resulted in a memory leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14451 72102866-910b-0410-8b05-ffd578937521
2002-09-15 21:25:00 +00:00
FredKiefer
0b9c3cc38a Use _lastColumnLoaded instead of _lastVisibleColumn in
[selectAll:]. Implemented MacOSX [drawTitleOfColumn:inRect:].
Optimized [matrixInColumn:] and use it where suitable.
Moved calls to [_adjustMatrixOfColumn:] inside of [_performLoadOfColumn:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14450 72102866-910b-0410-8b05-ffd578937521
2002-09-15 21:24:32 +00:00
pyr
0bf1a03438 * Source/NSMenuView.m:
New private method [NSMenuView -_itemCell] in newly created
  GNUstepPrivate category.
* Source/NSMenu.m:
  Add GNUstepPrivate interface of NSMenuView.
  [NSMenu -_setOwnedByPopUp:]: update itemCells' menuView
  (fix NSPopUpButtonCell-decoding problem).
* Source/NSPopUpButtonCell.m
  ([NSPopUpButtonCell -synchronizeTitleAndSelectedItem]):
  Fix "mouseUp outside of menu" problem. Now the previous
  selected item stay selected.
  ([NSPopUpButtonCell -initWithCoder:]):
  Set the selectedItem properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14446 72102866-910b-0410-8b05-ffd578937521
2002-09-15 14:02:17 +00:00
alexm
d2342fdf45 Don't un-flip coordinates when drawing in flipped views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14445 72102866-910b-0410-8b05-ffd578937521
2002-09-15 11:20:32 +00:00
alexm
3a937cbaaf Make the font panel work with the recent NSBrowser changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14439 72102866-910b-0410-8b05-ffd578937521
2002-09-14 11:38:30 +00:00
pyr
9ae9ab48a3 * Source/NSText.m ([NSText -initWithCoder:]):
Retain the decoded background color.

	* Source/NSTextView.m :
	multiple location: don't ignore textContainer's inset
	([NSTextView -initWithCoder:])
	([NSTextView -encodeWithCoder:])
	Encode caret color, textContainer's size and whether the
	textContainer has widthTracksTextView or heightTracksTextView set.
	([NSTextView -sizeToFit]) Change width (height) only if
	is_horizontally_resizable (is_vertically_resizable).
	([NSTextView -scrollRangeToVisible:]) scrolls to the first char of
	the range.
	([NSTextView -invalidateTextContainerOrigin]): Don't ignore inset,
	set the origin so that the justification is preserved even if the
	textContainer's width is larger that the textview's width.
	([NSTextView -updateInsertionPointStateAndRestartTimer:]):
	update and place the insertion point properly.
	([NSTextView -moveDown:]) & ([NSTextView -moveUp:]):
	Don't ignore inset. Make insertion point visible.

	* Source/NSTextField.m ([NSTextField -acceptsFirstResponder:]):
	responds NO if the editing is still in progrss.

	* Source/NSLayoutManager.m
	([NSLayoutManager -drawBackgroundForGlyphRange:atPoint:]):
	Don't ignore textContainer's inset.

	* Source/GSSimpleLayoutManager.m
	Replaced [-drawLinesInLineRange:] with [-drawLinesInLineRange:atPoint:].
	Replaced [-drawSelectionAsRangeNoCaret:] with
	[-drawSelectionAsRangeNoCaret:atPoint:].
	Those replacements make it easier to take inset into account.
	([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:])
	([-locationForGlyphAtIndex:])
	([-boundingRectForGlyphRange:inTextContainer:])
	([-rectForCharacterIndex:])
	([-setNeedsDisplayForLineRange:inTextContainer:]):
	Various fixes.
	([-textStorage:edited:range:changeInLength:invalidatedRange:])
	Update insertion point if needed (useful when alignment changes).
	([-rebuildForRange:delta:inTextContainer:]):
	Update layout mechanism.

	* Source/NSCell.m
	([NSCell -highlight:withFrame:inView:]):
	Ask the control to draw the background if we are not opaque.
	([NSCell -editWithFrame:inView:editor:delegate:event:]):
	([NSCell -selectWithFrame:inView:editor:delegate:start:length:]):
	([NSCell -endEditing:]):
	instantiate (and remove) the textview so that it can be scrolled.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14429 72102866-910b-0410-8b05-ffd578937521
2002-09-11 20:26:27 +00:00
fedor
d09d2a20e3 Fix up for change in NSBrowser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14419 72102866-910b-0410-8b05-ffd578937521
2002-09-08 04:21:10 +00:00
fedor
a01856e889 Add back +initialize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14418 72102866-910b-0410-8b05-ffd578937521
2002-09-08 03:23:31 +00:00
fedor
0e248e30e3 Convert comments for gsdoc. Updated delegate calls. Conformto MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14417 72102866-910b-0410-8b05-ffd578937521
2002-09-08 03:06:45 +00:00
FredKiefer
c4cefa17ce Corrected includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14415 72102866-910b-0410-8b05-ffd578937521
2002-09-06 23:39:52 +00:00
FredKiefer
c71a9ff475 Implemented [textFileTypes], [textPasteboardTypes],
[textUnfilteredFileTypes], [textUnfilteredPasteboardTypes].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14414 72102866-910b-0410-8b05-ffd578937521
2002-09-06 23:38:57 +00:00
FredKiefer
3125980631 Define NSHTMLPboardType.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14410 72102866-910b-0410-8b05-ffd578937521
2002-09-06 23:36:28 +00:00
FredKiefer
89ebed362c Release the invocation in [detachDrawingThread:toTarget:withObject:]
not in the helper method. (Patch by David Ayers <d.ayers@inode.at>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14409 72102866-910b-0410-8b05-ffd578937521
2002-09-06 23:35:29 +00:00
fedor
7fea2291bb Printing, cString fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14407 72102866-910b-0410-8b05-ffd578937521
2002-09-06 19:31:00 +00:00
FredKiefer
31351a93cd Moved the method [NSApplication runPageLayout:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14404 72102866-910b-0410-8b05-ffd578937521
2002-09-06 00:34:26 +00:00
FredKiefer
f8ef1a48a0 Moved the method [NSApplication orderFrontDataLinkPanel:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14403 72102866-910b-0410-8b05-ffd578937521
2002-09-06 00:33:57 +00:00
FredKiefer
19524684e8 Moved the method [NSApplication orderFrontHelpPanel:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14402 72102866-910b-0410-8b05-ffd578937521
2002-09-06 00:33:31 +00:00
FredKiefer
8946a56bfc Moved the method [NSApplication orderFrontColorPanel:] to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14401 72102866-910b-0410-8b05-ffd578937521
2002-09-06 00:33:06 +00:00
FredKiefer
d49f05cc20 Implemented [detachDrawingThread:toTarget:withObject:].
[sendAction:to:from:] now uses [targetForAction:to:from:]. Removed
moved methods. [orderFrontStandardAboutPanel:] now calles
[orderFrontStandardInfoPanelWithOptions:] so that subclasses only
have to overwritte this. Split up parts of [terminate:] into
[replyToApplicationShouldTerminate:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14400 72102866-910b-0410-8b05-ffd578937521
2002-09-06 00:30:07 +00:00
nico
4634d76350 Make sure to start blinking of insertion point from the 'on' - makes much
nicer typing


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14398 72102866-910b-0410-8b05-ffd578937521
2002-09-05 10:42:07 +00:00
alexm
b5308e0b2c Handle curves correctly when appending a path. Fix numerical stability issue in appendBezierPathWithArcFromPoint:toPoint:radius:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14369 72102866-910b-0410-8b05-ffd578937521
2002-08-29 22:14:48 +00:00
CaS
0977a26764 Documentation fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14368 72102866-910b-0410-8b05-ffd578937521
2002-08-29 10:07:51 +00:00
FredKiefer
36b7aed5bf Implemented [appendBezierPathWithArcFromPoint:toPoint:radius:]
with code from Alexander Malmberg <alexander@malmberg.org>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14363 72102866-910b-0410-8b05-ffd578937521
2002-08-28 22:02:42 +00:00
fedor
c646c024de Set horizontal scroller frame only if we have one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14354 72102866-910b-0410-8b05-ffd578937521
2002-08-27 15:49:06 +00:00
fedor
0a7c4f6704 Fix window mouseUp. Doc building
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14327 72102866-910b-0410-8b05-ffd578937521
2002-08-25 02:47:00 +00:00
alexm
debd8691df Use a compositerect to clear the alpha channel if the background color isn't opaque.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14320 72102866-910b-0410-8b05-ffd578937521
2002-08-23 00:40:41 +00:00
fedor
545659a4f7 Define colorspace constants
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14293 72102866-910b-0410-8b05-ffd578937521
2002-08-16 14:11:16 +00:00
nico
f3120d5e09 Dont' flip coordinates in frame autosaved strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14260 72102866-910b-0410-8b05-ffd578937521
2002-08-09 10:14:45 +00:00
pyr
ecbbd9ce39 Source/NSSplitView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14235 72102866-910b-0410-8b05-ffd578937521
2002-08-05 11:56:29 +00:00
pyr
820e60b5bd Source/NSView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14233 72102866-910b-0410-8b05-ffd578937521
2002-08-03 15:45:11 +00:00
fedor
3cd8d5d585 Merge from 0.8.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14232 72102866-910b-0410-8b05-ffd578937521
2002-08-03 03:32:19 +00:00
pyr
67e9c4b8d2 Source/NSTabVIew.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14228 72102866-910b-0410-8b05-ffd578937521
2002-08-02 09:46:28 +00:00
fedor
10e95109b9 Install NSSound.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14218 72102866-910b-0410-8b05-ffd578937521
2002-07-31 15:19:43 +00:00
fedor
aec00d4297 NSSound implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14216 72102866-910b-0410-8b05-ffd578937521
2002-07-30 21:19:05 +00:00
gcasa
78b29b6d37 Updated NSBundleAdditions with bug fix so that NSOwner's awakeFromNib is called.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14173 72102866-910b-0410-8b05-ffd578937521
2002-07-18 13:46:41 +00:00
gcasa
40636e55d4 Corrected some minor issues.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14172 72102866-910b-0410-8b05-ffd578937521
2002-07-18 04:42:37 +00:00
fedor
2dc7367411 Version 0.7.9
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14167 72102866-910b-0410-8b05-ffd578937521
2002-07-17 14:06:33 +00:00
nico
d0ae904f63 Implemented becomeKeyWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14164 72102866-910b-0410-8b05-ffd578937521
2002-07-17 13:29:41 +00:00
nico
3327a132ef Set the _f.is_key flag just after checking it, in becomeKeyWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14163 72102866-910b-0410-8b05-ffd578937521
2002-07-17 13:29:20 +00:00
nico
8969a1d455 Use the window view, not the content view, to draw cached images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14161 72102866-910b-0410-8b05-ffd578937521
2002-07-16 17:42:48 +00:00
nico
9f838f4098 Removed debugging NSLog statement left in error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14155 72102866-910b-0410-8b05-ffd578937521
2002-07-15 13:57:21 +00:00
gcasa
374d957711 Corrections to the outline view and the table view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14148 72102866-910b-0410-8b05-ffd578937521
2002-07-14 23:44:48 +00:00
nico
ad60b038ea Implemented caching images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14139 72102866-910b-0410-8b05-ffd578937521
2002-07-12 11:12:32 +00:00
nico
1c275cdce2 do not allow to select all cells in radio mode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14136 72102866-910b-0410-8b05-ffd578937521
2002-07-12 09:54:13 +00:00
fedor
39738fb0b8 Not work in modal loop. transparency fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14134 72102866-910b-0410-8b05-ffd578937521
2002-07-12 01:41:35 +00:00
pyr
16493557c9 Source/GSSimpleLayoutManager.m
Source/NSMatrix.m
Source/NSButtonCell.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14133 72102866-910b-0410-8b05-ffd578937521
2002-07-11 19:53:15 +00:00
gcasa
0927f6d779 Correcting editing behviour of NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14102 72102866-910b-0410-8b05-ffd578937521
2002-07-11 04:52:33 +00:00
nico
a281110179 Removed nested function which was not compiling on darwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14071 72102866-910b-0410-8b05-ffd578937521
2002-07-08 11:57:22 +00:00
fedor
fc2546e967 Fix var name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14066 72102866-910b-0410-8b05-ffd578937521
2002-07-06 03:18:14 +00:00
fedor
88bcecddd9 Image updates and doc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14065 72102866-910b-0410-8b05-ffd578937521
2002-07-06 02:54:36 +00:00
FredKiefer
94e24b9626 Changed initSystemColors() and [defaultsDidChange:] so that
setting a system colour in the defaults file works again.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14019 72102866-910b-0410-8b05-ffd578937521
2002-07-03 22:11:01 +00:00
nico
517706853d Added resignKeyWindow so that we don't try blinking when we are no longer
the key window


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14007 72102866-910b-0410-8b05-ffd578937521
2002-07-02 15:07:08 +00:00
nico
63072f3366 Removed non-existent header file from the list of header files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14006 72102866-910b-0410-8b05-ffd578937521
2002-07-02 15:06:32 +00:00
gcasa
81f25a9996 Adding a number of changes. The skeleton implementations of NSToolbar and
NSToolbarItem as well as a number of miscellaneous things I have had laying
around for a while.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13997 72102866-910b-0410-8b05-ffd578937521
2002-06-30 05:14:21 +00:00
CaS
9df20632e8 Flushing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13990 72102866-910b-0410-8b05-ffd578937521
2002-06-28 08:05:49 +00:00
nico
972b59a49b A little bit of 'end editing' was still done after the end editing notification
was posted ... causing the delegate not to be able to select the text when
receiving the notification ... fixed!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13983 72102866-910b-0410-8b05-ffd578937521
2002-06-27 10:52:01 +00:00
CaS
c64d585593 Minor path check fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13981 72102866-910b-0410-8b05-ffd578937521
2002-06-26 20:37:00 +00:00
nico
da5939c4b7 Post the NSControlTextDidEndEditingNotification *after* actually ending
editing :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13979 72102866-910b-0410-8b05-ffd578937521
2002-06-26 17:00:33 +00:00
CaS
2948c196b3 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13964 72102866-910b-0410-8b05-ffd578937521
2002-06-24 17:28:43 +00:00
CaS
acb893e755 Application name handling hopefully fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13963 72102866-910b-0410-8b05-ffd578937521
2002-06-24 16:56:30 +00:00
nico
10df219ebd Do not use hardcoded 12 height of default font, but retrieve it from NSFont
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13960 72102866-910b-0410-8b05-ffd578937521
2002-06-24 12:22:12 +00:00
nico
593becc454 Removed check for height of line being 0, which should not be needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13959 72102866-910b-0410-8b05-ffd578937521
2002-06-24 12:16:07 +00:00
nico
063b64fd78 Fixed highlighting of cells when new cells are added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13955 72102866-910b-0410-8b05-ffd578937521
2002-06-22 18:38:51 +00:00
nico
a9013a2c26 Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13954 72102866-910b-0410-8b05-ffd578937521
2002-06-22 18:33:34 +00:00
nico
baa4e705db Updated loading of keybindings from files - hopefully the final version!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13950 72102866-910b-0410-8b05-ffd578937521
2002-06-22 18:05:37 +00:00
nico
f29ff45de8 Removed comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13949 72102866-910b-0410-8b05-ffd578937521
2002-06-22 17:01:14 +00:00
nico
01ee9aa6f1 Optimize for the case of unrotated views by removing rotationAngle. Case
of rotated views I think still needs debugging :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13946 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:53:20 +00:00
nico
59a2634ab1 Efficient implementation of isRotated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13944 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:21:46 +00:00
nico
f461567e1a Updated code - removed unused code, do not call a no longer existing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13942 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:10:38 +00:00
nico
0734ffaccc Removed bloat method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13940 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:05:57 +00:00
nico
ab0fc569ea Use -rotateByDegrees:, not -rotateByAngle:, to rotate an Affine transform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13939 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:04:34 +00:00
nico
b21d6d013a Removed gnustep-only method which was never used and could easily be
replaced by calls to standard methods


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13936 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:57:50 +00:00
nico
8ed9df9ac0 Method which was a private duplicate of a public one removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13934 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:47:17 +00:00
nico
8dc087e032 Use new NSAffineTransform method to invert a matrix, not old one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13933 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:46:30 +00:00
fedor
a2f33915c1 Revert last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13928 72102866-910b-0410-8b05-ffd578937521
2002-06-22 13:42:59 +00:00
fedor
cc45d0eb88 Fix makeKey makeMain with defered windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13927 72102866-910b-0410-8b05-ffd578937521
2002-06-22 03:44:57 +00:00
nico
9352e96e63 Always select the popup item in performAction
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13920 72102866-910b-0410-8b05-ffd578937521
2002-06-19 15:00:17 +00:00
CaS
7cd4f7630d Attempt to improve app location
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13902 72102866-910b-0410-8b05-ffd578937521
2002-06-17 15:03:58 +00:00
gcasa
91a399810f Fixed some minor bugs in NSOutlineView and made delegate checking more efficient by using a macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13892 72102866-910b-0410-8b05-ffd578937521
2002-06-15 22:00:18 +00:00
nico
5828c3b5d6 Tidied code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13886 72102866-910b-0410-8b05-ffd578937521
2002-06-14 12:28:49 +00:00
alexm
d41f280d87 Disable autoenabling while updating the services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13856 72102866-910b-0410-8b05-ffd578937521
2002-06-12 22:34:32 +00:00
alexm
2fe087853f Fix handling of timestamps and removal of old menu items when updating services/services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13855 72102866-910b-0410-8b05-ffd578937521
2002-06-12 21:04:51 +00:00
nico
ca4f9f5e36 When parsing RTF (or other formats) require the generated attributed
string to be of the appropriate class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13841 72102866-910b-0410-8b05-ffd578937521
2002-06-11 14:59:51 +00:00
alexm
0b7afabff0 Fix handling of NSMenuItem:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13827 72102866-910b-0410-8b05-ffd578937521
2002-06-10 23:48:09 +00:00
nico
bfc479b34d Fixed control with continuous actions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13820 72102866-910b-0410-8b05-ffd578937521
2002-06-10 10:41:15 +00:00
alexm
f867ecac02 Create and use local NSPasteboard object in -performService:....
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13815 72102866-910b-0410-8b05-ffd578937521
2002-06-09 23:25:58 +00:00
alexm
cd75855172 Make _miniaturizedImage default to the application icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13805 72102866-910b-0410-8b05-ffd578937521
2002-06-08 20:38:11 +00:00
alexm
5003acb480 Make -doService: handle nil return/send types correctly. Fix calls to NSRunAlertPanel().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13803 72102866-910b-0410-8b05-ffd578937521
2002-06-08 18:11:17 +00:00
nico
1f93b5465b When changing the scroller frame, do not add the arrows if they are not
already there


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13786 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:40:56 +00:00
nico
502dc13cef Indented
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13785 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:38:11 +00:00
nico
5155461c45 Fixed argument of the applicationShouldTerminate: message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13783 72102866-910b-0410-8b05-ffd578937521
2002-06-06 08:35:19 +00:00
CaS
705ea5944f Patch by jeff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13782 72102866-910b-0410-8b05-ffd578937521
2002-06-06 05:22:45 +00:00
nico
f170cf8df9 Cleaned preprocessor #endif
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13778 72102866-910b-0410-8b05-ffd578937521
2002-06-05 15:19:38 +00:00
fedor
62bb2f3a39 Transfer beep to GSDisplayServer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13763 72102866-910b-0410-8b05-ffd578937521
2002-06-04 02:19:23 +00:00
nico
58ee64e06d Added long comment about why we should not be trying to approximate cell
sizes here


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13704 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:34:40 +00:00
nico
4062c657a5 Rewritten autoresizing - and now should be used also when setFrame: or setFrameSize:
is called.  Do not round cellsizes to be integers as that is just removing
information we instead want to pass to the backend for better rendering.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13703 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:25:03 +00:00
nico
ba6328711c More careful checking for the special case of no text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13683 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:35:10 +00:00
nico
b5967a3cbe Updated for the fact the NSHighlightRect() no longer flushes the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13681 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:06:09 +00:00
nico
f6326dbf0c Updated and simplified code for the fact we no longer flush the window
in NSHighlightRect()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13680 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:05:25 +00:00
nico
4a49f2904b Do not flush the window during an NSHighlightRect()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13679 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:04:47 +00:00
nico
9d52800942 Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13678 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:51:26 +00:00
nico
7aad55d98c Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13677 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:45:48 +00:00
nico
2dbac9bc4a Fixed variable declared with the wrong type
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13671 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:59:03 +00:00
nico
3b42ae1dee Tidied comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13670 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:54:10 +00:00
FredKiefer
a4cd7954a3 [rectOfItemAtIndex:] for horizontal orientation set items from
left to right. [locationForSubmenu:] for horizontal orientation
set submenu below the item in self.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13662 72102866-910b-0410-8b05-ffd578937521
2002-05-17 09:20:59 +00:00
fedor
ffd1676ce5 Make sure context is released
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13654 72102866-910b-0410-8b05-ffd578937521
2002-05-14 18:49:00 +00:00
FredKiefer
073a68d9d5 Moved the caching of fonts from [initWithName:matrix:] to
[fontWithName:matrix:] so that unneeded fonts are no longer
created. In [labelFontSize], [smallSystemFontSize] and
[systemFontSize] get values from defaults if available. In
getNSFont() removed hard coded 12, will be relaced by default for
NSUserFontSize.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13648 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:53 +00:00
FredKiefer
4b24b0d803 In initSystemColors() and systemColorWithName() replaced
implementation of system colours with named colours from a stored
colour list. Added conversion cache for named colours. This allows
easy configuration of system colours while keeping the same performance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13647 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:01 +00:00
nico
c0d3cf0bdb More clean up in dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13633 72102866-910b-0410-8b05-ffd578937521
2002-05-12 11:23:12 +00:00
CaS
b311bf3e81 Standardise API for character conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13630 72102866-910b-0410-8b05-ffd578937521
2002-05-11 07:17:33 +00:00
nico
0fa93ae911 Fixed error in deallocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13621 72102866-910b-0410-8b05-ffd578937521
2002-05-10 12:37:31 +00:00
fedor
573f743858 Flip font on set if needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13605 72102866-910b-0410-8b05-ffd578937521
2002-05-08 03:28:09 +00:00
fedor
5180fd5339 Stroke the underline
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13601 72102866-910b-0410-8b05-ffd578937521
2002-05-07 03:37:48 +00:00
fedor
1c9c720d01 Check superview frame size before getting it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13568 72102866-910b-0410-8b05-ffd578937521
2002-05-01 16:59:10 +00:00
gcasa
1360c93876 Committing alex's change to NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13545 72102866-910b-0410-8b05-ffd578937521
2002-04-26 04:30:04 +00:00
fedor
5ea51941b5 New mouselocation methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13530 72102866-910b-0410-8b05-ffd578937521
2002-04-23 20:50:24 +00:00
fedor
f7a20d6c96 Screen handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13524 72102866-910b-0410-8b05-ffd578937521
2002-04-22 15:45:10 +00:00
nico
4dc1bb3706 Added NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13515 72102866-910b-0410-8b05-ffd578937521
2002-04-21 12:53:34 +00:00
ludovic
03500c6bba Fixed some minor issues with NSOutlineView's delegate methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13509 72102866-910b-0410-8b05-ffd578937521
2002-04-18 22:44:04 +00:00
pyr
cc749825e7 Source/NSMenuItem.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13489 72102866-910b-0410-8b05-ffd578937521
2002-04-17 19:57:36 +00:00
CaS
f47011885e Improved logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13480 72102866-910b-0410-8b05-ffd578937521
2002-04-16 14:16:37 +00:00
fedor
fd9cde5c4e Revise window ops
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13469 72102866-910b-0410-8b05-ffd578937521
2002-04-15 02:52:35 +00:00
fedor
dd5595fee8 Change so rint is only defined when needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13464 72102866-910b-0410-8b05-ffd578937521
2002-04-12 02:15:51 +00:00
nico
e4dfa162c9 No longer need to manually fix button sizes after autosizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13452 72102866-910b-0410-8b05-ffd578937521
2002-04-12 00:02:26 +00:00
nico
7cf2c8ef9d Add more space around autosized buttons so that they are usable without
manual intervention


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13451 72102866-910b-0410-8b05-ffd578937521
2002-04-12 00:02:00 +00:00
nico
1f9a6fcb76 Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13447 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:29:32 +00:00
nico
c87007f3f8 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13442 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:17:42 +00:00
nico
d718498b11 Added missing #includes and fixed minor dealloc problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13441 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:15:40 +00:00
nico
e08cdc2a54 Renamed -sanity to -_sanity, and always compile it, to make it available
to regression tests


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13426 72102866-910b-0410-8b05-ffd578937521
2002-04-11 14:38:19 +00:00
nico
7264ea1309 Added workaround for OSX bug in +new ... to get portability to OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13421 72102866-910b-0410-8b05-ffd578937521
2002-04-11 10:23:28 +00:00
fedor
ea52dd291c Put RINT defs in config.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13420 72102866-910b-0410-8b05-ffd578937521
2002-04-11 02:18:13 +00:00
fedor
6f0771768b Remove old grpahics funcs, Update window's defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13417 72102866-910b-0410-8b05-ffd578937521
2002-04-10 22:04:39 +00:00
nico
36394640dd Changed so that setFrame: and setFrameSize: will autoresize the gstable contents.
Removed lockFocus/unlockFocus optimization for easier portability.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13406 72102866-910b-0410-8b05-ffd578937521
2002-04-10 00:27:05 +00:00
nico
0f47f2c471 Fixed bug - scroller not being redisplayed when knobProportion: changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13404 72102866-910b-0410-8b05-ffd578937521
2002-04-09 23:39:21 +00:00
ludovic
87b610421a See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13402 72102866-910b-0410-8b05-ffd578937521
2002-04-08 23:26:59 +00:00
fedor
ef321d75b7 Cleanup printing after exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13387 72102866-910b-0410-8b05-ffd578937521
2002-04-07 02:16:56 +00:00
FredKiefer
5bf6709e60 In [updateRuler] set the client view of the ruler view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13381 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:36:40 +00:00
FredKiefer
d94974edf7 Corrected [drawRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13380 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:36:12 +00:00
FredKiefer
e1c4308849 Added method [mouseDown:]. Added safety check for unchanged client
view in [setClientView:]. In [drawHashMarksAndLabelsInRect:] use
[NSFont smallSystemFontSize] instead of hard coded size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13379 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:35:52 +00:00
fedor
17843a0d14 Better debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13370 72102866-910b-0410-8b05-ffd578937521
2002-04-06 04:49:53 +00:00
pyr
5a2cd3ccdd Source/NSOutlineView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13365 72102866-910b-0410-8b05-ffd578937521
2002-04-06 00:15:05 +00:00
fedor
a7bf31db3f Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00
FredKiefer
5e1dff6bd4 Made [updateRuler] save against missing rulers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13332 72102866-910b-0410-8b05-ffd578937521
2002-04-03 00:30:38 +00:00
FredKiefer
c72bbe884b Added handling for missing rint function, copied over from
NSBrowser.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13331 72102866-910b-0410-8b05-ffd578937521
2002-04-03 00:30:05 +00:00
fedor
55f52faac4 New def of GSDefineGState
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13328 72102866-910b-0410-8b05-ffd578937521
2002-04-02 21:54:22 +00:00
pyr
b545d98985 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13326 72102866-910b-0410-8b05-ffd578937521
2002-04-02 19:13:46 +00:00
pyr
09f948550a Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13325 72102866-910b-0410-8b05-ffd578937521
2002-04-02 19:05:48 +00:00
nico
4526a59688 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13312 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:39:57 +00:00
nico
559b3fc810 Tidied #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13311 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:39:10 +00:00
nico
2b1890db9e Properly retain/release the sound; indentation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13310 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:38:45 +00:00
nico
eda67fbdab Added missing #incldue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13309 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:35:39 +00:00
nico
492ac1b63d Addewd missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13308 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:34:57 +00:00
nico
4c770b05e8 Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13307 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:34:24 +00:00
nico
c8beb1e464 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13306 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:33:48 +00:00
nico
f63cafe810 Abort editing on dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13305 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:32:33 +00:00
nico
aed215ebf1 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13304 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:26:03 +00:00
nico
0baf4606bd Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13303 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:21:03 +00:00
nico
5ef81b130e Removed weird method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13302 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:19:42 +00:00
nico
a90ed50aee Fixed #include for NSBeep()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13301 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:15:00 +00:00
nico
47dc275184 Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13300 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:13:36 +00:00
nico
a5b157f002 Added misggin #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13299 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:07:49 +00:00
nico
fdfcc3782a Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13298 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:01:44 +00:00
nico
6c65e96d75 Added missing includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13297 72102866-910b-0410-8b05-ffd578937521
2002-04-02 10:58:12 +00:00
nico
5ee88c3f7b Include Foundation/NSDebug.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13296 72102866-910b-0410-8b05-ffd578937521
2002-04-02 10:57:29 +00:00
gcasa
8de1bf56bf Added methods to implement autosaving of expanded items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13292 72102866-910b-0410-8b05-ffd578937521
2002-04-02 05:04:57 +00:00
fedor
4ddbd9c46f Changes for backend miniwin control
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13289 72102866-910b-0410-8b05-ffd578937521
2002-04-02 03:13:14 +00:00
fedor
4a7e0146d9 Better release/retain of server and context
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13286 72102866-910b-0410-8b05-ffd578937521
2002-04-01 17:34:08 +00:00
gcasa
040cf48e73 Added fix to 1) make NSOutlineView faster using Maps and 2) eliminate the need for items to implement NSCopying which is not correct behavior. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13284 72102866-910b-0410-8b05-ffd578937521
2002-04-01 16:03:02 +00:00
FredKiefer
c219e903a1 [setFrame:display:] do nothing if the frame after all the
corrections did not change from its current extend.
In [makeKeyWindow] and [makeMainWindow] do nothing if the window
is already key/main.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13279 72102866-910b-0410-8b05-ffd578937521
2002-03-31 20:17:20 +00:00
pyr
843cdfb3b8 Source/NSMatrix.m
Source/NSBox.m
Source/NSClipView.m
Source/NSTableView.m
Source/NSOutlineView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13276 72102866-910b-0410-8b05-ffd578937521
2002-03-31 15:46:19 +00:00
pyr
34d93685c8 Source/NSTableView.m
Source/NSTableColumn.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13269 72102866-910b-0410-8b05-ffd578937521
2002-03-29 16:04:24 +00:00
nico
e66c02b88e added support for home directory image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13262 72102866-910b-0410-8b05-ffd578937521
2002-03-28 13:23:38 +00:00
fedor
53bd496a00 Split into Window server and graphic context handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13256 72102866-910b-0410-8b05-ffd578937521
2002-03-28 03:53:18 +00:00