Commit graph

2655 commits

Author SHA1 Message Date
BlueSkeye_cp
1facf3f304 Add signed integer multiplication support to X# compiler. Documentation not yet updated. 2012-10-08 17:15:50 +00:00
BlueSkeye_cp
d0f674a4e5 Made error messages more accurate when we (I) mess up with X# compiler patterns. Inner exceptions are now displayed which allow for more context aware error messages. 2012-10-08 16:30:27 +00:00
BlueSkeye_cp
b9e88a4e21 Added an -a command line parameters on XSharp.Test program. Using this flag the NASM compiler will be launched on source code successfully generated by X# translator. This help ensure we generate syntactically correct assembler code.
Modified some error messages in Cosmos.Compiler.XSharp assembly to make them list the line number where an error is detected.
2012-10-08 15:20:41 +00:00
BlueSkeye_cp
5cd8fba8a1 Documentation added to the X# compiler. Several comments in source code as well as an XSharp.htm document in the Docs folder that clarify language syntax. 2012-10-05 16:19:50 +00:00
BlueSkeye_cp
783eaee16d Partially fix issue #15680 : IL2CPU will crash when default PlugAttribute constructor is used.
Added two constructors one with TYpe and one with type name. However there is still some cases (a null or empty type name for example) that will make the IL2CPU task crash. Fixing this would require allowing IL2CPU tasks funneling back to MSBUILD some error messages instead of throwing an exception. This will be adressed in a future patch when we will plug the IL2CPU task with X# instead of the current assembler.
2012-10-05 16:11:58 +00:00
BlueSkeye_cp
428d4a0e08 Fix issue #15667 : X# compiler doesn't prevent defining a function inside a function 2012-10-02 14:49:17 +00:00
BlueSkeye_cp
a2e7e7ff55 Fix issue #15666 : X# compiler fails to check the last function in a source code file is complete 2012-10-02 14:36:12 +00:00
BlueSkeye_cp
4437fa419f Fix issue #15565 : X# compiler doesn't properly handle unbalanced closing curly braces 2012-10-02 14:16:02 +00:00
BlueSkeye_cp
ad9bb91b22 Fix issue #15662 : X# compiler crashes on a line that contain a single slash
Fix issue # 15663 : X# compiler fails to detect some syntax error in comments
2012-10-02 09:33:58 +00:00
BlueSkeye_cp
2a00898dcb Fix issue #15661 : X# parser doesn't let you embed a single quote in a literal string
You can now embed a single quote character in an X# literal string provided you escape this character by preceding it with a backslash. For example :
var .DebugWaitMsg = 'Waiting for \'debugger\' connection...'
2012-10-01 15:29:02 +00:00
BlueSkeye_cp
0973b84458 Fix issue #15660 : X# asm code generator doesn't properly handle double quotes in literal strings
X# asm code generator now uses back quotes to surround literal strings in generated asm code. Back quote characters in X# literal strings are properly escaped if they aren't already. Double quotes characters ub X# literal strings don't trigger a NASM compilation error anymore.
2012-10-01 15:18:35 +00:00
BlueSkeye_cp
30784d81bd Fix issue #15638 : Classes in global namespace make the IL2CPU task crash 2012-10-01 12:34:35 +00:00
BlueSkeye_cp
f63d0157da Fix issue #15644 : Check for Bochs or VMware being installed during Builder prerequisites check. 2012-09-24 07:56:45 +00:00
BlueSkeye_cp
914a177cf9 2012-09-21 11:09:08 +00:00
BlueSkeye_cp
e4a82957c2 Fix issue #15637 : The VS DebugEngine may fail to resolve some breakpoints and throws an exception at debugging session startup 2012-09-21 10:27:20 +00:00
BlueSkeye_cp
d64f99adf3 Add Bochs debugging support to Visual Studio Cosmos project (UI).
A new pane and associated launch type is added in the Cosmos project properties pane.
2012-09-20 09:41:02 +00:00
BlueSkeye_cp
277254ef5f Fix issue #15634 : A VS ArgumentNullException may occur with default Cosmos project template 2012-09-20 09:23:35 +00:00
BlueSkeye_cp
6a91eeb14f Fix additional error conditions for issue #5628 2012-09-19 17:15:19 +00:00
BlueSkeye_cp
4acc61602c Fix a missing parenthesis in changeset #95785 2012-09-19 15:56:08 +00:00
BlueSkeye_cp
4fbfd90584 Fix issue #15628 : IL2CPU crashes when Cosmos project directory is deleted and recreated 2012-09-19 15:34:55 +00:00
BlueSkeye_cp
7372c8a9bd Bochs integration : alpha version
Limitations :

- Bochs must be installed on the system. This is not checked as a  prerequisite by the Builder.
- You will find a GuessForBochs Cosmos project under BlueSkeye user project folder that can be used to launch the Guess project under Bochs.
- You may have to fix manually the path for the following properties in Cosmos.bxrc file copied to the CosmosForBochs\Bin\Debug folder
  * romimage
  * vgaromimage
- The Cosmos project UI is not yet Bochs aware. If you do not use the GuessForBochs project you must manually edit your Cosmos project file to modify the following property in both the Debug and Release property group from the project file :

    <Launch>Bochs</Launch>

  You must also add the following properties in both the Debug and Release property group from the project file :

    <BochsConfig>Cosmos.bxrc</BochsConfig>
    <Bochs_Deployment>ISO</Bochs_Deployment>
    <Bochs_Launch>Bochs</Bochs_Launch>
    <Bochs_DebugEnabled>True</Bochs_DebugEnabled>
    <Bochs_DebugMode>Source</Bochs_DebugMode>
    <Bochs_IgnoreDebugStubAttribute />
    <Bochs_VMwareEdition>Player</Bochs_VMwareEdition>
    <Bochs_OutputPath>bin\Debug\</Bochs_OutputPath>
    <Bochs_Framework>MicrosoftNET</Bochs_Framework>
    <Bochs_UseInternalAssembler>False</Bochs_UseInternalAssembler>
    <Bochs_TraceAssemblies />
    <Bochs_EnableGDB>False</Bochs_EnableGDB>
    <Bochs_StartCosmosGDB>false</Bochs_StartCosmosGDB>
    <Bochs_Name>GuessForBochs</Bochs_Name>
    <Bochs_Description>Use Bochs emulator to deploy and debug.</Bochs_Description>
    <Bochs_VisualStudioDebugPort>Pipe: Cosmos\Serial</Bochs_VisualStudioDebugPort>
    <Bochs_PxeInterface>192.168.43.1</Bochs_PxeInterface>
    <Bochs_SlavePort>Serial: COM3</Bochs_SlavePort>
    <Bochs_ShowLaunchConsole>False</Bochs_ShowLaunchConsole>
2012-09-14 17:13:06 +00:00
BlueSkeye_cp
5031084773 2012-09-14 15:59:40 +00:00
BlueSkeye_cp
b0b7f42c32 Added a new -NOVSLAUNCH Builder command line argument that prevent Visual Studio to be started once installation is done. This option is only available for the Dev Kit. 2012-09-07 10:34:42 +00:00
BlueSkeye_cp
5698a512e7 Fix issue #15565 2012-09-05 12:04:29 +00:00
BlueSkeye_cp
24e6f6204f Fix issue #15553 2012-09-05 11:59:15 +00:00
kudzu_cp
d329fb0785 2012-08-18 17:14:31 +00:00
kudzu_cp
3924c5002b 2012-08-18 14:03:27 +00:00
kudzu_cp
e608a303d1 2012-08-18 14:02:15 +00:00
kudzu_cp
aa702c6cd0 Missing semi colon. 2012-08-18 03:43:39 +00:00
kudzu_cp
800aaa6bfe 2012-08-13 14:59:54 +00:00
kudzu_cp
4b5203f13d 2012-08-13 00:55:41 +00:00
kudzu_cp
3efe2c451a 2012-08-13 00:45:40 +00:00
kudzu_cp
2249797e61 2012-08-13 00:39:42 +00:00
kudzu_cp
460ef24805 2012-08-13 00:23:22 +00:00
kudzu_cp
23b10260b2 2012-08-12 17:11:38 +00:00
kudzu_cp
6331a7c4ae 2012-08-12 17:09:55 +00:00
kudzu_cp
b6ae77918b 2012-08-12 17:06:35 +00:00
kudzu_cp
a8e49df02c 2012-08-12 16:51:55 +00:00
kudzu_cp
5613c6387e 2012-08-12 16:35:36 +00:00
kudzu_cp
263281a2f0 Faster stepping. 2012-08-12 15:29:07 +00:00
kudzu_cp
ad815d3d97 2012-08-12 10:00:27 +00:00
kudzu_cp
b6ff2883b6 2012-08-12 00:31:19 +00:00
kudzu_cp
fbbba12851 2012-08-12 00:19:44 +00:00
kudzu_cp
7a5307d32d 2012-08-11 21:38:39 +00:00
kudzu_cp
92ee9c4a3b 2012-08-11 21:33:02 +00:00
kudzu_cp
3d55cea968 2012-08-11 14:38:56 +00:00
kudzu_cp
23bc3aca3b Debugger work 2012-08-10 00:56:37 +00:00
kudzu_cp
e311eff315 Removed reversesourceinfos. 2012-08-08 03:51:54 +00:00
kudzu_cp
b53fde6b48 About to begin killing off old debug metadata. 2012-08-08 03:46:51 +00:00
kudzu_cp
c0a2b14b4b 2012-08-08 01:35:54 +00:00
kudzu_cp
cabc95bf6a 2012-08-08 01:26:59 +00:00
kudzu_cp
51d78c10ec Method labels now use GUIDs internally. Shorter and more efficient. 2012-08-07 22:23:17 +00:00
kudzu_cp
6cc797fb89 2012-08-07 21:03:48 +00:00
kudzu_cp
8536a39de0 2012-08-07 20:46:16 +00:00
kudzu_cp
0a730c7524 GUID label parsing from map. 2012-08-07 20:10:00 +00:00
kudzu_cp
ea194e1c8b Method End GUID label. 2012-08-07 19:49:21 +00:00
kudzu_cp
f87223003d Label GUIDs 2012-08-07 06:27:04 +00:00
kudzu_cp
6df6b245ad 2012-08-07 05:35:12 +00:00
kudzu_cp
1984ba8e7e Labeling changes. 2012-08-07 05:29:26 +00:00
kudzu_cp
3011120e5e 2012-08-07 04:55:39 +00:00
kudzu_cp
2d53badc4f 2012-08-07 03:33:26 +00:00
kudzu_cp
e3b202f460 2012-08-07 03:16:36 +00:00
kudzu_cp
b0c735d0bb 2012-08-07 03:10:19 +00:00
kudzu_cp
9154ebec11 2012-08-07 03:03:18 +00:00
kudzu_cp
440b8ff60f 2012-08-07 02:48:32 +00:00
kudzu_cp
16a03ff608 2012-08-07 01:54:08 +00:00
kudzu_cp
3d2e7d8640 2012-08-07 01:47:53 +00:00
kudzu_cp
e099a451cc 2012-08-07 00:48:57 +00:00
kudzu_cp
972d87603d 2012-08-07 00:20:10 +00:00
kudzu_cp
76b6f95bf2 2012-08-06 22:09:30 +00:00
kudzu_cp
f7083d8a6e 2012-08-06 21:41:03 +00:00
kudzu_cp
6337cc953a 2012-08-06 21:36:59 +00:00
kudzu_cp
285637dbc7 2012-08-06 21:27:31 +00:00
kudzu_cp
9eef59b8d6 2012-08-06 07:30:58 +00:00
kudzu_cp
b4d132fde9 2012-08-06 06:38:46 +00:00
kudzu_cp
0bed75099b 2012-08-06 05:57:01 +00:00
kudzu_cp
0cbc449003 2012-08-06 05:41:06 +00:00
kudzu_cp
79058f0f4d 2012-08-06 05:30:44 +00:00
kudzu_cp
dda4b2f028 2012-08-06 05:17:52 +00:00
kudzu_cp
d013d61cfb 2012-08-06 05:10:59 +00:00
kudzu_cp
9e33cfbf01 2012-08-06 05:05:37 +00:00
kudzu_cp
a9ae1d41c2 2012-08-06 05:02:24 +00:00
kudzu_cp
a5d18430b3 2012-08-06 04:16:56 +00:00
kudzu_cp
ceb2c90e83 2012-08-06 04:11:51 +00:00
kudzu_cp
1025370e2f 2012-08-06 02:58:03 +00:00
kudzu_cp
8c49fae09a 2012-08-06 02:35:21 +00:00
kudzu_cp
a0be60e534 More merge downs. 2012-08-06 02:32:12 +00:00
kudzu_cp
4e217ed951 2012-08-06 02:15:42 +00:00
kudzu_cp
9a856e0102 2012-08-06 02:11:34 +00:00
kudzu_cp
b7afca597b Simplification, merge down Cosmos.Assember.x86 2012-08-06 02:08:45 +00:00
kudzu_cp
b5255742e4 2012-08-06 01:59:24 +00:00
kudzu_cp
0c41fbf3e6 2012-08-06 01:49:14 +00:00
kudzu_cp
a6b96a583f 2012-08-06 01:37:32 +00:00
kudzu_cp
d450185afa 2012-08-06 01:36:12 +00:00
kudzu_cp
a26eb7dfa7 2012-08-06 01:16:04 +00:00
kudzu_cp
110a4b244f 2012-08-06 01:15:06 +00:00
kudzu_cp
185baa7fc4 2012-08-06 00:52:23 +00:00
kudzu_cp
211bbdae91 2012-08-06 00:50:18 +00:00
kudzu_cp
f55faaca34 2012-08-06 00:41:43 +00:00
kudzu_cp
c799ef11f7 2012-08-06 00:32:57 +00:00