Commit Graph

273 Commits

Author SHA1 Message Date
David Capello
58e78ad886 [win] Disable warning 4244 on MSVC 2020-04-16 11:18:45 -03:00
David Capello
319c89c2ad Use the new tga library to decode tga files 2020-03-24 17:07:35 -03:00
David Capello
a0882ba443 Move PACKAGE/VERSION, etc. to new ver-lib
* As we moved the VERSION macro to a .c file, we don't have to
  recompile the whole project when we change the version number.
* Removed the version number from gui.xml
* Removed the invalid first menu item that might appear in the root
  menu when the gui.xml version is outdated in debug mode.
2020-03-16 10:31:32 -03:00
David Capello
95b655168c Use new laf + skia m81 branch
* Some minor refactors due laf changes.
* Updated the instructions to compile Aseprite linking to external
  skia instructions and pre-built packages.
2020-03-01 23:42:08 -03:00
David Capello
9c81ed46f2 Use threads in shrink_bounds() when it's possible
Improves the performance when we edit big images (shrink + crop +
image allocations are the performance issues we have when we're
editing big images).

The real solution for image allocations would be to change the
internal representation of images to a tile-based images with a cache
of tiles. But that is not planned in the short-term.
2019-08-21 20:21:57 -03:00
David Capello
29a6f89dc4 Minor change in src/CMakeLists.txt 2019-06-04 12:26:03 -03:00
Gaspar Capello
81a355133d Add polygon tests 2019-06-04 12:14:20 -03:00
David Capello
20618ff321 Ignore errors about signed/unsigned comparison 2019-04-18 22:35:29 -03:00
David Capello
cc62e9ed59 Add render_benchmark 2019-03-07 13:44:29 -03:00
David Capello
a4d8fc52bf Manage color profiles (fix #1576) 2018-10-19 15:30:30 -03:00
David Capello
b638aa3d6b Define ENABLE_SCRIPTING in app AND main
main needs ENABLE_SCRIPTING definition so when we include "app/app.h"
the class includes the field for a script::Engine pointer.
2018-09-02 20:19:52 -03:00
David Capello
256c00747b Add ENABLE_ASEPRITE_EXE option 2018-08-27 11:48:33 -03:00
David Capello
1b5fd7ccef Add ENABLE_NEWS and disable curl if it's not needed 2018-08-24 18:24:05 -03:00
David Capello
44a713a693 Change CMAKE_SOURCE_DIR to CMAKE_CURRENT_SOURCE_DIR in some cases 2018-08-24 18:20:08 -03:00
David Capello
abcd7bdf2e Add GEN_EXE var to customize code generator 2018-08-24 18:06:22 -03:00
David Capello
f8cb1db917 Remove webserver (never used) 2018-08-24 17:39:51 -03:00
David Capello
860edf6439 Merge branch 'os' (related to #139) 2018-08-23 17:27:52 -03:00
David Capello
4fe66f2ffb Change scripting language to Lua 2018-08-22 14:54:51 -03:00
David Capello
68e4fe7762 Remove PLATFORM_LIBS var as we now use laf-os dependencies 2018-08-10 23:15:37 -03:00
David Capello
161cc7418a Use LAF_OS_BACKEND_LINK_FLAGS to link aseprite 2018-08-10 17:46:40 -03:00
David Capello
650c9f9fd8 Try to fix linking aseprite + laf-os w/none backend on MSVC 2018-08-10 14:22:02 -03:00
David Capello
3977631924 Use the LAF_OS_BACKEND variable 2018-08-09 17:51:00 -03:00
David Capello
a6fab8d1d9 Move os/ft/gfx libraries to laf 2018-08-09 16:36:11 -03:00
David Capello
5cb2d984f0 Rename she -> os 2018-08-09 12:58:43 -03:00
David Capello
f9c1c68012 Remove Allegro back-end (#139) 2018-08-09 11:43:35 -03:00
David Capello
cb68687409 Update clip/observable/undo modules 2018-05-28 14:14:34 -03:00
David Capello
22e2145d65 Add clipboard support in Linux/X11 (fix #1100) 2018-05-23 17:20:52 -03:00
David Capello
c8c12700e5 win: Fix compilation w/Allegro backend (fix #1730) 2018-05-23 15:20:11 -03:00
David Capello
139c5aac49 Add flag to compile CLI-only (fix #1279)
New cmake flag -DENABLE_UI=OFF can be used to turn off the GUI
and compile a CLI-only version of Aseprite.

Requested here too:
https://community.aseprite.org/t/1351
2018-05-07 00:11:50 -03:00
David Capello
12578321d6 Re-organize some compiler flags 2018-03-13 09:56:23 -03:00
David Capello
dcc4293d4e Move -DENABLE_DEVMODE to src/CMakeLists.txt so it's defined on dio library too 2018-03-13 09:50:53 -03:00
David Capello
c59f03a7a0 Fix crash on macOS when we try to save a file in a directory without privileges 2018-03-09 10:09:33 -03:00
David Capello
1898ce2886 Add the thumbnailer COM server for Windows
Note: Moved the desktop integration for Linux to src/desktop/linux
2018-01-02 17:03:46 -03:00
David Capello
31bf851d4f Fix X11 app icon 2017-12-06 18:50:23 -03:00
David Capello
43db106db0 Rename docio to dio 2017-09-22 15:57:38 -03:00
David Capello
7cbf5fd420 Add some simple benchmarks for color blending functions 2017-07-18 17:03:12 -03:00
David Capello
87f715ee6b Remove css library
The css library was used for the old skin::Style property/painting code.
2017-03-13 18:17:00 -03:00
David Capello
e83f9c18aa Add support to load fonts w/Unicode filenames 2017-03-07 14:52:45 -03:00
David Capello
dc19c4b589 Merge branch 'master' into beta 2016-12-07 12:14:28 -03:00
David Capello
b5679a3f82 Add navigation through .md files on BrowserView 2016-12-07 01:12:54 -03:00
David Capello
c1e428544e Add minimal .md browser to show README/LICENSES files
Now we can see markdown files inside Aseprite. This is an initial
support (text only, separators, links only on headers and to external
URLs).

- Added a new docs/LICENSES.md file
- Removed old .txt licenses
2016-12-06 16:03:51 -03:00
David Capello
f57c298ad6 Merge branch 'master' into beta 2016-11-29 12:15:25 -03:00
David Capello
366572db1a Fix crash when we close Aseprite calling a dtor/free() on an invalid pointer
This bug was introduced in 128ba90394
The AppOptions was compiled with a different size in app-lib and main.cpp
2016-11-24 17:39:52 -03:00
David Capello
128ba90394 Add ENABLE_SCRIPTING flag 2016-11-21 10:25:27 -03:00
David Capello
54e60f058f Merge branch 'master' into beta 2016-11-01 14:09:02 -03:00
David Capello
c2103df444 Move base module to laf library 2016-11-01 12:47:48 -03:00
David Capello
c60e0b915c Merge branch 'master' into beta 2016-10-27 13:00:57 -03:00
David Capello
693a68844c New docio-lib to detect file format by content (fix #776) 2016-10-26 19:37:42 -03:00
David Capello
20b726f73b Merge branch 'master' into beta 2016-08-31 19:53:52 -03:00
David Capello
5ea955df4d Convert undo library into a submodule 2016-08-01 10:20:26 -03:00