Author Topic: BrowseTracker plugin  (Read 54821 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9524
Re: BrowseTracker plugin
« Reply #30 on: July 23, 2007, 09:26:11 pm »
Try to add event.Skip() at the end of the OnNavigationKey() of wxFNB.
This is in trunk now, nice.

Unfortunately this doesn't really fix the issue here: It makes no sense if this key-combination is used for both: a) to switch to another notebook and after that b) to jump to another method. So still: What's the most convenient way to setup? IMHO one of both parties (CC or wxFNB) needs to change this key association. I personally vote for wxFNB as I believe due to Visual Studio users are more into jumping to the next/previous method. But that's just me and I could live with the other way round, too (I would change that on my personal copy then). What about the other devs? Any thoughts/preferences?
With regards, Morten.
Ps.: Maybe I should start a poll - never did that before... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #31 on: July 28, 2007, 10:22:24 pm »
BrowseTracker re-compiled for SVN 4332.

Fixes for CB installation of wxFlatNotebook 2.2

http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #32 on: August 02, 2007, 11:10:12 pm »
BrowseTracker re-compiled for Linux wxGTK2.8.4.

Version  0.1.10 2007/08/2
- fixes for editor tracking with wxFlatNotebook 2.2 on Linux
- fix for non-focused selection dialog in wxGTK284


http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

Offline mariocup

  • Developer
  • Lives here!
  • *****
  • Posts: 587
Re: BrowseTracker plugin
« Reply #33 on: August 29, 2007, 02:47:48 pm »
Hi,

I can not build BrowseTracker Plugin with the current svn version, as the function GetAppWindow()->GetMenuBar issues an compiler error. If I include wx/frame.h and change the line to GetAppFrame()->GetMenuBar I get different errors.
What modification do I need to make the plugin work with the current release?


Offline Howard

  • Single posting newcomer
  • *
  • Posts: 8
Re: BrowseTracker plugin
« Reply #34 on: August 29, 2007, 09:40:33 pm »
This worked for me.

For BrowseTracker.cpp OnAttach()
 
     // initialize version and logging
    ////m_pAppWin  = Manager::Get()->GetAppWindow();
    ////m_pMenuBar = Manager::Get()->GetAppWindow()->GetMenuBar();
    m_pAppWin  = wxTheApp->GetTopWindow();
    m_pMenuBar = ((wxFrame*)m_pAppWin)->GetMenuBar();

 
For OnUpdateUI(wxUpdateUIEvent& event)
 // ----------------------------------------------------------------------------
 {
    ////wxMenuBar* pbar = Manager::Get()->GetAppWindow()->GetMenuBar();
    ////wxUnusedVar(pbar);
     event.Skip();
 }

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: BrowseTracker plugin
« Reply #35 on: September 04, 2007, 04:06:04 pm »
BrowseTracker re-compiled for Linux wxGTK2.8.4.

Version  0.1.10 2007/08/2
- fixes for editor tracking with wxFlatNotebook 2.2 on Linux
- fix for non-focused selection dialog in wxGTK284


http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

hi pecan


where can i dl the actual sources ?
your dl-link from the wiki doesnt exist any more (at least i get an error)
btw i generally HATE filehosters  :P

would you mind to put browsetracker into svn ?
you can easily open a project for it at berlios

brgds
tiwag
« Last Edit: September 04, 2007, 04:09:01 pm by tiwag »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #36 on: November 27, 2007, 10:06:48 pm »
BrowseTracker
Version 1.2.4 2007/11/30

BrowseTracker is a small CodeBlocks plugin to browse back and forth to recently activated CodeBlocks editors.

It keeps a 20 slot history of recently activated editors.

It uses the Alt-Left and Alt-Right command keys to move through the editor stack in the order in which they were activated.

For convienence there is a menu item at the bottom of the CodeBlocks Main Menu/View that allows you to clear the history stack.

For each active editor, BrowseTracker memorizes the location of mouse clicks (one per page). The user browses to previous locations via the Alt-Up and Alt-Down keys.

Memorizing multiple locations per page can be forced with a Ctrl+Left-Mouse click.


Updated 2007/11/30 Version 1.2.4
http://www.savefile.com/files/1232644


The file above contains all source and .cbplugin files for both MSW and unix.

To install the plugin:

   * Unzip the downloaded file.
   * Close all active CodeBlocks projects
   * Use the CodeBlocks installer at
     MainMenu/Plugins/Manage Plugins.../Install New
   * Navigate to the location you unzipped the file above.
   * Double click BrowseTracker.cbplugin for MSWindows
   * Double click libBrowseTracker.cbplugin for unix


You may have to restart CodeBlocks if there were pre-existing editors open during the install.

If CodeBlocks whines about SDK version or Symbol mismatches, the zip file contains the .cbp project files necessary to compile the source.
« Last Edit: November 30, 2007, 03:43:23 pm by Pecan »

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: BrowseTracker plugin
« Reply #37 on: November 30, 2007, 10:19:34 am »
ver 1.2.3 content file "version.cpp" vs "Version.cpp" into ver 1.2.1.
browsetracker-Lmsw.cbp content:
Code: [Select]
<Unit filename="Version.cpp" />Analogically browsetracker-Lunix.cbp
Check filecase, please.

Good luck!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #38 on: November 30, 2007, 03:44:44 pm »
BrowseTracker 1.2.5 2007/12/01
http://cbbrowsetracker.googlecode.com/files/cbBrowseTracker125.zip
Thank you kisoft.
« Last Edit: December 01, 2007, 08:00:37 pm by Pecan »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #39 on: December 04, 2007, 11:31:13 pm »
BrowseTracker 1.2.15 2007/12/4
http://code.google.com/p/cbbrowsetracker/
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

  commit  1.2.5 2007/11/30
 4) correct case of some filenames
 5) Add menu items "Set BrowseMark", "Clear BrowseMark"
 ----------------------------------------------------------------------------
  commit  1.2.15 2007/12/4
 6) remove redundancy of initial editor BrowseMark
 7) record "previous position" forward; allowing easy copy/paste operations
 8 ) add "Clear All BrowseMarks" menu item for a single editor
 9) don't show navigation dlg when no active cbEditors
 11) Clear previous marks on line when setting a new one (unless Ctrl held)
 12) when current browsemark off screen, go to "current", not "previous/next"
 13) save BrowseMarks in circular queue. More understandable interface.
 14) switch Ctrl-LeftMouse click to delete browse marks on a source line.
 15) allow multiple browse marks on page, but only one per line
« Last Edit: December 05, 2007, 03:24:46 pm by Pecan »

Offline kisoft

  • Almost regular
  • **
  • Posts: 194
Re: BrowseTracker plugin
« Reply #40 on: December 05, 2007, 07:28:51 am »
BrowseTracker 1.2.15 2007/12/4
http://code.google.com/p/cbbrowsetracker/
Thank you for repository. More usable for me.

Wait bug reports ;) I have no time for full testing, but I use your plugin at times.

Good luck!
OS: WinXPSP3
wxWidgets: 2.8.12
CodeBlocks: Master github cbMakefileGen plugin:
https://github.com/kisoft/cbmakefilegen

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #41 on: December 09, 2007, 01:18:00 am »
BrowseTracker 1.2.24 2007/12/8
http://code.google.com/p/cbbrowsetracker/
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

Commit 1.2.24 2007/12/8
 16) ignore recording BrowseMarks on duplicate editor activations eg. activations from double clicking search results panel
 17) fixed GetCurrentScreenPositions() when doc less than screen size
 18) honor WXK_RETURN to dismiss selector dialog
 19) honor WXK_RETURN to dismiss wxListBox in dialog
 20) convert editor pointers to circular queue
 21) compress active browsed editor array for better availability
 22) correct active editor order when using selection dlg
 23) fix index overflow crash in BrowseMarks.cpp::ClearMarks()
 24) implement visible browseMarks as "..."

« Last Edit: December 09, 2007, 01:29:35 am by Pecan »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #42 on: December 09, 2007, 08:12:33 pm »
BrowseTracker 1.2.29 2007/12/9
http://code.google.com/p/cbbrowsetracker/
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

Commit  1.2.29 2007/12/9
 25) add sort and "Sort BrowseMarks" menu  command
 26) On ClearAllMarkers(), tell scintilla to also clear visible BrowseMarks.
 27) shadow scintilla BrowseMarks when lines added/deleted; keeps marks in user set order
 28) append BrowseTracker menu to the context popup menu
 29) remove OnEditorActivated() code causing linux to re-set deleted markers
« Last Edit: December 09, 2007, 08:25:36 pm by Pecan »

Offline krgh

  • Single posting newcomer
  • *
  • Posts: 7
Re: BrowseTracker plugin
« Reply #43 on: December 10, 2007, 03:25:31 am »
Hi,

    I am using Codeblocks snapshot version CB_20071206_rev4711_win32 with mingwm10_gcc421 and wxmsw28u_gcc_cb_wx287. whenever i try to install BrowseTracker for CB i get below mentioned error and it fails to Load. Sorry if this is a repeated question. i use CB to work on ARM Compillers but this doesnt allow me to recompile the source. Please let me know how to recompile the code with some other toolchain.

C:\Editors\Code Blocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)

The same also happens to me with Threadsearch Plugin

TIA

Regards
Gururaja

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2186
Re: BrowseTracker plugin
« Reply #44 on: December 10, 2007, 04:47:07 am »
Hi,

    I am using Codeblocks snapshot version CB_20071206_rev4711_win32 with mingwm10_gcc421 and wxmsw28u_gcc_cb_wx287. whenever i try to install BrowseTracker for CB i get below mentioned error and it fails to Load. Sorry if this is a repeated question. i use CB to work on ARM Compillers but this doesnt allow me to recompile the source. Please let me know how to recompile the code with some other toolchain.

C:\Editors\Code Blocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)

The same also happens to me with Threadsearch Plugin

TIA

Regards
Gururaja

I understand your problem. It means I need to include a .cbplugin for the nightly build in the BrowseTracker download zip file.

I cannot do this for each nightly build as it's a hugh time consuming effort to download/build/test for both windows & linux nightlies. But I'll try to link with the current nightlies for each release of BrowseTracker.

BrowseTracker can be compiled with the same tool chain used to compile CodeBlocks itself. The zip file contains the necessary .cbp files.

Thanks for your report.


« Last Edit: December 10, 2007, 04:58:53 am by Pecan »