Saturday, April 28, 2012

Dev-C++ released

More of a big polishing update this time. From this version on, download names will be more clear too.

Changes - Version - 28 April 2012
  • Function tooltips now properly hide when switching tabs again (regression).
  • One can now select to open nothing and the previously left open files on project reopen.
  • Folds are now only repainted when the gutter is invalidated, reducing flicker.
  • Updated the uncomment function: it now supports any newline standard.
  • Code completion now does not remove too much characters by accident when completing.
  • The debugger now wants you to add debugging symbols instead of ingoring them alltogether.
  • Updated the project templates.
  • The first time configuration window now loads its stuff before showing up.
  • Updated the chinese (Traditional) translations.
  • Tidied up a few other dialogs.
  • Insert, Goto bookmark and Insert bookmark are now disabled when no editor is visible.
  • The status bar is now cleared when no editors are open.

Important notices
  • The options format has changed. If you want to reuse an old pre- 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 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 back to extract it.

The setup which includes MinGW32 can be downloaded here. The setup which includes TDM-GCC x64 can be found here. The Portable zipped version which includes MinGW32 can be downloaded here. The Portable zipped version which includes TDM-GCC x64 can be downloaded here. Lastly, the source code can be found here.

All editions can run on 32-bit Windows.

RC update
The RC8 update can be found here. Its source code can be found here.

Please do NOT collapse any folds before applying this patch!
Changes - Version - *
  • Added a default compiler profile to TDM-GCC downloads to create 32-bit executables.
  • Ctrl+Click code browsing is more accurate now.
  • Added a function to projects which can change the C++/C default choice made when creating the project.
  • Fixed the comment/uncomment function not properly uncommenting single lines(?)
  • Watched variable deleting now does not delete wrong variables anymore.
  • Added TeX formatted code exporting.
  • Updated the Chinese (TC) translations (by cin.getline).
  • Compiling progress now properly updates error and warning count.
  • Warning and error logs are now updated while compiling.
  • Updated the new project window layout and fonts.
  • Fixed insert assuming an initial cursor position of (1;1).
  • Fixed a few code folding bugs regarding collapsing.
  • The mingw32-make.exe location checker now checks all bin directories instead of just the first one.
  • The function tooltip now waits 500ms after the last keystroke before parsing the code instead of parsing on each keystroke.
  • Projects with a lot of files to be opened now open a lot faster.
  • More bug fixes.

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!