Fred Kiefer
099257dac9
Fix some clang static analyser warnings reported by
...
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@40484 72102866-910b-0410-8b05-ffd578937521
2017-04-16 11:54:21 +00:00
Fred Kiefer
09614d4d35
* Source/GSTextStorage.m
...
* Source/NSSpellChecker.m
Two small cleanups.
Patch by Marat Ibadinov <ibadinov@me.com>
* Source/NSLayoutManager.m
Changed == to >= to fix a crash when layout_char is beyond the
length of the string.
Patch by Paul Landers <paul.landers@testplant.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38312 72102866-910b-0410-8b05-ffd578937521
2015-01-31 18:19:29 +00:00
Richard Frith-MacDonald
332554d6fb
fix caching for mutated attribute values
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37343 72102866-910b-0410-8b05-ffd578937521
2013-11-01 06:45:18 +00:00
David Chisnall
002f6635b4
Small GC fixups. Make sure that we're actually using GC-tracked memory when we think that we are.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33416 72102866-910b-0410-8b05-ffd578937521
2011-06-29 15:41:14 +00:00
Richard Frith-MacDonald
cecdd28ed5
cast to keep compiler happy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32734 72102866-910b-0410-8b05-ffd578937521
2011-03-29 09:41:59 +00:00
Richard Frith-MacDonald
085e0c9761
64bit safety fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32732 72102866-910b-0410-8b05-ffd578937521
2011-03-29 08:20:25 +00:00
Fred Kiefer
2d01942e4b
Replace #include -> #import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
2011-03-04 11:33:22 +00:00
Fred Kiefer
906201acf6
Remove dead assignments found by static code analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32022 72102866-910b-0410-8b05-ffd578937521
2011-02-09 22:20:00 +00:00
Eric Wasylishen
a1cd16df1d
Fix an unsigned->NSUInteger
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31352 72102866-910b-0410-8b05-ffd578937521
2010-09-15 22:17:51 +00:00
Fred Kiefer
16dfee54d9
Follow Richard's changes to GSAttributedString in base.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31110 72102866-910b-0410-8b05-ffd578937521
2010-08-10 19:53:47 +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
Fred Kiefer
875614cc47
Move warning method that was shown too often.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28824 72102866-910b-0410-8b05-ffd578937521
2009-10-13 20:54:12 +00:00
Fred Kiefer
ab812de7b9
Remove usage of NSDeallocateObject
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28789 72102866-910b-0410-8b05-ffd578937521
2009-10-10 14:10:52 +00:00
Richard Frith-MacDonald
01249da35e
Fix bad return of proxy to user code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28556 72102866-910b-0410-8b05-ffd578937521
2009-08-27 14:57:00 +00:00
Fred Kiefer
81cf28902a
* Source/NSTextStorage.m (-classForCoder, -initWithCoder:,
...
-encodeWithCoder:): Encode this class and not the concrete
one. Also call super encoding/decoding methods as they are
correct in base now.
* Source/GSTextStorage.m (-classForPortCoder, -encodeWithCoder:,
-replacementObjectForPortCoder:): Remove these methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28456 72102866-910b-0410-8b05-ffd578937521
2009-08-12 22:00:16 +00:00
Gregory John Casamento
acc0597c97
* Source/GSTextStorage.m: In initWithCoder: don't overwrite the
...
contents of the text storage by attempting to unarchive when the
unarchiver is keyed.
* Source/NSTextView.m: In initWithCoder: retrieve the contents
of the text storage for display in the text view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28443 72102866-910b-0410-8b05-ffd578937521
2009-08-08 07:08:23 +00:00
Richard Frith-MacDonald
3d4657d03a
match change to base library.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27582 72102866-910b-0410-8b05-ffd578937521
2009-01-12 18:39:23 +00:00
Adam Fedor
7afdd32ac1
Revert library license version to 2 until applications can be converted
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
193e31e678
Change all files to use GPL 3 and LGPL 3.
...
Prepare for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Richard Frith-MacDonald
57435da7d5
tidyups and minor theme tiling updates.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
Richard Frith-MacDonald
65b175b904
Tweaks to avoid new compiler warnings with gcc-4.1 and some 64bit issues.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23126 72102866-910b-0410-8b05-ffd578937521
2006-07-04 21:31:49 +00:00
Gregory John Casamento
1c011de1a5
Additional keyed archiving implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23026 72102866-910b-0410-8b05-ffd578937521
2006-06-04 05:16:37 +00:00
Richard Frith-Macdonald
bd8fb5fc53
Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
...
to 'fix' cast to union with an 'id' member.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21783 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:57:51 +00:00
Adam Fedor
303dd1baf9
Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Fred Kiefer
548dcdf7b0
Dublicate selection patch for attributed strings from base.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18381 72102866-910b-0410-8b05-ffd578937521
2004-01-11 22:21:13 +00:00
David Ayers
b18f1c4ac4
Header reorganization - Please refer to ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Fred Kiefer
26c82d8aef
Removed compiler warning about signed/unsigned comparision.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17005 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:50:46 +00:00
Adam Fedor
6be9174933
Include <> -> ""
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Alexander Malmberg
0af22dc954
(-setAttributes:range:): Handle zero-length attribute changes correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16114 72102866-910b-0410-8b05-ffd578937521
2003-03-03 13:57:34 +00:00
Alexander Malmberg
32f6790d62
(-setAttributes:range:): Call -edited:range:changeInLength: with the range that was changed (and not the range attributes could be merged for).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15994 72102866-910b-0410-8b05-ffd578937521
2003-02-18 00:35:28 +00:00
Alexander Malmberg
5ca050e9ca
Fix memory leak.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15901 72102866-910b-0410-8b05-ffd578937521
2003-02-07 16:50:05 +00:00
Alexander Malmberg
9407b0bfca
Merge in text-system-branch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15718 72102866-910b-0410-8b05-ffd578937521
2003-01-26 19:21:40 +00:00
Nicola Pero
d95be8275f
Renamed -sanity to -_sanity, and always compile it, to make it available
...
to regression tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13426 72102866-910b-0410-8b05-ffd578937521
2002-04-11 14:38:19 +00:00
Pierre-Yves Rivaille
ea90c6a692
Source/GSTextStorage.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13137 72102866-910b-0410-8b05-ffd578937521
2002-03-17 20:05:20 +00:00
Richard Frith-Macdonald
42789654de
Text storage bugfix and view deallocation bugfix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13019 72102866-910b-0410-8b05-ffd578937521
2002-03-06 09:49:07 +00:00
Richard Frith-Macdonald
32f4e911ed
Tiny performance hack
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12534 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:10:55 +00:00
Richard Frith-Macdonald
d20683b862
Improve performance by handing out proxy to internal string
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12418 72102866-910b-0410-8b05-ffd578937521
2002-02-06 13:55:49 +00:00
Richard Frith-Macdonald
5834d85e1c
Expect new GSI api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12370 72102866-910b-0410-8b05-ffd578937521
2002-02-01 15:31:21 +00:00
Richard Frith-Macdonald
9de3b40693
Use new GSI api from base library
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12360 72102866-910b-0410-8b05-ffd578937521
2002-02-01 11:01:27 +00:00
Richard Frith-Macdonald
3e4f05e940
Shallow copy for attributes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10099 72102866-910b-0410-8b05-ffd578937521
2001-06-07 06:10:33 +00:00
Fred Kiefer
4c33646018
Extracted the interface definition into a separate file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9969 72102866-910b-0410-8b05-ffd578937521
2001-05-18 21:00:09 +00:00
Richard Frith-Macdonald
512bbbf9d8
Text storage fix.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9667 72102866-910b-0410-8b05-ffd578937521
2001-04-23 09:32:45 +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
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
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
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
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
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
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
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