Author Topic: Plugin "Autoreadonly" release version.  (Read 6820 times)

Offline nanyu

  • Almost regular
  • **
  • Posts: 187
  • nanyu
Plugin "Autoreadonly" release version.
« on: February 23, 2009, 05:09:22 pm »
name: AutoReadonly

description:

   Provide a function for set a opened file read-only access automatical or manually.

   We offten open  sources file which is  a file of STL or BOOST or WX  just for "read" but "modify" it. This plug can help we set those files into "read-only" status auto.

install :
    you can download the bin file (just for windows):
    http://www.d2school.com/codeblocks/download/AutoReadonly.cbplugin (edit: strip the bin file)

    main menu : "Plugin -> Plugin manager..."  new install for AutoReadonly.cbplugin

soruce:
windows : http://www.d2school.com/codeblocks/download/CBPlug_AutoReadonly-src(090225).7z  (edit: update to 090225)
unix : http://forums.codeblocks.org/index.php?action=dlattach;topic=9588.0;attach=3138

setting :
    main menu "Settings -> Editor ... "  "Autoreadonly"
--------------------------------------------------------------------------

code::blocks svn 5456
windows xp
mingw-gcc 3.45

--------------------------------------------------------------------------
attachments is the Screenshot.


[attachment deleted by admin]
« Last Edit: February 25, 2009, 08:51:52 pm by nanyu »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5224
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Plugin "Autoreadonly" release version.
« Reply #1 on: February 24, 2009, 01:34:45 am »
Thank you very much for your hard work!
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.

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Plugin "Autoreadonly" release version.
« Reply #2 on: February 24, 2009, 11:54:42 am »
nice addition to codeblocks  :D

Offline MaxGaspa

  • Almost regular
  • **
  • Posts: 129
Re: Plugin "Autoreadonly" release version.
« Reply #3 on: February 24, 2009, 09:17:49 pm »

Just a very minor bug....

You wrote "igonre" instead of "ignore" in the settings

Max

Offline nanyu

  • Almost regular
  • **
  • Posts: 187
  • nanyu
Re: Plugin "Autoreadonly" release version.
« Reply #4 on: February 25, 2009, 02:45:19 am »

You wrote "igonre" instead of "ignore" in the settings
Max

Thanks you, Max! 

In fact , my English is very poor... I wish someonewho speak English as a native  language can help me.
(edit : I have fixed the bug, thanks again)
« Last Edit: February 25, 2009, 03:33:03 am by nanyu »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Plugin "Autoreadonly" release version.
« Reply #5 on: February 25, 2009, 05:14:03 pm »
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