You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3639 lines
149KB

  1. CHANGES IN FLTK 1.3.0
  2. New Features
  3. - Added UTF-8 Unicode support throughout FLTK and Fluid
  4. - Added Fl_Tree widget for hierarchical views
  5. - Added Fl_Table widget for widget layout
  6. - Added Fl_Native_Filechooser as a widget and global options
  7. - Added printing support (Fl_Printer class and friends) for native
  8. printing on Windows and Mac OS X, PostScript printing on X11
  9. with CUPS or lp, and PostScript file output on all platforms
  10. - Added basic Fl_Device abstraction layer for all drawing functions
  11. - Moved OS X code base to the more modern Cocoa toolkit thanks
  12. to the awesome work of Manolo Gouy (STR #2221)
  13. API and ABI compatibility to FLTK 1.1.x
  14. - All strings are expected to be in UTF-8 Unicode encoding
  15. - Replaced Fl_Scroll::position(int,int) with scroll_to(int,int)
  16. to avoid overriding Fl_Widget::position(int,int) (STR #1303)
  17. - Although FLTK 1.3 maintains source code compatibility as good
  18. as possible, the binary interface changed considerably.
  19. - Updated the bundled libpng to v1.5.1 (released Feb 3, 2011)
  20. - Updated the bundled libjpeg to v8c (released Jan 16, 2011)
  21. - Updated the bundled zlib to v1.2.5 (released Apr 19, 2010)
  22. API enhancements and changes
  23. - Changed font index to 32 bit
  24. - Changed font size to 32 bit
  25. - Changed widget coordinates to 32 bit
  26. - Corrected const methods of Fl_Text_{Buffer|Display|Selection}
  27. to be declared const, corrected an Fl_Text_Buffer attrib. typo
  28. - All draw() methods of widgets are now protected (STR #2142).
  29. - Changed Fl_Group::clip_children() to public (STR #2017)
  30. - Changed socket library to winsock2 (ws2_32.dll) instead of
  31. wsock32.dll for Windows. The dll is now loaded dynamically only
  32. if/when needed.
  33. - Changed hide() and show() methods. They are now virtual from
  34. Fl_Widget.
  35. - Added new label and image alignments (STR #2269)
  36. - Added global UI options (STR #2471)
  37. - Added class Fl_Widget_Tracker to simplify safe handling of widget
  38. deletion in callbacks. This is used in Fl_Widget::do_callback()
  39. to prevent accessing widgets after deletion in the callback.
  40. - Added sorting to Fl_Browser_ (STR #2113)
  41. - Added new method client_area() for easier positioning of children
  42. in Fl_Tabs (STR #2480)
  43. - Added interface to set color chooser mode (STR #2407)
  44. - Added Fl_Menu_::find_item by callback
  45. - Added loading jpeg images from memory
  46. - Added support for shortcuts for Fl_Input_, Fl_Value_Input, and
  47. Fl_Text_Display derived widgets (STR #1770)
  48. - Added Fl_Menu_ methods: insert(), find_index(), clear_submenu()
  49. - Hotspot behavior of fl_message() and other common dialogs is now
  50. optional (STR #2561).
  51. - Common dialogs like fl_message() and fl_ask() can now have a window
  52. title (STR #2562).
  53. IDE support and command line build options
  54. - FLTK now supports Apple Xcode 3, MS VisualC 2008, and
  55. MS VisualC 2010. MS VisualC 6 support is maintained as a
  56. compatibility base for VisualC.net, etc. . FLTK continues
  57. to support configure/make and improved CMake build files.
  58. - Added step by step README's for MSWindows, OS X, and four
  59. Linux distros.
  60. - Added "ide" subdirectory for all IDE support files
  61. - Added template to generate new projects with Xcode.
  62. - Added --enable-cairo and --enable-cairoext configure options.
  63. - redesigned CMake files (STR #2317).
  64. - The new configure option --enable-x11 (lowercase 'x') enables
  65. Cygwin builds under Windows (with --enable-cygwin) to use X11
  66. instead of GDI drawing (STR #2147, #2183) and is ignored otherwise.
  67. - Changed "fltk-config --post foo" to create an application
  68. bundle rather than attaching a resource fork.
  69. - Changed default for configure option --with-links for common
  70. misspellings on case sensitive file systems like Unix/Linux.
  71. The new default is --without-links; use --with-links on
  72. Unix/Linux only if you need the links (e.g. lowercase '.h')
  73. Fluid
  74. - Added argument-less constructor in Fluid Widget Class
  75. - Added jpeg support to Fluid image() element
  76. - Added binary data type to Fluid
  77. - Empty functions in Fluid no longer create an
  78. implementation (STR #2259)
  79. - Fixed internationalisation of menus using Fluid (STR #2246)
  80. - Fixed menu item counting issue in Fluid (STR #2322)
  81. - Fixed lost top item in Fluid's tree browser (STR #2233)
  82. - Fixed Fluid dependency on X11 (STR #2261)
  83. - Fixed Fluid textcolor output (STR #1992)
  84. - Fixed wrong default value of Fl_Spinner in Fluid (STR #1991)
  85. Documentation
  86. - Added documentation for event delivery (STR #1983)
  87. - Added Fl_Scroll::bbox() documentation (STR #1893)
  88. - Updated documentation for Fl_Input_
  89. - Updated Copyright dates to 2010 (STR #2036)
  90. - Updated mirror sites in documentation (STR #2220)
  91. - Fixed documentation for Fl_Progress (STR #2209)
  92. - Fixed documentation (added missing COMCTL32.LIB dependency)
  93. Other Improvements
  94. - Added drag'n'drop support for Fl_Text_*
  95. - Added visual feedback for button shortcuts (STR #2372)
  96. - Added callback when double-clicking file in a file chooser
  97. (STR #2346)
  98. - Added alternative Xft font names (STR #2215)
  99. - Added mouse!=0 check in Fl_Glut_Window::handle (STR #2381)
  100. - Added indexing to Fl_Preferences
  101. - Added OS X cursor control to Fl_Input (STR #2169)
  102. - Added menu shortcut alignment for OS X
  103. - Added drop box to UTF-8 test that will show the UTF-8 encoding
  104. for the first dropped character
  105. - Added flexible gap size for text buffer (STR #2046)
  106. - Added clarification to Fl_GL_Window mode function (STR #1945)
  107. - Added alternative text input awareness on OS X
  108. - Improved handling of composed keys in OS X 10.5 and up
  109. - Improved stability of fl_read_image (STR #2021)
  110. - Much faster fl_read_image() for Windows (STR #2387).
  111. - Improved support for faulty X11 clients (STR #2385)
  112. - Integrated default menu into Demo test app
  113. - Replaced _WIN32 symbols that had come with UTF-8 and the
  114. new Fl_Table widget with WIN32
  115. - Widgets now remove stale entries from the default callback
  116. queue when they are deleted (STR #2302)
  117. - Managing all Widget flags in a single location now (STR #2161)
  118. - File chooser preview now recognizes UTF-8 encoded
  119. text files (STR #2218)
  120. - Setting a default font for Xft (STR #2216)
  121. - Restructured the unittest application
  122. - Fl_Preferences.H now doesn't include windows.h any more
  123. (Windows only, STR #2173).
  124. - Fl_Window::draw() now doesn't reset its x/y-coordinates to 0
  125. anymore before drawing itself and its children.
  126. - Fl_Help_View handles HTML2 font color specification (STR #890)
  127. - Widgets now remove themselves from their parent group (if any),
  128. when destroyed (STR #1894)
  129. - Changed Fl_Group and Fl_Scroll to resize themselves before
  130. resizing their children (STR #2032)
  131. Bug Fixes
  132. - Fixed potential crash in fl_xid() on Linux (STR #2635)
  133. - Fixed keyboard navigation in fl_choice() (STR #2591)
  134. - Fixed alpha blending under X11 when line data size != 0 (STR #2606)
  135. - Fixed Fl_Tabs selection border drawing, if tabs are at the bottom
  136. of the widget (STR #2480)
  137. - Fixed Compiling with mingw-w64 (STR #2308).
  138. - Fixed crashes when detecting illegal UTF-8 sequences
  139. in Fl_Text_* widgets (STR #2348)
  140. - Fixed Fl_Text_Display Tabulator calculations (STR #2450)
  141. - Fixed file access code to use UTF-8 strings (STR #2440)
  142. - Fixed ARM Unicode cross compilation issue (STR #2432)
  143. - Fixed xclass support for Fl_Window (STR #2053)
  144. - Fixed Caps Lock handling in X11/XIM (STR #2366)
  145. - Fixed handling of missing fonts in Xft (STR #2355)
  146. - Fixed OpenGL hide/show issue in OS X (STR #2260)
  147. - Fixed File Chooser preview hang if a device was choosen
  148. - Fixed blinking of selection when the mouse was dragged
  149. outside of the Fl_Text_* widget
  150. - Fixed Unicode support for Fl_Text_* widgets
  151. - Fixed menu and shortcut handling (STR #2243)
  152. - Fixed fltk-config to give --libs on one line (STR #2408)
  153. - Fixed outside label redraw damage areas (STR #2436)
  154. - Fixed compile errors when HAVE_LIBJPEG was not defined
  155. (STR #2382)
  156. - Fixed special handling for ISO back-tab keycode (STR #2369)
  157. - Fixed static allocation in Fl_Tabs (STR #2370)
  158. - Fixed Fl_Widget::measure_label() to const (STR #2406)
  159. - Fixed unbalanced Windows OleInitialize/OleUnitialize calls
  160. when loading/unloading the FLTK dll (STR #2417)
  161. - Fixed X11/XDBE double buffering (STR #2152, #2197)
  162. - Fixed menu and tooltip window animation bug under X11 (compiz)
  163. by setting an appropriate window type (STR #2082)
  164. - Fixed max. fd calculation, if USE_POLL is enabled (STR #2324)
  165. - Fixed clipping for offscreen rendering (OSX, STR #2330)
  166. - Fixed possibility of wrong flags() in Fl_Window::iconlabel()
  167. (STR #2161)
  168. - Fixed Scrollbar events when max is less than min (STR #2283)
  169. - Fixed crash in test/Editor when freeing buffer
  170. too soon (STR #2294)
  171. - Fixed Fl_Preferences Cygwin wide character bug (STR #2164)
  172. - Fixed sorting in Fl_Browser - last item would not
  173. be sorted (STR #2300)
  174. - Fixed window levels in OS X Cocoa (STR #2316)
  175. - Fixed a buffer overflow in fl_utf8from_mb() (STR #2279)
  176. - Fixed a Windows GDI leak when testing alpha blending capabilities
  177. - Fixed crashes for recursive common dialogs (STR #1986, #2150)
  178. - Fixed a name conflict with new (VS 2008 Express) winsock2.h
  179. versions and another conflict that produced compile errors
  180. with VS 2008 Express (STR #2301)
  181. - Fixed all color related calls to Fl_Color type (STR #2208)
  182. - Fixed Fl_Choice contrast with light-on-dark settings (STR #2219)
  183. - Fixed X server "lock", if a modal dialog window is opened
  184. while a menu is active (STR #1986)
  185. - Fixed Windows compile bug with "#define USE_COLORMAP 0"
  186. (STR #2241)
  187. - Fixed glibc 2.10 compiler problems (Fedora 11 and others)
  188. with scandir() and strchr() (STR #2222)
  189. - Fixed OpenGL shared context handling (STR #2135)
  190. - Fixed gray-scale images with alpha channel (STR #2105)
  191. - Fixed unexpected shortcut behavior for Win32 (STR #2199)
  192. - Fixed fl_draw_image to obey the alpha channel (OS X only)
  193. - Fix for multiple popups, when dragging and calling fl_alert()
  194. and friends from the callback (STR #2159)
  195. - Fixed control key keycodes with modifiers on OS X
  196. - Fixed bad system menu handling in OS X (STR #2153)
  197. - Fixed File Input mouse pointer dragging (STR #2181)
  198. - Fixed 'del' keycode on OS X
  199. - Fixed OS X support for sending and receiving dnd data as UTF-8
  200. - Fixed Copy/Paste operations with UTF-8, UTF-16 support and
  201. fltk1.1 compatibility. (STR #2104, 2121).
  202. - Fixed fl_set_spot() for Windows (STR #2101)
  203. - Fixed callback that would not be called when shortcut was used
  204. with radio and toggle buttons in default FL_RELEASE mode.
  205. - Fixed a problem with TrackMouseEvent() (Windows only) that would
  206. generate wrong FL_LEAVE events with subwindows. TrackMouseEvent
  207. is now enabled by default (it was disabled for GNU compilers).
  208. It can be disabled by defining NO_TRACK_MOUSE.
  209. Improved test/subwindow.cxx (STR #2079)
  210. - Fixed menu position close to screen border (STR #2057)
  211. - Fixed adding an idle handler during a draw() call (STR #1950)
  212. - Fixed first modifier key event (STR #1952)
  213. - Fixed Fl_Scroll inside Fl_Scroll (STR #265)
  214. Removed features
  215. - Removed Watcom compiler support because it was introduced in
  216. 1.1.6 as a partial solution and never completed.
  217. - Removed an XForms compatibility "feature" that prevented the
  218. down array of Fl_Menu_Button from drawing (STR #2141).
  219. - Removed support for gcc 2.x (or older)
  220. - Removed redundant Fl_Group casts
  221. CHANGES IN FLTK 1.1.9
  222. - Improved color contrast in secondary selection blocks
  223. of Fl_Text_Display (STR #1917)
  224. - Fixed regression in callback handling (STR #1918)
  225. - Fixed wrong relative path when absolute path has a
  226. trailing slash in fl_filename_relative (STR #1920)
  227. - Fixed multiple selection of files and directories in
  228. Fl_File_Chooser (STR #1913)
  229. - Fixed MSWindows crash when selecting umlauts
  230. in Fl_Help_View (STR #1912)
  231. CHANGES IN FLTK 1.1.8
  232. - Documentation fixes (STR #1454, STR #1455, STR #1456,
  233. STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
  234. STR #1639, STR #1645, STR #1644, STR #1792, STR #1793,
  235. STR #1742, STR #1777, STR #1794, STR #1827, STR #1843,
  236. STR #1796, STR #1815, STR #1726, STR #1753, STR #1855,
  237. STR #1862, STR #1867, STR #1874, STR #1888)
  238. - Fixed library path in Makefile (STR #1885)
  239. - Fixed image read for partial regions on X11
  240. (STR #1716)
  241. - Fixed KDE/Gnome icon paths (STR #1795)
  242. - Fixed Tab key to wrap around menu bars (STR #1877)
  243. - Fixed possible timer leak in Scrollbar (STR #1880)
  244. - Added documentation about the potential limitations
  245. of Fl::grab on newer operating systems (STR #1747)
  246. - Fixed lockout when mixing popups and alerts
  247. (STR # 1869)
  248. - Fixed recursion crash in event handling (STR #1873)
  249. - Fixed missing return code in 'fltk-config' (STR #1875)
  250. - Fixed inconsistencies with CHANGED flags (STR #1719)
  251. - Fixed message sent to hidden widgets (STR #1849)
  252. - Fixed width calculation in Fl_Help_View (STR #1868)
  253. - Fixed offset bug in OS X pixmap code (STR #1856)
  254. - Fixed potential buffer overrun
  255. in Fl_Preferences (STR #1853)
  256. - Fixed method attributes in consecutive class
  257. declarations in FLUID (STR #1741)
  258. - FLUID checks for seperately declared callbacks to
  259. avoid a bogus "extern" declaration (STR #1776)
  260. - Added "protected" class memebrs in FLUID
  261. - Double-clicking a widget in a FLUID layout will show
  262. the item in the widget browser
  263. - Fixed color highlighting in Text_Display
  264. - Fixed 16 bit PNM image support (STR #1847)
  265. - Fixed exposure event on zero size windows (STR #1824)
  266. - Fixed overlay offset for OS X Quartz (STR #1729)
  267. - gl_font() support for Xft+X11 (STR #1809)
  268. - Fl_Gl_Window::mode() needed to hide and show the window
  269. when toggling stereo mode (STR #1846)
  270. - Fl_Gl_Window::show() did not work reliably on Mac OS X
  271. (STR #1707)
  272. - Added Fl_Group::clip_children() methods to support
  273. automatic clipping of child widget drawing (STR #1844)
  274. - Fl_Browser_ and friends now support FL_WHEN_ENTER_KEY
  275. for both Enter/Return and double-clicks (STR #1818)
  276. - Fl_Help_View did not release the images it used (STR
  277. #1817)
  278. - Shared libraries would not build on 64-bit Linux
  279. systems with an existing non-PIC FLTK installation
  280. (STR #1791)
  281. - Fl_Browser::hide() and Fl_Browser::show() did not
  282. correctly update the scrollbar (STR #1724)
  283. - The configure script now shows a summry of the
  284. configuration results (STR #1810)
  285. - "fltk-config --use-* --libs" did not list all of the
  286. dependent libraries (STR #1799)
  287. - Hiding a nested window on WIN32 caused 100% CPU (STR #1748)
  288. - Changing the window size in FLUID would not mark the
  289. project as modified (STR #1751)
  290. - Fixed fl_filename_isdir for "/"-path (STR #1761)
  291. - Fixed Fl_Chart drawing (STR #1756)
  292. - Fixed mapping of subwindows with unmapped parent
  293. windows (STR #1706)
  294. - Fixed rendering of grayscale images with alpha
  295. channel (STR #1703)
  296. - Fixed occasional incomplete refresh (STR #1681)
  297. - Improved fl_down, fl_frame, added fl_box (STR #1678)
  298. - Fixed selection of submenu items in
  299. input_choice (STR #1676)
  300. - Fixed calculation of stride for image scaling and
  301. color manipulation (STR #1673)
  302. - Made -O3 the default optimization on Cygwin/Mingw since
  303. -Os currently creates bad code (STR #1656)
  304. - OSF/Tru64 now uses 'install-sh' instead of 'install' to
  305. accomodate for a missing '-d' option (STR #1632)
  306. - New option in Fluid project settings to translate all
  307. shortcut modifiers from FL_META or FL_CTRL to FL_COMMAND
  308. - Made icon size fixed (50x50) in fl_message etc. (STR #1626)
  309. - Fixed selection of first word in Fl_Help_View
  310. - Fixed endless loop in Fl_Text_Display (STR #1655)
  311. - Allowing shortcuts in Tabs (STR #1652)
  312. - Fixed Makefile "make clean" (STR #1642,
  313. STR #1643, STR #1641)
  314. - The sample RPM spec file now enables large file support
  315. and threading support (STR #1603)
  316. - Changed minimum contrast between background and text to
  317. 99 and added more weight to the blue component to improve
  318. readability for certain color combinations (STR #1625)
  319. - Fixed VCNet OpenGL project file (STR #1617)
  320. - Fixed scrolling of clipped areas in MSWindows (STR
  321. #1601)
  322. - Fixed clipping in OS X Quartz offscreen buffers (STR
  323. #1595)
  324. - Now flush file chooser preferences after every change to
  325. avoid data loss (STR #1609)
  326. - The Fl_File_Chooser constructor now saves and restores the
  327. current group (STR #1611)
  328. - Added Fl::awake(fn*,void*) to set a handler for thread
  329. messages (STR #1536)
  330. - Added "mute sound" option to Sudoku game.
  331. - Updated the bundled zlib to v1.2.3.
  332. - Updated the bundled libpng to v1.2.16.
  333. - "make install" now uses the install command (or the
  334. included install-sh script) to copy files to the
  335. install directories, to ensure that permissions are
  336. correct.
  337. - Fixed DLL generation via MingW/Cygwin (STR #1546)
  338. - FLUID incorrectly opened the display when generating
  339. source code for Fl_Help_View widgets (STR #1318)
  340. - Fl_Double_Window did not always show the scheme
  341. background image.
  342. - Fixed first window behavior in OS X (STR #1548)
  343. - Fixed calculation of character widths for OS X
  344. Quartz rendering (no STR)
  345. - Fixed OS X mouse click handling (STR #1504)
  346. - Added missing GLUT functions so that FLTK can be used
  347. as a fairly complete C++ replacement for the original
  348. GLUT library (STR #1522)
  349. - Fl::awake() could block on X11 and OSX (STR #1537)
  350. - Updated recursive mutex code to run on platforms other
  351. than Linux and to do a run-time check to determine
  352. whether they are supported by the kernel (STR #1575)
  353. - WIN32 did check callbacks after the event processing instead of
  354. before as documented (STR #1535)
  355. - Fl_File_Chooser now hides the window before doing a callback
  356. when the user clicks on the OK button (STR #1565)
  357. - Fixed indentation of nested HTML elements (STR #1549)
  358. - Made layout of Fl_Help_Dialog consistent with other
  359. help windows and web browsers.
  360. - Improved GTK+ schemed round box (STR #1531)
  361. - Fluid avoids writing unsupported combinations of the
  362. "when()" flags (STR #1501)
  363. - Fl_Browser_ would allow keyboard callbacks even though
  364. "when()" was set to "never" (STR #1501)
  365. - Added automated little helpers to Sudoku
  366. - Added example code for Wizard with the
  367. Tabs demo (STR #1564)
  368. - Optimized Fl_Tabs drawing for speed (STR #1520)
  369. - OS X resource fork now obsolete (STR #1453)
  370. - Added chapter 10 about multithreading (STR #1532,
  371. 1533)
  372. - OS X system menu bar top level attribute support
  373. improved (STR #1505)
  374. - Fixed Quartz image drawing bug (STR #1438)
  375. - Fixed Quartz fl_read_image
  376. - Overlay drawing is now avoiding XOR mode (STR #1438)
  377. - Fixed Scroll crash in Fluid Live Mode (STR #1524)
  378. - Fixed mousewheel event propagation (STR #1521)
  379. - Fixed drawing issues of a tile in a scroll (STR #1507)
  380. - Fixed dismissing buttons in menu bars (STR #1494)
  381. - Making a child group visible in a Fl_Tabs or Fl_Wizard
  382. group now shows that tab or pane.
  383. - Added fl_open_uri() function as proposed on
  384. fltk.development.
  385. - Added Fl::has_check() which previously was prototyped
  386. and documented, but not implemented (STR #1542)
  387. - Enabled Fl::add_check() on OS X (STR #1534)
  388. - Documented tooltip inheritance (STR #1467)
  389. - Better event mouse handling fixing detached menus and
  390. sticky tooltips (STR #1463, STR #449)
  391. - Added Fl::scrollbar_size() methods that are used by all
  392. of the scrollbar-using widgets (STR #1500)
  393. - fl_read_image() was broken on Intel-based Macs (STR
  394. #1490)
  395. - Fl_Progress was using the wrong width to calculate
  396. progress (STR #1492)
  397. - Fl::x(), Fl::y(), Fl::w(), and Fl::h() did not report
  398. the desktop work area on X11 (STR #1482)
  399. - Shortcut events could be sent to the wrong window (STR
  400. #1451)
  401. - Fl_Spinner did not handle the arrow keys properly (STR
  402. #1476)
  403. - Fl_File_Browser did not calculate the width of
  404. directory items correctly (STR #1469, STR #1470)
  405. - Fl_Pack incorrectly started widgets at an offset of 1/2
  406. the spacing value.
  407. - FLUID did not generate correct window class code if
  408. the class name was not a standard FLTK window class.
  409. - FLUID incorrectly included <FL/Fl_classname.H> for
  410. widget classes that were not subclassed from a standard
  411. FLTK widget class.
  412. - The demo master test program now supports scheme
  413. selection and all demos use it (STR #1459)
  414. - fl_arc() and fl_pie() did not draw properly on WIN32
  415. when the start and end points were identical (STR
  416. #1461)
  417. - Fl_Input and Fl_Text_Editor now hide the mouse pointer
  418. when typing into them (STR #1466)
  419. - Implemented alpha blending for Quartz, WIN32, and X11
  420. - Check buttons did not redraw properly with box() set to
  421. FL_NO_BOX (STR #1440)
  422. - Added the Bluecurve-inspired scheme "gtk+".
  423. - Updated documentation (STR #1420, STR #1421)
  424. - Fixed font caching issue (STR #1415)
  425. - Fixed crash in fl_file_chooser (STR #1410)
  426. - Fixed Fluid hotspot bug (STR #1416)
  427. - Fixed image copy code (STR #1412)
  428. - Fixed latin-to-roman text conversion (STR #1411)
  429. - Fixed Cygwin timeout for "select" calls (STR #1151)
  430. - Improved Mac OS X subwindow handling (STR #1402)
  431. - Fixed more inconsistencies between fl_draw and
  432. fl_measure (STR #1408)
  433. - Fixed fl_measure which mistook a trailing '@@' for a
  434. symbol (STR #1406)
  435. - Fixed GLUT behavior on window creation (STR #1403)
  436. - Fixed OS X bug that would hide tooltips before they
  437. were shown (STR #1392)
  438. - Fixed Fl_Tabs tooltip reappearing (STR #1324)
  439. - Added a new demo game called "Block Attack!"
  440. - Updated the Sudoku game to show a notice about Hard and
  441. Impossible puzzles having multiple solutions which are
  442. not a bug or error (STR #1361)
  443. - Fixed filechooser to behave as documented when file
  444. pattern changes (STR #1359)
  445. - Completed the global function index and added an
  446. alphabetical list of all methods (STR #1319)
  447. - Avoiding problems with some platforms that don't
  448. implement hypot() (STR #1366)
  449. - Fixed floating point value formatting for Fl_Spinner
  450. (STR #1331)
  451. - Fixed Fl_Positioner callback when released (STR #1387)
  452. - Fixed WIN32 zero size window issue (STR #1387)
  453. - Fixed Sudoku window positioning (STR #1398)
  454. - Fluid Code Declarations can now handle C++ style
  455. comments (STR #1383)
  456. - Fixed uninitialized data in OS X and WIN32 timeout
  457. functions (STR #1374).
  458. - Fixed speed issues when measuring text on OS X with
  459. Quartz (STR #1386).
  460. - Fixed focus issues on OS X (STR #1377)
  461. - Optional precision argument when storing floats or
  462. doubles in a Preferences file (STR #1381)
  463. - Fixed callback not called when using arrow keys in
  464. Fl_Slider (STR #1333)
  465. - Changing the shortcut of a widget in fluid now marks the
  466. document as dirty (STR #1382)
  467. - Fl_Text_Editor now correctly handles middle mouse
  468. clicks (STR #1384)
  469. - Added some GLUT4 functions (STR #1370)
  470. - Added "context_changed()" function for OpenGL windows
  471. which allows efficient texture loading (STR #1372)
  472. - Added missing "const" to GLUT call (STR #1371)
  473. - Fixed stray FL_RELEASE events after clicking system
  474. areas on OS X (STR #1376)
  475. - FLUID now only writes definitions of "o" and "w"
  476. variables as needed, reducing the number of "variable
  477. is shadowed" warnings from GCC.
  478. - Added access to Xft font pointer (STR #1328)
  479. - Fixed endianness in OS X mouse cursor graphics (STR
  480. #1348)
  481. - Fixed crash on mixed use of keyboard and mouse for
  482. Fl_Menu_Button (STR #1356)
  483. - Fixed Fl_Window::visible() and shown() for OS X
  484. (STR #1341)
  485. - Fixed Fl_Window::copy_label() losing copy (STR #1332)
  486. - Documentation fixes (STR #1336, STR #1329, STR #1339,
  487. STR #1340)
  488. - Added support for floating point Fl_Spinner in the
  489. API, documentation, and Fluid (STR #1331)
  490. - Repeat button now cancels timeout if it should get
  491. deactivated during a callback (STR #1330)
  492. - Added support for assigning Fl_Menu_Items to array
  493. variables in Fluid (STR #1280)
  494. - Added --with-archflags configure option to allow
  495. passing of specific architecture-selection options to
  496. the compiler and linker.
  497. - Fixed WIN32 window stacking bug (STR #1296)
  498. - Fixed wrong code generated by FLUID for Scrollbars (STR
  499. #1287)
  500. - Loading a file would not update the Widget Properties
  501. dialog in FLUID (STR #1326)
  502. - Fixed key compose sequences for shifted keys (STR
  503. #1194)
  504. - Added text selection and copy to Fl_Help_View.
  505. - Fixed position of popup menu titles (STR #1322)
  506. - Showing any window will disable the current tooltip
  507. so it won't pop over menus (STR #1321)
  508. - Updated documentation to reflect limitation of
  509. Fl::delete_widget() (STR #1306)
  510. - Fixed line wrapping in Fl_Text_Display (STR #1227)
  511. - New function Fl::event_original_key() returns key code
  512. before NumLock handling.
  513. - Many OS X Quartz fixes (STR #1310, etc.)
  514. - Fixed shortcut and default focus for message dialogs
  515. (STR #1298)
  516. - Fixed focus issues (STR #1286, STR #1289, STR #1296)
  517. - Fixed window resizing in OS X (STR #1297)
  518. - In FLUID, declarations starting with the keyword
  519. 'typedef', 'class', or 'struct' are now treated
  520. correctly if inside a class (STR #1283)
  521. - Tabs now show the correct tooltip (STR #1282)
  522. - Included fltk.spec in configure.in (STR #1274)
  523. - Fixed insufficiently invalidated cache
  524. in Fl_Browser (STR #1265)
  525. - Attempt to fix multi monitor issues (STR #1153)
  526. - Fixed warnings when compiling w/Cygwin (STR #1152)
  527. - Fixed missing reset of flag in FLUID (STR #1187)
  528. - Fixed maximizing in OS X (STR #1221)
  529. - Fixed 'make distclean' to remove binaries inside
  530. MacOS app packages (STR #1169)
  531. - FLUID Code Viewer is now truly a viewer, not a text
  532. editor because edited text can not be saved.
  533. - Fl_Spinner is now fully supported by FLUID (STR #1158)
  534. - Fixed usage of deleted object after menu pulldown
  535. (STR #1162)
  536. - Calling fl_font(0, 0) under Xft would access a NULL
  537. pointer (STR #1205)
  538. - Setting a new value in Fl_Input_ wil now actually move
  539. cursor to the end of the input field as documented
  540. (STR #1161)
  541. - FLUID crashed on WIN32 with international characters
  542. (STR #1176)
  543. - Fl_Check_Browser did not allow the user to toggle the
  544. check boxes (STR #1232)
  545. - Fl_Help_View crashed on WIN32 with international
  546. characters (STR #1228)
  547. - Fl::run() no longer clears resources on WIN32 (STR
  548. #1231)
  549. - Fl::add_timeout() leaked resources on OSX (STR #1233)
  550. - Accented characters could not be entered on OSX (STR
  551. #1195)
  552. - The caret key lookup was missing for OS X
  553. - FLUID didn't handle loading .fl files with
  554. international characters properly with all compilers
  555. (STR #1150)
  556. - Fl_Spinner's minimum() and maximum() "get" methods were
  557. misspelled (STR #1146)
  558. - The largefile support changes in 1.1.7 broke binary
  559. compability for fl_filename_list(); you must now use
  560. "--enable-largefile" when configuring to get large file
  561. support, and the large file support definitions are
  562. added to the output of "fltk-config --cflags" (STR
  563. #1159)
  564. CHANGES IN FLTK 1.1.7
  565. - Documentation fixes (STR #571, STR #648, STR #692, STR
  566. #730, STR #744, STR #745, STR #931, STR #942, STR #960,
  567. STR #969)
  568. - Various menu widget fixes (STR #1140, STR #1143, STR
  569. #1144)
  570. - The threads demo would display negative prime numbers
  571. on MacOS X; this appears to be a MacOS X bug, but we
  572. added a workaround to "fix" this (STR #1138)
  573. - Fl::dnd() now sets the content type of the drag to
  574. "text/uri-list" when it sees the dragged text is
  575. composed of URIs.
  576. - Fixed keyboard shortcut handling in FLUID and shortcut
  577. labeling in FLTK (STR #1129)
  578. - Fixed include path for CMake build (STR #1123)
  579. - Fixed unnecessary delay in WIN32 event handling
  580. (STR #1104)
  581. - Fixed handling of Ctrl-C in Fl_Text_Display (STR #1122)
  582. - OS X Quartz version now draw a nice resize control (STR
  583. #1099)
  584. - FLTK now enables large file support when available (STR
  585. #1087)
  586. - Fl_Clock_Output depended on a time value that was the
  587. same as an unsigned long, which is incorrect for WIN64
  588. and VC++ 2005 (STR #1079)
  589. - Fl_Text_Display::wrap_mode() would crash if no buffer
  590. was associated with the widget (STR #1069)
  591. - Updated the default label and text colors of all widgets
  592. to use FL_FOREGROUND_COLOR instead of FL_BLACK (STR
  593. #1052)
  594. - Fl::set_fonts() now works with Xft (STR #1012)
  595. - Fl_Value_Input now uses the screen-absolute position
  596. instead of the window-relative position when dragging
  597. the value; this avoids some jumping conditions (STR
  598. #1037)
  599. - Menus now pop up fully inside the screen if possible
  600. (STR #973)
  601. - Fixed illegal access in Preferences (STR #1025)
  602. - Fixed x-offset problem in Help_Widget (STR #998)
  603. - Clipboard will persist if owner window is hidden (STR
  604. #1019)
  605. - Fixed handling of Win32 Device Contexts (STR #1007)
  606. - Fixed C++ style comments in C files (STR #997)
  607. - Fixed signedness of scanf() argument (STR #996)
  608. - Fixed cross-compiling problem (STR #995).
  609. - FLUID now knows if a static callback is already
  610. declared in a class and won't declare it 'extern' (STR
  611. #776)
  612. - Some actions in FLUID would not set the "changed" flag
  613. (STR #984, STR #999)
  614. - fl_filename_list now always appends a forward slash to
  615. directory names (STR #874)
  616. - Multiline Input will update right if a space character is
  617. inserted in word wrap mode (STR #981)
  618. - FLUID group labels redraw correctly (STR #959)
  619. - FLUID now updates color of Fl_Tabs children (STR #979)
  620. - FLUID now supports 'size_range()' (STR #851)
  621. - FLUID selection boxes now synchronised (STR #964)
  622. - fl_filename_list() now recognizes pathnames without
  623. trailing slash as directions (STR #854)
  624. - Fl_Text_Display now auto-scrolls in all
  625. directions (STR #915)
  626. - Borderless windows will not show in the taskbar anymore
  627. on X11 (STR #933)
  628. - Fixed event_text() field on FL_DND_* event on
  629. OS X and WIN32 (STR #968)
  630. - The fltk-config utility now supports "--cc" and "--cxx"
  631. options to get the C and C++ compilers that were used
  632. to compile FLTK (STR #868)
  633. - Fl_Valuator-derived widgets could show more digits than
  634. were necessary (STR #971)
  635. - Fl_GIF_Image did not handle images with an incorrect
  636. number of data bits (STR #914)
  637. - Fixed some plastic drawing artifacts (STR #906)
  638. - Fl_Help_View now draws the box outside the scrollbars,
  639. like the other scrollable widgets (STR #871)
  640. - The fltk-config script now handles invocation via a
  641. symlink (STR #869)
  642. - Updated WIN32 cut/paste code to consistently handle DOS
  643. text (STR #961)
  644. - Added shared library support for Cygwin and MingW (STR
  645. #893)
  646. - Fl_File_Chooser did not implement the user_data()
  647. methods (STR #970)
  648. - Compilation could fail if a previous installation of
  649. FLTK was in the same (non-standard) directory as an
  650. image library (STR #926)
  651. - Fixed OSX compilation problems with non-HFS filesystems
  652. (STR #972)
  653. - Problems with CMake on MinGW have been solved, thanks
  654. to Mr. "fltk.x0", who submitted the patch. (STR #863)
  655. - Fixed memory leak in Fl_Check_Browser reported by
  656. "miguel2i". (STR #967)
  657. - Fl_File_Input could draw in the wrong window (STR #958)
  658. - WIN32: Internal WM_PAINT message now ignored (STR #831)
  659. - Added Windows support for Fl_Window::xclass() (STR #848)
  660. - Floating point input field allows characters from
  661. current locale (STR #903)
  662. - Fixed integration of Fl_Input_Choice into FLUID (STR
  663. #879)
  664. - New windows touching the right screen border would be
  665. positioned all the way to the left (STR #898)
  666. - Made pie drawing size for WIN32 and OS X the same as
  667. X11 (STR #905)
  668. - Fixed OS X issue with OpenGL windows inside of Tabs
  669. (STR #602)
  670. - FLUID Code Editor would occasionally not draw the last
  671. character in the buffer (STR #798)
  672. - FLUID Declaration private flag fixed (STR #799)
  673. - FLUID overlay now shows a seperate bounding box of
  674. selected items with correct handles and a dotted
  675. boundig box for all labels (STR #790)
  676. - Fixed left overhang of large chracters in Fl_Input_
  677. (STR #941)
  678. - Fixed button resizing in File Chooser (STR #884)
  679. - Fixed FLUID redraw issue (STR #912)
  680. - Added 32bit BMP Image file format support (STR #918)
  681. - Value Sliders would not receive focus when clicked on
  682. (STR #911)
  683. - Added redraw of some widgets to show focus change (STR
  684. #910)
  685. - Fl::set_font would not clear 'pretty' name (STR #902)
  686. - Fixed unescaped '@' in fonts demo (STR #867)
  687. - FLUID should not open the Display connection anymore if
  688. creating code only (STR #904)
  689. - Improved hidden copy / ctor implementation (STR #860)
  690. - Increased matrix stack depth and added over/underflow
  691. error (STR #924)
  692. - Reverted Mac Carbon Clipping simplification that broke
  693. subwindow clipping (STR #908, SVN r4386)
  694. - Fixed bitmap scaling code
  695. - Fixed tiny memory leak (STR #878)
  696. - Fixed hang on corrupt jpeg (STR #915)
  697. - Fixed static allocation of font buffer in demo (STR #909)
  698. - Added symbols 'refresh', 'reload', 'undo', and 'redo'.
  699. - Fixed focus loss on Fl_Window:resize()
  700. - Fl::delete_widget would hang fl_wait after deleting the
  701. window (STR #679)
  702. - Fl::paste would sometimes not recoginze external
  703. changes of the clipboard (STR #722)
  704. - Clipping fixes for OSX
  705. - Removed attempt to find items via
  706. Fl_Menu_::find_item() in linked submenus
  707. - FLUID interactive window resizing fixes (STR #873, 791)
  708. - FLUID panel resize and alignment fixes (STR #891)
  709. - Fl_Window::show(argc, argv) now sets the scheme before
  710. showing the window; this should eliminate any
  711. flickering between the standard and plastic schemes on
  712. startup (STR #886)
  713. - Selected tabs are now drawn slightly larger than
  714. unselected tabs so they stand out more (STR #882)
  715. - Round Plastic boxes now draw round (STR #841)
  716. - FL_PLASTIC_DOWN_BOX drew with artifacts (STR #852)
  717. - Changed initializations on WIN32 (STR #862)
  718. - Fl_Preferences::getUserdataPath() didn't work for
  719. sub-groups (STR #872)
  720. - Fixed some redraw issues on Windows XP.
  721. - FLUID didn't set the initial size of widgets properly
  722. (STR #850)
  723. - Fl_Tabs would steal focus away from its children on a
  724. window focus change (STR #870)
  725. - filename_relative() now converts the current directory
  726. to forward slashes as needed on WIN32 (STR #816)
  727. - Fl_File_Chooser::value() and ::directory() now handle
  728. paths with backslashes on WIN32 (STR #811)
  729. - Added the standard rgb.txt file from X11 to the test
  730. directory, allowing all platforms to try the colbrowser
  731. demo (STR #843)
  732. - Resizing of OpenGL subwindows was broken on OSX (STR #804)
  733. - The fltk-config script now supports running from a
  734. source directory (STR #840)
  735. - Fl_Browser_ didn't update the position properly when an
  736. item was deleted (STR #839)
  737. - fl_contrast() now compares the luminosity of each color
  738. (STR #837)
  739. - Fl_Input_ crashed on some platforms when wrapping
  740. international text characters (STR #836)
  741. - Fixed some BMP images loading bugs (STR #825)
  742. - Fl_File_Chooser now returns directory names with a
  743. trailing slash to avoid problems with relative
  744. filenames (STR #819)
  745. - Fl_Help_View now supports the FONT and U elements (STR
  746. #815)
  747. - OpenGL windows that were completely off-screen caused
  748. problems with some graphics cards on WIN32 (STR #831)
  749. - Multiple screen support didn't work on Windows NT and
  750. 95 (STR #821)
  751. - Fl_Scrollbar didn't compute the correct knob size when
  752. using the "nice" types (STR #845)
  753. - fl_draw() would segfault on WIN32 if no font was set;
  754. it now uses the default font (STR #828)
  755. - Fl_Browser_ was calling the callback multiple times for
  756. a single selection change with FL_WHEN_CHANGED (STR
  757. #834)
  758. - Added "filenew", "fileopen", "filesave", "filesaveas",
  759. and "fileprint" symbols with standard toolbar
  760. symbology.
  761. - Updated Fl_Tabs to check the contrast of the label
  762. color against the tab background, and to highlight the
  763. top 5 lines of the tab pane with the selection color so
  764. that selected tabs stand out more.
  765. - The example programs can now compile separate from the
  766. FLTK source distribution (STR #809)
  767. - The example programs are now installed with the
  768. documentation (STR #809)
  769. - Fixed the drawing of the Fl_Browser_ selection box (STR
  770. #786)
  771. - Dropped Codewarrier project files and support.
  772. - The FLTK string functions are now compiled in on all
  773. systems (STR #774)
  774. - Fixed symbol demo label bug (STR #777)
  775. - Fixed position of menu titles (STR #795)
  776. - Added missing Fl_Window::copy_label() method.
  777. - Fixed wrong tooltip in FLUID (STR #784)
  778. - Added zlib path to FLUID (STR #783)
  779. - Menus and other pop-up windows now obey screen
  780. boundaries on multi-screen displays (STR #781)
  781. - Fl_Chart would draw outside its bounding box (STR #780)
  782. - Added Fl::screen_count() and Fl::screen_xywh() APIs to
  783. support multi-screen displays.
  784. - FLUID now supports direct creation of widget classes.
  785. - Fl_File_Chooser now correctly handles multiple
  786. selections that are a mix of files and directories.
  787. - Fl_File_Chooser no longer resets the type() when
  788. choosing a single file, and it now works when selecting
  789. multiple directories (STR #747)
  790. - Fl_File_Icon::load_system_icons() now only loads 16x16
  791. and 32x32 icon images to improve startup performance.
  792. - Pressing Enter in the file chooser when selecting a
  793. directory will choose that directory if it is currently
  794. shown (STR #746)
  795. - Added a fl_file_chooser_ok_label() function to set the
  796. "OK" button label for the fl_file_chooser() and
  797. fl_dir_chooser() functions.
  798. - Added Fl_File_Chooser::ok_label() methods to set the
  799. "OK" button label.
  800. - The fl_ask() function is now deprecated since it does
  801. not conform to the FLTK Human Interface Guidelines.
  802. - The Fl_File_Chooser window now properly resizes its
  803. controls (STR #766)
  804. - The Fl_Help_Dialog window now properly resizes its
  805. controls (STR #768)
  806. - The Fl_File_Chooser favorites window is now resizable
  807. (STR #770)
  808. - Now provide FL_PLASTIC_ROUND_UP/DOWN_BOX box types
  809. which are used by the plastic scheme.
  810. - FLUID windows that are resized through the widget panel
  811. now remain resizable by the window manager.
  812. - Increased the size of the background image used by
  813. the plastic scheme to reduce the CPU load of redraws
  814. (STR #769)
  815. - Fixed a syntax highlighting bug in the editor demo.
  816. - Fl_Progress now contrasts the label color with the bar
  817. color, so labels will be readable at all times.
  818. - fl_read_image() didn't use the right red, green, and
  819. blue masks on XFree86.
  820. - Fixed Quickdraw drawing of 3 and 4 sided polygons (STR
  821. #765)
  822. - Fixed fl_message() code so that it does not get
  823. accidentaly addded to the current group (STR #253)
  824. - FLUID now highlights code in the widget callback and
  825. code editors.
  826. - FLUID now supports printing of windows.
  827. - Fixed inactive drawing of border, embossed, and
  828. engraved box types.
  829. - Added Fl_Spinner widget (another combination of
  830. existing widgets in a header file)
  831. - FLUID now provides support for UI templates.
  832. - fl_not_clipped() incorrectly used the current window
  833. dimensions for gross clipping, which interfered with
  834. off-screen rendering.
  835. - Fl_Window::draw() and Fl_Window::iconlabel() could leak
  836. memory if copy_label() was used on the window.
  837. - fl_shortcut_label() now shows letter shortcuts in
  838. uppercase, e.g. "Ctrl+N" instead of "Ctrl+n" to be
  839. consistent with other toolkits.
  840. - FLUID now provides unlimited undo/redo support.
  841. - FLUID now provides an option to choose which scheme
  842. (default, none, plastic) to display.
  843. - Fixed scheme background issue with windows in FLUID.
  844. - In FLUID, new widgets are now created with the ideal
  845. size by default, and menu bars are positioned to use
  846. the entire width of the window.
  847. - Added Layout/Widget Size submenu to select default
  848. label and text size (Tiny, Small, and Normal).
  849. - Added Edit/Duplicate command to FLUID to duplicate the
  850. current selection.
  851. - FLUID now tracks the current state of the widget bin
  852. and overlays.
  853. - Now fill the widget image paths with relative
  854. filenames.
  855. - Fixed frame drawing of Fl_Text_Display (STR #762)
  856. - Fl_Clock_Output::value() did not return the previously
  857. set value (STR #748)
  858. - Added comment type to FLUID. This is useful for
  859. generating copyright notices in the source and header
  860. files.
  861. - Fl_Valuator would not format text output with decimal
  862. point when the step value was fractional, but above 1.
  863. - fl_filename_relative() didn't compare drive letters in
  864. a case-insensitive way (STR #741)
  865. - Fixed menu item width calculations with symbols (STR
  866. #740)
  867. - The keyboard shortcut handling code did not handle
  868. 8-bit characters properly (STR #731)
  869. - Fl_JPEG_Image could still crash an app with a corrupt
  870. JPEG file (STR #739)
  871. - Using the layout alignment controls on a menu widget
  872. would cause FLUID to crash (STR #742)
  873. - Added QNX bug workaround for menu handling (STR #704)
  874. - Added Greg Ercolano's simple Fl_Input_Choice widget
  875. which is a combination of the Fl_Input and
  876. Fl_Menu_Button widgets (STR #650)
  877. - Fl_Multiline_Input now scrolls the full height of the
  878. widget instead of 5 lines when the user presses PageUp
  879. or PageDown (STR #727)
  880. - CMake build fixes (STR #724)
  881. - Fl_Browser::swap() didn't handle redraws properly when
  882. the swapped lines had different heights (STR #729)
  883. - FL_MOUSEWHEEL events are now sent first to the widget
  884. under the mouse pointer and then to the first widget
  885. which accepts them. This is similar to the way
  886. shortcut events are handled and is consistent with the
  887. way the mouse wheel is handled by other toolkits.
  888. - Fl::wait() could block on WIN32 if the window was
  889. deleted via Fl::delete_widget() (STR #679)
  890. - Fl_Preferences::RootNode did not find the user's home
  891. directory on some non-US versions of Windows (STR
  892. #720)
  893. - Fl_Window::hide() didn't delete the current clipping
  894. region on WIN32, causing a GDI resource leak in some
  895. situations (STR #723)
  896. - Removed a few warnings when compiling on OS X
  897. - Fl_Menu now draws the arrow more like other toolkits
  898. and 2.0 (STR #651)
  899. - Fixed a VC++ compiler error in Fl_JPEG_Image.cxx (STR
  900. #676)
  901. - FL_SHADOW_BOX/FRAME drew outside of the bounding box
  902. (STR #694)
  903. - Fl_Widget::copy_label(NULL) didn't work (STR #707)
  904. - Fl_Choice now allows click selection like
  905. Fl_Menu_Button and Fl_Menubar (STR #706)
  906. - Updated cmake support (STR #645)
  907. - Fl_Check_Browser didn't draw properly when inactive
  908. (STR #681)
  909. - Removed some redundant code in Fl_Group::handle() (STR
  910. #669)
  911. - The file chooser didn't always deactivate the OK
  912. button when necessary (STR #653)
  913. - Image drawing on OSX changed the current drawing
  914. colors (STR #662)
  915. - Fixed some compiler errors on WIN32 (STR #647, STR
  916. #726)
  917. - FLUID didn't update the widget panel X/Y/W/H values
  918. when moving the selected window (STR #701)
  919. - FLUID didn't use the label type constant names for
  920. menu items, causing them to be drawn using the normal
  921. label type (STR #668)
  922. - Fl_File_Chooser was slow with large directories (STR
  923. #654)
  924. - FLUID didn't add xclass() calls to windows (STR #718)
  925. - The X11 DND code did not correctly select a text
  926. format for incoming data (STR #711)
  927. - Fixes to Fl_JPEG_Image error handler.
  928. - Fl_Menu::popup() and ::pulldown() would crash an
  929. application if a callback created widgets before they
  930. returned (STR #685)
  931. - Fl_Double_Window would cause a full redraw, even if
  932. only small parts of the UI were changed on Mac OS X.
  933. - Fl_JPEG_Image did not correctly handle errors reported
  934. by the JPEG library (STR #652)
  935. - Fl_Menu now draws sub-menu arrows like other toolkits
  936. and FLTK 2.0 (STR #651)
  937. - Fixed a compiler warning in Fl_Window.H (STR #641)
  938. - Tooltips disabled shortcut processing (STR #643)
  939. - Fl::event_number() didn't always match the value sent
  940. to the handle() method (STR #634)
  941. - Fl_Shared_Image::reload() didn't set the image_
  942. pointer properly in all cases (STR #632)
  943. - Fl_Help_View::topline() incorrectly set the changed()
  944. flag (STR #631)
  945. - Fl_Choice::value() now supports NULL or -1 to deselect
  946. the current item (STR #637)
  947. - More VC++ 6 project file fixes (STR #638)
  948. - Added missing Watcom makefile in the test directory
  949. (STR #636)
  950. - Fl_Text_Display::word_left would hang if the cursor
  951. was at position 0 (STR #635)
  952. CHANGES IN FLTK 1.1.6
  953. - Documentation updates (STR #552, STR #608)
  954. - Added the 2.0 Fl_Widget::copy_label() method to
  955. allow FLTK 1.x applications to have their label
  956. strings managed by FLTK (STR #630)
  957. - Added Fl::delete_widget() method to safely delete
  958. widgets in callback methods (STR #629)
  959. - Fl_Widget::damage(uchar,int,int,int,int) didn't clip
  960. the bounding box properly (STR #626)
  961. - Windows could appear on the wrong screen on OSX (STR
  962. #628)
  963. - Fl_Double_Window produced an error on resize with X11
  964. - FLUID didn't display menu items using images properly
  965. (STR #564)
  966. - Fl_Sys_Menu_Bar didn't compile on case-sensitive
  967. file-systems (STR #622)
  968. - FLUID didn't handle default function parameters
  969. properly (STR #579)
  970. - Moving or resizing widgets in FLUID didn't always
  971. update the widget panel (STR #600)
  972. - FLTK windows could appear off-screen on X11 (STR #586)
  973. - The configure script did not support
  974. --disable-localfoo to completely disable image file
  975. support (STR #582)
  976. - The Visual C++ 6.0 project files still listed the old
  977. JPEG, PNG, and ZLIB library names (STR #577)
  978. - Fixed the scandir() conditional code for HP-UX 11i
  979. (STR #585)
  980. - Fl_Text_Display didn't support CTRL/CMD-A/C (STR #601)
  981. - Watcom fixes (STR #581, STR #584, STR #594, STR #595,
  982. STR #623, STR #627)
  983. - Fixed library include order when building DSOs on
  984. MacOS X (STR #596)
  985. - fl_xid() could cause a WIN32 application to crash (STR
  986. #560, STR #576, STR #618)
  987. - Fl_Browser::remove_() removed the item from the list
  988. before computing the item height, which caused
  989. problems with some programs (STR #613)
  990. CHANGES IN FLTK 1.1.5
  991. - Documentation updates (STR #568, STR #570)
  992. - Shortcuts were incorrectly underlined in multi-line
  993. labels (STR #566)
  994. - More CMake updates (STR #499)
  995. - The Watcom C++ compiler needed a small change (STR
  996. #567)
  997. - Added DESTDIR support and now remove all man pages for
  998. the "uninstall" target (STR #545)
  999. - Fix PNG drawing on buggy WIN32 graphics cards (STR
  1000. #548)
  1001. - The configure script didn't propagate the CPPFLAGS
  1002. environment variable (STR #549)
  1003. - The numpad keys didn't work properly on WIN32 (STR
  1004. #502)
  1005. - fl_input() and friends now set the input focus to the
  1006. text field when the dialog is shown (STR #553)
  1007. - Fixed background color mixup when drawing Fl_Choice
  1008. menus (STR #544)
  1009. - Fixed MingW makefiles (STR #550)
  1010. - More VC++ project file tweaking (STR #559)
  1011. - Fl_PNG_Image didn't use the png_set_trns_to_alpha
  1012. function when available (STR #547)
  1013. - The FL_UNFOCUS event wasn't always sent when switching
  1014. tabs (STR #558)
  1015. CHANGES IN FLTK 1.1.5rc3
  1016. - Documentation updates (STR #505, STR #513)
  1017. - Updated PNG library source to 1.2.7.
  1018. - Updated ZLIB library source to 1.2.1.
  1019. - Fixed VC++ project file problems (STR #476, STR #478,
  1020. STR #520, STR #527, STR #537)
  1021. - Now look for 8 bits of alpha when the developer has
  1022. requested FL_RGB8 (STR #541)
  1023. - The last line in an Fl_Help_View widget was not
  1024. aligned properly (STR #536)
  1025. - The "search" symbol looked like a Q (STR #536)
  1026. - Changed Fl_Help_View::get_color() to use a lookup
  1027. table to avoid serious Borland C++ 5.5 compiler bugs
  1028. (STR #533)
  1029. - Fixed Watcom compiler warnings with FL/Fl_Widget.H
  1030. (STR #540)
  1031. - The image class copy() methods did not always make a
  1032. separate copy of the image data (STR #539)
  1033. - Fixed an edge case in fl_old_shortcut() that could
  1034. cause it to read beyond then end of the shortcut
  1035. string (used for XForms named shortcuts)
  1036. - Added (unsupported) CMake files (STR #499)
  1037. - Tooltips would not reappear on the same widget, and
  1038. the initial tooltip delay was not used after a tooltip
  1039. was shown (STR #465)
  1040. - Fixed a compile problem with the Linux 2.6 threading
  1041. support (STR #483)
  1042. - Fixed problems with 2-byte Xpm files on 64-bit
  1043. platforms (STR #525)
  1044. - FLTK didn't handle the ReparentNotify event on X11
  1045. (STR #524)
  1046. - The old source file "fl_set_gray.cxx" is not needed
  1047. (STR #516)
  1048. - Fl_Text_Display still called delete[] instead of
  1049. free() in one place (STR #503)
  1050. - The symbol test program did not handle the @+ symbol
  1051. properly (STR #490)
  1052. - Fl_File_Chooser didn't correctly call isprint() and
  1053. isspace() when checking to see if the current file was
  1054. text that can be previewed (STR #517)
  1055. - FLUID didn't compile with Borland C++ due to a
  1056. compiler bug (STR #496)
  1057. - Fl_Positioner did not handle reversed min and max
  1058. values (STR #510)
  1059. - fl_descent(), fl_height(), and fl_width() would crash
  1060. a program if you didn't call fl_font() first; they now
  1061. return -1 if no font is set (STR #500)
  1062. - Added test/unittests to verify pixel drawing and
  1063. alignment across platforms
  1064. - Fl_Menu_::find_item() didn't determine the menu path
  1065. properly (STR #481)
  1066. - The build system now installs image library header
  1067. files in FL/images/filename.h so that FLTK programs
  1068. will use the same header files as the FLTK image
  1069. libraries.
  1070. - The build system now creates image libraries named
  1071. "libfltk_name.a" instead of "libname.a" to avoid
  1072. clobbering an existing installed library (STR #480)
  1073. CHANGES IN FLTK 1.1.5rc2
  1074. - Documentation updates (STR #365, STR #399, STR #407,
  1075. STR #412, STR #414, STR #452, STR #462)
  1076. - Fl_Text_Display did not handle drawing of overlapping
  1077. text (italic next to plain, etc.) properly (STR #381)
  1078. - All of the core widgets now consistently set changed()
  1079. before calling the callback function for a change in
  1080. value; this allows programs to check the changed()
  1081. state in a callback to see why they are being called
  1082. (STR #475)
  1083. - Fl_File_Chooser did not handle some cases for filename
  1084. completion (STR #376)
  1085. - Fl_Help_View didn't properly compute the default
  1086. maximum width of the page properly, resulting in
  1087. non-wrapped text in table cells (STR #464)
  1088. - Fl_Text_Editor no longer tries to emulate the Emacs
  1089. CTRL-A shortcut to move to the first column, since
  1090. there is a key for that and the widget does not
  1091. emulate any other Emacs keys (STR #421)
  1092. - Fl_File_Chooser always disabled the OK button when the
  1093. user pressed DELETE or BACKSPACE (STR #397)
  1094. - Added Fl_Browser::swap() methods (STR #459)
  1095. - Fl_Counter didn't use a thin down box for the text
  1096. field if the box type was set to FL_THIN_UP_BOX (STR
  1097. #467)
  1098. - Fl_Help_View now resets the scrollbars if they go
  1099. outside the current view (STR #464)
  1100. - fl_dir_chooser() did not show the previous selection
  1101. as documented (STR #443)
  1102. - Fl_Text_Display used delete[] instead of free() in
  1103. some places (STR #466)
  1104. - FLTK now includes copies of the PNG, JPEG, and ZLIB
  1105. libraries for platforms that do not have them (STR
  1106. #441)
  1107. - The fltk-config script did not include the
  1108. "-mno-cygwin" option under CygWin (STR #434)
  1109. - Fl_Help_View::find() did not check for a NULL value
  1110. (STR #442)
  1111. - Added search symbol to the search field of
  1112. Fl_Help_Dialog (STR #417)
  1113. - Added two new symbols, @search and @FLTK, which can be
  1114. used in labels.
  1115. - MacOS X: fixed NumLock mixup, added support for
  1116. FL_Menu and FL_Delete keys on external (PC) keyboards
  1117. (STR #445)
  1118. - Fl_File_Icon::draw() did not support drawing of complex
  1119. polygons in icon descriptions (STR #474)
  1120. - The configure script now offers options for JPEG, PNG,
  1121. and ZLIB libraries (STR #416)
  1122. - The first menu item in a list would not go invisible
  1123. (STR #406)
  1124. - Fl_Text_Buffer::replace() now range checks its input
  1125. (STR #385)
  1126. - FLTK now builds with the current release of MinGW (STR
  1127. #325, STR #401, STR #402)
  1128. - FLTK now honors the numlock key state (STR #369)
  1129. - The Fl_Text_Display widget did not redraw selections
  1130. when focus changed (STR #390)
  1131. - The plastic background image is now less contrasty
  1132. (STR #394)
  1133. - Fl_Scroll now uses a full redraw when the scheme is
  1134. set to plastic and the box type is a frame (STR #205)
  1135. - Fl_Window::resize() did not work properly with KDE 3.2
  1136. (STR #356)
  1137. - FLTK didn't delete font bitmaps when the last OpenGL
  1138. window was deleted, preventing future text from
  1139. displaying (STR #310)
  1140. - FLUID didn't include a full initialization record for
  1141. the trailing NULL menu items (STR #375)
  1142. - Fl_Browser::item_width() did not properly handle
  1143. format modifiers (STR #372)
  1144. - Fl_Browser::item_height() did not handle columns
  1145. properly (STR #371)
  1146. - Fl_Gl_Window's on WIN32 now prefer accelerated pixel
  1147. formats over generic formats (STR #382)
  1148. - Fl_Window::resize() did not work on some systems if
  1149. the window was not shown (STR #373)
  1150. - FLUID did not write the user_data type if the
  1151. user_data field was empty (STR #374)
  1152. - The value(const Fl_Menu_Item*) method was not
  1153. implemented for Fl_Choice (STR #366)
  1154. - Fl_Pack didn't draw child widget labels the same way
  1155. as Fl_Group, causing display problems (STR #360)
  1156. - fl_read_image() didn't work when reading from an
  1157. offscreen buffer with some X11 servers (STR #364)
  1158. CHANGES IN FLTK 1.1.5rc1
  1159. - Documentation updates (STR #186, STR #245, STR #250,
  1160. STR #277, STR #281, STR #328, STR #338)
  1161. - fl_scroll() did not handle scrolling from off-screen on
  1162. WIN32 (STR #315)
  1163. - Fl_File_Chooser did not allow manual entry of a drive
  1164. letter (STR #339)
  1165. - Fl_Menu now uses the boxtype to redraw the menu
  1166. background (STR #204)
  1167. - Fl_Scroll now shows the background image when a framed
  1168. box type is used and the Fl_Scroll is a direct
  1169. decendent of a window (STR #205)
  1170. - Added a new_directory_tooltip string pointer to allow
  1171. localization of the file chooser's new directory
  1172. button (STR #340)
  1173. - Added Fl_Menu_::find_item() method (STR #316)
  1174. - The Fl_Widget copy operator definitions were not
  1175. conditionally compiled properly (STR #329)
  1176. - FLUID's Layout functionality did not move child
  1177. widgets when laying out group widgets (STR #319)
  1178. - FLUID's Layout->Center In Group functionality did not
  1179. properly handle widgets that were children of a
  1180. Fl_Window widget (STR #318)
  1181. - The Fl_Text_Display destructor did not remove the
  1182. predelete callback associated with the current buffer
  1183. (STR #332)
  1184. - Fixed several bugs in the MacOS X Fl::add_fd()
  1185. handling (STR #333, STR #337)
  1186. - The Fl_Text_Display widget did not display selections
  1187. set by the application (STR #322)
  1188. - FLUID crashed if you did layout with a window widget
  1189. (STR #317)
  1190. - Fl_Scroll::clear() didn't remove the child widget from
  1191. the Fl_Scroll widget (STR #327)
  1192. - Fl_Value_Slider::draw_bg() didn't always apply the
  1193. clipping rectangle (STR #235)
  1194. - fl_filename_relative() returned the wrong string if
  1195. the absolute pathname was equal to the current working
  1196. directory (STR #224)
  1197. - Fl_Help_Dialog didn't correctly restore the scroll
  1198. position when going forward/back in the link history
  1199. if the file changed (STR #218)
  1200. - glutGetModifiers() did not mask off extra state bits,
  1201. confusing some GLUT-based applications (STR #213)
  1202. - Fixed mouse capture problems on MacOS X (STR #209, STR
  1203. #229)
  1204. - Fl_Sys_Menu_Bar is now built into the library for
  1205. MacOS X (STR #229)
  1206. - Fl_Menu_ now provides item_pathname() methods to get
  1207. the "pathname" of a menu item, e.g. "File/Quit" (STR
  1208. #283)
  1209. - Fl_Text_Display now provides cursor_color() methods to
  1210. get and set the cursor color (STR #271)
  1211. - Fl_Scroll didn't honor FL_NO_BOX (STR #305)
  1212. - FLUID declaration blocks didn't support public/private
  1213. definitions (STR #301)
  1214. - Fl_Preferences incorrectly created the preferences
  1215. directory before necessary (STR #247)
  1216. - The WIN32 project files still defined the (obsolete)
  1217. FL_STATIC constant (STR #279)
  1218. - Fl_Text_Display::buffer() did not support NULL values,
  1219. making it impossible to clean up text buffers from a
  1220. subclass (STR #295)
  1221. - Fl_Text_Display did not support a NULL
  1222. unfinishedStyleCB function (STR #241)
  1223. - Fl::background2() incorrectly marked the foreground
  1224. color as initialized (STR #255)
  1225. - Fixed the X11 CTRL + "-" detection code to properly
  1226. track the state of the CTRL key (STR #264)
  1227. - Fl_File_Icon::load_system_icons() didn't support KDE
  1228. 3.x (STR #299)
  1229. - WIN32's scandir() emulation did not allocate enough
  1230. memory for directory names (STR #263)
  1231. - Fl::compose() did not handle special keys like
  1232. backspace properly (STR #293)
  1233. - Fl_Choice did not clip its text when drawing using the
  1234. plastic scheme (STR #287)
  1235. - Fl_Group incorrectly mapped the emacs CTRL keys to
  1236. keyboard navigation (STR #228)
  1237. - Fl_File_Browser::load() didn't handle a NULL directory
  1238. name (STR #266)
  1239. - 64-bit library fixes (STR #261)
  1240. - The Fl_Valuator::format() function did not limit the
  1241. size of the number buffer (STR #268)
  1242. - The keypad Enter key works as the normal Enter/Return
  1243. key in common widgets (STR #191)
  1244. - Fixed some OS/2-specific build problems (STR #185, STR
  1245. #197)
  1246. - Calling Fl_Text_Display::buffer() with the same buffer
  1247. would cause an application to lockup (STR #196)
  1248. - Some of the widgets could crash an application if the
  1249. cursor was changed after a window was deleted (STR
  1250. #181)
  1251. - The Fl_Gl_Window WIN32 pixel format code did not
  1252. choose the pixel format with the largest depth buffer
  1253. (STR #175)
  1254. - The configure script didn't leave space between the
  1255. CFLAGS/CXXFLAGS and X_CFLAGS variables (STR #174)
  1256. - The Fl_JPEG_Image and Fl_PNG_Image classes did not
  1257. trap errors from the corresponding image libraries
  1258. (STR #168)
  1259. - Added "--with-links" configure option to control
  1260. whether symlinks are created for the FLTK header files
  1261. (STR #164)
  1262. - Added new hoverdelay() to Fl_Tooltip to control how
  1263. quickly recent tooltips appear (STR #126)
  1264. - FLUID now sets the size range when a window is shown.
  1265. This seems to be necessary with some window managers
  1266. (STR #166)
  1267. CHANGES IN FLTK 1.1.4
  1268. - The fl_read_image() function was not implemented on
  1269. OSX (STR #161)
  1270. - VC++ 7.1 didn't like how the copy operators were
  1271. disabled for the Fl_Widget class; now include inline
  1272. code which will never be used but makes VC++ happy
  1273. (STR #156)
  1274. - Fixed an IRIX compile problem caused by a missing
  1275. #include (STR #157)
  1276. - FLUID didn't write color/selection_color() calls using
  1277. the symbolic names when possible, nor did it cast
  1278. integer colors to Fl_Color (STR #146)
  1279. - Fl_File_Chooser was very close for multiple file
  1280. selection in large directories (STR #140)
  1281. - Fl_Text_Display/Editor did not disable the current
  1282. selection when focus was shifted to another widget
  1283. (STR #131)
  1284. - Fl_Choice didn't use the normal focus box when the
  1285. plastic scheme was in use (STR #129)
  1286. - Fl_Text_Editor didn't use selection_color()
  1287. consistently (STR #130)
  1288. - The fltk_forms, fltk_gl, and fltk_images DSO's and
  1289. HP-UX shared libraries are now linked against the fltk
  1290. shared library to provide complete dependency
  1291. resolution (STR #118)
  1292. - The configure.in file did not work with autoconf 2.57.
  1293. - FLUID didn't redraw widgets when changing the X, Y, W,
  1294. or H values in the widget panel (STR #120)
  1295. - Fl_Window::show(argc, argv) wasn't calling
  1296. Fl::get_system_colors() as documented (STR #119)
  1297. - DSO (shared library) building wasn't quite right for
  1298. some platforms (STR #118)
  1299. - OSX: some changes to make ProjectBuilder compiles
  1300. possible.
  1301. - OSX: FLTK would not know where a window was positioned
  1302. by the OS. As a result, popup menus could open at
  1303. wrong positions.
  1304. CHANGES IN FLTK 1.1.4rc2
  1305. - Fl_Window::show(argc,argv) incorrectly opened the
  1306. display prior to parsing the arguments; this prevented
  1307. the "-display foo" option from working (STR #111)
  1308. - Images were not clipped properly on MacOS X (STR #114)
  1309. - Fl::reload_scheme() and Fl::scheme("foo") incorrectly
  1310. called Fl::get_system_colors(). This prevented an
  1311. application from setting its own color preferences
  1312. (STR #115)
  1313. - The 'Enter' key event on OS X would not set
  1314. Fl::e_text.
  1315. - Changed behaviour of FLUID to always paste into
  1316. a selected group (STR #88)
  1317. - Menuitem now changes font, even if fontsize
  1318. is not set (STR #110)
  1319. - Swapped shortcut labels in OS X (STR #86)
  1320. - Non-square Fl_Dial would calculate angle from user
  1321. input wrong (STR #101)
  1322. - Updated documentatiopn of fl_draw (STR #94)
  1323. and Fl_Menu_::add() (STR #99)
  1324. - FLUID collapse triangle events were not offset by
  1325. horizontal scroll (STR #106)
  1326. - QuitAppleEvent now correctly returns from Fl::run()
  1327. instead of just exiting (STR #87)
  1328. - Hiding the first created OpenGL context was not
  1329. possible. FLTK now manages a list of contexts (STR #77)
  1330. - FLUID didn't keep the double/single buffer type for
  1331. windows.
  1332. - FLTK didn't work with Xft2.
  1333. - OSX window resizing didn't work (STR #64)
  1334. - Fixed MacOS X shared library generation (STR #51)
  1335. - Several widgets defined their own size() method but
  1336. didn't provide an inline method that mapped to the
  1337. Fl_Widget::size() method (STR #62)
  1338. - Fl_Scroll didn't provide its own clear() method, so
  1339. calling clear() on a Fl_Scroll widget would also
  1340. destroy the scrollbars (STR #75)
  1341. - Fl::event_text() was sometimes initialized to NULL
  1342. instead of an empty string (STR #70)
  1343. - fl_draw() didn't properly handle a trailing escaped
  1344. "@" character (STR #84)
  1345. - Added documentation for all forms of
  1346. Fl_Widget::damage() (STR #61)
  1347. - Fl_Double_Window now has a type() value of
  1348. FL_DOUBLE_WINDOW, to allow double-buffered windows to
  1349. process redraws properly on WIN32 (STR #46)
  1350. - Added FL_DAMAGE_USER1 and FL_DAMAGE_USER2 damage bits
  1351. for use by widget developers (STR #57)
  1352. - Fl_Help_View didn't support numeric character entities
  1353. (STR #66)
  1354. - Menu shortcuts didn't use the Mac key names under
  1355. MacOS X (STR #71)
  1356. - CodeWarrior Mac OS X updated to work with current
  1357. CW8.3 (STR #34)
  1358. - Apple-C/X/V/Z didn't work in the Fl_Input widget due
  1359. to a bad mapping to control keys (STR #79)
  1360. - Added the OSX-specific fl_open_callback() function to
  1361. handle Open Documents messages from the Finder (STR
  1362. #80)
  1363. - The configure script contained erroneous whitespace in
  1364. various tests which caused errors on some platforms
  1365. (STR #60)
  1366. - The fltk-config script still supported the deprecated
  1367. --prefix and --exec-prefix options; dropped them since
  1368. they serve no useful purpose and would never have
  1369. worked for the intended purpose anyways... (STR #56)
  1370. - fl_filename_list returned 0 on Win32 if no directory
  1371. existed (STR #54)
  1372. - Pressing 'home' after the last letter in a Text_Editor
  1373. would move the cursor to pos 0 (STR #39)
  1374. - Fl::get_key(x) would mix up Ctrl and Meta on OS X (STR
  1375. #55)
  1376. - The configure script used the wrong dynamic library
  1377. linking command for OSX (STR #51)
  1378. - The Fl_Text_Editor widget did not set changed() nor
  1379. did it call the widget's callback function for
  1380. FL_WHEN_CHANGED when processing characters that
  1381. Fl::compose() handles (STR #52)
  1382. CHANGES IN FLTK 1.1.4rc1
  1383. - The file chooser did not reset the click count when
  1384. changing directories; if you clicked on a file in the
  1385. same position after changing directories with a
  1386. double-click, the chooser treated it as a triple
  1387. click (STR #27)
  1388. - Symbols with outlines did not get drawn inactive.
  1389. - The Fl_Help_View widget now provides a find() method
  1390. to search for text within the page.
  1391. - The Fl_Help_Dialog widget now provides a search box
  1392. for entering text to search for.
  1393. - The default font encoding on OSX did not match the
  1394. default on WIN32 or X11.
  1395. - Menu items were not drawn using the font specified in
  1396. the Fl_Menu_Item structure (STR #30)
  1397. - Long menus that were aligned such that the top of an
  1398. item was exactly at the top of the screen would not
  1399. scroll (STR #33)
  1400. - The OS issues appendix incorrectly stated that MacOS
  1401. 8.6 and 9 were supported; they are not (STR #28)
  1402. - Fixed handling of nested double-buffered windows (STR
  1403. #1)
  1404. - Showing a subwindow inside a hidden window would crash
  1405. the application (STR #23)
  1406. - OSX users couldn't enter some special chars when using
  1407. some foreign key layouts (STR #32)
  1408. - Hiding subwindows on OSX would hide the parent window
  1409. (STR #22)
  1410. - Added thin plastic box types.
  1411. - Fl_Pack ignored the box() setting and cleared any
  1412. unused areas to the widget color; it now only does so
  1413. if the box() is set to something other than FL_NO_BOX.
  1414. - Updated the Fl_Tabs widget to offset the first tab by
  1415. the box dx value to avoid visual errors.
  1416. - Updated the plastic up box to draw only a single
  1417. border frame instead of the old double one for
  1418. improved appearance.
  1419. - Updated the default background color on OSX to provide
  1420. better contrast.
  1421. - Fl_Text_Display and friends now look for the next
  1422. non-punctuation/space character for word boundaries
  1423. (STR #26)
  1424. - gl_font() didn't work properly for X11 when Xft was
  1425. used (STR #12)
  1426. - Fl_File_Browser incorrectly included "." on WIN32 (STR
  1427. #9)
  1428. - Include shellapi.h instead of ShellAPI.h in the WIN32
  1429. drag-n-drop code in order to work with the MingW cross
  1430. compiler (STR #6)
  1431. - The cursor was not properly restored when doing
  1432. drag-n-drop on X11 (STR #4)
  1433. - Fl::remove_fd() didn't recalculate the highest file
  1434. descriptor properly (STR #20)
  1435. - Fl_Preferences::deleteGroup() didn't work properly
  1436. (STR #13)
  1437. - Fixed the fl_show_file_selector() function - it was
  1438. copying using the wrong string size (STR #14)
  1439. - fl_font() and fl_size() were not implemented on MacOS
  1440. X.
  1441. - Sorted the icon menu bar in FLUID.
  1442. - Fixed minor memory access complaints from Valgrind
  1443. - Compiling src/flstring.h on OS X with BSD header would
  1444. fail.
  1445. - Fl_Text_Editor didn't scroll the buffer when the user
  1446. pressed Ctrl+End or Ctrl+Home.
  1447. - Fl_Text_Editor didn't show its cursor when the mouse
  1448. was moved inside the window.
  1449. - FLUID now uses an Fl_Text_Display widget for command
  1450. output, which allows you to copy and paste text from
  1451. command output into other windows.
  1452. - Fl_Gl_Window could cause a bus error on MacOS X if the
  1453. parent window was not yet shown.
  1454. - FLUID could crash after displaying a syntax error
  1455. dialog for the callback code.
  1456. - FLUID would reset the callback code if you opened the
  1457. widget panel for multiple widgets.
  1458. - Added a NULL check to Fl_Text_Display (SF Bug #706921).
  1459. - The fltk-config script placed the LDFLAGS at the wrong
  1460. place in the linker options.
  1461. - Fl_Text_Display didn't draw the outer box in the right
  1462. dimensions, so it was invisible.
  1463. - Fl_Help_Dialog used the same color for links as for
  1464. the background, causing links to be invisible on pages
  1465. without a background color set.
  1466. CHANGES IN FLTK 1.1.3
  1467. - Documentation updates.
  1468. - FLTK now ignores KeyRelease events when X11 sends them
  1469. for repeating keys.
  1470. - FLUID now supports up to two additional qualifiers
  1471. before a class name (FL_EXPORT, etc.) to aide in
  1472. developing DLL interfaces for WIN32.
  1473. - Additional NULL checks in Fl_Button,
  1474. fl_draw_boxtype(), Fl_File_Chooser, and
  1475. Fl_Window::hotspot().
  1476. - The Fl_Preferences header file needed to FL_EXPORT all
  1477. of the nested classes for WIN32.
  1478. - Fl_Double_Window couldn't be nested on WIN32. [SF Bug
  1479. #658219]
  1480. - Fl_Slider didn't call the callback function when the
  1481. user changed the value using the keyboard and the
  1482. "when" condition was FL_WHEN_RELEASE. [SF Bug #647072]
  1483. - Lines with less than 2 unique vertices and polygons
  1484. with less the 3 unique vertices were not drawn
  1485. properly. [SF Bug #647067]
  1486. - The size_range() values were not honored under MacOS
  1487. X. [SF Bug #647074]
  1488. - OpenGL windows didn't resize correctly on MacOS X.
  1489. [SF Bug #667855]
  1490. - The menus incorrectly used the overlay visual when one
  1491. or more menu items contained an image. [SF Bug #653846]
  1492. - Changed some error messages to use Fl::error() instead
  1493. of fprintf()...
  1494. - Fl_Text_Buffer and Fl_Text_Display used free to free
  1495. memory that was allocated using the new operator.
  1496. - Tweeked the plastic scheme under MacOSX to better
  1497. match the colors.
  1498. - The Fl_Image.H always included the x.H header file,
  1499. which included many system headers that could
  1500. interfere with normal GUI applications. It now uses
  1501. the corresponding based types for the image id and
  1502. mask to avoid this.
  1503. - The FLUID widget panel wasn't sorted, so keyboard
  1504. navigation was strange. [SF Bug #647069]
  1505. - Fl_Scroll didn't compute the location of labels to the
  1506. right or below when determining the area to erase.
  1507. - Added backward-compatibility macro for
  1508. filename_setext().
  1509. - Fl_Bitmap::copy(), Fl_Pixmap::copy(), and
  1510. Fl_RGB_Image::copy() all could overflow the source
  1511. image when scaling the image.
  1512. - Double/triple clicks in Fl_Input fields didn't copy
  1513. the expanded selection to the clipboard.
  1514. - Fl_Glut_Window and Fl_Gl_Window didn't always initialize
  1515. the OpenGL context on MacOS.
  1516. CHANGES IN FLTK 1.1.2
  1517. - Fl_Menu_Bar now supports drawing vertical dividers
  1518. between menu items and submenus in the menu bar.
  1519. - Fl_File_Chooser::value() didn't return NULL when the
  1520. user clicked Cancel while selecting a directory. This
  1521. bug also affected fl_dir_chooser().
  1522. - Fl_Menu_::add(const char *) used too small a menu item
  1523. label buffer and didn't do bounds checking.
  1524. - Eliminate some compiler warnings with CodeWarrier
  1525. under WIN32 (Paul Chambers)
  1526. - Fl_Gl_Window widgets did not resize properly under
  1527. MacOS X.
  1528. - The cursor could be set for the wrong window in the
  1529. text widgets.
  1530. - Fl_Check_Browser didn't provide const char * add
  1531. methods as documented.
  1532. - Fl_Check_Browser didn't draw the same style of check
  1533. marks at the other widgets.
  1534. - Fl_Button, Fl_Choice, and Fl_Menu_Button incorrectly
  1535. activated the button/menu when the spacebar was
  1536. pressed in conjunction with shift, control, alt, or
  1537. meta.
  1538. - FLTK should now compile with Xft 2.0.
  1539. - Some versions of Tru64 4.0 have snprintf and
  1540. vnsprintf, but don't have the prototypes for those
  1541. functions.
  1542. - FLTK had trouble doing character composition with some
  1543. keyboard layouts under X11 (in particular, Belgian).
  1544. - Fl_Text_Editor would cause a segfault if the user
  1545. pressed CTRL-V (paste) without having any data in the
  1546. clipboard...
  1547. - The tab key moved backwards in menus instead of
  1548. forwards. Shift-tab still moves backwards.
  1549. - The redraw_label() method didn't damage the parent
  1550. window when the label was outside the widget's
  1551. bounding box.
  1552. - Added a "draw_children()" method to Fl_Group to make
  1553. subclassing Fl_Group with a custom draw() function
  1554. easier.
  1555. - Fl_Text_Editor now supports basic undo functionality.
  1556. - FLUID now uses Fl_Text_Editor widgets for all
  1557. multi-line code fields.
  1558. - Added new widget bin and icons to FLUID.
  1559. - FLUID would try running multiple commands in parallel,
  1560. even though it wasn't capable of handling it.
  1561. - FLUID didn't generate code for some attributes when
  1562. using custom/named widget classes.
  1563. - Added a new FL_COMMAND state bit which maps to FL_CTRL
  1564. on X11 and WIN32 and FL_META on MacOS.
  1565. - MacOS keyboard modifiers mapping corrections. Cmd and
  1566. Control are no longer swapped, event_key and event_text
  1567. return (mostly) the same values as on other platforms.
  1568. - The Fl_Tabs widget should no longer be a focus hog;
  1569. previously it would take focus from child widgets.
  1570. - The file chooser now activates the OK button when
  1571. opening a directory in directory selection mode.
  1572. - Fixed a bug in the file chooser when entering an
  1573. absolute path.
  1574. - Back-ported some FLTK 2.0 tooltip changes to eliminate
  1575. erroneous tooltip display.
  1576. - MacOS windows were resizable, even when size_range
  1577. would not allow for resizing.
  1578. - Fl_Text_Editor now supports Shift+Delete, Ctrl+Insert,
  1579. and Shift+Insert for cut, copy, and paste,
  1580. respectively.
  1581. - Fl_Text_Display didn't restore the mouse pointer when
  1582. hidden.
  1583. - Fl::arg() now ignores the MacOS X -psn_N_NNNNN option.
  1584. - Added another change to the WIN32 redraw handling for
  1585. the MingW compilers.
  1586. - Fl_File_Chooser didn't handle WIN32 home directories
  1587. that used backslashes instead of forward slashes.
  1588. - Fl_Text_Display didn't limit the resize height to 1
  1589. line.
  1590. - Fl_Scrollbar widgets incorrectly took keyboard focus
  1591. when clicked on. This caused widgets such as
  1592. Fl_Text_Display to hide the cursor when you scrolled
  1593. the text.
  1594. CHANGES IN FLTK 1.1.1
  1595. - Fl_Text_Display didn't always show the cursor.
  1596. - Fl_Tabs now only redraws the tabs themselves when
  1597. making focus changes. This reduces flicker in tabbed
  1598. interfaces.
  1599. - The WIN32 redraw handler now correctly merges the FLTK
  1600. and Windows redraw regions.
  1601. - The Fl_Text_* widgets use the C++ bool type, which is
  1602. not supported by older C++ compilers. Added a
  1603. configure check and workaround code for this.
  1604. - Fl_X::set_xid() didn't initialize the backbuffer_bad
  1605. element that was used with XDBE.
  1606. - Fl_Shared_Image::uncache() was not implemented.
  1607. - Fl::set_font() didn't 0-initialize all font descriptor
  1608. data.
  1609. - Some OpenGL implementations don't support single-
  1610. buffered visuals. The Fl_Gl_Window class now emulates
  1611. single-buffered windows using double-buffered
  1612. windows.
  1613. - Added a workaround for a compiler bug in Borland C++
  1614. that prevented Fl_Help_View.cxx from compiling.
  1615. - Checkmarks didn't scale properly; copied the 2.0 check
  1616. mark code over.
  1617. - Replaced several memcpy's with memmove's for
  1618. portability (memmove allows for overlapping copies,
  1619. memcpy does not)
  1620. - Bug #621737: Fl_Bitmap::copy(), Fl_Pixmap::copy(), and
  1621. Fl_RGB_Image::copy() now range-check the new width and
  1622. height to make sure they are positive integers.
  1623. - Bug #621740: the WIN32 port needed to handle WM_MOUSELEAVE events
  1624. in order to avoid problems with tooltips.
  1625. - Fl_PNM_Image didn't set the "alloc" flag for the data,
  1626. which could lead to a memory leak.
  1627. - fl_filename_match() was inconsistently doing case-
  1628. insensitive matching.
  1629. - Fl_Button redraw fix for bug #620979 (focus boxes and
  1630. check buttons).
  1631. - Fl_Text_Display fix for bug #620633 (crash on
  1632. redisplay).
  1633. - Fl_Output now calls its callback when the user clicks
  1634. or drags in the widget.
  1635. - Shortcuts now cause buttons to take focus when visible
  1636. focus is enabled.
  1637. - fl_filename_relative() didn't check that the path was
  1638. absolute under WIN32.
  1639. - fl_filename_relative() didn't check that the path was
  1640. on the current drive under WIN32.
  1641. - The Fl_BMP_Image class now handles 16-bit BMP files
  1642. and BMP files with a transparency mask.
  1643. - The fltk-config script didn't add the required include
  1644. path, if any, when compiling a program.
  1645. - Added a license clarification that the FLTK manual is
  1646. covered by the same license as FLTK itself.
  1647. - Fl_Check_Browser wasn't documented.
  1648. - Fl_Preferences::Node::addChild(), deleteEntry(), and
  1649. remove() didn't set the "dirty" flag.
  1650. - The "no change" button didn't work in the FLUID widget
  1651. panel.
  1652. - Vertical scrollbars did not draw the arrows inactive
  1653. when the scrollbar was inactive.
  1654. CHANGES IN FLTK 1.1.0
  1655. - Documentation updates.
  1656. - Added a Fl_Widget::redraw_label() method which flags a
  1657. redraw of the appropriate area. This helps to
  1658. eliminate flicker when updating the value of a widget.
  1659. - Fl_Wizard::value() now resets the mouse cursor to the
  1660. window's default cursor.
  1661. - Fl_File_Chooser::type() didn't enable/disable the new
  1662. directory button correctly.
  1663. - Fl_Preferences::entryExists() did not work properly.
  1664. - FLUID's image file chooser pattern was incorrect.
  1665. - Fl_File_Icon::load_system_icons() now detects KDE
  1666. icons in /opt/kde, /usr/local, and /usr automatically,
  1667. and supports the KDEDIR environment variable as well.
  1668. - Submenus now display to the left of the parent menu if
  1669. they won't fit to the right. Previously they would
  1670. display right on top of the parent menu...
  1671. - Fl_Menu_:add() didn't handle a trailing "\" character
  1672. gracefully.
  1673. - Clicking/dragging the middle mouse button in a
  1674. scrollbar now moves directly to that scroll position,
  1675. matching the behavior of other toolkits.
  1676. - Added some more range checking to the Fl_Text_Display
  1677. widget.
  1678. - The editor demo did not correctly update the style
  1679. (syntax highlighting) information.
  1680. CHANGES IN FLTK 1.1.0rc7
  1681. - Updated the Fl_Text_Buffer and Fl_Text_Display classes
  1682. to be based on NEdit 5.3 (patch from George Garvey).
  1683. - Fixed a problem with Fl::wait(0.0) on MacOS X 10.2;
  1684. this affected the fractals demo and other OpenGL
  1685. applications.
  1686. - Fl_Glut_Window now takes keyboard focus and handles
  1687. shortcut events.
  1688. - The MacOS X implementation of fl_ready() now checks
  1689. the event queue for events.
  1690. - Fl_PNM_Image now supports the XV/GIMP thumbnail format
  1691. (P7).
  1692. - Fl_Preferences would not find groups inside the root
  1693. group.
  1694. - Small bug fixes for Fl_Chart, Fl_Scrollbar, Fl_Tabs,
  1695. and FLUID from Matthew Morrise.
  1696. - Fl_Chart didn't have its own destructor, so data in
  1697. the chart wasn't freed.
  1698. - Fl_Menu_Button no longer responds to focus or keyboard
  1699. events when box() is FL_NO_BOX.
  1700. - FLTK convenience dialogs put the buttons in the wrong
  1701. order.
  1702. - Fl_BMP_Image didn't load 4-bit BMP files properly.
  1703. - Minor tweeks to the WIN32 DLL support.
  1704. - Fl_Text_Display::resize() could go into an infinite
  1705. loop if the buffer is emptied.
  1706. - Fl::handle() didn't pass FL_RELEASE events to the
  1707. grab() widget if pushed() was set (for proper menu
  1708. handling...)
  1709. - DND events were being sent to the target window
  1710. instead of the target widget under WIN32.
  1711. - The newest Cygwin needs the same scandir() handling as
  1712. HP-UX.
  1713. - FLUID didn't register the image formats in the
  1714. fltk_images library, and had some other image
  1715. management problems.
  1716. - Fixed one more redraw bug in Fl_Browser_ where we
  1717. weren't using the box function to erase empty space in
  1718. the list.
  1719. - Fl_Text_Display::buffer() now calls resize() to show
  1720. the buffer.
  1721. - Fl_Help_View didn't support HTML comments.
  1722. - Fl_Help_View didn't include the extra cellpadding when
  1723. handling colspan attributes in cells.
  1724. - Fl_Help_View didn't support table alignment.
  1725. CHANGES IN FLTK 1.1.0rc6
  1726. - Documentation updates.
  1727. - Fl::handle() didn't apply the modal tests for
  1728. FL_RELEASE events, which caused Fl_Tabs to allow users
  1729. to change tabs even when a modal window was open.
  1730. - Fl_Browser_, Fl_Input_, Fl_Slider now use the box
  1731. function to erase the background. This fixes some
  1732. long-standing redraw problems.
  1733. - More snprintf/strlcpy/strlcat changes where needed.
  1734. - Fl::get_font_name() would leak 128 bytes.
  1735. - Eliminated most of the "shadowed" variables to avoid
  1736. potential problems with using the wrong copy of "foo"
  1737. in a class method.
  1738. - Moved Fl_BMP_Image, Fl_GIF_Image, and Fl_PNM_Image to
  1739. the fltk_images library, so the only image formats
  1740. that are supported by the core library are XBM and XPM
  1741. files. This reduces the size of the FLTK core library
  1742. by about 16k...
  1743. - The Fl_Text_Display::resize() method was incorrectly
  1744. flagged as protected.
  1745. - Fixed some memory/initialization bugs in
  1746. Fl_File_Chooser that valgrind caught.
  1747. - The PNG library png_read_destroy() is deprecated and
  1748. does not free all of the memory allocated by
  1749. png_create_read_struct(). This caused a memory leak in
  1750. FLTK apps that loaded PNG images.
  1751. - Added uncache() method to Fl_Image and friends.
  1752. - Added image() methods to Fl_Menu_Item.
  1753. - Added default_cursor() method and data to Fl_Window.
  1754. - Fl_Group would send FL_ENTER events before FL_LEAVE
  1755. events, causing problems with adjacent widgets.
  1756. - Fixed filename problems with Fl_File_Chooser -
  1757. changing the filename field directly or choosing files
  1758. from the root directory could yield interesting
  1759. filenames.
  1760. - Fl_Input_ could crash if it received an empty paste
  1761. event.
  1762. - The mouse pointer now changes to the I beam
  1763. (FL_CURSOR_INSERT) when moved over an input field or
  1764. text widget.
  1765. - "make install" didn't automatically (re)compile the
  1766. FLUID executable.
  1767. - Added an Fl::get_boxtype() method to get the current
  1768. drawing function for a specific box type.
  1769. - Fl_Output and Fl_Multiline_Output didn't prevent
  1770. middle-mouse pastes.
  1771. - Fl_JPEG_Image didn't compile out-of-the-box with Cygwin
  1772. due to a bug in the Cygwin JPEG library headers.
  1773. - Fl_BMP_Image still didn't work with some old BMP files.
  1774. - "make distclean" didn't really clean out everything.
  1775. - Tweeked the look of the check button with a patch from
  1776. Albrecht Schlosser.
  1777. CHANGES IN FLTK 1.1.0rc5
  1778. - Added "wrap" type bit to Fl_Input_, so you can now
  1779. have a multiline text field that wraps text.
  1780. - Setting the value() of an output text field no longer
  1781. selects the text in it.
  1782. - Output text fields now show a caret for the cursor
  1783. instead of the vertical bar.
  1784. - The newButton and previewButton widgets are now public
  1785. members of the Fl_File_Chooser class. This allows
  1786. developers to disable or hide the "new directory" and
  1787. "preview" buttons as desired.
  1788. - Added new visible focus flag bit and methods to
  1789. Fl_Widget, so it is now possible to do both global and
  1790. per-widget keyboard focus control.
  1791. - Removed extra 3 pixel border around input fields.
  1792. - No longer quote characters from 0x80 to 0x9f in input
  1793. fields.
  1794. - Improved speed of Fl_Browser_::display() method with
  1795. large lists (patch from Stephen Davies.)
  1796. - Fl_Help_View didn't properly handle NULL from the link
  1797. callback (the original filename/directory name were
  1798. not preserved...)
  1799. - Fl_Help_View didn't use the boxtype border values when
  1800. clipping the page that was displayed.
  1801. - Added first steps to CodeWarrior/OS_X support (see
  1802. fltk-1.1.x/CodeWarrior/OS_X.sit)
  1803. - Cleaned up the WIN32 export definitions for some of
  1804. the widget classes.
  1805. - Fixed a filename completion bug when changing
  1806. directories.
  1807. - Fl_File_Chooser::value() would return directories with
  1808. a trailing slash, but would not accept a directory
  1809. without a trailing slash.
  1810. - When installing shared libraries, FLUID is now linked
  1811. against the shared libraries.
  1812. - MacOS: missing compile rule for .dylib files.
  1813. - Fl_Group::current(), Fl_Group::begin(), and
  1814. Fl_Group::end() are no longer inlined so that they are
  1815. properly exported in DLLs under WIN32. Similar
  1816. changes for all static inline methods in other
  1817. classes.
  1818. - MacOS: support for Mac system menu (Fl_Sys_Menu_Bar)
  1819. - MacOS: wait(0) would not handle all pending events
  1820. - Added new makeinclude file for MingW using GCC 3.1.x.
  1821. - Fl_Choice::value(n) didn't range check "n".
  1822. - The MingW and OS/2 makeinclude files didn't have the
  1823. new fltk_images library definitions.
  1824. - Fl_Text_Editor didn't scroll the text in the widget
  1825. when dragging text.
  1826. - Config header file changes for Borland C++.
  1827. - FLTK didn't provide a Fl::remove_handler() method.
  1828. CHANGES IN FLTK 1.1.0rc4
  1829. - Added new filter_value() methods to Fl_File_Chooser to
  1830. get and set the current file filters.
  1831. - Added support for custom filters to Fl_File_Chooser.
  1832. - Added Borland C++ Builder IDE project files from
  1833. Alexey Parshin.
  1834. - Resource leak fixes under WIN32 from Ori Berger.
  1835. - Now register a WIN32 message for thread messages.
  1836. - Fl_Window didn't initialize the min and max window
  1837. size fields.
  1838. - The JPEG and PNG image classes have been moved to the
  1839. fltk_images library, a la FLTK 2.0. You can register
  1840. all image file formats provided in fltk_images using
  1841. the new fl_register_images() function.
  1842. - Fl_XBM_Image didn't correctly load XBM files.
  1843. - MacOS: Added Greg Ercolano's file descriptor support.
  1844. - MacOS: Fixed text width bug.
  1845. - A change in fl_fix_focus() broken click-focus in FLWM.
  1846. - Cygwin with -mnocygwin didn't like the FL/math.h
  1847. header file.
  1848. - Fl_Browser_ cleared the click count unnecessarily.
  1849. - MacOS: Pixmap draw fix, gl_font implemented
  1850. FL_FOCUS fix, window type fix for modal and nonmodal
  1851. windows, glut uninitialised 'display' proc fix
  1852. - Now support FLTK_1_0_COMPAT symbol to define
  1853. compatibility macros for the old FLTK 1.0.x function
  1854. names to the 1.1.x names.
  1855. - Now translate the window coordinates when a window is
  1856. shown, moved, or resized. This should fix the "menus
  1857. showing up at the wrong position" bug under XFree86.
  1858. - Fixed some more problems with the Fl_BMP_Image file
  1859. loader.
  1860. - BC++ fixes.
  1861. - The pixmap_browser demo didn't check for a NULL image
  1862. pointer.
  1863. - Fl_File_Icon::find() now uses fl_filename_isdir()
  1864. under WIN32 to check for directories.
  1865. - Fl_File_Chooser's preview code called refcount()
  1866. on the deleted image's object.
  1867. - Fixed another problem with the Fl_BMP_Image loader.
  1868. - The fl_file_chooser() callback was being called with a
  1869. NULL filename.
  1870. - Documented that fl_push_clip() is preferred over
  1871. fl_clip(), with a corresponding source change.
  1872. - Minor changes to the MacOS X event handling code.
  1873. - Added syntax highlighting example code to the editor
  1874. test program.
  1875. - Fl_Text_Display didn't range check style buffer
  1876. values.
  1877. - Added "dark" color constants (FL_DARK_RED, etc.)
  1878. - The MacOS font code was missing definitions for
  1879. fl_font_ and fl_size_.
  1880. CHANGES IN FLTK 1.1.0rc3
  1881. - Documentation updates.
  1882. - New file chooser from design contest.
  1883. - Did some testing with Valgrind and fixed some memory
  1884. problems in Fl_Help_View::Fl_HelpView,
  1885. Fl_Menu_::remove(), Fl_Text_Display::draw_vline(), and
  1886. resizeform() (convenience dialogs).
  1887. - Fixed some redraw() bugs, and now redraw portions of
  1888. the parent widget when the label appears outside the
  1889. widget.
  1890. - The boolean (char) value methods in Fl_Preferences
  1891. have been removed since some C++ compilers can't
  1892. handle char and int value methods with the same name.
  1893. - Added fl_read_image() function.
  1894. - Fixed Fl_Valuator::format() so that the correct format
  1895. type is used when step == 1.0.
  1896. - Fl_Help_View didn't support the TT markup.
  1897. - Fl_Shared_Image used a double-pointer to the image
  1898. handler functions, which was unnecessary and
  1899. unintuitive.
  1900. - Fl_PNM_Image didn't load the height of the image
  1901. properly.
  1902. - Fl_BMP_Image, Fl_JPEG_Image, Fl_PNG_Image, and
  1903. Fl_Shared_Image didn't delete image data that was
  1904. allocated.
  1905. - Enabled the OpenGL and threads demos when compiling
  1906. for MingW.
  1907. - Fl_File_Input didn't update the directory buttons if a
  1908. callback was registered with the widget.
  1909. - The file chooser would return the last selected
  1910. file(s) when cancel was pressed.
  1911. - The file chooser limited the resizing of the chooser
  1912. window unnecessarily.
  1913. - Fixed WM_PAINT handling under WIN32.
  1914. - Minor tweeks to MingW and OS/2 config headers.
  1915. - Fl_Value_Input now correctly determines if step()
  1916. specifies an integer value.
  1917. - Fl_Help_View didn't add links inside PRE elements.
  1918. - OS/2 build fixes from Alexander Mai.
  1919. - Now use strlcat() instead of strncat() which could
  1920. cause buffer overflows.
  1921. - Now use of strlcpy() instead of strncpy() to simplify
  1922. the code.
  1923. - Drag-n-drop under WIN32 now shows a [+] cursor instead
  1924. of the link cursor.
  1925. - Fixed widget width tooltip and default argument
  1926. handling code in FLUID.
  1927. - Fixed colors used when drawing antialiased text using
  1928. Xft.
  1929. - Fl_Preferences::makePath() now uses access() instead
  1930. of stat() when checking to see if the destination
  1931. directory already exists.
  1932. - Fl_BMP_Image now supports older BMP files with the 12
  1933. byte header.
  1934. - Optimized the redrawing of tabs and radio/check
  1935. buttons when the keyboard focus changes.
  1936. - More tooltip fixes.
  1937. - DND text operations would loop under X11.
  1938. CHANGES IN FLTK 1.1.0rc2
  1939. - Portability fixes.
  1940. - Backported 2.0 tooltip changes.
  1941. - Several of the valuators did not support tooltips.
  1942. - The last menu item in a menu didn't pick up on font
  1943. changes.
  1944. - FLUID now properly handles default argument parameters
  1945. properly.
  1946. - Fixed WM_PAINT handling under WIN32 - didn't validate
  1947. the correct region that was drawn.
  1948. - Fl_Multiline_Output would insert the enter key.
  1949. - Fl_File_Browser didn't clip items to the column width.
  1950. - Fl_Window::draw() cleared the window label but didn't
  1951. restore it, so windows could lose their titles.
  1952. - Eliminated multiple definitions of dirent structure
  1953. when compiling under WIN32.
  1954. - Adjusted the size of the circle that is drawn inside
  1955. radio buttons to scale better for larger labels.
  1956. - FLUID was opening the display when it shouldn't have.
  1957. - Fl_File_Chooser.cxx defined the file chooser functions
  1958. again; they should only be defined in the header file.
  1959. - Wide arcs would draw with "teeth".
  1960. - The preferences demo included Fl/Fl_Preferences.H
  1961. instead of FL/Fl_Preferences.H.
  1962. CHANGES IN FLTK 1.1.0rc1
  1963. - The fl_file_chooser() and fl_dir_chooser() functions
  1964. now support an optional "relative" argument to get
  1965. relative pathnames; the default is to return absolute
  1966. pathnames.
  1967. - The backspace and delete keys now work as expected in
  1968. the file chooser when doing filename completion.
  1969. - FLUID now supports running shell commands.
  1970. - New Fl_File_Input widget that shows directory
  1971. separators with filename in input field.
  1972. - The Fl_File_Chooser dialog now shows the absolute path
  1973. in the filename field using the Fl_File_Input widget.
  1974. - FLUID now keeps track of grid, tooltip, and other
  1975. GUI options, along with the last 10 files opened.
  1976. - Tooltip windows would show up in the task bar under
  1977. WIN32.
  1978. - Now append trailing slash to directory names in names
  1979. in WIN32 version of scandir(). This takes care of a
  1980. file chooser performance problem with large
  1981. directories.
  1982. - Added Fl_Preferences class from Matthias Melcher,
  1983. including binary data support.
  1984. - FLUID now recognizes the "using" keyword in
  1985. declarations.
  1986. - fl_file_chooser() didn't highlight the requested file
  1987. the second time the file chooser dialog was shown.
  1988. - Fixed rendering of Fl_Light_Button with the plastic
  1989. scheme.
  1990. - Fixed a bug in the MacOS font enumeration code.
  1991. - Now show a "locked" icon next to static/private
  1992. elements in FLUID, and "unlocked" icon next to
  1993. global/public elements.
  1994. - Implemented Fl_Menu_Item image labels using older
  1995. 1.0.x labeltype method.
  1996. - Updated the PNG library check to support both png.h
  1997. and libpng/png.h.
  1998. - Fixed a recursion bug in tooltips that was causing
  1999. random crashes.
  2000. - fl_file_chooser() could cause a segfault when passed a
  2001. NULL filename parameter in some situations.
  2002. - Added a "-g" option to fltk-config to support quick
  2003. compiling with debugging enabled.
  2004. - Fixed redraw problem with Fl_Input and anti-aliased
  2005. text.
  2006. - Added threading support for MacOS X and Darwin.
  2007. - The filesystem list in the file chooser now works under
  2008. MacOS X and Darwin.
  2009. - The fl_msg structure now contains all data passed to
  2010. the WndProc function under WIN32.
  2011. - Fixed some window focus/positioning problems under
  2012. MacOS X.
  2013. - Added fl_create_alphamask() function to create an alpha
  2014. mask from 8-bit data; currently this always generates a
  2015. 1-bit screen-door bitmask, however in the future it will
  2016. allow us to generate N-bit masks as needed by various
  2017. OS's.
  2018. - Fl_File_Browser::load() didn't properly show drives
  2019. when compiled in Cygwin mode.
  2020. - Now pass correctly pass keyboard and mouse events to
  2021. widget under tooltip as needed...
  2022. - Added new Fl::dnd_text_ops() methods to enable/disable
  2023. drag-and-drop text operations.
  2024. - Fl_Input now supports clicking inside a selection to
  2025. set the new text position when drag-and-drop is
  2026. enabled.
  2027. - Added support of X resources for scheme, dnd_text_ops,
  2028. tooltips, and visible_focus...
  2029. - Fixed some case problems in includes for the MacOS X
  2030. code.
  2031. - Fl_Widget::handle() returned 1 for FL_ENTER and
  2032. FL_LEAVE events, which caused some compatibility
  2033. problems with 1.0 code.
  2034. - Fl_Box::handle() now returns 1 for FL_ENTER and
  2035. FL_LEAVE events so that tooltips will work with Fl_Box
  2036. widgets.
  2037. - Some source files still defined strcasecmp and
  2038. strncasecmp under WIN32.
  2039. - Some source files still used the "false" and "true"
  2040. C++ keywords, even though several of our "supported"
  2041. C++ compilers don't support them. Using 0 and 1 until
  2042. FLTK 2.0 (which uses the bool type instead of int for
  2043. any boolean values...)
  2044. - Minor Fl_Color revamping, so that color constants map
  2045. to the color cube and FL_FOREGROUND_COLOR,
  2046. FL_BACKGROUND_COLOR, FL_BACKGROUND2_COLOR,
  2047. FL_INACTIVE_COLOR, and FL_SELECTION_COLOR map to the
  2048. user-defined colors.
  2049. CHANGES IN FLTK 1.1.0b13
  2050. - Fixed a bug in the Xft support in Fl_Window::hide()
  2051. (the config header wasn't included, so the Xft code
  2052. wasn't getting called)
  2053. - Xdbe support must now be enabled explicitly using
  2054. --enable-xdbe due to inconsistent bugs in XFree86 and
  2055. others.
  2056. - Windows resized by a program would revert to their
  2057. original size when moved under WIN32.
  2058. - Cygwin can only compile the new WIN32 drag-n-drop code
  2059. using GCC 3.x.
  2060. - Tooltips now appear for inactive and output widgets.
  2061. - Tooltips no longer steal keyboard events other than
  2062. ESCape.
  2063. - Tooltips are no longer delayed when moving between
  2064. adjacent widgets.
  2065. - fl_beep(FL_BEEP_DEFAULT) now uses the PC speaker under
  2066. Windows (0xFFFFFFFF) rather than an event sound.
  2067. - The configure script didn't include the -mwindows or
  2068. -DWIN32 compiler options in the output of fltk-config
  2069. when using the Cygwin tools.
  2070. - Fl_Output didn't take input focus when needed, so it
  2071. was unable to support CTRL-C for copying text in the
  2072. field and did not unhighlight selections when the
  2073. widget lost focus.
  2074. - The fl_filename_name() function didn't handle a NULL
  2075. input string.
  2076. - The input field used by the fl_input() and
  2077. fl_password() functions was resized too small in
  2078. 1.1.0b12.
  2079. - Added casts in fl_set_fonts_win32.cxx for VC++ 5.0.
  2080. - Fl_File_Icon::find() did not check the basename of a
  2081. filename for a match; this caused matches for a
  2082. specific filename (e.g. "fluid") to fail.
  2083. - The Fl_Shared_Image class now supports additional
  2084. image handling functions - this allows you to support
  2085. additional image file formats transparently.
  2086. CHANGES IN FLTK 1.1.0b12
  2087. - Documentation updates.
  2088. - Fl_Choice didn't clip the current value properly - it
  2089. wasn't accounting for the box border width.
  2090. - The forms compatibility functions are now placed in a
  2091. "fltk_forms" library to match FLTK 2.0.
  2092. - Renamed down() and frame() to fl_down() and
  2093. fl_frame(), filename_xyz() to fl_filename_xyz(), and
  2094. all of the define_FL_FOO() functions for the custom
  2095. boxtypes to fl_define_FL_FOO() to avoid namespace
  2096. clashes.
  2097. - Stereo OpenGL support (patch from Stuart Levy)
  2098. - All of the convenience functions defined in fl_ask.H
  2099. now resize the widgets and dialog window as needed for
  2100. the labels and prompt.
  2101. - Backported FLTK 2.0 dual cut/paste buffer code.
  2102. - Added support for Xft library to provide anti-aliased
  2103. text on X11.
  2104. - Fl_Help_View didn't keep track of the background color
  2105. of cells properly.
  2106. - Fl_Browser::item_width() didn't compute the width of
  2107. the item properly when column_widths() was set.
  2108. - Fl_Button didn't check to see if the widget could
  2109. accept focus before taking input focus.
  2110. - Fl_Help_View didn't preserve target names (e.g.
  2111. "filename.html#target") when following links.
  2112. - Drag-and-drop support for MacOS.
  2113. - Updated MacOS issues documentation.
  2114. CHANGES IN FLTK 1.1.0b11
  2115. - Now conditionally use the WIN32 TrackMouseEvent API
  2116. (default is no...)
  2117. - Fixed a table rendering bug in the Fl_Help_View
  2118. widget.
  2119. - The fltk-config script now recognizes all common C++
  2120. extensions.
  2121. - The menu code was using overlay visuals when the
  2122. scheme was set to "plastic".
  2123. - Fixed some drawing problems with Fl_Light_Button and
  2124. its subclasses.
  2125. - Fixed a minor event propagation bug in Fl_Group that
  2126. caused mousewheel events to be passed to scrollbars
  2127. that were not visible.
  2128. - The fl_file_chooser() function did not preserve the
  2129. old file/directory like the old file chooser did.
  2130. - The prototypes for fl_input() and fl_password() did
  2131. not default the "default value" to NULL.
  2132. - Fl_Tabs now draws tabs using the selection_color() of
  2133. the child groups; this allows the tabs to be colored
  2134. separately from the body. Selected tabs are a mix of
  2135. the Fl_Tabs selection_color() and the child group's
  2136. selection_color().
  2137. - Fl_Tabs didn't include images in the measurement of
  2138. the tabs if no label text was defined.
  2139. - The WIN32 code didn't return 0 from the window
  2140. procedure after handling WM_PAINT messages.
  2141. - fl_draw() would incorrectly test the clipping of
  2142. labels the lay outside the bounding box.
  2143. - filename_relative() didn't always return the correct
  2144. relative path.
  2145. - Updated the test makefile to work with more versions
  2146. of "make".
  2147. - Added new "--with-optim" configure option to set the
  2148. optimization flags to use when compiling FLTK.
  2149. - The fltk-config script no longer reports the
  2150. optimization flags that were used to compile FLTK.
  2151. - Initial port of FLTK 2.0 drag-and-drop support.
  2152. CHANGES IN FLTK 1.1.0b10
  2153. - Fixed the new WIN32 TrackMouseEvent code.
  2154. - Fixed the VC++ project files to link against
  2155. comctl32.lib.
  2156. CHANGES IN FLTK 1.1.0b9
  2157. - Better FL_LEAVE event handling for WIN32.
  2158. - The alpha mask was bit-reversed.
  2159. - Fl::scheme() applied the scheme tile image to overlay
  2160. and menu windows, which caused problems when the
  2161. overlay planes were in use.
  2162. - Fixed Fl::event_button() value when hiding tooltip on
  2163. some systems.
  2164. - Added Fl_BMP_Image class to support loading of Windows
  2165. bitmap (BMP) files.
  2166. - The shiny demo didn't work on some systems (no
  2167. single-buffered OpenGL visual), and the new box types
  2168. were reset when show(argc, argv) was called.
  2169. - Fl::scheme() didn't update windows that were not
  2170. shown.
  2171. - The fractals demo would get far ahead of the UI with
  2172. some Linux OpenGL drivers. Now use glFinish() instead
  2173. of glFlush() so we are at most 1 frame ahead.
  2174. - The fractals demo Y axis controls were backwards for
  2175. the "flying" mode.
  2176. - MacOS: cleaned up src/Fl_mac.cxx
  2177. - MacOS: fixed Fl::wait(0.0), fixed Cmd-Q handling
  2178. - Update CygWin support for Fl::add_fd().
  2179. - Update the plastic scheme to not override the default
  2180. colors - move the color code to the MacOS-specific
  2181. code. Also updates the tile image colormap to match
  2182. the current background color.
  2183. - Add fl_parse_color() to X11 as well, removing a bunch
  2184. of conditional code and providing a common interface
  2185. for looking up color values.
  2186. - Fixed the make problems in the test directory - some
  2187. make programs had trouble handling the recursive
  2188. dependencies on the FLUID files...
  2189. - Now use rint() to round floating-point coordinates.
  2190. - Demo cleanup - made sure they all worked with schemes.
  2191. - Fl_Tabs no longer clears the unused area of the tab
  2192. bar.
  2193. - Added show(argc, argv) method to Fl_Help_Dialog.
  2194. - MacOS: implemented cut/copy/paste.
  2195. - MacOS: improved keyboard handling, fixed keyboard
  2196. focus handling, fixed get_key, modified 'keyboard'
  2197. demo to show second mouse wheel and additional keys
  2198. 'help' and FL_NK+'='
  2199. CHANGES IN FLTK 1.1.0b8
  2200. - OS/2 build fixes.
  2201. - fl_draw() didn't ignore symbol escapes properly for
  2202. the browsers...
  2203. - New Fl::scheme() methods from FLTK 2.0; currently only
  2204. the standard ("") and plastic ("plastic") methods are
  2205. supported. Schemes can be set on the command-line
  2206. ("-scheme plastic") or using the FLTK_SCHEME
  2207. environment variable.
  2208. - MacOS: fixed iBook keyboard handling, moved
  2209. remaining message handling to Carbon, added mouse
  2210. capture support, added timer support, added overlay
  2211. support, fixed double-buffering side effects.
  2212. - The configure script wasn't using the -fpermissive or
  2213. -fno-exceptions options with GCC.
  2214. - Fl_JPEG_Image and friends didn't set the depth if the
  2215. image file couldn't be loaded; since Fl_RGB_Image
  2216. didn't check for this, it could fail when displaying
  2217. or copying these images.
  2218. - filename_absolute() did not always free its temporary
  2219. buffer.
  2220. - filename_relative() did not do a case-insensitive
  2221. comparison under MacOS, OS/2, and Windows.
  2222. - filename_isdir() didn't properly handle "D:L" under
  2223. WIN32.
  2224. - Fl_Shared_Image::get() did not check to see if the
  2225. image could not be loaded.
  2226. - Fl_Help_View didn't clear the line array in the
  2227. Fl_Help_Block structure; this causes erratic
  2228. formatting for some pages.
  2229. - The font and size members of Fl_Help_Block were never
  2230. used.
  2231. - The threading functions (Fl::lock() and friends) were
  2232. not exported under WIN32.
  2233. - The Fl_Text_Display destructor deleted the scrollbars
  2234. twice...
  2235. - Fl_Help_View didn't reset the horizontal scroll
  2236. position when showing a new page.
  2237. - Fl_Pack now allows any child widget to be the
  2238. resizable() widget, not just the last one.
  2239. - MacOS: opaque window resizing, all events except
  2240. Mac menus are now handled using Carbon, window
  2241. activation fixed, GL_SWAP_TYPE default changed to
  2242. make gl_overlay work.
  2243. - Fl_Help_View::resize() didn't resize the horizontal
  2244. scrollbar.
  2245. - MacOS: list all fonts, fixed clipping and mouse
  2246. pointer bugs.
  2247. - The Fl_File_Chooser widget now uses hotspot() to
  2248. position the dialog under the mouse pointer prior to
  2249. showing it.
  2250. - Added a configure check for *BSD - use -pthread option
  2251. instead of -lpthread.
  2252. - Fl_Text_Display could get in an infinite loop when
  2253. redrawing a portion of the screen. Added a check for
  2254. the return value from fl_clip_box() so that the
  2255. correct bounding box is used.
  2256. - Removed the Fl_Mutex and Fl_Signal_Mutex classes from
  2257. the threads example, since they weren't being used
  2258. and apparently are not very portable.
  2259. - Fl_Help_View now ignores links when the link callback
  2260. returns NULL, and displays a sensible error message
  2261. when an unhandled URI scheme is used (e.g. http:,
  2262. ftp:)
  2263. - Fl_File_Icon::load_system_icons() no longer complains
  2264. about missing icon files, just files that exist but
  2265. can't be loaded.
  2266. - FLUID didn't list the plastic box and frame types.
  2267. - Now hide the tooltip window whenever a window is
  2268. hidden. Otherwise a tooltip window could keep an
  2269. application running.
  2270. - Updated FLUID to only append a trailing semicolon to
  2271. code lines in a callback (so "#include" and friends
  2272. will work...)
  2273. - The Fl_Color_Chooser widget now supports keyboard
  2274. navigation.
  2275. - Fixed button and valuator widgets to call Fl::focus()
  2276. instead of take_focus().
  2277. - Tweeked the radio button drawing code for better
  2278. circles with different boxtypes.
  2279. - The Fl_File_Chooser widget did not provide a shown()
  2280. method, and fl_file_chooser() and fl_dir_chooser() did
  2281. not wait on shown(); this would cause them to return
  2282. prematurely if you switched desktops/workspaces.
  2283. - Cosmetic changes to plastic boxtypes. Now look much
  2284. better for large areas and the buttons now have a much
  2285. greater "3D" feeling to them.
  2286. - Added new Fl::draw_box_active() method so that
  2287. boxtypes can find out if the widget they are drawing
  2288. for is active or not.
  2289. - Fl_Button and its subclasses did not redraw the parent
  2290. when the boxtype was FL_NO_BOX and they lost keyboard
  2291. focus (the parent redraw clears the focus box.)
  2292. - Fixed the example program makefile - wasn't building
  2293. the mandelbrot and shiny demos right.
  2294. - Fl::set_font(Fl_Font, Fl_Font) was not implemented.
  2295. - Fixed the documentation Makefile commands; was not
  2296. using the fltk.book file for some reason...
  2297. CHANGES IN FLTK 1.1.0b7
  2298. - More documentation updates...
  2299. - Mac OS X support works 95%
  2300. - The Fl_Window::hotspot() off-screen avoidance code was
  2301. commented out.
  2302. - Mac OS X uses mostly Carbon event handling to support
  2303. Mousewheel, three buttons, all modifier keys, etc.
  2304. - Updated paragraph 4 of the FLTK license exceptions;
  2305. there was some question about the requirement to show
  2306. that a program uses FLTK, which is required by section
  2307. 6 of the LGPL. The new exemption specifies that
  2308. inclusion of the FLTK license is not required, just a
  2309. statement that the program uses FLTK.
  2310. - Fl_Button::handle() was calling take_focus() for both
  2311. FL_PUSH and FL_DRAG.
  2312. - File and memory fixes for Fl_GIF_Image, Fl_PNG_Image,
  2313. Fl_PNM_Image, Fl_Shared_Image, Fl_Tiled_Image, and
  2314. Fl_XBM_Image.
  2315. - filename_match() didn't handle backslashes properly
  2316. under WIN32, and didn't use a case-insensitive
  2317. comparison under MacOS X.
  2318. - The Fl class was missing access methods for the
  2319. FL_MOUSEWHEEL event values - Fl::event_dx() and
  2320. Fl::event_dy().
  2321. - The default help string didn't include the -nokbd
  2322. option.
  2323. - "make uninstall" didn't uninstall the static OpenGL
  2324. widget library.
  2325. - Mac cursor shapes added...
  2326. - Fl_Text_Display would lockup when all text was
  2327. deleted; for example, when running the editor
  2328. demo, you couldn't load a second file.
  2329. - Added Fl::lock() and friends from FLTK 2.0 to
  2330. support multi-threaded applications; see the
  2331. "threads" demo for an example of this.
  2332. - Fl_Check_Button and Fl_Round_Button now use the
  2333. FL_NO_BOX box type to show the background of the
  2334. parent widget.
  2335. - Tweeked the plastic boxtype code to draw with the
  2336. right shading for narrow, but horizontal buttons.
  2337. - Fl_Progress now shades the bounding box instead of
  2338. drawing a polygon inside it.
  2339. - Fl::warning() under WIN32 defaults to no action. This
  2340. avoids warning dialogs when an image file cannot be
  2341. loaded.
  2342. - Some Win32 drivers would draw into wrong buffers
  2343. after OpenGL mode change
  2344. - The file chooser would cause a segfault if you
  2345. clicked in an empty area of the file list.
  2346. - Fl_File_Icon::labeltype() would cause a segfault
  2347. if the value pointer was NULL.
  2348. - Fl_File_Icon::load_image() could cause segfaults
  2349. (NULL data and incrementing the data pointer too
  2350. often.)
  2351. - Fl_File_Icon::load_image() now handles 2-byte
  2352. per color XPM files.
  2353. - Some Win32 drivers would draw into wrong buffers
  2354. after OpenGL mode change.
  2355. - Message handling and Resources for MacOS port.
  2356. - Fl_Help_View could get in an infinitely loop when
  2357. determining the maximum width of the page; this
  2358. was due to a bug in the get_length() method with
  2359. percentages (100% width would cause the bug.)
  2360. - Don't need -lgdi32 for CygWin, since -mwindows
  2361. does this for us.
  2362. - The WIN32 event handler did not properly handle
  2363. WM_SYNCPAINT messages.
  2364. - Fl_Tabs now uses the boxtype exclusively to draw
  2365. both the tabs and surrounding box, so alternate
  2366. box types actually work and the look is a little
  2367. nicer.
  2368. - Fixed the drawing of large areas with the new
  2369. plastic boxtypes.
  2370. - Updated the Visual C++ demo projects to use FLUID
  2371. to generate the GUI files as needed.
  2372. - The demo program didn't load the right menu file
  2373. when compiled for debugging under WIN32.
  2374. - Added plastic box types to forms demo.
  2375. - Added mousewheel to keyboard demo.
  2376. - The Fl_Text_Editor widget caused an infinite loop
  2377. when it received keyboard focus.
  2378. - filename_isdir() didn't properly handle drive letters
  2379. properly; WIN32 needs a trailing slash for drive
  2380. letters by themselves, but cannot have a trailing
  2381. slash for directory names, go figure...
  2382. - The Fl_Text_Buffer and Fl_Text_Display classes did not
  2383. initialize all of their members.
  2384. - fl_normal_label() had a totally redundant set of
  2385. if/else tests, which the new code handles all from
  2386. fl_draw().
  2387. - The Fl_File_Chooser dialog contained two hotspots.
  2388. - The fl_draw_pixmap() function didn't free the 2-byte
  2389. color lookup table properly (delete instead of
  2390. delete[]).
  2391. - fl_draw() reset the text color under WIN32, causing
  2392. bitmaps to draw incorrectly.
  2393. - Fl::get_font_sizes() is now implemented under WIN32.
  2394. - Fl_Text_Display now uses the same default colors for
  2395. selection and text as Fl_Input_ and friends.
  2396. - Changed the default line scrolling in Fl_Text_Display
  2397. to 3 lines for the mouse wheel and scrollbar arrows.
  2398. CHANGES IN FLTK 1.1.0b6
  2399. - Documentation updates...
  2400. - The configure script now works within the CygWin
  2401. environment.
  2402. - Tooltips are now enabled by default, but are not
  2403. re-enabled when calling the Fl_Widget::tooltip()
  2404. method.
  2405. - Added new Fl::version() method to get the current
  2406. FLTK library version (for shared libraries/DLLs)
  2407. - Added new Fl::event() method to get the current
  2408. event that is being processed.
  2409. - Added new fl_beep() function to do audible
  2410. notifications of various types.
  2411. - Added new Fl_GIF_Image, Fl_JPEG_Image, Fl_PNG_Image,
  2412. Fl_PNM_Image, Fl_XBM_Image, and Fl_XPM_Image classes.
  2413. - Added new Fl_Shared_Image class, a la FLTK 2.0.
  2414. - Added new Fl_Tiled_Image class for tiled backgrounds.
  2415. - Added new copy(), desaturate(), inactive(), and
  2416. color_average() methods to the Fl_Image classes.
  2417. - Added a horizontal scrollbar to the Fl_Help_View
  2418. widget.
  2419. - Added new FL_PLASTIC_{UP/DOWN}_{BOX/FRAME} boxtypes
  2420. for a more "modern" look (sort of a cross between KDE
  2421. 2.2 and Aqua.)
  2422. - Fl_Float_Input and Fl_Int_Input no longer accept
  2423. pasted text that is not a floating point or integer
  2424. value. Pasted numbers now replace text in these
  2425. widgets.
  2426. - Implemented the Fl_File_Icon::load_png() method.
  2427. - The Fl_File_Icon::load_system_icons() method now
  2428. supports KDE 2.x icons.
  2429. - Fixed PNG support in Fl_Help_View.
  2430. - Removed the "Microsoft" mode button from the menubar
  2431. demo.
  2432. - The browser demo now makes sure that the input field
  2433. contains a number.
  2434. - The Fl_Browser::make_visible() method now range checks
  2435. the input.
  2436. - Updated the fl_draw() and fl_measure() methods to
  2437. accept an optional draw_symbols argument, which
  2438. controls whether symbols are drawn in the text.
  2439. - Added new Fl::visible_focus() methods to control
  2440. whether the focus box is drawn.
  2441. - The focus box is now drawn using the contrast color.
  2442. - Fl_Repeat_Button didn't accept keyboard focus.
  2443. - Added new Fl::visible_focus() method and standard
  2444. "-kbd" and "-nokbd" options in Fl::args() processing
  2445. to control whether keyboard focus is shown and handled
  2446. by non-text widgets.
  2447. - The wrong tooltip could be shown if the user moved the
  2448. mouse over adjacent widgets with tooltips.
  2449. - The drop-down button on Fl_Choice widgets was not
  2450. limited in width.
  2451. - Tooltips could appear off the screen.
  2452. - Mouse wheel events are now sent to the focus widget
  2453. first, then to any other interested widget.
  2454. - The Fl_RGB_Image class now supports images with an
  2455. alpha channel. Images are currently drawn using
  2456. "screen door" transparency... See the "image" demo
  2457. for an example.
  2458. - Added new fl_create_bitmask() and fl_delete_bitmask()
  2459. functions that create bitmap objects for masking and
  2460. bitmap drawing.
  2461. - Was sending FL_RELEASE events for buttons 4 and 5
  2462. under X11, which are only for FL_MOUSEWHEEL.
  2463. - Fl_Help_View now supports the EM and STRONG elements.
  2464. - Didn't do callbacks when changing tabs via keyboard.
  2465. - FLUID didn't write tooltip strings to the message
  2466. catalog file.
  2467. - Fl_File_Icon now uses Fl_Shared_Image to load icon
  2468. images; the load_png() and load_xpm() methods have
  2469. been replaced by a single load_image() method.
  2470. - Fl_File_Icon::load_system_icons() now does a better
  2471. job of finding KDE icons.
  2472. - Now use Fl::warning() and Fl::error() in place of
  2473. printf's in some of the newer widgets.
  2474. - The default behavior of Fl::error() is now to display
  2475. an error but not to exit; Fl::fatal() still exits.
  2476. - FLUID now uses the Fl_Shared_Image class, so FLUID-
  2477. generated GUIs can embed any of the supported image
  2478. file formats.
  2479. - New filename_relative() function to convert an
  2480. absolute filename to a relative one.
  2481. - Updated the filename_absolute(), filename_expand(),
  2482. and filename_setext() functions to take the
  2483. destination string size, with inline functions for the
  2484. old FL_PATH_MAX size.
  2485. - fl_file_chooser() and fl_dir_chooser() now return a
  2486. relative path.
  2487. - Fl_Help_View now supports all ampersand escapes.
  2488. CHANGES IN FLTK 1.1.0b5
  2489. **** NOTE: DUE TO CHANGES IN THE WIDGET CLASSES, ****
  2490. **** YOU MUST RECOMPILE ALL SOURCE FILES ****
  2491. **** THAT USE FLTK!!! ****
  2492. - All FLTK color values are now 32-bits and support
  2493. both the legacy 8-bit color values as well as 24-bit
  2494. RGB values (0xRRGGBB00 for 24-bit RGB, 0x000000II
  2495. for indexed color).
  2496. - Fl::set_boxtype() and fl_internal_boxtype() now keep
  2497. track of when a boxtype is changed; this allows you to
  2498. override the "special" boxtypes without references to
  2499. those boxtypes causing them to be reset.
  2500. - Fl_Help_Func now takes a Fl_Widget pointer as well as
  2501. a pathname.
  2502. - Added code to support FL_KEYUP events.
  2503. - Focus did not return to the Fl_Text_Display and Editor
  2504. widgets when scrolling and then clicking inside the
  2505. editor window.
  2506. - Now set the line size of the vertical scrollbar in the
  2507. text editor to 1.
  2508. - The symbols demo didn't show the strings needed to
  2509. show the corresponding symbol (the label string was
  2510. not quoted...)
  2511. - FLTK should now compile with Cygwin cleanly.
  2512. - Shortcut changes were not being saved by FLUID.
  2513. - FLUID didn't write the deimage() static data.
  2514. CHANGES IN FLTK 1.1.0b4
  2515. **** NOTE: DUE TO CHANGES IN THE FL_WIDGET CLASS, ****
  2516. **** YOU MUST RECOMPILE ALL SOURCE FILES ****
  2517. **** THAT USE FLTK!!! ****
  2518. - Updated the flags_ member of Fl_Widget to be an
  2519. integer instead of uchar, to support the new
  2520. FL_OVERRIDE flag for Fl_Window.
  2521. - The parent() method of Fl_Widget now uses pointers to
  2522. Fl_Group instead of Fl_Widget.
  2523. - Fl_Window now provides the FLTK 2.0 "override()" and
  2524. "set_override()" methods for windows.
  2525. - Added a configure check (and warning) for GCC 3.0.x.
  2526. - Updated the configure script to check for the
  2527. png_set_tRNS_to_alpha() function.
  2528. - Updated the config.h files for all platforms for the
  2529. image and FLTK documentation defines.
  2530. - Updated the makeinclude files for all platforms to
  2531. match the current makeinclude.in file.
  2532. - FLUID would crash if you cleared an image for a
  2533. widget.
  2534. - Fl_Help_View::add_image() did not initialize the image
  2535. member of the base (unscaled) image.
  2536. - Fl_Help_View didn't support A elements with both a
  2537. NAME and HREF attribute - the HREF was ignored.
  2538. - Miscellaneous compile warning fixes.
  2539. - Tooltips were being reset by Fl::belowmouse(), which
  2540. caused problems with the FLUID main window (flashing
  2541. tooltip windows and serious problems with KDE 2.2)
  2542. - The editor demo had the save and discard button
  2543. actions reversed.
  2544. - The Fl_Help_View widget now uses
  2545. png_destroy_read_struct() if the older
  2546. png_read_destroy() function is not available.
  2547. - The WIN32 DLL library now includes the OpenGL widgets.
  2548. This is a simpler solution for the export/import
  2549. dillemma under WIN32, as OpenGL and non-OpenGL symbols
  2550. need to be exported at different times with the
  2551. separate library scheme. Since OpenGL is standard
  2552. under Windows, this is less of a problem than under
  2553. UNIX...
  2554. CHANGES IN FLTK 1.1.0b3
  2555. - The top-level makefile did not include the makeinclude
  2556. file, causing the fltk-config installation commands to
  2557. fail.
  2558. - The fl_file_chooser.cxx source file conflicted with
  2559. Fl_File_Chooser.cxx under Windows. Similarly, the
  2560. fl_file_chooser.H header file conflicts with the
  2561. Fl_File_Chooser.H header file.
  2562. - Now save and restore the GDI pen object when
  2563. responding to WIN32 paint messages.
  2564. - Documentation updates from A. Suatoni.
  2565. CHANGES IN FLTK 1.1.0b2
  2566. - New fltk-config script.
  2567. - Fixed image/text label handling; in b1 the label
  2568. needed a non-blank text string to display the image.
  2569. This bug also caused all sorts of crashes and display
  2570. problems.
  2571. - Added new filetype() method to Fl_FileBrowser to allow
  2572. for file or directory browsing.
  2573. - Fixed the drawing of the focus box around
  2574. Fl_Return_Button.
  2575. - Fixed menu item measurement bug (wasn't initializing
  2576. image pointers to 0...)
  2577. - Radio and checkbox menu items now draw with the new
  2578. style (round radio buttons with dots and square check
  2579. buttons with check marks.)
  2580. - Improved the appearance of Fl_Check_Button.
  2581. - Improved the Fl_HelpView table formatting code; now
  2582. dynamically sizes the table columns, and supports
  2583. COLSPAN.
  2584. - The FLUID keyboard shortcuts now work as expected
  2585. (CTRL-C copies, SHIFT-CTRL-C writes code, etc.)
  2586. - The FLTK_DOCDIR environment variable can now be
  2587. used to tell FLUID where to find the on-line
  2588. documentation files.
  2589. - FLUID now supports image labels in addition to text
  2590. labels + text over image alignment.
  2591. - FLUID now supports tooltips.
  2592. - The widget panel in FLUID is now tabbed, a la FLTK
  2593. 2.0.
  2594. - The FLUID pixmap destructor tried to free 1 too many
  2595. lines of image data.
  2596. - FLUID now provides on-line help.
  2597. - Changed Fl_FileXYZ to Fl_File_XYZ.
  2598. - Changed Fl_HelpXYZ to Fl_Help_XYZ.
  2599. - Tooltip fixes for Fl_Browser_, Fl_Choice, and Fl_Input_.
  2600. - Added tooltips to FLUID, help dialog, and file chooser.
  2601. - Now load system icons in FLUID.
  2602. CHANGES IN FLTK 1.1.0b1
  2603. - Added new image() and deimage() methods to support
  2604. image + text labels more easily.
  2605. - Added new alignment bit FL_ALIGN_TEXT_OVER_IMAGE.
  2606. - Added tooltip support using Jacques Tremblay's tooltip
  2607. patch.
  2608. - Added keyboard navigation to all widgets.
  2609. - Added support for mouse wheels using the new
  2610. FL_MOUSEWHEEL event type. Get the mouse wheel
  2611. movement values from Fl::e_dx (horizontal) and
  2612. Fl::e_dy (vertical).
  2613. - Added the Fl_Check_Browser, Fl_FileBrowser,
  2614. Fl_FileChooser, Fl_FileIcon, Fl_HelpDialog,
  2615. Fl_HelpView, Fl_Progress, and Fl_Wizard widgets from
  2616. the bazaar.
  2617. - Added 2.0 Fl_Text_Display and Fl_Text_Editor widgets
  2618. based on NEdit.
  2619. - The Fl_Choice widget now looks more line a combo box
  2620. than a Motif option menu.
  2621. - Moved the OpenGL widgets into a separate library
  2622. called fltkgl - this eliminates shared library
  2623. dependencies on OpenGL when no OpenGL functionality is
  2624. used/required.
  2625. - FLUID now supports the new Fl_CheckBrowser,
  2626. Fl_FileBrowser, Fl_FileIcon, Fl_HelpView,
  2627. Fl_Text_Display, Fl_Text_Editor, and Fl_Wizard
  2628. widgets.
  2629. - Updated configure stuff to support shared libraries
  2630. under AIX (link to -lfltk_s)
  2631. - Symbol labels can now contain regular text.
  2632. - FLUID now supports relative filenames for the source
  2633. and header files you generate.
  2634. - Fl_Menu_Item::add() didn't use the flags that were
  2635. passed in.
  2636. - Fixed a bug in Fl_Scrollbar - clicking in the "trough"
  2637. of the scrollbar would move the scroller in the wrong
  2638. direction.
  2639. - Made the Forms pixmap parameter const to match the
  2640. Fl_Pixmap.H definitions.
  2641. - Changed the Fl_Pixmap constructor to use the explicit
  2642. keyword which should work for all C++ compilers.
  2643. - Fl_Menu_add of a menu item with the same name as an
  2644. existing submenu title would mess up by replacing that
  2645. menu title, it now adds a new item.
  2646. - Fl_Menu::add() of text starting with '/' to a menu is
  2647. assummed to be a filename. So "/foo/bar" creates a
  2648. single menu item. You can also put filenames into
  2649. submenus by doing "submenu//foo/bar", this will create
  2650. a submenu called "submenu" with an item "/foo/bar".
  2651. Menu items starting with "\_" will insert an item
  2652. starting with '_' rather than a divider line. These
  2653. changes make the menus compatable with fltk 2.0.
  2654. - Another little fix for the BoXX OpenGL overlays.
  2655. - Fl_Gl_Window no longer blanks the mouse pointer on
  2656. WIN32 unless an OpenGL overlay is being used. This
  2657. should make non-overlay displays faster when a cursor
  2658. is set.
  2659. CHANGES SINCE FLTK 1.0.10
  2660. - CHANGED THE DEFAULT RUN-TIME LINKING TO "MULTITHREADED
  2661. DLL". You'll need to change your project settings to
  2662. use this as well or you'll get errors.
  2663. - Added new --disable-gl option to configure script.
  2664. - Added new const const pointer versions of pixmap
  2665. functions to eliminate an annoying pointer warning
  2666. message that was generated by the Sun and other C++
  2667. compilers.
  2668. - Eliminated all "var hides class::var" warnings.
  2669. - Eliminated all "string literal converted to char *"
  2670. warnings.
  2671. - OS/2 updates from Alexander Mai.
  2672. - Tidied up the HTML documentation to be more standards
  2673. compliant.
  2674. - Compiling with -DBOXX_BUGS will work around some
  2675. problems with the newest X drivers that BoXX delivers,
  2676. the problems all affect use of Overlays for normal X
  2677. drawing and OpenGL drawing. Normal compilation is
  2678. unchanged.
  2679. - The file chooser buttons use user_data() rather than
  2680. the label to decide what to do, allowing the label to
  2681. be somewhat cleaner.
  2682. - Selection color on X changed to blue, to match what
  2683. happens on Windows now.
  2684. - Added support for AIX (static library only).
  2685. - Added support for SunOS 4.x
  2686. - Now process WIN32 WM_ACTIVATEAPP message to reset the
  2687. key and button states in Fl::e_state.
  2688. - Fl_has_idle only tested N-1 callbacks and missed one.
  2689. - Restored WM_SYNCPAINT handling under WIN32; this fixed
  2690. a refresh bug under some versions of Windows.
  2691. - Check for OpenGL headers before checking to see if
  2692. OpenGL is supported. This should eliminate compile
  2693. errors due to missing non-FLTK header files...
  2694. - Add -D_INCLUDE_POSIX_SOURCE option when compiling with
  2695. the HP compilers.
  2696. - Replaced remaining _WIN32 symbols with WIN32
  2697. - Removed reference to unused GL/glu.h header file, which is missing on
  2698. some Linux systems.
  2699. - Fl_Gl_Window has a new method to allow you to get and set the context:
  2700. void Fl_Gl_Window::context(void*, int destroy = 0)
  2701. void* Fl_Gl_Window::context() const;
  2702. Return or set a pointer to the GLContext that this window is
  2703. using. This is a system-dependent structure, but it is portable to
  2704. copy the context from one window to another. You can also set it to
  2705. NULL, which will force FLTK to recreate the context the next time
  2706. make_current() is called, this is useful for getting around bugs in
  2707. OpenGL implementations.
  2708. If destroy_flag is true the context will be destroyed by fltk when
  2709. the window is destroyed, or when the mode() is changed, or the next
  2710. time context(x) is called.
  2711. - Some cleanup of Fl_Gl_Choice to move most of the system dependent
  2712. #ifdefs into Fl_Gl_Choice.cxx.
  2713. - Fl_Gl_Window does not set drawbuffer(BACKBUFFER) for
  2714. single-buffered windows.
  2715. - Fl_Input::replace(...) correctly updates the display
  2716. if the replaced region does not include the mark,
  2717. point, or selected region.
  2718. - Added Fl::add_check(...), Fl::remove_check, and
  2719. Fl::has_check. These are similar to idle callbacks but
  2720. are only called just before it waits for new events.
  2721. They can be used to watch for changes in global state
  2722. and respond to them.
  2723. - "accu-timer": some changes to repeat_timeout that seem
  2724. to make it accurate on Unix and WIN32 at speeds up to
  2725. 500000 timeouts/second (and 700000 on Linux), and
  2726. within about .001% as accurate as the system clock.
  2727. - Fix to Fl_Valuator::step() by Guillermo Andrade.
  2728. - Fixed the FLUID write-menu bug introduced in 1.0.10
  2729. - Fl::flush() now calls GdiFlush() under WIN32 to
  2730. ensure that all graphics are drawn.
  2731. - fl_curve() now uses a much better algorithim to figure
  2732. out how many pieces to cut the curve into.
  2733. - FLUID now uses GetTempPath() under WIN32 to determine
  2734. where to store the clipboard.
  2735. - Right-ctrl does not delete selected text in Fl_Input,
  2736. until you type a composed character.
  2737. - Added simple FLTK and FLUID manual pages.
  2738. - Fl_Gl_Window leaked memory under WIN32.
  2739. - The colbrowser demo was missing an include file when
  2740. compiled under OS/2.
  2741. CHANGES SINCE FLTK 1.0.9
  2742. - Added a strcasecmp() function to FLUID; AIX doesn't
  2743. have it.
  2744. - Bug #115509: Fl_Scroll not repainting background.
  2745. - Updated the configure script and makeinclude.in file
  2746. to work with the Sun PRO compilers.
  2747. - Disabled the WIN32 async socket select code by default:
  2748. it doesn't seem to work anymore...
  2749. - Fl::below_mouse() was incorrectly clearing e_is_click;
  2750. this prevented any double-clicks from getting
  2751. through...
  2752. - No longer clear Fl::keysym on every event, this makes
  2753. better back compatability and fixes Win2000
  2754. - FLUID now restores which tab in an Fl_Tabs was
  2755. selected when loads .fl files.
  2756. - Hack to fix the annoying "raise another application
  2757. when a modal window is closed" problem on WIN32.
  2758. - Fl_Tabs now draws the background behind the tabs.
  2759. - Fl::set_fonts() on WIN32 fixed to work before the
  2760. first window is shown.
  2761. - CUA function keys, code submitted by George Yohng
  2762. <yohng@drivex.dosware.8m.com>
  2763. - Another attempt to get glut.h to work on WIN32.
  2764. - Fl_Menu_::add() ignores '&' signs when comparing menu
  2765. items, so you don't have to make the shortcuts the
  2766. same all the time.
  2767. - Fixed bit-flipping patterns in WIN32 bitmap code.
  2768. - Fixed size of data written by gif images to .C files
  2769. - Menu titles and buttons in the menubar can be images
  2770. (allows it to be used as a toolbar)
  2771. - Reads selectBackground from the xrdb database to set
  2772. the selection color. Adding this to your .Xdefaults
  2773. will make fltk and Motif programs look much more
  2774. Windoze-like:
  2775. *selectForeground: white
  2776. *selectBackground: #000080
  2777. - FL_WHEN_RELEASE on Fl_Input will now do the callback
  2778. when the input field is hidden, for instance when it
  2779. is on a tab and the user switches to another tab.
  2780. - Fl_Gl_Window with an overlay on X always resized any
  2781. child windows even if you turned resizable() off
  2782. because it turned it back on to resize the overlay
  2783. window. This patch avoids changing resizable().
  2784. - Fix so multiple Fl::add_idle() calls works
  2785. - The input focus got messed up if you called
  2786. Fl_Tabs::value(x) and there was something that took
  2787. focus on an earlier tab.
  2788. - Removed some (not all) of the warnings when compiled
  2789. with -Wwrite-strings, this should also get similar
  2790. warnings Solaris produces.
  2791. - Made Fl_Browser not hide the Fl_Widget::show() method
  2792. - Changes & additions for OS/2 from Alexander Mai
  2793. - Patch from Mike Lindner to make the turning on/off of
  2794. scrollbars on Fl_Scroll smarter.
  2795. - Added missing FL_EXPORT for Fl_Valuator::format()
  2796. - Shortcuts for "buttons" in a Fl_Menu_Bar work again.
  2797. - Fix for cut/paste support and Xdnd.
  2798. - Shortcuts for submenu titles in a menubar pop up the
  2799. submenu (rather than calling the callback)
  2800. - Added documentation for GL_SWAP_TYPE
  2801. - Buttons with box(FL_NO_BOX) did not draw. Apparently
  2802. they did in older versions of fltk, I restored this.
  2803. (bug 108771)
  2804. - Removed 8-bit colormap drawing code that was not doing
  2805. anything in fl_draw_image due to the colormap
  2806. allocation changes. I also made fl_color(r,g,b)
  2807. actually allocate the requested color rather than the
  2808. nearest fltk color-cube color (this is only done for
  2809. the first color that maps to a given entry in the fltk
  2810. color cube), the result is that pixmaps with a small
  2811. number of colors are drawn much more accurately. The
  2812. resulting code seems to produce better images and is a
  2813. good deal smaller!
  2814. - Fixed makeinclude.in so CFLAGS are used for c source
  2815. code instead of CXXFLAGS. (bug 108694)
  2816. - Better fix for gif files suggested by pauly (bug
  2817. 108770)
  2818. - Performance of Fl_Gl_Window may be improved on some
  2819. types of OpenGL implementations, in particular MESA
  2820. or other software emulators, by setting the
  2821. GL_SWAP_TYPE environment variable. This variable
  2822. declares what is in the back buffer after you do a
  2823. swapbuffers:
  2824. setenv GL_SWAP_TYPE COPY
  2825. This indicates that the back buffer is copied to
  2826. the front buffer, and still contains it's old
  2827. data. This is true of many hardware
  2828. implementations. Setting this will speed up
  2829. emulation of overlays, and widgets that can do
  2830. partial update can take advantage of this as
  2831. damage() will not be cleared to -1.
  2832. setenv GL_SWAP_TYPE NODAMAGE
  2833. This indicates that nothing changes the back
  2834. buffer except drawing into it. This is true of
  2835. MESA and Win32 software emulation and perhaps some
  2836. hardware emulation on systems with lots of memory.
  2837. All other values for GL_SWAP_TYPE, and not setting
  2838. the variable, cause fltk to assumme that the back
  2839. buffer must be completely redrawn after a swap.
  2840. This is easily tested by running the gl_overlay demo
  2841. program and seeing if the display is correct when
  2842. you drag another window over it or if you drag the
  2843. window off the screen and back on. You have to exit
  2844. and run the program again for it to see any changes
  2845. to the environment variable.
  2846. - Optimized colormap usage on 8-bit displays with
  2847. images. New code only allocates colors as they are
  2848. needed (still converts indexed images to full RGB and
  2849. dithers, tho...)
  2850. - Fixed .gif files in FLUID, they were broken by the fix
  2851. for large .xpm files in version 1.0.9.
  2852. - Fix for OpenGL hardware overlays with the transparent
  2853. index != 0. Tested on the brand new HP Linux
  2854. Workstations, this is the only bug encountered. Both
  2855. X and OpenGL hardware overlay works perfectly on
  2856. these, though configue may not enable it by
  2857. default...)
  2858. - Fl_Choice and all other Fl_Menu_ subclasses draw the
  2859. items using textcolor() as the default color of the
  2860. text.
  2861. - Fix suggested by Stuart Levy to fix scrolling when
  2862. deleting items from the browser.
  2863. - Replaced the -$(MAKEFLAGS) with $(MFLAGS) as per the
  2864. gmake documenation. Apperntly this works with other
  2865. make programs and MAKEFLAGS is passed invisibly by
  2866. gmake, though the documenation is not too clear...
  2867. CHANGES SINCE FLTK 1.0.8
  2868. - More documentation fixes.
  2869. - GLUT_STROKE_*_ROMAN in glut.h are defined as 0,1 on
  2870. WIN32 to match the glut header files there.
  2871. - Added Fl::has_timeout() and Fl::has_idle() functions.
  2872. - Added new Fl::repeat_timeout() method that
  2873. measures time from when the last timeout was called.
  2874. This has slightly less overhead and allows accurate
  2875. spacing of timeouts.
  2876. - More Cygwin changes
  2877. - FLUID could crash with identifiers with trailing
  2878. whitespace.
  2879. - Fixed the XPM loading code in FLUID to handle files
  2880. longer than 2048 lines.
  2881. - Added a bunch of missing FL_EXTERN's to glut.h to
  2882. eliminate GLUT linking errors under WIN32.
  2883. - Fix for sliders so that clicking on one with a small
  2884. (or zero) slider_size will not move the slider.
  2885. - fl_shortcut.cxx didn't export fl_old_shortcut() in the
  2886. WIN32 DLL.
  2887. - Fixed xpaint link in the documentation.
  2888. - Included Fl_Input word-wrap fixes from Alexander Rabi
  2889. Beels. This will not affect things much because
  2890. word-wrap is normally disabled.
  2891. - Patch from Stuart Levy so the *last* widget in an
  2892. Fl_Pack may be resizable. This should be compatable
  2893. because resizable didn't do anything before so there
  2894. was no reason to set it.
  2895. - Cleaned up the timeout and Fl::wait() code. The new
  2896. code calls the clock function less than half as much,
  2897. which results in a noticable performance improvement
  2898. in some apps.
  2899. - Fl::wait(time) with a time greater than the system can
  2900. handle (24.855 days on NT, the same on some Unix
  2901. systems) will now act as though the time is infinity.
  2902. Before it would do unpredictable things.
  2903. - "USE_POLL" now compiles and works, although it is
  2904. disabled by default. poll() is an alternative to the
  2905. UNIX select() call which is available on some version
  2906. of UNIX and may be faster depending on the platform;
  2907. try it by editing config.h.
  2908. - The WIN32 USE_ASYNC_SELECT code now does translation
  2909. and dispatching of the select events; this makes
  2910. Windows a lot happier.
  2911. - Added a check for an open display in Fl::wait() so
  2912. that you don't need an open window under X to call it.
  2913. [changes in snapshot 2]
  2914. - fl_old_shortcut() wasn't being exported in the WIN32 DLL
  2915. project.
  2916. - Updated Cygwin and Mingw makefiles.
  2917. - Updated the BC++ project file.
  2918. - You can no longer insert control chars into Fl_Int/Float_Input.
  2919. - Fl_Multiline_Input now resets the horizontal position when
  2920. focus is changed; this caused problems when multiple multiline
  2921. widgets were used in an application.
  2922. - All handle() methods are now public, and all draw() methods are
  2923. now protected in FLTK widgets.
  2924. - More fixes to the OpenGL overlay code on win32. This now
  2925. seems to work quite reliably on several different pieces of
  2926. hardware. Apparently doing SetLayerPaletteEntries with a
  2927. palette larger than the overlay size caused the drivers to
  2928. screw up in unpredictable ways. Also SwapBuffers swapped both
  2929. the overlay and main window, which is not what fltk's
  2930. interface wanted, this was easy to fix however.
  2931. - Patch for full scrollbars so that clicking on them does not
  2932. move anything.
  2933. - Documentation fixes.
  2934. - Better horizontal scrolling of Fl_Input when cursor is near
  2935. the end of the line.
  2936. - Fl_Input::value(x) selects all text.
  2937. - Fl_Output and Fl_Multiline_Output would scroll to the end
  2938. of the text.
  2939. - filename_isdir() now drops any trailing slash from the
  2940. filename (needed for Windows)
  2941. - Added return type for main() function in line_style demo.
  2942. - Running FLUID with the "-cs" option writes the I18N message
  2943. file.
  2944. - The WIN32 version of XParseGeometry() didn't initialize some
  2945. variables. This caused a compiler warning but did not affect
  2946. the actual code.
  2947. [changes in snapshot 1]
  2948. - EMail changes - fltk-bugs@easysw.com now officially
  2949. fltk-bugs@fltk.org.
  2950. - The FLTK DLL project file didn't include fl_compose.cxx
  2951. - Dropped the GCC -fno-rtti option since it caused problems
  2952. with existing programs.
  2953. - Moved the .fl rules back to the test directory.
  2954. - Fixed some makefile and spec file problems.
  2955. - Fixed hardware overlays. The problem was the new
  2956. fl_clipped() code, which tests against the current window
  2957. size. The hardware overlay code did not set the current
  2958. window when drawing the overlay. I needed hardware overlay
  2959. for DD's code, I'm not sure if these fixes are good enough to
  2960. enable this in our general release. Hardware overlay still
  2961. only works on SGI Irix.
  2962. - Some patches to turn off the MSVC++ -Oa (assumme no aliasing)
  2963. optimization flag. Suprisingly this only broke a few parts
  2964. of fltk, or at least these are the only ones I found.
  2965. - Does not unmap child windows when the main window is
  2966. iconized. This reduces flashing when the window is
  2967. deiconized.
  2968. - Fl::key() is set to zero by all events except key down/up.
  2969. This will allow you to reliably test if an event or callback
  2970. was produced by a keystroke. Fixes the bug posted about
  2971. stopping Escape from closing the window.
  2972. - User defined cursors on OpenGL windows slowed down NT a
  2973. *LOT*. Some attempts to fix this by turning off the cursor
  2974. while drawing the window.
  2975. - Filename completion in the file chooser works better on NT.
  2976. Typing TAB fixes the case of everything you typed to match
  2977. the shortest name that can be completed.
  2978. CHANGES SINCE FLTK 1.0.7
  2979. - Many documentation changes/fixes/improvements.
  2980. - FLUID didn't save Fl_Double_Window's as
  2981. double-buffered windows.
  2982. - Fl_Menu_ text color is used if Fl_Menu_Item text color
  2983. is not set.
  2984. - Added Fl::first_window(window) method to change the
  2985. "top" window that is used when showing modal windows.
  2986. By default it is the window the user last
  2987. clicked/typed in.
  2988. - The Fl_Menu::global() handler now uses the current top
  2989. window instead of the menu bar for modal stuff.
  2990. - Added fl_line_style() function to set the line style.
  2991. Note that user-defined line styles ONLY WORK UNDER X11
  2992. and Windows NT/2000. Windows 95/98 do, however,
  2993. support the "standard" line styles.
  2994. - Fl::wait() does not return immediately when no windows
  2995. - XForms keyboard shortcuts using hex keycode constants
  2996. now work.
  2997. - Updated the configure script for *BSD and to turn off
  2998. exceptions and RTTI in the FLTK library itself (does
  2999. not affect applications which use these things)
  3000. - FLUID now supports I18N using the POSIX or GNU
  3001. mechanisms.
  3002. - Fixed definition of glutBitmapWidth to match header
  3003. file.
  3004. - Does not turn visible() on when a window is iconized()
  3005. or if a modal window is shown and it's parent is
  3006. iconized. This allows the code "while (w->visible()
  3007. && w->damage()) Fl::check();" to reliably wait for the
  3008. window to be mapped and drawn the first time.
  3009. - Setting box(FL_NO_BOX) on a button makes it an
  3010. invisible overlay
  3011. - FL_NORMAL_SIZE is now a global variable so you can
  3012. change the default text size prior to creating your
  3013. widgets.
  3014. - Menus now draw properly with a box type of
  3015. FL_FLAT_BOX.
  3016. - Cygwin fixes to compile in POSIX mode.
  3017. - Fl_Value_Input callback can call value() or
  3018. destructor.
  3019. - OpenGL overlays now work under Windows NT!
  3020. - Fl_Slider and Fl_Scrollbar could cause a divide by
  3021. zero.
  3022. - Clicking in an Fl_Input field no longer selects the
  3023. whole field, it just moves the text cursor.
  3024. - Tru64 UNIX fixes for filename_list()
  3025. - Fl_Browser now draws itself properly when deactivated.
  3026. - FLUID GUIs now use Courier font for all code input.
  3027. - The FLUID OK and Cancel buttons are now all shown in
  3028. the same order in all windows.
  3029. - Fixes to compile under GCC 2.95.2
  3030. - Fixed the BC5 project files.
  3031. - FL_LEFT_MOUSE and friends are now in
  3032. <FL/Enumerations.H>
  3033. - Fixes for fake OpenGL overlay code under WIN32.
  3034. - Message windows are now resizeable.
  3035. - On WIN32 non_modal (but not modal) windows have the
  3036. close and size boxes.
  3037. - Fl_Button and friends didn't honor the
  3038. FL_WHEN_NOT_CHANGED condition.
  3039. - Disabled XDBE on all platforms.
  3040. - XGetDefault patch from James Roth
  3041. - New fl_open_display(Display *) function to allow FLTK
  3042. to share a display connection with another toolkit
  3043. (like Xt, GTK, etc.)
  3044. - Shortcut labels for special keys should now display
  3045. properly under WIN32.
  3046. - fl_set_fonts() did not reuse fonts.
  3047. - Fixed shortcut problem under WIN32 when the focus
  3048. window changes.
  3049. - "dead" keys should now work under X11.
  3050. - Fixes to make FLTK compile with GCC 2.95.2
  3051. - FL_SHORTCUT fix for I18N.
  3052. - Fixed cut/paste problems under WIN32
  3053. - FLUID now produces correct code for nested class
  3054. destructors.
  3055. - Nested windows should now redraw properly under WIN32.
  3056. - "table" is now static in fl_cursor.cxx
  3057. - Fl_Chart used the textcolor() and not the color() for
  3058. horizontal bar charts.
  3059. - Now set the input hint for TWM and TWM-derived window
  3060. managers.
  3061. - Now look for TrueColor visual if FLTK is compiled with
  3062. USE_COLORMAP == 0.
  3063. - Fl_Scrollbar could generate a divide-by-0 error if the
  3064. min and max values were the same.
  3065. - Fl_Menu_::remove() now removes whole submenus if
  3066. needed.
  3067. - Scrollbar buttons now draw themselves pushed in as
  3068. needed.
  3069. - Fixed the gl_overlay demo (and gl overlays in general)
  3070. when they are faked with no hardware and the window is
  3071. resized.
  3072. - Selections weren't shown in Fl_Browser widgets when an
  3073. item used the @B (background) format.
  3074. - Windows can now be resized by the program under X11
  3075. for more window managers.
  3076. - OS/2 makeinclude updates.
  3077. - Added Fl.H required by an inline function in
  3078. Fl_Repeat_Button.H
  3079. - Fl_add_idle adds new functions to the end of the queue
  3080. ring, rather than the start, so they are executed in
  3081. the order added, and a callback that adds itself does
  3082. not prevent others from being called.
  3083. - FLUID lets you type in code that starts with '#' for
  3084. cpp directives.
  3085. - XBell() could be called before the X11 display was
  3086. opened, causing a segfault.
  3087. - Fixed Fl_Gl_Window::ortho() - Borland C++ doesn't
  3088. define GLint to "int", but instead to "long"...
  3089. - Fixed Fl_Browser scrollbars within an Fl_Scroll
  3090. widget.
  3091. - Fl_Output (and non-focused Fl_Input) now scroll in
  3092. response to position()
  3093. - Fl_Input now does not scroll horizontally if the
  3094. entire string will fit in the widget.
  3095. - Fl_Scrollbar didn't push the right arrow buttons when
  3096. you clicked outside the scroller.
  3097. - Now use WSAAsyncSelect() for better socket performance
  3098. with Fl::add_fd()
  3099. CHANGES SINCE FLTK 1.0.6
  3100. - Fixed Fl_Input_ bug under WIN32 - no longer stop accepting input
  3101. when one of the "Windows" keys is pressed.
  3102. - Now call TranslateEvent for all events under WIN32.
  3103. - Fixes for OpenBSD and NetBSD
  3104. - The FL_CURSOR_HAND cursor now uses the IDC_HAND cursor instead of
  3105. IDC_UPARROW under Windows 98 and 2000.
  3106. - Fl_Scrollbar now does a page-up/down when you click outside the
  3107. scroller.
  3108. - Fl_Window::show(0, NULL) causes core dump
  3109. - Fixed a compile-time error in fl_call_main.c for Borland C++.
  3110. - "fluid -c filename.fl" would try to open an X display if the
  3111. FLUID file contained an Fl_Browser widget.
  3112. - Fl_Browser now correctly measures items with @C or @B color
  3113. formatting commands.
  3114. - Fixed a bitmap drawing bug for WIN32 (bit reversal table was wrong)
  3115. - fl_xyz() dialogs now set a title in the title bar.
  3116. - fl_alert() sounds the bell under X11.
  3117. - fl_xyz() dialogs now call MessageBeep() under WIN32.
  3118. - Fl_Browser_ didn't draw the selection box with the inactive color
  3119. when the browser wasn't activated.
  3120. - Fl_Browser now responds to FL_KEYBOARD as well as FL_SHORTCUT. If
  3121. you subclass it to accept focus then keyboard navigation will work.
  3122. - Fl_Tile and Fl_Tabs do their callback when the user changes their
  3123. display.
  3124. - Made some of the private methods of Fl_Browser protected.
  3125. - Now set win_gravity correctly, this helps some X
  3126. window managers that use it position the window where
  3127. FLTK wants it to be.
  3128. - 0-width browsers crashed.
  3129. - Minor change: if the X window manager does not do
  3130. anything else with windows that don't have their
  3131. position specified, the windows appear centered in the
  3132. screen, rather than in the top-left corner. This
  3133. happened with modal windows under Irix 4Dwm. This
  3134. also causes windows to be centered when no window
  3135. manager is running, which might be useful for
  3136. installation gui programs?
  3137. - Clicking in an Fl_Input field the first time selects the entire
  3138. field.
  3139. - Clicking the middle mouse button in an Fl_Input field now inserts
  3140. the text at the indicated position instead of the cursor position.
  3141. - Drag-selecting text in an Fl_Input field now copies the text
  3142. automatically.
  3143. - Fl::flush() no longer calls the draw() method for invisible windows.
  3144. - Calling deactivate() on an invisible widget could cause an
  3145. infinite loop in some obscure cases.
  3146. - Added #pragma's for SGI C++ compilers - the 6.{23} X headers had
  3147. errors in them.
  3148. - Fl_Gl_Window::ortho() changed so that text and images
  3149. are not erased if the origin is off the left/bottom of the
  3150. window.
  3151. - Small change to Fl_Input so that a click that gives it
  3152. the focus also selects all the text.
  3153. - Fixed a slider drawing problem.
  3154. - You can now add/delete children of Fl_Tabs widgets whether or
  3155. not they are visible.
  3156. - Now embed woff options for SGI C++ compilers (gets rid of X11
  3157. header warnings)
  3158. - draw_pixmap used a cast that the Digital UNIX C++ compiler didn't
  3159. like.
  3160. - The GLUT function key constants were off by one.
  3161. - The XPM reading code didn't handle RGB colors other than #rrggbb.
  3162. CHANGES SINCE FLTK 1.0.5
  3163. - Fl_win32.cxx defined WM_MOUSE_LEAVE instead of WM_MOUSELEAVE.
  3164. - Fl_get_key_win32.cxx needed to include <ctype.h>
  3165. - gl_draw_pixmap.cxx needed a pointer cast for ANSI C++.
  3166. - Fl_Repeat_Button didn't always delete its timeout.
  3167. - Now keep track of the current OpenGL context; this provides
  3168. significant performance improvements for OpenGL applications
  3169. with a single context.
  3170. CHANGES SINCE FLTK 1.0.4
  3171. - Fl_Roller didn't handle a width and height of 0.
  3172. - filename_list() fix for FreeBSD.
  3173. - Fixed RPM install docos - needed "--install" option...
  3174. - Fl_Browser_ wouldn't draw the vertical scrollbar right away if it
  3175. added a horizontal one which covered the last line.
  3176. - Fl_Tabs problems - single-character labels don't show up (problem in
  3177. measure_tabs() or measure_label() methods?), and doesn't clear top
  3178. tab area before drawing tabs.
  3179. - Fl_Browser needs a destructor.
  3180. - fl_draw_label() quoted characters between 0x80 and 0xa0, which
  3181. caused problems for some programs using the WinANSI character set.
  3182. - FLUID didn't handle declared class destructors.
  3183. - Fixed another WIN32 cut/paste bug.
  3184. - Fl_Tabs didn't work properly when there was only 1 tab.
  3185. - Fl_Menu::add() didn't delete the old array.
  3186. - Fl_Repeat_Button didn't delete its timeout when disabled.
  3187. - fl_draw() would crash if no font was set (now defaults to
  3188. a 14-pixel Helvetica font)
  3189. - Can't forward declare classes; need to check for "class ", "struct ",
  3190. "union ", etc. See Bill's message
  3191. - Added #pragma around xlib.h for IRIX
  3192. - FL_KEYBOARD events have the correct x/y when sent to child X
  3193. windows. Note that if you worked around this bug by adjusting the
  3194. x/y yourself you will have to change your code. In addition all
  3195. events have the correct x/y when sent to the grab() widget. And
  3196. the code to do all this was simplified a lot.
  3197. - The XPM code didn't handle named colors with spaces in the names.
  3198. - Pressing ESCape closed the window with pointer focus, even if there
  3199. was a modal window open (now closes the modal window).
  3200. - FLUID no longer produces trigraphs accidentally in the image data.
  3201. - FLUID uses string constant concatenation to produce shorter image
  3202. data.
  3203. - The Fl_Group deletion code crashed if there was exactly one child
  3204. widget.
  3205. - Simulated overlays in single-buffered Fl_Gl_Windows now draw
  3206. correctly (though very slowly as it requires the entire window to
  3207. be redrawn to erase the overlay). This fix ported our Digital
  3208. Domain programs better to systems with no overlay hardware.
  3209. - Added support for extern "C" declarations in FLUID.
  3210. - Added Fl_Pack support to FLUID.
  3211. - Fixed the order of #include's in FLUID generated header files.
  3212. - Fixed detection of vsnprintf and snprintf under HP-UX 10.20 once
  3213. and for all.
  3214. - The checkers demo did not compile with GCC 2.95
  3215. - FLUID didn't output virtual destructors properly.
  3216. - Added inline "make_visible()" method to Fl_Browser.
  3217. - Fl::wait() now returns immediately if any timeouts are
  3218. called.
  3219. - 16-bit XPM files are now properly handled.
  3220. - Fl_Window::resize() was missing FL_EXPORT (caused problems
  3221. with Windows DLLs)
  3222. - FLUID was writing extern declarations twice.
  3223. - New FLUID arrow key functionality: arrows move by one pixel, shift+arrow
  3224. resizes, ctrl+arrow steps by grid
  3225. CHANGES SINCE FLTK 1.0.3
  3226. - Documentation updates
  3227. - Fl_Browser::bottomline(size) didn't scroll to the bottom
  3228. if the second-to-last line was visible.
  3229. - fl_wait() didn't poll FDs properly for WIN32.
  3230. - Fixed DLL definitions for BC++.
  3231. - FLUID now handles nested classes properly.
  3232. - The "connect" demo now does a wait() for the PPP process
  3233. so that you aren't left with a lot of zombie processes.
  3234. - Fixed the FLTK colormap to use FF instead of F4 for full
  3235. intensity values.
  3236. - Minor change to scrollbar drawing code to match other
  3237. toolkits.
  3238. - New selections would cancel themselves out in WIN32.
  3239. - The header file links were broken in the IRIX
  3240. distributions.
  3241. - fl_elapsed() now always uses GetClockTick() for WIN32.
  3242. - fl_display is now initialized to GetModuleHandle(NULL) -
  3243. this fixes problems people had with Cygwin and MingW32.
  3244. - WinMain() is no longer compiled in with Cygwin and
  3245. MingW32; it wasn't being used for those compilers anyways.
  3246. - Added Solaris compiler options to configure script.
  3247. - Fl_Value_Input wouldn't update properly if you set the
  3248. value from a callback.
  3249. - Fl_Tile wouldn't resize if the resizeable widget was the
  3250. last child.
  3251. - Was missing #include <ctype.h> and #include <stdlib.h> in
  3252. several files, which caused problems on some platforms.
  3253. - Fixed another case where Fl_Browser_ could get in an
  3254. infinite resizing loop.
  3255. - Fl_win32.cxx now includes <FL/filename.H> to export missing
  3256. DLL symbols.
  3257. - FLUID didn't handle member functions that include the
  3258. scope operator.
  3259. - Fl_Chart was dividing by 0 if there were no data samples
  3260. or if they were all the same (min == max).
  3261. CHANGES SINCE FLTK 1.0.2
  3262. - XDBE is now enabled for IRIX 6.[234] as well as 6.5.
  3263. - FLUID didn't write the when() condition properly.
  3264. - Tab/space/backtab/backspace can be used to navigate
  3265. through menus.
  3266. - Changed $(DSONAME) in the src/Makefile to "libfltk.so.1
  3267. libfltk.sl.1".
  3268. - Fl_Browser could read past the end of the string when
  3269. computing the item height.
  3270. - Fl_Browser could get in an infinite loop when checking to
  3271. see if scrollbars needed to be displayed.
  3272. - FLUID now honors the return type of the outermost widget.
  3273. This was a problem when substituting Fl_Group in an
  3274. Fl_Window widget.
  3275. - Fl_Menu_::copy() wasn't allocating a power of 2 for the
  3276. array size.
  3277. - FLWM would crash if fl_xmousewin was deleted.
  3278. - The fast_slow demo now uses output widgets.
  3279. - Timers under WIN32 were unreliable.
  3280. CHANGES SINCE FLTK 1.0.1
  3281. - Documentation updates
  3282. - The Visual C++ project files didn't include fl_add_idle.cxx.
  3283. - LIBRARY/DSO name inconsistencies in src/Makefile.
  3284. - src/Makefile didn't clean the DSO.
  3285. - The valuator demo now has only a single callback.
  3286. - The code looked for HAVE_SYS_SELECT_H, but the
  3287. config file uses HAVE_SYS_SELECT.
  3288. - Fl_Image redraw not quite right under X11 or WIN32
  3289. - Problems with timeouts & cube demo under WIN32
  3290. - FLUID problems with inline functions.
  3291. - Documentation fixes...
  3292. - Fl_Browser::item_height() didn't handle blank lines or
  3293. non-default fonts properly.
  3294. - FL/math.h didn't have #ifndef...#define...#endif guards
  3295. against multiple inclusion...
  3296. - Fl_Menu_::copy() fix - didn't allocate power of 2...
  3297. - Fl::damage() now remains true until all windows are actually
  3298. redrawn.
  3299. - Fl_Widget destructor, hide(), and deactivate() methods no longer
  3300. send FL_LEAVE, FL_RELEASE, or FL_UNFOCUS events to the widget
  3301. (which could cause applications to crash).
  3302. - FLUID now outputs symbolic names for align() and when().
  3303. - Fixed select() to use maxfd + 1 instead of maxfd.
  3304. - Added "Fl::remove_fd(fd, when)" function so you can remove the
  3305. read and write callbacks separately.
  3306. - The Fl::add_fd() and Fl::add_timeout() arrays are now dynamically
  3307. allocated.
  3308. - FLUID didn't always turn the FL_SUBMENU flag on for submenu titles.
  3309. - The "extra code" in FLUID now is placed before the "o->end()" call
  3310. for Fl_Group and its derived classes.
  3311. - You can now set a FL_Window widget's class in FLUID to Fl_Group to
  3312. generate a function or class that builds part of a GUI (i.e. no window).
  3313. - FLUID now displays "Save file before exiting?" with the standard yes,
  3314. no, and cancel buttons rather than "Discard changes?".
  3315. - Fl_Menu_::add() now works with any type of menu, even one set with
  3316. the menu() method.
  3317. - The keypad keys were not always decoded properly under X11.
  3318. - Some pointers were not being turned off when widgets were deleted,
  3319. which caused some applications (like FLWM) to crash.
  3320. CHANGES SINCE FLTK 1.0
  3321. - Documentation fixes.
  3322. - Fl::check() didn't return the correct value, breaking a number
  3323. of applications.
  3324. - Fixed FLUID bug that caused styles patch to crash when you delete
  3325. a menu item.
  3326. - Updated valuators demo to put the values in the gui box.
  3327. - Fl_Browser_::item_height() didn't always compute the correct
  3328. value.
  3329. - Fixed the alignment of Fl_Choice text.
  3330. - Fixes for OS/2.
  3331. - Fl_Menu_Item::clear() didn't clear value.
  3332. - Added some changes to make FLTK work with Borland C++.
  3333. - ANSI C++ fixes.
  3334. - Plugged a memory leak in the fractal demo.
  3335. - Fl::add_timeout() didn't work under WIN32 with small values.
  3336. - The configure script and makefiles now define DSONAME and
  3337. use the static library for all example programs.