Commit Graph

83 Commits

Author SHA1 Message Date
Vadim Zeitlin
1828600933 Remove RPM .spec files from the repository.
They were not really used for anything but still had to be updated and
maintained.

Get rid of them as all RPM-based distributions use their own spec files
anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-01 16:08:44 +00:00
Vadim Zeitlin
81f4ed62dd Exclude zlib 3rd party sources from our checks too.
zlib ChangeLog file is not in UTF-8 in 1.2.8 and so doesn't pass our checks.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-10-01 15:25:00 +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
Robin Dunn
7e05f038b9 Comment out the CIAbot script, the site has been dead a long time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-11 01:28:56 +00:00
Vadim Zeitlin
d20f23838d Exclude expat files from pre commit hook checks too.
All the other 3rd party libraries were already excluded but not this one, for
some reason -- do exclude it now as upcoming Expat 2.1.0 sources contain some
files with TABs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-06 14:46:26 +00:00
Vadim Zeitlin
57b15758aa Exclude src/msw/version.rc from svn pre-commit hook checks.
This file must be remain in CP1252 encoding and not UTF-8 because this is what
Windows uses for showing the strings in it, so exclude it from this check.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-06-08 02:29:06 +00:00
Vadim Zeitlin
c59fb496ea Parse files from include/wx/*.h when making wxMSW tags.
Fix missing wxTextMeasure &c in wxMSW tags.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-28 16:03:09 +00:00
Vadim Zeitlin
f1021a56a6 Exclude files in vendor branches from svn hook checks.
These files correspond to upstream sources and shouldn't be subject to our
checks.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-03 17:05:07 +00:00
Vadim Zeitlin
c2d4b6971f Create tags for Cocoa, not Carbon, by default under wxOSX.
Just change the default value of the "port" parameter.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 23:51:36 +00:00
Vadim Zeitlin
187fad412a Fix annoying warning when running the script to generate tags under OS X.
It complained about no matches for src/osx/cocoa/*.cpp.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 23:51:13 +00:00
Vadim Zeitlin
d166393042 Allow using _T() in docs/doxygen/overviews/changes_since28.h.
This file describes changes to this macro so don't block commits changing it
just because it contains "_T".

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-11-04 12:44:49 +00:00
Vadim Zeitlin
516fdb4f52 Generate tags for ribbon headers and sources too.
Add the files in {include/wx,src}/ribbon to the list of ctags inputs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-13 11:46:39 +00:00
Vadim Zeitlin
eeea7e8cf0 Don't apply svn commit hook checks to 2.8 branch.
Some of the files in 2.8 still use the old conventions, allow doing changes in
them without completely updating them to follow the rules checked by the hook.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-19 15:50:32 +00:00
Vadim Zeitlin
a4a07f1a43 Don't exclude message catalog files from UTF-8 checks in svn hook.
The message catalogs do use UTF-8 now, so check that no non-UTF-8 ones are
checked in in the future.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-02-19 15:50:29 +00:00
Dimitri Schoolwerth
7e528ef6d1 Synchronised svn:eol-style and svn:executable properties of some file types.
Changed the properties of the following file types:

.am .m4: LF
.plist .plist.in: native
.guess .sh .sh.in .sub: LF, executable


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-18 18:00:07 +00:00
Robin Dunn
b1b3236700 add post-commit to svn too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-13 19:03:41 +00:00
Robin Dunn
5caded2201 Also exclude generated wxPython html files from pre-commit checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-13 18:57:57 +00:00
Vadim Zeitlin
f1cfa1132c Add check for _T() to svn pre-commit hook.
_T() shouldn't be used in any new code so don't allow committing it.

We could have used "svnlook diff" instead of "svnlook cat" and check only for
_T() not being added but in practice there shouldn't be any difference and
using "cat" is simpler.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-01-09 18:48:42 +00:00
Vadim Zeitlin
9efbfd5dbd Add a reminder to update version.bkl to inc_release script.
While docs/tech/tn0011.txt does document this, it's still too simple to forget
to update version.bkl, as my experience shows, so add a reminder to the script
itself too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-18 14:38:47 +00:00
Dimitri Schoolwerth
238188550e Updated out of date versions and release dates.
Mentioned more files in tn0011.txt that need version updating, and made it more clear which ones need to be changed manually. Modified inc_release to update docs/readme.txt and changed the version references in the readme.txt to 2.9.3. Also changed two references to the month of release from July to December.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-02 23:44:22 +00:00
Vadim Zeitlin
34532177aa Exclude another auto-generated file when cleaning the patches.
Changes to autoconf_inc.m4 are not interesting neither, exclude them.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-22 15:35:47 +00:00
Vadim Zeitlin
5d9138be7f Add a one line script to clean patches before submitting them for review.
Exclude changes to the auto-generated files using filterdiff.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-08-20 12:25:53 +00:00
Vadim Zeitlin
0c63cc6e4c Update the files changed by the version number increment script.
src/wxWindows.xcodeproj doesn't exist any more so remove it but add
build/tools/bld_chm_exe.bat and samples/minimal/Info*.plist files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-07-22 16:31:55 +00:00
Vadim Zeitlin
8de6a0270d Fix bytes to integers conversion in png2c script.
Use really correct coefficients for all the bytes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-08 13:36:06 +00:00
Vadim Zeitlin
a8bda51207 Correct decoding of 4-byte integers in png2c script.
Wrong multiplier was used for the most significant byte. Fix it even though it
doesn't risk to be a problem in practice as the images of such gigantic size
would surely break some limit anyhow.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-02-05 20:24:52 +00:00
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
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
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
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
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
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