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
Jerome St-Louis [Wed, 21 May 2014 03:00:55 +0000 (23:00 -0400)]
compiler/libec/pass15: (#276) Fixed computation of bit classes
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
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.
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
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
Jerome St-Louis [Mon, 19 May 2014 01:24:51 +0000 (21:24 -0400)]
compiler/libec: (#501, #503) Fixed leaking expressions handling method calls
Jerome St-Louis [Mon, 19 May 2014 01:24:00 +0000 (21:24 -0400)]
compiler/libec: (#501, #503) Fixed various memory leaks
Jerome St-Louis [Mon, 19 May 2014 01:18:53 +0000 (21:18 -0400)]
compiler/libec: (#501, #503) Fixed leaks on transforming specifiers
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
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
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
Jerome St-Louis [Mon, 19 May 2014 00:34:02 +0000 (20:34 -0400)]
ide/CodeEditor: Fixed leaks of i18n string markers on reparsing
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.
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
Jerome St-Louis [Thu, 15 May 2014 08:04:22 +0000 (04:04 -0400)]
compiler/libec/lexer: Added support for C99 hex floats
Jerome St-Louis [Wed, 14 May 2014 22:05:11 +0000 (18:05 -0400)]
samples/3D/orbitWithMouse: Fixed extra commas
Jerome St-Louis [Wed, 14 May 2014 21:54:55 +0000 (17:54 -0400)]
compiler/ecc: Fixed comment within comment warning
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
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
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
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
Jerome St-Louis [Wed, 14 May 2014 01:16:43 +0000 (21:16 -0400)]
ide/debugger: Fixed units evaluation
Jerome St-Louis [Wed, 14 May 2014 01:15:40 +0000 (21:15 -0400)]
ide/debugger: Support for evaluating e.g. ((ColorHSV)blue).h
Jerome St-Louis [Wed, 14 May 2014 01:14:55 +0000 (21:14 -0400)]
ide/debugger: Improved support for instantiations evaluation
Jerome St-Louis [Wed, 14 May 2014 01:12:26 +0000 (21:12 -0400)]
ide/debugger: Displaying struct and bit class members
Jerome St-Louis [Wed, 14 May 2014 01:09:19 +0000 (21:09 -0400)]
ide/debugger: Fixed mistakes and omissions for conversion properties
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)
Jerome St-Louis [Wed, 14 May 2014 00:20:22 +0000 (20:20 -0400)]
compiler/ecp: Fixed potential null pointer crash
Jerome St-Louis [Wed, 14 May 2014 00:16:55 +0000 (20:16 -0400)]
compiler/libec; ide/debugger: Division by 0: Error message for integers; nan or inf for real
Jerome St-Louis [Wed, 14 May 2014 00:09:55 +0000 (20:09 -0400)]
ide/debugger: (#486) watches: don't show addresses where inappropriate
Jerome St-Louis [Wed, 14 May 2014 00:06:34 +0000 (20:06 -0400)]
ide/debugger: Support for evaluating math functions
Jerome St-Louis [Tue, 13 May 2014 23:56:06 +0000 (19:56 -0400)]
ide/debugger: Better errors for evaluating function calls
Jerome St-Louis [Tue, 13 May 2014 23:20:43 +0000 (19:20 -0400)]
ide/debugger: Better errors for missing property support
Jerome St-Louis [Tue, 13 May 2014 22:19:33 +0000 (18:19 -0400)]
ecere; compiler; ide: (#486) Added isNan, isInf, signBit, nan, inf; Improved handling of NaN, Inf in debugger
Jerome St-Louis [Tue, 13 May 2014 21:11:08 +0000 (17:11 -0400)]
ecere/gfx/3D/Matrix: Added OnGetString method for debugging
Jerome St-Louis [Tue, 13 May 2014 21:09:18 +0000 (17:09 -0400)]
ecere/com: Added missing hyperbolic trigonometry functions
Jerome St-Louis [Thu, 8 May 2014 17:03:47 +0000 (13:03 -0400)]
samples/3D/walkAround: Fixed crash on reloading graphics (e.g. fullscreen switch)
Jerome St-Louis [Thu, 8 May 2014 17:03:14 +0000 (13:03 -0400)]
samples/3D/walkAround: Fixed ignoring keys when inactive
Jerome St-Louis [Thu, 8 May 2014 16:47:41 +0000 (12:47 -0400)]
ecere/3D gfx: Fixed handling 32 bit indices for translucent primitives
Jerome St-Louis [Thu, 8 May 2014 16:10:30 +0000 (12:10 -0400)]
ecere/sys/Mutex: Fixed compilation by providing Mutex::lockCount through a property
Jerome St-Louis [Thu, 8 May 2014 15:56:39 +0000 (11:56 -0400)]
ide/debugger: Fixed to evaluate *("Hello" + 1), *(((int *)"Hello")+0), (((int *)"Hello")+0)[0], (((int *)"Hello")+1+1)[0]
Jerome St-Louis [Thu, 8 May 2014 15:45:53 +0000 (11:45 -0400)]
ide/debugger: Fixed bad use of 'type' in handling *"foo"
Jerome St-Louis [Thu, 8 May 2014 15:43:37 +0000 (11:43 -0400)]
compiler/libec; ide/debugger: Fixed potentially uninitialized Operands
- Not setting the type of Operand unless a value was successfully assigned to it
- Checking the result of Get*
- Zeroing out the values where Get* is used as an extra safety
Jerome St-Louis [Thu, 8 May 2014 15:36:38 +0000 (11:36 -0400)]
compiler/bootstrap: System.c update (fix), updated to latest output from compiler fixes
Jerome St-Louis [Thu, 8 May 2014 15:25:22 +0000 (11:25 -0400)]
ecere/gui/Window: Fixed deadlock on reload dialog boxes
- Unlocking GuiApplication prior to deleting a file monitor
- Also avoiding to instantiate FileMonitor for non-document windows, which will also
avoid the problem that was caused by tooltips being deleted from the IDE's AdjustDebugMenus()
from within GdbThreadMain() with the guiApp locked, while at the same time the main thread
had the file monitors mutex locked, waiting for the GuiApp from within a Modal()
Jerome St-Louis [Wed, 7 May 2014 09:36:58 +0000 (05:36 -0400)]
ide/debugger: Fixed evaluation of: ((int *)"Hello")[0]
- (int *)"Hello" will not be supported since it's meaningless and unescaping is not done until dereferenced
Jerome St-Louis [Wed, 7 May 2014 08:12:55 +0000 (04:12 -0400)]
compiler/libec: Fixed computation of expressions requiring promotions
- This fixed: 'H' * 256 + 'e'
- Also fixed operations on character literal
Jerome St-Louis [Wed, 7 May 2014 02:42:47 +0000 (22:42 -0400)]
compiler/libec; ide/debugger: Fixed sizeof((char *)"abc")
- The cast must be kept as this should evaluate to the size of a pointer
Jerome St-Louis [Tue, 6 May 2014 20:24:30 +0000 (16:24 -0400)]
ecere/X11: Fixed new warnings
Jerome St-Louis [Tue, 6 May 2014 11:50:36 +0000 (07:50 -0400)]
compiler/pass15; ide/debugger: Fixed evaluation of class("abc" + 1) and indexing of strings with escaped sequences
- Also fixed unescaping not to include a \ on invalid escape characters
Jerome St-Louis [Tue, 6 May 2014 11:08:24 +0000 (07:08 -0400)]
compiler/libec: Added missing classExp Copy rule
- This was breaking: Iterator<int> i { [ 1, 2, 3 ] };
Jerome St-Louis [Tue, 6 May 2014 10:26:48 +0000 (06:26 -0400)]
compiler/grammar; bootstrap: Fixed comma warning case to be consistent
- Added missing null pointer checks in pass2
- Updated bootstrap
Jerome St-Louis [Tue, 6 May 2014 10:23:22 +0000 (06:23 -0400)]
samples: Fixed more discovered syntax errors
Jerome St-Louis [Tue, 6 May 2014 09:12:52 +0000 (05:12 -0400)]
samples/games/stonePairs: Fixed discovered syntax error
Jerome St-Louis [Tue, 6 May 2014 09:04:58 +0000 (05:04 -0400)]
compiler/libec/grammars: Fixed sizeof("a" + 1)
- This was previously causing a syntax error
- The sizeof rule had been split off in 2 rules in December 2005:
SIZEOF '(' unary_expression ')'
SIZEOF simple_unary_expression
This was causing these errors. The reason for the split is long forgotten,
perhaps this was to avoid conflicts which we now see as unavoidable
for error tolerance with Bison.
Jerome St-Louis [Mon, 5 May 2014 10:30:41 +0000 (06:30 -0400)]
ide/debugger; compiler/libec: Fixed evaluation of sizeof not to depend on value
- Made values for tokens available outside of libec
Jerome St-Louis [Mon, 5 May 2014 10:29:32 +0000 (06:29 -0400)]
compiler/libec; ecp: Fixed assigning C enum values to enum class enumerators
Jerome St-Louis [Mon, 5 May 2014 10:27:50 +0000 (06:27 -0400)]
compiler/libec/pass16: Fixed use of uninitialized className for declaring class
Jerome St-Louis [Mon, 5 May 2014 10:23:48 +0000 (06:23 -0400)]
compiler/libec/grammar: Fixed warning; Updated bootstrap
Jerome St-Louis [Sun, 4 May 2014 12:53:22 +0000 (08:53 -0400)]
compiler/libec: (#402, #772) Improved reporting syntax errors
Jerome St-Louis [Sun, 4 May 2014 01:03:57 +0000 (21:03 -0400)]
compiler/libec/pass15: Fixed expType for class member of typed_object
Jerome St-Louis [Sun, 4 May 2014 00:23:35 +0000 (20:23 -0400)]
default.cf: Added ENABLE_SSL to enable SSL enabled builds
Jerome St-Louis [Sun, 4 May 2014 00:16:42 +0000 (20:16 -0400)]
ide/debugger; compiler/libec: (#19, #456) Fixed watches memory leaks, improved errors
- Fixed setting 'constant' regardless of error type (only used for memoryErrorExp)
- Freeing data for debugger error expressions
- Fixed some memory errors missing addresses
- Making use of dereferenceError
- Improved evaluation pathways to resolve in less unknown errors
- Treating both class and struct members expression errors the same way
Jerome St-Louis [Sat, 3 May 2014 23:39:50 +0000 (19:39 -0400)]
ide/debugger: (#209) Fixed + operator on arrays and string
Jerome St-Louis [Sat, 3 May 2014 23:29:22 +0000 (19:29 -0400)]
ide/debugger; compiler/libec: (#129) Fixed string literals in watches
Jerome St-Louis [Sat, 3 May 2014 23:21:11 +0000 (19:21 -0400)]
ide/Debugger: Calling CleanUp() from GdbExit()
- Ensuring a Debug Stop is as Clean as a new IDE
- The debugger would previously not release its hold on the code editor after being stopped
Jerome St-Louis [Sat, 3 May 2014 23:18:57 +0000 (19:18 -0400)]
compiler/libec: Fixed 64 bit operations
Jerome St-Louis [Sat, 3 May 2014 23:14:59 +0000 (19:14 -0400)]
ide/debugger: Watches: removed need for a Code Editor to evaluate expressions
Jerome St-Louis [Sat, 3 May 2014 23:00:02 +0000 (19:00 -0400)]
complier/libec/output: Fixed crash on conditional operator else expression
Jerome St-Louis [Sat, 3 May 2014 21:20:21 +0000 (17:20 -0400)]
ecere/com/instance: Fixed alignment for union within class
- The misalignment was breaking evaluating Type::kind from Debugger.ec
Jerome St-Louis [Sat, 3 May 2014 07:43:44 +0000 (03:43 -0400)]
compiler/libec/pass15: (#642) Fixed crash parsing template type
Jerome St-Louis [Sat, 3 May 2014 07:05:19 +0000 (03:05 -0400)]
compiler/libec/pass2: (#288) Fixed compiler crash on 'this'
Jerome St-Louis [Sat, 3 May 2014 06:21:05 +0000 (02:21 -0400)]
compiler/libec/pass16: (#262) Fixed compiler crash on null instExp
Jerome St-Louis [Sat, 3 May 2014 06:08:10 +0000 (02:08 -0400)]
compiler/libec/pass2: (#271) Fixed compiler crash
Jerome St-Louis [Sat, 3 May 2014 05:55:07 +0000 (01:55 -0400)]
compiler/libec: (#293) Fixed ecs crash on remote class using non-existent type
Jerome St-Louis [Sat, 3 May 2014 04:23:14 +0000 (00:23 -0400)]
ide/CodeEditor: (#79) Fixed watches not handling global data properly
Jerome St-Louis [Sat, 3 May 2014 04:10:02 +0000 (00:10 -0400)]
compiler/libec/grammar: (#165, #733) Fixed endless loop on somenamespace::
Jerome St-Louis [Fri, 2 May 2014 13:03:46 +0000 (09:03 -0400)]
compiler/libec/lexer; expression, ide/debugger: (#67, #128) Generating a syntax error on invalid input
- Fixed broken 'parseError' state which was declared separately in ide and libec
- Modified default lexer rule to generate a syntax error
- Added a rule to silently ignore \r