Commit Graph

260 Commits

Author SHA1 Message Date
laurentgom
fd8fa4e2f8 Fixed errors caused by the last commit in the network module, and fixed minor warnings in the graphics module, on Linux
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1476 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 11:15:39 +00:00
LaurentGom
9280771665 FS#86 - Rewrite the sockets API
Updated the API documentation of the whole network module
The system headers are no longer included by the sfml-network public headers

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1475 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 09:39:43 +00:00
LaurentGom
a09ee0f9e3 Fixed bug in JPEG saving (due to the last modification)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1474 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-19 18:51:45 +00:00
LaurentGom
6b23d15a14 Changed the internal storage of pixels in sf::Image (vector<Color> --> vector<Uint8>)
Changed the Glyph structure to allow using sprites to display glyphs

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1473 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-19 16:06:18 +00:00
LaurentGom
691eea4c69 Removed IpAddress::IsValid(), added IpAddress::None
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1456 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 09:50:24 +00:00
LaurentGom
809b09292f Merged VideoMode::GetMode and VideoMode::GetModesCount into a single new function VideoMode::GetFullscreenModes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1453 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 14:07:28 +00:00
LaurentGom
e924c9cf39 Improved the API documentation of sf::IpAddress
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1452 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 09:35:17 +00:00
LaurentGom
9646bf54d8 Renamed IPAddress.cpp to IpAddress.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1449 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:37:51 +00:00
LaurentGom
72b49a3592 Made sf::IPAddress comparison operators non-member
Minor fix in sf::Clock API documentation

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1447 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:27:57 +00:00
LaurentGom
ef216acc5f Minor changes to the documentation and some parameters names
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1444 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-08 17:50:16 +00:00
LaurentGom
4e93cc92fa Synchronized with trunk
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1442 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-05 11:05:30 +00:00
LaurentGom
b3ca862273 Fixed possible leak in sf::Thread implementation (thread handles could be lost if the same sf::Thread was launched again before finishing)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1441 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-05 10:35:13 +00:00
LaurentGom
dec1820537 Fixed issues with the fullscreen mode on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1435 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-03 07:59:28 +00:00
LaurentGom
786408c5bc Sockets can now handle properly the situation where the packet size is received in multiple chunks
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1433 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 12:00:12 +00:00
LaurentGom
4a840d4f48 Fixed extra empty line at end of Http::Response body
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1431 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-28 22:51:50 +00:00
LaurentGom
bb414773d1 Added Insert and Find functions to sf::String
Added implicit constructors to sf::String for converting from single characters (char, wchar_t and Uint32)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1429 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-26 09:36:38 +00:00
LaurentGom
ba66558cec Forced alpha component in color buffer for 32 bits mode, on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1428 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-26 07:49:12 +00:00
LaurentGom
6f6481ef38 Fixed images and shaders sometimes not updated when they are modified while they are used
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1427 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-25 19:05:57 +00:00
LaurentGom
76a76a784f Minor modifications to shader and image activation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1426 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-25 12:37:51 +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
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
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
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
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