Commit graph

1937 commits

Author SHA1 Message Date
Nicola Pero
a54ada433d Removed hack to set splitview's subviews sizes right - no longer needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9042 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:09:03 +00:00
Nicola Pero
f15e2802c0 Implemented adjusting subviews only the first time the splitview is
displayed; fixed some delegate messaging which was done the wrong way


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9040 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:06:32 +00:00
Nicola Pero
b3b6f06e51 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9038 72102866-910b-0410-8b05-ffd578937521
2001-02-07 21:11:45 +00:00
Nicola Pero
b24794ed3c Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9037 72102866-910b-0410-8b05-ffd578937521
2001-02-07 20:35:13 +00:00
Richard Frith-MacDonald
38e49853d5 Miniwindow style improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9018 72102866-910b-0410-8b05-ffd578937521
2001-02-07 11:17:38 +00:00
Richard Frith-MacDonald
339a6fb073 Fixed bug in handling position of window when selecting 'close' windows item.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8979 72102866-910b-0410-8b05-ffd578937521
2001-02-06 08:36:13 +00:00
Fred Kiefer
387191e632 Reimplemented without using a GModel file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8973 72102866-910b-0410-8b05-ffd578937521
2001-02-05 01:23:25 +00:00
Fred Kiefer
45d7d1cce9 In [supportMaxColorSpaces] added converions from RGB to CMYK.
In [colorUsingColorSpaceName:device:] added convertion from named
colour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8972 72102866-910b-0410-8b05-ffd578937521
2001-02-05 01:22:43 +00:00
Nicola Pero
10b6a795ae Fixed selection in table with a single row
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8965 72102866-910b-0410-8b05-ffd578937521
2001-02-02 22:41:57 +00:00
Nicola Pero
3cba3915cc Fixed selected the only column in a single column table
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8952 72102866-910b-0410-8b05-ffd578937521
2001-01-31 01:42:31 +00:00
Michael Silva
ada6fa1740 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8949 72102866-910b-0410-8b05-ffd578937521
2001-01-30 21:18:20 +00:00
Adam Fedor
b7a6c1a1fc Reset the locale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8917 72102866-910b-0410-8b05-ffd578937521
2001-01-30 01:01:15 +00:00
Nicola Pero
284aef1ae9 Post appropriate notifications after the user finished dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8913 72102866-910b-0410-8b05-ffd578937521
2001-01-29 22:20:56 +00:00
Nicola Pero
494e75a247 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8912 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:54:14 +00:00
Nicola Pero
7db396b77a Fixed column for point when point lies on the column boundary;
unselect an already selected row on click only if shift is pressed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8910 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:47:27 +00:00
Nicola Pero
86640aaa94 Create directory AppKit rather than gnustep/AppKit to install headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8892 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:49:44 +00:00
Nicola Pero
bb8a4b8574 Install headers in AppKit rather than gnustep/AppKit; include local
gui.make


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8890 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:48:42 +00:00
Nicola Pero
55b1cd5681 rm GNUmakefile.local; install gui.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8889 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:47:53 +00:00
Nicola Pero
85323abc73 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8867 72102866-910b-0410-8b05-ffd578937521
2001-01-28 23:01:25 +00:00
Nicola Pero
1fa7d45744 Update bounds origin upon setting frame
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8865 72102866-910b-0410-8b05-ffd578937521
2001-01-28 22:57:55 +00:00
Nicola Pero
9780540807 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8864 72102866-910b-0410-8b05-ffd578937521
2001-01-28 22:35:48 +00:00
Nicola Pero
5e60fd57fd Fixed updating scrollers when the frame of the displayed view changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8862 72102866-910b-0410-8b05-ffd578937521
2001-01-28 21:53:53 +00:00
Nicola Pero
7b6653631f Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8854 72102866-910b-0410-8b05-ffd578937521
2001-01-28 20:26:55 +00:00
Nicola Pero
7e017633de Fix for boundary cases when determining if mouse is in a rect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8852 72102866-910b-0410-8b05-ffd578937521
2001-01-28 18:17:44 +00:00
Nicola Pero
dbbdfa3719 Implemented apple API extension allowing delegate to constrain divider
position to certain positions while dragging


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8850 72102866-910b-0410-8b05-ffd578937521
2001-01-28 17:43:13 +00:00
Jonathan Gapen
c1c64fa436 Updates to use NSSearchPathForDirectoriesInDomains()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8848 72102866-910b-0410-8b05-ffd578937521
2001-01-28 12:26:36 +00:00
Nicola Pero
e212ad5013 Removed hack no longer needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8845 72102866-910b-0410-8b05-ffd578937521
2001-01-28 03:12:23 +00:00
Nicola Pero
80fce0b75a Fixed replacing a non-flipped document view (such as nil) with a flipped
one (such as a matrix)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8844 72102866-910b-0410-8b05-ffd578937521
2001-01-28 03:11:57 +00:00
Nicola Pero
5816f7b5c4 Tidied comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8843 72102866-910b-0410-8b05-ffd578937521
2001-01-27 15:14:51 +00:00
Nicola Pero
5e64aba48d Fixed position of new matrix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8841 72102866-910b-0410-8b05-ffd578937521
2001-01-27 15:12:50 +00:00
Nicola Pero
d3a76d36c2 Fixed to use properly the base exception handler when aborting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8837 72102866-910b-0410-8b05-ffd578937521
2001-01-27 13:20:51 +00:00
Nicola Pero
ca582f4d9f Implemented acceptsFirstMouse: so that you can drag with the first click
on the window


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8835 72102866-910b-0410-8b05-ffd578937521
2001-01-27 12:57:06 +00:00
Nicola Pero
1c98e6fb81 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8834 72102866-910b-0410-8b05-ffd578937521
2001-01-27 12:53:19 +00:00
Nicola Pero
08072f4700 Prettified
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8820 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:03:42 +00:00
Nicola Pero
76ea49fa2a Changed to use flipped coordinates as per spec; _autoresize_subviews = NO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8819 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:03:18 +00:00
Nicola Pero
5c29115a94 Sized fixing for nextish look
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8818 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:02:16 +00:00
Nicola Pero
f97716f2d8 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8816 72102866-910b-0410-8b05-ffd578937521
2001-01-26 21:56:34 +00:00
Nicola Pero
3e85dfc918 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8815 72102866-910b-0410-8b05-ffd578937521
2001-01-26 18:42:16 +00:00
Richard Frith-MacDonald
5f2d75b783 Fix for glyph index immediately beyond glyph range
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8812 72102866-910b-0410-8b05-ffd578937521
2001-01-26 17:01:43 +00:00
Richard Frith-MacDonald
35a0b834f8 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8811 72102866-910b-0410-8b05-ffd578937521
2001-01-26 12:16:59 +00:00
Richard Frith-MacDonald
4bfc058571 Added some sanity checking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8753 72102866-910b-0410-8b05-ffd578937521
2001-01-22 18:57:06 +00:00
Richard Frith-MacDonald
10a8c41a38 Layout manager glyph implementation ... initial hack complete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8749 72102866-910b-0410-8b05-ffd578937521
2001-01-22 18:13:43 +00:00
Fred Kiefer
ffdddc1887 Corrected some bugs. Opimized the concret subclass to use a GSIArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8731 72102866-910b-0410-8b05-ffd578937521
2001-01-21 22:32:35 +00:00
Nicola Pero
326b2c9475 Rewritten scrolling not to attempt to copy non visible bits
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8726 72102866-910b-0410-8b05-ffd578937521
2001-01-21 16:35:44 +00:00
Nicola Pero
dc86f93c1d Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8723 72102866-910b-0410-8b05-ffd578937521
2001-01-21 14:55:07 +00:00
Nicola Pero
a6ca584182 Modified to allow changing menu font and size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8721 72102866-910b-0410-8b05-ffd578937521
2001-01-21 01:36:22 +00:00
Nicola Pero
0f1f883950 Modification to allow changing menu font and size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8720 72102866-910b-0410-8b05-ffd578937521
2001-01-21 01:35:36 +00:00
Fred Kiefer
8e9c5c2798 [transformBezierPath:] autorelease the returned object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8719 72102866-910b-0410-8b05-ffd578937521
2001-01-20 17:41:57 +00:00
Fred Kiefer
5ff870120f Almost complete rewrite. The abstract class implements now most of
the methods leaving only 9 methods to the concrete class. (And
the hit test should also go into the abstract class) Simplified
and corrected most methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8718 72102866-910b-0410-8b05-ffd578937521
2001-01-20 17:41:22 +00:00
Richard Frith-MacDonald
69e71a4f06 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8706 72102866-910b-0410-8b05-ffd578937521
2001-01-20 08:58:25 +00:00
Richard Frith-MacDonald
790e997914 More glyph attribute stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8705 72102866-910b-0410-8b05-ffd578937521
2001-01-19 23:22:16 +00:00
Nicola Pero
a7967b1511 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8687 72102866-910b-0410-8b05-ffd578937521
2001-01-18 23:04:04 +00:00
Richard Frith-MacDonald
bd467249b9 More glyph stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8670 72102866-910b-0410-8b05-ffd578937521
2001-01-17 22:11:52 +00:00
Nicola Pero
48d99b9d0c Fixed clicking with mouse on a column side and doing no dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8668 72102866-910b-0410-8b05-ffd578937521
2001-01-17 21:19:31 +00:00
Nicola Pero
d98e344a94 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8640 72102866-910b-0410-8b05-ffd578937521
2001-01-16 20:39:13 +00:00
Nicola Pero
8360e0ca42 Changed getMatrixFromTransform: to takeMatrixFromTransform: to be
consistent with method naming conventions


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8620 72102866-910b-0410-8b05-ffd578937521
2001-01-16 13:09:31 +00:00
Nicola Pero
51b404929f Fixed logging exception when no graphics context exists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8618 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:36:32 +00:00
Nicola Pero
1ff9444b52 Cache the default notification center; tiny speedup in rebuilding
coordinates; fixed bug which would leave in certain conditions _bounds
and _boundsMatrix in an inconsistent state after a resize


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8616 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:33:23 +00:00
Nicola Pero
fda6234a57 Fixed bug in getting path when a column had nothing selected in it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8615 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:32:19 +00:00
Nicola Pero
e9791f5e89 Remove scroller update in excess
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8614 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:31:49 +00:00
Nicola Pero
5c5f8f4732 Cache whether it's opaque or not; minor changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8613 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:31:22 +00:00
Nicola Pero
a2f769603a Added method to quickly copy the matrix from one transform to another
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8610 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:30:02 +00:00
Nicola Pero
32915c1d25 Fixed bug in drawing text in menu titles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8608 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:23:17 +00:00
Richard Frith-MacDonald
83df4ad3b9 More glyph handling code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8606 72102866-910b-0410-8b05-ffd578937521
2001-01-15 21:48:18 +00:00
Nicola Pero
3ae06c1286 Changes for better cursor movement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8591 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:32:07 +00:00
Nicola Pero
953a5c5318 Added method to move cursor up or down to be implemented in subclasses
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8590 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:29:48 +00:00
Nicola Pero
9e3cb35e61 Added method to move cursor up or down; fixed bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8588 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:28:26 +00:00
Richard Frith-MacDonald
4d25305e2e A few text storage bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8585 72102866-910b-0410-8b05-ffd578937521
2001-01-13 20:33:32 +00:00
Nicola Pero
4506bb839a Attempt at making the panel run upon uncaught exceptions a bit more user
friendly by adding the word 'error' to the panel title


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8582 72102866-910b-0410-8b05-ffd578937521
2001-01-13 13:44:40 +00:00
Richard Frith-MacDonald
fd61eea775 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8567 72102866-910b-0410-8b05-ffd578937521
2001-01-12 12:43:22 +00:00
Richard Frith-MacDonald
801d25ac87 Minor updates to glyph stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8566 72102866-910b-0410-8b05-ffd578937521
2001-01-12 12:32:32 +00:00
Nicola Pero
e35c3b51e9 Rewritten deleting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8562 72102866-910b-0410-8b05-ffd578937521
2001-01-11 23:32:49 +00:00
Richard Frith-MacDonald
fe14b19de7 Some work on glyph handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8560 72102866-910b-0410-8b05-ffd578937521
2001-01-11 19:09:02 +00:00
Richard Frith-MacDonald
77a74143c2 removed unused header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8555 72102866-910b-0410-8b05-ffd578937521
2001-01-11 08:29:18 +00:00
Nicola Pero
3809ed26c2 Fixed infinite loop of recursive exception handler calls from locking up
my window system and forcing me to restart it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8553 72102866-910b-0410-8b05-ffd578937521
2001-01-10 22:37:29 +00:00
Nicola Pero
04a00a7269 Prefixed GSTextStorage ivars with underscore; implement length for speed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8552 72102866-910b-0410-8b05-ffd578937521
2001-01-10 20:20:47 +00:00
Richard Frith-MacDonald
0ac0237a1e Handle exceptions when graphics context isn't in place.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8519 72102866-910b-0410-8b05-ffd578937521
2001-01-08 19:59:20 +00:00
Fred Kiefer
485b84e393 [_initWithoutGModel] make the size label non-selectable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8511 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:29:13 +00:00
Fred Kiefer
f5cce03392 In [supportMaxColorSpaces] corrected converions from RGB to HSB.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8510 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:28:32 +00:00
Fred Kiefer
c1f712ee80 Small improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8503 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:12:31 +00:00
Fred Kiefer
3f961f1098 Better interaction with the current colour picker. [setTarget:]
don't retain target. In [sharedColorPanel] the picker mode is used
only to create the panel, not each time the panel is shown. Show
the alpha value multiplied by 100.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8499 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:06:10 +00:00
Fred Kiefer
b2799ce60c In [dealloc] call [deactivate] for active colour wells.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8498 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:05:32 +00:00
Fred Kiefer
47c5ba9a64 [setTarget:] don't retain target to avoid retain cycle in
NSScrollView. [initWithCoder:] release target after decoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8497 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:04:58 +00:00
Fred Kiefer
b8a41ef24a Added new GS methods [concatenateWithMatrix:] and
[deltaPointInMatrixSpace:] to avoid the creation of a new
NSAffineTransform in the backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8496 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:04:21 +00:00
Nicola Pero
44a4abdda9 Sizing improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8485 72102866-910b-0410-8b05-ffd578937521
2001-01-07 01:05:44 +00:00
Nicola Pero
aa91231c31 Improvements for replacing the text view with another one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8484 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:59:57 +00:00
Nicola Pero
0d14de6d9c Implemented textContainerChangeTextView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8483 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:57:23 +00:00
Nicola Pero
0fe5dd2861 Added invalidation of text position during editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8482 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:53:53 +00:00
Nicola Pero
b6038bc341 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8481 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:46:12 +00:00
Richard Frith-MacDonald
a6a81013c4 A few copy/paste fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8466 72102866-910b-0410-8b05-ffd578937521
2001-01-03 10:39:02 +00:00
Fred Kiefer
f15c6fb50b Added missing methods, restructured all the private methods, so
there are no changing methods left. Made systemColorWithName() a
function and optimized system color retrival.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8459 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:42:56 +00:00
Fred Kiefer
b6214ee639 Added notifiaction string from NSColor.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8458 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:42:18 +00:00
Fred Kiefer
21589c3965 Removed reference of NSColorPrivate.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8457 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:41:53 +00:00
Fred Kiefer
7465643efd Simplified mask definition in [drawInteriorWithFrame:inView:] and
[cellSize].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8454 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:39:54 +00:00
Richard Frith-MacDonald
afc3dfd686 More selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8451 72102866-910b-0410-8b05-ffd578937521
2000-12-27 07:39:25 +00:00
Richard Frith-MacDonald
7fdaabcdde Selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8450 72102866-910b-0410-8b05-ffd578937521
2000-12-27 06:28:29 +00:00
Fred Kiefer
3088176c7a Dummy implementation for new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8444 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:43:27 +00:00
Fred Kiefer
a5b32e8ee8 Delegate all the new methods to the cell. Replaced all calls to
[display] with [setNeedsDisplay:] excuding those in [setState:]
and [setNextState:]. Removed the initXXX methods, as they were
doublicated code from super.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8443 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:42:57 +00:00
Fred Kiefer
20a28ff6a0 Use the _default_context for all events and in dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8435 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:09:03 +00:00
Fred Kiefer
4869a8775e Implemented [setTitleWithMnemonic:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8433 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:58 +00:00
Fred Kiefer
f369ead740 Implemented [refusesFirstResponder] and [setRefusesFirstResponder:].
Changed [setEnabled:], [setAlignment:], [setFont:] and all
[setXXValue:] methods to conform to the spec. Removed the
[copyWithZone:] method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8431 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:06 +00:00
Fred Kiefer
e2080f1aa3 Dummy implementation for new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8430 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:06:06 +00:00
Fred Kiefer
31dbd85ecb Implemented [imageRepWithContentsOfURL:] and [imageRepsWithContentsOfURL:].
In [imageRepsWithContentsOfFile:] get all possible reps.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8429 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:39 +00:00
Fred Kiefer
8dd31d83b4 Implemented [initWithBitmapHandle:], [initWithIconHandle:] and
[initWithContentsOfURL:]. [copyWithZone:] dont copy cached image reps.
Allways use [self representations], so that the representation is
loaded if needed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8428 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:12 +00:00
Fred Kiefer
003b893e23 In [drawInteriorWithFrame:inView:] use NSCompositeSourceOver as
the operator for imag composition not NSCompositeCopy. This
replacement may be necessary in other parts of the GUI as well!!!!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8424 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:22:16 +00:00
Fred Kiefer
43d41776c0 Adopted to changes in header file.
Moved code from [TIFFRepresentation] to
[TIFFRepresentationUsingCompression:factor:] and call this.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8423 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:34 +00:00
Fred Kiefer
a10dcd826a Adopted to changes in header file.
Removed methods [drawAtPoint:] and [drawInRect:] so that the super
implementation gets used. In method [initWithSize:depth:separate:alpha:]
store alpha and bitspersample.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8422 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:05 +00:00
Fred Kiefer
b0b2dd93f7 Adopted to changes in header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8421 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:20:29 +00:00
Fred Kiefer
681da22a0e Adopted to changes in header file. General cleanup.
Removed obsolete backend declarations.
Move ivar fileName from GSRepDate to NSImage, as it is used only
once. This simplifies [_useFromFile:] and [_loadImageFilenames].
Implemented [compositeToPoint:fromRect:operation:] and
[dissolveToPoint:fromRect:fraction:] by calling the corresponding
function. Now the operator given to this methods is really used!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8420 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:19:23 +00:00
Nicola Pero
bb8c149fce Rewritten setting typing attributes from insertion point; tidied, minor
changes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8416 72102866-910b-0410-8b05-ffd578937521
2000-12-23 13:07:36 +00:00
Richard Frith-MacDonald
0ae0da7dad Handle apostrophes and hyphens within words.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8415 72102866-910b-0410-8b05-ffd578937521
2000-12-23 07:10:27 +00:00
Nicola Pero
901d2114eb Implemented notifications to the delegate about changes in the selection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8412 72102866-910b-0410-8b05-ffd578937521
2000-12-22 19:08:29 +00:00
Nicola Pero
a53e0a5769 Implemented shift click; moved code around
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8409 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:52:23 +00:00
Nicola Pero
85ff7509fc Work on drawing insertion point
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8407 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:57:21 +00:00
Nicola Pero
f97b00a5b1 Added NSOldSelectedCharacterRange
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8405 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:49:09 +00:00
Nicola Pero
e07f5fa8c9 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8401 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:47:51 +00:00
Nicola Pero
c8bfe7e399 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8400 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:39:42 +00:00
Nicola Pero
2a0c9fda52 Use layout manager's ivars for flags shared between textviews with the same
layout manager; fixed/implemented notifications, begin/end editing etc


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8399 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:32:01 +00:00
Nicola Pero
8d3ffdfc63 Code for multiple text views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8398 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:29:51 +00:00
Nicola Pero
89fce18382 Fixed bug allowing buttons disabled but with a key equivalent to get first
responder status


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8395 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:23:21 +00:00
Nicola Pero
3d77093190 Access ivar _refuses_first_responder directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8394 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:21:27 +00:00
Nicola Pero
62797f6331 Added a little private method to allow implentation of NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8393 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:20:33 +00:00
Nicola Pero
ed69dee7f2 Tidyups, access some ivars directly, and a bug fix for scrolling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8386 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:56:40 +00:00
Nicola Pero
b1507ff3e2 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8385 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:55:30 +00:00
Nicola Pero
6455046227 Merged NSText code into NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8383 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:00:32 +00:00
Nicola Pero
6ab26e6943 Removed most delegate code now handled by NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8381 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:37 +00:00
Nicola Pero
7427870911 Added NSText notifications to delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8380 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:15 +00:00
Nicola Pero
de8df1c4f5 Moved some methods to NSTextView; removed some old methods; tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8378 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:37:28 +00:00
Nicola Pero
be3091ea03 Moved selectedRange and setSelectedRange: from NSText
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8377 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:35:22 +00:00
Nicola Pero
a20166067f Fix in my last change, plus some verbose comments added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8375 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:20:39 +00:00
Nicola Pero
b89da5341a Indented comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8374 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:09:21 +00:00
Nicola Pero
b867efaa01 Moved the string method to NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8372 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:52 +00:00
Nicola Pero
9a852c5fe4 Added code to share editing attributes and delegate between multiple
text views with the same layout manager


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8371 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:19 +00:00
Nicola Pero
e3f6a413a0 Tidied some long comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8368 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:47:24 +00:00
Nicola Pero
da6a352dd3 Imported some code from NSText; removed lots of methods already implemented
in NSText (the superclass)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8366 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:34:21 +00:00
Nicola Pero
a8b3637202 Removed code which belongs to NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8365 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:33:34 +00:00
Nicola Pero
d3c3d91e82 Moved some code from NSText
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8360 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:07:28 +00:00
Nicola Pero
c77827b381 Made NSText an abstract class always allocating an instance of the
concrete subclass NSTextView


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8359 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:06:53 +00:00
Richard Frith-MacDonald
247539f37b Fix logic error in attribute handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8358 72102866-910b-0410-8b05-ffd578937521
2000-12-18 19:29:49 +00:00
Nicola Pero
b7a8dc9399 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8355 72102866-910b-0410-8b05-ffd578937521
2000-12-18 18:08:21 +00:00
Richard Frith-MacDonald
9835ced269 Range fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8349 72102866-910b-0410-8b05-ffd578937521
2000-12-18 17:14:54 +00:00
Richard Frith-MacDonald
e514763173 Applied view resizing patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8345 72102866-910b-0410-8b05-ffd578937521
2000-12-18 10:52:46 +00:00
Nicola Pero
86b2df02c9 Little tweak to keep number of concurrent typing dictionaries allocated
reasonably low


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8342 72102866-910b-0410-8b05-ffd578937521
2000-12-17 11:57:23 +00:00
Nicola Pero
1bfc14cd38 Implemented double owning policy for the text network (ie, allocation
deallocation stuff)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8340 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:21:47 +00:00
Nicola Pero
abed70f622 Retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8339 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:19:18 +00:00
Nicola Pero
c96deb1436 Retain/release fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8338 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:18:33 +00:00
Nicola Pero
120979e0e2 Retain/release fixes, and tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8337 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:17:54 +00:00
Fred Kiefer
2c91a0f895 Moved the "not implemented yet" Panel to the shared instance
method of this class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8334 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:23:41 +00:00
Fred Kiefer
edb22721b2 Adopted to changes in header file. [initialize] Cache the
notification center and the NSAutoreleasePool class for the whole
	file. [finishLaunching] set the image before starting the icon
	view. Recognize file to open with flag @"NSOpen" beside @"GSFilePath".
	[dealloc] now also destoys the graphic context. [stop:] now stops
	the run loop, which may be restarted (but this will still reload
	the NIB file!). [setApplicationIconImage:] check if the
	_app_icon_window is there before setting its
	image. [orderFrontDataLinkPanel:] and [orderFrontHelpPanel:] moved
	the error message into the corresponding files. [terminate:] now
	directly stops the program with exit(0). Also did some general
	cleanup of code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8333 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:22:31 +00:00
Nicola Pero
24b3d9ce47 Implemented copyWithZone
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8330 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:56:25 +00:00
Nicola Pero
ac3979e8f4 Updated for ivar change; attributed strings are now treated differently
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8329 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:55:28 +00:00
Nicola Pero
8cce6d579a Prefixed all ivars with underscores; fixed invalidated range
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8326 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:21:59 +00:00
Nicola Pero
0cec48542b Tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8325 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:03:03 +00:00
Nicola Pero
352ef9339a Optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8321 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:57 +00:00
Nicola Pero
6284321acb Fixed memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8320 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:17 +00:00
Nicola Pero
6d3e255397 Prefixed all NSParagraphStyle and NSTextTab ivars with underscores
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8313 72102866-910b-0410-8b05-ffd578937521
2000-12-12 21:14:00 +00:00
Nicola Pero
ca75f8eb2d Do not draw in deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8311 72102866-910b-0410-8b05-ffd578937521
2000-12-12 18:45:22 +00:00
Nicola Pero
af894fe8c4 Bug fix for recent change in NSActionCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8309 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:15:23 +00:00
Nicola Pero
96422627fd Left align edited text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8308 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:13:05 +00:00
Nicola Pero
c332a68115 Do not copy deeply ivars when copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8307 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:12:16 +00:00
Nicola Pero
bb4466e3b6 When copying, only make a superficial copy of ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8306 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:11:21 +00:00
Nicola Pero
01360a699c When copying cells, do a superficial copy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8305 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:09:32 +00:00
Nicola Pero
371286e8cb Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8304 72102866-910b-0410-8b05-ffd578937521
2000-12-12 16:38:04 +00:00
Fred Kiefer
eac0e25fd7 Remove initialisation and copy method, as this were mere super
calls. Added getter methods with validation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8281 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:20:03 +00:00
Fred Kiefer
aef403cffa Moved the initialisation of the _typingAttributes from the init
method to its first use.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8280 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:19:38 +00:00
Fred Kiefer
e7ea15ff46 Added coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8276 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:17:22 +00:00
Fred Kiefer
339c81cdff Removed super calls from coding methods to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8272 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:23:45 +00:00
Fred Kiefer
db512aaaf8 [contextHelpForKey:] replaced nil by NULL to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8271 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:23:20 +00:00
Fred Kiefer
86b501a3ce Made all predefined fonts redefinable and removed #ifdef.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8270 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:22:51 +00:00
Fred Kiefer
c2f8b2e407 Adopted to changes in NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8265 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:20:17 +00:00
Fred Kiefer
d5b8faad6d Implemented a load of missing methods and adopted all subclasses to
this changes. (Including copying and coding) This breaks archived cells!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8264 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:13:30 +00:00
Richard Frith-MacDonald
28e06375b0 Remove unused var
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8262 72102866-910b-0410-8b05-ffd578937521
2000-12-06 19:52:18 +00:00
Nicola Pero
18ddb109ce Fixed problem with exposed rect being confused with bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8260 72102866-910b-0410-8b05-ffd578937521
2000-12-06 16:48:51 +00:00
Nicola Pero
71527b54da Patch from Georg Fleischmann removing release in excess; include file to
avoid compiler warnings; added copyright notice


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8182 72102866-910b-0410-8b05-ffd578937521
2000-11-23 10:17:47 +00:00
Fred Kiefer
c46694c404 Use system fonts, not explicit names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8171 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:23:21 +00:00
Fred Kiefer
dd30b76aec Added more graphical elements, any functionality is still missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8170 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:45 +00:00
Fred Kiefer
6f5e42e1d1 Split up in three classes added primitiv printing in file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8169 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:08 +00:00
Adam Fedor
eee86903f2 Check id
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8116 72102866-910b-0410-8b05-ffd578937521
2000-11-15 05:02:06 +00:00
Fred Kiefer
1b7e190b3e Started implementation of printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8107 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:19:00 +00:00
Fred Kiefer
0916c83f58 Implemented [print:], [fax:], [dataWithEPSInsideRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8105 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:18:11 +00:00
Fred Kiefer
c0f395f492 Implemented [print:], [fax:], [dataWithEPSInsideRect:] and [writeEPSInsideRect:toPasteboard:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8104 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:17:24 +00:00
Fred Kiefer
d08bdb8b6a Added method [copyWithZone:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8103 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:16:40 +00:00
Richard Frith-MacDonald
17ef6f2a6b Memory usage improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8099 72102866-910b-0410-8b05-ffd578937521
2000-11-13 11:54:58 +00:00
Fred Kiefer
153be7035b [loadNibNamed:owner:] removed unused local variable file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8087 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:45:25 +00:00
Fred Kiefer
dacc328789 [finishLaunching] removed uneeded call
to loadGModel:owner: as this gets done in loadNibNamed:owner:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8086 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:44:37 +00:00
Fred Kiefer
f5a8d938aa Renamed the ivars of _GNULineLayoutInfo to correspond to those of
GSLineLayoutInfo. Call a few more abstract methods. Added
AutoreleasePool in [rebuildForRange:delta:inTextContainer:] to free
up memory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8081 72102866-910b-0410-8b05-ffd578937521
2000-11-12 13:54:54 +00:00
Nicola Pero
722719c680 Use Helvetica-Bold rather than Helvetica-BoldOblique for titles;
Helvetica-Bold looks much better


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8071 72102866-910b-0410-8b05-ffd578937521
2000-11-09 10:06:25 +00:00
Fred Kiefer
c29b53732f In [setVerticallyResizable:] and [setHorizontallyResizable:] set the size of the text conatainer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8062 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:12:29 +00:00
Fred Kiefer
d8c43999c1 Get the fragmentRect used for layout from the text container
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8061 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:11:26 +00:00
Adam Fedor
144ab50f30 Fix translation of scrolling document bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8042 72102866-910b-0410-8b05-ffd578937521
2000-11-06 05:00:17 +00:00
Fred Kiefer
e80400478a Moved all sizeToFit calls after text changes to
the layout manager.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8039 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:31:20 +00:00
Fred Kiefer
cd85ae9c86 In [setWidthTracksTextView:] and
[setHeightTracksTextView:] make sure that the view post changes
and that notifications are only send once.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8038 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:30:06 +00:00
Fred Kiefer
07b28f97da Added dealloc method. Implemented
[drawsBackground] and [setDrawsBackground:]. In [setDocumentView:]
get the background drawing from the document view. [drawRect:] and
[isOpaque] check the background drawing. Corrected [constrainScrollPoint:]
to respect the documentFrame origin. Implemented [autoscroll:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8037 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:29:32 +00:00
Fred Kiefer
21b856060f Hand on background drawing to content view. In [setContentView:] call setDocumentView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8036 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:28:50 +00:00
Fred Kiefer
eaeca6efb0 Call size to fit on view after layout changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8033 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:21:47 +00:00
Gregory John Casamento
6d89487694 Adding modifications for NSSecureTextField. This is a partial
implementation which works at the same level as OPENSTEP 4.2.
The methods necessary to echo bullets to the screen will be
added later. (GJC)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8021 72102866-910b-0410-8b05-ffd578937521
2000-11-04 06:58:29 +00:00
Fred Kiefer
1cfbd9caf3 Set the TextConatainer to track its view
again. But switch this of if the view is scrollable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7997 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:22:15 +00:00
Fred Kiefer
83c9ff711e Added simple glyph cahracter mapping methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7996 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:21:29 +00:00
Fred Kiefer
fd834fe526 Removed some 300 lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7995 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:20:06 +00:00
Richard Frith-MacDonald
c4d502e70f Fix error in function name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7951 72102866-910b-0410-8b05-ffd578937521
2000-10-31 16:29:18 +00:00
Richard Frith-MacDonald
19e0fc3d15 Added some fixes for Apple runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7940 72102866-910b-0410-8b05-ffd578937521
2000-10-31 12:47:09 +00:00
Fred Kiefer
ca10da60f3 [setContainerSize:] only informs layout manager if really changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7896 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:27:00 +00:00
Fred Kiefer
cf2cd53ca5 [buildUpTextNetwork:] The text container no
longer tracks its view by default.
[initWithFrame:textContainer:] the view is no longer resizable by default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7895 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:25:46 +00:00
Fred Kiefer
b682bebc80 _GNULineLayoutInfo has new ivar usedRect. Simplified the code a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7894 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:24:22 +00:00
Fred Kiefer
dbd69f759f Use NSASCIIStringEncoding instead of NSLatin1StringEncoding for RTF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7893 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:23:34 +00:00
Michael Silva
9bb6a7ddc6 more NSTab* related fixed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7887 72102866-910b-0410-8b05-ffd578937521
2000-10-23 07:42:34 +00:00
Michael Silva
43f024d2d7 Fixed NSTabView more. Yeah.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7878 72102866-910b-0410-8b05-ffd578937521
2000-10-20 23:02:57 +00:00
Richard Frith-MacDonald
1ee0716c90 Clipview redisplay fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7854 72102866-910b-0410-8b05-ffd578937521
2000-10-20 04:19:22 +00:00
Michael Silva
e9ea6379e4 Bugfixes for NSTabView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7852 72102866-910b-0410-8b05-ffd578937521
2000-10-19 22:47:09 +00:00
Fred Kiefer
0630943220 [runPageLayout:] use real panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7832 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:53:39 +00:00
Fred Kiefer
57023039b9 Some basic implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7831 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:59 +00:00
Fred Kiefer
50bac4113c Change references to ivar info to _info.
[initPrintInfoDefaults] now works if there is no PrinterAdmin
resource.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7830 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:32 +00:00
Adam Fedor
880129448d Window focus improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7827 72102866-910b-0410-8b05-ffd578937521
2000-10-16 19:20:32 +00:00
Fred Kiefer
7b3fe023bc Improved the memory handling in diverse methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7821 72102866-910b-0410-8b05-ffd578937521
2000-10-15 20:55:38 +00:00
Nicola Pero
50f657f4c9 Prefixed ivar with underscore to keep it to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7804 72102866-910b-0410-8b05-ffd578937521
2000-10-13 10:03:36 +00:00
Fred Kiefer
fd3fe70d6a *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7803 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:05:36 +00:00
Fred Kiefer
9a7641c764 Started reorganising the code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7802 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:03:30 +00:00
Fred Kiefer
b97acdeb63 Use NSLayoutManager instead of GSSimpleLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7801 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:02:25 +00:00
Fred Kiefer
adf1534fc5 Added comments from .h file.
Return a GSSimpleLayoutManager from [allocWithZone].
Removed all compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7800 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:01:43 +00:00
Fred Kiefer
a57534d8d3 Use explicit Private interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7799 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:45 +00:00
Fred Kiefer
989c7da61f In [close] use removeDocument instead of _removeDocument.
[initWithContentsOfFile:ofType:] call [self init] instead of
[super init].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7798 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:09 +00:00
Nicola Pero
64691efc39 Reverted autorelease pool code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7785 72102866-910b-0410-8b05-ffd578937521
2000-10-11 09:58:36 +00:00
Richard Frith-MacDonald
0e3182adb9 Removed debug statements left in error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7775 72102866-910b-0410-8b05-ffd578937521
2000-10-09 12:39:24 +00:00
Richard Frith-MacDonald
e64d3a6a10 Fix for immutable dictionaries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7774 72102866-910b-0410-8b05-ffd578937521
2000-10-09 12:19:29 +00:00
Richard Frith-MacDonald
47df37ecfd Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7768 72102866-910b-0410-8b05-ffd578937521
2000-10-09 04:03:32 +00:00
Fred Kiefer
45ce951b30 _setup() corrected a problem from the last change
Removed obsolete super calls in GSTextInfo coding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7766 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:30:08 +00:00
Fred Kiefer
a38bc02f22 Small correction in [fixParagraphStyleAttributeInRange]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7765 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:29:12 +00:00
Richard Frith-MacDonald
6d3aa3231b Minor portability fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7764 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:03:24 +00:00
Fred Kiefer
1d5eb47a99 Convert glyphs to font encoding in drawRun().
Removed unused code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7699 72102866-910b-0410-8b05-ffd578937521
2000-10-02 17:49:43 +00:00
Fred Kiefer
5b30b8c04d [_initBackendWindow] always redisplay _wv
[setFrame:display:] set the frame of _wv directly if deferred.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7698 72102866-910b-0410-8b05-ffd578937521
2000-10-02 17:48:46 +00:00
Fred Kiefer
c600d60eb6 In [display] check if the _visibleRect is still valid.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7679 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:14:56 +00:00
Fred Kiefer
c147e15baf In [setTextView] let the text view send frame changed notifications.
Check text view in [_textViewFrameChanged:].
Don't add observer if text view is nil in
[setHeightTracksTextView:] and [setWidthTracksTextView:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7678 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:14:12 +00:00
Fred Kiefer
96d2900f7d Switched to use the text container for size information.
Implemented [textContainerChangedGeometry].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7677 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:13:41 +00:00
Fred Kiefer
68a34ae2bd Removed additional method [setFirstTextView]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7676 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:13:07 +00:00
Fred Kiefer
7fba1bb097 Implemented [firstTextView].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7675 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:12:42 +00:00
Fred Kiefer
9aa55f49e5 Use text container implementation from super class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7674 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:11:50 +00:00
Fred Kiefer
552dcf4a84 Moved the text container handling from NSTextView to here and
corrected it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7673 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:11:15 +00:00
Adam Fedor
358af35b5f Deferred window fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7646 72102866-910b-0410-8b05-ffd578937521
2000-09-29 03:55:30 +00:00
Adam Fedor
77c74a324e Implementation of deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7623 72102866-910b-0410-8b05-ffd578937521
2000-09-27 22:18:34 +00:00
Adam Fedor
135259b7c2 Dont free colormap tables in PHOTOMETRIC_PALETTE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7620 72102866-910b-0410-8b05-ffd578937521
2000-09-27 15:16:42 +00:00
Lyndon Tremblay
35e02eb955 - Various very small optimizations.
- Tells the user about unhandled exceptions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7605 72102866-910b-0410-8b05-ffd578937521
2000-09-26 11:45:32 +00:00
Lyndon Tremblay
5f2683a975 Implemented AppKit exception handler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7598 72102866-910b-0410-8b05-ffd578937521
2000-09-26 09:01:58 +00:00
Nicola Pero
15af8c11e0 Fixed memory problem in copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7596 72102866-910b-0410-8b05-ffd578937521
2000-09-26 08:46:30 +00:00
Lyndon Tremblay
d6114c1a73 Minor changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7588 72102866-910b-0410-8b05-ffd578937521
2000-09-23 02:05:09 +00:00
Richard Frith-MacDonald
325a6086ac Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7554 72102866-910b-0410-8b05-ffd578937521
2000-09-19 22:38:56 +00:00
Richard Frith-MacDonald
8bde8b0bb1 Internal storage fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7553 72102866-910b-0410-8b05-ffd578937521
2000-09-19 22:36:30 +00:00
Fred Kiefer
915919b6a5 [initWithFrame:] switch of the creation of a NSLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7545 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:34:02 +00:00
Fred Kiefer
c834c9bc02 Removed GSSimpleLayoutManager code and use new interface to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7544 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:33:30 +00:00
Fred Kiefer
b92894add8 Include new file GSSimpleLayoutManager.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7542 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:32:16 +00:00
Fred Kiefer
40aa76c126 New file extracted from NSText.m. This class is now a subclass of
NSLayoutManager and uses a similar interface.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7541 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:31:39 +00:00
Mirko Viviani
51d87dae28 2000-09-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSPanel.m ([GSAlertPanel
	-initWithContentRect:styleMask:backing:defer:screen:]): set alternate
	return image.
	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]):
	removed.
	* Source/NSSavePanel.m ([NSSavePanel -controlTextDidEndEditing:]):
	repost currentEvent.
	([NSSavePanel -_initWithoutGModel]): removed form cell action, set
	_okButton image.
	([NSSavePanel -_performReturn:]): removed.
	* Images/common_retH.tiff: new file.
	* Images/GNUmakefile (IMAGE_FILES): update.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7518 72102866-910b-0410-8b05-ffd578937521
2000-09-14 21:53:03 +00:00
Nicola Pero
d2966c95a3 Fixed memory leaks in editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7513 72102866-910b-0410-8b05-ffd578937521
2000-09-14 11:43:20 +00:00
Mirko Viviani
05a9cab8f7 2000-09-13 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSBrowser.m ([NSBrowser -_performLoadOfColumn:]): fixed
	intercell space values.

	* Source/NSText.m ([NSText -keyDown:]): removed forward for illegal
	text field events.

	* Source/NSSavePanel.m ([NSSavePanel -controlTextDidEndEditing:]):
	implemented for text field movement.
	([NSSavePanel -_performReturn:]): new private method.
	([NSSavePanel -_initWithoutGModel]): set form cell action to
	_performReturn:

	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]): call
	super.
	([NSOpenPanel -_selectCellName:]):,
	([NSOpenPanel -controlTextDidChange:]): enable okButton if there is
	text in the text field.
	([NSOpenPanel -ok:]): returns if nothing selected.

	* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): removed workaround.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7506 72102866-910b-0410-8b05-ffd578937521
2000-09-13 20:18:01 +00:00
Fred Kiefer
ded1b5c698 [encodingForRegistry:encoding:] added more encodings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7491 72102866-910b-0410-8b05-ffd578937521
2000-09-12 23:15:51 +00:00
Mirko Viviani
c4b7684011 2000-09-11 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSText.m ([NSText -moveLeft:sender]): deselect text that
	starts at the beginning of the line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7472 72102866-910b-0410-8b05-ffd578937521
2000-09-11 21:44:53 +00:00
Mirko Viviani
be7706ee71 2000-09-11 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSBrowser.m ([NSBrowser -_performLoadOfColumn:]): set
	intercell spacing to 0.
	* Source/NSMatrix.m ([NSMatrix -mouseDown:]): in NSRadioModeMatrix
	deselect the previous selected cell only if the cell is valid.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7471 72102866-910b-0410-8b05-ffd578937521
2000-09-11 15:09:27 +00:00
Mirko Viviani
df00948e11 2000-09-10 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Tools/gpbs.m ([PasteboardEntry -lostOwnership]): workaround to avoid
	core dump due to NSConnection bug.

	* Source/NSWindow.m ([NSWindow -keyDown:]): discard and do not perform
	key equivalent for null character events. Triggered return key for
	default button cell.
	([NSWindow -defaultButtonCell]), ([NSWindow -setDefaultButtonCell:]),
	([NSWindow -disableKeyEquivalentForDefaultButtonCell]),
	([NSWindow -enableKeyEquivalentForDefaultButtonCell]): implemented.
	([NSWindow -dealloc]): release _defaultButtonCell

	* Headers/AppKit/NSWindow.h: added ivar and flag.

	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]),
	([NSOpenPanel -controlTextDidChange:]), ([NSOpenPanel -ok:]):
	implemented keyboard navigation.
	([NSOpenPanel -runModalForDirectory:file:types:]): do not allow
	branch selection if can't choose directories.
	([NSOpenPanel -_selectTextInColumn:]),
	([NSOpenPanel -_selectCellName:]): new private methods.
	([NSOpenPanel -filenames]): change for choose dirs.

	* Source/NSText.m ([NSText -keyDown:]): forwards text field illegal
	events to the next responder.

	* Source/NSBrowser.m ([NSBrowser -moveUp:]), ([NSBrowser -moveDown:]),
	([NSBrowser -moveLeft:]), ([NSBrowser -moveRight:]),
	([NSBrowser -keyDown:]): implemented keyboard navigation
	([NSBrowser -selectedCell]), ([NSBrowser -selectedCells]),
	([NSBrowser -columnOfMatrix:]), ([NSBrowser -selectedColumn]):
	changed return value from NSNotFound to -1 to conforms to NSMatrix
	([NSBrowser -doClick:]): fix for new return values, added support for
	multiple and branch selection.
	([NSBrowser -setLastColumn:]): mark column titles need display
	([NSBrowser -_getTitleOfColumn:]): fix for multiple selection.

	* Source/NSCell.m ([NSCell -setState:]): bug fix: set value to
	NSOnState if someone try to set NSMixedState in a two state cell.
	([NSCell -performClick:]): do not perform click if the cell is
	disabled.

	* Source/NSMatrix.m ([NSMatrix
	-_privateFrame:mode:numberOfRows:numberOfColumns:]),
	([NSMatrix -deselectAllCells]), ([NSMatrix -deselectSelectedCell]),
	([NSMatrix -selectAll:]): bug fix: set _selectRow and _selectColumn
	to -1 when no cells are selected
	([NSMatrix -performKeyEquivalent:]): saves _selectedRow and
	_selectedColumn.
	([NSMatrix -getRow:column:ofCell:]): check for null values for row and
	column.
	([NSMatrix -selectCellAtRow:column:]): deselect the current selection
	only in NSRadioModeMatrix mode.
	([NSMatrix -mouseDown:]): use the new code also for NSRadioModeMatrix
	and fix for this mode.

	* Source/NSSavePanel.m ([NSSavePanel -selectCellWithString:]): select
	text of the cell and enable okButton.
	([NSSavePanel -controlTextDidChange:]): implemented.
	([NSSavePanel -controlTextDidEndEditing:]): removed.
	([NSSavePanel -browser:createRowsForColumn:inMatrix:]): follows
	symbolic links.
	([NSSavePanel -_initWithoutGModel]): set browser doubleAction to
	performClick: of the _okButton. Set _okButton as default window button.
	Disable _okButton.
	([NSSavePanel -browser:selectCellWithString:inColumn:]),
	([NSSavePanel -selectText:]), ([NSSavePanel -keyDown:]): implemented
	keyboard navigation.
	([NSSavePanel -runModalForDirectory:file:]): enable _okButton if
	filename is valid.
	([NSSavePanel -_selectTextInColumn:]), ([NSSavePanel -_selectText:]),
	([NSSavePanel -_selectCellName:]): new private methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7468 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:55:17 +00:00
Nicola Pero
854819af64 Fixed linking to the text container during initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7466 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:38:04 +00:00
Nicola Pero
8744e90eae Implemented encoding/decoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7465 72102866-910b-0410-8b05-ffd578937521
2000-09-10 21:37:03 +00:00
Nicola Pero
d59015f979 Updated for change in NSMatrix ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7462 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:06:37 +00:00
Nicola Pero
9541af5ac3 Prefixed all ivars with underscores
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7461 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:05:00 +00:00
Nicola Pero
6b02a79f71 Do not resize columns which are not resizable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7460 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:02:09 +00:00
Nicola Pero
10ad22071d Don't edit columns which are not editable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7459 72102866-910b-0410-8b05-ffd578937521
2000-09-10 15:01:15 +00:00
Nicola Pero
16fd608dd2 Made table columns editable by default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7458 72102866-910b-0410-8b05-ffd578937521
2000-09-10 14:59:25 +00:00
Nicola Pero
b9f192771d Various fixes and some new code for proper management of very big window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7451 72102866-910b-0410-8b05-ffd578937521
2000-09-08 17:07:04 +00:00
Richard Frith-MacDonald
04cd8a4625 Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7449 72102866-910b-0410-8b05-ffd578937521
2000-09-08 10:39:11 +00:00
Richard Frith-MacDonald
033960073c Submenu management bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7448 72102866-910b-0410-8b05-ffd578937521
2000-09-08 09:41:33 +00:00
Fred Kiefer
65a2f3b220 Changed varius places to make more consistent.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7445 72102866-910b-0410-8b05-ffd578937521
2000-09-08 00:07:42 +00:00
Nicola Pero
d9b7ed8e0b Post info about old width when posting notification about column resized
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7443 72102866-910b-0410-8b05-ffd578937521
2000-09-07 20:39:37 +00:00
Nicola Pero
abab28e393 Bug fixings, implemented moving of columns programmatically.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7442 72102866-910b-0410-8b05-ffd578937521
2000-09-07 20:38:39 +00:00
Nicola Pero
28830d2c30 Added workaround to clip string in rect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7438 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:37:41 +00:00
Nicola Pero
c7d86ddccb Implemented column resizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7437 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:36:05 +00:00
Nicola Pero
3874966236 Added column resizing code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7436 72102866-910b-0410-8b05-ffd578937521
2000-09-07 16:35:05 +00:00
Nicola Pero
15c4029af9 Huge simplification and speed up of dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7432 72102866-910b-0410-8b05-ffd578937521
2000-09-07 12:59:28 +00:00
Nicola Pero
bef15b5d9f Removed annoying log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7430 72102866-910b-0410-8b05-ffd578937521
2000-09-07 01:01:07 +00:00
Nicola Pero
6bd1c1f88a Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7428 72102866-910b-0410-8b05-ffd578937521
2000-09-06 21:44:28 +00:00
Nicola Pero
3e1d117119 Fixed memory leak; do not retain delegate; cache scrollerWidth; use nil
instead of empty view


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7422 72102866-910b-0410-8b05-ffd578937521
2000-09-06 15:28:46 +00:00
Nicola Pero
560769832b Implemented missing object value methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7401 72102866-910b-0410-8b05-ffd578937521
2000-09-05 22:06:55 +00:00
Nicola Pero
f76e7fe754 Do not register for notifications if not needed, bug fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7398 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:31:03 +00:00
Nicola Pero
35695a3b46 Updated for change in NSWindow's ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7396 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:24:15 +00:00
Nicola Pero
26a0416e7c Prefixed all ivars with underscore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7395 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:22:46 +00:00
Nicola Pero
4886431eba Implemented NSApplicationWillTerminateNotification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7380 72102866-910b-0410-8b05-ffd578937521
2000-09-05 01:07:59 +00:00
Nicola Pero
35fb163728 Fixed decoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7376 72102866-910b-0410-8b05-ffd578937521
2000-09-04 23:00:28 +00:00
Nicola Pero
93a9b4e1ad Implemented encoding/decoding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7375 72102866-910b-0410-8b05-ffd578937521
2000-09-04 22:59:23 +00:00
Fred Kiefer
4f98e88b87 Use more implementation from super to make this class temporary working
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7373 72102866-910b-0410-8b05-ffd578937521
2000-09-04 18:41:59 +00:00
Fred Kiefer
638a39c20b Added some basic implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7372 72102866-910b-0410-8b05-ffd578937521
2000-09-04 18:41:31 +00:00
Nicola Pero
2a1fe3649f Updated key event processing for fix in the backend
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7370 72102866-910b-0410-8b05-ffd578937521
2000-09-04 02:03:37 +00:00
Nicola Pero
46fe4a5ba8 Updated processing of key events to fix in the backend
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7369 72102866-910b-0410-8b05-ffd578937521
2000-09-04 02:00:14 +00:00
Fred Kiefer
a66e46a6c7 Corrected bug in [nextWordFromIndex:forward:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7364 72102866-910b-0410-8b05-ffd578937521
2000-09-03 21:02:00 +00:00
Fred Kiefer
dd5e607d3e [weightForString:] added "black"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7363 72102866-910b-0410-8b05-ffd578937521
2000-09-03 21:01:32 +00:00
Nicola Pero
673b8f48db Redraw only the necessary parts; tiny other speedups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7358 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:30:19 +00:00
Nicola Pero
37d07659ee Fixed displaying a title in the slider
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7356 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:27:02 +00:00
Nicola Pero
a6b0affce7 Minor speed ups; use an inline function instead of a private method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7355 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:25:52 +00:00
Nicola Pero
81ca86ec71 Little speedup of drawing table background
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7354 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:23:28 +00:00
Nicola Pero
c5dea351d3 Minor speedups in drawing; release the matrix columns sooner
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7353 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:22:08 +00:00
Nicola Pero
c12f6b0e7e Micro speedup in dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7352 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:20:29 +00:00
Nicola Pero
66fd318187 Enclosed creation of a matrix column into an autorelease pool; do not
create then destroy a column in the matrix if it is void


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7351 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:19:40 +00:00
Nicola Pero
f64eb1b678 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7349 72102866-910b-0410-8b05-ffd578937521
2000-09-03 19:14:00 +00:00
Fred Kiefer
a3333bd2e3 Changed system fonts of size 12 to 0. This will use Nicolas font
cache and keep font sizes consistent when changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7347 72102866-910b-0410-8b05-ffd578937521
2000-09-02 17:16:26 +00:00
Fred Kiefer
6792f04451 Added missing RETAINs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7346 72102866-910b-0410-8b05-ffd578937521
2000-09-02 17:09:50 +00:00
Fred Kiefer
8710ccdd21 Added class methods [weightForString:], [stringForWeight:] and
[encodingForRegistry:encoding:] to be used in subclasses.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7338 72102866-910b-0410-8b05-ffd578937521
2000-09-02 01:52:18 +00:00
Nicola Pero
2e244ba1d7 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7333 72102866-910b-0410-8b05-ffd578937521
2000-09-02 00:15:13 +00:00
Nicola Pero
7439e9c4e8 Optimization: cache and share default fonts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7327 72102866-910b-0410-8b05-ffd578937521
2000-09-01 23:49:53 +00:00
Nicola Pero
884295b104 Fixed memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7325 72102866-910b-0410-8b05-ffd578937521
2000-09-01 20:35:22 +00:00
Nicola Pero
ef00b8e1ed Implemented TAB / Shift + TAB during editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7319 72102866-910b-0410-8b05-ffd578937521
2000-09-01 11:10:54 +00:00
Nicola Pero
590e4c8be7 Fixed drawing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7316 72102866-910b-0410-8b05-ffd578937521
2000-09-01 09:59:49 +00:00
Nicola Pero
13875e56c9 Tiny fix for coordinate of event
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7311 72102866-910b-0410-8b05-ffd578937521
2000-08-31 23:17:42 +00:00
Fred Kiefer
6320b89750 Removed method -widths. Changed [weigth],
[mostCompatibleStringEncoding] and [traits] to return the ivars.
Set those in [init] to the default values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7306 72102866-910b-0410-8b05-ffd578937521
2000-08-31 00:06:49 +00:00
Fred Kiefer
f6a7203f71 Removed method -widths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7305 72102866-910b-0410-8b05-ffd578937521
2000-08-31 00:06:06 +00:00
Nicola Pero
e83c3e9738 Fixed sizing when adding and removing accessory views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7296 72102866-910b-0410-8b05-ffd578937521
2000-08-30 22:41:53 +00:00
Nicola Pero
73e00686a8 Changes to make inheriting decoding simpler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7294 72102866-910b-0410-8b05-ffd578937521
2000-08-30 17:48:30 +00:00
Nicola Pero
339ddc0dac Added key cell support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7291 72102866-910b-0410-8b05-ffd578937521
2000-08-30 11:13:28 +00:00
Nicola Pero
cb09233ba0 Indented a line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7289 72102866-910b-0410-8b05-ffd578937521
2000-08-30 11:11:31 +00:00
Nicola Pero
f9dca23152 Double clicking on an item now opens it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7287 72102866-910b-0410-8b05-ffd578937521
2000-08-30 10:12:37 +00:00
Nicola Pero
a9f4a28379 Implemented object value/formatter support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7284 72102866-910b-0410-8b05-ffd578937521
2000-08-29 18:44:33 +00:00
Nicola Pero
c96a2cd4db Implemented object value/formatter support for editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7283 72102866-910b-0410-8b05-ffd578937521
2000-08-29 18:42:49 +00:00
Nicola Pero
6768da6356 Added object value/formatter support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7282 72102866-910b-0410-8b05-ffd578937521
2000-08-29 18:39:47 +00:00
Adam Fedor
5a25706d4e Don't update menu for some events
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7277 72102866-910b-0410-8b05-ffd578937521
2000-08-28 22:29:32 +00:00
Fred Kiefer
5293e073c8 Started cleanup of code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7273 72102866-910b-0410-8b05-ffd578937521
2000-08-27 22:32:29 +00:00
Fred Kiefer
97d141c652 [edited:range:changeInLength:] and [processEditing] corrected
reported range.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7272 72102866-910b-0410-8b05-ffd578937521
2000-08-27 22:31:32 +00:00
Fred Kiefer
c92231d8e3 [viewWithTag:] corrected bug in optimisation for first sub-level.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7271 72102866-910b-0410-8b05-ffd578937521
2000-08-27 22:31:02 +00:00
Fred Kiefer
497c9801a7 [convertWeight:ofFont:] better conversion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7270 72102866-910b-0410-8b05-ffd578937521
2000-08-27 22:30:17 +00:00
Fred Kiefer
0e0ef6e274 Changed to tags for all subviews to prepare for the switch to
gmodel. [panelConvertFont:] corrected to not return nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7268 72102866-910b-0410-8b05-ffd578937521
2000-08-27 22:29:24 +00:00
Nicola Pero
a32e8348be Fixed bug in initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7255 72102866-910b-0410-8b05-ffd578937521
2000-08-27 16:59:50 +00:00
Nicola Pero
992c70653f Cached the default notification center everywhere
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7252 72102866-910b-0410-8b05-ffd578937521
2000-08-26 20:41:52 +00:00
Nicola Pero
0e3b7dfc90 Implemented selecting of columns
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7250 72102866-910b-0410-8b05-ffd578937521
2000-08-26 20:17:08 +00:00
Nicola Pero
1afe863826 Implemented selection of columns and rows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7249 72102866-910b-0410-8b05-ffd578937521
2000-08-26 20:16:07 +00:00
Adam Fedor
2a670138e5 FIx NSTextView model trans. View removal
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7245 72102866-910b-0410-8b05-ffd578937521
2000-08-25 14:25:38 +00:00
Fred Kiefer
51fd93543b [runStringForString:attributes:paragraphStart:] Improved output of
bold/italic formating.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7242 72102866-910b-0410-8b05-ffd578937521
2000-08-24 22:55:49 +00:00
Fred Kiefer
242099e3cb Corrected function gethex().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7241 72102866-910b-0410-8b05-ffd578937521
2000-08-24 22:54:25 +00:00
Adam Fedor
f2a24a9a32 Selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7235 72102866-910b-0410-8b05-ffd578937521
2000-08-23 17:33:12 +00:00
Adam Fedor
8298410a10 Merge 0.6.6 branch into main.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7188 72102866-910b-0410-8b05-ffd578937521
2000-08-07 22:06:04 +00:00
Richard Frith-MacDonald
d1bbe54ace Added middle mouse button support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7140 72102866-910b-0410-8b05-ffd578937521
2000-08-03 08:48:22 +00:00
Richard Frith-MacDonald
6d8d917d63 Simplify loading of gmodels
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7063 72102866-910b-0410-8b05-ffd578937521
2000-07-30 08:20:51 +00:00
Richard Frith-MacDonald
a205d22539 Install GSFontInfo.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6878 72102866-910b-0410-8b05-ffd578937521
2000-07-06 05:26:16 +00:00
Richard Frith-MacDonald
b9556216c3 Update name server method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6868 72102866-910b-0410-8b05-ffd578937521
2000-07-04 09:52:17 +00:00
Fred Kiefer
d75ab49709 Corrected decoding and added a RETAIN in [initWithSerializedRepresentation:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6859 72102866-910b-0410-8b05-ffd578937521
2000-07-02 16:54:51 +00:00
Fred Kiefer
915afeecce Use new RTFD methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6858 72102866-910b-0410-8b05-ffd578937521
2000-07-02 16:54:20 +00:00
Fred Kiefer
1ab1e78975 Added new methods to read/write RTFD and resturctured the methods
for RTF.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6857 72102866-910b-0410-8b05-ffd578937521
2000-07-02 16:53:30 +00:00
Fred Kiefer
4b02e5cd2c [setAllowsUndo:] and [allowsUndo] now use ivar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6851 72102866-910b-0410-8b05-ffd578937521
2000-07-01 12:10:37 +00:00
Fred Kiefer
1147f043c7 Changed Font/Ruler pasting to use an Archiver
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6850 72102866-910b-0410-8b05-ffd578937521
2000-07-01 12:09:57 +00:00
Fred Kiefer
1b31e4acc1 Implemented coding and replaced [initWithSerializedRepresentation:]
and [serializedRepresentation] to use it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6849 72102866-910b-0410-8b05-ffd578937521
2000-07-01 12:09:05 +00:00
Adam Fedor
136417828c Use GS_PASS_ARGUMENTS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6844 72102866-910b-0410-8b05-ffd578937521
2000-06-29 14:25:07 +00:00
Nicola Pero
aabbc2a36d Added mixed state support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6827 72102866-910b-0410-8b05-ffd578937521
2000-06-27 17:33:16 +00:00
Fred Kiefer
d6afcbbcd6 Turn on NSFileContentsPboardType in [readablePasteboardTypes].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6814 72102866-910b-0410-8b05-ffd578937521
2000-06-26 22:23:11 +00:00
Fred Kiefer
c5117a18ce [readFileContentsType:toFile:] and [writeFileContents:] now use file
wrappers to use the same format as the new methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6813 72102866-910b-0410-8b05-ffd578937521
2000-06-26 22:22:20 +00:00
Fred Kiefer
4932d1be98 Added a crude implemention for [initWithSerializedRepresentation:]
and [serializedRepresentation]. Also scattered some AUTORELEASE and
RELEASE statements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6812 72102866-910b-0410-8b05-ffd578937521
2000-06-26 22:21:48 +00:00
Richard Frith-MacDonald
0177742a92 Minor retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6811 72102866-910b-0410-8b05-ffd578937521
2000-06-26 21:29:47 +00:00
Fred Kiefer
e1ca973586 Include new file NSAttributedString.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6809 72102866-910b-0410-8b05-ffd578937521
2000-06-26 19:57:42 +00:00
Fred Kiefer
69e4d7875e Added two missing methods for file wrapper
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6808 72102866-910b-0410-8b05-ffd578937521
2000-06-26 19:56:33 +00:00
Fred Kiefer
b4bce295ca Changed the font and ruler pasting and removed some other FIXMEs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6807 72102866-910b-0410-8b05-ffd578937521
2000-06-26 19:55:01 +00:00
Fred Kiefer
eb50176bc8 Use new NSTextAttachment class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6806 72102866-910b-0410-8b05-ffd578937521
2000-06-26 19:54:09 +00:00
Fred Kiefer
f331085fa7 Basic implementation of NSTextAttachment and NSTextAttachmentCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6805 72102866-910b-0410-8b05-ffd578937521
2000-06-26 19:53:27 +00:00
Fred Kiefer
a0ba27745e Include new file Parser/RTFProducer.m until it gets its own bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6791 72102866-910b-0410-8b05-ffd578937521
2000-06-24 22:21:28 +00:00
Fred Kiefer
759501ab39 Allow for a loosier convertion in [fontWithFamily:traits:weight:size:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6789 72102866-910b-0410-8b05-ffd578937521
2000-06-24 22:17:10 +00:00
Fred Kiefer
71b3dcb335 Moved RTF output code to Source/Parser/RTFProducer.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6788 72102866-910b-0410-8b05-ffd578937521
2000-06-24 22:14:01 +00:00
Fred Kiefer
368f544163 New files for RTF output, code comes partly from Source/NSAttributedString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6787 72102866-910b-0410-8b05-ffd578937521
2000-06-24 22:12:43 +00:00
Fred Kiefer
21e0c1e7b2 Added support for RTF special characters and extra paragraph attributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6786 72102866-910b-0410-8b05-ffd578937521
2000-06-24 22:10:09 +00:00
Nicola Pero
36a80f494e Added editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6764 72102866-910b-0410-8b05-ffd578937521
2000-06-21 17:41:45 +00:00
Nicola Pero
a3c8902146 Placeholder implementation for -objectValue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6763 72102866-910b-0410-8b05-ffd578937521
2000-06-21 17:38:51 +00:00
Nicola Pero
e581ca3d27 Corrected last patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6732 72102866-910b-0410-8b05-ffd578937521
2000-06-19 17:13:06 +00:00
Nicola Pero
c62dc367cd Fixed crash when going past the end of the string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6730 72102866-910b-0410-8b05-ffd578937521
2000-06-19 17:09:45 +00:00
Adam Fedor
b5e2260020 mutableCopy method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6727 72102866-910b-0410-8b05-ffd578937521
2000-06-19 15:21:02 +00:00
Fred Kiefer
3d5cc5d9e7 Added underline, script, colour and tailindent.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6715 72102866-910b-0410-8b05-ffd578937521
2000-06-17 17:53:14 +00:00
Nicola Pero
ba6129c224 Don't scroll rect to visible if we are text fields.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6708 72102866-910b-0410-8b05-ffd578937521
2000-06-16 19:03:15 +00:00
Nicola Pero
9e46108d93 Implemented double click
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6705 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:36:19 +00:00
Nicola Pero
4769a17666 Implemented double click on not editable cells
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6704 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:35:10 +00:00
Fred Kiefer
1ffed54308 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6703 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:12:25 +00:00
Fred Kiefer
3a2b5d31e2 Made setAlignment:range: save against missing paragraph style
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6702 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:07:11 +00:00
Fred Kiefer
0b61b7ec7f Corrected problem in processEditing. The change range got to big
after repeated adding at the end.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6701 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:05:28 +00:00
Fred Kiefer
0851f1ed7c Adopted to new RTF interface. Implemented attachment creation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6700 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:04:57 +00:00
Fred Kiefer
9dc5eb4326 Extended RTF support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6699 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:03:56 +00:00
Nicola Pero
93096a641b Tiny simplification of scrolling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6698 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:00:43 +00:00
Fred Kiefer
474b1eec6b Extended support for RTF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6697 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:00:17 +00:00
Nicola Pero
69214d4cbe Indented a line at 80
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6696 72102866-910b-0410-8b05-ffd578937521
2000-06-16 16:48:45 +00:00
Nicola Pero
14384bd668 Updated for last changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6689 72102866-910b-0410-8b05-ffd578937521
2000-06-16 09:38:30 +00:00
Nicola Pero
3966809578 Simplified scrolling a rectangle inside visible rect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6684 72102866-910b-0410-8b05-ffd578937521
2000-06-15 18:32:13 +00:00
Nicola Pero
7ec7b23e85 Scroll header view too as a consequence of clip view scrolled (if needed)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6682 72102866-910b-0410-8b05-ffd578937521
2000-06-15 18:03:53 +00:00
Nicola Pero
d0ea8d9369 Fixed fatal typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6680 72102866-910b-0410-8b05-ffd578937521
2000-06-15 13:20:47 +00:00
Nicola Pero
4d6dd97c36 Implemented -scrollRowToVisible: and -scrollColumnToVisible:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6677 72102866-910b-0410-8b05-ffd578937521
2000-06-13 17:35:40 +00:00
Nicola Pero
9ee23df74d Tiny tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6676 72102866-910b-0410-8b05-ffd578937521
2000-06-13 17:34:47 +00:00
Nicola Pero
5eeb5e1bf8 Indented comment at 80
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6675 72102866-910b-0410-8b05-ffd578937521
2000-06-13 17:34:13 +00:00
Nicola Pero
0e497ba651 Fixed copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6673 72102866-910b-0410-8b05-ffd578937521
2000-06-13 16:10:39 +00:00
Jonathan Gapen
24140073df Addition of typesetter classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6665 72102866-910b-0410-8b05-ffd578937521
2000-06-12 04:30:42 +00:00
Fred Kiefer
759fc08ad9 Very basic implementation of glyph layout methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6661 72102866-910b-0410-8b05-ffd578937521
2000-06-11 00:32:28 +00:00
Fred Kiefer
946886656d Forward most glayph layout methods to font info
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6660 72102866-910b-0410-8b05-ffd578937521
2000-06-11 00:31:50 +00:00
Fred Kiefer
67054d7ace In updateFontPanel isMultiple was set the wrong way around
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6658 72102866-910b-0410-8b05-ffd578937521
2000-06-11 00:28:35 +00:00
Fred Kiefer
43c272e3f8 Added header.
RTFHeaderStringWithContext: convert colour to RGB


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6656 72102866-910b-0410-8b05-ffd578937521
2000-06-10 16:19:50 +00:00
Fred Kiefer
eac99b712d Added header, replaced import, retain, release...
Added methods for handling of last recent documents.
Made addDocument and removeDocument public.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6655 72102866-910b-0410-8b05-ffd578937521
2000-06-10 16:19:02 +00:00
Fred Kiefer
0c14e61fe6 Added header, replaced import, retain, release...
Rewrote the saveXX methods
Rename saveFileType to fileTypeFromLastRunSavePanel


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6654 72102866-910b-0410-8b05-ffd578937521
2000-06-10 16:18:24 +00:00
Richard Frith-MacDonald
915261484f Minor retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6637 72102866-910b-0410-8b05-ffd578937521
2000-06-03 04:47:10 +00:00
Nicola Pero
74e75a2cb1 Indented a long comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6630 72102866-910b-0410-8b05-ffd578937521
2000-06-01 20:03:17 +00:00
Nicola Pero
8892ec6da0 Fixed problem with positioning of table components
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6628 72102866-910b-0410-8b05-ffd578937521
2000-06-01 19:57:54 +00:00
Fred Kiefer
0d43d397ab Call super methods for pasteboard. Moved drag registration back to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6615 72102866-910b-0410-8b05-ffd578937521
2000-05-23 22:59:36 +00:00
Fred Kiefer
920eca40b8 Moved some Pasteboard methods to here and implemented them
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6614 72102866-910b-0410-8b05-ffd578937521
2000-05-23 22:58:24 +00:00
Fred Kiefer
456bb4cb21 In [setAlignment:range:] always use a muable copy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6612 72102866-910b-0410-8b05-ffd578937521
2000-05-23 22:56:16 +00:00
Adam Fedor
e8770fc3fe Check for nil extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6610 72102866-910b-0410-8b05-ffd578937521
2000-05-23 20:57:45 +00:00
Fred Kiefer
ef4a38f178 Added basic code for the character formating methods and call super
implementation for methods that moved up into NSText. Later we may
remove the implementation of these methods here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6603 72102866-910b-0410-8b05-ffd578937521
2000-05-20 16:57:04 +00:00
Fred Kiefer
dcc14de701 Improved all the character and paragraph attribute methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6602 72102866-910b-0410-8b05-ffd578937521
2000-05-20 16:55:08 +00:00
Fred Kiefer
a5b915e256 Corrected [setAlignment:range:] and [nextWordFromIndex:forward:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6601 72102866-910b-0410-8b05-ffd578937521
2000-05-20 16:54:05 +00:00
Fred Kiefer
2cd62b8b5f Adopted to changes in header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6595 72102866-910b-0410-8b05-ffd578937521
2000-05-13 14:28:02 +00:00
Richard Frith-MacDonald
5474093fbf Tidyups an implememnted missing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6587 72102866-910b-0410-8b05-ffd578937521
2000-05-09 05:31:59 +00:00
Fred Kiefer
42a770c73d RTFBodyStringWithContext: Corrected output of subscript
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6582 72102866-910b-0410-8b05-ffd578937521
2000-05-07 22:26:35 +00:00
Fred Kiefer
aaafebaf3a GSRTFsubscript, GSRTFsuperscript: Change interpretation of
super/subscript parameter


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6581 72102866-910b-0410-8b05-ffd578937521
2000-05-07 22:25:34 +00:00
Fred Kiefer
884ca03135 Corrected baseline for font with different point size. Added primitiv
support for super/subscript as baseline change of 3 points. The
baseline correction is only done for the current chunk not for the
whole line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6580 72102866-910b-0410-8b05-ffd578937521
2000-05-07 22:24:29 +00:00
Fred Kiefer
3aa424dedb Always use the most appropriate RTF* method and other small internal improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6565 72102866-910b-0410-8b05-ffd578937521
2000-05-04 22:44:20 +00:00
Fred Kiefer
d2ead15ef3 Corrected lineBreakBeforeIndex:withinRange: and reorganised the
initWithRTF* methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6564 72102866-910b-0410-8b05-ffd578937521
2000-05-04 22:39:34 +00:00
Richard Frith-MacDonald
7cf5df31ea NSScreen fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6560 72102866-910b-0410-8b05-ffd578937521
2000-05-04 18:28:00 +00:00
Nicola Pero
a131aba400 Fixed title position
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6557 72102866-910b-0410-8b05-ffd578937521
2000-05-04 18:17:51 +00:00
Richard Frith-MacDonald
33ae13a994 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6536 72102866-910b-0410-8b05-ffd578937521
2000-04-29 08:53:33 +00:00
Richard Frith-MacDonald
1d8ffc96a1 iRetain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6533 72102866-910b-0410-8b05-ffd578937521
2000-04-29 06:06:10 +00:00
Richard Frith-MacDonald
b6efd9b622 Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6529 72102866-910b-0410-8b05-ffd578937521
2000-04-28 19:35:42 +00:00
Jonathan Gapen
3f149bac27 (De)activation implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6525 72102866-910b-0410-8b05-ffd578937521
2000-04-28 00:34:46 +00:00
Jonathan Gapen
8ff9c02392 Use common_ColorSwatch as color dragging image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6524 72102866-910b-0410-8b05-ffd578937521
2000-04-28 00:33:36 +00:00
Adam Fedor
004b020700 Autorelease some vars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6516 72102866-910b-0410-8b05-ffd578937521
2000-04-25 21:20:52 +00:00
Richard Frith-MacDonald
44945db528 colorspace support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6515 72102866-910b-0410-8b05-ffd578937521
2000-04-25 20:26:51 +00:00
Richard Frith-MacDonald
1106e48a99 Tiny tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6512 72102866-910b-0410-8b05-ffd578937521
2000-04-25 15:50:43 +00:00
Adam Fedor
5d99b04838 resizeWithOldSuperviewSize: should call setFrame
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6509 72102866-910b-0410-8b05-ffd578937521
2000-04-25 15:08:02 +00:00
Adam Fedor
69a52bc498 Add const
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6506 72102866-910b-0410-8b05-ffd578937521
2000-04-24 14:41:59 +00:00
Adam Fedor
611a62787b Implement Font comparisions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6505 72102866-910b-0410-8b05-ffd578937521
2000-04-24 14:39:32 +00:00
Fred Kiefer
bb9c6f7e29 Some Improvements on formating
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6502 72102866-910b-0410-8b05-ffd578937521
2000-04-23 22:31:25 +00:00
Fred Kiefer
a0f56f73f1 Moved method for RTF init in this file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6501 72102866-910b-0410-8b05-ffd578937521
2000-04-23 22:29:47 +00:00
Fred Kiefer
034448c171 Update of parser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6500 72102866-910b-0410-8b05-ffd578937521
2000-04-23 22:28:46 +00:00
Fred Kiefer
db9b061353 Update of Parser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6499 72102866-910b-0410-8b05-ffd578937521
2000-04-23 22:27:15 +00:00
Fred Kiefer
f63c03ad9a Corrections in replaceCharactersInRange:withString:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6494 72102866-910b-0410-8b05-ffd578937521
2000-04-23 00:35:48 +00:00
Adam Fedor
b734a85d04 New backend access methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6489 72102866-910b-0410-8b05-ffd578937521
2000-04-20 22:17:42 +00:00
Adam Fedor
c604091e89 Image improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6481 72102866-910b-0410-8b05-ffd578937521
2000-04-18 16:58:14 +00:00
Jonathan Gapen
0e7e8e5b3d Add drag 'n drop methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6476 72102866-910b-0410-8b05-ffd578937521
2000-04-18 02:28:13 +00:00
Jonathan Gapen
4cbc844da0 Add rough draft NSColorPanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6475 72102866-910b-0410-8b05-ffd578937521
2000-04-18 02:27:45 +00:00
Adam Fedor
456220f857 Get alpha with 2 parameters
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6467 72102866-910b-0410-8b05-ffd578937521
2000-04-16 16:27:47 +00:00
Richard Frith-MacDonald
13ef454d9c Fixed dumb error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6464 72102866-910b-0410-8b05-ffd578937521
2000-04-14 03:43:35 +00:00
Adam Fedor
c256b1df22 View display an tiff improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6463 72102866-910b-0410-8b05-ffd578937521
2000-04-13 19:23:16 +00:00
Richard Frith-MacDonald
ba2e62d6de Window level corrections and tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6459 72102866-910b-0410-8b05-ffd578937521
2000-04-13 07:55:19 +00:00
Jonathan Gapen
937e09c22d corrected version of previous change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6457 72102866-910b-0410-8b05-ffd578937521
2000-04-12 21:44:07 +00:00
Jonathan Gapen
338507c3c2 Account for border/bezel and draw title cell properly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6454 72102866-910b-0410-8b05-ffd578937521
2000-04-12 17:20:21 +00:00
Jonathan Gapen
ed92f00777 Document system change to NSWindow, GC update for NSWindowController
New method implemented in NSWorkspace


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6434 72102866-910b-0410-8b05-ffd578937521
2000-04-07 23:49:10 +00:00
Richard Frith-MacDonald
25dde4dec4 Attributed string fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6433 72102866-910b-0410-8b05-ffd578937521
2000-04-07 09:54:35 +00:00
Adam Fedor
2bda7b65bd allFonts returns GSFontInfo objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6425 72102866-910b-0410-8b05-ffd578937521
2000-04-06 14:31:08 +00:00
Adam Fedor
e0cf43097e copyWithZone fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6411 72102866-910b-0410-8b05-ffd578937521
2000-04-03 03:14:45 +00:00
Richard Frith-MacDonald
ac392d21ad Fix error in probeCommand()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6410 72102866-910b-0410-8b05-ffd578937521
2000-04-02 17:15:05 +00:00
Richard Frith-MacDonald
582fbfb278 NSText can save rtf
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6407 72102866-910b-0410-8b05-ffd578937521
2000-04-02 05:58:50 +00:00
Adam Fedor
aef56c9336 Better copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6406 72102866-910b-0410-8b05-ffd578937521
2000-03-31 22:54:44 +00:00
Adam Fedor
41b7ca405d Implement copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6405 72102866-910b-0410-8b05-ffd578937521
2000-03-31 22:53:17 +00:00
Adam Fedor
db09827113 Use GSFont classes in place of backend poseAs classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6390 72102866-910b-0410-8b05-ffd578937521
2000-03-27 18:28:51 +00:00
Nicola Pero
744aa1f8ad Access ivar _frame directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6387 72102866-910b-0410-8b05-ffd578937521
2000-03-27 11:44:20 +00:00
Jonathan Gapen
0b2be78c02 Implement NSColorPicker, add method defs to NSImage.h, add ivar init to
NSImage.m, fix bug in NSBundle [-pathForImageResource:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6380 72102866-910b-0410-8b05-ffd578937521
2000-03-25 11:54:29 +00:00
Richard Frith-MacDonald
8e27362fa9 Minor tidyup - use TEST_RELEASE macros
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6378 72102866-910b-0410-8b05-ffd578937521
2000-03-25 09:15:23 +00:00
Jonathan Gapen
a9776497c4 Initial implementation of NSFileWrapper
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6377 72102866-910b-0410-8b05-ffd578937521
2000-03-25 02:09:31 +00:00
Richard Frith-MacDonald
90b5f2cd44 Use NSTextStorage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6361 72102866-910b-0410-8b05-ffd578937521
2000-03-23 11:32:59 +00:00
Richard Frith-MacDonald
7bbe363cef NSText fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6360 72102866-910b-0410-8b05-ffd578937521
2000-03-23 11:31:25 +00:00
Richard Frith-MacDonald
f5384ec7aa Fixes from jgapen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6355 72102866-910b-0410-8b05-ffd578937521
2000-03-22 21:39:00 +00:00
Nicola Pero
eea1460276 Implemented noteNumberOfRowsChanged
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6340 72102866-910b-0410-8b05-ffd578937521
2000-03-19 23:27:35 +00:00
Nicola Pero
202ce05956 Fix for document view more little than us - fill the remaining space
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6339 72102866-910b-0410-8b05-ffd578937521
2000-03-19 23:26:56 +00:00
Richard Frith-MacDonald
3d80834a5d Attributes fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6331 72102866-910b-0410-8b05-ffd578937521
2000-03-19 08:05:08 +00:00
Richard Frith-MacDonald
a2f6d72b82 Tidyup responder ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6329 72102866-910b-0410-8b05-ffd578937521
2000-03-19 07:33:26 +00:00
Richard Frith-MacDonald
f4ae81a101 Reduce flicker by only highlighting when needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6318 72102866-910b-0410-8b05-ffd578937521
2000-03-18 06:51:12 +00:00
Nicola Pero
5628505c5a Include AppKit/PSOperators.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6317 72102866-910b-0410-8b05-ffd578937521
2000-03-18 01:14:52 +00:00
Nicola Pero
1188980104 Added support for table view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6310 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:29:34 +00:00
Nicola Pero
ef6aba43a5 Communicate setting of width to the table view; tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6308 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:27:49 +00:00
Nicola Pero
8f89e8d82e Changed appearance
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6307 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:26:41 +00:00
Nicola Pero
4b2cb3d369 Rewritten much
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6306 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:26:02 +00:00
Nicola Pero
457c3527f4 Rewritten from scratch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6305 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:25:15 +00:00
Nicola Pero
6e571e0b2a Added NSTableView notifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6303 72102866-910b-0410-8b05-ffd578937521
2000-03-18 00:20:09 +00:00
Richard Frith-MacDonald
80e278d3aa MacOS-X methods added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6292 72102866-910b-0410-8b05-ffd578937521
2000-03-16 15:45:19 +00:00
Richard Frith-MacDonald
91e30dedde Various text/font fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6291 72102866-910b-0410-8b05-ffd578937521
2000-03-16 14:16:46 +00:00
Richard Frith-MacDonald
4424311814 Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6290 72102866-910b-0410-8b05-ffd578937521
2000-03-16 13:12:50 +00:00
Nicola Pero
dd505dc21c Reverted my last change which was causing side-effects
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6286 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:56:11 +00:00
Nicola Pero
e0cc537ea0 Removed files - nice code but was duplicating already existing code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6284 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:43:34 +00:00
Nicola Pero
9ee740cb13 Removed unused file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6283 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:42:17 +00:00
Nicola Pero
07ba81b6f7 Little update in auto-sizing for @"" contents
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6282 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:41:39 +00:00
Nicola Pero
8fc09a3db5 Use NSString interface to determine size of string to be drawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6281 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:40:43 +00:00
Nicola Pero
35c5942b70 Do not include unused header file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6280 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:39:39 +00:00
Nicola Pero
54affaa213 Fixed vertical position of text; added method preparing for the table view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6279 72102866-910b-0410-8b05-ffd578937521
2000-03-15 02:33:38 +00:00
Adam Fedor
2c92f9cdaa wraster library support and alpha/compositing improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6272 72102866-910b-0410-8b05-ffd578937521
2000-03-12 04:35:43 +00:00
Richard Frith-MacDonald
12941a20dc Fix error in deetermining range of paragraph style - was only working for
text containing a single style.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6269 72102866-910b-0410-8b05-ffd578937521
2000-03-11 07:34:02 +00:00
Richard Frith-MacDonald
776b7ca6df Panel reformatting and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6268 72102866-910b-0410-8b05-ffd578937521
2000-03-11 06:57:22 +00:00
Pascal J. Bourguignon
c5c35b80ef Updated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6266 72102866-910b-0410-8b05-ffd578937521
2000-03-10 21:48:52 +00:00
Richard Frith-MacDonald
751ed9aca0 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6264 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:32:41 +00:00
Pascal J. Bourguignon
7b6550f72d Added the following features to GSAlertPanel private subclass of
NSPanel:

    - fit  the height  of the  panel according  to the  height  of the
      message, in addition to the width.

    - when the final  size for the panel is much too big respective to
      the screen,  it is reduced, and  the message is put  in a scroll
      view.

    - made the  attention panel stay  visible when the  application is
      deactivated as manded by the OpenStep specifications.

    - more than one attention panel can be run simultaneously, without
      the later invocation stealing the panel of the former one.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6262 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:19:25 +00:00
Pascal J. Bourguignon
8aef6e88e3 Moved constant invocation of the method -[NSParagraphStyle
attribute:atIndex:effectiveRange:]   outside  of  loops   and  removed
firstLine variable in -drawAtPoint: and in -size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6261 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:19:16 +00:00
Pascal J. Bourguignon
b3a82d3e31 Added GSUtil.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6258 72102866-910b-0410-8b05-ffd578937521
2000-03-10 13:28:19 +00:00
Pascal J. Bourguignon
68d4c08d6b Updated -cellSize to process multiline string value. This should
improve greately the behaviour  of NSTextField and consequently of the
NSPanel building functions.

Updated -[NSCell _drawText:inFrame:]
and -[NSButtonCell drawInteriorWithFrame:inView:]
to handle properly multiline strings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6257 72102866-910b-0410-8b05-ffd578937521
2000-03-10 13:27:50 +00:00
Pascal J. Bourguignon
a31b592058 Added this module to gather utility functions used by several classes.
For now, it only contains GSUtil_sizeOfMultilineStringWithFont().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6256 72102866-910b-0410-8b05-ffd578937521
2000-03-10 13:27:07 +00:00
Nicola Pero
9a2e06f513 Bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6252 72102866-910b-0410-8b05-ffd578937521
2000-03-10 12:41:25 +00:00
Richard Frith-MacDonald
2a879b2c2e Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6248 72102866-910b-0410-8b05-ffd578937521
2000-03-10 11:17:54 +00:00
Richard Frith-MacDonald
3b3289b25d Tidyup - make new method public
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6247 72102866-910b-0410-8b05-ffd578937521
2000-03-10 10:34:58 +00:00
Richard Frith-MacDonald
698fccdc8b Minor fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6246 72102866-910b-0410-8b05-ffd578937521
2000-03-10 07:48:29 +00:00
Nicola Pero
96097b90ad Fixed bug in dragging; avoid redrawing when ignoring mouse press
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6244 72102866-910b-0410-8b05-ffd578937521
2000-03-10 02:18:15 +00:00
Richard Frith-MacDonald
9f9e15ced7 Updated with fixes from base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6241 72102866-910b-0410-8b05-ffd578937521
2000-03-09 20:35:48 +00:00
Nicola Pero
0a517b8d4d Fixed bug in adjusting subviews when the divider is horizontal
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6239 72102866-910b-0410-8b05-ffd578937521
2000-03-09 19:40:54 +00:00
Richard Frith-MacDonald
d1f7b7b5ae Remove spuroous code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6231 72102866-910b-0410-8b05-ffd578937521
2000-03-09 07:57:45 +00:00
Nicola Pero
71a2a9c436 Improved code regarding autosizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6226 72102866-910b-0410-8b05-ffd578937521
2000-03-08 23:55:14 +00:00
Nicola Pero
4b558226f0 Implemented code to support autosizing of the popupbutton
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6225 72102866-910b-0410-8b05-ffd578937521
2000-03-08 23:54:10 +00:00
Richard Frith-MacDonald
91baf8d04c Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6224 72102866-910b-0410-8b05-ffd578937521
2000-03-08 21:55:05 +00:00
Richard Frith-MacDonald
42e851197f Minor updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6223 72102866-910b-0410-8b05-ffd578937521
2000-03-08 21:26:11 +00:00
Richard Frith-MacDonald
b23022dbb0 Implement setlevel: for NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6218 72102866-910b-0410-8b05-ffd578937521
2000-03-08 18:08:26 +00:00
Richard Frith-MacDonald
bb0bd00009 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6216 72102866-910b-0410-8b05-ffd578937521
2000-03-08 16:45:44 +00:00
Richard Frith-MacDonald
6956d4e182 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6215 72102866-910b-0410-8b05-ffd578937521
2000-03-08 16:31:32 +00:00
Richard Frith-MacDonald
8282e3dd5a Coordinate handling fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6213 72102866-910b-0410-8b05-ffd578937521
2000-03-08 14:15:17 +00:00
Richard Frith-MacDonald
f73693c4d1 Various tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6211 72102866-910b-0410-8b05-ffd578937521
2000-03-08 08:43:15 +00:00
Richard Frith-MacDonald
d8fa85e8a2 Tidied coordinate stuff to allow for window borders.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6207 72102866-910b-0410-8b05-ffd578937521
2000-03-07 12:00:00 +00:00
Richard Frith-MacDonald
1cffef50a7 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6206 72102866-910b-0410-8b05-ffd578937521
2000-03-07 11:03:00 +00:00
Richard Frith-MacDonald
63c094b978 Minor fix for app activation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6203 72102866-910b-0410-8b05-ffd578937521
2000-03-07 07:23:26 +00:00
Richard Frith-MacDonald
99012738c8 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6198 72102866-910b-0410-8b05-ffd578937521
2000-03-06 21:21:59 +00:00
Richard Frith-MacDonald
6a3034725b Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6197 72102866-910b-0410-8b05-ffd578937521
2000-03-06 21:20:25 +00:00
Richard Frith-MacDonald
5950d6f837 Titlebar state change code added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6194 72102866-910b-0410-8b05-ffd578937521
2000-03-06 21:10:08 +00:00
Richard Frith-MacDonald
6a18da4e1e Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6189 72102866-910b-0410-8b05-ffd578937521
2000-03-06 11:39:22 +00:00
Nicola Pero
da27eeb391 Fixed bug - was causing problems with gmodels
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6185 72102866-910b-0410-8b05-ffd578937521
2000-03-05 23:43:53 +00:00
Nicola Pero
5255f9f2ac Fixed bug which was crashing the popup button
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6172 72102866-910b-0410-8b05-ffd578937521
2000-03-05 01:23:01 +00:00
Richard Frith-MacDonald
a123efb34e Small nswindow patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6166 72102866-910b-0410-8b05-ffd578937521
2000-03-04 07:55:42 +00:00
Richard Frith-MacDonald
7df25ee2b4 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6165 72102866-910b-0410-8b05-ffd578937521
2000-03-03 06:36:38 +00:00
Richard Frith-MacDonald
10285e908f Minor drawing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6164 72102866-910b-0410-8b05-ffd578937521
2000-03-03 06:34:20 +00:00
Nicola Pero
e9679184b5 Added two macosx methods with trivial implementation to avoid crash
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6162 72102866-910b-0410-8b05-ffd578937521
2000-03-03 02:22:11 +00:00
Nicola Pero
dc9e1e6615 Recognize "Window" as windows menu (for menus ported from macosx)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6153 72102866-910b-0410-8b05-ffd578937521
2000-03-02 02:55:17 +00:00
Richard Frith-MacDonald
381e499e2c Support for miniwindows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6147 72102866-910b-0410-8b05-ffd578937521
2000-03-01 17:21:08 +00:00
Richard Frith-MacDonald
c7ccbff33a Minor fixes and tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6134 72102866-910b-0410-8b05-ffd578937521
2000-02-29 08:01:42 +00:00
Richard Frith-MacDonald
97682c853d Font fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6125 72102866-910b-0410-8b05-ffd578937521
2000-02-28 07:41:18 +00:00
Richard Frith-MacDonald
2189aa34d7 Window close/dealloc fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6115 72102866-910b-0410-8b05-ffd578937521
2000-02-25 17:43:32 +00:00
Adam Fedor
79446c8245 Implement image cursor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6111 72102866-910b-0410-8b05-ffd578937521
2000-02-25 17:09:49 +00:00
Richard Frith-MacDonald
03b54992fd Fixed accidental deletion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6105 72102866-910b-0410-8b05-ffd578937521
2000-02-25 10:22:52 +00:00
Richard Frith-MacDonald
3122e34b9f Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6103 72102866-910b-0410-8b05-ffd578937521
2000-02-25 08:03:17 +00:00
Nicola Pero
bc5640f707 Almost complete rewrite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6071 72102866-910b-0410-8b05-ffd578937521
2000-02-22 17:49:28 +00:00
Nicola Pero
fd9709b4be Lot of work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6070 72102866-910b-0410-8b05-ffd578937521
2000-02-22 17:49:04 +00:00
Richard Frith-MacDonald
b09888035a Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6048 72102866-910b-0410-8b05-ffd578937521
2000-02-21 16:25:29 +00:00
Richard Frith-MacDonald
96f84df118 Retain/release fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6047 72102866-910b-0410-8b05-ffd578937521
2000-02-21 15:36:07 +00:00
Richard Frith-MacDonald
d144de1a07 Window retain/release fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6046 72102866-910b-0410-8b05-ffd578937521
2000-02-21 15:33:30 +00:00
Richard Frith-MacDonald
174b8c2cf1 Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6044 72102866-910b-0410-8b05-ffd578937521
2000-02-21 10:12:21 +00:00
Adam Fedor
b33bb418f4 Merge from 0.6.5
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6040 72102866-910b-0410-8b05-ffd578937521
2000-02-19 00:40:47 +00:00
Enrico Sersale
1b97488859 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5970 72102866-910b-0410-8b05-ffd578937521
2000-02-09 17:48:00 +00:00
Nicola Pero
d327fda457 Rewrite of NSFontManager, NSFontPanel stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5861 72102866-910b-0410-8b05-ffd578937521
2000-01-25 14:36:17 +00:00
Nicola Pero
b1a006afbc Fixed typo in last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5860 72102866-910b-0410-8b05-ffd578937521
2000-01-25 14:09:25 +00:00
Nicola Pero
f563b220c4 Added GSInfoPanel.h, GSInfoPanel.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5847 72102866-910b-0410-8b05-ffd578937521
2000-01-24 23:37:47 +00:00
Nicola Pero
a3a1d02c75 Added class providing standard Info Panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5846 72102866-910b-0410-8b05-ffd578937521
2000-01-24 23:37:01 +00:00
Nicola Pero
157ba7eb35 Pop up a panel explaining the problem when requested a non implemented
panel; added standard info panel support


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5844 72102866-910b-0410-8b05-ffd578937521
2000-01-24 23:34:19 +00:00
Nicola Pero
b68735a711 Put methods in order -- no change in code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5808 72102866-910b-0410-8b05-ffd578937521
2000-01-22 01:50:58 +00:00
Nicola Pero
0d392b8d0c Updated for change in NSCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5807 72102866-910b-0410-8b05-ffd578937521
2000-01-22 01:49:45 +00:00
Nicola Pero
14ddec6688 many little fixes mainly for better macosx compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5805 72102866-910b-0410-8b05-ffd578937521
2000-01-22 01:45:52 +00:00
Nicola Pero
78f8712167 Minor fixes mainly in (de)selecting cells, for more similarity with macosx
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5801 72102866-910b-0410-8b05-ffd578937521
2000-01-21 04:31:30 +00:00
Adam Fedor
5bf1166990 Turn ImageCompositing on by default
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5798 72102866-910b-0410-8b05-ffd578937521
2000-01-19 04:59:12 +00:00
Enrico Sersale
3ba115b589 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5796 72102866-910b-0410-8b05-ffd578937521
2000-01-17 20:01:16 +00:00
Richard Frith-MacDonald
e52de6929e Minor fix for loading nibs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5795 72102866-910b-0410-8b05-ffd578937521
2000-01-17 07:18:42 +00:00
Richard Frith-MacDonald
fff420f2ef Tidied warning logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5792 72102866-910b-0410-8b05-ffd578937521
2000-01-16 09:52:49 +00:00
Richard Frith-MacDonald
037d8637e3 Minor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5790 72102866-910b-0410-8b05-ffd578937521
2000-01-15 12:40:34 +00:00
Nicola Pero
87f186d425 Tidyup, use a button for application icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5786 72102866-910b-0410-8b05-ffd578937521
2000-01-14 22:38:54 +00:00
Richard Frith-MacDonald
f9d64d3a4a Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5781 72102866-910b-0410-8b05-ffd578937521
2000-01-14 17:26:25 +00:00
Richard Frith-MacDonald
e1a28479f7 coding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5769 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:32:54 +00:00
Nicola Pero
8c8463cb2e Removed old comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5768 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:22:52 +00:00
Nicola Pero
279ef7c545 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5766 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:17:05 +00:00
Nicola Pero
4979ac69cc Added a NSForm private notifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5763 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:14:11 +00:00
Nicola Pero
0314eb34aa Fixed sizes of buttons and form, position of title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5762 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:13:38 +00:00