Thursday, November 3, 2011

Dev-C++ 5.0.0.6 released

Update.




Changes - Version 5.0.0.6 - 3 November 2011
  • Fixed an nil pointer read crash in the append closing brace code.
  • Updated the comment/uncomment functions.
  • The variable scanner now also supports local variables in non-class functions.
  • The scanner now does not scan the same word twice (making it 2x faster).
  • The Environment Options window now does not crash when its not allowed to edit file associations.
  • One can now use Ctrl+Scroll to edit text size, just like in browsers. Also added information about it in the Options menu.
  • Files now open up much faster thanks to avoiding repaints.
  • Fixed a buffer overflow in the tooltip generator and rewritten the locals scanner, which is now 50% faster.
  • The append closing braces function now works on every keyboard Win32 supports.
  • Removed any reference to DevTabs, which were too flaky edits (for example, the ComCtrl Manifest caused it to not paint child windows) of TPageControl and TTabControl.
  • Fixed a bug in the code that checks for the existence of tools.
  • Added new Chinese_TC translations created by cin.getline.
  • The uninstaller now does not forget to delete Dev's help file and folder if it's empty.


Important notices
  1. The options format has changed. If you want to reuse an old pre-4.9.9.3 config file (NOT recommended), or, more importantly, when you're overriding Compiler Options in your project, you need to re-set these project settings once and save the project. You'll then have an updated 4.9.9.3+ project file.
  2. This version has GCC built-in instead of being an aditional package. It also contains D3D9/10/11, GDI, Win32 and OpenGL headers and libraries in that flavor.
  3. This version is now fully portable. If you also don't want Dev to leave anything behind in the registry, please select "Portable" or "Minimal" in the setup options.
  4. For ultimate portable programming, please launch devcppPortable.exe located in the main folder of the portable zip download. This will make dev save its configuration files in the same folder as the executable.


Download
The setup can be downloaded here. The Portable zip version can be downloaded here. The source code can be found here.


Comments
The spam filter on blogspot has decided to flag quite a few comments from me and others as spam and moved them to a place where I'd never look: the spam/junk box. That spam box doesn't tell you there's something in it at all, nor is it visible on the main page. I opened it today, and found quite a bunch of perfectly normal posts in there. All your non-spam comments have been moved to where they belong now.


Beta update
The 5.0.0.7 Beta 2 update can be found here. Its source code can be found here.


Problems / Upcoming changes / TODO
  • TODO: Implement C++11 suggestions by Xazax.
  • TODO: Fix the ParentID bug in the tooltip and goto menu items.
  • TODO: Finish work done on adding icons to tool menu items.
  • TODO: Fix a bug problem regarding makefile generation (reported by Sfinexer).
  • TODO: Get TDM-GCC working.
  • TODO: Have a look at distributing wxWidgets libraries and headers with Dev-C++.

17 comments:

  1. Thanks for your update ^^
    But...this version can not use any tools :(

    http://i.imm.io/b7pG.png

    ReplyDelete
  2. @tec:

    The check that made sure the tool is actually on your disk was broken in older versions, so you were able to start Tools not present on your disk.

    This version does check if they're there, and if not, greys them out. Please make sure you're pointing Dev to the right file!

    I'll make the graying thing a bit more verbose though...

    ReplyDelete
  3. I got it, now can't use environment path, should write the full path
    %GCC_HOME%\bin\g++ Should be changed to C:\_MyDev\MinGW\bin\ g++
    Although can not use, but compared with the previous version need to exchange, is still quite convenient, thank you for your teach

    Now found a small problem, all the tools is up to it's previous location

    For example, now exist four tools
    http://i.imm.io/b8sZ.png

    If click "First test Tool", no action
    If click "Test Tool2", will start "Test Tool3" action, if click "Test Tool3", will start "Last test Tool" action
    If click "Last test Tool", will notice "list index out of bounds(4)" error
    http://i.imm.io/b8t4.png

    So, if set only one tool
    http://i.imm.io/b8tG.png
    Will notice "list index out of bounds(1)" error
    http://i.imm.io/b8tO.png

    ReplyDelete
  4. About java, just playing fun, I will not get Dev-C to develop other languages
    But as long as the command can be run directly, it can reference some other program to do other things. e.g. sourse format
    And no longer open command window to write, this will a lot convenient :)

    ReplyDelete
  5. I got it, now can't use environment path, should write the full path
    %GCC_HOME%\bin\g++ Should be changed to C:\_MyDev\MinGW\bin\ g++
    Although can not use, but compared with the previous version need to exchange, is still quite convenient, thank you for your teach

    Now found a small problem, all the tools is up to it's previous location

    For example, now exist four tools
    http://i.imm.io/b8sZ.png

    If click "First test Tool", no action
    If click "Test Tool2", will start "Test Tool3" action, if click "Test Tool3", will start "Last test Tool" action
    If click "Last test Tool", will notice "list index out of bounds(4)" error
    http://i.imm.io/b8t4.png

    So, if set only one tool
    http://i.imm.io/b8tG.png
    Will notice "list index out of bounds(1)" error
    http://i.imm.io/b8tO.png

    ReplyDelete
  6. About a few hours ago, I have left two messages
    but after a refresh, only the second message stayed, first is disappeared
    Stay message once again, still disappear

    At first I thought all comments was to appear after approval, but I found in another computer to my second message
    So...
    Do not know whether blogspot mistaken for that it is advertising

    I would like to ask Orwell have not seen my another comments it? Or is it has been removed by blogspot?

    ReplyDelete
  7. @tec:

    I've sent a test version which should fix all the bugs in the Tools thing. At last.

    Do you copy?

    ReplyDelete
  8. Now the problem has been solved, thank you :)

    ReplyDelete
  9. Do you intend to include also the wxwidgets library? This would be great.

    Regards

    ReplyDelete
  10. I can put all of wx's headers in Dev-C++, but what about the libraries?

    There are almost infinitely many debug/release/profiling/ANSI/UTF-8/DLL/SLL/etc combination buildable. I could simply insert them all, but that would make the download huge.

    By the way, a few wx Devpaks are available. They should still be working just fine, but wx 2.9 isn't included.

    I you don't mind, please share your opinion on this. I could add UTF-8 and ANSI, both in debug and release flavors and statically linked. That would suffice for most people.

    ReplyDelete
  11. Every program in its "about" section mentions the release date but in Dev-C++ nowhere i have found the release date. It's an exception. hope that you'll fix this in the next release. a lot of thanks for updating this product regularly. :)

    ReplyDelete
  12. Hi for me, at least for now the best would be BUILD=release UNICODE=0 MONOLITHIC=1 USE_OPENGL=1

    however there is so many choises I am confused, then on the other side you should probably use also debug mode etc and with wxwidgets 3.0 I think only utf will be the option?

    Thanks for the reply.
    Regards Campa

    ReplyDelete
  13. @Anonymous1:

    I've added a build date to the About section of Dev-C++ 5.0.0.7 RC2. Hope you like it. ;)

    @Anonymous2:

    You've summed up pretty much the whole problem with adding wx to Dev-C++: it would turn into a mess, and people who want another lib flavor won't like having to download these libs.

    The most obvious choices would indeed be:
    - ANSI/OPENGL/MONO/release
    - UTF-x/OPENGL/MONO/release
    - ANSI/OPENGL/MONO/debug
    - UTF-x/OPENGL/MONO/debug

    Are there are any reasons to supply multilib versions?

    ReplyDelete
  14. i can't use fflush(stdin), getche(), system("PAUSE"). It says that it was not declared

    ReplyDelete
  15. @hallufias

    Try including stdlib.h or cstdlib.

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete