CHANGES 160 KB

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