This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - alberthrocks
Pages: 1 ... 22 23 [24] 25 26 ... 55
346
« on: December 28, 2011, 12:42:14 pm »
Still can't open it... albert@albert-PC ~/TICalc/BexIDE1.1 $ mono bexide.exe System.NullReferenceException: Object reference not set to an instance of an object at ICSharpCode.TextEditor.TextAreaControl.AdjustScrollBars () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) ICSharpCode.TextEditor.TextAreaControl:AdjustScrollBars () at ICSharpCode.TextEditor.TextArea.OnPaint (System.Windows.Forms.PaintEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
347
« on: December 27, 2011, 07:00:33 pm »
Wow, this is quite interesting! There is already another GUI library in Axe called Axe GUI Library (duh) - have you taken a look at that? It's stalled though, and is undergoing (or at least, we're planning) a rewrite. A couple of things: 1) When taking screenshots, please don't show us code. We know it's Axe, and no one will copy the code from the screenshot anyway! Show us the meat - the GUI itself in action! 2) What other widgets are you planning to implement? 3) Possibly join us (Axe GUI Library) in the effort of making an awesome GUI library in Axe? (If not, that's OK too - there's nothing stopping you from going on, but I think collaborative effort may make a better fruit. )
348
« on: December 26, 2011, 11:04:08 pm »
One of the main differences between Flash and regular artwork is the term vector. It's not quite a special term - if you know vectors in math or physics, this is just like it, but in terms of drawn lines and such. Your best bet is to start anew; you're very unlikely to get favorable results from trying to make this into a vector image (if at all possible). If you have the original image editor file (Photoshop has PSD, GIMP has XCF), use it as a reminder of how you made the image. Vector images in Flash are designed differently - you don't have an eraser or selection tool, or any of that kind of stuff. Instead, you design based on lines, curves, rectangles, and other geometric shapes. It sounds horrifying, but it is very intuitive, and is the standard for all 2D animation studios today (including anime studios). (Post-processing can add effects and the like, but that's after the animation.) The other main difference between regular artwork and vector artwork is scalability - you can easily scale vector art to any size you want, including big-banner-in-the-mall size. (This doesn’t mean you can see more details in your artwork, just that it’s crisp clear for any size.) It will take some time to get used to - not surprising, since this is an entirely new concept. But you'll get used to it and start liking it. Besides Flash, the other vector format that isn’t commonly known is called SVG. It’s an open standard for scalable vector graphics, and it’s pretty darn good. It’s also 100% XML... not that you would (or should) modify the SVG’s XML. To send you along your way, I recommend Inkscape. This is a very popular, free and open source, and decent SVG editor. Why start with this? Not just the fact that it’s free, but also because SVG is the vector graphics format for HTML5 development. SVG graphics can also be imported to Adobe Flash [IDE], so it’s a very good starting point. (Flash development files to SVG is a bit murky - it’s possible, but I wouldn’t recommend it unless you have technical experience, even if I don’t own a copy of Adobe Flash ) To be fair, Adobe Illustrator is also a decent (but expensive) SVG editor. I think it also has more effects and such (translated to the SVG format if it doesn’t exist), but I’m not terribly sure. For HTML5, CSS, HTML, and Javascript will form your game. CSS and HTML are used to design the game, and Javascript to make it interactive - the true programming language in all of this. For Flash, ActionScript and your graphics will form your game. (For HTML5, the HTML tags will allow you to include your artwork and other assets for your game. In Flash, this typically is all bundled in.) ActionScript, as the name implies, is the programming language for Flash. Flash also offers animation - SVG is getting animation support, but it's not widely supported yet - animation is typically done via Javascript in HTML5. ( Inkscape is getting this soon.) Hopefully this helps! The journey will be long, but in the end you won’t regret it. I will warn you that SVG may cause you to think only cartoons can be made with it - there are some high quality graphics to be had with SVG, it just takes work! (Inkscape’s About screen is a good example!) There are also effects inside the SVG format, like blurring and lighting effects. Good luck!
349
« on: December 24, 2011, 09:26:44 am »
Maybe one of the included keymap config files could be just like Wabbit's default. It's alright, but could be better IMHO.
Do you know where I can find an official copy of what Wabbitemu uses for key mappings? This should be pretty trivial to change.
There are two ways: 1) Look in hardware/keys.c and look for the corresponding key bindings set up (all in C); 2) Look at http://wikiti.brandonw.net/index.php?title=Emulators:Wabbitemu (all in plain English) Note that the keys used in hardware/keys.c don't match up with the SDL keys, so don't use it verbatim! EDIT: Also, I don't think a "keymap config file" exists for Wabbitemu.... unless you're talking about those keymap images, which isn't exactly something you would want to play with unless you wish to implement ports. (Some possible outdated (if at all possible) skins here (file *keymap): http://code.google.com/p/wxwabbitemu/source/browse/#svn%2Ftrunk%2Fsrc%2Fgui%2Fskins)
350
« on: December 21, 2011, 08:59:08 pm »
Cool! I'll get testing ASAP (within 2-3 days)
351
« on: December 21, 2011, 07:32:41 pm »
Does anybody know how you can use a bytearray or a list (in python) to manipulate or create a pygame Surface?
Take a look at these two classes (is that the right term?): http://pygame.org/docs/ref/pixelarray.htmlhttp://pygame.org/docs/ref/surfarray.htmlIt should do what you want it to do. Note that surfarray requires numpy/numeric, so keep that in mind when you're using it. (It's standard, but it may or may not increase built exec size.)
352
« on: December 21, 2011, 10:08:22 am »
Because I don't want people to play with broken exes, here are working ones!
I made a few minor tweaks. Double-clicking the exe now starts the interpreter, you can drag and drop a text file over the exe to try and run it, and the program will drop into the interpreter mode after a text file finishes running (so that you can do a postmortem, dissect variables, etc.)
For some inexplicable reason, you need to add a 'import pygame._views' while using pyinstaller in windows but exclude it for linux.
Good tweaks indeed. Also, that bug you mention about has been fixed rather recently... O_O http://www.pyinstaller.org/ticket/406There's a "hook" that had to be implemented for it to work. (pygame._view is considered as a "hidden" import.) Some further suggestions... 1) I suggest you look into threading (you'll be seeing that very soon in Croquette!) for Pygame event pumping. If you don't "process" the events sent to the Pygame window, Windows will think it died and ask to terminate it. The Pygame portion MUST remain in the main thread (unfortunately), but the CLI interpreter can be handled in the thread, making things work out nicely. (Even if it's odd to do graphics processing first ) 2) Add an option to hide/show the window? (As you've demoed, some commands do not need the screen shown.) 3) CLI commands - like when I do Output(1,1,"Hello world!"), it shows it in the console instead. A flag must be toggled for this to work, of course. If you want to implement this, you need to use a mix of the ncurses module and the Windows Console module. Otherwise, it's pretty nice
353
« on: December 20, 2011, 11:20:55 pm »
Well, I've tested it and it simply doesn't work, so.... But either way, I had a PyInstaller environment set up for Croquette building and testing, so I easily translated over my build script for this project! Here's my script: :: This is where PyInstaller is located on your computer. It should be the stable (1.5.x) version! :: Do NOT use the trunk version; it will NOT work. @set PYINSTALLER_PATH=C:\Users\arthur\Documents\pyinstaller-1.5.1 :: This is where you want the build files to be. You should set this to the source dir\build directory, but you're free :: to choose any directory you wish - just make sure it exists. @set BUILD_DIR=C:\SourceCode\axeinterpreter\build :: File to compile (this should be the main one) @set TO_COMPILE=C:\SourceCode\axeinterpreter\source\main.py :: Basename of Python file that you're compiling - for example: :: Compiling C:\bla\bla\bla\interesting.py :: The basename for this file is "interesting" :: (do not specify quotes) @set BASENAME=main :: Final base file name @set FINALNAME=AxeInterpreterv0.0
:: Uncomment if you haven't used PyInstaller before ::C:\Python27\python %PYINSTALLER_PATH%\Configure.py C:\Python27\python %PYINSTALLER_PATH%\MakeSpec.py --onefile --windowed -o %BUILD_DIR% %TO_COMPILE% C:\Python27\python %PYINSTALLER_PATH%\Build.py %BUILD_DIR%\%BASENAME%.spec move %BUILD_DIR%\dist\%BASENAME%.exe %BUILD_DIR%\dist\%FINALNAME%.exe pause Here's a Windows build for people to play with - again, the program seems to not work, but I release it anyway just in case someone does get it to work. Attached is a ZIP file - just decompress and enjoy! There are helper BAT files so that you will never have to open a console ever again This should also work in Linux via WINE. EDIT: Oops, forgot to include PyGame! It still doesn't work, but YMMV: http://dl.dropbox.com/u/1016340/AxeInterpreterv0.0_Windows_x86.zip (if link is not up immediately, it will be in a few minutes)
354
« on: December 18, 2011, 11:43:27 am »
I think an ELF loader would be amazing It would allow C++ support, and (possibly) dynamic libraries! (Although I don't think dynamic libraries would be good on the Nspire - a bundled, static package is more portable - it still will be useful for some other aspects and the thought of it being possible is nice On a somewhat related note, is the Newlib issue on the wiki still relevant? I see that we are including newlib in the API building...
355
« on: December 17, 2011, 11:39:28 pm »
I don't know what you mean by that... but its just a command that takes label names for its arguments. The interrupt command also does this: fnInt(LBL,0) for instance.
Oh.... silly me I didn't read it quite carefully, and parsed it (get it?) as: Lbl FAKE Z-Test(r1, 1, 2, 3) Lbl 1 Lbl 2 Lbl 3 Return Sorry for my mishap! The correct example should be this: .SLCTTEST Select-like cmd test .Should print "Hi!" MyLbl(0) Pause 2000 .Should print "Long time, eh?" MyLbl(1) Pause 2000 .Should print "Can't wait to!" MyLbl(2) Pause 2000 .Should print "Laugh out loud" MyLbl(3) Pause 2000 .Should print "It is now Friday" MyLbl(4) Pause 2000 Lbl MyLbl .Just in case... ClrHome Z-Test(r1,HI,LTE,CWT,LOL,TGIF) Return Lbl HI Output(0,0,"Hi!") Return Lbl LTE Output(0,0,"Long time, eh?") Return Lbl CWTG Output(0,0,"Can't wait to!") Return Lbl LOL Output(0,0,"Laugh out loud") Return Lbl TGIF Output(0,0,"It is now Friday") Return
356
« on: December 17, 2011, 11:28:32 pm »
I think the big thing to note about this feature is that values start from zero. That is, when A is 0, the first label is jumped to; when A is 1, the second label is jumped to, and so on. I'm still slightly confused myself - is this a Lbl within a Lbl?
357
« on: December 17, 2011, 08:11:12 pm »
@alberthrocks woo! Well, somewhat lol. I'm going to guess Linux only accepts the forward-slash, and not the back-slash, for file path's? I believe it doesn't matter for Windows, so if the different slashes are the problem, that's an easy fix That might be why it can't find the settings file (because Application.StartupPath seems to be working fine). The other errors seem to be from the editor (it's called FastColoredTextBox). If I switch over to ICSharpCode's editor by adding the entire project, maybe that'll help fix it? (It is written in C# as well.)
Ahh, so the initial error has nothing to do with the console output? In that case, go ahead. If not, don't jump to switching code editors!
358
« on: December 17, 2011, 07:27:39 pm »
So I've finally gotten to test it in Linux - and it *might* actually work out of the box! However, we still have bugs to fix! When opening, I get this error: If this image isn't visible: ************************************************************ * Error X * *----------------------------------------------------------* * Error while trying to read the settings file. * * * * Error message: * * Could not find file "/home/albert/BexIDE\\settings.xml". * * * * [ OK ] * ************************************************************Also, this came out of the console after this error was closed (probably didn't exit from this error?): albert@albert-PC ~/BexIDE $ mono bexide.exe System.NullReferenceException: Object reference not set to an instance of an object at FastColoredTextBoxNS.AutocompleteListView.<.ctor>b__0 (System.Object o, System.EventArgs e) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs) at System.Windows.Forms.Control.OnLocationChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.UpdateBounds () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WmWindowPosChanged (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.WmWindowPosChanged (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 System.DllNotFoundException: Imm32.dll at (wrapper managed-to-native) FastColoredTextBoxNS.FastColoredTextBox:ImmGetContext (intptr) at FastColoredTextBoxNS.FastColoredTextBox.OnLoad (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.UserControl.OnCreateControl () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at FastColoredTextBoxNS.FastColoredTextBox.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 System.NullReferenceException: Object reference not set to an instance of an object at FastColoredTextBoxNS.AutocompleteListView.<.ctor>b__0 (System.Object o, System.EventArgs e) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs) at System.Windows.Forms.Control.OnLocationChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.UpdateBounds () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WmWindowPosChanged (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.WmWindowPosChanged (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 System.NullReferenceException: Object reference not set to an instance of an object at FastColoredTextBoxNS.AutocompleteListView.<.ctor>b__2 (System.Object o, System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) <Module>:invoke_void__this___object_FormClosingEventArgs (object,System.Windows.Forms.FormClosingEventArgs) at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool) at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Exit () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SetWindowPos (IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUI.SetWindowPos (IntPtr handle, Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsCoreInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBounds (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Location (Point value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.set_Location (Point value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.CenterToScreen () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnCreateControl () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at FastColoredTextBoxNS.AutocompleteListView.<.ctor>b__2 (System.Object o, System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) <Module>:invoke_void__this___object_FormClosingEventArgs (object,System.Windows.Forms.FormClosingEventArgs) at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool) at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Exit () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.CreateHandle () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool) at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0 at Betafy.Program.Main () [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at FastColoredTextBoxNS.AutocompleteListView.<.ctor>b__2 (System.Object o, System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0 at (wrapper delegate-invoke) <Module>:invoke_void__this___object_FormClosingEventArgs (object,System.Windows.Forms.FormClosingEventArgs) at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool) at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Exit () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.CreateHandle () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool) at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0 at Betafy.Program.Main () [0x00000] in <filename unknown>:0 Hope this helps! EDIT: Ick, I'm not a fan of the code boxes sans monospaced font Edited to use the tt tags instead.
359
« on: December 16, 2011, 09:42:01 pm »
Yeah, I use Windows 7 on my laptop, and Vista on my desktop. I'll try to address your concerns in order:
Poor me is still using Windows XP and superslow Vista... *sigh* But grateful me also uses Linux Mint! 1) I can recompile the solution under 3.0 or 3.5; whichever the most common form of Mono is equivalent to. I'm not entirely sure, though, if that will work when I implement the .NET portion because I tried making the project .NET 3.5 after someone told me that that would be better for Mono, but I got an error saying Microsoft.CSharp was not compatible (which contains methods for compiling C# code; I'd also assume there would be a similar error for Microsoft.VisualBasic).
Yeah, there are some assemblies that simply won't work in Mono due to non-implementation. I would like to you keep your current code, unmodified - there *are* advantages to having native code. However, you can "fork" off the code and work with that for Mono development. See below for some more info about this.... 2) I don't imagine that would be hard. I mainly only use the WinForms designers and the 8XP library as of now. WinForms, eh? It is indeed supported on Mono, but it... well, looks like Windows on Linux. If you would like to provide a more "native" experience, you would need to port it to GTK+ (.NET). For the 8XP library, if it uses anything exotic, then it will also require a (hopefully minor?) port. Now that I think about it... If I were to get Mono for Windows, could I compile it to target Linux/OS X?
Ahh, and that's the other way. Mono does NOT interfere with your current .NET installation - it simply acts like a wrapper if you decide to use it to run your .NET programs with it. If you develop for Mono, the .NET executable will work for ALL platforms that support it! HOWEVER, if you are looking for a standalone, no-need-for-.NET executable, then you are limited to Windows only. On Windows, the standalone build is rather complex (it requires a nasty mix of Cygwin and MinGW to perform the build, since we are doing actual static linking - raw code - for making the standalone build). This is called making a bundle (mkbundle). I am working on a script to automate the creation of the standalone build environment. You might make me finish it once and for all! Note that this mkbundle frenzy is not as crazy on Linux or Mac - you just need to install the compiler and presto, it will work. I will handle the Linux side for you, since it's pretty direct for me (and you don't have to install Linux ). As I've mentioned above, WinForms is supported, but it looks like Windows on Linux/Mac. If you want to, you can port it to GTK+ .NET (included with Mono on Windows, I think), but remember that the two can be vastly different. Finally - if you want to take that leap, I strongly suggest grabbing the Mono Migration Analyzer tool (MoMA), found here: http://www.mono-project.com/MoMAIt's very, very useful in determining what is incompatible for the transition from .NET to Mono. Anyway, I hope this helps!
360
« on: December 16, 2011, 08:59:19 pm »
@alberthrocks, I personally don't use Linux, but I would love if someone could port this with Mono or something
I can tell, since you posted beautiful Windows (7? Vista?) screenshots of your program. Anyway, I will need all of your help to make this work - even though Mono can run raw .NET exes (and is supposed to!), there are a few issues I'm sensing: 1) .NET 4 is a relatively new version of .NET, and Mono may not support all of its new features. 2) It may be likely (due to the reason above) that certain portions must be ported to the Mono equivalents. I will need help with determining what you use. 3) I have no knowledge whatsoever of C#! (Assuming you wrote it in that language) You know your code best! (My C/C++ skills won't help here!)
Pages: 1 ... 22 23 [24] 25 26 ... 55
|