From ce25bfaac478418c001921936449e006f3bb8c0c Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 30 Sep 2007 15:32:21 +0000 Subject: [PATCH] Added all mask/selection commands. Added all commands to select a tool. Fixed a bug when setting the grid. The about dialog shows AUTHORS.txt --- AUTHORS.txt | 5 +- ChangeLog | 64 ++++++ NEWS.txt | 6 +- README.txt | 2 - all.h | 1 - config.h | 2 +- data/defgui-en.xml | 25 +-- data/jids/options.jid | 5 +- data/scripts/edit.lua | 14 -- data/scripts/mask.lua | 229 -------------------- data/scripts/rootmenu.lua | 9 - data/scripts/selspr.lua | 29 --- docs/script._tx | 4 +- jinete/src/jsystem.c | 2 +- jinete/src/themes/jstand.c | 4 +- makefile.lnx | 3 +- makefile.lst | 9 - makefile.mgw | 3 +- misc/dist.sh | 4 +- src/commands/cmd_about.c | 92 +++++++- src/commands/cmd_clear.c | 18 +- src/commands/cmd_close_all_files.c | 55 ----- src/commands/cmd_configure_tools.c | 297 ++++++++++++++++++++++++++ src/commands/cmd_copy.c | 21 +- src/commands/cmd_customize.c | 34 --- src/commands/cmd_cut.c | 21 +- src/commands/cmd_deselect_mask.c | 37 +++- src/commands/cmd_drawing_tools.c | 62 +++++- src/commands/cmd_invert_mask.c | 55 ++++- src/commands/cmd_load_mask.c | 38 +++- src/commands/cmd_mask_all.c | 22 +- src/commands/cmd_mask_by_color.c | 11 +- src/commands/cmd_mask_repository.c | 33 --- src/commands/cmd_paste.c | 13 +- src/commands/cmd_record_screen.c | 15 +- src/commands/cmd_refresh.c | 5 +- src/commands/cmd_reselect_mask.c | 32 ++- src/commands/cmd_save_file.c | 32 ++- src/commands/cmd_save_file_as.c | 8 +- src/commands/cmd_save_mask.c | 52 ++++- src/commands/cmd_screen_shot.c | 40 +++- src/commands/cmd_select_file.c | 7 +- src/commands/commands.c | 320 +++++++++++++++------------- src/commands/commands.h | 28 ++- src/console/console.c | 27 ++- src/core/app.c | 12 +- src/dialogs/maskrepo.c | 185 ---------------- src/dialogs/maskrepo.h | 25 --- src/dialogs/options.c | 6 +- src/dialogs/toolconf.c | 330 ----------------------------- src/dialogs/toolconf.h | 25 --- src/file/file.c | 54 ++--- src/file/gif.c | 9 + src/modules/gfxdata.c | 88 ++++---- src/modules/gui.c | 11 +- src/modules/rootmenu.c | 4 +- src/modules/tools.c | 66 ++++-- src/modules/tools.h | 3 +- src/raster/sprite.c | 13 +- src/raster/sprite.h | 9 +- src/script/bindings.c | 4 - src/script/export.h | 32 +-- src/script/genbinds.c | 101 ++------- src/util/recscr.c | 54 ++--- src/util/scrshot.c | 65 ------ src/util/scrshot.h | 25 --- src/widgets/editor/cursor.c | 9 +- src/widgets/editor/editor.c | 4 +- src/widgets/menuitem.c | 9 +- src/widgets/statebar.c | 11 +- src/widgets/toolbar.c | 10 +- 71 files changed, 1350 insertions(+), 1609 deletions(-) delete mode 100644 data/scripts/edit.lua delete mode 100644 data/scripts/mask.lua delete mode 100644 data/scripts/rootmenu.lua delete mode 100644 data/scripts/selspr.lua delete mode 100644 src/commands/cmd_close_all_files.c delete mode 100644 src/commands/cmd_customize.c delete mode 100644 src/commands/cmd_mask_repository.c delete mode 100644 src/dialogs/maskrepo.c delete mode 100644 src/dialogs/maskrepo.h delete mode 100644 src/dialogs/toolconf.c delete mode 100644 src/dialogs/toolconf.h delete mode 100644 src/util/scrshot.c delete mode 100644 src/util/scrshot.h diff --git a/AUTHORS.txt b/AUTHORS.txt index 831069c4b..19cde6a42 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -3,8 +3,7 @@ AUTHOR =================================== David A. Capello - Programmer, design, graphics, tester, and the maintainer of the package. - Releases the DOS, Windows, and source distributions. + Programmer, design, graphics, tester and the maintainer. =================================== THANKFULNESS @@ -135,7 +134,7 @@ THANKFULNESS Jorge Ramírez Flores Juraj Michalek Manuel De Miguel Moreno - Manuel Quiñones + Manuel Quiñones (manuq) Mateusz Czaplinski Nathan Smith (whitedoor) Peter Wang (tjaden) diff --git a/ChangeLog b/ChangeLog index 7aae503dd..86ccce871 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,69 @@ +2007-09-30 David A. Capello + + * data/scripts/edit.lua: Removed. + + * src/commands/cmd_refresh.c (command_execute_refresh): Added. + +2007-09-29 David A. Capello + + * src/dialogs/toolconf.c (dialogs_tools_configuration): + Removed (now all the code is in cmd_configure_tools.c). + + * src/commands/cmd_about.c (command_execute_about): Now it show + the AUTHORS.txt file. + + * data/scripts/selspr.lua: Removed. + + * data/scripts/rootmenu.lua: Removed. + + * src/util/scrshot.c: Removed. + + * src/commands/cmd_screen_shot.c (command_execute_screen_shot): Done. + + * src/commands/cmd_clear.c (command_execute_clear): Done. + + * data/scripts/mask.lua: Removed. + + * src/commands/cmd_invert_mask.c (command_execute_invert_mask): Added. + + * src/commands/cmd_reselect_mask.c (command_execute_reselect_mask): Added. + + * src/commands/cmd_deselect_mask.c (command_execute_deselect_mask): Added. + + * src/commands/cmd_mask_all.c (command_execute_mask_all): Added. + + * src/commands/cmd_mask_by_color.c (command_execute_mask_by_color): Added. + + * src/dialogs/toolconf.c (set_grid_button_select_hook): Fixed a + bug using an invalid rectangle for set_grid(). + + * src/commands/cmd_drawing_tools.c: Added all commands to select + each tool. + +2007-09-28 David A. Capello + + * src/commands/cmd_load_mask.c (command_execute_load_mask): Added. + + * src/commands/cmd_save_mask.c (command_execute_save_mask): Added. + + * src/commands/cmd_copy.c (command_execute_copy): Added. + + * src/commands/cmd_cut.c (command_execute_cut): Added. + + * src/file/gif.c (save_GIF): Better progress bar. + + * src/core/shutdown.c: Removed (it was only for sessions). + + * src/util/session.c: Removed all session stuff. + + * src/commands/cmd_save_file.c (command_execute_save_file): Added. + 2007-09-27 David A. Capello + * src/commands/cmd_undo.c (command_execute_undo): Added. + + * src/commands/cmd_redo.c (command_execute_redo): Added. + * jinete/src/jsystem.c (jmouse_poll): Now (in Windows) we continue getting mouse feedback even when the cursor is outside of the window. diff --git a/NEWS.txt b/NEWS.txt index e4159b8db..6a8243736 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -2,13 +2,17 @@ NEWS =================================== -0.9 +0.6 --- + Restructured all the menus (more user friendly options). + - Temporaly removed a lot of complex functionality: + Mask-Repository (but you can use .msk files yet), Draw-Text, + Play-FLI/FLC. + New XML format for the menus. - Removed menu scripting customization. - Removed screen saver. +- Removed sessions. + GUI enhanced: + more borders for windows and more spacing between widgets. + better mouse behavior (in Windows). diff --git a/README.txt b/README.txt index f47d585d9..c3bf2dd4d 100644 --- a/README.txt +++ b/README.txt @@ -71,8 +71,6 @@ FEATURES - Unique tiled drawing mode to draw patterns and textures in seconds. - - Save and load entire work's sessions (in `.ses' files). - - Scripting capabilities with Lua language (http://www.lua.org). diff --git a/all.h b/all.h index f2790ca4f..901c6ee9b 100644 --- a/all.h +++ b/all.h @@ -121,7 +121,6 @@ #include "util/quantize.h" #include "util/recscr.h" #include "util/scrshot.h" -#include "util/session.h" #include "util/setgfx.h" #include "util/thmbnail.h" #include "widgets/colbar.h" diff --git a/config.h b/config.h index de188b795..f60d68a39 100644 --- a/config.h +++ b/config.h @@ -24,7 +24,7 @@ /* general information */ #define PACKAGE "ase" -#define VERSION "0.9" +#define VERSION "0.6" #define WEBSITE "http://ase.sourceforge.net/" #define BUGREPORT "ase-help@lists.sourceforge.net" #define COPYRIGHT "Copyright (C) 2001-2005, 2007 David A. Capello" diff --git a/data/defgui-en.xml b/data/defgui-en.xml index 43c36135e..db9ed433e 100644 --- a/data/defgui-en.xml +++ b/data/defgui-en.xml @@ -59,6 +59,7 @@ + @@ -85,10 +86,6 @@ - - - - @@ -170,9 +167,8 @@ - - - + + @@ -186,10 +182,10 @@ + - - + @@ -200,13 +196,14 @@ - - - - + + + + + + - diff --git a/data/jids/options.jid b/data/jids/options.jid index 1a0c2a8da..91bb3f405 100644 --- a/data/jids/options.jid +++ b/data/jids/options.jid @@ -1,5 +1,5 @@ - + @@ -42,9 +42,6 @@ - - -