sdk
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

12 years agoecere/net: Socket & Distributed Objects tweaks to work around various issues (Blokus)
Jerome St-Louis [Tue, 31 Jan 2012 20:20:41 +0000 (03:20 +0700)]
ecere/net: Socket & Distributed Objects tweaks to work around various issues (Blokus)
* SendMessage collision lockup
   - Instead of just waiting for other thread, process the current thread's object socket
* Various Connect/Disconnect (while messages being fired) crashes and lockups
   - Added Socket::ProcessTimeOut() that times out the select to avoid lockups
   - Modified ecs to add incref/delete in bindings (Interestingly, they had been there in some places before!)
   - Started out reference counts at 1
   - Moved object deletion from DCOMServerObject's OnDisconnect to destructor
   - Added missing guiApp.Lock() in CallMethod() before returning
      (debug check in GuiApplication to verify if something ProcessInput() didn't lock back the GUI)
* Start/Stop game fast lockup
   - Replaced wait for thread semaphore by sleep
      (Added synchronization debugging tools)

12 years agosamples/Blokus: Added confirmation dialogs
Jerome St-Louis [Mon, 30 Jan 2012 17:48:21 +0000 (00:48 +0700)]
samples/Blokus: Added confirmation dialogs

12 years agosamples/Blokus: Final Scores Screen
Jerome St-Louis [Mon, 30 Jan 2012 16:50:49 +0000 (23:50 +0700)]
samples/Blokus: Final Scores Screen

12 years agoecere/net/dcom; compiler/ecs: Improvements to solve interlock and racing conditions...
Jerome St-Louis [Mon, 30 Jan 2012 12:45:54 +0000 (19:45 +0700)]
ecere/net/dcom; compiler/ecs: Improvements to solve interlock and racing conditions in Blokus
- Solved interlock by letting virtual methods that do not return information, return before going into user code
  This way all 4 players can be notified before one such notification ends up waiting on something that will get done
  after notifying all players is completed.
- Solved racing condition involving Server object's virtualsBuffer by locking a mutex around its use
- DCOM bindings generation had to be modified in ecs

12 years agoecere/net: Fixed a bug when using Socket::OnReceivePacket and multiple packets are...
Jerome St-Louis [Sun, 29 Jan 2012 14:31:21 +0000 (21:31 +0700)]
ecere/net: Fixed a bug when using Socket::OnReceivePacket and multiple packets are ready (was discarding current packet before callback)

12 years agoecere/net/dcom: Improved DCOM reentrancy support for calling methods (Experienced...
Jerome St-Louis [Sun, 29 Jan 2012 14:29:59 +0000 (21:29 +0700)]
ecere/net/dcom: Improved DCOM reentrancy support for calling methods (Experienced in auto-passing in Blokus)

12 years agosamples/Blokus: Valid pieces/Game Over Detection
Jerome St-Louis [Sat, 28 Jan 2012 16:51:21 +0000 (23:51 +0700)]
samples/Blokus: Valid pieces/Game Over Detection

12 years agosamples/Blokus: Fixed a deadlock on clicking 'Stop Hosting' while game is running
Jerome St-Louis [Sat, 28 Jan 2012 14:38:09 +0000 (21:38 +0700)]
samples/Blokus: Fixed a deadlock on clicking 'Stop Hosting' while game is running

12 years agosamples/Blokus: Chat support
Jerome St-Louis [Sat, 28 Jan 2012 14:28:11 +0000 (21:28 +0700)]
samples/Blokus: Chat support

12 years agosamples/Blokus: Player & Turn indicators, Various improvements
Jerome St-Louis [Sat, 28 Jan 2012 13:48:41 +0000 (20:48 +0700)]
samples/Blokus: Player & Turn indicators, Various improvements

12 years agosamples/games/blokus: Communication panel
Jerome St-Louis [Sat, 28 Jan 2012 11:08:50 +0000 (18:08 +0700)]
samples/games/blokus: Communication panel

12 years agoecere/net/dcom: Added lock/unlock around DCOM calls and callbacks to safely access...
Jerome St-Louis [Sat, 28 Jan 2012 11:04:35 +0000 (18:04 +0700)]
ecere/net/dcom: Added lock/unlock around DCOM calls and callbacks to safely access GUI API from DCOM object virtual methods

12 years agoecere/networking: Added 'mustLock' to Socket::Free() to prevent network.mutex to...
Jerome St-Louis [Sat, 28 Jan 2012 11:01:27 +0000 (18:01 +0700)]
ecere/networking: Added 'mustLock' to Socket::Free() to prevent network.mutex to remain locked within OnDisconnect

12 years agosamples/Blokus: Initial Networking Support
Jerome St-Louis [Fri, 27 Jan 2012 11:43:23 +0000 (18:43 +0700)]
samples/Blokus: Initial Networking Support

12 years agoextras/gui/skins: Merged in native decorations support for SimSkin
Jerome St-Louis [Thu, 5 Jan 2012 10:59:31 +0000 (05:59 -0500)]
extras/gui/skins: Merged in native decorations support for SimSkin

12 years agoextras/gui/skins: Added missing 'selectionText' property to SimSkin
Jerome St-Louis [Thu, 5 Jan 2012 10:44:34 +0000 (05:44 -0500)]
extras/gui/skins: Added missing 'selectionText' property to SimSkin

12 years agolibec/loadSymbols: Fixed warning where an Iterator was used instead of a MapIterator
Jerome St-Louis [Sat, 31 Dec 2011 17:57:32 +0000 (12:57 -0500)]
libec/loadSymbols: Fixed warning where an Iterator was used instead of a MapIterator

12 years agolibec/ide parsing: Fix for bad memory when opening multiple code editors importing...
Jerome St-Louis [Mon, 12 Dec 2011 00:04:37 +0000 (19:04 -0500)]
libec/ide parsing: Fix for bad memory when opening multiple code editors importing a shared library (e.g. eda) that creates objects
- The module classes were being unregistered when the first loaded up file gets closed
- An extra safety module instance now gets loaded and only gets freed when all referencing editors are closed

12 years agoecere/3D Camera: Fix for fovDirection wrongly defaulting to 'vertical' (rather than...
Jerome St-Louis [Mon, 12 Dec 2011 00:02:44 +0000 (19:02 -0500)]
ecere/3D Camera: Fix for fovDirection wrongly defaulting to 'vertical' (rather than widest) when aspect ratio was not explicitly set

12 years agoide/CodeEditor: Fixes for parsing memory leaks
Jerome St-Louis [Mon, 12 Dec 2011 00:01:32 +0000 (19:01 -0500)]
ide/CodeEditor: Fixes for parsing memory leaks

12 years agocompiler/libec: Fixed parsing memory leaks
Jerome St-Louis [Mon, 5 Dec 2011 05:41:38 +0000 (00:41 -0500)]
compiler/libec: Fixed parsing memory leaks

12 years agoeda/idlist: Fix to invoke data controls' NotifyChanged when currently set data is...
Jerome St-Louis [Sat, 26 Nov 2011 00:27:05 +0000 (19:27 -0500)]
eda/idlist: Fix to invoke data controls' NotifyChanged when currently set data is not present in list

12 years agoecere/gui/ListBox: Fix for deleting sub-rows on a DeleteRow()
Jerome St-Louis [Fri, 25 Nov 2011 22:50:49 +0000 (17:50 -0500)]
ecere/gui/ListBox: Fix for deleting sub-rows on a DeleteRow()

12 years agoide: Fix to update project file dialog directory when adding project to the workspace
Jerome St-Louis [Mon, 21 Nov 2011 17:34:56 +0000 (12:34 -0500)]
ide: Fix to update project file dialog directory when adding project to the workspace

12 years agoeda/ers: Solved a modal lock-up between progress bar and file dialog in CSV reports
Jerome St-Louis [Sat, 19 Nov 2011 20:48:45 +0000 (15:48 -0500)]
eda/ers: Solved a modal lock-up between progress bar and file dialog in CSV reports

12 years agoOrganized some Po editing functionality into a class
Jerome St-Louis [Mon, 7 Nov 2011 05:35:39 +0000 (00:35 -0500)]
Organized some Po editing functionality into a class

12 years agoProper .pot generation (Wrap up http://ecere.com/mantis/view.php?id=649); Updated...
Jerome St-Louis [Mon, 7 Nov 2011 02:21:01 +0000 (21:21 -0500)]
Proper .pot generation (Wrap up ecere.com/mantis/view.php?id=649); Updated bootstrap

12 years agoFixed a bug in renew/renew0 which would prevent from reusing memory
Jerome St-Louis [Thu, 3 Nov 2011 18:29:39 +0000 (14:29 -0400)]
Fixed a bug in renew/renew0 which would prevent from reusing memory

12 years agoide: Fixed memory leak in ProjectView opening files (single return point)
Jerome St-Louis [Tue, 18 Oct 2011 19:09:01 +0000 (15:09 -0400)]
ide: Fixed memory leak in ProjectView opening files (single return point)

12 years agoecere/com: Worked around leak http://ecere.com/mantis/view.php?id=659 issue without...
Jerome St-Louis [Tue, 18 Oct 2011 19:07:00 +0000 (15:07 -0400)]
ecere/com: Worked around leak ecere.com/mantis/view.php?id=659 issue without breaking auto-overriding

12 years agoecere/com: Fix for auto-completion in the 84d925c3301f3a5ecb77146c11bd92060f46eb03...
Jerome St-Louis [Tue, 18 Oct 2011 18:39:34 +0000 (14:39 -0400)]
ecere/com: Fix for auto-completion in the 84d925c3301f3a5ecb77146c11bd92060f46eb03 patch for ecere.com/mantis/view.php?id=659

12 years agosamples/net/SocketSample: comments typos
Jerome St-Louis [Tue, 18 Oct 2011 17:47:04 +0000 (13:47 -0400)]
samples/net/SocketSample: comments typos

12 years agosamples/net: Added a SocketSample to showcase how to use the Ecere Socket and Service...
Jerome St-Louis [Tue, 18 Oct 2011 17:35:20 +0000 (13:35 -0400)]
samples/net: Added a SocketSample to showcase how to use the Ecere Socket and Service classes for TCP/IP networking

12 years agoide:epj: fixed empty description and license written to epj file.
Rejean Loyer [Mon, 17 Oct 2011 22:16:14 +0000 (18:16 -0400)]
ide:epj: fixed empty description and license written to epj file.

12 years agodocumentor: use native decorations.
Rejean Loyer [Mon, 17 Oct 2011 19:56:43 +0000 (15:56 -0400)]
documentor: use native decorations.

12 years agodocumentor: added application icon.
Rejean Loyer [Mon, 17 Oct 2011 19:55:50 +0000 (15:55 -0400)]
documentor: added application icon.

12 years agomakefiles: single file per line for all file lists in all makefiles.
Rejean Loyer [Tue, 18 Oct 2011 01:44:57 +0000 (21:44 -0400)]
makefiles: single file per line for all file lists in all makefiles.

12 years agoide/epj2make: makefile generation: print a single file per line for all file lists...
Rejean Loyer [Tue, 18 Oct 2011 02:12:28 +0000 (22:12 -0400)]
ide/epj2make: makefile generation: print a single file per line for all file lists in order to be diff friendly.

12 years agocompiler:libec: fix for null pointer crash. not sure how to reproduce.
Rejean Loyer [Mon, 17 Oct 2011 19:50:41 +0000 (15:50 -0400)]
compiler:libec: fix for null pointer crash. not sure how to reproduce.

12 years agoecere: Temporary patch for http://ecere.com/mantis/view.php?id=659 (Leak instead...
Jerome St-Louis [Mon, 17 Oct 2011 23:04:17 +0000 (19:04 -0400)]
ecere: Temporary patch for ecere.com/mantis/view.php?id=659 (Leak instead of crashing)
A proper fix would be to ensure hierarchies are established in firstPass.ec before assigning Method objects to AST elements

12 years agoide: Fix for 'Copying include directories from one compiler to the next does not...
Jerome St-Louis [Mon, 17 Oct 2011 23:03:10 +0000 (19:03 -0400)]
ide: Fix for 'Copying include directories from one compiler to the next does not save when switching compiler'

12 years agoide: Memory leaks fixes
Jerome St-Louis [Mon, 17 Oct 2011 06:39:36 +0000 (02:39 -0400)]
ide: Memory leaks fixes
See note in ProjectConfig.ec regarding the JSON parser deleting string values set to properties

12 years agoecere:Stacker; extras:SelectorBar: Further fixes to Stacker and SelectorBar addressin...
Jerome St-Louis [Mon, 17 Oct 2011 06:34:45 +0000 (02:34 -0400)]
ecere:Stacker; extras:SelectorBar: Further fixes to Stacker and SelectorBar addressing memory leaks
* We needed to add a buttons holder to SelectorBar because the Stacker only keeps track of created controls
* Took out the 'delete child' from the Stacker's DestroyChildren(), because all the dereferencing that
was required to match the incref's within the Stacker was done by the controls.Free()
* These fixes are related to the problems http://ecere.com/mantis/view.php?id=656 and http://ecere.com/mantis/view.php?id=657
that led to a revert of the FlipStacker code: https://github.com/ecere/sdk/commit/28a771133cb578c040cf7f6e06588400eb3103ec

12 years agoecere:GlobalAppSettings: Now preferring .ini extension over .[app]rc on Windows when...
Jerome St-Louis [Mon, 17 Oct 2011 06:22:56 +0000 (02:22 -0400)]
ecere:GlobalAppSettings: Now preferring .ini extension over .[app]rc on Windows when HOME is set

12 years agoecere:Window: Fixed nulling out the 'activeChild' member of parent when destroying...
Jerome St-Louis [Mon, 17 Oct 2011 06:12:21 +0000 (02:12 -0400)]
ecere:Window: Fixed nulling out the 'activeChild' member of parent when destroying a child window that has not yet been created
It seems the parent's active child can still get modified if all windows are not yet created
Window::ActivateEx checks for '!destroyed', but does not check for 'created'
(Adding && !created to that ActivateEx check was an alternative fix, but this fix seemed safer)

12 years agoeda/edb: Proper fix for http://ecere.com/mantis/view.php?id=646 (fb5b0907e281e269dcb0...
Jerome St-Louis [Sun, 16 Oct 2011 18:59:10 +0000 (14:59 -0400)]
eda/edb: Proper fix for ecere.com/mantis/view.php?id=646 (fb5b0907e281e269dcb01ab1a14fe5b00f79639a introduced a bug)

12 years agoide/Project: Fixed a major memory leak in platformSpecificFu property (exclusionInfo...
Jerome St-Louis [Sun, 16 Oct 2011 08:33:18 +0000 (04:33 -0400)]
ide/Project: Fixed a major memory leak in platformSpecificFu property (exclusionInfo map was not deleted)

12 years agoide/Project: Fixes to prevent ever saving empty arrays/objects [ Comprehensive fix...
Jerome St-Louis [Sun, 16 Oct 2011 04:43:25 +0000 (00:43 -0400)]
ide/Project: Fixes to prevent ever saving empty arrays/objects [ Comprehensive fix for ecere.com/mantis/view.php?id=527 ]
e.g. to fix a .epj with arrays/objects already empty
Implemented as properties in ProjectNode: options, platforms and configurations; Smart handling of topNode mirroring project's
Implemented as properties in ProjectConfig: options and platforms
Implemented as properties in Project: options and platforms
When these properties are set, the ownership of the value is transferred to the object
Careful not to call delete on those properties, the assignment to null will crash! http://ecere.com/mantis/view.php?id=658
The Project's topNode's properties automatically map the Project's, so they should not be accessed within ProjectNode as data members

12 years agoide: Added extra checks to ProjectOptions::isEmpty for includeDirs, libraryDirs and...
Jerome St-Louis [Sat, 15 Oct 2011 20:01:24 +0000 (16:01 -0400)]
ide: Added extra checks to ProjectOptions::isEmpty for includeDirs, libraryDirs and pre/post build commands [ Core fix for ecere.com/mantis/view.php?id=527 ]

12 years agoide: Fixed another i18n string mistake on File Reload; Commented out unused code...
Jerome St-Louis [Sat, 15 Oct 2011 19:58:13 +0000 (15:58 -0400)]
ide: Fixed another i18n string mistake on File Reload; Commented out unused code in Workspace

12 years agoecere/MemoryGuard: Added check in eInstance_Delete to prevent crash and see MemoryGua...
Jerome St-Louis [Sat, 15 Oct 2011 19:53:03 +0000 (15:53 -0400)]
ecere/MemoryGuard: Added check in eInstance_Delete to prevent crash and see MemoryGuard info on object double-deletion

12 years agoMerge pull request #1 from darkf/master
Ecere Corporation [Fri, 14 Oct 2011 06:19:23 +0000 (23:19 -0700)]
Merge pull request #1 from darkf/master

Fix mantis issue 655

12 years agoRevert "ecere:Stacker: added FlipStacker class to support stacking from both end...
Jerome St-Louis [Fri, 14 Oct 2011 06:12:07 +0000 (02:12 -0400)]
Revert "ecere:Stacker: added FlipStacker class to support stacking from both end of the stack."
The Stacker is used in the crucial GlobalSettingsDialog and is not a place for experimental code. Segfaults and Memory leaks causing a major setbacks in the IDE's useability. The OnResize() implementation is way too complicated and prone to such problems.

This reverts commit b589a174573a6fd7d136c41fe0c0828df24f46ac.

12 years agoRevert "ecere:Stacker: fixed order of non visible controls not remembered. setting...
Jerome St-Louis [Fri, 14 Oct 2011 06:11:58 +0000 (02:11 -0400)]
Revert "ecere:Stacker: fixed order of non visible controls not remembered. setting visible to true when originally false was moving the child window at the end of the stack."
The Stacker is used in the crucial GlobalSettingsDialog and is not a place for experimental code. Segfaults and Memory leaks causing a major setbacks in the IDE's useability. The OnResize() implementation is way too complicated and prone to such problems.

This reverts commit 30d7efdad14b25f651f86f6293044f2cc9f57d25.

12 years agoRevert "ecere:Stacker: fixed spring feature not properly implemented for all directio...
Jerome St-Louis [Fri, 14 Oct 2011 06:11:54 +0000 (02:11 -0400)]
Revert "ecere:Stacker: fixed spring feature not properly implemented for all directions/orders"
The Stacker is used in the crucial GlobalSettingsDialog and is not a place for experimental code. Segfaults and Memory leaks causing a major setbacks in the IDE's useability. The OnResize() implementation is way too complicated and prone to such problems.

This reverts commit 832efbbe6f459a49c76700af9b09ab46cb8f50b9.

12 years agoRevert "ecere/controls/Stacker: Moved the delete and Free() of controlsDirA & B to...
Jerome St-Louis [Fri, 14 Oct 2011 06:09:18 +0000 (02:09 -0400)]
Revert "ecere/controls/Stacker: Moved the delete and Free() of controlsDirA & B to fix memory leak; Added conditions to deletion of controls in oldControls array as an attempt to fix ecere.com/mantis/view.php?id=656"
The Stacker is used in the crucial GlobalSettingsDialog and is not a place for experimental code. Segfaults and Memory leaks causing a major setbacks in the IDE's useability. The OnResize() implementation is way too complicated and prone to such problems.

This reverts commit 0ff8d61afda2a538b2445c0ee86b82f175d43387.