David Capello
51061894de
Fix more OS X cursor issues
...
Fixed problems with a hidden mouse cursor when we activated Aseprite
window from other windows, or from the Mission Control, or with Cmd+Alt.
2014-11-05 11:14:49 -03:00
David Capello
7615c22827
Merge branch '1.0'
...
Conflicts:
src/app/color_utils.cpp
src/app/tools/ink_processing.h
2014-11-02 22:38:14 -03:00
David Capello
13fc8e03d2
Fix #392 - Crash when another monitor is plugged in
...
When we change the number of monitors, we've to restore the primary
DirectDraw surface, but it cannot be just "restored", it must be
re-created.
Note: probably the real fix for #436 too
2014-11-02 18:59:00 -03:00
David Capello
9fb3396392
Fix problems with multiple editors in MovingPixelsState ( fix #419 )
2014-11-02 16:15:52 -03:00
David Capello
a800047b34
Merge pull request #516 from hasufell/underlinking_fix
...
Link with platforms libs when USE_SHARED_ALLEGRO4=ON (fix #513 , #514 )
2014-11-02 13:42:51 -03:00
David Capello
86a3b8c66e
Merge pull request #497 from Mailaender/patch-2
...
Fix error: 'O_BINARY' was not declared in this scope (close #461 )
2014-11-02 13:40:26 -03:00
hasufell
169edeaa69
Fix underlinking with USE_SHARED_ALLEGRO4=ON
2014-11-02 16:58:33 +01:00
David Capello
b202c6d0f4
Fix compilation error in new document_api_tests.cpp test merged from d176839bf4652317f6fd01ec7dfe1cd1017b8e5f ( close #515 )
2014-11-02 12:26:53 -03:00
David Capello
8a9ea26811
Fix ReplaceInkProcessing to work correctly with transparent colors ( fix #435 )
...
Now we can replace a solid color with transparent in RGBA and Grayscale
images.
2014-11-01 23:14:48 -03:00
David Capello
d176839bf4
Merge branch '1.0'
...
* In this branch the Alt+mnemonic issues are solved in "she" layer when the
she::Event is generated (see src/she/alleg4/key_poller.cpp)
* Mouse cursor issues on OS X are solved in src/she/alleg4/mouse_poller.cpp
Conflicts:
src/app/test_context.h
src/ui/manager.cpp
2014-11-01 20:55:57 -03:00
David Capello
ef25706ed2
Fix crash in SelectAccelerator::KeyField when a Unicode char is pressed
...
The problem is that Accelerator::toString() wasn't returning valid utf-8
strings for Unicode characters.
2014-11-01 15:46:13 -03:00
David Capello
58b89ded4a
Add some DocRangeOps.MoveCels tests
2014-11-01 15:39:00 -03:00
David Capello
8ac9ebb64d
Fix bug moving cels between layers
...
The image wasn't being copied correctly when the
source cel's (x,y) was != (0,0)
2014-11-01 15:38:26 -03:00
David Capello
525fbd0d46
Don't add extra ASEPRITE block to .gif file because Photoshop cannot load them
2014-11-01 13:32:02 -03:00
David Capello
22c3651c63
Fix Alt+Mnemonic on Mac OS X
2014-11-01 12:44:07 -03:00
David Capello
b9b3b02882
Fix mouse issues on OS X ( fix #458 )
...
Now we generate she::Event::MouseEnter/Leave events correctly when the
mouse leaves or enters into the window to show the native cursor again
when necessary.
Close #466
2014-11-01 11:36:51 -03:00
David Capello
4f365e4ac2
Adjust simpleini submodule URL
2014-10-30 11:34:35 -03:00
David Capello
cd2531855f
Merge branch '1.0'
...
Conflicts:
.gitmodules
2014-10-30 11:33:09 -03:00
David Capello
01c26e5a18
Adjust pixman submodule URL
2014-10-30 10:03:46 -03:00
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