Welcome Guest.   Make a donation to an author on the site December 22, 2014, 03:55:55 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: [FBSL] LZO compressor  (Read 2917 times)
Gerome
Charter Honorary Member
***
Posts: 154


View Profile WWW Give some DonationCredits to this forum member
« on: October 01, 2006, 08:39:16 AM »

Hello,

Here is a simple demonstration of native LZO engine compression/decompression implemented into FBSL.
Enjoy!

Formatted for UNKNOWN with the GeSHI Syntax Highlighter [copy or print]
  1. #Option Explicit
  2. #AppType Console
  3.  
  4. '// ****************************************************************************
  5. '// Simple demonstration of native LZO engine compression/decompression implemented into FBSL
  6. '// Author : Gerome GUILLEMIN
  7. '// Date : 1st of October 2006
  8. '// ****************************************************************************
  9. Dim buff, fp
  10.  
  11. Print "LZO compress..."
  12. buff = Compress(FileLoad(".\18 - Wedding idea.mp3"))
  13.  
  14. If buff <> "" Then
  15. fp = FileOpen(".\compressed.lzo", BINARY_NEW)
  16. If fp Then
  17. FilePut(fp, buff)
  18. FileClose(fp)
  19. End If
  20. End If
  21. Clear buff
  22. fp = NULL
  23. Pause
  24.  
  25. Print "LZO decompress..."
  26. buff = Decompress(FileLoad(".\compressed.lzo"))
  27. If buff <> "" Then
  28. fp = FileOpen(".\decompressed.mp3", BINARY_NEW)
  29. If fp Then
  30. FilePut(fp, buff)
  31. FileClose(fp)
  32. End If
  33. End If
  34. Clear buff
  35. fp = NULL
  36. Pause
Logged

Yours,
(¯`·._.FBSL Help file]
(¯`·._.
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: October 01, 2006, 09:29:35 AM »

I'd like a copy of the FBSL source code, please.
Logged

- carpe noctem
Gerome
Charter Honorary Member
***
Posts: 154


View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: October 01, 2006, 11:25:40 AM »

Hello,
I'd like a copy of the FBSL source code, please.

Sorry, FBSL source code is shared between the 3 FBSL developpers.
It won't be shared publicly.
Logged

Yours,
(¯`·._.FBSL Help file]
(¯`·._.
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: October 01, 2006, 11:26:58 AM »

So, you've got a special non-GPL license for LZO? smiley
Logged

- carpe noctem
Gerome
Charter Honorary Member
***
Posts: 154


View Profile WWW Give some DonationCredits to this forum member
« Reply #4 on: October 01, 2006, 11:33:04 AM »

So, you've got a special non-GPL license for LZO? smiley

WTF ?
I don't see the problem here ?
I'm not obliged to publish sources of FBSL, nor the official mini LZO sources since i've NOT modified its source code.
Logged

Yours,
(¯`·._.FBSL Help file]
(¯`·._.
f0dder
Charter Honorary Member
***
Posts: 8,774



[Well, THAT escalated quickly!]

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: October 01, 2006, 11:46:47 AM »

Section 0 of the GPL, with my emphasis:
Quote
The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another
language.

Section 2b of the GPL, again with my emphasis:
Quote
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.

And the viral nature of the GPL is cemented with this clause:
Quote
These requirements apply to the modified work as a whole.  If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

You might also want to check out the GPL faq, I'll quote a pretty relevant part of it right here:
Quote
Q: If a library is released under the GPL (not the LGPL), does that mean that any program which uses it has to be under the GPL?
A: Yes, because the program as it is actually run includes the library.
Logged

- carpe noctem
Gerome
Charter Honorary Member
***
Posts: 154


View Profile WWW Give some DonationCredits to this forum member
« Reply #6 on: October 01, 2006, 11:56:43 AM »

And i repeat : FBSL source code is NOT public.
And there are tons of softwares that uses part of GPL or alike sources where their sources are not publicly released and won't be released.
That's all!
« Last Edit: October 01, 2006, 11:58:47 AM by Gerome » Logged

Yours,
(¯`·._.FBSL Help file]
(¯`·._.
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.036s | Server load: 0.01 ]