Vadim Zeitlin
|
845e4f9b32
|
disable a VC6 warning occurring inside a standard header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-07 12:41:52 +00:00 |
|
Vadim Zeitlin
|
a8f1775855
|
disable MSVC 8+ warning about using Unicode characters as we do want to use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-06 23:24:57 +00:00 |
|
Vadim Zeitlin
|
de83091077
|
disable warnings about unused parameters in CppUnit headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-06 23:22:37 +00:00 |
|
Vadim Zeitlin
|
b4d47ca02c
|
use _isatty/_fdopen/_fileno() instead of isatty/fdopen/fileno() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-06 23:20:12 +00:00 |
|
Vadim Zeitlin
|
d4b1783215
|
use _fileno() instead of fileno() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-06 23:18:52 +00:00 |
|
Vadim Zeitlin
|
50a73bb104
|
use _unlink() instead of unlink() with VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-06 23:17:34 +00:00 |
|
Vadim Zeitlin
|
895cae46b7
|
work around (harmless) warnings in VC7 release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-06 23:04:50 +00:00 |
|
Vadim Zeitlin
|
756c98b02e
|
fix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item shouldn't toggle its selection (see #10830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-06 14:15:06 +00:00 |
|
Francesco Montorsi
|
23790a2a29
|
add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-02 13:01:41 +00:00 |
|
Francesco Montorsi
|
5b105c6ff3
|
use a smaller timeout value to avoid blocking buildslaves for 10minutes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 14:55:22 +00:00 |
|
Francesco Montorsi
|
9e91447ca4
|
minor change: differentiate the initial banner of test.exe from test_gui.exe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 14:46:44 +00:00 |
|
Francesco Montorsi
|
c99214eb52
|
add check about network connectivity; don't run the test if it's not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 14:45:26 +00:00 |
|
Francesco Montorsi
|
53c2cdb0b1
|
fix PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 12:40:50 +00:00 |
|
Francesco Montorsi
|
21fe35aff7
|
add wxImage test units to test loading from both seekable and non-seekable streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 11:46:36 +00:00 |
|
Francesco Montorsi
|
1f51673bb8
|
add wxURL::GetInputStream test unit; add a global IsNetworkAvailable() utility to the test units
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-06-01 11:30:50 +00:00 |
|
Francesco Montorsi
|
7b4138e284
|
refactor printf benchmarks to fit the new wxWidgets benchmarking framework; fix tests and benchmarks builds (at least on linux) which were failing because of wrong order of <wx-lib> tags in the bakefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-30 13:54:22 +00:00 |
|
Vadim Zeitlin
|
787de19a13
|
update CRT environment block in wxSetEnv() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-24 15:33:33 +00:00 |
|
Vadim Zeitlin
|
541aafe2fa
|
disable a test failing under wxGTK because of what appears to be a Pango limitation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-17 14:12:28 +00:00 |
|
Vadim Zeitlin
|
3f7c8a8762
|
use a different known good face name under non-MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-17 14:01:38 +00:00 |
|
Vadim Zeitlin
|
a15239a6fd
|
correct test failures under MSW, it shouldn't assume that all predefined fonts have non-empty facenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-17 11:52:26 +00:00 |
|
Vadim Zeitlin
|
c56fc0dc30
|
correct test failures under MSW, it shouldn't assume that all predefined fonts have non-empty facenames; also simplified it by separating different tests in different functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-17 11:51:09 +00:00 |
|
Vadim Zeitlin
|
09be33645a
|
fix errors in EvtHandlerTestCase::BindFunctor() in optimized build: apparently compiler is smart enough to detect that the same object can be used for all temporaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-17 10:56:14 +00:00 |
|
Vadim Zeitlin
|
dd172e7f12
|
add MSVC project files to svn for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-12 10:11:42 +00:00 |
|
Vadim Zeitlin
|
ab5c51e5b2
|
don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-12 09:13:36 +00:00 |
|
Vadim Zeitlin
|
4e42fe49f2
|
removed the now unnecessary WX_CPPUNIT_ALLOW_EQUALS_TO_INT(wxFileOffset)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-03 11:36:04 +00:00 |
|
Vadim Zeitlin
|
61b1a51bde
|
allow comparison of int with 64 bit integer type (see #10637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-03 09:59:31 +00:00 |
|
Vadim Zeitlin
|
97818dab10
|
std::streamoff is just a (32 bit) long under Win32 with MSVC so extra WX_CPPUNIT_ALLOW_EQUALS_TO_INT(std::streamoff) is not needed in this case; this also seems to be the case for Borland and Watcom so assume this is always so for Windows compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-03 07:52:49 +00:00 |
|
Vadim Zeitlin
|
72a7c55982
|
added wxStd{In,Out}putStream classes (closes #10637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-02 18:29:33 +00:00 |
|
Vadim Zeitlin
|
ca6911c361
|
allow passing temporary functors to Bind() too (closes #10653)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-02 15:28:16 +00:00 |
|
Vadim Zeitlin
|
890d70ebea
|
improvements to wxEventFunctor classes; use wxHAS_EVENT_BIND instead of wxEVENTS_COMPATIBILITY_2_8 (see #10653)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-05-02 12:52:54 +00:00 |
|
Kevin Ollivier
|
23513e07f5
|
Rebake after latest changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-26 02:04:16 +00:00 |
|
Chris Elliott
|
95ff11c4bb
|
update bakefile to 0.2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-24 10:36:24 +00:00 |
|
Vadim Zeitlin
|
b7923f2ac1
|
add test checking that switching mode doesn't change the controls contents (see #9484)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-21 17:19:08 +00:00 |
|
Vadim Zeitlin
|
15cb637c96
|
use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT whenever possible to see more information about the test failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-18 12:19:38 +00:00 |
|
Vadim Zeitlin
|
042908a1ac
|
use "ul" suffix instead of cast to unsigned long; this is not only shorter but also avoids gcc warning about working correctly only in C90
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-17 13:06:27 +00:00 |
|
Vadim Zeitlin
|
48c56e04b0
|
added failing compilation test for the case of missing handler in Bind() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-16 21:33:37 +00:00 |
|
Vadim Zeitlin
|
b3710b1030
|
rebake after the addition of graphics/measuring.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-16 14:49:28 +00:00 |
|
Vadim Zeitlin
|
449cb073c0
|
added a failtest target to Makefile to test for the (expected) compilation failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-16 14:47:22 +00:00 |
|
Kevin Ollivier
|
f806b2b4ee
|
Add a test to ensure that CreateMeasuringContext creates a valid context
that can measure text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-15 22:38:53 +00:00 |
|
Stefan Csomor
|
8b7b1a5748
|
guaranteeing autorelease pools for overridden OnRun on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-14 19:54:01 +00:00 |
|
Francesco Montorsi
|
aeecbca059
|
dump all font properties upon failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-14 18:55:41 +00:00 |
|
Vadim Zeitlin
|
d911dc04ae
|
only run tests using multiline strings with multiline text control; document that using multiline strings doesn't work with singleline controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-14 13:22:09 +00:00 |
|
Francesco Montorsi
|
6aafb94526
|
even more detailed info to debug buildslaves failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-13 18:34:27 +00:00 |
|
Vadim Zeitlin
|
561ff470ca
|
suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-13 17:33:33 +00:00 |
|
Francesco Montorsi
|
9b5e0a6dea
|
provide more info when a check for native font [user] info fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-13 09:03:45 +00:00 |
|
Vadim Zeitlin
|
75ac34cefc
|
fix support for using asterisks in the format string and some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-12 23:37:28 +00:00 |
|
Francesco Montorsi
|
6aea1e4a70
|
implement wxNativeFontInfo::SetFamily for wxGTK with the same logic used by wxMSW; remove the now useless m_family from wxGTK's wxFont implementation; better docs for many wxFont functions (don't use typeface term; use the 'face name' one instead) and wxFontFamily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-12 22:53:26 +00:00 |
|
Vadim Zeitlin
|
390b8241d3
|
revert r60023 and really fixed compilation problems caused by r60017 by providing assertEquals(const char *, const char *) overload as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-04 23:55:05 +00:00 |
|
Vadim Zeitlin
|
0eb83a1a72
|
compilation fix after r60017
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-04 22:33:20 +00:00 |
|
Michael Wetherell
|
cc90c1cc3e
|
Fixes for archive tests on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-04 22:12:04 +00:00 |
|