Commit Graph

179 Commits

Author SHA1 Message Date
David Capello
064ddef190 Don't clone strings repository by default (fix #4489)
New ENABLE_I18N_STRINGS option (off by default) to avoid compilation
errors cloning the strings repo (no connection, no git, etc.).
2024-06-27 08:35:55 -03:00
David Capello
533fb778f3 Reorganize compilation flags in CMakeLists.txt files
* Moved flags that only app-lib uses from add_definitions() to
  target_compile_definitions()
* Curl flags for TLS moved from third_party to root CMakeLists.txt (as
  they were defined in both places)
2024-06-12 17:43:43 -03:00
David Capello
a1bd6f59aa Update cmark module 2024-05-08 14:52:39 -03:00
David Capello
e48e71ba28 Update to tinyxml2 2024-04-22 18:28:03 -03:00
David Capello
700217c413 Remove cmake policies that aren't used anymore 2023-11-26 21:46:20 -03:00
David Capello
556c621eeb Add native file dialog for Linux using zenity (fix #1953, fix #2354)
The Zenity utility is not perfect, there are several issues to improve
the UX, but it's good enough to offer a native file dialog on Linux
without depending on huge dynamic GUI libraries (GTK+, Qt, etc.).
2023-06-27 14:28:32 -03:00
David Capello
eced4734aa Merge branch 'main' into beta 2022-09-09 13:53:26 -03:00
David Capello
03148f9c7c Add SENTRY_ENV option 2022-09-05 16:28:44 -03:00
David Capello
f54605e1ea Fix typo with SENTRY_DSN option name 2022-09-05 16:21:45 -03:00
David Capello
8c3aac3926 Merge branch 'main' into beta 2022-08-02 20:23:34 -03:00
David Capello
1f24e0be9f Fix finding webp from Skia on Windows, macOS, and Linux 2022-08-02 20:20:13 -03:00
David Capello
207c1c518c Merge branch 'main' into beta 2022-08-02 19:08:36 -03:00
David Capello
ccb32562ad Link with libwebp from Skia if possible 2022-08-02 18:56:34 -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
77771b703b Merge branch 'main' into beta 2022-05-30 20:41:35 -03:00
David Capello
e8ad293aca Update laf module 2022-05-26 15:06:00 -03:00
David Capello
8d2863a58b Merge branch 'main' into beta 2022-05-05 09:57:29 -03:00
David Capello
d861f0760c Switch from C++14 to C++17 (#2999) 2022-04-29 10:01:23 -03:00
David Capello
66d74688e2 Merge branch 'main' into beta 2022-03-31 19:34:38 -03:00
Ryan Schmidt
be7c26da5e No longer add -stdlib=libc++ in CMakeLists.txt
Adding -stdlib=libc++ was needed when 10.7 was being targeted because on
10.8 and earlier libstdc++ is the default. Now that the target is 10.9
specifying -stdlib=libc++ is unnecessary since libc++ is the default on
10.9 and later.
2022-03-31 17:39:51 -03:00
David Capello
6e726025ee Merge branch 'main' into beta 2022-01-05 20:16:13 -03:00
David Capello
6836911661 Don't define HAVE_CONFIG_H and include "src" directory globally
Avoid using include_directories() and add_definitions() as much as
possible.

This change was made to avoid a problem using HAVE_CONFIG_H on Sentry
breakpad implementation where HAVE_CONFIG_H is used (but our config.h
is different from the expected one in breakpad).
2021-12-22 19:08:43 -03:00
David Capello
3fba303291 Define some variables for Sentry when using curl as transport 2021-12-22 17:03:16 -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
David Capello
de768a020d Use Skia freetype & harfbuzz when LAF_BACKEND=skia 2021-12-01 18:14:18 -03:00
David Capello
82d93a8697 Update build instructions for Skia m96 & Apple Silicon (#2451) 2021-11-17 12:36:21 -03:00
David Capello
f93b33f248 Migrate to Skia m96 API 2021-11-17 12:36:11 -03:00
David Capello
8ae2a8bce5 Switch from C++11 to C++14 (#2999) 2021-10-13 07:32:02 -03:00
lampysprites
4354be1d7a Add CMake option to disable websockets 2021-10-03 12:40:29 +07:00
David Capello
911589111e Add Sentry as an alternative to handling minidumps manually (#2857) 2021-09-21 11:29:48 -03:00
Martín Capello
bbec09c752 Fix typo in CMakeLists.txt file 2021-08-24 11:14:53 -03:00
David Capello
6b2c296ef0 Update giflib module to the latest version 2021-07-01 11:38:13 -03:00
Michał Janiszewski
1e24d69db6
Apply suggestions from code review
Co-authored-by: David Capello <davidcapello@gmail.com>
2021-04-15 14:29:46 +02:00
Michał Janiszewski
593bc8db0e Add CCache discovery to CMake 2021-04-15 11:51:42 +02:00
David Capello
a926ca9055 Update cmark module 2021-04-13 18:41:22 -03:00
David Capello
e50ea46c91 Minor change in CMakeLists.txt 2021-03-05 18:27:31 -03:00
David Capello
c49c6ae068 Link with webpdemux and libwebpmux 2020-05-27 13:11:02 -03:00
David Capello
9801010a2b Update webp module
Possible fix for #2387?
2020-05-18 08:32:49 -03:00
David Capello
062ae58d9e We need to specify the C and C++ flags for our project anyway (undo 00fa254573) 2020-03-02 11:36:53 -03:00
David Capello
00fa254573 Move C and C++ flags override to laf library 2020-03-02 10:55:51 -03:00
David Capello
97345f4866 Add ENABLE_CLANG_TIDY option 2019-05-03 09:34:02 -03:00
David Capello
256c00747b Add ENABLE_ASEPRITE_EXE option 2018-08-27 11:48:33 -03:00
David Capello
13daafa56e Fix include directory for cmark.h 2018-08-24 19:13:50 -03:00
David Capello
4faa875cef Set LAF_OS_BACKEND only if it's not specified 2018-08-24 18:27:19 -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
f8cb1db917 Remove webserver (never used) 2018-08-24 17:39:51 -03:00