Commit Graph

989 Commits

Author SHA1 Message Date
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
David Capello
f09318ffa7 Do not update key_shifts flags anymore in Windows.
Update modifiers in key[] array using GetAsyncKeyState() instead of GetKeyboardState().
2010-10-20 00:12:32 -03:00
David Capello
e1bfbc4f3c Move _al_win_* functs to aintwin.h. 2010-10-20 00:09:12 -03:00
David Capello
3de0da7f93 Move PAINTSTRUCT to WM_PAINT only. 2010-10-20 00:08:07 -03:00
David Capello
b01ebedbd8 Add "Alt" possibility for keyboard shortcuts in gui.xml. 2010-10-20 00:07:48 -03:00
David Capello
39e7fc5fea Do not use key_shifts anymore. 2010-10-20 00:07:27 -03:00
David Capello
9e4972fc53 Remove dependency with DirectInput and delete winput.c file. 2010-10-17 23:43:08 -03:00
David Capello
a877d52048 Modify Allegro to use WM_KEYUP/DOWN messages instead of DirectInput. 2010-10-17 21:55:31 -03:00
David Capello
57b54ad050 Modify Allegro to use WM_MOUSEMOVE instead of DirectInput in the Windows mouse driver. 2010-10-17 20:04:26 -03:00
David Capello
094f0b6e8f Remove FindDSound. Update FindDxxx.cmake files to use DXSDK_DIR variable (as in Allegro 5). 2010-10-17 15:54:26 -03:00
David Capello
f9aa176c09 Remove sound/digi/midi/sample related stuff from Allegro code. 2010-10-17 11:10:18 -07:00
David Capello
1b4ce4cf9b Remove src/allegro/src/linux code. 2010-10-17 10:35:39 -07:00
David Capello
31eb7f3348 Remove unused files from src/allegro/misc/. 2010-10-17 14:19:01 -03:00
David Capello
7d5e78ea94 Remove ASM code from Allegro source. 2010-10-17 14:12:18 -03:00
David Capello
7c3c2bf69e Remove PSP and BeOS configuration from the main CMakeLists.txt 2010-10-17 10:30:45 -03:00
David Capello
c277b26e90 Fix compilation errors with gcc in Mac OS X (void* <-> int conversions). 2010-10-17 00:49:28 -03:00
David Capello
baae56c7d6 Remove thread::id type (to avoid using pthread_t as an unsigned int, which is an opaque pointer really). 2010-10-17 00:41:29 -03:00
David Capello
13bb881151 Remove joystick stuff from Allegro source code. 2010-10-16 23:16:55 -03:00
David Capello
0d4c1dbf9c Remove Allegro GUI related stuff. 2010-10-16 22:48:45 -03:00
David Capello
6aac8ef51d Remove PSP specific lines in Common.cmake. 2010-10-16 21:48:52 -03:00
David Capello
e335ecd66f Add some notes in INSTALL.txt about the supported platforms/compilers. 2010-10-16 21:43:47 -03:00
David Capello
71cc031741 Remove DOS/BeOS/djgpp/QNX/BCC32/Watcom/DMC/PSP stuff from Allegro source code. 2010-10-16 21:42:50 -03:00
David Capello
3b983ca2a6 Remove fixes for rc compiler in MinGW. 2010-10-16 20:45:41 -03:00
David Capello
87d2d5595f Move link flags and other cmake configuration from Allegro's CMakeLists.txt to the main CMakeLists.txt.
Remove all the "modules" stuff from Allegro's CMakeLists.txt
2010-10-16 17:02:12 -03:00
David Capello
3ef3fe3a3f Remove VACA_ALLEGRO definition. 2010-10-16 15:18:06 -03:00
David Capello
948a5e0a5d Add "allegro" library as part of the ASE build process. 2010-10-16 14:30:04 -03:00
David Capello
c6ba92dd0e Add Allegro source code (branch 4.4, svn revision 13829). 2010-10-16 14:12:10 -03:00
David Capello
5f19a15dc1 Simple fix to improve performance in Linux with pixel scaling > x1. 2010-10-14 19:19:40 -07:00