Michael Wetherell
f7c69b905d
Compile fix for no-pch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:41:24 +00:00
Michael Wetherell
765ced3dfa
Compile fix after GetC return type changed from char to int.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:38:26 +00:00
Michael Wetherell
7d3b9f3abe
Compile fix for 64-bit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 22:33:48 +00:00
Robin Dunn
2add9e3c2f
Moved version number to 2.7.2.0 and rebaked
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:54:52 +00:00
Vadim Zeitlin
efc5767138
avoid gcc warnings about missing braces in an aggregate initializer by not using a union in ToLongTestData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 17:15:58 +00:00
Vadim Zeitlin
d581cac5e8
fix gcc compilation warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 17:04:52 +00:00
Vadim Zeitlin
d6718dd17b
added wxString::ToLongLong() and ToULongLong() (feature request 1290937)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:46:03 +00:00
Vadim Zeitlin
7788fc4046
Alloc() doesn't clear the array any more, for consistency with reserve()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:16:20 +00:00
Vadim Zeitlin
a059db11ff
verify that we checked all the array elements in TestSTL(); make the number of array elements a constant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 00:44:24 +00:00
Michael Wetherell
cdd7933f3d
Add tar stream tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:11:46 +00:00
Michael Wetherell
46d69234ce
Include FindLength in the tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 10:06:19 +00:00
Robert Roebling
bf7f7793e9
[ 1585253 ] Various important bugfixes to wxFileName::Normalize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 21:08:21 +00:00
Michael Wetherell
3fd732098c
Add tests for wxBackingFile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 07:47:07 +00:00
Michael Wetherell
e2255c89f9
Add tests for wxBackingFile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 21:58:35 +00:00
Michael Wetherell
5677ce32f2
Compile fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 15:39:54 +00:00
Vadim Zeitlin
5921d2f848
more printf() tests (slightly modified patch 1581936)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:41:44 +00:00
Vadim Zeitlin
ce939fe123
fix compilation with PCH (patch 1581936)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:38:33 +00:00
Robin Dunn
3abcf424a3
Bumping the version number also requires that version.h be modified,
...
and also rebaking the makeifles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 01:20:56 +00:00
Vadim Zeitlin
c4f35063ce
added wxString::Contains() unit test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:37:40 +00:00
Vadim Zeitlin
ed626c8b55
VC7.1 warning fix about passing temporary as (non-const for this compiler) parameter of auto_ptr::operator=()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 11:31:27 +00:00
Michael Wetherell
98de4ac1c5
Forward port test case that corrupts archives to see if they can crash an input stream.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:52:53 +00:00
Kevin Ollivier
c2c04edc2c
Commiting re-baked files after wxListCtrl OS X additions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 08:06:09 +00:00
Vadim Zeitlin
412a5c570d
wx printf() implementation bug fixes ('%' handling, thread safety, ...) and optimisations (patch 1548750)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 21:14:38 +00:00
Michael Wetherell
3c8813b6c0
Use CPPUNIT_ASSERT_EQUAL where possible to improve messages.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 08:39:06 +00:00
Michael Wetherell
10b7d13cdb
Compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:30:17 +00:00
Michael Wetherell
c7a855e199
Compile fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:28:49 +00:00
Michael Wetherell
64e941edd4
We can't define things in someone else's namespace.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:27:39 +00:00
Vadim Zeitlin
829d1102d2
don't rely on system snprintf() for the tests (patch 1532503)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:08:35 +00:00
Vadim Zeitlin
523cd68ad4
fixed wrong test (patch 1532411)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 01:05:19 +00:00
Vadim Zeitlin
c7564c6ac9
added more time span formatting tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:11:18 +00:00
Vadim Zeitlin
e566ccf1ba
handle negative time spans correctly in Format()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:04:10 +00:00
Vadim Zeitlin
9807f99505
fixed TestTimeFormat() test: and can use 2 digit years which broke dates comparison for dates not in this (nor last) century
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 13:41:49 +00:00
Vadim Zeitlin
1bf29a7a6c
added wxTimeSpan::Format() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 13:20:00 +00:00
Vadim Zeitlin
b0db68b22a
test for the bug in HasEntry() which could create non-existing group as a side effect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 22:48:00 +00:00
Julian Smart
3b2cb4316b
Moved wxRichTextCtrl to its own library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Vadim Zeitlin
247c23b466
fix handling of % in our printf implementation (part of patch 1462778)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:21:15 +00:00
Włodzimierz Skiba
e6a99197fb
wxString::Trim() test.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 16:32:24 +00:00
Vadim Zeitlin
bacd54f604
fix the tests to pass with both gcc and msvc (2nd part of patch 1462778)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 17:22:04 +00:00
Vadim Zeitlin
7a828c7ffb
wxVsnprintf() implementation with positional parameters support (patch 1462778); disabled for now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:18:15 +00:00
Vadim Zeitlin
fcca30c7e6
added assertion_traits<> specialization for wxString and convenient CPPUNIT_ASSERT_STR_EQUAL macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 15:06:14 +00:00
Vadim Zeitlin
85d3e5a9ad
added ConversionEmpty() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:47:35 +00:00
Vadim Zeitlin
3affcd078b
added wxString::EndsWith() (patch 1483049)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 17:27:52 +00:00
Włodzimierz Skiba
61609f69a5
Removal of first part of dsw files (as requested by Jamie Gadd).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 20:08:59 +00:00
Vadim Zeitlin
968f291be6
added wxString::rbegin() and rend()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 15:03:57 +00:00
Vadim Zeitlin
e6a87338f0
name the test just MBConv instead of MBConvTestCase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 21:03:25 +00:00
Vadim Zeitlin
1fc9e0d31e
name the test just Unicode instead of UnicodeTestCase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 19:59:27 +00:00
Vadim Zeitlin
d31a29b566
rebaked after adding convautotest.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 15:07:06 +00:00
Vadim Zeitlin
a29cce78aa
tests for wxConvAuto
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:38:42 +00:00
Vadim Zeitlin
5c763f5a23
corrected mistake in the UTF-16 test on big endian machines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 14:25:59 +00:00
Vadim Zeitlin
0739e2eef9
Apple gcc compilation fixes: for it size_t and unsigned are not the same type for some reason
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 20:18:33 +00:00
Vadim Zeitlin
72b2fc5c80
properly terminate UTF-32 test string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 20:02:33 +00:00
Vadim Zeitlin
33366127e8
added filename comparison test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 15:02:56 +00:00
Vadim Zeitlin
a7823b26b0
added UTF-32 test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:06:50 +00:00
Vadim Zeitlin
2877b82808
added test UTF-16 string with embedded NUL NUL which makes the current code fail
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 14:01:18 +00:00
Vadim Zeitlin
f98452a969
added test UTF-16 string with embedded NUL NUL not terminating the string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-02 13:45:58 +00:00
Vadim Zeitlin
a905bdb8a4
let the UTF7 test fail but not crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 15:53:55 +00:00
Vadim Zeitlin
fb86a4bb69
regenerated to add textfiletest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 14:04:59 +00:00
Vadim Zeitlin
7e0a8463eb
made DoTestConversion() work with strings containing NULs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 03:24:23 +00:00
Vadim Zeitlin
2229d9b30b
added missing licence information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 21:14:40 +00:00
Vadim Zeitlin
5975f1982d
added UTF16 test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 20:25:20 +00:00
Vadim Zeitlin
b0441359ca
test predefined wxConvUTF[78] too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:30:34 +00:00
Vadim Zeitlin
7ce0c58f8d
the expected test result was wrong, corrected; also define a manifest constant only once instead of using its value everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:24:23 +00:00
Vadim Zeitlin
6ef5a7a370
fixed if/idef wxHAVE_U_ESCAPE mixup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:15:46 +00:00
Vadim Zeitlin
ed177375b2
use wxHAVE_U_ESCAPE to accomodate old compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:43:10 +00:00
Vadim Zeitlin
8da7a00a94
enable tests using \u escapes for VC7; replaced compiler version checks for this with wxHAVE_U_ESCAPE defined once and for all in testprec.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:42:26 +00:00
Vadim Zeitlin
a65ca3e600
moved wide char conversion tests to their own file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:10:07 +00:00
Vadim Zeitlin
ede838eb4d
removed wxTextFile test case, what was it doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:07:25 +00:00
Vadim Zeitlin
93a57d19fe
added tests for UTF8 and UTF16 files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 14:26:59 +00:00
Vadim Zeitlin
18230eb6b6
Unicode compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 13:58:01 +00:00
Vadim Zeitlin
468c5a97ec
added unit test for wxTextFile (reading only for now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 13:46:38 +00:00
Vadim Zeitlin
8605eb1abe
added ParseDate() tests; use CPPUNIT_ASSERT_EQUAL to see the dates in cppunit output
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:21:18 +00:00
Michael Wetherell
b26ed94e4f
The cyrillic characters used in the CaseChanges() test have different values
...
on different platforms depending on the cyrillic character set used. So try
generating these from the Unicode instead of using fixed values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:45 +00:00
Michael Wetherell
0c09451870
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:10 +00:00
Michael Wetherell
1d805c1468
Fix for 64-bit systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:59:37 +00:00
Michael Wetherell
fec7aeabc1
Check encoding names case insensitively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:58:50 +00:00
Vadim Zeitlin
216a72f3b9
added support for 64 bit ints in wx stream classes (patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:51:34 +00:00
Vadim Zeitlin
34af0de434
compilation fixes for wxUSE_DATETIME==0 (another part of patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:20:28 +00:00
Vadim Zeitlin
cf9b63b38a
regenerated all makefiles with bakefile 0.2.0; removed REZ option from config.bkl as it's now defined by bakefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:27:51 +00:00
Vadim Zeitlin
1bfb73b877
added wxRect::CentreIn()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:01:19 +00:00
Vadim Zeitlin
97ad053bff
more standard (although less RFC-conformant) treatment of file: URIs (patch 1415189)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:09:36 +00:00
Roger Gammans
42b62acfc2
Add flags to test dates struct which allow us to skip ecpected failures.
...
Use new flags feature to allow us to test format dates outside the two digit
year parse range.
Add dates to test for sf.net bug #1357272 and a couple of related issues.
(eg,6Feb{1856,1857,1937}) .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 14:05:39 +00:00
Roger Gammans
f30057dfbf
Fix for compiler error with gcc 3.3.5 and cppunit 1.10.0 and
...
Improve readablity of test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 14:01:37 +00:00
Michael Wetherell
9d309aad76
Rebake all the VC++ project files and makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-21 23:06:27 +00:00
Vadim Zeitlin
5ad1f9028d
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 21:44:44 +00:00
Vadim Zeitlin
06ef151178
added GetString() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 21:33:39 +00:00
Vadim Zeitlin
4626c57c58
1. changed wxStringTokenizer to not modify the string we're iterating over
...
but to just update our position in it (makes the code much more clear)
2. added GetLastDelimiter() to make up for lack of mode combining
wxTOKEN_RET_EMPTY_ALL and RET_DELIMS
3. documented it and added unit tests for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:12:54 +00:00
Vadim Zeitlin
505a8c2ced
added a couple more wxTOKEN_RET_DELIMS tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:01:11 +00:00
Vadim Zeitlin
8aa57160a0
even more test cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:54:50 +00:00
Vadim Zeitlin
822c2b9f65
corrected expected test results to conform to current wxTOKEN_RET_EMPTY behaviour; added the value of loop index for which the test fails to the diagnostic messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:38:22 +00:00
Vadim Zeitlin
2461117002
more test cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:27:25 +00:00
Vadim Zeitlin
53599fbbd8
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 00:17:22 +00:00
Vadim Zeitlin
20a34d96ef
regenerated makefiles after adding tokenizer.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 00:11:26 +00:00
Vadim Zeitlin
423d529ccb
compilation test for Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 01:23:17 +00:00
Vadim Zeitlin
421274fade
added tests showing that current wxStringTokenizer code doesn't handle multiple delimiters at the end of string properly in mode != wxTOKEN_STRTOK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:48:41 +00:00
Vadim Zeitlin
8b6d5b1fc3
extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:34:09 +00:00
Vadim Zeitlin
a67f601b14
extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:30:12 +00:00
Michael Wetherell
716e748b2f
In the past some streams returned Eof() before the end was read past rather
...
after, and also some streams give an error instead of Eof(). Test the archive
streams work with parent streams that have any of these behaviours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 13:58:55 +00:00
Vadim Zeitlin
b03cd7e68f
added test for wxString::Format() string truncation for longer strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 14:50:54 +00:00
Michael Wetherell
24c96d96bc
wx_wcscmp is only used in unicode mode so wrap in #if wxUSE_UNICODE to avoid
...
a warning about an unused function, and clean up the function at the same time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 18:04:06 +00:00
David Elliott
8ced02f601
Ran make -f build/autogen.mk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 05:17:36 +00:00
Dimitri Schoolwerth
412e0d47c0
applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Michael Wetherell
0519aac9db
Warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 16:55:03 +00:00
Michael Wetherell
5c60e84569
Regenerate Makefile.in, configure and the VC++ project files after adding rcdefs.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 02:34:32 +00:00
Michael Wetherell
ab6ea1ac2f
Regenerate the msvc makefiles after TARGET_CPU option added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-16 20:35:41 +00:00
Michael Wetherell
6c1a7bc483
Temporarily disable test that takes a long time to run, needs moving to a named registry
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:04:29 +00:00
Michael Wetherell
ea75e99e8f
Compilation fix for platforms where size_t is larger than long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:01:25 +00:00
Michael Wetherell
a901c3fde9
Compilation fix, templates are broken on 64-bit VC++ 8.0 beta 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:00:12 +00:00
Vadim Zeitlin
4cbcfb73a0
regenerated after version.bkl changes fixing -compatibility_version for Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 21:05:25 +00:00
David Elliott
0ee4059da2
Ran bakefile -f autoconf and autoconf.
...
Some missing headers have been added, the *NODOT variables were
added to samples makefiles and the version changed from 2.6.2 to 2.7.0.
Generated configure now includes "OS/2" fixes per wxAutohacks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-01 03:42:14 +00:00
Michael Wetherell
d8b6309bde
Extend the hashmap tests to cover integer and pointer keys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 19:11:38 +00:00
Vadim Zeitlin
4f7ee81a08
added ToLong/ULong/Double() tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-11 11:47:11 +00:00
Michael Wetherell
6565d564cb
Compile fix for VC++ 5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-10 21:21:27 +00:00
Vadim Zeitlin
d26adb9df7
Fixed several bugs in wxDateTime timezone handling:
...
- ToTimezone() and MakeTimezone() now work as expected
- added and documented FromTimezone() and MakeFromTimezone()
- Set(double jdn) interprets jdn always in UTC
- updated ParseRfc822Date() timezone handling
- removed workarounds for old bugs from the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:06:36 +00:00
Michael Wetherell
c1ce4db1de
wcslen and wcscmp replacements for systems that lack them, such as djgpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 11:40:40 +00:00
Michael Wetherell
8f1158912f
wxMBConv test cases, patch 1179989 from Vince Harron
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:29:05 +00:00
Michael Wetherell
394579cf6f
Replacements for some wcsxxx funcs for systems without them like osx 10.2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:21:20 +00:00
Michael Wetherell
8b9e1f439b
Comment typo fixes from Vince Harron
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:05:05 +00:00
Michael Wetherell
2113bc7764
Rebake after MSLU and other changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 16:10:12 +00:00
Julian Smart
0d90d6ea7a
Rebake for 2.6.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 12:48:14 +00:00
Vadim Zeitlin
3c58949394
regenerated to include scope guard test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 13:29:15 +00:00
Michael Wetherell
a7ea35b011
Eliminate non-ascii chars from generated include file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-04 12:25:56 +00:00
Vadim Zeitlin
993896f180
added test for HasGroup() bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 18:04:11 +00:00
Vadim Zeitlin
702c413357
added scopeguardtest.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 22:23:20 +00:00
Włodzimierz Skiba
fd725bce37
Patch #1222244 : Fixes for bug #1212853 with unit test.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:29:55 +00:00
Vadim Zeitlin
5f7348ce62
added test for wxScopeGuard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:47:30 +00:00
Vadim Zeitlin
24fec90857
added tests of more URLs in URITestCase::URLCompat()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:19:28 +00:00
Vadim Zeitlin
24ca04e7aa
fix for fixing of escape sequences (patch 1213416)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:17:33 +00:00
Michael Wetherell
5077fd890c
Change 'test -e' to 'test -f' for Sun
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 20:44:31 +00:00
Julian Smart
47a4a1aec8
Baked files for 2.6.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 16:38:10 +00:00
Włodzimierz Skiba
3f302e7533
Unicode fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 16:53:30 +00:00
Vadim Zeitlin
60c0dfe53b
added (trivial) GetLong/ShortPath() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 19:37:00 +00:00
Michael Wetherell
14dc53b2f3
Change the format of the output so that you can jump to the error with your editor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-01 20:04:47 +00:00
Mattia Barbon
555d0d7ef1
Correct wxArrayString::Add return value as per the documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-26 19:24:12 +00:00
Michael Wetherell
f4dd8614fa
Compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 10:32:55 +00:00
Julian Smart
d672173c65
Renewed makefiles after reverting run-time lib change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 20:08:49 +00:00
Julian Smart
21c6080db7
Regenerated makefiles for runtime lib change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 12:58:24 +00:00
Michael Wetherell
a77104ea45
Use 'test -f' since Sun's shell doesn't have 'test -e'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 00:07:53 +00:00
Julian Smart
4818141bb2
Changed version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 15:50:13 +00:00
Ryan Norton
4629f07ed2
Add reverse case too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:13:11 +00:00
Ryan Norton
2df0258e2b
fix wxString::Replace when new strings are longer than old string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:05:40 +00:00
Ryan Norton
7634e443c0
yet more wxString tests for null chars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 23:44:59 +00:00
Michael Wetherell
573800c5aa
Redo the previous warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 01:29:40 +00:00
Michael Wetherell
34de441c11
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 00:59:27 +00:00
Vadim Zeitlin
c406cd3da0
added more tests for wxFileConfig creation: adding new entries/groups in different order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:21:51 +00:00
Włodzimierz Skiba
da865fdd32
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Michael Wetherell
98cfeab393
Check the returned length too in the utf-8 tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 21:15:52 +00:00
Vadim Zeitlin
96461cc29d
added wxMemoryInputStream(wxMemoryOutputStream&) ctor (patch 1170635)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 22:37:58 +00:00
Michael Wetherell
726c8204cd
Tests for UTF-8 and PUA characters and octal escapes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 23:03:36 +00:00
Włodzimierz Skiba
34930e5304
Build fix after recent changes in library.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 17:21:59 +00:00
Włodzimierz Skiba
489f6cf713
Fix for ambiguities which happen in STL=1 mode under DigitalMars C++.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 20:01:55 +00:00
Julian Smart
8c9f8f91cd
Updated version to 2.5.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 13:05:13 +00:00
Mattia Barbon
fb52f6cf85
Allow building with GCC 2.95.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:11:03 +00:00
Mattia Barbon
26531700c7
Correct compilation conditions for wxURL::SetProxy.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:09:31 +00:00
Włodzimierz Skiba
27b2dd53f6
Fixed strange situation when we had wxPathExists and wxDirExists with the same finctionality. Using wxPathExists instead wxFileExists (fixes bug #865628 ). Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:46:32 +00:00
Włodzimierz Skiba
6ca3a32256
Unicode fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 19:52:52 +00:00
Ryan Norton
e605541c36
"test" for testing a [fixed] proxy crash (from last commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 03:33:50 +00:00
Michael Wetherell
e126517457
Add wxTempFileOutputStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 16:20:51 +00:00
Vadim Zeitlin
fcae713511
another test for DST bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 00:23:05 +00:00
Vadim Zeitlin
981cc5bbe9
fixed test to actually work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 00:20:31 +00:00
Vadim Zeitlin
dfecbee579
support filenames with empty extension (foo.) (bug 1078200)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 00:18:37 +00:00
Vadim Zeitlin
1d4037aa1f
fixed ToString() for negative long longs (bug 1101426)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 23:08:13 +00:00
Vadim Zeitlin
c6e8c6f84a
compilation fix (need meth.h for fabs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 22:48:26 +00:00
David Elliott
94acd38ec2
Rebaked with Bakefile 0.1.7.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 03:56:12 +00:00
Michael Wetherell
0912690b65
Rename wxGetFileType to wxGetFileKind
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 21:53:51 +00:00
Michael Wetherell
9e8e867ff9
Rename wxUSE_ARCSTREAM to wxUSE_ARCHIVE_STREAMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 21:40:48 +00:00
Michael Wetherell
3c70014d96
Add wxGetFileType and IsSeekable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 12:39:03 +00:00
Michael Wetherell
070e8453c0
Compile console apps with wxUSE_GUI=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 16:26:34 +00:00
Michael Wetherell
e6477b92b7
Separate out zip specific parts of the archive test suite
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 14:06:08 +00:00
Michael Wetherell
cb32743940
Rebaked test.bkl for new tests largefile, size, point
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 16:10:29 +00:00
Ryan Norton
086d7f3177
update to patch [ 1077074 ] Unit test for large file support from Mike
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 15:15:20 +00:00
Vadim Zeitlin
8673a12505
fixed Inflate() to not move the rectangle (patch 1114622)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 11:04:43 +00:00
Ryan Norton
48714f7495
patch [ 1077074 ] Unit test for large file support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 09:43:47 +00:00
Vadim Zeitlin
a480d0ab83
added test for the DST bug (patch 1097811)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 01:36:28 +00:00
Vadim Zeitlin
00b34ed7ed
added a few more UTF-[78] tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 01:14:53 +00:00
Vadim Zeitlin
ec54fe9e18
added small UTF 8 conversion test case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 00:31:47 +00:00
Włodzimierz Skiba
e3f2384e48
Unicode markup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 11:16:42 +00:00
Mattia Barbon
10dcbe6369
Fix wxSortedArray::Index() when wxUSE_STL == 1, with tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 13:28:49 +00:00
Włodzimierz Skiba
cad3d9c14c
MinGW warning fix for hundreds of not initialized members.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 15:41:09 +00:00
Włodzimierz Skiba
a09cd1895e
MinGW warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 19:50:43 +00:00
Mattia Barbon
fcbeab2fd8
Additional sanity check.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:28:42 +00:00
Mattia Barbon
ca7766b4e5
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:28:04 +00:00
David Elliott
d3c073a285
Rebaked (Bakefile 0.1.4). Corresponds to tests.bkl,1.30,1.31
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 18:18:04 +00:00
Włodzimierz Skiba
51496782d1
wxLongLong to wxString operators.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:57:21 +00:00
Dimitri Schoolwerth
cbc9c06fe5
added FileConfig test case exposing a problem with deleting the last group
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 11:12:05 +00:00
Włodzimierz Skiba
b713f8919c
wx/math.h integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Włodzimierz Skiba
d76bb5b289
Geometry operators tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:29:21 +00:00
Włodzimierz Skiba
3e8f9a4980
Geometry operators tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:29:20 +00:00
Václav Slavík
98a50e202c
even GUI test should be console app
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:25:46 +00:00
Vadim Zeitlin
e07e8195ae
added a test for wxRect::Union()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:23:19 +00:00
Václav Slavík
a0744a6b06
added GUI test program
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 12:35:45 +00:00
Mattia Barbon
7d9cfc5483
Moved tests for wxHashMap, wxHashSet and wxList
...
from console sample and converted them to unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:39:22 +00:00
Ryan Norton
ff3d9a3532
better name - add newline to end of file for dumber compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 00:02:11 +00:00
Ryan Norton
c08dd08b3e
add wxStripExtension test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:58:11 +00:00
Ryan Norton
f44eaed650
patch 1073385
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 20:37:44 +00:00
Ryan Norton
2f4bebe8ff
data stream test for extended
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 22:31:25 +00:00
Ryan Norton
8f0ff17851
[ 1070686 ] wxOutputStream::Close()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 14:26:10 +00:00
Ryan Norton
95662a8379
Lots and lots and lots of MSVC fixes for archive stuff, some stuff from patch 1071373
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 13:49:43 +00:00
Włodzimierz Skiba
724d491f1d
Empty line at the end.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:12:29 +00:00
Ryan Norton
8899b155a1
[ 1068188 ] Precompiled header for the test program [Modified a bit]
...
Regen bakefiles for unit tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:00:19 +00:00
Ryan Norton
8c6be1a881
Unicode logic fixes for AddEntries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 19:21:17 +00:00
Ryan Norton
0868a03009
Hack around MSVC 6 for forward declarators (from Mike W)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 18:59:36 +00:00
Ryan Norton
ba8546912d
wxTextOutputStream::PutChar and text stream test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 18:26:38 +00:00
Ryan Norton
2c09fb3b8b
wxMemxxx --> wxTmemxxx, get rid of wxdocmpxxx impossible case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:44:40 +00:00
Ryan Norton
4130044adf
Remove silly include (from me I guess :))
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:11:38 +00:00
Ryan Norton
56863b1608
MSVC 6 compilo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:10:25 +00:00
Włodzimierz Skiba
9386cb75e3
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:08:31 +00:00
Vadim Zeitlin
4626345596
fixes to ZIP/archive patch (patch 1064426); should fix the docs build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 19:10:35 +00:00
Ron Lee
17a7bf57f8
Added gnome files to gtk dist.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 04:51:25 +00:00
Vadim Zeitlin
00375592f9
added ZIP classes by M.J.Wetherell (patch 1030239)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 23:58:38 +00:00
Włodzimierz Skiba
3e5f6c1c4f
Patch 1053127 - Test fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:29:08 +00:00
Vadim Zeitlin
30984deafc
new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFileOffset only, make wxInvalidOffset an int (main part of the patch 1063498)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:02:58 +00:00
Ryan Norton
aa3698d5d0
fix datetime tests for non-westeurope time zones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 09:31:13 +00:00
Václav Slavík
c33230b1c1
memory corruption fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 11:02:58 +00:00
Václav Slavík
6b7d5d1c44
fixed memory deallocation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 10:29:47 +00:00
Ryan Norton
990e581091
clean up dust from uri tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 00:23:52 +00:00
Ryan Norton
113e181a8a
update msvc projs manually for changed tests and uri tests and rebake others
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 00:17:00 +00:00
Vadim Zeitlin
4c2deb19e0
handle volume part of the path correctly in wxFileName(path, name, ext) ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 20:11:42 +00:00
Vadim Zeitlin
c7a4ae97ed
ignore VC7 projects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 19:44:17 +00:00
Włodzimierz Skiba
2b9afe407e
URL conditional and consistent intendation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 21:56:29 +00:00
Włodzimierz Skiba
d37da5efd5
URL test needs net lib.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 21:54:29 +00:00
Ryan Norton
a9e9946154
Rename some tests to avoid conflicts with project builder GUI debugger
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 04:41:27 +00:00
Ryan Norton
15f2ee3270
[ 1054664 ] Implementation of wxMBConvUTF7 (Heavily modified in places), utf7 unit tests change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 22:10:26 +00:00
Ryan Norton
854451e2f8
have wxbuiltin wxmbconvutf7 return -1 (error) not 0. Some cleanups in string.cpp. Add some unit tests for utf7 and cleanups.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 11:13:41 +00:00
Ryan Norton
bdd8f35a58
Handle bad conversions correctly. Add Bad UTF8 test.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 10:13:59 +00:00
Václav Slavík
c20d8682bd
check if conversion to UTF7 works
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-29 09:29:52 +00:00
Ryan Norton
86470d432f
final wxURI API changes. Changed Get to BuildURI to better reflect what its doing. Added wxURI::Unescape to unescape characters in a url or uri. Added wxURI::BuildUnescapedURI. Changed the wxURL convertXXXuri methods to use uri methods instead, and depreciated these methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 09:57:43 +00:00
Ryan Norton
b60b2ec8ac
Inherit wxURL from wxURI, providing assignment, copy construction, comparison, and less duplication of code. Change wxURI a bit to meet some of Vadim's reccommendations - move accessors into header, and finish some of his other reccom. Change assignment to use const wxString& instead of const wxChar*. Change wxURI docs to reflect that it inherits from wxObject. Made preliminary docs for the wxURL transition. Add some unit tests for the transition.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 06:49:46 +00:00
Ryan Norton
dd65d8c830
wxURI. Move Convert/to/fromURI into uri.cpp so that it is compiled in base. Regenerate Bakefiles.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-27 22:47:26 +00:00
David Elliott
0e3165d725
Rebaked (build/bakefiles/common.bkl 1.95->1.96 change)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 17:02:37 +00:00
Vadim Zeitlin
15e2adbd3b
compilation fix for Borland
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 20:17:00 +00:00
Vadim Zeitlin
bd2fe27eed
added test for the (just fixed) bug with adding the first entry to the root group
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 01:13:54 +00:00
Vadim Zeitlin
5b952139e8
fixed the just added wxStringTokenizer::GetPosition() test overwritten by the previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:27:02 +00:00
Vadim Zeitlin
296d315635
use unsigned chars for UTF8 data (avoids warnings)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:16:27 +00:00
Vadim Zeitlin
76c6fcbc31
added wxStringTokenizer::GetPosition() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 00:14:07 +00:00
Włodzimierz Skiba
0c92403494
Whitespaces, tabs and fix to the lack of empty line at end.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 17:12:26 +00:00
Ryan Norton
f7e98dee7e
cocoa doesn't need system framework - string conversion for cocoa - focus for cocoa - a bit of change for string unit tests for new functionality
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 02:02:30 +00:00
Julian Smart
9c2d002b3e
Regenerated makefiles for 3rd-party lib change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 11:20:24 +00:00
Ryan Norton
30261041bc
final compilo fixups for 10.2 unicode - c/c++ fixes for regex - fixup regex unit tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 05:00:28 +00:00
Ryan Norton
ab921f5f80
bakefile time!! (Mainly stuff for wxCocoa)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 22:35:53 +00:00
Ryan Norton
265d5cce05
1.10.2 and less mbtowc and wctomb HAVE THE COOTIEScd .. (they are just stubs and return 0 - we need our own, even in ANSIcd ..!)\n2.Finalize the null character changes in wxString - change mb_str and wc_str to not stop at null characters\n3.Add unit tests for the above
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 22:28:57 +00:00
Ryan Norton
422d306cb3
1. Yet another unit test for new stirng stuff
...
2. Fix unicode and 10.2 in src/cocoa/app.mm
3. Fix error in doc about wxEvtHandler::Connect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 16:50:24 +00:00
Ryan Norton
dcb6810279
2.5.3 - cleanups, fixes, etc. etc. -
...
1. Various stubs for wxCocoa (and the bakefile entries for them)
2. Definitions for some wxCocoa cocoa types in defs.h
3. Hack to attempt to fix SYNC sound for mac carbon
4. Fix for wxCocoa and 10.2 (Dave - I'm already around doing some stuff anyway - I'll go ahead and save you the trouble).
5. 10.2 unicode layer
6. Strings null-char fixes (stems from chartraits patch - essentially the patch minus the chartraits part - HAHA :)) [note to self - swap the 2nd and 3rd params of wxMemchr if you use chartraits and vice versa]
* If you have time please run the strings and stdstrings cppunit test suite
* Also add more test suites if you want - more is always better :)
* This does not include any fixes for mbtowc etc functions as outlined on the ml
7. An attempt to update wxArray docs a little
8. wx/process.h build fix for wxCocoa
9. Unicode fixes in app.mm for wxCocoa
10. Remove newer font panel after Stefan's suggestion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 08:53:48 +00:00
Vadim Zeitlin
9413911860
added tests for deleting and renaming entries and groups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:38:08 +00:00
Vadim Zeitlin
9db6158ab8
added SetPath(), entries and groups enumerations tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:24:28 +00:00
Vadim Zeitlin
17c24d37c6
started wxFileConfig unit test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 23:17:19 +00:00
Ron Lee
7714864e2f
Update the wx-config man page.
...
Remove some cruft from the docs package.
Bump version in configure.
Update aclocal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:07:08 +00:00
Ryan Norton
c33fae85b0
Regen Bakefiles for OSX HID integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 06:53:08 +00:00
Ron Lee
a1bf307a46
Limit the influence of flavour more strictly to autoconf format.
...
Remove '-' and '.' from the $release tag for non autoconf platform.
This may like slightly finer tuning than that for some people.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 08:46:55 +00:00
Ron Lee
589e20d03c
Move the WX_FLAVOUR variables to be defined generally, not just for
...
autoconf builds, else the wince targets (at least) will complain.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 15:08:33 +00:00
Ron Lee
ceec2216bd
wx-config2.6
...
Designed to be resiliant against future cut and paste coders. Any
gnarly parts are black boxed away nicely to avoid accidents and have
integrated debugging support for trivial sanity checking in the event
of modification or trouble. In this way the major operations are all
cleanly separated making any or all of them simply extensible, or
replaceable in the face of future needs. Functions now all have api
descriptions. If you rely on a function to act in some way, please
document it to safeguard yourself against inadvertant interface
changes by others.
Everything now runs top top to bottom, we don't try to output things
as fast as we can read them anymore, instead we read everything in,
sort over it just once without the need for 'just in case' temp's, and
then output whatever we were asked for only when we are sure we have
the correct answer. Almost all key data aims to be constant past the
point of its initialisation so side effect creep and trouble with half
(re)initialised data should be significantly reduced in future. In
almost every case it is easy and clean to simply delay initialisation
until all required input channels have been emptied. If you like,
think of it as mostly being one big constructor, with a little
destructor at the end which outputs what you requested. At core, it
is simply a generated config file -- with some user friendly logic for
extracting its data and finding related files.
Removed references to --gl-libs in --help. It still exists, but if
its deprecated, no need to fill space in a compact help summary. It
will remain documented (as deprecated) in the man page.
Removed references to arcane order rules for arguments. Those
limitations don't exist anymore, though the options are backward
compatible in all other respects from the user pov.
Removed references to --inplace, it doesn't need to be in the summary
help either. It also is still accepted as an option, but there is no
value in passing it, an uninstalled wx-config will automatically
behave correctly. When you need --inplace, it will supply that
behaviour for you (but there is no harm in typing it your self in that
case). If you do type it when you don't need it, bad things will
probably happen just like they always would have.
Along with items above, generally compressed --help text to fit on
even a traditional sized terminal without the need for paging. If we
want more detailed help built in, it should be broken into separate
pages, and this would be a trivial extension.
Command line input is now controlled by a small generic parser. You
define what options you want and what groups you want them in by
initialising them as lists. It runs over all the input and fills
corresponding psuedo-hashes from it for you to use as you please
later.
Added a validator for it to check yes/no options.
Use posix extended regex instead of gnu 'basic' regex extensions,
grep -E is portable, if gmake is not a requirement, we surely can't
push gnu grep on people.
Made --list more user friendly. It will now always list the current
wx-config if it matches the feature spec, though it will warn if that
config is not in the specified --prefix. Alternate configs that match
(if any) are listed separately. An unqualified call to wx-config --list
will always return (at least) the config that was called. We can never
have a 'hanging' wx-config shell with no real implementation to back
it up anymore so we can always return a sensible result for the user.
A wx-config anywhere can list (and hence use) the configs installed in
any (other) prefix.
Delegation. Too big a topic to remark on in depth here, see the code
for a fuller description. With everything being nicely constant and
aligned to the respective library build, then aside from delegation,
wx-config really is _just_ a config file (albeit with a layer of logic
around the constants), and each wx-config carries a set of defaults
which match perfectly the library build that it was generated with.
If you choose a set of features that it can match, it will answer all
your queries for them, if it cannot, it will seek to delegate to the
config that is most like itself, but which can supply all the features
you specified. This should be completely compatible with any set of
options that returned a sensible result previously, and produce a
sensible result in many cases where previously the collating order
of your locale or the nuances of your filesystem operations would
decide which library it thought you wanted.
Sort duplicates out of the list of libraries and trickle shared
dependencies down the list to properly support static builds.
Added the inplace-config tweak for use in the build tree. This works
like any other config, except it presets the default prefix to point
at the build dir instead of the configured prefix that will become the
default if this build is installed. It provides the behaviour of
--inplace when $build_dir/wx-config is called without also specifying
a different --{exec-,}prefix or any feature flags that it is
incompatible with. In that event, it will try to delegate as per the
normal rules.
The inplace wrapper is not installed with the primary config which
cleanly disables it for system installs. It will be invalidated if
the build (or source) dir is moved, but will be revalidated if the
build tree is subseqently updated with ./config.status --recheck &&
config.status (which it probably would need to be to build anyway for
other reasons at present too)
Enabled full support for static builds again, promoted --static to a
full feature option. Fixed --ld to return something for them too.
Added --flavour, similar to the existing --vendor, but for autoconf
builds. These will probably want to be streamlined further.
Broadened the use of release and flavour labels to support better
concurrent installs.
Fix bit rot in make-dist due to new/deleted files.
Whittled down the number of obsolete and duplicated substitution
variables in configure.in, and lowercased some variables we no longer
export for substitution. Use the autoconf macros to generate files
where we want them instead of making them someplace and then moving
them all about. Remove extra files and symlinks added for the two
part wx-config version.
Removed the debian -contrib packages. We'll use multi-lib support
to manage them from now on and indiviual libs can be split out along
functional lines if required. This means the retained contribs will
now get __WXDEBUG__ versions packaged too.
Removed conflicts from almost packages except i18n and wxPython. All
packages now either update or install alongside any existing ones.
Added support for flavoured debs as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-21 17:16:29 +00:00