FOX Toolkit 1.7.61

FOX is a C++ framework for graphical user interfaces. It provides an effective and simple API, traditional but platform-agnostic themes, many common widgets and controls, drag'n'drop support, selections, icons/images, tooltips and hover widgets, but also 3D features per OpenGL. Its speed comes from conservative memory management, spatial redrawing, and bi-directinal event/message passing between GUI elements.

Tags c++ gui fox toolkit
License GNU LGPLv3
State development

Recent Releases

1.7.6123 Sep 2017 18:25 minor feature: Regular expression now supports non-simple possessive matching.. Possible signed character in fxscanf.. Some better feedback in Adie while searching patterns in multiple files.. Find in files in Adie remembers last-used patterns and folders.. APIs added to FXText to manage virtual columns (columns past end of line). This will be needed For block select operations.. FXIconList lasso speedup, especially when YUGE numbers of files in a folder.. Minor PathFinder spruce-ups.. New APIs in FXPath: parseArgs() builds argv vector from command line, suitable to passing to execve() (etc.) System calls (or FXProcess).. Improved enquote() and dequote() for UNIX in FXPath.. In Adie, ShellCommand now kicks off sub-command w/o needing a shell; uses new API parseArgs() to Assemble command and start sub-process with it.. Minor in FXCallback template.. Added rotate() to FXVec3d and FXVec3f.. Added additional APIs to FXAtomic.
1.7.6019 May 2017 00:05 minor feature: Context back-up changed in incremental syntax recolorizer (Adie).. Some typos here and there.. Configure script and makefile updates.. Many updates being worked on inside FXText.. Compiler warnings for GCC 6.3.1, which seems to flag a few new things.. Some FXText widget speedups.. in FXString.. Added visiting() API to FXDirVisitor.. Disable and enable buttons in FindInFiles dialog in Adie editor when starting/stopping searches.. Brace-matching change: matching brace can now stay visible as long as cursor on a brace (if enabled). Enabling permanent highlighting also makes the match search outside of the visible part of the text buffer, in case the matching brace is scrolled into view later. Thus, people with slow machines may notice brace-match could Take slightly more time, when working with really large files.
1.7.5915 Apr 2017 15:05 minor feature: Changed the way bookmarks are done in Adie; you can delete them one by one.. A fair number of changes and -in FXText widget.. Cursor doesn't blink during movement in FXText and FXTextField.. Limit accumulation of repaint-areas yields less visible flicker in some case.. Redraw of line numbers in FXText now with less flicker during resizing.. Adie text editor now supports adie, emacs, and vim modeline parsing; you can set language (syntax) mode, tab width, wrapping, and a few other things.. Dropped jump-scroll mode support in Adie: never used by anyone.. Some extra options added to Adie Preferences Dialog.. Syntax file for Adie can now force hard-tabs, autoindent, and other attributes. This means editing 'Makefile' will automatically switch hard-tabs on!!.. Adie on-line help updated with description of syntax for 'Adie.stx' syntax description file.. Documentation in FXAccelTable.h expanded to include syntax for accelerator keys.. Option for brace-matching added to FXText. Also, added option to keep brace highlighted forever, or until cursor moves or a selection is made.. Show 'indeterminate' state for checkbuttons in Preferences panel, if default settings for tab-mode, wrap-mode, auto-indent have been superceeded by Attributes from the syntax-file or a parsed modeline.. Added 'SaveTo' option in File Menu of Adie text editor.
1.7.5815 Mar 2017 22:05 minor feature: Adie improvement: don't clear bookmark selecting it 2nd time; now, remove bookmark by invoking "Delete Bookmark" With the cursor on the bookmark to be deleted.. Bookmarks now at start of line; thus, only one per line.. Use __buildin_bswapXX() only for GCC 4.8 and newer; older versions gy, apparently.. Added SaveTo option in Adie text editor.. FXText and FXTextField cursor blink ; don't blink while moving (so user doesn't lose track of where it is!).. When multi-file mode in FXFileSelector, enquote files only when needed; and escape quotes and backslashes if they appear.. FXFileSelector now returns filenames as typed into the box in all modes, including multi-file mode.. Now allow relative search paths in Adie file search paths. This means you can list places to look for files in your project Directory subtree, regardless of where the project subtree is referenced from; for example, "../include:/lib" will let you Open a file from "../include" when you're in "lib", and vice-versa.. FXFileList properly hops back to original directory when dragging over directories.. Major speedup in FXIconList lasso-selection mode. Much, much faster when lassoing items in very large folders.. FXFileSelector's getFilename() returns first of many, if box contains multiple names.. FXFileSelector scans for first non-wildcard extension when substituting extensions when filter is changed.. FXTreeList and FXFoldingList should SEL_EXPANDED message as side effect of makeItemVisible expanding a subtree.. Missing setPattern(), getPattern() API's added for FXDirDialog and FXDirSelector.. Added syntax pattern for hexadecimal floating point numbers.
1.7.5705 Dec 2016 08:25 minor feature: Use _InterlockedExchange() in FXSpinLock instead of non-inlined version.. Emulation code added for atomicBoolDCas(() if no built-in version available.. Some in FXXML parser.. Check for decode error in XML parser.. Encode non-ascii string in FXURL.. Return original user-data pointer in addTimeout() and addDeadline(), addChore(), and removeChore(). This allows one to Delete user-objects that may be referenced by those callbacks.. Added non-wrap mode as output format in reswrap.. Split off OpenGL objects from FOX library placed into separate glviewer subdirectory.. Use nanosecond-accurate stat() output, if available, in FXStat.. In FXText and FXTextField, can now use wide-character delimiters.. Only escape left and right quotes in FXString escape() if non-zero.. a problem in FXSpinner and FXRealSpinner.. Factory function on abstract classes (FXIMPLEMENT_ABSTRACT) now yields NULL object instead of cratering program.. FXApp runWhileEvents(() blocks for just a little bit, allowing for roundtrip in case last commands caused events.. Removed FXFile::rename() and FXDir::rename() in favor of FXFile::move().. Some improvements to PathFinder file manager.. Disallow assignment to FXObjectListOf and FXPtrListOf from rvalues not type-compatible with lvalue.. Added peek() API to FXPtrQueue.. Namespace preneeded in FXIMPLEMENT_ABSTRACT macro.. In FXDirVisitor, check both file index (inode number) and volume id, as file indexes may be same on different volumes.. In FXDirVisitor, drastically reduce number of system-calls by passing FXStat results when recursing.. to selection-tracking variables in PathFinder.. Improvements in fxscanf.cpp scanning digit groupings; not perfect yet however.. Added API in FXDirVisitor to allow access to FXStat result while in callback; this can further reduce system calls.. Some corner cases in FXPath::absolute().. in FXFile::copy().. Updates to Adie.stx default language syntax file.. Compiler warning.
1.7.5626 May 2016 21:25 minor feature: Removed quoted string length limitation in XML parser.. Removed comment length limitation in XML parser.. Pass all text of processing instruction in one single callback from XML parser.. XML declaration now only recognized if followed by whitespace.. Updated Visual Studio 2008 project files to add enable intrinsics flags. This was causing problems compiling FXAtomic file.. In FXAtomic, favor inlined x86 or x86-64 assembly over GCC builtins, due to spotty implementation of these primitives.. Quoted string in XML could have newlines or blanks; adjusted parsing routine to not lose track of line and column numbers while parsing Over strings.
1.7.5522 May 2016 12:25 minor feature: Added XML Parser capability. This is a SAX parser, which generates callbacks for each XML element encountered. There are two new classes, FXXML which is the core parser class, and FXXMLFile which parses files or inputs from devices. The FXXML class may also be used to parse from memory buffers.. FXWSQueue implements a work-stealing queue. A Work-Stealing queue supports a single thread adding or removing jobs from The front end, and multiple threads removing jobs from the backend.. PathFinder now has new ways to select files quickly: by means of wild-card patterns. The new selection method is based on the list of file-patterns available from the normal filter drop-down Box (which may be configured from the Settings Panel). It can be invoked from Edit/Select Files menu.. New fxmath function fclamp() added; usually, this is implemented in terms of fmax() and fmin() which are Branch-free on many machines.. Using new Math functions in most places inside library itself.. Added line to box (2D) functions to FXExtent.. FXText shows block-cursor when in overstrike mode.. in case clearElms() is used with volatile pointers.. More work done on FXDispatcher.. Dont add accelerators for strings on Bookmarks menu in Adie editor.. Escape amp; in FXRecentFiles to avoid accidentally installing accelerator.. index type in FXGLObject.. Added new classes for generic callback infrastructure, FXCallback. To support older compilers, The current implementation does not yet use varyadic templates (maybe at some future time, it will). The new FXCallback mechanisms are already in use in FXXML and will soon be used in FXDispacher as well.. Some in FXJSON.. Missing va_end() in fxprintf() and fxcanf(). Not serious on most compilers, however.. Updated syntax patterns for Adie editor.. In fxscanf(), a n does NOT increase return count.. Thousands grouping in fxprintf().. FXVariant (and other collection classes) indexed with FXival instead of FXint. Allowing for 64-bit very large data structures.. M
1.6.5116 Mar 2016 10:05 minor feature: Small for 64-bit casts in dctest.cpp (compiler warning ).. JPEG image I/O color spaces handled better.. FXApp input callback message ID for SEL_IO_EXCEPT was wrong.. Change in how FXStat determines if a file is an executable (Windows).
1.7.5407 Jan 2016 16:45 minor feature: New namespace Math collects most math library calls in C++ namespace; also on Windows, implements missing math functions Where needed. This includes single-precision math functions, and thus old macros for these have been removed.. Help-file in Adie now regenerated during build from plain-text source.. Block-cursor in FXText when in overstrike mode.. Join-lines operation added to Adie.. Removed deprecated API's from FXComplexd and FXComplexf.. Updated VC++ project files.. Handle NaN and Inf on floating point string input (fxstrtod).. FXPath::isHidden() should work on Windows.. Warnings in fxstrtoll() and fxstrtoull().. Added at() API's to FXVariant, like FXDictionary and FXArray have (syntactical convenience).. Use FXival for FXVariant which allows large sizes on 64-bit machines.
1.7.5327 Nov 2015 13:25 minor feature: FXFontDialog initialized to sensible size when first-ran.. FXPath::match() algorithm major correctness improvements for nested patterns, and better error Detection for broken patterns.. some layout in PathFinder when choosing large fonts, menubar icons were not centered vertically.. Dialog to search files for regular expression in Adie now fully functional.. Invalidated bookmark locations could cause trouble when bookmark menu popped up; now.. Some functions refactored in Adie.. Minor problem in groupbox example application.. Added facility to change scroll bar width in ControlPanel.. Added checkbutton to search only for first occurrence of pattern in file in FindInFiles dialog.. Pass base directory of search to FindInFiles visitor so we can relativize paths to it when recording search matches.. Zero array in FXIcon to shut up valgrind.. FXComplexf and FXComplexd APIs more compatible to standard C++ library: added norm(), abs(), arg(), exp(), log(), and conj(). The old names conjugate(), logarithm() and exponent() will probably be deprecated.. Some improvements to Adie's incremental search capability.. FXDirVisitor recursion limit added.. FXDirVisitor now has skip as well as early-out return mode.. Included paper reference motivating FXRandom shift-xor counts changes.. Change file mode improvement in PathFinder.. FXPath::isValidPath() API added.. Some to PathFinder directory handling.. Expand environment variables when switching directories in PathFinder.. Some compiler warnings.. FXThread priority.. FXSettings parser.. Incremental search history now being saved in Adie.. Backward search in Adie.. Search and Replace Dialog.
1.7.5202 Jul 2015 10:25 minor feature: Squeeze out useless instruction from fxgetticks().. Add adopt() of FXVariantArray API to FXVariant.. Fixes in Adie syntax parser.. Problem in FXIODevice fixed.. CMYK color conversion in JPEG image support fixed.. Improved FXRandom implementation.. Escape key to close dialogs now handled via FXAccelTable instead of hard-wired.. FXReplaceDialog search history implementation improvement.. Improvements to FXDirVisitor, and added early-out option.. Fix Adie text editor core-dumping issue with backward searches.. FXPath::match implementation improvements; more to come.. Added return codes to FXIO, FXIODevice.. Added setMode() API to FXIO, FXIODevice.. Early-out in dictionary classes.. Improved speed of failed search in dictionary classes.. Better docs on FXExpression.. Execute shell commands feature added to Adie.. Scrolling Syntax menu in Adie; list of supported languages getting too big.. Added some protection to FXMessageChannel.
1.7.5116 Mar 2015 13:45 minor feature: Syntax-colors in Adie can now be language-specific. Language families like C/C++/C#/Java share common syntax-colors. Syntax-colors in Adie now have initial (default) foreground color value in Adie.stx file. End-user can change, however. Fixed syntax-file parser in Adie: token hash incorrectly calculated. Fixed uninitialized value issue in FXFileSelector, flagged by Valgrind. Use thread-safe time functions on Windows, when available. Fixed potential endless loop in FXText::findText(). Some fixes for VS2008. Removed deprecated FXMutexLock in favor of FXScopedMutex. Many standard clipboard types pre-registered now. Charset conversions moved into FXWindow getDNDData(), setDNDData(). UTF8, UTF16, and ASCII support, for FXString. Off-by-one error fixed in fxscanf() when scanning character-sets. Template FXHashOf added. New class FXDispatcher being implemented (experimental). Insertion of command output into Adie text buffer is now undo-able. Log-window added to Adie; pops up when executing command outputs to stderr. Implement Larsson, Moeller, Lengyel sphere-box overlap algorithm; use branch-free fmax, fmin, fmaxf, fminf where possible. Fix warning in fxendian.h. Added encode/decode URL feature to Adie. Equality operator in FXVariant has been removed. Inherit handle option works on Windows. Added return codes to FXIO, FXIODevice. Added setMode() API to FXIO, FXIODevice. Early-out in dictionary classes. Improved speed of failed search in dictionary classes. Better docs on FXExpression. Execute shell commands feature added to Adie. Scrolling Syntax menu in Adie; list of supported languages getting too big. Added some protection to FXMessageChannel.
1.7.5012 Nov 2014 13:45 major bugfix: Major changes in the regular expression engine. New API amatch() for anchored match, and new API search which replaces match(). More sensible parameter order and moved some flags from run-time to compile time. Internals of FXRex are now ready for UTF8 matching; however parsing part will need to follow before these new capabilities can be put to use. FXRex::substitute() now interprets the usual escape sequences when creating replacement pattern from regular expression match captures. Speedup in FXText getByte(), getChar(), etc. by introduction of branch-free handling of gapped-buffer accesses. Moved hard-wired search and replace dialogs out of FXText and into Adie text editor; this is part of the FXText widget slim-down program. Adie text editor search and replace improvements. Basically, stream-lines mouse-free usability. Adie incremental search bar now pops up at bottom of window. This is much less disruptive as text does not get "pushed down" when this toolbar pops up. The FXHash find() routine now returns the slot index, or -1 if not found. If you use FXHash you should be aware that simply replacing find() by at() will fix your code to the new system. This was done based on request from a user who noted the find() API in FXHash behaved differently from the find() in FXDictionary. Strip leading and trailing space from display in Adie's bookmark menu. Added ParallelMax constant declaration for FXParallelFor. Change to FXText findText() API. The new version can perform not only forward and backward search, but also anchored match. The anchored match is performed if neither SEARCH_FORWARD or SEARCH_BACKWARD flags are passed. Goto Line dialog moved from FXText to Adie text editor proper (also part of FXText widget slimdown program). Adie Replace Dialog now has Search button. Adie Replace Dialog Replace function now first checks if current highlighted text is the one being searched for, and only searches further if it isn't. This logic will therefore replace already hi