sdk
9 years agocompiler/libec: Improved detection of incompatible pointer types
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)

9 years agocompiler/libec: Recognizing wide strings (L"text") distinctly
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

9 years agoide/project; compiler: Fixed IDE hangs on numerous syntax errors
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)

9 years agocompiler/libec: Casts where function pointers are expected
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

9 years agocompiler/libec: Fixed indirection level on non-typed object virtual call
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

9 years agocompiler/libec/bootstrap: updated bootstrap with __const fix
Jerome St-Louis [Tue, 10 Jun 2014 22:23:42 +0000 (18:23 -0400)]
compiler/libec/bootstrap: updated bootstrap with __const fix

9 years agocompiler/libec/lexer: Understanding __const as const to fix warnings building on...
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

9 years agocompiler/libec: Generated code warning fixes (unused stuff)
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

9 years agocompiler/libec: (#598) Reverting last commit
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.

9 years agocompiler/libec: (#598) Warn for labeled statements directly under a case statement
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

9 years agoide/Project: (#241) Seeing GCC warnings when building from IDE
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)

9 years agocompiler/libec; ecere: Support for checking platform as a compile time constant
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

9 years agocompiler/libec: Fixed warning on CustomAVLTree<T>.root.Find()
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

9 years agocompiler/libec: Fixed missing cast assigning data to a MapIterator
Jerome St-Louis [Mon, 9 Jun 2014 19:05:42 +0000 (15:05 -0400)]
compiler/libec: Fixed missing cast assigning data to a MapIterator

9 years agocompiler/libec: Fixed reference level assigning a struct to a map
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

9 years agocompiler/libec: Fixed null pointer crash
Jerome St-Louis [Mon, 9 Jun 2014 07:55:07 +0000 (03:55 -0400)]
compiler/libec: Fixed null pointer crash

9 years agoide/CodeEditor: Fixed s/NamedLink/NamedLink64 omission in last commit
Jerome St-Louis [Mon, 9 Jun 2014 07:55:32 +0000 (03:55 -0400)]
ide/CodeEditor: Fixed s/NamedLink/NamedLink64 omission in last commit

9 years agocompiler/libec; ecere: Fixed 64 bit enums and related warnings
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

9 years agocompiler/libec: Fixed warnings on class_data and (sub)class properties
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

9 years agocompiler/ecs: Marking '_class' as unused in symbol loader to avoid warnings
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

9 years agocompiler/libec: Fixed recent memory leak on list initializers identifiers
Jerome St-Louis [Sat, 7 Jun 2014 20:55:04 +0000 (16:55 -0400)]
compiler/libec: Fixed recent memory leak on list initializers identifiers

9 years agoecere/gui/FormDesigner: Fixed leaking ToolTips
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

9 years agocompiler/libec: Fixed MemoryGuard issue returning void *[1] as any_object
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

9 years agoide/designer: Fixed closing Designer window when source file in use by Debugger
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

9 years agoecere: Corrected Linux warning fixes for Windows; compiler/bootstrap: Updated
Jerome St-Louis [Thu, 5 Jun 2014 18:15:59 +0000 (14:15 -0400)]
ecere: Corrected Linux warning fixes for Windows; compiler/bootstrap: Updated

9 years agocompiler/libec: Improvements to struct and class:struct casts
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

9 years agoecere/net/SSLSocket: Fixed compilation with ECERE_NOSSL
Jerome St-Louis [Thu, 5 Jun 2014 15:51:06 +0000 (11:51 -0400)]
ecere/net/SSLSocket: Fixed compilation with ECERE_NOSSL

9 years agosdk: Fixed more Linux specific warnings
Jerome St-Louis [Thu, 5 Jun 2014 14:07:25 +0000 (10:07 -0400)]
sdk: Fixed more Linux specific warnings

9 years agocompiler/libec: Fixed mistake in last commit
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

9 years agocompiler/libec: Fixed warnings for related struct (and class:struct) classes
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

9 years agobuildsystem: fix escaped space within quotes in REPOSITORY_VER causing compilation...
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.

9 years agoide/designer/Sheet: Commented out unused GetPropValue() giving out warnings
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

9 years agoide/CodeEditor: Added missing null checks locating AST elements
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(

9 years agosdk: Fixed many warnings and related problems
Jerome St-Louis [Wed, 4 Jun 2014 04:13:56 +0000 (00:13 -0400)]
sdk: Fixed many warnings and related problems

9 years agocompiler/libec: Added warning on deleting const qualified object
Jerome St-Louis [Wed, 4 Jun 2014 03:27:51 +0000 (23:27 -0400)]
compiler/libec: Added warning on deleting const qualified object

9 years agocompiler/libec/pass16: Fixed losing prev/next pointer manipulating expression
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);

9 years agocompiler/libec: Added casts for template types to fix warnings in generated code
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

9 years agocompiler/libec; ecere: (#158, #305) Taking advantage of new DataType Size vs Struct...
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

9 years agocompiler/libec: Fixed missing brackets casting right side of bit class member assignment
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

9 years agocompiler/libec: Fixed new memory leaks
Jerome St-Louis [Mon, 2 Jun 2014 01:44:01 +0000 (21:44 -0400)]
compiler/libec: Fixed new memory leaks

9 years agoFixed more warnings.
Jerome St-Louis [Sun, 1 Jun 2014 21:30:45 +0000 (17:30 -0400)]
Fixed more warnings.

9 years agocompiler/libec: (#99) Avoiding anon struct/unions in favor of supporting GCC 4.4...
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)

9 years agocompiler/libec/pass2: Fixed crash on missing member of member expression
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

9 years agocompiler/libec:MemoryGuard: Fixed MG not to require silly casts
Jerome St-Louis [Sat, 31 May 2014 17:52:00 +0000 (13:52 -0400)]
compiler/libec:MemoryGuard: Fixed MG not to require silly casts

9 years agoeda/EDASQLite: Fixed resetting locking mode to normal before closing database
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.

9 years agocompiler/libec/output: Setting line numbers on all declaration
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

9 years agoeda; eda/SQLite: More warnings fixes
Jerome St-Louis [Fri, 30 May 2014 18:27:58 +0000 (14:27 -0400)]
eda; eda/SQLite: More warnings fixes

9 years agocompiler/libec; eda, extras: const fixes for DB apps
Jerome St-Louis [Fri, 30 May 2014 03:21:04 +0000 (23:21 -0400)]
compiler/libec; eda, extras: const fixes for DB apps

9 years agoecere/com/instance: Fixed confusion with private member
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

9 years agoide/debugger/watches: Fixed stack overflow evaluating expressions e.g. < exp > as...
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

9 years agosdk: const correctness
Jerome St-Louis [Wed, 28 May 2014 20:16:19 +0000 (16:16 -0400)]
sdk: const correctness

9 years agoFixed many warnings
Jerome St-Louis [Tue, 27 May 2014 15:53:43 +0000 (11:53 -0400)]
Fixed many warnings

9 years agocompiler/libec: Fix for sizeof to be of uintsize type
Jerome St-Louis [Tue, 27 May 2014 08:33:28 +0000 (04:33 -0400)]
compiler/libec: Fix for sizeof to be of uintsize type

9 years agocompiler/libec: (#99) Improved handling of brackets instantiations, using C99 '.membe...
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

9 years agocompiler/libec: (#276) Fixed mistake introduced in d3a2010cf68cf33b7f4deab52e2929beb4...
Jerome St-Louis [Tue, 27 May 2014 04:34:52 +0000 (00:34 -0400)]
compiler/libec: (#276) Fixed mistake introduced in d3a2010cf68cf33b7f4deab52e2929beb402519b

9 years agocompiler/libec: (#341, #351, #644, #771) Improved enum type matching and type handlin...
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

9 years agocompiler/libec: Fixed various memory leaks and bugs
Jerome St-Louis [Mon, 26 May 2014 16:38:02 +0000 (12:38 -0400)]
compiler/libec: Fixed various memory leaks and bugs

10 years agoecere/sys/Time: (#500) Cleaned up code following compiler fixes
Jerome St-Louis [Fri, 23 May 2014 09:45:09 +0000 (05:45 -0400)]
ecere/sys/Time: (#500) Cleaned up code following compiler fixes

10 years agosamples: Various tweaks
Jerome St-Louis [Fri, 23 May 2014 09:28:43 +0000 (05:28 -0400)]
samples: Various tweaks

10 years agocompiler/libec: Fixed processing DB expressions within setting class properties
Jerome St-Louis [Fri, 23 May 2014 09:23:27 +0000 (05:23 -0400)]
compiler/libec: Fixed processing DB expressions within setting class properties

10 years agocompiler/libec: (#699) Fixed ++ and -- for units
Jerome St-Louis [Fri, 23 May 2014 09:22:21 +0000 (05:22 -0400)]
compiler/libec: (#699) Fixed ++ and -- for units

10 years agocompiler/libec: (#501, #503) Fixed mistake in commit 220a0e2b26f0b1b27317bf64e157f38b...
Jerome St-Louis [Fri, 23 May 2014 09:18:42 +0000 (05:18 -0400)]
compiler/libec: (#501, #503) Fixed mistake in commit 220a0e2b26f0b1b27317bf64e157f38b01ef2a47

10 years agocompiler/libec: Fixed crash on 'property not found' message
Jerome St-Louis [Fri, 23 May 2014 09:17:30 +0000 (05:17 -0400)]
compiler/libec: Fixed crash on 'property not found' message

10 years agoecere/com/dataTypes: Fixed IDE crashes caused by recomputing type size for Strings
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

10 years agoecere/gui/Window: Fixed wrong number of client windows when changing isActiveClient
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

10 years agoide/gui/Window: Fixed menu bar messing up available space for tiling/cascading
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

10 years agoide/CodeEditor: Fixed enumeration values coming up when we don't want them
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

10 years agoide/debugger/watches: Fixed crashes on operators with only a right operand
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

10 years agoide/debugger/watches: Fixed reparsing of negative values
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

10 years agoide/debugger/rubber duck: Work around for hiding duck
Jerome St-Louis [Thu, 22 May 2014 14:20:26 +0000 (10:20 -0400)]
ide/debugger/rubber duck: Work around for hiding duck

10 years agocompiler/libec/grammar: Accepting trailing semi colon after enumerators in eC enum
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

10 years agoide/CodeEditor/AutoCompletion: (#1020) Fixed parameters not coming up on methods
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

10 years agoide/debugger/watches: Fixed recent memory corruption mistakes
Jerome St-Louis [Wed, 21 May 2014 03:06:51 +0000 (23:06 -0400)]
ide/debugger/watches: Fixed recent memory corruption mistakes

10 years agocompiler/libec/pass15: (#276) Fixed computation of bit classes
Jerome St-Louis [Wed, 21 May 2014 03:00:55 +0000 (23:00 -0400)]
compiler/libec/pass15: (#276) Fixed computation of bit classes

10 years agoide/CodeEditor: Temporary fix for leak querying DirectoriesBox's string property
Jerome St-Louis [Tue, 20 May 2014 22:20:02 +0000 (18:20 -0400)]
ide/CodeEditor: Temporary fix for leak querying DirectoriesBox's string property

10 years agoide/Project Settings/Workspace: (#815) Fixed env vars partially entered going away...
Jerome St-Louis [Tue, 20 May 2014 20:56:47 +0000 (16:56 -0400)]
ide/Project Settings/Workspace: (#815) Fixed env vars partially entered going away on switching tabs
- The reload is only needed on creation of the Project Settings dialog, as it is always constructed
  right before showing the dialog. The env. vars with only name or value entered will not be saved
  however after closing the dialog. The only question that remains is whether we would like to allow
  defining a variable to an empty value or not, so as to clear existing values in the environment.

10 years agoecere/gui/drivers/Win32: (#278) Fixed GetKeyState() for left/alt/control keys
Jerome St-Louis [Tue, 20 May 2014 20:49:55 +0000 (16:49 -0400)]
ecere/gui/drivers/Win32: (#278) Fixed GetKeyState() for left/alt/control keys

10 years agoecere/gfx/drivers/LFB; samples/guiAndGfx/skinning:MySkin: (#284) Fixed piling up...
Jerome St-Louis [Tue, 20 May 2014 19:33:56 +0000 (15:33 -0400)]
ecere/gfx/drivers/LFB; samples/guiAndGfx/skinning:MySkin: (#284) Fixed piling up alpha when dragging window
- Checking 'blend' property of Surface; Setting it properly in MySkin prior to clearing areas

10 years agocompiler/libec: (#501, #503) Fixed leaking expressions handling method calls
Jerome St-Louis [Mon, 19 May 2014 01:24:51 +0000 (21:24 -0400)]
compiler/libec: (#501, #503) Fixed leaking expressions handling method calls

10 years agocompiler/libec: (#501, #503) Fixed various memory leaks
Jerome St-Louis [Mon, 19 May 2014 01:24:00 +0000 (21:24 -0400)]
compiler/libec: (#501, #503) Fixed various memory leaks

10 years agocompiler/libec: (#501, #503) Fixed leaks on transforming specifiers
Jerome St-Louis [Mon, 19 May 2014 01:18:53 +0000 (21:18 -0400)]
compiler/libec: (#501, #503) Fixed leaks on transforming specifiers

10 years agocompiler/libec/pass15: Got rid of unused conditional operator definition for floats
Jerome St-Louis [Mon, 19 May 2014 01:13:05 +0000 (21:13 -0400)]
compiler/libec/pass15: Got rid of unused conditional operator definition for floats

10 years agocompiler/libec: (#772) error on using wrong class name for constructors/destructors
Jerome St-Louis [Mon, 19 May 2014 01:04:19 +0000 (21:04 -0400)]
compiler/libec: (#772) error on using wrong class name for constructors/destructors
- A syntax error was being generated for an unrecognized type, but not if using an existing (mismatched) type

10 years agoide/debugger/watches: Improved + and - pointer operations
Jerome St-Louis [Mon, 19 May 2014 00:57:41 +0000 (20:57 -0400)]
ide/debugger/watches: Improved + and - pointer operations
- Fixed potential regressions on: (Expression *)((byte *)newExp + (uint)((byte *)memberExpPtr - (byte *)exp))
- Fixed pointer addresses to always print as hex and small differences to print as decimal (e.g.  (Expression *)(memberExpPtr + 1))
- Proper handling of negative differences
- Fixed handling of offset on the left side operand

10 years agoide/CodeEditor: Fixed leaks of i18n string markers on reparsing
Jerome St-Louis [Mon, 19 May 2014 00:34:02 +0000 (20:34 -0400)]
ide/CodeEditor: Fixed leaks of i18n string markers on reparsing

10 years agoide/debugger: Fixed crashes on evaluating watches on structs
Jerome St-Louis [Mon, 19 May 2014 00:25:43 +0000 (20:25 -0400)]
ide/debugger: Fixed crashes on evaluating watches on structs
- Reverting decision to invoke OnGetString, as it can lead to an attempt
 to evaluate memory addresses in the debugged process and crash the IDE.
 Using GDB's output of the struct content instead for now.

10 years agoecere/com/dataTypes: Using prefix instead of cast for max float values
Jerome St-Louis [Mon, 19 May 2014 00:10:19 +0000 (20:10 -0400)]
ecere/com/dataTypes: Using prefix instead of cast for max float values

10 years agocompiler/libec/lexer: Added support for C99 hex floats
Jerome St-Louis [Thu, 15 May 2014 08:04:22 +0000 (04:04 -0400)]
compiler/libec/lexer: Added support for C99 hex floats

10 years agosamples/3D/orbitWithMouse: Fixed extra commas
Jerome St-Louis [Wed, 14 May 2014 22:05:11 +0000 (18:05 -0400)]
samples/3D/orbitWithMouse: Fixed extra commas

10 years agocompiler/ecc: Fixed comment within comment warning
Jerome St-Louis [Wed, 14 May 2014 21:54:55 +0000 (17:54 -0400)]
compiler/ecc: Fixed comment within comment warning

10 years agoecere/gfx/3D/Mesh: Fixed build on OS X Mavericks
Jerome St-Louis [Wed, 14 May 2014 21:54:45 +0000 (17:54 -0400)]
ecere/gfx/3D/Mesh: Fixed build on OS X Mavericks
- MAXFLOAT redefinition from math.h was causing syntax errors
- Now using new float::isNan property instead

10 years agocompiler/libec/grammar: Fixed bad return statement breaking Clang build
Jerome St-Louis [Wed, 14 May 2014 20:59:23 +0000 (16:59 -0400)]
compiler/libec/grammar: Fixed bad return statement breaking Clang build
- This was causing a return from yyparse() rather than simply the rule as intended

10 years agoide: Fixed OS X/Linux build broken by d7347cce4dfa06e7e1da817c3168b5bc7e198fbd
Jerome St-Louis [Wed, 14 May 2014 09:48:29 +0000 (05:48 -0400)]
ide: Fixed OS X/Linux build broken by d7347cce4dfa06e7e1da817c3168b5bc7e198fbd
- Must now link IDE with -lm

10 years agoide/debugger: (#456) Fixed more leaks in watch evaluation
Jerome St-Louis [Wed, 14 May 2014 04:31:14 +0000 (00:31 -0400)]
ide/debugger: (#456) Fixed more leaks in watch evaluation
- Also added missing 'float' type case, in compiler as well

10 years agoide/debugger: Fixed units evaluation
Jerome St-Louis [Wed, 14 May 2014 01:16:43 +0000 (21:16 -0400)]
ide/debugger: Fixed units evaluation

10 years agoide/debugger: Support for evaluating e.g. ((ColorHSV)blue).h
Jerome St-Louis [Wed, 14 May 2014 01:15:40 +0000 (21:15 -0400)]
ide/debugger: Support for evaluating e.g. ((ColorHSV)blue).h

10 years agoide/debugger: Improved support for instantiations evaluation
Jerome St-Louis [Wed, 14 May 2014 01:14:55 +0000 (21:14 -0400)]
ide/debugger: Improved support for instantiations evaluation

10 years agoide/debugger: Displaying struct and bit class members
Jerome St-Louis [Wed, 14 May 2014 01:12:26 +0000 (21:12 -0400)]
ide/debugger: Displaying struct and bit class members

10 years agoide/debugger: Fixed mistakes and omissions for conversion properties
Jerome St-Louis [Wed, 14 May 2014 01:09:19 +0000 (21:09 -0400)]
ide/debugger: Fixed mistakes and omissions for conversion properties

10 years agocompiler/libec: Improved handling 64 bit constants
Jerome St-Louis [Wed, 14 May 2014 01:01:42 +0000 (21:01 -0400)]
compiler/libec: Improved handling 64 bit constants
- Fixed 64 bit types to compute using 64 bit operators
- Not printing 0 as 0LL anymore
- Typing 65536LL as 64 bit
- Keeping constant qualifier on named types (e.g. const uint64)