David Capello
9bd25d2f57
Improve error handling in ase_file_read_cel_chunk() to continue reading the whole file when an invalid zlib chunk is found.
...
Related to issue #102 .
2012-05-03 00:52:39 -03:00
David Capello
9b4621be31
Add FileHandle to avoid manual FILE handle management.
2012-05-03 00:32:40 -03:00
David Capello
97154d5fbc
Avoid opened FILE handlers after exceptions in AseFormat member funtions.
2012-05-03 00:09:31 -03:00
David Capello
ade6b0d333
Fix a bug trying to select a color index < 0 when there is no color selected in the palette view.
2012-05-02 23:09:56 -03:00
David Capello
b30d28e920
Use Palette::MaxColors instead of 256.
2012-05-02 23:09:34 -03:00
David Capello
27103a231f
Convert group_button widget to ButtonSet class.
...
- Removed radio_button_new() function.
2012-04-19 20:33:57 -03:00
David Capello
616ec40656
Remove JI_SIGNAL_ENTRY_CHANGE signal.
2012-04-18 22:57:36 -03:00
David Capello
d07cd55245
Remove unused signals.
2012-04-15 16:08:15 -03:00
David Capello
48f0a88d66
Remove jwidget_free() function.
2012-04-15 16:04:03 -03:00
David Capello
44856735be
Fix problem using Alt+mnemonic when the focus is inside a Entry widget.
2012-04-15 15:56:47 -03:00
David Capello
8a1295c025
Replace jwidget_check_underscored with Widget::isScancodeMnemonic().
2012-04-15 15:43:07 -03:00
David Capello
f2f6ba9fca
Move jclipboard functions to gui::clipboard namespace.
2012-04-15 15:24:26 -03:00
David Capello
7d0bed8341
Refactor jmanager to gui::Manager class.
2012-04-15 15:21:24 -03:00
David Capello
1f787e0dcb
Replace jmanager_*timer functions with a Timer class.
2012-04-07 13:12:01 -03:00
David Capello
777e276632
Refactor: Change jseparator widget to Separator class.
2012-04-05 23:34:42 -03:00
David Capello
38b5e35351
Refactor: jtextbox widget to TextBox class.
2012-04-05 23:28:05 -03:00
David Capello
f6f6225b1a
Minor changes in box.cpp and image_view.cpp
2012-04-05 23:21:31 -03:00
David Capello
46bc974d3b
Refactor: Convert jlistbox and jlistitem to ListBox and ListBox::Item classes.
2012-04-05 23:19:32 -03:00
David Capello
aa0555e662
Rename panel widget to Splitter class.
2012-04-05 19:39:09 -03:00
David Capello
390c0136ad
Update version of gui.xml file.
2012-04-05 19:35:14 -03:00
David Capello
f8f52f75fa
Refactor: replace jwidget_magnetic/expansive/decorative/focusrest with member functions of Widget class.
2012-04-05 19:00:19 -03:00
David Capello
37d9a3d636
Vesion 0.9.2-dev
2012-04-05 18:14:41 -03:00
David Capello
55a4002ec5
Add posibility to scroll by-tiles using Ctrl+arrow keys (Paul Pridham idea).
...
+ Added ScrollCommand.
2012-04-04 00:49:13 -03:00
David Capello
0ac28c69f0
Update loadpng code from its latest version from Allegro SVN repository (new license: zlib).
2012-03-24 11:55:26 -03:00
David Capello
ec2ae4c261
Minor changes.
2012-03-23 11:44:10 -03:00
David Capello
2fc722a30b
Add new source distribution in dist.sh without 3rd party code.
2012-03-22 19:03:58 -03:00
David Capello
58f5bbd4c0
Don't compile raster/path.cpp so libart header files are not required.
2012-03-22 19:01:05 -03:00
David Capello
799065ccb5
Now internal libpng header files are not required anymore by loadpng and png_format.cpp.
2012-03-22 19:00:20 -03:00
David Capello
cb3fc67c0d
Include CheckCSourceCompiles module to use CHECK_C_SOURCE_COMPILES.
2012-03-22 15:12:26 -03:00
David Capello
ea7b4de213
Merge branch 'master' of git@github.com:dacap/aseprite.git
2012-03-22 15:08:13 -03:00
David Capello
2ae5fc613b
Fix problems with 100% CPU usage, thanks to Tobias Hansen (issue #47 ).
...
Based on the Gernot Frisch idea.
2012-03-22 15:07:03 -03:00
David Capello
25884b0fb7
Add base::Chrono class.
2012-03-22 15:04:36 -03:00
David Capello
fffc32548a
Implement base::this_thread::yield & sleep_for().
2012-03-22 15:04:08 -03:00
David Capello
ad9a5fde7a
Add run_non_ui_unittests target to run tests that doesn't require X11 environment (thanks to Tobias Hansen).
2012-03-22 14:55:28 -03:00
David Capello
dfb43845a9
Updated src/allegro/src/config.c isn't necessary from Allegro 4.2.0.
...
ASEPRITE requires the following patch in config.c is:
http://alleg.svn.sourceforge.net/viewvc/alleg?view=revision&revision=4660
2012-03-22 13:31:40 -03:00
David Capello
c2874a063c
Avoid "Multiple Entries" label in Palette Editor when we mean "No Entry".
2012-03-21 23:57:52 -03:00
David Capello
d752d19742
Fix problem pressing some keyboard shortcuts in popup windows.
...
With this change we fix problems copying & pasting values in ColorSelector
text entries.
2012-03-21 23:14:11 -03:00
David Capello
0b19612860
Fix problem dropping files when a popup window is opened.
2012-03-21 19:56:39 -03:00
David Capello
c47ac99d86
Add ability to copy & paste colors with the palette editor.
2012-03-21 19:22:32 -03:00
David Capello
6249d617d8
Add Palette::MaxColors constant.
2012-03-21 19:22:11 -03:00
David Capello
b2288cc7fb
Add a TODO item about commands.
2012-03-21 18:23:58 -03:00
David Capello
35fa47970e
Change HSV to HSB to match the ColorSelector widget.
2012-03-21 14:42:12 -03:00
David Capello
f0ae57836f
Minor change in about.
2012-03-21 14:41:48 -03:00
David Capello
1ed9b8782f
Fix problem of "multiple entries" selected in ColorBar::onColorButtonChange() when the user picks the same color.
2012-03-21 14:41:37 -03:00
David Capello
6bd39e0aff
Make Widget::update_region member private.
...
+ Renamed jwidget_flush_redraw to Widget::flushRedraw().
2012-03-20 16:24:46 -03:00
David Capello
01b6afb531
Replace jwidget_scroll with Widget::scrollRegion().
2012-03-20 16:13:37 -03:00
David Capello
2e87676d70
Now Shift+V works correctly when we are moving pixels.
2012-03-20 14:41:20 -03:00
David Capello
a27d1d3eeb
Remove deprecated dialogs: drawtext.cpp, playfli.cpp, repo.cpp.
2012-03-20 13:23:59 -03:00
David Capello
f1180e7a71
Fix issue #89 "Menu key causes crash".
...
We've to check the keycode returned by readkey(), it must be in
the [0,KEY_MAX) range.
2012-03-19 21:05:04 -03:00
David Capello
7771d3fb17
Fix issue #82 "visible artifacts while dragging selection".
...
Also improved the redrawing of the moved selection (redrawing
only the selection bounds instead of the whole sprite).
+ Added TransformHandles::invalidateHandles;
+ Added Widget::invalidateRect(const gfx::Rect&);
2012-03-19 20:48:08 -03:00