PLplot Release 5.9.6
~~~~~~~~~~~~~~~~~~~~
This is a development release of PLplot. It represents the ongoing efforts
of the community to improve the PLplot plotting package. Development
releases in the 5.9.x series will be available every few months. The next
stable release will be 5.10.0.
If you encounter a problem that is not already documented in the
PROBLEMS file or on our bugtracker, then please send bug reports to PLplot
developers via the mailing lists at
http://sourceforge.net/mail/?group_id=2915 (preferred) or on our bugtracker
at http://sourceforge.net/tracker/?group_id=2915&atid=102915.
Please see the license under which this software is distributed
(LGPL), and the disclaimer of all warranties, given in the COPYING.LIB
file.
Official Notices for Users.
I. As of release 5.9.1 we have removed our previously deprecated
autotools-based build system. Instead, use the CMake-based build system
following the directions in the INSTALL file.
II. As of release 5.9.1 we no longer support Octave-2.1.73 which has a
variety of run-time issues in our tests of the Octave examples on different
platforms. In contrast our tests show we get good run-time results with all
our Octave examples for Octave-3.0.1. Also, that is the recommended stable
version of Octave at http://www.gnu.org/software/octave/download.html so
that is the only version of Octave we support at this time.
III. As of release 5.9.1 we have decided for consistency sake to change the
PLplot stream variables plsc->vpwxmi, plsc->vpwxma, plsc->vpwymi, and
plsc->vpwyma and the results returned by plgvpw to reflect the exact window
limit values input by users using plwind. Previously to this change, the
stream variables and the values returned by plgvpw reflected the internal
slightly expanded range of window limits used by PLplot so that the user's
specified limits would be on the graph. Two users noted this slight
difference, and we agree with them it should not be there. Note that
internally, PLplot still uses the expanded ranges so most users results will
be identical. However, you may notice some small changes to your plot
results if you use these stream variables directly (only possible in C/C++)
or use plgvpw.
IV. As of release 5.9.2 we have set HAVE_PTHREAD to ON by default for all
platforms other than Darwin. Darwin will follow later once it appears the
Apple version of X supports it.
V. As of release 5.9.3 our build system requires CMake version 2.6.0 or
higher.
VI. As of release 5.9.3 we have deprecated the gcw device driver and the
related gnome2 and pygcw bindings since these are essentially unmaintained.
For example, the gcw device and associated bindings still depends on the
plfreetype approach for accessing unicode fonts which has known issues
(inconsistent text offsets, inconvenient font setting capabilities, and
incorrect rendering of CTL languages). To avoid these issues we advise
using the xcairo device and the externally supplied XDrawable or Cairo
context associated with the xcairo device and the extcairo device (see
examples/c/README.cairo) instead. If you still absolutely must use -dev gcw
or the related gnome2 or pygcw bindings despite the known problems, then
they can still be accessed by setting PLD_gcw, ENABLE_gnome2, and/or
ENABLE_pygcw to ON.
N.B. This announcement has been superseded by the subsequent retirement
of gcw, gnome2, and pygcw, see announcement XVII.
VII. As of release 5.9.3 we have deprecated the gd device driver which
implements the png, jpeg, and gif devices. This device driver is
essentially unmaintained. For example, it still depends on the plfreetype
approach for accessing unicode fonts which has known issues (inconsistent
text offsets, inconvenient font setting capabilities, and incorrect
rendering of CTL languages). To avoid these issues for PNG format, we
advise using the pngcairo or pngqt devices. To avoid these issues for the
JPEG format, we advise using the jpgqt device. PNG is normally considered a
better raster format than GIF, but if you absolutely require GIF format, we
advise using the pngcairo or pngqt devices and then downgrading the results
to the GIF format using the ImageMagick "convert" application. For those
platforms where libgd (the dependency of the gd device driver) is accessible
while the required dependencies of the cairo and/or qt devices are not
accessible, you can still use these deprecated devices by setting PLD_png,
PLD_jpeg, or PLD_gif to ON.
VIII. As of release 5.9.3 we have re-enabled the tk, itk, and itcl components
of PLplot by default that were disabled by default as of release 5.9.1 due
to segfaults. The cause of the segfaults was a bug (now fixed) in how
pthread support was implemented for the Tk-related components of PLplot.
IX. As of release 5.9.4 we have deprecated the pbm device driver (containing
the pbm device) because glibc detects a catastrophic double free.
X. As of release 5.9.5 we have removed pyqt3 access to PLplot and
replaced it by pyqt4 access to PLplot (see details below).
XI. As of release 5.9.5 the only method of specifying a non-default compiler
(and associated compiler options) that we support is the environment
variable approach, e.g.,
export CC='gcc -g -fvisibility=hidden'
export CXX='g++ -g -fvisibility=hidden'
export FC='gfortran -g -fvisibility=hidden'
All other CMake methods of specifying a non-default compiler and associated
compiler options will not be supported until CMake bug 9220 is fixed, see
discussion below of the soft-landing re-implementation for details.
XII. As of release 5.9.5 we have retired the hpgl driver (containing the
hp7470, hp7580, and lj_hpgl devices), the impress driver (containing the imp
device), the ljii driver (containing the ljii and ljiip devices), and the
tek driver (containing the conex, mskermit, tek4107, tek4107f, tek4010,
tek4010f, versaterm, vlt, and xterm devices). Retirement means we have
removed the build options which would allow these devices to build and
install. Recent tests have shown a number of run-time issues (hpgl,
impress, and ljii) or build-time issues (tek) with these devices, and as far
as we know there is no more user interest in them. Therefore, we have
decided to retire these devices rather than fix them.
XIII. As of release 5.9.6 we have retired the pbm driver containing the pbm
(actually portable pixmap) file device. This device is quite primitive and
poorly maintained. It ignores unicode fonts (i.e., uses the Hershey font
fallback), falls back to ugly software fills, doesn't support alpha
transparency, etc. It also has a serious run-time issue with example 2
(double free detected by glibc) which probably indicates some fundamental
issue with the 100 colours in cmap0 for that example. For those who really
need portable pixmap results, we suggest using the ImageMagick convert
programme, e.g., "convert examples/x24c01.pngqt test.ppm" or "convert
examples/x24c01.pngcairo test.ppm" to produce good-looking portable pixmap
results from our best png device results.
XIV. As of release 5.9.6 we have retired the linuxvga driver
containing the linuxvga interactive device. This device is quite
primitive, difficult to test, and poorly maintained. It ignores
unicode fonts (i.e., uses the Hershey font fallback), falls back to
ugly software fills, doesn't support alpha transparency, etc. It is
Linux only, can only be run as root, and svgalib (the library used by
linuxsvga) is not supported by some mainstream (e.g., Intel) chipsets.
All of these characteristics make it difficult to even test this
device much less use it for anything serious. Finally, it has had a
well-known issue for years (incorrect colours) which has never been
fixed indicating nobody is interested in maintaining this device.
XV. As of release 5.9.6 we have retired our platform support of djgpp
that used to reside in sys/dos/djgpp. The developer (Andrew Roach)
who used to maintain those support files for djgpp feels that the
djgpp platform is no longer actively developed, and he no longer uses
djgpp himself.
XVI. As of release 5.9.6 plpoin results for ascii codes 92, 94, and 95
are changed from centred dot, degree symbol, and centred dot glyphs to
the correct backslash, caret, and underscore glyphs that are
associated with those ascii indices. This change is consistent with
the documentation of plpoin and solves a long-standing issue with
backslash, caret, and underscore ascii characters in character strings
used for example by pl[mp]tex. Those who need access to a centred dot
with plpoin should use index 1. The degree symbol is no longer
accessible with plpoin, but it is available in ordinary text input to
PLplot as Hershey escape "#(718)", where 718 is the Hershey index of
the degree symbol, unicode escape "#[0x00B0]" where 0x00B0 is the
unicode index for the degree symbol or direct UTF8 unicode string "°".
XVII. As of release 5.9.6 we have retired the gcw device driver and
the related gnome2 and pygcw bindings since these are unmaintained and
there are good replacements. These components of PLplot were
deprecated as of release 5.9.3. A good replacement for the gcw device
is either the xcairo or qtwidget device. A good replacement for the
gnome2 bindings is the externally supplied XDrawable or Cairo context
associated with the xcairo device and the extcairo device (see
examples/c/README.cairo). A good replacement for pygcw is our new
pyqt4 bindings for PLplot.
XVIII. As of release 5.9.6 we have deprecated support for the python
Numeric array extensions. Numeric is no longer maintained and users
of Numeric are advised to migrate to numpy. Numpy has been the standard
for PLplot for some time. If numpy is not present PLplot will now
disable python by default. If you still require Numeric support in the
short term then set USE_NUMERIC to ON in cmake. The PLplot support
for Numeric will be dropped in a future release.
XVIV. It has come to our attention that the version of gdc supplied with
several recent versions of Ubuntu has a very serious bug on 64-bit
systems (see https://bugs.launchpad.net/ubuntu/+source/gdc-4.2/+bug/235955)
which causes several of the plplot D examples to crash. If this
affects you, you are recommended to disable the d bindings or switch to
an alternative d compiler (the Digital Mars compiler is reported to
be good).
INDEX
0. Tests made for release 5.9.6
1. Changes relative to PLplot 5.9.5 (the previous development release)
1.1 Make PLplot aware of LC_NUMERIC locale
1.2 Linear gradients have been implemented
1.3 Cairo Windows driver implemented
1.4 Custom axis labeling implemented
1.5 Universal coordinate transform implemented
1.6 Support for arbitrary storage of 2D user data
1.7 Font improvements
2. Changes relative to PLplot 5.8.0 (the previous stable release)
2.1 All autotools-related files have now been removed
2.2 Build system bug fixes
2.3 Build system improvements
2.4 Implement build-system infrastructure for installed Ada bindings and
examples
2.5 Code cleanup
2.6 Date / time labels for axes
2.7 Alpha value support
2.8 New PLplot functions
2.9 External libLASi library improvements affecting our psttf device
2.10 Improvements to the cairo driver family
2.11 wxWidgets driver improvements
2.12 pdf driver improvements
2.13 svg driver improvements
2.14 Ada language support
2.15 OCaml language support
2.16 Perl/PDL language support
2.17 Update to various language bindings
2.18 Update to various examples
2.19 Extension of our test framework
2.20 Rename test subdirectory to plplot_test
2.21 Website support files updated
2.22 Internal changes to function visibility
2.23 Dynamic driver support in Windows
2.24 Documentation updates
2.25 libnistcd (a.k.a. libcd) now built internally for -dev cgm
2.26 get-drv-info now changed to test-drv-info
2.27 Text clipping now enabled by default for the cairo devices
2.28 A powerful qt device driver has been implemented
2.29 The PLplot API is now accessible from Qt GUI applications
2.30 NaN / Inf support for some PLplot functions
2.31 Various bug fixes
2.32 Cairo driver improvements
2.33 PyQt changes
2.34 Color Palettes
2.35 Re-implementation of a "soft landing" when a bad/missing compiler is
detected
2.36 Make PLplot aware of LC_NUMERIC locale
2.37 Linear gradients have been implemented
2.38 Cairo Windows driver implemented
2.39 Custom axis labeling implemented
2.40 Universal coordinate transform implemented
2.41 Support for arbitrary storage of 2D user data
2.42 Font improvements
0. Tests made for release 5.9.6
See
http://www.miscdebris.net/plplot_wiki/index.php?title=Testing_PLplot#Testing_Reports
for a summary table of all testing done for PLplot-5.9.6.
1. Changes relative to PLplot 5.9.5 (the previous development release)
1.1 Make PLplot aware of LC_NUMERIC locale
For POSIX-compliant systems, locale is set globally so any external
applications or libraries that use the PLplot library or any external
libraries used by the PLplot library or PLplot device drivers could
potentially change the LC_NUMERIC locale used by PLplot to anything those
external applications and libraries choose. The principal consequence of
such choice is the decimal separator could be a comma (for some locales)
rather than the period assumed for the "C" locale. For previous versions of
PLplot a comma decimal separator would have lead to a large number of
errors, but this issue is now addressed with a side benefit that our plots
now have the capability of displaying the comma (e.g., in axis labels) for
the decimal separator for those locales which require that.
If you are not satisfied with the results for the default PLplot locale set
by external applications and libraries, then you can now choose the
LC_NUMERIC locale for PLplot by (a) specifying the new -locale command-line
option for PLplot (if you do not specify that option, a default locale is
chosen depending on applications and libraries external to PLplot (see
comments above), and (b) setting an environment variable (LC_ALL,
LC_NUMERIC, or LANG on Linux, for example) to some locale that has been
installed on your system. On Linux, to find what locales are installed, use
the "locale -a" option. The "C" locale is always installed, but usually
there is also a principal locale that works on a platform such as
en_US.UTF8, nl_NL.UTF8, etc. Furthermore, it is straightforward to build
and install any additional locale you desire. (For example, on Debian Linux
you do that by running "dpkg-reconfigure locales".)
Normally, users will not use the -locale option since the period
decimal separator that you get for the normal LC_NUMERIC default "C"
locale used by external applications and libraries is fine for their needs.
However, if the resulting decimal separator is not what the user
wants, then they would do something like the following to (a) use a period
decimal separator for command-line input and plots:
LC_ALL=C examples/c/x09c -locale -dev psc -o test.psc -ori 0.5
or (b) use a comma decimal separator for command-line input and plots:
LC_ALL=nl_NL.UTF8 examples/c/x09c -locale -dev psc -o test.psc -ori 0,5
N.B. in either case if the wrong separator is used for input (e.g., -ori 0,5
in the first case or -ori 0.5 in the second) the floating-point conversion
(using atof) is silently terminated at the wrong separator for the locale,
i.e., the fractional part of the number is silently dropped. This is
obviously not ideal, but on the other hand there are relatively few
floating-point command-line options for PLplot, and we also expect those who
use the -locale option to specifically ask for a given separator for plots
(e.g., axis labels) will then use it for command-line input of
floating-point values as well.
Certain critical areas of the PLplot library (e.g., our colour palette file
reading routines and much of the code in our device drivers) absolutely
require a period for the decimal separator. We now protect those critical
areas by saving the normal PLplot LC_NUMERIC locale (established with the
above -locale option or by default by whatever is set by external
applications or libraries), setting the LC_NUMERIC "C" locale, executing the
critical code, then restoring back to the normal PLplot LC_NUMERIC locale.
Previous versions of PLplot did not have this protection of the critical
areas so were vulnerable to default LC_NUMERIC settings of external
applications that resulted in a comma decimal separator that did not work
correctly for the critical areas.
1.2 Linear gradients have been implemented
The new plgradient routine draws a linear gradient (based on the
current colour map 1) at a specified angle with the x axis for a
specified polygon. Standard examples 25 and 30 now demonstrate use of
plgradient. Some devices use a software fallback to render the
gradient. This fallback is implemented with plshades which uses a
series of rectangles to approximate the gradient. Tiny alignment
issues for those rectangles relative to the pixel grid may look
problematic for transparency gradients. To avoid that issue, we try
to use native gradient capability whenever that is possible for any of
our devices. Currently, this has been implemented for our svg, qt,
and cairo devices. The result is nice-looking smooth transparency
gradients for those devices, for, e.g., example 30, page 2.
1.3 Cairo Windows driver implemented
A cairo Windows driver has been implemented. This provides an
interactive cairo driver for Windows similar to xcairo on Linux.
Work to improve its functionality is ongoing.
1.4 Custom axis labeling implemented
Axis text labels can now be customized using the new plslabelfunc function.
This allows a user to specify what text should be draw at a given position
along a plot axis. Example 19 has been updated to illustrate this function's
use through labeling geographic coordinates in degrees North, South, East and
West.
1.5 Universal coordinate transform implemented
A custom coordinate transformation function can be set using plstransform.
This transformation function affects all subsequent plot function calls which
work with plot window coordinates. Testing and refinement of this support is
ongoing.
1.6 Support for arbitrary storage of 2D user data
This improvement courtesy of David MacMahon adds support for arbitrary
storage of 2D user data. This is very similar to the technique employed
by some existing functions (e.g. plfcont and plfshade) that use "evaluator"
functions to access 2D user data that is stored in an arbtrary format.
The new approach extends the concept of a user-supplied (or predefined)
"evaluator" function to a group of user-supplied (or predefined) "operator"
functions. The operator functions provide for various operations on the
arbitrarily stored 2D data including: get, set, +=, -=, *=, /=, isnan,
minmax, and f2eval.
To facilitate the passing of an entire family of operator functions (via
function pointers), a plf2ops_t structure is defined to contain a
pointer to each type of operator function. Predefined operator
functions are defined for several common 2D data storage techniques.
Variables (of type plf2ops_t) containing function pointers for these
operator functions are also defined.
New variants of functions that accept 2D data are created. The new
variants accept the 2D data as two parameters: a pointer to a plf2ops_t
structure containing (pointers to) suitable operator functions and a
PLPointer to the actual 2D data store. Existing functions that accept
2D data are modified to simply pass their parameters to the
corresponding new variant of the function, along with a pointer to the
suitable predefined plf2ops_t stucture of operator function pointers.
The list of functions for which new variants are created is:
c_plimage, c_plimagefr, c_plmesh, c_plmeshc, c_plot3d, c_plot3dc,
c_plot3dcl, c_plshade1, c_plshades, c_plsurf3d, and c_plsurf3dl, and
c_plgriddata. The new variants are named the same as their
corresponding existing function except that the "c_" prefix is changed
to "plf" (e.g. the new variant of c_plmesh is called plfmesh).
Adds plfvect declaration to plplot.h and changes the names (and only the
names) of some plfvect arguments to make them slightly clearer. In
order to maintain backwards API compatibility, this function and the
other existing functions that use "evaluator" functions are NOT changed
to use the new operator functions.
Makes plplot.h and libplplot consistent vis-a-vis pltr0f and pltr2d.
Moves the definitions of pltr2f (already declared in plplot.h) from the
sccont.c files of the FORTRAN 77 and Fortran 95 bindings into plcont.c.
Removes pltr0f declaration from plplot.h.
Changes x08c.c to demonstrate use of new support for arbitrary storage
of 2D data arrays. Shows how to do surface plots with the following
four types of 2D data arrays:
1) PLFLT z[nx][ny];
2) PLfGrid2 z;
3) PLFLT z[nx*ny]; /* row major order */
4) PLFLT z[nx*ny]; /* column major order */
1.7 Font improvements
We have added the underscore to the Hershey glyphs (thanks to David
MacMahon) and slightly rearranged the ascii index to the Hershey
indices so that plpoin now generates the complete set of printable
ascii characters in the correct order for the Hershey fonts (and therefore
the Type1 and TrueType fonts as well).
We have improved how we access TrueType and Type1 fonts via the Hershey
font index (used by plpoin, plsym, and the Hershey escape sequences in pl*tex
commands). We have added considerably to the Hershey index to Unicode index
translation table both for the compact and extended Hershey indexing scheme,
and we have adopted the standard Unicode to Type1 index translation tables
from http://unicode.org/Public/MAPPINGS/VENDORS/ADOBE/.
We have also dropped the momentary switch to symbol font that was
implemented in the PLplot core library. That switch was designed to partially
compensate for the lack of symbol glyphs in the standard Type1 fonts. That
was a bad design because it affected TrueType font devices as well as
the desired Type1 font devices. To replace this bad idea we now
change from Type1 standard fonts to the Type1 Symbol font (and vice
versa) whenever there is a glyph lookup failure in the Type1 font
device drivers (ps and pdf).
2. Changes relative to PLplot 5.8.0 (the previous stable release)
2.1 All autotools-related files have now been removed
CMake is now the only supported build system. It has been tested on
Linux / Unix, Mac OS-X and Windows platforms.
2.2 Build system bug fixes
Various fixes include the following:
Ctest will now work correctly when the build tree path includes symlinks.
Dependencies for swig generated files fixed so they are not rebuilt every
time make is called.
Various dependency fixes to ensure that parallel builds (using make -j)
work under unix.
2.3 Build system improvements
We now transform link flag results delivered to the CMake environment by
pkg-config into the preferred CMake form of library information. The
practical effect of this improvement is that external libraries in
non-standard locations now have their rpath options set correctly for our
build system both for the build tree and the install tree so you don't have
to fiddle with LD_LIBRARY_PATH, etc.
2.4 Implement build-system infrastructure for installed Ada bindings and
examples
Install source files, library information files, and the plplotada library
associated with the Ada bindings. Configure and install the pkg-config file
for the plplotada library. Install the Ada examples and a configured Makefile
to build them in the install tree.
2.5 Code cleanup
The PLplot source code has been cleaned up to make consistent use of
(const char *) and (char *) throughout. Some API functions have changed
to use const char * instead of char * to make it clear that the strings
are not modified by the function. The C and C++ examples have been updated
consistent with this. These changes fix a large number of warnings
with gcc-4.2. Note: this should not require programs using PLplot to be
recompiled as it is not a binary API change.
There has also been some cleanup of include files in the C++ examples
so the code will compile with the forthcoming gcc-4.3.
2.6 Date / time labels for axes
PLplot now allows date / time labels to be used on axes. A new option
('d') is available for the xopt and yopt arguments to plbox which
indicates that the axis should be interpreted as a date / time. Similarly
there is a new range of options for plenv to select date / time labels.
The time format is seconds since the epoch (usually 1 Jan 1970). This
format is commonly used on most systems. The C gmtime routine can be
used to calculate this for a given date and time. The format for the
labels is controlled using a new pltimefmt function, which takes a
format string. All formatting is done using the C strftime function.
See documentation for available options on your platform. Example 29
demonstrates the new capabilities.
N.B. Our reliance on C library POSIX time routines to (1) convert from
broken-down time to time-epoch, (2) to convert from time-epoch to
broken-down time, and (3) to format results with strftime have proved
problematic for non-C languages which have time routines of variable
quality. Also, it is not clear that even the POSIX time routines are
available on Windows. So we have plans afoot to implement high-quality
versions of (1), (2), and (3) with additional functions to get/set the epoch
in the PLplot core library itself. These routines should work on all C
platforms and should also be uniformly accessible for all our language
bindings.
WARNING..... Therefore, assuming these plans are implemented, the present
part of our date/time PLplot API that uses POSIX time routines will be
changed.
2.7 Alpha value support
PLplot core has been modified to support a transparency or alpha value
channel for each color in color map 0 and 1. In addition a number of new
functions were added the PLplot API so that the user can both set and query
alpha values for color in the two color maps. These functions have the same
name as their non-alpha value equivalents, but with a an "a" added to the
end. Example 30 demonstrates some different ways to use these functions
and the effects of alpha values, at least for those drivers that support alpha
values. This change should have no effect on the device drivers that do not
currently support alpha values. Currently only the cairo, qt, gd, wxwidgets and
aquaterm drivers support alpha values. There are some limitations with the gd
driver due to transparency support in the underlying libgd library.
2.8 New PLplot functions
An enhanced version of plimage, plimagefr has been added. This allows images
to be plotted using coordinate transformation, and also for the dynamic range
of the plotted values to be altered. Example 20 has been modified to
demonstrate this new functionality.
To ensure consistent results in example 21 between different platforms and
language bindings PLplot now includes a small random number generator within
the library. plrandd will return a PLFLT random number in the range 0.0-1.0.
plseed will allow the random number generator to be seeded.
2.9 External libLASi library improvements affecting our psttf device
Our psttf device depends on the libLASi library. libLASi-1.1.0 has just been
released at http://sourceforge.net/svn/?group_id=187113 . We recommend
using this latest version of libLASi for building PLplot and the psttf
device since this version of libLASi is more robust against glyph
information returned by pango/cairo/fontconfig that on rare occasions is not
suitable for use by libLASi.
2.10 Improvements to the cairo driver family
Jonathan Woithe improved the xcairo driver so that it can optionally be
used with an external user supplied X Drawable. This enables a nice
separation of graphing (PLplot) and window management (Gtk, etc..). Doug
Hunt fixed the bugs that broke the memcairo driver and it is now fully
functional. Additionally, a new extcairo driver was added that will plot
into a user supplied cairo context.
2.11 wxWidgets driver improvements
Complete reorganization of the driver code. A new backend was added, based
on the wxGraphicsContext class, which is available for wxWidgets 2.8.4
and later. This backend produces antialized output similar to the
AGG backend but has no dependency on the AGG library. The basic wxDC
backend and the wxGraphicsContext backend process the text output
on their own, which results in much nicer plots than with the standard
Hershey fonts and is much faster than using the freetype library. New
options were introduced in the wxWidgets driver:
- backend: Choose backend: (0) standard, (1) using AGG library,
(2) using wxGraphicsContext
- hrshsym: Use Hershey symbol set (hrshsym=0|1)
- text: Use own text routines (text=0|1)
- freetype: Use FreeType library (freetype=0|1)
The option "text" changed its meaning, since it enabled the FreeType library
support, while now the option enables the driver's own text routines.
Some other features were added:
* the wxWidgets driver now correctly clears the background (or parts of it)
* transparency support was added
* the "locate mode" (already available in the xwin and tk driver) was
implemented, where graphics input events are processed and translated
to world coordinates
2.12 pdf driver improvements
The pdf driver (which is based on the haru library http://www.libharu.org)
processes the text output now on its own. So far only the Adobe Type1
fonts are supported. TrueType font support will follow. Full unicode
support will follow after the haru library will support unicode strings. The
driver is now able to produce A4, letter, A5 and A3 pages. The Hershey font
may be used only for symbols. Output can now be compressed, resulting in
much smaller file sizes.
Added new options:
- text: Use own text routines (text=0|1)
- compress: Compress pdf output (compress=0|1)
- hrshsym: Use Hershey symbol set (hrshsym=0|1)
- pagesize: Set page size (pagesize=A4|letter|A3|A5)
2.13 svg driver improvements
This device driver has had the following improvements: schema for generated
file now validates properly at http://validator.w3.org/ for the
automatically detected document type of SVG 1.1; -geometry option now works;
alpha channel transparency has been implemented; file familying for
multipage examples has been implemented; coordinate scaling has been
implemented so that full internal PLplot resolution is used; extraneous
whitespace and line endings that were being injected into text in error have
now been removed; and differential correction to string justification is now
applied.
The result of these improvements is that our SVG device now gives the
best-looking results of all our devices. However, currently you must be
careful of which SVG viewer or editor you try because a number of them have
some bugs that need to be resolved. For example, there is a librsvg bug in
text placement (http://bugzilla.gnome.org/show_bug.cgi?id=525023) that
affects all svg use within GNOME as well as the ImageMagick "display"
application. However, at least the latest konqueror and firefox as well as
inkscape and scribus-ng (but not scribus!) give outstanding looking results
for files generated by our svg device driver.
2.14 Ada language support
We now have a complete Ada bindings implemented for PLplot. We also have a
complete set of our standard examples implemented in Ada which give results
that are identical with corresponding results for the C standard examples.
This is an excellent test of a large subset of the Ada bindings. We now
enable Ada by default for our users and request widespread testing of this
new feature.
2.15 OCaml language support
Thanks primarily to Hezekiah M. Carty's efforts we now have a complete OCaml
bindings implemented for PLplot. We also have a complete set of our standard
examples implemented in OCaml which give results that are identical with
corresponding results for the C standard examples. This is an excellent test
of a large subset of the OCaml bindings. We now enable OCaml by default for
our users and request widespread testing of this new feature.
2.16 Perl/PDL language support
Thanks to Doug Hunt's efforts the external Perl/PDL module,
PDL::Graphics::PLplot version 0.46 available at
http://search.cpan.org/dist/PDL-Graphics-PLplot has been brought up to date
to give access to recently added PLplot API. The instructions for how to
install this module on top of an official PDL release are given in
examples/perl/README.perldemos. Doug has also finished implementing a
complete set of standard examples in Perl/PDL which are part of PLplot and
which produce identical results to their C counterparts if the above updated
module has been installed. Our build system tests the version of
PDL::Graphics::PLplot that is available, and if it is not 0.46 or later, the
list of Perl/PDL examples that are run as part of our standard tests is
substantially reduced to avoid examples that use the new functionality. In
sum, if you use PDL::Graphics::PLplot version 0.46 or later the full
complement of PLplot commands is available to you from Perl/PDL, but
otherwise not.
2.17 Updates to various language bindings
A concerted effort has been made to bring all the language bindings up to
date with recently added functions. Ada, C++, f77, f95, Java, OCaml, Octave,
Perl/PDL, Python, and Tcl now all support the common PLplot API (with the
exception of the mapping functions which are not yet implemented for all
bindings due to technical issues.) This is a significant step forward for
those using languages other than C.
2.18 Updates to various examples
To help test the updates to the language bindings the examples have been
thoroughly checked. Ada, C, C++, f77, f95, and OCaml now contain a full set
of non-interactive tests (examples 1-31 excluding 14 and 17). Java, Octave,
Python and Tcl are missing example 19 because of the issue with the mapping
functions. The examples have also been checked to ensure consistent results
between different language bindings. Currently there are still some minor
differences in the results for the tcl examples, probably due to rounding
errors. Some of the Tcl examples (example 21) require Tcl version 8.5 for
proper support for NaNs.
Also new is an option for the plplot_test.sh script to run the examples
using a debugging command. This is enabled using the --debug option. The
default it to use the valgrind memory checker. This has highlighted at
least one memory leaks in PLplot which have been fixed. It is not part
of the standard ctest tests because it can be _very_ slow for a complete
set of language bindings and device drivers.
2.19 Extension of our test framework
The standard test suite for PLplot now carries out a comparison of the
stdout output (especially important for example 31 which tests most of our
set and get functions) and PostScript output for different languages as a
check. Thanks to the addition of example 31, the inclusion of examples 14
and 17 in the test suite and other recent extensions of the other
examples we now have rigourous testing in place for almost the entirety
of our common API. This extensive testing framework has already helped
us track down a number of bugs, and it should make it much easier for us
to maintain high quality for our ongoing PLplot releases.
2.20 Rename test subdirectory to plplot_test
This change was necessary to quit clashing with the "make test" target which
now works for the first time ever (by executing ctest).
2.21 Website support files updated
Our new website content is generated with PHP and uses CSS (cascaded style
sheets) to implement a consistent style. This new approach demanded lots of
changes in the website support files that are used to generate and upload
our website and which are automatically included with the release.
2.22 Internal changes to function visibility
The internal definitions of functions in PLplot have been significantly
tidied up to allow the use of the -fvisibility=hidden option with newer
versions of gcc. This prevents internal functions from being exported
to the user where possible. This extends the existing support for this
on windows.
2.23 Dynamic driver support in Windows
An interface based on the ltdl library function calls was established
which allows to open and close dynamic link libraries (DLL) during
run-time and call functions from these libraries. As a consequence
drivers can now be compiled into single DLLs separate from the core
PLplot DLL also in Windows. The cmake option ENABLE_DYNDRIVERS is now
ON by default for Windows if a shared PLplot library is built.
2.24 Documentation updates
The DocBook documentation has been updated to include many of the
C-specific functions (for example plAlloc2dGrid) which are not part
of the common API, but are used in the examples and may be helpful
for PLplot users.
2.25 libnistcd (a.k.a. libcd) now built internally for -dev cgm
CGM format is a long-established (since 1987) open standard for vector
graphics that is supported by w3c (see http://www.w3.org/Graphics/WebCGM/).
PLplot has long had a cgm device driver which depended on the (mostly)
public domain libcd library that was distributed in the mid 90's by National
Institute of Standards and Technology (NIST) and which is still available
from http://www.pa.msu.edu/ftp/pub/unix/cd1.3.tar.gz. As a convenience
to our -dev cgm users, we have brought that
source code in house under lib/nistcd and now build libnistcd routinely
as part of our ordinary builds. The only changes we have made to the
cd1.3 source code is visibility changes in cd.h and swapping the sense of
the return codes for the test executables so that 0 is returned on success
and 1 on failure. If you want to test libnistcd on your platform,
please run
make test_nistcd
in the top-level build tree. (That tests runs all the test executables
that are built as part of cd1.3 and compares the results that are generated
with the *.cgm files that are supplied as part of cd1.3.)
Two applications that convert and/or display CGM results on Linux are
ralcgm (which is called by the ImageMagick convert and display applications)
and uniconvertor.
Some additional work on -dev cgm is required to implement antialiasing and
non-Hershey fonts, but both those should be possible using libnistcd according
to the text that is shown by lib/nistcd/cdtext.cgm and lib/nistcd/cdexp1.cgm.
2.26 get-drv-info now changed to test-drv-info
To make cross-building much easier for PLplot we now configure the *.rc
files that are used to describe our various dynamic devices rather than
generating the required *.rc files with get-drv-info. We have changed the
name of get-drv-info to test-drv-info. That name is more appropriate
because that executable has always tested dynamic loading of the driver
plug-ins as well as generating the *.rc files from the information gleaned
from that dynamic loading. Now, we simply run test-drv-info as an option
(defaults to ON unless cross-building is enabled) and compare the resulting
*.rc file with the one configured by cmake to be sure the dynamic device
has been built correctly.
2.27 Text clipping now enabled by default for the cairo devices
When correct text clipping was first implemented for cairo devices, it was
discovered that the libcairo library of that era (2007-08) did that clipping
quite inefficiently so text clipping was disabled by default. Recent tests
of text clipping for the cairo devices using libcairo 1.6.4 (released in
2008-04) shows text clipping is quite efficient now. Therefore, it is now
enabled by default. If you notice a significant slowdown for some libcairo
version prior to 1.6.4 you can use the option -drvopt text_clipping=0 for
your cairo device plots (and accept the improperly clipped text results that
might occur with that option). Better yet, use libcairo 1.6.4 or later.
2.28 A powerful qt device driver has been implemented
Thanks to the efforts of Alban Rochel of the QSAS team, we now have a new qt
device driver which delivers the following 9 (!) devices: qtwidget, bmpqt,
jpgqt, pngqt, ppmqt, tiffqt, epsqt, pdfqt, and svgqt. qtwidget is an
elementary interactive device where, for now, the possible interactions
consist of resizing the window and right clicking with the mouse (or hitting
<return> to be consistent with other PLplot interactive devices) to control
paging. The qtwidget overall size is expressed in pixels. bmpqt, jpgqt,
pngqt, ppmqt, and tiffqt are file devices whose overall sizes are specified
in pixels and whose output is BMP (Windows bitmap), JPEG, PNG, PPM (portable
pixmap), and TIFF (tagged image file format) formatted files. epsqt, pdfqt,
svgqt are file devices whose overall sizes are specified in points (1/72 of
an inch) and whose output is EPS (encapsulated PostScript), PDF, and SVG
formatted files. The qt device driver is based on the powerful facilities
of Qt4 so all qt devices implement variable opacity (alpha channel) effects
(see example 30). The qt devices also use system unicode fonts, and deal
with CTL (complex text layout) languages automatically without any
intervention required by the user. (To show this, try qt device results
from examples 23 [mathematical symbols] and 24 [CTL languages].)
Our exhaustive Linux testing of the qt devices (which consisted of detailed
comparisons for all our standard examples between qt device results and the
corresponding cairo device results) indicates this device driver is mature,
but testing on other platforms is requested to confirm that maturity. Qt-4.5
(the version we used for most of our tests) has some essential SVG
functionality so we recommend that version (downloadable from
http://www.qtsoftware.com/downloads for Linux, Mac OS X, and Windows) for
svgqt. One of our developers found that pdfqt was orders of magnitude
slower than the other qt devices for Qt-4.4.3 on Ubuntu 8.10 installed on a
64 bit box. That problem was completely cured by moving to the downloadable
Qt-4.5 version. However, we have also had good Qt-4.4.3 pdfqt reports on
other platforms. One of our developers also found that all first pages of
examples were black for just the qtwidget device for Qt-4.5.1 on Mac OS X.
From the other improvements we see in Qt-4.5.1 relative to Qt-4.4.3 we
assume this black first page for qtwidget problem also exists for Qt-4.4.3,
but we haven't tested that combination.
In sum, Qt-4.4.3 is worth trying if it is already installed on your machine,
but if you run into any difficulty with it please switch to Qt-4.5.x (once
Qt-4.5.x is installed all you have to do is to put the 4.5.x version of
qmake in your path, and cmake does the rest). If the problem persists for
Qt-4.5, then it is worth reporting a qt bug.
2.29 The PLplot API is now accessible from Qt GUI applications
This important new feature has been implemented by Alban Rochel of the QSAS
team as a spin-off of the qt device driver project using the extqt device
(which constitutes the tenth qt device). See examples/c++/README.qt_example
for a brief description of a simple Qt example which accesses the PLplot API
and which is built in the installed examples tree using the pkg-config
approach. Our build system has been enhanced to configure the necessary
plplotd-qt.pc file.
2.30 NaN / Inf support for some PLplot functions
Some PLplot now correctly handle Nan or Inf values in the data to be plotted.
Line plotting (plline etc) and image plotting (plimage, plimagefr) will
now ignore NaN / Inf values. Currently some of the contour plotting / 3-d
routines do not handle NaN / Inf values. This functionality will
depend on whether the language binding used supports NaN / Inf values.
2.31 Various bug fixes
Various bugs in the 5.9.3 release have been fixed including:
- Include missing file needed for the aqt driver on Mac OS X
- Missing library version number for nistcd
- Fixes for the qt examples with dynamic drivers disabled
- Fixes to several tcl examples so they work with plserver
- Fix pkg-config files to work correctly with Debug / Release build types set
- Make fortran command line argument parsing work with shared libraries on Windows
2.32 Cairo driver improvements
Improvements to the cairo driver to give better results for bitmap
formats when used with anti-aliasing file viewers.
2.33 PyQt changes
Years ago we got a donation of a hand-crafted pyqt3 interface to PLplot
(some of the functions in plplot_widgetmodule.c in bindings/python) and a
proof-of-concept example (prova.py and qplplot.py in examples/python), but
this code did not gain any developer interest and was therefore not
understood or maintained. Recently one of our core developers has
implemented a sip-generated pyqt4 interface to PLplot (controlled by
plplot_pyqt4.sip in bindings/qt_gui/pyqt4) that builds without problems as a
python extension module, and a good-looking pyqt4 example (pyqt4_example.py
in examples/python) that works well. Since this pyqt4 approach is
maintained by a PLplot developer it appears to have a good future, and we
have therefore decided to concentrate on pyqt4 and remove the pyqt3 PLplot
interface and example completely.
2.34 Color Palettes
Support has been added to PLplot for user defined color palette files.
These files can be loaded at the command line using the -cmap0 or
-cmap1 commands, or via the API using the plspal0 and plspal1 commands.
The commands cmap0 / plspal0 are used to load cmap0 type files which
specify the colors in PLplot's color table 0. The commands cmap1 /
plspal1 are used to load cmap1 type files which specify PLplot's color
table 1. Examples of both types of files can be found in either the
plplot-source/data directory or the PLplot installed directory
(typically /usr/local/share/plplotx.y.z/ on Linux).
2.35 Reimplementation of a "soft landing" when a bad/missing compiler is
detected
The PLplot core library is written in C so our CMake-based build system will
error out if it doesn't detect a working C compiler. However all other
compiled languages (Ada, C++, D, Fortran, Java, and OCaml) we support are
optional. If a working compiler is not available, we give a "soft landing"
(give a warning message, disable the optional component, and keep going).
The old implementation of the soft landing was not applied consistently (C++
was unnecessarily mandatory before) and also caused problems for ccmake (a
CLI front-end to the cmake application) and cmake-gui (a CMake GUI front-end
to the cmake application) which incorrectly dropped languages as a result
even when there was a working compiler.
We now have completely reimplemented the soft landing logic. The result
works well for cmake, ccmake, and cmake-gui. The one limitation of this new
method that we are aware of is it only recognizes either the default
compiler chosen by the generator or else a compiler specified by the
environment variable approach (see Official Notice XII above). Once CMake
bug 9220 has been fixed (so that the OPTIONAL signature of the
enable_language command actually works without erroring out), then our
soft-landing approach (which is a workaround for bug 9220) will be replaced
by the OPTIONAL signature of enable_language, and all CMake methods of
specifying compilers and compiler options will automatically be recognized
as a result.
2.36 Make PLplot aware of LC_NUMERIC locale
For POSIX-compliant systems, locale is set globally so any external
applications or libraries that use the PLplot library or any external
libraries used by the PLplot library or PLplot device drivers could
potentially change the LC_NUMERIC locale used by PLplot to anything those
external applications and libraries choose. The principal consequence of
such choice is the decimal separator could be a comma (for some locales)
rather than the period assumed for the "C" locale. For previous versions of
PLplot a comma decimal separator would have lead to a large number of
errors, but this issue is now addressed with a side benefit that our plots
now have the capability of displaying the comma (e.g., in axis labels) for
the decimal separator for those locales which require that.
If you are not satisfied with the results for the default PLplot locale set
by external applications and libraries, then you can now choose the
LC_NUMERIC locale for PLplot by (a) specifying the new -locale command-line
option for PLplot (if you do not specify that option, a default locale is
chosen depending on applications and libraries external to PLplot (see
comments above), and (b) setting an environment variable (LC_ALL,
LC_NUMERIC, or LANG on Linux, for example) to some locale that has been
installed on your system. On Linux, to find what locales are installed, use
the "locale -a" option. The "C" locale is always installed, but usually
there is also a principal locale that works on a platform such as
en_US.UTF8, nl_NL.UTF8, etc. Furthermore, it is straightforward to build
and install any additional locale you desire. (For example, on Debian Linux
you do that by running "dpkg-reconfigure locales".)
Normally, users will not use the -locale option since the period
decimal separator that you get for the normal LC_NUMERIC default "C"
locale used by external applications and libraries is fine for their needs.
However, if the resulting decimal separator is not what the user
wants, then they would do something like the following to (a) use a period
decimal separator for command-line input and plots:
LC_ALL=C examples/c/x09c -locale -dev psc -o test.psc -ori 0.5
or (b) use a comma decimal separator for command-line input and plots:
LC_ALL=nl_NL.UTF8 examples/c/x09c -locale -dev psc -o test.psc -ori 0,5
N.B. in either case if the wrong separator is used for input (e.g., -ori 0,5
in the first case or -ori 0.5 in the second) the floating-point conversion
(using atof) is silently terminated at the wrong separator for the locale,
i.e., the fractional part of the number is silently dropped. This is
obviously not ideal, but on the other hand there are relatively few
floating-point command-line options for PLplot, and we also expect those who
use the -locale option to specifically ask for a given separator for plots
(e.g., axis labels) will then use it for command-line input of
floating-point values as well.
Certain critical areas of the PLplot library (e.g., our colour palette file
reading routines and much of the code in our device drivers) absolutely
require a period for the decimal separator. We now protect those critical
areas by saving the normal PLplot LC_NUMERIC locale (established with the
above -locale option or by default by whatever is set by external
applications or libraries), setting the LC_NUMERIC "C" locale, executing the
critical code, then restoring back to the normal PLplot LC_NUMERIC locale.
Previous versions of PLplot did not have this protection of the critical
areas so were vulnerable to default LC_NUMERIC settings of external
applications that resulted in a comma decimal separator that did not work
correctly for the critical areas.
2.37 Linear gradients have been implemented
The new plgradient routine draws a linear gradient (based on the
current colour map 1) at a specified angle with the x axis for a
specified polygon. Standard examples 25 and 30 now demonstrate use of
plgradient. Some devices use a software fallback to render the
gradient. This fallback is implemented with plshades which uses a
series of rectangles to approximate the gradient. Tiny alignment
issues for those rectangles relative to the pixel grid may look
problematic for transparency gradients. To avoid that issue, we try
to use native gradient capability whenever that is possible for any of
our devices. Currently, this has been implemented for our svg, qt,
and cairo devices. The result is nice-looking smooth transparency
gradients for those devices, for, e.g., example 30, page 2.
2.38 Cairo Windows driver implemented
A cairo Windows driver has been implemented. This provides an
interactive cairo driver for Windows similar to xcairo on Linux.
Work to improve its functionality is ongoing.
2.39 Custom axis labeling implemented
Axis text labels can now be customized using the new plslabelfunc function.
This allows a user to specify what text should be draw at a given position
along a plot axis. Example 19 has been updated to illustrate this function's
use through labeling geographic coordinates in degrees North, South, East and
West.
2.40 Universal coordinate transform implemented
A custom coordinate transformation function can be set using plstransform.
This transformation function affects all subsequent plot function calls which
work with plot window coordinates. Testing and refinement of this support is
ongoing.
2.41 Support for arbitrary storage of 2D user data
This improvement courtesy of David MacMahon adds support for arbitrary
storage of 2D user data. This is very similar to the technique employed
by some existing functions (e.g. plfcont and plfshade) that use "evaluator"
functions to access 2D user data that is stored in an arbtrary format.
The new approach extends the concept of a user-supplied (or predefined)
"evaluator" function to a group of user-supplied (or predefined) "operator"
functions. The operator functions provide for various operations on the
arbitrarily stored 2D data including: get, set, +=, -=, *=, /=, isnan,
minmax, and f2eval.
To facilitate the passing of an entire family of operator functions (via
function pointers), a plf2ops_t structure is defined to contain a
pointer to each type of operator function. Predefined operator
functions are defined for several common 2D data storage techniques.
Variables (of type plf2ops_t) containing function pointers for these
operator functions are also defined.
New variants of functions that accept 2D data are created. The new
variants accept the 2D data as two parameters: a pointer to a plf2ops_t
structure containing (pointers to) suitable operator functions and a
PLPointer to the actual 2D data store. Existing functions that accept
2D data are modified to simply pass their parameters to the
corresponding new variant of the function, along with a pointer to the
suitable predefined plf2ops_t stucture of operator function pointers.
The list of functions for which new variants are created is:
c_plimage, c_plimagefr, c_plmesh, c_plmeshc, c_plot3d, c_plot3dc,
c_plot3dcl, c_plshade1, c_plshades, c_plsurf3d, and c_plsurf3dl, and
c_plgriddata. The new variants are named the same as their
corresponding existing function except that the "c_" prefix is changed
to "plf" (e.g. the new variant of c_plmesh is called plfmesh).
Adds plfvect declaration to plplot.h and changes the names (and only the
names) of some plfvect arguments to make them slightly clearer. In
order to maintain backwards API compatibility, this function and the
other existing functions that use "evaluator" functions are NOT changed
to use the new operator functions.
Makes plplot.h and libplplot consistent vis-a-vis pltr0f and pltr2d.
Moves the definitions of pltr2f (already declared in plplot.h) from the
sccont.c files of the FORTRAN 77 and Fortran 95 bindings into plcont.c.
Removes pltr0f declaration from plplot.h.
Changes x08c.c to demonstrate use of new support for arbitrary storage
of 2D data arrays. Shows how to do surface plots with the following
four types of 2D data arrays:
1) PLFLT z[nx][ny];
2) PLfGrid2 z;
3) PLFLT z[nx*ny]; /* row major order */
4) PLFLT z[nx*ny]; /* column major order */
2.42 Font improvements
We have added the underscore to the Hershey glyphs (thanks to David
MacMahon) and slightly rearranged the ascii index to the Hershey
indices so that plpoin now generates the complete set of printable
ascii characters in the correct order for the Hershey fonts (and therefore
the Type1 and TrueType fonts as well).
We have improved how we access TrueType and Type1 fonts via the Hershey
font index (used by plpoin, plsym, and the Hershey escape sequences in pl*tex
commands). We have added considerably to the Hershey index to Unicode index
translation table both for the compact and extended Hershey indexing scheme,
and we have adopted the standard Unicode to Type1 index translation tables
from http://unicode.org/Public/MAPPINGS/VENDORS/ADOBE/.
We have also dropped the momentary switch to symbol font that was
implemented in the PLplot core library. That switch was designed to partially
compensate for the lack of symbol glyphs in the standard Type1 fonts. That
was a bad design because it affected TrueType font devices as well as
the desired Type1 font devices. To replace this bad idea we now
change from Type1 standard fonts to the Type1 Symbol font (and vice
versa) whenever there is a glyph lookup failure in the Type1 font
device drivers (ps and pdf).
------------------------------------------------------------------------
r11057 | hbabcock | 2010-06-05 11:26:06 -0400 (Sat, 05 Jun 2010) | 1 line
Changed paths:
M /trunk/cmake/modules/plplot_version.cmake
Update version for 5.9.6 release.
------------------------------------------------------------------------
r11056 | jbauck | 2010-06-04 23:53:38 -0400 (Fri, 04 Jun 2010) | 1 line
Changed paths:
M /trunk/bindings/ada/plplot.adb.cmake
M /trunk/bindings/ada/plplot.ads.cmake
M /trunk/bindings/ada/plplot_thin.ads.cmake
M /trunk/bindings/ada/plplot_traditional.adb.cmake
M /trunk/bindings/ada/plplot_traditional.ads.cmake
M /trunk/examples/ada/x28a.adb.cmake
M /trunk/examples/ada/x29a.adb.cmake
M /trunk/examples/ada/xthick28a.adb.cmake
M /trunk/examples/ada/xthick29a.adb.cmake
Update Ada examples 28 and 29 and the Ada bindings for new time-calculation functionality. Postscript matches C output.
------------------------------------------------------------------------
r11055 | airwin | 2010-06-04 16:08:11 -0400 (Fri, 04 Jun 2010) | 2 lines
Changed paths:
M /trunk/www/examples.php
Update to the correct number of pages for examples 25 and 29 on our website.
------------------------------------------------------------------------
r11054 | airwin | 2010-06-04 14:08:32 -0400 (Fri, 04 Jun 2010) | 9 lines
Changed paths:
M /trunk/doc/docbook/src/ada.xml
Make Jerry's recent changes validate. In all cases, the validation issues
involved special characters which are not acceptable to DocBook 4.5. In the
horizontal ellipsis case, I converted to the equivalent unicode numerical
entity. There was also a special character that looked like a hyphen that
caused a lot of trouble throughout the text. In cases where it made sense,
I replaced that by an ordinary ascii hyphen. In other cases (e.g. URL
annotations) I just simplified the text to avoid the character.
------------------------------------------------------------------------
r11053 | airwin | 2010-06-04 14:02:11 -0400 (Fri, 04 Jun 2010) | 4 lines
Changed paths:
M /trunk/cmake/modules/docbook.cmake
Move from the dated DocBook 4.2 standard to DocBook 4.5. I double-checked
that even Ubuntu Hardy has access to DocBook 4.5 so this change should be
no problem for Hazen's Ubuntu Intrepid system.
------------------------------------------------------------------------
r11052 | jbauck | 2010-06-03 21:07:14 -0400 (Thu, 03 Jun 2010) | 1 line
Changed paths:
M /trunk/doc/docbook/src/ada.xml
Update Ada documentation.
------------------------------------------------------------------------
r11051 | jbauck | 2010-06-03 19:52:13 -0400 (Thu, 03 Jun 2010) | 1 line
Changed paths:
M /trunk/bindings/ada/plplot.adb.cmake
M /trunk/bindings/ada/plplot.ads.cmake
M /trunk/bindings/ada/plplot_thin.ads.cmake
M /trunk/bindings/ada/plplot_traditional.adb.cmake
M /trunk/bindings/ada/plplot_traditional.ads.cmake
M /trunk/examples/ada/x19a.adb.cmake
M /trunk/examples/ada/xthick19a.adb.cmake
Update Ada bindings and examples 19 for custom coordinate transforms.
------------------------------------------------------------------------
r11050 | airwin | 2010-06-01 22:52:32 -0400 (Tue, 01 Jun 2010) | 13 lines
Changed paths:
M /trunk/drivers/qt.cpp
Change back to a full GUI setup for all noninteractive qt devices.
There are two reasons for this change. (1) The non GUI setup for
noninteractive qt devices did not help to solve Hazen's current hang issue
for qt noninteractive devices. (2) Usually a non-GUI setup for the
noninteractive qt devices is fine, but for the special case of multistream use
where the first stream uses a noninteractive qt device and a subsequent
stream uses an interactive (qtwidget) qt device you must have a full GUI
setup for the initial noninteractive qt device. The reason is the first
stream to use a qt device creates the QApplication object and all others
make use of it. (Thanks to Andrew Ross for help with this summary).
------------------------------------------------------------------------
r11049 | airwin | 2010-06-01 11:41:33 -0400 (Tue, 01 Jun 2010) | 2 lines
Changed paths:
M /trunk/bindings/d/plplot.d
M /trunk/drivers/cairo.c
M /trunk/examples/d/x06d.d
M /trunk/examples/d/x07d.d
M /trunk/examples/d/x19d.d
M /trunk/src/plctrl.c
Style recent changes.
------------------------------------------------------------------------
r11048 | jbauck | 2010-06-01 05:03:53 -0400 (Tue, 01 Jun 2010) | 1 line
Changed paths:
M /trunk/examples/ada/x06a.adb.cmake
M /trunk/examples/ada/x07a.adb.cmake
M /trunk/examples/ada/xthick06a.adb.cmake
M /trunk/examples/ada/xthick07a.adb.cmake
Update Ada examples 6 and 7 to match changes in C examples of around 2010 April.
------------------------------------------------------------------------
r11047 | andrewross | 2010-06-01 04:49:36 -0400 (Tue, 01 Jun 2010) | 5 lines
Changed paths:
M /trunk/drivers/cairo.c
M /trunk/drivers/cgm.c
M /trunk/drivers/gd.c
M /trunk/drivers/hpgl.c
M /trunk/drivers/impress.c
M /trunk/drivers/ljii.c
M /trunk/drivers/ljiip.c
M /trunk/drivers/pbm.c
M /trunk/drivers/pdf.c
M /trunk/drivers/ps.c
M /trunk/drivers/pstex.c
M /trunk/drivers/psttf.cc
M /trunk/drivers/qt.cpp
M /trunk/drivers/svg.c
M /trunk/drivers/tek.c
M /trunk/drivers/tk.c
M /trunk/drivers/xfig.c
M /trunk/include/plstrm.h
M /trunk/src/plctrl.c
Add internal plCloseFile function, in analog to plOpenFile - this will
close the output file unless the output is to stdout. Update drivers to i
use this new function.
------------------------------------------------------------------------
r11046 | airwin | 2010-05-31 15:49:08 -0400 (Mon, 31 May 2010) | 6 lines
Changed paths:
M /trunk/drivers/xwin.c
M /trunk/include/plxwd.h
Temporarily revert Hazen's recent improvement to xwin so that -dev tk
will work again. The issue here is that -dev tk uses code from xwin.c
so that additional changes have to be made to -dev tk to be consistent
with Hazen's changes to -dev xwin.
------------------------------------------------------------------------
r11045 | airwin | 2010-05-31 15:46:51 -0400 (Mon, 31 May 2010) | 10 lines
Changed paths:
M /trunk/examples/tcl/x01
M /trunk/examples/tcl/x01.tcl
Put call to plinit in x01 while replacing plstar (which internally calls the
equivalent of plinit) with plssub in x01.tcl. This fix allows
test_tk_standard_examples (a dependency of the test_interactive target) to
work again since tkdemos.tcl (run indirectly by test_tk_standard_examples)
assumes no plinit-like commands are in x??.tcl.
This fix has also been tested with test_diff_psc and the standalone run
of x01 is still consistent with its C counterpart.
------------------------------------------------------------------------
r11044 | airwin | 2010-05-31 13:31:25 -0400 (Mon, 31 May 2010) | 2 lines
Changed paths:
M /trunk/scripts/test_bisect.sh
Modify to search for test_tk_standard_examples regression.
------------------------------------------------------------------------
r11043 | airwin | 2010-05-31 11:01:09 -0400 (Mon, 31 May 2010) | 3 lines
Changed paths:
M /trunk/examples/tcl/x03
M /trunk/examples/tcl/x03.tcl
Revert recent example 3 change for Tcl because it lead to inconsistency
with corresponding C example.
------------------------------------------------------------------------
r11042 | arjenmarkus | 2010-05-31 04:55:52 -0400 (Mon, 31 May 2010) | 2 lines
Changed paths:
M /trunk/examples/tcl/x01
M /trunk/examples/tcl/x01.tcl
M /trunk/examples/tcl/x03
M /trunk/examples/tcl/x03.tcl
M /trunk/examples/tcl/x16
M /trunk/examples/tcl/x16.tcl
Moving commands into the procedure that implement the example, so that chaining them in the standard_examples script becomes simpler.
This can not be done for example x16, as then we get differences in the PostScript output wrt the C version.
------------------------------------------------------------------------
r11041 | hbabcock | 2010-05-30 20:46:56 -0400 (Sun, 30 May 2010) | 1 line
Changed paths:
M /trunk/drivers/xwin.c
M /trunk/include/plxwd.h
Change xwin driver to not call plexit() when the window is closed by clicking on the close box. Instead all subsequent plotting commands sent to the stream are ignored.
------------------------------------------------------------------------
r11040 | airwin | 2010-05-30 20:04:33 -0400 (Sun, 30 May 2010) | 4 lines
Changed paths:
M /trunk/examples/perl/x14.pl
Make Perl/PDL example 14 produce identical (stdout) results to the
corresponding C example.
------------------------------------------------------------------------
r11039 | airwin | 2010-05-30 19:54:15 -0400 (Sun, 30 May 2010) | 3 lines
Changed paths:
M /trunk/examples/perl/x28.pl
Make Perl/PDL example 28 produce identical results to the corresponding C
example.
------------------------------------------------------------------------
r11038 | airwin | 2010-05-30 18:21:58 -0400 (Sun, 30 May 2010) | 4 lines
Changed paths:
M /trunk/examples/perl/x07.pl
Make Perl/PDL example 7 produce identical results to the corresponding C
example.
------------------------------------------------------------------------
r11037 | airwin | 2010-05-30 18:05:09 -0400 (Sun, 30 May 2010) | 3 lines
Changed paths:
M /trunk/examples/perl/x06.pl
Make Perl/PDL example 6 produce identical results to the corresponding C
example.
------------------------------------------------------------------------
r11036 | hbabcock | 2010-05-30 12:02:31 -0400 (Sun, 30 May 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Add a closed flag to the stream for the cairo driver. If the stream is closed then we don't do any plotting.
------------------------------------------------------------------------
r11035 | hbabcock | 2010-05-30 11:49:54 -0400 (Sun, 30 May 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Change xcairo driver so that its behavior matches that of the qtwidget driver when the window close box is clicked.
------------------------------------------------------------------------
r11034 | airwin | 2010-05-30 11:35:50 -0400 (Sun, 30 May 2010) | 8 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Maintain list of target dependencies for test_all_qt so that test does
what it says.
Add file dependencies for all dynamic devices. These are needed to insure
the dynamic devices are tested with the test-drv-info application
before use in other tests.
------------------------------------------------------------------------
r11033 | airwin | 2010-05-28 11:42:51 -0400 (Fri, 28 May 2010) | 2 lines
Changed paths:
M /trunk/PROBLEMS
Remove problems that appear to be no longer relevant.
------------------------------------------------------------------------
r11032 | andrewross | 2010-05-27 18:34:40 -0400 (Thu, 27 May 2010) | 3 lines
Changed paths:
M /trunk/examples/lua/x06.lua
M /trunk/examples/lua/x07.lua
Update lua examples 6 and 7 consistent with the C versions.
------------------------------------------------------------------------
r11031 | andrewross | 2010-05-27 18:00:14 -0400 (Thu, 27 May 2010) | 3 lines
Changed paths:
M /trunk/README.release
Fix typo (thanks for spotting it Hez!).
------------------------------------------------------------------------
r11030 | airwin | 2010-05-27 17:32:29 -0400 (Thu, 27 May 2010) | 6 lines
Changed paths:
M /trunk/examples/tk/tk04.in
Explicitly specify pltr as "NULL" for plshade argument which translates
to NULL at the C level and which is interpreted there as defining the x and
y arrays from xmin, xmax, nx and ymin, ymax, and ny. This is very different
from using pltr0 (the default user-friendly Tcl/Tk result if nothing is
specified for pltr).
------------------------------------------------------------------------
r11029 | andrewross | 2010-05-27 17:29:28 -0400 (Thu, 27 May 2010) | 3 lines
Changed paths:
M /trunk/drivers/qt.cpp
Ensure qt driver closes output files properly.
------------------------------------------------------------------------
r11028 | andrewross | 2010-05-27 15:56:43 -0400 (Thu, 27 May 2010) | 3 lines
Changed paths:
M /trunk/README.release
Add note on the problems with gdc on Ubuntu.
------------------------------------------------------------------------
r11027 | airwin | 2010-05-27 14:44:18 -0400 (Thu, 27 May 2010) | 10 lines
Changed paths:
M /trunk/drivers/qt.cpp
Drop unnecessary full GUI setup for noninteractive qt device drivers.
I have tested that this simplification still gives good noninteractive
qt device results on Linux.
This simplification should substantially lighten the load for what has to be
setup for QApplication, and may solve Hazen's issues with noninteractive
qt devices on Linux.
------------------------------------------------------------------------
r11026 | andrewross | 2010-05-27 05:56:37 -0400 (Thu, 27 May 2010) | 3 lines
Changed paths:
M /trunk/examples/tcl/x07.tcl
M /trunk/examples/tcl/x09.tcl
M /trunk/examples/tcl/x13.tcl
M /trunk/examples/tcl/x17.tcl
M /trunk/examples/tcl/x19.tcl
M /trunk/examples/tcl/x21.tcl
M /trunk/examples/tcl/x26.tcl
A load of little changes to tcl scripts to restore defaults at the end of the example. This ensures the correct results when multiple examples are run within the same plserver session (e.g. by make test_interactive).
------------------------------------------------------------------------
r11025 | andrewross | 2010-05-27 05:51:11 -0400 (Thu, 27 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
Fix tcl support for NULL argument to plstransform.
------------------------------------------------------------------------
r11024 | airwin | 2010-05-25 11:23:09 -0400 (Tue, 25 May 2010) | 6 lines
Changed paths:
M /trunk/www/corefunctions.php
For right vertical sidebar for all website pages:
add links for the project support page and the bug tracker.
remove redundant "Links" section.
------------------------------------------------------------------------
r11023 | andrewross | 2010-05-25 05:33:13 -0400 (Tue, 25 May 2010) | 3 lines
Changed paths:
M /trunk/PROBLEMS
Remove configure related problems from the PROBLEMS file. These are obsolete now we have retired support for autoconf / automake.
------------------------------------------------------------------------
r11022 | andrewross | 2010-05-25 05:26:36 -0400 (Tue, 25 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/d/plplot.d
M /trunk/examples/d/x06d.d
M /trunk/examples/d/x07d.d
M /trunk/examples/d/x19d.d
Add support for plstransform to d bindings. Update d versions of example 6, 7 and 19 consistent with C versions.
------------------------------------------------------------------------
r11021 | andrewross | 2010-05-25 05:25:49 -0400 (Tue, 25 May 2010) | 3 lines
Changed paths:
M /trunk/include/plplot.h
Keep list of functions in alphabetical order.
------------------------------------------------------------------------
r11020 | hezekiahcarty | 2010-05-23 11:13:55 -0400 (Sun, 23 May 2010) | 4 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Add size arguments to OCaml Quick_plot module functions
These allow the user to set the dimensions of the generated plot surface.
------------------------------------------------------------------------
r11019 | hbabcock | 2010-05-22 15:55:27 -0400 (Sat, 22 May 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Add code to the xcairo driver to detect and handle WM_DELETE_WINDOW client messages (i.e. pressing the window close button), consistent with xwin and qtwidget drivers.
------------------------------------------------------------------------
r11018 | airwin | 2010-05-22 13:33:13 -0400 (Sat, 22 May 2010) | 4 lines
Changed paths:
M /trunk/PROBLEMS
Parallelogram issue removed from this file since it is now being tracked
on the bug tracker (bug 3005747 at
http://sourceforge.net/tracker/index.php?func=detail&aid=3005747&group_id=2915&atid=102915).
------------------------------------------------------------------------
r11017 | airwin | 2010-05-21 02:15:35 -0400 (Fri, 21 May 2010) | 5 lines
Changed paths:
M /trunk/src/plcore.c
Implement an experimental solution for long-standing parallelogram
issue, but then comment it out because of other issues (strange aspect ratios
for integral -ori values; characters with incorrect aspect ratios, and
severe cropping issues) it causes.
------------------------------------------------------------------------
r11016 | airwin | 2010-05-21 02:12:23 -0400 (Fri, 21 May 2010) | 2 lines
Changed paths:
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f95/scstubs.c
M /trunk/bindings/java/PLStream.java
M /trunk/bindings/tcl/tclAPI.c
M /trunk/examples/java/x19.java
Style recent changes.
------------------------------------------------------------------------
r11015 | andrewross | 2010-05-20 02:57:43 -0400 (Thu, 20 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/swig-support/plplotcapi.i
Comment out swig support for plstransform for lua (for now) as the required code is not in place.
------------------------------------------------------------------------
r11014 | airwin | 2010-05-19 12:15:27 -0400 (Wed, 19 May 2010) | 6 lines
Changed paths:
M /trunk/cmake/modules/python.cmake
Spelling, USE_NUMERIC ==> FORCE_NUMERIC; and make it easier to switch
to FORCE_NUMERIC after the disable PYTHON WARNING message is issued by
set(NUMERIC_INCLUDE_PATH "NUMERIC_INCLUDE_PATH-NOTFOUND" ...
------------------------------------------------------------------------
r11013 | andrewross | 2010-05-19 06:42:22 -0400 (Wed, 19 May 2010) | 5 lines
Changed paths:
M /trunk/debian/changelog
M /trunk/debian/patches/02_unset-python-path.diff
M /trunk/debian/patches/04_use-mkoctfile.diff
M /trunk/debian/patches/series
Comment out patch disable octave example p7 to see if it now works ok on alpha again.
Update other patches to apply cleanly to 5.9.6 source.
------------------------------------------------------------------------
r11012 | andrewross | 2010-05-19 06:21:36 -0400 (Wed, 19 May 2010) | 3 lines
Changed paths:
M /trunk/debian
M /trunk/debian/changelog
M /trunk/debian/control.in
M /trunk/debian/libplplot9.README.Debian
M /trunk/debian/libplplot9.files
D /trunk/debian/patches/00list
D /trunk/debian/patches/01_check-for-octave2.9.dpatch
M /trunk/debian/patches/02_unset-python-path.diff
D /trunk/debian/patches/02_unset-python-path.dpatch
M /trunk/debian/patches/04_use-mkoctfile.diff
D /trunk/debian/patches/04_use-mkoctfile.dpatch
M /trunk/debian/patches/07_octave_prune_examples.diff
D /trunk/debian/patches/07_octave_prune_examples.dpatch
D /trunk/debian/patches/09_pdftex-EC-encoding.diff
D /trunk/debian/patches/09_pdftex-EC-encoding.dpatch
D /trunk/debian/patches/10_print-usage-octave-3.0.diff
D /trunk/debian/patches/10_print-usage-octave-3.0.dpatch
D /trunk/debian/patches/11_minus-sign-manpage.diff
D /trunk/debian/patches/11_minus-sign-manpage.dpatch
D /trunk/debian/patches/12_cmake-2.6-fixes.diff
D /trunk/debian/patches/12_cmake-2.6-fixes.dpatch
D /trunk/debian/patches/13_fix-kfreeBSD-build.diff
D /trunk/debian/patches/14_octave-3.0-fixes.diff
D /trunk/debian/patches/15_octave-toggle-plplot-use.diff
D /trunk/debian/patches/16_wxwidget-with-cmake-2.8.diff
M /trunk/debian/patches/series
D /trunk/debian/plplot9-driver-gnome2.files
D /trunk/debian/python-plplot-gnome2.files
M /trunk/debian/rules
Merge in debian changes from v5_9_5_debian branch. Update ready for 5.9.6 release.
------------------------------------------------------------------------
r11011 | andrewross | 2010-05-19 06:11:33 -0400 (Wed, 19 May 2010) | 3 lines
Changed paths:
M /trunk/doc/plserver.1
Correctly escape the minus sign for command line option (to differentiate it from a hyphen) in plserver man page. Patch taken from debian.
------------------------------------------------------------------------
r11010 | arjenmarkus | 2010-05-19 02:44:32 -0400 (Wed, 19 May 2010) | 1 line
Changed paths:
M /trunk/examples/tcl/x21.tcl
Drop the requirement that for example 21 we need Tcl 8.5 or later. The isnan procedure takes care of this.
------------------------------------------------------------------------
r11009 | airwin | 2010-05-19 02:36:53 -0400 (Wed, 19 May 2010) | 2 lines
Changed paths:
M /trunk/README.release
Change spelling of plplot ==> PLplot where appropriate.
------------------------------------------------------------------------
r11008 | airwin | 2010-05-19 02:30:22 -0400 (Wed, 19 May 2010) | 5 lines
Changed paths:
M /trunk/cmake/modules/python.cmake
If USE_NUMERIC is ON, force HAVE_NUMPY OFF immediately. The logic really
only makes sense with this change, and forcing Numeric is what is documented
for the meaning of USE_NUMERIC.
------------------------------------------------------------------------
r11007 | andrewross | 2010-05-18 15:09:05 -0400 (Tue, 18 May 2010) | 3 lines
Changed paths:
M /trunk/README.release
Add note about deprecation of python Numeric support.
------------------------------------------------------------------------
r11006 | andrewross | 2010-05-18 11:51:23 -0400 (Tue, 18 May 2010) | 5 lines
Changed paths:
M /trunk/cmake/modules/python.cmake
Disable python support if numpy is not found and issue warning. Support
for Numeric can (for now) be re-enabled by setting USE_NUMERIC. In due
course support for Numeric will be dropped.
------------------------------------------------------------------------
r11005 | andrewross | 2010-05-18 08:56:14 -0400 (Tue, 18 May 2010) | 10 lines
Changed paths:
M /trunk/bindings/f77/plstubs.h
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f77/sfstubs.fm4
M /trunk/bindings/f95/plstubs.h
M /trunk/bindings/f95/scstubs.c
M /trunk/bindings/f95/sfstubs.f90
M /trunk/bindings/f95/sfstubsf95.f90
M /trunk/examples/f77/x19f.fm4
M /trunk/examples/f95/x19f.f90
Fix up example 19 for fortran 77 / 95.
Having an identity transform in plmap / plmeridians is not the same as having no transform at, particularly when there is a global coordinate transform defined.
Add in versions of plmap / plmeridians to genuinely clear the transform.
Results for example 19 now agree with C version.
------------------------------------------------------------------------
r11004 | andrewross | 2010-05-18 03:47:37 -0400 (Tue, 18 May 2010) | 3 lines
Changed paths:
M /trunk/cmake/modules/python.cmake
Add warning that Numeric support is deprecated and will be dropped in a future release of plplot.
------------------------------------------------------------------------
r11003 | andrewross | 2010-05-17 17:10:22 -0400 (Mon, 17 May 2010) | 5 lines
Changed paths:
M /trunk/bindings/f77/plstubs.h
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f95/plstubs.h
M /trunk/bindings/f95/scstubs.c
M /trunk/bindings/f95/sfstubsf95.f90
M /trunk/examples/f77/x19f.fm4
M /trunk/examples/f95/x19f.f90
Implement plstransform for f77 / f95 bindings and update example 19 to use it.
Note this produces visually identical results to the C version, but there are lots of minor rounding differences in the postscript files.
------------------------------------------------------------------------
r11002 | andrewross | 2010-05-17 09:00:17 -0400 (Mon, 17 May 2010) | 3 lines
Changed paths:
M /trunk/examples/tcl/x28.tcl
Update tcl example 28 consistent with C version.
------------------------------------------------------------------------
r11001 | andrewross | 2010-05-17 08:33:24 -0400 (Mon, 17 May 2010) | 3 lines
Changed paths:
M /trunk/examples/python/xw19.py
Remove debugging messages.
------------------------------------------------------------------------
r11000 | andrewross | 2010-05-17 07:44:40 -0400 (Mon, 17 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/python/plplotcmodule.i
Tidy up of python mapform callback code and change to method of creating numpy arrays. Fixes up a deprecation warning with recent versions of numpy.
------------------------------------------------------------------------
r10999 | andrewross | 2010-05-17 07:39:36 -0400 (Mon, 17 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/python/plplotcmodule.i
M /trunk/bindings/swig-support/plplotcapi.i
M /trunk/examples/python/xw19.py
Add python support for plstransform and update example 19 to make use of it.
------------------------------------------------------------------------
r10998 | andrewross | 2010-05-17 05:54:32 -0400 (Mon, 17 May 2010) | 3 lines
Changed paths:
M /trunk/examples/python/xw06.py
M /trunk/examples/python/xw07.py
Update python versions of examples 6 and 7 consistent with changes to C version.
------------------------------------------------------------------------
r10997 | andrewross | 2010-05-14 17:19:09 -0400 (Fri, 14 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/java/CMakeLists.txt
A /trunk/bindings/java/PLCallbackCT.java
M /trunk/bindings/java/PLStream.java
M /trunk/bindings/java/plplotjavac.i
M /trunk/bindings/swig-support/plplotcapi.i
M /trunk/examples/java/x19.java
Add java support for plstransform and update java example 19 to use it.
------------------------------------------------------------------------
r10996 | airwin | 2010-05-14 14:48:25 -0400 (Fri, 14 May 2010) | 2 lines
Changed paths:
M /trunk/examples/c/CMakeLists.txt
Insert additional message commands to make output more understandable.
------------------------------------------------------------------------
r10995 | airwin | 2010-05-14 14:45:29 -0400 (Fri, 14 May 2010) | 2 lines
Changed paths:
M /trunk/README.release
M /trunk/cmake/modules/drivers-init.cmake
M /trunk/cmake/modules/drivers.cmake
M /trunk/cmake/modules/summary.cmake
Retire gcw, gnome2, and pygcw.
------------------------------------------------------------------------
r10994 | airwin | 2010-05-14 12:50:47 -0400 (Fri, 14 May 2010) | 6 lines
Changed paths:
M /trunk/drivers/CMakeLists.txt
Tweak variable name to improve naming consistency.
Implement GLOBAL property that will make dyndriver test files conveniently
accessible elsewhere.
------------------------------------------------------------------------
r10993 | andrewross | 2010-05-13 16:14:34 -0400 (Thu, 13 May 2010) | 3 lines
Changed paths:
M /trunk/include/plplot.h
Keep list of functions in alphabetical order for easy reading.
------------------------------------------------------------------------
r10992 | furnish | 2010-05-12 13:31:47 -0400 (Wed, 12 May 2010) | 6 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
For Tcl versions less than 8.5, back down to multiple uses of lindex to
extract the result coords. We could do it this way for all Tcl versions, but
the lassign technique introduced in Tcl 8.5 is surely more efficient.
Tcl example 19 now works with both Tcl/Tk 8.5 and 8.4.
------------------------------------------------------------------------
r10991 | airwin | 2010-05-11 22:09:41 -0400 (Tue, 11 May 2010) | 6 lines
Changed paths:
M /trunk/cmake/modules/plplot.cmake
M /trunk/examples/CMakeLists.txt
M /trunk/examples/plplot_configure.cmake_installed_examples.in
M /trunk/plplot_test/CMakeLists.txt
M /trunk/plplot_test/test_diff.sh.in
Use cmp -i if available on Linux (the -i option may not be available on
other POSIX-compliant systems) to compare PostScript files in the configured
plplot_test/test_diff.sh(.in) script. This gives a factor of ~1.6 speedup
on the test_diff_psc target when all PostScript prerequisites are already
built.
------------------------------------------------------------------------
r10990 | furnish | 2010-05-11 13:17:11 -0400 (Tue, 11 May 2010) | 8 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
M /trunk/examples/tcl/x19.tcl
Reimplement the last plot in Tcl example 19, using a global coordinate
transform, as is done in x19c.
Updates to tclAPI.c to support plstransform(), providing a C-side wrapper
which evaluates a Tcl proc to do the job.
Example 19 now produces equivalent results in C and Tcl.
------------------------------------------------------------------------
r10989 | andrewross | 2010-05-11 10:21:06 -0400 (Tue, 11 May 2010) | 3 lines
Changed paths:
M /trunk/plplot_test/test_octave_interactive.sh.in
Update comments on the octave interactive tests. Following recent driver updates all the interactive tests will run with the xcairo and qtwidget drivers, although there are still some issues.
------------------------------------------------------------------------
r10988 | andrewross | 2010-05-11 10:19:47 -0400 (Tue, 11 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/octave/PLplot/plrb.m
Update octave plrb function (which handles drawing of a selection rectangle) so that it will work on drivers without xor mode, but will just not draw the selection rectangle.
------------------------------------------------------------------------
r10987 | andrewross | 2010-05-11 10:18:39 -0400 (Tue, 11 May 2010) | 3 lines
Changed paths:
M /trunk/drivers/cairo.c
Update xcairo driver to return mouse move (drag) events in calls to plGetCursor.
------------------------------------------------------------------------
r10986 | andrewross | 2010-05-11 10:18:00 -0400 (Tue, 11 May 2010) | 4 lines
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/include/qt.h
Update qtwidget driver to return mouse move and button release events in plGetCursor.
------------------------------------------------------------------------
r10985 | andrewross | 2010-05-10 17:53:01 -0400 (Mon, 10 May 2010) | 8 lines
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/bindings/qt_gui/pyqt4/plplot_pyqt4.sip
M /trunk/drivers/qt.cpp
M /trunk/include/qt.h
Update qt driver to support PLESC_GETC escape command. This means for example that plGetCursor now works for the qtwidget device. The -locate option of example 1 demonstrates this.
Also support the "Q" keystroke to abort and the "L" keystroke to enter locate mode (consistent with xwin driver).
Finally advance page on mouse button down rather than button release (again, consistent with xwin driver).
------------------------------------------------------------------------
r10984 | andrewross | 2010-05-10 17:34:56 -0400 (Mon, 10 May 2010) | 3 lines
Changed paths:
M /trunk/drivers/xwin.c
Formatting changes for xwin.c following recent updates.
------------------------------------------------------------------------
r10983 | airwin | 2010-05-10 13:09:54 -0400 (Mon, 10 May 2010) | 3 lines
Changed paths:
M /trunk/drivers/CMakeLists.txt
Use improved name (e.g., test_ps_driver rather than test_ps)
for the target that tests a particular device driver.
------------------------------------------------------------------------
r10982 | airwin | 2010-05-10 13:05:18 -0400 (Mon, 10 May 2010) | 2 lines
Changed paths:
M /trunk/drivers/CMakeLists.txt
Implement a test target corresponding to every device driver.
------------------------------------------------------------------------
r10981 | airwin | 2010-05-10 12:47:09 -0400 (Mon, 10 May 2010) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Improve dependencies for interactive device tests.
------------------------------------------------------------------------
r10980 | andrewross | 2010-05-10 08:52:30 -0400 (Mon, 10 May 2010) | 3 lines
Changed paths:
M /trunk/drivers/xwin.c
Add code to xwin driver to detect and handle WM_DELETE_WINDOW client messages (i.e. pressing the window close button), consistent with the qtwidget driver.
------------------------------------------------------------------------
r10979 | smekal | 2010-05-10 03:11:30 -0400 (Mon, 10 May 2010) | 1 line
Changed paths:
M /trunk/drivers/CMakeLists.txt
For Windows test-drv-info.exe will be moved to the dll directory, where all the shared libraries are located. Therefore, test-drv-info will always be able to open the driver plugins (since they are in the same directory), even if the dll directory is not in the path. Compilation should then be always successful. In order to make the examples run the dll directory must still be in the PATH variable.
------------------------------------------------------------------------
r10978 | furnish | 2010-05-09 01:18:08 -0400 (Sun, 09 May 2010) | 4 lines
Changed paths:
M /trunk/examples/tcl/x19.tcl
Naive, and therefore unsuccessful attempt to update x19.tcl to track x19c.c.
Will have to come back at this again and implement the full plstransform()
functionality.
------------------------------------------------------------------------
r10977 | arjenmarkus | 2010-05-07 02:55:22 -0400 (Fri, 07 May 2010) | 1 line
Changed paths:
M /trunk/examples/tcl/x06.tcl
M /trunk/examples/tcl/x07.tcl
Propagating the recent changes to examples 6 and 7 to Tcl.
------------------------------------------------------------------------
r10976 | airwin | 2010-05-07 00:56:04 -0400 (Fri, 07 May 2010) | 4 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
A /trunk/examples/python/test_hebrew_diacritic.py
Initial commit of special test to show Chapter 1 verse 3 of Genesis in
Hebrew to test alignment of diacritical marks.
------------------------------------------------------------------------
r10975 | andrewross | 2010-05-06 18:30:56 -0400 (Thu, 06 May 2010) | 3 lines
Changed paths:
M /trunk/examples/octave/x14c.m
Tweak octave example 14 so that stdout agrees with C version.
------------------------------------------------------------------------
r10974 | andrewross | 2010-05-06 18:18:45 -0400 (Thu, 06 May 2010) | 3 lines
Changed paths:
M /trunk/examples/octave/x28c.m
Fix up octave version of example 28 consistent with the C version.
------------------------------------------------------------------------
r10973 | andrewross | 2010-05-06 11:01:00 -0400 (Thu, 06 May 2010) | 3 lines
Changed paths:
M /trunk/examples/octave/x06c.m
M /trunk/examples/octave/x07c.m
Update octave examples 6 and 7 to reflect changes in C versions.
------------------------------------------------------------------------
r10972 | arjenmarkus | 2010-05-06 03:20:13 -0400 (Thu, 06 May 2010) | 1 line
Changed paths:
M /trunk/examples/f95/x06f.f90
M /trunk/examples/f95/x07f.f90
Propagating the recent changes to examples 6 and 7
------------------------------------------------------------------------
r10971 | arjenmarkus | 2010-05-06 03:19:39 -0400 (Thu, 06 May 2010) | 1 line
Changed paths:
M /trunk/examples/f77/x06f.fm4
M /trunk/examples/f77/x07f.fm4
Propagating the recent changes to examples 6 and 7
------------------------------------------------------------------------
r10970 | airwin | 2010-05-05 20:09:31 -0400 (Wed, 05 May 2010) | 6 lines
Changed paths:
M /trunk/plplot_test/test_cxx.sh.in
Use proper error handling for special x01cc example.
Put that example last so that errors in it do not interfere with running
the standard examples first.
------------------------------------------------------------------------
r10969 | andrewross | 2010-05-05 19:03:43 -0400 (Wed, 05 May 2010) | 3 lines
Changed paths:
M /trunk/examples/java/x06.java
M /trunk/examples/java/x07.java
Update java examples 6 and 7 consistent with recent changes to C versions.
------------------------------------------------------------------------
r10968 | andrewross | 2010-05-05 18:57:23 -0400 (Wed, 05 May 2010) | 3 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
Fix formatting of recent changes to plstream.cc
------------------------------------------------------------------------
r10967 | andrewross | 2010-05-05 18:38:15 -0400 (Wed, 05 May 2010) | 7 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/c++/plstream.h
M /trunk/examples/c++/x06.cc
M /trunk/examples/c++/x07.cc
M /trunk/examples/c++/x19.cc
Update C++ bindings to include plstransform.
Update C++ example 6, 7, and 19 consist with C versions.
Fix bug introduced by recent changes to pointer handling in core shading routines. This manifested itself as a segmentation fault in the C++ specific example x01cc.c.
------------------------------------------------------------------------
r10966 | hezekiahcarty | 2010-05-03 15:00:29 -0400 (Mon, 03 May 2010) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
Clean up shaded colorbar rendering in the OCaml interface
Numeric labels are now drawn at shade boundaries. Orientation of
labels is also a little more logical now.
------------------------------------------------------------------------
r10965 | airwin | 2010-05-03 01:06:32 -0400 (Mon, 03 May 2010) | 9 lines
Changed paths:
M /trunk/src/plshade.c
Now that NULL pltr is accessible to both Python and Tcl and used where
appropriately in all Python and Tcl examples, then drop tests for pltr_data
== NULL to get the behaviour you ordinarily would get with pltr == NULL. As
Hez has stated: "it doesn't make sense to me in a general context to require
that both arguments [pltr and pltr_data] are non-NULL - if the pltr function
does not require any extra data to be passed in then it seems strange to
require a non-NULL pltr_data argument. This holds for any language."
------------------------------------------------------------------------
r10964 | airwin | 2010-05-03 01:02:24 -0400 (Mon, 03 May 2010) | 14 lines
Changed paths:
M /trunk/examples/tcl/x15.tcl
M /trunk/examples/tcl/x16.tcl
M /trunk/examples/tcl/x21.tcl
Explicitly specify pltr as "NULL" for plshade and plshades which translates
to NULL at the C level and which is interpreted there as defining the x and
y arrays from xmin, xmax, nx and ymin, ymax, and ny. This is very different
from using pltr0 (the default user-friendly Tcl result if nothing is
specified for pltr).
This solves the Tcl issue of dropping the pltr_data tests for NULL at the C
level. We were relying on those tests before to obtain the xmin, xmax,...
result but when those tests were dropped we were getting the Tcl
user-friendly pltr0 default instead which had such an incorrect scale and
offset for these examples that the pages were blank or might have a single
polygon.
------------------------------------------------------------------------
r10963 | airwin | 2010-05-03 00:51:51 -0400 (Mon, 03 May 2010) | 4 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
Allow the exact string "NULL" as a pltr argument possibility in the
user-friendly variants of plshade and plshades.
------------------------------------------------------------------------
r10962 | airwin | 2010-05-02 22:03:13 -0400 (Sun, 02 May 2010) | 12 lines
Changed paths:
M /trunk/examples/python/xw15.py
M /trunk/examples/python/xw21.py
Explicitly specify pltr as None for plshade and plshades which translates
to NULL at the C level and which is interpreted there as defining the x
and y arrays from xmin, xmax, nx and ymin, ymax, and ny. This is very
different from using pltr0 (the default user-friendly result if nothing
is specified for pltr).
This solves the Python (but of course not yet Tcl) issue of dropping the
pltr_data tests for NULL at the C level. We were relying on that before to
obtain the xmin, xmax,... result but when that is dropped we were
incorrectly getting the python user-friendly pltr0 default.
------------------------------------------------------------------------
r10961 | airwin | 2010-05-02 21:52:09 -0400 (Sun, 02 May 2010) | 2 lines
Changed paths:
M /trunk/bindings/python/plplot.py.Numeric
M /trunk/bindings/python/plplot.py.numpy
Allow pltr to be None for plshade and plshades.
------------------------------------------------------------------------
r10960 | hezekiahcarty | 2010-05-01 15:58:03 -0400 (Sat, 01 May 2010) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
M /trunk/examples/ocaml/xplot01.ml
(OCaml) Allow colorbars and labeling to be defined as plot elements
This change is intended to make building individual plots for use with
the Plplot.Plot.plot function a bit easier.
------------------------------------------------------------------------
r10959 | airwin | 2010-05-01 12:16:24 -0400 (Sat, 01 May 2010) | 4 lines
Changed paths:
M /trunk/src/plshade.c
Reinstate pltr_data tests for NULL that were removed by revision 10895. It
turns out those tests are essential for the python and tcl bindings to
work properly.
------------------------------------------------------------------------
r10958 | airwin | 2010-05-01 11:58:15 -0400 (Sat, 01 May 2010) | 3 lines
Changed paths:
M /trunk/scripts/test_bisect.sh
Update bisect script to help find source of
python example 15 rendering regression (and other plshade regressions).
------------------------------------------------------------------------
r10957 | hezekiahcarty | 2010-05-01 11:31:28 -0400 (Sat, 01 May 2010) | 2 lines
Changed paths:
M /trunk/examples/ocaml/x06.ml
M /trunk/examples/ocaml/x07.ml
Bring OCaml examples 6 and 7 back up to speed with the C examples
------------------------------------------------------------------------
r10956 | airwin | 2010-04-30 19:43:15 -0400 (Fri, 30 Apr 2010) | 5 lines
Changed paths:
M /trunk/README.release
Instead of giving a table of results for testing reports for 5.9.6 link to
http://www.miscdebris.net/plplot_wiki/index.php?title=Testing_PLplot#Testing_Reports
for that information.
------------------------------------------------------------------------
r10955 | airwin | 2010-04-30 12:23:36 -0400 (Fri, 30 Apr 2010) | 2 lines
Changed paths:
M /trunk/README.release
Add description of recent font improvements.
------------------------------------------------------------------------
r10954 | airwin | 2010-04-29 22:09:50 -0400 (Thu, 29 Apr 2010) | 5 lines
Changed paths:
M /trunk/plplot_test/test_diff.sh.in
Replace error return with warning message when some PostScript or stdout
results are different. This allows the test_noninteractive target to
complete without any errors that confuse would-be testers.
------------------------------------------------------------------------
r10953 | airwin | 2010-04-29 16:00:26 -0400 (Thu, 29 Apr 2010) | 4 lines
Changed paths:
D /trunk/cmake/modules/FindTCL.cmake
D /trunk/cmake/modules/FindTclsh.cmake
Remove these slightly modified versions for these modules for CMake-2.4.7 so
that our users can access the modern CMake core versions of these modules.
------------------------------------------------------------------------
r10952 | airwin | 2010-04-29 14:25:44 -0400 (Thu, 29 Apr 2010) | 15 lines
Changed paths:
M /trunk/drivers/ps.c
If standard font lookup fails for this Type 1 font device, then
switch to Type 1 symbol font and vice versa. But if that second lookup
also fails, then accept a blank result and move on.
This fix appears to give good results for examples 3, 6, 7, and 23. For the
examples 6 and 7 tests where hrshsym has an effect, I used -drvopt hrshsym=0
(which avoids Hershey fonts for plpoin and plsym). I also used the
-DHERSHEY_FALLBACK=OFF cmake option which replaces Hershey glyphs that do
not have a recognized unicode equivalent with a blank. Thus, in all cases
Type 1 fonts were used for these tests rather than Hershey fonts.
This commit should finally complete the Type1 font (ps and pdf) device
driver work.
------------------------------------------------------------------------
r10951 | airwin | 2010-04-29 13:54:53 -0400 (Thu, 29 Apr 2010) | 2 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
Correct unicode index for small theta.
------------------------------------------------------------------------
r10950 | airwin | 2010-04-29 11:11:18 -0400 (Thu, 29 Apr 2010) | 10 lines
Changed paths:
M /trunk/drivers/ps.c
M /trunk/include/ps.h
Change static function set_font to get_font which allows dropping font from
PSDev struct.
Use set_font to reimplement PL_TEST_TYPE1 case. This gave good results for
the one test case (examples/python/test_type1.py) where it is useful, but
PL_TEST_TYPE1 is normally #undefed (as in this commit).
ToDo: fallback to Symbol font for normal case.
------------------------------------------------------------------------
r10949 | airwin | 2010-04-29 00:57:12 -0400 (Thu, 29 Apr 2010) | 11 lines
Changed paths:
M /trunk/drivers/svg.c
Fix a bug discovered by running examples/python/test_type1.py (which for
non-Type1 unicode devices simply plots the first 256 unicode glyphs) for
-dev svg. The result was an svg file with unicode characters that are
invalid (anything less than 0x20 except for 0x9 [horizontal tab], 0xa [line
feed], and 0xd [carriage return]) for XML according to
http://www.w3.org/TR/REC-xml/#NT-Char. The result was the file
did not validate, and "display" of the file completely failed to work.
The fix was simple; replace all invalid characters with a blank.
------------------------------------------------------------------------
r10948 | airwin | 2010-04-29 00:34:29 -0400 (Thu, 29 Apr 2010) | 12 lines
Changed paths:
M /trunk/examples/python/test_type1.py
Tweak commentary.
Drop explicit setting of -dev ps -drvopt hrshsym=0. This allows this
example to display the first 256 unicode glyphs for any unicode-aware
device. It's only when ps.c is edited to #define PL_TEST_TYPE1 and the
command-line options -dev ps -drvopt hrshsym=0 are used that the unicode
indices are interpreted as Type 1 font indices so that the PostScript
results look like those from the now defunct gfontview application.
Fix a bug where the escape code was not escaped.
------------------------------------------------------------------------
r10947 | airwin | 2010-04-29 00:09:47 -0400 (Thu, 29 Apr 2010) | 2 lines
Changed paths:
M /trunk/plplot_test/test_octave_interactive.sh.in
Tweak commentary.
------------------------------------------------------------------------
r10946 | airwin | 2010-04-28 20:59:58 -0400 (Wed, 28 Apr 2010) | 4 lines
Changed paths:
M /trunk/include/plunicode-type1.h
Update to be consistent with the stdenc.txt, symbol.txt, and zdingbat.txt
files at http://unicode.org/Public/MAPPINGS/VENDORS/ADOBE/
------------------------------------------------------------------------
r10945 | andrewross | 2010-04-28 19:30:42 -0400 (Wed, 28 Apr 2010) | 3 lines
Changed paths:
M /trunk/bindings/octave/PLplot/figure.m
Disable code to directly call code in the tk driver if it is enabled. The octave interface for this tk code does not exist. Octave will now work again with just the plain tk driver. This must have been broken for a long time (at least since we moved to CMake) and no-one has complained so I guess this octave and tk are just not widely used.
------------------------------------------------------------------------
r10944 | andrewross | 2010-04-28 18:54:03 -0400 (Wed, 28 Apr 2010) | 9 lines
Changed paths:
M /trunk/bindings/octave/PLplot/stripc.m
M /trunk/examples/octave/p12.m
M /trunk/examples/octave/p20.m
M /trunk/plplot_test/test_octave_interactive.sh.in
Fix up octave stripc function so that interactive example p11 works (missing call to pladv)
Fix up example p12 so that it can by run non-interactively (for example 20)
Update test_octave_interactive script so that the device is honoured even for examples which call figure internally. Previously some examples always used xwin, whatever device was called.
Update comments on failing xwin and qtwidget examples.
------------------------------------------------------------------------
r10943 | airwin | 2010-04-28 15:49:58 -0400 (Wed, 28 Apr 2010) | 4 lines
Changed paths:
M /trunk/drivers/ps.c
M /trunk/include/ps.h
Minor ps device driver cleanup following what is done in pdf.c; define and
use set_font static routine.
------------------------------------------------------------------------
r10942 | airwin | 2010-04-28 15:47:52 -0400 (Wed, 28 Apr 2010) | 2 lines
Changed paths:
M /trunk/include/plunicode-type1.h
Use macro definitions so that second #include of this file is a no-op.
------------------------------------------------------------------------
r10941 | airwin | 2010-04-28 03:33:05 -0400 (Wed, 28 Apr 2010) | 5 lines
Changed paths:
M /trunk/plplot_test/test_octave_interactive.sh.in
Add examples that work with -dev xwin which is currently our best octave
interactive device.
Add more commentary concerning examples that do not work with -dev xwin.
------------------------------------------------------------------------
r10940 | airwin | 2010-04-28 02:58:38 -0400 (Wed, 28 Apr 2010) | 2 lines
Changed paths:
M /trunk/drivers/pdf.c
M /trunk/drivers/pstex.c
M /trunk/include/plfci-type1.h
M /trunk/src/plcore.c
M /trunk/src/plstripc.c
M /trunk/src/plsym.c
Style recent changes.
------------------------------------------------------------------------
r10939 | airwin | 2010-04-27 17:53:09 -0400 (Tue, 27 Apr 2010) | 15 lines
Changed paths:
M /trunk/drivers/pdf.c
If standard font lookup fails for this Type 1 font device, then as "last
chance" switch to Type 1 symbol font and try again. But if that "last
chance" lookup also fails, then accept a blank result and move on.
This fix appears to give good results for examples 3, 6, 7, and 23. For the
examples 6 and 7 tests where hrshsym has an effect, I used -drvopt hrshsym=0
(which avoids Hershey fonts for plpoin and plsym). I also used the
-DHERSHEY_FALLBACK=OFF cmake option which replaces Hershey glyphs that do
not have a recognized unicode equivalent with a blank. Thus, in all cases
Type 1 fonts were used for these tests rather than Hershey fonts.
ToDo. Equivalent changes for the other Type1 font device driver (i.e.,
the ps device driver).
------------------------------------------------------------------------
r10938 | airwin | 2010-04-27 17:39:41 -0400 (Tue, 27 Apr 2010) | 2 lines
Changed paths:
M /trunk/include/plfci-type1.h
Update comments to be consistent with new handling of the Type 1 Symbol font.
------------------------------------------------------------------------
r10937 | andrewross | 2010-04-26 18:40:44 -0400 (Mon, 26 Apr 2010) | 3 lines
Changed paths:
M /trunk/bindings/octave/PLplot/comet.m
Fix old syntax for axis which does not work with newer versions of octave.
------------------------------------------------------------------------
r10936 | andrewross | 2010-04-26 18:40:01 -0400 (Mon, 26 Apr 2010) | 3 lines
Changed paths:
M /trunk/plplot_test/test_octave_interactive.sh.in
For interactive octave test script do not pass file name to figure. This doesn't make sense for interactive drivers. Plus, the xwin driver interprets this as a display rather than a file name causing the test_octave_xwin target to fail.
------------------------------------------------------------------------
r10935 | andrewross | 2010-04-26 17:26:30 -0400 (Mon, 26 Apr 2010) | 7 lines
Changed paths:
M /trunk/drivers/pstex.c
Correct use of fixed length string for file name in pstex.c. Instead malloc string and call snprintf to ensure buffer overflow cannot occur.
Fixes bug plplot-Bugs-2992089.
Note pstex is depreciated and this fix is untested.
------------------------------------------------------------------------
r10934 | airwin | 2010-04-23 19:27:06 -0400 (Fri, 23 Apr 2010) | 12 lines
Changed paths:
M /trunk/include/plfci-type1.h
Change the Type1 fonts (used just for the ps and pdf device drivers)
corresponding to the "script" and "symbol" FCI font family values to
san-serif (Helvetica) to be consistent with the modern device drivers that
use TrueType fonts.
A byproduct of this change is the Type1 symbol font is no longer directly
accessible to the PLplot user. However, ps and pdf device driver changes
are planned to make the Type1 symbol font indirectly available for all FCI
choices for these devices as the fallback when the glyph lookup fails for
the ordinary Type 1 fonts.
------------------------------------------------------------------------
r10933 | airwin | 2010-04-23 14:42:12 -0400 (Fri, 23 Apr 2010) | 23 lines
Changed paths:
M /trunk/src/plsym.c
Permanantly remove the historical momentary change to symbol font inside
plhrsh (used by both plpoin and plsym in examples 6 and 7). This removal is
consistent with what has been done in plcore.c since revision 10623 for
PLplot text escape sequences (Hershey, hexadecimal, and Greek).
The original motivation of this momentary change was Type 1 fonts (used for
our ps and pdf device drivers) collect most mathematical symbols in one
"symbol" font, but I have plans to deal with that issue a different way (if
the ordinary Type 1 font lookup fails to get a hit for these device drivers,
then always check the Type 1 symbol font for a hit as a last resort).
Meanwhile, the removal of the built-in momentary change to symbol fonts
allows more consistent font results for our modern devices.
This removal gave good results for examples 6 and 7 for
both modes (pls->alt_unicode = 0 or 1) of unicode character rendering
for -dev pscairo. Other checks seemed fine as well.
ps and pdf device drivers currently work but with no access to the
mathematical glyphs in the Type1 symbol font. That issue has existed for
text since revision 10623 and for plpoin and plsym since the current change,
but I plan to address this issue shortly.
------------------------------------------------------------------------
r10932 | airwin | 2010-04-23 13:07:53 -0400 (Fri, 23 Apr 2010) | 14 lines
Changed paths:
M /trunk/src/plcore.c
Permanantly remove the historical momentary change to symbol font for PLplot
text escape sequences (Hershey, hexadecimal, and Greek) for specifying
unicode. The original motivation of this momentary change was Type 1 fonts
used for our ps and pdf device drivers collect most mathematical symbols in
one "symbol" font, but I have plans to deal with that issue a different way
(if the ordinary Type 1 font lookup fails to get a hit for these device
drivers, then always check the Type 1 symbol font for a hit as a last
resort). Meanwhile, the removal of the built-in momentary change to
symbol fonts allows more consistent font results for our modern devices.
This change has been conditionally removed since revision 10623, but this
complete removal gets rid of lots of conditional code and thus makes our
code much more readable.
------------------------------------------------------------------------
r10931 | jbauck | 2010-04-22 03:43:32 -0400 (Thu, 22 Apr 2010) | 1 line
Changed paths:
M /trunk/bindings/ada/plplot.adb.cmake
Minor comment change relating to Hershey fonts.
------------------------------------------------------------------------
r10930 | jbauck | 2010-04-22 03:42:38 -0400 (Thu, 22 Apr 2010) | 1 line
Changed paths:
M /trunk/examples/ada/x16a.adb.cmake
Don't hardwire "exclude" to False.
------------------------------------------------------------------------
r10929 | airwin | 2010-04-20 16:52:55 -0400 (Tue, 20 Apr 2010) | 18 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
A /trunk/examples/python/test_type1.py
Implement an example to display all Type 1 glyphs that are potentially
accessible to the ps(c) device in a similar manner to the historical
gfontview application. The ps.c file must be edited to #define
PL_TEST_TYPE1 in order to make this example work properly.
The point of this example is to duplicate the functionality of the gfontview
application which is no longer being actively developed. Because of this
app's dependence on freetype1 (as opposed to modern freetype) modern distros
have been forced to abandon this useful application which is why I have had
to emulate it with test_type1.py.
If this example (with ps built with PL_TEST_TYPE1 #defined) shows a type1
glyph that would be useful to PLplot, then it is straightforward to edit the
unicode to type1 index translation table at include/plunicode-type1.h to
make that glyph accessible to PLplot by unicode index for ordinary builds of
ps that do not #define PL_TEST_TYPE1.
------------------------------------------------------------------------
r10928 | airwin | 2010-04-20 16:37:51 -0400 (Tue, 20 Apr 2010) | 10 lines
Changed paths:
M /trunk/drivers/ps.c
Normally PL_TEST_TYPE1 is #undef(ined), but if you edit this file to #define
PL_TEST_TYPE1, then bypass the unicode to Type1 index translation altogether
so that unicode indices from 0-255 are interpreted directly as Type1 font
indices. This option allows a look at all accessible Typel glyphs without
any obfuscation by unicode to Type1 index translation. As far as I know
this functionality is only useful for test_type1.py.
Style previous changes to ps.c.
------------------------------------------------------------------------
r10927 | airwin | 2010-04-20 13:45:12 -0400 (Tue, 20 Apr 2010) | 7 lines
Changed paths:
M /trunk/drivers/ps.c
Uncomment pldebug calls that were commented by me long ago in excessive
efficiency zeal (since pldebug does little unless the -debug option has
been specified).
Also, correct one pldebug argument from cur_str[j] ==> cur_str[s-1].
------------------------------------------------------------------------
r10926 | airwin | 2010-04-19 12:23:26 -0400 (Mon, 19 Apr 2010) | 2 lines
Changed paths:
M /trunk/src/CMakeLists.txt
M /trunk/src/plsym.c
TEST_FOR_MISSING_GLYPHS ==> PL_TEST_FOR_MISSING_GLYPHS
------------------------------------------------------------------------
r10925 | hezekiahcarty | 2010-04-18 22:37:25 -0400 (Sun, 18 Apr 2010) | 4 lines
Changed paths:
M /trunk/src/plargs.c
Fix a small bug with command line arguments not being skipped
Thanks to David MacMahon for pointing out the error and the fix.
------------------------------------------------------------------------
r10924 | airwin | 2010-04-18 15:45:49 -0400 (Sun, 18 Apr 2010) | 6 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
Fill in ordinary unicode parentheses, brackets, and curly brackets to
represent large sized versions of same in Hershey index range from
2403-2408. Use unicode U+23B0 and U+23B1 (upper and lower halves of left or
right curly brackets) to represent Hershey index range 2409-2410.
------------------------------------------------------------------------
r10923 | hbabcock | 2010-04-18 14:24:28 -0400 (Sun, 18 Apr 2010) | 1 line
Changed paths:
M /trunk/README.release
Fix missing typo caused by overzealous use of the backspace key.
------------------------------------------------------------------------
r10922 | airwin | 2010-04-18 14:23:45 -0400 (Sun, 18 Apr 2010) | 6 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
Add musical glyphs to the Hershey index to unicode index translation table.
N.B. you will be unable to see these glyphs for our unicode-aware devices
unless you install appropriate system fonts for music. For Debian the
package name for those is called ttf-oflb-euterpe.
------------------------------------------------------------------------
r10921 | hbabcock | 2010-04-18 14:22:48 -0400 (Sun, 18 Apr 2010) | 1 line
Changed paths:
M /trunk/README.release
Add a note about David arbitrary storage for 2D user data work.
------------------------------------------------------------------------
r10920 | airwin | 2010-04-18 13:54:59 -0400 (Sun, 18 Apr 2010) | 6 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
Fill in 910, 2233, 2235, and 2236 which are the cent sign, the plus-or-minus
sign, the times sign, and the centred dot sign. The cent sign is new. The
last three glyphs already appear elsewhere in the Hershey indices, but I am
filling in these Hershey indices as well for consistency.
------------------------------------------------------------------------
r10919 | airwin | 2010-04-18 11:40:11 -0400 (Sun, 18 Apr 2010) | 5 lines
Changed paths:
M /trunk/include/plunicode-type1.h
Greek letter changes for Type1 fonts. Swap phi glyph variations to be
consistent with Hershey fonts. Instead of no glyph variations for eta and
theta, use the same Type1 eta and theta glyphs for both glyph variations of
those letters in unicode.
------------------------------------------------------------------------
r10918 | hezekiahcarty | 2010-04-16 18:36:32 -0400 (Fri, 16 Apr 2010) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Make OCaml's Plot.set_color_scale more flexible
Positions along the color scale and interpolation
direction reversal can be specified for each element.
------------------------------------------------------------------------
r10917 | hezekiahcarty | 2010-04-16 18:35:52 -0400 (Fri, 16 Apr 2010) | 2 lines
Changed paths:
M /trunk/README.release
Update README.release for axis labeling and unverisal transform
------------------------------------------------------------------------
r10916 | hezekiahcarty | 2010-04-16 18:34:38 -0400 (Fri, 16 Apr 2010) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Add the ability to set custom axis tick label text to Plplot.Plot module
This previously had to be done manually when using the OCaml
Plplot.Plot module functions.
------------------------------------------------------------------------
r10915 | hezekiahcarty | 2010-04-16 18:34:07 -0400 (Fri, 16 Apr 2010) | 16 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
OCaml API change - clean up transform and label functions a bit
The meaning of the Plplot.Plot.transform function has changed!
The OCaml high-level API previously provided a "transform" function
to specify which pltr-like function to pass to plimagefr, plshades and
similar functions. This function is now used to set a global transform,
using the plstransform function, rather than the function-specific
pltr transform.
pltr-like transforms are now set (cleared) with Plplot.Plot.pltr
(Plplot.Plot.clear_pltr).
This only affects the high-level Plplot.Plot module API, not the C-like
Plplot.* functions.
------------------------------------------------------------------------
r10914 | airwin | 2010-04-16 16:18:47 -0400 (Fri, 16 Apr 2010) | 2 lines
Changed paths:
M /trunk/cmake/external/libqhull/CMakeLists.txt
White space issues + comments on qh_QHpointer value.
------------------------------------------------------------------------
r10913 | hbabcock | 2010-04-14 23:41:20 -0400 (Wed, 14 Apr 2010) | 1 line
Changed paths:
M /trunk/src/plstripc.c
HPB for Andrew Maimone, patch to plstrip.c to address a problem with strip charts when the accumulate mode is off. As-is, the difference between stripc->xmax and stripc->xmin can vary from stripc->xlen and can cause points to not be plotted until their difference again exceeds stripc->xlen.
------------------------------------------------------------------------
r10912 | airwin | 2010-04-13 10:18:35 -0400 (Tue, 13 Apr 2010) | 13 lines
Changed paths:
M /trunk/cmake/modules/cairo.cmake
Tweak the wincairo message to remove the WARNING label from it since this is
just an informational message concerning a condition (this is not a Windows
platform) which the user can do nothing about on that platform.
We should also systematically drop the WARNING label from messages on other
platforms as well if they are just informational. Thus, WARNING messages
should be reserved for something the user has control over such as
downloading/installing more software. The ideal here is no WARNING messages
at all for fully loaded systems. With this change we have reestablished
that ideal on Linux, but this needs to be checked for other platforms as
well.
------------------------------------------------------------------------
r10911 | airwin | 2010-04-12 19:07:11 -0400 (Mon, 12 Apr 2010) | 2 lines
Changed paths:
M /trunk/README.release
Add announcement of recent plpoin changes.
------------------------------------------------------------------------
r10910 | airwin | 2010-04-12 18:21:14 -0400 (Mon, 12 Apr 2010) | 4 lines
Changed paths:
M /trunk/www/examples.php
Pages have recently been added for examples 6, 7 and 19. Adjust generated
website to display those pages.
------------------------------------------------------------------------
r10909 | airwin | 2010-04-12 18:10:19 -0400 (Mon, 12 Apr 2010) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
M /trunk/examples/c/x01c.c
M /trunk/examples/c/x06c.c
M /trunk/examples/c/x07c.c
M /trunk/fonts/font01.c
M /trunk/fonts/font11.c
M /trunk/fonts/plhershey-unicode-gen.c
Style recent changes.
------------------------------------------------------------------------
r10908 | airwin | 2010-04-12 17:51:06 -0400 (Mon, 12 Apr 2010) | 4 lines
Changed paths:
M /trunk/examples/c/x06c.c
Add four more pages to the plpoin results corresponding to the compact
font and the four possible font types for the extended fonts.
------------------------------------------------------------------------
r10907 | airwin | 2010-04-12 17:46:47 -0400 (Mon, 12 Apr 2010) | 8 lines
Changed paths:
M /trunk/fonts/plhershey-unicode-gen.c
Implement a test that all input data must be in strict ascending order in
Hershey index. If it isn't, you get strange missing unicode glyph results
for examples 6 and 7. I have been caught by this issue a few times recently
when I entered data in the incorrect order in fonts/plhershey-unicode.csv.
With the current test this should never happen again without an obvious
error message.
------------------------------------------------------------------------
r10906 | airwin | 2010-04-12 17:41:06 -0400 (Mon, 12 Apr 2010) | 2 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
Tweaks to make the new Example 6 look better.
------------------------------------------------------------------------
r10905 | hezekiahcarty | 2010-04-12 01:23:41 -0400 (Mon, 12 Apr 2010) | 17 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_core.idl
M /trunk/bindings/ocaml/plplot_h
M /trunk/bindings/ocaml/plplot_h.inc
M /trunk/bindings/ocaml/plplot_impl.c
M /trunk/doc/docbook/src/api.xml
M /trunk/doc/docbook/src/plplotdoc.xml.in
M /trunk/examples/c/x19c.c
M /trunk/examples/ocaml/x19.ml
M /trunk/include/plplot.h
M /trunk/include/plplotP.h
M /trunk/include/plstrm.h
M /trunk/src/plbox.c
M /trunk/src/plcore.c
M /trunk/src/plfill.c
M /trunk/src/plline.c
M /trunk/src/plmap.c
M /trunk/src/plshade.c
M /trunk/src/plsym.c
Add basic global/universal coordinate transform support
This commit adds a function plstransform which allows a user to define a
global coordinate transform which will be used by all PLplot plotting
functions which act inside the plotting window. C example 19 has been updated
with an extra page to illustrate the use of plstransform.
This commit also adds the plpath function which acts like pljoin when no
transform is defined and approximates the translated path with a given number
of line segments when a transform is defined.
The OCaml bindings have been updated to include support for plstransform and
plpath. OCaml example 19 has been updated to match the updated C example. No
other language bindings are updated by this commit.
The API documentation has been updated to reflect these changes.
------------------------------------------------------------------------
r10904 | airwin | 2010-04-12 01:11:37 -0400 (Mon, 12 Apr 2010) | 4 lines
Changed paths:
M /trunk/cmake/modules/language_support.cmake
Implement an option to ENABLE_workaround_9220 which defaults to ON. If
this this option is turned off you get hard landings if some compiler is
missing/broken but generally debugging what is wrong is easier.
------------------------------------------------------------------------
r10903 | hezekiahcarty | 2010-04-12 00:14:12 -0400 (Mon, 12 Apr 2010) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
M /trunk/examples/ocaml/xplot01.ml
Simplify the way axes are drawn in the OCaml Plplot.Plot module
This should both simplify axis customization and make the interface
more consistent.
------------------------------------------------------------------------
r10902 | airwin | 2010-04-11 19:51:49 -0400 (Sun, 11 Apr 2010) | 8 lines
Changed paths:
M /trunk/examples/c/x07c.c
Finalize form of this example so the net change from the traditional version
is two added pages prepended for the compact Hershey font with the remaining
extended Hershey font pages identical to the traditional form of this
example except for the title and added glyphs (underscore in position 795
for Hershey fonts and many additions for Unicode fonts which were previously
covered by Hershey fallback).
------------------------------------------------------------------------
r10901 | airwin | 2010-04-11 19:42:36 -0400 (Sun, 11 Apr 2010) | 3 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
Large improvement in consistency and coverage of the transformation between
Hershey and Unicode indices.
------------------------------------------------------------------------
r10900 | airwin | 2010-04-11 11:30:41 -0400 (Sun, 11 Apr 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/cairo.cmake
Tweak wincairo disabling WARNING message when not a Windows platform.
------------------------------------------------------------------------
r10899 | airwin | 2010-04-11 11:20:51 -0400 (Sun, 11 Apr 2010) | 7 lines
Changed paths:
M /trunk/src/CMakeLists.txt
Implement HERSHEY_FALLBACK option which replaces Unicode with Hershey glyphs
if no unicode alternative is available in the translation table from Hershey
index to Unicode index. We normally want this replacement so the default
for this option is ON, but turning this option OFF allows our developers to
see where our translation table from Hershey to Unicode needs work.
------------------------------------------------------------------------
r10898 | airwin | 2010-04-11 01:05:48 -0400 (Sun, 11 Apr 2010) | 17 lines
Changed paths:
M /trunk/data/plstnd5.fnt
M /trunk/data/plxtnd5.fnt
M /trunk/fonts/font01.c
M /trunk/fonts/font11.c
Add some minimal documentation of buffer (subbuffer); findex (subindex); and
hersh (subhersh); that are used throughout fonts/font??. to define the
Hershey fonts and various indexing schemes for them that are used
by Plplot.
Add underscore glyph in Hershey fonts. Thanks to David MacMahon for
the implementation.
Move underscore position from 590 (which matched PGplot) to 795. This
changes the corresponding shortened index position of the underscore in the
standard fonts from 51 to 133. This change results in a much more logical
layout of the standard font that is displayed in first two pages of example
7. 795 is also a reasonable position for the underscore in the extended
Hershey font index which is displayed by the remaining pages of example 7
(see especially page 6 of that example).
------------------------------------------------------------------------
r10897 | airwin | 2010-04-10 12:40:14 -0400 (Sat, 10 Apr 2010) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/api.xml
Tweak wording of plfontld description.
------------------------------------------------------------------------
r10896 | hezekiahcarty | 2010-04-08 17:45:12 -0400 (Thu, 08 Apr 2010) | 4 lines
Changed paths:
M /trunk/src/plshade.c
Remove one more potentially erroneous pltr_data check.
This was missed in my last commit.
------------------------------------------------------------------------
r10895 | hezekiahcarty | 2010-04-08 17:28:21 -0400 (Thu, 08 Apr 2010) | 7 lines
Changed paths:
M /trunk/src/plshade.c
plshade* functions may receive a pltr function without pltr_data
In particular, bindings to languages other than C may never set
pltr_data. OCaml does not, for example. This would cause the
plshade functions to always assume a rectangular transform, regardless
of what the user specifies.
------------------------------------------------------------------------
r10894 | airwin | 2010-04-08 15:12:58 -0400 (Thu, 08 Apr 2010) | 5 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
Revert previous commit (revision 10889) which was bogus because it was
trying to paper over (for unicode devices) Hershey _ascii_ index issues
which have been subsequently fixed in a more fundamental way.
------------------------------------------------------------------------
r10893 | airwin | 2010-04-08 14:30:53 -0400 (Thu, 08 Apr 2010) | 22 lines
Changed paths:
M /trunk/data/plstnd5.fnt
M /trunk/data/plxtnd5.fnt
M /trunk/fonts/font11.c
Address long-standing issues in ascii index for plpoin to make results
conform as closely as possible to the ideal that is documented which is
codes between 32 and 127 should correspond to the corresponding ascii
character.
92 changed from dot to backslash (804 in the Hershey index)
94 changed from degree symbol to caret (832 in the Hershey index)
95 changed from dot to 590 in the Hershey index.
N.B. 590 is a placeholder for the underscore. There is currently no Hershey
glyph at that position, but in future an underscore glyph should be put
there. Note, 590 is the Hershey index used by PGplot for the underscore
so the 590 placeholder for underscore should assure future compatibility
with PGplot in this regard.
The new results for plstnd5.fnt and plxtnd5.fnt were generated using
-DBUILD_HERSHEY_FONTS=ON and running the resulting executables
./generate_xtndfonts, and ./generate_stndfonts in the fonts subdirectory
of the build tree and copying the results back to the data subdirectory
of the source tree.
------------------------------------------------------------------------
r10892 | hezekiahcarty | 2010-04-08 09:54:20 -0400 (Thu, 08 Apr 2010) | 8 lines
Changed paths:
M /trunk/src/plvpor.c
Fix bug in plvpas when using multiple sub-pages
The previous logic in plvpas assumed that there was only one sub-page
in use for the current plot, leading to bad plotting results when
multiple sub-pages are used. This revised version uses some (modified)
logic from plvasp to achieve proper functionality when used in a
sub-page plot.
------------------------------------------------------------------------
r10891 | airwin | 2010-04-07 15:08:50 -0400 (Wed, 07 Apr 2010) | 2 lines
Changed paths:
M /trunk/src/plsym.c
Add some (commented out) diagnostic output.
------------------------------------------------------------------------
r10890 | airwin | 2010-04-07 13:13:08 -0400 (Wed, 07 Apr 2010) | 20 lines
Changed paths:
M /trunk/examples/c/x07c.c
Display the union of all the Hershey glyph possibilities for the Hershey
font index range from 0 to 2999. Use the standard Hershey font for page 1
(0-99) and the new page 2 (100-199), and the extended Hershey font for the
remaining pages (excluding pages where no glyphs exist at all for either
font) as before.
Explanation: The standard font and extended font render the same characters
for indices 1-50, but the extended font has no glyphs for indices 51-171
while the standard font does have glyphs for that range. For indices from
200 to 2999 the reverse is the case; the standard font has no glyphs while
(except for the excluded pages where with special variations of this example
show there are no glyphs for either font) the extended fonts do have glyphs
in that range. Thus, to show the union of all glyphs available for the
standard fonts and extended fonts, the standard font is chosen for the first
two pages and the extended font for the remaining pages.
Please propagate these changes to our standard example 7 to all other
languages.
------------------------------------------------------------------------
r10889 | airwin | 2010-04-06 18:21:33 -0400 (Tue, 06 Apr 2010) | 35 lines
Changed paths:
M /trunk/fonts/plhershey-unicode.csv
These changes are due to a diagnostic printout of example 6 that correlates
the ascii code used for plpoin with the corresponding number used by plsym
in example 7. These changes are made to make plpoin correspond more closely
with its stated goal which is that codes between 32 and 127 correspond to
the printable ASCII character with that code.
1. Code 92 corresponds to number 729. Therefore, change 729 in this table
from unicode 0x22C5 (DOT OPERATOR) to 0x005C (REVERSE SOLIDUS = backslash) to
correspond to ascii character 92 which is a backslash.
2. Code 94 corresponds to number 718. Therefore, change 718 in this table
from unicode 0x00B0 (DEGREE SIGN) to 0x005E (CIRCUMFLEX ACCENT) to
correspond to ascii character 94 which is a circumflex = caret.
Caveats:
A. These fixes contradict what occurs for example 07 for Hershey font
devices (e.g., -dev xwin), but that is an error in our Hershey font drawing
data in the C code in fonts/*.c that is used to generate the Hershey fonts
that should also be fixed to make example 6 come out right for ascii codes
92 and 94.
B. Ascii code 95 should correspond to an underscore. However, nothing can be
done about that via this table because the translation from ascii code to
number is an integral part of the Hershey fonts, and a mistake was made
there such that code 95 corresponds to code 729 which is already used for
backslash. So this is one other error that must be addressed by fixing a
bug in our Hershey font generation source code.
C. During this investigation it was discovered that for the non-extended
Hershey font table, an additional ~100 codes are used in example 7 that have
no counterpart in this table. That issue will be addressed in the next
commit to this table.
------------------------------------------------------------------------
r10888 | airwin | 2010-04-05 02:14:40 -0400 (Mon, 05 Apr 2010) | 2 lines
Changed paths:
M /trunk/plplot_test/plplot-test.sh.cmake
wincairo is an interactive device that is tested.
------------------------------------------------------------------------
r10887 | airwin | 2010-04-05 00:58:13 -0400 (Mon, 05 Apr 2010) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Fix build system logic for case when diff and/or tail not available.
------------------------------------------------------------------------
r10886 | airwin | 2010-04-04 22:56:03 -0400 (Sun, 04 Apr 2010) | 6 lines
Changed paths:
M /trunk/cmake/external/libqhull/CMakeLists.txt
Add the private headers to what is installed. PLplot apparently does need
those private headers to compile libcsironn. I believe that must have
been the argument that Rafael used when he packaged qhull for Debian, because
that package does include the private qhull headers.
------------------------------------------------------------------------
r10885 | airwin | 2010-04-04 01:48:47 -0400 (Sun, 04 Apr 2010) | 4 lines
Changed paths:
M /trunk/cmake/external/libqhull/CMakeLists.txt
project command removed from src/CMakeLists.txt since that is already done by
top-level CMakeLists.txt in qhull-2010.1.
------------------------------------------------------------------------
r10884 | airwin | 2010-04-04 00:47:05 -0400 (Sun, 04 Apr 2010) | 7 lines
Changed paths:
M /trunk/cmake/external/libqhull/CMakeLists.txt
Update to Werner's "merged" version which combines my ideas with his for
improving the qhull build. Any further work on this file should be
committed here until the qhull developers accept our work.
This version should replace src/CMakeLists.txt in the qhull source tree.
------------------------------------------------------------------------
r10883 | airwin | 2010-04-03 13:58:39 -0400 (Sat, 03 Apr 2010) | 7 lines
Changed paths:
M /trunk/cmake/modules/ada.cmake
Look for gnat library with specific versioned names in reverse order so
newest is first (after generic gnat name).
Add gnat-4.5 (first) in versioned list. gnat-4.5 is used in latest MinGW
release and probably in up-to-date Linux distros as well.
------------------------------------------------------------------------
r10882 | airwin | 2010-03-29 11:15:17 -0400 (Mon, 29 Mar 2010) | 5 lines
Changed paths:
M /trunk/cmake/modules/language_support/cmake-2.6/CMakeFortranInformation.cmake
Fix typo found by Arjen: language-support ==> language_support. This sorts
out the MinGW Fortran problems he was having and probably means the previous
fix to change CMAKE_SOURCE_DIR to CMAKE_HOME_DIRECTORY was not necessary.
------------------------------------------------------------------------
r10881 | airwin | 2010-03-26 12:47:08 -0400 (Fri, 26 Mar 2010) | 11 lines
Changed paths:
M /trunk/cmake/modules/language_support/cmake-2.6/CMakeFortranInformation.cmake
We have solid evidence that the Fortran language support infrastructure for
CMake can temporarily modify CMAKE_SOURCE_DIR on MinGW (and possibly other
platforms although not Linux). To work around this issue,
change all occurrences of CMAKE_SOURCE_DIR to CMAKE_HOME_DIRECTORY in
hopes that this variable will not be messed with by the Fortran
language support infrastructure.
This change works on Linux. Needs testing on MinGW and other Windows
platforms.
------------------------------------------------------------------------
r10880 | hbabcock | 2010-03-23 15:52:58 -0400 (Tue, 23 Mar 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Tweak xcairo driver so that button and keypress handling more exactly matched that of xev.
------------------------------------------------------------------------
r10879 | hbabcock | 2010-03-23 15:29:55 -0400 (Tue, 23 Mar 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
M /trunk/examples/c/x01c.c
Change xcairo keyPress hanlding to match that used by xev. Properly initialize PLGraphicsIn structure for the wincairo device. Modify example 1 to output gin.string as well as gin.keysym in locate mode.
------------------------------------------------------------------------
r10878 | hbabcock | 2010-03-21 16:36:33 -0400 (Sun, 21 Mar 2010) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
Implement interactive selection for the wincairo driver.
This works the same way as for the xcairo driver, i.e. you have to press a key to record the current cursor position & exit locate mode.
------------------------------------------------------------------------
r10877 | hbabcock | 2010-03-21 15:41:36 -0400 (Sun, 21 Mar 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Call blit_to_x in PLESC_GETC so that the plot is displayed for the user to click on.
------------------------------------------------------------------------
r10876 | hbabcock | 2010-03-21 15:10:20 -0400 (Sun, 21 Mar 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Fix win_cairo call to rotate_cairo_surface.
------------------------------------------------------------------------
r10875 | airwin | 2010-03-20 20:43:45 -0400 (Sat, 20 Mar 2010) | 7 lines
Changed paths:
M /trunk/CMakeLists.txt
Use the recommended (but not tested yet) command
set(CPACK_SET_DESTDIR ON)
Apparently this fix is necessary to be able to generate binary distributions
of PLplot because of the absolute locations we use for our install locations.
------------------------------------------------------------------------
r10874 | hezekiahcarty | 2010-03-18 16:23:49 -0400 (Thu, 18 Mar 2010) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
Fix transparent backgrounds for the pngcairo device
------------------------------------------------------------------------
r10873 | airwin | 2010-03-18 15:33:34 -0400 (Thu, 18 Mar 2010) | 3 lines
Changed paths:
M /trunk/drivers/README.drivers
Interactive devices are now tested with plplot-test.sh so make that clear
in the directions.
------------------------------------------------------------------------
r10872 | airwin | 2010-03-17 16:17:58 -0400 (Wed, 17 Mar 2010) | 4 lines
Changed paths:
M /trunk/cmake/modules/language_support/cmake/CMakeAdaInformation.cmake
Use the environment variable ADAFLAGS rather than FFLAGS (?) to set
Ada compiler flags.
------------------------------------------------------------------------
r10871 | airwin | 2010-03-17 16:16:48 -0400 (Wed, 17 Mar 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/language_support/cmake/CMakeDInformation.cmake
Use the environment variable DFLAGS rather than CFLAGS to set compiler flags.
------------------------------------------------------------------------
r10870 | airwin | 2010-03-15 02:11:52 -0400 (Mon, 15 Mar 2010) | 3 lines
Changed paths:
M /trunk/README.testing
Update testing instructions by cutting and pasting from the updated Wiki
at http://www.miscdebris.net/plplot_wiki/index.php?title=Testing_PLplot.
------------------------------------------------------------------------
r10869 | airwin | 2010-03-14 13:17:57 -0400 (Sun, 14 Mar 2010) | 4 lines
Changed paths:
M /trunk/src/plfill.c
Remove some of my local work that is not ready for prime time and which
was inadvertently included in the commit of David's "Support arbitrary
storage of 2D user data" patch.
------------------------------------------------------------------------
r10868 | airwin | 2010-03-14 13:04:57 -0400 (Sun, 14 Mar 2010) | 74 lines
Changed paths:
A /trunk/src/plf2ops.c
Apply patch from David MacMahon to support arbitrary storage of 2D
user data.
This is a roll-up of all previous PLplot patches related to supporting
arbitrary storage of 2D user data. This patch is based on (and should
apply cleanly to) svn trunk r10859.
Adds support for arbitrary storage of 2D user data. This is very
similar to the technique employed by some existing functions (e.g.
plfcont and plfshade) that use "evaluator" functions to access 2D user
data that is stored in an arbtrary format. The new approach extends
the concept of a user-supplied (or predefined) "evaluator" function to a
group of user-supplied (or predefined) "operator" functions. The
operator functions provide for various operations on the arbitrarily
stored 2D data including: get, set, +=, -=, *=, /=, isnan, minmax, and
f2eval.
To facilitate the passing of an entire family of operator functions (via
function pointers), a plf2ops_t structure is defined to contain a
pointer to each type of operator function. Predefined operator
functions are defined for several common 2D data storage techniques.
Variables (of type plf2ops_t) containing function pointers for these
operator functions are also defined.
New variants of functions that accept 2D data are created. The new
variants accept the 2D data as two parameters: a pointer to a plf2ops_t
structure containing (pointers to) suitable operator functions and a
PLPointer to the actual 2D data store. Existing functions that accept
2D data are modified to simply pass their parameters to the
corresponding new variant of the function, along with a pointer to the
suitable predefined plf2ops_t stucture of operator function pointers.
The list of functions for which new variants are created is:
c_plimage, c_plimagefr, c_plmesh, c_plmeshc, c_plot3d, c_plot3dc,
c_plot3dcl, c_plshade1, c_plshades, c_plsurf3d, and c_plsurf3dl, and
c_plgriddata. The new variants are named the same as their
corresponding existing function except that the "c_" prefix is changed
to "plf" (e.g. the new variant of c_plmesh is called plfmesh).
Adds plfvect declaration to plplot.h and changes the names (and only the
names) of some plfvect arguments to make them slightly clearer. In
order to maintain backwards API compatibility, this function and the
other existing functions that use "evaluator" functions are NOT changed
to use the new operator functions.
Makes plplot.h and libplplot consistent vis-a-vis pltr0f and pltr2d.
Moves the definitions of pltr2f (already declared in plplot.h) from the
sccont.c files of the FORTRAN 77 and Fortran 95 bindings into plcont.c.
Removes pltr0f declaration from plplot.h.
Changes x08c.c to demonstrate use of new support for arbitrary storage
of 2D data arrays. Shows how to do surface plots with the following
four types of 2D data arrays:
1) PLFLT z[nx][ny];
2) PLfGrid2 z;
3) PLFLT z[nx*ny]; /* row major order */
4) PLFLT z[nx*ny]; /* column major order */
---
bindings/f77/sccont.c | 182 ---------------------
bindings/f95/sccont.c | 182 ---------------------
examples/c/x08c.c | 45 ++++--
include/plplot.h | 238 ++++++++++++++++++++++++++--
src/CMakeLists.txt | 1 +
src/plcont.c | 207 +++++++++++++++++++++++-
src/plf2ops.c | 426 +++++++++++++++++++++++++++++++++++++++++++++++++
src/plgridd.c | 120 ++++++++------
src/plimage.c | 49 +++++--
src/plot3d.c | 212 ++++++++++++++++---------
src/plshade.c | 81 ++++++++--
src/plvect.c | 17 +--
12 files changed, 1200 insertions(+), 560 deletions(-)
------------------------------------------------------------------------
r10867 | hezekiahcarty | 2010-03-14 11:45:42 -0400 (Sun, 14 Mar 2010) | 5 lines
Changed paths:
M /trunk/drivers/cairo.c
Small change to fix the extXdrawable_demo.c example
The off-screen rendered plot was never flushed to the on-screen
surface in the external drawable case.
------------------------------------------------------------------------
r10866 | hezekiahcarty | 2010-03-14 11:44:48 -0400 (Sun, 14 Mar 2010) | 5 lines
Changed paths:
M /trunk/drivers/cairo.c
If the background is transparent, use a white under-layer
This fixes the "bleeding through" of previous plot pages when using the
xcairo driver.
------------------------------------------------------------------------
r10865 | hezekiahcarty | 2010-03-14 01:55:16 -0500 (Sun, 14 Mar 2010) | 5 lines
Changed paths:
M /trunk/drivers/cairo.c
Fix a segfault-causing logic error in the xcairo dirty rectangle logic
The Xlib Cairo surface should only be rotated when the xcairo device is
in use, not just when it is enabled at compile time.
------------------------------------------------------------------------
r10864 | airwin | 2010-03-13 18:37:28 -0500 (Sat, 13 Mar 2010) | 74 lines
Changed paths:
M /trunk/bindings/f77/sccont.c
M /trunk/bindings/f95/sccont.c
M /trunk/examples/c/x08c.c
M /trunk/include/plplot.h
M /trunk/src/CMakeLists.txt
M /trunk/src/plcont.c
M /trunk/src/plfill.c
M /trunk/src/plgridd.c
M /trunk/src/plimage.c
M /trunk/src/plot3d.c
M /trunk/src/plshade.c
M /trunk/src/plvect.c
Apply patch from David MacMahon to support arbitrary storage of 2D
user data.
This is a roll-up of all previous PLplot patches related to supporting
arbitrary storage of 2D user data. This patch is based on (and should
apply cleanly to) svn trunk r10859.
Adds support for arbitrary storage of 2D user data. This is very
similar to the technique employed by some existing functions (e.g.
plfcont and plfshade) that use "evaluator" functions to access 2D user
data that is stored in an arbtrary format. The new approach extends
the concept of a user-supplied (or predefined) "evaluator" function to a
group of user-supplied (or predefined) "operator" functions. The
operator functions provide for various operations on the arbitrarily
stored 2D data including: get, set, +=, -=, *=, /=, isnan, minmax, and
f2eval.
To facilitate the passing of an entire family of operator functions (via
function pointers), a plf2ops_t structure is defined to contain a
pointer to each type of operator function. Predefined operator
functions are defined for several common 2D data storage techniques.
Variables (of type plf2ops_t) containing function pointers for these
operator functions are also defined.
New variants of functions that accept 2D data are created. The new
variants accept the 2D data as two parameters: a pointer to a plf2ops_t
structure containing (pointers to) suitable operator functions and a
PLPointer to the actual 2D data store. Existing functions that accept
2D data are modified to simply pass their parameters to the
corresponding new variant of the function, along with a pointer to the
suitable predefined plf2ops_t stucture of operator function pointers.
The list of functions for which new variants are created is:
c_plimage, c_plimagefr, c_plmesh, c_plmeshc, c_plot3d, c_plot3dc,
c_plot3dcl, c_plshade1, c_plshades, c_plsurf3d, and c_plsurf3dl, and
c_plgriddata. The new variants are named the same as their
corresponding existing function except that the "c_" prefix is changed
to "plf" (e.g. the new variant of c_plmesh is called plfmesh).
Adds plfvect declaration to plplot.h and changes the names (and only the
names) of some plfvect arguments to make them slightly clearer. In
order to maintain backwards API compatibility, this function and the
other existing functions that use "evaluator" functions are NOT changed
to use the new operator functions.
Makes plplot.h and libplplot consistent vis-a-vis pltr0f and pltr2d.
Moves the definitions of pltr2f (already declared in plplot.h) from the
sccont.c files of the FORTRAN 77 and Fortran 95 bindings into plcont.c.
Removes pltr0f declaration from plplot.h.
Changes x08c.c to demonstrate use of new support for arbitrary storage
of 2D data arrays. Shows how to do surface plots with the following
four types of 2D data arrays:
1) PLFLT z[nx][ny];
2) PLfGrid2 z;
3) PLFLT z[nx*ny]; /* row major order */
4) PLFLT z[nx*ny]; /* column major order */
---
bindings/f77/sccont.c | 182 ---------------------
bindings/f95/sccont.c | 182 ---------------------
examples/c/x08c.c | 45 ++++--
include/plplot.h | 238 ++++++++++++++++++++++++++--
src/CMakeLists.txt | 1 +
src/plcont.c | 207 +++++++++++++++++++++++-
src/plf2ops.c | 426 +++++++++++++++++++++++++++++++++++++++++++++++++
src/plgridd.c | 120 ++++++++------
src/plimage.c | 49 +++++--
src/plot3d.c | 212 ++++++++++++++++---------
src/plshade.c | 81 ++++++++--
src/plvect.c | 17 +--
12 files changed, 1200 insertions(+), 560 deletions(-)
------------------------------------------------------------------------
r10863 | hbabcock | 2010-03-13 14:39:09 -0500 (Sat, 13 Mar 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Set pls->dev_clear = 0, following the qt driver, so that you cannot see an older plot through a new plot with a transparent background.
------------------------------------------------------------------------
r10862 | hezekiahcarty | 2010-03-13 12:30:24 -0500 (Sat, 13 Mar 2010) | 9 lines
Changed paths:
M /trunk/drivers/cairo.c
Add dirty rectangle support to xcairo off-screen rendering
This provides a large speedup for example 17 running with the xcairo
driver. It also addresses a problem pointed out by AWI when using
xcairo over a network.
This also causes a small but noticable slowdown for example 20. I will
look in to how to alleviate this.
------------------------------------------------------------------------
r10861 | hezekiahcarty | 2010-03-13 12:28:14 -0500 (Sat, 13 Mar 2010) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
Re-use the poly_line function to avoid code duplication
------------------------------------------------------------------------
r10860 | hezekiahcarty | 2010-03-13 12:27:27 -0500 (Sat, 13 Mar 2010) | 2 lines
Changed paths:
M /trunk/examples/ocaml/x17.ml
Small whitespace cleanup
------------------------------------------------------------------------
r10859 | airwin | 2010-03-07 18:07:03 -0500 (Sun, 07 Mar 2010) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Fix file and target dependencies of test_octave_${interactive_device} targets.
------------------------------------------------------------------------
r10858 | airwin | 2010-03-06 19:43:15 -0500 (Sat, 06 Mar 2010) | 6 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
Introduce FORCE_OCAMLC option to force using ocamlc rather than ocamlopt
(defaults to NO).
Fix CMake logic bug for the case when OCAMLOPT is not true.
------------------------------------------------------------------------
r10857 | hezekiahcarty | 2010-03-06 14:11:19 -0500 (Sat, 06 Mar 2010) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/api.xml
Update documentation for plimagefr per David MacMahon's suggestions
------------------------------------------------------------------------
r10856 | airwin | 2010-03-06 02:10:32 -0500 (Sat, 06 Mar 2010) | 3 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Propagate additional ocaml-related variables to installed examples build
system so that xgtk_interfaceocaml builds properly there.
------------------------------------------------------------------------
r10855 | airwin | 2010-03-06 02:09:00 -0500 (Sat, 06 Mar 2010) | 2 lines
Changed paths:
M /trunk/examples/ocaml/CMakeLists.txt
Minor CMake code cleanup.
------------------------------------------------------------------------
r10854 | airwin | 2010-03-05 18:51:15 -0500 (Fri, 05 Mar 2010) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Fix mismatched endif (also spotted by David MacMahon).
------------------------------------------------------------------------
r10853 | airwin | 2010-03-05 15:45:22 -0500 (Fri, 05 Mar 2010) | 8 lines
Changed paths:
M /trunk/plplot_test/test_octave_interactive.sh.in
Temporarily drop certain of the p examples from the list that is tested for
the reasons (all relevant to -dev qtwidget) given in the comments. Once
those are dropped, The test_octave_qtwidget works, but other devices have
difficulties (test_octave_xcairo too slow on these interactive examples,
test_octave_xwin errors out immediately, test_octave_wxwidgets can only do
one example at a time and segfaults when attempting a second example).
------------------------------------------------------------------------
r10852 | airwin | 2010-03-05 15:05:41 -0500 (Fri, 05 Mar 2010) | 5 lines
Changed paths:
M /trunk/bindings/octave/PLplot/figure.m
Avoid zero offset for geometry. opt_geo in plargs.c gives a warning message
about zero offset values because plspage simply ignores zero values and
doesn't change what was there before.
------------------------------------------------------------------------
r10851 | airwin | 2010-03-05 14:23:53 -0500 (Fri, 05 Mar 2010) | 8 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/plplot_test/CMakeLists.txt
M /trunk/plplot_test/plplot-test.sh.cmake
A /trunk/plplot_test/test_octave_interactive.sh.in (from /trunk/plplot_test/test_octave.sh.in:10837)
Implement test_octave_$device (e.g., test_octave_xwin) targets where $device
is any of our interactive devices. Currently this runs all the "p" octave
examples interactively for the given device and shows some bugs that will be
discussed on list. Because of the bugs, the dependencies
of the test_interactive target on these interactive octave testing targets
has been temporarily commented out.
------------------------------------------------------------------------
r10850 | airwin | 2010-03-05 14:16:05 -0500 (Fri, 05 Mar 2010) | 2 lines
Changed paths:
M /trunk/plplot_test/test_octave.sh.in
Improve indentation and commentary.
------------------------------------------------------------------------
r10849 | airwin | 2010-03-05 12:47:22 -0500 (Fri, 05 Mar 2010) | 4 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Implement test_pyqt4_example interactive target which the test_interactive
target depends upon. This works for both the build tree and the installed
examples tree.
------------------------------------------------------------------------
r10848 | airwin | 2010-03-05 12:45:48 -0500 (Fri, 05 Mar 2010) | 3 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Propagate ENABLE_pyqt4 to installed examples build system. This allows
implementation of the test_pyqt4_example target for the installed examples.
------------------------------------------------------------------------
r10847 | airwin | 2010-03-05 12:44:11 -0500 (Fri, 05 Mar 2010) | 3 lines
Changed paths:
M /trunk/bindings/qt_gui/pyqt4/CMakeLists.txt
Export the plplot_pyqt4 target so that can run pyqt4 example in installed
examples.
------------------------------------------------------------------------
r10846 | airwin | 2010-03-05 10:56:08 -0500 (Fri, 05 Mar 2010) | 7 lines
Changed paths:
M /trunk/examples/octave/x29c.m
AWI for David MacMahon. Replace strcat (whose effect changes for octave
version 3.2 to kill all trailing blanks in the strings being concatanated)
with another method of concatanating strings which doesn't kill trailing
blanks in substrings and which works for David (for octave-3.2.3) and also
works for me (octave-3.0.1).
------------------------------------------------------------------------
r10845 | arjenmarkus | 2010-03-05 05:36:26 -0500 (Fri, 05 Mar 2010) | 4 lines
Changed paths:
M /trunk/examples/f95/x20f.f90
Changed the method to read the header of the PGM file - this turned out to
cause problems with some platforms. No idea why, but the new method does
not rely on a temporary file.
------------------------------------------------------------------------
r10844 | airwin | 2010-03-04 15:55:08 -0500 (Thu, 04 Mar 2010) | 3 lines
Changed paths:
M /trunk/examples/python/pyqt4_example.py
Reorder import statements so a consistent set of Qt4 libraries are used
if you are using downloaded Qt4 with non-standard install location.
------------------------------------------------------------------------
r10843 | airwin | 2010-03-03 21:13:37 -0500 (Wed, 03 Mar 2010) | 6 lines
Changed paths:
M /trunk/examples/tcl/x19.tcl
M /trunk/examples/tk/standard_examples.in
Found and fixed source of bug 2963021 which was a missing "$w cmd"
on the last call to plslabelfunc. Because of this change example 19
can now be tested with all the rest of the standard examples in
examples/tk/standard_examples.in.
------------------------------------------------------------------------
r10842 | airwin | 2010-03-03 20:08:00 -0500 (Wed, 03 Mar 2010) | 5 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/examples/tk/CMakeLists.txt
A /trunk/examples/tk/standard_examples.in (from /trunk/examples/tk/plgrid.in:10840)
Implement the interactive test_tk_standard_examples test target to run all the
standard examples under plserver. This target works both for the
build tree and also the installed examples tree when built using CMake.
------------------------------------------------------------------------
r10841 | airwin | 2010-03-03 19:48:36 -0500 (Wed, 03 Mar 2010) | 6 lines
Changed paths:
M /trunk/examples/tk/tkdemos.tcl
Fix some plspal1 bit-rot.
Don't exclude example 31 at this level since it is now copied appropriately
(even though it might not work).
------------------------------------------------------------------------
r10840 | airwin | 2010-03-03 18:32:41 -0500 (Wed, 03 Mar 2010) | 5 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/examples/tk/CMakeLists.txt
A /trunk/examples/tk/plgrid.in (from /trunk/examples/tk/tk03.in:10838)
Add the test_tk_plgrid interactive target that tests the plgrid.tcl example
under plserver. This works for both the build tree and the CMake-based
build system for the installed examples tree.
------------------------------------------------------------------------
r10839 | airwin | 2010-03-03 07:44:08 -0500 (Wed, 03 Mar 2010) | 9 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Now that everything Tk-related seems to be working again (thanks to Arjen
and Andrew), implement test_tk_01, test_tk_02, test_tk_03, and test_tk_04
targets to test the four Tk examples. Make these test targets dependencies
of the overall test_interactive target.
These new test targets (as well as test_interactive) work in both the build
tree and installed examples tree.
------------------------------------------------------------------------
r10838 | airwin | 2010-03-02 21:13:34 -0500 (Tue, 02 Mar 2010) | 6 lines
Changed paths:
M /trunk/examples/tk/CMakeLists.txt
D /trunk/examples/tk/tk01
A /trunk/examples/tk/tk01.in (from /trunk/examples/tk/tk01:10837)
D /trunk/examples/tk/tk02
A /trunk/examples/tk/tk02.in (from /trunk/examples/tk/tk02:10837)
D /trunk/examples/tk/tk03
A /trunk/examples/tk/tk03.in (from /trunk/examples/tk/tk03:10837)
D /trunk/examples/tk/tk04
A /trunk/examples/tk/tk04.in (from /trunk/examples/tk/tk04:10837)
Change over to configured form of the tk01, tk02, tk03, and tk04 scripts.
This allows clean separation of build-tree and install-tree location of
xtk01 (invoked by tk01), xtk02 (invoked by tk02), plserver (invoked by
tk03), and xtk04 (invoked by tk04).
------------------------------------------------------------------------
r10837 | airwin | 2010-03-01 15:52:41 -0500 (Mon, 01 Mar 2010) | 2 lines
Changed paths:
M /trunk/README.release
Include more information about test conditions (e.g., 64-bit hardware).
------------------------------------------------------------------------
r10836 | andrewross | 2010-03-01 15:12:43 -0500 (Mon, 01 Mar 2010) | 3 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
Fix handling of the auto_path list variable in tcl. This fixes plplot bug #2960318.
------------------------------------------------------------------------
r10835 | airwin | 2010-03-01 15:07:25 -0500 (Mon, 01 Mar 2010) | 3 lines
Changed paths:
M /trunk/README.release
Revision 10834 fixes the D static linking issue. Update test results
accordingly.
------------------------------------------------------------------------
r10834 | airwin | 2010-03-01 15:04:59 -0500 (Mon, 01 Mar 2010) | 6 lines
Changed paths:
M /trunk/cmake/modules/language_support/cmake/CMakeDCompiler.cmake.in
Change CMAKE_D_LINKER_PREFERENCE from None to Preferred. This solves the
CMake-2.8.x issue (and introduces no regressions for CMake-2.6.4) where the
wrong linker (c++ rather than gdc) was being used for D applications for the
case where static libraries were being built/used.
------------------------------------------------------------------------
r10833 | airwin | 2010-03-01 15:00:57 -0500 (Mon, 01 Mar 2010) | 7 lines
Changed paths:
M /trunk/cmake/modules/language_support/cmake/CMakeAdaCompiler.cmake.in
Change spelling of the CMAKE_<LANG>_LINKER_PREFERENCE string to the correct
form in English ("Preferred"). This introduces no changes in results (which
is also confirmed by the cmake (2.6.0 and 2.8.1rc3) source code where it is
clear only the first letter of the CMAKE_<LANG>_LINKER_PREFERENCE variable
is relevant.
------------------------------------------------------------------------
r10830 | airwin | 2010-02-28 01:10:44 -0500 (Sun, 28 Feb 2010) | 16 lines
Changed paths:
M /trunk/README.release
Enter column of test results for the case of a static library build
(BUILD_SHARED_LIBS=OFF), cmake-2.8.1-rc3, and Debian Lenny.
This completes the first round of my set of six test results (3 major
configurations, 2 CMake versions) for Debian Lenny, but I plan further
rounds of testing of these configurations when CMake-2.8.1 is released,
PLplot bug fixes are made, or there are significant extensions of the tests
performed by the two major test targets (test_noninteractive or
test_interactive). I also plan to do a final round of testing in the week
before the release to confirm no new regressions have been introduced by the
usual last-minute flurry of PLplot changes before the release.
N.B. Test results are requested for other Linux platforms, Mac OS X or other
Unix platforms, and the various Windows platforms.
------------------------------------------------------------------------
r10829 | airwin | 2010-02-27 23:55:33 -0500 (Sat, 27 Feb 2010) | 4 lines
Changed paths:
M /trunk/README.release
Enter column of test results for static devices (ENABLE_DYNDRIVER=OFF),
cmake-2.8.1-rc3, and Debian Lenny.
------------------------------------------------------------------------
r10828 | airwin | 2010-02-27 22:40:52 -0500 (Sat, 27 Feb 2010) | 4 lines
Changed paths:
M /trunk/README.release
Enter column of test results for the case of a static library build
(BUILD_SHARED_LIBS=OFF), cmake-2.6.4, and Debian Lenny.
------------------------------------------------------------------------
r10827 | airwin | 2010-02-27 16:42:57 -0500 (Sat, 27 Feb 2010) | 4 lines
Changed paths:
M /trunk/scripts/test_bisect.sh
Update script to help bisect agonizingly slow example 17 issue for xcairo.
It turns out this regression was also caused by Hez's revision 10329.
------------------------------------------------------------------------
r10826 | airwin | 2010-02-27 16:30:49 -0500 (Sat, 27 Feb 2010) | 2 lines
Changed paths:
M /trunk/README.release
Add more bug information to test results.
------------------------------------------------------------------------
r10825 | airwin | 2010-02-27 15:29:20 -0500 (Sat, 27 Feb 2010) | 3 lines
Changed paths:
M /trunk/scripts/test_bisect.sh
Update script to look for extXdrawable regression (which was found by
svn-bisect to occur for Hez's revision 10329).
------------------------------------------------------------------------
r10824 | airwin | 2010-02-27 13:50:47 -0500 (Sat, 27 Feb 2010) | 2 lines
Changed paths:
M /trunk/README.release
Note explicit bug numbers in testing table notes.
------------------------------------------------------------------------
r10823 | airwin | 2010-02-27 12:48:32 -0500 (Sat, 27 Feb 2010) | 7 lines
Changed paths:
M /trunk/plplot_test/test_c_interactive.sh.in
Vastly speed up the make_testinteractive target by using the -np (no pause)
option on all interactive tests done using the standard examples.
Also, reinstate example 17 for all but the xcairo device (which still
renders that interactive result much too slowly).
------------------------------------------------------------------------
r10822 | airwin | 2010-02-27 01:50:35 -0500 (Sat, 27 Feb 2010) | 4 lines
Changed paths:
M /trunk/README.release
Enter column of test results for ENABLE_DYNDRIVER=OFF, cmake-2.6.4, and
Debian Lenny. New bug (qt_example cannot exit normally because of
a mutex problem) found for this test case.
------------------------------------------------------------------------
r10821 | airwin | 2010-02-27 01:31:58 -0500 (Sat, 27 Feb 2010) | 4 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Set variables for targets cairo, gcw, wxwidgets, and qt for
the -DENABLE_DYNDRIVERS=ON case. This fixes a build system bug for
the -DENABLE_DYNDRIVERS=OFF case where these targets do not exist.
------------------------------------------------------------------------
r10820 | airwin | 2010-02-26 22:17:44 -0500 (Fri, 26 Feb 2010) | 2 lines
Changed paths:
M /trunk/README.release
Put table detailing tests that were made under the index.
------------------------------------------------------------------------
r10819 | airwin | 2010-02-26 16:03:34 -0500 (Fri, 26 Feb 2010) | 4 lines
Changed paths:
M /trunk/scripts/test_bisect.sh
Improve script so uses /tmp rather than generating a bunch of files in
source tree.
------------------------------------------------------------------------
r10818 | airwin | 2010-02-26 15:51:45 -0500 (Fri, 26 Feb 2010) | 2 lines
Changed paths:
M /trunk/scripts/test_bisect.sh
Update property to svn:executable.
------------------------------------------------------------------------
r10817 | airwin | 2010-02-26 15:40:46 -0500 (Fri, 26 Feb 2010) | 9 lines
Changed paths:
A /trunk/scripts/test_bisect.sh
Initial commit of script to help bisecting of regressions. This first
version has been used to find the regression that caused the error in -dev
tk for the installed examples. Further reversions will obviously differ
depending on how the regression being searched for is generated.
N.B. Since this script is under version control be sure to copy it
elsewhere before you do "svn update --reversion ..."
------------------------------------------------------------------------
r10815 | airwin | 2010-02-25 21:25:23 -0500 (Thu, 25 Feb 2010) | 3 lines
Changed paths:
M /trunk/README.release
Add in testing results for cmake-2.6.4 for default configuration, Debian
Lenny.
------------------------------------------------------------------------
r10814 | airwin | 2010-02-25 16:49:25 -0500 (Thu, 25 Feb 2010) | 2 lines
Changed paths:
M /trunk/README.release
Add in testing results for cmake-2.8.1-RC3.
------------------------------------------------------------------------
r10812 | airwin | 2010-02-23 17:17:20 -0500 (Tue, 23 Feb 2010) | 7 lines
Changed paths:
M /trunk/cmake/modules/language_support.cmake
Enable C along with the test language in the mini project to check whether
the test language compiler is missing or broken. CMake-2.8.x checks
languages slightly differently if a C compiler is present so this change is
made to be consistent with how the languages are enabled for PLplot itself.
Of course, a much better solution than workaround_9220 is to fix CMake bug
9220, but that has not happened yet.
------------------------------------------------------------------------
r10811 | jbauck | 2010-02-23 01:38:37 -0500 (Tue, 23 Feb 2010) | 1 line
Changed paths:
M /trunk/examples/ada/x16a.adb.cmake
M /trunk/examples/ada/xthick16a.adb.cmake
Fix minor bugs in formerly commented-out lines which exercise the "defined" feature of plshade. Since the option "exclude" is not parsed by the command line parser in these Ada examples as it is in the C example, this code can be reached only by editing the source to make exclude := True. When this is done, the Poscript output matches that of the C output when it is run with "exclude" passed from the command line, e.g., x16c -exclude
------------------------------------------------------------------------
r10809 | airwin | 2010-02-21 12:00:15 -0500 (Sun, 21 Feb 2010) | 7 lines
Changed paths:
M /trunk/plplot_test/test_java.sh.in
Remove double quotes around ${JAVA_TEST_OPTS} that were introduced in
previous commit. For unknown reasons those double quotes were causing
issues for the installed examples build system where JAVA_TEST_OPTS is
empty. This will probably need to be revisited when we deal with the
embedded blanks case for java.
------------------------------------------------------------------------
r10808 | arjenmarkus | 2010-02-21 07:15:23 -0500 (Sun, 21 Feb 2010) | 2 lines
Changed paths:
M /trunk/bindings/f77/plplotf77.def
M /trunk/bindings/f77/plplotf77_mingw.def
M /trunk/bindings/f95/plplotf95.def
M /trunk/bindings/f95/plplotf95_mingw.def
Adding exports for plspal0 and plspal1
------------------------------------------------------------------------
r10807 | arjenmarkus | 2010-02-21 05:48:08 -0500 (Sun, 21 Feb 2010) | 2 lines
Changed paths:
M /trunk/src/plfill.c
M /trunk/src/plgradient.c
Consistent signature for two static functions
------------------------------------------------------------------------
r10806 | airwin | 2010-02-18 17:55:28 -0500 (Thu, 18 Feb 2010) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Fix minor install location error for newly reorganized language support files.
------------------------------------------------------------------------
r10805 | airwin | 2010-02-18 16:38:39 -0500 (Thu, 18 Feb 2010) | 29 lines
Changed paths:
M /trunk/CMakeLists.txt
D /trunk/cmake/modules/CMakeAdaCompiler.cmake.in
D /trunk/cmake/modules/CMakeAdaInformation.cmake
D /trunk/cmake/modules/CMakeDCompiler.cmake.in
D /trunk/cmake/modules/CMakeDInformation.cmake
D /trunk/cmake/modules/CMakeD_Copyright.txt
D /trunk/cmake/modules/CMakeDetermineAdaCompiler.cmake
D /trunk/cmake/modules/CMakeDetermineDCompiler.cmake
D /trunk/cmake/modules/CMakeFortranInformation.cmake
D /trunk/cmake/modules/CMakeTestAdaCompiler.cmake
D /trunk/cmake/modules/CMakeTestDCompiler.cmake
D /trunk/cmake/modules/Platform
A /trunk/cmake/modules/language_support
A /trunk/cmake/modules/language_support/cmake
A /trunk/cmake/modules/language_support/cmake/CMakeAdaCompiler.cmake.in (from /trunk/cmake/modules/CMakeAdaCompiler.cmake.in:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeAdaInformation.cmake (from /trunk/cmake/modules/CMakeAdaInformation.cmake:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeDCompiler.cmake.in (from /trunk/cmake/modules/CMakeDCompiler.cmake.in:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeDInformation.cmake (from /trunk/cmake/modules/CMakeDInformation.cmake:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeD_Copyright.txt (from /trunk/cmake/modules/CMakeD_Copyright.txt:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeDetermineAdaCompiler.cmake (from /trunk/cmake/modules/CMakeDetermineAdaCompiler.cmake:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeDetermineDCompiler.cmake (from /trunk/cmake/modules/CMakeDetermineDCompiler.cmake:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeTestAdaCompiler.cmake (from /trunk/cmake/modules/CMakeTestAdaCompiler.cmake:10803)
A /trunk/cmake/modules/language_support/cmake/CMakeTestDCompiler.cmake (from /trunk/cmake/modules/CMakeTestDCompiler.cmake:10803)
A /trunk/cmake/modules/language_support/cmake/Platform (from /trunk/cmake/modules/Platform:10803)
D /trunk/cmake/modules/language_support/cmake/Platform/Cygwin-GNU-Fortran.cmake
D /trunk/cmake/modules/language_support/cmake/Platform/Windows-GNU-Fortran.cmake
D /trunk/cmake/modules/language_support/cmake/Platform/Windows-df.cmake
D /trunk/cmake/modules/language_support/cmake/Platform/Windows-f90.cmake
A /trunk/cmake/modules/language_support/cmake-2.6
A /trunk/cmake/modules/language_support/cmake-2.6/CMakeFortranInformation.cmake (from /trunk/cmake/modules/CMakeFortranInformation.cmake:10803)
A /trunk/cmake/modules/language_support/cmake-2.6/Platform
A /trunk/cmake/modules/language_support/cmake-2.6/Platform/Cygwin-GNU-Fortran.cmake (from /trunk/cmake/modules/Platform/Cygwin-GNU-Fortran.cmake:10803)
A /trunk/cmake/modules/language_support/cmake-2.6/Platform/Windows-GNU-Fortran.cmake (from /trunk/cmake/modules/Platform/Windows-GNU-Fortran.cmake:10803)
A /trunk/cmake/modules/language_support/cmake-2.6/Platform/Windows-df.cmake (from /trunk/cmake/modules/Platform/Windows-df.cmake:10803)
A /trunk/cmake/modules/language_support/cmake-2.6/Platform/Windows-f90.cmake (from /trunk/cmake/modules/Platform/Windows-f90.cmake:10803)
A /trunk/cmake/modules/language_support/cmake-2.8
A /trunk/cmake/modules/language_support/cmake-2.8/Platform
M /trunk/cmake/modules/language_support.cmake
M /trunk/examples/CMakeLists.txt
Reorganize language support using the CMAKE_MODULES_PATH list to have
different language support depending on whether the cmake version is
2.6.x or 2.8.x.
The new locations for all language support files are
cmake/modules/language_support/cmake
cmake/modules/language_support/cmake/Platform
cmake/modules/language_support/cmake-2.6
cmake/modules/language_support/cmake-2.6/Platform
cmake/modules/language_support/cmake-2.8
cmake/modules/language_support/cmake-2.8/Platform
The cmake subdirectory is used for all language support infrastructure files
(currently Ada and D) that are independent of whether the version of CMake
is 2.6.x or 2.8.x. The cmake-2.6 subdirectory is used for all language
support infrastructure files (currently Fortran for CMake-2.6.x) that depend
on CMake-2.6.x. The cmake-2.8 subdirectory (currently empty) is to be used
for all language support infrastructure files (Fortran for CMake-2.8.x as
soon as Arjen's work is done for that) that depend on CMake-2.8.x.
Currently tested just for Linux with gfortran, the standard Linux Ada and D
compilers, and CMake-2.8.1-RC3. So obviously more testing is needed for
Linux and CMake-2.6.4 and especially on the Windows platforms (both for
CMake-2.6.4 and CMake-2.8.1-RC3) with all their special language support
requirements.
------------------------------------------------------------------------
r10804 | airwin | 2010-02-17 16:41:03 -0500 (Wed, 17 Feb 2010) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
Style recent cairo changes.
------------------------------------------------------------------------
r10803 | arjenmarkus | 2010-02-17 02:49:20 -0500 (Wed, 17 Feb 2010) | 1 line
Changed paths:
M /trunk/bindings/f95/plplotf95.def
M /trunk/bindings/f95/plplotf95_mingw.def
Correct the decorated name for the routine plgradient, as it appears in the linker def file. This caused an undefined symbol error.
------------------------------------------------------------------------
r10802 | hbabcock | 2010-02-10 21:22:29 -0500 (Wed, 10 Feb 2010) | 1 line
Changed paths:
M /trunk/drivers/aqt.c
Correct a typo introduced by manual application of Leo's patch.
------------------------------------------------------------------------
r10801 | hbabcock | 2010-02-10 20:57:41 -0500 (Wed, 10 Feb 2010) | 1 line
Changed paths:
M /trunk/drivers/aqt.c
Applied patch from Leo on 02-06-10. This changes the import statement to use the standard way to include a header file in a framework. untested.
------------------------------------------------------------------------
r10800 | airwin | 2010-02-09 17:58:28 -0500 (Tue, 09 Feb 2010) | 3 lines
Changed paths:
M /trunk/src/CMakeLists.txt
Fix QHULL_PATH ==> QHULL_RPATH typo. Thanks to David MacMahon for spotting
this.
------------------------------------------------------------------------
r10799 | airwin | 2010-02-08 14:42:36 -0500 (Mon, 08 Feb 2010) | 7 lines
Changed paths:
M /trunk/src/CMakeLists.txt
Use filtered QHULL_RPATH as appropriate.
Get rid of incomplete RPATH filtering here which has been replaced by
complete filtering where all the RPATH related variables are defined in
cmake/modules/*.cmake.
------------------------------------------------------------------------
r10798 | airwin | 2010-02-08 14:40:17 -0500 (Mon, 08 Feb 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/csiro.cmake
Define filtered QHULL_RPATH.
------------------------------------------------------------------------
r10797 | airwin | 2010-02-08 14:37:43 -0500 (Mon, 08 Feb 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/plplot.cmake
Comment out debugging messages.
------------------------------------------------------------------------
r10796 | airwin | 2010-02-08 14:33:38 -0500 (Mon, 08 Feb 2010) | 4 lines
Changed paths:
M /trunk/cmake/modules/cairo.cmake
M /trunk/cmake/modules/drivers.cmake
M /trunk/cmake/modules/pdf.cmake
M /trunk/cmake/modules/plplot.cmake
M /trunk/cmake/modules/psttf.cmake
M /trunk/cmake/modules/qt.cmake
Define and use filter_rpath function to filter out default locations from
rpath data.
------------------------------------------------------------------------
r10795 | airwin | 2010-02-06 20:47:34 -0500 (Sat, 06 Feb 2010) | 5 lines
Changed paths:
M /trunk/bindings/tk-x-plat/pkgIndex.tcl.in
Fix (suggested by Arjen Markus and implemented by Andrew Ross for
bindings/tk and bindings/tcl) which allows blank spaces to be used in build /
install path names. Untested.
------------------------------------------------------------------------
r10794 | andrewross | 2010-02-06 15:35:25 -0500 (Sat, 06 Feb 2010) | 3 lines
Changed paths:
M /trunk/bindings/tcl/pkgIndex.tcl.in
M /trunk/bindings/tcl/tclAPI.c
M /trunk/bindings/tk/pkgIndex.tcl.in
M /trunk/bindings/tk/plserver.c
Fix (due to Arjen Markus) which allows blank spaces to be used in build / install path names.
------------------------------------------------------------------------
r10793 | hbabcock | 2010-02-05 20:48:39 -0500 (Fri, 05 Feb 2010) | 1 line
Changed paths:
M /trunk/cmake/modules/plplot.cmake
M /trunk/config.h.cmake
M /trunk/examples/c/x14c.c
M /trunk/examples/c++/x14.cc
M /trunk/examples/d/x14d.d
M /trunk/examples/f77/x14f.fm4
M /trunk/examples/f95/x14f.f90
M /trunk/examples/java/x14.java
M /trunk/examples/lua/x14.lua
M /trunk/examples/ocaml/x14.ml
M /trunk/examples/octave/x14c.m
M /trunk/examples/perl/x14.pl
M /trunk/examples/tcl/x14.tcl
M /trunk/src/plargs.c
Apply patches from David MacMahon on 01-28-10 and 02-05-10
------------------------------------------------------------------------
r10792 | hbabcock | 2010-02-01 10:59:44 -0500 (Mon, 01 Feb 2010) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
Apply patch from Mark de Wever. Style previous changes.
------------------------------------------------------------------------
r10791 | hbabcock | 2010-01-31 22:51:24 -0500 (Sun, 31 Jan 2010) | 4 lines
Changed paths:
M /trunk/drivers/cairo.c
Improvements to the wincairo driver:
(1) Handle redraw events.
(2) Handle window resizing.
------------------------------------------------------------------------
r10790 | hbabcock | 2010-01-31 18:59:04 -0500 (Sun, 31 Jan 2010) | 5 lines
Changed paths:
M /trunk/bindings/python/CMakeLists.txt
M /trunk/bindings/qt_gui/pyqt4/CMakeLists.txt
Windows specific changes to the Python and PyQt4 build:
(1) _plplotcmodule.dll is installed as _plplotc.pyd
(2) plplot_pyqt4.dll is installed as plplot_pyqt4.pyd
On Windows Python versions 2.5+ will only import ".pyd" files and not ".dll" files.
------------------------------------------------------------------------
r10789 | hezekiahcarty | 2010-01-31 15:07:21 -0500 (Sun, 31 Jan 2010) | 2 lines
Changed paths:
M /trunk/examples/ocaml/x28.ml
Propagate recent example 28 fixes to OCaml
------------------------------------------------------------------------
r10788 | hezekiahcarty | 2010-01-31 15:07:03 -0500 (Sun, 31 Jan 2010) | 2 lines
Changed paths:
M /trunk/examples/ocaml/x25.ml
M /trunk/examples/ocaml/x30.ml
Add plgradient support to OCaml examples
------------------------------------------------------------------------
r10787 | hezekiahcarty | 2010-01-31 15:05:55 -0500 (Sun, 31 Jan 2010) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_h
M /trunk/bindings/ocaml/plplot_h.inc
M /trunk/bindings/ocaml/touchup.ml
Add plgradient support to the OCaml bindings
------------------------------------------------------------------------
r10786 | hezekiahcarty | 2010-01-31 15:05:35 -0500 (Sun, 31 Jan 2010) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/touchup.ml
Regexp fix in the OCaml header touchup script
This does not have an immediate impact, but may in future PLplot
revisions.
------------------------------------------------------------------------
r10785 | hezekiahcarty | 2010-01-31 15:05:17 -0500 (Sun, 31 Jan 2010) | 5 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/c++/plstream.h
M /trunk/bindings/d/plplot.d
M /trunk/bindings/f77/sc3d.c
M /trunk/bindings/f77/sccont.c
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f95/sc3d.c
M /trunk/bindings/f95/sccont.c
M /trunk/bindings/f95/scstubs.c
M /trunk/bindings/gnome2/lib/gcw-lib.c
M /trunk/bindings/gnome2/lib/plplotcanvas.c
M /trunk/bindings/gnome2/python/cplplotcanvasmodule.c
M /trunk/bindings/gnome2/python/gcwmodule.c
M /trunk/bindings/java/PLStream.java
M /trunk/bindings/ocaml/plcairo/plcairo_impl.c
M /trunk/bindings/ocaml/plplot_impl.c
M /trunk/bindings/octave/massage.c
M /trunk/bindings/octave/plplot_octave.h.in
M /trunk/bindings/octave/plplot_octave_rej.h
M /trunk/bindings/python/plplot_widgetmodule.c
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/bindings/tcl/pltcl.h
M /trunk/bindings/tcl/tclAPI.c
M /trunk/bindings/tcl/tclMain.c
M /trunk/bindings/tcl/tclMatrix.c
M /trunk/bindings/tcl/tclMatrix.h
M /trunk/bindings/tk/Pltk_Init.c
M /trunk/bindings/tk/plframe.c
M /trunk/bindings/tk/plr.c
M /trunk/bindings/tk/plserver.c
M /trunk/bindings/tk/pltk.h
M /trunk/bindings/tk/tcpip.c
M /trunk/bindings/tk/tcpip.h
M /trunk/bindings/tk/tkMain.c
M /trunk/bindings/tk/tkshell.c
M /trunk/bindings/tk-x-plat/plplotter.c
M /trunk/bindings/wxwidgets/wxPLplotstream.cpp
M /trunk/bindings/wxwidgets/wxPLplotwindow.cpp
M /trunk/bindings/wxwidgets/wxPLplotwindow.h
M /trunk/drivers/aqt.c
M /trunk/drivers/cairo.c
M /trunk/drivers/cgm.c
M /trunk/drivers/dg300.c
M /trunk/drivers/gcw.c
M /trunk/drivers/gd.c
M /trunk/drivers/hpgl.c
M /trunk/drivers/impress.c
M /trunk/drivers/linuxvga.c
M /trunk/drivers/ljii.c
M /trunk/drivers/ljiip.c
M /trunk/drivers/mem.c
M /trunk/drivers/ntk.c
M /trunk/drivers/pbm.c
M /trunk/drivers/pdf.c
M /trunk/drivers/plmeta.c
M /trunk/drivers/plplotcanvas-hacktext.c
M /trunk/drivers/ps.c
M /trunk/drivers/pstex.c
M /trunk/drivers/qt.cpp
M /trunk/drivers/svg.c
M /trunk/drivers/tek.c
M /trunk/drivers/test-drv-info.c
M /trunk/drivers/tk.c
M /trunk/drivers/tkwin.c
M /trunk/drivers/wingcc.c
M /trunk/drivers/wxwidgets.cpp
M /trunk/drivers/wxwidgets.h
M /trunk/drivers/wxwidgets_agg.cpp
M /trunk/drivers/wxwidgets_app.cpp
M /trunk/drivers/wxwidgets_dc.cpp
M /trunk/drivers/wxwidgets_gc.cpp
M /trunk/drivers/xfig.c
M /trunk/drivers/xwin.c
M /trunk/examples/c/plcdemos.h
M /trunk/examples/c/plplotcanvas_animation.c
M /trunk/examples/c/plplotcanvas_demo.c
M /trunk/examples/c/tutor.c
M /trunk/examples/c/x01c.c
M /trunk/examples/c/x03c.c
M /trunk/examples/c/x04c.c
M /trunk/examples/c/x08c.c
M /trunk/examples/c/x09c.c
M /trunk/examples/c/x11c.c
M /trunk/examples/c/x12c.c
M /trunk/examples/c/x13c.c
M /trunk/examples/c/x14c.c
M /trunk/examples/c/x15c.c
M /trunk/examples/c/x16c.c
M /trunk/examples/c/x18c.c
M /trunk/examples/c/x19c.c
M /trunk/examples/c/x20c.c
M /trunk/examples/c/x21c.c
M /trunk/examples/c/x22c.c
M /trunk/examples/c/x23c.c
M /trunk/examples/c/x26c.c
M /trunk/examples/c/x28c.c
M /trunk/examples/c/x29c.c
M /trunk/examples/c/x31c.c
M /trunk/examples/c/x32c.c
M /trunk/examples/c++/plc++demos.h
M /trunk/examples/c++/qt_PlotWindow.cpp
M /trunk/examples/c++/wxPLplotDemo.cpp
M /trunk/examples/c++/x01.cc
M /trunk/examples/c++/x03.cc
M /trunk/examples/c++/x04.cc
M /trunk/examples/c++/x08.cc
M /trunk/examples/c++/x09.cc
M /trunk/examples/c++/x11.cc
M /trunk/examples/c++/x12.cc
M /trunk/examples/c++/x13.cc
M /trunk/examples/c++/x14.cc
M /trunk/examples/c++/x15.cc
M /trunk/examples/c++/x16.cc
M /trunk/examples/c++/x18.cc
M /trunk/examples/c++/x19.cc
M /trunk/examples/c++/x20.cc
M /trunk/examples/c++/x21.cc
M /trunk/examples/c++/x22.cc
M /trunk/examples/c++/x23.cc
M /trunk/examples/c++/x26.cc
M /trunk/examples/c++/x28.cc
M /trunk/examples/c++/x29.cc
M /trunk/examples/c++/x31.cc
M /trunk/examples/d/x02d.d
M /trunk/examples/d/x03d.d
M /trunk/examples/d/x04d.d
M /trunk/examples/d/x06d.d
M /trunk/examples/d/x08d.d
M /trunk/examples/d/x09d.d
M /trunk/examples/d/x11d.d
M /trunk/examples/d/x12d.d
M /trunk/examples/d/x13d.d
M /trunk/examples/d/x14d.d
M /trunk/examples/d/x15d.d
M /trunk/examples/d/x16d.d
M /trunk/examples/d/x18d.d
M /trunk/examples/d/x19d.d
M /trunk/examples/d/x20d.d
M /trunk/examples/d/x21d.d
M /trunk/examples/d/x22d.d
M /trunk/examples/d/x23d.d
M /trunk/examples/d/x26d.d
M /trunk/examples/d/x29d.d
M /trunk/examples/d/x31d.d
M /trunk/examples/java/x03.java
M /trunk/examples/java/x04.java
M /trunk/examples/java/x08.java
M /trunk/examples/java/x09.java
M /trunk/examples/java/x11.java
M /trunk/examples/java/x12.java
M /trunk/examples/java/x13.java
M /trunk/examples/java/x14.java
M /trunk/examples/java/x15.java
M /trunk/examples/java/x16.java
M /trunk/examples/java/x18.java
M /trunk/examples/java/x19.java
M /trunk/examples/java/x20.java
M /trunk/examples/java/x21.java
M /trunk/examples/java/x22.java
M /trunk/examples/java/x23.java
M /trunk/examples/java/x26.java
M /trunk/examples/java/x28.java
M /trunk/examples/java/x29.java
M /trunk/examples/java/x31.java
M /trunk/examples/tk/xtk01.c
M /trunk/examples/tk/xtk02.c
M /trunk/examples/tk/xtk04.c
M /trunk/fonts/plhershey-unicode-gen.c
M /trunk/fonts/stndfont.c
M /trunk/fonts/xtndfont.c
M /trunk/include/dirent_msvc.h
M /trunk/include/pdf.h
M /trunk/include/plcore.h
M /trunk/include/pldll.h.in
M /trunk/include/plfreetype.h
M /trunk/include/plplot.h
M /trunk/include/plplotP.h
M /trunk/include/plplotcanvas-hacktext.h
M /trunk/include/plplotcanvas.h
M /trunk/include/ps.h
M /trunk/include/qt.h
M /trunk/lib/csa/csa.c
M /trunk/lib/csa/csadll.h
M /trunk/lib/csa/nan.h
M /trunk/lib/nistcd/cd.c
M /trunk/lib/nistcd/cd.h
M /trunk/lib/nistcd/cddll.h
M /trunk/lib/nistcd/cdexpert.c
M /trunk/lib/nistcd/cdmulti.c
M /trunk/lib/nistcd/cdsimple.c
M /trunk/lib/nistcd/cdtest.c
M /trunk/lib/nistcd/cdtext.c
M /trunk/lib/nistcd/color16.c
M /trunk/lib/nn/delaunay.c
M /trunk/lib/nn/hash.c
M /trunk/lib/nn/hash.h
M /trunk/lib/nn/istack.c
M /trunk/lib/nn/lpi.c
M /trunk/lib/nn/nan.h
M /trunk/lib/nn/nnai.c
M /trunk/lib/nn/nncommon.c
M /trunk/lib/nn/nndll.h
M /trunk/lib/nn/nnpi.c
M /trunk/lib/qsastime/bhunt_search_test.c
M /trunk/lib/qsastime/deltaT-gen.c
M /trunk/lib/qsastime/dspline.c
M /trunk/lib/qsastime/dsplint.c
M /trunk/lib/qsastime/qsastime.c
M /trunk/lib/qsastime/qsastimeP.h.in
M /trunk/lib/qsastime/qsastime_extra.c
M /trunk/lib/qsastime/qsastime_test.c
M /trunk/lib/qsastime/qsastime_testlib.c
M /trunk/lib/qsastime/qsastimedll.h
M /trunk/lib/qsastime/tai-utc-gen.c
M /trunk/src/ltdl_win32.c
M /trunk/src/mt19937ar.c
M /trunk/src/pdfutils.c
M /trunk/src/plarc.c
M /trunk/src/plargs.c
M /trunk/src/plbox.c
M /trunk/src/plbuf.c
M /trunk/src/plcont.c
M /trunk/src/plcore.c
M /trunk/src/plctrl.c
M /trunk/src/plcvt.c
M /trunk/src/pldeprecated.c
M /trunk/src/pldtik.c
M /trunk/src/plfill.c
M /trunk/src/plfreetype.c
M /trunk/src/plgradient.c
M /trunk/src/plgridd.c
M /trunk/src/plgset.c
M /trunk/src/plhist.c
M /trunk/src/plimage.c
M /trunk/src/plline.c
M /trunk/src/plmap.c
M /trunk/src/plot3d.c
M /trunk/src/plpage.c
M /trunk/src/plshade.c
M /trunk/src/plstdio.c
M /trunk/src/plstripc.c
M /trunk/src/plsym.c
M /trunk/src/pltick.c
M /trunk/src/pltime.c
M /trunk/src/plvect.c
M /trunk/src/plvpor.c
M /trunk/utils/plrender.c
M /trunk/utils/pltcl.c
M /trunk/utils/pltek.c
M /trunk/utils/tektest.c
Style source tree to match recent uncrustify.cfg change
Nested parentheses now have spaces between them, per a discussion on
the mailing list several months ago.
------------------------------------------------------------------------
r10784 | hezekiahcarty | 2010-01-31 15:02:42 -0500 (Sun, 31 Jan 2010) | 6 lines
Changed paths:
M /trunk/scripts/style_source.sh
M /trunk/uncrustify.cfg
Change uncrustify.cfg to always add spaces between nested parens
This also includes a small error message fix in the style_source.sh
script which still mentioned the previously required uncrustify
version of 0.53 rather than the new 0.55.
------------------------------------------------------------------------
r10783 | airwin | 2010-01-30 02:02:54 -0500 (Sat, 30 Jan 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/tcl-related.cmake
M /trunk/config.h.cmake
Purge everything to do with HAVE_TCL_GT_84 since that is no longer required.
------------------------------------------------------------------------
r10782 | airwin | 2010-01-30 01:18:52 -0500 (Sat, 30 Jan 2010) | 2 lines
Changed paths:
M /trunk/bindings/tcl/pkgIndex.tcl.in
M /trunk/bindings/tk/pkgIndex.tcl.in
M /trunk/bindings/tk-x-plat/pkgIndex.tcl.in
More embedded blank fixes.
------------------------------------------------------------------------
r10781 | airwin | 2010-01-29 23:39:29 -0500 (Fri, 29 Jan 2010) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Commentary tweak.
------------------------------------------------------------------------
r10780 | airwin | 2010-01-29 23:37:12 -0500 (Fri, 29 Jan 2010) | 3 lines
Changed paths:
M /trunk/plplot_test/test_c_interactive.sh.in
Temporarily drop example 17 because of big xcairo efficiency problems for
this case which uses interactive driver functionality.
------------------------------------------------------------------------
r10779 | airwin | 2010-01-29 23:29:09 -0500 (Fri, 29 Jan 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/drivers-init.cmake
Never mind. Non-working -dev tk was a dependency issue.
------------------------------------------------------------------------
r10778 | airwin | 2010-01-29 23:17:36 -0500 (Fri, 29 Jan 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/drivers-init.cmake
Disable -dev tk until it works again.
------------------------------------------------------------------------
r10777 | airwin | 2010-01-29 18:08:29 -0500 (Fri, 29 Jan 2010) | 4 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/plplot_test/plplot-test-interactive.sh.in
M /trunk/plplot_test/test_c_interactive.sh.in
Commit changes so that the test_interactive target will work for the case
where blanks are embedded in directory names.
------------------------------------------------------------------------
r10776 | airwin | 2010-01-29 17:20:06 -0500 (Fri, 29 Jan 2010) | 3 lines
Changed paths:
M /trunk/src/CMakeLists.txt
Oops. Commit final version of change with better documentation and commented
out debug messages.
------------------------------------------------------------------------
r10775 | airwin | 2010-01-29 17:18:41 -0500 (Fri, 29 Jan 2010) | 9 lines
Changed paths:
M /trunk/src/CMakeLists.txt
Filter /usr/lib out of libplplotd install RPATH. This is a (hopefully)
temporary workaround until CMake can supply this filtering functionality
(like they currently do for build-tree libraries). The workaround has only
been applied to libplplotd and every library that uses its rpath. So the
workaround is probably okay, but theoretically there is a potential issue
for our plug-ins as well (if their special non-plplot external library
dependencies include standard and non-standard library locations).
------------------------------------------------------------------------
r10774 | arjenmarkus | 2010-01-29 04:10:37 -0500 (Fri, 29 Jan 2010) | 1 line
Changed paths:
M /trunk/bindings/tcl/pltclgen.tcl
Removed the eq operator from the API generation script to make it compatible with Tcl 8.3
------------------------------------------------------------------------
r10773 | arjenmarkus | 2010-01-28 03:52:09 -0500 (Thu, 28 Jan 2010) | 1 line
Changed paths:
M /trunk/bindings/tcl/tclMain.c
Correct the #ifdef TCL_MAJOR_VERSION ... - it should be #if
------------------------------------------------------------------------
r10772 | arjenmarkus | 2010-01-28 03:03:13 -0500 (Thu, 28 Jan 2010) | 4 lines
Changed paths:
M /trunk/bindings/tcl/tclMain.c
Replace HAVE_TCL_GT_84 by the macros TCL_MAJOR_VERSION and TCL_MINOR_VERSION from the Tcl include file. This way the definition of TclFormatInt no longer depends on the version
found from tclsh. (This led to link problems if there was a discrepancy between the include files found by CMake and the Tcl shell).
Note that we can simplify the configuration procedure as a consequence.
------------------------------------------------------------------------
r10769 | hbabcock | 2010-01-25 20:09:36 -0500 (Mon, 25 Jan 2010) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
Update device numbers to reflect recent changes in the device numbering.
Change device type for extcairo and wincairo from file to interactive.
------------------------------------------------------------------------
r10766 | airwin | 2010-01-25 15:21:19 -0500 (Mon, 25 Jan 2010) | 2 lines
Changed paths:
M /trunk/INSTALL
M /trunk/README.release
M /trunk/doc/docbook/src/os_notes.xml
D /trunk/sys/dos
M /trunk/www/index.php
Retire djgpp following advice from Andrew Roach.
------------------------------------------------------------------------
r10763 | airwin | 2010-01-21 15:15:00 -0500 (Thu, 21 Jan 2010) | 2 lines
Changed paths:
M /trunk/doc/Doxyfile.in
Allow embedded blanks in source-tree and build_tree directory names.
------------------------------------------------------------------------
r10760 | airwin | 2010-01-20 01:29:50 -0500 (Wed, 20 Jan 2010) | 2 lines
Changed paths:
M /trunk/drivers/tk.c
Style recent changes.
------------------------------------------------------------------------
r10759 | hbabcock | 2010-01-19 22:33:06 -0500 (Tue, 19 Jan 2010) | 1 line
Changed paths:
M /trunk/README.release
M /trunk/drivers/cairo.c
Style cairo.c. Update README.release.
------------------------------------------------------------------------
r10758 | hbabcock | 2010-01-19 21:21:19 -0500 (Tue, 19 Jan 2010) | 3 lines
Changed paths:
M /trunk/cmake/modules/cairo.cmake
M /trunk/cmake/modules/drivers-init.cmake
M /trunk/drivers/cairo.c
M /trunk/drivers/cairo.rc.in
M /trunk/examples/plplot_configure.cmake_installed_examples.in
M /trunk/include/drivers.h
M /trunk/include/plDevs.h.cmake
M /trunk/include/plcore.h
M /trunk/plplot_test/plplot-test.sh.cmake
Initial commit of a very basic (but working) Windows Cairo driver.
Move the cairo devices to the 100+ range so that they can be sequentially numbered and not overlap with the Qt devices.
Changes have not been styled.
------------------------------------------------------------------------
r10757 | andrewross | 2010-01-18 19:11:03 -0500 (Mon, 18 Jan 2010) | 3 lines
Changed paths:
M /trunk/debian/changelog
M /trunk/debian/control.in
A /trunk/debian/patches/16_wxwidget-with-cmake-2.8.diff
M /trunk/debian/patches/series
Update debian build to backport wxwidget fix for cmake 2.8.0 from svn.
------------------------------------------------------------------------
r10755 | andrewross | 2010-01-14 17:12:07 -0500 (Thu, 14 Jan 2010) | 3 lines
Changed paths:
M /trunk/debian/changelog
M /trunk/debian/control.in
Fix up some lintian warnings in debian packages.
------------------------------------------------------------------------
r10754 | andrewross | 2010-01-14 16:34:06 -0500 (Thu, 14 Jan 2010) | 3 lines
Changed paths:
M /trunk/drivers/tk.c
Fix window name bug in tk driver. tk driver now correctly displays the window name (including the -plwindow option). Note that tk has some rules over what is a valid names so all spaces and . are converted to _ . Also any window name which starts with an upper case letter will have it converted to lower case.
------------------------------------------------------------------------
r10753 | airwin | 2010-01-14 14:43:31 -0500 (Thu, 14 Jan 2010) | 3 lines
Changed paths:
M /trunk/src/CMakeLists.txt
Correct qhull location issues for pkg-config. Warning: I think this should
work, but I am not in a position to test it for a week or so.
------------------------------------------------------------------------
r10752 | airwin | 2010-01-14 00:26:21 -0500 (Thu, 14 Jan 2010) | 2 lines
Changed paths:
M /trunk/cmake/modules/csiro.cmake
Allow embedded blanks in source directory name.
------------------------------------------------------------------------
r10751 | airwin | 2010-01-13 16:05:20 -0500 (Wed, 13 Jan 2010) | 2 lines
Changed paths:
M /trunk/scripts/htdocs-gen_plot-examples.sh
Use correct (new) location for octave examples.
------------------------------------------------------------------------
r10750 | airwin | 2010-01-13 16:02:27 -0500 (Wed, 13 Jan 2010) | 3 lines
Changed paths:
M /trunk/plplot_test/plplot-test.sh.cmake
Drop bindings/octave/demos from list of octave directories since that
directory no longer exists.
------------------------------------------------------------------------
r10748 | airwin | 2010-01-07 21:51:48 -0500 (Thu, 07 Jan 2010) | 7 lines
Changed paths:
M /trunk/doc/docbook/src/advanced.xml
Documentation for the PLPLOT_DEV environment variable
This adds details to the docbook documentation about the newly supported
PLPLOT_DEV environment variable.
Thanks to David MacMahon for this.
------------------------------------------------------------------------
r10747 | airwin | 2010-01-07 21:40:14 -0500 (Thu, 07 Jan 2010) | 14 lines
Changed paths:
M /trunk/cmake/modules/docbook.cmake
Expose XML_DECL in cmake to give path to xml.dcl
This exposes XML_DECL to cmake as a user settable option. This allows
"make validate" to be used on systems that have xml.dcl in locations
other than "/usr/share/xml/declaration/xml.dcl". For example, on Macs
that have installed OpenSP via MacPorts, the file will be in
"/opt/local/share/OpenSP/xml.dcl". This also allows one to specify the
docbook 4.2 catalog by prepending "-c /path/to/docbook-42.cat " to
CML_DECL. It's a little bit of a cheat; the catalog probably get it's
own cmake variable (or copy it into doc/docbook/src/catalog).
Thanks to David MacMahon for this patch.
------------------------------------------------------------------------
r10746 | airwin | 2010-01-07 21:31:50 -0500 (Thu, 07 Jan 2010) | 3 lines
Changed paths:
M /trunk/doc/docbook/bin/get-library-symbols.pl
Quote $library in the perl script which allows embedded blanks in the
directory name.
------------------------------------------------------------------------
r10745 | airwin | 2010-01-07 21:24:25 -0500 (Thu, 07 Jan 2010) | 3 lines
Changed paths:
M /trunk/doc/docbook/bin/get-library-structs.pl
Adjust perl script to new style headers with "{" on separate line rather
than appended to typedef struct.
------------------------------------------------------------------------
r10744 | airwin | 2010-01-07 20:14:04 -0500 (Thu, 07 Jan 2010) | 2 lines
Changed paths:
M /trunk/drivers/aqt.c
M /trunk/drivers/wingcc.c
M /trunk/examples/c++/x01cc.cc
M /trunk/examples/d/x04d.d
M /trunk/lib/qsastime/bhunt_search_test.c
M /trunk/lib/qsastime/qsastime.c
M /trunk/src/plot3d.c
M /trunk/src/plvpor.c
uncrustify 0.55 styling changes.
------------------------------------------------------------------------
r10743 | airwin | 2010-01-07 20:09:18 -0500 (Thu, 07 Jan 2010) | 8 lines
Changed paths:
M /trunk/uncrustify.cfg
Generate new configuration file compatible with uncrustify 0.55 using
uncrustify -c uncrustify.cfg --update-config-with-doc > new_config_file
mv new_config_file uncrustify.cfg
Also edit that new configuration file to change from sp_after_sem "add" to
"ignore" since that causes fewer style changes in our code.
------------------------------------------------------------------------
r10742 | airwin | 2010-01-07 20:06:45 -0500 (Thu, 07 Jan 2010) | 3 lines
Changed paths:
M /trunk/scripts/style_source.sh
Require uncrustify 0.55 which is quite different (many more options) than
0.53.
------------------------------------------------------------------------
r10741 | airwin | 2010-01-07 02:09:26 -0500 (Thu, 07 Jan 2010) | 7 lines
Changed paths:
M /trunk/src/plcore.c
If a device is not explicitly specified (e.g. via "-dev ..." on the
command line), the device given by the value of the PLPLOT_DEV
environment variable, if defined and non-empty, will be used.
Thanks to David MacMahon for this patch.
------------------------------------------------------------------------
r10740 | airwin | 2010-01-06 19:53:13 -0500 (Wed, 06 Jan 2010) | 4 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Replace bashism with the "env" cross-shell equivalent. Under these
circumstances VERBATIM works fine for embedded blanks in directory
names, so use it.
------------------------------------------------------------------------
r10739 | airwin | 2010-01-06 18:08:17 -0500 (Wed, 06 Jan 2010) | 4 lines
Changed paths:
M /trunk/src/plcore.c
Restore back to uncrustify comment style that somehow got changed by last
commit. These changes are only whitespace.
------------------------------------------------------------------------
r10738 | hbabcock | 2010-01-06 16:33:22 -0500 (Wed, 06 Jan 2010) | 1 line
Changed paths:
M /trunk/src/plcore.c
Separate old and new unicode text handling loops so that the -save option will work properly.
------------------------------------------------------------------------
r10737 | andrewross | 2010-01-06 15:21:34 -0500 (Wed, 06 Jan 2010) | 3 lines
Changed paths:
M /trunk/cmake/modules/plplot.cmake
M /trunk/config.h.cmake
M /trunk/src/plstdio.c
Fix up pl_create_tempfile to properly delete temporary files once they are closed on UNIX-like systems. The call to unlink had been commented out during testing and not restored. Also add it a proper test for unlink in case there is a platform out there with mkstemp, but not unlink.
------------------------------------------------------------------------
r10736 | jbauck | 2010-01-05 02:30:39 -0500 (Tue, 05 Jan 2010) | 1 line
Changed paths:
M /trunk/bindings/ada/plplot.adb.cmake
M /trunk/bindings/ada/plplot.ads.cmake
M /trunk/bindings/ada/plplot_thin.ads.cmake
M /trunk/bindings/ada/plplot_traditional.adb.cmake
M /trunk/bindings/ada/plplot_traditional.ads.cmake
M /trunk/examples/ada/x25a.adb.cmake
M /trunk/examples/ada/x30a.adb.cmake
M /trunk/examples/ada/xthick25a.adb.cmake
M /trunk/examples/ada/xthick30a.adb.cmake
Incorporate plgradient into the Ada bindings and Ada examples 25 and 30.
------------------------------------------------------------------------
r10735 | airwin | 2010-01-04 01:39:22 -0500 (Mon, 04 Jan 2010) | 4 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Help noninteractive tests work properly for new build system
for installed examples tree in the embedded blank case
by quoting directory variables.
------------------------------------------------------------------------
r10734 | airwin | 2010-01-03 19:27:58 -0500 (Sun, 03 Jan 2010) | 15 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
There is a non-VERBATIM custom command issue with CMake where the first part
of the command is surrounded by quotes if there is an embedded blank. Work
around this issue by using an initial part of the command that does nothing
and which has no embedded blanks. The Linux result is that the embedded
blanks in the remaining parts of the command are replaced by escaped blanks,
i.e., "\ ", which works well. This needs to be tested on other platforms
for the case where any/all of the source, build, or install trees have
embedded blanks in the top-level directory name.
N.B. I cannot use VERBATIM custom commands here since they have a bug where
all parts of the command that are variable assignments that contain an
embedded blank are surrounded by quotes. See further discussion on the
CMake list as of 2010-01-03.
------------------------------------------------------------------------
r10733 | airwin | 2010-01-03 19:16:18 -0500 (Sun, 03 Jan 2010) | 2 lines
Changed paths:
M /trunk/plplot_test/plplot-test.sh.cmake
M /trunk/plplot_test/test_ada.sh.in
M /trunk/plplot_test/test_c.sh.in
M /trunk/plplot_test/test_c_interactive.sh.in
M /trunk/plplot_test/test_cxx.sh.in
M /trunk/plplot_test/test_d.sh.in
M /trunk/plplot_test/test_f77.sh.in
M /trunk/plplot_test/test_f95.sh.in
M /trunk/plplot_test/test_java.sh.in
M /trunk/plplot_test/test_lua.sh.in
M /trunk/plplot_test/test_ocaml.sh.in
M /trunk/plplot_test/test_octave.sh.in
M /trunk/plplot_test/test_pdl.sh.in
M /trunk/plplot_test/test_python.sh.in
M /trunk/plplot_test/test_tcl.sh.in
Quote all directory variables to help allow embedded blanks in directory names.
------------------------------------------------------------------------
r10732 | airwin | 2010-01-01 22:23:14 -0500 (Fri, 01 Jan 2010) | 3 lines
Changed paths:
M /trunk/cmake/modules/tk.cmake
Allow tk and tkwin device drivers to build if there are embedded blanks
in the source or build tree directory prefixes.
------------------------------------------------------------------------
r10731 | airwin | 2009-12-28 12:41:45 -0500 (Mon, 28 Dec 2009) | 11 lines
Changed paths:
M /trunk/src/plfill.c
Fix cases where split 1/split 2 encompasses all/none of the polygon 2
vertices. This -DUSE_FILL_INTERSECTION_POLYGON=ON change finally gives good
results for the first four pages of example 25, if the clip limits are
shifted around to avoid the case (not implemented yet) where polygon
crossings occur at vertices.
So it appears I have the basic recursive algorithm working correctly, but
there are some details (e.g., polygon crossings at vertices) still to be
implemented.
------------------------------------------------------------------------
r10730 | airwin | 2009-12-27 14:27:12 -0500 (Sun, 27 Dec 2009) | 20 lines
Changed paths:
M /trunk/src/plfill.c
Implement PL_NEAR_PARALLEL crossing status.
Implement fill_status to keep track of whether a given split of polygon 2
is known to have filled areas or known to not have filled areas. At the
final stage where there are not crossings left between the polygons, this
status helps to quickly decide whether to fill or not.
Prepare calls to fill_intersection_polygon so that polygon 1 always
starts outside polygon 2. That and the positive orientation requirement
considerably simplify the logic of fill_intersection_polygon.
Implement number_crossings to make sure that the crossings are determined
in the correct order for a give segment of polygon 1.
N.B. These changes build, but still produce incorrect fill results for some
of the sub-pages of example 25. So this commit is in the nature of a code
drop to keep track of the many changes that have been done with the
-DUSE_FILL_INTERSECTION_POLYGON=ON approach rather than a final result.
------------------------------------------------------------------------
r10729 | arjenmarkus | 2009-12-24 04:19:26 -0500 (Thu, 24 Dec 2009) | 2 lines
Changed paths:
M /trunk/src/plfill.c
Needed to copy the check on npts and draw() because the (ancient) MS Visual C 6.0 compiler complained. Copied the check
to after the declarations.
------------------------------------------------------------------------
r10728 | airwin | 2009-12-22 14:15:21 -0500 (Tue, 22 Dec 2009) | 7 lines
Changed paths:
M /trunk/src/plfill.c
Upgrade positive_orientation logic from a simple rule which only works
consistently for convex polygons to a general rule which works for all
non-intersecting polygons whether convex or not. By chance, this
-DUSE_FILL_INTERSECTION_POLYGON=ON bug fix makes no difference in the
results for example 25, but it will make a difference in the general case.
------------------------------------------------------------------------
r10727 | airwin | 2009-12-21 21:31:06 -0500 (Mon, 21 Dec 2009) | 23 lines
Changed paths:
M /trunk/src/plfill.c
Fix ifi2 condition for looking for crossings between polygon 1 and 2.
For split2 store data in order of increasing index of polygon 2 to
preserve the orientation.
(These changes to fill_intersection_polygon made page 2 of example 25, where
both polygons have positive orientation (see
http://en.wikipedia.org/wiki/Curve_orientation for a discussion of this)
give correct filling results for the first time for the
-DFILL_INTERSECTION_POLYGON=ON case.
Transform polygon 1 to have positive orientation in the
-DFILL_INTERSECTION_POLYGON=ON part of plP_plfclp. This made page 1 of
example 25 (where polygon 1 had negative orientation) work correctly.
Thanks to Arjen for this idea.
There are still issues with pages 3 and above of example 25 for
-DFILL_INTERSECTION_POLYGON=ON.
These changes should not affect the default -DFILL_INTERSECTION_POLYGON=OFF
case.
------------------------------------------------------------------------
r10726 | airwin | 2009-12-21 02:39:21 -0500 (Mon, 21 Dec 2009) | 12 lines
Changed paths:
M /trunk/src/plfill.c
Deal with the case where polygon 1 _must_ be split rather than polygon 2 in
fill_intersection_polygon. This change only affects
-DUSE_FILL_INTERSECTION_POLYGON=ON results and should make no difference
for -DUSE_FILL_INTERSECTION_POLYGON=OFF results (the current default).
The -DUSE_FILL_INTERSECTION_POLYGON=ON result is that page 1 of example 25
is correct other than a missing fill issue for sub-page 8. There are
additional fill and gradient issues for further pages in example 25 so more
debugging work is needed, but this result is the best
-DUSE_FILL_INTERSECTION_POLYGON=ON result obtained to date.
------------------------------------------------------------------------
r10725 | airwin | 2009-12-19 18:00:16 -0500 (Sat, 19 Dec 2009) | 22 lines
Changed paths:
M /trunk/src/plfill.c
Improved handling of cases where the intersection between two line segments
is near the ends of the line segments being tested. This change affects the
USE_FILL_INTERSECTION_POLYGON ON case (via a call of notcrossed in both
fill_intersection_polygon and pointinpolygon) and
USE_FILL_INTERSECTION_POLYGON OFF cases (via the call of notcrossed from
pointinpolygon).
Improved handling of the end phase of fill_intersection_polygon where
polygon 1 and the split of polygon 2 do not cross each other. Bug fixes for
fill_intersection_polygon. These changes only affect the case where
USE_FILL_INTERSECTION_POLYGON is ON.
example 25 results continue to look good for the default
USE_FILL_INTERSECTION_POLYGON OFF case.
However, there are still some obvious issues (not memory management issues
according to valgrind) for the experimental USE_FILL_INTERSECTION_POLYGON ON
case. For this case, the example 25 results sometimes fill in the wrong
locations, and I am currently working on tracking down and fixing all of
these issues.
------------------------------------------------------------------------
r10724 | airwin | 2009-12-18 01:27:40 -0500 (Fri, 18 Dec 2009) | 13 lines
Changed paths:
M /trunk/src/plfill.c
Fix scaling for plP_pointinpolygon. (2.e9 should generate integer overflows
according to my analysis, but 1.e9 should be okay. However, I had to reduce
to 1.e8 for some unknown reason (which I am not going to pursue since
plP_pointinpolygon will probably be removed soon in any case).
Fix bugs in notintersect.
The result of these changes is the new notpointinpolygon code works (as well
as the old code) for example 25 so use "#define NEW_NOTPOINTINPOLYGON_CODE"
to compile that new code while avoiding compiling the old code (which I will
retain for a while longer for reference).
------------------------------------------------------------------------
r10723 | airwin | 2009-12-17 20:47:34 -0500 (Thu, 17 Dec 2009) | 11 lines
Changed paths:
M /trunk/src/plfill.c
Properly scale plP_pointinpolygon PLFLT wrapper for pointinpolygon. Improve
notintersect code. Implement a new conditionally compiled version of
notpointinpolygon that uses the notintersect code. However, just as a
temporary measure, turn off that new version of notpointinpolygon because it
gives worse results than the old version. The result is that by default
x25c gives good results for the fill and native gradient cases, and also
gives pretty good results for the software fallback gradient case.
Once I sort out the issue in the notintersect code, I will switch
to using the new notinpolygon code.
------------------------------------------------------------------------
r10722 | smekal | 2009-12-16 14:54:02 -0500 (Wed, 16 Dec 2009) | 1 line
Changed paths:
M /trunk/src/plcore.c
The file handle fp_drvdb is only available if ENABLE_DYNDRIVERS is defined. So two more lines need to be #ifdef-ed out.
------------------------------------------------------------------------
r10721 | airwin | 2009-12-15 19:44:29 -0500 (Tue, 15 Dec 2009) | 20 lines
Changed paths:
M /trunk/src/plfill.c
Move back to the historical PLINT (as opposed to PLFLT) implementation of
pointinpolygon from the current PLINT wrapper for plP_pointinpolygon. The
current PLFLT implementation of plP_pointinpolygon is replaced by a PLFLT
wrapper for pointinpolygon.
I have done these changes because fill_intersection_polygon uses
pointinpolygon, and that turned up a bug in the PLFLT form (a test point
identical to a polygon vertex returned true). Therefore, I wanted to test
and debug using the exact historical PLINT form (rather than a PLINT wrapper
for the PLFLT form) since that exact version is the one that has received
the most testing in the past.
plP_pointinpolygon is currently only used by the software fallback gradient
"defined region" approach, and small integer truncation errors would not
make much difference in that case. Furthermore, I have plans to replace
that approach with one based on fill_intersection_polygon so that in the
future it may be possible to simply drop the current plP_pointinpolygon
PLFLT wrapper for pointinpolygon completely.
------------------------------------------------------------------------
r10720 | airwin | 2009-12-15 17:28:41 -0500 (Tue, 15 Dec 2009) | 8 lines
Changed paths:
M /trunk/cmake/modules/plplot.cmake
M /trunk/config.h.cmake
M /trunk/include/plplotP.h
M /trunk/src/plfill.c
Qualify arguments for plP_pointinpolygon.
Implement fill_intersection_polygon and ifnotintersect (which
fill_intersection_polygon calls), but do not use these experimental
functions (which still have issues) to do clipped fills and gradients unless
the user sets the cmake option -DUSE_FILL_INTERSECTION_POLYGON=ON.
------------------------------------------------------------------------
r10719 | airwin | 2009-12-14 13:06:07 -0500 (Mon, 14 Dec 2009) | 2 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
M /trunk/src/plcore.c
Style tweaks for recent changes.
------------------------------------------------------------------------
r10718 | airwin | 2009-12-10 15:18:54 -0500 (Thu, 10 Dec 2009) | 3 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
Get rid of memory leaks that would occur for error conditions.
(Issue found by cppcheck).
------------------------------------------------------------------------
r10717 | airwin | 2009-12-10 14:53:30 -0500 (Thu, 10 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/c++/x09.cc
M /trunk/examples/c++/x20.cc
M /trunk/examples/c++/x28.cc
Correctly delete arrays (issue identified by cppcheck).
------------------------------------------------------------------------
r10716 | andrewross | 2009-12-09 18:08:42 -0500 (Wed, 09 Dec 2009) | 3 lines
Changed paths:
M /trunk/src/plcore.c
Alternative neater approach to fixing problem with overlapping data buffer.
------------------------------------------------------------------------
r10715 | andrewross | 2009-12-09 17:49:12 -0500 (Wed, 09 Dec 2009) | 3 lines
Changed paths:
M /trunk/src/plsym.c
Fix 3-d text justification (see example 28, pages 2 and 3) when using Hershey fonts.
------------------------------------------------------------------------
r10714 | andrewross | 2009-12-09 15:56:14 -0500 (Wed, 09 Dec 2009) | 13 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/wxwidgets/wxPLplotwindow.cpp
M /trunk/lib/nistcd/cd.c
M /trunk/lib/nistcd/cdexpert.c
M /trunk/lib/nn/nncommon.c
M /trunk/lib/qsastime/tai-utc-gen.c
M /trunk/src/plcore.c
M /trunk/src/plstdio.c
Apply several fixes for missing calls to fclose / free, overlapping data buffers and incorrect calls to delete. Many thanks to Ettl Martin for finding these using cppcheck and for submitting bug reports + patches. I have mostly followed the patches, although I have identified some additional issues as a result.
This closes the following bugs :
plplot-Bugs-2910948
plplot-Bugs-2910956
plplot-Bugs-2910963
plplot-Bugs-2910971
plplot-Bugs-2910973
plplot-Bugs-2910980
plplot-Bugs-2910982
plplot-Bugs-2910988
------------------------------------------------------------------------
r10713 | andrewross | 2009-12-09 15:35:05 -0500 (Wed, 09 Dec 2009) | 3 lines
Changed paths:
M /trunk/src/plfill.c
Apply style formatting.
------------------------------------------------------------------------
r10712 | andrewross | 2009-12-09 03:56:03 -0500 (Wed, 09 Dec 2009) | 3 lines
Changed paths:
M /trunk/src/plstdio.c
Add in missing call to free in the error path.
------------------------------------------------------------------------
r10711 | arjenmarkus | 2009-12-08 03:05:06 -0500 (Tue, 08 Dec 2009) | 1 line
Changed paths:
M /trunk/src/plfill.c
Solve a polygon filling problem that was exhibited in example 25. While it is possible that more such problems exist (missing cases in the filling routine), this commit at least ensures that for not too complicated polygons filling and clipping are done correctly.
------------------------------------------------------------------------
r10710 | airwin | 2009-12-08 01:51:27 -0500 (Tue, 08 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/lua/x28.lua
Propagate C changes for example 28 to the corresponding Lua example.
------------------------------------------------------------------------
r10709 | airwin | 2009-12-08 01:34:43 -0500 (Tue, 08 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/python/xw28.py
Propagate C changes for example 28 to the corresponding Python example.
------------------------------------------------------------------------
r10708 | airwin | 2009-12-07 22:03:06 -0500 (Mon, 07 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/f77/x28f.fm4
M /trunk/examples/f95/x28f.f90
Propagate C changes to example 28 to the corresponding f77 and f95 examples.
------------------------------------------------------------------------
r10707 | airwin | 2009-12-07 19:05:05 -0500 (Mon, 07 Dec 2009) | 2 lines
Changed paths:
M /trunk/bindings/d/plplot.d
M /trunk/examples/d/x01d.d
M /trunk/examples/d/x02d.d
M /trunk/examples/d/x03d.d
M /trunk/examples/d/x04d.d
M /trunk/examples/d/x05d.d
M /trunk/examples/d/x06d.d
M /trunk/examples/d/x07d.d
M /trunk/examples/d/x08d.d
M /trunk/examples/d/x09d.d
M /trunk/examples/d/x10d.d
M /trunk/examples/d/x11d.d
M /trunk/examples/d/x12d.d
M /trunk/examples/d/x13d.d
M /trunk/examples/d/x14d.d
M /trunk/examples/d/x15d.d
M /trunk/examples/d/x16d.d
M /trunk/examples/d/x17d.d
M /trunk/examples/d/x18d.d
M /trunk/examples/d/x19d.d
M /trunk/examples/d/x20d.d
M /trunk/examples/d/x21d.d
M /trunk/examples/d/x22d.d
M /trunk/examples/d/x23d.d
M /trunk/examples/d/x24d.d
M /trunk/examples/d/x25d.d
M /trunk/examples/d/x26d.d
M /trunk/examples/d/x27d.d
M /trunk/examples/d/x28d.d
M /trunk/examples/d/x29d.d
M /trunk/examples/d/x30d.d
M /trunk/examples/d/x31d.d
M /trunk/scripts/style_source.sh
Style D language results with uncrustify.
------------------------------------------------------------------------
r10706 | airwin | 2009-12-07 19:00:36 -0500 (Mon, 07 Dec 2009) | 2 lines
Changed paths:
M /trunk/drivers/ps.c
Style previous changes.
------------------------------------------------------------------------
r10705 | airwin | 2009-12-07 17:24:51 -0500 (Mon, 07 Dec 2009) | 2 lines
Changed paths:
M /trunk/bindings/java/PLCallbackLabel.java
M /trunk/bindings/java/PLCallbackMapform.java
M /trunk/bindings/java/PLStream.java
M /trunk/bindings/java/config.java.in
M /trunk/examples/java/x01.java
M /trunk/examples/java/x02.java
M /trunk/examples/java/x03.java
M /trunk/examples/java/x04.java
M /trunk/examples/java/x05.java
M /trunk/examples/java/x06.java
M /trunk/examples/java/x07.java
M /trunk/examples/java/x08.java
M /trunk/examples/java/x09.java
M /trunk/examples/java/x10.java
M /trunk/examples/java/x11.java
M /trunk/examples/java/x12.java
M /trunk/examples/java/x13.java
M /trunk/examples/java/x14.java
M /trunk/examples/java/x15.java
M /trunk/examples/java/x16.java
M /trunk/examples/java/x17.java
M /trunk/examples/java/x18.java
M /trunk/examples/java/x19.java
M /trunk/examples/java/x20.java
M /trunk/examples/java/x21.java
M /trunk/examples/java/x22.java
M /trunk/examples/java/x23.java
M /trunk/examples/java/x24.java
M /trunk/examples/java/x25.java
M /trunk/examples/java/x26.java
M /trunk/examples/java/x27.java
M /trunk/examples/java/x28.java
M /trunk/examples/java/x29.java
M /trunk/examples/java/x30.java
M /trunk/examples/java/x31.java
Style Java source.
------------------------------------------------------------------------
r10704 | airwin | 2009-12-07 17:22:08 -0500 (Mon, 07 Dec 2009) | 3 lines
Changed paths:
M /trunk/scripts/style_source.sh
Use bash function to simplify script.
Add java source.
------------------------------------------------------------------------
r10703 | airwin | 2009-12-07 17:15:35 -0500 (Mon, 07 Dec 2009) | 2 lines
Changed paths:
M /trunk/include/plplotP.h
Stop infinite uncrustify recursion with plplotP.h.
------------------------------------------------------------------------
r10702 | andrewross | 2009-12-07 17:04:09 -0500 (Mon, 07 Dec 2009) | 3 lines
Changed paths:
M /trunk/drivers/ps.c
M /trunk/drivers/psttf.cc
Fix longstanding bug with 3D text in ps / psttf drivers by adopting the helper function plRotationShear used by cairo driver to decompose a plplot transform into rotation, shear and stride.
------------------------------------------------------------------------
r10701 | andrewross | 2009-12-07 16:42:50 -0500 (Mon, 07 Dec 2009) | 3 lines
Changed paths:
M /trunk/bindings/tcl/plapi.tpl
M /trunk/examples/tcl/x25.tcl
M /trunk/examples/tcl/x30.tcl
Add plgradient to tcl bindings and update examples 25 and 30 to use it.
------------------------------------------------------------------------
r10700 | andrewross | 2009-12-07 16:26:09 -0500 (Mon, 07 Dec 2009) | 3 lines
Changed paths:
M /trunk/bindings/octave/plplot_octave.h.in
M /trunk/examples/octave/x25c.m
M /trunk/examples/octave/x30c.m
Add octave support for plgradient and update octave examples 25 and 30 to use it.
------------------------------------------------------------------------
r10699 | airwin | 2009-12-07 14:33:00 -0500 (Mon, 07 Dec 2009) | 3 lines
Changed paths:
M /trunk/examples/c++/x28.cc
M /trunk/examples/d/x28d.d
M /trunk/examples/java/x28.java
Propagate C changes to example 28 to the corresponding
C++, D, and Java versions.
------------------------------------------------------------------------
r10698 | airwin | 2009-12-07 14:31:38 -0500 (Mon, 07 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/c/x28c.c
Minor code cleanup.
------------------------------------------------------------------------
r10697 | airwin | 2009-12-07 13:12:34 -0500 (Mon, 07 Dec 2009) | 5 lines
Changed paths:
M /trunk/examples/c/x28c.c
Commit prototype changes to the C example to improve the appearance of pages
2 and 3. These changes need to be propagated to all the remaining language
examples.
------------------------------------------------------------------------
r10696 | airwin | 2009-12-07 02:34:55 -0500 (Mon, 07 Dec 2009) | 2 lines
Changed paths:
M /trunk/src/plot3d.c
Simplify plRotationShear logic a bit more by using atan2.
------------------------------------------------------------------------
r10695 | airwin | 2009-12-07 02:05:23 -0500 (Mon, 07 Dec 2009) | 10 lines
Changed paths:
M /trunk/drivers/wxwidgets_gc.cpp
Stride must be used in the affine transform in order to render 3D text
correctly for wxwidgets (wxGC). This fix solves the remaining example 28
issues for this device. I also checked example 28 with wxwidgets (AGG) and
wxwidgets (basic). The AGG variant renders all the 3D text in that example
correctly, while the basic variant cannot render any 3D text in example 28
correctly (but as I recall, this is a well-known issue for this very basic
device, and for this reason most users will use either the AGG or wxGC
variants instead).
------------------------------------------------------------------------
r10694 | airwin | 2009-12-07 01:45:38 -0500 (Mon, 07 Dec 2009) | 3 lines
Changed paths:
M /trunk/drivers/svg.c
Stride must be used in affine transform in order to render 3D text correctly.
This fix solves the remaining example 28 issues for this device.
------------------------------------------------------------------------
r10693 | airwin | 2009-12-06 23:42:38 -0500 (Sun, 06 Dec 2009) | 16 lines
Changed paths:
M /trunk/bindings/gnome2/python/CMakeLists.txt
M /trunk/bindings/python/CMakeLists.txt
M /trunk/cmake/modules/python.cmake
M /trunk/cmake/modules/summary.cmake
Earlier today I mistakenly committed a local experimental fix
for python.cmake that was only suitable for CMake-2.8.0.
Replace that experimental and CMake version-dependent fix with one which no
longer appends the NUMERIC_INCLUDE_PATH variable (mostly misnamed now since
it normally carries the numpy include information) to the
PYTHON_INCLUDE_PATH variable.
This change should do the right thing since it means we are no longer
modifying a variable (PYTHON_INCLUDE_PATH) determined by the CMake module
system. There is a difference in how the CMake module system treats that
variable between 2.6.x. and 2.8.0 (2.6.x sets it once while 2.8.0 resets it
each time CMake is rerun). The current commit isolates us from that change
so the result should work both on 2.6.x and 2.8.0.
------------------------------------------------------------------------
r10692 | airwin | 2009-12-06 18:12:39 -0500 (Sun, 06 Dec 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/python.cmake
M /trunk/src/plsym.c
Use elementary affine transformations to compute xform for plptex3.
------------------------------------------------------------------------
r10691 | airwin | 2009-12-06 18:10:50 -0500 (Sun, 06 Dec 2009) | 2 lines
Changed paths:
M /trunk/src/plot3d.c
Style previous change.
------------------------------------------------------------------------
r10690 | airwin | 2009-12-06 17:50:51 -0500 (Sun, 06 Dec 2009) | 12 lines
Changed paths:
M /trunk/src/plot3d.c
Correct and improve the documentation of plRotationShear.
This resulted in finding a bug in the old shear calculation which is now
replaced by a simpler shear calculation that gives the same results as the
corrected old logic.
This change means that -dev xcairo (and presumably all other drivers that
depend on plRotationShear) gives the same results (aside from small text
size differences) as -dev xwin for all pages of example 28 for the very
first time!
------------------------------------------------------------------------
r10689 | airwin | 2009-12-06 17:42:29 -0500 (Sun, 06 Dec 2009) | 6 lines
Changed paths:
M /trunk/src/plcore.c
Make manipulation of affine matrices more understandable by only using two
of them that are labelled _result for all previous multiplication results and
_left for left-hand matrix that multiplies the previous multiplication result
matrix.
------------------------------------------------------------------------
r10688 | airwin | 2009-12-06 17:31:07 -0500 (Sun, 06 Dec 2009) | 3 lines
Changed paths:
M /trunk/src/plaffine.c
Diagonal elements for plP_affine_xskew and plP_affine_yskew results should
be unity.
------------------------------------------------------------------------
r10687 | airwin | 2009-12-05 22:20:48 -0500 (Sat, 05 Dec 2009) | 10 lines
Changed paths:
M /trunk/src/plcore.c
Calculate affine transformation for orientation using new affine utilities.
Results for an -ori 0.2 test were identical. This is an excellent test of
the translate, scale, rotate, and multiply affine utilities.
BTW, the results still suck (are skewed) at non-integral -ori just like
before. However, we at least now know the exact elementary affine
transformations whose product is used to calculate the complete orientation
transformation.
------------------------------------------------------------------------
r10686 | airwin | 2009-12-05 22:13:49 -0500 (Sat, 05 Dec 2009) | 2 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/plaffine.c
Style previous changes.
------------------------------------------------------------------------
r10685 | airwin | 2009-12-05 17:47:43 -0500 (Sat, 05 Dec 2009) | 4 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/CMakeLists.txt
M /trunk/src/plaffine.c
Put new PLplot affine transformation utility functions into buildable (but
not yet run-time tested) state.
------------------------------------------------------------------------
r10684 | airwin | 2009-12-05 14:53:52 -0500 (Sat, 05 Dec 2009) | 3 lines
Changed paths:
A /trunk/src/plaffine.c
Initial commit (untested and even uncompiled as yet) of routines to
generate useful affine transformation matrices.
------------------------------------------------------------------------
r10683 | airwin | 2009-12-04 21:06:34 -0500 (Fri, 04 Dec 2009) | 2 lines
Changed paths:
M /trunk/src/plgradient.c
Warning message if using software fallback for gradient.
------------------------------------------------------------------------
r10682 | airwin | 2009-12-04 21:05:14 -0500 (Fri, 04 Dec 2009) | 2 lines
Changed paths:
M /trunk/src/plshade.c
Style previous changes.
------------------------------------------------------------------------
r10681 | airwin | 2009-12-04 16:52:58 -0500 (Fri, 04 Dec 2009) | 5 lines
Changed paths:
M /trunk/src/plshade.c
exfill: comment it, clean up the logic, and make it more robust without
changing the fundamental algorithm for filling a polygon where some polygon
points are in an undefined region where you want to accurately plot the
edges of the defined region.
------------------------------------------------------------------------
r10680 | airwin | 2009-12-04 11:51:12 -0500 (Fri, 04 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/python/README.logo
Tweak the wording.
------------------------------------------------------------------------
r10679 | airwin | 2009-12-04 11:22:14 -0500 (Fri, 04 Dec 2009) | 6 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
M /trunk/examples/python/README.logo
Create plplot_logo target to generate both the SVG and JPEG form of the
logo.
Modify logo generation instructions to use that plplot_logo target.
------------------------------------------------------------------------
r10678 | airwin | 2009-12-04 03:10:31 -0500 (Fri, 04 Dec 2009) | 7 lines
Changed paths:
M /trunk/examples/python/README.logo
M /trunk/examples/python/plplot_logo.py
D /trunk/examples/python/svg_760x120_gradient.patch
M /trunk/www/img/plplot_logo.jpg
Re-create our logo using the new plgradient approach. We no longer need the
patch file and production of the logo is a lot simpler as a result of the
plgradient command now being available. The svg result is essentially the
same as the previous patched result and similarly for the *.jpg result
created with the ImageMagick convert app.
------------------------------------------------------------------------
r10677 | airwin | 2009-12-03 22:28:56 -0500 (Thu, 03 Dec 2009) | 3 lines
Changed paths:
M /trunk/README.release
Describe new linear gradient capability.
Spelling.
------------------------------------------------------------------------
r10676 | airwin | 2009-12-03 20:19:51 -0500 (Thu, 03 Dec 2009) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
Implement native gradient for all cairo devices.
------------------------------------------------------------------------
r10675 | airwin | 2009-12-03 17:07:49 -0500 (Thu, 03 Dec 2009) | 5 lines
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/drivers/qt.cpp
M /trunk/include/qt.h
Implement native driver gradients for remaining qt devices (epsqt/pdfqt,
qtwidget, and extqt).
Some code cleanup.
------------------------------------------------------------------------
r10674 | airwin | 2009-12-03 16:52:56 -0500 (Thu, 03 Dec 2009) | 2 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/examples/c++/x25.cc
Style tweak of recent changes.
------------------------------------------------------------------------
r10673 | airwin | 2009-12-03 16:49:25 -0500 (Thu, 03 Dec 2009) | 2 lines
Changed paths:
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f95/scstubs.c
Style tweak of recent changes.
------------------------------------------------------------------------
r10672 | arjenmarkus | 2009-12-03 07:50:44 -0500 (Thu, 03 Dec 2009) | 1 line
Changed paths:
M /trunk/bindings/f77/README.f77API
M /trunk/bindings/f95/readme_f95.txt
Description of the linker definition files added
------------------------------------------------------------------------
r10671 | airwin | 2009-12-02 15:38:28 -0500 (Wed, 02 Dec 2009) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/api.xml
M /trunk/doc/docbook/src/plplotdoc.xml.in
Add documentation for plgradient.
------------------------------------------------------------------------
r10670 | airwin | 2009-12-02 12:20:42 -0500 (Wed, 02 Dec 2009) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/api.xml
Indentation (as set by emacs cmake mode).
------------------------------------------------------------------------
r10669 | arjenmarkus | 2009-12-02 07:33:47 -0500 (Wed, 02 Dec 2009) | 1 line
Changed paths:
M /trunk/bindings/f95/plplotf95.def
M /trunk/bindings/f95/plplotf95_mingw.def
Adding plgradient to the link definition files for both bare Windows and MinGW (Fortran 95 bindings).
------------------------------------------------------------------------
r10668 | airwin | 2009-12-02 03:38:49 -0500 (Wed, 02 Dec 2009) | 6 lines
Changed paths:
M /trunk/bindings/lua/plplotluac.i
M /trunk/examples/lua/x25.lua
M /trunk/examples/lua/x30.lua
Implement plgradient for lua bindings and make lua examples 25 and 30 that
_should_ produce consistent results with their C counterparts (which use
plgradient). In this case example 25 is consistent (which verifies the lua
bindings are fine, but for some unknown reason example 30 is not.
------------------------------------------------------------------------
r10667 | airwin | 2009-12-02 02:53:05 -0500 (Wed, 02 Dec 2009) | 4 lines
Changed paths:
M /trunk/bindings/java/PLStream.java
M /trunk/examples/java/x25.java
M /trunk/examples/java/x30.java
Implement plgradient for the java bindings and make java examples 25 and 30
produce consistent results with their C counterparts (which use plgradient).
------------------------------------------------------------------------
r10666 | airwin | 2009-12-02 02:51:24 -0500 (Wed, 02 Dec 2009) | 2 lines
Changed paths:
M /trunk/bindings/java/README.javaAPI
Considerably simplify and update this java bindings documentation.
------------------------------------------------------------------------
r10665 | airwin | 2009-12-02 01:42:13 -0500 (Wed, 02 Dec 2009) | 4 lines
Changed paths:
M /trunk/bindings/f95/plstubs.h
M /trunk/bindings/f95/scstubs.c
M /trunk/bindings/f95/sfstubsf95.f90
M /trunk/examples/f95/x25f.f90
M /trunk/examples/f95/x30f.f90
Implement plgradient for f95 bindings and make f95 examples 25 and 30 produce
consistent results with their C counterparts (which use plgradient).
------------------------------------------------------------------------
r10664 | airwin | 2009-12-02 01:40:52 -0500 (Wed, 02 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/c/x30c.c
M /trunk/examples/c++/x30.cc
M /trunk/examples/f77/x30f.fm4
Minor code cleanup.
------------------------------------------------------------------------
r10663 | airwin | 2009-12-01 22:36:24 -0500 (Tue, 01 Dec 2009) | 4 lines
Changed paths:
M /trunk/bindings/f77/plstubs.h
M /trunk/bindings/f77/scstubs.c
M /trunk/examples/f77/x25f.fm4
M /trunk/examples/f77/x30f.fm4
Implement plgradient for f77 bindings and make f77 examples 25 and 30 produce
consistent results with their C counterparts (which use plgradient).
------------------------------------------------------------------------
r10662 | airwin | 2009-12-01 20:51:25 -0500 (Tue, 01 Dec 2009) | 4 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/c++/plstream.h
M /trunk/examples/c++/x25.cc
M /trunk/examples/c++/x30.cc
Implement plgradient for C++ bindings and make C++ examples 25 and 30 produce
consistent results with their C counterparts (which use plgradient).
------------------------------------------------------------------------
r10661 | airwin | 2009-12-01 20:50:00 -0500 (Tue, 01 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/c/x30c.c
Minor code cleanup.
------------------------------------------------------------------------
r10660 | airwin | 2009-12-01 20:13:12 -0500 (Tue, 01 Dec 2009) | 4 lines
Changed paths:
M /trunk/bindings/d/plplot.d
M /trunk/examples/d/x25d.d
M /trunk/examples/d/x30d.d
Implement plgradient for D bindings and make D examples 25 and 30 produce
consistent results with their C counterparts (which use plgradient).
------------------------------------------------------------------------
r10659 | airwin | 2009-12-01 20:10:08 -0500 (Tue, 01 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/c/x30c.c
M /trunk/examples/python/xw30.py
Spelling tweak.
------------------------------------------------------------------------
r10658 | airwin | 2009-12-01 19:33:49 -0500 (Tue, 01 Dec 2009) | 4 lines
Changed paths:
M /trunk/examples/python/xw25.py
M /trunk/examples/python/xw30.py
Make python examples 25 and 30 produce consistent results (especially
plgradient results) with their C counterparts.
------------------------------------------------------------------------
r10657 | airwin | 2009-12-01 19:30:21 -0500 (Tue, 01 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/c/x30c.c
Tweak code order and commentary.
------------------------------------------------------------------------
r10656 | andrewross | 2009-12-01 03:20:08 -0500 (Tue, 01 Dec 2009) | 3 lines
Changed paths:
M /trunk/debian/rules
Correctly set JAVA_HOME for debian packages.
------------------------------------------------------------------------
r10655 | airwin | 2009-12-01 02:28:21 -0500 (Tue, 01 Dec 2009) | 2 lines
Changed paths:
M /trunk/examples/c/x30c.c
Convert example 30 to use plgradient.
------------------------------------------------------------------------
r10654 | andrewross | 2009-12-01 02:24:53 -0500 (Tue, 01 Dec 2009) | 3 lines
Changed paths:
M /trunk/debian/changelog
M /trunk/debian/control.in
M /trunk/debian/rules
Update build-dependencies and rules for debian packages.
------------------------------------------------------------------------
r10653 | airwin | 2009-12-01 00:46:38 -0500 (Tue, 01 Dec 2009) | 2 lines
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/drivers/qt.cpp
M /trunk/include/qt.h
Implement native driver gradients for all qt raster devices and -dev svgqt.
------------------------------------------------------------------------
r10652 | airwin | 2009-12-01 00:20:00 -0500 (Tue, 01 Dec 2009) | 2 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/plline.c
Style recent changes.
------------------------------------------------------------------------
r10651 | airwin | 2009-11-30 12:57:25 -0500 (Mon, 30 Nov 2009) | 3 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/plfill.c
M /trunk/src/plline.c
Move plP_plfclp and associated routines from plline.c to its more natural
position in plfill.c
------------------------------------------------------------------------
r10650 | arjenmarkus | 2009-11-30 07:05:36 -0500 (Mon, 30 Nov 2009) | 1 line
Changed paths:
M /trunk/src/plline.c
Solve one, rather obvious, mistake in plline.c - filling the whole area did not work because the array of coordinares was not filled. This seems to have an impact on some of the gradient fills too - most notably the wedge in the lower centre subpage. Further investigation is required.
------------------------------------------------------------------------
r10649 | airwin | 2009-11-30 01:45:59 -0500 (Mon, 30 Nov 2009) | 7 lines
Changed paths:
M /trunk/drivers/svg.c
M /trunk/include/plstrm.h
M /trunk/src/plgradient.c
Use end-point coordinates (which allows correct coordinate transformations)
rather than angle to define the gradient. There still appears to be some
subtle misunderstanding on my part of how the SVG protocol interprets the
end-point coordinates of the gradient, however, since the -dev svg results
for the gradient are still incorrect.
------------------------------------------------------------------------
r10648 | airwin | 2009-11-29 15:02:50 -0500 (Sun, 29 Nov 2009) | 2 lines
Changed paths:
M /trunk/include/plplot.h
M /trunk/include/plstrm.h
M /trunk/src/plcore.c
M /trunk/src/plgradient.c
M /trunk/src/plgset.c
M /trunk/src/plshade.c
Style recent changes.
------------------------------------------------------------------------
r10647 | airwin | 2009-11-29 15:00:47 -0500 (Sun, 29 Nov 2009) | 3 lines
Changed paths:
M /trunk/drivers/svg.c
Avoid potential use of undefined variables by doing nothing when npts < 2.
Code cleanup.
------------------------------------------------------------------------
r10646 | airwin | 2009-11-29 02:53:59 -0500 (Sun, 29 Nov 2009) | 4 lines
Changed paths:
M /trunk/drivers/svg.c
Implement native gradient capability for svg device driver. The results look
beautiful compared to the software fallback method, but there are some
subtle issues still remaining with how the angle is intepreted.
------------------------------------------------------------------------
r10645 | airwin | 2009-11-29 02:51:23 -0500 (Sun, 29 Nov 2009) | 2 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
A /trunk/examples/python/test_gradient.py
Add simple script to test plgradient functionality.
------------------------------------------------------------------------
r10644 | airwin | 2009-11-29 02:50:29 -0500 (Sun, 29 Nov 2009) | 2 lines
Changed paths:
M /trunk/bindings/swig-support/plplotcapi.i
swig support for plgradient. Only tested for python at this stage.
------------------------------------------------------------------------
r10643 | airwin | 2009-11-29 02:47:06 -0500 (Sun, 29 Nov 2009) | 4 lines
Changed paths:
M /trunk/include/plcore.h
M /trunk/include/plplot.h
M /trunk/include/plplotP.h
M /trunk/include/plstrm.h
M /trunk/src/plcore.c
M /trunk/src/plgradient.c
Implement PLESC_GRADIENT infrastructure to allow drivers to render the
gradient rather than using the fallback method. No drivers actually
implement this yet.
------------------------------------------------------------------------
r10642 | airwin | 2009-11-29 02:44:30 -0500 (Sun, 29 Nov 2009) | 2 lines
Changed paths:
M /trunk/src/plshade.c
Slight code cleanup; use macro to define the number of bisections.
------------------------------------------------------------------------
r10641 | hbabcock | 2009-11-28 19:45:30 -0500 (Sat, 28 Nov 2009) | 1 line
Changed paths:
M /trunk/include/plplot.h
Should have committed this simultaneously with my last commit. Expand functionality of plget / plset to include cmap0 and cmap1 color tables, text character sizes, major and minor tick sizes and digit precision (general, x, y, z axises).
------------------------------------------------------------------------
r10640 | hbabcock | 2009-11-28 19:44:04 -0500 (Sat, 28 Nov 2009) | 1 line
Changed paths:
M /trunk/src/plgset.c
Expand functionality of plget / plset to include cmap0 and cmap1 color tables, text character sizes, major and minor tick sizes and digit precision (general, x, y, z axises).
------------------------------------------------------------------------
r10639 | airwin | 2009-11-28 17:03:39 -0500 (Sat, 28 Nov 2009) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/api.xml
Tweak introductory paragraph for plscmap1la.
------------------------------------------------------------------------
r10638 | airwin | 2009-11-27 20:15:51 -0500 (Fri, 27 Nov 2009) | 8 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
A /trunk/examples/python/test_fill.py
Implement simple test of plfill for the case where the polygon is just
outside the window to demonstrate a current bug (no fill) for this situation.
If you reverse the sign of eps so the polygon is just inside the window,
then the fill occurs properly. If one side of the polygon is just
inside the window (replace xmin = xmin - eps with xmin = xmin +eps), then
the fill occurs in that case as well.
------------------------------------------------------------------------
r10637 | airwin | 2009-11-27 19:39:41 -0500 (Fri, 27 Nov 2009) | 5 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
A /trunk/examples/python/test_plplot_encodings.py
Add simple test for whether you get the same result for UTF-8 and
PLplot #[0x....] encoding for unicode. The new example also tests whether
a given device driver responds correctly to the #<FCI-COMMAND/> escape
sequence to change font characteristics in the middle of a string.
------------------------------------------------------------------------
r10636 | airwin | 2009-11-27 13:55:12 -0500 (Fri, 27 Nov 2009) | 6 lines
Changed paths:
M /trunk/src/plgradient.c
Solve clipping issue at edge of polygon for plgradient by using more points
to define the gradient plane. This is a workaround for the numerical
robustness issue for the edges of defined regions that is discussed on list,
but once that robustness issue is sorted out we should be able to go
from 20x20 to 2x2 since any more than 3 points to define a plane is redundant.
------------------------------------------------------------------------
r10635 | airwin | 2009-11-27 13:27:49 -0500 (Fri, 27 Nov 2009) | 4 lines
Changed paths:
M /trunk/include/plplot.h
Drop fmin and fmax from c_plgradient argument list of c_plgradient to be
consistent with earlier commit.
------------------------------------------------------------------------
r10634 | airwin | 2009-11-27 13:25:03 -0500 (Fri, 27 Nov 2009) | 2 lines
Changed paths:
M /trunk/src/plline.c
Correct typo; PLP_pointinpolygon ==> plP_pointinpolygon.
------------------------------------------------------------------------
r10633 | airwin | 2009-11-27 13:20:37 -0500 (Fri, 27 Nov 2009) | 3 lines
Changed paths:
M /trunk/examples/c/x25c.c
Drop fmin and fmax from plgradient argument list to be consistent with
latest evolution of plgradient API.
------------------------------------------------------------------------
r10632 | airwin | 2009-11-26 21:53:49 -0500 (Thu, 26 Nov 2009) | 5 lines
Changed paths:
M /trunk/src/plgradient.c
Drop fmin and fmax from plgradient argument list (since cmap1 manipulation
gives you much better and complete control of the gradient). Also, sort
out an issue which reversed the direction of the gradient. Clipping at
the polygon limit is still not implemented.
------------------------------------------------------------------------
r10631 | airwin | 2009-11-26 20:57:07 -0500 (Thu, 26 Nov 2009) | 5 lines
Changed paths:
M /trunk/examples/c/x25c.c
Add four extra pages to test the experimental new plgradient capability.
Because plgradient is experimental with an API that is subject to change
do not propagate this C example change to the other languages yet.
------------------------------------------------------------------------
r10630 | airwin | 2009-11-26 20:53:55 -0500 (Thu, 26 Nov 2009) | 11 lines
Changed paths:
M /trunk/include/plplot.h
M /trunk/include/plstrm.h
M /trunk/src/CMakeLists.txt
A /trunk/src/plgradient.c
M /trunk/src/plline.c
Experimental initial implementation of plgradient to plot a gradient
(defined with cmap1) inside a clipping boundary polygon defined by the user.
Currently only a software fallback (rather than native device driver
gradient where applicable) is implemented. That fallback uses plshades to
implement the gradient with the defined callback (4th argument of plshades)
to exclude regions outside the polygon. However, that defined callback is
not working at the moment. For that reason, I have temporarily replaced it
with NULL. As a result this version is useful for seeing the full extent of
the plshades result without clipping at the polygon boundary.
------------------------------------------------------------------------
r10629 | airwin | 2009-11-26 17:53:23 -0500 (Thu, 26 Nov 2009) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/api.xml
Tweak plshades argument description.
------------------------------------------------------------------------
r10628 | airwin | 2009-11-26 14:07:08 -0500 (Thu, 26 Nov 2009) | 12 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/plline.c
Rename pointinpolygon as PLP_pointinpolygon that is accessible from all of
the PLplot library and which has PLINT arguments changed to PLFLT arguments.
The plan is to use PLP_pointinpolygon to help define the polygon limits of
plshades when it is used for a software fallback for plgradient.
Implement pointinpolygon (still defined statically within plline.c) as a
PLINT argument wrapper of PLP_pointinpolygon.
These changes make no difference for example 25 results which depend on
pointinpolygon.
------------------------------------------------------------------------
r10627 | andrewross | 2009-11-24 13:43:49 -0500 (Tue, 24 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/java/PLStream.java
Bug with next_stream recently fixed for C++ bindings also applies to java bindings.
------------------------------------------------------------------------
r10626 | andrewross | 2009-11-23 16:54:09 -0500 (Mon, 23 Nov 2009) | 5 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/c++/plstream.h
Modify C++ bindings to use plmkstrm rather than sequentially increasing the stream number for each new instance and then calling plsstrm. This avoids a potential problem with running out of streams. It does mean that stream 0 is not used by default because of the limitations of plplot / plmkstrm (see documentation).
This fixes plplot bug 2901388.
------------------------------------------------------------------------
r10625 | andrewross | 2009-11-23 16:51:24 -0500 (Mon, 23 Nov 2009) | 3 lines
Changed paths:
M /trunk/debian/changelog
M /trunk/debian/control.in
Fix spelling mistake in debian control.in file.
------------------------------------------------------------------------
r10624 | airwin | 2009-11-23 00:38:54 -0500 (Mon, 23 Nov 2009) | 13 lines
Changed paths:
M /trunk/cmake/modules/freetype.cmake
For deprecated plfreetype approach for dealing with unicode, make symbol
font files default to same as sans files rather than same as serif files.
This makes plfreetype device drivers agree with how generic font device
drivers treat symbol fonts as an alias of sans fonts.
For devices that still use the plfreetype approach, this will make little
difference because the symbol font is no longer used for a momentary font
change for certain PLplot unicode escape sequences (Hershey, hexadecimal,
and Greek). Thus, symbol font files (which now by default point to the
equivalent sans font files for plfreetype device drivers) are now only used
when a user specifically asks for them.
------------------------------------------------------------------------
r10623 | airwin | 2009-11-23 00:29:30 -0500 (Mon, 23 Nov 2009) | 4 lines
Changed paths:
M /trunk/src/plcore.c
Disallow momentary change to symbol font for PLplot escape
sequences (Hershey, hexadecimal, and Greek) for specifying
unicode.
------------------------------------------------------------------------
r10622 | airwin | 2009-11-23 00:27:16 -0500 (Mon, 23 Nov 2009) | 2 lines
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/drivers/cairo.c
Style tweaks.
------------------------------------------------------------------------
r10621 | airwin | 2009-11-23 00:18:03 -0500 (Mon, 23 Nov 2009) | 9 lines
Changed paths:
M /trunk/src/plcore.c
Implement C preprocessor infrastructure for disallowing momentary change
to symbol fonts without actually disallowing that change.
For pls->alt_unicode true restore original font after switch to symbol font
for both Hershey and hexadecimal PLplot unicode encoding escape sequences.
This change fixes a font bug in the cairo device driver (currently the only
one to use pls->alt_unicode true).
------------------------------------------------------------------------
r10620 | airwin | 2009-11-21 17:47:39 -0500 (Sat, 21 Nov 2009) | 14 lines
Changed paths:
M /trunk/drivers/wxwidgets.h
Change default symbol font from generic serif (wxFONTFAMILY_ROMAN) to
generic sans (wxFONTFAMILY_SWISS) for the wxGC form of -dev wxwidgets. This
generic font choice is now consistent with what is done for the cairo and qt
device drivers and gives much better automatic glyph finding on at least the
Debian stable platform. For that platform, there were many missing glyphs
for example 23 for the wxGC form of -dev wxwidgets for the generic serif
case. All those missing glyphs are now found and display nicely for the
generic sans case.
In sum, this small change to the wxGC form of -dev wxwidgets makes a large
and important improvement to the example 23 results (and presumably any
other examples that use symbol fonts).
------------------------------------------------------------------------
r10619 | airwin | 2009-11-20 14:20:20 -0500 (Fri, 20 Nov 2009) | 3 lines
Changed paths:
M /trunk/examples/f77/x29f.fm4
Use specific (integer) type for lnblnk since that is demanded by some
compilers.
------------------------------------------------------------------------
r10618 | airwin | 2009-11-20 14:17:35 -0500 (Fri, 20 Nov 2009) | 6 lines
Changed paths:
M /trunk/examples/f77/x21f.fm4
M /trunk/examples/f77/x22f.fm4
M /trunk/examples/f77/x24f.fm4
M /trunk/examples/f77/x29f.fm4
M /trunk/examples/f77/x30f.fm4
M /trunk/examples/f95/x21f.f90
M /trunk/examples/f95/x22f.f90
M /trunk/examples/f95/x24f.f90
M /trunk/examples/f95/x29f.f90
M /trunk/examples/f95/x30f.f90
Get rid of trailing semicolons on fortran statements. I guess all the
compilers we have tested accepted these, but traditional Fortran compilers
did not accept them. Furthermore, most of our example Fortran statements
don't have trailing semicolons so it is worth removing them simply for
consistent style.
------------------------------------------------------------------------
r10617 | hbabcock | 2009-11-19 19:29:03 -0500 (Thu, 19 Nov 2009) | 1 line
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
Get rid of warning messages on mingw32 by casting variables as appropriate (Qt4.5.3).
------------------------------------------------------------------------
r10616 | airwin | 2009-11-19 18:20:23 -0500 (Thu, 19 Nov 2009) | 2 lines
Changed paths:
M /trunk/examples/f77/x29f.fm4
Make plctime arguments consistent in type.
------------------------------------------------------------------------
r10615 | andrewross | 2009-11-19 08:45:35 -0500 (Thu, 19 Nov 2009) | 7 lines
Changed paths:
M /trunk/drivers/cairo.c
M /trunk/drivers/qt.cpp
M /trunk/drivers/wxwidgets.cpp
M /trunk/drivers/xwin.c
M /trunk/src/plcore.c
At core code to ensure that plwindow is always set. Setting the plwindow option overrides any defaults. In the absence of that, the program name, or PLplot, is used.
Update xwin, qt, xcairo and wxwidgets drivers to honour the new plwindow settings.
Note wxwidgets still adds additional driver information onto the end of the title and cairo no longer prompts to press return / mouse button.
------------------------------------------------------------------------
r10614 | andrewross | 2009-11-19 07:08:54 -0500 (Thu, 19 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/f95/scstubs.c
Fix arguments to PLSLABELFUNC_NONEa in f95 bindings so it compiles with gfortran.
------------------------------------------------------------------------
r10613 | andrewross | 2009-11-19 07:05:09 -0500 (Thu, 19 Nov 2009) | 3 lines
Changed paths:
M /trunk/examples/ada/x03a.adb.cmake
M /trunk/examples/c/x03c.c
M /trunk/examples/c++/x03.cc
M /trunk/examples/d/x03d.d
M /trunk/examples/f77/x03f.fm4
M /trunk/examples/f95/x03f.f90
M /trunk/examples/java/x03.java
M /trunk/examples/lua/x03.lua
M /trunk/examples/ocaml/x03.ml
M /trunk/examples/octave/x03c.m
M /trunk/examples/perl/x03.pl
M /trunk/examples/python/x03
Fix comment in example 3 - call to plsori makes the plot portrait and not landscape.
------------------------------------------------------------------------
r10612 | arjenmarkus | 2009-11-19 03:13:30 -0500 (Thu, 19 Nov 2009) | 1 line
Changed paths:
M /trunk/bindings/f77/plstubs.h
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f95/plstubs.h
M /trunk/bindings/f95/scstubs.c
Adding copies of the PLSLABELFUNC_* functions for compilers that add an extra underscore if the function/routine name already contains an underscore.
------------------------------------------------------------------------
r10611 | airwin | 2009-11-18 18:57:43 -0500 (Wed, 18 Nov 2009) | 6 lines
Changed paths:
M /trunk/cmake/modules/wxwidgets.cmake
The combination of WITH_FREETYPE=OFF and HAVE_AGG=ON generates build errors
for wxwidgets_agg.cpp so always avoid that combination of flags by
determining HAVE_AGG only when WITH_FREETYPE=ON. (Note if HAVE_AGG is not
determined, then it is logically false or the equivalent of OFF.)
------------------------------------------------------------------------
r10610 | andrewross | 2009-11-17 08:57:18 -0500 (Tue, 17 Nov 2009) | 3 lines
Changed paths:
M /trunk/drivers/qt.cpp
Tidy up formatting using uncrustify.
------------------------------------------------------------------------
r10609 | andrewross | 2009-11-17 08:33:42 -0500 (Tue, 17 Nov 2009) | 3 lines
Changed paths:
M /trunk/drivers/qt.cpp
Update qtwidget to honour -plwindow option (with default as the program name) consistent with the xwin driver.
------------------------------------------------------------------------
r10608 | airwin | 2009-11-17 01:22:08 -0500 (Tue, 17 Nov 2009) | 5 lines
Changed paths:
M /trunk/examples/python/test_axis_precision.py
Use less ridiculous value of ydigmax specified via plsyax. This works
well (i.e., gives non-exponential notation for the Y axis) with the
recent pldprec change in pldtik.c which removes the ceiling on digfix and
simply sets it to digmax.
------------------------------------------------------------------------
r10607 | airwin | 2009-11-17 00:54:21 -0500 (Tue, 17 Nov 2009) | 4 lines
Changed paths:
M /trunk/src/pldtik.c
Set digfix = digmax. This change allows users complete control
over axis exponential notation via the first parameters in pls[xyz]ax, but
does not affect the default behaviour when pls[xyz]ax is not called.
------------------------------------------------------------------------
r10606 | airwin | 2009-11-16 20:24:10 -0500 (Mon, 16 Nov 2009) | 3 lines
Changed paths:
M /trunk/doc/docbook/src/api.xml
Remind users of plpause in plend documentation. Thanks to David Sagan for
this change.
------------------------------------------------------------------------
r10605 | airwin | 2009-11-16 17:33:58 -0500 (Mon, 16 Nov 2009) | 2 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
A /trunk/examples/python/test_symbol_clip.py
Add test case to see whether symbols are properly clipped.
------------------------------------------------------------------------
r10604 | andrewross | 2009-11-16 14:28:11 -0500 (Mon, 16 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/f95/scstubs.c
Fix up plslabelfunc support in f95 so it compiles with gfortran.
------------------------------------------------------------------------
r10603 | andrewross | 2009-11-16 10:54:40 -0500 (Mon, 16 Nov 2009) | 5 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/plbuf.c
M /trunk/src/plcore.c
M /trunk/src/plstdio.c
Fix up pl_create_tempfile to correctly open the file stream for reading as well as writing.
Replace calls to tmpfile with pl_create_tempfile.
------------------------------------------------------------------------
r10602 | arjenmarkus | 2009-11-16 10:17:45 -0500 (Mon, 16 Nov 2009) | 1 line
Changed paths:
M /trunk/bindings/f77/plstubs.h
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f95/plstubs.h
M /trunk/bindings/f95/scstubs.c
M /trunk/bindings/f95/sfstubsf95.f90
Extended the label format interface for FORTRAN 77 and Fortran 95 bindings. For FORTRAN 77 there is an extra routine (PLSLABELFUNC_NONE), for Fortran 95 there is one too (for symmetry), and the original label format routine is overloaded so that an integer 0 is treated as if it was a NULL pointer.
------------------------------------------------------------------------
r10601 | arjenmarkus | 2009-11-16 10:14:24 -0500 (Mon, 16 Nov 2009) | 1 line
Changed paths:
M /trunk/examples/f77/x19f.fm4
Corrected FORTRAN 77 example x19f so that the floor function is correctly recognised and the label formatting is turned on and off. The latter is done via a _separate_ routine as FORTRAN 77 can not deal with polymorphic argument lists.
------------------------------------------------------------------------
r10600 | andrewross | 2009-11-16 08:18:18 -0500 (Mon, 16 Nov 2009) | 4 lines
Changed paths:
M /trunk/src/plstdio.c
Rename tmpfile to tmpname to avoid confusion with tmpfile function.
------------------------------------------------------------------------
r10599 | andrewross | 2009-11-16 08:09:52 -0500 (Mon, 16 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/tk/plframe.c
M /trunk/bindings/tk-x-plat/plplotter.c
M /trunk/include/plplotP.h
M /trunk/src/plstdio.c
Convert pl_create_tempfile to return a file stream (FILE *) rather than a basic file handle since this is what plplot always uses.
------------------------------------------------------------------------
r10598 | andrewross | 2009-11-16 07:22:49 -0500 (Mon, 16 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/tk/plframe.c
M /trunk/bindings/tk-x-plat/plplotter.c
M /trunk/drivers/cairo.c
M /trunk/drivers/qt.cpp
M /trunk/drivers/tk.c
M /trunk/include/plplotP.h
M /trunk/src/plcore.c
M /trunk/src/plstdio.c
Run uncrustify to correct style for recently changed files.
------------------------------------------------------------------------
r10597 | andrewross | 2009-11-16 07:21:25 -0500 (Mon, 16 Nov 2009) | 3 lines
Changed paths:
M /trunk/drivers/tk.c
Add comments about one remaining use of tmpnam in source code.
------------------------------------------------------------------------
r10596 | andrewross | 2009-11-16 07:03:10 -0500 (Mon, 16 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/tk/plframe.c
M /trunk/bindings/tk-x-plat/plplotter.c
M /trunk/src/plstdio.c
Replace use of tmpnam in tk bindings with pl_create_tempfile. Note we need to retrieve the file name since the temporary metafile will be processed by plrender to create the output.
------------------------------------------------------------------------
r10595 | andrewross | 2009-11-16 07:01:06 -0500 (Mon, 16 Nov 2009) | 3 lines
Changed paths:
M /trunk/src/plctrl.c
plFindCommand should search in source_tree/scripts not build_tree/scripts since that is where the scripts are located.
------------------------------------------------------------------------
r10594 | smekal | 2009-11-15 08:39:12 -0500 (Sun, 15 Nov 2009) | 2 lines
Changed paths:
M /trunk/include/qt.h
The export via PLDLLIMPEXP_QT for the QtPLDriver forward declaration is removed. This is a warning on Mac OS X and not needed, since it's exported/imported at the actual class declaration anyway.
plD_DEVICE_INFO_qt is not declared in qt.h anymore - it's used only in drivers/qt.cpp.
------------------------------------------------------------------------
r10593 | smekal | 2009-11-15 08:12:20 -0500 (Sun, 15 Nov 2009) | 2 lines
Changed paths:
M /trunk/src/plstdio.c
For Visual C++ 2005 and later mktemp() and open() are deprecated (see http://msdn.microsoft.com/en-us/library/ms235413.aspx and http://msdn.microsoft.com/en-us/library/ms235491.aspx). mktemp() is redefined to _mktemp() as well as open() to _open(). In addition io.h is included.
_S_IREAD and _S_IWRITE is only defined if undefined.
------------------------------------------------------------------------
r10592 | hbabcock | 2009-11-14 22:02:30 -0500 (Sat, 14 Nov 2009) | 1 line
Changed paths:
M /trunk/src/plstdio.c
Added missing flags variable.
------------------------------------------------------------------------
r10591 | hbabcock | 2009-11-14 21:17:14 -0500 (Sat, 14 Nov 2009) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
M /trunk/src/plcore.c
In order for -save to work plP_text must use both text rendering paths. To avoid having the text rendered twice the cairo driver checks to see which rendering path is active before rendering the text.
------------------------------------------------------------------------
r10590 | airwin | 2009-11-14 20:30:26 -0500 (Sat, 14 Nov 2009) | 2 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
A /trunk/examples/python/test_axis_precision.py
Add example to test axis precision commands.
------------------------------------------------------------------------
r10589 | airwin | 2009-11-14 16:17:15 -0500 (Sat, 14 Nov 2009) | 2 lines
Changed paths:
M /trunk/drivers/cairo.c
Set plbuf_write = 1 only for xcairo device.
------------------------------------------------------------------------
r10588 | airwin | 2009-11-14 15:40:45 -0500 (Sat, 14 Nov 2009) | 9 lines
Changed paths:
M /trunk/drivers/qt.cpp
Set pls->plbuf_write = 1 for qtwidget so that core commands to this device
will be stored in a core buffer. This change allows plreplot to work
for this device, e.g.,
examples/c/x01c -save test.psc -dev qtwidget
saves a copy of example 1 in the colour PostScript file test.psc.
------------------------------------------------------------------------
r10587 | airwin | 2009-11-14 14:20:22 -0500 (Sat, 14 Nov 2009) | 4 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Implement test_all_qt and test_all_cairo custom targets which test all qt
devices and special examples and all cairo devices and special examples.
------------------------------------------------------------------------
r10586 | airwin | 2009-11-14 13:16:12 -0500 (Sat, 14 Nov 2009) | 2 lines
Changed paths:
M /trunk/include/qt.h
Replace double extern (which gcc chokes on) with single extern.
------------------------------------------------------------------------
r10585 | andrewross | 2009-11-13 17:10:49 -0500 (Fri, 13 Nov 2009) | 10 lines
Changed paths:
M /trunk/cmake/modules/plplot.cmake
M /trunk/config.h.cmake
M /trunk/include/plplotP.h
M /trunk/src/plstdio.c
Add plplot function to create a secure temporary file in a standard cross platform way.
The function always returns a file handle (or -1 on failure).
If a char ** is passed then the filename will also be returned in the pointer. If the file name is not returned then the file will automatically be deleted once the file handle is closed. If the file name is returned, then it is the users responsibility to delete the file and also to free the memory associated with the string containing the file name. Note that the latter use is discouraged as there are some (theoretical) race conditions that can occur in this case, but we may need to use this in plplot because of the way the code is written.
The temporary file will be created in the directory given by TMPDIR (UNIX) or TEMP (windows) if they are set. Otherwise it will try P_tmpdir (if defined) and finally a default of /tmp (UNIX) or c:\windows\temp (windows).
------------------------------------------------------------------------
r10584 | smekal | 2009-11-13 16:34:51 -0500 (Fri, 13 Nov 2009) | 2 lines
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/drivers/qt.cpp
M /trunk/include/qt.h
Applied (a little bit modified) patch by André Kapelrud in order to make the qt driver compiler with Visual C++. This patch fixes mainly visibility issues of some variables in dlls.
Removed some unreferenced variables.
------------------------------------------------------------------------
r10583 | andrewross | 2009-11-12 15:57:32 -0500 (Thu, 12 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/octave/PLplot/figure.m
M /trunk/bindings/octave/PLplot/save_fig.m
Ensure the correct temporary directory name is used when calling mkstemp in octave.
------------------------------------------------------------------------
r10582 | andrewross | 2009-11-12 07:05:13 -0500 (Thu, 12 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/octave/PLplot/figure.m
M /trunk/bindings/octave/PLplot/save_fig.m
Remove use of tmpnam in octave bindings as this is potentially a security problem.
------------------------------------------------------------------------
r10581 | airwin | 2009-11-11 13:01:52 -0500 (Wed, 11 Nov 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/pdf.cmake
Specify rpath for pdf device driver.
------------------------------------------------------------------------
r10580 | arjenmarkus | 2009-11-11 07:06:11 -0500 (Wed, 11 Nov 2009) | 4 lines
Changed paths:
M /trunk/bindings/f77/scstubs.c
M /trunk/examples/f77/x19f.fm4
Correct two F95-isms in example x19f for FORTRAN 77. Note
that the interface has to explicitly use the hidden string
length argument. (It also assumes this appears at the end
of the argument list)
------------------------------------------------------------------------
r10579 | airwin | 2009-11-10 14:13:35 -0500 (Tue, 10 Nov 2009) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Fix test_c_tk target dependencies.
------------------------------------------------------------------------
r10578 | airwin | 2009-11-10 14:04:24 -0500 (Tue, 10 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/tk/CMakeLists.txt
EXPORT plserver target to make that target available for installed examples
build.
------------------------------------------------------------------------
r10577 | airwin | 2009-11-10 13:11:15 -0500 (Tue, 10 Nov 2009) | 2 lines
Changed paths:
M /trunk/bindings/CMakeLists.txt
Spell concatenate, etc., correctly.
------------------------------------------------------------------------
r10576 | airwin | 2009-11-10 12:55:40 -0500 (Tue, 10 Nov 2009) | 2 lines
Changed paths:
M /trunk/bindings/gnome2/python/CMakeLists.txt
Make plplotcanvas.py available in the build tree so pygcw will work there.
------------------------------------------------------------------------
r10575 | airwin | 2009-11-09 19:59:25 -0500 (Mon, 09 Nov 2009) | 24 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Use new background setting capabilities for the extcairo device to insure a
good background for the PostScript plot generated by the test_extcairo
target.
Replace interactive test_plplotcanvas_demo and test_plplotcanvas_animation
targets with the interactive test_plplotcanvas target.
Add interactive test_pygcw target with tested file and target dependencies
for both the core build and installed examples build.
Tweak wording of message for interactive test_c_<device> targets to
make clear that it is an interactive device rather than a file device.
These recent interactive test changes work well as can be seen by running
make test_interactive
either in the build tree (with BUILD_TEST=ON) or the installed examples tree
(using the new CMake-based build system for those examples). However, there
are still additional interactive targets that must be implemented and added
as dependencies for the overall test_interactive target.
Whitespace changes.
------------------------------------------------------------------------
r10574 | airwin | 2009-11-09 19:16:41 -0500 (Mon, 09 Nov 2009) | 2 lines
Changed paths:
M /trunk/examples/python/plplot_python_start.py.cmake
Set 4th Python path so that pygcw examples work in the build tree.
------------------------------------------------------------------------
r10573 | airwin | 2009-11-09 19:16:15 -0500 (Mon, 09 Nov 2009) | 4 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
Add copy_plplotcanvas custom target.
Set 4th Python path so that pygcw examples work in the build tree.
------------------------------------------------------------------------
r10572 | airwin | 2009-11-09 19:10:22 -0500 (Mon, 09 Nov 2009) | 4 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Define PLD_extqt.
Tweak logic order.
------------------------------------------------------------------------
r10571 | airwin | 2009-11-09 19:08:53 -0500 (Mon, 09 Nov 2009) | 2 lines
Changed paths:
M /trunk/bindings/gnome2/lib/CMakeLists.txt
Whitespace.
------------------------------------------------------------------------
r10570 | airwin | 2009-11-09 19:08:36 -0500 (Mon, 09 Nov 2009) | 5 lines
Changed paths:
M /trunk/bindings/gnome2/python/CMakeLists.txt
EXPORT gcwmodule and cplplotcanvasmodule to make those targets available
for the installed examples build.
Whitespace.
------------------------------------------------------------------------
r10569 | airwin | 2009-11-09 19:06:52 -0500 (Mon, 09 Nov 2009) | 3 lines
Changed paths:
M /trunk/bindings/python/CMakeLists.txt
EXPORT plplot_widgetmodule and _plplotcmodule to make those targets available
for installed examples build.
------------------------------------------------------------------------
r10568 | airwin | 2009-11-09 19:05:09 -0500 (Mon, 09 Nov 2009) | 2 lines
Changed paths:
M /trunk/examples/python/plplotcanvas_animation.py
M /trunk/examples/python/plplotcanvas_demo.py
Replace deprecated functionality as per python warning messages.
------------------------------------------------------------------------
r10567 | hbabcock | 2009-11-07 16:09:12 -0500 (Sat, 07 Nov 2009) | 1 line
Changed paths:
M /trunk/drivers/cairo.c
M /trunk/examples/c/ext-cairo-test.c
Add a background color handling option to the extcairo driver. The default is still not to set the background color.
------------------------------------------------------------------------
r10566 | airwin | 2009-11-01 13:15:58 -0500 (Sun, 01 Nov 2009) | 5 lines
Changed paths:
M /trunk/bindings/CMakeLists.txt
Concatanate files in a perfect cross-platform way at cmake time using the
file(APPEND ...) command. Thanks to Hendrik Sattler on the CMake mailing
list for this idea.
------------------------------------------------------------------------
r10565 | airwin | 2009-10-31 23:58:19 -0400 (Sat, 31 Oct 2009) | 3 lines
Changed paths:
M /trunk/bindings/CMakeLists.txt
Change name of pkgIndex.tcl target to gen_pkgIndex.tcl to not conflict
with file name.
------------------------------------------------------------------------
r10564 | airwin | 2009-10-31 23:52:34 -0400 (Sat, 31 Oct 2009) | 3 lines
Changed paths:
M /trunk/bindings/CMakeLists.txt
Simplify pkgIndex.tcl target logic. This works on Linux and hopefully will
work on all other platforms as well.
------------------------------------------------------------------------
r10563 | airwin | 2009-10-30 15:54:05 -0400 (Fri, 30 Oct 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/java.cmake
Tweak whitespace and form.
------------------------------------------------------------------------
r10562 | airwin | 2009-10-30 15:50:30 -0400 (Fri, 30 Oct 2009) | 3 lines
Changed paths:
M /trunk/cmake/modules/java.cmake
Cache PLplot jar file and PLplot java plugin install locations to allow
interested users a chance to modify the default values.
------------------------------------------------------------------------
r10561 | smekal | 2009-10-30 06:31:45 -0400 (Fri, 30 Oct 2009) | 2 lines
Changed paths:
M /trunk/bindings/wxwidgets/CMakeLists.txt
A /trunk/cmake/modules/FindwxWidgets.cmake
M /trunk/cmake/modules/wxwidgets.cmake
Added FindwxWidgets.cmake module from cmake 2.8 source tree, which also works for cmake 2.6. This file can be removed, after 2.8 becomes the minimal version.
Changed cmake build system accordingly for the wxWidgets driver and bindings. Tested on Mac OS X, should run on Linux, maybe needs to be altered for Windows.
------------------------------------------------------------------------
r10560 | smekal | 2009-10-30 06:29:48 -0400 (Fri, 30 Oct 2009) | 1 line
Changed paths:
M /trunk/drivers/wxwidgets.cpp
Driver doesn't override debug/verbose command line settings anymore for release build.
------------------------------------------------------------------------
r10559 | airwin | 2009-10-27 20:30:26 -0400 (Tue, 27 Oct 2009) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Add test targets for special interactive C++ examples.
------------------------------------------------------------------------
r10558 | airwin | 2009-10-27 20:26:57 -0400 (Tue, 27 Oct 2009) | 3 lines
Changed paths:
M /trunk/examples/c++/CMakeLists.txt
Don't set global properties giving the target name for special targets.
Instead, just use the target itself in the parent directory.
------------------------------------------------------------------------
r10557 | airwin | 2009-10-27 15:49:11 -0400 (Tue, 27 Oct 2009) | 10 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Move to style which uses targets for COMMANDs for all special targets
used in tests.
extXdrawable_demo depends on PLD_xcairo and not PLD_extcairo.
Add test_plplotcanvas_demo and test_plplotcanvas_animation interactive
targets. (These complete the tests of all special targets compiled in
the c subdirectory.)
------------------------------------------------------------------------
r10556 | airwin | 2009-10-27 15:44:54 -0400 (Tue, 27 Oct 2009) | 5 lines
Changed paths:
M /trunk/examples/c/CMakeLists.txt
No need to set global property for each special target to be obtained by the
parent CMakeLists.txt file. Instead, in that parent file just use each
special target name as appropriate.
------------------------------------------------------------------------
r10555 | airwin | 2009-10-27 15:42:09 -0400 (Tue, 27 Oct 2009) | 4 lines
Changed paths:
M /trunk/include/CMakeLists.txt
Use plhershey-unicode-gen target as a COMMAND. Contrary to my previous
belief, this gives correct file and target dependencies both for 2.6.0 and
2.6.4.
------------------------------------------------------------------------
r10554 | airwin | 2009-10-26 17:56:44 -0400 (Mon, 26 Oct 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/fortran.cmake
Put F95_MOD_DIR variable in the cache so that it can be modified by the user.
------------------------------------------------------------------------
r10553 | airwin | 2009-10-26 13:05:13 -0400 (Mon, 26 Oct 2009) | 3 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/include/qt.h
Continue uncrustify runs until style converges (or in the case of
plplotP.h flips back and forth between two minor style variants).
------------------------------------------------------------------------
r10552 | andrewross | 2009-10-26 09:55:52 -0400 (Mon, 26 Oct 2009) | 5 lines
Changed paths:
M /trunk/bindings/gnome2/lib/gcw-lib.c
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/bindings/tcl/tclAPI.c
M /trunk/bindings/tcl/tclMatrix.c
M /trunk/bindings/tcl/tclMatrix.h
M /trunk/bindings/tk/plframe.c
M /trunk/bindings/tk/tcpip.c
M /trunk/bindings/tk-x-plat/plplotter.c
M /trunk/drivers/aqt.c
M /trunk/drivers/cairo.c
M /trunk/drivers/gd.c
M /trunk/drivers/impress.c
M /trunk/drivers/ljii.c
M /trunk/drivers/ljiip.c
M /trunk/drivers/mem.c
M /trunk/drivers/ntk.c
M /trunk/drivers/pbm.c
M /trunk/drivers/pdf.c
M /trunk/drivers/ps.c
M /trunk/drivers/qt.cpp
M /trunk/drivers/svg.c
M /trunk/drivers/tkwin.c
M /trunk/drivers/wingcc.c
M /trunk/drivers/wxwidgets.h
M /trunk/drivers/wxwidgets_app.cpp
M /trunk/drivers/xfig.c
M /trunk/drivers/xwin.c
M /trunk/examples/c/x16c.c
M /trunk/examples/c/x20c.c
M /trunk/examples/c/x22c.c
M /trunk/examples/c++/x01cc.cc
M /trunk/examples/c++/x12.cc
M /trunk/examples/c++/x16.cc
M /trunk/examples/c++/x20.cc
M /trunk/examples/c++/x22.cc
M /trunk/include/plfreetype.h
M /trunk/include/plplotP.h
M /trunk/include/plunicode-type1.h
M /trunk/include/qt.h
M /trunk/lib/csa/csa.c
M /trunk/lib/nistcd/cd.c
M /trunk/lib/nn/delaunay.c
M /trunk/lib/nn/delaunay.h
M /trunk/lib/nn/hash.c
M /trunk/lib/nn/nnai.c
M /trunk/lib/nn/nnpi.c
M /trunk/lib/qsastime/tai-utc-gen.c
M /trunk/src/ltdl_win32.c
M /trunk/src/pdfutils.c
M /trunk/src/plargs.c
M /trunk/src/plbuf.c
M /trunk/src/plcore.c
M /trunk/src/plshade.c
M /trunk/src/plsym.c
M /trunk/uncrustify.cfg
M /trunk/utils/plrender.c
Set threshold of 12 spaces before variable name, = sign etc in variable definitions, typedefs, enums and assignments. This prevents very large numbers of spaces being added to achieve alignment. Very large numbers of spaces look odd, are hard to read and lead to long lines.
I first noticed this with C++, but it applies to a lot of the C code as well.
------------------------------------------------------------------------
r10551 | andrewross | 2009-10-26 09:47:26 -0400 (Mon, 26 Oct 2009) | 4 lines
Changed paths:
M /trunk/bindings/qt_gui/plqt.cpp
M /trunk/bindings/wxwidgets/wxPLplotstream.cpp
M /trunk/bindings/wxwidgets/wxPLplotstream.h.in
M /trunk/bindings/wxwidgets/wxPLplotwindow.cpp
M /trunk/bindings/wxwidgets/wxPLplotwindow.h
M /trunk/drivers/qt.cpp
M /trunk/drivers/wxwidgets.cpp
M /trunk/drivers/wxwidgets.h
M /trunk/drivers/wxwidgets_agg.cpp
M /trunk/drivers/wxwidgets_app.cpp
M /trunk/drivers/wxwidgets_dc.cpp
M /trunk/drivers/wxwidgets_gc.cpp
M /trunk/examples/c++/plc++demos.h
M /trunk/examples/c++/qt_PlotWindow.cpp
M /trunk/examples/c++/qt_PlotWindow.h
M /trunk/examples/c++/qt_example.cpp
M /trunk/examples/c++/wxPLplotDemo.cpp
M /trunk/examples/c++/x01.cc
M /trunk/examples/c++/x01cc.cc
M /trunk/examples/c++/x02.cc
M /trunk/examples/c++/x03.cc
M /trunk/examples/c++/x04.cc
M /trunk/examples/c++/x05.cc
M /trunk/examples/c++/x06.cc
M /trunk/examples/c++/x07.cc
M /trunk/examples/c++/x08.cc
M /trunk/examples/c++/x09.cc
M /trunk/examples/c++/x10.cc
M /trunk/examples/c++/x11.cc
M /trunk/examples/c++/x12.cc
M /trunk/examples/c++/x13.cc
M /trunk/examples/c++/x14.cc
M /trunk/examples/c++/x15.cc
M /trunk/examples/c++/x16.cc
M /trunk/examples/c++/x17.cc
M /trunk/examples/c++/x18.cc
M /trunk/examples/c++/x19.cc
M /trunk/examples/c++/x20.cc
M /trunk/examples/c++/x21.cc
M /trunk/examples/c++/x22.cc
M /trunk/examples/c++/x23.cc
M /trunk/examples/c++/x24.cc
M /trunk/examples/c++/x25.cc
M /trunk/examples/c++/x26.cc
M /trunk/examples/c++/x27.cc
M /trunk/examples/c++/x28.cc
M /trunk/examples/c++/x29.cc
M /trunk/examples/c++/x30.cc
M /trunk/examples/c++/x31.cc
M /trunk/include/qt.h
M /trunk/scripts/style_source.sh
Large update to apply uncrustify styling to C++ files.
------------------------------------------------------------------------
r10550 | airwin | 2009-10-24 19:46:18 -0400 (Sat, 24 Oct 2009) | 3 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Create test_extXdrawable target and add it to dependencies of
test_interactive.
------------------------------------------------------------------------
r10549 | airwin | 2009-10-24 16:36:39 -0400 (Sat, 24 Oct 2009) | 3 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Create test_c_extcairo target and add it to test_noninteractive target
dependencies.
------------------------------------------------------------------------
r10548 | airwin | 2009-10-24 13:26:14 -0400 (Sat, 24 Oct 2009) | 2 lines
Changed paths:
M /trunk/include/CMakeLists.txt
Correct file dependencies for the generation of plhershey-unicode.h.
------------------------------------------------------------------------
r10547 | airwin | 2009-10-23 15:45:12 -0400 (Fri, 23 Oct 2009) | 2 lines
Changed paths:
M /trunk/examples/c/ext-cairo-test.c
Replace test.ps output name with less generic ext-cairo-test.ps output name.
------------------------------------------------------------------------
r10546 | airwin | 2009-10-22 17:40:47 -0400 (Thu, 22 Oct 2009) | 10 lines
Changed paths:
M /trunk/uncrustify.cfg
Replace config file with one generated via
uncrustify -c old_config_file --update-config-with-doc > new_config_file
The style result with this new config file for all our C code is absolutely
identical to before (as expected), but the various parameters in
uncrustify.cfg are now ordered, complete (all defaults are shown), and much
better documented than before.
------------------------------------------------------------------------
r10545 | airwin | 2009-10-21 20:44:49 -0400 (Wed, 21 Oct 2009) | 2 lines
Changed paths:
M /trunk/bindings/f77/plstubs.h
M /trunk/bindings/f77/sc3d.c
M /trunk/bindings/f77/sccont.c
M /trunk/bindings/f77/scstubs.c
M /trunk/bindings/f95/plstubs.h
M /trunk/bindings/f95/sc3d.c
M /trunk/bindings/f95/sccont.c
M /trunk/bindings/f95/scstubs.c
M /trunk/bindings/gnome2/lib/gcw-lib.c
M /trunk/bindings/gnome2/lib/plplotcanvas.c
M /trunk/bindings/gnome2/python/cplplotcanvasmodule.c
M /trunk/bindings/gnome2/python/gcwmodule.c
M /trunk/bindings/ocaml/plcairo/plcairo_impl.c
M /trunk/bindings/ocaml/plplot_impl.c
M /trunk/bindings/octave/massage.c
M /trunk/bindings/octave/plplot_octave.h.in
M /trunk/bindings/octave/plplot_octave_rej.h
M /trunk/bindings/python/plplot_widgetmodule.c
M /trunk/bindings/tcl/matrixInit.c
M /trunk/bindings/tcl/pltcl.h
M /trunk/bindings/tcl/tclAPI.c
M /trunk/bindings/tcl/tclMain.c
M /trunk/bindings/tcl/tclMatrix.c
M /trunk/bindings/tcl/tclMatrix.h
M /trunk/bindings/tk/Pltk_Init.c
M /trunk/bindings/tk/plframe.c
M /trunk/bindings/tk/plr.c
M /trunk/bindings/tk/plserver.c
M /trunk/bindings/tk/plserver.h
M /trunk/bindings/tk/pltk.h
M /trunk/bindings/tk/pltkd.h
M /trunk/bindings/tk/stupidtk.c
M /trunk/bindings/tk/tcpip.c
M /trunk/bindings/tk/tcpip.h
M /trunk/bindings/tk/tkMain.c
M /trunk/bindings/tk/tkshell.c
M /trunk/bindings/tk-x-plat/Plplotter_Init.c
M /trunk/bindings/tk-x-plat/plplotter.c
M /trunk/bindings/tk-x-plat/pltkwd.h
M /trunk/scripts/style_source.sh
Style C source in bindings.
------------------------------------------------------------------------
r10544 | airwin | 2009-10-21 18:52:04 -0400 (Wed, 21 Oct 2009) | 2 lines
Changed paths:
M /trunk/fonts/font01.c
M /trunk/fonts/font02.c
M /trunk/fonts/font03.c
M /trunk/fonts/font04.c
M /trunk/fonts/font05.c
M /trunk/fonts/font06.c
M /trunk/fonts/font07.c
M /trunk/fonts/font08.c
M /trunk/fonts/font09.c
M /trunk/fonts/font10.c
M /trunk/fonts/font11.c
M /trunk/fonts/plhershey-unicode-gen.c
M /trunk/fonts/stndfont.c
M /trunk/fonts/xtndfont.c
M /trunk/scripts/style_source.sh
M /trunk/utils/plrender.c
M /trunk/utils/pltcl.c
M /trunk/utils/pltek.c
M /trunk/utils/tektest.c
M /trunk/utils/xform.c
Style C code for fonts and utils.
------------------------------------------------------------------------
r10543 | airwin | 2009-10-21 18:07:16 -0400 (Wed, 21 Oct 2009) | 2 lines
Changed paths:
M /trunk/examples/c/ext-cairo-test.c
M /trunk/examples/c/extXdrawable_demo.c
M /trunk/examples/c/plcdemos.h
M /trunk/examples/c/plplotcanvas_animation.c
M /trunk/examples/c/plplotcanvas_demo.c
M /trunk/examples/c/test_plend.c
M /trunk/examples/c/tutor.c
M /trunk/examples/c/x01c.c
M /trunk/examples/c/x02c.c
M /trunk/examples/c/x03c.c
M /trunk/examples/c/x04c.c
M /trunk/examples/c/x05c.c
M /trunk/examples/c/x06c.c
M /trunk/examples/c/x07c.c
M /trunk/examples/c/x08c.c
M /trunk/examples/c/x09c.c
M /trunk/examples/c/x10c.c
M /trunk/examples/c/x11c.c
M /trunk/examples/c/x12c.c
M /trunk/examples/c/x13c.c
M /trunk/examples/c/x14c.c
M /trunk/examples/c/x15c.c
M /trunk/examples/c/x16c.c
M /trunk/examples/c/x17c.c
M /trunk/examples/c/x18c.c
M /trunk/examples/c/x19c.c
M /trunk/examples/c/x20c.c
M /trunk/examples/c/x21c.c
M /trunk/examples/c/x22c.c
M /trunk/examples/c/x23c.c
M /trunk/examples/c/x24c.c
M /trunk/examples/c/x25c.c
M /trunk/examples/c/x26c.c
M /trunk/examples/c/x27c.c
M /trunk/examples/c/x28c.c
M /trunk/examples/c/x29c.c
M /trunk/examples/c/x30c.c
M /trunk/examples/c/x31c.c
M /trunk/examples/c/x32c.c
M /trunk/examples/tk/xtk01.c
M /trunk/examples/tk/xtk02.c
M /trunk/examples/tk/xtk04.c
M /trunk/scripts/style_source.sh
Style all C source in examples.
------------------------------------------------------------------------
r10542 | airwin | 2009-10-21 17:29:41 -0400 (Wed, 21 Oct 2009) | 2 lines
Changed paths:
M /trunk/drivers/aqt.c
M /trunk/drivers/cairo.c
M /trunk/drivers/cgm.c
M /trunk/drivers/dg300.c
M /trunk/drivers/gcw.c
M /trunk/drivers/gd.c
M /trunk/drivers/hpgl.c
M /trunk/drivers/impress.c
M /trunk/drivers/linuxvga.c
M /trunk/drivers/ljii.c
M /trunk/drivers/ljiip.c
M /trunk/drivers/mem.c
M /trunk/drivers/ntk.c
M /trunk/drivers/null.c
M /trunk/drivers/pbm.c
M /trunk/drivers/pdf.c
M /trunk/drivers/plmeta.c
M /trunk/drivers/plplotcanvas-hacktext.c
M /trunk/drivers/ps.c
M /trunk/drivers/pstex.c
M /trunk/drivers/svg.c
M /trunk/drivers/tek.c
M /trunk/drivers/test-drv-info.c
M /trunk/drivers/tk.c
M /trunk/drivers/tkwin.c
M /trunk/drivers/wingcc.c
M /trunk/drivers/xfig.c
M /trunk/drivers/xwin.c
M /trunk/scripts/style_source.sh
Style C source code in drivers subdirectory.
------------------------------------------------------------------------
r10541 | airwin | 2009-10-21 16:14:07 -0400 (Wed, 21 Oct 2009) | 3 lines
Changed paths:
M /trunk/lib/csa/csa.c
M /trunk/lib/nistcd/cd.c
M /trunk/lib/nn/delaunay.h
M /trunk/lib/nn/nncommon.c
Re-run of uncrustify makes these further minor changes, but subsequent runs
have no effect.
------------------------------------------------------------------------
r10540 | airwin | 2009-10-20 22:21:21 -0400 (Tue, 20 Oct 2009) | 2 lines
Changed paths:
M /trunk/lib/csa/csa.c
M /trunk/lib/csa/csa.h
M /trunk/lib/csa/csadll.h
M /trunk/lib/csa/nan.h
M /trunk/lib/csa/version.h
M /trunk/lib/nistcd/cd.c
M /trunk/lib/nistcd/cd.h
M /trunk/lib/nistcd/cddll.h
M /trunk/lib/nistcd/cdexpert.c
M /trunk/lib/nistcd/cdmulti.c
M /trunk/lib/nistcd/cdsimple.c
M /trunk/lib/nistcd/cdtest.c
M /trunk/lib/nistcd/cdtext.c
M /trunk/lib/nistcd/color16.c
M /trunk/lib/nistcd/defines.h
M /trunk/lib/nn/delaunay.c
M /trunk/lib/nn/delaunay.h
M /trunk/lib/nn/hash.c
M /trunk/lib/nn/hash.h
M /trunk/lib/nn/istack.c
M /trunk/lib/nn/istack.h
M /trunk/lib/nn/lpi.c
M /trunk/lib/nn/nan.h
M /trunk/lib/nn/nn.h
M /trunk/lib/nn/nnai.c
M /trunk/lib/nn/nncommon.c
M /trunk/lib/nn/nndll.h
M /trunk/lib/nn/nnpi.c
M /trunk/lib/nn/version.h
M /trunk/lib/qsastime/bhunt_search_test.c
M /trunk/lib/qsastime/deltaT-gen.c
M /trunk/lib/qsastime/deltaT_test.c
M /trunk/lib/qsastime/dspline.c
M /trunk/lib/qsastime/dsplint.c
M /trunk/lib/qsastime/qsastime.c
M /trunk/lib/qsastime/qsastime.h
M /trunk/lib/qsastime/qsastimeP.h.in
M /trunk/lib/qsastime/qsastime_extra.c
M /trunk/lib/qsastime/qsastime_extra.h
M /trunk/lib/qsastime/qsastime_test.c
M /trunk/lib/qsastime/qsastime_testlib.c
M /trunk/lib/qsastime/qsastimedll.h
M /trunk/lib/qsastime/tai-utc-gen.c
M /trunk/scripts/style_source.sh
Style all C source code in the lib subdirectories.
------------------------------------------------------------------------
r10539 | airwin | 2009-10-20 21:35:56 -0400 (Tue, 20 Oct 2009) | 4 lines
Changed paths:
M /trunk/scripts/style_source.sh
Add commented-out include/qt.h to cppsource_LIST as a reminder of how to
complete the styling of the include subdirectory once we are satisfied about
how uncrustify -c uncrustify.cfg styles our C++ code.
------------------------------------------------------------------------
r10538 | airwin | 2009-10-20 21:01:07 -0400 (Tue, 20 Oct 2009) | 4 lines
Changed paths:
M /trunk/config.h.cmake
M /trunk/include/dirent_msvc.h
M /trunk/include/disptab.h
M /trunk/include/drivers.h
M /trunk/include/gcw.h
M /trunk/include/ltdl_win32.h
M /trunk/include/metadefs.h
M /trunk/include/moc_files.h.in
M /trunk/include/pdf.h
M /trunk/include/plConfig.h.cmake
M /trunk/include/plDevs.h.cmake
M /trunk/include/plcore.h
M /trunk/include/pldebug.h
M /trunk/include/pldll.h.in
M /trunk/include/plevent.h
M /trunk/include/plfci-truetype.h
M /trunk/include/plfci-type1.h
M /trunk/include/plfreetype.h
M /trunk/include/plplot.h
M /trunk/include/plplotP.h
M /trunk/include/plplotcanvas-hacktext.h
M /trunk/include/plplotcanvas.h
M /trunk/include/plstrm.h
M /trunk/include/plunicode-type1.h
M /trunk/include/plxwd.h
M /trunk/include/ps.h
Style header files and configuration templates for them in the include
directory (excluding include/qt.h since that is C++) and for the config.h
configuration template, config.h.cmake.
------------------------------------------------------------------------
r10537 | airwin | 2009-10-20 20:33:14 -0400 (Tue, 20 Oct 2009) | 3 lines
Changed paths:
M /trunk/config.h.cmake
M /trunk/include/pldll.h.in
Convert from ${variable} configuration style to @variable@ configuration
style to allow uncrustify to style these header files.
------------------------------------------------------------------------
r10536 | airwin | 2009-10-20 18:42:57 -0400 (Tue, 20 Oct 2009) | 2 lines
Changed paths:
M /trunk/scripts/style_source.sh
Check that everything in source lists is actually a regular file.
------------------------------------------------------------------------
r10535 | airwin | 2009-10-20 17:45:53 -0400 (Tue, 20 Oct 2009) | 4 lines
Changed paths:
M /trunk/scripts/style_source.sh
Replace "--view" option with "--diff" option. Allow concatanated options for
diff headed by a single hyphen, e.g., "--diff -au". If no diff options
are specified, "-auw" is assumed.
------------------------------------------------------------------------
r10534 | airwin | 2009-10-13 11:58:19 -0400 (Tue, 13 Oct 2009) | 8 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/plplot_test/CMakeLists.txt
M /trunk/plplot_test/plplot-test.sh.cmake
A /trunk/plplot_test/test_c_interactive.sh.in
Implement a simplified test_interactive target that should work for both the
core build testing (BUILD_TEST=ON) and the installed examples testing.
test_interactive does no commands itself. However, it depends on the
targets test_c_xwin, test_c_xcairo, etc., which for each specified
interactive device runs a subset of the C examples. ToDo: add special
interactive tests to test_interactive.
------------------------------------------------------------------------
r10533 | airwin | 2009-10-13 11:29:05 -0400 (Tue, 13 Oct 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/drivers-init.cmake
Tweak commentary.
------------------------------------------------------------------------
r10532 | airwin | 2009-10-13 11:24:55 -0400 (Tue, 13 Oct 2009) | 2 lines
Changed paths:
M /trunk/README.release
M /trunk/cmake/modules/drivers-init.cmake
Retire the linuxvga device driver.
------------------------------------------------------------------------
r10531 | airwin | 2009-10-12 19:18:07 -0400 (Mon, 12 Oct 2009) | 3 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Improve implementation of test_noninteractive target so that it works
both for a core build (with BUILD_TEST=ON) and installed examples.
------------------------------------------------------------------------
r10530 | airwin | 2009-10-12 18:38:17 -0400 (Mon, 12 Oct 2009) | 3 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Configure FILE_DEVICES_LIST and INTERACTIVE_DEVICES_LIST for installed
examples tests.
------------------------------------------------------------------------
r10529 | airwin | 2009-10-12 18:34:08 -0400 (Mon, 12 Oct 2009) | 2 lines
Changed paths:
M /trunk/src/plgset.c
Use official style.
------------------------------------------------------------------------
r10528 | hezekiahcarty | 2009-10-12 14:06:40 -0400 (Mon, 12 Oct 2009) | 4 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
Fix OCaml Plcairo API documentation generation
These changes are based on Alan's changes in revision 10527.
------------------------------------------------------------------------
r10527 | airwin | 2009-10-12 13:42:06 -0400 (Mon, 12 Oct 2009) | 3 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Fix build of OCaml documentation. Note, similar changes need to be
made to ocaml/plcairo/CMakeLists.txt which I leave to Hez.
------------------------------------------------------------------------
r10526 | hezekiahcarty | 2009-10-12 00:08:02 -0400 (Mon, 12 Oct 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
Add (broken) support for building OCaml API reference documentation
There do not seem to be any cmake-time or build-time errors, but none
of the HTML output is built by target_plplot_doc or target_plcairo_doc.
------------------------------------------------------------------------
r10525 | hezekiahcarty | 2009-10-11 19:08:14 -0400 (Sun, 11 Oct 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Add high-level plshades wrapper to Plplot.Plot and Plplot.Quick_plot
This includes a new colorbar function, shadebar, which can be used to
draw a colorbar for unevenly spaced shading contours.
------------------------------------------------------------------------
r10524 | hezekiahcarty | 2009-10-11 19:07:19 -0400 (Sun, 11 Oct 2009) | 9 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_core.idl
M /trunk/bindings/ocaml/plplot_impl.c
M /trunk/examples/ocaml/x09.ml
M /trunk/examples/ocaml/x16.ml
M /trunk/examples/ocaml/x20.ml
M /trunk/examples/ocaml/x22.ml
Change pltr1 and pltr2 to be curry-friendly (OCaml)
This commit moves the (x, y) coordinates to the end of the parameter
list for these two functions. It is now possible to use these functions
in curried form with plset_pltr.
The examples have been updated, and "mypltr" functions from the
examples have been updated to follow this style as well.
------------------------------------------------------------------------
r10523 | hezekiahcarty | 2009-10-11 19:05:49 -0400 (Sun, 11 Oct 2009) | 4 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Add option to have custom axis labeling on colorbars (OCaml)
Also include an example custom colorbar axis labeling function.
------------------------------------------------------------------------
r10522 | airwin | 2009-10-11 18:26:39 -0400 (Sun, 11 Oct 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/drivers-finish.cmake
Add driver information to FILE_DEVICES_LIST and INTERACTIVE_DEVICES_LIST.
------------------------------------------------------------------------
r10521 | airwin | 2009-10-11 11:52:03 -0400 (Sun, 11 Oct 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/drivers-init.cmake
Retire the pbm device.
------------------------------------------------------------------------
r10520 | airwin | 2009-10-11 11:48:14 -0400 (Sun, 11 Oct 2009) | 5 lines
Changed paths:
M /trunk/README.release
Change the name of the next release to 5.9.6.
Retire pbm device driver.
------------------------------------------------------------------------
r10519 | airwin | 2009-10-10 12:47:37 -0400 (Sat, 10 Oct 2009) | 3 lines
Changed paths:
M /trunk/drivers/pbm.c
Replace reference to gd device driver and png file in error message with
something more appropriate for this device driver.
------------------------------------------------------------------------
r10518 | hbabcock | 2009-10-08 20:01:52 -0400 (Thu, 08 Oct 2009) | 1 line
Changed paths:
M /trunk/include/plplot.h
M /trunk/src/CMakeLists.txt
A /trunk/src/plgset.c
Initial commit of plget & plset functions for generalized getting and setting of the current stream variables.
------------------------------------------------------------------------
r10517 | hezekiahcarty | 2009-10-06 14:45:37 -0400 (Tue, 06 Oct 2009) | 9 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_core.idl
M /trunk/examples/ocaml/x15.ml
M /trunk/examples/ocaml/x16.ml
M /trunk/examples/ocaml/x18.ml
M /trunk/examples/ocaml/x21.ml
M /trunk/examples/ocaml/x30.ml
OCaml's plshade, plshades and plpoly3 all take bool values when appropriate
This is an API change for these three functions!
The rest of the OCaml PLplot API uses OCaml's bool for function parameters
which are PLBOOL in the C API. A small error in
bindings/ocaml/plplot_core.idl had them mapped to int rather than bool for a
few functions.
------------------------------------------------------------------------
r10516 | hezekiahcarty | 2009-10-05 17:39:29 -0400 (Mon, 05 Oct 2009) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/ocaml.xml
Update OCaml tutorial in documentation to reflect recent API changes
------------------------------------------------------------------------
r10515 | hezekiahcarty | 2009-10-05 17:13:09 -0400 (Mon, 05 Oct 2009) | 2 lines
Changed paths:
D /trunk/bindings/ocaml/plcairo/Makefile
D /trunk/bindings/ocaml/plcairo/README.plcairo
Remove a few more leftover files from the previous Plcairo build system
------------------------------------------------------------------------
r10514 | hezekiahcarty | 2009-10-05 17:08:49 -0400 (Mon, 05 Oct 2009) | 7 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
M /trunk/examples/ocaml/xplot01.ml
Change Plplot.Plot API slightly to make more function parameters optional
plot_axes, finish_page, next_page and finish all work when no tick spacing
or subtick count is provided. When no values are provided for these, the
PLplot defaults are used. xplot01.ml is also updated to reflect these
changes.
------------------------------------------------------------------------
r10513 | hezekiahcarty | 2009-10-05 17:06:17 -0400 (Mon, 05 Oct 2009) | 13 lines
Changed paths:
M /trunk/drivers/cairo.c
Only update xcairo window on the last expose event
If several expose events occur quickly, it would previous trigger
the same number of plot window redraws. This update speeds things up a
bit in this case by ignoring all but the last expose event. The can help
the window feel a bit more responsive. The downside is that quickly moving
the plot window partly off then back on screen with a non-compositing
window manager can highlight these less frequent updates.
A better fix would be to only update the portion of the window which has
been affected by the expose event. This should keep the window feeling
responsive and avoid any artifacts from repeat expose events.
------------------------------------------------------------------------
r10512 | airwin | 2009-10-04 13:03:08 -0400 (Sun, 04 Oct 2009) | 2 lines
Changed paths:
M /trunk/drivers/README.drivers
Completely update/modernize this file.
------------------------------------------------------------------------
r10511 | airwin | 2009-10-01 19:50:16 -0400 (Thu, 01 Oct 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
Drop escaped blanks for ocamlmklib library options.
------------------------------------------------------------------------
r10510 | airwin | 2009-10-01 19:00:27 -0400 (Thu, 01 Oct 2009) | 4 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
Try a hard-quoted variation (which also works for me) to see if that will
work on Hez's system.
------------------------------------------------------------------------
r10509 | airwin | 2009-10-01 16:18:25 -0400 (Thu, 01 Oct 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
Switch to the VERBATIM form of COMMAND when some of the CMake variables that
are used on the command line are blank-separated strings. This variant also
works for me and may give a better result for Hez (and others).
------------------------------------------------------------------------
r10508 | airwin | 2009-10-01 13:50:30 -0400 (Thu, 01 Oct 2009) | 3 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
Determine CAIRO_COMPILE_FLAGS and CAIRO_LINK_FLAGS in more standard way with
softer landing in case those flags cannot be determined.
------------------------------------------------------------------------
r10507 | airwin | 2009-10-01 10:48:13 -0400 (Thu, 01 Oct 2009) | 3 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
D /trunk/bindings/ocaml/META.cmake
A /trunk/bindings/ocaml/META.in (from /trunk/bindings/ocaml/META.cmake:10505)
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
D /trunk/bindings/ocaml/plcairo/META.cmake
A /trunk/bindings/ocaml/plcairo/META.in (from /trunk/bindings/ocaml/plcairo/META.cmake:10505)
Rename META.cmake ==> META.in to show this is a template file for
configuration rather than a CMake language file.
------------------------------------------------------------------------
r10506 | airwin | 2009-10-01 10:35:27 -0400 (Thu, 01 Oct 2009) | 3 lines
Changed paths:
M /trunk/cmake/modules/ocaml.cmake
Correctly invert return codes to establish truth/falsity of OCAML_HAS_CAIRO
and OCAML_HAS_GTK.
------------------------------------------------------------------------
r10505 | hezekiahcarty | 2009-10-01 01:52:02 -0400 (Thu, 01 Oct 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/plcairo.mli
Minor Plcairo documentation fixes/updates
------------------------------------------------------------------------
r10504 | hezekiahcarty | 2009-09-30 18:49:58 -0400 (Wed, 30 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Change the Plplot.Plot.join parameters to match the rest of the module
When to points are provided, the other Plplot.Plot functions take two
tuples rather than four single values.
------------------------------------------------------------------------
r10503 | hezekiahcarty | 2009-09-30 18:49:23 -0400 (Wed, 30 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
Small ocamldoc syntax fix
------------------------------------------------------------------------
r10502 | hezekiahcarty | 2009-09-30 18:48:55 -0400 (Wed, 30 Sep 2009) | 4 lines
Changed paths:
M /trunk/doc/docbook/src/ocaml.xml
Typo fixes and general cleanup in the OCaml documentation
Thanks to Alpounet on #ocaml for their comments!
------------------------------------------------------------------------
r10501 | hezekiahcarty | 2009-09-30 18:48:10 -0400 (Wed, 30 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
M /trunk/examples/ocaml/CMakeLists.txt
Fix some mismatched if/endif blocks in the OCaml CMake files
------------------------------------------------------------------------
r10500 | hezekiahcarty | 2009-09-30 15:39:01 -0400 (Wed, 30 Sep 2009) | 5 lines
Changed paths:
M /trunk/examples/ocaml/CMakeLists.txt
A /trunk/examples/ocaml/xgtk_interface.ml
Add CMake logic to build Plcairo examples; Add first Plcairo example
This example illustrates a simple use of PLplot + OCaml + Cairo + Gtk to
display plot output in a GUI window.
------------------------------------------------------------------------
r10499 | hezekiahcarty | 2009-09-30 15:37:38 -0400 (Wed, 30 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/META.cmake
Fix the OCaml findlib META file for Plcairo to reflect the PLplot version
------------------------------------------------------------------------
r10498 | hezekiahcarty | 2009-09-30 15:37:04 -0400 (Wed, 30 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
Fix the ocamlopt build of Plcairo
------------------------------------------------------------------------
r10497 | airwin | 2009-09-30 14:26:00 -0400 (Wed, 30 Sep 2009) | 9 lines
Changed paths:
M /trunk/include/CMakeLists.txt
A /trunk/include/moc_files.h.in
Configure moc_files.h rather than writing it. This eliminates unnecessary
rebuilds of all qt-related software each time any CMakeLists.txt file is
touched.
Improve comments on what qt4_wrap_cpp actually does (which is to create
a custom command whose OUTPUT should be depended on by a custom target in
order to be executed at make time).
------------------------------------------------------------------------
r10496 | airwin | 2009-09-30 13:11:53 -0400 (Wed, 30 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Remove test_some_diff_psc target which tends to encourage bogus
multiple-target use of parallel builds.
Rename important test_all_diff_psc target as test_diff_psc.
------------------------------------------------------------------------
r10495 | airwin | 2009-09-30 13:00:35 -0400 (Wed, 30 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/examples/c/CMakeLists.txt
M /trunk/examples/c++/CMakeLists.txt
if(TARGET ...) signature is not implemented for CMake-2.6.0 so replace by
equivalent but more complicated logic using GLOBAL properties.
Note, we will probably want to move back to the if(TARGET ...) approach once
we bump our minimum version from 2.6.0 to 2.6.4.
------------------------------------------------------------------------
r10494 | hezekiahcarty | 2009-09-29 19:01:18 -0400 (Tue, 29 Sep 2009) | 6 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/bindings/ocaml/plcairo/CMakeLists.txt
Fix dependency issues with Plcairo so that the module can build now
These fixes are likely temporary work=arounds. There should be a better
way to find the location of plplot.(cma|cmxa), as well as a better way to
get the pkg-config settings for Cairo. For now, though, it works.
------------------------------------------------------------------------
r10493 | hezekiahcarty | 2009-09-29 19:00:39 -0400 (Tue, 29 Sep 2009) | 6 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/plcairo.ml
M /trunk/bindings/ocaml/plcairo/plcairo.mli
Update OCaml's Plcairo.t values to be opaque
Access to the internals of Plcairo now requires the use of functions
written for that purpose. This will hopefully make the module interface
safer against changes to module internals.
------------------------------------------------------------------------
r10492 | hezekiahcarty | 2009-09-29 18:59:06 -0400 (Tue, 29 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plcairo/plcairo.ml
M /trunk/bindings/ocaml/plcairo/plcairo.mli
Update the Plcairo module with better naming, types and documentation
------------------------------------------------------------------------
r10491 | hezekiahcarty | 2009-09-29 18:58:16 -0400 (Tue, 29 Sep 2009) | 2 lines
Changed paths:
D /trunk/bindings/ocaml/plcairo/_tags
D /trunk/bindings/ocaml/plcairo/libplcairo_stubs.clib
D /trunk/bindings/ocaml/plcairo/myocamlbuild.ml
Remove ocamlbuild components which are no longer needed
------------------------------------------------------------------------
r10490 | hezekiahcarty | 2009-09-29 12:38:13 -0400 (Tue, 29 Sep 2009) | 2 lines
Changed paths:
A /trunk/bindings/ocaml/plcairo/CMakeLists.txt
D /trunk/bindings/ocaml/plcairo/META
A /trunk/bindings/ocaml/plcairo/META.cmake (from /trunk/bindings/ocaml/plcairo/META:10486)
A /trunk/bindings/ocaml/plcairo/plcairo.mli
Actually add the files which were supposed to be added in revision 10488
------------------------------------------------------------------------
r10489 | hezekiahcarty | 2009-09-29 01:46:16 -0400 (Tue, 29 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Comment out the inclusion of Plcairo as it has missing dependencies
Plcairo does not properly depend on the plplot.(cma|cmxa) which can break
builds if those modules are not built first.
------------------------------------------------------------------------
r10488 | hezekiahcarty | 2009-09-29 01:42:40 -0400 (Tue, 29 Sep 2009) | 14 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
M /trunk/cmake/modules/plplot.cmake
Initial steps toward adding Plcairo to the PLplot OCaml build system
This patch makes a number of changes to the OCaml portion of the CMake
build system. A check is added for ocamlfind (an OCaml compilation aid),
checks are made for Cairo and Gtk+ (lablgtk2) OCaml bindings.
If the extcairo device is built and the Cairo OCaml bindings are found
then the Plcairo OCaml module will be built, which includes support for
using the extcairo driver from OCaml.
The check for OCaml Gtk+ bindings is not currently used but it will be
once Plcairo examples are added.
------------------------------------------------------------------------
r10487 | hezekiahcarty | 2009-09-29 01:32:56 -0400 (Tue, 29 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Always prepare the OCaml META file if the OCaml bindings are built
Configuring META should not depend on pkg-config. This also has a small,
unrelated comment update.
------------------------------------------------------------------------
r10486 | airwin | 2009-09-28 12:27:28 -0400 (Mon, 28 Sep 2009) | 3 lines
Changed paths:
M /trunk/drivers/qt.cpp
Propagate PLplot xoffset, yoffset values specified with -geometry or plspage
to qtwidgets device.
------------------------------------------------------------------------
r10485 | airwin | 2009-09-27 18:33:33 -0400 (Sun, 27 Sep 2009) | 2 lines
Changed paths:
M /trunk/scripts/style_source.sh
_Really_ remove extra experimental files from those registered.
------------------------------------------------------------------------
r10484 | airwin | 2009-09-27 14:08:22 -0400 (Sun, 27 Sep 2009) | 5 lines
Changed paths:
M /trunk/scripts/style_source.sh
Remove include/qt.h from the cppsource_LIST. (Which was left over from a local
test run.) Of course, that file should be added later to cppsource_LIST when
we are ready to uncrustify the qt source files.
------------------------------------------------------------------------
r10483 | airwin | 2009-09-27 13:51:33 -0400 (Sun, 27 Sep 2009) | 5 lines
Changed paths:
A /trunk/scripts/style_source.sh
Initial commit of bash script to make it easy to check (no options), view
(--view), and apply (--apply) uncrustify changes to the PLplot source
files (currently those in src and bindings/c++) that are registered with
the script. Use the --help option to learn more about the options.
------------------------------------------------------------------------
r10482 | airwin | 2009-09-26 21:32:19 -0400 (Sat, 26 Sep 2009) | 2 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Propagate OCAMLOPT to new installed examples build system.
------------------------------------------------------------------------
r10481 | airwin | 2009-09-26 21:31:07 -0400 (Sat, 26 Sep 2009) | 2 lines
Changed paths:
M /trunk/examples/ocaml/CMakeLists.txt
Minor CMake logic cleanup
------------------------------------------------------------------------
r10480 | airwin | 2009-09-26 21:29:16 -0400 (Sat, 26 Sep 2009) | 10 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Change plplot_core ==> plplot in target names.
Do not combine file depends for the OCAMLOPT chain with those from the
OCAMLC chain when exporting the file depends associated with the
plplot_ocaml target. Instead, rely just on file depends of either
target_plplot_cmxa (OCAMLOPT is true) or target_plplot_cma (OCAMLOPT is
false). In other words, we assume the chain of file depends associated with
each of these targets is correct.
------------------------------------------------------------------------
r10479 | airwin | 2009-09-26 20:58:25 -0400 (Sat, 26 Sep 2009) | 7 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Fix serialization bug (add_dependency mentioned the wrong target) for
parallel builds
Improve logic for the case where OCAMLOPT is not true.
Improve commentary.
------------------------------------------------------------------------
r10478 | airwin | 2009-09-26 14:25:56 -0400 (Sat, 26 Sep 2009) | 2 lines
Changed paths:
M /trunk/src/plargs.c
Guard against negative xwid or ywid for -geometry option.
------------------------------------------------------------------------
r10477 | airwin | 2009-09-26 13:35:07 -0400 (Sat, 26 Sep 2009) | 2 lines
Changed paths:
M /trunk/src/plargs.c
Improve processing of -geometry option so will accept negative offsets.
------------------------------------------------------------------------
r10476 | airwin | 2009-09-24 23:14:57 -0400 (Thu, 24 Sep 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/ocaml.cmake
Copyright.
------------------------------------------------------------------------
r10475 | andrewross | 2009-09-24 17:14:22 -0400 (Thu, 24 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/c++/plstream.h
Fix up comments in C++ code broken by recent style cleanups (this was a result of my error and not uncrustify).
------------------------------------------------------------------------
r10474 | andrewross | 2009-09-24 15:46:32 -0400 (Thu, 24 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/c++/plstream.h
Apply uncrustify to change indentation for function calls consistent with C code in src/
------------------------------------------------------------------------
r10473 | andrewross | 2009-09-24 15:38:19 -0400 (Thu, 24 Sep 2009) | 3 lines
Changed paths:
M /trunk/src/plargs.c
M /trunk/src/plbox.c
M /trunk/src/plcont.c
M /trunk/src/plcore.c
M /trunk/src/plctrl.c
M /trunk/src/pldeprecated.c
M /trunk/src/pldtik.c
M /trunk/src/plfill.c
M /trunk/src/plfreetype.c
M /trunk/src/plgridd.c
M /trunk/src/plhist.c
M /trunk/src/plimage.c
M /trunk/src/plline.c
M /trunk/src/plmap.c
M /trunk/src/plot3d.c
M /trunk/src/plshade.c
M /trunk/src/plstripc.c
M /trunk/src/plsym.c
M /trunk/src/plvect.c
M /trunk/src/plvpor.c
M /trunk/src/plwind.c
Update indenting of function prototypes and definitions to align on brackets.
------------------------------------------------------------------------
r10472 | andrewross | 2009-09-24 15:29:38 -0400 (Thu, 24 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/c++/plstream.h
Tidy up C++ bindings to sort out long lines and to standardise comment style.
------------------------------------------------------------------------
r10471 | andrewross | 2009-09-24 11:16:12 -0400 (Thu, 24 Sep 2009) | 3 lines
Changed paths:
M /trunk/uncrustify.cfg
Align split long lines of function prototypes and definitions on brackets (consistent with our old style).
------------------------------------------------------------------------
r10470 | airwin | 2009-09-23 23:50:46 -0400 (Wed, 23 Sep 2009) | 11 lines
Changed paths:
M /trunk/src/pdfutils.c
M /trunk/src/plarc.c
M /trunk/src/plargs.c
M /trunk/src/plbox.c
M /trunk/src/plbuf.c
M /trunk/src/plcont.c
M /trunk/src/plcore.c
M /trunk/src/plctrl.c
M /trunk/src/pldtik.c
M /trunk/src/plfreetype.c
M /trunk/src/plgridd.c
M /trunk/src/plimage.c
M /trunk/src/plline.c
M /trunk/src/plmap.c
M /trunk/src/plot3d.c
M /trunk/src/plshade.c
M /trunk/src/plstripc.c
M /trunk/src/plsym.c
M /trunk/src/pltime.c
M /trunk/src/plvect.c
M /trunk/uncrustify.cfg
Locally reverted all src changes back to 10456 (using "svn merge
--ignore-ancestor -r 10468:10456 .") then reapplied uncrustify with revised
uncrustify.cfg where long line splitting had been turned off. The result
has a substantially more satisfactory style than revision 10468. The reason
is uncrustify is not that reliable in splitting overlong lines so it is
better to be conservative here and do that by hand. I have committed these
newly styled src results (after a quick check that the PLplot library and C
examples still built and the PostScript results of examples showed no
visible regressions).
------------------------------------------------------------------------
r10469 | hezekiahcarty | 2009-09-23 23:26:53 -0400 (Wed, 23 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_core.idl
M /trunk/bindings/ocaml/plplot_impl.c
Add plsabort and plsexit to the OCaml bindings
------------------------------------------------------------------------
r10468 | jbauck | 2009-09-23 21:01:06 -0400 (Wed, 23 Sep 2009) | 1 line
Changed paths:
M /trunk/bindings/ada/plplot.adb.cmake
M /trunk/bindings/ada/plplot.ads.cmake
M /trunk/bindings/ada/plplot_thin.ads.cmake
M /trunk/bindings/ada/plplot_traditional.adb.cmake
M /trunk/bindings/ada/plplot_traditional.ads.cmake
M /trunk/examples/ada/x19a.adb.cmake
M /trunk/examples/ada/xthick19a.adb.cmake
Fix a longstanding problem in Ada examples 17 in which all of the stripchart labels are the same and equal to the last one.
------------------------------------------------------------------------
r10467 | airwin | 2009-09-23 19:34:11 -0400 (Wed, 23 Sep 2009) | 6 lines
Changed paths:
M /trunk/src/pdfutils.c
M /trunk/src/plarc.c
M /trunk/src/plargs.c
M /trunk/src/plbox.c
M /trunk/src/plbuf.c
M /trunk/src/plcont.c
M /trunk/src/plcore.c
M /trunk/src/plctrl.c
M /trunk/src/pldeprecated.c
M /trunk/src/pldtik.c
M /trunk/src/plfill.c
M /trunk/src/plfreetype.c
M /trunk/src/plgridd.c
M /trunk/src/plhist.c
M /trunk/src/plimage.c
M /trunk/src/plline.c
M /trunk/src/plmap.c
M /trunk/src/plot3d.c
M /trunk/src/plpage.c
M /trunk/src/plsdef.c
M /trunk/src/plshade.c
M /trunk/src/plstripc.c
M /trunk/src/plsym.c
M /trunk/src/pltime.c
M /trunk/src/plvect.c
M /trunk/src/plvpor.c
M /trunk/src/plwind.c
M /trunk/uncrustify.cfg
Reduce indentation of wrapped argument lists for functions. I have only
spot checked this change in style, but it really makes a positive improvement
for those cases where the function call is way to the right in the line.
Furthermore, "svn diff -x -w" shows there are no changes other
than white space ones.
------------------------------------------------------------------------
r10466 | airwin | 2009-09-23 18:33:33 -0400 (Wed, 23 Sep 2009) | 6 lines
Changed paths:
M /trunk/uncrustify.cfg
For quite a few alignment and split variables use the properly commented
value from the default configuration file without changing the actual values
that are used from the previous version. As expected, this change makes no
change at all when I uncrustify the *.c and *.h files in src again.
------------------------------------------------------------------------
r10465 | airwin | 2009-09-23 18:25:49 -0400 (Wed, 23 Sep 2009) | 6 lines
Changed paths:
M /trunk/src/plbox.c
M /trunk/src/plbuf.c
M /trunk/src/plcore.c
M /trunk/src/plot3d.c
M /trunk/src/plstripc.c
Result of applying uncrustify version 0.53 again on top of Andrew's result
with the svn/trunk version of uncrustify.cfg. Andrew is also using 0.53
so this is an attempt to see whether one more uncrustify run from him will
cause any further differences.
------------------------------------------------------------------------
r10464 | hezekiahcarty | 2009-09-23 16:57:49 -0400 (Wed, 23 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_core.idl
M /trunk/bindings/ocaml/plplot_h
M /trunk/bindings/ocaml/plplot_h.inc
M /trunk/examples/ocaml/x31.ml
Change plglevel to return a variant type in the OCaml bindings
This also fixes the use of ( != ) when ( <> ) should have been used in
example 31.
------------------------------------------------------------------------
r10463 | hezekiahcarty | 2009-09-23 16:56:58 -0400 (Wed, 23 Sep 2009) | 9 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_core.idl
M /trunk/bindings/ocaml/plplot_h
M /trunk/bindings/ocaml/plplot_h.inc
M /trunk/bindings/ocaml/plplot_impl.c
M /trunk/examples/ocaml/x01.ml
M /trunk/examples/ocaml/x02.ml
M /trunk/examples/ocaml/x03.ml
M /trunk/examples/ocaml/x04.ml
M /trunk/examples/ocaml/x05.ml
M /trunk/examples/ocaml/x06.ml
M /trunk/examples/ocaml/x07.ml
M /trunk/examples/ocaml/x08.ml
M /trunk/examples/ocaml/x09.ml
M /trunk/examples/ocaml/x10.ml
M /trunk/examples/ocaml/x11.ml
M /trunk/examples/ocaml/x12.ml
M /trunk/examples/ocaml/x13.ml
M /trunk/examples/ocaml/x14.ml
M /trunk/examples/ocaml/x15.ml
M /trunk/examples/ocaml/x16.ml
M /trunk/examples/ocaml/x17.ml
M /trunk/examples/ocaml/x18.ml
M /trunk/examples/ocaml/x19.ml
M /trunk/examples/ocaml/x20.ml
M /trunk/examples/ocaml/x21.ml
M /trunk/examples/ocaml/x22.ml
M /trunk/examples/ocaml/x23.ml
M /trunk/examples/ocaml/x24.ml
M /trunk/examples/ocaml/x25.ml
M /trunk/examples/ocaml/x26.ml
M /trunk/examples/ocaml/x27.ml
M /trunk/examples/ocaml/x28.ml
M /trunk/examples/ocaml/x29.ml
M /trunk/examples/ocaml/x30.ml
M /trunk/examples/ocaml/x31.ml
M /trunk/examples/ocaml/xplot01.ml
Change plparseopts and plsetopt to raise Invalid_argument on bad input
These functions previously returned an integer value. If that value is
non-zero then there was an error. This update changes these functions
to use OCaml exceptions instead.
All of the examples are updated as well to illustrate the (slight)
simplification this change provides.
------------------------------------------------------------------------
r10462 | hezekiahcarty | 2009-09-23 12:11:18 -0400 (Wed, 23 Sep 2009) | 20 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
M /trunk/examples/ocaml/xplot01.ml
A big update to the OCaml Plot and Quick_plot modules
This adds:
- Lots of comment/ocamldoc updates and clarifications
- Plot.stream_t and color_palette_t are now opaque
- stream_t was needed when changing plot box options. That is now
handled by the end-of-page routines.
- color_palette_t values can be made by using the new color palette
definition functions.
- Line style support (change width, non-continuous lines)
- Added a variant type for specifying the symbol to use for points
- Add Plot.make to start a new plot stream without initializing the plot
window
- Clean up the parameters passed to plottable element functions to make
them more consistent in both order and meaning (ex. color comes first,
then location, then content)
- Change the Quick_plot.points and lines arguments around on the suggestion
of flux from #ocaml. I think the result is cleaner and it helps avoid
the potential for exceptions raised in the Quick_plot code.
------------------------------------------------------------------------
r10461 | airwin | 2009-09-23 10:13:53 -0400 (Wed, 23 Sep 2009) | 5 lines
Changed paths:
D /trunk/drivers/gnome.c
D /trunk/drivers/next.c
D /trunk/drivers/xwinttf.c
D /trunk/old
D /trunk/sys/dos/bcc
D /trunk/sys/dos/emx
D /trunk/sys/dos/msc
D /trunk/sys/mac
D /trunk/sys/os2
D /trunk/sys/unix
D /trunk/sys/win32
Massive commit to delete old, unused code from svn trunk as discussed on
list. All these legacy files are preserved in tags/v_5_9_5 and many previous
releases.
------------------------------------------------------------------------
r10460 | andrewross | 2009-09-23 09:16:55 -0400 (Wed, 23 Sep 2009) | 3 lines
Changed paths:
M /trunk/debian/changelog
M /trunk/debian/control.in
Fix several bugs in the Debian packages.
------------------------------------------------------------------------
r10459 | andrewross | 2009-09-23 06:13:35 -0400 (Wed, 23 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/c++/plstream.cc
M /trunk/bindings/c++/plstream.h
C++ bindings reformatted using uncrustify to demonstrate the C++ style.
------------------------------------------------------------------------
r10458 | andrewross | 2009-09-23 06:13:10 -0400 (Wed, 23 Sep 2009) | 4 lines
Changed paths:
M /trunk/uncrustify.cfg
Uncrustify tweaks for C++ style.
------------------------------------------------------------------------
r10457 | andrewross | 2009-09-23 05:36:41 -0400 (Wed, 23 Sep 2009) | 6 lines
Changed paths:
M /trunk/src/ltdl_win32.c
M /trunk/src/mt19937ar.c
M /trunk/src/mt19937ar.h
M /trunk/src/pdfutils.c
M /trunk/src/plarc.c
M /trunk/src/plargs.c
M /trunk/src/plbox.c
M /trunk/src/plbuf.c
M /trunk/src/plcont.c
M /trunk/src/plcore.c
M /trunk/src/plctrl.c
M /trunk/src/plcvt.c
M /trunk/src/pldeprecated.c
M /trunk/src/pldtik.c
M /trunk/src/plfill.c
M /trunk/src/plfreetype.c
M /trunk/src/plgridd.c
M /trunk/src/plhist.c
M /trunk/src/plimage.c
M /trunk/src/plline.c
M /trunk/src/plmap.c
M /trunk/src/plot3d.c
M /trunk/src/plsdef.c
M /trunk/src/plshade.c
M /trunk/src/plstdio.c
M /trunk/src/plstripc.c
M /trunk/src/plsym.c
M /trunk/src/pltick.c
M /trunk/src/pltime.c
M /trunk/src/plvect.c
M /trunk/src/plvpor.c
M /trunk/src/plwind.c
Large patch to standardise the coding style in src/ using uncrustify. This is entirely cosmetic with no code changes.
This required a small amount of hand editing of multi-line #define statements. Now this has been done you can safely run uncrustify again without upsetting the results.
------------------------------------------------------------------------
r10456 | andrewross | 2009-09-22 10:37:18 -0400 (Tue, 22 Sep 2009) | 3 lines
Changed paths:
M /trunk/uncrustify.cfg
Minor tweaks to uncrustify style.
------------------------------------------------------------------------
r10455 | andrewross | 2009-09-22 10:36:42 -0400 (Tue, 22 Sep 2009) | 3 lines
Changed paths:
M /trunk/src/plpage.c
Example of what the current plplot uncrustify settings will do to plpage.c to make it conform to our new coding "standard". If people are happy with this I will apply to the rest of src/ to provide a more full test.
------------------------------------------------------------------------
r10454 | airwin | 2009-09-21 21:38:35 -0400 (Mon, 21 Sep 2009) | 9 lines
Changed paths:
A /trunk/cmake/modules/doxygen.cmake
M /trunk/cmake/modules/plplot.cmake
M /trunk/doc/CMakeLists.txt
M /trunk/doc/Doxyfile.in
Implement a doxygen_built target (which builds all our doxygen
documentation in doc/doxygen in the build tree) if the cmake command-line
option -DBUILD_DOX_DOC=ON is set (this options defaults to OFF).
I have set up the build system so that "make clean" removes the doc/doxygen
directory in the build tree and "make all" (or "make" or "make doxygen_built")
builds that documentation.
------------------------------------------------------------------------
r10453 | airwin | 2009-09-21 21:29:46 -0400 (Mon, 21 Sep 2009) | 4 lines
Changed paths:
M /trunk/cmake/modules/docbook.cmake
Replace "errors" with "issues" in normal output so that those using
search tools like grep to find errors in the cmake output will
not get fooled by this message.
------------------------------------------------------------------------
r10452 | airwin | 2009-09-21 20:40:50 -0400 (Mon, 21 Sep 2009) | 2 lines
Changed paths:
D /trunk/Doxyfile.in
A /trunk/doc/Doxyfile.in (from /trunk/Doxyfile.in:10451)
Move this configuration template file to the appropriate directory.
------------------------------------------------------------------------
r10451 | airwin | 2009-09-21 20:36:17 -0400 (Mon, 21 Sep 2009) | 3 lines
Changed paths:
D /trunk/Doxyfile
A /trunk/Doxyfile.in (from /trunk/Doxyfile:10450)
Change name of Doxyfile in preparation for it to be the configuration template
for Doxyfile.
------------------------------------------------------------------------
r10450 | hezekiahcarty | 2009-09-21 17:02:38 -0400 (Mon, 21 Sep 2009) | 2 lines
Changed paths:
M /trunk/src/plctrl.c
Check for nan (not a number) values in plcol1 to avoid potential segfaults
------------------------------------------------------------------------
r10449 | hezekiahcarty | 2009-09-21 15:22:41 -0400 (Mon, 21 Sep 2009) | 2 lines
Changed paths:
M /trunk/examples/ocaml/CMakeLists.txt
M /trunk/examples/ocaml/Makefile.examples.in
Build the install tree OCaml examples with ocamlopt if it is available
------------------------------------------------------------------------
r10448 | hezekiahcarty | 2009-09-21 14:30:09 -0400 (Mon, 21 Sep 2009) | 16 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
M /trunk/examples/ocaml/CMakeLists.txt
Support systems without ocamlopt; Build examples with ocamlopt when available
PLplot's OCaml support will now build if ocamlopt is not present. The
ocamlopt compiler is not available for as many OS and architecture
combinations as ocamlc.
The build-tree examples are now built with ocamlopt when it is available.
This produces slightly faster executables, though there isn't much of a
difference for most of the examples since most of the execution time for
the examples is spent in the C plotting functions.
Finally, the native code versions of the OCaml compilers, ocamlc.opt
and ocamlopt.opt, are used if they are available. This provides a
significant speedup in compilation of the OCaml bindings and examples.
------------------------------------------------------------------------
r10447 | smekal | 2009-09-21 03:42:59 -0400 (Mon, 21 Sep 2009) | 2 lines
Changed paths:
A /trunk/Doxyfile
M /trunk/src/plpage.c
Added configuration file for Doxygen.
Changed plpage.c so that the source can be parsed by Doxygen (as an example what changes would be needed).
------------------------------------------------------------------------
r10446 | airwin | 2009-09-21 02:30:05 -0400 (Mon, 21 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Take advantage of new fullpath capabilities of touchup.ml to simplify
add_custom_command that generates generated_plplot_h.inc.
------------------------------------------------------------------------
r10445 | airwin | 2009-09-20 22:35:09 -0400 (Sun, 20 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/ocaml/CMakeLists.txt
M /trunk/examples/ocaml/x17.ml
Apply patch from Hez to put in proper sleeps for example 17 to make the
results look interactive.
Tweak build so that unix.cma (which is now needed by example 17) is only
linked in for example 17.
------------------------------------------------------------------------
r10444 | hezekiahcarty | 2009-09-20 21:59:00 -0400 (Sun, 20 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/touchup.ml
touchup.ml now takes (optional) command-line arguments for input and output
------------------------------------------------------------------------
r10443 | hezekiahcarty | 2009-09-20 21:42:07 -0400 (Sun, 20 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/plplot_h.inc
M /trunk/bindings/ocaml/touchup.ml
Fix touchup.ml so that it generates a fully-working plplot_h.inc
Previously, the output of this script (used with the OCaml bindings) required
manual editing on the part of the OCaml bindings maintainer.
------------------------------------------------------------------------
r10442 | airwin | 2009-09-20 18:08:21 -0400 (Sun, 20 Sep 2009) | 14 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
As a convenience to help build the ocaml bindings, implement the
GENERATE_PLPLOT_H_INC option (which defaults to OFF). If this option is set
ON by the ocaml developer, then checks are made that all the proper extra
required ocaml components are installed, and a custom target is made which
generates generated_plplot_h.inc. That file should be the same as
plplot_h.inc that occurs in the source tree. However, if it is not,
a knowledgable ocaml developer should be able to adjust plplot_h or
touchup.ml in the source tree to achieve consistency between the generated
and source tree versions of plplot_h.inc. Of course, if those two files
are fine, then there is always the option of overwriting the source
code version of plplot_h.inc with the generated version to achieve
the desired consistency.
------------------------------------------------------------------------
r10441 | airwin | 2009-09-20 16:26:41 -0400 (Sun, 20 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
Use symbolic names for all ocaml commands.
------------------------------------------------------------------------
r10440 | hezekiahcarty | 2009-09-20 15:23:02 -0400 (Sun, 20 Sep 2009) | 2 lines
Changed paths:
M /trunk/doc/docbook/src/ocaml.xml
Update OCaml section of PLplot documentation
------------------------------------------------------------------------
r10439 | airwin | 2009-09-20 14:14:45 -0400 (Sun, 20 Sep 2009) | 3 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Drop extra language testing that had been left in by mistake for installed
examples build.
------------------------------------------------------------------------
r10438 | airwin | 2009-09-20 13:59:33 -0400 (Sun, 20 Sep 2009) | 10 lines
Changed paths:
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Drop all option commands from the installed examples build. These were
previously used to remove some of languages and devices to simplify testing.
However, these options now make little sense since we now have a much more
convenient way to control what is built and tested at make (or nmake) time
using particular test_* targets.
Install proper soft-landing support for installed examples build when
compilers are missing/broken.
------------------------------------------------------------------------
r10437 | airwin | 2009-09-20 13:56:16 -0400 (Sun, 20 Sep 2009) | 2 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Install soft-landing support for compiler detection/testing.
------------------------------------------------------------------------
r10436 | airwin | 2009-09-20 12:35:40 -0400 (Sun, 20 Sep 2009) | 3 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
Always set the special PLD_psc and PLD_psttfc variables so they are
always available to configure the installed examples build.
------------------------------------------------------------------------
r10435 | airwin | 2009-09-19 20:22:43 -0400 (Sat, 19 Sep 2009) | 30 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/examples/plplot_configure.cmake_installed_examples.in
Implement most of a common testing framework for the build-tree examples
and the install-tree examples with full dependency tracking. The current
status is the following targets work:
... test_ada_psc
... test_all_diff_psc
... test_c_psc
... test_cxx_psc
... test_d_psc
... test_f77_psc
... test_f95_psc
... test_java_psc
... test_lua_psc
... test_ocaml_psc
... test_octave_psc
... test_pdl_psc
... test_python_psc
... test_some_diff_psc
... test_tcl_psc
test_all_diff_psc is an especially useful target for getting a summary
report (with all dependencies automatically satisfied) of how stdout and
PostScript results for our complete set of standard examples for all non-C
languages we have implemented compares with the corresponding C results.
This common testing framework is currently incomplete because there are
still known issues to be solved for the test_noninteractive and
test_interactive targets that are to be used for more
comprehensive testing than test_all_diff_psc.
------------------------------------------------------------------------
r10434 | airwin | 2009-09-19 20:10:51 -0400 (Sat, 19 Sep 2009) | 2 lines
Changed paths:
M /trunk/examples/perl/CMakeLists.txt
Improve the propagated file dependencies.
------------------------------------------------------------------------
r10433 | airwin | 2009-09-19 16:46:45 -0400 (Sat, 19 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
D /trunk/bindings/ocaml/libplplot_stubs.clib
D /trunk/bindings/ocaml/myocamlbuild.ml.cmake
M /trunk/cmake/modules/ocaml.cmake
M /trunk/examples/ocaml/CMakeLists.txt
Remove old build system for ocaml bindings since new build system appears to
be working.
------------------------------------------------------------------------
r10432 | airwin | 2009-09-19 14:49:02 -0400 (Sat, 19 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/tcl/CMakeLists.txt
Generalize CMake logic so it works both for core build of examples and
also for installed examples build.
Improve target and file dependency tracking.
------------------------------------------------------------------------
r10431 | airwin | 2009-09-19 14:46:01 -0400 (Sat, 19 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/tcl/CMakeLists.txt
Improve commentary and dependency propagation.
------------------------------------------------------------------------
r10430 | airwin | 2009-09-19 10:17:54 -0400 (Sat, 19 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/perl/CMakeLists.txt
Generalize CMake logic so it works both for core build of examples and
also for installed examples build.
Improve target and file dependency tracking.
------------------------------------------------------------------------
r10429 | airwin | 2009-09-18 19:17:20 -0400 (Fri, 18 Sep 2009) | 4 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
M /trunk/examples/ocaml/CMakeLists.txt
Make OCAML_NEW_BUILD default to ON.
Minor cleanups.
------------------------------------------------------------------------
r10428 | hezekiahcarty | 2009-09-18 19:16:02 -0400 (Fri, 18 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/README
Update the OCaml README to be more relevant to the current state of PLplot
This includes updates to the software requirements as well as a list
of the files provided in bindings/ocaml/ and their purpose.
------------------------------------------------------------------------
r10427 | hezekiahcarty | 2009-09-18 17:19:47 -0400 (Fri, 18 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Add binary+build prefix to the installed OCaml files
Without this, CMake looks in the install tree rather than the build tree
for the installable OCaml files when using the new OCaml build system.
------------------------------------------------------------------------
r10426 | hezekiahcarty | 2009-09-18 16:02:45 -0400 (Fri, 18 Sep 2009) | 6 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Rearrange argument lists to make the new OCaml compilation scheme work properly
OCaml is very sensitive to the order in which compiler arguments are provided,
which was apparently causing linking errors for the OCaml PLplot bindings when
using the new PLplot OCaml build system.
------------------------------------------------------------------------
r10425 | airwin | 2009-09-18 14:52:15 -0400 (Fri, 18 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/python/CMakeLists.txt
Generalize CMake logic so it works both for core build of examples and
also for installed examples build.
Improve file dependency tracking.
------------------------------------------------------------------------
r10424 | airwin | 2009-09-18 13:34:10 -0400 (Fri, 18 Sep 2009) | 4 lines
Changed paths:
M /trunk/bindings/python/CMakeLists.txt
Remove FIXME comments since there is now an EXCLUDE_PYTHON_LIBRARIES option
the user can set to ON if they prefer not to link in the python libraries
for some reason.
------------------------------------------------------------------------
r10423 | airwin | 2009-09-18 13:27:21 -0400 (Fri, 18 Sep 2009) | 4 lines
Changed paths:
M /trunk/examples/octave/CMakeLists.txt
This file now used for both the core examples and the installed examples.
Improve file dependency checking in both cases.
------------------------------------------------------------------------
r10422 | airwin | 2009-09-18 13:24:44 -0400 (Fri, 18 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/octave/CMakeLists.txt
Create a global file-depends that is associated with the custom
target, plplot_stub.m_built.
------------------------------------------------------------------------
r10421 | airwin | 2009-09-18 10:44:26 -0400 (Fri, 18 Sep 2009) | 2 lines
Changed paths:
M /trunk/src/plargs.c
Tweak documentation of -geometry option.
------------------------------------------------------------------------
r10420 | jbauck | 2009-09-18 04:39:46 -0400 (Fri, 18 Sep 2009) | 1 line
Changed paths:
M /trunk/bindings/ada/plplot.adb.cmake
M /trunk/bindings/ada/plplot.ads.cmake
M /trunk/bindings/ada/plplot_thin.ads.cmake
M /trunk/bindings/ada/plplot_traditional.adb.cmake
M /trunk/bindings/ada/plplot_traditional.ads.cmake
M /trunk/examples/ada/x19a.adb.cmake
M /trunk/examples/ada/xthick19a.adb.cmake
Add custom label capability to Ada bindings to match C. Update Examples 19 accordingly.
------------------------------------------------------------------------
r10419 | andrewross | 2009-09-17 16:59:30 -0400 (Thu, 17 Sep 2009) | 3 lines
Changed paths:
M /trunk/bindings/tcl/tclAPI.c
M /trunk/examples/tcl/x19.tcl
Implement plslabelfunc in tcl bindings and update example 19 to use it. Thanks to Arjen for the original framework of how do this. Results for example 19 now consistent with C version.
------------------------------------------------------------------------
r10418 | airwin | 2009-09-16 21:56:26 -0400 (Wed, 16 Sep 2009) | 3 lines
Changed paths:
M /trunk/src/plctrl.c
Fix -bg bug by actually using (!) colours read in by cmap0_palette_read
in plcmap0_def. Thanks to Mark de Wever for reporting this issue.
------------------------------------------------------------------------
r10417 | airwin | 2009-09-16 11:22:05 -0400 (Wed, 16 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/java/CMakeLists.txt
Drop the 'remove_definitions("-DHAVE_CONFIG_H")' command since it doesn't
appear to be necessary (at least with my gcj/gij java platform). In any
case it was located at the bottom of the file where it may not have
had an effect at all.
------------------------------------------------------------------------
r10416 | smekal | 2009-09-16 03:54:00 -0400 (Wed, 16 Sep 2009) | 1 line
Changed paths:
M /trunk/drivers/wxwidgets_dc.cpp
Implemented text clipping for wxDC backend.
------------------------------------------------------------------------
r10415 | airwin | 2009-09-16 02:40:20 -0400 (Wed, 16 Sep 2009) | 7 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/cmake/modules/ocaml.cmake
For OCAML_NEW_BUILD case, use correct (null) build subdirectory, and improve
linking of some of the build steps for the components of the ocaml bindings.
However, there are still build errors for the ocaml examples. This time, the
error message involves undefined reference to camlidl_find_enum and other
OCaml library symbols. So OCAML_NEW_BUILD defaults to OFF for now.
------------------------------------------------------------------------
r10414 | airwin | 2009-09-16 00:06:46 -0400 (Wed, 16 Sep 2009) | 8 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Implemented a new building method for OCaml bindings following encouragement
and advice from Hez. However, if you do use -DOCAML_NEW_BUILD=ON to try this
new method, you will find that ocaml examples do not build with a Unbound
module Plplot error. In other words, this new method needs work from Hez
(probably on what is linked) to get it to work completely. For now
OCAML_NEW_BUILD is OFF by default.
------------------------------------------------------------------------
r10413 | airwin | 2009-09-15 14:22:02 -0400 (Tue, 15 Sep 2009) | 4 lines
Changed paths:
M /trunk/examples/CMakeLists.txt
M /trunk/examples/ada/CMakeLists.txt
M /trunk/examples/c/CMakeLists.txt
M /trunk/examples/c++/CMakeLists.txt
M /trunk/examples/d/CMakeLists.txt
M /trunk/examples/f77/CMakeLists.txt
M /trunk/examples/f95/CMakeLists.txt
M /trunk/examples/tk/CMakeLists.txt
Put 'remove_definitions("-DHAVE_CONFIG_H")'
in examples directory so it applies to all examples rather than specifying
it in individual examples subdirectories.
------------------------------------------------------------------------
r10412 | airwin | 2009-09-15 12:11:51 -0400 (Tue, 15 Sep 2009) | 4 lines
Changed paths:
M /trunk/config.h.cmake
M /trunk/include/plConfig.h.cmake
Remove all duplicates between config.h.cmake and include/plConfig.h.cmake.
Document the different roles played by config.h.cmake and plConfig.h.cmake
within those files.
------------------------------------------------------------------------
r10411 | smekal | 2009-09-15 10:41:21 -0400 (Tue, 15 Sep 2009) | 1 line
Changed paths:
M /trunk/drivers/wxwidgets.cpp
Small fix to make font scaling for sub/superscript independent of rounding errors (as experienced with MinGW 3.4.5).
------------------------------------------------------------------------
r10410 | smekal | 2009-09-15 09:31:01 -0400 (Tue, 15 Sep 2009) | 1 line
Changed paths:
M /trunk/examples/c/plcdemos.h
M /trunk/examples/c++/plc++demos.h
M /trunk/include/plConfig.h.cmake
Added the redefinition macros considering snprintf to plc++demos.h and plcdemos.h, as well as the HAVE_SNPRINTF macros to plConfig.h.cmake. Example 19 (C/C++) compile now again for Visual C++.
------------------------------------------------------------------------
r10409 | airwin | 2009-09-14 21:54:02 -0400 (Mon, 14 Sep 2009) | 5 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Link to libcamlrun_shared.so for experimental build of dllplplot_stubs.so.
This eliminates many undefined symbols revealed by "ldd -r
dllplplot_stubs.so".
------------------------------------------------------------------------
r10408 | airwin | 2009-09-14 14:06:42 -0400 (Mon, 14 Sep 2009) | 6 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
Implement experimental detailed build of ocaml bindings under control of
CMake (rather than ocamlbuild). Must specify -DOCAML_EXPERIMENTAL_BUILD=ON to
use this variant which is not complete yet, and is only for experimental
use. OCAML_EXPERIMENTAL_BUILD defaults to OFF in which case the normal
(and working) bindings for ocaml are built using ocamlbuild.
------------------------------------------------------------------------
r10407 | airwin | 2009-09-14 13:54:39 -0400 (Mon, 14 Sep 2009) | 2 lines
Changed paths:
M /trunk/cmake/modules/drivers-finish.cmake
Fix bug in regex parsing introduced by last commit.
------------------------------------------------------------------------
r10406 | airwin | 2009-09-13 13:22:14 -0400 (Sun, 13 Sep 2009) | 7 lines
Changed paths:
M /trunk/bindings/f95/CMakeLists.txt
A /trunk/bindings/f95/plflt.inc.in
Clean up some dependency overkill that was not needed.
Configure plflt.inc rather than writing it. Writing that file caused the f95
bindings to get rebuilt in error any time _any_ CMakeLists.txt file was
edited. Configuring that file, solves that issue.
------------------------------------------------------------------------
r10405 | airwin | 2009-09-13 13:08:28 -0400 (Sun, 13 Sep 2009) | 2 lines
Changed paths:
D /trunk/bindings/f95/plflt.c
This file is no longer used so delete it.
------------------------------------------------------------------------
r10404 | airwin | 2009-09-12 18:31:51 -0400 (Sat, 12 Sep 2009) | 3 lines
Changed paths:
M /trunk/examples/lua/CMakeLists.txt
Generalize CMake logic so it works both for core build of examples and
also for installed examples build.
------------------------------------------------------------------------
r10403 | airwin | 2009-09-12 18:27:45 -0400 (Sat, 12 Sep 2009) | 2 lines
Changed paths:
M /trunk/examples/c/CMakeLists.txt
Tweak form.
------------------------------------------------------------------------
r10402 | airwin | 2009-09-12 15:27:33 -0400 (Sat, 12 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/f77/CMakeLists.txt
Set PROPERTIES GENERATED ON for the f77 examples files that are generated
by a custom command. This allows some simplification of dependency tracking.
Do not set PROPERTIES GENERATED ON for plf77demos.inc since that is a file
that is configured at cmake time and not generated at build time.
------------------------------------------------------------------------
r10401 | airwin | 2009-09-12 15:09:05 -0400 (Sat, 12 Sep 2009) | 8 lines
Changed paths:
M /trunk/bindings/f77/CMakeLists.txt
Remove PROPERTIES GENERATED from configurable.f. That is inappropriate
because that file is generated at cmake time, not generated at run time.
Add PROPERTIES GENERATED to sfstubs.f since that file _is_ generated at
run time. This apparently solves a small latency issue (f77 bindings
were being rebuilt unnecessarily).
------------------------------------------------------------------------
r10400 | airwin | 2009-09-12 14:49:53 -0400 (Sat, 12 Sep 2009) | 7 lines
Changed paths:
M /trunk/examples/java/CMakeLists.txt
Make java examples class files depend on java bindings class files.
Set GLOBAL PROPERTY FILES_examples_java so custom commands can file-depend
on the java examples class files.
Whitespace.
------------------------------------------------------------------------
r10399 | airwin | 2009-09-12 12:13:01 -0400 (Sat, 12 Sep 2009) | 4 lines
Changed paths:
M /trunk/bindings/java/CMakeLists.txt
Keep track of class file depends with GLOBAL PROPERTY FILES_plplot_core.
Also tweak commentary and adjust whitespace.
------------------------------------------------------------------------
r10398 | airwin | 2009-09-12 12:09:59 -0400 (Sat, 12 Sep 2009) | 10 lines
Changed paths:
M /trunk/cmake/modules/drivers-finish.cmake
M /trunk/cmake/modules/drivers-init.cmake
Add extra information to DRIVERS_DEVICE_LIST. This information is KIND =
one of F (file), I (interactive), M (memory), E (external), or N (null,
i.e., valid prototype drive that produces no results) and REQUIRES_FAMILYING
(set to ON if the file device requires familying).
Parse that extra information to determine FILE_DEVICES_LIST (which includes
the REQUIRES_FAMILYING information) and INTERACTIVE_DEVICES_LIST. These two
additional lists are required for examples testing.
------------------------------------------------------------------------
r10397 | smekal | 2009-09-11 03:27:30 -0400 (Fri, 11 Sep 2009) | 1 line
Changed paths:
M /trunk/drivers/wxwidgets_dc.cpp
I obviously missed some basic math classes back in highschool.
------------------------------------------------------------------------
r10396 | airwin | 2009-09-11 00:32:14 -0400 (Fri, 11 Sep 2009) | 7 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/examples/ocaml/CMakeLists.txt
Fix long-standing dependency issues for the ocaml bindings and examples. As
far as I know, with this fix no ocaml-related builds are done when they
shouldn't be, and we now have proper file dependencies (as demonstrated by
touch) and target dependencies (as demonstrated by parallel builds) between
builds of libplplot(d), the ocaml bindings, and the ocaml examples.
------------------------------------------------------------------------
r10395 | smekal | 2009-09-10 10:19:35 -0400 (Thu, 10 Sep 2009) | 1 line
Changed paths:
M /trunk/drivers/wxwidgets_dc.cpp
Fixed text positioning bug for superscript/subscript text which occurred if ratio of axis is much higher then 1.
------------------------------------------------------------------------
r10394 | hezekiahcarty | 2009-09-08 19:43:42 -0400 (Tue, 08 Sep 2009) | 2 lines
Changed paths:
M /trunk/data/cmap1_highfreq.pal
M /trunk/data/cmap1_lowfreq.pal
Set svn:eol-style to LF to match the other palette files
------------------------------------------------------------------------
r10393 | hezekiahcarty | 2009-09-08 19:38:57 -0400 (Tue, 08 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Add legend support to Quick_plot.func (OCaml)
------------------------------------------------------------------------
r10392 | hezekiahcarty | 2009-09-08 19:13:07 -0400 (Tue, 08 Sep 2009) | 4 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Add rectangle and function plotting function to OCaml Plplot.Plot module
Quick_plot also gets a function plotter
------------------------------------------------------------------------
r10391 | hezekiahcarty | 2009-09-08 16:38:38 -0400 (Tue, 08 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Change the spelling of some constant constructors
------------------------------------------------------------------------
r10390 | hezekiahcarty | 2009-09-08 16:37:50 -0400 (Tue, 08 Sep 2009) | 4 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
Fix custom palette loading for Quick_plot.image in the OCaml interface
This is an interface change for this function.
------------------------------------------------------------------------
r10389 | hezekiahcarty | 2009-09-08 16:35:46 -0400 (Tue, 08 Sep 2009) | 6 lines
Changed paths:
M /trunk/data/CMakeLists.txt
A /trunk/data/cmap1_highfreq.pal
A /trunk/data/cmap1_lowfreq.pal
Add palettes suited for high- and low-spatial-frequency data
The structure of these palettes and their base colors are inspired by
"How to NOT Lie with Visualization" by Rogowitz and Treinish from IBM
(http://www.research.ibm.com/dx/proceedings/pravda/truevis.htm, fig. 2).
------------------------------------------------------------------------
r10388 | airwin | 2009-09-08 16:33:37 -0400 (Tue, 08 Sep 2009) | 3 lines
Changed paths:
M /trunk/README.release
M /trunk/examples/c/x01c.c
M /trunk/src/plargs.c
Drop example 1 -locale option and replace it with a general -locale option.
Document the locale interpretation changes in README.release.
------------------------------------------------------------------------
r10387 | hezekiahcarty | 2009-09-08 14:08:19 -0400 (Tue, 08 Sep 2009) | 6 lines
Changed paths:
M /trunk/examples/ocaml/CMakeLists.txt
A /trunk/examples/ocaml/xplot01.ml
Add an example using the new OCaml Plplot.Plot module
This is based on the standard PLplot example 1, but it is not identical. I do
not currently plan to make the Plplot.Plot and Plplot.Quick_plot examples
perfectly mirror their standard example counterparts.
------------------------------------------------------------------------
r10386 | hezekiahcarty | 2009-09-08 14:06:02 -0400 (Tue, 08 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.mli
Small comment/doc fix
------------------------------------------------------------------------
r10385 | hezekiahcarty | 2009-09-08 00:14:46 -0400 (Tue, 08 Sep 2009) | 2 lines
Changed paths:
M /trunk/bindings/ocaml/plplot.ml
M /trunk/bindings/ocaml/plplot.mli
M /trunk/bindings/ocaml/plplot_impl.c
Add/update some license headers in the OCaml bindings
------------------------------------------------------------------------
r10384 | hezekiahcarty | 2009-09-07 23:58:32 -0400 (Mon, 07 Sep 2009) | 15 lines
Changed paths:
M /trunk/bindings/ocaml/CMakeLists.txt
M /trunk/bindings/ocaml/libplplot_stubs.clib
D /trunk/bindings/ocaml/plplot.idl
A /trunk/bindings/ocaml/plplot.ml
A /trunk/bindings/ocaml/plplot.mli
A /trunk/bindings/ocaml/plplot_core.idl
Add Plplot.Plot and Plplot.Quick_plot modules to the OCaml interface
This is a rather large commit, including two new modules as well as
ocamldoc-ready documentation in the bindings/ocaml/plplot.mli file.
These are two relatively high-level modules for the OCaml PLplot interface.
They should both be considered usable but alpha as their interfaces may change.
Plot is a module based largely around plot streams, making it easy to have
multiple plots going at one time and to pass individual plot streams between
functions.
Quick_plot is a module for quick plots, intended mainly for short scripts and
for use from the OCaml toplevel.
------------------------------------------------------------------------
r10383 | airwin | 2009-09-07 23:08:07 -0400 (Mon, 07 Sep 2009) | 23 lines
Changed paths:
M /trunk/src/plcore.c
Protect all device driver calls using the (now) reentrant plsave_set_locale
and plrestore_locale. The former saves the fundamental PLplot LC_NUMERIC
locale and then sets the LC_NUMERIC locale to "C" for everything done by all
device drivers. Of course, any library called by a device driver can also
change the locale, but we guard against such changes affecting the rest of
PLplot by using plrestore_locale to restore the fundamental PLplot
LC_NUMERIC locale saved by plsave_set_locale.
N.B. this logic allows the fundamental PLplot LC_NUMERIC locale (except for
the parts like the device drivers and palette file reading that are
protected by the combination of plsave_set_locale and plrestore_locale) to
be any valid locale set by any application or library that calls the PLplot
library. If that locale specifies comma decimal separators rather than
period decimal separators, for example, then the PLplot core will
automatically use those for for specifying axis labels. Those commas for
axis labels are drawn by the PLplot core for the Hershey font device drivers
or just propagate to the unicode device drivers as UCS4 arrays. Thus, in
both cases, we get a comma decimal separator for axis labels (if that is
what the fundamental PLplot LC_NUMERIC locale calls for) independently of
the logic of the present commit that sets the LC_NUMERIC locale to "C" for
all device driver code that is executed.
------------------------------------------------------------------------
r10382 | airwin | 2009-09-07 22:45:49 -0400 (Mon, 07 Sep 2009) | 7 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/plctrl.c
Make plsave_set_locale() and plrestore_locale reentrant (no more dependence
on global variable). This means this pair of routines must be called from
the same routine, but in practice that fine grain use of these routines is
required in any case, and the reentrancy is required in any case by some of
the device driver pldebug calls which recursively call the device driver.
------------------------------------------------------------------------
r10381 | airwin | 2009-09-07 22:37:58 -0400 (Mon, 07 Sep 2009) | 6 lines
Changed paths:
M /trunk/drivers/qt.cpp
Set pls->termin=1; for interactive device (qtwidget) and set pls->termin=0;
for all others including extqt. For the latter, I wasn't sure, but I just
followed what was done for cairo.c where pls->termin=1; for xcairo and 0 for
all other devices including extcairo.
------------------------------------------------------------------------
r10380 | airwin | 2009-09-06 20:24:27 -0400 (Sun, 06 Sep 2009) | 17 lines
Changed paths:
M /trunk/examples/c/x01c.c
Implement -locale option for example 1 that tests reading locale information
from the environment for PLplot. The result is comma (!) decimal separators
for, e.g.,
LC_NUMERIC='nl_NL.utf8' examples/c/x01c -locale -dev epsqt -o test.psc
without doing anything special for the qt device driver with regard to
locale, and with no palette file reading issues.
So that is a nice proof-of-concept of how to get comma separators for PLplot
axis labels, but other device drivers (e.g., ps and cairo) are going to need
some work to make them "locale-proof". This illustrates how vulnerable the
plplot library and devices currently are to changes in LC_NUMERIC locale in
_any_ application (e.g., C example 1 with the locale option) that calls the
PLplot library.
------------------------------------------------------------------------
r10379 | airwin | 2009-09-06 20:16:42 -0400 (Sun, 06 Sep 2009) | 2 lines
Changed paths:
M /trunk/drivers/qt.cpp
Clean out commented-out locale code.
------------------------------------------------------------------------
r10378 | airwin | 2009-09-06 19:52:38 -0400 (Sun, 06 Sep 2009) | 6 lines
Changed paths:
M /trunk/include/plplotP.h
M /trunk/src/plcore.c
M /trunk/src/plctrl.c
Implement a pair of functions, plsave_set_locale and plrestore_locale that
provide infrastructure to protect the parts of PLplot that absolutely
require the LC_NUMERIC "C" locale without forcing that locale for all parts
of PLplot. Use these functions to protect colour palette reading.
------------------------------------------------------------------------
r10377 | hbabcock | 2009-09-06 17:04:55 -0400 (Sun, 06 Sep 2009) | 1 line
Changed paths:
M /trunk/README.Release_Manager_Cookbook
Updated release instructions for the latest changes in the SF release infrastructure.
------------------------------------------------------------------------
r10376 | hbabcock | 2009-09-06 16:40:17 -0400 (Sun, 06 Sep 2009) | 1 line
Changed paths:
M /trunk/www/examples.php
Updated for 5.9.5
------------------------------------------------------------------------
r10375 | hbabcock | 2009-09-06 16:25:54 -0400 (Sun, 06 Sep 2009) | 1 line
Changed paths:
M /trunk/OLD-README.release
M /trunk/README.release
Updated for 5.10.0 release.
------------------------------------------------------------------------
r10373 | hbabcock | 2009-09-06 15:00:18 -0400 (Sun, 06 Sep 2009) | 1 line
Changed paths:
M /trunk/cmake/modules/plplot_version.cmake
Actually change the version number this time...