David Capello
c35c258bd5
Fix problems compiling on Linux with GCC.
2011-07-27 23:08:54 -03:00
David Capello
ce14cbfd89
Fix src/app/check_update.cpp compilation error with the renamed cfg.h to ini_file.h.
2011-07-27 22:21:30 -03:00
David Capello
bcd36f6dc8
Merge remote-tracking branch 'origin/master'
2011-07-27 22:16:53 -03:00
David Capello
04c675bd15
Merge branch 'ft-updater'
2011-07-27 22:10:49 -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
d22d46fd2b
Add ENABLE_UPDATER flag to disable the automatic updater.
2011-07-27 21:26:22 -03:00
David Capello
4fac1f119b
Remove requirement of ddraw.lib library, so we can compile with the latest DirectX SDK.
2011-07-26 23:42:14 -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
David Capello
c7cf74228b
Add LinkLabel::get/setUrl().
2011-07-20 21:51:39 -03:00
David Capello
4e2c4f530d
Fix problem where aseprite.ini is not saved when flush_config_file() is called.
...
+ Flush "config_override" file in flush_config_file().
2011-07-19 21:37:57 -03:00
David Capello
a5056e1551
Fix issue #29 : error using a non-const reference as parameter
...
in NullableIterator::setIterator() when a const-reference is the
expected type.
2011-07-10 00:44:48 -03:00
David Capello
7c02a016c8
Add Sha1 class to base-lib.
2011-07-10 00:24:19 -03:00
David Capello
8cc1e0e7b7
Fix bug with dead FileItems in fileitems_map.
2011-07-06 22:03:58 -03:00
David Capello
57dd972ce5
Replace JList and JLink usage in filesel.cpp with FileItemList and NullableIterator.
2011-07-06 21:59:49 -03:00
David Capello
c2881f24c9
Fix problem in PopupFrame::onProcessMessage() where key-pressed events
...
are lost when the popup frame is focused.
2011-07-01 00:25:51 -03:00
David Capello
96d263f50e
Move src/core/ to src/
...
+ Renamed cfg.cpp to ini_file.cpp
2011-06-29 22:51:46 -03:00
David Capello
c6e6d3fe95
Avoid to start with both colors selected (FG & BG) at the start in the color-bar.
2011-06-27 21:43:33 -03:00
David Capello
e5b2a9c5e7
Modify PaletteView selection, replacing the "rectangle-range" with
...
the normal behavior for Ctrl+click: select several palette entries
one by one.
2011-06-26 19:07:19 -03:00
David Capello
2689d2fbb9
Add a label to show the selected palette entry in the Palette Editor.
2011-06-25 21:28:36 -03:00
David Capello
9b658ad24b
Generate a palette change event when a color entry is modified
...
using the Palette Editor (and set_current_palette() is not used).
2011-06-25 20:18:24 -03:00
David Capello
e74bebcc79
Listen to palette changes in ColorSelector.
2011-06-25 20:17:48 -03:00
David Capello
12de365e6f
Fix problem regenerating the recent file menu.
...
+ Added Widget::deferDelete().
+ Removed schedule_rebuild_recent_list().
+ Renamed app_realloc_recent_list() to app_rebuild_recent_list().
+ Removed JM_DEFERREDFREE message, MessageDefFree struct, and
jwidget_free_deferred() function.
2011-06-25 19:10:31 -03:00
David Capello
7471229840
Fix a bug using fop->format when it's NULL in fop_free() (introduced in previous commit).
2011-06-25 17:29:58 -03:00
David Capello
c32551db64
Fix issue #9 : GIF files are loaded as Indexed images now.
...
+ Added support for non-zero transparent index.
+ Added fop_post_load() to do post-load processing which need user-interaction.
+ Added FileFormat::onPostLoad/onDestroyData members.
+ Added Document::addSprite().
2011-06-25 17:12:08 -03:00
David Capello
ff481003c8
Now right-clicking a tab shows a popup-menu with useful options for the document.
...
+ Added OpenInFolder and OpenWithApp commands.
+ Added Launcher::openFolder.
+ Added document_tab_popup_menu.
2011-06-25 14:28:50 -03:00
David Capello
e281fc4a41
Add OVERRIDE in JpegFormat::onGetFormatOptions declaration.
2011-06-23 22:16:05 -03:00
David Capello
92a7b29e60
Add net-lib (HttpRequest/Response classes).
2011-06-12 10:50:30 -03:00
David Capello
68fde07334
Add base::Version class.
2011-06-04 10:43:24 -03:00
David Capello
7e6d25db88
Add curl library source code.
2011-06-02 21:03:03 -03:00
David Capello
5361d22879
Add button to disable mini editor.
2011-04-30 16:55:22 -03:00
David Capello
0227467da5
Minor changes (C style comments to C++ style).
2011-04-30 15:31:08 -03:00
David Capello
132e246ebf
Fix several menu glitches.
...
+ Fixed issue #10 (Alt+sequence of underlined letters is working now).
+ Close the whole menu hierarchy when Alt key is released and then
pressed again.
+ Close all menus when a command is executed.
2011-04-30 15:31:07 -03:00
David Capello
305a824d72
Add PaintFlags to SelectBoxState editor state.
...
The SelectBoxState::PaintGrid will be used for the future "import sheet" command.
2011-04-30 15:31:06 -03:00
David Capello
b06c6719c8
Fix problem closing the last "normal" editor (because the existence of the new "mini" editor).
2011-04-30 15:31:05 -03:00
David Capello
5be14417f3
Convert menu widgets to Menu, MenuItem, MenuBox, and MenuBar classes.
2011-04-30 15:31:05 -03:00
David Capello
d85305322d
Fix IcoFormat::onLoad() clearing the image as first step
...
because sometimes some pixels are not set.
2011-04-30 15:31:04 -03:00
David Capello
bda7f6c31d
Add DropDownButton widget.
2011-04-30 15:31:03 -03:00
David Capello
7260fa20f9
Fix compilation of unit tests on Linux with pthreads.
2011-04-28 22:32:37 -03:00
David Capello
b9cefbe32a
Fix objects_container_impl_unittest.
2011-04-28 22:32:23 -03:00
David Capello
cf58f35751
Fix EditorPreRenderImpl() ctor (reported by Nguyen Michael).
2011-04-28 20:49:02 -03:00
David Capello
a0db1deeee
Fix SelectBoxState::onSetCursor() when the user is dragging a ruler.
2011-04-21 18:42:56 -03:00
David Capello
fc2fd9fdfd
Rename SelectTileState to SelectBoxState.
2011-04-21 18:30:29 -03:00
David Capello
ef4ce8a7f2
Now when an entry box in "Canvas Size" is modified, the rulers are moved.
2011-04-21 18:01:21 -03:00
David Capello
312cab0902
Rename some variables in merge_zoomed_image() just to improve readability.
2011-04-21 17:42:14 -03:00
David Capello
210e33f76a
Improve "Canvas Size" command to show rulers to change the canvas size.
...
+ Added EditorDecorator and EditorState::getDecorator().
+ Added EditorPreRender and EditorPostRender classes.
+ Added Image::rectblend and image_rectblend functions to draw
transparent rectangles.
+ Added SelectTileState and Ruler classes.
2011-04-21 17:39:43 -03:00
David Capello
6293161028
Add "default state" to the editor.
...
+ Converted to shared pointer (EditorStatePtr) the current/default state
of the editor to simplify memory management of states.
2011-04-21 17:29:43 -03:00
David Capello
5bbf0140cd
Now "closewindow" attribute works for <button> widget when it isn't inside a window.
2011-04-21 17:17:16 -03:00
David Capello
9e252f992f
Modify Editor::drawGrid() to paint the grid inside the image's bounds.
2011-04-20 23:17:05 -03:00
David Capello
ac74679cc2
Add Editor::changePreferredSettings() to fix problems with mini editor
...
changing the preferred document settings (scroll+zoom).
2011-04-20 20:48:22 -03:00
David Capello
4a4db10ea8
Add some checks in move_focus() for null pointers in gui/manager.cpp.
2011-04-10 20:17:04 -03:00
David Capello
5380877c4a
Refactor Editor class to use a state design pattern.
...
+ Added EditorState and derived classes (StandByState, DrawingState, etc.)
+ Added StatusBarListener.
2011-04-10 20:15:17 -03:00
David Capello
ef0cbf0e94
Fix bug in Editor::drawMaskSafe() where mask in hidden editors were drawn.
2011-04-06 22:09:01 -03:00
David Capello
8a40228ab3
Change default screen scale to 2x2 by default in all platforms.
2011-04-06 20:15:36 -03:00
David Capello
18fa17c5a9
Remove "using namespace tools;" from editor.cpp.
2011-04-03 16:23:09 -03:00
David Capello
db4fc75f2a
Set minifont for "Edit Pal" button and convert it to check-box behavior.
2011-04-02 23:10:02 -03:00
David Capello
e7d12f9062
Change the title of mini-editor from "Preview" to "Mini-Editor".
2011-04-02 21:00:08 -03:00
David Capello
b9f8c201c4
Better support for different zoom levels in the mini-editor.
2011-04-02 20:58:51 -03:00
David Capello
536d67566f
Add support to resize the pinned popup frames.
2011-04-02 20:43:31 -03:00
David Capello
0bcb44c491
The mini-editor cannot be the current editor.
2011-04-02 20:43:19 -03:00
David Capello
70e76380aa
Add mini-editor to see 1px preview when you zoom in.
...
+ Added EditorView widget.
2011-04-02 18:12:41 -03:00
David Capello
d547a05f4d
Add EditorListeners.
2011-04-02 15:47:44 -03:00
David Capello
d6181d838d
Rename ITabsHandler to TabsDelegate.
2011-04-02 14:57:40 -03:00
David Capello
ff897fea34
Remove JMessage and jmessage union, use Message* and Message instead.
2011-04-02 13:14:07 -03:00
David Capello
19ea79b41e
Add minifont in SkinTheme for color buttons.
2011-04-02 11:45:43 -03:00
David Capello
450e97ef92
Move data/skins/default_skin to data/skins/default.
2011-04-02 10:53:52 -03:00
David Capello
c5801760b6
Use PNG for fonts instead of PCX.
2011-04-02 10:50:59 -03:00
David Capello
1fd011c20b
Move everything related to tools in "tools" namespace.
...
+ Splitted tools/tool.h|cpp in several files (ink.h, intertwine.h, etc.).
2011-04-02 10:47:03 -03:00
David Capello
82f5345ace
Add ToolLoopManager::Pointer abstraction to avoid using JMessage in src/tools/ dir.
2011-04-01 22:48:58 -03:00
David Capello
9d744504a6
Rename some Editor's member functions to camelCase.
2011-04-01 22:23:38 -03:00
David Capello
4e567d72c7
Remove Editor's decorators (they were never used).
2011-04-01 22:11:07 -03:00
David Capello
f3b3664148
Add Widget::broadcastMouseMessage() to customize the list of targets
...
to receive mouse messages.
2011-03-31 00:18:28 -03:00
David Capello
dc58651f79
Remove UndoHistory::undo_* member functions to use Undoers directly
...
and to avoid undo-lib <-> undoers circular dependency.
2011-03-30 18:27:52 -07:00
David Capello
5576ea7e7c
Remove "typename" from get_neighboring_pixels() params.
2011-03-30 16:41:49 -07:00
David Capello
d57677d80b
Remove jwidget_find_name() function.
2011-03-29 21:42:21 -03:00
David Capello
0bd6e19093
Replace jwidget_add_child/remove_child/replace_child with Widget's methods.
2011-03-29 21:35:17 -03:00
David Capello
c7bf667f0d
Add VBox, HBox, and BoxFiller micro-classes.
2011-03-29 21:13:08 -03:00
David Capello
3ad44e3004
Add a "pin" in color selectors to make the popup window floating.
...
+ Added Frame::hitTest() and Frame::onHitTest().
+ Added LookType enum for SkinProperty.
2011-03-29 21:07:37 -03:00
David Capello
236ee6bb7b
Implement duplicate sprite with all layers (it was removed
...
temporally with the introduction of Document class).
2011-03-28 23:31:16 -03:00
David Capello
4aa039d40b
Fix reversed logic in Document::duplicate().
2011-03-28 23:20:03 -03:00
David Capello
a17c767e65
Remove all public fields of Cel adding accessors.
2011-03-28 00:24:27 -03:00
David Capello
9077ab8357
Implement duplicate sprite with flatten layers (it was removed
...
temporally with the introduction of Document class).
2011-03-27 23:21:22 -03:00
David Capello
341e298a6e
Fix problems showing incorrect values in RGB/HSB entries in color selector.
2011-03-27 22:15:33 -03:00
David Capello
92266b2a68
Implement duplicate layer (it was removed temporally with the introduction
...
of Document class).
2011-03-27 22:08:19 -03:00
David Capello
e2a6ab7501
Show HSB instead of HSV in color selectors.
2011-03-27 22:02:59 -03:00
David Capello
da491a601b
Fix showing layer buttons in the status-bar overlapped by the
...
transparent-color selector when we're moving pixels.
2011-03-27 21:19:26 -03:00
David Capello
363f753929
Fix bug #3050538 avoiding using the global "window_action" flag.
2011-03-27 21:15:56 -03:00
David Capello
df01255b51
Use OVERRIDE macro in more member functions (onProcessMessage, etc.).
2011-03-27 20:42:16 -03:00
David Capello
682e7152b7
Replace UndoHistory::undo_int/data/double methods with new safe-undoers.
...
+ Added SetCelFrame/Opacity/Position, SetMaskPosition, SetStockImgType,
and SetLayerFlags undoers.
+ Finally removed the Layer::flags_addr() atrocity.
+ Removed RawData undoer.
+ Renamed SetImgType to SetSpriteImgType.
2011-03-27 18:15:00 -03:00
David Capello
b40a20e8aa
Move src/widgets/editor.h to src/widgets/editor/editor.h.
2011-03-27 14:54:37 -03:00
David Capello
8b19d36e51
Add ContextFlags to simplify Command::onEnabled() implementations.
2011-03-27 14:51:02 -03:00
David Capello
a21d15b4ef
Improve Document::lock() with an enum as parameter instead of a bool.
2011-03-27 00:15:08 -03:00
David Capello
eee8e17fcf
Fix problems drawing the editor cursor when several JM_DRAWs messages were received.
2011-03-27 00:02:20 -03:00
David Capello
be7aa1009d
Fix bug in ink_hline8_blur().
2011-03-26 23:55:59 -03:00
David Capello
cb0e3e9db1
Fix bug in BlurGetPixelsDelegateIndexed::operator() in ink_processing.h.
2011-03-26 23:51:55 -03:00
David Capello
6395ad3817
Write-lock the Document only when we press OK button
...
in LayerProperties, CanvasSize, LoadMask, and SaveFile commands.
2011-03-26 23:41:37 -03:00
David Capello
e6b1b1ffa8
Remove LayerImage(const LayerImage*, Sprite*) ctor.
2011-03-26 23:23:50 -03:00
David Capello
687e2a0f4f
Fix UndoHistory to adjust m_diffCount correctly.
2011-03-26 23:20:45 -03:00
David Capello
ef1a3194f0
Minor changes in UndoTransaction to avoid throwing exceptions from its dtor.
2011-03-26 23:05:24 -03:00
David Capello
74c21c3abb
Move FilterManagerImpl::apply() to private section.
2011-03-26 22:34:12 -03:00
David Capello
d95919beb5
Add a simple DeveloperConsole for debugging purposes (F11 key).
2011-03-26 20:43:43 -03:00