Hi Akash, I am impressed that you are using vim. Are you using any other GUI based IDE as well?
I am using eclipse indigo cdt http://www.eclipse.org/cdt/ and it works perfectly well. You might add http://pydev.org/ for editing the scons scripts and http://wiki.bazaar.canonical.com/BzrEclipse for commit directly from eclipse. I personal prefer using bazaar from the command line, because the BzrEclipse is not really selves explaining. I have just checked in my eclipse project files so you might test it with lp:~daschuer/mixxx/daschuers_trunk. I love the background syntax checker and the code beautifier of Indigo. The best function for exploring unknown code of Indigo is the "Open Call Hierarchy" this works perfectly well for functions AND variables. The debugger works, but sometimes it is bitching around. For Qt debugging you need the Qt souce and this is helpful: http://nikosams.blogspot.com/2009/10/gdb-qt-pretty-printers.html --- My patches I create from the command line simply typing bzr diff > mypatch.patch For later reference it is best to attach the patch to the according launchpad bug. I think its also a good idea to cross post a question according to a bug also to launchpad as well. For my feeling the launchpad bug tracker has a better capacity for remembering. --- If you like you can register your own bzr branch with launchpad so the other developers can watch you work growing and it might be more easy to support you. --- To you question: Id do not understand your problem entirely but it looks like you have simply edited the wrong trackmodel.h. src/widget/wtracktableview.cpp:479: error: ‘TRACKMODELCAPS_RESETPLAYED’ is not a member of ‘TrackModel’ Kind regards Daniel -------- Original-Nachricht -------- > Datum: Sat, 18 Feb 2012 01:03:33 +0530 > Von: Akash Shetye <[email protected]> > An: mixxx-devel <[email protected]> > Betreff: [Mixxx-devel] Adding a new TrackModel capability of > TRACKMODELCAPS_RESETPLAYED how does it work? > I am done doing the patch for this > bug<https://bugs.launchpad.net/mixxx/+bug/791131>but what I can't > figure out is how and why these TrackModel capabilities > work. I tried editing the code of trackmodel.h's enum declarations to > include the new capability. The patch aims to reset the played count > through an option on rightclicking the track. But I guess I'll need some > direction in understanding their purpose first. > > enum Capabilities > TRACKMODELCAPS_NONE = 0x0000, > TRACKMODELCAPS_REORDER = 0x0001, > TRACKMODELCAPS_RECEIVEDROPS = 0x0002, > TRACKMODELCAPS_ADDTOPLAYLIST = 0x0004, > TRACKMODELCAPS_ADDTOCRATE = 0x0008, > TRACKMODELCAPS_ADDTOAUTODJ = 0x0010, > TRACKMODELCAPS_LOCKED = 0x0020, > TRACKMODELCAPS_RELOADMETADATA = 0x0040, > TRACKMODELCAPS_LOADTODECK = 0x0080, > TRACKMODELCAPS_LOADTOSAMPLER = 0x0100, > TRACKMODELCAPS_REMOVE = 0x0200, > TRACKMODELCAPS_RELOCATE = 0x0400, > TRACKMODELCAPS_RESETPLAYED = 0x0800, <-------- The new > capability to add > }; > > Very weird that the diff does not show the changes in trackmodel.h, but I > have made them and they appear in vim. I think thats why the edited code > is > not compiling on scons or something. Heres the diff > patch<http://pastebin.com/zaPAnLzj> > . > > Thank you for your time Mixxx developers, I am trying to understand Mixxx > more closely. Maybe someday I'll have the opportunity to help others too > once I am past this Learning curve :P. I really appreciate your time. Keep > Mixxxing. > > > Akash. Shetye -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Mixxx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mixxx-devel
