Git Product home page Git Product logo

nclass's People

Contributors

samididier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nclass's Issues

I am unable to compile resources on linux

https://gist.github.com/ArsenShnurkov/4a0a39826d779b726724

./src/DiagramEditor/Properties/Resources.resx
(resgen) "Tool exited with code: 1. Output: libpng error: invalid after png_start_read_image or png_read_update_info"

may be related:
https://bugzilla.novell.com/show_bug.cgi?id=580549
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738501

The code
var b = new System.Drawing.Bitmap ("./src/DiagramEditor/Resources/enum_item.png");
gives an exception "InvalidArgument" on mono on Linux

Error while importing .dll

---------------------------
Error
---------------------------
Error while importing!

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Server stack trace: 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in /var/tmp/portage/dev-lang/mono-4.2.2.30/work/mono-4.2.2/external/referencesource/mscorlib/system/throwhelper.cs:56 
  at System.Collections.Generic.List`1[T].get_Item (Int32 index) [0x0000c] in /var/tmp/portage/dev-lang/mono-4.2.2.30/work/mono-4.2.2/external/referencesource/mscorlib/system/collections/generic/list.cs:199 
  at NReflect.ReflectionWorker.GetTypeUsage (System.Type type, System.Collections.Generic.List`1& dynamicAttributeData, System.Type currentType, System.Collections.Generic.List`1 genericArguments) [0x00258] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:1337 
  at NReflect.ReflectionWorker.GetTypeUsage (System.Type type, IEnumerable`1 customAttributeDatas, System.Type declaringType) [0x000b6] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:1226 
  at NReflect.ReflectionWorker.GetTypeUsage (System.Type type, System.Reflection.MemberInfo memberInfo) [0x0000e] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:1169 
  at NReflect.ReflectionWorker.ReflectField (System.Reflection.FieldInfo fieldInfo, IFieldContainer fieldContainer) [0x0003f] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:926 
  at NReflect.ReflectionWorker.ReflectFields (System.Type type, IFieldContainer fieldContainer) [0x00064] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:692 
  at NReflect.ReflectionWorker.ReflectClass (System.Type type, IEntityContainer entityContainer) [0x0003d] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:337 
  at NReflect.ReflectionWorker.ReflectType (System.Type type, IEntityContainer entityContainer) [0x0004c] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:302 
  at NReflect.ReflectionWorker.ReflectTypes (IEnumerable`1 types, IEntityContainer entityContainer) [0x0003f] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:276 
  at NReflect.ReflectionWorker.Reflect (System.Reflection.Assembly assembly) [0x00035] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:177 
  at NReflect.ReflectionWorker.Reflect (System.String fileName) [0x0002c] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/ReflectionWorker.cs:158 
  at NReflect.Reflector.Reflect (System.String fileName) [0x00023] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/Reflector.cs:110 
  at (wrapper remoting-invoke-with-check) NReflect.Reflector:Reflect (string)
  at (wrapper xdomain-dispatch) NReflect.Reflector:Reflect (object,byte[]&,byte[]&,string)

Exception rethrown at [0]: 

  at (wrapper xdomain-invoke) NReflect.Reflector:Reflect (string)
  at (wrapper remoting-invoke-with-check) NReflect.Reflector:Reflect (string)
  at NReflect.Reflector.Reflect (System.String fileName, IFilter& filter, Boolean useNewAppDomain) [0x00046] in /var/calculate/remote/distfiles/egit-src/NClass.git/lib/NReflect_v0.9.4_src/NReflect/Reflector.cs:87 
  at (wrapper remoting-invoke-with-check) NReflect.Reflector:Reflect (string,NReflect.Filter.IFilter&,bool)
  at NClass.AssemblyCSharpImport.NETImport.ImportAssembly (System.String fileName) [0x00092] in /var/calculate/remote/distfiles/egit-src/NClass.git/src/AssemblyCSharpImport/NETImport.cs:114 

Note: Assemblys which are created with a fuscator might fail to import.
---------------------------
OK   
---------------------------

C# generics nesting level 3+ is not supported.

Getting an error "Invalid type name" when trying to add C# class property or method parameter of type IDictionary<KeyType, Action<IList<T>,T>>. It seems to be caused by IList<T> type argument, e.g. the third level of generics nesting.

No saving into .SVG format

The .svg format is key format for web, because it can include hyperlinks (and firefox follows them). This allows to connect diagram objects to corresponding pages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.