PureBasic 3.91 Beta for linux released

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Agreed.
merendo
Enthusiast
Enthusiast
Posts: 449
Joined: Sat Apr 26, 2003 7:24 pm
Location: Germany
Contact:

Post by merendo »

Tiny problem report for that Beta:

I got this message using 3.80 as well as now with the 3.91 Beta:
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkMenu'

Gtk-CRITICAL **: file gtkmenushell.c: line 312 (gtk_menu_shell_insert): assertion `menu_shell != NULL' failed.

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkMenu'

Gtk-CRITICAL **: file gtkmenushell.c: line 312 (gtk_menu_shell_insert): assertion `menu_shell != NULL' failed.
The programm runs though but it doesn't work properly... The errors are caused by some 'menu' commands. The menu does not appear correctly.

And another issue:

A status bar in my window appears at the top (?) of the window, not at the bottom where it belongs... What is wrong there?
The truth is never confined to a single number - especially scientific truth!
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Could you provide some sample code which illustrate these problems ? Thanks !
merendo
Enthusiast
Enthusiast
Posts: 449
Joined: Sat Apr 26, 2003 7:24 pm
Location: Germany
Contact:

Post by merendo »

Code: Select all

if openwindow(0,0,0,640,480,#PB_Window_SystemMenu|#PB_Window_MinimizeGadget,"Aperitif Version 0.1 Alpha")
	;creategadgetlist(windowid(0))

	createstatusbar(0,windowid(0))
		addstatusbarfield(640)
		statusbartext(0,1,"Willkommen zu Aperitif!",#PB_StatusBar_Center)

	createmenu(0,windowid(0))
		opensubmenu("Aperitif")
		menuitem(1,"Beenden")
		closesubmenu()
		opensubmenu("?")
		menuitem(2,"Hilfe")
		menuitem(3,"Über Aperitif...")
		closesubmenu()

	repeat
		event = waitwindowevent()
	until event = #PB_EventCloseWindow
endif
Here we go. It's the part with the menu commands. The compiler doesn't give me an error if I remove this part.
The truth is never confined to a single number - especially scientific truth!
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Thank you, I will fix it ASAP.
merendo
Enthusiast
Enthusiast
Posts: 449
Joined: Sat Apr 26, 2003 7:24 pm
Location: Germany
Contact:

Post by merendo »

Thank you. Please post a tiny notification in this thread when you're done.
The truth is never confined to a single number - especially scientific truth!
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

STDIN Support?

Post by naw »

Please, Fred - This is a desperately missed feature and is absolutely fundamental to any Linux/Unix programming language - especially if its to interface with OS commands.

I'm trying to write some Admin tools for Linux & vmWareESX.

PureBasic is (almost) perfect, but no STDIN means its a waste of time continuing...
Ta - N
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

stdin/out is in general a definite nice to have
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

A new beta has been put online for Linux in the personal account area. It fixes all the reported bugs, so feel free to grab it and test it :).

Merendo: the StatusBar on top issue is fixed. The Menu warning are due to the fact than you miss a 'MenuTitle()' before the first OpenSubMenu(). If I add it, the warning are gone and all seems ok (tested with the Beta 2).

PS: I have still many mail to check for the personnal account. I will do it soon, so please be patient if you don't have your login/password for now. Thank you in advance :)
merendo
Enthusiast
Enthusiast
Posts: 449
Joined: Sat Apr 26, 2003 7:24 pm
Location: Germany
Contact:

Post by merendo »

Okay, Fred. Thank you very much indeed. You are, I must say, doing great work with PB. Cheers!
The truth is never confined to a single number - especially scientific truth!
TeddyLM
Enthusiast
Enthusiast
Posts: 133
Joined: Wed Apr 30, 2003 2:04 pm
Location: Germany (French expat)

Login and Pasword

Post by TeddyLM »

[quote=red]
You can grab the test archive in your personal account at: http://www.purebasic.com/download.php3 . A mail with the needed infos about the account (login and password) has been dispatched to all registered users. If you didn't get the mail, feel free to contact me at support@purebasic.com with your registration informations. The full versions, updates and beta will be release trough the private accounts in the next version.
[/quote]

Salut Fred

I didn't receive any Login and Password (probably because i recently had to change my Email-Adresse). I sent two messages to support@purebasic.com to explain the problem but haven't heard about it yet. Could you please confirm that you received my message and that i soon will become the informations.
Thanks a lot
TeddyLM
TronDoc
Enthusiast
Enthusiast
Posts: 310
Joined: Wed Apr 30, 2003 3:50 am
Location: 3DoorsDown

Post by TronDoc »

I sent an email too (only one though) :wink:
peace
[pI 166Mhz 32Mb w95]
[pII 350Mhz 256Mb atir3RagePro WinDoze '98 FE & 2k]
[Athlon 1.3Ghz 160Mb XPHome & RedHat9]
Shannara
Addict
Addict
Posts: 1808
Joined: Thu Oct 30, 2003 11:19 pm
Location: Emerald Cove, Unformed

Post by Shannara »

Fred must have tons of emails in his account, back from 6/14/04 :) Hopefully he'll catch up so we get our emails.


And no, this is not sarcasm.
cwhite
New User
New User
Posts: 5
Joined: Fri Apr 23, 2004 3:32 am
Location: Maryland, USA

Fred, I am also awaiting email...

Post by cwhite »

...on the Personal Account area. Any idea on when you'll get to those emails? I know you must have a ton of email awaiting you... Just shows how much we love using PureBasic! :)

-Chris
Registered PB programmer since 3.30 (now using 3.90)
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Hey fellas,
yesterday I downloaded the FULL version of PureBasic for Linux 3.91.
(that's what it says on the download page...)

Somebody forgot to announce it...
Post Reply