Vadim Zeitlin
ddf14c1346
src/common/wxchar.cpps/wxConvLocal/wxConvLibs/g as otherwise we may fail to convert the result of libc functions (and, presumably, they might not accept what we give them on input) in Unicode build, see patch 1168341
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 23:49:36 +00:00
Vadim Zeitlin
9348da2fc0
fixed broken wxCtime() implementation (wrong buffer size count, wrong conversion)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 23:45:45 +00:00
Włodzimierz Skiba
525d858363
Last .empty() string source cleaning before 2.5.4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 13:57:02 +00:00
Vadim Zeitlin
26378b412c
don't crash in wxStrftime() if conversion of strftime() result to Unicode fails (modified patch 1094100)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 23:54:40 +00:00
David Elliott
52cbcda351
Declare namespace std {} before using namespace std; for MetroWerks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-30 06:14:10 +00:00
Václav Slavík
63de666d9d
at least partially implemented vswscanf() -- otherwise wx apps compiled against glibc 2.1 wouldn't run at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-26 17:42:39 +00:00
Ryan Norton
eaceebf6ce
get rid of global vars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 15:01:47 +00:00
Vadim Zeitlin
19b65a3033
wxPuts() should output a trailing newline even in Unix/Unicode builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 23:49:15 +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
8a9c20b016
fix darwin defines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 23:32:04 +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
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
27db421056
cleaning up strdup/isascii definitions for compilers which lack them (should fix CW CFM build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:57:40 +00:00
Włodzimierz Skiba
cab1a6053d
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 14:32:35 +00:00
Václav Slavík
fbe47c7b5c
check for wputc wputchar putws fputws availability
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:18:50 +00:00
Václav Slavík
4772f8e198
wxGetenv was incorrectly implemented, caching prevented it from reflecting environment changes -- now fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 20:08:43 +00:00
Julian Smart
a48b2ed692
Initialise hash table with string key
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 09:41:14 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Stefan Csomor
56413ebff7
calling FormatV seems to be correct, as we are already passing a va_list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-17 20:17:47 +00:00
Stefan Csomor
41d9940d5d
changed ppc to ptpc as ppc is a preprocessor constant for PowerPC on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-13 17:22:30 +00:00
Václav Slavík
210f4bcd66
wxVsnprintf_ fix: added %ls,%lc handling (patch 937094)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-18 21:35:06 +00:00
Vadim Zeitlin
a4e0917b48
compilation fix for the last wxSprintf() change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 13:44:06 +00:00
Vadim Zeitlin
f8991003ff
fixed wxSnprintf() for Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-19 22:45:18 +00:00
Ron Lee
b63b07a809
More updates to the Debian packaging for wxPython, unicode and
...
the project name change.
Applied patch from ABX to make tex2rtf unicode compatible, then
removed wxSprintf lameness from it so it might actually work.
Also modified it to return true from tex2rtf OnInit in console
builds so the app will exit with a successful return code rather
than always returning failure even when it succeeds.
Implemented unicode capable wxCtime for glibc systems also needed
by tex2rtf.
Wrapped dde include in tex2rtf in a guard and assert that dde is
MSW only in its forwarding header.
Lowered the limit of maxlen in wxSprintf so it actually has a
chance to segfault on people instead of failing silently and
mysteriously with glibc.
Silenced some other 'potentially uninitialised variable' warnings
from gcc3, most of which were bogus, one potentially not so.
Added missing newline at the end of fontdlg.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 17:40:38 +00:00
Chris Elliott
8dfb846e80
try to fix D Mars compilation for Unicode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 14:34:22 +00:00
Vadim Zeitlin
4eb7c4b180
part of Ictrl -> Iscntrl change I forgot to commit (not important, anyhow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 13:02:59 +00:00
Mattia Barbon
50b079e598
Cleaner fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-25 08:33:57 +00:00
Mattia Barbon
a6c7a0f826
MinGW compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-17 22:21:48 +00:00
Julian Smart
cfee166d4e
Applied patch [ 853850 ] Fixes for wxFormatConverter
...
(M.J.Wetherell)
Added wxConvertFormat function in debug mode to allow for
unit testing
Added tests/formatconverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 14:16:32 +00:00
Julian Smart
eae4425db6
WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:25:44 +00:00
Julian Smart
4c663122e4
Fixes for previous fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-15 10:26:46 +00:00
Stefan Csomor
939fba6c17
removal of pc-mac charset conversion for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
David Elliott
78868257aa
#if wxUSE_UNICODE instead of #if defined(wxUSE_UNICODE)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 13:11:39 +00:00
Stefan Csomor
f73bc315aa
unicode wxMac CW fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:00:28 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Julian Smart
42d11c8e66
Compile with EVC 3.0 2002
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:28:21 +00:00
Václav Slavík
515e94a608
cut-and-paste is not good idea, removed duplicated code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 16:47:07 +00:00
Julian Smart
0be9ace27e
Added RTL functions missing from WinCE to wxchar.h/cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:46:39 +00:00
Julian Smart
4676948b68
More WinCE mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:50:07 +00:00
Stefan Csomor
d314acc0ba
out of memory for strdup handled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:16:05 +00:00
Julian Smart
1c193821a9
More WinCE mods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 11:21:47 +00:00
Vadim Zeitlin
a400a8230f
warning (in Unicode only) fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:48:42 +00:00
Stefan Csomor
2bb1e1f476
moved c-runtime functions for CW here, only add strdup for MSL versions prior to PRO 8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-05 19:47:07 +00:00
Stefan Csomor
5e0d7b6bce
pc 2 mac conversion for file operations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-04 19:52:34 +00:00
Stefan Csomor
31907d0307
unicode and __MACH__ additions for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 15:50:13 +00:00
Stefan Csomor
44c44c82a3
wxMac Unicode support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:21:51 +00:00
Julian Smart
55d99c7a77
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:28:33 +00:00
Vadim Zeitlin
33a7c3dd0b
linking fix for wxUSE_WCHAR_T=0: always provide wxStrtok() unless HAVE_STRTOK_R is defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-22 17:32:43 +00:00
Julian Smart
5283098e13
Applied patch [ 662321 ] Port of wxWindows to Wine
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 13:49:08 +00:00