Commit Graph

2604 Commits

Author SHA1 Message Date
David Capello
24cbb32236 Update version to 1.1.0-dev 2014-11-12 23:20:43 -03:00
David Capello
aefdf2fd4b Merge branch '1.0'
Conflicts:
	src/app/document.cpp
2014-11-12 23:20:27 -03:00
David Capello
8fc01593f7 Fix position of the pasted image 2014-11-12 11:32:18 -03:00
David Capello
ae9e2d173b Deselect timeline range when we modify sprite selection
Fix a problem selecting one cel in the timeline, using Ctrl+A and then
Ctrl+C to copy the whole image area. (This indicates that the user want
to copy the cel content, not the timeline cel.)
2014-11-12 11:24:26 -03:00
David Capello
0fc02cf180 Fix initialization order of DocumentExporter fields 2014-11-10 22:49:08 -03:00
David Capello
16be1718b5 Fix clang compiler error: missing <stdexcept> to use std::runtime_error 2014-11-10 22:48:40 -03:00
David Capello
1ed34660e4 Merge branch '1.0' 2014-11-09 20:12:57 -03:00
David Capello
cb45e046f5 Change default JSON file names in DocumentExporter 2014-11-09 20:01:47 -03:00
David Capello
f1165ec3bc Change default file names to save a sequence of images 2014-11-09 20:01:34 -03:00
David Capello
91bd84f681 Now --save-as can be combined with --split-layers and --import-layer args
Close #456
2014-11-09 19:46:09 -03:00
David Capello
995c50b811 Merge branch '1.0' 2014-11-08 21:21:45 -03:00
David Capello
c9a7d77879 Update cmake command line options for the supported VS versions 2014-11-08 21:10:29 -03:00
David Capello
6dba52c813 Remove MinGW from INSTALL.md 2014-11-08 21:09:54 -03:00
David Capello
b96d615d6c Add KeyAction::Left/RightMouseButton (it's quite experimental at the moment) 2014-11-08 21:09:29 -03:00
David Capello
8716214718 Add SetLoopSection command and F2 keyboard shortcut (close #491) 2014-11-08 19:57:46 -03:00
David Capello
ccf563c4dd Fix mini editor animation playback when we're drawing (inside a ToolLoop)
We've to show the document's extra cel only if we are in the current layer
and frame.
2014-11-08 17:03:29 -03:00
David Capello
8b4edc2f50 Fix mini editor problem: brush preview wasn't being shown 2014-11-07 20:17:06 -03:00
David Capello
5e2cefe212 Merge branch '1.0'
Conflicts:
	src/app/commands/cmd_sprite_size.cpp
	src/app/document_exporter.cpp
2014-11-07 19:30:39 -03:00
David Capello
cd913f7619 Do not center editor scroll by default when we zoom with keys or zoom tool 2014-11-07 19:11:23 -03:00
David Capello
6a1809b814 Minor fix in CONTRIBUTING.md to clone aseprite repo & submodules 2014-11-07 19:10:32 -03:00
David Capello
c9c8c6308f Add --sheet-pack command line option to improve packing images 2014-11-07 10:39:05 -03:00
David Capello
c0d35b16e0 Add gfx::PackingRects class for packing multiple rectangles in a texture 2014-11-07 10:32:14 -03:00
David Capello
9df732e27b Add gfx/rect_io.h 2014-11-07 10:30:02 -03:00
David Capello
24e0939ad2 Add static_assert() to check that Pixman constants match gfx::Region::Overlap 2014-11-07 10:29:17 -03:00
David Capello
9d2fd2498b Fix formatted output of ProgramOptions when one option has multilines 2014-11-07 01:10:51 -03:00
David Capello
1ce2e53cfb Add --sheet-width and --sheet-height command line options to specify the texture size 2014-11-07 01:05:08 -03:00
David Capello
ce962f4999 Add more command line options to export or convert sprites
Added --save-as, --scale, --split-layers, and --import-layer command line
options.
2014-11-06 21:04:32 -03:00
David Capello
dc29942384 Fix SkinTheme::paintMenuItem() for non AppMenuItem items (e.g. app::NotificationItem) 2014-11-06 18:41:18 -03:00
David Capello
a1fd08789a Fix UIConext::isUiAvailable() for batch mode 2014-11-06 18:40:29 -03:00
David Capello
94a642cd36 Change the way ProgramOptions store specified args
Now we can parse command line arguments sequentially in the same order they
were specified.
2014-11-06 09:42:09 -03:00
David Capello
ba73bcafed Add support to serialize special unicode chars in ui::Accelerator 2014-11-06 09:37:07 -03:00
David Capello
6d255dd3ab Remove unused variable 2014-11-05 11:15:08 -03:00
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 d176839bf4 (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