]> granicus.if.org Git - graphviz/log
graphviz
7 years agoAdded missing headers to windows libraries
Erwin Janssen [Thu, 26 Jan 2017 12:55:00 +0000 (13:55 +0100)]
Added missing headers to windows libraries

Two headers were missing from, and now added to
windows/dependencies/libraries: gd_io.h and gdfx.h

7 years agoMerge pull request #1197 from ErwinJanssen/various-changes
John Ellson [Thu, 19 Jan 2017 05:08:35 +0000 (00:08 -0500)]
Merge pull request #1197 from ErwinJanssen/various-changes

Various changes

7 years agoUse prebuild libgd from windows deps submodule
Erwin Janssen [Tue, 17 Jan 2017 16:41:06 +0000 (17:41 +0100)]
Use prebuild libgd from windows deps submodule

Instead of building libgd manually before Graphviz can be build, we
included a prebuild version of libgd in the graphviz windows dependencies
submodule. The doc/winbuild.html is updated to reflect this.

7 years agoMerge Windows dependencies into one submodule
Erwin Janssen [Mon, 16 Jan 2017 12:50:05 +0000 (13:50 +0100)]
Merge Windows dependencies into one submodule

Instead of using a submodule for every Windows dependency with a lot of
extra files, we now use a single submodule that only contains those files
that are required. This means fewer submodules and shorter download time
(because of the reduction in size and number of files).
Also removed some unused links in Smyrna.

7 years agoUpdate Freetype download link in appveyor.yml
Erwin Janssen [Wed, 11 Jan 2017 16:17:31 +0000 (17:17 +0100)]
Update Freetype download link in appveyor.yml

7 years agoReplace checks for `WIN32` with `_WIN32`
Erwin Janssen [Wed, 11 Jan 2017 13:59:11 +0000 (14:59 +0100)]
Replace checks for `WIN32` with `_WIN32`

The preprocesser macro `WIN32` is defined by the user, while `_WIN32` is
defined by the compiler. To improve consistantcy, and prevent errors
caused by forgetting to define `WIN32` somewhere, it is better to use
`_WIN32` to check for Windows.

7 years agoRemove checks standard C funcs from features/sfio
Erwin Janssen [Mon, 9 Jan 2017 19:01:50 +0000 (20:01 +0100)]
Remove checks standard C funcs from features/sfio

Some functions are part of the C standard, so the checks in
features/sfio are not required and can be removed.

7 years agoMove headers checks features/sfio to configure.ac
Erwin Janssen [Mon, 9 Jan 2017 18:50:33 +0000 (19:50 +0100)]
Move headers checks features/sfio to configure.ac

Some headers required new checks, for some headers, checks were already
present in configure.ac

7 years agoRemove mmap code from sfio
Erwin Janssen [Mon, 9 Jan 2017 17:54:44 +0000 (18:54 +0100)]
Remove mmap code from sfio

There are multiple reasons to remove this code:
- The define that guards all the mmap code (_mmap_worthy) is rarely set.
  When building local or on Travis, the define isn't set.
  On Windows, it is never set.
- If a 'binary compatibility package' of sfio is build (when _SFBINARY_H
  is defined), `_sys_mann` is `undef`ed, excluding mmap code from the build.

Instead of keeping the code that is rarely included, we can reduce code
complexity by removing it.

7 years agoAssume default memchr and memcpy are fast enough
Erwin Janssen [Mon, 9 Jan 2017 12:11:52 +0000 (13:11 +0100)]
Assume default memchr and memcpy are fast enough

`features/sfio` contains some test that check if the default memchr and
memcpy are "fast enough". These days we can safely assume that this is the
case, also because this define is always enabled when running the tests.

7 years agoRemove checks bcopy and bzero from features/sfio
Erwin Janssen [Mon, 9 Jan 2017 11:50:49 +0000 (12:50 +0100)]
Remove checks bcopy and bzero from features/sfio

The code contains several checks regarding these functions, but they are
never actually used in lib/sfio. It is therefore not needed to test their
availability.

7 years agoRemove disabled vt_threaded code from lib/sfio
Erwin Janssen [Mon, 9 Jan 2017 12:56:29 +0000 (13:56 +0100)]
Remove disabled vt_threaded code from lib/sfio

The threaded part of sfio and vthread is disabled for Graphviz by setting
various defines. This commit removes the disabled code entirely, to make
it more clear which code is actually part of the compilation.

7 years agoRemove checks memset and memcpy from features/sfio
Erwin Janssen [Mon, 9 Jan 2017 11:43:57 +0000 (12:43 +0100)]
Remove checks memset and memcpy from features/sfio

Both are functions are part of the C standard and therefore always
present. Checking is therefore not needed.

7 years agoRemove three unused checks from features/sfio
Erwin Janssen [Mon, 9 Jan 2017 00:10:34 +0000 (01:10 +0100)]
Remove three unused checks from features/sfio

The result of the following checks is never used, so they can be removed:
- qfrexp
- qldexp
- memalign

7 years agoRemove usage of _ast_int and _ast_flt defines
Erwin Janssen [Sun, 8 Jan 2017 23:45:02 +0000 (00:45 +0100)]
Remove usage of _ast_int and _ast_flt defines

The definition of these defines was removed in a previous commit
(2ee0993a22db6faa8506ac1c69164a5120dbd76c) but the usage was still
present. This is corrected by removing the usage as well.

7 years agoRemove definition and usage of _hdr_math in sfio
Erwin Janssen [Sun, 8 Jan 2017 23:27:02 +0000 (00:27 +0100)]
Remove definition and usage of _hdr_math in sfio

The header <math.h> is not required to build lib/sfio, so the check and
the usage can be removed.

7 years agoFix incorrect assignment in gvCloneGVC function
Erwin Janssen [Sat, 7 Jan 2017 18:19:40 +0000 (19:19 +0100)]
Fix incorrect assignment in gvCloneGVC function

The function `gvCloneGVC` creates a new `GVC_t` object and copies the values
from gvc0 to gvc. In the last assignment, gvc->packages is given the value
of itself: gvc->pckages. This should be gvc0 instead.

7 years agoFixed use of unitialized variable in lefty
Erwin Janssen [Sat, 7 Jan 2017 11:51:01 +0000 (12:51 +0100)]
Fixed use of unitialized variable in lefty

In the file cmd/lefty/ws/x11/gquery.c, function Gqwpopaction:
THe char c is declared without initializer, giving it a unpredictable
value. If the next if statement takes the false branch, the function where
c is set is not executed. The next if statement then checks `c != 13`, but
because C could have any value, the behavior is unpredictable.
Initializing c with a known value, such as 0, fixes the problem.

7 years agoReplace Windows' pragma linking with VS linking
Erwin Janssen [Fri, 6 Jan 2017 14:06:42 +0000 (15:06 +0100)]
Replace Windows' pragma linking with VS linking

In various places, mostly the projects in `cmd` and `plugin`, had a
`#pragma comment( lib, "libname.lib" )` in the source code for linking
under Windows. Were possible, these have been removed and replaced link
specifications in the Visual Studio project files.
This seperates the linking from the source code and makes transitioning to
other build systems easier.

7 years agoMade vmalloc a static library on Windows
Erwin Janssen [Thu, 5 Jan 2017 23:59:09 +0000 (00:59 +0100)]
Made vmalloc a static library on Windows

vmalloc is a static library with the Autotools build, but was for some
reason a dynamic library on Windows. Since Autotools is considered the
default, this commit makes vmalloc a static library on Windows as well.
To disable the function export that is required for a dynamic library,
but not for a static one, various define checks were removed.

7 years agoFix github issue #919; general cleanup.
Emden Gansner [Thu, 12 Jan 2017 21:29:42 +0000 (16:29 -0500)]
Fix github issue #919; general cleanup.

7 years agoMerge pull request #1195 from ErwinJanssen/various-changes
John Ellson [Thu, 5 Jan 2017 16:53:36 +0000 (11:53 -0500)]
Merge pull request #1195 from ErwinJanssen/various-changes

Various changes

7 years agoRemove usage of features/vmalloc
Erwin Janssen [Thu, 5 Jan 2017 14:00:38 +0000 (15:00 +0100)]
Remove usage of features/vmalloc

The only check left in features/vmalloc, checks if the return type of
malloc is the old `char *`. Because we are using standard C, we can
always assume the returntype of malloc is `void *`, this define is
there never set. We can remove this check and with it the usage of
features/vmalloc and FEATURE/vmalloc.

7 years agoMove checks from features/vmalloc to configure.ac
Erwin Janssen [Thu, 5 Jan 2017 13:34:50 +0000 (14:34 +0100)]
Move checks from features/vmalloc to configure.ac

Instead of checking certain headers and functions in a seperate config
script, place these checks in configure.ac and use HAVE_* style defines.
Some checks were already present in configure.ac, the others have been
added. No addtional defines in windows/config.h were needed.
There is only one check remaining in features/vmalloc.

7 years agoRemove unused checks from features/vmalloc
Erwin Janssen [Thu, 5 Jan 2017 11:16:24 +0000 (12:16 +0100)]
Remove unused checks from features/vmalloc

These checks set defines if they succeed, but these defines are never used.
The checks can therefore be removed.

7 years agoRemove declaration enqueue_neighbors from render.h
Erwin Janssen [Wed, 4 Jan 2017 23:20:03 +0000 (00:20 +0100)]
Remove declaration enqueue_neighbors from render.h

The function `enqueue_neighbors` is declared in both render.h and in
dotprocs.h, while it is only used in lib/dotgen. The double declaration
causes "inconstant dll linkage" warnings on Windows.

7 years agoMade xdot a dynamic library on Windows
Erwin Janssen [Tue, 3 Jan 2017 18:20:58 +0000 (19:20 +0100)]
Made xdot a dynamic library on Windows

xdot is a dynamic library with the Autotools build, but was for some
reason a static library on Windows. Since Autotools is considered the
default, this commit makes xdot a dynamic library on Windows as well.
The added define "XDOT_API", is used for linking, so a seperate xdot.def
file is not needed. On non-Windows platforms, this define is set to
"extern", so nothing changes there.

7 years agoDisable warning 4706 in Windows build of lib/cdt
Erwin Janssen [Thu, 29 Dec 2016 15:58:37 +0000 (16:58 +0100)]
Disable warning 4706 in Windows build of lib/cdt

Warning C4706: assignment within conditional expression
The CDT library is mostly an external library included with the Graphviz
source and modified. It throws a lot of C4706 warnings, which isn't the
warning with the highest priority. We disable it for now.

7 years agoRemove cdt/dttreeset.c, not present in newest CDT
Erwin Janssen [Sun, 18 Dec 2016 14:31:15 +0000 (15:31 +0100)]
Remove cdt/dttreeset.c, not present in newest CDT

The code file dttreeset.c is not present in the most recent version of
CDT, it also isn't used by Graphviz, so it can be removed.

7 years agoRemove checks for 'libgen', library not used
Erwin Janssen [Wed, 28 Dec 2016 20:22:27 +0000 (21:22 +0100)]
Remove checks for 'libgen', library not used

configure.ac contains checks for the `libgen` library and header, but the
header is never included, which means the library is never used. Checking
and linking is therefore not needed.

7 years agoUse <limits.h> in favor of <values.h>
Erwin Janssen [Wed, 28 Dec 2016 19:42:43 +0000 (20:42 +0100)]
Use <limits.h> in favor of <values.h>

The header <values.h> is obsolete in favor of <limits.h>, which is part of
the standard C library.

7 years agoRemove definition and usage of HAVE_STRERROR
Erwin Janssen [Wed, 28 Dec 2016 18:19:02 +0000 (19:19 +0100)]
Remove definition and usage of HAVE_STRERROR

This function is part of the standard C library, checking is therefore not
needed. With this change, check that sets HAVE_ERRNO_DECLS and the file
lib/ast/strerror.c can both be removed.

7 years agoRemove usage and definition of HAVE_ERRNO_H
Erwin Janssen [Wed, 28 Dec 2016 17:21:50 +0000 (18:21 +0100)]
Remove usage and definition of HAVE_ERRNO_H

The header "errno.h" is part of the standard C library, checking is
therefore not needed.

7 years agoMerge pull request #1194 from Chiel92/expose_ageqedge
John Ellson [Wed, 4 Jan 2017 04:38:52 +0000 (23:38 -0500)]
Merge pull request #1194 from Chiel92/expose_ageqedge

Expose ageqedge in cgraph.dll.

7 years agoMerge pull request #1193 from Chiel92/update-winbuild
John Ellson [Wed, 4 Jan 2017 04:38:37 +0000 (23:38 -0500)]
Merge pull request #1193 from Chiel92/update-winbuild

Add newer build instructions to winbuild.html.

7 years agoMerge pull request #1192 from Chiel92/master
John Ellson [Wed, 4 Jan 2017 04:38:15 +0000 (23:38 -0500)]
Merge pull request #1192 from Chiel92/master

Fix a few windows issues

7 years agoGive AgraphVersion a meaningful value.
Emden Gansner [Tue, 3 Jan 2017 18:45:42 +0000 (13:45 -0500)]
Give AgraphVersion a meaningful value.

7 years agoFixed typo that broke wildcard feature in agedgeidcmpf()
Stephen C North [Tue, 3 Jan 2017 17:55:00 +0000 (12:55 -0500)]
Fixed typo that broke wildcard feature in agedgeidcmpf()

7 years agoExpose ageqedge in cgraph.dll.
Chiel ten Brinke [Tue, 3 Jan 2017 14:35:13 +0000 (15:35 +0100)]
Expose ageqedge in cgraph.dll.

Fix #1188.

7 years agoAdd newer build instructions to winbuild.html.
Chiel ten Brinke [Tue, 3 Jan 2017 13:09:22 +0000 (14:09 +0100)]
Add newer build instructions to winbuild.html.

7 years agoAdd newer build instructions to winbuild.html.
Chiel ten Brinke [Tue, 3 Jan 2017 13:09:22 +0000 (14:09 +0100)]
Add newer build instructions to winbuild.html.

7 years agoPrevent git from interpreting dot files as Microsoft Word documents while diffing.
Chiel ten Brinke [Tue, 3 Jan 2017 10:44:59 +0000 (11:44 +0100)]
Prevent git from interpreting dot files as Microsoft Word documents while diffing.

7 years agoAdd missing agissimple to .def file.
Chiel ten Brinke [Tue, 3 Jan 2017 08:24:03 +0000 (09:24 +0100)]
Add missing agissimple to .def file.

7 years agoFix flex build command in cgraph project in Release configuration too.
Chiel ten Brinke [Mon, 19 Dec 2016 09:11:56 +0000 (10:11 +0100)]
Fix flex build command in cgraph project in Release configuration too.

8 years agocontinuing 2.41 development series
John Ellson [Sun, 25 Dec 2016 03:18:08 +0000 (22:18 -0500)]
continuing 2.41 development series

8 years agostable_release_2.40.1 2.40.1 stable_release_2.40.1
John Ellson [Sun, 25 Dec 2016 03:04:04 +0000 (22:04 -0500)]
stable_release_2.40.1

8 years agoDon't use aptr->u.asym unless it has been set. This can cause a crash if aptr->u...
Emden Gansner [Thu, 22 Dec 2016 20:58:24 +0000 (15:58 -0500)]
Don't use aptr->u.asym unless it has been set. This can cause a crash if aptr->u.asym->name is referenced.

8 years agoMerge branch 'master' of https://github.com/ellson/graphviz
Emden Gansner [Thu, 22 Dec 2016 17:16:45 +0000 (12:16 -0500)]
Merge branch 'master' of https://github.com/ellson/graphviz

8 years agoNull out input file name after parsing, as a user may have set the file name before...
Emden Gansner [Thu, 22 Dec 2016 17:15:39 +0000 (12:15 -0500)]
Null out input file name after parsing, as a user may have set the file name before calling agmemread.

8 years agomaybe called libgd-dev
John Ellson [Thu, 22 Dec 2016 05:34:03 +0000 (00:34 -0500)]
maybe called libgd-dev

8 years agoMerge branch 'master' of github.com:/ellson/graphviz
John Ellson [Thu, 22 Dec 2016 05:30:16 +0000 (00:30 -0500)]
Merge branch 'master' of github.com:/ellson/graphviz

merging

8 years agoprobably need gd-dev for diffimg
John Ellson [Thu, 22 Dec 2016 05:30:00 +0000 (00:30 -0500)]
probably need gd-dev for diffimg

8 years agoMerge pull request #1189 from ErwinJanssen/various-changes
John Ellson [Wed, 21 Dec 2016 18:21:03 +0000 (13:21 -0500)]
Merge pull request #1189 from ErwinJanssen/various-changes

Various changes and removed ast_common.h

8 years agoRemove usage of ast_common.h
Erwin Janssen [Wed, 21 Dec 2016 14:15:05 +0000 (15:15 +0100)]
Remove usage of ast_common.h

Now that ast_common.h is never included anymore, the files
`ast_common.h.in`, `windows/include/ast_common.h` and all
`features/common` can be removed.

8 years agoReplace remaining "ast_common.h" includes
Erwin Janssen [Wed, 21 Dec 2016 13:18:25 +0000 (14:18 +0100)]
Replace remaining "ast_common.h" includes

Added a typedef for `ssize_t` to the Windows config.h, which is the
location were Autotools would define it if it isn't found.
Removed the remaining includes of "ast_common.h", instead include
"config.h" and add a check to include "sys/typesh" (were ssize_t is
located on Linux)

8 years agoRemove `_dll_import` define block in ast_common.h
Erwin Janssen [Mon, 19 Dec 2016 11:10:46 +0000 (12:10 +0100)]
Remove `_dll_import` define block in ast_common.h

The define `_dll_import` is never set by any file that includes
ast_common.h, the define block is therefore never triggered. DLL linkage
is Windows is currently done with `def` files.

8 years agoRemove va_* and ast_va_* defines from ast_common.h
Erwin Janssen [Sun, 18 Dec 2016 15:15:49 +0000 (16:15 +0100)]
Remove va_* and ast_va_* defines from ast_common.h

These defines are never used, just like the varargs.h include that
was removed earlier. They can therefore be safely removed as well.

8 years agoReplace last usage of _BEGIN/END_EXTERNS_
Erwin Janssen [Sun, 18 Dec 2016 14:49:15 +0000 (15:49 +0100)]
Replace last usage of _BEGIN/END_EXTERNS_

The last occurence of the defines _BEGIN_EXTERNS_ and _END_EXTERNS_ in the
code was in lib/sfio/sfsetbuf.h, this is now replaced with the standard
`extern "C"` define and check. Because of this, the definition of
_BEGIN_EXTERNS_ and _END_EXTERNS_ can be removed from ast_common.h

8 years agoRemove limits.h/values.h include from ast_common.h
Erwin Janssen [Sun, 18 Dec 2016 13:23:06 +0000 (14:23 +0100)]
Remove limits.h/values.h include from ast_common.h

These includes are not used by the files that include ast_common.h

8 years agoRemove `_typ_long_double` define from ast_common.h
Erwin Janssen [Sun, 18 Dec 2016 13:13:35 +0000 (14:13 +0100)]
Remove `_typ_long_double` define from ast_common.h

This define is never used and can therefore be safely removed.

8 years agoFix: remove trailing `]` from sfhdr.h
Erwin Janssen [Sun, 18 Dec 2016 12:46:55 +0000 (13:46 +0100)]
Fix: remove trailing `]` from sfhdr.h

A previous change accidently introduced a trailing `]` in sfhdr.h.

8 years agoRemove `varargs.h` include from ast_common.h.in
Erwin Janssen [Sun, 18 Dec 2016 12:42:06 +0000 (13:42 +0100)]
Remove `varargs.h` include from ast_common.h.in

None of the files that include ast_common.h.in, require anything from
varargs.h, compilation is still successfull.

8 years agoRemove unused function checks and defines
Erwin Janssen [Sun, 18 Dec 2016 12:01:35 +0000 (13:01 +0100)]
Remove unused function checks and defines

congigure.ac checks for the presence of certain functions and creates
define indicating if it was found. Some of these defines are never
used, so the check (and the static define for Windows) can be safely
removed. This is the case for the following functions:
- __freadable
- _sysconf
- getrusage
- lsqrt
- memset
- nl_langinfo
- pow
- sqrt
- strchr
- strdup
- strstr
- strtoll
- strtoul
- strtoull
- uname

Also removed duplicate `strerror` in `AC_CHECK_FUNCS`.

8 years agoRemove check for `size_t` in configure.ac
Erwin Janssen [Sun, 18 Dec 2016 11:49:49 +0000 (12:49 +0100)]
Remove check for `size_t` in configure.ac

The macro `AC_TYPE_SIZE_T` checks if the type `size_t` is available, but
this type is part of the C standard, checking is therefore not required.

8 years agoRemove check for `mode_t` in configure.ac
Erwin Janssen [Sun, 18 Dec 2016 11:41:42 +0000 (12:41 +0100)]
Remove check for `mode_t` in configure.ac

The macro `AC_TYPE_MODE_T` checks if the type `mode_t` is available, but
this type is never used in the code. Checking is therefore not required.

8 years agoRemove check for `const` keyword in configure.ac
Erwin Janssen [Sun, 18 Dec 2016 11:30:14 +0000 (12:30 +0100)]
Remove check for `const` keyword in configure.ac

The macro `AC_C_CONST` checks whether the used C compiler supports
the keyword `const` and defines it accordingly. But as stated in
the autoconf documentation, this macro is becomming obsolete as
current C compilers `cost`. Checking is therefore no longer required.

8 years agoRemove unused header checks and defines
Erwin Janssen [Mon, 12 Dec 2016 15:12:49 +0000 (16:12 +0100)]
Remove unused header checks and defines

congigure.ac checkes for the presence of header files and creates
define indicating if it was found. Some of these defines are never
used, so the check (and the static define for Windows) can be safely
removed. This is the case for the following headers:
- langinfo.h
- libintl.h
- pthread.h
- setjmp.h
- sys/times.h

8 years agoRemove definition and usage of HAVE_TIME_H
Erwin Janssen [Sun, 11 Dec 2016 00:59:19 +0000 (01:59 +0100)]
Remove definition and usage of HAVE_TIME_H

The header <time.h> is part of the standard C library and is always
available, checking is therefore not needed.

8 years agoRemove definition of HAVE_FLOAT_H
Erwin Janssen [Sun, 11 Dec 2016 00:55:02 +0000 (01:55 +0100)]
Remove definition of HAVE_FLOAT_H

The header <float.h> is part of the standard C library and is always
available, checking is therefore not needed. In addition to this,
this define is never used.

8 years agoRemove definition and usage of HAVE_STDDEF_H
Erwin Janssen [Sun, 11 Dec 2016 00:49:39 +0000 (01:49 +0100)]
Remove definition and usage of HAVE_STDDEF_H

The header <stddef.h> is part of the standard C library and is always available,
checking is therefore not needed.

8 years agoRemoved all _ast_int and _ast_flt defines
Erwin Janssen [Fri, 9 Dec 2016 15:07:50 +0000 (16:07 +0100)]
Removed all _ast_int and _ast_flt defines

The defines _ast_int and _ast_flt used to be generated, but were now defined
in ast_common.h. Most of these defines were not used either, only _ast_intmax_t
and _ast_fltmax_t were used to define another define in sfio.h. Instead, we now
directly use the values `long long` and `long double` to set the defines in
sfio.h and we can safely remove the _ast_int and _ast_flt defines.

8 years agoRemove defintion of HAVE_STDARG_H and _hdr_stdarg
Erwin Janssen [Fri, 9 Dec 2016 00:24:14 +0000 (01:24 +0100)]
Remove defintion of HAVE_STDARG_H and _hdr_stdarg

The define _hdr_stdarg was only used in ast_common.h to include <stdarg.h>
but this include was not needed, compilation succeeds without it.
The define HAVE_STDARG_H was only used to set _hdr_starg in ast_common.h.

Both defines and the include can therefore safely be removed.

8 years agoAdd CI build status badges to README.md
Erwin Janssen [Thu, 8 Dec 2016 11:24:11 +0000 (12:24 +0100)]
Add CI build status badges to README.md

These badges show the build status of the master branch. If the Travis or
Appveyor build fails, it can be seen directly on Github in the README.

8 years agoRemove defintion of HAVE_SYS_SOCKET_H and _sys_socket
Erwin Janssen [Thu, 8 Dec 2016 23:23:40 +0000 (00:23 +0100)]
Remove defintion of HAVE_SYS_SOCKET_H and _sys_socket

These defines were set, but never used. Defining them is therefore not needed.

8 years agorestarting 2.41 development series
John Ellson [Wed, 21 Dec 2016 03:06:20 +0000 (22:06 -0500)]
restarting 2.41 development series

8 years agoredo 2.40 stable release with neatoinit.c change reverted
John Ellson [Wed, 21 Dec 2016 02:39:32 +0000 (21:39 -0500)]
redo 2.40 stable release with neatoinit.c change reverted

8 years agostarting 2.41 development series
John Ellson [Tue, 20 Dec 2016 16:48:14 +0000 (11:48 -0500)]
starting 2.41 development series

8 years agostable release 2.40 2.40.0
John Ellson [Tue, 20 Dec 2016 16:01:44 +0000 (11:01 -0500)]
stable release 2.40

8 years agoMerge branch 'master' of github.com:/ellson/graphviz
John Ellson [Tue, 20 Dec 2016 14:31:54 +0000 (09:31 -0500)]
Merge branch 'master' of github.com:/ellson/graphviz

merge local changes

8 years agocomment out refs to tred2, not intended for distribution
John Ellson [Tue, 20 Dec 2016 14:31:42 +0000 (09:31 -0500)]
comment out refs to tred2, not intended for distribution

8 years agoRemove spurious #define DEBUG 1 in source code
Stephen C North [Tue, 20 Dec 2016 13:19:40 +0000 (08:19 -0500)]
Remove spurious #define DEBUG 1 in source code

8 years agoMerge branch 'master' of https://github.com/ellson/graphviz
Stephen C North [Tue, 20 Dec 2016 01:28:49 +0000 (20:28 -0500)]
Merge branch 'master' of https://github.com/ellson/graphviz

8 years ago"Beware of bugs in the above code; I have only proved it correct, not tried it."...
Stephen C North [Tue, 20 Dec 2016 00:37:04 +0000 (19:37 -0500)]
"Beware of bugs in the above code; I have only proved it correct, not tried it."--Donald Knuth

8 years agoMerge pull request #1187 from ErwinJanssen/fix/issue-#1186
John Ellson [Mon, 19 Dec 2016 20:00:48 +0000 (15:00 -0500)]
Merge pull request #1187 from ErwinJanssen/fix/issue-#1186

Fix font errors on Windows with binary outputs

8 years agoFix fonts errors on Windows with binary outputs
Erwin Janssen [Mon, 19 Dec 2016 14:39:32 +0000 (15:39 +0100)]
Fix fonts errors on Windows with binary outputs

Outputs like 'png' didn't render the text properly on Windows (rectangles
instead of letters). The cause was that Pango was missings its modules. This
change adds post build commands to the `smyrna` en `gvplugin_pango` Visual
Studio projects, so the required modules are copied and then recognized by
pango.
Fixes issue #1186

8 years agoMerge branch 'master' of https://github.com/ellson/graphviz
Stephen C North [Mon, 19 Dec 2016 00:54:46 +0000 (19:54 -0500)]
Merge branch 'master' of https://github.com/ellson/graphviz

8 years agoNew tight_tree search algorithm to reduce running time from |V|^2 to something closer...
Stephen C North [Mon, 19 Dec 2016 00:48:13 +0000 (19:48 -0500)]
New tight_tree search algorithm to reduce running time from |V|^2 to something closer to |V+E|.  May solve some old "trouble in init_rank" bugs.

8 years agofix rpm breakage
John Ellson [Sun, 18 Dec 2016 12:57:35 +0000 (07:57 -0500)]
fix rpm breakage

8 years agodemo/modgraph.lua now demos built-in tred
John Ellson [Sun, 18 Dec 2016 06:14:25 +0000 (01:14 -0500)]
demo/modgraph.lua now demos built-in tred

8 years agofix tred2
John Ellson [Sun, 18 Dec 2016 05:04:18 +0000 (00:04 -0500)]
fix tred2

8 years agoMerge branch 'master' of github.com:/ellson/graphviz
John Ellson [Sat, 17 Dec 2016 03:39:50 +0000 (22:39 -0500)]
Merge branch 'master' of github.com:/ellson/graphviz

8 years agoadding a builtin tred to langs bindings
John Ellson [Sat, 17 Dec 2016 03:39:39 +0000 (22:39 -0500)]
adding a builtin tred to langs bindings

8 years agoFix a couple of lose ends where incorrect information is given in
Emden Gansner [Fri, 16 Dec 2016 22:15:01 +0000 (17:15 -0500)]
Fix a couple of lose ends where incorrect information is given in
error messages. Make sure each call to agmemread resets the line number
to 1 and the file name to NULL. If the input contains cpp line directive,
another run of agmemread with errors would report them incorrectly.

In addition, the gvNextInputGraph in common/input.s was not resetting the
the file name in the case that the new FILE* happened to use the same memory
as the previous FILE*.

8 years agoAt present, if the graph has no nodes, no layout is done. But then if gvFreeLayout...
Emden Gansner [Fri, 16 Dec 2016 20:02:23 +0000 (15:02 -0500)]
At present, if the graph has no nodes, no layout is done. But then if gvFreeLayout is called
and there are subgraphs, dot_cleanup_graph assumes the subgraphs are bound to a Agraphinfo_t,
which doesn't exist.  The calls to free the associated memory cause a crash.

The simplest solution is to check that Agraphinfo_t exists in dot_cleanup_graph before using it.

8 years agoremove file that caused all lineends to change to CRLF. - Windows users, please...
John Ellson [Fri, 16 Dec 2016 02:12:19 +0000 (21:12 -0500)]
remove file that caused all lineends to change to CRLF.   - Windows users, please find another way.

8 years agotrying to get Travis-CI to send me notifications
John Ellson [Fri, 16 Dec 2016 02:02:15 +0000 (21:02 -0500)]
trying to get Travis-CI to send me notifications

8 years agoreturning line-ends to lf ???
John Ellson [Fri, 16 Dec 2016 02:00:44 +0000 (21:00 -0500)]
returning line-ends to lf ???

8 years agoMerge pull request #1185 from Chiel92/master
John Ellson [Wed, 14 Dec 2016 15:01:16 +0000 (10:01 -0500)]
Merge pull request #1185 from Chiel92/master

Fix flex build command in cgraph project.

8 years agoFix flex build command in cgraph project.
Chiel ten Brinke [Wed, 14 Dec 2016 14:19:22 +0000 (15:19 +0100)]
Fix flex build command in cgraph project.

8 years agoMerge pull request #1183 from ErwinJanssen/remove-fenv-init
John Ellson [Tue, 13 Dec 2016 14:02:29 +0000 (09:02 -0500)]
Merge pull request #1183 from ErwinJanssen/remove-fenv-init

Remove unused FPE initialization from dot.c