Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-26[msvc] Update csproj files (#6100)monojenkins
2017-08-23Added compile target option as libraryElastino
Added -t:library since mcd does not interpret output filename for dll suffix. Without -t:library option, it fails to compile. {code} mono$ mcs -debug+ -r:System.Core Options.cs -o:Mono.Options.dll error CS5001: Program `Options.exe' does not contain a static `Main' method suitable for an entry point Compilation failed: 1 error(s), 0 warnings {code}
2017-08-07[msvc] Update csproj filesAlexander Köplinger
2017-08-07[bcl] Specify the name of the key file on the command line instead of using ↵Zoltan Varga
the AssemblyKeyFile attribute for consistency and to make it easier to do path name manipulation on the file name. (#5316)
2017-06-02[Mono.Options] Fix test and add suite to CI (#4963)Alexander Köplinger
* [Mono.Options] Fix test and add suite to CI We missed running Mono.Options tests on CI so we didn't catch this error which was introduced with: https://github.com/mono/mono/pull/4719 ``` CSC [net_4_x-darwin] net_4_x_Mono.Options_test.dll Test/Mono.Options/CommandSetTest.cs(231,16): error CS7036: There is no argument given that corresponds to the required formal parameter 'error' of 'CommandSet.CommandSet(string, TextWriter, TextWriter, Converter<string, string>)' ``` * [Mono.Options] Stop hardcoding \n to fix tests on Windows
2017-05-15[msvc] Update csproj files (#4846)monojenkins
2017-04-20[Mono.Options] CommandSet and PCL/NetStandard Support (#4719)Matthew Leibowitz
When `PCL` is defined, the intent is that the resulting `Mono.Options.dll` assembly will be usable on all PCL profiles. This includes "silly" profiles such as Profile259, which lacks the `System.Console` type, meaning e.g. `Console.Out` doesn't exist. Unfortunately, the `CommandSet(string, Converter<string, string, TextWriter, TextWriter)` constructor would use `Console.Out` and `Console.Error` when the `TextWriter` parameters were `null`, meaning this constructor can't be provided for all PCL profiles. Altering the constructor to instead use `TextWriter.Null` would allow the constructor to be provided, but would be a *worse* experience, IMHO: anybody (everybody!) expecting the default values to "do something useful" will be sorely disappointed, as output and error messages would instead be dropped. :-( Instead, remove this constructor: public CommandSet (string suite, MessageLocalizerConverter localizer = null, TextWriter output = null, TextWriter error = null); and replace it with these *two* constructors: public CommandSet (string suite, MessageLocalizerConverter localizer = null) public CommandSet (string suite, TextWriter output, TextWriter error, MessageLocalizerConverter localizer = null) The first constructor, which accepts no `TextWriter` parameters, is only provided in non-PCL builds, allowing it to use `Console.Out`. The second constructor is available in PCL profiles, and *requires* that `output` and `error` be non-`null`. Documentation has been updated accordingly.
2017-04-18[msvc] Update csproj files (#4711)monojenkins
2017-03-09[Mono.Options] Add missing test file to test sourcesAlexander Köplinger
It was missed in c1b9fc566a365cf6923218eae9098d0fd0e632ae
2017-03-07[Mono.Options] Update documentation buildMarek Safar
2017-03-07[Mono.Options] Add Mono.Options.Command, .CommandSetJonathan Pryor
Mono.Options.CommandSet allows easily having separate commands and associated command options, allowing creation of a *suite* along the lines of **git**(1), **svn**(1), etc. CommandSet allows intermixing plain text strings for `--help` output, Option values -- as supported by OptionSet -- and Command instances, which have a name, optional help text, and an optional OptionSet. var suite = new CommandSet ("suite-name") { // Use strings and option values, as with OptionSet "usage: suite-name COMMAND [OPTIONS]+", { "v:", "verbosity", (int? v) => Verbosity = v.HasValue ? v.Value : Verbosity+1 }, // Commands may also be specified new Command ("command-name", "command help") { Options = new OptionSet {/*...*/}, Run = args => { /*...*/}, }, new MyCommandSubclass (), }; suite.Run (new string[]{...}); CommandSet provides a `help` command, and forwards `help COMMAND` to the registered Command instance by invoking Command.Invoke() with `--help` as an option.
2017-01-10[msvc] Update csproj files (#4221)monojenkins
2016-11-14[msvc] Update .csproj filesAlexander Köplinger
2016-10-17[build] Regenerate .csproj filesAlexander Köplinger
Note: DISABLE_CAS_USE was removed in ed989a8e9e5c170b6d19edc60bb80e8a4e6d5cc0
2016-05-27[genproj] Do not use \r on the Unix parts of the build hook, add RabbitMQ hooksMiguel de Icaza
2016-05-19[msbuild projects] Use newlines without a carriage return for Unix targets ↵Miguel de Icaza
to appease MS msbuild
2016-05-19[genproj] Use an explicit IntermediateOutputPath to prevent rebuilds on ↵Miguel de Icaza
cyclic assemblies
2016-05-18genproj: Improve handling of executables and projects with build dependenciesMiguel de Icaza
2016-05-18[genproj] Updates to project generator and csproj files.Miguel de Icaza
* Adds support for a handful of new command line arguments that we now use in the build. * Always attempts to match to a project name, to get the proper project dependency. * Update to support .exe and .dll in the generation. * Remove warnings and some dead code * Update the resulting csproj files based on running: make update-csproj make package-inputs mono genproj.exe
2016-04-04[build] Change the way how mcs references are passed to compiler to always ↵Marek Safar
use full path. One of csc prerequisites because csc uses -lib as path which is considered after RuntimeEnvironment.GetRuntimeDirectory which makes -lib useless
2016-04-01[Mono.Options] Added support for Enums in the PCL versionMatthew Leibowitz
- Support for String to Enum - Support for Number to Enum - Support for Flags to Enum - Added a UnitTest
2016-02-22[Mono.Options] Changed the code a bit so that it works with PCLMatthew Leibowitz
- TypeDescriptor is unavailable, but basic conversion can be done using IConvertible
2016-01-29Remove ChangeLog files from the repoAlexander Köplinger
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2015-12-02[csproj] Remove *net_4_5.csproj files from the class libsAlexander Köplinger
We only use the net_4_x profile now so those csproj's don't make sense anymore.
2015-09-14[build] Generated up-to-date net_4_x MSBuild projects.João Matos
2015-04-21Fix Options.cs warning on mobile buildsChris Hamons
- Explictly disable warning CS0618 for Options.cs in Mono.Options
2015-03-28[Mono.Options] Fix messages in tests that changed after ↵Alexander Köplinger
bf66c00bc7379c71de1669799a1801ec7174c7df
2015-03-17[genproj] Re-generated the class library projects.João Matos
2015-03-02[build] Add the assemblies in LIB_REFS to LIB_MCS_FLAGS automatically to ↵Zoltan Varga
reduce duplication.
2015-02-27[build] Add dependency information for class libraries using a LIB_REFS ↵Zoltan Varga
variable which lists the assemblies a given assembly depends on to build.
2015-01-13[build] Updated csproj files.Marcos Henrich
2014-12-04Remove 4.0 profileMarek Safar
2014-11-24Remove 2.0 profile csproj filesMarek Safar
2014-09-04Cleanup namespace names of class lib tests to follow conventionAlexander Köplinger
A couple of the test suites didn't follow the MonoTests.<namespace of class under test> naming convention for the namespace.
2014-05-25[build] the csproj files can now do a full class libraries buildMiguel de Icaza
2014-05-24[build] Fresh new csproj files based on the updated build system.Miguel de Icaza
2014-04-19Refreshed the CSProj files to use the new output build directoryMiguel de Icaza
2014-03-10docupdate: Mono.Options documentation updateJoel Martinez
2013-12-06[Mono.Options] Improve error message for badly bundled args.Jonathan Pryor
mono(1) supports a "joined" verbose flag, `mono -v-v-v-v`, which Mono.Options doesn't support. Attempting to use it, however, resulted in a "weird" error message: $ csharp -r:Mono.Options.dll csharp> using Mono.Options; csharp> var p = new OptionSet { { "v", v => {} } }; csharp> p.Parse (new[]{"-v-v-v"}); Mono.Options.OptionException: Cannot bundle unregistered option '--'. ... This looks very weird to users because they never used a "--" option, and if they had then `--` would have disabled further option processing (as documented and implemented in OptionSet.Parse()). Confusion all around. Improve the error message so that it instead generates: Mono.Options.OptionException: Cannot use unregistered option '-' in bundle '-v-v-v'. That way the user gets the full context of where this "unregistered option" came from.
2013-07-02Update csproj filesMarek Safar
2013-02-21Update 4.5 bcl solution filesMarek Safar
2013-02-07Update csproj filesMarek Safar
2012-11-12[Mono.Options] Add documentation for Option.Hidden.Jonathan Pryor
2012-11-08[Mono.Options] Add support for hidden options (which are not written in ↵Rolf Bjarne Kvinge
WriteOptionDescriptions).
2012-06-26Fix System.Core reference in VS projectsMarek Safar
2012-04-17Add missing referencesMarek Safar
2012-04-09Fix Mono.Options tests build.alexrp
2012-04-05Update csproj filesMarek Safar
2012-02-10Add VS project files for test projectMarek Safar
2012-02-09Update class library csproj filesMarek Safar