Vadim Zeitlin
|
3232da9d90
|
work around Borland compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-20 09:00:19 +00:00 |
|
Vadim Zeitlin
|
e767076e80
|
just return false instead of crashing if the document contents can't be converted to the target encoding (#10064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-10-10 16:13:53 +00:00 |
|
Vadim Zeitlin
|
cc209a518f
|
check that string passed to FromUTF8() is valid even in release build, this is safer; add a separate FromUTF8Unchecked() which can be used for maximal efficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-19 19:59:59 +00:00 |
|
Václav Slavík
|
43a302f200
|
added wxXmlNode::InsertChildAfter and use it for (much) faster XML parsing (based on patch by Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-30 10:27:19 +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
|
e13ce4a3d0
|
move Add/DeleteAttribute() implementations out of line to avoid deprecation warnings when including xml.h from user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-11-16 23:34:21 +00:00 |
|
Václav Slavík
|
6e26d6b78c
|
include line number information in wxXmlNode (based on patch #1803492 by Heikki Linnakangas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-09-30 11:09:54 +00:00 |
|
Václav Slavík
|
cc24bf9192
|
wxXmlNode::GetAttribute's pointer argument must not be NULL, check for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-09-24 22:09:06 +00:00 |
|
Václav Slavík
|
288b6107e1
|
renamed wxXmlProperty to wxXmlAttribute, plus implied method names changes (bug #1751761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-07-14 10:07:41 +00:00 |
|
Václav Slavík
|
8650108199
|
don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-06-10 17:42:41 +00:00 |
|
Václav Slavík
|
58227f65ca
|
compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-17 06:17:29 +00:00 |
|
Václav Slavík
|
d6cb12871f
|
fixed CDATA processing to convert the content to output charset, it should be treated just like text in this respect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-16 22:35:17 +00:00 |
|
Václav Slavík
|
352d9b8957
|
fixes for STL build without implicit wxString->char* conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-16 18:07:05 +00:00 |
|
Václav Slavík
|
26296ac997
|
wrap all handlers in single extern "C" section instead of lots of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-16 18:03:23 +00:00 |
|
Václav Slavík
|
b04edcaf5f
|
use FromUTF8() when loading XML, data coming from Expat are already validated UTF-8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2007-05-05 18:55:05 +00:00 |
|
Vadim Zeitlin
|
8605f9c571
|
compare charset strings case-insensitively (and so avoid conversions between utf-8 and UTF-8 for example, see patch 1611068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-12-24 13:36:22 +00:00 |
|
Robert Roebling
|
e8da6b7cef
|
[ 1601396 ] Fix copy of empty wxXmlDocuments
and minor doc update.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-11-26 18:41:43 +00:00 |
|
Michael Wetherell
|
6df6e35a3e
|
Fixes for semicolons, commas and wxSTRING_MAXLEN from Wlodek Szafran.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-10-29 07:37:09 +00:00 |
|
Václav Slavík
|
eac789ff9c
|
removed tabs and trailing whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-11 11:13:05 +00:00 |
|
Václav Slavík
|
538f383019
|
wxXML load/save improvements: added ability to not ignore whitespace and specify indentation level (patch #1541888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-11 11:08:49 +00:00 |
|
Robert Roebling
|
fa6a837300
|
Apply patch [ 1554746 ] wxXmlNode::InsertChild fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-09 11:32:10 +00:00 |
|
Robert Roebling
|
a01cbf0a7c
|
Commit Haakan Wiman's cdata XML patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-09-01 11:14:36 +00:00 |
|
Vadim Zeitlin
|
97757cee26
|
check that the stream is valid before using it in Load() and Save() (patch 1516432)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-07-24 18:06:57 +00:00 |
|
Julian Smart
|
da452b9eec
|
Missing dereference caused wrong wxString ctor to be used, leading to
memory errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-06-08 08:09:27 +00:00 |
|
Włodzimierz Skiba
|
670f993563
|
Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-04-28 12:44:37 +00:00 |
|
Włodzimierz Skiba
|
e4db172a3b
|
Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-04-26 08:21:31 +00:00 |
|
Włodzimierz Skiba
|
88a7a4e10e
|
Include wx/intl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-04-25 14:38:19 +00:00 |
|
Włodzimierz Skiba
|
40989e46b8
|
[ 1473731 ] 'wxColourBase and wxString <-> wxColour implementation' with minor modifications and rebaked build files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-04-24 14:52:23 +00:00 |
|
Vadim Zeitlin
|
ddae497f7b
|
fix off by one error in CharToString(); also simplified the conversion code a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-04-19 09:38:54 +00:00 |
|
Julian Smart
|
4c43dd9078
|
Applied patch [ 1432449 ] wxXml API documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-03-11 13:43:58 +00:00 |
|
Jouk Jansen
|
93d3dbd4b3
|
Committing in .
first version of wxGTK2 for OpenVMS. At present for debugging only.
Modified Files:
wxWidgets/descrip.mms wxWidgets/setup.h_vms
wxWidgets/contrib/src/deprecated/descrip.mms
wxWidgets/samples/minimal/descrip.mms
wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/html/descrip.mms
wxWidgets/src/unix/descrip.mms wxWidgets/src/xml/descrip.mms
wxWidgets/src/xrc/descrip.mms
Added Files:
wxWidgets/lib/VMS_GTK2.OPT
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2006-02-15 09:33:40 +00:00 |
|
Vadim Zeitlin
|
8dfd4fade8
|
code cleanup: make OutputString[Ent]() simpler to call by providing defaults for conversion parameters and using flag instead of a bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2005-12-18 15:02:01 +00:00 |
|
Vadim Zeitlin
|
24c80a284c
|
use correct encoding when saving in non-Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2005-12-18 14:49:38 +00:00 |
|
Mart Raudsepp
|
8907154c1a
|
Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2005-09-23 12:56:45 +00:00 |
|
Włodzimierz Skiba
|
759f727261
|
Warning fix about assigning unused value + little source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2005-03-29 17:28:58 +00:00 |
|
Vadim Zeitlin
|
865bb3251e
|
GTK+ callbacks must have C linkage (patch 1157384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2005-03-21 23:42:26 +00:00 |
|
Włodzimierz Skiba
|
d0468e8c29
|
MinGW warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2005-01-19 14:13:57 +00:00 |
|
Jouk Jansen
|
fa06876d15
|
Committing in .
Patches to compile on OpenVMS
Modified Files:
wxWidgets/descrip.mms wxWidgets/src/common/db.cpp
wxWidgets/src/common/stream.cpp
Added Files:
wxWidgets/src/xml/descrip.mms wxWidgets/src/xrc/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-11-02 07:13:19 +00:00 |
|
Włodzimierz Skiba
|
42841dfcad
|
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-10-11 16:30:43 +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 |
|
Mattia Barbon
|
088ab98499
|
Calculate length explicitly (for wxUSE_STL == 1).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-03-03 20:59:24 +00:00 |
|
Dimitri Schoolwerth
|
0e2710a6b9
|
Fixed MSVC warnings from Win32 Unicode Release build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-11-08 19:40:29 +00:00 |
|
Václav Slavík
|
ebf0700dda
|
properly quote characters when streaming out XML properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-09-30 19:08:28 +00:00 |
|
Václav Slavík
|
6a8fb6bdea
|
XML code fixes (patch #815196)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-09-30 18:36:05 +00:00 |
|
Stefan Csomor
|
99f677aef3
|
unicode wxMac CW fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-08-17 16:25:37 +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 |
|
Václav Slavík
|
34fdf76231
|
added build options sanity checks into all main libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-08-04 13:19:44 +00:00 |
|
Václav Slavík
|
e4f21fece2
|
fixed weird error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-08-01 15:38:36 +00:00 |
|
Václav Slavík
|
27b0c28644
|
moved XML classes to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-07-20 21:37:03 +00:00 |
|