Patch #3220 2011-10-04 21:23
sbezgodov
Toolbar for bookmarks and jump locations.- Download
- 3220-Toolbar_for_bo.patch (23.8 KB)
- Category
- Plugin::FeatureAdd
- Status
- Open
- Close date
- Assigned to
- pecan
Index: BrowseTracker.cbp
===================================================================
--- BrowseTracker.cbp (revision 7478)
+++ BrowseTracker.cbp (working copy)
@@ -11,8 +11,9 @@
<Option object_output="..\..\..\.objs\plugins\contrib\BrowseTracker" />
<Option type="3" />
<Option compiler="gcc" />
- <Option parameters="--debug-log --multiple-instance -na -ns -nd" />
+ <Option parameters='--personality="lite" --debug-log --multiple-instance -na -ns -nd' />
<Option host_application="..\..\..\devel\codeblocks.exe" />
+ <Option run_host_application_in_terminal="0" />
<Compiler>
<Add option="-Wall" />
<Add option="-pipe" />
@@ -47,12 +48,59 @@
</Linker>
<ExtraCommands>
<Add after="zip -j9 ..\..\..\devel\share\codeblocks\BrowseTracker.zip manifest.xml" />
+ <Add after="zip -jq9 ..\..\..\devel\share\codeblocks\BrowseTracker.zip BrowseTrackerToolbar.xrc" />
+ <Add after="zip -Rq9 ..\..\..\devel\share\codeblocks\BrowseTracker.zip images\*.png images\16x16\*.png" />
<Mode after="always" />
</ExtraCommands>
</Target>
+ <Target title="debug">
+ <Option output="..\..\..\devel\share\codeblocks\plugins\BrowseTracker.dll" prefix_auto="0" extension_auto="0" />
+ <Option object_output="..\..\..\.objs\plugins\contrib\BrowseTracker" />
+ <Option type="3" />
+ <Option compiler="gcc" />
+ <Option parameters='--personality="lite" --debug-log --multiple-instance -na -ns -nd' />
+ <Option host_application="..\..\..\devel\codeblocks.exe" />
+ <Option run_host_application_in_terminal="0" />
+ <Compiler>
+ <Add option="-Wall" />
+ <Add option="-g" />
+ <Add option="-pipe" />
+ <Add option="-mthreads" />
+ <Add option="-fmessage-length=0" />
+ <Add option="-fexceptions" />
+ <Add option="-Winvalid-pch" />
+ <Add option="-DBUILDING_PLUGIN" />
+ <Add option="-DHAVE_W32API_H" />
+ <Add option="-D__WXMSW__" />
+ <Add option="-DWXUSINGDLL" />
+ <Add option="-DcbDEBUG" />
+ <Add option="-DCB_PRECOMP" />
+ <Add option="-DWX_PRECOMP" />
+ <Add option="-DwxUSE_UNICODE" />
+ <Add option="-DNO_LOGGING" />
+ <Add option="-DWXMAKINGDLL_PROPGRID" />
+ <Add option="-DwxPG_USE_WXMODULE=0" />
+ <Add directory="..\..\..\include" />
+ <Add directory="..\..\..\sdk\wxscintilla\include" />
+ <Add directory="$(#WX.include)" />
+ <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)\msw$(WX_SUFFIX)" />
+ </Compiler>
+ <Linker>
+ <Add option="-Wl,--enable-auto-import" />
+ <Add option="-mthreads" />
+ <Add library="wxmsw28$(WX_SUFFIX)" />
+ <Add library="codeblocks" />
+ <Add directory="..\..\..\devel" />
+ <Add directory="$(#WX.lib)\gcc_dll$(WX_CFG)" />
+ </Linker>
+ <ExtraCommands>
+ <Add after="zip -j9 ..\..\..\devel\share\codeblocks\BrowseTracker.zip manifest.xml" />
+ <Mode after="always" />
+ </ExtraCommands>
+ </Target>
<Environment>
+ <Variable name="WX_CFG" value="" />
<Variable name="WX_SUFFIX" value="u" />
- <Variable name="WX_CFG" value="" />
</Environment>
</Build>
<VirtualTargets>
@@ -69,6 +117,7 @@
<Unit filename="BrowseTrackerDefs.h" />
<Unit filename="BrowseTrackerLayout.cpp" />
<Unit filename="BrowseTrackerLayout.h" />
+ <Unit filename="BrowseTrackerToolbar.xrc" />
<Unit filename="BrowseXpms.h" />
<Unit filename="ConfigPanel.cpp" />
<Unit filename="ConfigPanel.h" />
@@ -81,7 +130,9 @@
<Unit filename="ProjectData.h" />
<Unit filename="Version.cpp" />
<Unit filename="Version.h" />
- <Unit filename="manifest.xml" />
+ <Unit filename="manifest.xml">
+ <Option target="default" />
+ </Unit>
<Extensions>
<code_completion />
<envvars />
Index: BrowseTracker.cpp
===================================================================
--- BrowseTracker.cpp (revision 7478)
+++ BrowseTracker.cpp (working copy)
download for full patch...
History
sbezgodov 2011-10-04 21:49
This patch adds a toolbar to BrowseTracker plugin. It gives a possibility to move between source code jump locations and manage bookmarks easy. Details, screenshot and complete patch with button images and XRC file at http://forums.codeblocks.org/index.php/topic,15336.0.html
ollydbg 2013-04-22 14:06
Hi, pecan, can you look at this improvement? I assigned to you as you're the maintainer of browserTracker plugin. Thanks.