Commit Graph

5730 Commits

Author SHA1 Message Date
David Capello
41f44d9080 Minor changes in the issue template 2016-12-27 11:09:39 -03:00
David Capello
1f89f1b235 Generate a app::gen::Strings class from data/strings/en.ini file 2016-12-26 17:11:19 -03:00
David Capello
4892785de3 Fix ref layer movement avoiding jumps between 0 and -1
When the mouse cursor goes from 0 to -1, if we're using "int"
coordinates (regular cel coordinates), it's correct to use those exact
values (0 and -1). But when we're using ref layer/cel
coordinates ("float"), we want to use values like -0.4, -0.6, -0.8
before we reach -1.0.
2016-12-26 16:44:40 -03:00
David Capello
08445fbbcb Fix crash resizing reference layers 2016-12-26 13:30:14 -03:00
David Capello
b6744d03f3 Fix crash moving a group inside itself 2016-12-26 12:42:49 -03:00
David Capello
0d8c60d2f4 Remove string @modify_selection.by 2016-12-23 13:07:03 -03:00
David Capello
ff95e63732 Move all widget strings to strings/en.ini file 2016-12-23 12:38:32 -03:00
David Capello
8740cf24a0 Don't report a warning if a string is an email address 2016-12-22 15:34:04 -03:00
David Capello
fc62d8a7f3 Fix compilation on Linux 2016-12-22 14:51:11 -03:00
David Capello
9377471425 Add command to check translations between widgets <-> strings file 2016-12-22 14:23:24 -03:00
David Capello
01a6fe6dbc Minor changes in gen/ui_class.cpp/h files 2016-12-22 14:18:25 -03:00
David Capello
9e3a6f8fe2 Support for @.string reference to avoid duplicating section ID 2016-12-22 11:55:15 -03:00
David Capello
0014673e41 Merge branch 'master' into beta 2016-12-22 10:46:37 -03:00
David Capello
bd4e5cfa50 Return the string ID if it's not found
Instead of returning an empty string, we can return the non-translated
string ID, so it's more visible that something needs to be translated
yet.
2016-12-21 17:08:49 -03:00
David Capello
6ceab26240 Merge branch 'master' 2016-12-20 17:06:40 -03:00
David Capello
809a90ba3b Fix crash using focus-movement keys in strange UI state
There were some crash reports in these days on the focus movement
code. It looks like we could arrive into an invalid/strange UI state
double-clicking palette buttons and showing menus two consecutive
times. After that, pressing Tab key would crash the focus-movement
logic.
2016-12-20 16:59:07 -03:00
David Capello
b3b9ca8ba0 Merge pull request #1370 from winterheart/tests
Control for undo tests
2016-12-20 13:34:15 -03:00
Azamat H. Hackimov
52fbbe844c Control for undo tests 2016-12-19 22:19:30 +05:00
David Capello
7ae63156c5 Add option to disable Home tab (fix #1368) 2016-12-18 14:44:39 -03:00
David Capello
42b48cfed2 Initial version of a new app::Strings to translate strings
Added a simple en.ini file to translate "New Sprite" dialog.
2016-12-17 01:01:57 -03:00
David Capello
f8874f4f7b Fix zoom entry so we can insert numbers with 4 digits 2016-12-16 14:53:26 -03:00
David Capello
dfa90d15c8 Don't use general renderer when "apply zoom" is enabled
Related to #1349
2016-12-16 12:05:54 -03:00
David Capello
447b2701e4 Update version to 1.1.12-dev 2016-12-16 11:41:37 -03:00
David Capello
76edbda15c Fix "new version available" button size (fix #1354)
Regression introduced in 12726fedf2
2016-12-16 11:07:43 -03:00
David Capello
fc4dd0311b Don't use nonactive layers opacity on Preview 2016-12-12 15:52:00 -03:00
David Capello
63fe1e60eb Fix bug moving cels one pixel up or to the left
Reported here:
https://twitter.com/Legacydev_/status/808299548942696449
2016-12-12 12:00:17 -03:00
David Capello
6dc2b5284e Fix timeline dimensions
Don't multiple 2 times by guiscale()
2016-12-09 14:45:36 -03:00
David Capello
b0bd722a1f Merge branch 'master' into beta 2016-12-09 14:38:25 -03:00
David Capello
4fada3aa00 Fix layout issues when UI Scaling > 100% (fix #1345) 2016-12-09 14:13:31 -03:00
David Capello
88b51e1e82 Fix crash using Japanese keyboard layout on macOS 2016-12-09 13:55:47 -03:00
David Capello
d6c5f1ecb2 Don't crash when using selection tool on a layer group 2016-12-08 09:37:28 -03:00
David Capello
7dfa685ffa Don't scroll when we collapse/expand a layer group 2016-12-08 09:18:35 -03:00
David Capello
afdb6b511f Fix all commands using uniqueCels() (sprite size, rotate/flip sprite, etc.)
We have to iterate all layers on commands that modify the whole
sprite. It doesn't matter if the layer is "browsable" (e.g. it's
expanded or collapsed).
2016-12-08 09:11:54 -03:00
David Capello
a528a1e7b4 Merge branch 'fix-render-bug' into beta 2016-12-07 17:06:23 -03:00
David Capello
c3c664874d Fix bug where selection tools don't show active layer
Bug introduced in 26b1a2ebb4
2016-12-07 17:05:31 -03:00
David Capello
1e4f846e1b Merge branch 'master' into beta 2016-12-07 14:41:28 -03:00
David Capello
8f07b0af33 Fix keyboard handling on Allegro back-end
This is because we have changed the scancodes in the she layer.
2016-12-07 14:37:33 -03:00
David Capello
763c9ce957 Fix linking on Windows with static cmark library 2016-12-07 12:45:39 -03:00
David Capello
dc19c4b589 Merge branch 'master' into beta 2016-12-07 12:14:28 -03:00
David Capello
09ee71dede Fix reducing background layer bounds on indexed mode after applying a filter 2016-12-07 11:55:56 -03:00
David Capello
315584d819 Close toolbar popup when the document is closed 2016-12-07 11:12:19 -03:00
David Capello
0c8b5c6a4f Fix crash when copying & pasting removed layers
If we Ctrl+C a set of layers, then we remove some of those layers, and
Ctrl+V in other document, the program will crash.
2016-12-07 09:34:29 -03:00
David Capello
f950e2e787 Fix bug entering multiple times to PlayState
If we pressed Enter key when we were scrolling in the
PlayState (e.g. with middle-click), we could stack other PlayState, and
so on.
2016-12-07 08:40:08 -03:00
David Capello
573a1d5791 Add support to show text files in the BrowserView 2016-12-07 08:39:41 -03:00
David Capello
2e347a1229 Update BrowserView tab title when we visit other file 2016-12-07 08:39:14 -03:00
David Capello
b5679a3f82 Add navigation through .md files on BrowserView 2016-12-07 01:12:54 -03:00
David Capello
12726fedf2 Improve BrowserView to show all links in .md files 2016-12-06 21:30:46 -03:00
David Capello
fec4e27d8e Fix widget border in drawTextBox() 2016-12-06 21:29:14 -03:00
David Capello
6abe417328 Update zlib library URL 2016-12-06 21:26:04 -03:00
David Capello
4dcbb8f5de Remove reference to fli.txt file 2016-12-06 16:34:24 -03:00