Commit Graph

285 Commits

Author SHA1 Message Date
David Capello
289a6ab864 Merge branch 'master' into beta 2021-01-29 12:19:43 -03:00
David Capello
ee07df6a26 CSS output without vars by default 2021-01-05 15:02:12 -03:00
David Capello
e813773445 Merge branch 'feature-css-export' into css-export 2021-01-05 12:23:57 -03:00
Gaspar Capello
116201d8a1 Add custom data to Sprite Properties Window (fix #1306) 2020-12-16 12:40:05 -03:00
David Capello
eb60ebb2a1 Show color palette/tileset at the same time 2020-11-09 19:29:14 -03:00
David Capello
c2e5e69882 Simplify tilesets impl using tile index 0 = an empty tile
In this way we always have an empty tile available in the drawing
process. We've also added the Tileset::firstVisibleIndex field to
change the visible index of the tile 1 so we can offset the visible
number by the user (just as a visual aid / simulate old tilesets with
index=0=non-empty tile).
2020-10-30 16:33:34 -03:00
David Capello
8b1f887720 Show tile numbers when moving tilemaps 2020-10-13 18:12:29 -03:00
Gaspar Capello
13addb4336 UI user data window integration 2020-10-13 11:07:10 -03:00
David Capello
5ee3ebdd71 Add fg/bg tiles selectors in ColorBar
Now fg/bg colors and fg/bg tiles are different widgets, and the
StatusBar can show tiles when the eyedropper is picking tiles.
2020-08-21 18:28:31 -03:00
David Capello
2ffac6803c Merge branch 'beta' into tilemap-editor 2020-08-06 10:47:06 -03:00
David Capello
4e08d12f28 Merge branch 'master' into beta 2020-08-06 10:46:32 -03:00
David Capello
8b6116911d Add extra options to show brush preview with Eraser/Blur/etc. tools
Feature request: https://community.aseprite.org/t/6427
2020-08-03 12:12:52 -03:00
David Capello
515dace441 Merge branch 'beta' into tilemap-editor 2020-07-13 17:32:42 -03:00
David Capello
4e896b8a65 Merge branch 'fix-gif' into beta 2020-06-17 23:52:49 -03:00
David Capello
bcf53fa54a Merge branch 'octree' into beta 2020-06-17 23:33:41 -03:00
David Capello
bd1723313a Merge branch 'master' into tilemap-editor 2020-06-12 11:33:55 -03:00
David Capello
9b86d30d61 [osx] Add osx_async_view option to disable the drawsAsynchronously of the NSView layer 2020-06-10 10:57:49 -03:00
David Capello
a10efb187b Merge branch 'master' into tilemap-editor 2020-06-01 16:21:32 -03:00
David Capello
445e0abb0b [win] Add Tablet section on Edit > Preferences and restore old wintab behavior
Now on Windows it's more clear the different APIs to use (Windows
Pointer vs Wintab), the Wintab API works as before (generates mouse
events on WM_MOUSE message instead for each packet), and there is a
new Wintab mode to create events directly from packets (still a little
buggy with some tablets, but might be useful in other tablets to get
more precision for fast strokes).
2020-05-30 16:54:35 -03:00
David Capello
a80af2b304 Merge branch 'master' into tilemap-editor 2020-05-18 20:24:22 -03:00
David Capello
4cfa5e743e Add addition mode back for Hue/Saturation filter (fix #1848) 2020-04-23 12:05:09 -03:00
David Capello
1f34d0e46e Add different formulas to convert RGB to Grayscale 2020-04-20 10:22:41 -03:00
David Capello
07f1510ebd User can configure "auto select layer" in quick mode independently
Now we have one "auto select layer" option for the quick mode of Move
tool (Ctrl/Cmd key, true by default) an other option for the regular
Move tool mode (false by default).
2020-04-18 21:21:14 -03:00
Gaspar Capello
80cbb2caf5 Add combobox to select RGB5A5/Octree algorithms in ColorQuantization dialog 2020-04-15 11:07:13 -03:00
Gaspar Capello
886fdf8b3f Add OctreeMap as an alternative RgbMap implementation to RgbMapRGB53A
There is a new experimental option to switch between both RgbMap
implementations.
2020-04-10 15:47:24 -03:00
Gaspar Capello
7ed83c10cc Fix gif format encoding 2020-04-09 10:23:36 -03:00
David Capello
d358e6055f Add auto-fit screen option (fix #789, fix #2267) 2020-03-30 09:16:14 -03:00
Hamed Zaghaghi
123fa7d106 add css export 2020-03-24 05:51:02 +04:30
David Capello
c230e8f0ab Add options to save TGA files with 16/24/32bpp & uncompressed/compressed 2020-03-20 19:18:03 -03:00
David Capello
26139c4ae2 Add tilemap layers (#977)
This is the first commit with a simple tilemap editor. Still buggy but
functional in several ways. Several changes were made:

* NewLayer command can receive a tilemap=true to create a new tilemap
  layer
* New ToggleTilesMode command added to switch between the palette and
  the tileset in the ColorBar (the ColorBar was expanded to show
  colors or tilesets with a generic AbstractPaletteViewAdapter)
* All commands to create new layers were moved to Layer >
  New... submenu
* There are a new tileset chunk to save tilesets in .aseprite files,
  and a new kind of cels to save tilemaps
* Added doc::LayerTilemap, doc::Tileset, etc. and several other types
  to handle tilesets/tilemaps in the doc layer.
* Added doc::Grid class with grid specifications that indicates how a
  tilemap <-> tileset must be drawn
* Added and expanded cel operations to work with tilemaps and
  conversions between regular LayerImage cels <-> LayerTilemap cels
  (e.g. copy cels in the timeline between layer types)
2020-02-17 09:06:00 -03:00
David Capello
70ff67e890 Clear save_copy preference values of saved copies (related to #1964) 2019-12-03 17:38:28 -03:00
David Capello
b190cc985e Save the whole group of grid/bg/pixel grid settings when these elements are displayed in the Editor
https://community.aseprite.org/t/3303/10
2019-12-03 17:37:54 -03:00
David Capello
c2acc973ee Add support to show multiple sections in Export Sprite Sheet 2019-10-29 16:37:06 -03:00
David Capello
13d042f346 Add options to merge duplicates/ignore empty cels in Export Sprite Sheet 2019-10-23 21:09:56 -03:00
David Capello
536a4c5d3a Simplify Export Sprite Sheet with preview + changes to the UI
These changes include an option to split layers and tags
by rows (fix #1118)
2019-10-18 17:00:35 -03:00
David Capello
30b2585037 Save grid bounds inside .aseprite files and doc::Sprite (fix #688) 2019-10-10 15:08:59 -03:00
David Capello
aa66ff35a2 Refactor DocExporter::DataFormat -> SpriteSheetDataFormat 2019-10-07 17:22:27 -03:00
David Capello
d99e642c55 Add split layers option in ExportSpriteSheet 2019-10-03 15:52:19 -03:00
David Capello
138cd2970c Add option to disable transforming multiple cels when we have only layers/frames selected on the Timeline 2019-09-11 14:01:50 -03:00
David Capello
d03f5e9145 Add option to force RotSprite usage (as in old versions) 2019-09-05 18:22:51 -03:00
David Capello
1995d67759 Remove all preferences migration
The migration of preferences were added to rename preference options
in a progressive way. We don't need them after several versions were
updated (and right now they might be adding some noise if users are
launching different Aseprite versions).

An attempt to fix this bug https://community.aseprite.org/t/3303
2019-08-08 10:55:39 -03:00
David Capello
c7d1e4a472 New option to configure how much time we keep a closed sprite on RAM 2019-06-07 13:17:21 -03:00
David Capello
1b62515cd2 Add "Recover Files..." option in Home tab
We've changed the way the "recover files" option works:
* Now it's an option that is always available (so we can open files
  even from sessions that were correctly closed in the past)
* We can open sessions from other Aseprite versions (as in a "best
  effort" approach, if it works, ok, if it doesn't -> contact user
  support)
2019-05-27 23:53:57 -03:00
David Capello
dd8a49a19c Add option to disable changing the display color profile depending on the current monitor 2019-05-08 10:55:56 -03:00
rscotchmer
a08cfa9e13 Added support for 4 and 8 connected pixel fill method in paint bucket 2019-04-29 23:29:17 -03:00
David Capello
0264964c4e lua: Add app.preferences object 2019-04-24 21:14:20 -03:00
David Capello
e197a8670c Add an option to trim areas outside the canvas bounds on Sprite > Canvas Size (fix #1111) 2019-04-23 14:40:26 -03:00
David Capello
fcf272bb69 Add amount parameter to Error Diffusion algorithm 2019-04-03 18:45:18 -03:00
David Capello
495058e8ff Save last used dithering algorithm converting RGB -> Indexed 2019-04-03 11:05:54 -03:00
Gaspar Capello
855c7d8ee3 Improved import sprite sheet dialog (from #1987) 2019-04-01 16:51:19 -03:00
David Capello
9a75d01efe Improve the File Selector adding new view types: list, small icons, big icons (fix #451) 2019-03-25 22:09:22 -03:00
David Capello
4919740861 Add option to disable the separator between palette entries 2019-03-20 14:27:19 -03:00
Gaspar Capello
f53544842c Fix non-normal blend modes when the backdrop is transparent (fix #1096) 2019-03-09 12:40:31 -03:00
David N Campo
bdd4202c35 Add Trim by Grid option in Export Sprite Sheet (#1926)
This adds the logic and UI part of Trim by Grid feature, the CLI part
is not yet implemented.
2019-02-07 14:07:42 -03:00
Gaspar Capello
d4607e889b Add Import Sprite Sheet padding (fix #78) 2019-01-29 09:10:47 -03:00
David N Campo
cf1711c2af Add 'Extrude' option to 'Export Sprite Sheet' command (fix #1890)
Merged #1978 (squashed). The only solved conflict was that now
ExportSpriteSheet use params, so we've added the "extrude" param to
ExportSpriteSheetParams.
2019-01-10 07:49:19 -03:00
David Capello
42fa197b42 Save/load timeline layer panel width to/from preferences file
From: https://community.aseprite.org/t/2276
2018-11-26 17:04:16 -03:00
Gaspar Capello
c1b61fedbf Added svg pixel size dialog (#1911) 2018-11-26 12:44:48 -03:00
David Capello
d8b95c30e8 Add option to disable double-click to select a grid tile (fix #1901) 2018-11-15 19:17:19 -03:00
David Capello
2029e029a6 Add option for custom checked background grid size 2018-11-15 10:07:40 -03:00
David Capello
3a77321597 Add "intersect" selection mode
Discussions:
https://community.aseprite.org/t/intersectional-selection/801
https://community.aseprite.org/t/feature-request-intersect-with-selection-tool/1797
2018-10-26 14:04:08 -03:00
David Capello
88acf951cc Add "Select Layer & Move" right click option 2018-10-26 10:01:25 -03:00
David Capello
81965b904f Use current working color space in new created files
* Added the gfx::ColorSpace field in doc::ImageSpec
* Removed some methods like Sprites::add(width, height, etc.)
* Prefer methods with ImageSpec as argument (which now includes the color space)
2018-10-25 15:23:01 -03:00
David Capello
a4d8fc52bf Manage color profiles (fix #1576) 2018-10-19 15:30:30 -03:00
David Capello
9b259a7a43 Add an (optional) alert before running a script 2018-09-17 14:59:44 -03:00
David Capello
fe9f8bc468 Add option to disable the alert about drawing with fg/bg index out of bounds 2018-09-13 10:53:14 -03:00
Gaspar Capello
336407fab6 Enhancement undo show tooltips option (fix #1827) 2018-09-06 15:26:42 -03:00
David Capello
b8317805f8 Rename DocumentExporter -> DocExporter 2018-07-14 23:02:37 -03:00
David Capello
511752fea7 New render engine to use bicubic interpolation when zoom < %100 (fix #1671)
This only works with Skia back-end.
2018-06-22 15:41:22 -03:00
David Capello
a0c0b1c8e2 Add option to disable Wintab from Preferences dialog
With this is easier to give support to the end-user. The
--disable-wintab option was initially added for crash situation when
the user cannot execute Aseprite from the very beginning, but in other
situations, when Aseprite can be executed correctly but the stylus
doesn't work as expected, it's nice to have this option available from
the UI just to disable the Wintab32.dll.
2018-06-19 14:10:19 -03:00
David Capello
5d763d108c Win8/10: Add support to draw with one finger, pan/scroll with two
https://community.aseprite.org/t/using-touchscreen-computers-to-draw-in-aseprite/677
2018-06-19 10:59:12 -03:00
David Capello
40968891f2 Add option to disable native clipboard
This is related to #1100, as the Linux port is not well tested and may
fail, it's good to have an option to disable the native clipboard code
just in case.
2018-05-24 12:56:07 -03:00
Gaspar Capello
dd82f6bbcc Add option to disable auto show selection edges (fix #1614) 2018-04-20 10:56:27 -03:00
David Capello
58252946ea Put back a simpler vesion of the target button for cels
Now we have a button to apply filters to the selected region
in the timeline, or to all cels. Regression introduced in 245285f84e

Discussion:
http://steamcommunity.com/app/431730/discussions/0/343785574514723475/
2018-03-26 23:43:57 -03:00
David Capello
6de103128b Add support for animated webp files (fix #273) 2018-03-26 14:11:40 -03:00
David Capello
0429282967 Add options to configure default extension in other commands (fix #1683)
Maybe too much configuration for my taste, but well, more configuration
is good.
2018-03-19 15:53:02 -03:00
David Capello
1fb463f931 Add option to export GIF for Twitter (#1220, #1252) 2018-03-16 11:03:50 -03:00
David Capello
589d775d10 Add AniDir parameter to Export dialog (fix #1505) 2018-03-16 08:59:34 -03:00
David Capello
ca31a79ca5 Add alert when we will overwrite a file on File > Export 2018-03-15 23:04:20 -03:00
David Capello
5239db243a Add option to change the number of recent files/folders (#578)
* Added option to clear the list too
* If we specify 0 as the number of recent items, the feature is disabled
2018-03-14 14:14:47 -03:00
David Capello
9f96ccbd39 Add option to ignore a warning overwriting files on Export Sprite Sheet (related to #917) 2018-03-12 16:44:19 -03:00
David Capello
ebb7afde8b Add option to change default file format (.aseprite is the new default) 2018-02-23 10:32:02 -03:00
David Capello
166cb55c97 Add support for HSV color space in Adjust Hue/Saturation (fix #1559) 2018-02-09 17:39:56 -03:00
David Capello
d4244fed48 Add options to avoid showing dialogs saving files (#917) 2018-02-07 17:28:01 -03:00
David Capello
b5dc3d263e Add options to suppress specific warnings (fix #917) 2018-02-07 14:35:12 -03:00
David Capello
d3d107b0ac Add Trim option in Export Sprite Sheet 2017-11-29 16:17:30 -03:00
David Capello
e1232516ee Don't discard custom brush when we use eyedropper (fix #1557) 2017-11-23 11:35:41 -03:00
David Capello
c80d914e1a Fix toggle timeline thumbnails command (fix #1518) 2017-11-21 14:34:03 -03:00
David Capello
5cd368792c Improve UI so undo limit = 0 means "no limit" (#1127)
By default we'll have "no undo limit".
2017-10-25 17:58:55 -03:00
David Capello
6611a5ec73 Reset exits counter when the version is updated 2017-10-05 18:01:38 -03:00
David Capello
1d1636ffc8 Restore old "Add to selection" behavior (fix #1584)
Related to all issues named in:
https://community.aseprite.org/t/470/9
2017-10-03 15:03:51 -03:00
David Capello
390d954ceb Add option to disable straight line preview w/Shift+Pencil tool 2017-09-08 16:04:18 -03:00
David Capello
2d51b8dfff Disable selection handles when a key modifier is pressed
From: https://twitter.com/ChevyRay/status/893563998410387457
2017-09-08 12:07:21 -03:00
David Capello
86e14fa2ff Add 1x1 background grid
From:
https://community.aseprite.org/t/change-background-checkerboard-grid-size/390/2
2017-09-05 14:38:42 -03:00
David Capello
dfa441d2a0 Add option to show/hide Aseprite menu bar
The original Aseprite menu bar will be hidden by default for new users
on macOS.
2017-09-01 17:18:53 -03:00
David Capello
29a49ad7fa Add HSL color selection (related to #707) 2017-05-29 14:20:42 -03:00
David Capello
90c364fe30 Add possibility to drag & drop the selection 2017-04-06 15:26:01 -03:00
David Capello
76df84491e Support horizontal/vertical symmetry at the same time (fix #1190) 2017-03-27 15:27:37 -03:00
David Capello
add0c81260 Add guides/slices options in preference dialog
Also moved guide/slice colors to global preferences (instead of pref per document).
2017-03-25 01:01:59 -03:00
David Capello
fb64d5406a Add some colors for cel edges/guides in doc pref 2017-03-23 20:23:25 -03:00