Code::Blocks August-September Month Update Summary

Biplab October 14th, 2007

As usual the update summary is full of new changes made to Code::Blocks and lot of bug fixes.

Summary:

  • Help plugin now supports browsing of Man pages.
  • wxSmith got number of new features including support to visually edit layouts, add events, etc.
  • Support for generated source files in build system.
  • Few critical bugs have been fixed. This included a well known DDE bug, crash at close bug, project file corruption in some cases bug, etc.

Please note that the following changelog is based on SVN commit history of past two months. Detailed and organised changelog is as follows.

Core

* Restructured update.bat a little bit and minor fix.
* wxFNB : fixed overflow of tabs too early and applied patch to allow backward compatibility with 2.6.x
* Fixed: [Bug #11585] Extra file relative paths are wrong in exported plugin.
* Fixed: Extra paths are not processed in some cases.
* Cleaned up the autorevision stuff, less dependencies.
* Added: Code-statistics for *.cc, *.cxx files in project file options dialog.
* Fixed: MSVC Project import bug where ‘-g’ was getting added to Release target.
* Now *.cc files would be recognized as C++ files.
* One code-cleanup in DLL wizard generated source.
* Added cbProject::GetExtensionsNode() and cbProject::AddToExtensions(). The latter is exposed to scripts. Read the function docs on how to use it.
* Added –safe-mode command-line option (all plugins are disabled on startup).
* Fixed out-of-place builds with autotools (bug #11607).
* Fixed: [Bug #11720] Standard Header Highlighting problem
* Fixed: Highlight mode was not applied when highlight mode is changed from a mode to ‘Plain text’.
* Added IsOpened() check to locale loading
* Add Mach IPC typedefs for Darwin
* Fixed: Out-of-place build fix for Todo plugin.
* Fixed: Couple of assertion failures associated with wxDir.
* Some clean up in Intel compiler detection code.
* make dist fix.
* console-main.c.cpp : no need to include stdlib.h
* wxFNB : fixed: popup dialog not focused on linux (ctrl+tab & smart tabbing)
* autorevision : const correctness and use TiXml handles in QuerySvn
* Fixed: C::B can’t detect a file with UTF-32LE (with BOM) encoding.
* Include fixes and separation between Manager::GetAppWindow() and Manager::GetAppFrame(), SDK bump to 1.11.12 (could be a few follow up include fixes might follow)
* Replaced “Log” with “Logger” where it should be
* Did some tuning on the existing loggers
* Added startup code to turn off app logging
* InfoPane can now properly show/hide panels, delete Loggers and non-Loggers
* Moved GUI-Initialisation out of CreateIDE, and after plugin loading, so plugins can add loggers at startup
* Include fixes (this concludes patch 2139)
* Re-added r4272, but without overload operators (should not cause ambiguity now)
* Fixed all SDK documentation errors
* Fixed crash in compiler plugin under certain circumstances (when selecting another target in the combo box).
* All wizards: Do not put output file name in root folder of drive if no path provided
* Made .java files recognized as compileabe sources (no Java support!)
* Backtick’d expressions cache is not cleared anymore (severe performance hit if many of them are used). Restarting C::B is the only way to clear it.
* Added debugger option not to auto-build before launching.
* Improved Java support any further
* Added “set default” for file groups and masks
* Exposed Java binding to scripts
* Minor fixed for Fortran 77/90/95 support
* Improved SDK documentation and documentation of C::B resources
* Add GetCompilerVersionString() to the CompilerFactory and export it for the scripts
* Assembler files support (*.asm)
* Added support for assembler sources (*.s;*.ss)
* Exposed assembler sources to scripts
* Fixed: Crash at Start-up if clicked on the Splash Screen.
* Fixed wrong layout for editor abbreviations causing the Add/Delete keys to be invisible.
* Fixed: Crash in ProjectFileOptions dialog, when the project uses an unavailable compiler.
* Fixed: [Bug #11698] Silent close on multiple instance
* Object files of source files on different drive will now be created inside the Project object directory itself.
* Fixed: [Bug #11785] Tooltip/Function info window does not go away
* Fixed: [Bug #11929] Crash when moving a virtual folder to its subfolder
* Add workspace extension on “save as” if none given
* Add support for TriCore, MSP430 and PowerPC
* Fixed: Project file is removed while Rebuilding / Cleaning a Dynamic Library Project.
* Updated: Update script for Linux/Unix to exclude .svn, Makefile and other garbage files.
* cbEVT_APP_STARTUP_DONE is now fired *after* the app has loaded and fully displayed its windows.
* Added configuration options for which lexer keyword sets to be included in code-completion results.
* Display size of generated file after linking.
* Fixed some UI layout errors in project and editor options. Say ‘no’ to huge dialogs :) .
* Added event cbEVT_QUERY_VIEW_LAYOUT (queries the current view layout).
* Removed debugger options for automatic layout switching. It is all handled automatically now.
* Fixed: Project created from a user-template contains old output file name.
* Fixed: C::B title not updated after creating a project from user-template.
* Fixed a few problems found by Valgrind.
* Fixed: A bug in SetVersionString() which could not detect the version string of MinGW compilers installed in an arbitrary folder.
* Applied: [Patch #2135] MinGW autodetection searching in $PATH
* Fixed another small memory leak found by Valgrind.
* Fixed: Source/Project file open command is sent Twice while opening it through DDE.
* Fixed: [Bug #12014] CodeCompletion doesn’t start on Code::Blocks startup
* wxFNB and wxAUINotebook selectable via compile time switch
* Removed close button that doesn’t belong there
* Added: Atmel AVR project wizard (Thanks to BrianSidebotham).
* Applied: [Patch #2191] Patch for Bug #11979 (in modified form)
* Fixed: File association detection code not detecting the files associated.
* Fixed: Wrong pop-up menu in Project Tree.

Core Plugins

AStyle
* Fixed bug 011860: Mouse cursor changes.

Code Completion
* Code-completion now provides support for language keywords, based on the current editor’s language (only C++ was supported until now).
* ClassBrowserBuilderThread is now a joinable thread. ClassBrowser will now Wait for it to exit before invalidating “shared” data.

Compiler
* Support for adding custom files to the build system

Debugger
* Set max value for “Ignore count before break”.
* Fixed unable to detect cygwin prefix under HKCU (instead of only HKLM)

Contrib Plugins

CodeSnippets
* Added check for possible garbage window ptr in OnTreeCtrlEvent() and other assorted wxGTK284 fixes
* Fixed TextToFilenames() for list/text containing \r & \n
* Codesnippets uses GDK functions directly on wGTK, so it needs to link with the GTK2_LIBS too

Envvars
* Fixed choicebox GUI bug under Linux

Help plugin
* Added support to display man pages.
* Converted the MANFrame into a dockable thingy.
* If a man page cannot be found then report it.
* Clicking on links for man pages that provide them will take you to that man page (if found).
* Bugfix: displaying man pages with tables (e.g. find.1) crashes the application (must check if it’s generating the right output)
* Fixed implementation of QListIterator<T> (the output should be right now)
* Do not show the man page viewer by default
* Bugfix: editing help entries add extra “Man Pages Viewer” to the View menu.
* Implemented zoom in and zoom out for the Man Pages Viewer.
* If more than one match is found, let the user choose (tip: use file wildcards).
* Bugfix: bz2 decompression adds garbage at the end of the file (fixed in DevPak plugin too).
* Try to follow .so links in man pages to other man pages.

KeyBinder
* Change AddPendingEvent() to ProcessEvent() in wxMenuCmd::Exec() to avoid crashes when secondary command key would close editors wx284

Source Exporter:
* PDF exporter: fixed crash when the file to be exported had non-ASCII characters.
* Updated wxPdfDocument to version 0.8.0
* Remove warnings from Exporter plugin (wxPdfDocument part)

wxSmith
* Icon property is now used inside generated code and preview
* Added insert-by-pointing-with-mouse mode
* Code generated when adding sizers now contains spaces to be more readable
* Implemented grid for sizer-less resources
* Added border for wxPanel items added into other resources
* Fixed background colour for wxFrame
* Preview for wxPanel resources are now using resizable dialog
* Fixes for few segfaults discovered on linux
* DELETE key now deletes current selection in editor
* Fixed bug #10964
* Update to base properties (cleaned some things up and added ability to fetch position / size of resource from constructor’s argument)
* Updated new resource generator – it now gives much more options
* Fixed crash when adding new resource on linux
* Fixed size of new-resource dialog with hidden advanced options on linux
* Added some stubs to support read-only files
* Added include file properties for custom widget (only when using source mode)
* Implemented sorting of properties
* Double click on some item now adds event handler (if there’s none) of it’s first event
* Implemented jumping to event handler function body when changing handler / double clicking on item that has main handler set
* Added pop-up menu on right click on resource in resource browser
* Implemented deleting resources (accessible through pop-up menu)
* Fixed crash in wxSmith when closing any open XRC file
* Changed default scopes of ids (now protected) / members (now public) / handlers (now private) in new resources
* Scopes can be customized in Advanced options while generating new resource
* Added cols / rows for wxGrid when editing in source mode (Grom: you owe me a beer ;) )
* Added customized popup menu for wxNotebook (other x-book classes soon, after wxNotebook is finished)
* Added “Bring to front” / “Send to back” popup menu for items which are not managed inside sizers – available in right-click popup menu in editor (this can be used to set correct tab order)
* Fixed issues with wxArtProvider
* Fixed some issues with wxNotebook (and probably other ..book classes)

Trackback URI | Comments RSS

Leave a Reply