Introduce FuncGuard category setup
Reported by Thell Fowler | January 27th, 2010 @ 08:47 PM | in v2.0.0
#8 introduced FuncGuards, yet there is quite a bit of repo management involved for both the dev and the repo maintainer in ensuring that function guards don't make it into submitted patches.
In the thread for #8 Joce had brought up some very valid points regarding this issue:
The func_guard() statement needs to be there, but why would you expect the enable/disable statement to be in committed files? A single define in the npp_debug.h to check if there are active func_guards being read in from a non-tracked header seems to be a solution that eliminates having people stepping on each-others toes with enable statements.
That could be useful in some cases, but in many other, having a centralized category file will be rather cumbersome, and will cause full recompilations when adding / removing categories.
Also, for generic calls that can be done in more than one context, it makes much more sense IMO to have the enabling done at file level. Otherwise, you'd still have to have a context for that one file, but it would be declared in a foreign place. i.e. TinyXML. It is its own context. I don't see why the enabling of TinyXML guards should be done elsewhere than that, and disrupting the compilation of other files that have nothing to do with it.
Secondly, that would mean that we have a file that knows about all the project, from the top, but that could be included by the bottom. Allow me to explain: Even though we currently don't have any formal code hierarchy, we can agree that utility files like common.cpp are at the bottom of the pile and should not know anything about files implementing higher level concept, as the Docking*.cpp files for example. With the centralized concept you propose, common.cpp you be exposed, however indirectly, to docking concepts (the Docking category) that mean nothing to it.
So, while I'm not totally opposed to categories that have scopes broader that files, I think that should be layered, and we should be careful what we put and include where.
After discussing this on the irc channel it was agreed there should be a solution.
Here is what I am proposing:
* That there be three files added to support having FuncGuard
categories enabled without the penalty of rebuilding the whole
project when the state of one is altered. Those three files
are:
-
FuncGuards_skel.h
will define all of the project's function guards in a disabled state. An example of this file is available in the FuncGuards_skel.h.orig file posted to Github. -
FuncGuards.cpp
will set each FuncGuard to either the enabled or disabled state. It will include the precompiled header of the project and the active FuncGuards.h file. A sample of this file (minus the project specific includes) is available in the FuncGuards.cpp.orig on Github. -
FuncGuardsImport.h
has an import statement for each FuncGuard defined for the project and is included in the precompiled header. The sample for it is available at FuncGuardsImport.h.orig on Github.
Also added to the project would be a pre-build event that
validates the existence of a FuncGuards.h
file ignored
by gitignore. This file would be created if it does not already
exist by copying the FuncGuards_skel.h
.
I believe that this setup balances the flexibility needs of a
developer with the ability to share patches with others without
fuss. Simply put, this setup allows a developer to git co -b
MyTopic
and alter whatever FuncGuards are enabled or
disabled without even thinking about how that would effect their
commits. Whenever the developer wanted to add a FuncGuard category
they would simply add it to those files and commit/submit the
addition.
As time goes on there would be more and more predefined FuncGuard categories for the classes, files, and function purposes available to every developer. When a new developer wants to learn how a particular area of the code works they'd simply enable a category and go. No more trying to find which functions relate to each other and how.
Comments and changes to this ticket
-
Thell Fowler January 27th, 2010 @ 08:49 PM
- State changed from new to open
- Assigned user set to Thell Fowler
- Milestone set to v2.0.0
-
Thell Fowler January 28th, 2010 @ 05:30 AM
(from [e9d7edd2d5e25ee59d5b69e4e13874e1e9cc3169]) funcguards: introduce funcguard category setup
- Add FuncGuards files to the VC 8 and 9 project files for the release and debug builds. Omitting the FuncGuards.cpp from the Shipping build.
- Add pre-build event to copy FuncGuards_skel.h to FuncGuards.h when it doesn't exist.
- Add FuncGuards.h and MISC/Debug/templates/ to .gitignore
- Include the FunGuardsImporter header in the precompiled_headers.
[#32] http://github.com/almostautomated/npp-community/commit/e9d7edd2d5e2...
-
Thell Fowler January 29th, 2010 @ 08:36 PM
(from [d980f2e10a08eeb0070e19adf389351a3c2e2d31]) powereditor: introduce funcguard category setup
- Add FuncGuards files to the VC 8 and 9 project files for the release and debug builds. Omitting the FuncGuards.cpp from the Shipping build.
- Add pre-build event to copy FuncGuards_skel.h to FuncGuards.h when it doesn't exist.
- Add FuncGuards.h,*.tmp, and MISC/Debug/templates/ to .gitignore
- Include the FunGuardsImporter header in the precompiled_headers.
[#32] http://github.com/almostautomated/npp-community/commit/d980f2e10a08...
-
Thell Fowler January 31st, 2010 @ 04:42 PM
(from [c215870217a96f2f98f310288f39973fd715ed72]) common: make npp_debug common and add to Scintilla
- Make the features of npp_debug available to Scintilla as they are to PowerEditor without creating extra files to maintain. This does create a higher level common link between the projects that has not existed before, the alternative (at this stage) is to have the npp_debug and CommonGenerics code duplicated.
[#32] http://github.com/almostautomated/npp-community/commit/c215870217a9...
-
Thell Fowler January 31st, 2010 @ 04:42 PM
(from [bc7e7f32544894b85c671b21297d99995c992c8b]) scintilla: add funcguard category setup
- Update scintilla project to use the common npp_debug with function guard categories.
[#32] http://github.com/almostautomated/npp-community/commit/bc7e7f325448...
-
Thell Fowler January 31st, 2010 @ 09:27 PM
(from [291a53587ffae2c25f24e5199255ad9b4717d719]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/291a53587ffa... -
-
Thell Fowler January 31st, 2010 @ 09:46 PM
- State changed from open to needs_ack
- Assigned user changed from Thell Fowler to npp-community
The C++ portions of this branch and the project setting changes still need to be acked by someone.
Thanks
-
Thell Fowler February 12th, 2010 @ 06:07 AM
(from [286121edc6f518f34f3876de1f8fa481e127ef64]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/286121edc6f5... -
-
Jocelyn Legault February 16th, 2010 @ 04:27 AM
SCRIPTS
The current incarnation of the script throws an exception on my box when I
Add-FuncGuard
, as can be seen here:
I'll postpone the rest of the review of the scripts until this problem is fixed.
README FILE
In the
README
, before the first step of the installation, I'd mention the possibility to run the code from where it currently is. Something in the lines ofIf you want to run the script from it's current location, in PS do:
> cd <n++cr-root>\contrib\FuncGuard-PowerShell-Module
> $Env:PSModulePath
Check that the current path is not listed
> $Env:PSModulePath = $Env:PSModulePath + ";$(Get-Location)"
> $Env:PSModulePath
Check that the current path is listed
> Get-Module -list
Check thatFuncGuard
is listed.
If you prefer running the script from a standard script location, do
{here comes the current first step}
In theREADME
, beforeModule loading
, I'd addSet execution permission if needed (see http://psobject.codeplex.com/wikipage?title=Execution%20Policy for more info)
$Set-ExecutionPolicy RemoteSigned
In theREADME
, beforeModule loading
, I'd add an how-to for the basic functionality: Add / Enable / Disable, as well as a short description of all the commands. I know that it's currently all in the command line help, but it's really a drag to have to go on the command line to get all the info. AN overview in theREADME
would be more than welcome. -
Thell Fowler February 16th, 2010 @ 04:02 PM
(from [549823296f1c8a044d33d052bc9b8cd978736fda]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/549823296f1c... -
-
Thell Fowler February 19th, 2010 @ 12:16 AM
(from [eb86f1b37a837904f8746b9f589f503d78b4541d]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/eb86f1b37a83... -
-
Thell Fowler February 19th, 2010 @ 05:53 PM
(from [5d7af1b600559f25ccbf067333dc977b5f3206c2]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/5d7af1b60055... -
-
Thell Fowler February 19th, 2010 @ 06:30 PM
The above commit works for WinXP, WinVista, Win7, for users who have just installed PowerShellv2 and have not completed any PowerShell environment setup, including Set-ExecutionPolicy. It works for paths with spaces and without.
-
Thell Fowler February 20th, 2010 @ 05:19 PM
Removing the FuncGuard-PowerShell-Module contrib from this patch series so the project's FuncGuard Setup can stand on its' own and the contrib can be it's own patch based upon this branch and be acked independently.
The new contrib ticket will be #40
-
Thell Fowler February 20th, 2010 @ 05:32 PM
(from [c5eb59411242f56cf2fbaf8f09a6c238ac9705df]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/c5eb59411242... -
-
Thell Fowler February 20th, 2010 @ 06:47 PM
(from [85968c7cac913721fe9338600f472bdbce91656b]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/85968c7cac91... -
-
Thell Fowler February 21st, 2010 @ 12:03 AM
(from [b34ac52245667499bd8403b5e5409552dfe52636]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/b34ac5224566... -
-
Thell Fowler February 21st, 2010 @ 12:09 AM
(from [d3542f1c4db305f10c2c4152bbfb298519ab85de]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/d3542f1c4db3... -
-
Thell Fowler February 21st, 2010 @ 08:31 PM
(from [feef014ac575ff302868fa90e6cdcda07c4eff48]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/feef014ac575... -
-
Jocelyn Legault February 23rd, 2010 @ 03:17 AM
- State changed from needs_ack to acked
-
Thell Fowler February 27th, 2010 @ 03:48 PM
(from [fb2037085721bac28eeb48053995f2ed2a080513]) powereditor: introduce funcguard category setup
- Add FuncGuards files to the VC 8 and 9 project files for the release and debug builds. Omitting the FuncGuards.cpp from the Shipping build.
- Add pre-build event to copy FuncGuards_skel.h to FuncGuards.h when it doesn't exist.
- Add FuncGuards.h,*.tmp, and MISC/Debug/templates/ to .gitignore
- Include the FunGuardsImporter header in the precompiled_headers.
[#32] http://github.com/almostautomated/npp-community/commit/fb2037085721...
-
Thell Fowler February 27th, 2010 @ 03:48 PM
(from [821f3195f3447513d3443bf618b0293daeeff654]) common: make npp_debug common and add to Scintilla
- Make the features of npp_debug available to Scintilla as they are to PowerEditor without creating extra files to maintain. This does create a higher level common link between the projects that has not existed before, the alternative (at this stage) is to have the npp_debug and CommonGenerics code duplicated.
[#32] http://github.com/almostautomated/npp-community/commit/821f3195f344...
-
Thell Fowler February 27th, 2010 @ 03:48 PM
(from [758eb0f23375c6b1e6923dff663c9b5d297e3cea]) scintilla: add funcguard category setup
- Update scintilla project to use the common npp_debug with function guard categories.
[#32] http://github.com/almostautomated/npp-community/commit/758eb0f23375...
-
Thell Fowler February 27th, 2010 @ 03:54 PM
Rebased onto topic [#42] to split out the addition of the Shipping configuration to Scintilla which now is a distinct patch.
-
Thell Fowler February 27th, 2010 @ 04:31 PM
(from [a8f0650cece6f2e7a23b360baee1461e908ff3d1]) Merge branch 'tf/LH-32v8/introduce-funcguard-category-setup' into pu
-
tf/LH-32v8/introduce-funcguard-category-setup: funcguard: add Scintilla DllMain guard funcguard: add PowerEditor WinMain.cpp guards scintilla: add funcguard category setup common: make npp_debug common and add to Scintilla powereditor: introduce funcguard category setup
-
32v8 differs from v7 in that it was rebased onto 59a5f36
Conflicts:
scintilla/src/precompiled_headers.h
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/a8f0650cece6f2... -
-
Thell Fowler February 27th, 2010 @ 05:29 PM
(from [5b2f8783156d7ba817c8a1951ac65886dd2b620a]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/almostautomated/npp-community/commit/5b2f8783156d... -
-
Thell Fowler February 27th, 2010 @ 05:34 PM
- State changed from acked to proposed
-
Thell Fowler October 31st, 2010 @ 06:56 PM
(from [11859ce3232cc078fe0585c9751cbbfda3b1a914]) scintilla: add funcguard category setup
- Update scintilla project to use the common npp_debug with function guard categories.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/11859ce3232cc0... -
Thell Fowler October 31st, 2010 @ 06:56 PM
(from [36f8d104d1749688a20f618cb672b52a1445bde7]) funcguard: add Scintilla DllMain guard
- Add trace to the main entry point and resource load/release for SciLexer.dll. This patch does not enable the funcguard output, it only adds the guards to the source.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/36f8d104d17496... -
Thell Fowler October 31st, 2010 @ 06:56 PM
(from [2c746d89d87994fdcb6e71d5ed9e4504c941cf33]) powereditor: introduce funcguard category setup
- Add FuncGuards files to the VC 8 and 9 project files for the release and debug builds. Omitting the FuncGuards.cpp from the Shipping build.
- Add pre-build event to copy FuncGuards_skel.h to FuncGuards.h when it doesn't exist.
- Add FuncGuards.h,*.tmp, and MISC/Debug/templates/ to .gitignore
- Include the FunGuardsImporter header in the precompiled_headers.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/2c746d89d87994... -
Thell Fowler October 31st, 2010 @ 06:56 PM
(from [e4d4c62f045146f6feefc1c2b2354e485f76f34b]) Merge branch 'tf/LH-32v8/introduce-funcguard-category-setup'
- tf/LH-32v8/introduce-funcguard-category-setup: funcguard: add Scintilla DllMain guard funcguard: add PowerEditor WinMain.cpp guards scintilla: add funcguard category setup common: make npp_debug common and add to Scintilla powereditor: introduce funcguard category setup
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/e4d4c62f045146... -
Thell Fowler October 31st, 2010 @ 06:56 PM
(from [179f4c02eaca99db8a447e8f989f1e922441ac81]) common: make npp_debug common and add to Scintilla
- Make the features of npp_debug available to Scintilla as they are to PowerEditor without creating extra files to maintain. This does create a higher level common link between the projects that has not existed before, the alternative (at this stage) is to have the npp_debug and CommonGenerics code duplicated.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/179f4c02eaca99... -
Thell Fowler October 31st, 2010 @ 06:56 PM
(from [d6640396254c32b28025a1f32ebf9972907b22fb]) funcguard: add PowerEditor WinMain.cpp guards
- Add trace for the main entry point and related functions in WinMain.cpp. This patch does not enable the funcguard output, it just adds the guards to the source.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/d6640396254c32... -
Thell Fowler October 31st, 2010 @ 07:05 PM
- State changed from proposed to resolved
- Assigned user cleared.
Rebased and merged to master.
-
Thell Fowler October 31st, 2010 @ 07:20 PM
(from [37f0df9e63dbc17988844645180f6d5d749e84c9]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/37f0df9e63dbc1... -
-
Thell Fowler October 31st, 2010 @ 09:28 PM
(from [497c742db621bdb1b0bb8a8aec2a7604a2c37b62]) scintilla: add funcguard category setup
- Update scintilla project to use the common npp_debug with function guard categories.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/497c742db621bd... -
Thell Fowler October 31st, 2010 @ 09:28 PM
(from [d338d973b84ad5cacf538a32b052dd20e2675fd7]) powereditor: introduce funcguard category setup
- Add FuncGuards files to the VC 8 and 9 project files for the release and debug builds. Omitting the FuncGuards.cpp from the Shipping build.
- Add pre-build event to copy FuncGuards_skel.h to FuncGuards.h when it doesn't exist.
- Add FuncGuards.h,*.tmp, and MISC/Debug/templates/ to .gitignore
- Include the FunGuardsImporter header in the precompiled_headers.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/d338d973b84ad5... -
Thell Fowler October 31st, 2010 @ 09:28 PM
(from [ac37ccf397bac932a1a9211f5bad4732398a05f4]) funcguard: add PowerEditor WinMain.cpp guards
- Add trace for the main entry point and related functions in WinMain.cpp. This patch does not enable the funcguard output, it just adds the guards to the source.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/ac37ccf397bac9... -
Thell Fowler October 31st, 2010 @ 09:28 PM
(from [7f6074746c90dfa4ae44924d7998a3be8a0689f7]) [contrib]: introduce PowerShell FuncGuard module
-
Contribution of a FuncGuard tool for helping with the additions, removals, and syncronization of FuncGuard categories.
-
Includes Windows Explorer N++CR FuncGuards shortcut to setup the PowerShell FuncGuards environment as well as a FuncGuards-Setup script that can be executed from a PowerShell prompt for environment setup. These are provided for users who do not wish to make more permanent changes to their PowerShell environment using their profile.
-
Provides commands to be used from a PowerShell command line that automatically updates the PowerEditor or Scintilla header and source files used for FuncGuards.
New-FuncGuardProject, Add-FuncGuardProject, Set-FuncGuardProject, Get-FuncGuardProject, Remove-FuncGuardProject, Add-FuncGuard, Get-FuncGuard, Enable-FuncGuard, Disable-FuncGuard, Remove-FuncGuard, Update-FuncGuardFiles
-
This patch sits on top of the introduce-funcguard-category-setup topic from LH [#32]
[#40]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/7f6074746c90df... -
-
Thell Fowler October 31st, 2010 @ 09:28 PM
(from [02899d1096805a20e71c65d88b925bf705ba19e3]) common: make npp_debug common and add to Scintilla
- Make the features of npp_debug available to Scintilla as they are to PowerEditor without creating extra files to maintain. This does create a higher level common link between the projects that has not existed before, the alternative (at this stage) is to have the npp_debug and CommonGenerics code duplicated.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/02899d1096805a... -
Thell Fowler October 31st, 2010 @ 09:28 PM
(from [a0adb8525cc5b707513fdbecf0a9a81fafba7427]) funcguard: add Scintilla DllMain guard
- Add trace to the main entry point and resource load/release for SciLexer.dll. This patch does not enable the funcguard output, it only adds the guards to the source.
[#32]
Signed-off-by: Thell Fowler git@tbfowler.name
http://github.com/npp-community/npp-community/commit/a0adb8525cc5b7...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Notepad++ Community Release
People watching this ticket
Referenced by
- 32 Introduce FuncGuard category setup [#32] http://github.com/almostautomated/npp-community/co...
- 32 Introduce FuncGuard category setup [#32] http://github.com/almostautomated/npp-community/co...
- 32 Introduce FuncGuard category setup [#32] http://github.com/almostautomated/npp-community/co...
- 32 Introduce FuncGuard category setup [#32] http://github.com/almostautomated/npp-community/co...
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This was split out from #32.
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 32 Introduce FuncGuard category setup The ticket seems to have followed both branches #40 and #...
- 32 Introduce FuncGuard category setup The ticket seems to have followed both branches #40 and #...
- 40 [Contrib] Introduce PowerShell FuncGuard module I did not review the PS code since I don't know much abou...
- 42 [Enhancement] Add Shipping configuration to Scintilla This is a cherry-pick of 56362f8 from [#32] because [#35]...
- 42 [Enhancement] Add Shipping configuration to Scintilla Rather than alter #35 to include this patch and #32 to ex...
- 42 [Enhancement] Add Shipping configuration to Scintilla This portion of the patch will be removed from the origin...
- 32 Introduce FuncGuard category setup [#32] http://github.com/almostautomated/npp-community/co...
- 32 Introduce FuncGuard category setup [#32] http://github.com/almostautomated/npp-community/co...
- 32 Introduce FuncGuard category setup [#32] http://github.com/almostautomated/npp-community/co...
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup This patch sits on top of the introduce-funcguard-categor...
- 40 [Contrib] Introduce PowerShell FuncGuard module This patch sits on top of the introduce-funcguard-categor...
- 32 Introduce FuncGuard category setup [#32]
- 32 Introduce FuncGuard category setup [#32]