PBOSL - A OpenSource Library-Collection for PureBasic

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

ts-soft wrote: (linux version in progress)
here the linux-version (including source, the same for win and lin :wink: )

The pbosl_updater uses firefox, but for other browsers, you can simple
change this in the source. The linux version use no thread, don't work with
the current beta version.

The linux version only tested on opensuse 10.2 with KDE.

download
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

Thank You ts-soft. :)
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Update:
New version of the pbosl_updater linux, same link as above
This version should work with all browsers,
thanks to WishMaster and DoubleDutch for help and code
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

What did I do? I didn't know I had helped? :shock:
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

DoubleDutch wrote:What did I do? I didn't know I had helped? :shock:
Wishmaster say to me, the code to find the browser based on your code, so
you helped :wink:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

If its on Linux, then I must have either stumbled through to make it work, or it was probably due to the help of the Linux 'gurus' on the forum! :D
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Small bugfix

Problem with UTF-8 strings in PBOSL_SQLite3 fixed
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

@ts-soft: I'm having a clash of residents at the moment, the clash being between the PurePDF library and the PBOSL resident file.

Now whilst this is easy enough to get around, I'm just a little puzzled because I can find no reference to PurePDF within the PBOSL package!

Can you shed a little light on this? Does one of the PBOSL libraries make use of PurePDF? If so, I can't figure out which one, although #PUREPDF_VERSION is reported as having the value 3.0.

Thanks.
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

srod wrote:@ts-soft: I'm having a clash of residents at the moment, the clash being between the PurePDF library and the PBOSL resident file.

Now whilst this is easy enough to get around, I'm just a little puzzled because I can find no reference to PurePDF within the PBOSL package!

Can you shed a little light on this? Does one of the PBOSL libraries make use of PurePDF? If so, I can't figure out which one, although #PUREPDF_VERSION is reported as having the value 3.0.

Thanks.
All PurePDF Constants not declared in PBOSL.res. Please load a newer version. You can also load the source. You see that all PurePDF a commented out (i hope :wink: )

PurePDF uses many optional parameters, this did not work with tailbite :cry:
Many changes required to do this work, i haven't enough time, i still wait for a new TailBite version.
I can send you the version 3, if you want use it or change for me :wink:

greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I must admit that PurePDF isn't going to work as it is for me because the compiled libs (version 2.06) are not threadsafe. So I will need to tinker with the source code anyhow.

In fact I'll be best served by using a source code include version - although I'm tempted to write my own library because I'm not in need of the huge feature set of PurePDF anyhow (although it is excellent).

I'd be interested to look through version 3.0 if you have the source to hand and are allowed to share it.

Thanks.
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

No problem, is LGPL :wink: , so any changes must be public for all users!

http://ts-soft.eu/dl/purepdf_source.zip
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Thankyou ts-soft, compiles fine when the includes are bundled in.

Now, shouldn't take more than 10 years or so to figure out how this works! :)
I may look like a mule, but I'm not a complete ass.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

ts-soft wrote:Small bugfix

Problem with UTF-8 strings in PBOSL_SQLite3 fixed
Hi, I just noticed this after I had encountered a problem with the routine.

Apparently, the source isn't fixed? At least what I just downloaded appears to contain a utf8 encoding problem in PBOSL_Sqlite3 source.

cheers
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

Can you post an example? I don't use the lib for my applications, thus I myself can find no mistakes.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

ts-soft wrote:Can you post an example? I don't use the lib for my applications, thus I myself can find no mistakes.
Sorry, it may be my fault. I had inserted a data via
Prepare
Bind
Step
Finalize

but used
sSQLQuery.s = "Select * from tblNotes WHERE KeyString = '"+dbRec$+"'"

Statement = SQLite3_GetRecordset(sSQLQuery, dbHandler, @RS)

If SQLite3_GetRecordsetValueByName("noteblob", @RS)

which failed to properly retrieve the previously inserted record.

Guess I shouldn't have mixed the routines.

edit
I can consistently create a problem using routines from the PBOSL source, so I will trim down my source and post something which will demonstrate the problem a little later. Maybe someone will be able to explain what I'm doing incorrectly, or confirm a problem with the source.

cheers
Last edited by rsts on Tue Mar 27, 2007 2:09 am, edited 1 time in total.
Post Reply