Tuesday, August 30, 2011

Dev-C++ 5.0.0.2 released

This one addresses a few issues with the portable version regarding shortcuts. It also fixes an unsigned negative range error and more in the code tooltip generator.




Changes - Version 5.0.0.2 - 30 Augustus 2011
  • Dev-C++ Portable now does not close a project with an exception error.
  • Shortcuts can now be saved properly by the portable version too.
  • Fixed a range error (unsigned 0 - 1) in the function prototype tooltip.
  • Copied the new class form to New >> Class..., making it easier to find.


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.lnk 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.


Problems / Upcoming changes / TODO
  • TODO: Implement C++0x suggestions by Xazax.
  • TODO: Fix the mysterious crash reported by mdiz.
  • TODO: Fix the bug reported by Anonymous (first comment on 4.9.9.8).
  • FIXED: Added optional constructor/destructor addition tot the classcreator.

32 comments:

  1. I preferred to use the version 4.9.9.9 its more, its more stable than any update that you post/upload.

    ReplyDelete
  2. 4.9.9.9 i'm using it since aug. 20 for my engine stimulation.

    ReplyDelete
  3. please allocate more merrory-buffered coz winnt.dll will surely give you error if loading more files in ide, re: debugging also, please check.

    ReplyDelete
  4. please check the heap allocate more memory,i disassembled 5.0.0.2 its seem the problem is in the heap..

    ReplyDelete
  5. its wininet.dll/kernel32.dll

    ReplyDelete
  6. @Anonymous (I assume you're the same guy 5 times):

    I could try increasing stack size. Would you mind sending me an email (check the About page), so I can send test versions to you?

    If we can fix this, mdiz' bug will also be fixed probably.

    ReplyDelete
  7. its seems to me that rewritng the object pointer in the qt-form T^ object will fix the problem...

    ReplyDelete
  8. the handle message loop, will generate bugs during loading of the T^ object coz kernel32.dll in xp sp3 and win7 has broad detection of buffer which memory address location (virtual) of devc++ unreachable to occupy..

    ReplyDelete
  9. the are memory has been freed during compiling a unit/file those freed memory the loop can no longer reload it..that is why it crush.rewriting it maybe could fix the problem but, another you need to have exception during runtime (trapping) its very important so that precompiled/class browsing/completion would not leak..

    ReplyDelete
  10. what i mean trapping is message handle trapping during loop.

    ReplyDelete
  11. Could you maybe also fix the "Profile Analysis" output?

    It gives me zeroes as output for all columns except "Calls"

    And have the "search" window pop up, even when there are no tabs open, pretty please!

    ReplyDelete
  12. @Don:

    Let's see...

    1) Hadn't looked at the profiling stuff yet. Doing so now.
    2) Where would you want to search if no files are opened?

    @Anonymous:

    Well, Delphi manages the Message Loop, so I can't access it, and uhm, it's not a Qt form.

    Oh, and, yes, there is a lot of exception tracking in the code. Pretty much every function that can throw one is encapsulated by try-excepts.

    I'll try upping the stack and heap sizes first.

    ReplyDelete
  13. @Don:

    As usual, I need a replicatable sequence of input to be able to test this, because stuff is working fine here.

    Oh, uh, the previous bug you mentioned is fixed now right?

    ReplyDelete
  14. Yes, the previous bug has been fixed. Thanks for that!

    As for the current bugs, I'm off to bed so the bugs will have to wait till tomorrow.

    You'll hear from me again :)

    ReplyDelete
  15. Ugh, I've just fixed the Profiler bug by running 5.0.0.2 in Compatibility Mode (XP SP3).

    As for the search window: Open the "search in files" window, instead of the regular "search" window maybe?

    Well, now I'm REALLY going to bed :P

    ReplyDelete
  16. Sleep well. :P

    Luckily my Win7 has one of these XP virtual machines to run XP in a separate window. Might come in handy, but still, these compatibility issues are cursed!

    ReplyDelete
  17. It looks like either Colin decided to run gprof wrong, or the rules have changed since 2005.

    I'll read through a few university courses about gprof, and should be able to fix it today!

    http://www.cs.duke.edu/~ola/courses/programming/gprof.html
    http://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html

    ReplyDelete
  18. Folks experiencing Don's or Anonymous'/mdiz' bugs might want to try this:

    http://gamerneeds.org/bestanden/Dev-Cpp%205.0.0.3%20RC1%20Overwrite%20Update.7z

    ReplyDelete
  19. Delphi 7/c++bldr form was mainly is based on qt-vcl...you need to rewrite the object wich manage the memeory --pls observe the bugs always comes out during debugging/compiling/prof..coz every time the ide try to call/invoke g++/c++ during runime it release-write buffer mem to disk, but afterward the object (message) handled can no longer reload needed the ide to stabilize the message loop thats why it cruch.

    ReplyDelete
  20. What I did find, and what you mentioned, is a memory leak. Some object created when compiling is done didn't get removed!

    Might've fixed a few bugs.

    ReplyDelete
  21. Here's a new version which contains an editted Profiler and a memory leak fix.

    http://gamerneeds.org/bestanden/Dev-Cpp%205.0.0.3%20RC2%20Overwrite%20Update.7z

    ReplyDelete
  22. Update!

    http://gamerneeds.org/bestanden/Dev-Cpp%205.0.0.3%20RC3%20Overwrite%20Update.7z

    ReplyDelete
  23. Hi, Please add "Add shortcut to desktop" in the setup.
    Cheers !

    ReplyDelete
  24. I'll add it to the last page of the installer!

    Thanks for the suggestion!

    By the way, Don, can you please tell me if the profiler bug is gone?

    And, uhm, can anyone who's being bothered by the memory bug tell me if RC3 fixed it? It's so annoying I can't test it, because I've never had it crash that way...

    ReplyDelete
  25. Here is an experimental new Help File:

    http://gamerneeds.org/bestanden/dev.chm

    ReplyDelete
  26. Hello man! I appreciate your effort, its my favorite c++ ide, If you want to I will design a quality website for you, and I will host it too all for free, just let me know. Thanks for the nice job dude.

    ReplyDelete
  27. The help file gives blank pages for me.

    ReplyDelete
  28. @djgeo:

    Honestly, I'd prefer keeping it up here in this blog, because it's doing the SEO for me and I've got all the analytics stuff pretty much working here.

    Traffic might be an issue though. The file repository I've made (http://gamerneeds.org/) is hosted on a friends' domain (he pays hosting), but traffic is limited to 28GiB/month, and in August, I've already 'achieved' 15GiB/month, so I might get into trouble someday.

    Thanks for suggesting, but I'm a bit hesitant because of all the moving that needs to be done.

    I (as a guy who emailed me suggested) DO need an SVN and/or bug tracker like Google Code though!

    @Xazax:

    There seems to be a rather weird in either browsers or that repository, but downloading chm's doesn't work it seems. Zipping them up fixes the problem:

    http://gamerneeds.org/bestanden/dev4.7z

    ReplyDelete
  29. I just got my purely evil EE timetable for the following semester starting tomorrow. It's a straight 9-5 week (add 2 hours/day travel).

    This is relevant to Dev because my amount of free time will decrease to near-zero in the following few days/weeks.

    I've been working on automated closing brace insertion (done) and have updated the profiler (95% done). I've also remade parts of the help file, which can now be opened in Vista+ OS's. The Help button now also directly takes the user to help data available for the currently open window. More work on that help file needs to be done though.

    I'll release 5.0.0.3 when I'm done writing help for the Editor Options tab, which will be about an A4's worth of text. Might've some free time for it this week.

    ReplyDelete
  30. Update! Contains everything mentioned here and/or in NEWS.txt!

    http://gamerneeds.org/bestanden/Dev-Cpp%205.0.0.3%20RC4%20Overwrite%20Update.7z

    Please do report bugs here or by email!

    ReplyDelete
  31. lots of bugs/bugs on debugger was not removed, it even worst...maybe you for got to shift memory usage regarding by platform, ex. win 2000 to xp sp2 uses different memory allocation than win xp sp3 to win 7...deplhi 7 has limited determining re: memory address when run under xpsp3 or win 7 due .net virtual security, please rewrite the object were the message loop located which manage the memory or the pointer.or maybe please compile dev under win xp ps2.

    ReplyDelete