]> granicus.if.org Git - graphviz/log
graphviz
10 years agoFix possible buffer overflow problem in chkNum of scanner.
Emden R. Gansner [Wed, 8 Jan 2014 16:31:04 +0000 (11:31 -0500)]
Fix possible buffer overflow problem in chkNum of scanner.

10 years agoFix bug 2406.
Emden R. Gansner [Tue, 7 Jan 2014 23:08:41 +0000 (18:08 -0500)]
Fix bug 2406.

10 years agoFix bug 2401; also removed the need for the separate gvpack_builtins.c file.
Emden R. Gansner [Tue, 7 Jan 2014 20:24:52 +0000 (15:24 -0500)]
Fix bug 2401; also removed the need for the separate gvpack_builtins.c file.

10 years agoPrevent possible buffer overflow in yyerror()
Emden R. Gansner [Tue, 7 Jan 2014 15:45:36 +0000 (10:45 -0500)]
Prevent possible buffer overflow in yyerror()

10 years agoClarify various language issues. In particular, only allow escaped newlines
Emden R. Gansner [Mon, 6 Jan 2014 21:07:18 +0000 (16:07 -0500)]
Clarify various language issues. In particular, only allow escaped newlines
in double-quoted strings; fixes bug 2408.

10 years agoMerge pull request #11 from pixelglow/fix-missing-coretext-symbol-in-leopard
Emden R. Gansner [Tue, 31 Dec 2013 19:54:09 +0000 (11:54 -0800)]
Merge pull request #11 from pixelglow/fix-missing-coretext-symbol-in-leopard

Fix missing CoreText symbol in Leopard builds

11 years agoFix missing CoreText symbol in Leopard builds
Glen Low [Tue, 31 Dec 2013 00:18:53 +0000 (08:18 +0800)]
Fix missing CoreText symbol in Leopard builds

11 years agoMake sure WITH_CGRAPH is available to library users.
Emden R. Gansner [Mon, 23 Dec 2013 14:43:50 +0000 (09:43 -0500)]
Make sure WITH_CGRAPH is available to library users.

11 years agoFix bug in split function
Emden R. Gansner [Thu, 19 Dec 2013 22:14:58 +0000 (17:14 -0500)]
Fix bug in split function

11 years agoreinstate a WITH_CGRAPH
John Ellson [Tue, 17 Dec 2013 22:22:25 +0000 (17:22 -0500)]
reinstate a WITH_CGRAPH

11 years agoAllow unescaped xml characters in attribute values in svg
Emden R. Gansner [Mon, 9 Dec 2013 21:23:30 +0000 (16:23 -0500)]
Allow unescaped xml characters in attribute values in svg

11 years agoMerge pull request #10 from pixelglow/missing-imageio-include
John Ellson [Mon, 9 Dec 2013 18:43:08 +0000 (10:43 -0800)]
Merge pull request #10 from pixelglow/missing-imageio-include

Quartz: fix missing ImageIO.h include on iOS build

11 years agoQuartz: fix missing ImageIO.h include on iOS build
Glen Low [Mon, 9 Dec 2013 02:17:34 +0000 (10:17 +0800)]
Quartz: fix missing ImageIO.h include on iOS build

11 years agoMerge pull request #6 from pixelglow/fix-visio-static-plugin-typo
John Ellson [Fri, 6 Dec 2013 14:13:50 +0000 (06:13 -0800)]
Merge pull request #6 from pixelglow/fix-visio-static-plugin-typo

Visio: fix typo for static plugins

11 years agoMerge pull request #9 from pixelglow/improve_quartz
John Ellson [Fri, 6 Dec 2013 14:01:35 +0000 (06:01 -0800)]
Merge pull request #9 from pixelglow/improve_quartz

Quartz improvements

11 years agoMerge pull request #8 from pixelglow/utf8-codes-up-to-4-bytes
John Ellson [Fri, 6 Dec 2013 14:00:59 +0000 (06:00 -0800)]
Merge pull request #8 from pixelglow/utf8-codes-up-to-4-bytes

UTF-8 codes up to 4 bytes

11 years agoMerge pull request #7 from pixelglow/ios-default-font
John Ellson [Fri, 6 Dec 2013 13:59:54 +0000 (05:59 -0800)]
Merge pull request #7 from pixelglow/ios-default-font

iOS default font is Times New Roman

11 years agoMerge pull request #5 from pixelglow/fix-ortho-leak
John Ellson [Fri, 6 Dec 2013 13:58:37 +0000 (05:58 -0800)]
Merge pull request #5 from pixelglow/fix-ortho-leak

Fix small leak in ortho

11 years agoMerge pull request #4 from pixelglow/fix-cascading-fail-on-opening-graph
John Ellson [Fri, 6 Dec 2013 13:57:16 +0000 (05:57 -0800)]
Merge pull request #4 from pixelglow/fix-cascading-fail-on-opening-graph

Fix cascading failure when opening graphs

11 years agoVisio: fix typo for static plugins
Glen Low [Thu, 5 Dec 2013 23:59:14 +0000 (07:59 +0800)]
Visio: fix typo for static plugins

11 years agoQuartz: more bitmap formats, better text for iOS
Glen Low [Thu, 5 Dec 2013 16:16:43 +0000 (00:16 +0800)]
Quartz: more bitmap formats, better text for iOS

* Support was already present on Mac OS X, so we only need to judiciously re-enable for iOS.

* iOS 2.0 and later now uses Image I/O for more bitmap formats.

* iOS 3.2 or later now uses CoreText for better text layout and rendering.

11 years agoQuartz: rework text layout
Glen Low [Thu, 5 Dec 2013 15:59:57 +0000 (23:59 +0800)]
Quartz: rework text layout

* quartz_size_layout now respects font leading, even if it is zero

* quartz_textlayout now correctly sets yoffset_centerline, consistent with pango layout

11 years agoQuartz: correctly handle other bitmap formats in iOS
Glen Low [Thu, 5 Dec 2013 15:39:19 +0000 (23:39 +0800)]
Quartz: correctly handle other bitmap formats in iOS

* On iOS, temp scratch files were memory mapped for all bitmap formats but only cleaned up for FORMAT_CGIMAGE. This fixes that and cleans up the surrounding code flow.

* Don't use job external context to determine whether to render FORMAT_CGIMAGE. The format + job context is sufficient for rendition.

* This also fixes export PDF warnings: bitmap context functions had been called on PDF context.

11 years agoFor orthogonal routing, we don't impose margin around the nodes but just
Emden R. Gansner [Thu, 5 Dec 2013 21:55:54 +0000 (16:55 -0500)]
For orthogonal routing, we don't impose margin around the nodes but just
use the node's bounding box.

11 years agoFix bug 2392
Emden R. Gansner [Thu, 5 Dec 2013 21:43:55 +0000 (16:43 -0500)]
Fix bug 2392

11 years agoFix bug 2393
Emden R. Gansner [Thu, 5 Dec 2013 19:04:36 +0000 (14:04 -0500)]
Fix bug 2393

11 years agoQuartz: move iOS flip context code
Glen Low [Thu, 5 Dec 2013 15:12:39 +0000 (23:12 +0800)]
Quartz: move iOS flip context code

* Move iOS flip context code from quartzgen_textpara to -[GVTextLayout drawInContext:], since this is specific to GVTextLayout and not iOS rendering. This will eventually allow iOS and Mac OS X to share the same CoreText-based rendering.

11 years agoQuartz: simplify text drawing
Glen Low [Thu, 5 Dec 2013 14:54:56 +0000 (22:54 +0800)]
Quartz: simplify text drawing

* Text attribute takes foreground color from context and allows one call to draw entire line, rather than having to draw each glyph run.

* We can now draw multicolored fonts such as emoji.

11 years agoQuartz: formats ico:quartz and icns:quartz for Mac OS X
Glen Low [Thu, 5 Dec 2013 14:43:06 +0000 (22:43 +0800)]
Quartz: formats ico:quartz and icns:quartz for Mac OS X

11 years agoFix bug 2372
Emden R. Gansner [Thu, 5 Dec 2013 15:48:42 +0000 (10:48 -0500)]
Fix bug 2372

11 years agoQuartz: format to UTI through function instead of array
Glen Low [Thu, 5 Dec 2013 14:33:19 +0000 (22:33 +0800)]
Quartz: format to UTI through function instead of array

* Function is safer: non-existent format won't crash

* Function is better encapsulated: strings not exposed in header

11 years agoFix small leak in ortho
Glen Low [Thu, 5 Dec 2013 13:46:28 +0000 (21:46 +0800)]
Fix small leak in ortho

11 years agoUTF-8 codes up to 4 bytes
Glen Low [Thu, 5 Dec 2013 11:00:31 +0000 (19:00 +0800)]
UTF-8 codes up to 4 bytes

* Refactor for arbitrary number of bytes

11 years agoiOS default font is Times New Roman
Glen Low [Thu, 5 Dec 2013 09:28:31 +0000 (17:28 +0800)]
iOS default font is Times New Roman

11 years agoFix cascading failure when opening graphs
Glen Low [Thu, 5 Dec 2013 09:18:20 +0000 (17:18 +0800)]
Fix cascading failure when opening graphs

* Lexer state needs to be flushed on failure to open.

11 years agoReplace AI_PASSIVE flag with AI_ADDRCONFIG | AI_NUMERICSERV
Emden R. Gansner [Wed, 4 Dec 2013 22:59:19 +0000 (17:59 -0500)]
Replace AI_PASSIVE flag with AI_ADDRCONFIG | AI_NUMERICSERV

11 years agoFix github issues/3
Emden R. Gansner [Wed, 4 Dec 2013 22:42:34 +0000 (17:42 -0500)]
Fix github issues/3

11 years agoUse explicit _background attribute for specifying background graphics
Emden R. Gansner [Wed, 4 Dec 2013 15:59:22 +0000 (10:59 -0500)]
Use explicit _background attribute for specifying background graphics
in xdot, rather than just using the graph's _draw_ attribute. This
avoids the problem of having the _draw_ attribute growing each time
_draw_ is defined and the graph is rendered.

11 years agoUpdate libguide to note that a program needs to link in the cgraph library,
Emden R. Gansner [Wed, 4 Dec 2013 14:01:44 +0000 (09:01 -0500)]
Update libguide to note that a program needs to link in the cgraph library,
not the graph library.

11 years agoAdd declaration for textfont_dict_close.
Emden R. Gansner [Tue, 3 Dec 2013 18:02:42 +0000 (13:02 -0500)]
Add declaration for textfont_dict_close.

11 years agoUpdate xdot description;
Emden R. Gansner [Mon, 2 Dec 2013 23:08:43 +0000 (18:08 -0500)]
Update xdot description;
note that dot or xdot output may create attributes that affect future
layouts

11 years agoanother use of the simpler gvContext()
John Ellson [Mon, 2 Dec 2013 15:58:05 +0000 (10:58 -0500)]
another use of the simpler gvContext()

11 years agoUpdate output format list
Emden R. Gansner [Sun, 1 Dec 2013 19:20:56 +0000 (14:20 -0500)]
Update output format list

11 years agoReplace two low-level gvc functions with the appropriate high-level function.
Emden R. Gansner [Fri, 29 Nov 2013 17:39:09 +0000 (12:39 -0500)]
Replace two low-level gvc functions with the appropriate high-level function.

11 years agoFix bug 2395
Emden R. Gansner [Thu, 28 Nov 2013 18:53:38 +0000 (13:53 -0500)]
Fix bug 2395

11 years agopartial fix for gvpack segfault
John Ellson [Wed, 27 Nov 2013 13:55:25 +0000 (08:55 -0500)]
partial fix for gvpack segfault

11 years agogo bits
John Ellson [Thu, 21 Nov 2013 22:21:31 +0000 (17:21 -0500)]
go bits

11 years agomore go bits
John Ellson [Thu, 21 Nov 2013 21:22:07 +0000 (16:22 -0500)]
more go bits

11 years agofix froken builds
John Ellson [Thu, 21 Nov 2013 19:23:03 +0000 (14:23 -0500)]
fix froken builds

11 years agomore go bits
John Ellson [Thu, 21 Nov 2013 18:44:02 +0000 (13:44 -0500)]
more go bits

11 years agoMerge branch 'master' of github.com:ellson/graphviz
John Ellson [Thu, 21 Nov 2013 18:01:50 +0000 (13:01 -0500)]
Merge branch 'master' of github.com:ellson/graphviz

11 years agomore go bits
John Ellson [Thu, 21 Nov 2013 18:01:42 +0000 (13:01 -0500)]
more go bits

11 years agoAdd note concerning state in xdot drawing attributes
Emden R. Gansner [Thu, 21 Nov 2013 15:04:38 +0000 (10:04 -0500)]
Add note concerning state in xdot drawing attributes

11 years agodisable graphviz-lang-go -- needs later golang
John Ellson [Thu, 21 Nov 2013 03:28:55 +0000 (22:28 -0500)]
disable graphviz-lang-go  -- needs later golang

11 years agomore go bits
John Ellson [Wed, 20 Nov 2013 23:08:19 +0000 (18:08 -0500)]
more go bits

11 years agomore go bits
John Ellson [Wed, 20 Nov 2013 22:32:36 +0000 (17:32 -0500)]
more go bits

11 years agoMerge branch 'master' of github.com:ellson/graphviz
John Ellson [Wed, 20 Nov 2013 20:58:49 +0000 (15:58 -0500)]
Merge branch 'master' of github.com:ellson/graphviz

11 years agoexperimental go bits
John Ellson [Wed, 20 Nov 2013 20:58:40 +0000 (15:58 -0500)]
experimental go bits

11 years agoAdd '-' to the list of characters that should not be followed by
Emden R. Gansner [Wed, 20 Nov 2013 18:21:13 +0000 (13:21 -0500)]
Add '-' to the list of characters that should not be followed by
a line break. This keeps numbers on the same line. This was the case
earlier, but was removed when the code for not quoting numbers was
added.

11 years agoanother go file
John Ellson [Tue, 19 Nov 2013 20:57:47 +0000 (15:57 -0500)]
another go file

11 years agotypo
John Ellson [Tue, 19 Nov 2013 20:43:34 +0000 (15:43 -0500)]
typo

11 years agomore go bits
John Ellson [Tue, 19 Nov 2013 20:37:53 +0000 (15:37 -0500)]
more go bits

11 years agomake a -lang-go rpm
John Ellson [Tue, 19 Nov 2013 02:23:04 +0000 (21:23 -0500)]
make a -lang-go rpm

11 years agovarious bits of golang support
John Ellson [Tue, 19 Nov 2013 01:37:14 +0000 (20:37 -0500)]
various bits of golang support

11 years agoFix bug 2391
Emden R. Gansner [Mon, 18 Nov 2013 23:00:54 +0000 (18:00 -0500)]
Fix bug 2391

11 years agoAdd note that tapered edges don't use multiple colors, and don't have
Emden R. Gansner [Sat, 16 Nov 2013 15:11:47 +0000 (10:11 -0500)]
Add note that tapered edges don't use multiple colors, and don't have
a dashed or dotted form.

11 years agomake penwidth=0 at the pointy end(s) of tapered edges (responding to #2391)
John Ellson [Fri, 15 Nov 2013 21:46:31 +0000 (16:46 -0500)]
make penwidth=0 at the pointy end(s) of tapered edges (responding to #2391)

11 years agotypo
John Ellson [Fri, 15 Nov 2013 19:16:41 +0000 (14:16 -0500)]
typo

11 years agoeliminate need for unsafe zdiv function
John Ellson [Fri, 15 Nov 2013 18:03:48 +0000 (13:03 -0500)]
eliminate need for unsafe zdiv function

11 years agoMerge branch 'master' of https://github.com/ellson/graphviz
Emden R. Gansner [Thu, 14 Nov 2013 17:35:54 +0000 (12:35 -0500)]
Merge branch 'master' of https://github.com/ellson/graphviz

11 years agoAllow -s0 work like -s
Emden R. Gansner [Thu, 14 Nov 2013 17:35:15 +0000 (12:35 -0500)]
Allow -s0 work like -s

11 years agoMerge branch 'master' of github.com:ellson/graphviz
John Ellson [Thu, 14 Nov 2013 17:26:48 +0000 (12:26 -0500)]
Merge branch 'master' of github.com:ellson/graphviz

11 years agomissing extern for func defined in common
John Ellson [Thu, 14 Nov 2013 17:26:30 +0000 (12:26 -0500)]
missing extern for func defined in common

11 years agoJanitor: api_t is unsigned and can't be -ve
John Ellson [Thu, 14 Nov 2013 17:19:02 +0000 (12:19 -0500)]
Janitor:  api_t is unsigned and can't be -ve

11 years agoAdd -s flag (as in dot -s) to gvedit
Emden R. Gansner [Thu, 14 Nov 2013 17:18:50 +0000 (12:18 -0500)]
Add -s flag (as in dot -s) to gvedit

11 years agoJanitor: ignore product: cmd/tools/gvpack_static
John Ellson [Thu, 14 Nov 2013 17:10:39 +0000 (12:10 -0500)]
Janitor: ignore product: cmd/tools/gvpack_static

11 years agoJanitor: clang complains about self assignment of doubles
John Ellson [Thu, 14 Nov 2013 17:03:29 +0000 (12:03 -0500)]
Janitor: clang complains about self assignment of doubles

11 years agoMerge branch 'master' of github.com:ellson/graphviz
John Ellson [Thu, 14 Nov 2013 17:00:26 +0000 (12:00 -0500)]
Merge branch 'master' of github.com:ellson/graphviz

11 years agoRevert "Janitor: clang complains about self assignment"
John Ellson [Thu, 14 Nov 2013 16:58:04 +0000 (11:58 -0500)]
Revert "Janitor: clang complains about self assignment"

This reverts commit e5b48a5850426f6a1eb8901f36e8f20e4da5e6b8.

11 years agoJanitor: clang complains about self assignment
John Ellson [Thu, 14 Nov 2013 16:56:36 +0000 (11:56 -0500)]
Janitor: clang complains about self assignment

11 years agoAdd inputscale attribute to mimic the command line flag -s
Emden R. Gansner [Thu, 14 Nov 2013 16:40:50 +0000 (11:40 -0500)]
Add inputscale attribute to mimic the command line flag -s

11 years agoFix gvedit to not use -Knop2 if the graph has pos attributes. This prevents
Emden R. Gansner [Thu, 14 Nov 2013 16:36:36 +0000 (11:36 -0500)]
Fix gvedit to not use -Knop2 if the graph has pos attributes. This prevents
the input from specifying certain initial positions. If the user wants nop,
it needs to be specified explicitly.

11 years agoAdd notes about how to affect the style of text.
Emden R. Gansner [Tue, 12 Nov 2013 16:01:34 +0000 (11:01 -0500)]
Add notes about how to affect the style of text.

11 years agoRemove unnecessary variable in size_html_txt as the textfont_t structure has
Emden R. Gansner [Fri, 8 Nov 2013 22:47:54 +0000 (17:47 -0500)]
Remove unnecessary variable in size_html_txt as the textfont_t structure has
these others as subfields; since we replace the font in size_html_txt, make sure
it gets the earlier color information; make sure font used in emit_html_txt gets
the necessary flags.

11 years agoReplace dupFont() with insertion into font dictionary; remove unnecessary strdup()'s
Emden R. Gansner [Fri, 8 Nov 2013 22:43:48 +0000 (17:43 -0500)]
Replace dupFont() with insertion into font dictionary; remove unnecessary strdup()'s
as these will be done in the dictionary if necessary, and do a simple pointer
assignment. Note that if we want to use reference counting, we will
have to replace the font pointer assignment with a dup function.

11 years agoDon't strdup() font name or color. Inserting the font into the dictionary
Emden R. Gansner [Fri, 8 Nov 2013 22:35:47 +0000 (17:35 -0500)]
Don't strdup() font name or color. Inserting the font into the dictionary
will do this now.

11 years agoRemoved declarations to deleted functions
Emden R. Gansner [Fri, 8 Nov 2013 20:59:10 +0000 (15:59 -0500)]
Removed declarations to deleted functions

11 years agoMerge branch 'master' of github.com:ellson/graphviz
John Ellson [Fri, 8 Nov 2013 16:24:12 +0000 (11:24 -0500)]
Merge branch 'master' of github.com:ellson/graphviz

11 years agomore packaging fixes
John Ellson [Fri, 8 Nov 2013 16:24:01 +0000 (11:24 -0500)]
more packaging fixes

11 years agoMerge branch 'master' of https://github.com/ellson/graphviz
Emden R. Gansner [Fri, 8 Nov 2013 16:11:51 +0000 (11:11 -0500)]
Merge branch 'master' of https://github.com/ellson/graphviz

11 years agoFix windows build files to adjust to new font dictionary:
Emden R. Gansner [Fri, 8 Nov 2013 16:09:36 +0000 (11:09 -0500)]
Fix windows build files to adjust to new font dictionary:
change fontmetrics.c in both release and debug lists;
remove deleted font functions and alphabetize the list

11 years agoattempt to fix ubuntu breakage
John Ellson [Fri, 8 Nov 2013 15:44:39 +0000 (10:44 -0500)]
attempt to fix ubuntu breakage

11 years agoattempt to fix potential windows breakage
John Ellson [Fri, 8 Nov 2013 03:29:10 +0000 (22:29 -0500)]
attempt to fix potential windows breakage

11 years agocompleted conversion to cdt dict of fonts
John Ellson [Thu, 7 Nov 2013 22:42:19 +0000 (17:42 -0500)]
completed conversion to cdt dict of fonts

11 years agofont dict open and close
John Ellson [Thu, 7 Nov 2013 21:17:57 +0000 (16:17 -0500)]
font dict open and close

11 years agorepair redhat packaging after adding back some files for ubuntu only
John Ellson [Thu, 7 Nov 2013 20:39:11 +0000 (15:39 -0500)]
repair redhat packaging after adding back some files for ubuntu only

11 years agopreparing for textfont dict in GVC_t
John Ellson [Thu, 7 Nov 2013 20:22:33 +0000 (15:22 -0500)]
preparing for textfont dict in GVC_t

11 years agopara -> span
John Ellson [Thu, 7 Nov 2013 20:07:24 +0000 (15:07 -0500)]
para -> span

11 years agorename fontmetrics.c -> textfont.c
John Ellson [Thu, 7 Nov 2013 18:46:43 +0000 (13:46 -0500)]
rename fontmetrics.c -> textfont.c

11 years agoMerge branch 'master' of github.com:ellson/graphviz
John Ellson [Thu, 7 Nov 2013 18:39:31 +0000 (13:39 -0500)]
Merge branch 'master' of github.com:ellson/graphviz