*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
greywhind | so i couldn't check if my window was set up correctly as a non-main window | 00:00 |
---|---|---|
mithro | well, there should be servers up now | 00:00 |
mithro | btw, you can always check the metaserver | 00:00 |
greywhind | mithro: i'll check again | 00:00 |
greywhind | yeah, i did | 00:01 |
mithro | greywhind: okay cool | 00:01 |
greywhind | but there weren't any servers up, and nobody was around to put one up | 00:01 |
mithro | the laptop in my HD died, which is why I haven't been around :/ | 00:01 |
mithro | dunno everyone elses excues ;( | 00:02 |
mithro | s/;(/;) | 00:02 |
mithro | i'm still getting use to this new keyboard :/ | 00:02 |
greywhind | mithro: yeah, i know... i hate that hard-drives are so delicate | 00:03 |
mithro | greywhind: I almost went with a SSD drive in this new laptop | 00:03 |
greywhind | mithro: seems like i'm still hiding the main window | 00:03 |
greywhind | what do i need to do to make it a non-primary window? | 00:03 |
mithro | greywhind: okay, do a cg-update | 00:03 |
greywhind | mithro: will do | 00:04 |
mithro | greywhind: if you haven't updated recently a whole bunch of stuff is going to move around | 00:04 |
greywhind | mithro: already merged | 00:05 |
mithro | okay | 00:05 |
greywhind | already up to date | 00:05 |
mithro | now cd into "windows/main/" | 00:05 |
mithro | that is where you need to put your new window | 00:05 |
greywhind | alright | 00:05 |
mithro | and you also should base it one the code from winDesign.py | 00:05 |
mithro | the winDesign window really needs to be rewritten :/ | 00:06 |
greywhind | mithro: so basically take the functionality from my current window and move it to the skeleton of winDesign | 00:06 |
mithro | greywhind: well, you should be able to adapt your window pretty easily | 00:07 |
mithro | your window should be in ./windows/main/win<name>.py | 00:07 |
mithro | you should inherit from winReport | 00:07 |
greywhind | mithro: alright. | 00:07 |
greywhind | do i need ShiftMixIN? | 00:08 |
greywhind | *In | 00:08 |
mithro | and you need to modify the lines 127 in winMain | 00:08 |
mithro | ShiftMixIn lets you do things when a person holds down shift | 00:08 |
mithro | which you probably don't need in your case | 00:09 |
greywhind | ah | 00:09 |
greywhind | guess not | 00:09 |
mithro | when you hold done shift the buttons in the Message panel change | 00:09 |
mithro | well, they should in theory, looks like that might be broken | 00:11 |
greywhind | mithro: should i still make an instance of IdleFinder in tpclient-pywx, or should it be in winMain? | 00:13 |
mithro | it should go in winMain | 00:13 |
mithro | only windows found in ./windows/ should go in tpclient-pywx (IE "TopLevel"/"Primary" windows | 00:14 |
greywhind | mithro: in the winMain file itself? | 00:14 |
mithro | see how winDesign is working? | 00:14 |
greywhind | mithro: not sure, actually | 00:15 |
mithro | # Actual windows | 00:16 |
mithro | from windows.main.winDesign import winDesign | 00:16 |
mithro | self.windows = {} | 00:16 |
mithro | for window in [winDesign]: | 00:16 |
mithro | title = window.title | 00:16 |
mithro | self.windows[title] = window(application, self) | 00:16 |
greywhind | mithro: heh - just found that | 00:16 |
mithro | lines 127 :) | 00:16 |
mithro | then by magic it should appear in the "Windows" menu | 00:17 |
greywhind | mithro: nice | 00:18 |
mithro | actually by lines 268, but by magic sounds cooler | 00:21 |
greywhind | mithro: hmm... since the update, the previous servers list doesn't seem to open | 00:23 |
greywhind | on winConnect | 00:23 |
greywhind | the good news is that my window works perfectly now | 00:24 |
mithro | can you explain a little more? | 00:24 |
greywhind | mithro: the drop-down menu on winConnect that shows previous servers doesn't open when i click the arrow | 00:25 |
greywhind | and when i have connected to the server, it's not showing any objects or messages | 00:25 |
greywhind | but it is showing my fleet and planet in the objects without orders window that i made, so they're there, just not shown on the main window | 00:26 |
greywhind | wait... if i search for them, they appear | 00:27 |
greywhind | but the starmap is still blank | 00:27 |
greywhind | once i've searched for something, if i delete the search then everything appears | 00:27 |
greywhind | (except the starmap) | 00:27 |
greywhind | but until i search, there's nothing listed | 00:27 |
mithro | did you click "Zoom to Fit" when you started up? | 00:28 |
greywhind | yeah | 00:28 |
mithro | hrm... which server? | 00:28 |
greywhind | demo1 | 00:28 |
greywhind | btw, when i give my planet an order, it no longer shows up in the objects without orders window | 00:29 |
mithro | hrm... the starmap is working fine for me :/ | 00:30 |
greywhind | well, i didn't modify it... | 00:30 |
mithro | can you disconnect and connect again? | 00:31 |
greywhind | sure | 00:31 |
greywhind | still nothing | 00:33 |
mithro | and you are sure you hit "Zoom to Fit" ? | 00:34 |
greywhind | yeah | 00:34 |
mithro | hrm... | 00:35 |
mithro | anything suspicous on the console? | 00:35 |
greywhind | mithro: check this, not sure: | 00:35 |
greywhind | http://rafb.net/p/dyIx7i60.html (26 lines) | 00:36 |
tpb | Title: Nopaste - No description (at rafb.net) | 00:36 |
mithro | hrm.... | 00:38 |
mithro | can you paste the complete output of that? | 00:38 |
greywhind | it's very long because of downloading the image for a planet and such | 00:39 |
greywhind | should i cut that out? | 00:39 |
mithro | yeah | 00:39 |
mithro | but that error is caused by something further up | 00:39 |
greywhind | never mind | 00:40 |
greywhind | got it | 00:40 |
greywhind | i had a reference to IdleFinder in a file that didn't understand it anymore, which caused this line: self.application.Post(self.application.cache.CacheUpdateEvent(None)) not to get executed | 00:41 |
mithro | oh | 00:42 |
greywhind | so... i guess i should commit and such? | 00:43 |
mithro | you should have in-theory been committing all along | 00:45 |
mithro | and then you just send me a patch series | 00:45 |
greywhind | mithro: yeah, that's what i mean | 00:45 |
mithro | sure | 00:46 |
* mithro is just cooking some lunch | 00:48 | |
mithro | btw, you did use XRC for the window right? | 00:48 |
greywhind | mithro: no. i built it from a fairly simple window, which i don't think used XRC | 00:50 |
greywhind | it's really just a window with 1 wxListCtrl in it. | 00:50 |
mithro | you will probably want to put more things on it in the future | 00:52 |
mithro | so it's best to convert to an XRC | 00:52 |
greywhind | mithro: how do i do that? | 00:53 |
mithro | have a look at the system panel | 00:56 |
mithro | that is a very simple XRC | 00:56 |
greywhind | mithro: will do | 00:56 |
mithro | of course you still want it to be a window | 00:56 |
greywhind | mithro: right | 00:57 |
mithro | so you will need to inherit from winReportXRC | 00:57 |
greywhind | mithro: k | 00:57 |
mithro | all windows will eventually be XRC | 00:59 |
greywhind | mithro: k | 01:00 |
greywhind | mithro: i think i originally looked at winSystem before it became a panel | 01:02 |
greywhind | to start IdleFinder | 01:03 |
mithro | he he, probably | 01:03 |
mithro | proabably a good place to look on how to do the conversion | 01:04 |
greywhind | mithro: will do. not tonight though | 01:05 |
mithro | okay | 01:05 |
mithro | it's not a huge change, just a little fiddly | 01:06 |
greywhind | mithro: k. no problem. | 01:06 |
mithro | you are on a mac? | 01:06 |
greywhind | mithro: yep | 01:07 |
mithro | greywhind: so how much longer have you got to go? | 01:11 |
greywhind | mithro: how much longer do i have to go on what? | 01:12 |
mithro | on this intership thing | 01:13 |
greywhind | mithro: 'til late May next year :) | 01:13 |
mithro | cool | 01:13 |
mithro | btw, where in the states are you again? | 01:14 |
greywhind | mithro: southwest | 01:14 |
mithro | I'm afraid that means nothing to me :) | 01:15 |
greywhind | mithro: Arizona... know of it? | 01:15 |
mithro | I know of Arizona, but have no idea where it is :P | 01:15 |
mithro | I'm assuming it is nowhere near San Fransisco? | 01:16 |
greywhind | mithro: southwest... about 8 hours east of San Francisco, which is a city in California | 01:16 |
mithro | it is likely that Lee (and possibly I) will be in the States in October for the Google Mentor Summit | 01:17 |
greywhind | that's cool | 01:17 |
mithro | http://maps.google.com/maps?ll=37.421844,-122.084026&spn=0.3,0.3&t=k&q=37.421844,-122.084026+(Googleplex) | 01:20 |
tpb | <http://ln-s.net/t:A> (at maps.google.com) | 01:20 |
greywhind | didn't match anything... | 01:21 |
greywhind | nm got it | 01:21 |
greywhind | says 11 hours from where I live | 01:22 |
mithro | cool | 01:23 |
mithro | didn't know that DisneyLand was near Los Angeles | 01:25 |
greywhind | yeah - Disney World is on the other side of the country, though | 01:25 |
mithro | whats the difference? :P | 01:27 |
greywhind | umm. the name? | 01:28 |
greywhind | there are probably other differences | 01:28 |
greywhind | but i don't know them | 01:28 |
mithro | he he | 01:29 |
* mithro is fairly ignorant of the USA | 01:29 | |
greywhind | that's alright - i'm sure i know less about Australia than i think i do. | 01:29 |
mithro | just as long as you know not to go near drop bears | 01:31 |
greywhind | i'll keep that in mind. | 01:31 |
mithro | Australia has all types of things which are out to kill you | 01:32 |
greywhind | heh | 01:32 |
greywhind | well, i do want to visit Australia someday. probably won't happen soon, though | 01:33 |
mithro | most deadliest spider, snake, jellyfish, frog | 01:33 |
mithro | the most deadliest spider is only found in some very small area of Australia, right where they put Sydney our biggest city :P | 01:34 |
greywhind | lol | 01:35 |
mithro | to top is off, it's one of the few spiders which are actively agressive, unlike most spiders it will run towards you and attack you | 01:35 |
mithro | rather then taking the first oppertunity to run away | 01:35 |
greywhind | well, that's a problem | 01:36 |
mithro | all our deadly animals also seem to be very aggressive :/ | 01:36 |
mithro | luckily we have anti venom for most of them | 01:37 |
greywhind | well, that's good | 01:37 |
greywhind | have you ever had a run-in with a dangerous animal? | 01:37 |
mithro | not really | 02:06 |
mithro | mainly a few of our less poisoness spiders | 02:06 |
greywhind | mithro: ah. that's good. | 02:07 |
mithro | bblr | 02:11 |
greywhind | i won't be here, probably | 02:11 |
greywhind | cya | 02:11 |
CIA-23 | mithro tpclient-pywx-development * rf8823164d3ae / (tpclient-pywx windows/winUpdate.py): Fixed the redrawing for when running under an Compositing window manager. | 03:06 |
CIA-23 | mithro tpclient-pywx-development * rccf94a8018af /windows/main/ (panelOrder.py panelPicture.py): Added redraw after the layout to make things work under a compositing window manager. | 03:06 |
mithro | o so quiet | 03:39 |
*** llnz has joined #tp | 04:29 | |
mithro | llnz: any luck with the challenge? | 04:34 |
mithro | llnz: you should also add yourself to the SoC wiki if you intend going | 04:34 |
llnz | haven't tried challenge, been busy | 04:37 |
llnz | will add myself shortly | 04:37 |
llnz | are you going? | 04:37 |
mithro | depends on work | 04:47 |
*** mithro_ has joined #tp | 05:43 | |
*** mithro has quit IRC | 05:44 | |
*** mithro_ has quit IRC | 05:45 | |
*** mithro has joined #tp | 05:45 | |
mithro | ~seen xdotx | 05:48 |
tpb | mithro: xdotx was last seen in #tp 5 days, 4 hours, 40 minutes, and 43 seconds ago: <xdotx> yeah, lemme finish up what i'm playing with and i'll try it again | 05:48 |
mithro | :/ | 05:48 |
mithro | llnz: want to send xdotx a friendly email? | 05:48 |
llnz | mithro: will do, saying what? | 06:45 |
mithro | llnz: dunno, saying hope uni is going well, and we would be happy to see you around or something :P | 07:04 |
mithro | where was xdotx located again? | 07:06 |
llnz | Redmond near Seattle, Washington | 07:08 |
mithro | hrm, it must have been dmpayton who was near Google | 07:11 |
* llnz wanders off | 07:32 | |
llnz | later all | 07:32 |
*** llnz has quit IRC | 07:33 | |
*** mithro has quit IRC | 09:29 | |
*** xdotx has joined #tp | 13:37 | |
*** xdotx has quit IRC | 14:18 | |
*** xdotx_ has joined #tp | 14:19 | |
*** xdotx_ has quit IRC | 14:27 | |
*** xdotx has joined #tp | 14:28 | |
*** nash has joined #tp | 18:27 | |
*** mithro has joined #tp | 18:37 | |
*** mithro has quit IRC | 19:04 | |
*** mithro has joined #tp | 22:27 | |
mithro | woot! | 22:27 |
greywhind | ? | 22:28 |
mithro | finally got my laptop on the work network | 22:29 |
greywhind | that's good | 22:29 |
mithro | greywhind: any luck with the XRC? | 23:20 |
greywhind | mithro: i took the day off today, sorry. | 23:21 |
mithro | okay | 23:22 |
mithro | love to get anything you have done reviewed and merged in :P | 23:22 |
greywhind | mithro: if you'll take it with no XRC, i'll send it to you now | 23:29 |
mithro | greywhind: well, I guess I can have a look at it | 23:29 |
greywhind | mithro: alright | 23:30 |
greywhind | now i just have to figure out how to make a patch from multiple commits | 23:30 |
greywhind | should i generate the patch from my first commit working w/ IdleFinder through the most recent merge (which i just did now) with tpclient-pywx-dev? | 23:35 |
mithro | greywhind: not sure, nash is the best person to ask :P | 23:42 |
greywhind | i'll try taht | 23:42 |
greywhind | *that | 23:42 |
greywhind | e-mail sent | 23:46 |
mithro | greywhind: that didn't work, it seems to have all the latest tpclient-pywx's changes mangled in | 23:48 |
greywhind | mithro: ok, i'll try it just going up to where i re-merged. | 23:48 |
* mithro pokes nash | 23:49 | |
greywhind | re-sent | 23:50 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!