Commit graph

6415 commits

Author SHA1 Message Date
Wolfgang Lux
692f101ea3 Extend GSspell server to support multiple languages if aspell has
dictionaries for those languages installed.

Note: At present, users or an administrator must manually update the
Info.plist file of GSspell.service to really be able to use languages
besides American English. Hints for a better solution welcome.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29683 72102866-910b-0410-8b05-ffd578937521
2010-02-20 01:27:44 +00:00
Wolfgang Lux
4ac6fb3052 Make Spelling panel key only when necessary and fix browser attributes
in the panel's gorm file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29682 72102866-910b-0410-8b05-ffd578937521
2010-02-20 00:38:40 +00:00
Wolfgang Lux
61187ead14 Usability improvement: Make color and font panels key only when
necessary. Avoids annoying and unnecessary focus shifts when changing
colors or fonts.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29681 72102866-910b-0410-8b05-ffd578937521
2010-02-20 00:20:30 +00:00
Wolfgang Lux
9d425f4eea Improve compatibility when reading RTF documents created on other
systems and when writing RTF documents.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29680 72102866-910b-0410-8b05-ffd578937521
2010-02-19 23:53:54 +00:00
Wolfgang Lux
d10e0c49e5 Add forgotten test to apply smart insert and delete during drag and
drop in a text view only when selection granularity is select by word.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29679 72102866-910b-0410-8b05-ffd578937521
2010-02-19 23:15:13 +00:00
Wolfgang Lux
97bdfa294f Commit ChangeLog entry which accidentally didn't make it into r29643.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29678 72102866-910b-0410-8b05-ffd578937521
2010-02-19 23:03:27 +00:00
Gregory John Casamento
2247065684 * Source/NSWindow.m: Remove private menu - (void) _menuUpdate, since
it was causing performance issue on windows as the menu was updating
	each time through the runloop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29668 72102866-910b-0410-8b05-ffd578937521
2010-02-18 22:19:27 +00:00
Fred Kiefer
43074e4a62 Start cleanup after big base change. Remove the usage of extension
methods.
New 10.5 methods on NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29656 72102866-910b-0410-8b05-ffd578937521
2010-02-17 09:58:38 +00:00
Fred Kiefer
c9d1292563 Small improvements to allow changing of the text container for a text
view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29648 72102866-910b-0410-8b05-ffd578937521
2010-02-15 17:04:17 +00:00
Wolfgang Lux
4f02b08fb2 Fix up the range of a misspelled word when the checked string contains
non-ASCII characters.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29643 72102866-910b-0410-8b05-ffd578937521
2010-02-15 12:49:52 +00:00
Wolfgang Lux
976f23a3b3 Send messages from the Spelling panel down to the responder chain of the
main window only, to avoid spell checking the panel's own text field.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29640 72102866-910b-0410-8b05-ffd578937521
2010-02-15 11:44:03 +00:00
Wolfgang Lux
2de8153b43 Update the typing attributes of a rich text view also if the selected
range has a non-zero length. Fixes a problem where, e.g., corrections
from the spell panel could use wrong attributes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29635 72102866-910b-0410-8b05-ffd578937521
2010-02-15 07:57:11 +00:00
Quentin Mathe
929688850f Fixed GSAppKitDraggingDrop event to have a valid location
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29617 72102866-910b-0410-8b05-ffd578937521
2010-02-14 12:15:05 +00:00
Eric Wasylishen
13b071dd72 * Source/NSMenu.m: Make the background color of NSMenuPanel clear
* Source/GSThemeDrawing.m:
in drawBackgroundForMenuView:withFrame:dirtyRect:horizontal:,
when not using tiles, fill the background of the menu with
the window background color.
Now themes can draw semitransparent menus, and they work properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29600 72102866-910b-0410-8b05-ffd578937521
2010-02-13 03:24:19 +00:00
Gregory John Casamento
5342495663 * Source/NSBrowser.m: Make sure that the matrix used in the
browser draws its cell backgrounds properly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29598 72102866-910b-0410-8b05-ffd578937521
2010-02-13 00:42:13 +00:00
Eric Wasylishen
56dc23f173 Make NSMenuView return NO for isOpaque
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29596 72102866-910b-0410-8b05-ffd578937521
2010-02-13 00:07:57 +00:00
Eric Wasylishen
f91e4cceec Make the window border color customizable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29595 72102866-910b-0410-8b05-ffd578937521
2010-02-12 23:57:21 +00:00
Eric Wasylishen
411d3e27bc NSColorWell themeing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29594 72102866-910b-0410-8b05-ffd578937521
2010-02-12 23:09:35 +00:00
Eric Wasylishen
e7e2c06ef5 Allow customization of window title text color for key/normal/main windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29593 72102866-910b-0410-8b05-ffd578937521
2010-02-12 22:19:40 +00:00
Germán Arias
8d25516577 Search extra colors for the menu bar in the theme
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29591 72102866-910b-0410-8b05-ffd578937521
2010-02-12 17:56:11 +00:00
Wolfgang Lux
9eb497b703 Implement the NSText kill buffer. Ctrl-k and Ctrl-y in a text view now
work as under Emacs and OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29585 72102866-910b-0410-8b05-ffd578937521
2010-02-12 15:54:29 +00:00
Wolfgang Lux
c076dbd009 Fix issue where the insertion point was not placed in an empty last
line of a text view when clicking with the mouse.
Fix issue where the insertion point was not placed in an empty last
line when using the down arrow key (bug #15893).
Fix issue where the insertion point was placed incorrectly if the last
line of a text view ends in an invisible character (e.g., a tab).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29584 72102866-910b-0410-8b05-ffd578937521
2010-02-12 15:27:02 +00:00
Wolfgang Lux
ba58449d3c Fix a whole bunch of potential crashers in NSAttributedString.m and
NSDocument.m where the error return parameter was written to without a
null pointer check.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29580 72102866-910b-0410-8b05-ffd578937521
2010-02-12 14:18:59 +00:00
Eric Wasylishen
94946a1f50 * GSThemeDrawing.m: Move code in NSTableHeaderView which leaves a
1pt gap underneath table headers to GSThemeDrawing, since it only
looks decent with a NeXT-like theme. This fixes the
misalignment between the table corner and the table headers visible
in the Narcissus theme


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29567 72102866-910b-0410-8b05-ffd578937521
2010-02-12 06:59:12 +00:00
Nicola Pero
28d9358233 Tidyup in my last ChangeLog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29565 72102866-910b-0410-8b05-ffd578937521
2010-02-11 22:41:32 +00:00
Nicola Pero
5825bb8931 Removed obsolete manual dependency rules in gnustep-gui GNUmakefile.postamble
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29564 72102866-910b-0410-8b05-ffd578937521
2010-02-11 22:40:50 +00:00
Nicola Pero
fba094c591 Minor tidy-ups of makefiles - removed some obsolete code and fixed a few typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29557 72102866-910b-0410-8b05-ffd578937521
2010-02-11 18:21:07 +00:00
Nicola Pero
ebbadfe1e0 Removed no longer used GNUmakefile.local from .cvsignore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29556 72102866-910b-0410-8b05-ffd578937521
2010-02-11 18:12:39 +00:00
Nicola Pero
79020700c2 Do not try including GNUmakefile.local
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29554 72102866-910b-0410-8b05-ffd578937521
2010-02-11 17:53:42 +00:00
Riccardo Mottola
c572836773 revert accidental commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29544 72102866-910b-0410-8b05-ffd578937521
2010-02-11 11:22:52 +00:00
Riccardo Mottola
4a953a67f6 revert accidental commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29543 72102866-910b-0410-8b05-ffd578937521
2010-02-11 11:20:29 +00:00
Riccardo Mottola
f5a791586f revert accidental commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29540 72102866-910b-0410-8b05-ffd578937521
2010-02-11 10:22:52 +00:00
Riccardo Mottola
b74add2d83 drawsBackground and drawsCellBackground default to NO, to match Cocoa behaviour (and improve theming)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29536 72102866-910b-0410-8b05-ffd578937521
2010-02-10 21:46:02 +00:00
Riccardo Mottola
56ceebba48 do not draw form background
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29534 72102866-910b-0410-8b05-ffd578937521
2010-02-10 11:14:21 +00:00
Eric Wasylishen
ecfb4c514b Respond to horizontal scrolling in NSScrollView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29531 72102866-910b-0410-8b05-ffd578937521
2010-02-10 07:31:24 +00:00
Doug Simons
7883a8d446 Made drawers work (see ChangeLog for more details)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29530 72102866-910b-0410-8b05-ffd578937521
2010-02-10 00:58:29 +00:00
Doug Simons
7868cd6332 Remove subviews AFTER next/previous key views have been cleaned up, in case any subviews were in the view chain
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29529 72102866-910b-0410-8b05-ffd578937521
2010-02-09 22:05:25 +00:00
Richard Frith-MacDonald
f47abd817f Fix to return an immutable proxy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29520 72102866-910b-0410-8b05-ffd578937521
2010-02-09 09:14:14 +00:00
Eric Wasylishen
64756bf553 Make the brightness slider for the wheel picker continuous.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29505 72102866-910b-0410-8b05-ffd578937521
2010-02-07 22:26:01 +00:00
Eric Wasylishen
6a8d987dbc Draw window title bar with image tiles, if available
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29504 72102866-910b-0410-8b05-ffd578937521
2010-02-07 22:09:32 +00:00
Eric Wasylishen
e086eb3dbe Draw borders using image tiles, if available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29503 72102866-910b-0410-8b05-ffd578937521
2010-02-07 21:42:50 +00:00
Eric Wasylishen
b05ce5111e * Source/NSPopUpButtonCell.m (-selectItem:): Mark the previously
selected item as needing display. This fixes the 'popup' indicators
not being erased.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29502 72102866-910b-0410-8b05-ffd578937521
2010-02-07 21:15:06 +00:00
Riccardo Mottola
a80bd6c0d6 use proper class check instead of quick and dirty size check for flexible space property
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29500 72102866-910b-0410-8b05-ffd578937521
2010-02-07 18:41:04 +00:00
Quentin Mathe
2da78331b1 Fixed table header/content random disappearance with unarchived table/outline
views.

NSTableView non-keyed unarchiving was not always initializing _columnOrigins.
NSScrollView keyed unarchiving was decoding non-encoded flags (the flags were 
thus initialized with random memory content).
See ChangeLog for detailed explanations.

Also added double action keyed archiving to NSTableView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29494 72102866-910b-0410-8b05-ffd578937521
2010-02-06 11:32:34 +00:00
Gregory John Casamento
b3af151d7b Added hasMenu and hasToolbar methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29489 72102866-910b-0410-8b05-ffd578937521
2010-02-05 21:30:29 +00:00
Quentin Mathe
03f98ad1ba Fixed button actions which were sent to the button itself when the target is
the first responder. We don't give anymore the first responder status to a 
button on a click.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29471 72102866-910b-0410-8b05-ffd578937521
2010-02-03 19:12:02 +00:00
Eric Wasylishen
96fe347c5a Fix NSStepperCell min/max clamping behaviour (same fix as the one to NSSliderCell I made a while ago)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29457 72102866-910b-0410-8b05-ffd578937521
2010-02-01 10:08:28 +00:00
Eric Wasylishen
539223a674 Preliminary support for themeing the window resize bar with tiles.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29456 72102866-910b-0410-8b05-ffd578937521
2010-02-01 08:41:04 +00:00
Eric Wasylishen
82d6f25159 Add GSThemeDisabledState
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29455 72102866-910b-0410-8b05-ffd578937521
2010-02-01 08:26:40 +00:00
Eric Wasylishen
1d764b8771 Use theme tiles (if available) to draw progress bars.
New tile name: GSProgressIndicatorBarDeterminate


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29453 72102866-910b-0410-8b05-ffd578937521
2010-02-01 06:20:11 +00:00