From 811033af19a06681c529c8729a8bf870a909cea0 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 20 Apr 2020 14:25:08 +0200 Subject: [PATCH] Reorganize .gitignore file(s) Move ignored files in /examples/ and /test/ to their own folders, i.e. to examples/.gitignore and test/.gitignore, resp. --- .gitignore | 243 ++------------------------------------------ examples/.gitignore | 44 ++++++++ test/.gitignore | 203 ++++++++++++++++++++++++++++++++++++ 3 files changed, 254 insertions(+), 236 deletions(-) create mode 100644 examples/.gitignore create mode 100644 test/.gitignore diff --git a/.gitignore b/.gitignore index 23b6865ef..5ba09e86b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ -# ignore file for git - generated from subversion with: -# git svn show-ignore +# +# Files to be ignored by Git (do not commit) +# *.o *.exe @@ -83,42 +84,7 @@ etc/FLTKConfig.cmake /documentation/src/fltk-book.tex # /examples/ -/examples/*.exe -/examples/clipboard -/examples/draggable-group -/examples/fltk-versions -/examples/howto-add_fd-and-popen -/examples/howto-browser-with-icons -/examples/howto-drag-and-drop -/examples/howto-menu-with-images -/examples/howto-parse-args -/examples/howto-simple-svg -/examples/howto-text-over-image-button -/examples/menubar-add -/examples/nativefilechooser-simple -/examples/nativefilechooser-simple-app -/examples/OpenGL3-glut-test -/examples/OpenGL3test -/examples/progress-simple -/examples/shapedwindow -/examples/simple-terminal -/examples/SVG_File_Surface -/examples/table-as-container -/examples/table-simple -/examples/table-sort -/examples/table-spreadsheet -/examples/table-spreadsheet-with-keyboard-nav -/examples/table-with-keynav -/examples/tabs-simple -/examples/textdisplay-with-colors -/examples/texteditor-simple -/examples/texteditor-with-dynamic-colors -/examples/tree-as-container -/examples/tree-custom-draw-items -/examples/tree-custom-sort -/examples/tree-of-tables -/examples/tree-simple -/examples/wizard-simple +# see examples/.gitignore # /fluid/ /fluid/fluid @@ -150,205 +116,10 @@ etc/FLTKConfig.cmake /src/*.dylib # /test/ -/test/CubeView -/test/CubeViewUI.cxx -/test/CubeViewUI.h -/test/adjuster -/test/animated -/test/arc -/test/ask -/test/bitmap -/test/blocks -/test/boxtype -/test/browser -/test/button -/test/buttons -/test/cairo_test -/test/checkers -test/checkers_pieces.cxx -test/checkers_pieces.h -test/clock -/test/colbrowser -/test/color_chooser -/test/cube -/test/cursor -/test/curve -/test/demo -/test/device -/test/doublebuffer -/test/editor -/test/fast_slow -/test/fast_slow.cxx -/test/fast_slow.h -/test/file_chooser -/test/fonts -/test/forms -/test/fractals -/test/fullscreen -/test/gl_overlay -/test/glpuzzle -/test/hello -/test/help_dialog -/test/icon -/test/iconize -/test/image -/test/inactive -/test/inactive.cxx -/test/inactive.h -/test/input -/test/input_choice -/test/keyboard -/test/keyboard_ui.cxx -/test/keyboard_ui.h -/test/label -/test/line_style -/test/list_visuals -/test/mandelbrot -/test/mandelbrot_ui.cxx -/test/mandelbrot_ui.h -/test/menubar -/test/message -/test/minimum -/test/native-filechooser -/test/navigation -/test/offscreen -/test/output -/test/overlay -/test/pack -/test/pixmap -/test/pixmap_browser -/test/preferences -/test/preferences.cxx -/test/preferences.h -/test/print -/test/radio -/test/radio.cxx -/test/radio.h -/test/resize -/test/resize.cxx -/test/resize.h -/test/resizebox -/test/rotated_text -/test/scroll -/test/shape -/test/shiny -/test/shiny_panel.cxx -/test/shiny_panel.h -/test/subwindow -/test/sudoku -/test/symbols -/test/table -/test/tabs -/test/tabs.cxx -/test/tabs.h -/test/threads -/test/tile -/test/tiled_image -/test/tree -/test/tree.cxx -/test/tree.h -/test/twowin -/test/unittests -/test/utf8 -/test/valuators -/test/valuators.cxx -/test/valuators.h -/test/windowfocus -/test/*.bck -/test/*.exe -/test/*.ilk -/test/fltk*.lib -/test/fltk*.exp -/test/fltk*.dll +# see test/.gitignore -################################## -# Mac OS X binary files filtering: -################################## -# /test/blocks.app/Contents/MacOS/ -/test/blocks.app/Contents/MacOS/blocks - -# /test/checkers.app/Contents/MacOS/ -/test/checkers.app/Contents/MacOS/checkers - -# /test/sudoku.app/Contents/MacOS/ -/test/sudoku.app/Contents/MacOS/sudoku +# macOS binary files +# (see also test/.gitignore) fluid/*.app/Contents/MacOS -test/*.app/Contents/MacOS **/.DS_Store - -test/adjuster.app -test/iconize.app -test/fast_slow.app -test/message.app -test/icon.app -test/line_style.app -test/symbols.app -test/file_chooser.app -test/native-filechooser.app -test/browser.app -test/curve.app -test/fonts.app -test/fullscreen.app -test/doublebuffer.app -test/glpuzzle.app -test/shape.app -test/forms.app -test/keyboard.app -test/ask.app -test/color_chooser.app -test/mandelbrot.app -test/offscreen.app -test/resize.app -test/animated.app -test/subwindow.app -test/inactive.app -test/navigation.app -test/tabs.app/Contents -test/label.app -test/rotated_text.app -test/tiled_image.app -test/hello.app -test/tile.app -test/twowin.app -test/windowfocus.app -test/button.app -test/input.app -test/arc.app -test/pixmap.app -test/tree.app -test/tabs.app -test/buttons.app -test/cube.app -test/output.app -test/overlay.app -test/table.app -test/list_visuals.app -test/device.app -test/demo.app -test/minimum.app -test/unittests.app -test/colbrowser.app -test/preferences.app/Contents -test/radio.app -test/threads.app -test/pixmap_browser.app -test/boxtype.app -test/CubeView.app -test/utf8.app -test/pack.app -test/cairo_test.app -test/preferences.app -test/scroll.app -test/fractals.app -test/bitmap.app -test/input_choice.app -test/clock.app -test/help_dialog.app -test/menubar.app -test/valuators.app -test/image.app -test/gl_overlay.app -test/editor.app -test/cursor.app -test/resizebox.app diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 000000000..398bba933 --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1,44 @@ +# +# Files to be ignored by Git (do not commit) +# +# Note: *.exe will be ignored by means of ../.gitignore +# +browser-simple +clipboard +draggable-group +fltk-versions +howto-add_fd-and-popen +howto-browser-with-icons +howto-drag-and-drop +howto-draw-an-x +howto-menu-with-images +howto-parse-args +howto-remap-numpad-keyboard-keys +howto-simple-svg +howto-text-over-image-button +menubar-add +nativefilechooser-simple +nativefilechooser-simple-app +OpenGL3-glut-test +OpenGL3test +progress-simple +shapedwindow +simple-terminal +SVG_File_Surface +table-as-container +table-simple +table-sort +table-spreadsheet +table-spreadsheet-with-keyboard-nav +table-with-keynav +table-with-right-column-stretch-fit +tabs-simple +textdisplay-with-colors +texteditor-simple +texteditor-with-dynamic-colors +tree-as-container +tree-custom-draw-items +tree-custom-sort +tree-of-tables +tree-simple +wizard-simple diff --git a/test/.gitignore b/test/.gitignore new file mode 100644 index 000000000..5e071885a --- /dev/null +++ b/test/.gitignore @@ -0,0 +1,203 @@ +# +# Files to be ignored by Git (do not commit) +# +# Note: *.exe will be ignored by means of ../.gitignore +# + +# Windows/MSVC files and maybe others + +*.bck +fltk*.dll +fltk*.exp +fltk*.lib +*.ilk + +# Linux/Unix/macOS executables, +# fluid generated source files and headers etc. + +adjuster +animated +arc +ask +bitmap +blocks +boxtype +browser +button +buttons +cairo_test +checkers +colbrowser +color_chooser +cube +CubeView +CubeViewUI.cxx +CubeViewUI.h +cursor +curve +demo +device +doublebuffer +editor +fast_slow +fast_slow.cxx +fast_slow.h +file_chooser +fonts +forms +fractals +fullscreen +gl_overlay +glpuzzle +hello +help_dialog +icon +iconize +image +inactive +inactive.cxx +inactive.h +input +input_choice +keyboard +keyboard_ui.cxx +keyboard_ui.h +label +line_style +list_visuals +mandelbrot +mandelbrot_ui.cxx +mandelbrot_ui.h +menubar +message +minimum +native-filechooser +navigation +offscreen +output +overlay +pack +pixmap +pixmap_browser +preferences +preferences.cxx +preferences.h +print +radio +radio.cxx +radio.h +resize +resizebox +resize.cxx +resize.h +rotated_text +scroll +shape +shiny +shiny_panel.cxx +shiny_panel.h +subwindow +sudoku +symbols +table +tabs +tabs.cxx +tabs.h +threads +tile +tiled_image +tree +tree.cxx +tree.h +twowin +unittests +utf8 +valuators +valuators.cxx +valuators.h +windowfocus + +# macOS binary files + +# (a) bundles *partially* in Git: ignore executables only + +blocks.app/Contents/MacOS/blocks +checkers.app/Contents/MacOS/checkers +sudoku.app/Contents/MacOS/sudoku + +# (b) other bundles created by in-source builds + +adjuster.app +animated.app +arc.app +ask.app +bitmap.app +boxtype.app +browser.app +button.app +buttons.app +cairo_test.app +clock.app +colbrowser.app +color_chooser.app +cube.app +CubeView.app +cursor.app +curve.app +demo.app +device.app +doublebuffer.app +editor.app +fast_slow.app +file_chooser.app +fonts.app +forms.app +fractals.app +fullscreen.app +gl_overlay.app +glpuzzle.app +hello.app +help_dialog.app +icon.app +iconize.app +image.app +inactive.app +input.app +input_choice.app +keyboard.app +label.app +line_style.app +list_visuals.app +mandelbrot.app +menubar.app +message.app +minimum.app +native-filechooser.app +navigation.app +offscreen.app +output.app +overlay.app +pack.app +pixmap.app +pixmap_browser.app +preferences.app +radio.app +resize.app +resizebox.app +rotated_text.app +scroll.app +shape.app +subwindow.app +symbols.app +table.app +tabs.app +tabs.app/Contents +threads.app +tile.app +tiled_image.app +tree.app +twowin.app +unittests.app +utf8.app +valuators.app +windowfocus.app