312 Commits

Author SHA1 Message Date
Nyall Dawson
368eaa258b Add support to generate_test_mask_image for mismatched sizes,
add masks for legend renderer tests
2015-07-10 18:09:28 +10:00
Juergen E. Fischer
5b54e260d4 various windows test fixes:
* .gitignore sort and remove duplicates
* show more warnings in tests
* add/update masks for rendering checks on windows
* fix delimited text provider tests
* disable QgsLogger and QgsPalLabelingServer on windows
2015-07-05 03:45:01 +02:00
Juergen E. Fischer
3094297f51 also fix doxygen comments in sip files 2015-06-30 09:44:41 +02:00
Juergen E. Fischer
4be87f8e8d unify_includes.pl: include doxygen comment fixing 2015-06-29 16:53:46 +02:00
Nyall Dawson
3f6b5fa5f6 Improvements to generate mask script
- Rendered images can now be fetched from file:// urls
- Control image path can be deduced by just specifying a partial
match for the control image name instead of the full control
image path
2015-06-29 08:26:42 +10:00
Juergen E. Fischer
a2470c8167 release.pl: fix setting of new release name 2015-06-26 14:28:15 +02:00
Juergen E. Fischer
3d978be35e indentation and spelling fixes 2015-06-24 09:08:52 +02:00
Nyall Dawson
8db94fc084 Also remove astyle*.diff and sha*.diff files 2015-06-21 14:30:11 +10:00
Nyall Dawson
f9387ca3cf Update remove_git_conflict_files script to also remove *.prepare
Also rename script to remove_temporary_files.sh to reflect this
change.
2015-06-21 14:09:44 +10:00
Juergen E. Fischer
a7860422bc scripts/scandeps.pl: include cmake-curses-gui in dependencies as INSTALL mentions otherwise optional ccmake
[ci skip]
2015-06-17 12:31:25 +02:00
Matthias Kuhn
27fb4dc1ed generate_test_mak_image.py: guess mask image name if not specified 2015-06-17 09:29:29 +02:00
Nyall Dawson
a378627bfa Allow remote urls for generate_test_mask_image.py 2015-06-16 21:36:05 +10:00
Juergen E. Fischer
49286b304d unify_includes.pl:
* renamed from sort_includes.pl
* don't destroy order just remove duplicate includes
* run after astyle
2015-06-10 14:44:03 +02:00
Juergen E. Fischer
86a4820f48 fix 4bb90e3 2015-06-10 14:04:31 +02:00
Juergen E. Fischer
4bb90e33c4 scan_includes.pl: fix permissions and catch trailing includes 2015-06-10 13:52:54 +02:00
Juergen E. Fischer
facfe6ec2c integrate sorting of includes into astyle.sh/astyle-all.sh/prepare-commit.sh 2015-06-10 13:12:24 +02:00
Denis Rouzaud
a6eb0f5bf3 fix directories in sort script (followup 684b2bd110c0da0fd65912ab82b47cf2e1e3d94f) 2015-06-10 11:43:23 +02:00
Denis Rouzaud
684b2bd110 bash cript to sort includes and remove duplicates
* this sorts and remove duplicates in #include in src and tests folders
* sorts includes in <...> before "..."
* keep #include "ui_..." on top of list
* can skip includes if an order should be kept
* can exlcude directories (hard-copies of external libraries)
2015-06-10 10:48:35 +02:00
Werner Macho
7f29de8847 changing vietnamese translators on request
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-06-04 19:58:53 +02:00
Juergen E. Fischer
2ab8a0bed9 include user.py in translations 2015-05-31 00:42:51 +02:00
Bas Couwenberg
83619f4cf8 Fix 'Allow to' typo.
This issue was reported by the lintian QA tool during the Debian package build.
2015-05-27 23:44:29 +02:00
Juergen E. Fischer
173ee45405 fix windows build 2015-05-16 21:35:00 +02:00
Juergen E. Fischer
12d7cfca03 indentation update 2015-04-07 14:27:39 +02:00
Juergen E. Fischer
45fbb3f5a9 update_ts.sh: include locations 2015-03-23 20:14:51 +01:00
Werner Macho
554a63aa5b adding french translators 2015-03-16 23:04:10 +01:00
Juergen E. Fischer
1d1a24b425 release.pl: point releases don't require new pictures 2015-03-09 20:11:35 +01:00
Werner Macho
d956ac76d6 Adding romanian translators as per request from the language coordinator
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-03-09 19:37:31 +01:00
Werner Macho
b93a557cbb updated names of swedish translators as requested by language coordinator
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-03-09 18:41:16 +01:00
Juergen E. Fischer
74ac7f0e2c release.pl: add tagging of long term release 2015-03-01 22:00:46 +01:00
Juergen E. Fischer
c1773d8507 remove obsolete python ts removal 2015-02-26 03:09:46 +01:00
Juergen E. Fischer
8979d5596d release.pl: support point releases 2015-02-22 13:22:51 +01:00
Werner Macho
6b95a0f0a1 adding french translators and first fixes for chinese
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-02-21 23:37:07 +01:00
Juergen E. Fischer
8d1c5c6eee include missing zh-Hans translation 2015-02-20 14:31:36 +01:00
Juergen E. Fischer
7bb1966d0d fix syntax error (followup 7ffdef2) 2015-02-20 12:50:22 +01:00
Juergen E. Fischer
d34eaf0759 add translations update and changelog update to bin/release.pl 2015-02-20 08:42:57 +01:00
Nyall Dawson
854c0b8bab Allow use of masks for unit test control images
Masks set which pixels in the control image should be tested and
an optional tolerance for each pixel. This is done via the colors
in the mask image - white pixels are ignored, black must be an
exact match, and gray levels represent the maximum color component
deviation for that pixel.

This should replace the fragile anomaly images, in that a single
control image with a suitable mask will not be susceptible to
antialiasing differences, etc.

A new script (scripts/generate_test_mask_image.py) is included which
either creates a new mask or modifies an existing mask to handle
an acceptable rendered image.

Ultimately, masking along with multi render checks for specific
platform differences should be flexible enough to meet our needs.
2015-02-19 07:23:57 +11:00
Juergen E. Fischer
4a44956222 fix processing plugin main translation and add translations
for toplevel toolbox entries (fixes #12168)
2015-02-13 20:32:18 +01:00
Werner Macho
335a16750e Adding new polish translator
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-02-11 20:00:31 +01:00
Juergen E. Fischer
10e09bc76b add override support to qgisstyle
include pep8 call in indentation run for python code
2015-02-11 13:49:07 +01:00
Juergen E. Fischer
198d8fe58f fix warnings and extra semicolons 2015-02-07 13:54:46 +01:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Juergen E. Fischer
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Juergen E. Fischer
98c0771b1a update scripts/fix_allows_to.sh and run it 2014-11-30 01:42:27 +01:00
Juergen E. Fischer
554d55d30b fix script permissions 2014-11-25 02:07:12 +01:00
Juergen E. Fischer
5dd2f51fcb translation script update:
* TRANSLATORS stats also needs lupdate run
* support numerus forms in python translation strings
2014-11-24 23:07:45 +01:00
Werner Macho
0b9e1f6792 [TRANSUP] some fixes and improvements for transifex including renamed and deleted ts files
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-11-16 22:49:13 +01:00
Juergen E. Fischer
aa4338a05b pull_ts.sh: verify lrelease is available 2014-11-14 09:57:28 +01:00
Juergen E. Fischer
d4f64d9bde indentation update and typo fixes 2014-11-13 23:13:13 +01:00
Juergen E. Fischer
701f4644d0 prepare-commit.sh: fix script directory detection 2014-11-13 20:46:19 +01:00
Juergen E. Fischer
9cb157a7e5 prepare-commit.sh: remove executable bit from source files and exit successfully if nothing modified 2014-11-13 10:00:48 +01:00