1.7.6713 Sep 2019 16:05
Two subtle in new double to string conversion fxprintf.cpp; first, compiler optimization
Caused code to be generated that overflowed, making results incorrect when optimization was on.
Second, another (unrelated) overflow situation happened converting double to unsigned long.
Now that both are I believe we have a very fast numerical conversion that appears to be
Reliably generating about 15 to 16 digits out output last digit may be off by 1 or 2 in typical
Case .. Allow more bookmarks in FXFileSelector, for frequently visited directories.. Work-around for operating systems missing lrint() and lrintf() in fxmath.h. Testing reveals replacement
Implementation to be very to original, with exception of tie-breaking rule rounding numbers that are
Exactly midway between two integers; we are, however, mostly happy with the way our implementation works
if lrint() is needed on an operating system where theses functions are missing.
1.7.6505 May 2019 07:25
FXJSON now has JSON5 JSON5 support; line-comments, multi-line comments,
Unquoted key names, etc.. Experimental block-selection in FXText widget.. fxscanf.cpp to be able to read NaN and Infinity/Inf.. strtod() to recognize Infinity.. The escape() of empty string returns "", not empty string.. The unescape() supports line-continuations.. Additions to Math namespace.. Additions to FXQuatd and FXQuatf.. Some missing functions added to FXExpression.. FXPath::convert() transforms foreign operating system-style paths to local conventions (path separator, path list separator,
Environment variable syntax).. Improved FXPath::expand().. FXThread::wakeat() now using absolute time on Windows (using undocumented API).. FXReverseDictionary class added.. FXDirWatch class added.
1.7.6422 Feb 2018 18:25
Switched FXDir to use readdir() instead of now-deprecated readdir_r(). Supposedly now
Thread-safe.. Some internal streamlining in FXRex.. In FXText, duplicate line leaves cursor in place, but highlights the new line (if you duplicate one too
Many, you can therefore immediately delete it again).. Add some help messages for PathFinder's Preferences dialog.. Add columnFromPos() and posFromColumn() functions in FXText.. in FXText not recalculating width if only single line present (was introduced recently).. FXRex reverse algorithm was not working for verbatim mode; it does now.. Some limitations on FXRex regex-reversal algorithm removed.. Adie open-selected rework had introduced some ; is now.. Added new convenient API's to Math namespace.. Added new API's to vector classes.. FXText block select, block copy to clipboard, and block delete now work.. FXText shiftText() had minor shifting text containing tabs; this has been dealt with
in a very sophisticated way, an internal routine which is also needed for block operations.
1.7.6215 Dec 2017 13:25
Newly added arbitrary-length look-behind assertions in FXRex are a bit more bullet-proofed.. Some with partially filled buffers in FXText.. Large number of updates to syntax patterns in Adie.stx.. some minor in reversing of regular expressions, needed for arbitrary-lookbehind assertions in regular expression engine.. in FXDispatcher.. Added disconnect API to FXCallback, the new fast delegation class.. Word boundary in back-scanning regex engine.. FXRex empty branch ; empty branches no longer allowed.. Removed limitations on message lenghts in fxerror(), fxwarning(), etc.. In FXRex, when patterns are reversed, some escape sequences are dangerous; partially, this could be by requiring that the hex escape sequence require two hex characters. For octal character sequences,
However, this can not be done, so those are flagged as unsupported in look-behind patterns.. Some for Windows build.. Added API to FXPath to check if a filename is a reserved filename, such as "COM1", "PRN" etc.. FXDirBox flicker, particularly under Windows, due to bad implementation.. The call to ::system() does not work as desired under Windows. Calls to ::system() are used to spawn
Child processes, for instance, clicking on an icon in PathFinder. These calls have now all been replaced by
Newly developed APIs in FXPath, like parseArgs().. A Windows-specific version of parseArgs() has been added, it follows Windows commandline escaping rules.. More options in file-associations for launching applications from PathFinder.
Applications may be launched with the current file ( f), the list of all selected files ( F), the url of the current file ( u),
The url's of all selected files ( U), or the current directory ( d).
These options can be used at the same time, for instance, an association "tar cvfz d.tar.gz F" would tar up all the selected files
Into an archive that's named after the current directory.. Updated Makefile colorizing.. PathFinder now as its own notion of executable paths; this allows user
1.7.6123 Sep 2017 18:25
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
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
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
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
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
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
1.7.5522 May 2016 12:25
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
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
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
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
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
Syntax-colors in Adie can now be language-specific. Language families like C/C++/C#/Java share common
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 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
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
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
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