Author Topic: Index for Loaden's patches  (Read 99080 times)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Index for Loaden's patches
« on: April 21, 2010, 05:13:54 pm »
This thread is a collection of Loaden's patches, so that replies about these patches are NOT welcome. All the discussions should go to the patch threads.
Thanks!


patch 1:  Tab smart jump
http://forums.codeblocks.org/index.php/topic,12406.msg84207.html#msg84207
Maybe you have already experience this smart jump functionality in eclipse IDE, in eclipse editor, when you type "tab", and if the next char is one of ")]}", it will skip it.
Based SVN6204.


applied (cc branch)
« Last Edit: June 01, 2010, 11:12:33 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #1 on: April 21, 2010, 05:28:33 pm »
patch 2: Improve CC's CallTip
http://forums.codeblocks.org/index.php/topic,12408.msg84211.html#msg84211
Let's CC Calltip support preprocessor/global namespace.
Based SVN6204.

Depends patch 1.

applied (cc branch)
« Last Edit: June 01, 2010, 11:14:06 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #2 on: April 21, 2010, 05:31:59 pm »
Patch 3: Handle Preprocessor - V2 - bete 2
http://forums.codeblocks.org/index.php/topic,12388.0.html
Based SVN6205.

applied (cc branch)
« Last Edit: June 01, 2010, 11:14:20 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #3 on: April 21, 2010, 05:34:22 pm »
Patch 4: Bug fix for GetGCCCompilerDirs failed when locale is NOT en_US
http://forums.codeblocks.org/index.php/topic,12390.0.html
Based SVN6204.

applied (6209)
« Last Edit: May 06, 2010, 07:24:45 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #4 on: April 21, 2010, 05:39:34 pm »
patch 5:  Use hashmap to replace std::map
http://forums.codeblocks.org/index.php/topic,12235.msg83136.html#msg83136
Based SVN6194.

applied (cc branch)
« Last Edit: June 01, 2010, 11:14:34 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #5 on: April 21, 2010, 05:41:00 pm »
patch 6: Rewrote the DoParse function
http://forums.codeblocks.org/index.php/topic,12397.0.html
Based SVN6204.

applied (cc branch)
« Last Edit: June 01, 2010, 11:14:44 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #6 on: April 21, 2010, 05:44:30 pm »
patch 7: CC toolbar enhancement PLUS
http://forums.codeblocks.org/index.php/topic,12210.msg84222.html#msg84222
Based SVN6204.

applied (cc branch)
« Last Edit: June 01, 2010, 11:14:56 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #7 on: April 21, 2010, 05:47:59 pm »
patch 8: Auto cancel indent when type 'public:' or 'protected:' or 'private:'
http://forums.codeblocks.org/index.php/topic,12251.msg84271.html#msg84271
Based SVN6204.

EDIT: support 'case' and 'default'
http://forums.codeblocks.org/index.php?action=dlattach;topic=12251.0;attach=4601

applied (cc branch)
« Last Edit: June 01, 2010, 11:15:08 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #8 on: April 21, 2010, 05:50:30 pm »
patch 9: Auto add a semicolon for '{}' auto-complete
http://forums.codeblocks.org/index.php/topic,12252.0.html
The final version is in here: http://forums.codeblocks.org/index.php/topic,12252.msg83252.html#msg83252
Based SVN6195.

applied (cc branch)
« Last Edit: June 01, 2010, 11:15:20 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #9 on: April 21, 2010, 05:51:42 pm »
patch 10: Fix wizard's default compiler error
http://forums.codeblocks.org/index.php/topic,12244.0.html
Based SVN6195.

applied (6210)
« Last Edit: May 06, 2010, 07:25:39 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #10 on: April 21, 2010, 05:54:09 pm »
patch 11: cbeditor's bug fix in bracecompletion function
http://forums.codeblocks.org/index.php/topic,12261.msg84191.html#msg84191
Based SVN6204.

applied.
« Last Edit: May 16, 2010, 03:29:19 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #11 on: April 21, 2010, 05:56:32 pm »
patch 12: Fix compiler invalid bug, when the default compiler does not exist
http://forums.codeblocks.org/index.php/topic,12351.0.html
Based SVN6202.

applied (cc branch)
« Last Edit: June 01, 2010, 11:15:37 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #12 on: April 21, 2010, 05:58:14 pm »
patch 13: Support 'step in' and 'step out' when use CDB
http://forums.codeblocks.org/index.php/topic,12282.0.html
Based SVN6196.

applied (cc branch)
« Last Edit: June 01, 2010, 11:15:47 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #13 on: April 21, 2010, 05:59:45 pm »
patch 14: Add astyle's features: --pad-header, update Astyle to 1.24 RELEASE
http://forums.codeblocks.org/index.php/topic,12279.0.html
Based SVN6196.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #14 on: April 21, 2010, 06:00:59 pm »
patch 15: AStyle plug-in support format only selected line
http://forums.codeblocks.org/index.php/topic,12289.0.html
Based SVN6196.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #15 on: April 21, 2010, 06:02:26 pm »
patch 16: Patch for compiler options, screen resolution: X * 768
http://forums.codeblocks.org/index.php/topic,12260.0.html
Based SVN6196.

Not recommended!
« Last Edit: May 15, 2010, 03:31:24 pm by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #16 on: April 21, 2010, 06:04:15 pm »
patch 17: wxSmith's identifier handler
http://forums.codeblocks.org/index.php/topic,12345.0.html
Based SVN6202.

applied (cc branch)
« Last Edit: June 01, 2010, 11:16:12 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #17 on: April 21, 2010, 06:06:20 pm »
patch 18: Fix wxSmith's min size preview bug
http://forums.codeblocks.org/index.php/topic,12315.0.html
Based SVN6198.

applied (6219)
« Last Edit: May 12, 2010, 04:53:13 pm by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #18 on: April 21, 2010, 06:12:15 pm »
patch 19: When entering the #include <xxxx.h|  , auto add the ending matching bracket.
http://forums.codeblocks.org/index.php/topic,12409.0.html
Based SVN6204.

applied (cc branch)
« Last Edit: June 01, 2010, 11:16:36 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #19 on: April 23, 2010, 01:46:03 am »
patch 20: Comment the word first (Stream-comment)
http://forums.codeblocks.org/index.php/topic,12414.0.html
Based SVN6204.

applied (cc branch)
« Last Edit: June 01, 2010, 11:16:47 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #20 on: April 23, 2010, 05:53:40 am »
patch 21: Uncomment the Stream-comment
http://forums.codeblocks.org/index.php/topic,12415.new.html
Based SVN6204.

applied (cc branch)
« Last Edit: June 01, 2010, 11:16:59 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #21 on: April 28, 2010, 05:35:34 am »
patch 22: Fix 'Tokenizer::FixArgument' bug: support skip C++ comment
http://forums.codeblocks.org/index.php/topic,12455.0.html
Based SVN6205.

applied (6211)
« Last Edit: May 06, 2010, 07:24:03 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #22 on: May 01, 2010, 01:28:56 pm »
Patch 23: Fix global namespace bug
http://forums.codeblocks.org/index.php/topic,12473.0.html
Based SVN6205.

applied (cc branch)
« Last Edit: June 01, 2010, 11:17:10 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #23 on: May 03, 2010, 02:27:46 pm »
patch 24: Fix a bug for ' extern "C++" '
http://forums.codeblocks.org/index.php/topic,12484.0.html
Based SVN6206.

applied (6213)
« Last Edit: May 06, 2010, 07:23:46 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #24 on: May 05, 2010, 03:32:59 pm »
patch 25: Strip the comment when parse a macro
http://forums.codeblocks.org/index.php/topic,12499.0.html
Based SVN6208.

applied (cc branch)
« Last Edit: June 01, 2010, 11:17:22 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #25 on: May 11, 2010, 10:44:56 am »
patch 26: Solve the header file parsing problem
http://forums.codeblocks.org/index.php/topic,12529.0.html
Based SVN6216.

applied (cc branch)
« Last Edit: June 01, 2010, 11:17:36 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #26 on: May 13, 2010, 03:13:51 pm »
patch 27: Let's project using standalone Parser
http://forums.codeblocks.org/index.php/topic,12544.0.html
Based SVN6218.

applied (cc branch)
« Last Edit: June 01, 2010, 11:17:46 am by Loaden »

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Index for Loaden's patches
« Reply #27 on: May 14, 2010, 07:10:28 am »
patch 28: Reparse current actived project
http://forums.codeblocks.org/index.php/topic,12550.0.html
Based SVN6218.

applied (cc branch)
« Last Edit: June 01, 2010, 11:18:04 am by Loaden »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6243
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Index for Loaden's patches
« Reply #28 on: September 29, 2026, 11:25:28 am »
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.