Commit Graph

35 Commits

Author SHA1 Message Date
David Capello
35bb3af6e2 Replace all base::Bind() with lambda functions 2021-03-05 20:09:42 -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
bf649df9f2 Add Wine version to user agent string in case that we're running Aseprite from Wine 2019-06-06 12:15:31 -03:00
David Capello
f2ed45e795 Replace base::UniquePtr -> std::unique_ptr 2018-08-08 17:27:26 -03:00
David Capello
46dbffa45f Use NSOperatingSystemVersion to get macOS version when possible 2017-09-22 16:51:56 -03:00
David Capello
cc8337fa84 Fix User-Agent on Linux to include the distribution name/version 2017-06-29 13:03:28 -03:00
David Capello
5ecc356a41 Replace GPL license with the new EULA 2016-08-29 13:08:21 -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
61a933bee2 Abort http requests when we quit the program 2016-05-17 12:14:01 -03:00
David Capello
49b068cccc Fix warning on updater/check_update.cpp about undefined UPDATE_URL 2016-04-11 13:05:15 -03:00
David Capello
260f597cc4 Define PACKAGE/VERSION/UPDATE_URL if they are undefined 2016-03-03 19:26:46 -03:00
David Capello
4f6a7a7742 Include base/debug.h on files that use ASSERT or TRACE 2016-03-03 19:17:07 -03:00
David Capello
3bcda8c1b1 Replace DLOG() with TRACE() 2015-12-21 12:30:21 -03:00
David Capello
d6684691bf Rename PRINTF to LOG 2015-08-28 20:48:49 -03:00
David Capello
55f90d8b8b Add target_link_libraries() for sublibraries
With this change we remove some internal variables/lists like sys_libs,
libs3rdparty, etc. And we fix dependencies problems between targets.
2015-07-13 12:16:55 -03:00
David Capello
0d09ca6f20 Add net-lib to aseprite libraries (fix #696)
Net library must be included in link process whatever ENABLE_UPDATER value
is, because we load RSS news with net-lib anyway.
2015-06-12 11:27:47 -03:00
Aurélien Gâteau
db8f0e1f0d Fix aseprite binary link error
Was getting this when linking aseprite:

check_update.cpp:113: undefined reference to
net::HttpHeaders::setHeader(std::string const&, std::string const&)
2015-04-27 17:59:42 +02:00
David Capello
c63ccf914f Keep last update information so we can show it again (fix #639)
Now the last update information retrieved from the HTTP request, is saved
in the configuration file so we can reuse it when the program is restarted.
Changes:
* Add support to compare two semvers
* Add new_version/new_url options to preferences
* Remove convert_to for base::Version (now this class is constructed from
  strings only)
2015-04-24 12:45:01 -03:00
David Capello
6c826a6281 Support floating point number of days to wait for next "check updates" 2015-02-28 11:43:11 -03:00
David Capello
2c6067f7e4 Update license of app/ module to GPLv2 2015-02-12 12:16:25 -03:00
David Capello
0a68125372 Show some info to debug the update checking process in _DEBUG 2014-12-05 10:38:01 -03:00
David Capello
78b755bd40 Fix updater: now getMacOSXVersion() is in a .mm file (ObjC++) 2014-08-15 00:59:29 -03:00
David Capello
897513264d Compile subprojects with C++11 flags 2014-08-15 00:26:27 -03:00
David Capello
7ffce344bd Add CUSTOM_WEBSITE_URL option to test a local webserver 2014-06-02 21:31:44 -03:00
David Capello
f4b2b47a2c Add #pragma once 2014-03-29 19:40:17 -03:00
David Capello
5b252c30f5 Add support for Unicode file names on Windows
- Fixed issue #46: open .png files with Unicode chars
- Fixed issue #150: ability to uncompress program in folders w/Unicode chars
- Added base::utf8_iterator
- Added base::FileHandle
- Added base::get_app_path()
- Modified ui::KeyMessage::ascii() -> unicodeChar()
- Removed JI_NOTEXT flag
- Added app::XmlDocumentRef class and app::open_xml() function
- Added support for Unicode text exchange with Win32 clipboard
2013-10-14 19:58:11 -03:00
David Capello
cde54f3682 Change BSD license to MIT in sublibraries and fix headers 2013-08-08 21:01:20 -03:00
David Capello
c88f9b172b Refactor: Move app files to src/app subdirectory inside app namespace
- Add HAVE_CONFIG_H wrapper to #include "config.h"
- Removed widgets namespace (it's in app now)
- Move some functions from src/file/file.h to src/base/cfile.h
- Move Vector2d to base library
- Rename MenuItem2 to AppMenuItem
2013-08-05 21:20:19 -03:00
David Capello
9b8e87da10 Update copyright year to 2013 2013-01-27 12:13:13 -03:00
David Capello
b8fbaad7fb Replace Allegro Sprite Editor or ASE with ASEPRITE in all files. 2012-01-06 01:12:57 -03:00
David Capello
02a9d50524 Update copyright year to 2012. 2012-01-06 00:52:11 -03:00
David Capello
ed6090bc36 Convert all newline to LF style and remove all tabs.
This was done to avoid mixed files (CRLF & LF) in the repository.
2012-01-05 19:45:03 -03:00
David Capello
c35c258bd5 Fix problems compiling on Linux with GCC. 2011-07-27 23:08:54 -03:00
David Capello
f2b92d8107 Add support for "waitdays" attribute to control the "check for updates" frequency from the server. 2011-07-27 22:08:53 -03:00
David Capello
cf9a296e5d Add automatic check for updates with app::CheckUpdateThreadLauncher
and show notifications in StatusBar.
+ Added updater library.
+ Removed "Check for New Version" command.
2011-07-26 23:25:02 -03:00