Commit Graph

2552 Commits

Author SHA1 Message Date
David Capello
39b8e034b5 Merge branch '1.0'
Conflicts:
	.gitmodules
	CMakeLists.txt
	src/CMakeLists.txt
	src/app/app.h
	src/app/app_menus.cpp
	src/app/commands/cmd_move_mask.cpp
	src/app/commands/cmd_rotate.cpp
	src/app/modules/gui.cpp
	src/doc/resize_image_tests.cpp
	src/ui/accelerator.cpp
	third_party/CMakeLists.txt
2014-10-30 01:06:27 -03:00
David Capello
d69a418017 Minor layout changes in SelectAccelerator window 2014-10-30 00:33:40 -03:00
David Capello
d39397f4d1 Minor change in KeyItem::restoreKeys() logic 2014-10-29 23:50:58 -03:00
David Capello
8bec9be4b2 Fix comparison between ui::Accelerators 2014-10-29 23:50:48 -03:00
David Capello
d90150fed9 Move button to delete shortcuts from SelectAccelerator to KeyItem 2014-10-29 22:06:25 -03:00
David Capello
f939ef5f02 Add keyboard shortcuts customization (close #253)
Changes:
* Add KeyboardShortcutsCommand and window
* Add SelectAccelerator window
* Replace modules/gui.cpp functions with app::KeyboardShortcuts and
  app::Key with the logic to load/save/handle keyboard shortcuts
* Change ui::Accelerator concept: now it represent just one keyboard
  shortcut, not a set of shortcuts
* Remove ui::Accelerator from ui::MenuItem, now the key is associated
  in app::AppMenuItem and it's a app::Key
* Add Command::onGetFriendlyName() to get a user friendly name of the
  command depending on its parameters
2014-10-29 11:58:03 -03:00
David Capello
ec99866a23 Fix region_tests compilation (as now it depends on pixman library) 2014-10-29 10:37:44 -03:00
David Capello
d327ab536f Add "View > Show Pixel Grid" menu option to switch the pixel grid 2014-10-29 10:36:50 -03:00
David Capello
c6aedc117a Add Alt+Shift+G shortcut to toogle the pixel grid visibility (fix #504) 2014-10-26 00:48:15 -03:00
David Capello
80073e65d1 Fix crash in Editor::drawOneSpriteUnclippedRect() if a temporary surface cannot be created (fix #413) 2014-10-26 00:33:21 -03:00
David Capello
fa1d9de578 Add TLS support to pixman for Unix-like systems 2014-10-25 22:36:26 -03:00
David Capello
b318a02782 Minor changes in resize_image_tests() 2014-10-25 22:23:14 -03:00
David Capello
0cf597c0f4 Add dependency with pixman library 2014-10-25 22:22:58 -03:00
David Capello
736f08099b Merge branch '1.0' 2014-10-25 16:20:33 -03:00
David Capello
d68f1fa1b8 Add experimental option to flash the selected layer when Up/down array keys are used (fix #111) 2014-10-25 16:04:39 -03:00
David Capello
bfe7a637da Remove unused variables 2014-10-25 14:57:49 -03:00
David Capello
2d8303e174 Arrow keys move the selection only when the current tool/ink is about selection
This fix a problem where arrow keys cleared the selection content when they
were used with a non-selection tool.
2014-10-25 13:46:55 -03:00
David Capello
0e7f424406 Fix #472 - Undo and redo change the size of spray tool 2014-10-25 12:10:52 -03:00
David Capello
21b0f64a34 Add Cmd+, and Ctrl+K keyboard shortcuts to open preferences 2014-10-25 11:49:24 -03:00
David Capello
bb24d8b995 Add option to enable/disable automatic menu bar items popup (related to issue #501) 2014-10-25 11:24:29 -03:00
David Capello
66d88ffe5d Merge branch '1.0' 2014-10-24 18:51:16 -03:00
David Capello
4188fa1408 Add ReverseFramesCommand (fix #503) 2014-10-24 11:37:52 -03:00
David Capello
604a17d25b Fix #505 - Brush leaves artifact pixels everywhere 2014-10-23 11:23:31 -03:00
David Capello
3e18efcd8b Don't expand MenuBar items on mouseover (fix #501)
This is how menu-bars work on Windows and OS X.
2014-10-23 11:16:22 -03:00
David Capello
bac579b774 Show color hex code in status bar (fix #508) 2014-10-23 10:58:46 -03:00
David Capello
81d725e8c3 Update version to 1.0.6-dev 2014-10-23 10:58:09 -03:00
David Capello
adaab1af98 Fix #507 clang compilation error in layer_io.cpp 2014-10-22 10:53:22 -03:00
David Capello
8f6cf34a78 Add missing "cfg" library (fix #506) 2014-10-20 22:22:46 -03:00
David Capello
63995c6f0a Merge "raster" namespace into "doc" library 2014-10-20 22:21:31 -03:00
David Capello
d796256eef Don't use Allegro's for_each_file API
Replace for_each_file() calls with <dirent.h> POSIX API
2014-10-20 01:20:08 -03:00
David Capello
d71fb000a0 Remove raster::Palette <-> Allegro PALETTE conversion routines 2014-10-17 00:27:52 -03:00
David Capello
0defe27dc6 Move dotted_mode() from app to she module
Replaced a huge array of marching ant patterns (which was taken
from GIMP 1.3.11) with a simple formula.
2014-10-16 23:52:28 -03:00
David Capello
b9f38b5df9 Add simpleini license in README.md 2014-10-16 21:32:08 -03:00
David Capello
bbeb33a159 Fix license URLs in README.md 2014-10-16 21:30:27 -03:00
David Capello
2b2d0f34b2 Add simpleini to replace Allegro 4 configuration routines 2014-10-16 21:27:25 -03:00
David Capello
432dd33281 Add base::utf8_icmp() 2014-09-21 16:55:54 -03:00
David Capello
64b8b8ef82 Fix compilation in clang 2014-09-21 16:50:08 -03:00
David Capello
e07f1f1668 FileSelector: Default directory is user home/docs folder 2014-09-21 16:49:59 -03:00
David Capello
0a3901cf39 Add split_filename.cpp impl with base functions and std::string 2014-09-21 13:42:46 -03:00
David Capello
ed67ee0d59 Minor changes: remove more unnecessary references to allegro.h 2014-09-21 12:18:01 -03:00
David Capello
21e700da4f Use fixmath lib in point shapes 2014-09-21 12:13:13 -03:00
David Capello
3e7f54f289 Remove set_current_color() 2014-09-21 12:00:00 -03:00
David Capello
5d3d96d2d9 Minor changes: remove unnecessary dependencies with allegro.h 2014-09-21 11:59:39 -03:00
David Capello
e133c341ff Add fixmath library 2014-09-21 11:51:24 -03:00
David Capello
ddab8cc379 Remove raster::convert_image_to_allegro() 2014-09-21 11:43:30 -03:00
David Capello
7095a82141 Add she::is_key_pressed() and clear_keyboard_buffer() 2014-09-21 11:40:55 -03:00
David Capello
d1bd775270 Remove Allegro dependency from load/save_pic_file 2014-09-21 00:36:20 -03:00
David Capello
ff49b50047 Add base_assert/trace functions 2014-09-20 23:51:56 -03:00
David Capello
6a10b77baf Don't use Allegro's OTHER_PATH_SEPARATOR_ constant in ui::Entry 2014-09-20 22:54:20 -03:00
David Capello
30d09c9334 Don't use allegro.h in ui::move_region() 2014-09-19 11:08:39 -03:00