Thursday, February 16, 2012

Dev-C++ 5.1.1.0 released

Here's a new one which supports code folding and doesn't leak nearly as much memory as older versions did.




Changes - Version 5.1.1.0 - 16 Februari 2012
  • Added code folding.
  • A few directory checks now use absolute paths instead of relative ones.
  • Added a few 32bit/64bit items to the FAQ.
  • Fixed the Help Menu Item not always working.
  • Added a few translations (translated by cin.getline).
  • Merged all 'New...' toolbar buttons to one 'master' button.
  • The class browser toolbar now sizes its dropdown menu to make its content fit.
  • Dev-C++ now uses Segoe UI 9pt as a default when it's installed.
  • Updated the statusbar and the toolbars.
  • Fixed a class browsing crash when not using a project.
  • And more minor things.
  • Fixed a crash when saving logs when no project is opened.
  • Fixed a lot of memory leaks.
  • Inserting classes and variables is faster now.
  • Code folding now automatically updates when creating new files from templates.
  • Fixed some more memory leaks. Folding doesn't leak anymore now.


Important notices
  • 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.
  • 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.
  • 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.
  • 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.
  • If you're getting 'Unsupported compression method' errors when extracting the portable version, please update your archiving program. The archive uses LMZA2 compression, which was added to WinRAR 3.91 and 7zip 9.04 somwhere in 2009. The latter is just as free as Dev-C++, so nothing is holding you pack to extract it.



Download
The setup can be downloaded here: 32bit or here: 64bit. The Portable zip version can be downloaded here: 32bit or here: 64bit. The source code can be found here.


Final Release Candidate
The final version of 5.1.1.1, which is currently being tested can be found here. Its source code can be found here.


Guide to choose between 32bit and 64bit
  • The 64bit compiler will also run op 32bit computers. Not problem at all.
  • The 64bit compiler can do everything the 32bit compiler can, including creating standard 32bit executables.
  • The 64bit compiler can do stuff the 32bit compiler can't, like creating 64bit executables. It also comes with a lot more headers and libraries.
  • There is no single reason to download the 32bit version except for maybe file size, marginally longer compiling time, or in case you have to use that specific compiler for any reason (regression problems for example).
Guide to compile for 32bit using TDM-GCC x64
  • To force 32bit on all new projects and non-project compiles, go to Tools >> Compiler Options >> Settings >> Code Generation and set "Pointer Width" to 32bit.
  • To force 32bit on already created projects, go to Project >> Project Options >> Compiler >> Code Generation and set "Pointer Width" to 32bit.
  • Now open Tools >> Compiler Options >> Directories >> Libraries. Change the path ending with 'lib' to point to a folder called 'lib32' next to it.
  • Done!
  • Alternatively, one can create a 32bit and 64bit config based on one installation of TDM-GCC x64. Go to Tools >> Compiler Options and create a new set called TDM-GCC 4.6.1 32-bit for example. Copy all settings in the General tab from the x64 set. Then, for that compiler, set the settings described above to your 32-bit configuration. This way, you don't have to install two compilers!

Tuesday, December 27, 2011

Dev-C++ 5.1.0.0 released

Time for a properly updated version. This one comes with a readily working 64bit compiler and lots of new stuff, like an updated first time dialog.




Changes - Version 5.1.0.0 - 27 December 2011
  • This is the first version to fully support 64bit MinGW compilers! Just place one in a folder called 'MinGW64' next to devcpp.exe, Dev will automatically adapt itself to it!
  • When launching for the first time, Dev-C++ will set defaults based on available 32bit or 64bit compilers (favors 64bit).
  • The XP style manifest creator now also supports 64bit.
  • The "Delete Profiling Information" button now does not check for the gmon.out file 60 times a second to keep itself updated.
  • Compiler information in the log now does not show up twice when rebuilding a single file.
  • Project files with dots in their names now do not confuse the executable namer anymore.
  • One more update to the compiler progress window: the warning counter was positioned a bit too much to the right.
  • Added formatting support for 'Sorry Unimplemented' and fixed up 'Unknown escape sequence'.
  • The main form now properly maximises when not starting for the first time.
  • The main form child windows now properly scale themselves when the 'Tip of the Day' window is shown.
  • Slightly lowered startup times again.
  • The code browser toolbar now also shows types and struct members.
  • The code completer and code parser now use symmetric indices and _ID's, making them a lot faster.
  • Code completion cache is now created a bit faster and is smaller.
  • Updated the help file.
  • The tooltip now always shows up when it is supposed to, even the first time.
  • Added a new editor style called Classic Plus, which highlights symbols like { and (.
  • The Code Completion Cache creator can now also be told to cache a selection of files.
  • Updated MinGW32 to GCC 4.6.2. Added TDM-GCC 4.6.1 x64.
  • Added updated Chinese translations by cin.getline.
  • More stuff I forgot about.


Important notices
  • 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.
  • 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.
  • 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.
  • 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: 32bit or here: 64bit. The Portable zip version can be downloaded here: 32bit or here: 64bit. The source code can be found here.


Update
The 5.1.1.0 Beta 6 update can be found here. Its source code can be found here.




Guide to choose between 32bit and 64bit
  • The 64bit compiler will also run op 32bit computers. Not problem at all.
  • The 64bit compiler can do everything the 32bit compiler can, including creating standard 32bit executables.
  • The 64bit compiler can do stuff the 32bit compiler can't, like creating 64bit executables. It also comes with a lot more headers and libraries.
  • There is no single reason to download the 32bit except for maybe file size, marginally longer compiling time, or in case you have to use that specific compiler for any reason (regression problems for example).
Guide to compile for 32bit using TDM-GCC x64
  • To force 32bit on all new projects and non-project compiles, go to Tools >> Compiler Options >> Settings >> Code Generation and set "Pointer Width" to 32bit.
  • To force 32bit on already created projects, go to Project >> Project Options >> Compiler >> Code Generation and set "Pointer Width" to 32bit.
  • Now open Tools >> Compiler Options >> Directories >> Libraries. Change the path ending with 'lib' to point to a folder called 'lib32' next to it.
  • Done!
  • Alternatively, one can create a 32bit and 64bit config based on one installation of TDM-GCC x64. Go to Tools >> Compiler Options and create a new set called TDM-GCC 4.6.1 32-bit for example. Copy all settings in the General tab from the x64 set. Then, for that compiler, set the settings described above to your 32-bit configuration. This way, you don't have to install two compilers!

For more information, please read the FAQ located here or in Dev-C++'s help file.


Problems / Upcoming changes / TODO
  • TODO: Implement wxWidgets
  • TODO: Finish work done on adding icons to tool menu items.

Saturday, December 10, 2011

Dev-C++ 5.0.0.9 released

Another bug fixing round. This version fully supports MinGW64, but I'm not adding it yet, because it's not completely stabile.




Changes - Version 5.0.0.9 - 10 December 2011
  • Fixed a minor settings detection bug in the profiler.
  • The code completion dialog now hides its tooltips when the user chooses so by unticking "Enable editor hints", preventing an access error.
  • Reorganized parts of the interface: now makes better use of free space.
  • One can now select and copy the information in the file properties window.
  • Added a link to GCC's compiler documentation below the compiler options.
  • Added a few more options to -march, -std and -O. Note: this might change settings in pre-5.0.0.9 projects, please reapply them!
  • The code tooltip is quite a bit faster now.
  • Fixed a bug in the brace completion code, reported by garywho.
  • (RC2+) The function tooltip now does not show up when no prototype could be found (making it a lot faster).
  • The Environment Options UI font selector now properly shows the available fonts in an MS Word like manner.
  • Updated the compilation progress window layout.
  • Added profiles for both x86 and x64 compilers.
  • Above profiles now properly update the makefile and other settings.
  • Generic gcc and g++ errors like unrecongised command line options are now properly displayed in the list box.
  • Slightly lowered the (first time) launch speeds.


Important notices
  • 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.
  • 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.
  • 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.
  • 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.



Progress implementing the 64-bit compiler
  • It's working.
  • Dev-C++ now automatically sets paths when it finds an 'MinGW64' folder.
  • The XP style manifest files now also work with 64-bit executables.
  • The 64-bit compiler now also create 32-bit executables.
  • GDI+, DWM API and D3DX are working too now.


Beta update
The 5.1.0.0 Beta 1 update can be found here. Its source code can be found here. This version fully supports 64bit compilers. I've decided not to include the full compiler with this beta version yet, but don't worry: getting it to work easy:
  • Download and install the latest full release of Dev-C++. Setup and portable versions will work.
  • Download and install this overwrite update and extract it in the Dev-C++'s main folder.
  • Download and install TDM-GCC 4.6.1 x64 to 'MinGW64'. This folder should be placed next to devcpp.exe.
  • You've got two choices now:
  • 1) Remove your configuration files from .\config (portable) or %APPDATA%\Dev-Cpp. This will force Dev-C++ to show the First Time Launch window again. Dev-C++ will look for the MinGW64 folder, and if it exists, create a working compiler configuration for you. If the folder does not exist, it will create a standard MinGW32 profile.
  • 2) Launch Dev-C++ and create a new Compiler Set in Tools >> Compiler Options. Then manually set paths for this compiler.



Problems / Upcoming changes / TODO
  • TODO: Implement C++11 suggestions by Xazax.
  • FIXED: Fix the ParentID bug in the tooltip and goto menu items.
  • TODO: Implement wxWidgets
  • DONE: Implement MinGW64
  • TODO: Finish work done on adding icons to tool menu items.

Sunday, November 20, 2011

Dev-C++ 5.0.0.8 released

Update.




Changes - Version 5.0.0.8 - 20 November 2011
  • Remapped all language IDs so that much more translations will fit nicely in the tables.
  • Profiling can now also be properly used without a project.
  • The function scanner now ignores comments.
  • Added an option to change the UI font.
  • Rescaled portions of the statusbar to accomodate other fonts.
  • Again updated big parts of the local variable scanner.
  • Removed 'Backspace Unindents' and 'Keep trailing spaces'. These options were too buggy and/or useless.
  • Set the mouseover delay to 1500 by default now.
  • Dev-C++ now does not stall when GCC complains about incorrect filenames. Instead, it shows GCC's error in the formatted log.
  • Added a few more previously hardcoded text items to the translations.
  • Fixed a few out of bounds errors in code scanning code.
  • Updated the Chinese (TW) translations thanks to 'cin.getline'.
  • Updated the CVS page.


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.


Beta update
The 5.0.0.9 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: Get TDM-GCC working.
  • TODO: Have a look at distributing wxWidgets libraries and headers with Dev-C++.

Wednesday, November 9, 2011

Dev-C++ 5.0.0.7 released

Update.




Changes - Version 5.0.0.7 - 9 November 2011
  • The compiler log output now always outputs the raw text even when no errors have been found in the code.
  • The parameters now default to nothing (let MinGW decide) instead of ISO C99.
  • The find output saver now correctly outputs its items.
  • Added a few more fixes to the tools menu.
  • New untitled files now get saved properly.
  • The { autocompletion now only inserts an extra newline when building function parameters and can also detect structs, and will append }; for them.
  • The code hint will now auto-hide after 10 seconds instead of 2,5.
  • Added a new autosave function.
  • Added some preparation code for TDM MinGW64.
  • The function tooltip now does not stay on the screen when leaving a function.
  • Added a build date to About.
  • And some more stuff I forgot about.


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.


Beta update
The 5.0.0.8 Beta 2 update can be found here. Its 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.


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

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

Monday, October 24, 2011

Dev-C++ 5.0.0.5 released

After 12 beta's, I've finally decided to release 5.0.0.5. The biggest addition is the rewritten tooltip generator. I've also decided to dump make.exe from the binary directory, making an install 1.2MiB smaller.




Changes - Version 5.0.0.5 - 24 Oktober 2011
  • Rewritten the tooltip generator. It now uses better code scanning techniques and does not show up above what you were typing anymore.
  • Brace completion is now disabled inside strings and comments. It now also supports closing the < character.
  • The tooltip now also works when typing foo[bar].member and hovering above member.
  • The empty project now contains an empty Untitled unsaved file. Why would anyone NOT want or need that?
  • The function tooltip now also displays tips for completed and empty function parameter bodies.
  • The < character is now only inserted in lines starting with '#include'.
  • Highlighting checks in plain files now do not cause Dev to crash.
  • The Tips of the Day are back again!
  • The tab position of the editor is now changeable.
  • This version now uses a nine years more recent mingw32-make.exe makefile processor! The old GNU one will be omitted from the installer.
  • Projects are now saved upon creation.
  • Fixed two out-of-bounds errors in tooltip generation and code completion.
  • The source code is now more user friendly (DevCpp.dpk wouldn't compile straight away since some version), and 50% smaller.
  • Dev can now automatically log compiler messages to disk (the option can be found in Project Options >> Build Options).
  • The obj output directory now does not get created in the wrong 'current directory' in rare cases.
  • Dependency checking and compile delays are now saved, and on a per-compiler basis.
  • Restyled the editor tooltip balloon.
  • The function tooltip balloon now updates on the fly.
  • The editor hints option now properly disables hints.
  • Fixed a coloring bug when highlighting matching braces on the currently highlighted line.
  • Added a few more GUI togglable warning options.
  • Improved the sizing of the Specials Toolbar to make long translations fit.


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.


Beta update
The 5.0.0.6 Beta 4 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: Implement an autosave feature.
  • TODO: Finish work done on adding icons to tool menu items.