Sam Lantinga
7f0983054d
Now that the fullscreen wm state works, enable the video modes. Yay! :)
2010-07-14 01:02:18 -07:00
Sam Lantinga
985f9df610
Fixed setting fullscreen and maximized states for windows that haven't been mapped yet.
2010-07-14 00:56:08 -07:00
Sam Lantinga
fdac60bd46
Let the window manager know we're a "normal" window
2010-07-14 00:28:15 -07:00
Sam Lantinga
b60cbd560d
Much better debugging of property changes
2010-07-14 00:08:46 -07:00
Sam Lantinga
c62b2a5995
Turned off debug spew
2010-07-13 23:14:00 -07:00
Sam Lantinga
983b11625f
Lots of prep for the "real" way to support fullscreen mode on modern window managers.
...
Unfortunately, this doesn't work. I also noticed that maximizing doesn't work as well. Also xprop hangs when trying to list properties of SDL windows.... ???
2010-07-13 23:11:10 -07:00
Sam Lantinga
d38d6f197a
Use a better switch for the clipboard property format
2010-07-13 22:39:46 -07:00
Sam Lantinga
71fdaafe30
Fixed compile warnings
2010-07-13 22:26:50 -07:00
Sam Lantinga
c7f81eb3ca
Fixed compile warning
2010-07-13 22:25:30 -07:00
Sam Lantinga
f4c7de6bd9
Fixed compile warning
2010-07-13 22:24:46 -07:00
Sam Lantinga
708df4b867
Fixed compile warning.
2010-07-13 22:22:43 -07:00
Eli Gottlieb
20c4883dee
Numerous bug fixes that keep testeyes from crashing and dying.
2010-07-14 00:49:28 -04:00
Jim Grandpre
987edb15b3
Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS.
2010-07-13 18:31:09 -04:00
dewyatt
34d5cdc704
Added SDL_utf8strlcpy to copy at UTF-8 character boundaries.
...
Changed SDL_SendKeyboardText and SDL_SendEditingText to use SDL_utf8strlcpy.
2010-07-13 15:05:45 -04:00
Ryan C. Gordon
8d6d1c0e56
Check configure-defined macro before doing _anything_ with XShape.
2010-07-13 02:43:49 -04:00
Ryan C. Gordon
7ae528ef48
Make sure we have XShape symbols before we allow a shaped window.
2010-07-13 02:26:50 -04:00
Ryan C. Gordon
21dfc93ebd
Add new X11 symbols that XShape support needs to the dynamic function list.
2010-07-13 02:12:14 -04:00
Sam Lantinga
a1e6d1c112
Daniel Wyatt 2010-03-26 14:52:53 PDT
...
If a non-console Windows SDL program has a non-quoted 0th argument followed
optionally by more non-quoted arguments and then by an empty quoted argument,
it will crash (attempts to dereference a NULL pointer).
In other words, something like this:
test.exe [non-quoted args] "" [...]
The fix is a one-liner in ParseCommandLine() of
src/main/win32/SDL_win32_main.c.
You can test this with any non-console SDL program on windows like this:
1) Open a console (cmd.exe)
2) Launch the program in one of the following ways:
program ""
program arg1 ""
program arg1 "" arg3
These will not cause a crash:
"program" [...]
program "arg1" ""
When a Windows program is launched from Explorer, its 0th argument seems to
always be quoted, so it won't be a problem in that case.
I've tested this on Windows XP SP3 and Windows 7.
2010-07-12 22:08:50 -07:00
Sam Lantinga
22a37911dd
Merged changes from the main SDL codebase
...
--HG--
rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
2010-07-12 21:09:23 -07:00
Jim Grandpre
08bce778c8
Added Iphone support (untested)
2010-07-12 22:03:25 -04:00
dewyatt
7e8c791089
Changed Start/StopTextInput back to not take any parameters.
...
We call SDL_GetKeyboardFocus internally now.
2010-07-12 14:17:43 -04:00
dewyatt
3d5a6d8597
Initial IMM implementation.
...
IME input should now work fairly well.
2010-07-12 11:33:27 -04:00
Sam Lantinga
c792268d84
Implemented X11 system window manager info for SDL 1.3. It's simple. Really.
2010-07-12 01:20:57 -07:00
Sam Lantinga
18f003c169
Made it possible to switch the text format in one place
2010-07-12 00:49:26 -07:00
Sam Lantinga
2e99ef1dfc
Added X11 clipboard support.
...
As far as I know there isn't any real way to tell when the clipboard contents have changed without polling them, so I didn't implement the clipboard update event on X11.
2010-07-12 00:36:55 -07:00
Sam Lantinga
2d945be8fc
Fixed compile warnings
2010-07-12 00:35:24 -07:00
Sam Lantinga
0363b757a8
Fixed compile warnings
2010-07-12 00:35:14 -07:00
Sam Lantinga
57180a1c7e
Fixed compiler warning
2010-07-12 00:33:24 -07:00
Eli Gottlieb
c1483580f5
Fixed a pair of syntax errors.
2010-07-11 17:11:22 -04:00
Jim Grandpre
99ed0692e1
Added some files I had previosuly missed
2010-07-11 01:15:39 -04:00
dewyatt
2f1a5c4653
Changed StopTextInput to take an SDL_Window parameter.
2010-07-10 13:15:47 -04:00
Eli Gottlieb
559963b115
Put in a couple of fixes that I realized hadn't gotten done when I wrote out the SCRUM stuff in TODO. Added SCRUM listings in TODO.
2010-07-09 20:24:44 -04:00
Sunny Sachanandani
40daa46a40
Fix so many things that there is little place in this column to list them all but the result is that blending modes just work now for drawing primitives.
...
Fixes involved:
1. Fix handling of alpha channel when SDL_BLENDMODE_NONE is set.
2. Make xrendercolor use floating-point values for color channels and then convert to 16 bit ints.
3. Fix handling of visuals in SDL_x11modes.c so that a 32 bit ARGB visual is used.
4. Fix the background pixel value in SDL_x11window.c so that the window background has an alpha value of 0xFF and not 0.
2010-07-09 21:36:41 +05:30
Jim Grandpre
746dc79478
Moved $1 Gestures into the SDL Library
2010-07-09 00:50:40 -07:00
Sam Lantinga
ef598b2e7c
Amazingly the Windows code is almost identical to the Mac OS X code. :)
2010-07-08 23:07:34 -07:00
Sam Lantinga
ff0ba0afa5
Added an event when the clipboard is updated, triggered after the window gains the keyboard focus.
2010-07-08 22:54:03 -07:00
Eli Gottlieb
7e0f1f1898
Ported over, to the best of my ability, the code for Win32 shaped windows and patched in the correct C syntax and coding conventions of SDL.
2010-07-08 22:52:49 -04:00
Sam Lantinga
78efa56da5
Updated Xcode project files for clipboard API
...
Fixed generation of SDL_revision.h when hg is in the path set up in .bash_profile
2010-07-08 06:16:27 -07:00
Sam Lantinga
3ff2d236cd
Added Windows clipboard support
2010-07-08 05:43:34 -07:00
Sam Lantinga
a007a28624
Added Mac OS X implementation of clipboard support
2010-07-08 00:35:58 -07:00
Sam Lantinga
3a942c6da3
I missed the Objective C files when updating the copyright date...
2010-07-08 00:03:39 -07:00
Sam Lantinga
c2c15058b1
Simplified clipboard API for sanity's sake.
...
A complete clipboard implementation would support multiple formats that could be queried at runtime, events for when the clipboard contents changed, support for HTML, images, etc. We're not going that crazy, at least for now. :)
2010-07-07 23:54:03 -07:00
Sam Lantinga
988043daa2
First pass at clipboard API, still very much in progress
2010-07-07 23:24:04 -07:00
dewyatt
2beaeb4080
Changed StartTextInput to take an SDL_Window parameter.
2010-07-08 01:35:47 -04:00
Sam Lantinga
987085b1ee
Turn on blending if we're converting from a surface with colorkey enabled
2010-07-07 21:35:44 -07:00
Sam Lantinga
99b869fe2e
Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now)
...
Updated iPhone demos (which build and run again)
2010-07-07 18:58:51 -07:00
Eli Gottlieb
e5592bfb4b
Fixed up shape files as best I can.
2010-07-07 16:20:54 -04:00
Jim Grandpre
874300f89c
Moved Multi finger gesture recognition into the library.
2010-07-07 04:13:08 -07:00
Sam Lantinga
2c5a878c4e
The arguments to main() should be NULL terminated (SuS v3 compliant)
2010-07-06 22:26:03 -07:00
Sam Lantinga
44280ae564
Re-implemented single mouse touches on the iPhone/iPad
2010-07-06 22:08:19 -07:00