Hey folks, something new from Mac IDE.
Here a simple Video.
http://www.youtube.com/watch?v=wVslRaVQqxg (http://www.youtube.com/watch?v=wVslRaVQqxg)
Beta Download:
http://rapidshare.com/files/385726803/GLBasicEditor.zip
(http://rapidshare.com/files/385726803/GLBasicEditor.zip)
OK Time for Beta:
NOTE:
- Adding files to Project doesnt work, the Editor will compile all files opened.
- Need XCode Installed
- no iPhone compile yet
- only Demo mode available yet
have fun with it and let me know whats wrong.
if you like it...
ntonagel [at] gmx [dot] de - for donations
N1 xD
ja hurra es geht vorwärts :D
yeah! please, upload this beta (or pre Alpha)...
Nice work!
This Alpha has Hardcoded Paths at the moment, after patching this i upload it.
Hardcoded Paths are gone :)
+ Header + Libs now in Editor .app Folder
+ Compile Projects with Whitespaces
- Can only compile GBAP files where SRCFILES section is changed
- Compile only one gbas file - Fixed
- License things :/
Have to look how to correct the minus points.
Here a Shot...
And a new Video
http://www.youtube.com/watch?v=wIDr4caeWmA (http://www.youtube.com/watch?v=wIDr4caeWmA)
[attachment deleted by admin]
Hi Trucidare, really this GREAT!!!.
When wa can use or buy this IDE.
Thanks Trucidare, for your time for developement this beatifull app.
Best Regards,
Iván J.
Very impressive! :good:
It'll be something that Apple could advertise on their website
:good: :good: :good:
Now can compile all GBAP files :)
Code Output window show compilestats
This is great, can't wait to give it a go! =D
I Need this^^ A IDE for Mac is better then parallels with Windows for iPhone develop.
I am sure the Mac users will love this :)
http://www.youtube.com/watch?v=jUdNO8EOn1M !!!!!!!!!!!!
Mac users will jump all over this. :)
Mike
QuoteMac users will jump all over this.
Those that are maybe considering getting a Mac might be too... ;)
Any ideas how to set the target Platform?
in screenshot i use 2 buttons in toolbar.
[attachment deleted by admin]
Oo, exciting stuff =D - Can't wait for this! - Free or Purchase, I'll be at the front of the queue to be able to develop in OSX rather than having to switch to XP via parallels (back and forth, back and forth, repeat.....)
Some sneek peek for you :D
[attachment deleted by admin]
The last 3
[attachment deleted by admin]
As I have said before TRUCI you are da man!!!! =D
NOTE: This and big softy's iXors3d wrapper will be AWESOME. The best solution for developing on the iPhone and with the possibility of inline obj c....WOW.
Last one from today... WIth a big damn bug :(
my string from current textView is not changed but displayed as uppercase.
e.g.
Displayed:
SYSTEMPOINTER TRUE
Saved:
systempointer true
a simple idea was great :D
P.S.: Colooooooors :D and automatically uppercase keywords like described before.
http://www.youtube.com/watch?v=CYVOHW0i5lA (http://www.youtube.com/watch?v=CYVOHW0i5lA)
[attachment deleted by admin]
I was just about to post that it lacks the most needed feature: blue background.
Glad to see it's fixed now. =D
I start to like the Mac now :-[
looool ;)
today i only think about a solution to upper case the text on save. hard thing :(
Does the text have to be saved as upper/lower case? Can it not just be parsed when re-loading an app. or in real time?
Hi trucidare!
Wow! A Mac IDE for glbasic will be a great improvement (I currently have a MacBook Pro that i really would like to use to coding on glbasic!!).
Thanks for share your work!!
King Regards, fjsantos.
the text has to be saved as UPPERCASE but currently it would be saved how its written.
but GPC can only compile with uppercase commands :/
no idea how to do that :(
Will you be able to compile for all platforms, or just Apple-specific ones ?
Quotethe text has to be saved as UPPERCASE but currently it would be saved how its written.
but GPC can only compile with uppercase commands :/
no idea how to do that :(
Won't your lexical analyser within the editor (Scintilla?) do automatic case conversion for recognised (colour coded) key words?
Lets hope there is a solution to this problem. This is such an exciting project. :enc: :enc: :enc: :enc:
the lexer can display keywords in upper case, but only display, not change the text value.
tried this:
void Editor::ChangeCaseOfSelection(bool makeUpperCase) {
UndoGroup ug(pdoc);
for (size_t r=0; r<sel.Count(); r++) {
SelectionRange current = sel.Range(r);
pdoc->ChangeCase(Range(current.Start().Position(), current.End().Position()),
makeUpperCase);
char chr = pdoc->CharAt(current.Start().Position());
chr = toupper(chr);
pdoc->DeleteChars(current.Start().Position(), 1);
pdoc->InsertChar(current.Start().Position(), chr);
// Automatic movement cuts off last character so reset to exactly the same as it was.
sel.Range(r) = current;
}
}
have to look.
last solution is to parse the text and replace keywords in uppercase.
There surely is some "getvisibletext" function.
[itemEditor setGeneralProperty: SCI_GETSTYLEDTEXT parameter: 0 value: (long)(&tr)];
But crashes in return function with a error who isnt any.
LOL .. In c# string txtIn = richedit.text.toUpper(); I most probably dont understand the problem. :nana:
Fuzzy on this but Isn't internal styled scintilla text 2 bytes long per char, 1 for the character the other for the style bits?
it is, its a big problem :(
codegit: toupper(char*); is simpler, but does not solve the problem.
the problem ist my editor shows KEYWORD but save keyword to file. and the gpc only know KEYWORD. understand?
Yes I understand. LOL I know that you can solve this problem. 8) Are you going to release the IDE to us users (Payment/free)? O_O
isnt decided yet, but yes for users hehe.
ok working on Project wizard now. something like kitties start window.
the problem with uppercase is on "todo for beta" the last point (WRITE IN CAPS AND IT WILL COMPILE :D)
if all is going well i need beta testers next week.
requierements:
1 x Intel Mac (leopard or snow leopard)
1 x PPC Mac (leopard)
for all:
installed XCode environment (iphone sdk not neccessary yet)
also sollte ein G4 PPC mit Leo zum kompiliren reichen ? schon getestet ? Wenn ja auf zu EBay ;) <- kleiner tipp für preisbewußte
If you need an extra tester. I'm available. =D
Hi Marmor... For iPhone developing you Need a Intel mac!
yap its right G4 only Mac Developing not iphone
i have a powerbook g4.
but on all my machines are special frameworks and a lot of libs.
btw. you can install iphone sdk on g4 / g5.
I can test also, have a Macbook with Snow Leopard Installed.
I'd love to give it a test :) - macbook with snow leopard (10.6.3, 4gb etc, blah blah) with iPhone SDK.
My 3rd game will be finished this weekend and I'd happily put the finishing touches to it via the MAC IDE =D
iPhone Compile isnt implemented yet, first have to finish the GUI thingie.
compile for iphone takes 2 min to implement nothing great.
- Creating Projects
- Open Projects from Wizard possible
- Compiled for 10.5 linked against 10.5 libs so Leopard and PPC is supported for Mac Compile
now a new Video:
http://www.youtube.com/watch?v=7Gt6nKG7VU0 (http://www.youtube.com/watch?v=7Gt6nKG7VU0)
Found the Function which style the Keywords, after adding my line to uppercase the highlighted chars is working but the cursor is changing position. this thing make programming impossible. searching why the position is changing :/
for now all keywords must be written in UPPERCASE by you.
EDIT:// Adding new Files to Project isnt ready yet, have to get a solution for that :/ more search on web
Looking better each time I see it, well done!
thanks...
now the recent project table works :)
Ooh, very good, I'll give this a go tomorrow, when I get home! :good:
It seems to crash for me. I'm using Mac os 10.5.8 (Intel MacBook pro)
I have attached the error message below -
ok seems to be a bug in leopard SDK, on snow kittie runs.
please only send me only this lines if it crashes:
Thread 0 Crashed:
0 libSystem.B.dylib 0x920c9f30 strlen + 16
1 com.sun.Scintilla 0x001baf42 Scintilla::ScintillaBase::WndProc(unsigned int, unsigned long, long) + 1974
2 com.sun.Scintilla 0x001c5282 Scintilla::ScintillaCocoa::WndProc(unsigned int, unsigned long, long) + 264
3 com.glbasic.glbasiceditor 0x000096cb -[AppController setupEditor:] + 190
4 com.glbasic.glbasiceditor 0x00009454 -[AppController awakeFromNib] + 934
5 com.apple.CoreFoundation 0x9573c7f5 -[NSSet makeObjectsPerformSelector:] + 181
6 com.apple.AppKit 0x92238d8e -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1533
7 com.apple.AppKit 0x9222efba loadNib + 264
8 com.apple.AppKit 0x9222e91c +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 946
9 com.apple.AppKit 0x9222e55f +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 171
10 com.apple.AppKit 0x9222e49d +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 391
11 com.apple.AppKit 0x9222e14c NSApplicationMain + 434
12 com.glbasic.glbasiceditor 0x0000278c main + 30
13 com.glbasic.glbasiceditor 0x00002742 start + 54
LOL...okay no problem.
Working on it, sorry had no leopard to test.
Did you have snow leopard ?
No I dont have snow Leopard.
damn on snow kittie all works fine :/ only one variable looses its content and crashes all :/
Not running at all for me I am afraid. Just hangs as if its doing something. :(
Mac OSX SL, Intel iMac
downloaded the new file?
updated all links in uhm 1 min :D
Downloading again from the link above... now! ;)
Still the same for me, can anyone else confirm?
I gotta pop out for an hour, I'll re-test when I get back Truci.
Hmm let me know if youre back, come to chat i will see with teamviewer.
works here on fresh installed macbook pro!
I can now get the editor running and save. But when you click on compile it does nothing.
have you icq, msn or something?
Truci, unfortunately I have to sign off for now as I off to a rugby match. ;/ If this is not solved we can try again tomorrow if you want?
OK, back, I am downloading the new one now (kids are home, bang goes my bandwidth :P)...
Nope no luck, same as before.
May I suggest you add a program run log?
By this, I mean a line of text is written to a file, when your main subs are called on first program run.
E.G.
"Initialised Fonts"
"Set up ToolBar"
"Initialised Scintilla"
etc...
Then you could see where its not working with me.
...Grabbing dinner, be back in 20
i need to see in TeamViewer please join chat and i will help you
thanks
EDIT:// I cant create output like this, it loads from NIB.
i think its only a nil value or something. Let have me a look please.
Moved download link to first post.
runs fine here MM 2,26 osx 10.6.2
Good to see another successful user, well I will try again later, kids need some attention.
added some debug things in last build (first post)
if you run it from GLBasicEditor.app/Contents/MacOS/ you will see it in terminal window. post output if its crashing.
OK, its working now and very nice indeed, well done Truci! :good:
BTW, seems it does not like being run from a networked drive. ::)
Okay working for me now as well. I had to enter all keywords in UPPERCASE to get it to cleanly compile. Is this still a problem? (and honestly not a big problem for me) Great job. Thanks :good: :good: :good: :good:
How long do you think it will take to get an iPhone compile?
i wrote it in first post that keywords must be written uppercase because no automatic implemented yet.
first the gui must run out of the box then come iphone compile. thats no problem to implement, copy some files and add some compile strings.
If you need any more testing just let me know. 8) Thank you Truci this is a really cool addition to GLBASIC. :booze:
Now Beta Test phase 1 has ended.
Working now on Beta 2.
:good: :good: :good: :good: :good: :good:
Bounce :D
fixing bugs and test something more.
here a screenie with inline thingis :)
Hope to add a simple Cocoa Wrapper to enable alerts ans popups for settings.
[attachment deleted by admin]
Good news. I was not sure if you were still working on this project. :'(
iÃ,´m working from time to time on this project because i can using the beta for simple projects in glbasic.
and the things todo are more in the background and not visible like bug fixes and iphone compile.
Please give us iphone compile and ability to link to iXors3d. :nw: :nw: :nw: :nw: :nw:
iXors3D should link without modification, actually there's no need to 'fool' the glbasic compiler to copy it onto the Mac, ala current Win32. It should be even simpler to install and use.
Good work Truci, still very interested in your results here! :good:
No great changes yet - just bug hunting *evil laugh*
Now time for some free time. 1 Week. After that i will continue the work on Mac IDE.
P.S: Have a simple notice for compiling iphone app using defined certificate and create an .ipa file straight from mac ide. so you can simply open in itunes and it installs to your device. or change with your friends (Ad-Hoc certificate required)
"P.S: Have a simple notice for compiling iphone app using defined certificate and create an .ipa file straight from mac ide. so you can simply open in itunes and it installs to your device. or change with your friends (Ad-Hoc certificate required)"
DROOOOOOOOOOOOOOOOOOL!!!! :enc:
Hi @trucidare,
Any advances on that? It will be extremely helpful!! ^_^
King Regards, fjsantos.
It would be very handy to automatically use iXors3D when compiling to the iPhone, and Xors3D when compiling for the PC (only two platforms are supported).
Then you could develop and test on your PC, and when you build for the iPhone, no changes would be needed and it would pick up the proper library.
But, I only looked into the Xors3D library briefly, and I'm not sure how compatible the Types or Functions are between each version.
Quote from: bigsofty on 2010-May-23
iXors3D should link without modification, actually there's no need to 'fool' the glbasic compiler to copy it onto the Mac, ala current Win32. It should be even simpler to install and use.
Good work Truci, still very interested in your results here! :good:
Is this project still alive? :|
Yep its alive, implemented Kitties new license thingie to avoid the demo mode.
kittie and me thinking about a solution for my case up keyword "sdlkjldsffdjkl" that is the main problem at this moment.
after this a second beta will be available for download.
Thanks.
case up is now implemented.
look at:
http://www.youtube.com/watch?v=CWVgNemZlpA&feature=youtube_gdata (http://www.youtube.com/watch?v=CWVgNemZlpA&feature=youtube_gdata)
Oh double post :D
here some boring time from me...
check the video to understand the screenshots.
http://www.youtube.com/watch?v=PNZTg6daz-M&feature=youtube_gdata (http://www.youtube.com/watch?v=PNZTg6daz-M&feature=youtube_gdata)
edit:// thanks KungPhoo for the caseup tool.
[attachment deleted by admin]
added auto copy of Media Folder.
On Mac it will be copied to @.app/Contents/Resources/ and on iPhone to @/XCode/Glbasic/
Simply set CurrentDir to one of this and you will be able to load directly without copying Media Folder manualy.
Hi trucidare,
You are doing an impressive work!! Coding with GLBasic on MAC is a true dream ^_^.
Thanks for sharing trucidare!
King Regards, fjsantos.
i need something!!!
i need a tool to create bitmap fonts lik kitties FontMaker but for OSX.
Any ideas?
(the last thingie before releasing beta 2)
Hi trucidare,
I am not good at mac, so i don't know a software for this purpose :(.
Anyone knows any software like that?
Cheers
Ocean that is shit.
I need a TTF to Bitmap tool opensource.
If anyone volunteered for a TTF library X platform, we could make that thing with GLBasic.
Also, the project libgd seems to have a console program that can print on a png image. So, that might be a x-platform way to solve this.
Probably this one will work, it is used with cocos2d, but i think it will work here as well.
http://slick.cokeandcode.com/demos/hiero.jnlp
Cheers,
Jespar.
thanks jasper but it doesnt create one file font. ://
Quote from: Ocean on 2010-Jun-28
Quote from: Kitty Hello on 2010-Jun-28
If anyone volunteered for a TTF library X platform, we could make that thing with GLBasic.
Also, the project libgd seems to have a console program that can print on a png image. So, that might be a x-platform way to solve this.
ClearType?
Hi mate, did you mean FreeType (http://freetype.sourceforge.net/index2.html (http://freetype.sourceforge.net/index2.html))? The only downside with FreeType is that it's not really a font renderer. Reading the FAQ it makes it quite clear that although it can do basic rendering (1-bit mono and 8-bit grey scale) of fonts, it's not a graphics library. It doesn't even handle formatting such as justification, kerning etc. It's more a library that allows you to read in fonts and not a lot more.
There is also SDL_ttf 2.0 (http://www.libsdl.org/projects/SDL_ttf/ (http://www.libsdl.org/projects/SDL_ttf/)) which uses FreeType 2.0.
Only other option would be to recreate the Windows version of the font tool for Mac. If it was left up to me, I'd probably "cheat" and use PureBASIC to recreate it for Windows, Mac and Linux (assuming there was ever a Linux editor).
Edit: Removed one of my more daft suggestions.
No problem, I actually didn't think there was a mix-up until I went searching for it. I'd done the same as you -- thought of the right product in my head, but gave it the wrong name. :)
OK. I now have a shiny new Mac Mini with Snow Leopard (coming second with Guru Logic in the GP32Spain comp. will help financially with this!). The GLB IDE seems to work really well, but I'm not able to run anything - is this normal? It seems to compile fine. I'm 100% new to the Mac, so user may be at fault ;)
All I can say is that what I've seen and played around with so far is absolutely marvellous. Well done Trucidare :)
thanks alot, in blog section there is a section with the current redesign of the mac ide.
works pretty well but it tooks some time until all is implemented.
i works on this hard, but not every day
Is this finished and posted somewhere?
Thanks
Mike R
Iam a Gold-Member but he its never released !
Hero come on ......