Brecht Van Lommel
9cd197cd82
Fix incorrect OS X warning message in console when using multisample antialiasing
...
about number of samples not matching the requested number.
2013-04-02 19:18:38 +00:00
Campbell Barton
e1a54214bb
code cleanup:
...
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
2013-03-25 02:41:30 +00:00
Ton Roosendaal
70702f78b5
OS X Fullscreen: shortcut now is CTRL + Cmd + F. Is more common, and it keeps
...
Cmd + F for searches.
2013-03-24 14:56:03 +00:00
Campbell Barton
0bc791a34f
Unix/X11 - use RGBA icon (netwm icon), rather then pixmap icon.
2013-03-24 06:23:15 +00:00
Ton Roosendaal
c79b923c1d
Bug fix 34743
...
Mac OS X full screen: the old option to go full screen now didn't hide the
dock/topbar anymore. Also made it use dock auto-hide now, not permanent hide.
2013-03-23 16:08:02 +00:00
Jens Verwiebe
a333ef0100
GHOST_Cocoa, let new fullscreen also appear on 10.6 deployed builds
2013-03-22 23:48:26 +00:00
Ton Roosendaal
6690d2abdd
OSX feature:
...
Blender now supports the 10.7+ "Full screen" mode, which pushes a window to a permanent
other "screen", with animated zoom and sliding.
Available via the icon in window header (right), Apple+F, or "Window" menu in top.
Works much nicer than Blender's own "full screen" option.
Todo: the zoom effect is still draws a bit ugly, because Blender doesn't have "live resize"
yet.
2013-03-22 16:11:00 +00:00
Jens Verwiebe
09a604561d
OSX/tablet: fix a longstanding bug with certain devices and a cornercases
2013-03-20 16:51:50 +00:00
Jens Verwiebe
a207d76709
OSX/pen: change sensivity graduation to a good value found with Sebastian and remove debug print
2013-03-19 12:29:38 +00:00
Jens Verwiebe
05787db61f
OSX/pen: change sensivity graduation so we don't get maximum too early and have more feeling
2013-03-19 11:38:40 +00:00
Campbell Barton
baf3bb37a9
- ghost-sdl builds again.
...
- without python builds without warnings.
- replace MAXFLOAT -> FLT_MAX in some areas, MAXFLOAT overflows (lager then float range).
- add cmake option WITH_GCC_MUDFLAP to enable libmudflap use.
2013-03-16 20:49:46 +00:00
Ton Roosendaal
bee0af076f
Adding include for NULL define in c++
2013-03-08 09:09:48 +00:00
Campbell Barton
6fd187e4df
code cleanup: 0 --> NULL
2013-03-08 06:32:00 +00:00
Jens Verwiebe
f1f702a5ec
OSX/locale: fix compile on older xcode by not using toll-free-bridging, which needs ARC
2013-03-03 20:32:27 +00:00
Jens Verwiebe
1c5f18f42b
OSX: Get the current locale in objC-style
2013-03-02 22:50:46 +00:00
Dalai Felinto
07cd75d7b0
fix for [ #34440 ] motion blur (2d filter) not working in osx
...
thanks Jens Verwiebe for the tests and review.
2013-02-27 22:48:34 +00:00
Brecht Van Lommel
4f3ca854e1
Fix various warnings with clang build, and adjust cmake clang warnings flags
...
to include a few more that gcc is using too.
2013-02-26 21:58:06 +00:00
Campbell Barton
87f1326108
fix for own regression in win32 from r54225, wrong args used in getAllDisplayDimensions()
...
caused bug [#34391 ] Window position not saving correctly for next start-up
2013-02-26 09:33:54 +00:00
Campbell Barton
282e5caecf
is_crappy_intel_card() was checking strstr(glGetString(GL_VENDOR), "Intel") every call,
...
better store in static var.
2013-02-25 12:03:26 +00:00
Antony Riakiotakis
99497d1fa2
Hopefully last round of fixes for all OSes
2013-02-24 14:27:59 +00:00
Antony Riakiotakis
08ff355a3a
Compile fix round 2. Still trying to do this from linux :p
2013-02-24 14:02:45 +00:00
Antony Riakiotakis
610017d0e8
Add bogus stabs for fullscreen window mode for BGE in GHOST. Platform maintainers should change these to replicate X11 behaviour. Also moved X11 implementation to public methods, just like the IWindow interface. Should fix compilation
2013-02-24 13:51:12 +00:00
Campbell Barton
963b1c1b16
fix for own commit r54806 with argument order and multisampling.
2013-02-24 10:50:33 +00:00
Campbell Barton
630a31a900
fix for fullscreen on X11 (used by the BGE, not blender application),
...
changing the screen resolution wasn't still allowed for larger virtual desktops.
added an exclusive option to ghost so the fullscreen window is ignored by the window manager and we get all events. (common practice for games on X11).
2013-02-24 05:05:29 +00:00
Campbell Barton
c42b51ed96
GHOST/X11 - free memory allocated by XF86VidModeGetAllModeLines(),
...
Comment from Zr says this crashes but looks like this was because there was no check if the function failed to allocate to begin with.
2013-02-23 23:15:38 +00:00
Campbell Barton
233b69f0bd
GHOST/X11 support for frequency, from SDL's mode switching.
...
also free the modes when done.
2013-02-23 22:48:16 +00:00
Alexander Kuznetsov
5f830a0863
Applying patch #33709 for dead keys on windows.
...
Thanks Harley Acheson!
2013-02-22 16:42:19 +00:00
Alexander Kuznetsov
7ae17e9ed4
Fix for windows size on win32
2013-02-22 15:57:50 +00:00
Gaia Clary
b30bdd5cb6
Fixing typos
2013-02-22 09:31:42 +00:00
Dalai Felinto
1cdaf1e329
bge bugfix: [ #18967 ] alpha value is never available in the color buffer by Campbell Barton (X11) and me (Win32)
...
This is and old patch (June, 2009). The reason it never made into trunk it's that we (me at least) thought that
it should be optional, as a ui or command-line option.
However, it seems that OSX always have the OpenGL context with alpha enabled. So I think it's consistent to
have the other OSs to follow.
The main usage of this is the BGE (or more specifically people using BGE for TV broadcasting) but I think
pydevs can have their share of fun with it in Blender as well.
2013-02-22 07:37:17 +00:00
Campbell Barton
091d86b9cb
style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.
2013-02-21 17:18:27 +00:00
Campbell Barton
0528162eb6
patch [ #34320 ] Cross compiling with mingw-w64 on ubuntu
...
from Martijn Berger (juicyfruit)
applying since this is only corrects header case which is ignored on windows anyway.
2013-02-19 12:05:38 +00:00
Campbell Barton
fb01dcea5f
move atoms into their own struct and make all names match the original atom names, there were too many and mixed in with the classes namespace.
2013-02-11 09:30:04 +00:00
Campbell Barton
53bce285ab
patch [ #31636 ] no pressure with Genius Mousepen i608X tablet
...
from Viktoria S. (viktorias)
2013-02-11 08:16:32 +00:00
Campbell Barton
2005f7c6c0
style cleanup: also some typos
2013-02-11 00:49:00 +00:00
Campbell Barton
52df65b137
building ghost-sdl works again.
2013-02-08 08:02:05 +00:00
Campbell Barton
76b7afd909
removing xinerama on X11 dependency, this wasn't working very usefully.
2013-02-07 14:10:01 +00:00
Campbell Barton
2c1219dc17
enable xinerama for scons.
2013-02-06 01:28:56 +00:00
Sergey Sharybin
9157f8f833
Apparently my system here considers fullscreen window as maximized
...
which makes it impossible to toggle from fullscreen to windowed mode
when startup.blend is saved in fullscreen mode.
Reshuffled checks a bit, which is actually makes sense, will investigate
which change caused regression since 2.65a tomorrow.
2013-02-05 15:52:40 +00:00
Brecht Van Lommel
52303db217
Fix window fullscreen crash when building for Mac OS X 10.5.
2013-02-04 16:12:27 +00:00
Campbell Barton
0515f933d9
fix [ #33831 ] "Alt" key is "Alt Window Deactivated"
...
update to the ubuntu workaround from Shinsuke Irie.
2013-02-04 07:51:01 +00:00
Campbell Barton
69993c5d40
style cleanup: spaces -> tabs
2013-02-04 00:18:09 +00:00
Campbell Barton
2a71e4e4f0
make WITH_HEADLESS build again.
2013-02-01 08:24:18 +00:00
Campbell Barton
6341919354
code cleanup: make wmEvent's 'const' in interface code (reduces manual checking that they are not modified).
2013-02-01 01:01:20 +00:00
Campbell Barton
dbf54dacf7
Add Xinerama support for GHOST_GetMainDisplayDimensions() so X11 works as it should (previously would include all monitors).
...
Now the active monitor size is used on startup.
Currently the cursor position is checked for intersection with the monitor bounds to find the active screen.
2013-01-31 11:05:09 +00:00
Campbell Barton
73f301c3a8
add ghost function getAllDisplayDimensions, GHOST_GetAllDisplayDimensions
...
This returns the desktop size, not just the size of the active monitor, useful since this constrains the mouse and we dont have to detect the active monitor (which isn't so straightforward with xlib).
carbon/cocoa are TODO, they still use getMainDisplayDimensions().
2013-01-31 10:42:26 +00:00
Campbell Barton
c2ee59b777
initializing maximized/fullscreen windows in x11 would start normal, then maximize - causing noticeable flicker.
2013-01-31 05:55:57 +00:00
Campbell Barton
743b4f213e
disable ubuntu unity workaround, causes issues with modifier keys held doun with multiple windows.
...
no time to fix now so disabling.
2013-01-30 13:44:24 +00:00
Campbell Barton
7b6a34a756
patch [ #34039 ] Fix Alt key glitch on Unity desktop
...
by Shinsuke Irie (irie) with own minor changes.
2013-01-30 04:12:32 +00:00
Ton Roosendaal
4477d59b76
Put back minimum window sizes on 320x240.
...
This didnt work well with making blender areas into windows.
Real fix: check such minimums based on what's in the window itself... or just
make scaling work flawless.
2013-01-24 17:57:38 +00:00