wlux
3374b6faf1
Reinstate Fred's change with the additional correction to the string
...
drawing code he proposed on the mailing list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34241 72102866-910b-0410-8b05-ffd578937521
2011-12-02 21:36:58 +00:00
fredkiefer
475f2d07aa
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
fredkiefer
211d150a79
Remove some stupid compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30091 72102866-910b-0410-8b05-ffd578937521
2010-04-06 08:12:47 +00:00
fredkiefer
bee71b7d8b
Final part of #include -> #import replacement in official headers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30084 72102866-910b-0410-8b05-ffd578937521
2010-03-31 21:21:18 +00:00
gcasa
a14429a2df
* Source/GSHorizontalTypesetter.m: Use thread dictionary to hold
...
the instance of the typesetter for that thread.
* Source/NSStringDrawing.m: Add locks to methods to prevent modification
of static variables by separate threads from causing the application
to get glyph generation errors.
NOTE: These changes based on suggestions/ideas from Doug
Simons <doug@riverrock.org>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28219 72102866-910b-0410-8b05-ffd578937521
2009-04-15 01:27:42 +00:00
fedor
ce41d782c1
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
fredkiefer
e25cceb710
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
fredkiefer
0a607a5fbe
Add new MacOSX methods. Code mostly by Nikolaus Schaller.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25270 72102866-910b-0410-8b05-ffd578937521
2007-06-18 21:08:54 +00:00
rfm
65f7efa8fd
Move main part of affine transform code to base for MacOS-X compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24133 72102866-910b-0410-8b05-ffd578937521
2006-11-19 11:32:51 +00:00
ratmice
b913f96dc2
* Source/NSTextView_actions.m:
...
* Source/NSOpenPanel.m:
* Source/GSLayoutManager.m:
* Source/NSLayoutManager.m:
* Source/NSSavePanel.m:
* Source/NSTextView.m:
* Source/NSStringDrawing.m:
* Headers/Additions/GNUstepGUI/GSLayoutManager_internal.h:
* Headers/AppKit/NSTextView.h: Remove underscores from category names
as they can confuse the debugger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24032 72102866-910b-0410-8b05-ffd578937521
2006-11-06 10:19:20 +00:00
fedor
db3c52eab8
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
FredKiefer
fca54ecd29
Some unrelated bug fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18672 72102866-910b-0410-8b05-ffd578937521
2004-02-25 23:27:46 +00:00
alexm
3083c7c0f6
Reimplement using cache system for layout information.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18478 72102866-910b-0410-8b05-ffd578937521
2004-01-25 15:19:53 +00:00
alexm
37351ae55e
Adjust 'really large' sizes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17186 72102866-910b-0410-8b05-ffd578937521
2003-07-11 01:38:39 +00:00
alexm
e28708ee7f
Automatically turn off screen fonts if required according to the current context's ctm.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17067 72102866-910b-0410-8b05-ffd578937521
2003-06-29 15:39:54 +00:00
alexm
f1a60e57ff
(-drawAtPoint:): Place the text correctly when the view isn't flipped.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17008 72102866-910b-0410-8b05-ffd578937521
2003-06-23 17:05:05 +00:00
fedor
fc402789db
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
fedor
ceb2323c0b
Merge from 0.8.5 branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16250 72102866-910b-0410-8b05-ffd578937521
2003-03-24 18:15:56 +00:00
nico
cb07412522
Fixed compiler warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15774 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:28:39 +00:00
FredKiefer
8cd8376db5
Corrected includes to speed up compilation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14972 72102866-910b-0410-8b05-ffd578937521
2002-11-11 00:15:29 +00:00
CaS
ebf17d372b
Documentation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14762 72102866-910b-0410-8b05-ffd578937521
2002-10-13 10:33:26 +00:00
FredKiefer
e18f0f9c1c
drawRun() now correctly flags that it wants some temporary memory
...
allocated. The old behaviour resulted in a memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14451 72102866-910b-0410-8b05-ffd578937521
2002-09-15 21:25:00 +00:00
fedor
7fea2291bb
Printing, cString fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14407 72102866-910b-0410-8b05-ffd578937521
2002-09-06 19:31:00 +00:00
fedor
3cd8d5d585
Merge from 0.8.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14232 72102866-910b-0410-8b05-ffd578937521
2002-08-03 03:32:19 +00:00
CaS
b311bf3e81
Standardise API for character conversion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13630 72102866-910b-0410-8b05-ffd578937521
2002-05-11 07:17:33 +00:00
fedor
5180fd5339
Stroke the underline
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13601 72102866-910b-0410-8b05-ffd578937521
2002-05-07 03:37:48 +00:00
fedor
0802b70a1a
Use new unicode functions for conversion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13226 72102866-910b-0410-8b05-ffd578937521
2002-03-25 04:06:03 +00:00
fedor
c51f4265da
Markup for autogsdoc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
FredKiefer
2aa1edabf5
Corrected drawing code for text attachments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10092 72102866-910b-0410-8b05-ffd578937521
2001-06-06 18:06:52 +00:00
FredKiefer
f2074e78b6
Added drawing code for text attachments (Still untested, as there
...
is a problem with unicode characters in NSAttributedString)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10071 72102866-910b-0410-8b05-ffd578937521
2001-06-04 16:24:48 +00:00
FredKiefer
a2290ab02e
Integrated patches from Frederic <frederic.chauvin@noos.fr> to
...
seed up drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9970 72102866-910b-0410-8b05-ffd578937521
2001-05-18 21:00:52 +00:00
FredKiefer
0953899bc6
Corrected bug in setupChunk() that showed formats for the wrong
...
range of characters.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9941 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:10:22 +00:00
fedor
857a4ca025
Minor updates, documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9767 72102866-910b-0410-8b05-ffd578937521
2001-05-03 19:39:28 +00:00
richard
00418ee526
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
FredKiefer
857532eb73
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
FredKiefer
783e4850ce
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
nico
05d1e5f029
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
FredKiefer
d3c10d80e7
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
FredKiefer
5a8c424f99
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
richard
865001dd03
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
pjb
b19b760d82
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
richard
05a574ac3b
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
fedor
8078d95c67
Upate of xdps from xgps
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4512 72102866-910b-0410-8b05-ffd578937521
1999-07-03 22:20:08 +00:00
fedor
b18e312dd4
Conform to OPENSTEP operation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4296 72102866-910b-0410-8b05-ffd578937521
1999-05-25 20:01:15 +00:00
fedor
6e14f79d10
Fix up clipping
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4246 72102866-910b-0410-8b05-ffd578937521
1999-05-13 13:51:57 +00:00
fedor
115b3cdbf6
Fix up lockFocus, restoring graphics context.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4243 72102866-910b-0410-8b05-ffd578937521
1999-05-11 15:43:10 +00:00
richard
7b54630f98
Some more optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4235 72102866-910b-0410-8b05-ffd578937521
1999-05-10 08:30:14 +00:00
richard
72c314b902
Optimisations etc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4100 72102866-910b-0410-8b05-ffd578937521
1999-04-19 14:34:50 +00:00
richard
33f1e46296
More progress on string drawing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4054 72102866-910b-0410-8b05-ffd578937521
1999-04-09 15:48:39 +00:00
richard
80028023e4
minor improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4017 72102866-910b-0410-8b05-ffd578937521
1999-04-02 08:04:05 +00:00