sdk
12 years agoide: makefile generation and makefiles: added NOSTRIP option.
Rejean Loyer [Wed, 22 Feb 2012 03:56:35 +0000 (22:56 -0500)]
ide: makefile generation and makefiles: added NOSTRIP option.

Conflicts:

compiler/ecc/Makefile
compiler/ecp/Makefile
compiler/ecs/Makefile
compiler/libec/Makefile
eda/drivers/sqlite/Makefile
eda/drivers/sqliteCipher/Makefile
eda/libeda/Makefile

12 years agoinclude.mk: removed some duplication. better comments.
Rejean Loyer [Thu, 1 Sep 2011 01:15:52 +0000 (21:15 -0400)]
include.mk: removed some duplication. better comments.

12 years agocompiler/instance/bootstrap: Fixed stdcall related compilation problems with MinGW...
Jerome St-Louis [Wed, 22 Feb 2012 19:30:34 +0000 (04:30 +0900)]
compiler/instance/bootstrap: Fixed stdcall related compilation problems with MinGW/GCC 4.6.1 by adding an 'origImportType' set in instance.ec rather than compiler

12 years agocompiler: Fixed precompiled grammar broken on Linux
Jerome St-Louis [Tue, 21 Feb 2012 17:56:41 +0000 (02:56 +0900)]
compiler: Fixed precompiled grammar broken on Linux

12 years agoear/i18n: Fixed last commit Makefiles & project
Jerome St-Louis [Tue, 21 Feb 2012 10:04:57 +0000 (19:04 +0900)]
ear/i18n: Fixed last commit Makefiles & project

12 years agoUpdated completed Spanish translation
Juan Sanchez [Tue, 21 Feb 2012 09:49:38 +0000 (18:49 +0900)]
Updated completed Spanish translation

12 years agoeda: Fixed case of EDA.mo in project and Makefile
Jerome St-Louis [Mon, 20 Feb 2012 14:21:27 +0000 (23:21 +0900)]
eda: Fixed case of EDA.mo in project and Makefile

12 years agoi18n: Fixed location of msgctxt in .pot files
Jerome St-Louis [Mon, 20 Feb 2012 13:12:15 +0000 (22:12 +0900)]
i18n: Fixed location of msgctxt in .pot files

12 years agoi18n: Added header to .pot files for Launchpad
Jerome St-Louis [Mon, 20 Feb 2012 12:54:07 +0000 (21:54 +0900)]
i18n: Added header to .pot files for Launchpad

12 years agoi18n: Moved .pot files into locale/, added them to repository, renamed eda.mo->EDA.mo
Jerome St-Louis [Mon, 20 Feb 2012 12:13:43 +0000 (21:13 +0900)]
i18n: Moved .pot files into locale/, added them to repository, renamed eda.mo->EDA.mo

12 years agoi18n: Took out compiler/locale which should not have been there
Jerome St-Louis [Mon, 20 Feb 2012 07:19:43 +0000 (16:19 +0900)]
i18n: Took out compiler/locale which should not have been there

12 years agoi18n/Spanish: Added days of the week 1st letters
Jerome St-Louis [Mon, 20 Feb 2012 06:20:15 +0000 (15:20 +0900)]
i18n/Spanish: Added days of the week 1st letters

12 years ago: Fifth Spanish translation.
Juan Sanchez [Sun, 19 Feb 2012 19:55:58 +0000 (20:55 +0100)]
: Fifth Spanish translation.

12 years ago: Forth Spanish translation.
Juan Sanchez [Sun, 19 Feb 2012 19:43:37 +0000 (20:43 +0100)]
: Forth Spanish translation.

12 years ago: Third Spanish translation.
Juan Sanchez [Sun, 19 Feb 2012 18:48:59 +0000 (19:48 +0100)]
: Third Spanish translation.

12 years ago: Second Spanish translation.
Juan Sanchez [Sun, 19 Feb 2012 18:47:46 +0000 (19:47 +0100)]
: Second Spanish translation.

12 years agoi18n: Added Spanish translation, Took out types from adding files dialogs
Jerome St-Louis [Sun, 19 Feb 2012 19:04:43 +0000 (04:04 +0900)]
i18n: Added Spanish translation, Took out types from adding files dialogs

12 years agoear/extract/i18n: Missed extract locale in last commit
Jerome St-Louis [Sun, 19 Feb 2012 18:39:42 +0000 (03:39 +0900)]
ear/extract/i18n: Missed extract locale in last commit

12 years ago: First Spanish translation.
Juan Sanchez [Sun, 19 Feb 2012 09:48:40 +0000 (10:48 +0100)]
: First Spanish translation.

12 years agoi18n: ear, epj2make, (self)extract
Jerome St-Louis [Sun, 19 Feb 2012 18:33:31 +0000 (03:33 +0900)]
i18n: ear, epj2make, (self)extract

12 years agoecere/i18n: Completed dates i18n, Fixed compiler i18n $(EAR) build issues, Moved...
Jerome St-Louis [Sun, 19 Feb 2012 17:59:27 +0000 (02:59 +0900)]
ecere/i18n: Completed dates i18n, Fixed compiler i18n $(EAR) build issues, Moved GetAlNum to unicode.ec (out of ecereCOM), Added dataBoxes sample

12 years agoecere/i18n: Fixed broken build by taking i18n out of instance.ec; Date & Months i18n...
Jerome St-Louis [Sun, 19 Feb 2012 13:42:40 +0000 (22:42 +0900)]
ecere/i18n: Fixed broken build by taking i18n out of instance.ec; Date & Months i18n (wip); Added missing Designer strings; Compiler: Prevented crash and added missing string

12 years agocompiler/i18n: Added i18n strings to libec/ecc/ecp/ecs
Jerome St-Louis [Sun, 19 Feb 2012 11:43:33 +0000 (20:43 +0900)]
compiler/i18n: Added i18n strings to libec/ecc/ecp/ecs

12 years agoeda/i18n: Added i18n strings to EDA/EDASQLite/EDASQLiteCipher
Jerome St-Louis [Sun, 19 Feb 2012 10:07:24 +0000 (19:07 +0900)]
eda/i18n: Added i18n strings to EDA/EDASQLite/EDASQLiteCipher

12 years agoecere/i18n: Added GUI property categories strings
Jerome St-Louis [Sun, 19 Feb 2012 05:27:58 +0000 (14:27 +0900)]
ecere/i18n: Added GUI property categories strings

12 years agocompiler/libec: Added support for i18n of property categories
Jerome St-Louis [Sun, 19 Feb 2012 05:00:45 +0000 (14:00 +0900)]
compiler/libec: Added support for i18n of property categories

12 years agoecere/Containers/Map: Fixed destruction of Map Nodes' key for struct classes
Jerome St-Louis [Sun, 19 Feb 2012 04:26:33 +0000 (13:26 +0900)]
ecere/Containers/Map: Fixed destruction of Map Nodes' key for struct classes

12 years agoide/Debugger/Watches: Fixed a crash on memory read error
Jerome St-Louis [Sun, 19 Feb 2012 04:22:02 +0000 (13:22 +0900)]
ide/Debugger/Watches: Fixed a crash on memory read error

12 years agoide/Debugger/Project: Fixed wrong active configs being used for debugging
Jerome St-Louis [Sun, 19 Feb 2012 03:18:06 +0000 (12:18 +0900)]
ide/Debugger/Project: Fixed wrong active configs being used for debugging

12 years agoi18n: ide, ecere, documentor: New strings, Chinese
Jerome St-Louis [Sat, 18 Feb 2012 20:17:02 +0000 (05:17 +0900)]
i18n: ide, ecere, documentor: New strings, Chinese

12 years agocompiler/i18n: Fixed i18n strings matching to be case sensitive
Jerome St-Louis [Sat, 18 Feb 2012 19:59:27 +0000 (04:59 +0900)]
compiler/i18n: Fixed i18n strings matching to be case sensitive

12 years agocompiler/libec: Fixed a crash on Context destructor being called on the current conte...
Jerome St-Louis [Sat, 18 Feb 2012 19:56:43 +0000 (04:56 +0900)]
compiler/libec: Fixed a crash on Context destructor being called on the current context on parsing error

12 years agoide/Project: Fix a bug in the overhaul of earlier; forgot to nuke the configName...
Jerome St-Louis [Fri, 17 Feb 2012 15:30:21 +0000 (22:30 +0700)]
ide/Project: Fix a bug in the overhaul of earlier; forgot to nuke the configName property!

12 years agoide/i18n: Added some more i18n'ed strings
Jerome St-Louis [Fri, 17 Feb 2012 12:30:49 +0000 (19:30 +0700)]
ide/i18n: Added some more i18n'ed strings

12 years agoide/i18n: Added a few more i18n'ed strings
Jerome St-Louis [Fri, 17 Feb 2012 11:30:36 +0000 (18:30 +0700)]
ide/i18n: Added a few more i18n'ed strings

12 years agoide/Project: Fixed mixing up configurations/compilers
Jerome St-Louis [Fri, 17 Feb 2012 10:46:48 +0000 (17:46 +0700)]
ide/Project: Fixed mixing up configurations/compilers
For example doing a rebuild and toggling a config before the Clean is done would mix up configs
Compiler and Config are now obtained once, and passed as parameter as they should.
Things that should never have been properties were changed to methods expecting a config and a compiler if necessary.

12 years agocompiler/libec: Fixed Expression leak on relational_expression_error 'class guess...
Jerome St-Louis [Thu, 16 Feb 2012 19:48:23 +0000 (02:48 +0700)]
compiler/libec: Fixed Expression leak on relational_expression_error 'class guess' rule; Added missing destructor for template parameters and arguments list; Added missing class_entry, class_head and class_decl destructors

12 years agocompiler/libec: Fixed memory leak on class context when pre-declaring a class and...
Jerome St-Louis [Thu, 16 Feb 2012 19:11:35 +0000 (02:11 +0700)]
compiler/libec: Fixed memory leak on class context when pre-declaring a class and then defining it in same file (class MyClass; class MyClass { })

12 years agoecere/gui/Window; FileDialog: Fixed an IDE crash on opening 2 modules, where UpdateAc...
Jerome St-Louis [Thu, 16 Feb 2012 14:48:50 +0000 (21:48 +0700)]
ecere/gui/Window; FileDialog: Fixed an IDE crash on opening 2 modules, where UpdateActiveDocument mixed up libec's privateModules; Double-fixed with a MakeActive instead of Activate in FileDialog

12 years agocompiler/bootstrap: Fixed Bison 2.4 warnings in parsers, Updated bootstrap
Jerome St-Louis [Thu, 16 Feb 2012 10:06:24 +0000 (17:06 +0700)]
compiler/bootstrap: Fixed Bison 2.4 warnings in parsers, Updated bootstrap

12 years agocompiler/libec; ide/CodeEditor: Fixed compiler leak on initDeclarators invoking Proce...
Jerome St-Louis [Thu, 16 Feb 2012 09:27:30 +0000 (16:27 +0700)]
compiler/libec; ide/CodeEditor: Fixed compiler leak on initDeclarators invoking ProcessClass() and initial declMode bug

12 years agocompiler/libec: Fixed a memory leak on self-referencing C structs typedefs
Jerome St-Louis [Wed, 15 Feb 2012 18:26:01 +0000 (01:26 +0700)]
compiler/libec: Fixed a memory leak on self-referencing C structs typedefs

12 years agocompiler/libec: Attempt to speedup namespace scanning
Jerome St-Louis [Wed, 15 Feb 2012 11:29:29 +0000 (18:29 +0700)]
compiler/libec: Attempt to speedup namespace scanning

12 years agocompiler/ecp: Fixed reference to grammar.eh to point to grammar.h
Jerome St-Louis [Wed, 15 Feb 2012 08:30:26 +0000 (15:30 +0700)]
compiler/ecp: Fixed reference to grammar.eh to point to grammar.h

12 years agoecere/gui/ListBox: Fixed a crash on calling ListBox::GetTag() when currentRow is...
Juan Sanchez [Wed, 15 Feb 2012 08:10:56 +0000 (15:10 +0700)]
ecere/gui/ListBox: Fixed a crash on calling ListBox::GetTag() when currentRow is null

12 years agocompiler/libec: Fixed a bug where ProcessType would fail on parsing [union typename...
Jerome St-Louis [Wed, 15 Feb 2012 08:05:23 +0000 (15:05 +0700)]
compiler/libec: Fixed a bug where ProcessType would fail on parsing [union typename] const * (would make it int *)

12 years agocompiler/libec: Upgraded Bison 2.0->2.4.2 to fix MkExpDummy() leak. Added destructors...
Jerome St-Louis [Wed, 15 Feb 2012 08:02:47 +0000 (15:02 +0700)]
compiler/libec: Upgraded Bison 2.0->2.4.2 to fix MkExpDummy() leak. Added destructors to type.y & expression.y Bootstrap updated.

12 years agocompiler/libec: Fixed Symbol & Type leaks when adding same value twice to binary...
Jerome St-Louis [Wed, 15 Feb 2012 07:49:26 +0000 (14:49 +0700)]
compiler/libec: Fixed Symbol & Type leaks when adding same value twice to binary trees, and when using CopyTypeInto

12 years agosamples/net/SocketSample: Fixed wrong explanation in comment
Jerome St-Louis [Mon, 13 Feb 2012 16:40:03 +0000 (23:40 +0700)]
samples/net/SocketSample: Fixed wrong explanation in comment

12 years agocompiler/i18n/CleanPo: Added missing CleanPo project
Jerome St-Louis [Mon, 13 Feb 2012 16:38:40 +0000 (23:38 +0700)]
compiler/i18n/CleanPo: Added missing CleanPo project

12 years agocompiler/libec: Fixes to some parsing memory leaks
Jerome St-Louis [Mon, 13 Feb 2012 14:37:00 +0000 (21:37 +0700)]
compiler/libec: Fixes to some parsing memory leaks

12 years agoecere/gui/controls/Menu: Fixes to PopupMenu to support color icons, and fixed crash...
Juan Sanchez [Mon, 13 Feb 2012 11:23:48 +0000 (18:23 +0700)]
ecere/gui/controls/Menu: Fixes to PopupMenu to support color icons, and fixed crash on non-referenced BitmapResource
- Slightly enlarged default margin when bitmaps are present
- Added an 'Menu::hasMargin' property for an optional wider margin with a nice vertical separator

12 years agoecere:gui/gfx:drivers/cocoa: Partial native Cocoa drivers implementation for Mac...
Jean-Francois Bilodeau [Mon, 13 Feb 2012 09:50:24 +0000 (16:50 +0700)]
ecere:gui/gfx:drivers/cocoa: Partial native Cocoa drivers implementation for Mac OS X

12 years agoecere/gui/Controls/SelectorBar: Fixed Cycling order with Left/Right key in SelectorBa...
Jerome St-Louis [Mon, 13 Feb 2012 08:32:42 +0000 (15:32 +0700)]
ecere/gui/Controls/SelectorBar: Fixed Cycling order with Left/Right key in SelectorBar, Moved it inside libecere

12 years agoecere/gui/Window: Fix to reference counts during activation (Fixed crash in SelectorB...
Jerome St-Louis [Mon, 13 Feb 2012 05:29:29 +0000 (12:29 +0700)]
ecere/gui/Window: Fix to reference counts during activation (Fixed crash in SelectorBar when renaming a button then clicking another)

12 years agoide/GlobalSettingsDialog: Fixes to handling modifications: env variables were not...
Jerome St-Louis [Mon, 13 Feb 2012 05:08:22 +0000 (12:08 +0700)]
ide/GlobalSettingsDialog: Fixes to  handling modifications: env variables were not saving, and switching Compiler would not save changes

12 years agoide/GlobalSettings: Fixed memory leak on assigning compiler directories in GlobalSett...
Jerome St-Louis [Mon, 13 Feb 2012 04:44:30 +0000 (11:44 +0700)]
ide/GlobalSettings: Fixed memory leak on assigning compiler directories in GlobalSettingsDialog

12 years agosamples:misc:licensing: added a new sample to demonstrate the use of LicensesDialog.
Rejean Loyer [Sun, 12 Feb 2012 09:56:11 +0000 (16:56 +0700)]
samples:misc:licensing: added a new sample to demonstrate the use of LicensesDialog.

12 years agoextras:gui:LicensesDialog: added dialog to display software licenses in a GuiApplicat...
Rejean Loyer [Sun, 12 Feb 2012 09:55:54 +0000 (16:55 +0700)]
extras:gui:LicensesDialog: added dialog to display software licenses in a GuiApplication. added licenses in extras/res/licenses/

12 years agoide: minor fix to file open dialog for Add Project to Workspace.
Rejean Loyer [Sun, 12 Feb 2012 09:55:43 +0000 (16:55 +0700)]
ide: minor fix to file open dialog for Add Project to Workspace.

12 years agoecere:gui:controls:ToolBar: proper use of a NotifyClicked notification for ToolBar...
Rejean Loyer [Sun, 12 Feb 2012 09:55:28 +0000 (16:55 +0700)]
ecere:gui:controls:ToolBar: proper use of a NotifyClicked notification for ToolBar buttons.

12 years agoide.epj: removed SETTINGS_TEST var definition from memoryguard config.
Rejean Loyer [Sun, 12 Feb 2012 09:54:58 +0000 (16:54 +0700)]
ide.epj: removed SETTINGS_TEST var definition from memoryguard config.

12 years agoextras:gui:controls:ToolBar: minor. default bitmapAlignment = left for ToolButton.
Rejean Loyer [Sun, 12 Feb 2012 09:54:32 +0000 (16:54 +0700)]
extras:gui:controls:ToolBar: minor. default bitmapAlignment = left for ToolButton.

12 years agoecere/gui/Stacker: New Stacker implementation, adaptation of SelectorBar
Rejean Loyer [Sun, 12 Feb 2012 09:15:14 +0000 (16:15 +0700)]
ecere/gui/Stacker: New Stacker implementation, adaptation of SelectorBar

12 years agoecere:gui:Window: Added OnChildAddedOrRemoved, OnChildVisibilityToggled and OnChildRe...
Rejean Loyer [Sun, 12 Feb 2012 08:16:11 +0000 (15:16 +0700)]
ecere:gui:Window: Added OnChildAddedOrRemoved, OnChildVisibilityToggled and OnChildResized to support new Stacker implementation

12 years agoecere:gui:controls:EditBox: added autoSize feature
Rejean Loyer [Sun, 12 Feb 2012 07:35:58 +0000 (14:35 +0700)]
ecere:gui:controls:EditBox: added autoSize feature

12 years agoecere:gui:EditBox: undo ctrl+del word in a single step instead of char by char.
Rejean Loyer [Sun, 12 Feb 2012 07:30:03 +0000 (14:30 +0700)]
ecere:gui:EditBox: undo ctrl+del word in a single step instead of char by char.

12 years agoecere:ShellOpen: added support for calling gnome-open, kde-open or ede-open when...
Rejean Loyer [Sun, 12 Feb 2012 07:12:44 +0000 (14:12 +0700)]
ecere:ShellOpen: added support for calling gnome-open, kde-open or ede-open when environment is detected using DESKTOP_SESSION or ECERE_DESKTOP

12 years agoeda/drivers/Oracle: Fixed warnings
Jerome St-Louis [Sat, 11 Feb 2012 17:46:13 +0000 (00:46 +0700)]
eda/drivers/Oracle: Fixed warnings

12 years agoeda:drivers:oracle: Adaptation to compile on Linux.
Juan Sanchez [Wed, 8 Feb 2012 19:54:36 +0000 (20:54 +0100)]
eda:drivers:oracle: Adaptation to compile on Linux.

12 years agoEDA Oracle Driver reviewed. Added check for null and length in queries. Blob reimplem...
Juan Sanchez [Tue, 7 Feb 2012 15:07:14 +0000 (16:07 +0100)]
EDA Oracle Driver reviewed. Added check for null and length in queries. Blob reimplementation as SQLite mode (binary data stored on text fields),

12 years agoEDA Oracle Driver added
Juan Sanchez [Mon, 6 Feb 2012 22:29:16 +0000 (23:29 +0100)]
EDA Oracle Driver added

12 years agoecere/gui/drivers/X: Native Decorations Tweaks for Linux (Decorations size awareness...
Jerome St-Louis [Sun, 5 Feb 2012 19:42:13 +0000 (02:42 +0700)]
ecere/gui/drivers/X: Native Decorations Tweaks for Linux (Decorations size awareness, clientStart, clientSize/size, etc.)

12 years agoecere/gui/drivers/X: Proper fix for del key (#680)
Jerome St-Louis [Sun, 5 Feb 2012 14:27:15 +0000 (21:27 +0700)]
ecere/gui/drivers/X: Proper fix for del key (#680)

12 years agoecere/gui/drivers/X: Fix for del key on IDE's panels (X was giving us ASCII 127 ...
Jerome St-Louis [Sun, 5 Feb 2012 13:39:32 +0000 (20:39 +0700)]
ecere/gui/drivers/X: Fix for del key on IDE's panels (X was giving us ASCII 127 (DEL) characters, now ignored).
This resovles #680

12 years agoide: Fixed deleting breakpoints from PanelView (editing/enter) #679: Had superfluous...
Jerome St-Louis [Sun, 5 Feb 2012 13:22:31 +0000 (20:22 +0700)]
ide: Fixed deleting breakpoints from PanelView (editing/enter) #679: Had superfluous DeleteRow
It only happened in Linux because of Panels' ListBox/Delete key bug #680

12 years agoide: Fixed corruption of LD_LIBRARY_PATH (Only PATH was being restored) with PathBack...
Jerome St-Louis [Sun, 5 Feb 2012 13:19:53 +0000 (20:19 +0700)]
ide: Fixed corruption of LD_LIBRARY_PATH (Only PATH was being restored) with PathBackup class; Moved huge strings from the stack to the heap
This corrupt LD_LIBRARY_PATH was a huge mess when running apps with MemoryGuard, it even hard-locked my machine!

12 years agoecere/gui/drivers/X: Proper fix for last commit, should have been capturedWindow...
Jerome St-Louis [Sun, 5 Feb 2012 11:20:28 +0000 (18:20 +0700)]
ecere/gui/drivers/X: Proper fix for last commit, should have been capturedWindow.rootWindow, and had swapped x & y

12 years agoecere/gui/drivers/X: Fixed missing OnLeftButtonUp on captured window when quickly...
Jerome St-Louis [Sun, 5 Feb 2012 11:08:46 +0000 (18:08 +0700)]
ecere/gui/drivers/X: Fixed missing OnLeftButtonUp on captured window when quickly clicking/unclicking (Makes DropBox behave a lot nicer)

12 years agoide/ProjectSettings: Fixed overriding to 'false' Project setting bool in config or...
Jerome St-Louis [Sun, 5 Feb 2012 10:22:10 +0000 (17:22 +0700)]
ide/ProjectSettings: Fixed overriding to 'false' Project setting bool in config or platform (Console, Compress); Fixes to ecere/WSMS config

12 years agoecere: Fixed dataTypes.ec warnings by reverting warning fix of in82f296cce0576a161dd5...
Jerome St-Louis [Sun, 5 Feb 2012 08:15:29 +0000 (15:15 +0700)]
ecere: Fixed dataTypes.ec warnings by reverting warning fix of in82f296cce0576a161dd51483b3f1e1622e39f7b7
Since GetCurrentThreadID() is noew declared directly, not importing "System"

12 years agoide/CodeEditor: Changed paramsList from a ListBox to a Window (It made no sense for...
Jerome St-Louis [Sun, 5 Feb 2012 06:27:42 +0000 (13:27 +0700)]
ide/CodeEditor: Changed paramsList from a ListBox to a Window (It made no sense for it to be a ListBox, copy/paste error)

12 years agoecere/gui/ToolTips: Fixed modifying the CommonControl's toolTip property
Jerome St-Louis [Sun, 5 Feb 2012 06:27:04 +0000 (13:27 +0700)]
ecere/gui/ToolTips: Fixed modifying the CommonControl's toolTip property

12 years agoecere/gui/Window; samples/Blokus: (Hopeful) Fix for crash in CloseConfirmation on...
Jerome St-Louis [Sun, 5 Feb 2012 06:17:49 +0000 (13:17 +0700)]
ecere/gui/Window; samples/Blokus: (Hopeful) Fix for crash in CloseConfirmation on game over close; Minor fixes to Scrabble/TextScroller

12 years agosamples/Blokus: Forgot to reset 'flash' to false
Jerome St-Louis [Sat, 4 Feb 2012 18:18:26 +0000 (01:18 +0700)]
samples/Blokus: Forgot to reset 'flash' to false

12 years agosamples/Blokus: Work-around for Flash() lockups when running with timers on Windows
Jerome St-Louis [Sat, 4 Feb 2012 18:16:01 +0000 (01:16 +0700)]
samples/Blokus: Work-around for Flash() lockups when running with timers on Windows

12 years agosamples/toolTips: Took out extra stuff in toolTips samples
Jerome St-Louis [Sat, 4 Feb 2012 17:41:46 +0000 (00:41 +0700)]
samples/toolTips: Took out extra stuff in toolTips samples

12 years agosamples/gui: Added 'toolBars' sample showcasing extras' ToolBar together with the...
Jerome St-Louis [Sat, 4 Feb 2012 17:38:06 +0000 (00:38 +0700)]
samples/gui: Added 'toolBars' sample showcasing extras' ToolBar together with the new ToolTips

12 years agosamples/gui: Added 'ToolTips' sample showcasing the new ToolTips
Jerome St-Louis [Sat, 4 Feb 2012 17:37:20 +0000 (00:37 +0700)]
samples/gui: Added 'ToolTips' sample showcasing the new ToolTips

12 years agoecere/samples/gui: Added 'TextScroller', showing how to display and scroll more text...
Jerome St-Louis [Sat, 4 Feb 2012 17:36:06 +0000 (00:36 +0700)]
ecere/samples/gui: Added 'TextScroller', showing how to display and scroll more text that can fit in a window

12 years agoide/CodeEditor: Fixed crashes on assigning a string value to an instance (e.g. font...
Jerome St-Louis [Sat, 4 Feb 2012 17:33:40 +0000 (00:33 +0700)]
ide/CodeEditor: Fixed crashes on assigning a string value to an instance (e.g. font = "Arial" )

12 years agoecere/gfx/GDI: Fix for computing text extents with Display::FontExtent() on alpha...
Jerome St-Louis [Sat, 4 Feb 2012 17:32:16 +0000 (00:32 +0700)]
ecere/gfx/GDI: Fix for computing text extents with Display::FontExtent() on alpha-blended windows

12 years agoecere/gui: Implemented Tooltips, as a ToolTip Window class, and a 'toolTip' String...
Jerome St-Louis [Sat, 4 Feb 2012 16:24:40 +0000 (23:24 +0700)]
ecere/gui: Implemented Tooltips, as a ToolTip Window class, and a 'toolTip' String property in CommonControl
Thanks go to D.Bane for making it happen!

12 years agoecere/net: Properly initialized Service's to -1; Added an extra incref to ServerThrea...
Jerome St-Louis [Sat, 4 Feb 2012 06:57:41 +0000 (13:57 +0700)]
ecere/net: Properly initialized Service's to -1; Added an extra incref to ServerThread to ensure socket is still alive at the end; Fixed debug build on Windows by not importing System

12 years agoecere/net: Fix on Windows for Sleep call; ecere/gui/win32: Unlocked GUI when calling...
Jerome St-Louis [Fri, 3 Feb 2012 20:02:01 +0000 (03:02 +0700)]
ecere/net: Fix on Windows for Sleep call; ecere/gui/win32: Unlocked GUI when calling FlashWindow

12 years agoecere/net/dcom; samples/Blokus: Further robustness improvements to Distributed Objects
Jerome St-Louis [Fri, 3 Feb 2012 19:28:42 +0000 (02:28 +0700)]
ecere/net/dcom; samples/Blokus: Further robustness improvements to Distributed Objects
These were made to solve hard to reproduce problems found in Ecere Blokus.
Testing method involved two instances of Ecere Blokus sending out messages back and
forthat 10 Hz and random moves (on client's turn) at 20Hz, auto-restarting the game
on completion.

* Lockups / general messaging confusion when playing while messages are exchanged
   - The bool answered approach was inadequate as another thread could try notifying
   of an answer by setting it to true, but if reentrant was true, it would get reset
   back to false. Replaced it by a safer implementation as a list of acknowledgements,
   doing callID, methodID and objectID checks, so it can also handle if messages come
   out of order. The acknowledgement objects include their buffer for returned values.

* Lockups occurring in deeper recursion from ServerSocket's OnReceivePacket
   - In OnReceivePacket, saved packet data for later processing, at the top level
   of the DCOMServerThread, in ProcessCalls()

* Mixups, wrong or bad method called back
   - In DCOMClientObject's OnReceivePacket, ensured not to use callMethod object
   after the method is called back, as it is the volatile packet data
   (And OnReceivePacket might have been called back again, invalidating it)

* Blocks on client showing up in wrong color (Turn confusion)
* Another rare occurence when running tests, was a new GameStarted getting sent in
  between two MovePlayed
   - Ensured virtual methods for notifications are sent atomically, by introducing
   the DCOMSendControl class to Stop/Resume sending while sending out notifications
   to all clients.

* Messages something coming out empty (parameter corruption)
   - Used two SerialBuffers instead of one for arguments/return values, as it could
   have been used simultaneously by two threads.
   Modified ecs to generate DCOM bindings using argsBuffer/returnBuffer.

* Lockup on Kick
   - Unlocked GUI lock around Disconnect calls

* Crash at null Blokus on exit
   - Added 'connected' check in DCOMClientObject's OnReceivePacket
   - Moved connection to server from Communication Panel to Blokus Window
     (Might not have been necessary... the connected fix seems to have been the fix,
     but since virtual methods rely on Blokus, it seemed more appropriate)

* Stop Hosting would lock up after connect/disconnect on Linux
   - Added a time out to Service::Process's select
     (It seems the shutdown socket does not interrupt that socket...)
   - Fixed Service's socket value check and assigned value to be -1 instead of 0

12 years agoecere/net/dcom: Worked around a lockup that happened when playing Blokus while messag...
jerome [Wed, 1 Feb 2012 17:22:16 +0000 (00:22 +0700)]
ecere/net/dcom: Worked around a lockup that happened when playing Blokus while messages are fired
- The ServerSocket's 'answered' value was being set to true twice before being reset to false
- Implemented a list of VirtualCall Acknowledgement matching objectID, methodID & callID

12 years agosamples/Blokus: Fixed corner drawing on Linux (x were inverted, X driver didn't like it)
jerome [Wed, 1 Feb 2012 17:06:00 +0000 (00:06 +0700)]
samples/Blokus: Fixed corner drawing on Linux (x were inverted, X driver didn't like it)

12 years agoecere: Fixes to build on Linux
jerome [Wed, 1 Feb 2012 10:50:08 +0000 (17:50 +0700)]
ecere: Fixes to build on Linux

12 years agosamples/blokus: Various usability tweaks
Jerome St-Louis [Tue, 31 Jan 2012 21:30:12 +0000 (04:30 +0700)]
samples/blokus: Various usability tweaks
- Made chat log inactive to not disrupt piece rotation with wheel
- Flashing window on move/join
- Fixed graying out pieces when not player's turn
- Moved Pass button next to the board