David Capello
8e7b700c35
Update skia to chrome/m53
2016-07-12 13:23:24 -03:00
David Capello
9c73841970
Move gfx::Transformation to app::Transformation
...
In this way gfx library doesn't depend on fixmath.
2016-07-11 15:40:27 -03:00
David Capello
691ff2c08a
Fix she/CMakeLists.txt to link with skia with GPU
2016-07-11 12:30:09 -03:00
Carlo "zED" Caputo
b0385d437f
Use load/save_document() in .anim decoder/encoder to load/save .png files ( #1189 )
...
* add todo items
* load_document instead of png load
* save using save_document (need more tests)
* trimmed and empty cels
* linking neighbor cels with the same image
* count_diff, exception, checks and style
2016-07-11 10:12:25 -03:00
David Capello
991b248940
Don't swap same frame on reverse_frames()
2016-07-11 09:58:43 -03:00
David Capello
92084fe14a
Expand filename wildcards in command line on Windows ( fix #1049 )
2016-07-06 15:20:55 -03:00
David Capello
0722d95b5d
Migrate configuration files on OS X to ~/Library/Application Support/Aseprite ( fix #1165 )
2016-07-06 12:22:40 -03:00
David Capello
d91ca36edd
Add forward compatibility in .ase decoder for layer groups
...
As v1.2 can save .ase files with groups, we have added support to make
flat the file and move all layers to the top level, removing all
groups. (Just in case the user want to go back to v1.1 after using v1.2
features.)
2016-07-05 18:17:16 -03:00
David Capello
f9dfe347b1
Remove features that aren't supported in .anim format
2016-07-05 11:52:58 -03:00
David Capello
3a8c90e952
Remove unused variable
2016-07-05 11:52:44 -03:00
David Capello
71d2a2e2e7
Minor changes in some comments
2016-07-05 11:44:58 -03:00
Carlo 'zED' Caputo
99bd10dfbd
pixly: dealing with cels smaller than the sprite
2016-07-05 11:31:56 -03:00
David Capello
51a0bbe6a4
Fix OS X cmd/alt key modifiers status when app is reactivated
2016-07-04 14:14:57 -03:00
Carlo "zED" Caputo
7b4a1ec4af
Add support for Pixly file format ( #1177 )
...
New Pixly .anim format decoder/encoder based on png decoder/encoder.
2016-07-04 12:06:27 -03:00
David Capello
71321dfc82
Fix 'outline' convolution matrices for rendered text
...
This issue was originally reported here:
https://twitter.com/vine2D/status/748579114265653248/
2016-07-01 19:07:01 -03:00
David Capello
d566604205
Fix several bugs applying filters to cels smaller than the sprite bounds
...
Now if we apply a 3x3 (or bigger) convolution matrix to a cel, the cel
will be expanded to so new pixels are included in the new cel content.
2016-07-01 18:49:58 -03:00
David Capello
b13ac1d340
Add crop_image() with a gfx::Rect
2016-07-01 18:42:10 -03:00
David Capello
3df6572170
We can return a const& in Cel::position()
2016-07-01 18:41:26 -03:00
David Capello
c1f8c98ca8
Minor changes in FilterManagerImpl
2016-07-01 17:02:47 -03:00
David Capello
1c984696c1
Select active color bar selection when we change to shading ink
2016-07-01 16:24:29 -03:00
David Capello
ec15ec7bb2
Fix Alt+mouse wheel to navigate color indexes in RGB images/colors ( fix #1153 )
2016-07-01 13:18:33 -03:00
David Capello
9748894a26
Don't use brush edges on tools with "one pixel" point shape ( fix #1167 )
2016-07-01 12:55:29 -03:00
David Capello
b094f6e557
Fix crashes in keyboard shortcuts by incorrect signals lifetime handling
2016-07-01 12:50:47 -03:00
David Capello
a214b4abfc
Update observable library
2016-07-01 12:50:31 -03:00
David Capello
485649a2da
Activate app explicitly on OS X on debug mode
2016-07-01 11:21:40 -03:00
David Capello
9897256d26
Don't trim background layer cels automatically ( fix #1166 )
2016-07-01 11:14:50 -03:00
David Capello
67ce9473f8
Add option to include partial tiles in Import Sprite Sheet ( fix #1161 )
2016-07-01 10:24:44 -03:00
David Capello
ee1dac0893
Right-click subtract selection again on floating pixels ( fix #1164 )
2016-07-01 10:07:55 -03:00
David Capello
8ee743c92a
Improve Timeline UI to move ranges with right-click
...
Now we can popup menus with right-click and move ranges with
right-click. Also, as this commit adds support to right-click with
Ctrl+left click on OS X, we can have full control of the Timeline using
a Mac trackpad.
2016-06-29 19:10:05 -03:00
David Capello
f5c43267fc
Add support to right-click with Ctrl+left click on OS X ( fix #438 )
...
This is only for Tabs and Entry widgets at the moment.
2016-06-29 18:52:09 -03:00
David Capello
262bc0f16e
Improve UI response when we clone tabs with Ctrl or Alt
2016-06-29 12:02:41 -03:00
David Capello
9e6d7632d9
Minor Render improvement
...
We can return the specific function to composite images depending on the
actual zoom level. In this commit I include a new
composite_image_without_scale() to completely ignore the zoom level when
it's possible.
2016-06-29 10:01:14 -03:00
David Capello
da128d3a6e
Replace signals/slots impl with the observable library
2016-06-28 17:22:23 -03:00
David Capello
bfb65c3d96
Add needed <vector> in input_chain.h
2016-06-28 10:22:56 -03:00
David Capello
73843ea564
Add base::this_thread::native_handle() function
2016-06-28 10:22:32 -03:00
David Capello
e1828ca6f3
Call std::abort() on base_assert() so it acts like a breakpoint
2016-06-28 10:15:44 -03:00
David Capello
67968b0211
Improve base_assert() message so we quickly can find the file:line
2016-06-28 10:14:56 -03:00
David Capello
a9cea5ab42
Update mouse cursor immediately after we change it to native mouse cursor
2016-06-14 09:36:50 -03:00
David Capello
e353cdae4c
Merge branch 'applyButton' of https://github.com/TheKK/aseprite into apply-button
2016-06-14 09:23:26 -03:00
David Capello
893f757eea
Don't ignore Space bar on sprite editor when Timeline range is enabled ( fix #877 )
2016-06-13 11:55:16 -03:00
David Capello
165d3af112
Ask to save each file when we're quitting
2016-06-08 13:29:17 -03:00
David Capello
5456b5950d
Activate app on OS X when Aseprite is launched from Steam
...
It looks like a Steam clien bug on OS X, it activates Aseprite window,
and then Steam is activated again, so the Aseprite window lost the focus
and is left below the Steam window.
2016-06-07 14:47:59 -03:00
David Capello
aa6040e2e4
Don't activate our app ignoring other apps on OS X
2016-06-07 10:23:45 -03:00
David Capello
915fac0d23
Don't show system cursor on OS X in the first mouseEntered
2016-06-07 10:03:57 -03:00
David Capello
b4588d34f4
Merge 'master' branch
2016-06-02 13:05:53 -03:00
David Capello
a4827a3727
Add possibility to change between tags while playing
...
From:
https://twitter.com/_theMatteBlack/status/735185628107804672
2016-05-27 13:45:12 -03:00
David Capello
34b8be3114
Fix status bar values when we move pixels
2016-05-27 13:22:25 -03:00
David Capello
af2c2838e0
Add new option to zoom sliding two fingers on OS X trackpad
...
It was requested here:
http://steamcommunity.com/app/431730/discussions/2/357286663677659387/
2016-05-27 13:15:13 -03:00
David Capello
a9cc61ee49
Merge pull request #1140 from Mailaender/patch-2
...
Fixed a serious compiler warning
2016-05-24 16:03:00 -03:00
David Capello
a1a60dcaf4
duktape depends on math library ( fix #1139 )
2016-05-24 12:54:09 -03:00
David Capello
720bd349e3
Add some asserts in CopyCel to find the cause of a possible crash
2016-05-24 11:16:03 -03:00
Matthias Mailänder
873748b0ff
Fix freetype2 includes.
2016-05-22 07:23:01 +02:00
Matthias Mailänder
5e62983251
Fix a serious compiler warning
...
Program returns random data in a function
2016-05-21 19:41:43 +02:00
David Capello
d371352526
Enable Edit > Copy anyway if layer is locked/non-editable
2016-05-19 13:22:58 -03:00
David Capello
47f4cb1313
Enable Edit > Copy Merged only when there is a visible selection
...
This fix a crash using copy merged when there is no selection.
2016-05-19 13:19:02 -03:00
David Capello
b21f5df2d6
Fix arrow keys to move a rotated selection ( fix #775 )
2016-05-18 14:26:25 -03:00
David Capello
591b3b19ac
Add MoveMaskCommand::getDelta member function
2016-05-18 12:03:28 -03:00
David Capello
4929efbd9c
Remove "Moving Pixels" label in status bar
2016-05-18 11:55:39 -03:00
David Capello
10be4b4d82
Add support to drop files on OS X window ( fix #605 )
2016-05-17 21:43:29 -03:00
David Capello
1ce74d3c5a
Abort loading news file if the application is being closed
2016-05-17 16:21:56 -03:00
David Capello
d495c4d18a
Abort curl connections setting the timeout (avoid crash closing connections)
2016-05-17 16:13:25 -03:00
David Capello
c875e24928
Add some log information why WTInfo might fail
2016-05-17 16:11:40 -03:00
David Capello
0f3252a80b
Add CopyMerged command (Ctrl+Shift+C) ( fix #824 )
2016-05-17 12:59:48 -03:00
David Capello
fda9abce33
Fix problem initializing SkiaDisplay with an invalid surface size on OS X
...
This problem happened when Aseprite is run for the very first time on OS X
(i.e. without an aseprite.ini file in the user configuration directory),
as the final size of the created window might be different (smaller) than
the given width/height parameters in the SkiaDisplay constructor.
2016-05-17 12:19:53 -03:00
David Capello
61a933bee2
Abort http requests when we quit the program
2016-05-17 12:14:01 -03:00
David Capello
cf380ab1a2
Fix selection feedback when we have foreground/background color w/alpha=0 ( fix #1133 )
2016-05-13 16:00:19 -03:00
David Capello
035916dce3
Fix memory leak on RecentListBox
2016-05-11 13:21:55 -03:00
David Capello
94e56ad97a
Fix spray and jumble tools ( fix #1130 )
2016-05-11 13:14:52 -03:00
David Capello
4f97970b98
Remove unused variable in ExpandCelCanvas
2016-05-11 13:00:25 -03:00
David Capello
0ad2af8eb1
Fix usage of some uninitialized variables
2016-05-11 13:00:02 -03:00
David Capello
e68eebda1c
Fix memory leak on cmd::TrimCel
2016-05-11 12:59:32 -03:00
David Capello
8b242bdf06
Fix memory leak loading images for a ImageView widget
2016-05-11 12:58:27 -03:00
David Capello
736f63132b
Fix red/blue tint for black/white colors ( fix #1125 )
2016-05-10 13:19:16 -03:00
David Capello
c12100dedb
Reduce the patched region with ExpandCelCanvas when we have the source image to compare with
2016-05-10 11:06:55 -03:00
David Capello
cee3c246bb
Add cmd::PatchCel to reduce undo space after a ExpandCelCanvas
2016-05-10 10:47:48 -03:00
David Capello
8c88365418
Fix size calculation for Cmd with a std::stringstream
2016-05-10 10:37:42 -03:00
David Capello
d13862599e
Use base::get_pretty_memory_size() to show undo item memory size
2016-05-10 10:37:39 -03:00
David Capello
1e0fd35413
Add cmd::CropCel and implement cmd::TrimCel using it
2016-05-10 10:37:16 -03:00
David Capello
3369d902d9
Show each undo step size when Aseprite is compiled in debug mode
2016-05-09 17:50:57 -03:00
David Capello
1b802aba9e
Update src/gfx/README.md
2016-05-09 17:50:53 -03:00
David Capello
71060e74da
Add gfx::Region in forward declarations (gfx/fwd.h file)
2016-05-09 17:50:39 -03:00
David Capello
2d632339e0
Fix crash creating a new brush from an empty cel using right-click
2016-05-09 15:53:55 -03:00
David Capello
6a1a9556ae
Fix crash copy & paste one frame in its previous frame position
...
This should fix #1101 too.
2016-05-09 15:47:09 -03:00
David Capello
036cb8b523
Add a little check in DocumentApi::copyCel() in release mode
2016-05-09 15:45:59 -03:00
David Capello
095078ad04
Fix crash when a WM_DDE_INITIATE is received from a native ANSI window
2016-05-09 12:50:53 -03:00
David Capello
31116ff424
script: add Sprite.colorMode property and ColorMode constants
2016-05-07 19:44:11 -03:00
David Capello
e03f34688e
script: add Sprite.selection
2016-05-06 20:13:32 -03:00
David Capello
34ebf07118
Fix warning ptr <-> bool conversion in MoveMaskCommand::onEnabled()
2016-05-06 16:52:56 -03:00
David Capello
76eca942f0
script: Sprite.crop() works with selection or x,y,w,h params
2016-05-06 16:52:29 -03:00
David Capello
207bc6c98b
script: add Sprite.select/selectAll functions
2016-05-06 16:52:07 -03:00
David Capello
5665ac848d
script: add className to Context::pushThis()
2016-05-06 16:51:07 -03:00
David Capello
af7c6e0fa9
script: Add app.exit() function
2016-05-06 16:49:43 -03:00
David Capello
d21e7770d6
Merge branch 'scripting'
2016-05-06 16:35:49 -03:00
David Capello
160418daea
Fix pasting screenshots/clipboard content in 32bpp on Windows
2016-05-06 09:09:47 -03:00
David Capello
dbb3cee178
Update version to 1.1.6-dev
2016-05-05 23:23:09 -03:00
David Capello
ccabc9ad01
Fix arrow keys to move selection ( fix #1120 )
2016-05-05 23:20:34 -03:00
David Capello
20c78f32c6
Fix static_assert() error on gcc and clang
2016-05-05 23:12:55 -03:00
David Capello
29f0371558
Fix flipping images when cel bounds aren't equal to sprite bounds ( fix #1119 )
2016-05-05 22:54:04 -03:00
David Capello
53500c1990
Restore cleared area correctly when cel position is modified ( fix #1109 )
2016-05-05 21:46:23 -03:00
David Capello
6556f97b8c
Try to directly add a trimmed image in the undo history instead of calling TrimCel
2016-05-05 15:40:37 -03:00
David Capello
ad9df5df02
Remove unused variable
2016-05-05 15:26:37 -03:00
David Capello
8b0977cdc3
Optimize doc::algorithm::shrink_bounds() a little
2016-05-05 15:26:19 -03:00
David Capello
975c1bd0a5
Remove reference to the old raster::Dirty object
2016-05-05 15:25:19 -03:00
David Capello
b2d14b3ce9
Remove comment
2016-05-05 15:24:45 -03:00
David Capello
2dbb50cc23
Fix exception text in doc::crop_image()
2016-05-05 15:18:50 -03:00
David Capello
eec2904974
Fix crash when we press Del key to completely delete a cel
2016-05-04 18:58:36 -03:00
David Capello
5d8af3ca36
Trim (or remove) cels automatically (when they are completely empty) ( fix #559 , fix #1111 )
2016-05-04 12:32:39 -03:00
David Capello
5ce7f24463
Add tooltip to paint bucket settings button in context bar
2016-05-04 10:06:21 -03:00
David Capello
1b715010bd
Add tooltip to "new frame" button in status bar
2016-05-04 10:04:32 -03:00
David Capello
97d9b3cb31
Go to frame field in status bar isn't focused by default anymore ( fix #1113 )
2016-05-04 10:00:54 -03:00
David Capello
5b51e281d3
Fix warnings between double <-> int conversion
2016-05-04 09:36:05 -03:00
David Capello
0f3dea233b
Fix problems using paint bucket referring to all layers and cels origin != 0,0
...
With this change we've simplified several portions of the ToolLoop code
where the "cel origin" is added and then subtracted needlessly.
2016-05-04 00:02:56 -03:00
David Capello
065ad4f1dc
Fix blur ink: avoid adding dark pixels when opacity < 255 ( fix #708 )
2016-05-03 17:00:50 -03:00
David Capello
5b2c162a6d
Remove double #include
2016-05-03 16:38:59 -03:00
David Capello
b60b76ff22
Add option to show layer edges
2016-05-03 16:23:38 -03:00
David Capello
6dc9bb984d
New option for paint bucket using all layers as reference/stop fill ( fix #969 )
2016-05-03 15:31:27 -03:00
David Capello
aededaaeab
Merge branch 'master'
2016-05-03 12:43:51 -03:00
David Capello
7d24d7cc82
Merge pull request #1062 from RomainGiraud/master
...
Fix error when decoding GPL file
2016-05-03 12:42:24 -03:00
David Capello
382aad635c
Update clip version
2016-05-03 10:41:57 -03:00
David Capello
640025e84b
Fix selection UX to show white/black negative for the stroke
...
With this patch now we can use the selection tool in locked or hidden
layers, because the selection doesn't modify the layers (only the
selection). Also we can use the selection tool on any layer and we'll
always see the feedback stroke/shape/rectangle while we're creating
the new selection.
2016-05-02 18:42:02 -03:00
David Capello
d838cbf91b
Key modifiers now disable the 'moving' action on selection ( fix #1105 )
...
Now we can move the selection only using the default selection mode
(even when it's subtract mode). With this is easier to add new regions
starting the selection from the inside of the active selection.
2016-05-02 13:33:29 -03:00
David Capello
d9604d9905
Fix bug not returning to default selection mode from subtraction after releasing Alt+Shift
2016-05-02 13:24:30 -03:00
David Capello
53683579b8
Disable assert in BrushPreview::clearPixelDelegate
...
This assert fails too often and we prefer to show some data
to try to fix it in a near future instead of showing an assertion
dialog on Windows or closing the whole app.
2016-05-02 13:04:31 -03:00
David Capello
00c7cb7e54
Fix removing original accelerators that are before a new accelerator ( fix #1104 )
2016-05-02 13:03:04 -03:00
David Capello
918acb6bc8
Don't focus context bar when we use selection behavior modifiers ( fix #1103 )
2016-05-02 12:25:51 -03:00
David Capello
c99a187256
Use clip library to copy & paste images/custom data
...
With this change we finally support copy & paste images into the OS X
pasteboard. (Fix #925 , fix #533 , fix #172.)
2016-04-29 20:42:05 -03:00
David Capello
60fd6072e9
ui library now depends on clip
2016-04-29 14:19:00 -03:00
David Capello
6c0ff1735f
Fix typo on File > Exit command
2016-04-29 11:40:56 -03:00
David Capello
e1c60a399e
Don't compile clip examples by default
2016-04-29 09:04:56 -03:00
David Capello
924c2ac86a
Use clip library to copy/paste text
...
In this way we can remove all the code related to handle clipboard text
from she and ui libraries.
2016-04-28 23:26:20 -03:00
David Capello
174d31a12a
Remove unused variables in app::Editor class
2016-04-28 23:04:55 -03:00
David Capello
becdd90789
Block the document in MovingCelState so other commands cannot modify it ( fix #1078 )
2016-04-28 15:00:15 -03:00
David Capello
106f1c9dd9
Merge branch 'master'
2016-04-28 14:33:10 -03:00
David Capello
3a1b918380
Don't destroy custom brush when we use X key to switch colors ( fix #1004 )
2016-04-28 14:32:22 -03:00
David Capello
ba21e312f5
Merge pull request #1082 from winterheart/x11-undelinking
...
Fixing underlinking for gcc 4.9
2016-04-28 12:21:31 -03:00
David Capello
6814136252
render: change blend function to return the result instead of output param
2016-04-27 12:48:30 -03:00
David Capello
0c9fb6b22b
Remove src/pen directory
...
It's not required anymore after 1c94dda072
2016-04-27 12:47:55 -03:00
David Capello
ea80b4ad96
Remove unused include files
2016-04-26 11:15:30 -03:00
David Capello
97ebd70048
Update the status bar depending on the Editor text when the tool changes
...
It fixes a problem were PaletteView was clearing the StatusBar set by
the Editor when a quicktool keyboard shortcut was pressed.
2016-04-25 16:17:30 -03:00
David Capello
93c616cd7b
Don't change two times the status bar text when the selected tool changes
2016-04-25 15:29:06 -03:00
David Capello
fc0cebc0dd
Redraw editor only when selection handles must be redrawn
2016-04-25 15:26:46 -03:00
David Capello
a09b00dba8
Fix synchronization of different UI elements depending on the active tool
...
With this patch now the context bar shows the real active tool
preferences. For example, if we choose the option to use the Eraser
tool with right-click, now right-clicking will draw with the Eraser
brush size (instead of using the selected tool/left-click tool brush
size).
Changes:
* Removed the toolBox.activeTool() field from preferences
(as the option isn't persisted between sessions)
* Added an observable app::tools::ActiveToolManager class to sync all
UI elements that depend on the active tool and ink.
* Moved a lot of "active tool" logic from app::Editor to the
new ActiveToolManager
* Moved app::tools::ToolLoopManager::Pointer as an indepedent
app::tools::Pointer class
2016-04-25 15:20:53 -03:00
David Capello
f87cf93a55
Merge branch 'master'
2016-04-25 14:05:48 -03:00
David Capello
34d4489599
Merge pull request #924 from TheKK/brush_value_set
...
Apply brush size when clicking on brush icon
2016-04-25 14:04:06 -03:00
David Capello
d363f29840
Fix timeout in StatusBar::showTool()
2016-04-25 13:26:39 -03:00
Azamat H. Hackimov
eda468b272
Fix compilation on MSVC for 32bit profile.
...
Option "/SUBSYSTEM:WINDOWS,5.01" cause failing compilation checkings.
It is near to impossible compile current cmake-project on Windows XP,
and since this statement doing nothing else than CMake can do
themself, let's just delete them.
Tested on Windows 10 / MSVC 2015 on 32 and 64 bit profiles. Fixes
issue #1086 .
2016-04-25 20:06:40 +05:00
David Capello
5f90ef7c9b
Add properties in App to access directly to timeline/contextBar/workspace
2016-04-22 13:19:06 -03:00
David Capello
350cc2df2d
Show text on console too when TRACE() is used on Windows
2016-04-22 12:27:00 -03:00
Azamat H. Hackimov
e7883b7d64
Fixing underlinking for gcc 4.9
...
Allegro4 backend uses XGrabPointer() from libX11.
Added ${X11_LIBRARIES} for she to resolve underlinking.
2016-04-22 13:42:26 +05:00
David Capello
59773e104e
Update context bar when the pointer type changes
...
With this when we change between the stylus pen and eraser, the context
bar is updated with the correct brush settings for the tool.
2016-04-21 15:33:18 -03:00
David Capello
8e233878b6
Fix compilation error introduced in 119c87873f
2016-04-21 14:52:16 -03:00
David Capello
ac6d930d08
Missing PointerType in regular mouse movement events on OS X
2016-04-21 13:40:18 -03:00
David Capello
f447b457db
Fix crash on OS X
...
This is strange because it didn’t happen before, I’m not sure if we
can call (or is “legal” to call) setURI() in this case.
2016-04-21 13:33:24 -03:00
David Capello
7c2786164d
Remove unused variable
2016-04-21 13:31:24 -03:00
David Capello
56e663bca4
Merge branch 'eraser-support'
2016-04-21 13:22:23 -03:00
David Capello
9b05d2e8ef
Add Wacom eraser support on OS X
2016-04-21 13:13:15 -03:00
David Capello
119c87873f
Add she::PointerType::Cursor to identify puck like devices
2016-04-21 13:12:03 -03:00
David Capello
c5f7e9618b
Use the real current tool preferences to draw and in the brush preview
...
The "real" current tool is the one in the editor returned by
getCurrentEditorTool() (which depends on quicktool modifiers
and right-click configuration).
2016-04-21 01:20:59 -03:00
David Capello
4198003446
Update context bar correctly when right-click changes the current tool
...
E.g. When right-click is configured with the Eraser tool, we must update
the context bar with the Eraser options in the context bar.
2016-04-21 00:57:06 -03:00
David Capello
7b4511a5df
Unify she::InputDevice and ui::PointerType
2016-04-20 22:49:03 -03:00
David Capello
a58cbfbc1c
Enable eraser support for Wacom tablets on Skia/Win back-end
...
Related to #610
2016-04-20 22:33:10 -03:00
David Capello
47708a6826
Include device in double-click event on Skia/Win
2016-04-20 22:30:45 -03:00
David Capello
955f86fc9e
Add pressure and input device (mouse/stylus/eraser) info to mouse events
...
This is a first step to implement #610 and #710
2016-04-20 15:44:15 -03:00
David Capello
1c94dda072
Merge pen library into she library
...
This is the first step to add pen information to mouse events
(e.g. to known if a event came from the eraser or the regular tip).
2016-04-20 12:48:49 -03:00
David Capello
e723426214
Minor fix at pen_win.h
...
WTInfo is a macro defined as WTInfoW so anyway WTInfoW function was
being used.
2016-04-20 11:25:03 -03:00
David Capello
4be68ab5f0
Default folder for new files must be the latest used folder ( fix #1068 )
...
To behave in this way, the open/save dialog must receive a document
filename with an empty path.
2016-04-20 10:22:01 -03:00
David Capello
9cc8d43f0a
Show color on status bar when mouse is over ColorTintShadeTone (and not captured)
2016-04-20 09:37:49 -03:00
David Capello
33003fb6f9
Show current grid tile in status bar when the grid is visible ( fix #1075 )
2016-04-19 15:51:34 -03:00
David Capello
fcca96d6a3
Add missing text in StatusBar::showColor()
2016-04-19 15:43:12 -03:00
David Capello
6661c0a32a
Include RGB decimal values when we pick HSV colors ( fix #1013 )
2016-04-19 15:21:54 -03:00
David Capello
0993069e0b
Add line length in status bar ( fix #915 )
2016-04-19 15:08:36 -03:00
David Capello
065188aea3
Include <cstring> needed in standby_state.cpp
2016-04-19 14:24:27 -03:00
David Capello
231b17615a
Merge branch 'cmake-optima' of https://github.com/winterheart/aseprite into cmake-optima
2016-04-19 14:19:21 -03:00
David Capello
c9c4838641
Fix gfx::SizeT::createUnion() function
2016-04-19 14:09:18 -03:00
David Capello
75d545c976
Fix initial size indicator in status bar when we move pixels
2016-04-19 13:45:37 -03:00
David Capello
87ef48b50b
Improve status bar with icons/automatically generated and re-used parts ( fix #752 )
2016-04-19 13:45:23 -03:00
Azamat H. Hackimov
b5f63d428c
Refactoring CMake invocations
...
Using built-in function and modules for checking.
2016-04-19 20:56:04 +05:00
David Capello
af0267de03
Improve error reporting in gen utility when an invalid XML is used
2016-04-18 19:10:10 -03:00
David Capello
8de18946f8
Copy frame duration when we copy frames between two different sprites ( fix #1023 )
2016-04-18 16:53:07 -03:00
David Capello
fca32900bb
Make base::string_to_lower/upper() use tolower/upper() for each Unicode char
...
It fixes issue #1065 because now UTF-8 strings are not destroyed by
these base::string_to_*() routines. This issue appears when we use
std::setlocale(), which was introduced in 27b55030e2
2016-04-18 16:38:37 -03:00
David Capello
63243f7dba
Minor change remove include base/string.h from app.h
2016-04-18 15:23:01 -03:00
David Capello
6c148c9bb6
Update version to 1.1.5-dev
2016-04-18 13:29:04 -03:00
David Capello
8775604e56
Make Aseprite a DPI-aware application ( fix #1041 )
2016-04-18 13:27:36 -03:00
David Capello
84d8a7a4ec
Add SpriteWrap::commitImages() to commit changes to images
...
This might be useful to use before we execute commands like Sprite.resize
or Sprite.crop, which they need all images in the most updated state.
2016-04-16 21:29:57 -03:00
David Capello
573f68451a
Add more scripting functions
...
* App.open
* Sprite.save and saveAs
* Sprite.filename property
2016-04-15 19:59:25 -03:00
Romain Giraud
ea06140be8
Fix error when decoding GPL file
...
Color without name are not added to the palette.
2016-04-13 17:26:57 +02:00
David Capello
b0f53324a7
Extra checks for an initialized SkiaDisplay for GPU support on OS X
2016-04-13 10:17:59 -03:00
David Capello
99d7eb5391
Fix crash using an non-fully initialized SkiaDisplay on SkiaWindow::Impl::paintGC() on OS X
2016-04-13 10:16:06 -03:00
David Capello
2636401c1c
Remove gui.xml version check on release
...
This is sometimes useful on Debug builds, but it brings more problems
on Steam when we want to release a fix for a specific platform with
a modified version number.
2016-04-13 09:02:04 -03:00
David Capello
25a24a93d8
Avoid using an uninitialized m_surface pointer in SkiaDisplay
...
This should fix problems launching Aseprite on OS X (e.g. #1059 ).
2016-04-13 09:00:29 -03:00
David Capello
a76a1117f1
Fix crash using RotSprite with width/height == 0 ( fix #1056 )
2016-04-12 17:29:23 -03:00
David Capello
7c9ba13321
Add double-click support on Skia/OS X port ( fix #1057 )
2016-04-12 17:27:01 -03:00
David Capello
44fadbc275
Fix key modifiers on Alleg4/Windows back-end
2016-04-12 11:33:48 -03:00
David Capello
221e9bf4fc
Add base::normalize_path()
2016-04-11 19:17:39 -03:00
David Capello
e4c46a761a
Fix loading two times a file specified in the command line on OS X
...
To avoid receiving a she::DropFiles event (from application:openFiles:)
when we're loading files specified in the command line (i.e. when we are
showing the progress bar/processing "ui" layer events/CustomizedGuiManager
is listening for kDropFilesMessages) we call NSApp finishLauching after
we've processed the whole command line.
2016-04-11 19:15:42 -03:00
David Capello
63c723d327
Change OSXAppDelegate base type to avoid an opaque id type
2016-04-11 17:28:19 -03:00
David Capello
5ef931b7d4
Override application:openFiles: instead of application:openFile:
2016-04-11 17:27:34 -03:00
David Capello
49f11648b3
Fix opening files from Finder on the Skia/OS X port
2016-04-11 17:25:54 -03:00
David Capello
c900e4aa3c
Don't call app_main() from OSXApp
2016-04-11 16:19:32 -03:00
David Capello
4acf12a478
Make Ctrl+Tab work on Skia/OS X port
2016-04-11 15:30:16 -03:00