Page 10 of 17

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Sun Sep 23, 2018 7:04 pm
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?

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Sun Sep 23, 2018 7:18 pm
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Sun Sep 23, 2018 7:24 pm
by User_Russian
Fred wrote:You need to use HTTPRequestMemory().
Thank you.
Is map type in the Headers parameter also string?

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Sun Sep 23, 2018 7:43 pm
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!

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Sun Sep 23, 2018 7:59 pm
by Fred
User_Russian wrote:
Fred wrote:You need to use HTTPRequestMemory().
Thank you.
Is map type in the Headers parameter also string?
yes

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Sun Sep 23, 2018 9:22 pm
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Sun Sep 23, 2018 10:36 pm
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

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 2:34 am
by oreopa
Thanx a million.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 3:22 am
by kenmo

Code: Select all

- HTTPRequest() and HTTPRequestMemory() to call REST api easily (sponsored by c-wayne)
Great!!

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 4:33 am
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). :(

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 6:08 am
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

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 10:55 am
by Justin
Does not work here either
Win764 1920x1080 140% scaling
popup is at the beginning and above the word

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 10:59 am
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 11:00 am
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.

Re: PureBasic 5.70 LTS beta 2 is out !

Posted: Mon Sep 24, 2018 7:18 pm
by mk-soft
Linux qtscript

How to access to headerItem and Items from QTreeWidget (ListIconGadget)