Commit graph

121 commits

Author SHA1 Message Date
Thibault Févry
e825989bbe More range() genocide. 2013-08-09 00:13:03 +02:00
Thibault Févry
c289f6608b Fix typos in comments 2013-07-06 04:12:05 +02:00
Thibault Févry
6674487fb0 Remove W604 pep8 warning on files. Use repr(x) instead of deprecated 2011-03-25 20:46:50 +00:00
Thibault Févry
2288ef0939 Removed a lot of trailing whitespaces. Shouldn't be anymore in python scripts. 2011-03-12 02:22:21 +00:00
Alexander van Gessel
20ce467146 Make some tooltips attach to the right button 2011-01-12 03:19:00 +01:00
Alexander van Gessel
e4cf41321f Update trackplacer to use gtk.Tooltip...
...instead of the deprecated gtk.Tooltips
2011-01-12 03:18:55 +01:00
Alexander van Gessel
d0a586d240 Fix trackplacer's overlaps(). 2009-07-05 21:36:59 +01:00
Eric S. Raymond
709ea04e11 The previous attempt to keep from leaking generated journey macros...
...into the global macro namespace got a bit overzealous.
2009-04-29 20:59:48 +00:00
Eric S. Raymond
ae4ff983a9 Fix errors in trackplacer's overlap detector. 2009-04-28 17:56:17 +00:00
Eric S. Raymond
75831da950 Typo fixes. 2009-04-28 17:05:25 +00:00
Eric S. Raymond
aa5e586d6e Don't allow generated trackplacer symbols to clutter up the global namespace. 2009-04-28 16:52:27 +00:00
Eric S. Raymond
84fe2dc2f0 Comment typo fixes. 2009-04-28 14:55:18 +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
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
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
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
21c95e1353 Contnuity fix: the SoF Caverns of Flame now coincide with the HttT ones. 2008-10-20 03:01:57 +00:00
Eric S. Raymond
9c289e3389 trackplacer: fix minor bug in computing redraw colors. 2008-10-19 22:01:29 +00:00
Eric S. Raymond
e2df5a29bb Code simplification. 2008-10-19 20:56:37 +00:00
Eric S. Raymond
497417746c Documentation string tweaks. 2008-10-19 16:53:25 +00:00
Eric S. Raymond
49e51b0a6d trackplacer: tweak documentation strings. 2008-10-19 11:57:31 +00:00
Eric S. Raymond
ab50fc72e9 trackplacer: from buttons to toolbar. 2008-10-19 11:52:59 +00:00
Eric S. Raymond
04f9fe25c9 trackplacer: Add some conditioned-out code we'll probably use in the future. 2008-10-19 05:18:24 +00:00
Eric S. Raymond
25c0c499e6 trackplacer: ensure that spaces in track names won't mess up...
...the generated macros.
2008-10-19 01:43:07 +00:00
Eric S. Raymond
e31a404cce trackplacer: a slight change in how track IDs are used...
...to generate macros allows underscores to be used in IDs.
2008-10-18 20:26:47 +00:00
Eric S. Raymond
be87d21281 trackplacer: make deletion work right again. 2008-10-18 15:43:08 +00:00
Eric S. Raymond
0e4b987ddf trackplacer: tweak the redraw order. 2008-10-18 15:22:41 +00:00
Eric S. Raymond
f6cb3be0dd trackplacer: right-button context popup is fully working. 2008-10-18 15:13:17 +00:00
Eric S. Raymond
6938084d73 trackplacer: basic machinery for a right-button info popup. 2008-10-18 14:51:54 +00:00
Eric S. Raymond
8d97ea744f trackplacer: check for saves that could clobber data and raise a warning. 2008-10-18 13:47:23 +00:00
Eric S. Raymond
a6537645b9 trackplacer: UI change, drag markers with middle button. 2008-10-18 05:45:35 +00:00
Eric S. Raymond
6bfa38fde3 trackplacer: a feature turned out to be excessively dangerous. 2008-10-18 05:36:11 +00:00
Eric S. Raymond
c4f8332cec trackplacer: factor out the flush() function for cleaner animation. 2008-10-18 04:49:11 +00:00
Eric S. Raymond
73909b1440 tracjplacer: speed up drawing, ignore COMPLETE macros when parsing. 2008-10-18 04:29:22 +00:00
Eric S. Raymond
436ba7ae60 trackplacer: fix a redrawing glitch. 2008-10-17 22:45:38 +00:00
Eric S. Raymond
c11d6ebb70 trackplacer: raise error on attempts to draw when there are no tracks. 2008-10-17 19:05:15 +00:00
Eric S. Raymond
b1e396b502 trackplacer: fix a small but fatal bug. 2008-10-16 20:27:48 +00:00
Eric S. Raymond
d8d2b291a7 trackplacer: fix track-allocation bug when starting without filename. 2008-10-16 18:50:24 +00:00
Eric S. Raymond
72bb6dc0d8 trackplacer: fix a bug in the deletion logic. 2008-10-16 18:03:00 +00:00