Vadim Zeitlin
5488a1438f
Globally replace vadim@wxwindows.org with vadim@wxwidgets.org
...
The old email address is invalid since many years and shouldn't be used
any longer.
No real changes.
2019-04-22 14:12:05 +02:00
Dimitri Schoolwerth
8f8d58d193
Use wx-prefixed macros throughout the repository.
...
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE
occurrences to use the wx-prefixed version of the macros.
2015-04-23 22:00:35 +04:00
Vadim Zeitlin
33ad33d447
Add wxOVERRIDE and use it in common and wxOSX code.
...
Make overriding virtual methods more explicit and enable additional checks
provided by C++11 compilers when "override" is used.
Closes #16100 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-03-20 13:26:28 +00:00
Vadim Zeitlin
3f66f6a5b3
Remove all lines containing cvs/svn "$Id$" keyword.
...
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.
If nothing else, this will make an eventual transition to Git simpler.
Closes #14487 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
2253f18176
Add support for CP1258 (Vietnamese) and CP1361 (Korean Johab) encodings.
...
Recognize these encodings names and translate them to/from the corresponding
charset constants in wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-01 11:01:46 +00:00
Vadim Zeitlin
0980e7b323
Use "GBK" as alternative name for CP936 encoding.
...
This is the official name of this encoding, so recognize it as synonym.
See #14360 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-06-01 11:01:37 +00:00
Vadim Zeitlin
d98a58c543
Use __WINDOWS__ for OS kind checks and reserve __WXMSW__ for GUI toolkit.
...
This change prepares the way for using wxGTK under Windows as this would
still define __WINDOWS__ but use __WXGTK__ instead of __WXMSW__.
Closes #14064 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-04 00:29:31 +00:00
Vadim Zeitlin
783d8c1131
Remove fixed size of gs_encodingNames array in font mapper code.
...
Specifying the size explicitly made wxCOMPILE_TIME_ASSERT() checking that the
array sizes were synchronized useless as the array always had the correct
size, independently of the real number of elements in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-28 16:57:21 +00:00
Vadim Zeitlin
12b5857d04
Correct wxFontMapper tables for Big-5, Shift-JIS and GB2312 encodings.
...
As wxFONTENCODING_{BIG5,SHIFT_JIS,GB2312} are only synonyms for the other
encoding constants, we must append the corresponding names to the array of
names for the real encoding value instead of having the (never used) separate
entries for them in the names array.
Closes #13164 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-28 16:57:15 +00:00
Vadim Zeitlin
69e087c144
Add support for CP-866 encoding to wxEncodingConverter.
...
Recognize yet another Cyrillic encoding, a DOS OEM one.
Closes #2318 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-23 23:33:16 +00:00
Vadim Zeitlin
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Paul Cornett
a243da29c8
make array data fully const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-02 17:28:45 +00:00
Vadim Zeitlin
03647350fc
No changes, just removed hard tabs and trailing white space.
...
This commit is huge but there are no non-white-space changes in it.
Some files containing third-party sources (src/msw/wince/time.cpp,
src/x11/pango*.cpp) were left unchanged.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-21 10:41:26 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Stefan Csomor
ba9e5c4d90
adding all encodings on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 17:44:51 +00:00
Vadim Zeitlin
55f7a9ec3c
CP-xxx and MS-yyy iconv identifiers actually don't have dashes in them (this fixes CP932 unit test failure under FreeBSD where iconv doesn't have WINDOWS-932)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-17 19:44:59 +00:00
Vadim Zeitlin
893bf46069
undid change of r44565: not taking hyphens into account entirely is a bad idea as we then recognize some junk as valid encodings and it even made our own unit test fail
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 23:12:39 +00:00
Vadim Zeitlin
e6d4038a8b
don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 21:47:45 +00:00
Vadim Zeitlin
a220ccb313
added ISO-2022-JP encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:46:01 +00:00
Václav Slavík
75ce4cb180
return const wxString& from wxFontMapper::GetDefaultConfigPath()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 18:57:36 +00:00
Václav Slavík
2523e9b700
use UTF8-encoded char* strings in UTF8 build instead of wchar_t* if the current locale uses UTF8;
...
fall back to widechar CRT functions in the locale is not UTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 11:40:04 +00:00
Vadim Zeitlin
9f7617cad6
recognize the encoding name without hyphens as synonym for the same name with hyphens when matching encoding names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 20:21:16 +00:00
Vadim Zeitlin
169c011352
added MSxxx and IBMxxx as synonyms for CPxxx code pages as some systems use these names (too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-24 19:39:03 +00:00
Vadim Zeitlin
c4b4f847e2
recognize CP866 (bug 1497808)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:48:04 +00:00
Włodzimierz Skiba
02761f6cd4
Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Vadim Zeitlin
7fdf414082
added the cast to wxFontMapperBase erroneously removed by the last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 11:22:24 +00:00
Vadim Zeitlin
d5bfbd9ab8
1. renamed wxFontMapper::IsWxFontMapper() to IsDummy() (with reverse semantics)
...
2. added wxFontMapper::Reset() to only do the cast needed when deleting
the font mapper object once
3. reset the dummy font mapper created during the app initialization in
wxFontMapperModule and not in init.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:49:27 +00:00
Mart Raudsepp
cc845a6142
encconv.cpp: Remove comment about 5 being big enough value for ENC_PER_PLATFORM - it should be the minimum
...
necessary instead.
fmapbase.cpp: Slightly reduce the size of an array - it should be reduced further (we only have one item with the
size of 9, rest are not over 6)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 10:02:28 +00:00
Vadim Zeitlin
e4ccedf7b2
removed duplicate entries for UTF-16/32 (which are aliases for either LE or BE variants) from the encodings data arrays (patch 1382350)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:32:24 +00:00
Kevin Hock
5bbca8b037
Remove wxConfig object caching (m_config), which solves dangling pointer problem if the global config object changes (and just makes things simpler)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-29 01:49:55 +00:00
Vadim Zeitlin
9ead8387d0
added more HP-UX charset names
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 23:28:03 +00:00
Vadim Zeitlin
e524af66ad
added HP-UX names for ISO8859-x charsets
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 23:25:20 +00:00
Vadim Zeitlin
cd5b511a70
made Shift-JIS encoding upper case; made SJIS the canonical name for it (just because it's shorter and so will be less unweildy in directory names...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 22:13:41 +00:00
Vadim Zeitlin
17a1ebd101
first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +00:00
Vadim Zeitlin
37d0e9f603
more synonyms for UCS-2/4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-22 11:26:49 +00:00
Vadim Zeitlin
3f0785cd6b
add CP-xxx as synonyms for WINDOWS-xxx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 20:08:17 +00:00
Vadim Zeitlin
761952d9cb
more encoding names for AIX/Solaris/IRIX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 19:27:23 +00:00
Vadim Zeitlin
6ba5438dda
compate charset names case-insensitively in GetEncodingFromName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 14:46:41 +00:00
Vadim Zeitlin
8b3eb85d5e
added GetAllEncodingNames(), use it to select the correct encoding name to pass to iconv_open()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-18 14:01:14 +00:00
Mattia Barbon
95e33ad869
Add one more encoding name for EUC-JP for Solaris 8.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-12 21:22:17 +00:00
Dimitri Schoolwerth
3c832d589d
added Thai/CP874 support for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 14:16:50 +00:00
David Elliott
2a12cc65c8
Improve type safety by doing a runtime check to make sure the
...
wxFontMapper really is a wxFontMapper when GUI code asks for it.
Remove some incorrect comments and add some new ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 21:47:54 +00:00
David Elliott
73302af6dd
Get rid of wxFontMapper in wxBase library.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 07:10:52 +00:00
Włodzimierz Skiba
a62848fdba
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-14 12:08:28 +00:00
Vadim Zeitlin
51a4142ce1
recognize EUC-KR charset (patch 983264)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 09:32:48 +00:00
Julian Smart
0a53b9b8fe
Missed reversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 17:31:17 +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
Vadim Zeitlin
910b9fc5c0
added GetEncodingFromName(); documented it and rearranged the methods in alphaabetical order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 10:40:04 +00:00
Vadim Zeitlin
15ad38c34f
added support for koi8-u
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 23:43:49 +00:00
Vadim Zeitlin
c91830cb4b
added conversions to/from UTF 16/32 LE/BE (patch 809685)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 00:12:10 +00:00