Laurent Gomila
7cd545bd96
Merge pull request #431 from Kratos714/master
...
Fixed some minor memory issues
2013-07-19 04:37:48 -07:00
Emmanuel Atse
5a42c91985
Avoid const_cast, static buffer and buffer overlap
2013-07-18 18:58:53 +02:00
Emmanuel Atse
43a21e2acc
Fixed some uninitialized values
2013-07-18 05:04:56 +02:00
Emmanuel Atse
3c429387f2
Fixed undefined behavior of returned pointer
2013-07-18 04:55:32 +02:00
Foaly
0c0b3c2a3a
Modulo operators for sf::Time ( fixes #429 )
2013-07-17 12:24:24 +02:00
Laurent Gomila
b3357eed2a
Fixed bug when maximizing a window on Windows (was introduced recently)
2013-07-11 23:10:51 +02:00
Laurent Gomila
9528fbc893
Fixed MouseMove event sometimes not generated when holding left button on Windows ( #225 )
2013-07-11 23:02:33 +02:00
Laurent Gomila
5c431b4b93
Fixed bounding rect of sf::Text ignoring whitespaces (216)
2013-07-11 22:40:14 +02:00
Laurent Gomila
947ab5fd87
Added a workaround for a bug in the OS X implementation of OpenAL (unsupported channel count no properly detected) ( #201 )
2013-07-10 13:55:16 +02:00
Laurent Gomila
5552cd5cc5
Merge pull request #423 from vheuken/master
...
Added .travis.yml file for automatic build tests with Travis CI
2013-07-09 23:59:17 -07:00
Laurent Gomila
12ca0ef15a
Fixed ContextSettings ignored when creating a 3.x/4.x OpenGL context on Linux ( #258 )
2013-07-10 08:53:39 +02:00
Vincent Heuken
645639b9c9
added .travis.yml
2013-07-09 23:46:51 -07:00
Laurent Gomila
c23d4a8385
Checking errors in RenderTarget::pushGLStates() to avoid generating false error messages when user leaves unchecked OpenGL errors ( #340 )
2013-07-06 18:24:30 +02:00
Laurent Gomila
68748d2de1
Fixed ContextSettings ignored on Linux when creating a window ( #35 )
2013-07-03 22:57:33 +02:00
Laurent Gomila
6b50691551
Solved graphics resources not updated or corrupted when loaded in a thread ( #411 )
2013-07-01 21:59:46 +02:00
Laurent Gomila
4d55bbe4ff
Fixed windows bigger than the desktop not appearing on Windows ( #215 )
2013-06-30 20:51:24 +02:00
Laurent Gomila
73ec7ab483
Fixed KeyRelease events sometimes not reported on Linux ( #404 )
2013-06-30 14:35:24 +02:00
Laurent Gomila
6ec100aeb7
Now using inotify on Linux to avoid constantly polling joystick connections ( #96 )
2013-06-30 14:34:00 +02:00
Marco Antognini
af81ac60f3
Add keypad return, equal and period keys support for OS X
...
Related to #401
2013-06-29 21:44:22 +02:00
Marco Antognini
eca4502424
Improved mouse events on OS X regarding fullscreen mode
2013-06-29 21:35:01 +02:00
Marco Antognini
71f34600bc
Fix typos
2013-06-29 20:44:05 +02:00
Marco Antognini
833837b427
Improved mouse events on OS X ( close #213 , related to #277 )
2013-06-29 19:39:22 +02:00
Marco Antognini
aa4203fd54
Improve reactivity of setMousePosition on OS X ( fix #290 )
2013-06-28 18:01:18 +02:00
Marco Antognini
5aa87f7719
Remove dead code
2013-06-28 18:00:13 +02:00
Marco Antognini
365f7999eb
Fix mouse moved event on OS X when dragging the cursor ( close #277 )
2013-06-28 14:17:13 +02:00
Marco Antognini
f92c0cbe7e
Add support for right control key on OS X
...
Related to #401
2013-06-28 12:48:18 +02:00
Marco Antognini
8ecdd3ae8c
Refactor SFOpenGLView and move code related to modifiers to a new file
...
Now SFKeyboardModifiersHelper.(h|mm) manage all the logic of modifier
flags and the state of the corresponding keys
Also, now modifiers key release events are correctly fired with
multiple SFML windows.
2013-06-28 12:32:23 +02:00
Marco Antognini
95678e851a
Update logos for Cocoa example
2013-06-27 23:29:27 +02:00
Marco Antognini
fc63a727ce
Fix KeyRelease event with CMD key pressed ( close #381 )
...
Solution based on pull request #401
2013-06-27 23:29:27 +02:00
Marco Antognini
513cd7e57c
Improve TextEntered for OS X ( close #377 )
...
Code from pull request #401 was not used because some methods used
don't exist on 10.5 which is still supported by SFML 2.1.
2013-06-27 23:07:43 +02:00
Laurent Gomila
ef8391e507
Updated links in readme.txt
2013-06-26 23:30:52 +02:00
Laurent Gomila
41cbb818ad
Merge pull request #415 from Oberon00/utf-stl-copy
...
Replaced explicit assignment loops with std::copy in sf::Utf functions.
2013-06-23 22:53:35 -07:00
Christian Neumüller
891e9de0fe
Don't reimplement std::copy().
...
Using std::copy() potentially makes available helpful checks in debug mode and
can also lead to faster code by calling memcpy() in release mode.
The <algorithm> header was already included.
2013-06-24 00:51:31 +02:00
Laurent Gomila
99d4ec3551
Fixed white pixel showing on first character of sf::Text ( #414 )
2013-06-23 22:41:58 +02:00
Laurent Gomila
e60a61fed5
Fixed compile error with getaddrinfo with MinGW
2013-06-23 19:48:09 +02:00
Laurent Gomila
34d866d4bc
Replaced the deprecated gethostbyname with getaddrinfo ( #47 )
2013-06-21 19:25:29 +02:00
Laurent Gomila
96d0204f30
Pressing ALT or F10 on Windows no longer steals the focus
2013-06-18 14:32:08 +02:00
Laurent Gomila
7554c86f7d
Optimized Shader::setParameter functions, by using a cache internally ( #316 , #358 )
2013-06-18 11:55:21 +02:00
Laurent Gomila
76b67fcd1c
Fixed non-blocking connection with a sf::TcpSocket on Windows
2013-06-17 23:12:44 +02:00
Laurent Gomila
0db73b6a4c
Minor improvements to sf::Packet operators (now using strlen and wcslen instead of explicit loops) ( #118 )
2013-06-17 21:04:41 +02:00
Laurent Gomila
5d377fdb38
Attempt to fix taskbar bugs on Windows ( #328 , #69 )
2013-06-17 20:57:27 +02:00
Laurent Gomila
4d78d02b5c
Fixed TCP packet data corruption in non-blocking mode ( #402 , #119 )
2013-06-17 18:47:16 +02:00
Laurent Gomila
94fc605a70
On Unix systems, a socket disconnection no longer stops the program with signal SIGPIPE ( #72 )
2013-06-14 15:18:08 +02:00
Laurent Gomila
7051d43c72
Fixed IDE folder of example "Cococa"
2013-06-14 15:01:29 +02:00
Laurent Gomila
da96ec5811
Improved the performances of Window::getSize() (the size is now cached)
2013-06-12 20:27:18 +02:00
Laurent Gomila
7c9f9cc41c
Minor fix in Window and OpenGL examples
2013-06-03 20:48:24 +02:00
Laurent Gomila
7fc29c78f7
Added the WM_CLASS property to SFML windows on Linux
2013-05-23 21:12:46 +02:00
Laurent Gomila
8cb05fc6d0
Updated the Window and OpenGL examples (got rid of GLU and immediate mode)
2013-05-21 16:57:02 +02:00
Laurent Gomila
ebaad339a9
Fixed Window::getPosition() on Linux ( #346 )
2013-05-18 21:05:08 +02:00
Laurent Gomila
68b51734a9
Fake resize events are no longer sent when the window is moved, on Linux
2013-05-18 20:48:55 +02:00