- Nov 04, 2015
-
-
Brad Barber authored
-
- Oct 23, 2015
-
-
Brad Barber authored
- In the libraries, exit() is only called from qh_exit(). qh_exit may be redefined. - Add qh_fprintf_stderr to usermem.c. May be overridden to avoid use of stderr [D. Sterratt] Add usermem to testqset builds - Remove most instances of stderr/stdout from libqhull, libqhull_r, and libqhullcpp [D. Sterratt] qh_fprintf_stderr may be redefined. qh_meminit and qh_new_qhull use stderr as the default ferr - qh_initflags: Use qh.fout instead of stdout for 'TO file'. A library caller may define a different qh.fout. - qh_settemppush: Call qh_fprintf() instead of fprintf() on error. - Rename qh_call_qhull as "Qhull-template" from user.c. Updated its references. - qh-code.htm: "How to avoid</a> exit(), fprintf(), stderr, and stdout" - html/index.htm: Fix table of contents for qh-code - libqhull_r/index.htm: Rewrite introduction to Reentrant Qhull - qh-faq.htm: Rewrite "Can Qhull use coordinates without placing them in a data file?" - qh-get.html: Link to github - Remove qhull_interface.cpp from the documentation
-
- Oct 15, 2015
-
-
Brad Barber authored
- qh_new_qhull: default 'errfile' is 'stderr'. outfile and errfile are optional [B. Pearlmutter] - qh_new_qhull: returns qh_ERRinput instead of exit() if qhull_cmd is not "qhull ..." [B. Pearlmutter] - qhalf_r.c,etc: Add clear of qh.NOerrexit - global.c: gcc 4.4.0 mingw32 segfault cleared by adding comment - usermem_r-cpp.cpp: Optional file to redefine qh_exit() as throw "QH10003.." [B. Pearlmutter] qh_exit() is called by qhull_r when qh_errexit() is not available. - html/index.htm: Add bibliographic reference to Golub & van Loan and annotated the source references - qhalf.htm: A halfspace is the points on or below a hyperplane [D. Strawn] - qh-opto.htm#n: Defined inside, outside, on, above, and below a hyperplane [D. Strawn] - qhalf.htm#notes: Recast the linear program using negative halfspaces (as used by Qhull) [D. Strawn] - qhull_a.h: Fix comment '#include "libqhull/qhull_a.h" [fe rew] - build/qhull*.pc.in: Add templates for pkg-config (derived from Fedorra) [P. McMunn] https://bitbucket.org/mgorny/pkg-config-spec/src/c1bf12afe0df6d95f2fe3f5e1ffb4c50f018825d/pkg-config-spec.txt?at=master&fileviewer=file-view-default - Makefile: Remove user_eg3.o from LIBQHULLCPP_OBJS - Makefile: Add .h dependencies for unix_r.o, etc. - libqhull/Makefile: Fix build of rbox - libqhull_r/Makefile: Fix build -I - qhull.sln/user_eg3: Add dependency on libcpp
-
- Oct 01, 2015
-
-
Brad Barber authored
-
Brad Barber authored
Preliminary Qhull release available at http://www.qhull.org/news - Visual Studio builds for VS-2010+ 32-bit and 64-bit - Unix tarball includes version number (e.g., qhull-2015-src-7.1.0.1940.tgz) [Hauptman] - qhull -V -- Display Unix version number for qhull [Hauptman] - Update eg/make-vcproj.sh for vcxproj Visual Studio builds - README.txt: updated builds and reentrant Qhull - Add documentation for QHULL_LIB_CHECK - qh_lib_check: Check for unknown QHULL_LIB_TYPE - qh-code.htm: Add memory requirements for 32- and 64-bit
-
- Sep 23, 2015
-
-
Brad Barber authored
-
Brad Barber authored
-
Brad Barber authored
Accidently reverted merge from next This reverts commit c27f1515.
-
Brad Barber authored
This reverts commit c27f1515.
-
Brad Barber authored
This reverts commit f06e487a, reversing changes made to db490523.
-
Brad Barber authored
Minor Conflicts: src/testqset_r/testqset_r.c
-
Brad Barber authored
- qh_mem, qh_merge: Log before 'delete' instead of afterwards [Coverity, K. Schwehr] - qh_merge: Test for NULL horizon in qh_checkzero [Coverity, K. Schwehr] - qh_matchneighbor: Check for matchfacet not a neighbor of facet [Coverity, K. Schwehr] - qh_triangulate: Explicit check for visible==NULL [Coverity, K. Schwehr] - qh_findbestfacet (unused by qhull): Fix test of isoutside [Coverity, K. Schwehr] - qh_check_maxout: Check bestfacet!=0 for logging its id [Coverity, K. Schwehr] - qh_nearvertex: Check for bestvertex not found [Coverity, K. Schwehr] - qh_checkfacet: Check for missing neighbors of simplicial facets [Coverity, K. Schwehr] - qh_setdelnth: Check 'nth' before using it [Coverity, K. Schwehr] - Annotate code for Coverity warnings (most of these protected by qh_errexit) [K. Schwehr] - qh_printfacet3math: explicit format string (duplicates change to io.c) [B. Pearlmutter] - libqhull_r.h: fix spelling error (duplicates change to libqhull.h) [B. Pearlmutter] - unix_r.c: fix spelling error (duplicates change to unix.c) [B. Pearlmutter] - qhull_a.h: define qhullUnused() only if defined(__cplusplus) [R. Stogner] - qh_version: Use const char str[]= "string" instead of const char * str= "string" [U. Drepper, p. 27] - qh_newvertex: Use UINT_MAX instead of 0xFFFFFFFF - qh_newridge: Use UINT_MAX instead of 0xFFFFFFFF - Reviewed FIXUP notes - QhullRidge_test: t_foreach use 'foreach(const QhullVertex &v, vertices) - Made '#include "RoadTest.h" consistent across all C++ tests - qh-code.htm: May also use libqhull_r (e.g., FOREACHfacet_(...)) - qh-get.htm: Add list of download build repositories - Add CMakeModules/CheckLFS.cmake: Enables Large File Support [B. Pearlmutter] - Makefile: Use -fpic at all times instead of -fPIC, [U. Drepper p. 15]
-
- Sep 19, 2015
-
-
bradb authored
debian quilt patches, forward ported
-
- Sep 02, 2015
-
-
Brad Barber authored
Moved 'to do' comments into Changes.txt global_r.c: Fixed spelling of /* duplicated in...qh_clear_outputflags */ [K. Schwehr]
-
- Sep 01, 2015
-
-
Barak A. Pearlmutter authored
Enable LFS aka Large File Support (as option) in cmake. Snag cmake LFS macro from https://github.com/simongog/sdsl/blob/master/libdivsufsort-2.0.1/CMakeModules/CheckLFS.cmake
-
Barak A. Pearlmutter authored
Avoid lintian error qhull-bin: manpage-has-errors-from-man to whit usr/share/man/man1/qhull.1.gz 750: warning: macro `QJn'' not defined usr/share/man/man1/qhull.1.gz 771: warning: macro `Qt'' not defined and consequent lost text. These result from a line starting with the single quote character; this patch backslash escapes them.
-
Barak A. Pearlmutter authored
-
Peter Green authored
Fix FTBFS when building with hardening flags as used by dpkg 1.16.0. Note that this was a *false positive* by the compiler: there was in fact no security issue. However we will work around it anyway. Bug-Debian: http://bugs.debian.org/643461
-
Brad Barber authored
-
Brad Barber authored
qhulltest OK make testall OK Qt, CMake, and make build OK Summary of Perforce changes @1811,@1954 from Jan 17, 2015 to date See src/Changes.txt Code Remove qhull_inuse Add qh_lib_check to verify library compatibility Change qh.vertex_visit, vertexT.id, ridgeT.id, qh.vertex_id, and qh.ridge_id to 32-bits *.c: Prefix include headers with directory name (e.g., libqhull_r/) user_r.c: Clear qhT.ALLOWrestart in qh_errexit global_r.c: Check that qh.NOerrexit is cleared before call to qh_initflags User must clear NOerrexit after setjmp() global_r.c: Add qh_zero to reset qhT before first use. Needed for user_eg_r.c global_r.c: Add qh_lib_check() for library compatibility global_r.c: Add qh_zero() to initialize and zero memory for qh_new_qhull global_r.c: Version includes a '.r' suffix to indicate 'reentrant' global_r.c: Guarantee that qh->run_id!=0. Old code assumed that qh_RANDOMint was 31 bits io_r.c: Commented out qh_compare_vertexpoint. Not used and not implemented in libqhull_r mem_r.c: Add qh_memcheck() to verify memory buffers mem_r.h: Define ptr_intT as 'long long' for __MINGW64__ [A. Voskov] qconvex_r.c,etc: Comment-out _isatty declaration. Avoids "C4273 ... inconsistent dll linkage" random_r.c: Moved global variable qh_last_random to qhT.last_random rboxpoints_r.c: Replace longjmp with qh_errexit_rbox stat_r.c: Remove qh_freestatistics(). Part of qhT now. Rename 'int' to 'countT' where more than 32-bits may be needed Remove old code for __MWERKS__ && __POWERPC__ Replace qh_pointid returns with qh_IDunknown, qh_IDnone, and qh_IDinterior Points are equal if same coordinates Add in-line comment about expected warnings (e.g., **freelistp) Remove vertexT.dim -- No longer used by C++ Build Reentrant files are named with '_r' suffix Deprecated qh_QHpointer files are named with '_p' suffix Removed the 'p' builds for qh_QHpointer. They were confusing Renamed libqhull_p.vcproj to qhull_p.vcproj Makefile: Reorganized targets: test, qtestall, and testall Makefile,etc: Changed to gcc -O3 (was -O2) libqhull_r/Makefile: Add 'make help' and 'make test' Use mingw-w64 instaed of mingw Use 'Win64' tag for CMake Removed Debian 'config' directory, doesn't work Removed qhull_interface.cpp 'math.h' is apparently no longer a problem. Perhaps include it before qhull_a.h Removed make-vcproj.sh -- too specific to VC 2005 Doc See "C++ interface" in Changes.txt for notes on migrating C++ code Changes.txt: Add notes on 'countT' Clarified qhalf space documentation for the interior point [J. Santos] Rearrange qh-code.htm to emphasis C++ interface. Move performance and wish list to end C++ QhullFacet: Increment Zdistio statistic QhullHyperplane: Remove default constructor QhullPoint: Change operator==() to sqrt(distanceEpsilon) QhullPoints: Enable operator=() PointCoordinates: Add assignment of base class QhullPoints to operator= PointCoordinates: Rename point_comment to describe_points QhullQh: Add qh.ISqhullQH to indicate initialization QhullSet,etc: Include <cstddef> for ptrdiff_t QhullSet: Enable operator=. Copy constructor and assignment only copies pointers QhullSet<T>: Add 'typename T' to definition of value() QhullVertexSet: error if qhsettemp_defined at copy constructor/assignment (otherwise double free) Delete Point_test.cpp. It was replaced by QhullPoint_test.cpp Add QhullVertexSet_test.cpp to qhulltest.pro Moved UseOutputStream to a field with enableOutputStream Removed UsingLibQhuill*.cpp. It is not needed with reentrant Qhull
-
- Jan 18, 2015
-
-
Brad Barber authored
-
Brad Barber authored
Updates to libqhullcpp for libqhullr. See Changes.txt for details. Delete user_eg7,8,9 replaced by user_egp,2,3 Rename qhull_ra.h Change spacing for type annotations to 'QhullVertext &' etc Each class needs access to qhT via QhullQh Moved messaging into QhullQh to simplify memory allocation Add 'const Qhull &' constructors for C++ classes Printing QhullRidge includes a message Ran RboxPoints_test.cpp Ran QhullPoint_test.cpp libqhullr Renamed add *.c and *.h references to *_r.c and *_r.h Added *.htm from libqhull Redesigned QhullPointSet around QhullSet<> Ran QhullPointSet_test.cpp
-
- Jan 20, 2014
-
-
Brad Barber authored
branch qhull_r.h as reentrant version of qhull_a.h Fixed qh_MEMalign for testqset and testqsetr
-
- Jan 17, 2014
-
-
Brad Barber authored
libqhullcpp will be based on qhullstatic_r Runs user_eg3 on qhullpcpp ok
-
Brad Barber authored
Ran OK the first time Added rboxr
-
- Jan 15, 2014
-
-
Brad Barber authored
Includes libqhullstaticr and libqhullr
-
Brad Barber authored
Branched reentrant Qhull libqhullr/*_r.* libqhullrcpp/* qhullr/*_r.* qhullrtest/*
-
- Feb 22, 2012
-
-
Brad Barber authored
-
- Feb 20, 2012
-
-
Brad Barber authored
Fixed version in File_id.diz Restored path variable to qhulltest.vcproj for $QTDIR Fixed qhull-zip.sh for qhull_p.dll Updated download page
-
Brad Barber authored
Code changes - Require option 'Qz' for Delaunay triangulation/Voronoi diagram of cocircular/cospherical points [D. Sheehy] - qh_errexit: Do not call qh_printsummary or qh_printstats on qh_ERRinput - Change error QH6227 (all degenerate) from qh_ERRinput to qh_ERRprec - Change error QH6159 (ID overflow) from qh_ERRinput to qh_ERRqhull - eg/q_eg, q_egtest, q_test: Run if qconvex is in $PATH [M. Atzeri] Build changes [M. Atzeri] - Install to share/doc/qhull instead of share/doc/packages/qhull - On Unix systems, install to share/man/man1 instead of man/man1 - CMakeLists: Remove the installation of user_eg* and testqset - CMakeLists: Remove VERSION from qhull executables and libraries - CMakeLists: Define qhull_SOVERSION instead of qhull_MAJOR - CMakeLists: Set SOVERSION for shared libraries - Rename libraries to qhull, qhull_d, qhull_p, and qhull_pd libqhull6_p.vcproj is now libqhull_p.vcproj mingw builds as libqhull.dll cygwin builds as cygqhull-6.dll linux builds as libqhull.so.6.3.1 with symbolic link as libqhull.so - Developers using qhull 2011: libqhull6.so is now libqhull_p.so. Do not use libqhull.so. qhull6.dll is now qhull_p.dll. Do not use qhull.dll. - Merged road/ into libqhullcpp/ and qhulltest/ Moved RoadLogEvent.* and RoadError.* to libqhullcpp Moved RoadTest.* to qhulltest (requires Qt) Installed RoadTest.h in libqhullcpp Doc changes - index.htm: Mathworks uses qhull for n-d - qhull.htm: Fix qhull for qconvex - qdelaun.htm/qvoronoi.htm: Use option 'Qz' for circular/cospherical inputs - make help: Display targets - Makefile: Better messaging
-
- Feb 03, 2012
-
-
Brad Barber authored
Updated dates. Removed some more build products from cleanall Removed out-of-date builds from qh-get Reorganized the links to the documentation in index.htm
-
- Jan 28, 2012
-
-
Brad Barber authored
-
Brad Barber authored
Bug fixes - Fixed qset.c for -fno-strict-aliasing. This gcc option is no longer needed (disallow two pointers of differing types to the same memory location) - Fixed error in qh_setappend_set if first set full and second set empty - qh_setdelnth, qh_setdelnth_sorted: fixed wording of error message - qh_setcheck: error message listed size and max backwards. - qh_setequal: Allow NULL set as documented - qh_setindex: Allow NULL set as documented - qh_settemppush: report error if NULL Code changes - Add testqset: low level test of qset.c with mem.c - qh_setendpointer: Implements QSet::endPointer() - Assigned unique error code for qh_gethash Build changes - Added qhull.dll(.so) for Octave and other Debian builds The global data structure qh_qh is statically defined (no qh_QHpointer) Linked user_eg2 with qhull.dll (libqhull.so) instead of qhullstatic Added qh_dllimport to libqhull.h for qhull.dll with MSVC Changed qhull-app-shared.pri to use libqhull (without qh_QHpointer) - Renamed libqhull6.so to libqhull6_p.so Renamed qhull6.dll to qhull6_p.dll The _p libraries (e.g., libqhull6_p.so) require -Dqh_QHpointer Renamed qhull6.vcproj to libqhull6_p.vcproj Added libqhullp/libqhullp.pro for shared library (libqhull6_p.so) Added qhull-app-sharedp.pri for shared libraries with qh_QHpointer - Install libqhull/*.htm files into include/libqhull - Removed libqhull/qhull.h-deprecated - Other changes to Makefile builds Added 'make qtestall' as a smoketest of each qhull program src/libqhull/Makefile: Use 'ar -rs ...' instead of ranlib src/libqhull/Makefile: Fixed targets for cleanall - Other changes to DevStudio builds Moved pdb files for qhull libraries to lib/ AdditionalIncludeDirectories: Removed ../src/libqhullcpp Use build-cmake/ for the DevStudio CMake build - Other changes to Qt builds Renamed qhull-libsrc.pri to qhull-libqhull-src.pri - Added explicit d2u conversions to qhull-zip.sh - Fixed \n vs. \r\n issues for Windows source files Draft of Debian/AutoConf build (untested) - Adjusted the Makefile.am's for the new directory structure. - Added testqset to bin_PROGRAMS - config/bootstrap.sh copies program sources into src/libqhull - Kept qh_QHpointer=0 (static global data structure, qh_qh). It is faster. Planning a new interface (qhull7?) which passes qh_qh as a parameter - Added config/changelog from the 2003.1 Debian build - Moved the debian/patches directory to config/ Optional patches to change smoketest message and turn on qh_QHpointer - Deleted the debian directory. It was the old Debian build from 2003.1 Rafael Laboissiere's config directory replaced this build.. - Deleted Make-conf.sh (also the old Debian build) Doc changes - FAQ: Updated notes on computing volume of a Voronoi region - Added direct link to ACM Digital Library for downloading the qhull paper - Added link to Qhull in R - qset.c: Updated notes about NULL sets - qh_setappend: clarify qh_setappend for NULL newelem - qh_setdellast: Fix head note - Add build/README.txt - Add uninstall instructions to README.txt and CMakeLists.txt - Added instructions to create build/*.vcproj to CMakeLists.txt - Update copyright to 2012
-
- Dec 03, 2011
-
-
Brad Barber authored
-
Brad Barber authored
- Adjusted the Makefile.am's for the new directory structure. - Kept qh_QHpointer=0 (static global data structure, qh_qh). It is faster. Qhull 2012 may have a new interface which passes qh_qh as a parameter But the other builds of qhull 2011.2 define qh_QHpointer=1 for qhull6.so - Added config/changelog from the 2003.1 Debian build - Moved the debian/patches directory to config/ It was not used for qhull 2009.1. Was it used for other Debian builds? - Deleted the debian directory. It was the old Debian build from 2003.1 Rafael's config directory replaced this build.. - Deleted Make-conf.sh (also the old Debian build)
-
- Dec 01, 2011
-
-
Brad Barber authored
Rewrote FAQ: How do I compute the volume of a Voronoi region?
-
- Nov 30, 2011
-
-
Brad Barber authored
-
Brad Barber authored
<li>Replace Qhull-go.pif with Qhull-go.lnk for Windows 7 64-bit [lots]. <li>Report an error if qh_newhashtable, qh_setnew, or qh_memalloc overflows [X. Cheng]. Overflow may occur on 64-bit hosts. Qhull uses 32-bit ints for identifiers, counts, and sizes. <li>FAQ: How to compute the volume of a Voronoi region [C, Brinch]. <li>For qhull library users, qh_new_qhull calls qh_prepare_output if !outfile [A. Aldoma]. <li>Fixed LF line endings for qhull-2009.1.2 [P. Cheeseman]. <li>Added simple makefile to src/libqhull. Bug fixes - qh_new_qhull: Call qh_prepare_output if !outfile [A. Aldoma] No effect on qhull users since qh_prepare_output is always called. - Replace Qhull-go.pif with Qhull-go.lnk for Windows 7 64-bit [lots] - Error if qh_newhashtable, qh_setnew, or qh_memalloc overflows [X. Cheng] For example, 'rbox 64 D32' overflows hash table for qh_matchnewfacets Qhull uses 32-bit ints for identifiers, counts, and sizes. See "WARN64" - q_eg, q_test: change tail +3 to tail -n +3 [N. Dubray, M. Atzeri] - Qhull-go.bat: Changed 'cmd' to '%comspec%' Build changes - Added src/libqhull/Makefile for simple gcc build of executables and lib - qhulltest.vcproj: Replaced full path to QT with $QTDIR (e.g., c:/qt/4.7.4) - Split userprintf_rbox.c from userprintf.c, Otherwise qhull brings in rboxlib and rbox brings in libqhull - Makefile: qhullx target must be after LIBQHULLS_OBJS - Makefile: Explicitly list rbox dependencies for qhullx target - MBorland: Fixed tabs - Placed $LIBQHULLS_OBJS in same order. Frequently called ones together. - Update file lists for Make-config.sh [O. Lahaye] - CMakeLists: add README.txt,etc. to DOC_INSTALL_DIR [M. Atzeri] - Restored qhull.h-deprecated. qhull.h conflicts with Qhull.h on Windows systems [C. Abela] - make-config.sh: Add warning that it is out-of-date - Remove extra space in '#! /bin/sh' in q_eg, etc. [P. Cheeseman] Source changes - libqhull.h: Added qh_True and qh_False for True/False [A. Mutzel] Did not remove or replace True/False since it is used everywhere - Moved error message from qh_argv_to_command to caller. Avoids dependency. - user_eg3.c: Use '10 D2' as default rbox (e.g., 'user_eg3 rbox qhull d') - user.c, user_eg2.c: Add test of qh_qh as done in user_eg.c - q_test: Removed duplicate test of qhull C-0.02 Documentation - index.html: Added ACM Authorizer link to ACM Trans. Math. Software - Split Delaunay and Voronoi FAQs - FAQ: How to compute the volume of a Voronoi region [C, Brinch] - Add 'FS' to qconvex prompt (total area and volume) - Add clarification to 'Fv' about corner input sites [O. Can] - Qhull-go.bat: Removed out-of-date advice. Added title. - qh-code.htm: Updated the discussion of multi-threading for C++ [I. Pirwani]
-
- May 24, 2011
-
-
Brad Barber authored
- delaunay.vcproj: Fixed qhullstatic_d.lib for debug and minrelsize builds - Redated distribution from 2011/5/18 - .gitignore: added build and lib - Add 'm' library to shared and static targets on Unix [A. Bouchard]
-
- May 14, 2011
-
-
Brad Barber authored
- PointCoordinates.cpp: Add #include <iterator> [R. Richter, S. Pasko] - Remove deprecated libqhull/qhull.h Use libqhull/libqhull.h instead. It avoids confusion with libqhullcpp/Qhull.h - Makefile: Add LIBDIR, INCDIR, and DESTDIR to install [L.H. de Mello] Separate MAN install from DOC install Create install directories Installs headers to include/libqhull, include/libqhullcpp, include/road - CMakeLists.txt: Add MAN_INSTALL_DIR for qhull.1 and rbox.1 man pages Add RoadTest.h to include/road for Qt users (road_HEADERS) - Renamed md5sum files to avoid two extensions - qh-get.htm: Add Readme links and 2009.1 note. - qh-optf.htm: Fix link - index.htm: Updated Google Scholar link - qhull-zip.sh: Improved error message.
-