We're finally getting close, and here is the 3rd beta (and possibly the last) of the forthcoming 3.93 version for MacOS X. This time, it should have a straight forward installation and use, thanks to the IDE which now works as expected on OS X ! To install it, just drag the folder somewhere and double click on the PureBasic icon . The visual debugger is fully working and the scintilla editing component should be as well (we did the native OS X port as it wasn't available ). We also bug fixed a lot of commands during the development, we hope it will be useable now. Grab it while it's hot on your personal accounts !
Have fun,
The Fantaisie Software Team.
Last edited by Fred on Wed Oct 05, 2005 4:42 pm, edited 5 times in total.
Wooo! Thanks Fred. Trying it now. First thing I've noticed is I cannot change the source path in the Editor prefs. More later.
Edit: more...
OS: 10.3.9
- Prefs: Numbered tabs
- Prefs: ok/cancel/apply byttons chopped off (try switching tabs)
- Prefs: AutoComplete - text all messed up
- Prefs: ToolsPanel "on left/right" control - doesn't default to current
- ToolBar: no tool tips
- Ran example gadgetfull.pb - compiles but doesn't come to foreground
- File Open: doesn't default to last/current source path
- Editor: source file tab area messes up with several files open. No L/R button and it overlaps righthand pane tabs
- cdaudio.pb: "ld: Undefined symbols:" (all movie commands)
- filesystem.pb: can't double-click on directory but can enter in edit control and hit "List"
- gadget.pb: options/screen rez options messed up (can dialogs not be resize-able?)
- database.pb: "Info: opeation cancelled"
- linkedlist.pb: ComplexStructure not tested
- keyboard.pb: runs and displays sprite but no kb response. Cannot even quit. Luckily I killed pb from another computer via ssh.
- module.pb: can't find midas module at purebasic.com
- requester.pb: no return on font
- sound.pb: compiled and opened file request then PB faulted (see report below) and app hung having selected wav file (suspect because of debugger being active)
-sprite.pb: didn't attempt to run because of problem with keyboard.pb
Num3 wrote:Cool you made the scintila port for MacOs !!!
Yeah it was quite a lot of work but since we used it on Windows/Linux we tough it would be a cool things to do the hard work for MacOS and give it to the opensource community. That's how things are working .
dmoc: thanks for all the reports we're working on all of them (may be a new beta soon). If you have further things, don't hesitate to post .
The beta 4 is now available on your personal account ! It fixes most of dmoc reported bugs (btw, sorry for the macos lock down with fullscreen apps) + several others. Everyone is invited to test it to make it as stable as possible before the real release .
Remaining issues:
- When many tabs are here, MacOS X doesn't allow to scroll them or somthing similar, so for now it will stay like that (we will do a workaround for such case later)
- For those which wants to try the gtk or gtk2 subsystem, compile the app from the shell using the '-s gtk' flags, as from the IDE it doesn't work for now.
- Prefs
-- Top tabs still numbers
-- ok/cancel/apply byttons chopped off (try switching tabs)
-- ToolsPanel "on left/right" control - doesn't default to current (also result in a vertical divisor bar which source overruns)
- Editor:
-- File Open: doesn't default to last/current source path even though prefs does retain source file path (but path not used)
- Eaxmples (WITHOUT DEBUGGER ENABLED)
-- cdaudio.pb: runs but doesn't play
-- database.pb: gone!
-- linkedlist.pb: ComplexStructure gone! Try to trick me? ;-)
-- keyboard.pb: ok now
-- module.pb: gone!
-- requester.pb: no return on font
-- sound.pb: ok (but note no debugger)
-- sprite.pb: ok
i'm testing purebasic on a iBook G4 with OS X 10.3.9.
On Windows i created a pb-file with the visual designer using the ImageGadget-function. I have updated the path of the jpg-image yesterday, and the program runs very nice on beta 3.
Today on beta 4 i got an error when calling the UseJPEGImageDecoder() function:
A very long error window appears beginning with
PureBasic - Error
ld: ImagePluginJPEG.a(jdapimin.o) r_type field of relocation
entry 6 in section (__TEXT,__text) invalid
...
(very long additional lines follows, sorry copy and paste won't work)
Another error: the listview-gadget in the gagdet.pb example file.
Start the program, click on "Music Song 5" and use the remove-button 3 times. The listing after number 5 will not be updated in the listview-gadget. Click on "Music Song 4" and check the string gadget: it's ok. Then click on "Music Song 5" in the listview-gadget and check again the string gadget: it shows "Music Song 8"! Then scroll the listview-gadet: The next row after "Music Song 7" is "Music Song 11".
1. menu.pb: Using <apple><q> when running menu.pb shows a message requester with "MenuItem: -1". Is -1 a regular EventMenuID for checking the use of <Apple><Q> (closing the program in the apple menu)?
2. I want to use the "CompilerSelect #PB_Compiler_OS" command. What's the correct CompilerCase for Apple?
keyboard.pb: After starting the keyboard.pb file an error "There is no current Window" occurs.
Creating an stand alone executable: The executables starts with a terminal-window in background mode. It's not possible to switch the program window to front. No way to move the program window, and no program menu were shown. Only the upper left close window bullet quits the program.
; Several boxes with random colors
Width=200
Height=150
If OpenWindow(0, 0, 0, Width, Height, #PB_Window_SystemMenu|#PB_Window_ScreenCentered, "Boxes")
If StartDrawing(WindowOutput())
y = 0
#StepX = 10
StepY = Round(#StepX*Height/Width, 0)
For x = 0 To Width/2-5 Step #StepX
Box(x, y, Width-2*x, Height-2*y ,RGB(Random(255),Random(255),Random(255)))
y + StepY ; the same as y = y + StepY
Next x
StopDrawing() ; This is absolutely needed when the drawing operations are finished !!! Never forget it !
EndIf
Repeat : EventID = WaitWindowEvent() : Until EventID = #PB_Event_CloseWindow
EndIf
... there is a Linker-Error:
PureBasic-Editor
Error: Linker
ndefined symbols:
_PB_Box2
_PB_StartDrawing
_PB_StopDrawing
_PB_WindowOutput
_PB_2DDrawing_CurrentDC
collect2: ld returned 1 exit status
I'm using Beta4 on 10.4.1.
iMac CoreDuo, MacBook C2D, OSX 10.5.5
PureBasic owner since V1.0 for Amiga