Eric S. Raymond
7a4f530069
Document some thinking.
2008-11-05 08:07:41 +00:00
Eric S. Raymond
a01fd55508
Further extend spellchecking.
...
Drop an equivalent of Sapient's error-reporting code back in
wmliterator.py, but do the actual reporting through a callback passed
at instance-nitialization time.
2008-11-05 08:04:54 +00:00
Eric S. Raymond
a3591151c2
Further extend spellchecking.
2008-11-05 03:38:10 +00:00
Eric S. Raymond
1d1e5343cc
Extend the range of WML attributes that get spellchecked,
...
...and fix a glitch that turned up.
2008-11-05 02:45:03 +00:00
Eric S. Raymond
e78ef120d7
Change wmliterator error reporting so it mimics the Emacs-friendly...
...
...style of the rest of wmllint.
2008-11-05 02:02:29 +00:00
Eric S. Raymond
f27eff3431
Another refactoring step.
2008-11-05 01:44:52 +00:00
Eric S. Raymond
892ec3f922
Another refactoring step.
2008-11-05 01:09:30 +00:00
Eric S. Raymond
a0db82383e
Another refactoring step.
2008-11-05 00:46:20 +00:00
Eric S. Raymond
fecd27d8f4
Refactoring step.
...
Eventually we'll use this to change the reporting format.
2008-11-05 00:00:10 +00:00
Eric S. Raymond
cdf6076a80
Spellchecking is no longer an experimental separate mode.
2008-11-04 23:32:42 +00:00
Eric S. Raymond
92fa8298c8
Correct some documentation.
2008-11-04 12:59:52 +00:00
Eric S. Raymond
39553800ce
Sff a check for incorrect sentence-ending punctuation.
2008-11-04 12:46:05 +00:00
Eric S. Raymond
72fad01d24
Document an entry point a little better.
2008-11-04 02:31:36 +00:00
Eric S. Raymond
1afb992b06
Tighten up spellchecking yet again.
2008-11-04 00:05:29 +00:00
Eric S. Raymond
950897fb10
Tighten up the spekll-checking, and catch some more glitches.
2008-11-03 22:38:07 +00:00
Eric S. Raymond
7571ffb728
Tighten up the implementation of spell-checking a bit,
...
...and fix some edge cases it catches. Also, implement a method to
check ancestor scomes in WmlIterator (not yet used).
2008-11-03 19:47:46 +00:00
Eric S. Raymond
f8d75639b9
Remove an unneeded stripping operation.
2008-11-03 08:37:37 +00:00
Eric S. Raymond
9352e992fc
Correct handling of exceptional cases involving legitimate spellings...
...
...ending in single quote.
2008-11-03 08:32:35 +00:00
Eric S. Raymond
2cc7e6f954
Document what the spellchecker scanner is doing.
2008-11-03 08:25:16 +00:00
Eric S. Raymond
53d2b62b88
When a spelling exception occurs, report the non-case-smashed token.
2008-11-03 07:41:08 +00:00
Eric S. Raymond
c279bd6ba1
Teach the spellchecker to handle another edge case.
2008-11-03 07:17:31 +00:00
Eric S. Raymond
2dee5c7a2b
Fix some minor bugs in the spellchecker scanner.
2008-11-03 04:51:15 +00:00
Eric S. Raymond
3863275e23
Refactoring step.
2008-11-03 03:04:00 +00:00
Alexander van Gessel
3df044e3ff
State filesizes in proper SI-notation.
2008-11-03 04:02:36 +01:00
Eric S. Raymond
ff898341e1
This revision fixes almost all spellcheck exceptions in mainline.
...
The few that remaim probably indicate spellchecker bugs.
2008-11-03 00:49:29 +00:00
Nils Kneuper
51343a4e29
running utils/wesnoth-optipng
...
Overall statistics (only for files with a smaller recompressed size):
Original size: 38348 KB on 1487 files
Optimized size: 37219 KB
Total saving: 1128 KB = 2% decrease
2008-11-02 15:03:02 +00:00
Patrick Parker
56033ea2e6
WmlIterator: better handling for macro calls...
...
...where the name of the macro includes a macro parameter.
2008-11-02 05:56:26 +00:00
Eric S. Raymond
a055f9fbe2
Spell checking for WML text strings.
...
This is the infrastructure; there are still about 1500 exceptions to
be chased down.
2008-11-01 23:58:38 +00:00
Patrick Parker
b2f84bdbe9
[[WML engine bug fixes]]
...
-fix typo in return statement for ifndef scope element
-remove default function parameter lines=[] (do not use mutable
objects as default parameters since they will be cached and mutated
across multiple calls)
-add simple error checking when opening files
2008-11-01 15:46:42 +00:00
Eric S. Raymond
fee12dff4a
Bug fix: #ifndef was not handled.
...
New feature: the wherami() method of in iteratator return idssues a
locator string compatible with Emacs compilation format. WmlIterator
can be initialized with no lines and a filename, and if this is done
all lines in the file will be read and used.
2008-11-01 08:46:14 +00:00
Eric S. Raymond
cb33789473
trackplacer: document failed attempt at a feature so it won't be tried again.
2008-10-31 10:20:06 +00:00
Eric S. Raymond
55824ba7b0
wmlscope pacification.
2008-10-31 09:46:07 +00:00
Eric S. Raymond
dc36208145
trackplacer: Don't reread generated *_END macros as new data.
2008-10-30 07:41:22 +00:00
Eric S. Raymond
742d445b03
Add buttons to reorder tracks.
2008-10-28 18:43:34 +00:00
Eric S. Raymond
7df469e62e
Handle macros with an #endif not at start of line.
2008-10-28 15:05:43 +00:00
Eric S. Raymond
0d071ea11a
trackplacer: More tweaks to handle working in wesnoth-umc-dev gracefully.
2008-10-28 08:53:42 +00:00
Eric S. Raymond
f56b6ac222
Trackplacer: work correctly on wesnoth-umc-dev with a -d argument.
2008-10-28 08:23:15 +00:00
Fabian Müller
8d923fb563
new upstream version of the emacs mode for wml.
...
for a changelog see the thread
http://www.wesnoth.org/forum/viewtopic.php?f=21&t=13798&start=15
2008-10-26 14:18:59 +00:00
Eric S. Raymond
ce66ad953c
trackplacer: Now generates macros that allow a journey track...
...
...to display red only for the terminating battle or rest of each
stage. LoW wanted this.
2008-10-25 06:44:43 +00:00
Eric S. Raymond
b5655a75c7
trackplacer: For each stage in a track,
...
...also write an _END macro that refers to the terminating location.
2008-10-25 05:09:35 +00:00
Sergey Popov
529cd83204
Set the scroll area to expand on small screens.
2008-10-24 20:42:27 +00:00
Eric S. Raymond
ab65c4964f
trackplacer: Set toolbar to no expand.
2008-10-24 20:36:47 +00:00
Eric S. Raymond
d8f92addff
Yet another attempt at better allocation policy.
2008-10-24 20:31:02 +00:00
Eric S. Raymond
76f4a8436a
trackplacer: try a more effective window-sizing policy.
2008-10-24 20:25:18 +00:00
Eric S. Raymond
96d61e9f04
Nice try, loonycyborg, but maximize() on a large display...
...
...is incredibly ugly -- fills most of the screen with garbage.
2008-10-24 20:00:23 +00:00
Eric S. Raymond
9b4a51c83e
trackplacer: initialize properly when there are no tracks.
2008-10-24 19:09:55 +00:00
Sergey Popov
5df3ea17f1
Trackplacer: allow shrinking of map scroll area past starting size.
...
Maximize the window since its default size isn't set properly yet.
2008-10-23 21:46:09 +00:00
Eric S. Raymond
a730dfae16
trackplacer: fix bugs in feature-overlap detection.
2008-10-20 23:50:50 +00:00
Eric S. Raymond
ecca6fa975
Added new tool, journeylifter, for converting UMC to use trackplacer format.
2008-10-20 14:28:04 +00:00
Eric S. Raymond
7306eced9e
wmllint missed a case in converting the track-marking macros.
2008-10-20 11:25:36 +00:00