Log for #openttdcoop.devzone on 2nd February 2012:
Times are UTC Toggle Colours
05:19:30  <Brot6> Central European Train Set - Support #2750: Tracking Table (Eddi) @
05:44:26  <Brot6> Central European Train Set - Support #2750: Tracking Table (Eddi) @
06:41:01  *** JVassie has joined #openttdcoop.devzone
07:00:11  *** JVassie has quit IRC
07:01:30  <Brot6> Central European Train Set - Support #2750: Tracking Table (oberhuemer) @
07:07:56  <Brot6> Central European Train Set - Support #2750: Tracking Table (oberhuemer) @
07:56:30  *** andythenorth has joined #openttdcoop.devzone
08:34:31  *** ODM has joined #openttdcoop.devzone
09:58:44  *** andythenorth has quit IRC
10:42:26  <Brot6> Central European Train Set - Support #2750: Tracking Table (Eddi) @
11:12:25  <Brot6> Central European Train Set - Revision 595:6a242506dde2: make max_te add up for articulated parts ... (Eddi) @
11:12:25  <Brot6> Central European Train Set - Revision 596:b985dc782a4c: fudge max_te to an acceleration of 1.1m/s... (Eddi) @
11:25:03  <Brot6> cets: update from r594 to r596 done (298 warnings) -
11:34:00  *** andythenorth has joined #openttdcoop.devzone
13:19:31  <andythenorth> Ammler: I found more places cpp is used in BANDIT - docs and grf header
13:19:42  <andythenorth> I'm not sure that entirely eliminating cpp is worthwhile right now
13:19:55  <andythenorth> it breaks my grf away from the newgrf framework afaict
13:20:56  <planetmaker> that depends whether your script(s) can digest parametrized input
13:21:22  <planetmaker> version and title are just #defines which are given via command line parameter instead of being in the source code itself
13:22:49  <andythenorth> they could do that
13:23:04  <andythenorth> but I wonder where the harm is with current method?
13:23:10  <andythenorth> at least, right now
13:23:22  <andythenorth> my goal was 'can python be used for sane templating'
13:23:30  <andythenorth> not 'can we murder cpp?' :D
13:23:53  <andythenorth> I kind of like cpp, especially for constant substitution
13:24:14  <andythenorth> to do the same with python requires more scaffolding
13:25:14  <planetmaker> well. But if you use it for templating, you indeed should murder it
13:25:33  <planetmaker> otherwise it's used to insert the version and title only. Which is... not much and a lot of requirements to just compile the grf
13:25:43  <planetmaker> or don't you have #include with python?
13:26:13  <planetmaker> the main motivation to use cpp was to be able to use #include
13:26:28  <planetmaker> it's easy to use and makes for structured code then in separate files
13:26:55  <planetmaker> the templating is an add-on which then indeed can be done in other languages. But using both... might not be that desirable, if all can be done with one
13:27:23  <andythenorth> ok
13:27:32  <andythenorth> well let's see
13:28:46  <andythenorth> if I can figure out reading the version and title, the insertion is trivial
13:29:44  <andythenorth> planetmaker: does the makefile have title and version available?
13:30:41  <planetmaker> yes
13:32:23  <planetmaker> REPO_TITLE and REPO_VERSION_STRING
13:32:32  <planetmaker> where REPO_TITLE already contains the version string
13:32:53  <planetmaker> REPO_NAME is the repo title without version string
13:33:22  <planetmaker> thus REPO_TITLE is the string used in action8
13:34:05  <andythenorth> so if I can figure out passing those to the python script, they'll be in scope
13:34:06  <andythenorth> ok
13:34:17  <andythenorth> I will go for adventures in python docs
13:34:22  <planetmaker> oh, and REPO_REVISION is the numeric version used for the (internal) grf version
13:34:44  <planetmaker> thus basically you only need REPO_TITLE and REPO_REVISION
13:36:36  <andythenorth> thanks
13:50:48  <andythenorth> planetmaker: I can pass in sysargs to python
13:51:02  <andythenorth> not sure of the correct place / syntax for that
13:52:12  <andythenorth>
13:52:27  <andythenorth> I'm guessing I add them on line 6
14:28:22  * andythenorth learns some shell
14:34:07  *** andythenorth is now known as Guest1329
14:34:08  *** andythenorth has joined #openttdcoop.devzone
14:34:20  *** Guest1329 has quit IRC
14:50:26  <Ammler> planetmaker: about the cookie issue on paste, as you found the bug, did someone also found a fix?
15:03:20  <Brot6> BANDIT - Revision 188:4aca066b8b04: Codechange: pass repo vars from makefile to python build script (andythenorth) @
15:14:56  <Brot6> BANDIT - Revision 189:ae90db73e5a1: Codechange: handle files with codecs module instead of open()... (andythenorth) @
15:22:53  <Brot6> BANDIT - Revision 190:cda0a962d1d5: Codechange: use python instead of cpp to write docs files (andythenorth) @
17:11:21  <Brot6> grfcodec: update from r866 to r867 done -
17:21:53  <Brot6> bandit: update from r186 to r190 done (1 warnings) -
17:27:06  <Brot6> cets: update from r594 to r596 done (298 warnings) -
17:40:37  <Brot6> Central European Train Set - Revision 597:fc69fc240c96: Change: Base all unknown MU TE values on ... (oberhuemer) @
17:49:35  <Brot6> cets: update from r596 to r597 done (292 warnings) -
17:50:09  *** frosch123 has joined #openttdcoop.devzone
17:54:17  <Brot6> Following repos rebuilds successful without any difference to earlier nightlies builds: bros (1 warnings), transrapidtrackset, 2cctrainset (78 warnings), worldairlinersset, heqs, basecosts, water-features, isr (2 warnings), 32bpp-extra (2 warnings), newgrf_makefile (Diffsize: 12), snowlinemod, metrotrackset (Diffsize: 1), fish, ttrs (7 warnings), ogfx-trees, smts (Diffsize: 8), chips (1 warnings), comic-houses (3 warnings) (Diffsize: 22)
18:06:50  <planetmaker> Ammler, not that I know
19:20:58  *** KenjiE20 has quit IRC
19:21:35  *** KenjiE20 has joined #openttdcoop.devzone
19:25:36  *** KenjiE20 has quit IRC
19:54:29  *** KenjiE20 has joined #openttdcoop.devzone
20:25:43  <Brot6> Dutch Trains 2.0 - Support #3632: list of vehicles to be drawn (foobar) @
20:31:16  *** JVassie has joined #openttdcoop.devzone
20:46:54  <Ammler> planetmaker: so if we don't find a fix, we should at least disable reply, right?
20:47:36  <planetmaker> well, it leads to broken behaviour
20:47:57  <planetmaker> it's not a fix, but a hack. But probably better than nothing
20:48:02  <Brot6> OpenGFX BigGUI - Revision 19:50faf4f785ed: Update: readme and changelog for 2.0.0 (planetmaker) @
20:48:02  <Brot6> OpenGFX BigGUI - Revision 20:503614301e0e: Added tag 2.0.0 for changeset 50faf4f785ed (planetmaker) @
20:50:58  <Brot6> ogfx-biggui: update from 2.0 to 2.0.0 done -
20:58:25  <Brot6> BANDIT - Bug #3629 (Closed): DevZone compile failed (andythenorth) @
21:12:55  <Brot6> BANDIT - Feature #3634 (New): Restructure project files to better format (andythenorth) @
21:25:37  <Brot6> Central European Train Set - Revision 598:7a8c53e9e90d: Add: all versions of MUs with different l... (oberhuemer) @
21:25:37  <Brot6> Central European Train Set - Revision 599:8eadbbf8c973: Fix: duplicate ID (oberhuemer) @
21:25:37  <Brot6> Central European Train Set - Revision 600:e612ca25e4a7: Fix: reuse graphics files (oberhuemer) @
21:25:38  <Brot6> Central European Train Set - Revision 601:853ee8dd468c: Change: Name simplifications (use only cl... (oberhuemer) @
21:32:50  <Brot6> cets: update from r597 to r601 done (292 warnings) -
21:36:58  <Brot6> BANDIT - Revision 191:c278074c8d1e: Fix: graphics switches should always end on graphics (closes ... (andythenorth) @
21:36:58  <Brot6> BANDIT - Bug #3626 (Closed): No valid graphics when refitted to some cargos (andythenorth) @
21:57:32  <Brot6> BANDIT - Revision 192:027058f3f677: Codechange: update a comment (andythenorth) @
21:57:58  *** frosch123 has quit IRC
21:59:00  <Brot6> BANDIT - Revision 193:e3e791a80f23: Codechange: better formatting style (andythenorth) @
22:01:41  <Brot6> Central European Train Set - Revision 602:27a4b77f59cb: Fix: The last articulated part's TE wasn'... (oberhuemer) @
22:03:34  <Ammler> planetmaker: yes, I said, if we do _not_ find a fix
22:09:06  <Brot6> cets: update from r601 to r602 done (292 warnings) -
22:10:05  <Ammler> planetmaker: well, theoretically you all here know python better then me, so it would be easier you guys tell me how to fix it :-)
22:10:15  <Ammler> the source we use is known and public
22:10:22  <Ammler>
22:10:37  <planetmaker> no-one looked at it, I guess
22:10:43  <Ammler> and
22:10:46  <planetmaker> maybe it's even fixed upstream? Dunno
22:10:51  <Ammler> no
22:10:53  <Ammler> oh
22:11:02  <Ammler> I thought I use head
22:11:10  <Ammler> but it could be it is bugged upstream
22:11:40  <planetmaker> uh... we don't use a stable version here?
22:11:45  <Ammler> <-- upstream I run it
22:11:47  <Webster> Title: EnTeQuAk / lodgeit-main / overview Bitbucket (at
22:12:09  <Ammler> planetmaker: what's "stable"?
22:12:31  <planetmaker> the versions marked as stable releases.
22:12:42  <planetmaker> i.e. no beta, no rc, no trunk or head
22:13:36  <Ammler> hehe
22:13:40  <planetmaker> at least with a dev model like OpenTTD the stable releases then really are more stable than other builds
22:13:43  <Ammler> I guess, there is no such thing
22:14:03  <Ammler> my patches are applied to tip
22:14:08  <Ammler> of that repo
22:15:30  <planetmaker> hm, yeah, seems like there's only that repo :-)
22:17:52  <Brot6> BANDIT - Revision 194:fa5be0efb395: Codechange: improve python formatting & style (andythenorth) @
22:21:49  <Brot6> BANDIT - Revision 195:8cde62fc40e6: Codechange: use os.path to create correct paths, don't rely o... (andythenorth) @
22:24:06  *** andythenorth has quit IRC
22:37:40  <Terkhen> good night
22:40:03  *** JVassie has quit IRC
23:11:04  *** ODM has quit IRC

Powered by YARRSTE version: svn-trunk