Commit Graph

50 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Vadim Zeitlin
f283c68310 added --prefix option which is useful when cross-building
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:38:29 +00:00
Vadim Zeitlin
5fd636aa8a added richtext sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-06 21:06:51 +00:00
Francesco Montorsi
eedb553a68 add small script which reports a list of the unused wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-27 14:39:35 +00:00
Vadim Zeitlin
eaa785079c added a script to automaitcally fix 'Derived from' doc sections; updated the 'Library' sections script to be able to run it on files already having these functions (patch 1765640)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:23:47 +00:00
Vadim Zeitlin
a9c3b09ee6 added the script used to add libraries to the documentation files (see patch 1756715)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 12:14:30 +00:00
Vadim Zeitlin
0a7ce61e65 add wx/unix/private directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 11:02:29 +00:00
Vadim Zeitlin
5fcc0986fc share ctags command between make(gtk/mac)tags scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 13:47:38 +00:00
Vadim Zeitlin
069a4f3c95 include aui and richtext directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 12:13:54 +00:00
Vadim Zeitlin
311360b893 also update wxVERSION_STRING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:48:06 +00:00
Vadim Zeitlin
af0ee083f8 also update manual.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:28:07 +00:00
Vadim Zeitlin
7bf325389e more informative output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 22:26:44 +00:00
Vadim Zeitlin
7de9aaf012 added a script to update release version field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 21:34:48 +00:00
Vadim Zeitlin
d12f1282d4 reformat and add files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:11:47 +00:00
Vadim Zeitlin
33ad028c01 ignore the other WXDLLIMPEXP_XXX and not only BASE one too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 00:03:49 +00:00
Vadim Zeitlin
7ca253a50f build extra wxUniv tags file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-16 13:15:13 +00:00
Vadim Zeitlin
9fa1b6aad4 added more directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 12:24:03 +00:00
Vadim Zeitlin
7182d62a02 added more files to parse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-09 19:55:48 +00:00
Vadim Zeitlin
daf9adeb97 added html headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-07 00:39:50 +00:00
Vadim Zeitlin
71771e3525 handle directories with spaces in them better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-10 13:42:10 +00:00
Vadim Zeitlin
dd9d938f5c added msw/ole subdirectories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-09 16:24:47 +00:00
Vadim Zeitlin
233c6e7fb0 script to set the install name correctly for all wx libraries from the given install prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 18:11:44 +00:00
Vadim Zeitlin
53a9325a43 don't include forward declarations in tags file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-28 09:24:51 +00:00
Vadim Zeitlin
e426ff2972 create tags file for wxMac/Carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-31 14:04:00 +00:00
Vadim Zeitlin
7c7f4cff9f let ctags know about (and ignore) WXDLLIMPEXP_BASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:12:50 +00:00
Vadim Zeitlin
5493c0ce27 include extern variables declarations in the tags file too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 16:51:03 +00:00
Vadim Zeitlin
7fc24fb152 tiny script to generate tags for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 16:38:49 +00:00
Vadim Zeitlin
e4de95f8d5 added script for generating tags file for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 13:16:52 +00:00