sdk
9 years agoecere; ide; compiler: Fixed some Clang warnings
Jerome St-Louis [Sun, 6 Jul 2014 14:30:12 +0000 (10:30 -0400)]
ecere; ide; compiler: Fixed some Clang warnings

9 years agocompiler/libec: Only using gcc_struct attribute for MinGW
Jerome St-Louis [Sun, 6 Jul 2014 13:47:07 +0000 (09:47 -0400)]
compiler/libec: Only using gcc_struct attribute for MinGW

9 years agoecere/gui/XInterface: (#278) Linux GetKeyState() fixes
Jerome St-Louis [Sun, 6 Jul 2014 12:44:34 +0000 (08:44 -0400)]
ecere/gui/XInterface: (#278) Linux GetKeyState() fixes

9 years agoear/extract; extras; samples: Fixes
Jerome St-Louis [Sun, 6 Jul 2014 12:04:00 +0000 (08:04 -0400)]
ear/extract; extras; samples: Fixes

9 years agocompiler/libec: Fixed build issues in last commit
Jerome St-Louis [Sun, 6 Jul 2014 09:43:37 +0000 (05:43 -0400)]
compiler/libec: Fixed build issues in last commit

9 years agocompiler/bootstrap: Fixes
Jerome St-Louis [Sun, 6 Jul 2014 09:30:29 +0000 (05:30 -0400)]
compiler/bootstrap: Fixes

9 years agocompiler/bootstrap: Fully automated (make updatebootstrap)
Jerome St-Louis [Sun, 6 Jul 2014 09:16:39 +0000 (05:16 -0400)]
compiler/bootstrap: Fully automated (make updatebootstrap)

9 years agocompiler/libec: Fixed keeping cast between long/int types
Jerome St-Louis [Sun, 6 Jul 2014 09:05:48 +0000 (05:05 -0400)]
compiler/libec: Fixed keeping cast between long/int types

9 years agoextras/dpl: Fixed printf security warning on Linux
Jerome St-Louis [Sun, 6 Jul 2014 05:47:20 +0000 (01:47 -0400)]
extras/dpl: Fixed printf security warning on Linux

9 years agocompiler/libec: Fix mistake in 7c6d1bb8b671095af88a917b927a27634586e253
Jerome St-Louis [Sun, 6 Jul 2014 05:33:06 +0000 (01:33 -0400)]
compiler/libec: Fix mistake in 7c6d1bb8b671095af88a917b927a27634586e253

9 years agocompiler/libec: Fixed more memory leaks
Jerome St-Louis [Sun, 6 Jul 2014 03:45:48 +0000 (23:45 -0400)]
compiler/libec: Fixed more memory leaks

9 years agocompiler/libec: Fixed memory leak in ProcessTypeSpecs
Jerome St-Louis [Sat, 5 Jul 2014 22:24:46 +0000 (18:24 -0400)]
compiler/libec: Fixed memory leak in ProcessTypeSpecs
- enumName was being copied again when it was already copied by CopyTypeInto()

9 years agocompiler/libec: Fixed referencing member of List::first ( Broken by 47a3b8193f238ab7c...
Jerome St-Louis [Sat, 5 Jul 2014 08:46:57 +0000 (04:46 -0400)]
compiler/libec: Fixed referencing member of List::first ( Broken by 47a3b8193f238ab7c6f282171f9aa26c82d7a343 )

9 years agocompiler/libec: (#307, #70) Warning on undeclared class; Overriding namespaces
Jerome St-Louis [Sat, 5 Jul 2014 06:59:40 +0000 (02:59 -0400)]
compiler/libec: (#307, #70) Warning on undeclared class; Overriding namespaces

9 years agoinstaller: Fixed warnings
Jerome St-Louis [Thu, 3 Jul 2014 22:47:51 +0000 (18:47 -0400)]
installer: Fixed warnings

9 years agocompiler/libec: Fixed warning on: for(i : LinkList { });
Jerome St-Louis [Thu, 3 Jul 2014 22:10:16 +0000 (18:10 -0400)]
compiler/libec: Fixed warning on: for(i : LinkList { });

9 years agocompiler/libec: Fixed warning on using templated type with printf
Jerome St-Louis [Thu, 3 Jul 2014 22:08:06 +0000 (18:08 -0400)]
compiler/libec: Fixed warning on using templated type with printf
- Removed a seemingly unneccessary reference/dereference on templated types

9 years agoecere: Fixed strict aliasing warnings
Jerome St-Louis [Thu, 3 Jul 2014 08:35:01 +0000 (04:35 -0400)]
ecere: Fixed strict aliasing warnings

9 years agocompiler/libec: Recognizing uint suffixes for expression types
Jerome St-Louis [Thu, 3 Jul 2014 08:32:58 +0000 (04:32 -0400)]
compiler/libec: Recognizing uint suffixes for expression types

9 years agocompiler/libec: Fixed warnings calling OnCompare from uintptr type
Jerome St-Louis [Thu, 3 Jul 2014 08:30:37 +0000 (04:30 -0400)]
compiler/libec: Fixed warnings calling OnCompare from uintptr type

9 years agocompiler/libec: Fixed warnings on setting LinkList::first = null
Jerome St-Louis [Thu, 3 Jul 2014 08:29:13 +0000 (04:29 -0400)]
compiler/libec: Fixed warnings on setting LinkList::first = null
- Tweaked last commit check for destination type 'thisClassFrom'

9 years agocompiler/libec: Fix for thisclass related warnings in Map.ec
Jerome St-Louis [Wed, 2 Jul 2014 22:08:29 +0000 (18:08 -0400)]
compiler/libec: Fix for thisclass related warnings in Map.ec

9 years agocompiler/libec: Fixed warning in call to Unserialize for struct parameter
Jerome St-Louis [Wed, 2 Jul 2014 14:52:12 +0000 (10:52 -0400)]
compiler/libec: Fixed warning in call to Unserialize for struct parameter
- Found in distributed objects code in crossWords.main.ec

9 years agocompiler/libec/pass16: Bracket instantiations fixes
Jerome St-Louis [Wed, 2 Jul 2014 14:50:09 +0000 (10:50 -0400)]
compiler/libec/pass16: Bracket instantiations fixes
- Zeroing brackets fixes for arrays, struct class, struct type
  (Warnings found in CornerBlocksServer, CrossWordsServer, eCom)

9 years agocompiler/libec: (#439) Removed unused declID from DeclClass()
Jerome St-Louis [Wed, 2 Jul 2014 14:43:03 +0000 (10:43 -0400)]
compiler/libec: (#439) Removed unused declID from DeclClass()
- Updated bootstrap

9 years agoecere: Added ChangeChars(); eda/ers: ; Avoiding bad filenames
Jerome St-Louis [Wed, 2 Jul 2014 06:30:10 +0000 (02:30 -0400)]
ecere: Added ChangeChars(); eda/ers: ; Avoiding bad filenames
- Also fixed warnings in WSMS config

9 years agoide/Project: Fixed a crash in LegacyLoad introduced by eff6d0cfcbf71a54870f8a965174bb...
Jerome St-Louis [Wed, 2 Jul 2014 00:33:29 +0000 (20:33 -0400)]
ide/Project: Fixed a crash in LegacyLoad introduced by eff6d0cfcbf71a54870f8a965174bb641b24fcb1

9 years agoecere/gui/EditBox (Syntax Highlighting): Fixes for .1 and # ifdef
Jerome St-Louis [Tue, 1 Jul 2014 22:53:24 +0000 (18:53 -0400)]
ecere/gui/EditBox (Syntax Highlighting): Fixes for .1 and # ifdef

9 years agoextras; samples: Fixed warnings
Jerome St-Louis [Tue, 1 Jul 2014 07:46:25 +0000 (03:46 -0400)]
extras; samples: Fixed warnings

9 years agoecere/net/Service: Avoiding problems when trying to start a Service already started
Jerome St-Louis [Tue, 1 Jul 2014 07:33:19 +0000 (03:33 -0400)]
ecere/net/Service: Avoiding problems when trying to start a Service already started

9 years agocompiler/libec/pass15: Fix for using ^ (binary XOR) operator with enum values without...
Jerome St-Louis [Tue, 1 Jul 2014 07:32:13 +0000 (03:32 -0400)]
compiler/libec/pass15: Fix for using ^ (binary XOR) operator with enum values without warnings

9 years agocompiler/libec: (#18, #26, #439, #685) Fixed serious performance issues and warnings...
Jerome St-Louis [Wed, 25 Jun 2014 17:07:01 +0000 (13:07 -0400)]
compiler/libec: (#18, #26, #439, #685) Fixed serious performance issues and warnings ('declared inside parameter list')
- Proper identification of dependencies between C external declarations (edges of the graph)
- Implementation of a Topological Sort with support for breaking edges with forward declarations
- Algorithm based on description and pseudo code from en.wikipedia.org/wiki/Topological_sorting (first described by Kahn, 1962)
- (#18) Since we no longer have spurious warnings from bad generated C code, it is no longer necessary to perform any kind of
  filtering in the IDE build output and parallel builds will show all warnings
- Removed precompiled rules and source files as the grammar files now build as fast as any other files
- Fixed duplicate 'static' qualifiers for self watchers in classes declare static
- Improvements to the generated C code to reduce the number of differences with the bootstrap and not hard code struct sizes
   - Using actual size of structs and sizeof(void *)
   - Passing 0xF000F000 to eMember_/eClass_AddDataMember for 'alignment' now means 'pointer size alignment'

9 years agoecere/Container: Deserialization correction to last commit for structs
Jerome St-Louis [Mon, 23 Jun 2014 21:24:57 +0000 (17:24 -0400)]
ecere/Container: Deserialization correction to last commit for structs
- Clearing data each time for struct as well

9 years agoecere/containers: Now clearing container elements on deserialization
Jerome St-Louis [Mon, 23 Jun 2014 17:53:03 +0000 (13:53 -0400)]
ecere/containers: Now clearing container elements on deserialization
- samples/guiAndGfx/openRider: Reverted prior attempt mistaken to fix deserialization issues
- Also fixed a strtol warning in dataTypes.ec

9 years agoextras; samples: Fixed some warnings
Jerome St-Louis [Sun, 22 Jun 2014 06:58:14 +0000 (02:58 -0400)]
extras; samples: Fixed some warnings

9 years agoide/Project: Fixed excessive CPU usage processing build output
Jerome St-Louis [Sat, 21 Jun 2014 06:20:30 +0000 (02:20 -0400)]
ide/Project: Fixed excessive CPU usage processing build output
- Caused by our fix for better responsiveness: c3a13ef3bfec9f5326000b5b41d58ed15d409ca2
- Was missing a blocking call within our inner loop: Added a Sleep() in between calls to File::GetLinePeek()

9 years agocompiler/libec: Fixed warning in generated distributed objects code
Jerome St-Louis [Sat, 21 Jun 2014 05:40:01 +0000 (01:40 -0400)]
compiler/libec: Fixed warning in generated distributed objects code
- Call to SerialBuffer::Unserialize lost a (StaticString) cast, now replacing with (void **) cast
- Also including some minor fixes to DCOMSample

9 years agoinstaller/coursework/Lab 5: Fixes
Jerome St-Louis [Fri, 20 Jun 2014 21:08:23 +0000 (17:08 -0400)]
installer/coursework/Lab 5: Fixes

9 years agoextras; samples: Warning fixes and improvements
Jerome St-Louis [Fri, 20 Jun 2014 21:07:17 +0000 (17:07 -0400)]
extras; samples: Warning fixes and improvements

9 years agocompiler/libec: Fixed missing warnings within ( ) and conditional expressions
Jerome St-Louis [Fri, 20 Jun 2014 20:56:40 +0000 (16:56 -0400)]
compiler/libec: Fixed missing warnings within ( ) and conditional expressions

9 years agocompiler/libec; ecere/DateTime: Producing an error when casting to an incompatible...
Jerome St-Louis [Fri, 20 Jun 2014 20:52:01 +0000 (16:52 -0400)]
compiler/libec; ecere/DateTime: Producing an error when casting to an incompatible struct; Fixed DateTime bug
- TimeStamp/DateTime conversion was broken unnoticed since 981767e16256c835738562f4280e06140dcc0067

9 years agocompiler/libec: Fixed templates types checking and casts
Jerome St-Louis [Fri, 20 Jun 2014 20:47:48 +0000 (16:47 -0400)]
compiler/libec: Fixed templates types checking and casts

9 years agocompiler/libec: Fixed potential null pointer crashes
Jerome St-Louis [Fri, 20 Jun 2014 17:27:33 +0000 (13:27 -0400)]
compiler/libec: Fixed potential null pointer crashes

9 years agocompiler/libec (ide): Fixed crash on sentinel property Set
Jerome St-Louis [Fri, 20 Jun 2014 17:21:36 +0000 (13:21 -0400)]
compiler/libec (ide): Fixed crash on sentinel property Set

9 years agocompiler/libec/pass15 (ide/autocomplete): Improved autocomplete within struct/unions...
Jerome St-Louis [Fri, 20 Jun 2014 17:07:48 +0000 (13:07 -0400)]
compiler/libec/pass15 (ide/autocomplete): Improved autocomplete within struct/unions and containers constructs

9 years agoide; compiler/libec: Auto completion improvements
Jerome St-Louis [Fri, 20 Jun 2014 16:56:00 +0000 (12:56 -0400)]
ide; compiler/libec: Auto completion improvements
- Not converting identifiers to constants from ProcessExpressionType(), only from ComputeExpression()

9 years agocompiler/libec: Fixed omission in CopyTypeInto()
Jerome St-Louis [Fri, 20 Jun 2014 16:13:32 +0000 (12:13 -0400)]
compiler/libec: Fixed omission in CopyTypeInto()

9 years agoide/debugger/watches: Fixed endless loop on GDB giving back the same identifier
Jerome St-Louis [Fri, 20 Jun 2014 16:05:51 +0000 (12:05 -0400)]
ide/debugger/watches: Fixed endless loop on GDB giving back the same identifier

9 years agoide/designer;debugger: Improved autocomplete and debugging within for each statements
Jerome St-Louis [Fri, 20 Jun 2014 15:54:24 +0000 (11:54 -0400)]
ide/designer;debugger: Improved autocomplete and debugging within for each statements

9 years agoecere/sys/JSON: Worked around ecp issue breaking the builds
Jerome St-Louis [Fri, 20 Jun 2014 15:40:16 +0000 (11:40 -0400)]
ecere/sys/JSON: Worked around ecp issue breaking the builds
- Awaiting fix for #1079 (will fix with the RD parser)

9 years agoecere/sys/GlobalSettings: improve code.
Rejean Loyer [Wed, 18 Jun 2014 20:07:19 +0000 (16:07 -0400)]
ecere/sys/GlobalSettings: improve code.
 - add support for setting portable to true and according behavior.
 - remember successful read and write types.
 - add good commented out debugging PrintLn for read/write tries and successes.

9 years agoecere/sys/GlobalSettings: fix allUsers testing to prefer writing to a user settings...
Rejean Loyer [Wed, 18 Jun 2014 19:36:15 +0000 (15:36 -0400)]
ecere/sys/GlobalSettings: fix allUsers testing to prefer writing to a user settings location before a global/system one. broken since 2a8466b3d5fe0b598e0fc5f8e4bb81a0357fdf0f commit.

9 years agoecere/gui/controls/PaneSplitter: respect panes' minClientSize.
Rejean Loyer [Wed, 18 Jun 2014 04:20:32 +0000 (00:20 -0400)]
ecere/gui/controls/PaneSplitter: respect panes' minClientSize.

9 years agoide: no functional change. rename various debug print line function calls. use ecere...
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.

9 years agoextras: add debug print line debugging tools.
Rejean Loyer [Tue, 15 Apr 2014 03:49:22 +0000 (23:49 -0400)]
extras: add debug print line debugging tools.

9 years agoecere/sys/GlobalSettings: add GlobalSettings::settingsDirectory property to support...
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.

9 years agoecere/sys/Time: add missing SecSince1970::OnGetDataFromString.
Rejean Loyer [Mon, 2 Jun 2014 07:47:13 +0000 (03:47 -0400)]
ecere/sys/Time: add missing SecSince1970::OnGetDataFromString.

9 years agoecere/sys/JSON: add support for unit classes, struct members and null strings.
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.

9 years agoecere/sys/GlobalSettings: fix settingsFilePath deleted even if FileOpenTryWrite opens...
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.

9 years agotarball/ecere: make use of openssl detection's variables for include, bin and lib...
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.

9 years agoecere/sys/JSON: (#1085) Map Support
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

9 years agoecere/gui/Window: (#1083, #1084) Fixed MouseLeave related crashes
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

9 years agodocumentor; compiler/libec: Fixed crashes opening libraries
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

9 years agoecere: Makefile;net/SSLSocket: Fixes for SSL support
Jerome St-Louis [Tue, 17 Jun 2014 17:20:00 +0000 (13:20 -0400)]
ecere: Makefile;net/SSLSocket: Fixes for SSL support

9 years agocompiler/libec: Reordered global instances deletion
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

9 years agocompiler/libec: Fixed missing braces in generated code for array types
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 { }

9 years agoecere/gui/DataBox: Fix crash on null 'data' from Form Designer
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

9 years agoecere/gui/Window: (#1083) Tweaked last commit
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()

9 years agoecere/gui/Window: (#1083) Fixed stuck tooltips, stuck/crashing IDE
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

9 years agocompiler; ecere; ide; eda: Fixed 32 bit warnings
Jerome St-Louis [Fri, 13 Jun 2014 10:07:32 +0000 (06:07 -0400)]
compiler; ecere; ide; eda: Fixed 32 bit warnings

9 years agocompiler/libec; ecere: Fixed MemoryGuard config warnings
Jerome St-Louis [Thu, 12 Jun 2014 21:55:44 +0000 (17:55 -0400)]
compiler/libec; ecere: Fixed MemoryGuard config warnings

9 years agoecere; eda: More release warnings fixes
Jerome St-Louis [Thu, 12 Jun 2014 19:59:13 +0000 (15:59 -0400)]
ecere; eda: More release warnings fixes

9 years agocompiler/libec: Warning on pointers to class incompatible with pointer to pointer
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

9 years agoecere; ide: Fixed Release config warnings
Jerome St-Louis [Thu, 12 Jun 2014 19:30:50 +0000 (15:30 -0400)]
ecere; ide: Fixed Release config warnings

9 years agoide/GlobalSettingsDialog: Added missing room for edit boxes on Linux
Jerome St-Louis [Thu, 12 Jun 2014 14:53:52 +0000 (10:53 -0400)]
ide/GlobalSettingsDialog: Added missing room for edit boxes on Linux

9 years agocompiler/libec; ide/CodeEditor: Fixes to not resolve enums through bool conversion
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

9 years agocompiler tools; epj2make: Fixed printf security warnings
Jerome St-Louis [Thu, 12 Jun 2014 13:58:07 +0000 (09:58 -0400)]
compiler tools; epj2make: Fixed printf security warnings

9 years agoide: Fixed remaining warning in Linux
Jerome St-Louis [Thu, 12 Jun 2014 13:53:00 +0000 (09:53 -0400)]
ide: Fixed remaining warning in Linux

9 years agocompiler/libec: Fixed warnings in generated code for incompatible pointer types
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)

9 years agocompiler/libec: Added missing casts in generated code from pass2
Jerome St-Louis [Thu, 12 Jun 2014 03:33:22 +0000 (23:33 -0400)]
compiler/libec: Added missing casts in generated code from pass2

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