aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fox17
Commit message (Collapse)AuthorAgeFilesLines
* Convert to USES=libtoolBaptiste Daroussin2014-03-022-3/+5
| | | | Notes: svn path=/head/; revision=346841
* - Update to 1.7.46Pietro Cerutti2014-02-243-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * FXIconSource now can use icon/image contents to detect file format type [the stream must be seekable]. * A default FXIconSource implementation in FOX will be used to load icons if not overloaded by a user-extended one explicitly. * Replaced FXIconDict with FXIconCache. * Replaced FXFileDict with FXFileAssociations. The new implementation uses FXDictionary, and the new FXIconCache. * Fixed problem in FXDictionary: object pointed to by data is itself not const. This affects const-accessors. * Fixed bug in Adie: dumping core when started with unknown commandline parameter. * Expunged FXDict and its subclasses. Now replaced with new implementations, see above. * FXFileList now has explicit pointer to FXIconSource, for image preview purposes. * Changed things around for FXFileAssociations to be more easily subclassable. * In FXIconCache, don't add to the hash table until loading was successful. * PathFinder icon previewing improved, more options for sizing. * PathFinder custom iconpath wasn't being saved. * In FXFileAssociations, don't add extension-association unless associated extension data from registry is fully and properly parsed. * Fixed compile problem in FXPipe. Notes: svn path=/head/; revision=345786
* - Update to 1.7.45Pietro Cerutti2014-01-084-50/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * FXJSONFile class added. Base class FXJSON improved and generalized. * FXIO now tracks file position; new implementation of FXIO counts bytes read/written. * FXPipe API's added, should now be functional. * Renamed FXStringMap to FXStringDictionary for consistency. * Fixed a few problems in FXVariantMap, FXDictionary. * Fixed possible race in FXThreadPool::startWorker. * New FXThreadException class added; FXThreadException will cause graceful early termination of a thread when thrown inside of FXThread. * FXThread now interceps only FXException (and subclasses), rethrows other exceptions. This was necessary due to the way GNU C++ library performs thread exits. * Non FOX exceptions thrown inside FXThread are now rethrown; but attempts are made to maintain proper bookkeeping when unrolling the stack. * FXThreadPool tasks may throw exceptions. FXThreadPool now intercepts all FOX exceptions and updates bookkeeping when other exceptions are thrown. Note: tasks in FXThreadPool are executed by threads, but since sometimes the main thread is executing tasks in FXThreadPool also we can not allow tasks to throw FXThreadException. * Exceptions thrown inside FXWorker now terminate the worker, and reclaim worker's thread and memory. Before exceptions were all caught, making it impossible to pass return codes from worker execution. * Exceptions thrown in FXTaskGroup::Task correctly reclaim the FXTaskGroup::Task now, and will update completion count and notifications appropriately. * The exception philosophy in FOX is that the library only manages FXExceptions and their subclasses; other exceptions will be either uncaught or caught and rethrown after bookkeeping updates; thus programs should be careful throwing exceptions other than FXExceptions. Notes: svn path=/head/; revision=339150
* - Update to 1.7.44Pietro Cerutti2013-12-095-25/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Updated FXJSON JavaScript Object Notation I/O class:- removed limits to token size in both input and output operations (formerly limited to buffersize). * Minor changes to FXVariant:- added some missing API's, removed toChar() as its useless. Added has() to determine if key is present in case FXVariant is a map. * Simplified FXFile and other FXIO subclasses a bit to remove redundant implementations. * Added FXIOBuffer, an FXIO device that serializes to/from a memory buffer. * FXRanged, FXRangef: now check intersect() results a bit differently. * Ray to FXSpheref, FXSphered intersection test changed to allow origin inside sphere possibility. * Fixed small bug in wc2nc(). * Possible buffer overrun in FXDir fixed. * Added class FXStringMap. * Changed some API's in FXDictionary. Added erase() API to allow removal of slot already located. This is faster, and needed for successful subclassing. * FXStat problem fixed on Windows. Notes: svn path=/head/; revision=335961
* - Update to 1.7.43Pietro Cerutti2013-10-255-373/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Added FXJSON JavaScript Object Notation I/O class. FXJSON loads and saves JSON, and has a great number of options, extensive error reporting, and great degree of control over output. * Problems in Windows version of fxcpuid.cpp fixed. * Line segment to box and line segment to sphere intersection routines added; also computes intersection point. * FXString escape() and unescape() now do \uXXXX unicode escaping. Old functions for these, fromAscii() and toAscii() have been removed. The new implementation properly handles surrogate pairs. * Added some API's to FXGLGroup. * FXListBox current item fix. * Added new functions to FXElement.h. Particularly, bulk-comparison function. * Use new fxstrlcpy() and fxstrlcat() where appropriate; these will always produce null-terminated strings. * Passed wrong handle for error FD in FXProcess under Windows. * Fix introduced bugs in FXHash and FXDict. * Some extra checks added in GIF loader header detection. * Typo fix in lock-free queue class FXLFQueue. * Fast accessors added to FXVariant; they can be used if type already known. * Fixed minor issues with FXVariant implementation. * Missing FXAPI declaration in FXArrayBase added. * Added area() and volume() calculation to FXRange and FXSphere classes; added area() to FXExtent classes. * Added new FXDictionary class; this will replace FXDict at some point in the future. Notes: svn path=/head/; revision=331585
* - Refactor FOX portsPietro Cerutti2013-10-072-178/+23
| | | | | | | | | | | | | | * Remove CONFLICTS between FOX ports by having man-pages and binaries named after the port version * Avoid bumping shlib version at each minor update by using ltverhack [1] * Make PKGNAMEs unique (fox14, fox16, fox17) [2] * Use new LIB_DEPENDS format Suggested by: mezz [1], bapt [2] Notes: svn path=/head/; revision=329702
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | x11-toolkits) Notes: svn path=/head/; revision=327785
* - Update to 1.7.42Pietro Cerutti2013-09-185-5/+445
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Added class FXVariant, and supporting classes FXVariantMap and FXVariantArray. The FXVariant class can store basic types like bool, int, or float, but also arrays of variants, or maps of variants. Thus, FXVariant can be used to store an arbitrarily complex tree-like data structure. * Problems in Windows version of fxcpuid.cpp fixed. * Fix cased from (__m128) to _mm_castsi128_ps() intrinsic for portability. * Fix compare operation in FXSize.h. * Added fxstrlcpy() and fxstrlcat() for safe string copy and string concatenation. * Added __noreturn macro for flagging non-returning functions like fxerror(). This may help compilers generate better code for places where these functions are called. * Removed fxsleep(), obsoleted by FXThread::sleep() and FXThread::wkaeat(). * Allow out-of-source builds of FOX on configure-based systems. * Force end-of-string in value returned by gethostname(). * Fix introduced bugs in FXHash and FXDict. * Added swapElms() to FXElement.h. Also added templated swap(). * Added internal function memswap(). * Don't include intrinsics header files unless target architecture is x86 or x86-64. * Updated build on Fedora 18 for Raspberry Pi. - Add two local files with patches to mute compiler warnings and fix potential stack buffer overflow bugs (already reported upstream) Notes: svn path=/head/; revision=327565
* Bump some PORTREVISIONs due to graphics/webp update to 0.3.1Martin Matuska2013-09-091-0/+1
| | | | Notes: svn path=/head/; revision=326850
* - Update to 1.7.41Pietro Cerutti2013-08-293-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Many changes to Matrix classes for AVX and SSE. * FXHash hash-table improvements. * FXHash, FXPtrList needlessly had virtual destructors. * API's equalElms() added to FXElement.h. * Problems with initial list fixed in FXFileList and FXDirList. * Dropped default parameter value for FXString::mid() API. * Signed/unsigned warning issues fixed in FXArray.h. * FXArray and FXHash now use FXival to allow truly large arrays and dictionaries. * Fixed some warnings compiling synchronization classes. * Use FXuval for fxmalloc() and ilk. * Minor additional tweaks to CPU identification. * FXRefPtr moved into the Atomic Age:- use atomic swap when changing pointer value. * Add overloads for long, unsigned long in FXElement.h. * FXArray now consists of single (never NULL) pointer, same as FXString. This means FXArray takes up only a pointer's worth of space when empty. * Sign-extend macro added to fxdefs.h. Notes: svn path=/head/; revision=325570
* - Update to 1.7.40Pietro Cerutti2013-07-253-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Updated fxcpuid() with AVX, AVX2, FMA, XOP, etc. detection. * Updated tables for fxascii.cpp. * Added various macros for memory alignment in fxdefs.h. * Added API's to FXTreeList and FXFoldingList to replace one item with custom item. * Added API to return processor index of calling thread in FXThread. * Bounds check in FXTabBook's setCurrent(). * Added isAccessible API to FXStat. * Added API to rotate vector by quaternion to FXQuatd, FXQuatf. * Check valid path in FXPath. * FXFileList Drag and Drop now enabled. * Improvements to File Open Dialog right-click menu. * Add ability to remove as well as add directory bookmarks in File Open Dialogs. * AVX capabilities added to matrix and vector classes (if compiled with avx intrinsics). * FXThread sleep() function reverts to sleep if interrupted by signal. * 4x4 Double matrix transpose using AVX permute intrinsic. * Check UTIME_OMIT before using utimensat(). * Updates to PathFinder file manager. * Check for NULL name in FXMetaClass hash table additions. * Added isBinDigit() and isOctDigit() to Ascii character class functions. Notes: svn path=/head/; revision=323652
* - Fix build on amd64 < 9.0 by disabling assembly optimizationsPietro Cerutti2013-05-151-0/+20
| | | | Notes: svn path=/head/; revision=318232
* - Fix PLISTPietro Cerutti2013-05-141-0/+1
| | | | | | | Reported by: QAT Notes: svn path=/head/; revision=318139
* - Update to 1.7.39Pietro Cerutti2013-05-132-3/+3
| | | | | | | | | | | | | | | | | Changes: * Small changes to return types in FXIO (and subclasses) for flush(), eof(). * FXSemaphore implemented in terms of mutex and condition on MacOSX and Minix. * FXMat4d and FXMat2d AVX accelerated when compiled for AVX. * ADA programming language patterns added to Adie's syntax file. * Fix in PathFinder escapement of filenames prior to spawning process to open document. * Compile-time check improved before implementing call to utimensat() in FXStat. Notes: svn path=/head/; revision=318099
* - Update to 1.7.38Pietro Cerutti2013-03-283-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Totally revamped implementation of FXThreadPool. The new FXThreadPool is organized about a lock-free queue, with semaphores managing synchronization between producer- and worker-threads. Thus, threads never block unless two edge conditions are reached: either the task-queue is empty, in which case worker threads will block (nothing to do), or task queue is filled up, and producer thread will block (no room in queue). An important new capability is for an additional thread to enter into the task-processing loop temporarily. Finally, the thread starting FXThreadPool, as well as the worker threads belonging to the FXThreadPool now have a thread-local variable referencing the FXThreadPool. This allows the threads involved to locate the address of the FXThreadPool, for instance to create an FXTaskGroup. * New FXTaskGroup class manages groups of task to be executed in parallel on a FXThreadPool. Tasks started through the FXTaskGroup interface are guaranteed to be completed within the lifetime of the FXTaskGroup instance. * New FXParallelInvoke and FXParallelFor template functions to implement parallel function call, and parallel for loop. This uses the new FXTaskGroup, and indirectly, FXThreadPool. * Pass optional stacksize when constructing FXWorker. Added stacksize option to FXThreadPool with which new workers will be started. * FXBarrier wait primitive now sports API's to change break-through threshold, and forced-release option. * FXSemaphore now has API's for timed wait, and try-wait for non-blocking semaphore decrement. * Added additional atomic variable types in FXAtomic.h. * Added check for maximum dash-pattern length in FXDC and FXDCWindow. * Fixed some issues with FXStat of files. * Off-by-one error fixed in FXRex counted repeat of complex subpatterns. * Clear internal text pointers in FXRex prior to a match. * Added a few missing print-patterns to Adie.stx syntax file. * Added FXSemaphore-protected queue class FXSemaQueue; this is itself a wrapper around FXPtrQueue. * Added lock-free queue class FXLFQueue. * Numeric conversion issues fixed in fxstrtod.cpp; in particular, some corner cases now give more accurate results. * The function fxscanf.cpp does no longer eat the "e" when scanning for a number, unless actually followed by digits. * Switch to statvfs() from statfs() in FXStat. * Indexing operator added to FXAutoPtr. * Added new class FXScopedThread. FXScopedThread automatically performs a join() upon destruction. Notes: svn path=/head/; revision=315451
* This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.Eitan Adler2013-03-191-1/+1
| | | | | | | | | | | | If a port used other USE_GNOME items it was untouched. The ports that used other USES were fixed by hand. PR: ports/177081 Reviewed by: bapt Approved by: portmgr (miwi) Notes: svn path=/head/; revision=314640
* - Remove USE_GCC - builds fine with clangPietro Cerutti2012-12-171-1/+0
| | | | Notes: svn path=/head/; revision=309090
* - Update to 1.7.37Pietro Cerutti2012-11-272-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Added auto-numbering in FXHeader. * Added alpha-numbering in FXHeader. * Fixes to FXProcess implementation on Windows. * Fixed aligned to unaligned store in FXMat2f SSE implementation. * Slightly stricter TGA header recognition. * Removed FXSemaphore value() API. Never used, and not really useful. * FXRecentFiles allows for up to 32 entries; still defaults to 10, however. * Fix in Windows non-UNICODE implementation of FXStat created(), accessed(), and modified() API's. * Added API's to FXWorker class. * Added API to FXPtrQueue class. * FXPath::contract() should only replace whole path-components. * Prototype of wndproc() was not correct for 64-bit Windows. - Trim Makefile headers Feature safe: yes Notes: svn path=/head/; revision=307849
* - Update to 1.7.36Pietro Cerutti2012-08-303-8/+8
| | | | | | | | | | | | | | | | Changes: * FXPath::match is now UTF-8 aware in matching filenames. * Keep directories up front in FXFileList. * FXTable API additions for spanning cells. * FXTable fixes to issue only single callback for spanning cells if multiple columns/rows fall in selection rectangle. * Added GO Language support for Adie Text Editor. * Added TENA .tdl Language support for Adie Text Editor. * Switch to C++ casts in certain places kills of const cast warnings. * The fox-config file for FOX project development has been re-instated. Notes: svn path=/head/; revision=303374
* - Remove CONFLICTS between x11-toolkits/fox16 and x11-toolkits/fox17 byPietro Cerutti2012-08-132-12/+23
| | | | | | | | | installing FOX-1.7 binaries in bin/fox-1.7 and suffixing its manpages with -17 (e.g., shutterbug -> shutterbug-17) - Bump PORTREVISION on both ports Notes: svn path=/head/; revision=302463
* - Update to 1.7.35Pietro Cerutti2012-08-064-42/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New feature in FXHeader control: auto-renumbering captions based on renumbering function; if a renumbering function (which computes the caption from the caption index) is set, then captions are automatically recomputed when the number of items in the FXHeader is changed. * Updated FXTable to use this new feature in FXHeader. The old options for renumbering have been removed. * Porting problem in FXMat4d, FXMat4f fixed, for CYGWIN32. * Added API's to FXTable to return first and last row (or column) of a spanning cell. * Added API to check if a cell is horizontally spanning or vertically spanning. * Cutoff angles in FXQuatd are smaller than in FXQuatf, due to much greater precision of doubles versus floats. * FOX on Raspberry Pi coming soon (I got one on order!). * Added FXRandom fast, long-period, thread-safe psuedo-random number generator. * Gamma-corrected image scaling option added. * FXPath::relative() corner-cases fixed. * FXPath::isHidden() now faster by scanning backward. * Adie syntax highlight algorithm had some possible issues. * Now expand context when incrementally recoloring. * Include glext.h on Windows; missing symbol otherwise. * Updated list of C++ keywords in Adie.stx style coloring file. * Added enable/disable item API's to FXComboBox, FXListBox, FXTreeListBox. * Added expression evaluate feature to Adie text editor. * Internal anynymous name spaces introduced in FXExpression and FXRex due to symbol clashes on some compilers. * Added ?: alternative expression to FXExpression. * Array indexing problem fixed in FXFont. * Typo fixed in FXAtomic.cpp. - Use new OPTIONS framework Notes: svn path=/head/; revision=302167
* Switch from libglut to freeglut and retire libglut. Libglut hasn't beenKoop Mast2012-08-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | developed in years and has been dropped from the MESA 8.0 distribution. Freeglut is a rewrite of glut and is actively developed and is used by many linux distributions instead of libglut. Bump all ports that directly depend on libglut because of the shlib version change. There are some extra items in this patch. *) Because freeglut doesn't have the same dependancies as libglut, some ports need extra dependencies added to USE_XORG to make them build. *) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped with libglut. *) Remove option for libglut/freeglut selection in games/cake, only freeglut remains now. *) While here fix a png related build issue games/vegastrike. Thanks to miwi for running the exp-run. Approved by: portmgr (miwi) Collaboration with: zeising@ Obtained from: xorg-dev staging area. Notes: svn path=/head/; revision=302037
* - Unbreak on i386Pietro Cerutti2012-06-212-5/+10
| | | | | | | Thanks to: tabthorpe@ for the i386 build env Notes: svn path=/head/; revision=299730
* - unbreak on amd64 <9 by depending on GCC 4.4+Pietro Cerutti2012-06-202-7/+16
| | | | | | | - i386 remains broken, for now Notes: svn path=/head/; revision=299692
* - update png to 1.5.10Dirk Meyer2012-06-011-1/+2
| | | | Notes: svn path=/head/; revision=297915
* Mark BROKEN on i386: does not buildErwin Lansing2012-05-311-0/+4
| | | | | | | Submitted by: pointyhat Notes: svn path=/head/; revision=297857
* - Update to 1.7.33Pietro Cerutti2012-05-022-5/+5
| | | | | | | | | | | | | | | | | | | * Fixed TIFF image save/load. * Fixed quaternion arc() for vectors that are 180 degrees apart. * Some tweaks in FXAtomic: more optimal code for non-PIC compiles; also, check for PIE (position independent executable). * Fixed problem in FXRex regarding non-ASCII characters. * Repaired some broken syntax patterns in Adie.stx syntax file. * SSE-ified lerp() API added to vector classes. * Fixed SSE unaligned store problem in FXMat4d; exhibited itself on 32-bit systems. * Setjmp()/longjmp() issue fixed in fxpngio.cpp. * Operator FXbool in FXAutoPtr and FXRefPtr interfered with comparison operators; removed it. * Added API's to FXMat4 classes. * Added serialization capability to FXExpression class. Notes: svn path=/head/; revision=295858
* - Update to 1.7.32Pietro Cerutti2012-01-054-22/+35
| | | | | | | | - Remove old patch (fixed upstream) - Make supported image formats optional Notes: svn path=/head/; revision=288546
* - Update to 1.7.31Pietro Cerutti2012-01-032-4/+4
| | | | | | | See http://www.fox-toolkit.org/news.html for release notes. Notes: svn path=/head/; revision=288462
* Mark as broken on powerpc: fails to link.Mark Linimon2011-12-281-0/+3
| | | | | | | Hat: portmgr Notes: svn path=/head/; revision=288158
* - Update to 1.7.30Pietro Cerutti2011-10-273-18/+3
| | | | | | | See http://www.fox-toolkit.org/news.html for release notes. Notes: svn path=/head/; revision=284440
* - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)Dmitry Marakasov2011-09-231-3/+2
| | | | | | | | | | | | - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav Notes: svn path=/head/; revision=282282
* - Update to 1.7.29Pietro Cerutti2011-09-152-3/+3
| | | | | | | See http://www.fox-toolkit.org/news.html for release notes. Notes: svn path=/head/; revision=281795
* - Add the pthread library to the pkg-config "libs" optionPietro Cerutti2011-08-051-0/+1
| | | | Notes: svn path=/head/; revision=278948
* - Update to 1.7.28Pietro Cerutti2011-08-053-3/+18
| | | | Notes: svn path=/head/; revision=278943
* - update to 1.7.27Pietro Cerutti2011-08-025-14/+31
| | | | Notes: svn path=/head/; revision=278775
* - Mark BROKEN on amd64 <9:Pav Lucistnik2011-05-301-6/+3
| | | | | | | | | | /tmp/ccxiyuN3.s:247: Error: no such instruction: `cmpxchg16b (%rbx)' - While here, remove obsolete conditional Reported by: pointyhat Notes: svn path=/head/; revision=274835
* - Update to 1.7.26Pietro Cerutti2011-05-195-31/+10
| | | | | | | Changes: http://www.fox-toolkit.org/news.html Notes: svn path=/head/; revision=274294
* - Update to 1.7.25Pietro Cerutti2010-12-204-22/+24
| | | | | | | | | | | | | | | | | | | | Changes since last port update (1.7.23) * Added FXMat2f, FXMat2d. * Vectorized many functions in FXMat2d, FXMat2f, FXMat3d, FXMat3f, FXMat4d, FXMat4f (using SSE/SSE2/SSE3). * Some fixes to FXPath::isInside(). * Fix to drawImage() in FXDCPrint. * Added FXPtrList. * Add FXbool return value to some API's in FXArray. * Change in configure.ac to check intrinsics header files with modified compiler flags; header files are not compilable with default options. * Updated Borland C++ makefiles. * Update Visual Studio 6 project files with missing headers. * Small fixes in FXAutoPtr.h. * Change some inlined API's of FXProgressDialog to non-inline. Notes: svn path=/head/; revision=266651
* - Update to 1.7.23Pietro Cerutti2010-10-113-4/+5
| | | | | | | Announcement: http://sf.net/mailarchive/message.php?msg_name=20101006001103.598031d8%40fox-toolkit.com Notes: svn path=/head/; revision=262816
* - Try to actually fix build on amd64Pietro Cerutti2010-09-271-2/+11
| | | | Notes: svn path=/head/; revision=261969
* - Quick & dirty hack to fix build on amd64, until someone familiarPietro Cerutti2010-09-271-0/+11
| | | | | | | | | with amd64 assembly fixes it. Reported by: QAT Notes: svn path=/head/; revision=261955
* - Update to 1.7.22Pietro Cerutti2010-09-274-15/+16
| | | | | | | | Announcement: http://sf.net/mailarchive/message.php?msg_name=20100925132949.77bd7d9e%40fox-toolkit.com Notes: svn path=/head/; revision=261939
* - Fix typoPietro Cerutti2010-08-241-1/+1
| | | | | | | Reported by: cognet Notes: svn path=/head/; revision=259912
* - New port: fox-1.7.21Pietro Cerutti2010-08-245-0/+562
This is the development branch of the FOX ToolKit. Notes: svn path=/head/; revision=259907