summaryrefslogtreecommitdiff
path: root/src/Fl_Browser.cxx
AgeCommit message (Collapse)Author
46 hourswipmaxim nikonov
2024-10-15Fix documentation typos and trailing whitespaceAlbrecht Schlosser
2024-05-24Fix: Fl_Browser unexpected display of empty lines ("@." vs "") (#979)ManoloFLTK
2023-11-25Adds `linespacing()` to `Fl_Browser_` and all derived widgetsMatthias Melcher
2023-02-02Fix position() methods that shadow Fl_Widget::position()Matthias Melcher
* `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666)
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2018-12-28Merge pull request #11 from MatthiasWM/masterMatthias Melcher
Fixing STR #2901, Fl_Browser formatting char
2018-12-29Fixing STR #2901, wrongly escaping the formatting character code in Fl_Browser.Matthias Melcher
2018-12-27Fixing some minor lint, found by Pavel Shlyak using PVS studioMatthias Melcher
2017-10-18Fixes STR# 3388, format_char(0) can cause array overruns/garbage characters.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-06-04Fix Fl_Browser background and text color parsing (STR #3376).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12252 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-29Fix Fl_Browser::textsize(int) to adjust the scrollbars (STR #3057).Albrecht Schlosser
Setting a different text size didn't affect the scrollbars. Port of branch-1.3, r11453 and r11464. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-12-15Fix Fl_Browser if text argument to some methods is NULL (STR #3269).Albrecht Schlosser
Fl_Browser::add(), Fl_Browser::insert(), and Fl_Browser::text() didn't test if the provided text argument was NULL, although this was explicitly allowed in the documentation. Also applied some minor documentation fixes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10966 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-07-24STR 2705: moved all inline constructors (that I could find) from header ↵Matthias Melcher
files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05Fixed build error in msvs because Fl ref to FULLSCREEN enum was not ↵Fabien Costantini
accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-19Typo correction (removed extraneous ";")Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-10-19Removed unused variables (gcc 4.6 warning [-Wunused-but-set-variable]).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-24Fix constructors for VC++ DLL builds (STR #2645).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-28Fixed a bunch of warnings from gcc 4.4.5 . Most of these are parenthesis ↵Matthias Melcher
missing to make the precedence of && over || obvious. Ah well, why not... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-21Removed stray garbage from lineposition()'s docs.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-09Document NULL return value for Fl_Browser::find_line().Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-09Added warnings re: duplicate definition of Fl_Browser.cxx's private FL_BLINEGreg Ercolano
struct in Fl_File_Browser.cxx. Currently changes to one struct must be manually kept in sync with the other. todo: Fl_File_Browser should be fixed to not do this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-08Added Albrecht's patch to solve height calculation problem.Greg Ercolano
Added replacing() call to handle horiz scroll calculations. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-07Solves STR#1739.Greg Ercolano
This allows icons to be defined for items in Fl_Browser. In addition to the OP's patch: o Added doxygen docs o Fixed redraw handling of icons larger than the items o Some methods made const o Conformed indent to FLTK standards See the STR for a test program that verifies the modifications. Mods tested on linux,osx,windows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-27Doxgen mods for Fl_Browser*:Greg Ercolano
o Added \see for all methods that seemed to need it o Fix to has_scroll() enum docs as per Albrecht's comments o Other small doc tweaks git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-25 o Major mods to Fl_Browser_.{cxx.H}'s doxygen docsGreg Ercolano
o Small mods to Fl_Browser.{cxx,H}'s doxygen docs o FL_SORT_ASC/DESC -> FL_SORT_ASCENDING/DESCENDING (includes necessary mod to test/browser.cxx demo) TODO: Fl_Browser needs new '\see Related methods: ' that was initiated in Fl_Browser_ git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6720 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-17Spell check was an after thought..Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6696 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-17Fl_Browser documenation improvements/additions.Greg Ercolano
- Standardized all methods + parameter names - Strengthened descriptions - added \code examples git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15Surrounded all #warning's with #if defined(__GNUC__)Greg Ercolano
to prevent compiling problems on non-gnu compilers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed Copyright in 'src' directoryMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26STR #2114: Fl_Browser::clear() did not clear 'last'Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26STR #2113: added sorting and a few other functions to Fl_Browser_.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-13more doxygen updatesAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-13Fixed typos and doxygen documentation.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-20added doxygen comments for undocumented methods of Fl_Bitmap and Fl_Browserengelsman
also replaced some html with doxygen equivalent. note that not all comments are consistent. some are one-liners, even though the contain [obvious?] parameters, and others have \param and \returns. note too, that some parameter names are ambiguous and require type info, eg line could be FL_BLINE* for whole line entry, or int for line number, and this can make descriptions awkward (\param line line number). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16Doxygen documentation : took the opportunity to update copyright info as we ↵Fabien Costantini
modified already in batch almost all sources, added also a fil doxygen command to class headers to harmonize with original matt Fl_Widget dox. format. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14Doxygen Documentation WP2 done.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6235 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and ↵Matthias Melcher
additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-11-20Update scrollbars when showing or hiding items (STR #1724)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-05-10Fixed insufficiently invalidated cache in Fl_Browser (STR #1265). ↵Matthias Melcher
Fl_Browser::cahceline was set to 0, but Fl_Browser::cache was not which lead to confusion if the cache was usable or not. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-03-28STR 1183: swapping two items in an Fl_Browser_ widget would corrupt ↵Matthias Melcher
redrawing if either item was "top". This fix swaps the top_ variable correctly, and also swaps the selection flag as the user would expect. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4879 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16Update source file headers with STR web page.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24Copyright updates.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24Fl_Browser::swap() didn't handle redraws properly when theMichael R Sweet
swapped lines had different heights (STR #729) src/Fl_Browser.cxx: - Fl_Browser::swap(): call redraw_lines() instead of redrawing individual lines. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4046 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20Watcom fixes (STR #584, STR #594, STR #595)Michael R Sweet
Fixed library include order when building DSOs on MacOS X (STR #596) fl_xid() could cause a WIN32 application to crash (STR #560, STR #576, STR #618) Fl_Browser::remove_() removed the item from the list before computing the item height, which caused problems with some programs (STR #613) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-26More documentation updates...Michael R Sweet
Fl_File_Chooser did not handle some cases for filename completion (STR #376) Fl_Help_View didn't properly compute the default maximum width of the page properly, resulting in non-wrapped text in table cells (STR #464) Fl_Text_Editor no longer tries to emulate the Emacs CTRL-A shortcut to move to the first column, since there is a key for that and the widget does not emulate any other Emacs keys (STR #421) Fl_File_Chooser always disabled the OK button when the user pressed DELETE or BACKSPACE (STR #397) Added Fl_Browser::swap() methods (STR #459) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-05-16Add NULL checks for browser strings.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3421 ea41ed52-d2ee-0310-a9c1-e6b18d33e121