Commit graph

2618 commits

Author SHA1 Message Date
geramy_cp
ff57733731 Fixed the last two errors in Cosmos.VS.WindowsPackage no more debug crashing yay :) 2013-02-03 11:54:51 +00:00
geramy_cp
ba915c87ff Fixed the Debugger. 2013-02-03 11:52:34 +00:00
geramy_cp
237448cfb5 2013-02-03 11:52:22 +00:00
geramy_cp
719c40ec96 Semi-Working Debugging. 2013-02-02 21:19:30 +00:00
geramy_cp
11f1073af3 Fixed the Plug build errors with Matthijs 2013-02-02 13:17:51 +00:00
HugeCode_cp
efdfa422f5 2013-01-27 17:09:26 +00:00
HugeCode_cp
f9fdd0ec3a 2013-01-27 16:43:31 +00:00
HugeCode_cp
1aa8e737ed Added support of call arguments. ComWriteAL() can be now replaced with ComWrite(AL).
Warning: I didn't make it very elegant. Maybe I will look on it later.
2013-01-27 14:27:09 +00:00
HugeCode_cp
faaf50a211 Fixed problem with "Unknown token '/' found" message. //unelegant 2013-01-26 15:17:34 +00:00
HugeCode_cp
e25f15da16 2013-01-26 14:29:14 +00:00
HugeCode_cp
640a2749d5 Something fixed in builder. 2013-01-26 14:16:24 +00:00
mterwoord_cp
34f3267f3f 2013-01-25 16:22:02 +00:00
BlueSkeye_cp
92cb7a6567 Updated X# documentation for signed integer multiplication support. Also added several controls that help developers better understand some errors than with NASM issued messages. Controls include 8 byte registers are not allowed for multiplication and both registers must be of the same size. 2012-10-08 17:50:53 +00:00
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