58858 Commits

Author SHA1 Message Date
gfgtdf
360bef9b95 make unicode_cast more generic
unicode_cast is now a template function that works with different types
of containers. Especialy it now works with both std::wstring and
vector<wchar_t>
2014-10-23 01:15:20 +02:00
Chris Beck
1b105b6775 update RELEASE_NOTES 2014-10-22 18:35:59 -04:00
Chris Beck
eb6439b4f6 update changelog 2014-10-22 18:34:21 -04:00
Chris Beck
7ade343718 Merge branch 'render_imagepath' 2014-10-22 18:32:37 -04:00
Chris Beck
ccc0ec67d9 add "render-image" CL option, to directly save output from IPF's
Example usage:
wesnoth --render-image "units/undead-skeletal/banebow-bow-attack-1.png~SCALE(144,144)" "banebow.bmp"
2014-10-22 18:11:55 -04:00
Nils Kneuper
9649b2e77c updated Hungarian translation 2014-10-22 23:32:02 +02:00
Chris Beck
a7daa39a8a Merge branch 'master' of https://github.com/wesnoth/wesnoth 2014-10-22 16:56:17 -04:00
Chris Beck
4bb5814c19 disable auto-backtrace for C++ unit tests, try to get stderr again
We have some problems where the test executable is not generating
all the right output on travis, it seems not to be getting stdout
or stderr or something. The test executable was being run through
gdb at all times, with commands to backtrace on case of crash.

I'm not sure if gdb is eating the output or what, but for now I
am disabling the feature in the hopes to get the error messages
again.
2014-10-22 16:54:06 -04:00
Ignacio R. Morelle
9a019647f1 UtBS: Fix recruited Desert Archers being always male 2014-10-22 16:41:06 -03:00
Ignacio R. Morelle
ca4897efd8 UtBS S3: Round lower random range bound
Fixes an endless stream of warnings during gameplay on medium
difficulty:

> error engine: Malformed range: rand = "17.5..35"
2014-10-22 16:09:08 -03:00
Ignacio R. Morelle
52368f121a UtBS: Use UNREACHABLE instead of 100 MP cost in desert_float movetype
Fixes the following warning for new units with the movetype:

> warning config: Terrain 'Wdt' has evaluated to 100 (cost), which is more than 99; resetting to 99.
2014-10-22 14:40:42 -03:00
Ignacio R. Morelle
43a2ec2e0c UtBS: Use my TC-aware Skeleton Rider baseframe already used in Liberty
Death to the Wesnoth 1.0 skulls.
2014-10-22 14:28:35 -03:00
gfgtdf
6ad7a525cf fix msvc warning 2014-10-22 18:04:24 +02:00
Nils Kneuper
698e647028 updated Italian translation 2014-10-21 20:20:49 +02:00
Bär Halberkamp
4c291545fe Updated changelog 2014-10-21 19:47:01 +02:00
Bär Halberkamp
db028708c4 Added a lua implementation for FULL_HEAL and PUT_TO_RECALL_LIST 2014-10-21 19:41:36 +02:00
gfgtdf
66712590d0 add boost 1.44 comability
it seems like iostream from boost 1.44 is incompatible to filesystem
from boost  1.44.
Actualy i didnt veryfy this becasue i don't have boost < 1.50. I added
an adapter for boost filesystem that made it looks liek filesystem 1.43
which we can pass to boost iostreams 1.44.
2014-10-21 18:12:37 +02:00
gfgtdf
c27fb4d00e fix filesystem_boost.cpp on mingw
this raises our dependency for boost iostream to 1.44 or above
2014-10-21 18:12:36 +02:00
gfgtdf
7bb7c8aa84 make lua dofile use our filesystem functions 2014-10-21 18:11:33 +02:00
Chris Beck
e9fdef9bd3 fixup version reports
- Pango and Cairo now describe both their compile time and runtime
versions
- Boost now states that it is the compile time version, afaik
wesnoth cannot determine what boost versions it is linked against.
2014-10-20 20:15:00 -04:00
Chris Beck
aa0ec207e3 dump library versions also, when using wesnoth -v 2014-10-20 19:13:27 -04:00
ln-zookeeper
b5b97bb574 Fixed the traveler's ring part of bug #22790 2014-10-20 23:14:58 +03:00
ln-zookeeper
b3488354cc Fixed a comment and commented out a debug message 2014-10-20 22:23:09 +03:00
ln-zookeeper
c11efe47c0 Fixed bug #22799 and improved the related code 2014-10-20 22:18:41 +03:00
Ignacio R. Morelle
e342e5364e HttT S16: Hide Li'sar on prestart, not start
Otherwise she is visible for a split second at the start of the
scenario.
2014-10-20 00:22:02 -03:00
mattsc
0606a94182 Add note about new Xcode compile package to changelog, release notes 2014-10-19 15:46:56 -07:00
mattsc
53b10a703d Update changelogs and release notes with new OS X user directory
It changed from ~/Library/Application Support/Wesnoth_1.13 to
~/.wesnoth1.13 as a result of the new file system code.
2014-10-19 14:58:57 -07:00
mattsc
f9ba356b22 Xcode: switch from using filesystem.cpp to filesystem_boost.cpp
This includes adding a new library (libboost_filesystemw.dylib), so a
new version of the Mac compile package is needed for compiling.
It also changes the default user directory to ~/.wesnoth1.13
2014-10-19 08:20:35 -07:00
Chris Beck
d0eb4a0572 update RELEASE NOTES 2014-10-19 10:28:27 -04:00
Chris Beck
ef3f87e7d3 update changelog 2014-10-19 10:26:47 -04:00
Chris Beck
8f1f2ba7ce fixup changelog
in previous changelog commit
- some unicode characters got corrupted somehow
- help browser section was added

this commit fixes the characters, and moves a bunch of other
entries from miscellaneous to help browser section
2014-10-19 10:24:27 -04:00
Chris Beck
ba6f4109ac update INSTALL dependency list 2014-10-19 05:09:48 -04:00
Chris Beck
6ddad2d6d1 update RELEASE_NOTES 2014-10-19 05:07:44 -04:00
fendrin
f8887a5c82 Autogenerated "Time of Day Schedule" help browser section. 2014-10-19 09:47:14 +02:00
fendrin
22b6687b0c Add a translated "description" attribute to the [time_of_day] tag.
This is meant to be used in the help browser.
2014-10-19 09:47:14 +02:00
fendrin
ddfb600ffb Included two more icon images into the editor help section. 2014-10-19 09:47:13 +02:00
Chris Beck
b95c16f506 add tooltips to disabled copy buttons, if no clipboard support 2014-10-18 22:23:27 -04:00
Chris Beck
5cafdf979a Merge branch 'master' of https://github.com/wesnoth/wesnoth 2014-10-18 21:51:25 -04:00
Chris Beck
6efc41a2aa make copy buttons inactive if no clipboard support is compiled in 2014-10-18 21:51:02 -04:00
mattsc
9295500da0 Xcode project file update 2014-10-18 18:46:21 -07:00
Chris Beck
f6db5e6e87 update RELEASE_NOTES 2014-10-18 21:14:27 -04:00
Chris Beck
302abac9aa update players_changelog 2014-10-18 21:13:31 -04:00
Chris Beck
caf6835527 update changelog 2014-10-18 21:12:47 -04:00
Chris Beck
455f6f7209 Merge pull request #300 from cbeck88/clickable_labels
Clickable hyperlinks in gui2 labels
2014-10-18 21:11:46 -04:00
Chris Beck
536c20076b fixup some comments on label definition args 2014-10-18 21:02:29 -04:00
Chris Beck
ace04ab9ff move default values of link aware, color out of tcontrol header 2014-10-18 21:02:29 -04:00
Chris Beck
5f3dbe1d98 add link_color property of label defn, passed to font::ttext
This commit permits link_color to be specified in any label defn,
at the same place that link_aware is specified. It will be passed
through to tcanvas and finally font::ttext in a similar manner as
link awareness, and used for the color parameter in any link
formatting. We choose a default value of #ffff00 everywhere,
matching the definition currently in the help browser for cross-
references.
2014-10-18 21:02:28 -04:00
Chris Beck
de1c04e187 make labels read "link_aware" property from their widget defn
This adds a "link_aware" key to label definitions, and C++ tlabel
objects no longer initializer this to true, but instead read the
value from their definition configuration.
2014-10-18 21:02:28 -04:00
Chris Beck
3ccb0b0274 move link_aware from being a property of controls to prop of labels
tcontrol now gets it by a virtual method, whose default impl is
false, and is only overrided in label.

This refactor cleans things up, since link aware is really only
relevant to the click handler of label.
2014-10-18 21:02:28 -04:00
Chris Beck
c18a23ed8f add right click handler for links in labels, copies to clipboard
Pretty much the same as left click otherwise
2014-10-18 21:02:25 -04:00