Commit Graph

1216 Commits

Author SHA1 Message Date
David Capello
fa4d98d599 Fix a issue with Editor's slots: when an Editor is destroyed, we have to remove all slots from signals. 2010-11-28 15:42:29 -03:00
David Capello
7f425c8acb signal.h needs remove_from_container.h. 2010-11-28 15:40:35 -03:00
David Capello
5059f39023 Minor changes in jmenu.cpp/h (JWidget -> Widget*, etc.) 2010-11-28 14:35:07 -03:00
David Capello
2e0c961bef Add serialization.cpp to base lib. 2010-11-08 20:14:53 -03:00
David Capello
67e67022fa Fix base/thread.h header guard name. 2010-11-06 21:22:25 -03:00
David Capello
db71acbb16 Add support for 7za.exe in dist.sh. 2010-11-06 21:20:02 -03:00
David Capello
581134c303 Remove path_new/free functions. 2010-11-06 20:40:54 -03:00
David Capello
1283c9d950 Replace Path's name from char* to std::string. 2010-11-06 20:40:03 -03:00
David Capello
18b0f903d7 Pen now uses a std::vector<PenScanline> instead of a raw pointer to PenScanline[] array. 2010-11-06 20:31:30 -03:00
David Capello
d0a694cbb1 More priority for GUI thread, it is necessary for better GUI response in presence of background threads (this change was removed in commit 21957f2164). 2010-11-06 20:15:11 -03:00
David Capello
982a171995 Save the mask_color field in the undo raw image data. 2010-11-06 19:10:00 -03:00
David Capello
97f04c7a79 Copy the mask_color in image_crop() function. 2010-11-06 19:09:29 -03:00
David Capello
6120c38b52 Fix ToolLoopImpl() to clear with mask_color the image used to draw. 2010-11-06 19:09:04 -03:00
David Capello
d4f67cdb73 Modify FileOp structure to use std::string and std::vector<> instead of raw pointers and JList. 2010-11-06 11:59:03 -03:00
David Capello
6ff0fc038b Remove deps.sh as now dependencies are handled by CMake build system. 2010-11-04 22:02:10 -03:00
David Capello
c78afea9a2 Remove references to Vaca namespace and old vaca source files. 2010-11-04 22:01:47 -03:00
David Capello
90708c595e Remove unused local variable in init_directx_window(). 2010-11-04 21:55:47 -03:00
David Capello
befd6a3766 Return 0 when WM_MOUSEMOVE is processed. 2010-11-04 21:55:02 -03:00
David Capello
8abc967397 Use CreateThread instead of _beginthread() to create the wnd_thread_proc. 2010-11-04 21:52:35 -03:00
David Capello
9001ce9877 Change Win32 window class name to "ASEWindowClass". 2010-11-04 21:51:34 -03:00
David Capello
21957f2164 Remove related stuff for non-background switch mode (in Allegro source code for Win32). 2010-11-04 21:51:09 -03:00
David Capello
b539bd933c Return true when a key is used to select a tool. 2010-11-04 21:48:36 -03:00
David Capello
742cf18237 As now the window can be resized in all platforms we can remove "Configure Screen" option. 2010-11-04 21:47:54 -03:00
David Capello
0139524c15 Keep only DirectX Windowed driver (no fullscreen and no GDI). 2010-11-04 21:43:36 -03:00
David Capello
b59b14444e Fix a bug when calling Editor::editor_set_sprite(NULL).
The editor_clean_cursor() function is called from
editor_set_scroll() when no sprite is selected.
2010-11-01 21:07:56 -03:00
David Capello
24c2bf40e3 Add asserts to _al_win_kbd_handle* functions(). 2010-11-01 21:05:54 -03:00
David Capello
177f089e9a Minor changes in jmessage to debug JM_KEYPRESSED/RELEASED messages. 2010-11-01 21:05:25 -03:00
David Capello
e55b757aad Fix windows keyboard handling when ToUnicode fails.
Introduced in the cumbersome commit 27ba604797.
2010-11-01 21:04:50 -03:00
David Capello
b1299d7576 Remove Allegro customization functions for HWND in Windows port. 2010-10-31 22:08:06 -03:00
David Capello
7768f2c45c Fix memory leaks (old "screen" bitmap) when resizing the window. 2010-10-31 21:32:06 -03:00
David Capello
60cb43d18c Add information about patches for resize support in Allegro source code. 2010-10-31 16:16:14 -03:00
David Capello
51c04f9d8c Add resize support to Mac OS X port. 2010-10-31 17:05:11 -02:00
David Capello
edd0e62241 Move "-arch i386" flag for Apple port in main CMakeLists.txt file. 2010-10-31 12:54:23 -02:00
David Capello
07fceb15f7 Remove config.cpp because the config.c in src/allegro already has my patch for override_config_file(). 2010-10-31 00:32:37 -03:00
David Capello
920f6275d5 Add resize support for X11 port. 2010-10-30 20:30:47 -07:00
David Capello
9562e3e714 Add resize support to Allegro library (Windows port is ready).
+ Add acknowledge_resize() function.
+ Add set_resize_callback() function and RESIZE_DISPLAY_EVENT structure.
2010-10-30 20:37:31 -03:00
David Capello
6cfc3981fb Use set_close_button_callback instead of set_window_close_hook (which is deprecated). 2010-10-30 20:31:34 -03:00
David Capello
579d652f07 Use _keyboard_installed and _mouse_installed flags to trigger keyboard and mouse events in directx_wnd_proc(). 2010-10-30 19:44:39 -03:00
David Capello
623eab27a8 Do not process keyboard shortcuts (e.g. tools shortcuts) when a foreground window is on top. 2010-10-29 11:26:32 -03:00
David Capello
27ba604797 Fix call to ToUnicode() in _al_win_kbd_handle_key_press().
This bug was introduced in commit f09318ffa7.
2010-10-29 11:19:03 -03:00
David Capello
20b535bd9c Add customizable quicktools keyboard shortcuts to the editor (feature requested by Paul Pridham). 2010-10-27 21:04:06 -03:00
David Capello
3a8711e6a6 Add GuiXml class to avoid duplicated code and loading gui.xml file several times. 2010-10-27 21:04:05 -03:00
David Capello
b09e560e04 Add Editor::getCurrentEditorTool() function. 2010-10-27 21:04:04 -03:00
David Capello
2aab911196 Add destroy_default_font() to avoid memory leak of the default font. 2010-10-26 15:23:04 -07:00
David Capello
3683e778d1 Fix memory leak in StatusBar::onProcessMessage(). 2010-10-26 15:22:33 -07:00
David Capello
51e558e1be Add jmouse_release/capture functions. 2010-10-26 15:22:17 -07:00
David Capello
7341d3b091 Fix a problem using uninitialized values (scroll_x/y) in jview (detected with valgrind). 2010-10-26 14:16:11 -07:00
David Capello
6a48cdcaa2 Fix possible bug in tok_fgets() processing an empty line. 2010-10-26 14:16:11 -07:00
David Capello
e7db41ab66 Minor style changes. 2010-10-26 14:16:11 -07:00
David Capello
c1598c01e6 Fix dirty for RGB and grayscale images (bug introduced in commit 4c5a0177cc). 2010-10-26 18:14:25 -03:00