Commit Graph

331 Commits

Author SHA1 Message Date
LaurentGom
7687a84f2c Fixed the sndfile.h issue on Mac OS X
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1755 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-13 21:01:49 +00:00
LaurentGom
bb7d79d857 Fixed missing include path for extlibs on Mac OS X
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1754 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-11 10:54:18 +00:00
LaurentGom
7696438a4a Minor modifications to CMake files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1753 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-10 20:44:20 +00:00
mantognini
a1eade38f4 -update old USE_OS_X_VERSION_10_* macros
-fix setCursorPositionToX:Y:



git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1752 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-10 14:50:29 +00:00
mantognini
f2be71b1ea remove a warning from video mode impl
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1743 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-04 16:03:44 +00:00
mantognini
93cc2e4472 add (non-tested) impl of PBuffer
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1742 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 22:49:13 +00:00
mantognini
fd02b2d3af fix event mouse move
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1741 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 22:29:41 +00:00
LaurentGom
6ce458939e Minor fix that makes sf::SoundStream less crazy when the internal AL source couldn't be created
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1732 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-02 22:26:35 +00:00
mantognini
0ed20bf130 fix SFContext::MakeCurrent
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1731 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 23:00:45 +00:00
mantognini
e2ff29ecda fix event with fullscreen mode
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1730 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 22:55:23 +00:00
mantognini
13f062220b update licence header
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1719 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-26 08:09:38 +00:00
mantognini
90a61a6048 update cmake for better doxygen search
remove duplicated headers - update cmake accordingly



git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1716 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 22:06:17 +00:00
mantognini
4a1a2a6b5f add licence header
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1715 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 20:54:29 +00:00
mantognini
de8712fa5f This is a big commit for os x port!
> remove old OSX version
> add new sources (Window and Graphics modules)
> add extlibs static binaries/headers/frameworks
> update cmake for OSX




git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1711 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 16:45:03 +00:00
LaurentGom
e73d274d86 New API for sf::Thread (more flexible)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1685 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 13:00:19 +00:00
LaurentGom
7ebf2f1bbb Added the install rule for sfml-main in CMake files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1684 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 08:25:08 +00:00
LaurentGom
08393593e1 Fixed minor error in sf::Window::Window documentation, and removed a useless member
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1632 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-11 08:46:13 +00:00
LaurentGom
230f5e58ca Fixed texture cache not properly updated when a same sf::Image instance allocated a new OpenGL texture internally
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1631 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-09 21:55:24 +00:00
LaurentGom
95eda37e47 Fixed crash when saving PNG images with gcc
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1628 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-08 22:22:17 +00:00
LaurentGom
6e682af51a Finished to adjust the libraries names in SFML, CSFML and SFML.Net
Removed support for old projects/makefiles (only CMake makefiles can be used now)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1612 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-04 22:49:49 +00:00
LaurentGom
9f0d6882ba Fixed a bug in sf::Shader with textures
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1611 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-04 21:51:27 +00:00
LaurentGom
61dc7e0100 Added the TcpListener::Close function
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1585 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-26 19:38:26 +00:00
LaurentGom
16d986c762 Binding two sockets to the same port on the same computer now triggers an error
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1584 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-17 21:20:36 +00:00
LaurentGom
2cd966f566 Fixed a bug in sf::UdpSocket::Receive(sf::Packet&) with non-blocking sockets (incorrect packets were sometimes returned)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1583 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-16 08:47:27 +00:00
LaurentGom
d327320b59 Changed sf::WindowHandle from void* to HWND on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1580 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-13 16:38:39 +00:00
laurentgom
0354c306e3 Fixed memory leak in GlxContext when creating an OpenGL 3 context
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1579 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-12 09:25:53 +00:00
LaurentGom
535b7bc839 Fixed a bug in sf::Err (the default output for SFML error messages), it was ignoring random characters
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1578 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-11 17:58:18 +00:00
LaurentGom
19cb364afe New try to fix the ATI & OpenGL contexts bug
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1570 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-17 16:46:35 +00:00
LaurentGom
d35fc89512 Fixed a bug with threads and OpenGL context sharing
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1567 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 18:59:30 +00:00
LaurentGom
02688a4a3f [#165] Fixed Setfield("User-Agent", "xxx") ignored in sf::Http::Request
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1565 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-08 08:34:05 +00:00
LaurentGom
973a7fa591 Fixed output filename of sfml-main which didn't contain the major version number (when compiling with CMake)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1564 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 17:28:48 +00:00
LaurentGom
e2cfdff23e Reduced the sleep duration in sf::SoundStream to avoid stuttering with streams that send a little amount of samples in OnGetData
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1563 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 09:14:11 +00:00
LaurentGom
316dcbd1f6 Fixed a memory leak in the Linux implementation of VideoMode::GetDesktopMode
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1562 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-02 11:50:48 +00:00
LaurentGom
e4725e03dc Fixed compile errors for 64 bits targets in WindowImplWin32
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1561 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 21:32:03 +00:00
LaurentGom
dda69de7e9 gdi32 was missing from the dependencies of sfml-window in CMake files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1551 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-25 06:06:27 +00:00
LaurentGom
a991fe8e4d Added support for the CMake build system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00
LaurentGom
aa612ec63a Updated glext headers
OpenGL contexts >= 3.2 are now created with the compatibility profile, so that the functions used by SFML are available

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1549 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-18 21:13:38 +00:00
LaurentGom
ff2c4f2ee7 Replaced C standard headers (<xxx.h>) with their C++ version (<cxxx>)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1545 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-02 20:36:27 +00:00
LaurentGom
41b29f45f8 Updated stb_image (the latest version includes my patches)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1544 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-01 19:26:35 +00:00
LaurentGom
8bde578f90 Fixed warnings in stb_image
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1543 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-01 09:14:49 +00:00
LaurentGom
ff367bdb57 Now using stb_image directly for loading image files, instead of SOIL (which is not maintained anymore)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1542 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-31 14:06:30 +00:00
LaurentGom
68cdbd31cc FS#160 - Windows size should not be reset to 0 when it is minimized
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1538 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-24 10:58:25 +00:00
LaurentGom
37ea224621 Fixed a bug in Image::GetTexCoords (introduced in the few last revisions)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1534 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-19 21:26:29 +00:00
LaurentGom
c941db07a0 Removed temporary debug stuff from previous fix :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1533 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 20:43:07 +00:00
LaurentGom
dcbc7f29a4 Fixed a bug where the characters size was sometimes wrong in sf::Text
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1532 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 15:59:59 +00:00
LaurentGom
ef8a2700fe FS#162 - Add a function to retrieve the system specific handle of a window
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1530 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 21:13:55 +00:00
LaurentGom
028c4d5a96 Fixed wrong texture coordinates when displaying a part of a render-image with a sprite
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1529 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 20:03:53 +00:00
LaurentGom
0a437d6e48 Fixed mouse position in sf::Input not properly updated after a call to Window::SetCursorPosition
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1527 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-25 10:35:55 +00:00
LaurentGom
280ce139d6 Some minor corrections in API documentation and parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1525 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 21:52:51 +00:00
LaurentGom
52f8da466c Fixed negative mouse coordinates being returned as unsigned integers on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1522 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-25 17:44:12 +00:00