Rejean Loyer [Tue, 15 Apr 2014 05:44:16 +0000 (01:44 -0400)]
ide: no functional change. rename various debug print line function calls. use ecere-sdk/extras/include/dpl.ec file.
Rejean Loyer [Tue, 15 Apr 2014 03:49:22 +0000 (23:49 -0400)]
extras: add debug print line debugging tools.
Rejean Loyer [Wed, 19 Mar 2014 11:57:29 +0000 (07:57 -0400)]
ecere/sys/GlobalSettings: add GlobalSettings::settingsDirectory property to support specifying a subdirectory for the location of the settings file.
- allow setting GlobalSettings::settingsDirectory::settingsFilePath property to specify a custom location for the settings file.
- reuse code with new GetFilePath function.
Rejean Loyer [Mon, 2 Jun 2014 07:47:13 +0000 (03:47 -0400)]
ecere/sys/Time: add missing SecSince1970::OnGetDataFromString.
Rejean Loyer [Mon, 2 Jun 2014 07:46:30 +0000 (03:46 -0400)]
ecere/sys/JSON: add support for unit classes, struct members and null strings.
Rejean Loyer [Wed, 11 Jun 2014 20:36:40 +0000 (16:36 -0400)]
ecere/sys/GlobalSettings: fix settingsFilePath deleted even if FileOpenTryWrite opens file successfully.
Rejean Loyer [Wed, 18 Jun 2014 04:19:28 +0000 (00:19 -0400)]
tarball/ecere: make use of openssl detection's variables for include, bin and lib directories on windows.
Jerome St-Louis [Thu, 19 Jun 2014 05:23:18 +0000 (01:23 -0400)]
ecere/sys/JSON: (#1085) Map Support
- Fixed some crashes on null types
- Fixed generating syntax error on empty objects
- Also fixed some int/pointer warnings
Jerome St-Louis [Wed, 18 Jun 2014 22:30:45 +0000 (18:30 -0400)]
ecere/gui/Window: (#1083, #1084) Fixed MouseLeave related crashes
- Had missed the scenario where the mouse goes back from over a child to over the parent
Jerome St-Louis [Wed, 18 Jun 2014 16:53:17 +0000 (12:53 -0400)]
documentor; compiler/libec: Fixed crashes opening libraries
- Since
daa244a0463d1dd97a42826cb44ff05278caf323 menus were getting messed up
and Documentor would crash on exit after opening an ecere.dll/.so
Jerome St-Louis [Tue, 17 Jun 2014 17:20:00 +0000 (13:20 -0400)]
ecere: Makefile;net/SSLSocket: Fixes for SSL support
Jerome St-Louis [Tue, 17 Jun 2014 03:59:57 +0000 (23:59 -0400)]
compiler/libec: Reordered global instances deletion
- Deleting in reverse order than creation to solve tricky reference issues
Jerome St-Louis [Tue, 17 Jun 2014 03:58:06 +0000 (23:58 -0400)]
compiler/libec: Fixed missing braces in generated code for array types
- This fixes warnings on Matrix m { }
Jerome St-Louis [Tue, 17 Jun 2014 03:50:12 +0000 (23:50 -0400)]
ecere/gui/DataBox: Fix crash on null 'data' from Form Designer
Jerome St-Louis [Sun, 15 Jun 2014 06:42:40 +0000 (02:42 -0400)]
ecere/gui/Window: (#1083) Tweaked last commit
- Calling OnMouseLeave for remembered ancestors from Destroy()
Jerome St-Louis [Sun, 15 Jun 2014 03:50:00 +0000 (23:50 -0400)]
ecere/gui/Window: (#1083) Fixed stuck tooltips, stuck/crashing IDE
- Problem was introduced with
ab4dde3bdaf6541408ad30b6252c63ca4af5fa80, not calling OnMouseLeave while still over child windows
- Now keeping a list of ancestors to call OnMouseLeave for
Jerome St-Louis [Fri, 13 Jun 2014 10:07:32 +0000 (06:07 -0400)]
compiler; ecere; ide; eda: Fixed 32 bit warnings
Jerome St-Louis [Thu, 12 Jun 2014 21:55:44 +0000 (17:55 -0400)]
compiler/libec; ecere: Fixed MemoryGuard config warnings
Jerome St-Louis [Thu, 12 Jun 2014 19:59:13 +0000 (15:59 -0400)]
ecere; eda: More release warnings fixes
Jerome St-Louis [Thu, 12 Jun 2014 19:40:40 +0000 (15:40 -0400)]
compiler/libec: Warning on pointers to class incompatible with pointer to pointer
- Updated bootstrap
Jerome St-Louis [Thu, 12 Jun 2014 19:30:50 +0000 (15:30 -0400)]
ecere; ide: Fixed Release config warnings
Jerome St-Louis [Thu, 12 Jun 2014 14:53:52 +0000 (10:53 -0400)]
ide/GlobalSettingsDialog: Added missing room for edit boxes on Linux
Jerome St-Louis [Thu, 12 Jun 2014 14:40:33 +0000 (10:40 -0400)]
compiler/libec; ide/CodeEditor: Fixes to not resolve enums through bool conversion
Jerome St-Louis [Thu, 12 Jun 2014 13:58:07 +0000 (09:58 -0400)]
compiler tools; epj2make: Fixed printf security warnings
Jerome St-Louis [Thu, 12 Jun 2014 13:53:00 +0000 (09:53 -0400)]
ide: Fixed remaining warning in Linux
Jerome St-Louis [Thu, 12 Jun 2014 07:37:44 +0000 (03:37 -0400)]
compiler/libec: Fixed warnings in generated code for incompatible pointer types
- Extending class objects casts to operator expressions in addition to args
- Silencing passing pointers to a function expecting a void ** arg
- Casting to void * when passing as typed_object &
(Should really be a void * rather than a void **, but that might require
tweaking code generated for classes methods if not already explicitly casted)
Jerome St-Louis [Thu, 12 Jun 2014 03:33:22 +0000 (23:33 -0400)]
compiler/libec: Added missing casts in generated code from pass2
Jerome St-Louis [Thu, 12 Jun 2014 03:23:31 +0000 (23:23 -0400)]
compiler/libec: Improved detection of incompatible pointer types
- Added an additional check based on type size, as the compiler
would previously not warn for assigning a uint16 * to a uint *
- Fixed type size computation for C structs (as included in C headers)
- Fixed FindType()'s null check to be for the context passed in rather than 'curContext'
(assuming that was the original intent)
Jerome St-Louis [Thu, 12 Jun 2014 03:19:18 +0000 (23:19 -0400)]
compiler/libec: Recognizing wide strings (L"text") distinctly
- Typed as uint16 * for now
Jerome St-Louis [Thu, 12 Jun 2014 02:40:18 +0000 (22:40 -0400)]
ide/project; compiler: Fixed IDE hangs on numerous syntax errors
- Added GetLinePeek() to DualPipe class
- Modified ProcessBuildPipeOutput() to make use of GetLinePeek()
- Calling fflush() on stdout from compiler
- Did not apply to other IDE/Project locations where GetLine() is used with pipes
(ProcessCleanPipeOutput(), Build() when eC_Debug is on, ProcessPipeOutputRaw() when justPrint or isVC is on)
Jerome St-Louis [Wed, 11 Jun 2014 03:33:34 +0000 (23:33 -0400)]
compiler/libec: Casts where function pointers are expected
- This solves warnings on functions expecting void *
- The eC compiler already verifies compatibility
- Also renamed CopyExpContents to MoveExpContents to clarify it does not make a copy like CopyExpression does
- Fixed broken IsVoidPtrCast() -- must be careful with the extra 'pointer' struct in Declarator class
Jerome St-Louis [Tue, 10 Jun 2014 23:13:06 +0000 (19:13 -0400)]
compiler/libec: Fixed indirection level on non-typed object virtual call
- Correction to
e9e01f2469c7146caee71e28071701886d78846c
Jerome St-Louis [Tue, 10 Jun 2014 22:23:42 +0000 (18:23 -0400)]
compiler/libec/bootstrap: updated bootstrap with __const fix
Jerome St-Louis [Tue, 10 Jun 2014 22:14:41 +0000 (18:14 -0400)]
compiler/libec/lexer: Understanding __const as const to fix warnings building on older Ubuntus
Jerome St-Louis [Tue, 10 Jun 2014 19:04:30 +0000 (15:04 -0400)]
compiler/libec: Generated code warning fixes (unused stuff)
- Marking potentially unused things as unused
Jerome St-Louis [Tue, 10 Jun 2014 07:19:01 +0000 (03:19 -0400)]
compiler/libec: (#598) Reverting last commit
Not warning, because it is correct C, and GCC already issues a warning regarding
an unused label which will serve the intended purpose.
Jerome St-Louis [Tue, 10 Jun 2014 06:47:11 +0000 (02:47 -0400)]
compiler/libec: (#598) Warn for labeled statements directly under a case statement
- Also fixed warning strings in grammar.y to be internationalizable
Jerome St-Louis [Tue, 10 Jun 2014 06:05:37 +0000 (02:05 -0400)]
ide/Project: (#241) Seeing GCC warnings when building from IDE
- Also fixed remaining warnings in documentor, epj2make, extras and samples
- Now that the warnings from the generated C code have been limited, we filter out only those warnings which have not yet been fixed.
- Remaining warnings (which will be addressed by #685) are related to:
- A few more potentially unused generated eC declarations (will mark with unused)
- Incompatible function pointers and void ** (will need to generate casts)
- Declaration ordering problems (e.g. declared inside parameter list, we'll fix this with the topo sort in #26)
- Warnings coming out of objidl.h from MinGW-w64 (declaration does not declare anything)
- Warnings in release mode
- Warnings compiling in 32 bit (will need to add (u)intptr casts prior)
Jerome St-Louis [Tue, 10 Jun 2014 05:23:46 +0000 (01:23 -0400)]
compiler/libec; ecere: Support for checking platform as a compile time constant
- This addresses format specifier warnings
Jerome St-Louis [Mon, 9 Jun 2014 19:58:00 +0000 (15:58 -0400)]
compiler/libec: Fixed warning on CustomAVLTree<T>.root.Find()
- Always resetting destType on member exps
Jerome St-Louis [Mon, 9 Jun 2014 19:05:42 +0000 (15:05 -0400)]
compiler/libec: Fixed missing cast assigning data to a MapIterator
Jerome St-Louis [Mon, 9 Jun 2014 18:29:50 +0000 (14:29 -0400)]
compiler/libec: Fixed reference level assigning a struct to a map
Jerome St-Louis [Mon, 9 Jun 2014 07:55:07 +0000 (03:55 -0400)]
compiler/libec: Fixed null pointer crash
Jerome St-Louis [Mon, 9 Jun 2014 07:55:32 +0000 (03:55 -0400)]
ide/CodeEditor: Fixed s/NamedLink/NamedLink64 omission in last commit
Jerome St-Louis [Mon, 9 Jun 2014 03:57:15 +0000 (23:57 -0400)]
compiler/libec; ecere: Fixed 64 bit enums and related warnings
- Fixed misdirected strto* functions
Jerome St-Louis [Sun, 8 Jun 2014 02:05:19 +0000 (22:05 -0400)]
compiler/libec: Fixed warnings on class_data and (sub)class properties
Jerome St-Louis [Sun, 8 Jun 2014 01:53:52 +0000 (21:53 -0400)]
compiler/ecs: Marking '_class' as unused in symbol loader to avoid warnings
Jerome St-Louis [Sat, 7 Jun 2014 20:55:04 +0000 (16:55 -0400)]
compiler/libec: Fixed recent memory leak on list initializers identifiers
Jerome St-Louis [Sat, 7 Jun 2014 07:41:14 +0000 (03:41 -0400)]
ecere/gui/FormDesigner: Fixed leaking ToolTips
- Calling CommonControls' OnDestroy for controls in the form designer
Jerome St-Louis [Sat, 7 Jun 2014 00:56:25 +0000 (20:56 -0400)]
compiler/libec: Fixed MemoryGuard issue returning void *[1] as any_object
- This was causing the IDE to crash in MemoryGuard config bringing up a FileDialog
Jerome St-Louis [Fri, 6 Jun 2014 22:46:06 +0000 (18:46 -0400)]
ide/designer: Fixed closing Designer window when source file in use by Debugger
Jerome St-Louis [Thu, 5 Jun 2014 18:15:59 +0000 (14:15 -0400)]
ecere: Corrected Linux warning fixes for Windows; compiler/bootstrap: Updated
Jerome St-Louis [Thu, 5 Jun 2014 18:07:21 +0000 (14:07 -0400)]
compiler/libec: Improvements to struct and class:struct casts
- Improvements to
09957697964db4ebc39fd1363f2e8dffa47dcf38
- Was missing a cast in ast.ec
- Avoiding unneeded casts
Jerome St-Louis [Thu, 5 Jun 2014 15:51:06 +0000 (11:51 -0400)]
ecere/net/SSLSocket: Fixed compilation with ECERE_NOSSL
Jerome St-Louis [Thu, 5 Jun 2014 14:07:25 +0000 (10:07 -0400)]
sdk: Fixed more Linux specific warnings
Jerome St-Louis [Thu, 5 Jun 2014 06:57:32 +0000 (02:57 -0400)]
compiler/libec: Fixed mistake in last commit
- Was accessing templateParameter member without ensuring we're dealing with a template type
Jerome St-Louis [Thu, 5 Jun 2014 05:45:27 +0000 (01:45 -0400)]
compiler/libec: Fixed warnings for related struct (and class:struct) classes
- Added void * casts
- Marked destType for this objects memberExps
Rejean Loyer [Tue, 3 Jun 2014 15:44:15 +0000 (11:44 -0400)]
buildsystem: fix escaped space within quotes in REPOSITORY_VER causing compilation warning.
Jerome St-Louis [Wed, 4 Jun 2014 17:05:32 +0000 (13:05 -0400)]
ide/designer/Sheet: Commented out unused GetPropValue() giving out warnings
- At the moment, functions returning 'any_object' can only return float/double by reference
Jerome St-Louis [Wed, 4 Jun 2014 17:04:32 +0000 (13:04 -0400)]
ide/CodeEditor: Added missing null checks locating AST elements
- Fixed crash on Min(Max(
Jerome St-Louis [Wed, 4 Jun 2014 04:13:56 +0000 (00:13 -0400)]
sdk: Fixed many warnings and related problems
Jerome St-Louis [Wed, 4 Jun 2014 03:27:51 +0000 (23:27 -0400)]
compiler/libec: Added warning on deleting const qualified object
Jerome St-Louis [Wed, 4 Jun 2014 03:23:37 +0000 (23:23 -0400)]
compiler/libec/pass16: Fixed losing prev/next pointer manipulating expression
- Index() was losing an argument:
class MyClass : struct { }
MapIterator<MyClass, int> it { };
it.Index({ }, false);
Jerome St-Louis [Wed, 4 Jun 2014 03:17:47 +0000 (23:17 -0400)]
compiler/libec: Added casts for template types to fix warnings in generated code
Jerome St-Louis [Tue, 3 Jun 2014 03:57:48 +0000 (23:57 -0400)]
compiler/libec; ecere: (#158, #305) Taking advantage of new DataType Size vs Struct size
Jerome St-Louis [Mon, 2 Jun 2014 02:17:31 +0000 (22:17 -0400)]
compiler/libec: Fixed missing brackets casting right side of bit class member assignment
Jerome St-Louis [Mon, 2 Jun 2014 01:44:01 +0000 (21:44 -0400)]
compiler/libec: Fixed new memory leaks
Jerome St-Louis [Sun, 1 Jun 2014 21:30:45 +0000 (17:30 -0400)]
Fixed more warnings.
Jerome St-Louis [Sun, 1 Jun 2014 21:28:27 +0000 (17:28 -0400)]
compiler/libec: (#99) Avoiding anon struct/unions in favor of supporting GCC 4.4 (Lucid)
Jerome St-Louis [Sat, 31 May 2014 19:04:40 +0000 (15:04 -0400)]
compiler/libec/pass2: Fixed crash on missing member of member expression
- e.g. exp. = 0
Jerome St-Louis [Sat, 31 May 2014 17:52:00 +0000 (13:52 -0400)]
compiler/libec:MemoryGuard: Fixed MG not to require silly casts
Jerome St-Louis [Sat, 31 May 2014 17:13:04 +0000 (13:13 -0400)]
eda/EDASQLite: Fixed resetting locking mode to normal before closing database
- From http://www.sqlite.org/pragma.html:
Database locks obtained by a connection in EXCLUSIVE mode may be released either by closing the database connection,
or by setting the locking-mode back to NORMAL using this pragma and then accessing the database file (for read or write).
Simply setting the locking-mode to NORMAL is not enough - locks are not released until the next time the database file is accessed.
Jerome St-Louis [Fri, 30 May 2014 21:35:58 +0000 (17:35 -0400)]
compiler/libec/output: Setting line numbers on all declaration
- Some GCC warnings were coming up on the generated C file
Jerome St-Louis [Fri, 30 May 2014 18:27:58 +0000 (14:27 -0400)]
eda; eda/SQLite: More warnings fixes
Jerome St-Louis [Fri, 30 May 2014 03:21:04 +0000 (23:21 -0400)]
compiler/libec; eda, extras: const fixes for DB apps
Jerome St-Louis [Fri, 30 May 2014 03:21:40 +0000 (23:21 -0400)]
ecere/com/instance: Fixed confusion with private member
- When a private member was declared before a public property with the same name
Jerome St-Louis [Thu, 29 May 2014 16:52:08 +0000 (12:52 -0400)]
ide/debugger/watches: Fixed stack overflow evaluating expressions e.g. < exp > as returned by GDB
Jerome St-Louis [Wed, 28 May 2014 20:16:19 +0000 (16:16 -0400)]
sdk: const correctness
Jerome St-Louis [Tue, 27 May 2014 15:53:43 +0000 (11:53 -0400)]
Fixed many warnings
Jerome St-Louis [Tue, 27 May 2014 08:33:28 +0000 (04:33 -0400)]
compiler/libec: Fix for sizeof to be of uintsize type
Jerome St-Louis [Tue, 27 May 2014 05:02:32 +0000 (01:02 -0400)]
compiler/libec: (#99) Improved handling of brackets instantiations, using C99 '.member = ' for initializing unions
Jerome St-Louis [Tue, 27 May 2014 04:34:52 +0000 (00:34 -0400)]
compiler/libec: (#276) Fixed mistake introduced in
d3a2010cf68cf33b7f4deab52e2929beb402519b
Jerome St-Louis [Mon, 26 May 2014 18:15:49 +0000 (14:15 -0400)]
compiler/libec: (#341, #351, #644, #771) Improved enum type matching and type handling of operator expressions
ecere, ide, eda, samples: Fixed related warnings
- Solved enum types popping up in auto-complete when they shouldn't, e.g. when there are available conversions through base types (#341, #351)
- Fixed issues encountered in samples/games/CornerBlocks (#644)
- An eC enum type minus an eC enum type will give an int rather than en enum
- Validating constant expressions assigned to an enum based on max value, otherwise warning as incompatible (affects bool as well)
- Not applying unit destination type to operands of an operator expression if the unit type is the base unit class (e.g. Angle rather than Radians) (#771)
- Added a conversion property from MinMaxValue to AnchorValue, as it is common to use size values to specify anchors values and it would
no longer go through the 'int' conversion property
Jerome St-Louis [Mon, 26 May 2014 16:38:02 +0000 (12:38 -0400)]
compiler/libec: Fixed various memory leaks and bugs
Jerome St-Louis [Fri, 23 May 2014 09:45:09 +0000 (05:45 -0400)]
ecere/sys/Time: (#500) Cleaned up code following compiler fixes
Jerome St-Louis [Fri, 23 May 2014 09:28:43 +0000 (05:28 -0400)]
samples: Various tweaks
Jerome St-Louis [Fri, 23 May 2014 09:23:27 +0000 (05:23 -0400)]
compiler/libec: Fixed processing DB expressions within setting class properties
Jerome St-Louis [Fri, 23 May 2014 09:22:21 +0000 (05:22 -0400)]
compiler/libec: (#699) Fixed ++ and -- for units
Jerome St-Louis [Fri, 23 May 2014 09:18:42 +0000 (05:18 -0400)]
compiler/libec: (#501, #503) Fixed mistake in commit
220a0e2b26f0b1b27317bf64e157f38b01ef2a47
Jerome St-Louis [Fri, 23 May 2014 09:17:30 +0000 (05:17 -0400)]
compiler/libec: Fixed crash on 'property not found' message
Jerome St-Louis [Thu, 22 May 2014 14:33:07 +0000 (10:33 -0400)]
ecere/com/dataTypes: Fixed IDE crashes caused by recomputing type size for Strings
- Marking String classes as not recomputing size to avoid assuming the 12/24 bytes from Instance
Jerome St-Louis [Thu, 22 May 2014 14:30:37 +0000 (10:30 -0400)]
ecere/gui/Window: Fixed wrong number of client windows when changing isActiveClient
- This had the rubber duck messing up the tiling/cascading of windows in the IDE
Jerome St-Louis [Thu, 22 May 2014 14:29:42 +0000 (10:29 -0400)]
ide/gui/Window: Fixed menu bar messing up available space for tiling/cascading
- This was noticed in MDISample
Jerome St-Louis [Thu, 22 May 2014 14:27:06 +0000 (10:27 -0400)]
ide/CodeEditor: Fixed enumeration values coming up when we don't want them
- Non-class types (e.g. integral types) should not list enum values, even
for enums providing a conversion property for them
Jerome St-Louis [Thu, 22 May 2014 14:25:04 +0000 (10:25 -0400)]
ide/debugger/watches: Fixed crashes on operators with only a right operand
- Was using unitialized memory, not computing operand
Jerome St-Louis [Thu, 22 May 2014 14:22:04 +0000 (10:22 -0400)]
ide/debugger/watches: Fixed reparsing of negative values
- They were being parsed as an opExp and losing Type and constant status
Jerome St-Louis [Thu, 22 May 2014 14:20:26 +0000 (10:20 -0400)]
ide/debugger/rubber duck: Work around for hiding duck
Jerome St-Louis [Thu, 22 May 2014 14:18:01 +0000 (10:18 -0400)]
compiler/libec/grammar: Accepting trailing semi colon after enumerators in eC enum
Jerome St-Louis [Wed, 21 May 2014 03:19:02 +0000 (23:19 -0400)]
ide/CodeEditor/AutoCompletion: (#1020) Fixed parameters not coming up on methods
Jerome St-Louis [Wed, 21 May 2014 03:06:51 +0000 (23:06 -0400)]
ide/debugger/watches: Fixed recent memory corruption mistakes