Vadim Zeitlin
46eada874a
Add an option to embed image size in its name to PNG-to-C script.
...
When a PNG image exists in several sizes it makes sense to use its size as a
suffix to distinguish the different versions, so update the png2c script to
optionally allow to do this.
Current implementation simply checks the PNG header directly to avoid any
extra dependencies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 17:38:40 +00:00
Vadim Zeitlin
b8502fa7c4
Accept file names with dashes in PNG-to-C converter.
...
Tango icon files often have dashes in their names so accept them in png2c
conversion script and simply replace them with underscores to form a C
identifier for the array containing the image data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-31 17:38:29 +00:00
Vadim Zeitlin
9513aa80ce
Don't add quotes to string representation in gdb.
...
gdb adds quotes itself around string values so don't duplicate them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-22 14:17:22 +00:00
Dimitri Schoolwerth
6cb0fee84d
use svn:keywords instead of eol:keywords
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-09 08:57:07 +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
f203de0cc4
Replace 2.9.1 version with 2.9.2.
...
Also update the inc_release script to take src/wxWindows.xcodeproj into
account.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-22 12:09:04 +00:00
Vadim Zeitlin
b0f73b6701
Really set svn:eol-style property.
...
The last commit used incorrect property name, remove the erroneous property
and set the correct svn:eol-style one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-17 14:55:45 +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
Vadim Zeitlin
6e3837d003
Replace remaining references to 2.9.0 with 2.9.1.
...
Also update the tech note listing the places that need to be changed when a
new version is released and the script which updates them automatically.
Finally update a couple of copyright years.
Closes #12185 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-12 22:49:59 +00:00
Vadim Zeitlin
ed0a9eca57
Extract tags from private headers under wxMSW too.
...
Added include/wx/msw/private/*.h to the list of files passed to ctags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-06-20 17:43:26 +00:00
Vadim Zeitlin
bcd286534a
Added wxLANGUAGE_BOSNIAN.
...
Closes #12016 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-06 12:40:11 +00:00
Václav Slavík
79309be9db
Fixed a typo in misc/languages/README.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-04 16:38:56 +00:00
Václav Slavík
a9da8ef41c
wxLocale::InitLanguagesDB() doesn't use wxStringTokenizer, remove it.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-24 07:06:38 +00:00
Václav Slavík
ea14492351
Split intl.h into intl.h, language.h and translation.h.
...
To make the code more manageable, intl.h now contains wxLocale and
translation.h all translations-related stuff (wxTranslations, _() etc.).
Code generated by genlang.py was moved into its own files (language.h,
languageinfo.cpp).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-24 07:06:32 +00:00
Vadim Zeitlin
6df26ddbf7
Add pretty-printers for wxPoint, wxSize and wxRect.
...
Also replace an if checking for the supported types with an array-based
approach to make it easier to add pretty printers for more types in the
future.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-26 14:09:43 +00:00
Vadim Zeitlin
dc09d66523
Don't use "-I @" in ctags command line as cmd.exe handles '@' specially.
...
Just use the file path instead as '@' is used for the "response files" by
cmd.exe, at least under Windows 7.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-18 14:46:58 +00:00
Vadim Zeitlin
753dc0f732
Update gdb pretty printing support for latest gdb version.
...
gdb.pretty_printers is not a map any more but a list containing lookup
functions for pretty printers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-11 23:08:41 +00:00
Vadim Zeitlin
6d15a392cb
Exclude message catalogs from UTF-8 check.
...
Many existing message catalogs don't use UTF-8 so don't check them in svn
pre-commit hook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-12 10:38:43 +00:00
Vadim Zeitlin
ec20a753b9
Implement DrawTitleBarBitmap() for OS X using hard coded PNG images.
...
Use a simple implementation working under all OS X versions, including 10.4
which doesn't have standard system images for the close button.
Added the images themselves under art/osx and png2c.py helper script to
convert them to a form used in C++ code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 22:57:32 +00:00
Robin Dunn
f14e42cec5
exclude SWIG generated files from being checked
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-04 00:00:12 +00:00
Vadim Zeitlin
b883113df1
Don't exit on errors in the pre-commit svn hook.
...
Errors in grep, when it fails to find any changed or updated files, also count
so the "set -e" line was causing the hook to reject any commits only deleting
files (without any error message).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-01 00:33:54 +00:00
Vadim Zeitlin
0126e6d256
Exclude binary files from the checks done by the pre-commit hook.
...
We shouldn't check that binary files are UTF-8 so determine whether the file
is binary by looking at its svn:mime-type and only do the check for the text
files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 20:33:34 +00:00
Vadim Zeitlin
95e74456a2
Fix bug in the hook which prevented committing makefiles.
...
If both makefiles and any source files were committed, makefiles were
mistakenly added to changed_sources and were flagged as containing TABs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-23 16:00:08 +00:00
Vadim Zeitlin
3347f618eb
Check that files being checked in use UTF-8.
...
Closes #11116 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-18 16:28:10 +00:00
Vadim Zeitlin
078a94e00d
Add the initial version of svn pre-commit hook.
...
This version checks for absence of hard TABs in our source files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-18 16:28:04 +00:00
Vadim Zeitlin
439293064d
Create both the full and OS X specific tag files in makeosxtags.sh.
...
Also don't duplicate the files already processed by the generic create_tags in
OS X-specific part.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-16 23:13:37 +00:00
Vadim Zeitlin
741cca6b38
update the intl.* files directly from genlang.py script instead of generating snippets which had then to be manually pasted in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-07 10:52:44 +00:00
Vadim Zeitlin
8fbd067d3c
correct writing direction for Farsi
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-06 21:19:58 +00:00
Vadim Zeitlin
ddb92955a2
update the script to update more files; removed old LaTeX file which doesn't exist any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:49:21 +00:00
Vadim Zeitlin
61dabbffe3
rename makemactags script to makeostags and extend it to work with either Carbon or Cocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 23:30:47 +00:00
Vadim Zeitlin
f8a7e79913
make the script executable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 03:57:06 +00:00
Vadim Zeitlin
86c30bc557
added Asturian language entry (see #10808 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-19 10:51:11 +00:00
Vadim Zeitlin
61f2782a32
use svn:eol-style instead of eol:style (see #10745 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 19:36:36 +00:00
Vadim Zeitlin
167905b222
added the files with separate tags itself (should have been part of r59590)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 21:55:31 +00:00
Vadim Zeitlin
1d5252435a
extract the list of macros to ignore in a separate file and completed it with FWD versions; turned off generation of tags for forward class declarations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 21:54:40 +00:00
Vadim Zeitlin
7e81c36f1e
add wx/generic/private/*.h files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:23:45 +00:00
Vadim Zeitlin
3b9aa4e82a
add a custom printer for wxString to use with Python-enabled gdb
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 21:15:19 +00:00
Vadim Zeitlin
78014c105d
don't use function syntax which /bin/sh doesn't grok
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-26 13:42:30 +00:00
Vadim Zeitlin
03d7d36ba9
correct Serbian locale name: should be sr_RS, not sr_SR ( fixes #10295 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 19:50:17 +00:00
Vadim Zeitlin
101872998b
fix tags generation for OS X port after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-21 16:16:12 +00:00
Vadim Zeitlin
2a2361ccc9
added propgrid sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 01:58:14 +00:00
Vadim Zeitlin
4e10de45a6
rename ca@valencian description to "Valencian (Southern Catalan)" at translators request
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-25 15:48:52 +00:00
Francesco Montorsi
969daeea66
revision of wxLocale; documented the list of language constants into the wxLanguage enum; modified genlang.py to generate a .h with doxygen comments and removed generation of a .tex script; moved docs for wxXlocale to the right header (xlocale.h)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 20:27:36 +00:00
Vadim Zeitlin
2dcbf82958
added propgrid files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 15:58:57 +00:00
Vadim Zeitlin
1c4293cb91
added wxPropertyGrid from Jaakko Salli ( #9934 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 20:57:41 +00:00
Vadim Zeitlin
7bf2b0881a
added language info for Northern Sami (patch 1964036)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:49:30 +00:00
Vadim Zeitlin
6ed05f194d
also use wx/private/*.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:39:41 +00:00
Václav Slavík
e5722ef11d
there's no such thing as LANG_VALENCIAN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 23:19:03 +00:00
Vadim Zeitlin
b5e2a45022
add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 20:11:17 +00:00
Vadim Zeitlin
977dcce77f
exclude include/wx/vms_x_fix.h from ctags input, it doesn't contain any useful definitions and just gets in the way
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 21:28:42 +00:00