fredkiefer
4ac3354555
* TextConverters/RTF/RTFProducer.m (-_addAttributesString:):
...
Correctly handle NSUnderlineStyleNone. This fixes bug #37043 .
* Headers/AppKit/NSOpenGL.h,
* Source/NSOpenGLContext.m: New 10.6 methods to get/set the
* CGLContextObj.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35358 72102866-910b-0410-8b05-ffd578937521
2012-08-07 20:50:45 +00:00
ericwa
b30a00fc24
* TextConverters/RTF/RTFConsumer.m: Set NSDocumentTypeDocumentAttribute
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34986 72102866-910b-0410-8b05-ffd578937521
2012-03-23 02:54:54 +00:00
fredkiefer
e278d9956c
Fix clang compiler warnings as reported by Sebastian Reitenbach
...
<sebastia@l00-bugdead-prods.de>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34608 72102866-910b-0410-8b05-ffd578937521
2012-01-23 14:27:58 +00:00
fredkiefer
cd1d8d3174
Removed a few compiler warnings found by gcc 4.6
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34344 72102866-910b-0410-8b05-ffd578937521
2011-12-22 09:16:04 +00:00
ericwa
9c6ba60d9c
* TextConverters/RTF/RTFProducer.m: Writing of NSLinkAttributeName; reading
...
is still to be implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33440 72102866-910b-0410-8b05-ffd578937521
2011-07-03 19:37:43 +00:00
theraven
dbd4c1b77c
Turn release messages sent to autorelease pools into drain messages. No
...
functionality change in non-GC mode, in GC mode it invokes a quick GC pass to
try to delete the short-lived objects.
Also deleted some [pool release] lines just before exit() or return-from-main
statements. These cause objects to be swapped in and destructors to be run to
no benefit (the OS will reclaim this memory without requiring stuff to be
swapped in when the process exits).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33146 72102866-910b-0410-8b05-ffd578937521
2011-05-27 12:42:37 +00:00
fredkiefer
ad2afdcf4f
Fix memory leaks found by static analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32529 72102866-910b-0410-8b05-ffd578937521
2011-03-10 23:03:01 +00:00
ericwa
f2f365acfb
RTF: add support for read/wite of underline and strikethrough attributes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32305 72102866-910b-0410-8b05-ffd578937521
2011-02-22 20:59:10 +00:00
wlux
e86fae67c3
Add some support for help links and markers in RTF documents. These
...
end up as dedicated attachments in attributed strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31828 72102866-910b-0410-8b05-ffd578937521
2011-01-03 11:48:57 +00:00
wlux
730902d15f
Extend and modify RTF grammar to handle \NeXTHelpLink and \NeXTHelpMarker
...
commands possibly used in old documents generated on NeXTstep/OpenStep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31826 72102866-910b-0410-8b05-ffd578937521
2011-01-03 08:50:17 +00:00
wlux
3fc76de847
Update RTF parser to compile with more recent bison versions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31825 72102866-910b-0410-8b05-ffd578937521
2011-01-03 08:25:42 +00:00
fredkiefer
d223cc666c
Fix extra space for Umlaut characters in RTF introduced with last
...
change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30277 72102866-910b-0410-8b05-ffd578937521
2010-05-02 09:47:56 +00:00
fredkiefer
2cd8ea83fe
Avoid unneeded space characters in RTF data.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30273 72102866-910b-0410-8b05-ffd578937521
2010-05-01 16:31:03 +00:00
wlux
56d321274c
Fix bug #29633 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30266 72102866-910b-0410-8b05-ffd578937521
2010-05-01 08:26:01 +00:00
wlux
007394b21d
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
fredkiefer
7efba8c5a4
Better handling of text attachtment. Fixes bug #28464
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29260 72102866-910b-0410-8b05-ffd578937521
2010-01-11 12:32:27 +00:00
fredkiefer
5bd355dc86
Set the icon of the file wrapper to the image.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29223 72102866-910b-0410-8b05-ffd578937521
2010-01-06 21:37:47 +00:00
fredkiefer
b040f5372d
Try to determine the encoding of the RTF data.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29211 72102866-910b-0410-8b05-ffd578937521
2010-01-05 13:19:24 +00:00
fredkiefer
e28685c8f8
Unify the text converter handling. Plus added a bit of implementation
...
for the new test block methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28713 72102866-910b-0410-8b05-ffd578937521
2009-09-19 14:55:57 +00:00
rmottola
89591acc3f
Always create RTFD as a directory, even in the simple file case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27679 72102866-910b-0410-8b05-ffd578937521
2009-01-25 10:37:45 +00:00
nicola
1f1789e6f5
Removed GNUSTEP_CORE_SOFTWARE=YES from makefiles and instead set PACKAGE_NAME=gnustep-gui
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27347 72102866-910b-0410-8b05-ffd578937521
2008-12-19 13:00:47 +00:00
nicola
63885e2dd5
Set GNUSTEP_CORE_SOFTWARE to YES so that gnustep-gui is installed by default in SYSTEM if gnustep-make has been configured with --disable-packages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27334 72102866-910b-0410-8b05-ffd578937521
2008-12-18 18:45:01 +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
fedor
034ba7d08f
* TextConverters/RTF/GNUmakefile.preamble: Add BUNDLE_LIBS.
...
* Source/NSImage.m: Move documentation from here.
* Header/AppKit/NSImage.h: To here.
* Headers/AppKit/NSImageRep.h, : Add documentation. (patch #5714 ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24495 72102866-910b-0410-8b05-ffd578937521
2007-02-10 03:45:22 +00:00
rio
c91dddc12b
Fixed the RTFD generation when the attachments do not have filenames. It is now possible to write RTFD documents with pasted images.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22921 72102866-910b-0410-8b05-ffd578937521
2006-05-12 21:21:41 +00:00
rio
8f72844ee1
Reorganized -appendImage: in RTFDConsumer to compile on gcc 2.95
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22916 72102866-910b-0410-8b05-ffd578937521
2006-05-12 15:31:04 +00:00
rio
dc353a181b
fixed writing rtfd documents
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22907 72102866-910b-0410-8b05-ffd578937521
2006-05-11 23:47:20 +00:00
rio
acfc9ded99
removed unnecessary NSLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22906 72102866-910b-0410-8b05-ffd578937521
2006-05-11 21:14:02 +00:00
rio
81e8f5220b
Added RTFD read support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22905 72102866-910b-0410-8b05-ffd578937521
2006-05-11 21:03:21 +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
edbb9fa724
Signal hat we don't output an ANSI representation for Unicode characters in RTF.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20565 72102866-910b-0410-8b05-ffd578937521
2005-01-16 15:54:04 +00:00
alexm
ebd3e88c68
Only add attachmentFileWrapper to the attachments array if it isn't nil.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19807 72102866-910b-0410-8b05-ffd578937521
2004-08-01 12:33:40 +00:00
ayers
9732999fd8
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
FredKiefer
dc61b0bfaf
Regenerated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17235 72102866-910b-0410-8b05-ffd578937521
2003-07-16 10:52:47 +00:00
FredKiefer
9bc7aee382
Free the name for RTFOtherStatement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17234 72102866-910b-0410-8b05-ffd578937521
2003-07-16 10:52:24 +00:00
FredKiefer
a3540766a1
Regenerated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17227 72102866-910b-0410-8b05-ffd578937521
2003-07-15 22:19:34 +00:00
FredKiefer
56b8522392
Added rule to read unicode character from RTF input.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17226 72102866-910b-0410-8b05-ffd578937521
2003-07-15 22:18:49 +00:00
FredKiefer
b2af0f1933
Define RTFunichar token.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17225 72102866-910b-0410-8b05-ffd578937521
2003-07-15 22:18:26 +00:00
FredKiefer
149b77b8aa
Added method [RTFConsumer appendString:] with code coming from
...
GSRTFmangleText(). Use this in GSRTFmangleText() and new function
GSRTFunicode(). Corrected GSRTFmangleText() to convert the input
from NSISOLatin1StringEncoding, as this is what our current RTF
exporter produces.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17224 72102866-910b-0410-8b05-ffd578937521
2003-07-15 22:18:01 +00:00
FredKiefer
7fdcf0833b
Added function GSRTFunicode().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17223 72102866-910b-0410-8b05-ffd578937521
2003-07-15 22:17:37 +00:00
FredKiefer
e6040c2a34
New implemtation by Axel "Mikesch" Katerbau (axel@objectpark.org)
...
with small changes from me. RTF output now support much more
attributes and even Unicode characters.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16614 72102866-910b-0410-8b05-ffd578937521
2003-05-02 18:59:38 +00:00
fedor
ac8269a377
Updates for filesystem change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16566 72102866-910b-0410-8b05-ffd578937521
2003-04-28 02:33:10 +00:00
alexm
112a77b823
Add error recovery. Make more memory-efficient by avoiding autoreleased objects.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16385 72102866-910b-0410-8b05-ffd578937521
2003-04-07 10:02:47 +00:00
FredKiefer
705a467c7f
[colorTable] corrected the output of the colour table, by using a
...
C array instead of an NSMutableArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16000 72102866-910b-0410-8b05-ffd578937521
2003-02-18 18:59:29 +00:00
FredKiefer
cd68e2796a
GSRTFcolorfg(), GSRTFcolorbg(), GSRTFlineSpace(),
...
GSRTFspaceAbove() set the state of the context to changed, so that
new attributes get used.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15999 72102866-910b-0410-8b05-ffd578937521
2003-02-18 18:59:03 +00:00
alexm
1ae44e7270
Misc. minor rtf-parsing fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15951 72102866-910b-0410-8b05-ffd578937521
2003-02-13 00:16:12 +00:00
nico
9ef7b5e2e5
Removed a couple of private methods which were not used anywhere
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15782 72102866-910b-0410-8b05-ffd578937521
2003-01-30 15:36:15 +00:00
FredKiefer
5c6e3a42af
In [copyWithZone:] use mutable copy of prargraph style.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15754 72102866-910b-0410-8b05-ffd578937521
2003-01-28 22:39:56 +00:00
FredKiefer
020e0fed3f
Redefined GSRTFlex() without location parameter. Some cleanup
...
against compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15070 72102866-910b-0410-8b05-ffd578937521
2002-11-24 01:07:31 +00:00