clean-ide merge requestshttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests2022-03-08T17:03:19+01:00https://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/36fix order of list results of ParseABCDependencies2022-03-08T17:03:19+01:00Steffen Michelsfix order of list results of ParseABCDependenciesJohn van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/35fix the order libraries are provided to the linker2022-02-28T13:33:44+01:00Steffen Michelsfix the order libraries are provided to the linkerfix the order libraries are provided to the linker: provide libs in same order as in Clean modules and provide static before shared libsfix the order libraries are provided to the linker: provide libs in same order as in Clean modules and provide static before shared libsJohn van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/34update Clean docker image name2021-10-09T22:09:53+02:00Steffen Michelsupdate Clean docker image namehttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/33remove commercial license/support leftover from license2021-05-06T16:37:49+02:00Steffen Michelsremove commercial license/support leftover from licenseErin van der VeenErin van der Veenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/31add Platform to Gast environment2021-04-15T09:40:57+02:00John van Groningenadd Platform to Gast environmenthttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/30Add missing bit to fill1_r instructions in set_return_code2021-01-19T17:00:47+01:00Camil StapsAdd missing bit to fill1_r instructions in set_return_codeSee: https://gitlab.science.ru.nl/clean-and-itasks/abc-interpreter/-/issues/110#note_117606See: https://gitlab.science.ru.nl/clean-and-itasks/abc-interpreter/-/issues/110#note_117606Bas LijnseBas Lijnsehttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/29add Platform environment2021-01-20T10:56:04+01:00John van Groningenadd Platform environmenthttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/28Introduce architecture dependent Platform files2020-06-02T14:47:57+02:00Erin van der VeenIntroduce architecture dependent Platform filesThis allows building for arm and intel without having to apply a patchThis allows building for arm and intel without having to apply a patchhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/26Improve handling of import code from library2019-11-27T14:42:54+01:00Camil StapsImprove handling of import code from libraryOn Windows:
- Items starting with -l are ignored
- Everything else is treated as an ASCII library file
On other platforms:
- Items starting with -l are treated as shared libraries
- Items containing a dot are treated as normal files and...On Windows:
- Items starting with -l are ignored
- Everything else is treated as an ASCII library file
On other platforms:
- Items starting with -l are treated as shared libraries
- Items containing a dot are treated as normal files and linked
- Other items are ignored
This allows one to use for example:
import code from library "mylib_library"
import code from library "-lmylib"
(where Clean System Files\mylib_library refers to mylib.dll or so).
The first entry is used on Windows; the second on non-Windows.John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/25On non-Windows systems, allow `import code from library "-l..."` to link shar...2019-10-31T15:29:47+01:00Camil StapsOn non-Windows systems, allow `import code from library "-l..."` to link shared librariesThis is useful when you combine libraries that both rely on different shared libraries. Previously, you would have to create a new environment with linker flags for both. With this solution, the libraries can use `import code from librar...This is useful when you combine libraries that both rely on different shared libraries. Previously, you would have to create a new environment with linker flags for both. With this solution, the libraries can use `import code from library "-l..."` to add what they need and this is combined automatically without the need for a new environment.John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/24set return code to -1 when failing to compile a single module2019-10-25T16:53:17+02:00Mart Lubbersset return code to -1 when failing to compile a single moduleJohn van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/23Use separate link options file for the bytecode linker to avoid long command ...2019-10-07T14:37:32+02:00Camil StapsUse separate link options file for the bytecode linker to avoid long command linesWith large projects and long paths, the call to `ByteCodeLinker.exe` (which needs all `.bc` files) could become too large for the Windows command line limits (32768 chars). In https://gitlab.science.ru.nl/clean-and-itasks/abc-interpreter...With large projects and long paths, the call to `ByteCodeLinker.exe` (which needs all `.bc` files) could become too large for the Windows command line limits (32768 chars). In https://gitlab.science.ru.nl/clean-and-itasks/abc-interpreter/merge_requests/116 I added a `-f` option to the linker to be able to read input files from a separate file; this patch uses that in cpm/the IDE.
!22 is still useful to give meaningful error messages should the same problem occur elsewhere in the future.John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/22Add descriptive error when the command line is too long (for large projects i...2019-10-07T12:02:44+02:00Camil StapsAdd descriptive error when the command line is too long (for large projects in...Previously, this would lead to the `abort` a little further down the same function.
CC @pieterPreviously, this would lead to the `abort` a little further down the same function.
CC @pieterJohn van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/21Fixed accidental removal of setting project path in ps state2019-06-28T13:00:39+02:00Bas LijnseFixed accidental removal of setting project path in ps stateJohn van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/20Fixed return type in cpm project file for macos2019-06-24T13:43:43+02:00Bas LijnseFixed return type in cpm project file for macosJohn van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/19Cpm project templates2019-06-03T15:32:19+02:00Mart LubbersCpm project templates- modifies the `cpm project ... create` command to optionally accept a template file.
- adds the `cpm project ... template <template.prt>` command to export the current project as a template file.
It also isolated the logic for reading ...- modifies the `cpm project ... create` command to optionally accept a template file.
- adds the `cpm project ... template <template.prt>` command to export the current project as a template file.
It also isolated the logic for reading in templates which is now shared between the IDE and cpm.John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/18Set ByteCode path in project files by default2019-05-21T16:14:32+02:00Camil StapsSet ByteCode path in project files by defaultPeter and Rinus remarked that when creating a new project in the IDE, it is confusing that checking everything in Project options/Bytecode does not link the main bytecode file yet, because the path still has to be set. With this patch, n...Peter and Rinus remarked that when creating a new project in the IDE, it is confusing that checking everything in Project options/Bytecode does not link the main bytecode file yet, because the path still has to be set. With this patch, new projects get a path assigned similar to the way an executable path is set, but the CodeGen/GenerateByteCode option (default False) is used to determine whether bytecode should be linked or not.John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/17Add new settings to set command of cpm CLI2019-05-16T15:31:02+02:00Camil StapsAdd new settings to set command of cpm CLIThis is one way to resolve #3.
This compiles and seems to work but I have not tested it thoroughly. @mlubbers please see if this works for you and then pass on to John for merging.This is one way to resolve #3.
This compiles and seems to work but I have not tested it thoroughly. @mlubbers please see if this works for you and then pass on to John for merging.John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/16Abc interpreter improvements2019-05-10T16:30:12+02:00Camil StapsAbc interpreter improvementsThis MR makes two important improvements to the workflow for generating optimised ABC and bytecode:
1. It adds new stages for these steps, so that the timestamps of these files differ for large projects preventing unnecessary regenerati...This MR makes two important improvements to the workflow for generating optimised ABC and bytecode:
1. It adds new stages for these steps, so that the timestamps of these files differ for large projects preventing unnecessary regeneration. (Previously, both optimizing and generating bytecode were done per module in `GenCodeTheProjectModule`).
2. If a bytecode file exists, we now check whether the bytecode generator installed has a different instruction set version number, and regenerates the file if this is the case. This prevents parsing errors in the bytecode linker. (Previously, you would have to manually trigger regeneration by deleting the bytecode files or touching source files.) The instruction set version number may change when new instructions are added or if the format changes.John van GroningenJohn van Groningenhttps://gitlab.science.ru.nl/clean-and-itasks/clean-ide/-/merge_requests/15Resolve "cpm environment options"2019-04-12T13:28:44+02:00Mart LubbersResolve "cpm environment options"Closes #2
- [x] ListEnvironments
- [x] ImportEnvironment FilePath
- [x] RemoveEnvironment String
- [x] ShowEnvironment String
- [x] ExportEnvironment String
- [x] CreateEnvironment String
- [x] RenameEnvironment String String
...Closes #2
- [x] ListEnvironments
- [x] ImportEnvironment FilePath
- [x] RemoveEnvironment String
- [x] ShowEnvironment String
- [x] ExportEnvironment String
- [x] CreateEnvironment String
- [x] RenameEnvironment String String
- [x] SetEnvironmentCompiler String String
- [x] SetEnvironmentCodeGen String String
- [x] EnvironmentHelpJohn van GroningenJohn van Groningen