summaryrefslogtreecommitdiff
path: root/src/Fl_Help_View.cxx
AgeCommit message (Collapse)Author
2023-02-24Derive internal Fl_Help_View buffer from Fl_StringAlbrecht Schlosser
Refactor the internal class HV_Edit_Buffer by deriving it from the the recently extended Fl_String class. The class HV_Edit_Buffer still needs some "special" methods but the code could be simplified substantially.
2023-01-05Add close buttons for individual tabs in Fl_Tabs (#628)Matthias Melcher
Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features
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
2022-11-06Fix Fl_Help_View <OL> numbers (Issue #153, STR 3290)Albrecht Schlosser
Started with @wcout's patch (see Issue #153, STR 3290), modified patch for CMP conformance, restructured methods, and finally: - used Fl_Int_Vector instead of 'fl_data_container' - removed fl_data_container Thanks for the working patch to @wcout.
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2021-02-13Remove compilation warnings issued by Visual Studio 2019.ManoloFLTK
2021-01-08Fix Fl_Help_View::find() (issue #179)Albrecht Schlosser
Fix search (string comparison) which had a few different issues. Document the function, arguments, and details about string matching. To do: correctly match complex HTML entities like "&euro;" with Unicode code points >= U+0080 (UTF-8 multi byte encoding).
2020-08-01Implement + deploy fl_strdup()Greg Ercolano
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.
2020-07-01Update doc of Fl_Help_View following addition of html entity &dagger;ManoloFLTK
2020-07-01Add "&dagger;" HTML entity.ManoloFLTK
2019-08-29Fix remaining compiler warnings of (STR 3529)Albrecht Schlosser
src/Fl_File_Chooser2.cxx src/Fl_File_Icon2.cxx src/Fl_Help_View.cxx The only known warnings are now in src/Fl_x.cxx as mentioned in comment #1.
2019-02-05Fixed two warnings from Doxygen.Matthias Melcher
2019-01-30STR 3430: fixed Help_View return valueMatthias Melcher
2018-01-31Replace FL/x.H with FL/platform.H - step 2 (STR #3435).Albrecht Schlosser
This second step replaces FL/x.H with FL/platform.H in all source files. Dependencies have been adjusted as well. This commit completes the replacement of FL/x.H with FL/platform.H. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2017-08-18Remove unnecessary #include files from Fl_Help_View.HAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12392 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-23Bringing over fix [r11844] from 1.3 current to the porting branch.Greg Ercolano
Fixes STR #3270; when an image is used as a link, this mod synchronizes the link's hot spot with the image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-06-03Fix for positionning of text after <HR> directive (part of STR #3227).Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31Hopefully final fix of HTML entity handlingAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-31Polishing conversions between char- and int-typed variables.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-22Fix compiler warnings.Albrecht Schlosser
FL/platform_types.h: C++ style comments are not allowed in ISO C90. src/Fl_Help_View.cxx: type qualifiers ignored on function return type. src/Fl_Image_Surface.cxx: (Linux) converting to non-pointer type ‘long unsigned int’ from NULL [-Wconversion-null] Line #70: In member function ‘Fl_Offscreen Fl_Image_Surface::offscreen()’ git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-19Fix handing of html entities in copied text by Fl_Help_View widget.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-05-17Fix Fl_Help_View buffer overflow (STR #3275).Albrecht Schlosser
This version works much better than the previous one: - fixed buffer overflow ("stack corruption") - fixed potential long text truncation - fixed tab formatting at line start or any offset divisible by 8 - better handling of HTML entities (aka quoted characters) - code simplifications, e.g. HV_Edit_Buffer::cmp() + width() Todo: - improve and standardize handling of HTML entities - more tests Missing features and known bugs: - strike out text (not implemented) - table and horizontal line formatting issues (STR #3227) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11746 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-13Remove useless platform-specific #include directives from Fl_Help_View.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-03-25Remove a bunch of useless #include <FL/x.H> directives.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-27Fix compiler warnings (STR #2988) - final commit.Albrecht Schlosser
This commit includes all fixes from branch-1.3 (svn r 11243) and additional fixes for warnings that crept in during the porting efforts, particularly C++ ("//") comments in C and included header files, and some more. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-02-14Fix HTML entities in Fl_Help_View.Albrecht Schlosser
Removed obsolete ENC() macro, fixed some encodings that were still Windows CP-1252: converted to correct Unicode values. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-10Fixes STR#3207, issue with ^C not working when numlock or capslock is on.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Sprinkle some more const on internal arrays. STR #3110Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-21Constify an internal table in Fl_Help_View. STR #3109Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10231 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-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-06-26Mac OS: use cmd-A and cmd-C to select all and copy (instead of ctrl-A and ↵Manolo Gouy
ctrl-C). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-19Changed all fixed filename buffers (that I could find) to use FL_PATH_MX ↵Matthias Melcher
instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 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-04-22Added some needed comments to Fl_Help_View::format()Greg Ercolano
to help this developer get his bearings.. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-22Applied patch from STR# 2144 to solve hotspot problem Greg Ercolano
with links inside <pre> text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-07another update for image handling in Fl_Help_ViewAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-07Fix image handling in Fl_Help_View (STR #2163 and STR #2004).Albrecht Schlosser
src/Fl_Help_View.cxx: This fix is the first step and compatible with FLTK 1.1 (keeping the ABI). The next step should be to manage the loaded images in an own structure, because we must know exactly, when to release() the images. The previous version would release images too many times and could release shared images that had been loaded by another part of the program (maybe even another Fl_Help_View widget). FL/Fl_Help_View.H: Doxygen comments improved. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-03STR #2184: bug in Fl_Help_Viewer font stackAlbrecht Schlosser
src/Fl_Help_View.cxx: removed double pushfont() for color changes FL/Fl_Help_View.H: fixed Fl_Help_Font_Stack::pop() to set the correct font git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-04-02Fl_Help_View mods for scrollbar sizingGreg Ercolano
1) Introduced new scrollbar_size() methods with global fallback behavior 2) Added int scrollbar_size_ 3) Mods to code to make use of the above 4) Doxygen docs for the above git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6740 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-15Fixed some comments and removed obsoleteAlbrecht Schlosser
#define getcwd _getcwd[2] because FLTK 1.3 now uses fl_getcwd(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6691 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-29STR#2127:Fabien Costantini
- Applied third version of greg patch adding new external link functionality. - Corrected it so that it can compile under linux (minor include problem) - Corrected old documentation link to new one (toc.hmmtl is now index.html) Tested succesfully on linux and mac os x 10.5 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-14STR#890 non-lazy fix: as suggested, replaced the one level color attribute ↵Fabien Costantini
saving by a better font style stack including the color in its font style elements. Took this opportunity to remove the separated font stack (font and size) tables by an opaque and dedicated font stack object implementation. This permits i.e to change easily the stack size or even impl. (like a linked list impl.) without impacting the widget code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12STR#890 fix attempt: correct imbricated font color handling.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6630 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-09-19Updating fl_utf8.h references. Fixing copyright date in .fl files.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18Doxygen documentation: Fixed most important warnings for the Fl_Widget, ↵Fabien Costantini
Fl_Window, Fl_Valuator classes that should be now a 100% documented. For the rest I drastically reduced the undocumented APIs, but many others (less important) remains. It looks and feels pretty good now :-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121