fltk/src
Albrecht Schlosser c12408b53f Avoid crash in Fl::next_window(win)
As documented, Fl::next_window(win) must only be called with a valid
*shown* window. The old code would crash if the argument was NULL
or the window was not shown.

The new code avoids the crash, issues an error message, and returns
NULL to the caller.
2020-06-24 19:58:33 +02:00
..
drivers Allow using an Fl_SVG_Image object as window icon. 2020-06-15 19:05:47 +02:00
xutf8 Rename README files to README.txt (and several similar files). 2018-12-10 16:50:56 +01:00
allfiles.xbm
cgdebug.h
CMakeLists.txt CMake: Build static and shared libs side-by-side 2020-06-13 14:22:22 +02:00
cmap.cxx Reformat src/cmap.cxx and regen src/fl_cmap.h 2020-04-29 14:48:00 +02:00
config_lib.h Removed macro FL_PORTING, as it has been more confusing than helpful. 2018-06-23 17:04:18 +00:00
d1_mask.xbm
d1.xbm
dump_compose.c
ew_mask.xbm
ew.xbm
fastarrow.h
filename_absolute.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
filename_expand.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
filename_ext.cxx Correct typo in Doxygen doc of Fl_System_Driver::filename_ext() 2019-03-26 13:20:18 +01:00
filename_isdir.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
filename_list.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
filename_match.cxx
filename_setext.cxx
Fl_abort.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_add_idle.cxx
Fl_Adjuster.cxx
fl_arc.cxx Doxygen only: fixed all block comments starting with an asterisk to space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. 2018-06-23 20:50:22 +00:00
Fl_arg.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
fl_ask.cxx Fix doxygen docs (wrong argument name) 2020-05-08 12:34:37 +02:00
Fl_Bitmap.cxx Remove a bunch of useless #include <FL/Fl_Printer.H> statements. 2018-05-09 12:27:38 +00:00
Fl_BMP_Image.cxx Combine image readers in class Fl_Image_Reader 2020-01-13 22:41:13 +01:00
Fl_Box.cxx
fl_boxtype.cxx
Fl_Browser_.cxx Fixed small doxygen inconsistencies for do_callback value. 2017-09-13 21:56:49 +00:00
Fl_Browser_load.cxx
Fl_Browser.cxx Merge pull request #11 from MatthiasWM/master 2018-12-28 17:25:28 -08:00
Fl_Button.cxx Added fallthru indication in Fl_Button::handle() 2018-07-20 05:21:14 +00:00
fl_call_main.c Removed macro FL_PORTING, as it has been more confusing than helpful. 2018-06-23 17:04:18 +00:00
Fl_Chart.cxx
Fl_Check_Browser.cxx Fixed missing item handling in Fl_Chekc_Browser (STR #3480). 2019-02-02 16:24:10 +01:00
Fl_Check_Button.cxx
Fl_Choice.cxx Complete fix for STR #3503 (Fl_Choice). 2018-12-07 17:52:32 +01:00
Fl_Clock.cxx Fix rare early timeouts in Fl_Clock (STR 3516). 2019-12-26 18:13:03 +01:00
fl_cmap.h Reformat src/cmap.cxx and regen src/fl_cmap.h 2020-04-29 14:48:00 +02:00
Fl_cocoa.mm Allow using an Fl_SVG_Image object as window icon. 2020-06-15 19:05:47 +02:00
Fl_Color_Chooser.cxx Support copy function in Fl_Color_Chooser 2019-08-12 19:07:28 +02:00
fl_color.cxx Doxygen only: fixed all block comments starting with an asterisk to space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. 2018-06-23 20:50:22 +00:00
Fl_compose.cxx Move Fl_Screen_Driver.H from FL/ to src/ 2018-06-26 14:04:09 +00:00
Fl_Copy_Surface.cxx Remove Fl_Copy_Surface_Driver::draw_decorated_window() that is unnecessary 2019-05-24 14:05:41 +02:00
Fl_Counter.cxx
fl_cursor_help.xpm
fl_cursor_nesw.xpm
fl_cursor_none.xpm
fl_cursor_nwse.xpm
fl_cursor_wait.xpm
fl_cursor.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
fl_curve.cxx Docs 2019-02-03 09:07:22 +01:00
Fl_Device.cxx Comments only: place new class Fl_GTK_Printer_Driver in the inheritance description. 2019-11-05 17:17:37 +01:00
Fl_Dial.cxx Remove unnecessary Fl_Widget_Tracker from Fl_Dial's handle(). 2017-06-29 01:13:05 +00:00
fl_diamond_box.cxx
Fl_display.cxx Move Fl_Screen_Driver.H from FL/ to src/ 2018-06-26 14:04:09 +00:00
fl_dnd_win32.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
fl_dnd_x.cxx X11 platform: account for window scaling in drag-n-drop operations. 2019-02-09 16:28:26 +01:00
Fl_Double_Window.cxx Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() 2020-05-08 17:08:33 +02:00
fl_draw_pixmap.cxx STR #2714: remove new shadow lint for MacOS 2019-02-02 17:47:55 +01:00
fl_draw.cxx Move fl_font(face, size) to fl_draw.cxx 2020-02-03 17:30:54 +01:00
fl_encoding_latin1.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
fl_encoding_mac_roman.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
fl_engraved_label.cxx
Fl_File_Browser.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_File_Chooser2.cxx Clarify Fl_File_Chooser documentation 2020-03-02 19:34:24 +01:00
Fl_File_Chooser.cxx Limiting file access for Fl_Preferences. 2019-12-31 18:30:04 +01:00
Fl_File_Chooser.fl Limiting file access for Fl_Preferences. 2019-12-31 18:30:04 +01:00
fl_file_dir.cxx STR #2714: remove new shadow lint for MacOS 2019-02-02 17:47:55 +01:00
Fl_File_Icon2.cxx Fix remaining compiler warnings of (STR 3529) 2019-08-29 18:43:11 +02:00
Fl_File_Icon.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_File_Input.cxx Document Fl_File_Input::errorcolor() as deprecated 2019-05-15 18:31:46 +02:00
fl_font.cxx
Fl_get_key_mac.cxx Rename fl_compute_macKeyLookUp() to Fl_Darwin_System_Driver::compute_macKeyLookUp() 2019-03-25 13:16:27 +01:00
Fl_get_key_win32.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
Fl_get_key.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_get_system_colors.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_GIF_Image.cxx Combine image readers in class Fl_Image_Reader 2020-01-13 22:41:13 +01:00
Fl_Gl_Choice.cxx Use HAVE_GLXGETPROCADDRESSARB preprocessor variable 2019-04-23 18:17:16 +02:00
Fl_Gl_Choice.H Fix creation of OpenGL3+ context under X11 platform 2018-08-20 15:12:10 +00:00
Fl_Gl_Device_Plugin.cxx macOS: yet simpler implementation of window resize and rescale. 2019-04-28 15:31:02 +02:00
Fl_Gl_Overlay.cxx Simpler list of virtual member functions of Fl_Gl_Window_Driver 2019-06-21 21:47:00 +02:00
Fl_Gl_Window_Driver.H Simpler list of virtual member functions of Fl_Gl_Window_Driver 2019-06-21 21:47:00 +02:00
Fl_Gl_Window.cxx Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() 2020-05-08 17:08:33 +02:00
fl_gleam.cxx Fix, optimize, and comment "gleam" scheme box drawing. 2018-03-20 16:30:58 +00:00
Fl_grab.cxx Move Fl_Screen_Driver.H from FL/ to src/ 2018-06-26 14:04:09 +00:00
Fl_Graphics_Driver.cxx Move fl_font(face, size) to fl_draw.cxx 2020-02-03 17:30:54 +01:00
Fl_Group.cxx Fix stale current_ pointer when deleting Fl_Group 2020-06-15 01:38:18 +02:00
fl_gtk.cxx
Fl_Help_Dialog_Dox.cxx Fl_Help_Dialog::load() now returns an error code (STR #3429) 2019-02-02 01:10:24 +01:00
Fl_Help_Dialog.cxx Fl_Help_Dialog::load() now returns an error code (STR #3429) 2019-02-02 01:10:24 +01:00
Fl_Help_Dialog.fl Fl_Help_Dialog::load() now returns an error code (STR #3429) 2019-02-02 01:10:24 +01:00
Fl_Help_View.cxx Fix remaining compiler warnings of (STR 3529) 2019-08-29 18:43:11 +02:00
Fl_Image_Reader.cxx Add missing Fl_Image_Reader files 2020-01-13 23:15:00 +01:00
Fl_Image_Reader.h Add missing Fl_Image_Reader files 2020-01-13 23:15:00 +01:00
Fl_Image_Surface.cxx Reorganise use of virtual member function Fl_Surface_Device::end_current() 2019-11-07 14:28:20 +01:00
Fl_Image.cxx Fix the Fl_RGB_Image(Fl_Pixmap *pxm) c'tor when pxm is scaled. 2020-02-22 07:15:08 +01:00
fl_images_core.cxx Fix overly restrictive JPEG filter (#81) 2020-06-15 02:17:20 +02:00
Fl_Input_.cxx Added Fl_Input_::append() method (STR #2953). 2019-02-02 22:04:15 +01:00
Fl_Input_Choice.cxx Added convenience method update_menubutton(), 2018-05-07 21:24:06 +00:00
Fl_Input.cxx Fix DND in read-only Fl_Input (Fl_Output) 2020-01-16 17:12:24 +01:00
Fl_JPEG_Image.cxx Updated image readers. 2020-01-10 18:46:45 +01:00
fl_labeltype.cxx Improve label alignment docs and border case implementations. 2017-02-27 17:00:41 +00:00
Fl_Light_Button.cxx
Fl_lock.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_MacOS_Sys_Menu_Bar.mm macOS Window menu: select in menu new top window after window deletion 2020-06-17 20:09:15 +02:00
Fl_Menu_.cxx Fixes STR #3459. 2018-04-02 18:28:42 +00:00
Fl_Menu_add.cxx Fix a subtle bug in Fl_Menu_::menu_end() 2019-07-03 17:35:03 +02:00
Fl_Menu_Bar.cxx
Fl_Menu_Button.cxx Add method Fl_Menu_::menu_end() (STR 3523) 2019-06-27 16:04:03 +02:00
Fl_Menu_global.cxx
Fl_Menu_Window.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
Fl_Menu.cxx Update documentation, fix typos 2020-03-26 14:21:33 +01:00
Fl_Multi_Label.cxx Add missing Fl_Labeltype and Fl_Boxtype definitions. 2017-09-11 18:54:10 +00:00
Fl_Native_File_Chooser_FLTK.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_Native_File_Chooser_GTK.cxx Eliminate -Wunknown-pragmas and -Wsign-compare warnings on GCC 2020-02-09 15:31:57 +01:00
Fl_Native_File_Chooser_MAC.mm Make sure output file name extension is visible. 2020-04-14 21:13:04 +02:00
Fl_Native_File_Chooser_WIN32.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Native_File_Chooser.cxx Doxygen only: fixed all block comments starting with an asterisk to space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. 2018-06-23 20:50:22 +00:00
fl_open_uri.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
fl_oval_box.cxx
fl_overlay_visual.cxx Replace FL/x.H with FL/platform.H - step 2 (STR #3435). 2018-01-31 21:17:17 +00:00
Fl_Overlay_Window.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
fl_overlay.cxx Add one argument to Fl_Screen_Driver::read_win_rectangle() 2019-06-06 18:28:49 +02:00
Fl_own_colormap.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_Pack.cxx Fix a typo 2020-03-20 15:40:00 +01:00
Fl_Paged_Device.cxx Minor readability doc change. 2020-04-29 11:24:00 +02:00
Fl_Pixmap.cxx Remove a bunch of useless #include <FL/Fl_Printer.H> statements. 2018-05-09 12:27:38 +00:00
fl_plastic.cxx
Fl_PNG_Image.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_PNM_Image.cxx Updated image readers. 2020-01-10 18:46:45 +01:00
Fl_Positioner.cxx
Fl_Preferences.cxx Improve Fl_Preferences documentation 2020-06-01 18:53:56 +02:00
Fl_Printer.cxx Add optional argument to Fl_Printer::begin_job() to inform caller when an error occurs. 2020-04-22 16:01:33 +02:00
Fl_Progress.cxx
fl_read_image.cxx Add one argument to Fl_Screen_Driver::read_win_rectangle() 2019-06-06 18:28:49 +02:00
fl_rect.cxx Doxygen only: fixed all block comments starting with an asterisk to space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. 2018-06-23 20:50:22 +00:00
Fl_Repeat_Button.cxx
Fl_Return_Button.cxx
Fl_Roller.cxx Fl_Roller can now be controlled via the mouse wheel (STR #3120). 2019-02-04 23:12:02 +01:00
fl_round_box.cxx
Fl_Round_Button.cxx
fl_rounded_box.cxx Improve drawing of rounded box (STR #2943). 2016-07-15 22:12:30 +00:00
Fl_Screen_Driver.cxx Fix static analyzer errors and warnings 2020-02-11 15:46:46 +01:00
Fl_Screen_Driver.H Update Fl::keyboard_screen_scaling() 2020-01-31 15:48:21 +01:00
fl_scroll_area.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
Fl_Scroll.cxx Introduce HiDPI + rescaling support for the X11 platform (+ partial support for WIN32) 2017-05-17 11:54:18 +00:00
Fl_Scrollbar.cxx
fl_set_font.cxx Move Fl_Screen_Driver.H from FL/ to src/ 2018-06-26 14:04:09 +00:00
fl_shadow_box.cxx
Fl_Shared_Image.cxx New member function Fl_Image::scale(int width, int height) to set the FLTK size of an image. 2018-03-19 17:43:18 +00:00
fl_shortcut.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
fl_show_colormap.cxx
Fl_Simple_Terminal.cxx Small doc tweaks for clarity. 2017-10-22 02:58:35 +00:00
Fl_Single_Window.cxx
Fl_Slider.cxx
Fl_Spinner.cxx Enable Up/Down keys in Fl_Spinner if input has focus (STR #2989). 2017-03-10 21:47:08 +00:00
Fl_SVG_Image.cxx More detailed documentation of Fl_SVG_Image::normalize(). 2020-06-16 12:04:20 +02:00
fl_symbols.cxx
Fl_Sys_Menu_Bar_Driver.H Move Fl_Sys_Menu_Bar_Driver.H from FL/ to src/ 2018-06-26 07:38:54 +00:00
Fl_Sys_Menu_Bar.cxx Fl_Sys_Menu_Bar: make it strict equivalent of Fl_Menu_Bar outside macOS 2020-02-28 16:47:44 +01:00
Fl_System_Driver.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_System_Driver.H Implement fl_putenv() as cross-platform putenv() 2020-02-10 12:10:40 +01:00
Fl_Table_Row.cxx Fix compiler warning (issue #25) 2019-04-29 11:36:21 +02:00
Fl_Table.cxx Remove "#ifdef _WIN32" that made this source file break the separation between platform-independent and -dependent files. 2018-02-21 06:56:21 +00:00
Fl_Tabs.cxx Fix static analyzer errors and warnings 2020-02-11 15:46:46 +01:00
Fl_Text_Buffer.cxx Fix "misleading indentation" in Fl_Text_Buffer.cxx 2020-05-15 23:08:33 +02:00
Fl_Text_Display.cxx Update Fl_Text_Display documentation 2020-03-08 12:33:06 +01:00
Fl_Text_Editor.cxx Move Fl_Screen_Driver.H from FL/ to src/ 2018-06-26 14:04:09 +00:00
Fl_Tile.cxx Remove unnecessary dependency on FL/Fl_Rect.H. 2018-04-12 12:58:10 +00:00
Fl_Tiled_Image.cxx
Fl_Tooltip.cxx Tooltips hide by themselves after 12 seconds (STR #2584). 2019-02-02 23:56:45 +01:00
Fl_Tree_Item_Array.cxx Fix Fl_Tree::insert() with pos out ouf range (#18) 2019-01-25 17:40:51 +01:00
Fl_Tree_Item.cxx Added new method Fl_Tree_Item::event_on_item() 2019-08-27 16:53:57 -07:00
Fl_Tree_Prefs.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
Fl_Tree.cxx Fix STR #3432: fixed drag+drop on folder 2019-08-27 16:39:43 -07:00
fl_utf8.cxx Implement fl_putenv() as cross-platform putenv() 2020-02-10 12:10:40 +01:00
Fl_Valuator.cxx
Fl_Value_Input.cxx
Fl_Value_Output.cxx
Fl_Value_Slider.cxx
fl_vertex.cxx Doxygen only: fixed all block comments starting with an asterisk to space-only, fixed doxygen keywords prepended with @ to use a backward slash instead. No code was changed. 2018-06-23 20:50:22 +00:00
Fl_visual.cxx Update documentation, fix typos 2020-03-26 14:21:33 +01:00
Fl_Widget_Surface.cxx Misc doc improvements. 2020-04-24 09:30:01 +02:00
Fl_Widget.cxx Improve docs of Fl_Widget::callback() and do_callback(). 2017-07-20 15:16:37 +00:00
Fl_win32.cxx Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() 2020-05-08 17:08:33 +02:00
Fl_Window_Driver.cxx Maintain window position when turning its border on. 2019-04-07 08:57:06 +02:00
Fl_Window_Driver.H Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() 2020-05-08 17:08:33 +02:00
Fl_Window_fullscreen.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
Fl_Window_hotspot.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
Fl_Window_iconize.cxx Move Fl_Window_Driver.H from FL/ to src/ 2018-06-26 13:43:18 +00:00
Fl_Window.cxx Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() 2020-05-08 17:08:33 +02:00
Fl_Wizard.cxx
Fl_x.cxx Replace Fl_Window_Driver::is_a_rescale() by Fl_Window::is_a_rescale() 2020-05-08 17:08:33 +02:00
Fl_XBM_Image.cxx Documentation fixes. 2016-10-14 14:33:18 +00:00
Fl_XColor.H
Fl_XPM_Image.cxx Documentation fixes. 2016-10-14 14:33:18 +00:00
Fl.cxx Avoid crash in Fl::next_window(win) 2020-06-24 19:58:33 +02:00
flstring.c
flstring.h Don't include 'src/flstring.h' in menubar demo 2020-01-16 15:59:00 +01:00
forms_bitmap.cxx
forms_compatibility.cxx Rename misspelled files. 2016-11-12 13:28:53 +00:00
forms_free.cxx
forms_fselect.cxx Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
forms_pixmap.cxx
forms_timer.cxx Move Fl_System_Driver.H from FL/ to src/ 2018-06-26 14:12:43 +00:00
freeglut_geometry.cxx
freeglut_stroke_mono_roman.cxx
freeglut_stroke_roman.cxx
freeglut_teapot_data.h
freeglut_teapot.cxx
gl_draw.cxx Rename variable from txt_buf to alpha_buf 2019-06-19 08:04:48 +02:00
gl_start.cxx Fix uninitialized vars in calls to fl_clip_box() (issue #6) 2020-01-15 21:23:26 +01:00
glut_compatibility.cxx macOS: simpler handling of GL windows when first displayed. 2019-04-19 13:03:49 +02:00
glut_font.cxx
makedepend Update dependencies 2020-06-13 12:50:06 +02:00
Makefile Update dependencies 2020-06-13 12:50:06 +02:00
mediumarrow.h
new.xbm
ns_mask.xbm
ns.xbm
numericsort.c Document fl_numericsort() and fl_casenumericsort(). 2018-03-11 16:24:36 +00:00
print_panel.cxx Limiting file access for Fl_Preferences. 2019-12-31 18:30:04 +01:00
print_panel.h
scandir_posix.c Avoid "empty translation unit" compiler warning. 2016-11-12 13:49:48 +00:00
scandir_win32.c Replace "WIN32" with "_WIN32" or "Windows". 2018-02-09 14:39:42 +00:00
screen_xywh.cxx Move Fl_Screen_Driver.H from FL/ to src/ 2018-06-26 14:04:09 +00:00
slowarrow.h
tile.xpm
up.xbm
utf8_internal.h
vsnprintf.c
Xutf8.h