Commit graph

31 commits

Author SHA1 Message Date
Pietro Cerutti
d236988dec - Update to 1.7.38
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.
2013-03-28 08:27:37 +00:00
Eitan Adler
334eb0fc61 This changes almost all the "gnomehack" only USE_GNOME cases to USES= pathfix.
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)
2013-03-19 13:04:30 +00:00
Pietro Cerutti
50d826a703 - Remove USE_GCC - builds fine with clang 2012-12-17 13:29:40 +00:00
Pietro Cerutti
68d92936b0 - Update to 1.7.37
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
2012-11-27 15:51:54 +00:00
Pietro Cerutti
f74c314361 - Update to 1.7.36
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.
2012-08-30 14:17:38 +00:00
Pietro Cerutti
1ebd8e8929 - Remove CONFLICTS between x11-toolkits/fox16 and x11-toolkits/fox17 by
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
2012-08-13 10:46:26 +00:00
Pietro Cerutti
e6a5758a41 - Update to 1.7.35
* 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
2012-08-06 11:47:16 +00:00
Koop Mast
5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
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.
2012-08-04 22:52:02 +00:00
Pietro Cerutti
6332627a9e - Unbreak on i386
Thanks to:	tabthorpe@ for the i386 build env
2012-06-21 14:26:33 +00:00
Pietro Cerutti
8e529b0fa0 - unbreak on amd64 <9 by depending on GCC 4.4+
- i386 remains broken, for now
2012-06-20 15:23:57 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Erwin Lansing
0edee54f84 Mark BROKEN on i386: does not build
Submitted by:	pointyhat
2012-05-31 07:25:35 +00:00
Pietro Cerutti
69f280b5ea - Update to 1.7.33
* 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.
2012-05-02 13:40:56 +00:00
Pietro Cerutti
277236d9bb - Update to 1.7.32
- Remove old patch (fixed upstream)
- Make supported image formats optional
2012-01-05 16:15:26 +00:00
Pietro Cerutti
e1e2dde8fa - Update to 1.7.31
See http://www.fox-toolkit.org/news.html for release notes.
2012-01-03 09:45:07 +00:00
Mark Linimon
b7be40e900 Mark as broken on powerpc: fails to link.
Hat:		portmgr
2011-12-28 07:12:55 +00:00
Pietro Cerutti
3101e1485c - Update to 1.7.30
See http://www.fox-toolkit.org/news.html for release notes.
2011-10-27 13:27:50 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- 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
2011-09-23 22:26:39 +00:00
Pietro Cerutti
b87a0c7aab - Update to 1.7.29
See http://www.fox-toolkit.org/news.html for release notes.
2011-09-15 10:24:45 +00:00
Pietro Cerutti
633bcc7f16 - Add the pthread library to the pkg-config "libs" option 2011-08-05 09:48:07 +00:00
Pietro Cerutti
a8dd5eee1d - Update to 1.7.28 2011-08-05 07:46:53 +00:00
Pietro Cerutti
9c1e21859f - update to 1.7.27 2011-08-02 09:17:35 +00:00
Pav Lucistnik
9b3059728a - Mark BROKEN on amd64 <9:
/tmp/ccxiyuN3.s:247: Error: no such instruction: `cmpxchg16b (%rbx)'
- While here, remove obsolete conditional

Reported by:	pointyhat
2011-05-30 21:35:56 +00:00
Pietro Cerutti
f5b7ad0280 - Update to 1.7.26
Changes: http://www.fox-toolkit.org/news.html
2011-05-19 08:32:12 +00:00
Pietro Cerutti
f2f9c325f2 - Update to 1.7.25
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.
2010-12-20 15:42:07 +00:00
Pietro Cerutti
6b23f42688 - Update to 1.7.23
Announcement: http://sf.net/mailarchive/message.php?msg_name=20101006001103.598031d8%40fox-toolkit.com
2010-10-11 11:41:32 +00:00
Pietro Cerutti
3c854f9c62 - Try to actually fix build on amd64 2010-09-27 19:20:13 +00:00
Pietro Cerutti
7ce0d19bc0 - Quick & dirty hack to fix build on amd64, until someone familiar
with amd64 assembly fixes it.

Reported by:	QAT
2010-09-27 15:32:14 +00:00
Pietro Cerutti
e4102390d2 - Update to 1.7.22
Announcement:
  http://sf.net/mailarchive/message.php?msg_name=20100925132949.77bd7d9e%40fox-toolkit.com
2010-09-27 10:40:06 +00:00
Pietro Cerutti
d1834ab3b9 - Fix typo
Reported by:	cognet
2010-08-24 15:17:52 +00:00
Pietro Cerutti
fe08ee312b - New port: fox-1.7.21
This is the development branch of the FOX ToolKit.
2010-08-24 13:58:14 +00:00