Commit Graph

2766 Commits

Author SHA1 Message Date
LaurentGom
f30c2871fc FS#157 - Disable implicit conversion from sf::Image to sf::Sprite
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1425 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-24 17:23:32 +00:00
LaurentGom
39afb72c4e Fixed crashes in Ftp::Upload and Ftp::Download with empty files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1424 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-24 16:17:17 +00:00
ceylo
d7496629e3 Added sfPriv prefix to forgotten Objective-C classes to prevent conflicts with user classes.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1423 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 22:20:17 +00:00
ceylo
9354d3adba Fixed conflict with autorelease pools when using SFML in a Cocoa app.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1422 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 10:15:24 +00:00
ceylo
2ee1c5751a Reorganized private window implementation to allow using <NSView *> objects for window import (especially to allow Qt [Cocoa version] use even it does not work because Qt windows are deferred; it still works for Cocoa though until windows are not deferred). Renamed Objective-C classes with sfPriv prefix to prevent conflict with user Objective-C classes.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1421 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 09:54:16 +00:00
LaurentGom
341b499180 Fixed endless recursion in the streambuf of sf::Err
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1420 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 07:28:46 +00:00
LaurentGom
646f7a31e6 Fixed compile errors in System/Err.cpp on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1419 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 22:34:34 +00:00
LaurentGom
d1ba056b0f I forgot to update the VS2005 and Code::Blocks projects in last commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1418 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 15:43:15 +00:00
LaurentGom
76de05af61 FS#150 - SFML should use its own stream instead of std::cerr, for reporting errors
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1417 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 11:30:43 +00:00
LaurentGom
796406a15b Fixed conflict between the local glxext.h and the system's one, on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1416 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 08:07:13 +00:00
LaurentGom
be7865e468 Fixed RenderTarget::ConvertCoords returning incorrect tiny numbers for very large views
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1415 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-21 22:36:45 +00:00
LaurentGom
da5ac8a951 Fixed Font::operator= not handling the reference counter properly (which was leading to crashes after copies of sf::Font instances)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1414 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-19 14:38:29 +00:00
LaurentGom
0aaebddc7b Updated the API documentation of RenderTarget, RenderImage and RenderWindow
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1413 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-19 14:34:34 +00:00
LaurentGom
5bec10de6c FS#153 - Fix the initial seed of sf::Randomizer which is always the same on some configurations
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1412 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-18 07:34:36 +00:00
trass3r
fd10d2abfe * sync with sfml - Renamed Shape::GetNbPoints to Shape::GetPointsCount
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1411 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 19:21:18 +00:00
LaurentGom
504804a06e Fixed RenderTarget::ConvertCoords returning wrong Y coordinates
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1410 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 17:17:20 +00:00
LaurentGom
47d019098c Changed the parameter of LoadFromMemory functions to be a const void* instead of a const char*
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1409 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 14:43:09 +00:00
LaurentGom
b60fda48d9 Renamed Shape::GetNbPoints to Shape::GetPointsCount (consistent with the other similar functions)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1408 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 12:05:02 +00:00
LaurentGom
b3d3082fc4 Fixed a Win32 constant missing after upgrading to gcc 4.4 headers
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1407 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 11:35:37 +00:00
LaurentGom
aa2199bbb3 Fixed a Win32 constant missing after upgrading to gcc 4.4 headers
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1407 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 11:35:37 +00:00
LaurentGom
26bbe358ed Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1406 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 10:50:16 +00:00
LaurentGom
d89d721b96 Made sf::Input and events more consistent / synchronized
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1405 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 07:57:26 +00:00
LaurentGom
8a1a6bbfab Made sf::Resource thread-safe
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1404 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-12 08:09:54 +00:00
tankbo
0a7d28b687 Python: Modified Text, Font and RenderWindow to build with latest revision of SFML2. Adjusted samples.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1403 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-11 15:32:08 +00:00
LaurentGom
239071c0fa Changed constructors of sf::Window and sf::RenderWindow taking a single parameter to be explicit (to avoid implicit conversions like ^sf::Window w = 0^)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1402 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-11 13:10:12 +00:00
LaurentGom
cdc1346612 FS#152 - Fix crash with the default font at global exit on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1401 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-11 08:31:52 +00:00
LaurentGom
3621cb10f7 Fixed bugs with the LShift and RShift keys
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1400 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 23:35:01 +00:00
LaurentGom
79c7bf8e02 Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1399 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 14:42:53 +00:00
LaurentGom
21c6f97617 Removed all references to sf::RenderImage, which doesn't exist in SFML 1.x
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1398 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 13:54:38 +00:00
LaurentGom
b7b876eb26 Removed all the useless "sf::"
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1397 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 11:09:55 +00:00
LaurentGom
f0e231eabf Fixed wrong sf::Event::Resized notification when switching from fullscreen to windowed mode
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1396 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 11:01:38 +00:00
LaurentGom
7878edc824 Minor code refactoring
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1395 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-07 21:22:10 +00:00
ceylo
37c9dd8ac4 Oops. Dropped debug message.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1394 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-05 19:31:43 +00:00
ceylo
d4a5384da1 Added "hack" to allow window import with Qt.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1393 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-05 19:26:20 +00:00
LaurentGom
2840618c70 The projection matrix is now handled more efficiently in sf::Renderer
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1392 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-04 19:25:00 +00:00
LaurentGom
e79415209f Made audio capture work in Mac OS X 10.5 / 10.6
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1391 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-04 10:51:22 +00:00
LaurentGom
e2b5268504 New try for pixel-perfect rendering -- waiting for feedbacks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1390 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-03 14:07:19 +00:00
LaurentGom
9fe66bdc5e Forget to fix the Linux implementation in previous commit :)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1389 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 08:48:35 +00:00
LaurentGom
51fc817e8b Fixed a texture cache problem in the P-Buffer implementation of sf::RenderImage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1388 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 08:47:24 +00:00
LaurentGom
ec2fe136f9 Fixed sound streams sometimes being stuck after looping once
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1387 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 07:49:27 +00:00
LaurentGom
f96a3864bc Fixed wrong project name :D
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1386 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-30 11:37:53 +00:00
LaurentGom
d07ffa8389 Added a batch-build script for SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1385 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 22:31:00 +00:00
LaurentGom
64aebf0b9f Fixed output paths in SFML.Net project files
Moved files related to the documentation into /doc

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1384 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 22:10:15 +00:00
ceylo
7cd315c38b Added missing ppc architecture.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1383 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 07:35:10 +00:00
ceylo
23f6b6f2af Initial import.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1381 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 00:22:23 +00:00
ceylo
d3a53570d7 Fixed small compilation error.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1380 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 00:17:21 +00:00
LaurentGom
f644f6220d Fixed compile error in Joystick.hpp on FreeBSD
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1378 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-28 18:36:13 +00:00
LaurentGom
ec524788c9 Fixed object files path in Visual C++ projects
Added CSFML batch-build for all Windows compilers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1377 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-28 09:51:39 +00:00
LaurentGom
f044d80f09 Fixed an error in the Code::Blocks batch-build
Improved the VC2008 batch-build
Added a VC2005 batch-build
Added a global batch-build script for all Windows compilers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1376 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-27 16:02:45 +00:00
LaurentGom
35f6fa2060 Fixed wrong paths for headers in VC2008 project files
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1374 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-27 13:43:28 +00:00