1 2011-07-04T00:05:49 <dreimark> ThomasWaldmann: https://bitbucket.org/ReimarBauer/xstatic-twikidrawplugin-moin
2 2011-07-04T00:05:59 <dreimark> https://bitbucket.org/ReimarBauer/xstatic-anywikidraw
3 2011-07-04T00:08:11 <dreimark> i do the remaining 2 tom. may be someone of svg-edit answers
4 2011-07-04T00:08:19 *** m4k3r
5 2011-07-04T00:11:40 *** faina
6 2011-07-04T00:15:36 <dreimark> ThomasWaldmann: i added those urls into the pypi packages as well
7 2011-07-04T00:15:41 <dreimark> gn
8 2011-07-04T00:24:28 <ThomasWaldmann> gn dreimark
9 2011-07-04T00:31:56 *** RogerHaase
10 2011-07-04T03:19:24 *** grzywacz
11 2011-07-04T05:26:23 *** faina
12 2011-07-04T05:57:08 *** Marchael
13 2011-07-04T05:58:40 <Marchael> moin
14 2011-07-04T06:14:51 *** m4k3r
15 2011-07-04T08:29:31 <Marchael> recently I added whoosh line to setup.py and now I can't merging with main repo. I removed this line, but result is the same
16 2011-07-04T08:30:30 <Marchael> I try hg resolve --all but still no effect
17 2011-07-04T08:30:57 <faina> what about resetting the file?
18 2011-07-04T08:31:23 <faina> In git it would be git checkout -- setup.py I'm not sure how you'd do it with mercurial
19 2011-07-04T08:31:49 <faina> (AKA tell the vcs to check out its copy again...
20 2011-07-04T08:32:07 <Marchael> ok, I try
21 2011-07-04T08:34:30 <dreimark> Marchael: hg diff
22 2011-07-04T08:34:55 <dreimark> check if somethung is still changed
23 2011-07-04T08:35:07 <dreimark> cherry pick it
24 2011-07-04T08:35:14 <dreimark> and revert it then
25 2011-07-04T08:35:22 <dreimark> then hg pull -u
26 2011-07-04T08:47:53 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 7a6b116afa20 r298 moin-2.0/ (34 files in 12 dirs): (log message trimmed)
27 2011-07-04T08:47:54 <CIA-45> upgrade to flask 0.7.1 (not compatible to older flasks)
28 2011-07-04T08:47:54 <CIA-45> to upgrade to flask 0.7.1 you need to activate your virtual env and run:
29 2011-07-04T08:47:54 <CIA-45> pip install --upgrade flask
30 2011-07-04T08:47:54 <CIA-45> what I had to do for upgrading moin src to flask 0.7.1:
31 2011-07-04T08:47:54 <CIA-45> ran the flask upgrade script, review what it did
32 2011-07-04T08:47:55 <CIA-45> added template_folder='templates' to BluePrint initializers where needed
33 2011-07-04T08:47:55 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * e969c9318772 r299 moin-2.0/MoinMoin/app.py: remove HTTPException handler for setup_user that is not needed any more for flask >= 0.7
34 2011-07-04T08:47:56 <CIA-45> Reimar Bauer <rb.proj AT googlemail DOT com> * 58b9f645746f r300 moin-2.0/wikiconfig.py: wikiconfig: renamed env_dir env to envxs
35 2011-07-04T08:47:56 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * b7fda720496b r301 moin-2.0/ (wikiconfig.py quickinstall): change back both 'envxs' to 'env' to make it consistent with quickinstall.bat again
36 2011-07-04T08:47:57 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 2c12608c7c38 r302 moin-2.0/MoinMoin/apps/frontend/views.py: fix url generation for jquery-file-upload, use download instead of get for DL link
37 2011-07-04T08:47:57 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 8a21b92d8985 r303 moin-2.0/ (5 files in 3 dirs): use package XStatic-jQuery-File-Upload, require it in setup.py, remove it from quickinstall
38 2011-07-04T08:48:29 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * b062718d313d r304 moin-2.0/ (wikiconfig.py quickinstall.bat setup.py quickinstall): use XStatic-svgweb package, require it via setup.py, remove it from quickinstall scripts
39 2011-07-04T08:48:29 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 57a8a41014a4 r305 moin-2.0/ (wikiconfig.py quickinstall.bat setup.py quickinstall): use XStatic-CKEditor package, require it via setup.py, remove it from quickinstall scripts
40 2011-07-04T08:48:29 <CIA-45> Reimar Bauer <rb.proj AT googlemail DOT com> * a09f9b06a48f r306 moin-2.0/ (5 files in 2 dirs): use XStatic-TWikiDraw-moin package, require it via setup.py, remove it from quickinstall scripts
41 2011-07-04T08:48:29 <CIA-45> Reimar Bauer <rb.proj AT googlemail DOT com> * ff38aed82112 r307 moin-2.0/ (wikiconfig.py quickinstall.bat setup.py quickinstall): use XStatic-AnyWikiDraw package, require it via setup.py, remove it from quickinstall scripts
42 2011-07-04T08:49:29 <CIA-45> Michael Mayorov <marchael@kb.csu.ru> * cbf97d9067f3 r308 moin-2.0/ (33 files in 15 dirs): Merging with main repo
43 2011-07-04T08:49:29 <CIA-45> Michael Mayorov <marchael@kb.csu.ru> * ae63dc7cf921 r309 moin-2.0/setup.py: Update whoosh to 1.8.4
44 2011-07-04T09:18:45 <Marchael> hm, I'm need advice with MoinMoin.storage.backend.indexing.ItemIndex.index_rebuild() . May I use already written reubild script for that?
45 2011-07-04T09:29:28 <dreimark> ThomasWaldmann: ^
46 2011-07-04T09:36:00 *** faina
47 2011-07-04T09:52:31 *** m4k3r
48 2011-07-04T09:54:06 *** mkerrin
49 2011-07-04T10:29:25 *** pkumar
50 2011-07-04T10:32:58 <ThomasWaldmann> Marchael: you don't need that for now
51 2011-07-04T10:33:39 <Marchael> ok, for what cases I'll need that?
52 2011-07-04T10:35:29 <ThomasWaldmann> see where it is called
53 2011-07-04T10:37:25 <Marchael> I see what index_rebuild() called only from indexing.py
54 2011-07-04T10:37:49 <Marchael> and from config.py
55 2011-07-04T10:38:21 <Marchael> I guess that's why I see this every time when run scripts
56 2011-07-04T10:42:18 <Marchael> ThomasWaldmann: btw, methas is dict?
57 2011-07-04T10:42:25 <Marchael> *metas
58 2011-07-04T10:42:49 <Marchael> I guess what it may be some stuff related with sqla
59 2011-07-04T10:49:51 <CIA-45> pkumar <contactprashantat@gmail.com> * 66b072c4ce8b r337 pytest2/MoinMoin/ (_tests/test_wikiutil.py themes/_tests/test_navi_bar.py): test added for wikiutil.ParentItemName() in _test/test_wikiutil
60 2011-07-04T10:49:52 <CIA-45> pkumar <contactprashantat@gmail.com> * b016b5b3c0e2 r341 pytest2/MoinMoin/ (_tests/test_wikiutil.py wikiutil.py): added test for wikiutil.is_URL in _tests/test_wikiutil
61 2011-07-04T10:49:53 <CIA-45> pkumar <contactprashantat@gmail.com> * cdfb5c99b774 r340 pytest2/MoinMoin/_tests/test_wikiutil.py: added test for wikiutil.getUnicodeIndexGroup() in _test/test_wikiutil.
62 2011-07-04T10:49:54 <CIA-45> pkumar <contactprashantat@gmail.com> * a68688927b42 r339 pytest2/MoinMoin/_tests/test_wikiutil.py: added display messages on test failure in test_wikiutil.testdrawing2fname()
63 2011-07-04T10:49:56 <CIA-45> pkumar <contactprashantat@gmail.com> * 2c52e4d20d01 r338 pytest2/MoinMoin/_tests/test_wikiutil.py: test added for wikiutil.drawing2fname() in _tests/test_wikiutil
64 2011-07-04T10:49:57 <CIA-45> pkumar <contactprashantat@gmail.com> * 7899736d7ede r344 pytest2/MoinMoin/_tests/test_wikiutil.py: added test for wikiutil.file_headers() in _test/test_wikiutil
65 2011-07-04T10:49:58 <CIA-45> pkumar <contactprashantat@gmail.com> * 12057005a39f r343 pytest2/MoinMoin/_tests/test_wikiutil.py: added test for wikiutil.split_anchor() in _tests/test_wikiutil
66 2011-07-04T10:49:59 <CIA-45> pkumar <contactprashantat@gmail.com> * 6b173390b0e8 r342 pytest2/MoinMoin/_tests/test_wikiutil.py: test for wikiutil.containsConflictMarker() added in _test/test_wikiutil
67 2011-07-04T10:50:37 <dreimark> pkumar: do you regulary merge ?
68 2011-07-04T10:51:18 <pkumar> dreimark : yes, did it the day before yesterday.
69 2011-07-04T10:51:27 <pkumar> will do it now again
70 2011-07-04T10:51:42 <dreimark> ok
71 2011-07-04T10:53:38 <dreimark> ThomasWaldmann: btw. we have now something like a counter on pypi because of xstatic packages
72 2011-07-04T10:54:52 <ThomasWaldmann> dreimark: ?
73 2011-07-04T10:58:18 <ThomasWaldmann> mkerrin: can you please name your repo moin-2.0?
74 2011-07-04T10:58:47 <ThomasWaldmann> (moin-storage is confusing because we had that name a long time ago, but that repo is now outdated)
75 2011-07-04T10:59:45 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * b7fda720496b r348 pytest2/ (wikiconfig.py quickinstall): change back both 'envxs' to 'env' to make it consistent with quickinstall.bat again
76 2011-07-04T10:59:47 <CIA-45> pkumar <contactprashantat@gmail.com> * add7c6c78f34 r355 pytest2/ (38 files in 12 dirs): merged with default
77 2011-07-04T10:59:48 <CIA-45> Reimar Bauer <rb.proj AT googlemail DOT com> * 58b9f645746f r347 pytest2/wikiconfig.py: wikiconfig: renamed env_dir env to envxs
78 2011-07-04T10:59:49 <CIA-45> Reimar Bauer <rb.proj AT googlemail DOT com> * ff38aed82112 r354 pytest2/ (wikiconfig.py quickinstall.bat setup.py quickinstall): use XStatic-AnyWikiDraw package, require it via setup.py, remove it from quickinstall scripts
79 2011-07-04T10:59:50 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 8a21b92d8985 r350 pytest2/ (5 files in 3 dirs): use package XStatic-jQuery-File-Upload, require it in setup.py, remove it from quickinstall
80 2011-07-04T10:59:51 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 2c12608c7c38 r349 pytest2/MoinMoin/apps/frontend/views.py: fix url generation for jquery-file-upload, use download instead of get for DL link
81 2011-07-04T10:59:53 <CIA-45> Reimar Bauer <rb.proj AT googlemail DOT com> * a09f9b06a48f r353 pytest2/ (5 files in 2 dirs): use XStatic-TWikiDraw-moin package, require it via setup.py, remove it from quickinstall scripts
82 2011-07-04T10:59:57 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 57a8a41014a4 r352 pytest2/ (wikiconfig.py quickinstall.bat setup.py quickinstall): use XStatic-CKEditor package, require it via setup.py, remove it from quickinstall scripts
83 2011-07-04T11:00:02 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * e969c9318772 r346 pytest2/MoinMoin/app.py: remove HTTPException handler for setup_user that is not needed any more for flask >= 0.7
84 2011-07-04T11:00:07 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * 7a6b116afa20 r345 pytest2/ (34 files in 12 dirs): (log message trimmed)
85 2011-07-04T11:00:07 <CIA-45> upgrade to flask 0.7.1 (not compatible to older flasks)
86 2011-07-04T11:00:07 <CIA-45> to upgrade to flask 0.7.1 you need to activate your virtual env and run:
87 2011-07-04T11:00:07 <CIA-45> pip install --upgrade flask
88 2011-07-04T11:00:07 <CIA-45> what I had to do for upgrading moin src to flask 0.7.1:
89 2011-07-04T11:00:07 <CIA-45> ran the flask upgrade script, review what it did
90 2011-07-04T11:00:08 <CIA-45> added template_folder='templates' to BluePrint initializers where needed
91 2011-07-04T11:00:08 <CIA-45> Thomas Waldmann <tw AT waldmann-edv DOT de> * b062718d313d r351 pytest2/ (wikiconfig.py quickinstall.bat setup.py quickinstall): use XStatic-svgweb package, require it via setup.py, remove it from quickinstall scripts
92 2011-07-04T11:01:02 <mkerrin> ok, but I had moin-2.0 then ditched it and I am trying to ditch my current fork so that I only have changes that I might want to push if they are ok
93 2011-07-04T11:01:23 <dreimark> ThomasWaldmann: http://pypi.python.org/pypi/XStatic-TWikiDraw-moin/2004.10.23.0
94 2011-07-04T11:01:30 <dreimark> 28 downloads
95 2011-07-04T11:02:31 <pkumar> brb
96 2011-07-04T11:03:57 *** greg_f
97 2011-07-04T11:06:46 <ThomasWaldmann> mkerrin: i think you can recreate with the same name, no need to change the name
98 2011-07-04T11:18:56 <Marchael> when I try to create WhooshIndex object in indexing.py I got this traceback http://paste.pocoo.org/show/428795/
99 2011-07-04T11:19:39 <Marchael> there is code http://paste.pocoo.org/show/428796/
100 2011-07-04T11:27:19 *** sinha
101 2011-07-04T11:37:13 <Marchael> seems like I can't access to app.cfg in indexing.py
102 2011-07-04T11:37:18 <Marchael> why?
103 2011-07-04T11:41:52 <ThomasWaldmann> you are still inside create_app, so the app is not created yet
104 2011-07-04T11:43:46 <Marchael> ThomasWaldmann: Is there any way to know index_dir before app creation?
105 2011-07-04T11:45:32 <ThomasWaldmann> yes
106 2011-07-04T11:46:25 <Marchael> ,
107 2011-07-04T11:46:26 <Marchael> ?
108 2011-07-04T11:47:14 <ThomasWaldmann> you have it in the cfg
109 2011-07-04T11:48:13 <Marchael> but this is my local wikiconfig
110 2011-07-04T11:48:37 <Marchael> hm, perhaps I should move that options to wikiconfig.py
111 2011-07-04T11:48:44 <ThomasWaldmann> no
112 2011-07-04T11:49:25 <Marchael> hm, then how I can access to this options using config?
113 2011-07-04T11:52:11 <ThomasWaldmann> app.py create_app_ext calls init_backends(app)
114 2011-07-04T11:53:05 <ThomasWaldmann> so it gives the app there as param (this is NOT current_app from flask)
115 2011-07-04T11:55:55 <CIA-45> pkumar <contactprashantat@gmail.com> * b4784426e4c8 r356 pytest2/MoinMoin/_tests/test_wikiutil.py: added display messages on failure in _tests/test_wikiutil
116 2011-07-04T11:58:06 <pkumar> xorAxAx : hi, did you get a chance to go through my changesets?
117 2011-07-04T11:58:56 <xorAxAx> pkumar: no, but i will have time tomorrow, sorry for the delay
118 2011-07-04T11:59:38 <Marchael> ThomasWaldmann: but how can I use it inside indexing.py?
119 2011-07-04T12:01:19 <pkumar> xorAxAx : np, currently I'm adding tests to the files already having it(improving test coverage). After that I'll move to the files which don't have any test for it.
120 2011-07-04T12:09:43 *** m4k3r
121 2011-07-04T12:16:29 <pkumar> brb
122 2011-07-04T12:17:20 <ThomasWaldmann> Marchael: by passing the stuff you need there
123 2011-07-04T12:38:20 <Marchael> ThomasWaldmann: strange, but I can't import app in indexing.py
124 2011-07-04T12:38:31 <Marchael> ImportError: cannot import name app
125 2011-07-04T12:38:43 <Marchael> I'm using from MoinMoin import app
126 2011-07-04T12:39:34 <ThomasWaldmann> you don't do that
127 2011-07-04T12:40:36 <Marchael> but how i can import init_backends then?
128 2011-07-04T12:41:29 <ThomasWaldmann> how about just reading the traceback you posted to see what is calling what?
129 2011-07-04T13:29:06 <ThomasWaldmann> http://andreasgal.github.com/pdf.js/ interesting (but not completely working in ff5.0)
130 2011-07-04T13:46:47 *** m4k3r
131 2011-07-04T14:09:11 *** m4k3r
132 2011-07-04T14:20:59 <pkumar> bbl
133 2011-07-04T14:21:01 *** pkumar
134 2011-07-04T15:53:02 *** brunomartin
135 2011-07-04T16:36:35 <sinha> dreimark: http://codereview.appspot.com/4661057 [ Patch Set 4]
136 2011-07-04T17:05:05 *** brunomartin
137 2011-07-04T17:08:22 * dreimark looks
138 2011-07-04T17:16:08 *** brunomartin
139 2011-07-04T17:38:26 *** grzywacz
140 2011-07-04T17:38:26 *** grzywacz
141 2011-07-04T17:40:42 *** m4k3r
142 2011-07-04T17:41:48 *** m4k3r
143 2011-07-04T17:56:59 *** RogerHaase
144 2011-07-04T18:43:24 *** m4k3r
145 2011-07-04T18:43:59 *** m4k3r
146 2011-07-04T18:45:09 <Marchael> ThomasWaldmann: I imported create_app_ext from MoinMoin.app and put it to "manager = Manager(create_app_ext)" in MoinMoin.script.__init__().py, but result is the same
147 2011-07-04T18:46:42 <ThomasWaldmann> for what should that be good for?
148 2011-07-04T18:46:53 *** faina
149 2011-07-04T18:49:32 <Marchael> i still want access to app.cfg at moin start up
150 2011-07-04T18:51:03 <Marchael> index_rebuild calling at moin start up, so if i want WhooshIndex in ItemIndex I'm need to find a way how get access to app.cfg
151 2011-07-04T19:00:16 <Marchael> ThomasWaldmann: ^
152 2011-07-04T19:06:55 *** greg_f
153 2011-07-04T19:09:02 *** mkerrin
154 2011-07-04T19:15:58 <ThomasWaldmann> Marchael: i already showed you
155 2011-07-04T19:16:44 <ThomasWaldmann> (11:50) < ThomasWal> app.py create_app_ext calls init_backends(app)
156 2011-07-04T19:16:45 <ThomasWaldmann> (11:51) < ThomasWal> so it gives the app there as param (this is NOT current_app from flask)
157 2011-07-04T19:17:05 <Marchael> I see this
158 2011-07-04T19:17:08 <ThomasWaldmann> so init_backends has the app. and it can pass it on.
159 2011-07-04T19:17:26 <Marchael> but I described my actions and could you tell me what I'm doing wrong?
160 2011-07-04T19:18:04 <ThomasWaldmann> i could not quite follow you, but as far as i understood it, that was way off
161 2011-07-04T19:18:40 <Marchael> > so init_backends has the app. and it can pass it on.
162 2011-07-04T19:18:40 <Marchael> where? In MoinMoin.script ?
163 2011-07-04T19:19:13 <ThomasWaldmann> init_backends is in app.py iirc
164 2011-07-04T19:19:24 <ThomasWaldmann> but you can ask your local copy of grep :)
165 2011-07-04T19:19:32 <Marchael> %)
166 2011-07-04T19:19:54 <Marchael> I mean the place where I should put those lines
167 2011-07-04T19:20:34 <ThomasWaldmann> which lines?
168 2011-07-04T19:21:54 <ThomasWaldmann> iirc you problem was that the indexing middleware/backend does not have app.cfg. i just pointed you to the place that is supposed to initialize the backends and HAS app.
169 2011-07-04T19:21:56 <Marchael> lines with app initialization
170 2011-07-04T19:22:13 <ThomasWaldmann> so your problems is solved by passing that app to the place where you need it
171 2011-07-04T19:22:27 <Marchael> ah, ok
172 2011-07-04T19:22:29 <ThomasWaldmann> (as a function param)
173 2011-07-04T19:26:13 <dreimark> bbl
174 2011-07-04T19:32:25 <Marchael> but I can't import init_backends in indexing.py
175 2011-07-04T19:32:39 <Marchael> I mean MoinMoin.storage.backends.indexing
176 2011-07-04T19:32:44 <ThomasWaldmann> you don't need to
177 2011-07-04T19:33:10 <ThomasWaldmann> don't call us, we call you :)
178 2011-07-04T19:33:36 <Marchael> heh :)
179 2011-07-04T19:34:21 <ThomasWaldmann> load app.py into your editor/viewer
180 2011-07-04T19:34:38 <ThomasWaldmann> line ~ 171
181 2011-07-04T19:34:55 <ThomasWaldmann> you see it fetches stuff from app.cfg there
182 2011-07-04T19:35:15 <Marchael> app.cfg.router_index_uri
183 2011-07-04T19:35:24 <ThomasWaldmann> yes. and a few lines later:
184 2011-07-04T19:35:29 <ThomasWaldmann> unprotected_storage = router.RouterBackend(unprotected_mapping, index_uri=index_uri)
185 2011-07-04T19:35:41 <ThomasWaldmann> it gives that stuff to RouterBackend.__init__
186 2011-07-04T19:36:43 <ThomasWaldmann> you can just do the same thing.
187 2011-07-04T19:37:09 <ThomasWaldmann> alternatively, give cfg so the RouterBackend can fetch whatever it needs from the cfg.
188 2011-07-04T19:37:49 <ThomasWaldmann> and be careful, there are 2 RouterBackend instances being created there.
189 2011-07-04T19:40:33 <Marchael> ThomasWaldmann: why if I put app = create_app_ext() to ItemIndex.__init()__ I get traceback with RuntimeError: maximum recursion depth exceeded
190 2011-07-04T19:40:39 <Marchael> recursion?
191 2011-07-04T19:41:05 <Marchael> *ItemIndex.__init__().py
192 2011-07-04T19:41:18 <ThomasWaldmann> because that is completely wrong and leads to an infinite recursion
193 2011-07-04T19:42:20 <ThomasWaldmann> but due to limited stack size, it gives that RuntimeError
194 2011-07-04T19:53:13 *** m4k3r_
195 2011-07-04T19:53:16 *** CIA-114
196 2011-07-04T19:53:49 *** m4k3r
197 2011-07-04T19:53:50 *** CIA-45
198 2011-07-04T19:56:53 *** faina
199 2011-07-04T20:03:58 <Marchael> ThomasWaldmann: what app I should use? I try current_app, create_app, create_app_ext
200 2011-07-04T20:05:32 <Marchael> also app = Flask('MoinMoin')
201 2011-07-04T20:06:31 <Marchael> but all this apps haven't got cfg attribute
202 2011-07-04T20:06:45 <Marchael> exclude current_app
203 2011-07-04T20:34:29 <ThomasWaldmann> 19:15) < ThomasWal> (11:50) < ThomasWal> app.py create_app_ext calls init_backends(app)
204 2011-07-04T20:34:32 <ThomasWaldmann> (19:15) < ThomasWal> (11:51) < ThomasWal> so it gives the app there as param (this is NOT current_app from flask)
205 2011-07-04T20:37:25 <TheSheep> ThomasWaldmann: you borrowed the time machine from Guido?
206 2011-07-04T20:39:54 <ThomasWaldmann> TheSheep: I don't know Guidos time machine. Does he also always repeat the same stuff? :)
207 2011-07-04T20:40:15 <TheSheep> ThomasWaldmann: no, it works this way:
208 2011-07-04T20:41:04 <TheSheep> ThomasWaldmann: whenever someone posts an idea to the mailing list about some great feature that could be added to Python, Guido says "this is a great idea, I took my time machine and implemented it two years ago for you!"
209 2011-07-04T20:41:40 <ThomasWaldmann> hehe
210 2011-07-04T20:42:05 <ThomasWaldmann> yeah, I also have one, no need to borrow!
211 2011-07-04T20:43:23 <TheSheep> I bet you just went back 5 minutes and gave it back to him, so that he had two, so you could both use one of them
212 2011-07-04T20:49:52 <ThomasWaldmann> yup :)
213 2011-07-04T21:03:00 <RogerHaase> ThomasWaldmann: I pushed the transclusion patch to bitbucket last night
214 2011-07-04T21:03:12 <ThomasWaldmann> ah, good :)
215 2011-07-04T21:03:28 <ThomasWaldmann> will pull when i am at home again
216 2011-07-04T21:03:37 <RogerHaase> OK
217 2011-07-04T21:18:39 *** faina
218 2011-07-04T21:19:19 <RogerHaase> ThomasWaldmann: I was going to rework the comments button next; eliminate the slow load by using jquery and show toggle state in the title tooltip like the transclusion button. Also I was going to attempt the css-related issues in bitbucket: 11, 13, and 15. Or do you have a different idea?
219 2011-07-04T21:19:53 <ThomasWaldmann> more consistency sounds cool :)
220 2011-07-04T21:21:36 <ThomasWaldmann> for #11 we need ideas first, 13+15, yes please
221 2011-07-04T21:22:00 <ThomasWaldmann> sinha: or does that collide with anything you are working on?
222 2011-07-04T21:25:33 *** sinha
223 2011-07-04T21:26:14 *** sinha
224 2011-07-04T21:27:03 <sinha> ThomasWaldmann: currently i am working on this global/itemindex views stuff
225 2011-07-04T21:29:39 <sinha> ThomasWaldmann: for issue 13 ( view of global history) i already worked on it
226 2011-07-04T21:30:23 <ThomasWaldmann> RogerHaase: maybe have a look there ^^
227 2011-07-04T21:32:32 <ThomasWaldmann> brb
228 2011-07-04T21:32:39 <RogerHaase> OK, I will work only on issue 15.
229 2011-07-04T22:04:54 *** faina
230 2011-07-04T22:25:38 *** cdyson37
231 2011-07-04T22:45:05 *** grzywacz
232 2011-07-04T23:03:37 <dreimark> sinha: answered
233 2011-07-04T23:06:06 *** cdyson37
234 2011-07-04T23:06:09 <dreimark> sinha: I think div is better, <div style="width:128px">
235 2011-07-04T23:06:45 <dreimark> we need to check what is a good step
236 2011-07-04T23:06:55 <sinha> i tried div in start
237 2011-07-04T23:06:56 <dreimark> maybe 1024/4
238 2011-07-04T23:07:20 <dreimark> I replaced some time ago tables in arnica by div
239 2011-07-04T23:07:34 <dreimark> you also can have columns by that
240 2011-07-04T23:07:45 <dreimark> e.g. http://johannes.sipsolutions.net/Photos/Flowers
241 2011-07-04T23:07:55 <sinha> with fixed width we could have equal number of divs in a single row, but when one div has pretty on text, the height issue comes upon
242 2011-07-04T23:08:54 <dreimark> in the past were tables a mess for screenreaders
243 2011-07-04T23:14:17 <dreimark> we need to know which width is good and we should add breakable chars to very long text on display
244 2011-07-04T23:14:27 <dreimark> so that we can have it over more than one line
245 2011-07-04T23:14:31 <sinha> see this i done this with divs http://moinmo.in/AkashSinha/Gsoc2011Diary/2011-07-04?action=AttachFile&do=view&target=indexdivs.png
246 2011-07-04T23:14:41 <sinha> currently i have set the width to 200px
247 2011-07-04T23:16:02 <sinha> dreimark: ans this is how it will look in case of height overflow http://moinmo.in/AkashSinha/Gsoc2011Diary/2011-07-04?action=AttachFile&do=view&target=indexdivs2.png
248 2011-07-04T23:16:40 <sinha> so we need to show some part of the name in these cases, which fits in the given width
249 2011-07-04T23:17:21 <sinha> for big names like "MoinMoinWiki" we can show "MoinMoi..."
250 2011-07-04T23:17:39 <dreimark> on mouse over complete name?
251 2011-07-04T23:18:14 <dreimark> RogerHaase: can you have a look too ^^
252 2011-07-04T23:19:16 <dreimark> sinha: ctrl + - gives more letters?
253 2011-07-04T23:19:36 <sinha> yes
254 2011-07-04T23:19:59 <sinha> you mean for that div with long name
255 2011-07-04T23:20:03 <sinha> no it remains same
256 2011-07-04T23:20:04 <dreimark> yes
257 2011-07-04T23:20:20 <sinha> but the number of items on row changes, thats what i meant earlier
258 2011-07-04T23:20:45 *** m4k3r_
259 2011-07-04T23:21:08 <sinha> because width is fixed, so everything changes proportionally
260 2011-07-04T23:21:20 *** faina
261 2011-07-04T23:22:06 <dreimark> we should also set div height
262 2011-07-04T23:22:11 <sinha> one thing could be done, like fix the height also, make overfflow hidden
263 2011-07-04T23:22:13 <sinha> yes
264 2011-07-04T23:22:30 <dreimark> you were faster in typing :)
265 2011-07-04T23:22:43 *** m4k3r
266 2011-07-04T23:24:11 <sinha> i can see one small problem here
267 2011-07-04T23:24:21 <dreimark> which?
268 2011-07-04T23:24:38 <sinha> by fixing height that link to item index may get hidden also
269 2011-07-04T23:24:45 <sinha> that [..] one
270 2011-07-04T23:25:50 <dreimark> this is because it is at the end, but we could indicate the difference also in some attribute of the word
271 2011-07-04T23:26:00 <dreimark> e.g. undeline, bold,
272 2011-07-04T23:26:04 <dreimark> underline
273 2011-07-04T23:26:29 <sinha> restricting the number of chars could also solves this issue
274 2011-07-04T23:26:40 <sinha> i mean keep font size in px and width also in px
275 2011-07-04T23:26:53 <sinha> we can roughly estimate how many chars we could have
276 2011-07-04T23:27:10 <dreimark> probably yes, then on mouseover the whole word should be shown
277 2011-07-04T23:27:34 <dreimark> tooltip
278 2011-07-04T23:30:59 *** m4k3r
279 2011-07-04T23:31:57 *** m4k3r
280 2011-07-04T23:39:46 <sinha> dreimark: regarding that setlocale
281 2011-07-04T23:40:33 <sinha> will that locale_default work in this case ?
282 2011-07-04T23:44:02 *** m4k3r
283 2011-07-04T23:49:38 <dreimark> sinha: i think the wiki can't have a different locale than in the config set
284 2011-07-04T23:49:45 <dreimark> otherwise something is b0rked
285 2011-07-04T23:50:19 <dreimark> you can just try with your example setup
286 2011-07-04T23:51:12 <dreimark> it should use the defined locale
287 2011-07-04T23:51:42 <sinha> for that locale.setlocale, i passed that locale_default, that locale_default is a string, so i am getting a error saying setlocale should pass integer
288 2011-07-04T23:51:51 <sinha> i mean how to use that default one ?
289 2011-07-04T23:53:25 <dreimark> locale.setlocale(category[, locale])
290 2011-07-04T23:53:36 <dreimark> locale should be the defined one
291 2011-07-04T23:54:13 <sinha> okay, in the docs its given that it uses some LANG environment variable
292 2011-07-04T23:54:56 <sinha> ^, if locale is left none
293 2011-07-04T23:55:04 <dreimark> http://docs.python.org/library/locale.html
294 2011-07-04T23:55:23 <dreimark> setlocale() is not thread-safe on most systems
295 2011-07-04T23:55:32 <dreimark> that can be a problem
296 2011-07-04T23:55:36 <dreimark> ThomasWaldmann: ^
297 2011-07-04T23:56:22 <sinha> so in this case locale.setlocale(locale.LC_ALL, ""), i should do it like locale.setlocale(locale.LC_ALL, locale_default) ?
298 2011-07-04T23:58:03 <dreimark> yes, it should get definitly the same paramter which is used on other places
299 2011-07-04T23:59:22 <dreimark> encoding troubles is something which I hate.