Commit graph

1937 commits

Author SHA1 Message Date
Gregory John Casamento
3572c9dc61 Made correction necessary for NSWindow.m to build w/ gcc < 3.0. This is necessary to support systems with earlier compilers (such as Darwin).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12562 72102866-910b-0410-8b05-ffd578937521
2002-02-19 02:33:52 +00:00
Pierre-Yves Rivaille
2b8be48edf Source/NSTableHeaderView.m ([-mouseDown:]): redraw the headercell when
column reordering is on.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12561 72102866-910b-0410-8b05-ffd578937521
2002-02-18 21:39:31 +00:00
Pierre-Yves Rivaille
632eaef8bc Source/NSWindow.m ([NSWindow -close]): ignore the call if the window
is already closed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12558 72102866-910b-0410-8b05-ffd578937521
2002-02-18 12:10:06 +00:00
Pierre-Yves Rivaille
f81e8e1bc2 Source/NSApplication (terminate:): send close method to all windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12557 72102866-910b-0410-8b05-ffd578937521
2002-02-17 23:38:34 +00:00
Richard Frith-Macdonald
abf4add631 Improved autogsdoc flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12546 72102866-910b-0410-8b05-ffd578937521
2002-02-14 14:20:42 +00:00
Nicola Pero
38e56f0ef9 Do not draw state image for popup buttons ... in an efficient way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12544 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:41:34 +00:00
Nicola Pero
e277935bfc Fixed for drawing with no state image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12543 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:36:37 +00:00
Nicola Pero
774004fa9f Added suggestion for further improvement in comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12542 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:24:01 +00:00
Richard Frith-Macdonald
bd3c9c2035 Tidied to refrain from acessing GNUSTEP_USER_ROOT directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12537 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:57:48 +00:00
Richard Frith-Macdonald
32f4e911ed Tiny performance hack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12534 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:10:55 +00:00
Pierre-Yves Rivaille
c85735d0ca correction to remove warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12524 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:38:57 +00:00
Pierre-Yves Rivaille
a359ad7c09 Source/NSTableView.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12523 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:25:55 +00:00
Pierre-Yves Rivaille
a132a6d4d1 Source/NSTableHeaderCell.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12522 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:11:02 +00:00
Pierre-Yves Rivaille
7269d0c8eb * Source/NSTableHeaderCell.m: New drawing code, support for
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
  column, support for NSTableView mouseDownInHeaderOfTableColumn:
  and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
  rewrite of selection handling to fully support the specs
  new tableView:didClickTableColumn: and
  tableView:mouseDownInHeaderOfTableColumn delegate messages
  [NSTableView -setHighlightedTableColumn:]
  [NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
  new _highlightedTableColumn ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12521 72102866-910b-0410-8b05-ffd578937521
2002-02-13 16:34:40 +00:00
Richard Frith-Macdonald
fcfe13f6db minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12513 72102866-910b-0410-8b05-ffd578937521
2002-02-12 19:10:31 +00:00
Nicola Pero
9dfbbceaf2 Updated for changes in semantics of NSMutableAttributedString -string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12497 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:13 +00:00
Nicola Pero
ca71e9de80 Always update the internal knowledge of the first text view when a
text container tells us that it has changed text view


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12493 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:37:21 +00:00
Nicola Pero
b7d009fa07 Always inform the layout manager that the textview is changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12492 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:36:55 +00:00
Richard Frith-Macdonald
f20aa934fc nib loading fix added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12491 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:29:15 +00:00
Richard Frith-Macdonald
3e53223862 Add patch to avoid unnecessary redrawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12490 72102866-910b-0410-8b05-ffd578937521
2002-02-11 14:06:00 +00:00
Nicola Pero
90f3074971 Fixed dealloc so that it can dealloc a layout manager which has not been
-init


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12484 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:42:12 +00:00
Nicola Pero
6a3a289ea7 Updated setup of the text system for changes in NSLayoutManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12482 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:02:10 +00:00
Nicola Pero
435e2fe226 Fixed problems with no text container being set ... typically happening
early during initialization


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12481 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:01:29 +00:00
Nicola Pero
ae95ed3ec9 Fixed method returning a text container for when there is no text
container set ... typically happening during text system setup


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12480 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:00:35 +00:00
Pierre-Yves Rivaille
927b233997 [GSFontInfo -defaultLineHeightForFont]: descender is substracted not
added to ascender to give the lineHeight


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12474 72102866-910b-0410-8b05-ffd578937521
2002-02-09 16:16:00 +00:00
Richard Frith-Macdonald
6d009268eb Patch to check style mask when miniaturising
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12462 72102866-910b-0410-8b05-ffd578937521
2002-02-09 08:58:37 +00:00
Nicola Pero
4197a3cdd4 Tidied indentation of a line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12432 72102866-910b-0410-8b05-ffd578937521
2002-02-08 02:01:34 +00:00
Nicola Pero
1b09f51ad0 Simplified existing code for moving by words; added moving by words
and modifying selection


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12429 72102866-910b-0410-8b05-ffd578937521
2002-02-08 01:54:21 +00:00
Nicola Pero
f3f65c281e Rewritten moving a word forward or backward
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12428 72102866-910b-0410-8b05-ffd578937521
2002-02-08 01:53:18 +00:00
Nicola Pero
638a861702 Code moved and cleaned a bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12425 72102866-910b-0410-8b05-ffd578937521
2002-02-06 19:21:29 +00:00
Nicola Pero
0615a29ffc Removed old unused layout code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12419 72102866-910b-0410-8b05-ffd578937521
2002-02-06 16:20:43 +00:00
Richard Frith-Macdonald
d20683b862 Improve performance by handing out proxy to internal string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12418 72102866-910b-0410-8b05-ffd578937521
2002-02-06 13:55:49 +00:00
Richard Frith-Macdonald
e931b93591 Fix mouseDown invocation in NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12416 72102866-910b-0410-8b05-ffd578937521
2002-02-06 10:29:26 +00:00
Nicola Pero
42b0b2ef67 Fixed bug when typing enter at the end of text; fixed drawing insertion
point when there is no text


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12414 72102866-910b-0410-8b05-ffd578937521
2002-02-06 01:39:11 +00:00
Nicola Pero
5198e15983 Indentation changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12413 72102866-910b-0410-8b05-ffd578937521
2002-02-06 01:06:03 +00:00
Nicola Pero
f1dd23a32f Implemented moveBackwardsAndModifySelection: and moveForwardAndModifySelection:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12410 72102866-910b-0410-8b05-ffd578937521
2002-02-05 13:21:54 +00:00
Nicola Pero
ec39a9cf5e Implemented transpose: (which is bound to Control-t)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12394 72102866-910b-0410-8b05-ffd578937521
2002-02-03 14:00:40 +00:00
Richard Frith-Macdonald
e63280a9fb Bugfixes for removing view from view and for ordring windos in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12392 72102866-910b-0410-8b05-ffd578937521
2002-02-03 07:23:10 +00:00
Fred Kiefer
f2d4e5e7bf [reloadDefaultFontFamilies] load the family browser and redisplay
the selected font. [setPanelFont:isMultiple:] load the face
browser, store font weight and traits and display font name in
preview only if no preview string is set. [_initWithoutGModel]
made the set button the default button. Split most code from
[_togglePreview:] into separate method [_doPreview], which is
called, when the preview state should not change. In [_doPreview]
only display font name if preview string is not set.
[browser:selectRow:inColumn:], when selecting a family select a
face with the same weight and traits as the originaly
selected. When selecting a face, store its weight and traits.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12379 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:30:41 +00:00
Fred Kiefer
827edcb7eb [orderFrontFontPanel:] no longer sets the selected font on the
panel, as this gets done by the panel itself.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12377 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:28:52 +00:00
Fred Kiefer
670fccda89 Corrected [TIFFRepresentation], was calling the wrong
NSBitmapImageRep method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12376 72102866-910b-0410-8b05-ffd578937521
2002-02-02 00:27:32 +00:00
Richard Frith-Macdonald
25010783ce Fix missed file for GIS api change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12374 72102866-910b-0410-8b05-ffd578937521
2002-02-01 18:19:04 +00:00
Richard Frith-Macdonald
5834d85e1c Expect new GSI api
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12370 72102866-910b-0410-8b05-ffd578937521
2002-02-01 15:31:21 +00:00
Richard Frith-Macdonald
9de3b40693 Use new GSI api from base library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12360 72102866-910b-0410-8b05-ffd578937521
2002-02-01 11:01:27 +00:00
Pierre-Yves Rivaille
e62b1743a6 Source/NSCell.m
Headers/gnustep/gui/NSCell.h: [NSCell -setHighlighted:] new method


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12354 72102866-910b-0410-8b05-ffd578937521
2002-01-31 21:17:29 +00:00
Adam Fedor
69a9e0dea5 Temporary fix to round down image size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12262 72102866-910b-0410-8b05-ffd578937521
2002-01-29 15:23:17 +00:00
Adam Fedor
4b54ab9f06 New AppKit events. Updates for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12217 72102866-910b-0410-8b05-ffd578937521
2002-01-26 04:14:38 +00:00
Adam Fedor
22112f40df Release updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12209 72102866-910b-0410-8b05-ffd578937521
2002-01-24 17:02:33 +00:00
Adam Fedor
7435386c19 Menu location fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12205 72102866-910b-0410-8b05-ffd578937521
2002-01-23 16:32:20 +00:00
Richard Frith-Macdonald
47950c836d Track running apps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12188 72102866-910b-0410-8b05-ffd578937521
2002-01-22 18:23:56 +00:00
Richard Frith-Macdonald
852190f0f0 iFixup for error in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12185 72102866-910b-0410-8b05-ffd578937521
2002-01-22 13:20:20 +00:00
Richard Frith-Macdonald
9a04ba26a4 Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12184 72102866-910b-0410-8b05-ffd578937521
2002-01-22 09:58:44 +00:00
Adam Fedor
3c049f1896 Better modal window handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12183 72102866-910b-0410-8b05-ffd578937521
2002-01-22 03:48:00 +00:00
Richard Frith-Macdonald
e0a599f836 Add image sliding mechanism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12154 72102866-910b-0410-8b05-ffd578937521
2002-01-21 15:45:53 +00:00
Nicola Pero
7c4ab19923 Made exception message when the submenu already has a supermenu more
friendly; access ivar _title directly


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12149 72102866-910b-0410-8b05-ffd578937521
2002-01-21 11:57:06 +00:00
Richard Frith-Macdonald
e720221882 Don't send dragging messages to a view which has been removed from its window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12147 72102866-910b-0410-8b05-ffd578937521
2002-01-21 04:22:55 +00:00
Richard Frith-Macdonald
dc04c6077a Some bugfixing in DnD logic.CVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12143 72102866-910b-0410-8b05-ffd578937521
2002-01-20 21:08:58 +00:00
Richard Frith-Macdonald
4cce5e649a Minor retain/release fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12142 72102866-910b-0410-8b05-ffd578937521
2002-01-20 17:54:13 +00:00
Nicola Pero
a0ef678ef1 Fixed declaration of the _blink method ... should take a NSTimer * arg
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12132 72102866-910b-0410-8b05-ffd578937521
2002-01-17 22:51:15 +00:00
Nicola Pero
1d5f879ad2 Do not process mouse down events if the slider is disabled
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12128 72102866-910b-0410-8b05-ffd578937521
2002-01-17 00:20:05 +00:00
Nicola Pero
1353cce8f0 Removed declaration of NSAbortModalException in excess
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12124 72102866-910b-0410-8b05-ffd578937521
2002-01-17 00:01:21 +00:00
Richard Frith-Macdonald
c5b6fc310b fix decoding bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12117 72102866-910b-0410-8b05-ffd578937521
2002-01-16 11:45:36 +00:00
Adam Fedor
9f924be488 Modal session and cursor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12112 72102866-910b-0410-8b05-ffd578937521
2002-01-15 16:43:13 +00:00
Adam Fedor
3d711a11a4 Handle key/mouse selections
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12083 72102866-910b-0410-8b05-ffd578937521
2002-01-10 21:13:39 +00:00
Richard Frith-Macdonald
3aa806681b NSHost'ing fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12079 72102866-910b-0410-8b05-ffd578937521
2002-01-10 16:33:39 +00:00
Adam Fedor
65de9f1abd Propery constrain window frames
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12073 72102866-910b-0410-8b05-ffd578937521
2002-01-09 20:41:07 +00:00
Nicola Pero
81f0b95aaa Enable to disable a previous keybinding if a "" action is used
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12045 72102866-910b-0410-8b05-ffd578937521
2002-01-08 16:33:18 +00:00
Nicola Pero
528d683390 Big simplification of the code managing the Windows menu, so that it should
now work properly when the application is translated.  Basically, all code
depending on the title of the Windows menu was removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12031 72102866-910b-0410-8b05-ffd578937521
2002-01-07 19:57:05 +00:00
Nicola Pero
7f388bdd2d Localization fixes for the Windows menu - better management of problems
with translation of the Windows menu


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12029 72102866-910b-0410-8b05-ffd578937521
2002-01-07 18:22:20 +00:00
Nicola Pero
7ebecf1620 Updated for changes in GSServicesManager's ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12010 72102866-910b-0410-8b05-ffd578937521
2002-01-06 16:01:02 +00:00
Nicola Pero
3bf8307f31 Prefixed all ivars with underscore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12008 72102866-910b-0410-8b05-ffd578937521
2002-01-06 13:26:27 +00:00
Nicola Pero
9055efeae3 Use the key equivalent for 'default' if no one under the appropriate
user language is found


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12006 72102866-910b-0410-8b05-ffd578937521
2002-01-06 13:06:56 +00:00
Nicola Pero
e1f54eb120 Implemented activation of links when you click on them; only activate
attachments on the first click


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11959 72102866-910b-0410-8b05-ffd578937521
2002-01-03 09:46:00 +00:00
Nicola Pero
df7e037dab Minor cleaning/tidying up in -mouseDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11937 72102866-910b-0410-8b05-ffd578937521
2002-01-02 09:53:24 +00:00
Nicola Pero
431a40577f Tidied up the clickedOnLink:atIndex: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11935 72102866-910b-0410-8b05-ffd578937521
2002-01-02 08:39:48 +00:00
Nicola Pero
dfeae9978f Set up the rulers in -tile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11930 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:20:37 +00:00
Nicola Pero
bfd82eec60 Rewritten the -tile method to be simpler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11928 72102866-910b-0410-8b05-ffd578937521
2002-01-01 23:06:01 +00:00
Nicola Pero
0f19567490 Cleaned resizeWithOldSuperviewSize:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11923 72102866-910b-0410-8b05-ffd578937521
2002-01-01 15:44:18 +00:00
Richard Frith-Macdonald
4fc0a44d47 Implement forwardInvocation:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11908 72102866-910b-0410-8b05-ffd578937521
2001-12-29 08:22:33 +00:00
Nicola Pero
57ea7f8bf1 Fixed drawing of background color which had broken nextstep-like look&feel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11898 72102866-910b-0410-8b05-ffd578937521
2001-12-25 14:07:25 +00:00
Nicola Pero
b3ef3c0cbc Added better support for adding/removing rulers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11897 72102866-910b-0410-8b05-ffd578937521
2001-12-25 14:03:06 +00:00
Fred Kiefer
0adc332777 [dragOperationForDraggingInfo:type:] added NSDragOperationCopy to
the valid drag actions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11891 72102866-910b-0410-8b05-ffd578937521
2001-12-24 15:02:25 +00:00
Nicola Pero
01fa250f74 Some indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11890 72102866-910b-0410-8b05-ffd578937521
2001-12-24 01:25:04 +00:00
Fred Kiefer
16c4b83d48 [initialize] retain the gui bundle and added an auto release pool
as this might be called without one installed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11888 72102866-910b-0410-8b05-ffd578937521
2001-12-23 13:30:35 +00:00
Fred Kiefer
2d05f0e6a9 Added some NSResponder methods with empty code to keep the
NSInputManager quiet.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11887 72102866-910b-0410-8b05-ffd578937521
2001-12-23 13:29:37 +00:00
Fred Kiefer
7f8dba0b2f [writeSelectionToPasteboard:types:] corrected C binary operator
short cut logic	that prevented us froam adding more than one
string type to the pasteboard. Remember that || wont evaluate the
second operand if the first is true.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11885 72102866-910b-0410-8b05-ffd578937521
2001-12-23 02:15:40 +00:00
Nicola Pero
224485caa7 Implemented GSGuiBundle(); localized messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11877 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:41:25 +00:00
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