fredkiefer
d9134d657f
Add code to handle code page 10000 in RTF.
2020-05-29 15:18:37 +02:00
fredkiefer
eae3f9e991
Add proper handling of code pages in RTF parsing.
2020-01-22 16:54:25 +01:00
Sebastian Reitenbach
8b6d21351b
Missed in last commit of format string fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38570 72102866-910b-0410-8b05-ffd578937521
2015-05-26 17:17:16 +00:00
Fred Kiefer
ef6d4ff0dc
* TextConverters/RTF/RTFConsumer.m: Add empty appendImage:
...
method for RTFConsumer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38142 72102866-910b-0410-8b05-ffd578937521
2014-10-31 14:24:16 +00:00
Fred Kiefer
c88e9fdf8a
Handle more complex RTF font tables.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38107 72102866-910b-0410-8b05-ffd578937521
2014-10-05 20:49:40 +00:00
Fred Kiefer
c973c719b5
Rewrite parsing RTF link fields.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37947 72102866-910b-0410-8b05-ffd578937521
2014-06-17 21:06:11 +00:00
Fred Kiefer
b48b73ee82
Add support to parse link fields in RTF. This enables copying of links
...
in NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37946 72102866-910b-0410-8b05-ffd578937521
2014-06-15 21:38:40 +00:00
Fred Kiefer
4d8b1b42a9
* 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
Eric Wasylishen
afff99e2b3
* 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
Fred Kiefer
d570812401
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
Fred Kiefer
12bbf00d16
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
Eric Wasylishen
eb15c615d1
* 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
David Chisnall
b4e3915c33
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
Fred Kiefer
782af1ee89
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
Eric Wasylishen
d33f0c0c6a
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
Wolfgang Lux
da2407140a
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
Wolfgang Lux
9f861c89a5
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
Wolfgang Lux
3831a1ef4e
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
Fred Kiefer
f2c582b9c3
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
Fred Kiefer
5359aa0a77
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
Wolfgang Lux
756db465e4
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
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
Fred Kiefer
4195bb1f3d
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
Fred Kiefer
8d53fe7507
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
Fred Kiefer
212696a5f8
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
Fred Kiefer
3b51ebf3fe
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
Riccardo Mottola
9f047d7b8c
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 Pero
041abd2cdd
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 Pero
8326c8fb5e
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
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
Adam Fedor
3f70810790
* 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
Nicolas Roard
f529b9121c
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
Nicolas Roard
ac24912641
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
Nicolas Roard
12989e49e5
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
Nicolas Roard
4306661eda
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
Nicolas Roard
2775136fd9
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
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
b6642a182a
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
Alexander Malmberg
bde5299f6d
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
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
3515b8f585
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
Fred Kiefer
307fb69c5c
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
Fred Kiefer
ac4bfae392
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
Fred Kiefer
79aa58d543
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
Fred Kiefer
e341ca462a
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
Fred Kiefer
76debd3f89
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
Fred Kiefer
2e33809a42
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
Fred Kiefer
9b1e4f84e1
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
Alexander Malmberg
e021f7500a
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