Jaakko Salli
178c77606f
wxAny initial commit ( closes #10932 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-19 08:51:11 +00:00
Vadim Zeitlin
227989f3e9
Write correct number of bytes in wxFile::Write(wxString).
...
This function was broken for conversions using more than one byte per
character (e.g. UTF-16 or UTF-32) and also even for UTF-8 for strings
containing NUL bytes as it used strlen() to determine the number of bytes to
write out instead of using the really needed number.
Fix this by using the wxCharBuffer::length() method which always returns the
correct value.
Also add a wxFile unit test verifying that it can correctly read back a string
written using any of UTF-8, UTF-16 or UTF-32.
Closes #11192 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 22:40:42 +00:00
Vadim Zeitlin
d12d9edacb
Rebake all the samples, demos and tests makefiles.
...
This should have been committed together with the changes to the debug flags
handling in build/bakefiles in r61887.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-12 13:38:08 +00:00
Vadim Zeitlin
ece5e6a47a
added a simple wxLog unit test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-07 12:19:34 +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
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
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
Francesco Montorsi
ca5016d4dd
make sure that wxProcess always have a valid PID set; add test unit for wxExecute,wxShell,wxProcess based on the code in the console sample; add some more infos/notes in wxProcess docs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 16:23:44 +00:00
Vadim Zeitlin
4fc218c2a7
move evthandler.cpp to non-GUI test as it doesn't require the GUI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-01 23:20:27 +00:00
Vadim Zeitlin
b44f5137ce
link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build ( #10338 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 13:33:51 +00:00
Vadim Zeitlin
438febca6e
don't sleep too long to avoid missing the timers; added a simple test for timer events processing in console apps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 22:04:42 +00:00
Vadim Zeitlin
506e9b7ed2
rebaked using bakefile 0.2.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Václav Slavík
c39058f631
added a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:55:25 +00:00
Vadim Zeitlin
62fb86a515
add simple (and disabled by default) wxSocket client test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 20:45:29 +00:00
Vadim Zeitlin
8b73c5318c
chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 23:28:42 +00:00
Vadim Zeitlin
604fba2d34
made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared ( #9685 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:49:01 +00:00
Vadim Zeitlin
e7ce668e1d
added a simple IPC unit test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 02:19:34 +00:00
Vadim Zeitlin
f9caf1af44
added (for now trivial) socket stream test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-08 00:19:54 +00:00
Vadim Zeitlin
1530fc0958
regenerate the makefiles with correct new test name (iostreams.cpp, iostream.cpp is already taken by strings test)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 18:02:23 +00:00
Vadim Zeitlin
02e22828eb
added a unit test for input/output file streams and fixed the problem it exposed ( #3335 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 17:34:50 +00:00
Vadim Zeitlin
5769cf0f89
fix bugs introduced in wxCmdLineParser::ConvertStringToArgs() during Unicode transition; added a unit test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 17:03:09 +00:00
Václav Slavík
5e05df3c7f
1. fixed wxXmlNode::InsertChild() documentation to match the code
...
2. added tests for InsertChild()
3. simplified InsertChild() code without changing what it does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 22:55:35 +00:00
Vadim Zeitlin
6e4ae332ac
add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and extended patch 1874287)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:03:23 +00:00
Václav Slavík
6e0fbb3dbf
regenerated makefiles with bkl-0.2.3
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 12:13:07 +00:00
Vadim Zeitlin
6490a288bb
rebaked and regenerated everything after the latest changes (wxWeakRef &c)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 02:48:17 +00:00
Vadim Zeitlin
5098c258b2
compilation fixes for VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 01:13:03 +00:00
Václav Slavík
24dfe91709
removed ANSI configs from VisualC++ project files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 11:14:40 +00:00
Vadim Zeitlin
6aaee6afdc
added wxMessageQueue class for inter-thread communications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 01:35:20 +00:00
Vadim Zeitlin
99d8bc6593
added a trivial test for wxString stream insertion operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:10:07 +00:00
Vadim Zeitlin
9222c61388
updated after fileconf/fileconftest.cpp to config/fileconf.cpp move
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:51:19 +00:00
Vadim Zeitlin
a8098f8653
regenerated after adding base64.h/cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 02:00:51 +00:00
Václav Slavík
e966f815d4
changed wxVectorBase and WX_DECLARE_BASE into wxVector<T> template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-07 10:09:42 +00:00
Vadim Zeitlin
173f3c03a0
rebaked after adding threads/atomic.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-04 20:56:52 +00:00
Vadim Zeitlin
a989a329db
changed ds[pw] files to use CRLF eol style and not native one (this helps if you have them on a partition exported via Samba from Unix to Windows)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 12:13:58 +00:00
Václav Slavík
02f935fbab
added basic test for wxLocale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:12:13 +00:00
Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Robin Dunn
ae4ccf12b6
rebaked after changing the version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 02:14:45 +00:00
Robin Dunn
25bb1412af
Move version number to 2.8.0.0 and rebake the makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 02:32:01 +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
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
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
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
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
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
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
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
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
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
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