Commit Graph

20539 Commits

Author SHA1 Message Date
frosch 290fbd2231 (svn r25564) -Add: a simple clipping rule to decide whether a string without linebreaks is visible before computing the layouting. This skips around 2/3 of layout computations in usual-sized list-like windows. 2013-07-06 12:18:20 +00:00
rubidium e3bb1d8c73 (svn r25563) -Fix: WT3 validation error 2013-07-05 19:35:29 +00:00
frosch 840f836704 (svn r25562) -Fix [FS#5633]: If the next order cannot be resolved, reset the current order property instead of leaving it in an intermediate state. 2013-07-05 19:09:18 +00:00
translators c6aad246c9 (svn r25561) -Update from WebTranslator v3.0:
traditional_chinese - 118 changes by siu238X
hungarian - 5 changes by IPG
japanese - 221 changes by guppy
slovak - 2 changes by Milsa
spanish - 2 changes by Terkhen
2013-07-05 17:45:28 +00:00
rubidium 3f7fdd738b (svn r25558) -Fix [FS#5568]: [Squirrel] Infinite recursion loop in freeing data via a looping set of references 2013-07-04 20:06:27 +00:00
rubidium 1e715bfbea (svn r25557) -Fix [FS#5524]: one could build bridges over owned land of another company 2013-07-04 20:05:07 +00:00
translators 021cc15672 (svn r25556) -Update from WebTranslator v3.0:
catalan - 83 changes by smauleon
simplified_chinese - 44 changes by siu238X
traditional_chinese - 52 changes by siu238X
french - 2 changes by glx
galician - 50 changes by Michi
hungarian - 2 changes by Brumi
japanese - 936 changes by guppy
polish - 3 changes by p0358
slovak - 2 changes by Milsa
thai - 2 changes by nirakanz
2013-07-04 17:46:01 +00:00
rubidium 4c443bce5c (svn r25555) -Fix [FS#5632]: [Script] Texts from scripts were not validated before they were shown, causing an assertion to trigger 2013-07-04 16:36:47 +00:00
translators 76566fde5b (svn r25554) -Update from WebTranslator v3.0:
czech - 44 changes by Eskymak
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
italian - 2 changes by lorenzodv
korean - 2 changes by telk5093
russian - 2 changes by Lone_Wolf
slovak - 8 changes by Milsa
2013-07-03 17:45:39 +00:00
rubidium 1efc64fa7d (svn r25553) -Fix [FS#5530]: provide a warning when no vehicles are available, and tell what to do in that case 2013-07-02 18:57:26 +00:00
translators 79ddda1b10 (svn r25552) -Update from WebTranslator v3.0:
russian - 39 changes by Lone_Wolf
slovak - 19 changes by Milsa
swedish - 1 changes by Joel_A
thai - 3 changes by nirakanz
turkish - 4 changes by emremeydan
2013-07-02 17:45:30 +00:00
frosch e8b6d2b32d (svn r25551) -Fix (r25465): Possible reading of uninitialised memory due to undefined execution order. 2013-07-01 19:53:05 +00:00
rubidium d9065fbfbe (svn r25550) -Fix [FS#5571]: [Windows] Race condition between two drawing threads could crash OpenTTD 2013-07-01 19:48:52 +00:00
translators 68659495b5 (svn r25549) -Update from WebTranslator v3.0:
finnish - 41 changes by jpx_
korean - 39 changes by telk5093
polish - 6 changes by p0358
slovak - 37 changes by Milsa
2013-07-01 17:45:24 +00:00
frosch 3a81868518 (svn r25548) -Fix [FS#5629] (r25537): Removed too much code and forgot some other places. 2013-07-01 17:15:30 +00:00
rubidium 7bc4845aac (svn r25547) -Fix [FS#5626]: ICU returns the width of the visual run as if the trailing space was added (in case a newline was added). This caused the width to be more than the requested width, but it would still be drawn correctly 2013-07-01 15:26:27 +00:00
rubidium f4c9ba4981 (svn r25546) -Fix: two small memory leaks 2013-06-30 20:40:49 +00:00
translators 36bd61f303 (svn r25545) -Update from WebTranslator v3.0:
croatian - 39 changes by VoyagerOne
english_AU - 39 changes by mrtux
french - 39 changes by glx
german - 1 changes by Jogio
hungarian - 39 changes by Brumi
italian - 39 changes by lorenzodv
korean - 2 changes by telk5093
polish - 5 changes by wojteks86
thai - 42 changes by nirakanz
turkish - 113 changes by emremeydan
2013-06-30 17:46:07 +00:00
rubidium 1ff95f36bf (svn r25544) -Fix [FS#5625] (r25488, r25486): [GS] The checks and validations for setting the extra text in the town window became too stringent 2013-06-30 15:59:10 +00:00
frosch c1bf3122ad (svn r25543) -Cleanup: Make the bridge and object picker not restore their previous size, but the previously saved size. 2013-06-30 14:39:09 +00:00
frosch f128c61595 (svn r25542) -Fix: Do not just add 65 pixels to the width of the train vehicle list whenever it is opened, but remember the width of the train list separately from other vehicle types. 2013-06-30 14:38:45 +00:00
frosch c640289d7f (svn r25541) -Cleanup: No need to clear a bit which is never set. 2013-06-30 14:38:20 +00:00
frosch 83a0174ef2 (svn r25540) -Fix: Unify selecting a new object class in the object GUI. (sbr) 2013-06-30 14:37:50 +00:00
frosch d798766f2e (svn r25539) -Codechange: Setup object GUI matrix before restoring selected object, so that the matrix state can be properly set. (sbr) 2013-06-30 14:37:24 +00:00
frosch bcb0e04bf2 (svn r25538) -Fix [FS#5567] (r25283): Use the UI index of the selected object to make it visible when re-opening the build object window. (sbr) 2013-06-30 14:37:01 +00:00
frosch 43ec0bf0c1 (svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size. 2013-06-30 14:36:31 +00:00
frosch 8116aeff21 (svn r25536) -Cleanup: No need to set scrollbar capacity anywhere but in OnResize. 2013-06-30 14:36:07 +00:00
frosch 634607573f (svn r25535) -Fix [FS#5584]: Initialise scrollbars before FinishInitNested, so their capacity is set via OnResize. 2013-06-30 14:35:44 +00:00
frosch df732f2bae (svn r25534) -Codechange: FinishInitNested calls OnResize, no need to setup scrollbar capacity before that. 2013-06-30 14:34:23 +00:00
frosch e184b9799c (svn r25533) -Codechange: Use SetCapacityFromWidget more often. 2013-06-30 14:33:32 +00:00
frosch 5f8f71edf0 (svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets depend on their number of rows, since that changes when resizing the window. 2013-06-30 14:33:15 +00:00
frosch 98fdd20f84 (svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets. 2013-06-30 14:32:31 +00:00
alberth 631540c400 (svn r25527) -Fix[FS#5621]: strndup should not examine strings beyond its upper limit. 2013-06-30 08:29:51 +00:00
rubidium 92f276f26d (svn r25526) -Fix: line breaking in fallback layouter was off-by-one, so sometimes strings that needed to be broken off earlier got truncated later on 2013-06-30 07:46:10 +00:00
rubidium 4fed658a63 (svn r25525) -Fix: off-by-one in fallback layout w.r.t. colour/font changes 2013-06-30 07:29:31 +00:00
rubidium ea5d35a896 (svn r25524) -Fix [FS#5624]: fallback layouter broke on long "words" without space after a newline 2013-06-30 07:21:37 +00:00
rubidium 4fbcb73166 (svn r25523) -Fix [FS#5587]: SDL does not give an event when an application gets mouse focus while going to full screen, so manually force the mouse-is-in-window state 2013-06-29 18:21:19 +00:00
rubidium ccf36ca71b (svn r25522) -Update: baseset descriptions 2013-06-29 17:50:59 +00:00
translators d894a6b897 (svn r25521) -Update from WebTranslator v3.0:
english_US - 39 changes by Rubidium
german - 40 changes by Jogio, planetmaker
japanese - 48 changes by riolukid
korean - 3 changes by telk5093
spanish - 39 changes by Terkhen
tamil - 16 changes by aswn
turkish - 154 changes by emremeydan
2013-06-29 17:45:43 +00:00
rubidium c33040e037 (svn r25520) -Fix-ish: don't pretend that trunk is still doing something 1.3-ish in the Windows executable version information 2013-06-29 16:13:41 +00:00
zuu be4451d40f (svn r25519) -Fix [FS#5614] (r25342): Select page to update by its id and not the page id 2013-06-29 14:54:07 +00:00
rubidium 094ac8c441 (svn r25518) -Cleanup: remove old string 2013-06-29 13:20:40 +00:00
rubidium 4356510408 (svn r25517) -Fix-ish (r25515) / Feature-ish [FS#5623]: properly align the statistics as well when the infra sharing is turned on 2013-06-29 13:19:19 +00:00
rubidium ba1e42d057 (svn r25516) -Codechange: reduce code duplication in infrastructure statistics window 2013-06-29 13:11:52 +00:00
rubidium c27ce651c9 (svn r25515) -Feature [FS#5595]: right align the infrastructure statistics 2013-06-29 12:41:43 +00:00
rubidium 1b9f54f0b2 (svn r25514) -Update: other translations 2013-06-29 12:11:38 +00:00
rubidium bdb62c14e2 (svn r25513) -Fix [FS#5623]: the high score's company/president name was stored with encoded string codes, causing it to cause trouble when the encoding of the string codes changes. Furthermore, check the incoming dangerous content better 2013-06-29 12:09:55 +00:00
rubidium 66b7123ed9 (svn r25512) -Fix-ish: the high score company name could not have enough space to have both the company and president name 2013-06-29 12:07:40 +00:00
rubidium fac0b83df6 (svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache 2013-06-29 12:03:44 +00:00
rubidium dd49c84363 (svn r25510) -Fix: forgot to update some documentation 2013-06-29 09:51:03 +00:00