Commit Graph

289 Commits

Author SHA1 Message Date
David Capello
e21859c4af Migrate clip module from aseprite to laf 2024-03-26 13:31:22 -03:00
David Capello
50d4f9d802 Don't try to clone strings repo if Git isn't available (fix #4357)
This can happen when the source code is downloaded as a .zip and the
Git command is not available to clone the strings repo.
2024-03-06 09:59:20 -03:00
David Capello
12623176bb Fix copying our en.ini file to strings.git clone 2024-02-12 16:55:31 -03:00
David Capello
af73adeab0 [i18n] Clone and add "strings" repo in "data/strings.git" to get updated translations
As we've moved all the translations to the strings
repo (06a852d1d4), to facilitate the
i18n work now we load translations from "data/strings" and from
"data/strings.git" folders, where "strings.git" is a clone of the
strings repo (https://github.com/aseprite/strings.git) in
"build/bin/data/strings.git".

This clone is executed automatically in the cmake configuration stage
so it's transparent for the developer and the result is like having
the translations available in the same "aseprite" repo.
2024-02-06 09:37:29 -03:00
David Capello
f8f925c634 Merge branch 'main' into beta 2022-07-13 19:49:03 -03:00
David Capello
4f2eae6b77 Use C++17 [[fallthrough]] if needed 2022-06-29 20:14:03 -03:00
Martín Capello
48ffaaa378 Update CMakeLists to configure it properly when enabling DRM 2022-06-28 19:15:27 -03:00
Martín Capello
fcac48cccb Add option to enter Aseprite license key (#2664)
This is an initial version to add an automatic update feature in the
future.
2022-06-28 19:09:10 -03:00
David Capello
3162d224f7 Add editor_benchmark
This is a simple initial benchmark to test how well the editor perform
in common operations like scroll and zoom. We have plans to improve it
through caching (and GPU textures) progressively.
2022-02-21 10:31:54 -03:00
David Capello
91c687b1e3 Merge branch 'main' into beta 2021-12-15 17:51:19 -03:00
David Capello
977994765c Normalize some cmake options from WITH_* to ENABLE_* 2021-12-15 17:47:44 -03:00
David Capello
cf1678f4b3 Add optional & experimental support to load .psd file (only when ENABLE_PSD=on) 2021-12-15 17:44:51 -03:00
Joshua Ogunyinka
9a12eb584b Initial to decode PSD files 2021-12-06 15:33:32 -03:00
lampysprites
4354be1d7a Add CMake option to disable websockets 2021-10-03 12:40:29 +07:00
David Capello
11e4243d05 Add ${main_target} to reference "aseprite" target 2021-06-16 17:22:31 -03:00
David Capello
74170c14fa Add ${DATA_OUTPUT_DIR} to src/CMakeLists.txt 2021-06-16 17:21:34 -03:00
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