*** tpb has joined #tp | 00:00 | |
*** ChanServ sets mode: +o tpb | 00:00 | |
mithro | greywhind: so it would be good if you could merge the statetracker branch into your stuff | 00:00 |
---|---|---|
mithro | it's the future :P | 00:00 |
greywhind | mithro: ok... how do you recommend I do that? | 00:00 |
mithro | and you should see how to object idle stuff | 00:00 |
mithro | (look at the extra/StateTracker.py stuff) | 00:01 |
mithro | greywhind: same way you merge development branch? | 00:01 |
greywhind | mithro: ok... let me see if i can remember how i got that branch merged in in the first plce | 00:01 |
greywhind | *place | 00:01 |
mithro | you probably did something like "cg-branch-add statetracker git+ssh://greywhind......" | 00:02 |
greywhind | mithro: seems likely | 00:02 |
mithro | greywhind: I | 00:03 |
greywhind | mithro: worked perfectly | 00:04 |
mithro | greywhind: I'm pretty happy to remove the incoming branch (and have you commit on "trunk") and make the statetracker become development | 00:04 |
mithro | will probably do that this weekend | 00:04 |
mithro | greywhind: don't forget to update libtpclient-py-dev too | 00:04 |
greywhind | mithro: mmm... will do | 00:05 |
greywhind | mithro: same thing? add statetracker branch? | 00:05 |
mithro | greywhind: no new branch for libtpclient-py | 00:05 |
greywhind | mithro: ok then | 00:05 |
greywhind | mithro: everything still seems to work | 00:06 |
mithro | yay! :P | 00:06 |
mithro | sometime I am going to have to go through and rank all the bugs | 00:08 |
greywhind | mithro: so... i shouldn't push to incoming any more now that i'm on the statetracker branch? or should i? | 00:08 |
mithro | greywhind: feel free to push to the state tracker branch | 00:08 |
mithro | if you do that, then I will remove the incoming branch from the server | 00:09 |
greywhind | mithro: ok - what do i have to change to get it to push to statetracker? | 00:09 |
mithro | change the origin branch | 00:09 |
mithro | cg-branch-chg i think | 00:09 |
greywhind | cg-switch perhaps? | 00:11 |
greywhind | mithro: oh, ok. i see | 00:12 |
greywhind | mithro: cg-branch-chg <new url> | 00:12 |
nash | Move to git guys ;-) | 00:13 |
mithro | cg-branch-chg origin <new url> | 00:13 |
nash | git has passed cg in tersm of features | 00:13 |
greywhind | mithro: got it. | 00:13 |
nash | git checkout <branch> | 00:13 |
mithro | nash: I will move to git when they support a decent way to checkout just a single remote branch | 00:13 |
nash | Why do you only want to do that? | 00:14 |
mithro | because i'm evil | 00:14 |
mithro | and the stable branch is no use to you if you are using the development branch | 00:14 |
nash | but 90% of the content is the same, so the overhead is small | 00:15 |
greywhind | mithro: mind if i push my most recent stuff to statetracker just to test the pushing? it would be the same patch i pushed to incoming earlier... | 00:15 |
mithro | my tpclient-pywx-dev checkout is actually smaller then my stable one | 00:16 |
mithro | greywhind: sure go right ahead | 00:16 |
mithro | I'll pull the changes tonight | 00:16 |
CIA-46 | noegnud tpclient-pywx-statetracker * r13f177da09d4 / (3 files in 3 dirs): | 00:16 |
CIA-46 | Fixed bug with missing icon and added default zoom level for starmap. Also | 00:16 |
CIA-46 | changed some portions of PieChart to hopefully reduce drawing error. | 00:16 |
CIA-46 | noegnud tpclient-pywx-statetracker * r5d1b9dc5be59 /graphics/mousemode-icon.png: Added mousemode icon. | 00:16 |
CIA-46 | noegnud tpclient-pywx-statetracker * r829865017eeb /windows/main/ (overlays/Overlay.py overlays/Proportional.py panelStarMap.py): | 00:16 |
CIA-46 | Fixed drawing order of items on the Resource overlay so that systems with | 00:16 |
CIA-46 | small amounts of resources will not be obscured by larger ones. | 00:16 |
CIA-46 | noegnud tpclient-pywx-statetracker * r93c0ee76f2e6 / (6 files in 3 dirs): Merge with development branch. | 00:16 |
CIA-46 | noegnud tpclient-pywx-statetracker * r99f38833da63 / (11 files in 6 dirs): Merge with statetracker. | 00:16 |
greywhind | mithro: seems to be working | 00:16 |
greywhind | mithro: well, i'm quite tired... will work more tomorrow | 00:18 |
mithro | okay | 00:18 |
mithro | greywhind: the deadline for a release is rapidly approaching | 00:18 |
greywhind | mithro: i did try a few more things on that focus bug, but i can't seem to fix it... | 00:18 |
mithro | so any extra work you can put in is very welcome | 00:18 |
greywhind | mithro: seems like the popup window is automatically grabbing focus and won't release it, even if i call SetFocus() on something else, until it is hidden | 00:19 |
mithro | greywhind: maybe poke the wxWidgets list | 00:19 |
mithro | :( | 00:19 |
greywhind | mithro: i meant to do more work this past weekend, but i had a robotics competition and an essay... | 00:21 |
mithro | greywhind: I may have a mac to test with in the near future | 00:23 |
greywhind | mithro: very nice... macworld is coming up - i'm hoping for some major upgrades to the MacBook Pro | 00:25 |
*** Epyon has quit IRC | 00:48 | |
*** bddebian has quit IRC | 01:00 | |
llnz | bbl | 01:06 |
mithro | greywhind: incoming has gone | 01:10 |
*** mithro has quit IRC | 01:53 | |
zzorn | hi | 01:57 |
*** zzorn is now known as zzorn_away | 01:57 | |
*** nash has quit IRC | 02:01 | |
* llnz is back | 03:55 | |
*** TBBle has quit IRC | 05:15 | |
*** TBBle has joined #tp | 05:15 | |
CIA-46 | llnz tpserver-cpp * r2f69b93a13e8 /tpserver/ (5 files): | 06:48 |
CIA-46 | Split ObjectBehaviour from ObjectType. | 06:48 |
CIA-46 | More reworking IGObject and ObjectData to IGObject + Objectbehaviour + | 06:48 |
CIA-46 | ObjectType. Still does not compile. | 06:48 |
*** mithro has joined #tp | 07:22 | |
mithro | hey people | 07:24 |
llnz | hi mithro | 07:24 |
mithro | llnz: did you see the "kind of working" waypoint mode? | 07:24 |
llnz | saw the commits, haven't played yet | 07:26 |
CIA-46 | llnz tpserver-cpp * r65a20347b34a /tpserver/smartpointer.h: Added simple SmartPointer implementation | 07:53 |
CIA-46 | llnz tpserver-cpp * rf0327674e44e /tpserver/ (Makefile.am objectinfo.cpp objectinfo.h): | 07:53 |
CIA-46 | Added ObjectInfo(Ptr|Data) class to hold slow changing Object Information. | 07:53 |
CIA-46 | The smartpointer will be used so that the data is not needlessly duplicated. | 07:53 |
CIA-46 | llnz tpserver-cpp * r7b0099ad54dc /tpserver/ (Makefile.am objectrelationships.cpp objectrelationships.h): | 08:22 |
CIA-46 | Added ObjectRelationships(Ptr) class to store parent and child information. | 08:22 |
CIA-46 | Part of refactoring IGObject. | 08:22 |
*** remaxim has joined #tp | 08:23 | |
remaxim | hi | 08:23 |
llnz | hi remaxim | 08:24 |
* llnz should be asleep | 08:24 | |
* llnz wanders off | 08:24 | |
llnz | later all | 08:24 |
remaxim | bye llnz | 08:24 |
*** llnz has quit IRC | 08:24 | |
mithro | hey remaxim | 08:26 |
mithro | i'm heading to bed | 08:26 |
remaxim | ok | 08:26 |
remaxim | mithro, did you get my response? | 08:26 |
mithro | remaxim: I'm afraid without the source/program, it makes it very hard to explain what i was trying to say | 08:26 |
mithro | yeah | 08:26 |
mithro | I'll try to reply to it soon | 08:26 |
remaxim | thanks | 08:27 |
mithro | this release stuff is my top priority however | 08:27 |
remaxim | are going to release a new version soon? | 08:27 |
remaxim | *you | 08:27 |
remaxim | mithro, are you already gone to sleep? | 08:31 |
remaxim | I just have to go soon as well... and I dunno if you're still here | 08:31 |
remaxim | ok... I m off! bye | 08:36 |
*** remaxim has left #tp | 08:36 | |
*** mithro has quit IRC | 08:48 | |
*** Epyon has joined #tp | 09:36 | |
*** zzorn_away has quit IRC | 10:13 | |
*** peres has joined #tp | 14:21 | |
*** peres has quit IRC | 14:32 | |
*** Epyon_ has joined #tp | 14:45 | |
*** Epyon_ has quit IRC | 14:47 | |
*** zzorn has joined #tp | 16:55 | |
*** nash has joined #tp | 17:27 | |
*** mithro has joined #tp | 17:56 | |
*** Epyon has quit IRC | 18:19 | |
mithro | greywhind: ping? | 18:20 |
mithro | morning people | 18:20 |
greywhind | mithro: pong | 18:20 |
mithro | how is everyone today? | 18:20 |
greywhind | mithro: good | 18:23 |
greywhind | mithro: got your e-mail. i'll try to improve my commits | 18:23 |
mithro | greywhind: none of them are big problems - but they are still important | 18:25 |
mithro | greywhind: so what you working on at the moment? | 18:31 |
greywhind | mithro: well, on a whim, i've been hacking together an upgrade to this old chat bot i came up with in Perl... i'll be fixing TP bugs in a bit though. | 18:33 |
*** Erroneous has joined #tp | 18:38 | |
mithro | greywhind: that would be good - any idea what you plan to work on? | 18:40 |
greywhind | mithro: not sure | 18:40 |
greywhind | mithro: wow... that chat bot actually works quite well, in an abstract sort of way. if you want to play around with it sometime, i'll paste the code. | 18:58 |
mithro | greywhind: I don't to perl | 18:58 |
greywhind | mithro: why not? | 18:59 |
mithro | because I found enlightenment with python ;) | 18:59 |
greywhind | mithro: heh - python is nice. but perl has some good points too. anyway - i'm ready to work on TP now | 18:59 |
mithro | friends don't let friends do perl ;) | 19:00 |
greywhind | mithro: lol | 19:00 |
greywhind | mithro: any suggestions on what to do? any bugs that really need to be fixed now? | 19:00 |
mithro | it's like a hard drug which is really good at first and then ruinens your life ;) | 19:00 |
mithro | greywhind: I'm just looking at the bugs list on sf | 19:01 |
mithro | greywhind: oh, adding double click support to Object Idle | 19:02 |
mithro | and porting panelMessage and panelSystem to the new StateTracker interface | 19:03 |
mithro | or the toolbar icons | 19:03 |
greywhind | mithro: ok... so for that i need to look at your new statetracker stuff | 19:03 |
greywhind | mithro: how do i interface with it? create a new TrackerObject? extend TrackerObject? | 19:06 |
mithro | greywhind: have a look at the panelOrder or the Path/System overlay stuff | 19:07 |
mithro | you extend either TrackerObject or TrackerObjectOrders | 19:07 |
greywhind | mithro: i see | 19:07 |
greywhind | mithro: when i select an option in the right click menu on the Systems overlay, should something happen? | 19:12 |
mithro | yes | 19:12 |
greywhind | mithro: what? | 19:12 |
mithro | it should select that object | 19:12 |
greywhind | mithro: as in scroll to it on the right hand list etc | 19:12 |
mithro | same as clicking on the object using left click | 19:13 |
greywhind | mithro: hmm... doesn't seem to be working | 19:13 |
mithro | working here | 19:13 |
mithro | you got the latest libtpclient-py? | 19:13 |
greywhind | mithro: i think so... let me check | 19:13 |
greywhind | mithro: yep | 19:14 |
mithro | any errors? | 19:14 |
greywhind | mithro: didn't see any | 19:14 |
mithro | so what is happening? | 19:14 |
greywhind | mithro: except this: | 19:14 |
greywhind | http://rafb.net/p/6KsNqW43.html (6 lines) | 19:14 |
tpb | Title: Nopaste - No description (at rafb.net) | 19:14 |
mithro | hrm... | 19:15 |
mithro | can you paste the complete output? | 19:15 |
greywhind | mithro: sure | 19:15 |
greywhind | http://rafb.net/p/3Zy41D56.html (255 lines) | 19:17 |
tpb | Title: Nopaste - No description (at rafb.net) | 19:17 |
greywhind | mithro: there you go | 19:17 |
mithro | this is the problem | 19:17 |
mithro | Traceback (most recent call last): | 19:17 |
mithro | File "./windows/main/overlays/Systems.py", line 337, in OnContextMenu | 19:17 |
mithro | self.menumap[evt.GetId()](evt) | 19:17 |
mithro | TypeError: 'NoneType' object is unsubscriptable | 19:17 |
mithro | or atleast one problem | 19:17 |
greywhind | mithro: any idea why? | 19:18 |
mithro | nope | 19:20 |
mithro | any progress? | 19:43 |
greywhind | mithro: i think i'll download a totally separate copy and see if it works | 19:43 |
mithro | you can use cg-status to find out if you have any differences | 19:43 |
greywhind | mithro: do you happen to have the link to the git for the correct branch handy? | 19:44 |
greywhind | mithro: never mind | 19:45 |
mithro | git.thousandparsec.net :) | 19:45 |
greywhind | mithro: i took it from cg-branch-ls on my other repo | 19:45 |
greywhind | mithro: didn't fix it | 19:49 |
mithro | dang | 19:54 |
mithro | does left click work? | 19:55 |
greywhind | mithro: yes | 19:55 |
greywhind | mithro: so ObjectRightClick should always be called before OnContextMenu? | 19:55 |
mithro | that does not make any sense, as the right click mechanism uses the same methods | 19:55 |
mithro | greywhind: yes, the OnContextMenu should only be called when you get a selection from the ContextMenu | 19:56 |
greywhind | mithro: let me check if that's the case | 19:56 |
greywhind | mithro: nope | 19:57 |
greywhind | http://rafb.net/p/UUR1qR72.html (6 lines) | 19:57 |
tpb | Title: Nopaste - No description (at rafb.net) | 19:57 |
mithro | nope? | 19:57 |
mithro | greywhind: you put your print before the PopupMenu? | 19:59 |
greywhind | mithro: ah. no | 19:59 |
greywhind | mithro: that probably explains it | 20:00 |
mithro | check that OnContextMenu is being called before OnContextMenuClose | 20:01 |
greywhind | mithro: hmm... it seems the moveorder is always "none" | 20:01 |
mithro | greywhind: you mean the menumap | 20:01 |
greywhind | mithro: line 301, print moveorder | 20:01 |
greywhind | mithro: always prints "None" | 20:01 |
mithro | greywhind: that doesn't matter and has nothing to do with your problem | 20:03 |
greywhind | mithro: and neither of the prints of "move order what" ever happen | 20:03 |
greywhind | mithro: ok. just checking. | 20:03 |
mithro | the move order will only be non-none only on a fleet | 20:03 |
mithro | check the context problem above | 20:03 |
greywhind | mithro: aha | 20:04 |
greywhind | mithro: here: | 20:04 |
greywhind | http://rafb.net/p/MPA8dd98.html (10 lines) | 20:04 |
tpb | Title: Nopaste - No description (at rafb.net) | 20:04 |
mithro | mac os X probably has some type of crappy ordering problem with them | 20:04 |
greywhind | mithro: looks like it | 20:05 |
greywhind | mithro: could fix it by having the destruction of the ordermap occur at the end of the right click method, right after PopupMenu | 20:05 |
greywhind | mithro: err, the menumap | 20:05 |
mithro | possibly - i thought popupmenu returned straight away on some platforms | 20:06 |
greywhind | mithro: that fixes it for mac | 20:06 |
greywhind | mithro: check if it works on linux | 20:06 |
mithro | patch? | 20:06 |
greywhind | mithro: will do | 20:06 |
mithro | greywhind: maybe it is time to setup a ubuntu vmware install for yourself too? | 20:06 |
mithro | or virtual pc or something | 20:06 |
greywhind | mithro: i've got Ubuntu dual-booting... | 20:06 |
mithro | virtual PC is easier for quick testing ;) | 20:07 |
greywhind | mithro: true | 20:07 |
jotham | i am building a machine to virtualise 3 linuxes and a winxp | 20:08 |
jotham | it'll have a 1tb raid in it | 20:08 |
jotham | well, when i sort my life out | 20:08 |
jotham | i've sorted out all the parts | 20:08 |
jotham | i'm sick of having multiple computers for all my linux stuff | 20:08 |
mithro | hey jotham | 20:09 |
jotham | hey | 20:09 |
mithro | how goes everything? | 20:09 |
jotham | pretty crap | 20:09 |
jotham | like i said after i finished my big work project, my gf left me | 20:09 |
jotham | so i've been trying to find a new place to live | 20:09 |
jotham | and selling things we bought togeather | 20:09 |
jotham | it's been shit | 20:09 |
jotham | but hopefully soon i'll be back to programming stuff | 20:09 |
jotham | work posted company productivity today, i was 138% productive for the last 6 months | 20:10 |
jotham | that's just hours worked based on a 40 hour week | 20:10 |
jotham | lowest person was 23% productive | 20:10 |
CIA-46 | noegnud tpclient-pywx-statetracker * rbd70e79ce45a /windows/main/overlays/Systems.py: | 20:10 |
CIA-46 | Fix for popup menu in Systems overlay on Mac. | 20:10 |
CIA-46 | Moved destruction of menumap in Systems overlay to end of ObjectRightClick, | 20:10 |
CIA-46 | because OnContextMenuClose is called out of order. | 20:10 |
greywhind | jotham: impressive | 20:11 |
jotham | yeah i was pretty braindead, i slept about 14-16 hours a day for a full week | 20:11 |
jotham | part of that was avoiding dealing with the fact i had to find a new place to live and crap :p | 20:12 |
jotham | anyway i think i'm back | 20:12 |
greywhind | mithro: does that patch work? | 20:19 |
mithro | jotham: lots of cool stuff going on because of LCA comming up | 20:19 |
mithro | greywhind: will test in about 40 minutes | 20:19 |
greywhind | mithro: ok. i'll work on something else til' then | 20:19 |
jotham | what's LCA | 20:20 |
mithro | Linux.conf.au - a really cool Open Source conference | 20:22 |
jotham | cool | 20:23 |
greywhind | mithro: now, StateTracker seems to be designed just for the overlays... the OnSelectObject/OnLeftClick/OnRightClick stuff doesn't fire when i have IdleFinder extend TrackerObject | 20:34 |
mithro | um, StateTracker doesn't have any OnLeftClick/OnRightClick | 20:34 |
mithro | greywhind: you will have to bind wx events and then call the correct methods on the StateTracker | 20:34 |
greywhind | mithro: ok. thought so. do you know what type of event is called when an item is selected in a wxListCtrl? | 20:35 |
mithro | nope! but check the panelOrder.py | 20:35 |
mithro | that uses a wxListCtrl too | 20:35 |
greywhind | mithro: ok | 20:35 |
greywhind | mithro: looks like self.Orders.Bind(wx.EVT_LIST_ITEM_SELECTED, self.OnOrderSelect) | 20:36 |
greywhind | self.Orders.Bind(wx.EVT_LIST_ITEM_DESELECTED, self.OnOrderSelect) | 20:36 |
tpb | aloril has quit worldforge (Remote host closed the connection) | 21:03 |
tpb | aloril has joined on worldforge | 21:07 |
*** Erroneous has quit IRC | 21:19 | |
greywhind | mithro: success! | 21:31 |
CIA-46 | noegnud tpclient-pywx-statetracker * r6fe28777d4f4 /windows/main/winIdleFinder.py: | 21:34 |
CIA-46 | winIdleFinder: clicking on object selects it in main window. | 21:34 |
CIA-46 | Modified winIdleFinder to use the new StateTracker code so that it passes | 21:34 |
CIA-46 | selection events to the main window, allowing quick access to objects that | 21:34 |
CIA-46 | have no orders. | 21:34 |
mithro | you probably only want it to occur on double click? | 21:49 |
greywhind | mithro: why's that? | 21:50 |
mithro | because that is a definate - I want to go here action | 21:50 |
mithro | (should probably close the Idle window too then | 21:50 |
greywhind | mithro: yes, but so is clicking in this case. | 21:51 |
mithro | I'm not so sure | 21:51 |
mithro | you might click so that you can scroll with the keypad? | 21:51 |
greywhind | mithro: clicking performs no action... doubleclicking might not be obvious to users | 21:51 |
greywhind | mithro: i mean, no other action | 21:51 |
greywhind | mithro: well, anyway, i have some other work to do... i'll think about it and we can discuss it tomorrow | 21:53 |
greywhind | i'm glad it works though | 21:53 |
mithro | currently there is no way to "go back" to the previously selected object | 21:57 |
mithro | so it needs to be clear that they are saying change to that object | 21:58 |
*** TBBle has quit IRC | 23:14 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!