PureBasic 5.70 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 5.70 LTS beta 2 is out !

Post by User_Russian »

Fred wrote:Example for new HTTPRequest() command
The function has a parameter Flags. What are his values?

All parameters are string. How to transfer a binary file using POST request?
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Fred »

User_Russian wrote:
Fred wrote:Example for new HTTPRequest() command
The function has a parameter Flags. What are his values?

All parameters are string. How to transfer a binary file using POST request?
You need to use HTTPRequestMemory(). The flags are the same than the ReceiveHTTPFile() command.
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 5.70 LTS beta 2 is out !

Post by User_Russian »

Fred wrote:You need to use HTTPRequestMemory().
Thank you.
Is map type in the Headers parameter also string?
User avatar
TI-994A
Addict
Addict
Posts: 2512
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: PureBasic 5.70 LTS beta 2 is out !

Post by TI-994A »

Fred wrote:

Code: Select all

- UseMySQLDatabase() which use the opensource libmariadb.dll (found in purebasic\compilers\ dir) and brings MySQL and MariaDB support natively to PureBasic !
Kudos on this one!
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Fred »

User_Russian wrote:
Fred wrote:You need to use HTTPRequestMemory().
Thank you.
Is map type in the Headers parameter also string?
yes
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4747
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Fangbeast »

TI-994A wrote:
Fred wrote:

Code: Select all

- UseMySQLDatabase() which use the opensource libmariadb.dll (found in purebasic\compilers\ dir) and brings MySQL and MariaDB support natively to PureBasic !
Kudos on this one!
Wow! As soon as I get to finish building my new desk, I can play with this one.
Amateur Radio, D-STAR/VK3HAF
Opcode
Enthusiast
Enthusiast
Posts: 137
Joined: Thu Jul 18, 2013 4:58 am

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Opcode »

Fred wrote:

Code: Select all

- UseMySQLDatabase() which use the opensource libmariadb.dll (found in purebasic\compilers\ dir) and brings MySQL and MariaDB support natively to PureBasic !
Very much welcomed to the PureBasic libraries! :D
User avatar
oreopa
Enthusiast
Enthusiast
Posts: 281
Joined: Sat Jun 24, 2006 3:29 am
Location: Edinburgh, Scotland.

Re: PureBasic 5.70 LTS beta 2 is out !

Post by oreopa »

Thanx a million.
Proud supporter of PB! * Musician * C64/6502 Freak
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 5.70 LTS beta 2 is out !

Post by kenmo »

Code: Select all

- HTTPRequest() and HTTPRequestMemory() to call REST api easily (sponsored by c-wayne)
Great!!
Little John
Addict
Addict
Posts: 4519
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Little John »

Marc56us wrote:and thanks for the position correction of the autocompletion popup :)
It's not corrected here (5.70 beta 2 x64 on Windows 10). :(
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Marc56us »

Little John wrote:
Marc56us wrote:and thanks for the position correction of the autocompletion popup :)
It's not corrected here (5.70 beta 2 x64 on Windows 10). :(

Work fine for me:
- 5.70B2 x64 and x86
- Windows 10 x64
- Tested at scale 100%, 125%, 150%, 175%
- B2 installed over B1 (without uninstall)
- Video: NVidia GT 620 - 1920x1080
The popup opens well below the current line and no longer above it as in B1
:wink:

(I will test on another computer in the day)
[...]
Edit: Does not work on my laptop, popup is over line :(
Video is Intel HD Graphics 620 @ 125%, bute same @ 100% 1920x1080
Justin
Addict
Addict
Posts: 829
Joined: Sat Apr 26, 2003 2:49 pm

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Justin »

Does not work here either
Win764 1920x1080 140% scaling
popup is at the beginning and above the word
User avatar
Blue
Addict
Addict
Posts: 864
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Re: PureBasic 5.70 LTS beta 2 is out !

Post by Blue »

Thank you, Fred and all unnamed PB developers
Beta 2 seems to be handling DPi Awareness much better.
At least, I can work with this version and actually put it through its paces.

@LittleJohn :
AutoCompletion not corrected here either (laptop, 1920X1080, Intel HD 4400, Windows 10 X64);
it completely covers the selected word, making the feature almost useless.
Last edited by Blue on Mon Sep 24, 2018 2:03 pm, edited 1 time in total.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: PureBasic 5.70 LTS beta 2 is out !

Post by KJ67 »

Marc56us wrote: [...]
Edit: Does not work on my laptop, popup is over line :(
Video is Intel HD Graphics 620 @ 125%, bute same @ 100% 1920x1080
On my old desktop it seems to be working, but on my normal laptop which often also have a second screen the pop-up is not ok and it never even opens on the secondary monitor.
The best preparation for tomorrow is doing your best today.
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 5.70 LTS beta 2 is out !

Post by mk-soft »

Linux qtscript

How to access to headerItem and Items from QTreeWidget (ListIconGadget)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply