rejetto forum

Software => &RQ => Topic started by: rejetto on January 27, 2004, 10:55:41 AM

Title: sources
Post by: rejetto on January 27, 2004, 10:55:41 AM
here is a link to the current and unstable &RQ

http://www.rejetto.com/files/&RQ/&RQ09417b.src.zip

i think it is better to publish current sources, so you can help me fixing current bugs. ;)

the zip file contains this file readme.opensource.txt
Quote
=== ABOUT OPEN SOURCE, by Massimo Melina aka rejetto

I believe "open source" is the way to get a better technology.
Nowadays I'm releasing most software i make as open source.
This was not true when I started working on &RQ.
At last I decided to publish these sources because it is something
important for most &RQ users, even though most of them don't know it.

Don't complain with me about the low quality.
I know most code in it sucks, i'm just sorry.
I delayed the release for 2 years because of it.
I don't have time/desire to rewrite it from scratch.
But you are now free to do it yourself, if you wish to.
Title: sources
Post by: alkimiya on January 27, 2004, 01:13:20 PM
We really should have a cvs repository for it.
Title: sources
Post by: alkimiya on January 27, 2004, 01:13:57 PM
Btw finally!   B)
Title: sources
Post by: rejetto on January 27, 2004, 01:14:40 PM
&RQ is already registered on SF, but i'm not used to CVS
if someone wants to help me in administration...
Title: sources
Post by: Anonymous on January 27, 2004, 01:34:08 PM
gr8
Title: sources
Post by: Stamir on January 27, 2004, 04:19:29 PM
Hmm...
I can't complie this sources.
wsocket unit not found.
Title: sources
Post by: alkimiya on January 27, 2004, 04:21:50 PM
Maybe a list of 3rd party libs and where they can be retrieved would be useful *hint hint* :)
Title: sources
Post by: alkimiya on January 27, 2004, 04:28:36 PM
Libs used
- TWsocket, by François Piette
- VirtualTreeview and ColorPickerButton, by Mike Lischke
- RegExpr, by Andrey V. Sorokin
- JVCL, by Project JEDI
- MD5, by Matthias Fichtner
- PNGunit, by Jack Goman and Edmund H. Hand

from &RQ:s about box :)
Title: sources
Post by: rejetto on January 28, 2004, 12:53:24 AM
MD5 library is no more needed (i'm using the one included in wsocket)
Title: sources
Post by: Stamir on January 28, 2004, 06:46:25 AM
Quote from: "alkimiya"
Libs used
- TWsocket, by François Piette
- VirtualTreeview and ColorPickerButton, by Mike Lischke
- RegExpr, by Andrey V. Sorokin
- JVCL, by Project JEDI
- MD5, by Matthias Fichtner
- PNGunit, by Jack Goman and Edmund H. Hand

from &RQ:s about box :)

Oh !  ;)
Links, for programmers:
TWsocket: http://www.overbyte.be/
VirtualTreeview and ColorPickerButton: http://www.delphi-gems.com/
RegExpr: http://regexpstudio.com/
JVCL: http://jvcl.sourceforge.net/

But where to find PNGunit ? The page http://sharepower.virtualave.net/png.html
is no longer exist...
Title: sources
Post by: rejetto on January 28, 2004, 06:51:18 AM
until it is found somewhere else, you can download it from my webspace
http://www.uniroma1.com/rejetto/temp/pngunit.zip
Title: sources
Post by: Stamir on January 28, 2004, 08:36:53 AM
Quote from: "rejetto"
until it is found somewhere else, you can download it from my webspace
http://www.uniroma1.com/rejetto/temp/pngunit.zip

Great !
But i still can't compile program.  :cry:
Units ToolEdit and Animate not found.  :(
Title: sources
Post by: Xecutor on January 28, 2004, 10:08:50 AM
gotcha!
compiled it, and seems to be running fine.
first thing I will do - compile it with memcheck :)
Title: sources
Post by: Stamir on January 28, 2004, 10:59:44 AM
Quote from: "Xecutor"
gotcha!
compiled it, and seems to be running fine.
first thing I will do - compile it with memcheck :)

From what library you get ToolEdit and Animate units ?
Could you post them to me ?
Title: sources
Post by: Xecutor on January 28, 2004, 01:28:14 PM
Quote from: "Stamir"
Quote from: "Xecutor"
gotcha!
compiled it, and seems to be running fine.
first thing I will do - compile it with memcheck :)

From what library you get ToolEdit and Animate units ?
Could you post them to me ?

I didn't set up any additional libraries except listed above.
But I already have RxLib installed.
Probably this is it.
Wait a second...
Yes, both modules are from RxLib.
But afair Rejetto said that he migrated to jvcl instead of rxlib.
I guess you can remove both modules from uses list painlessly.
Title: sources
Post by: Stamir on January 28, 2004, 02:14:54 PM
Quote from: "Xecutor"
Yes, both modules are from RxLib.

Yes !!! I complie &RQ !
Thanks a lot !!!

Quote
But afair Rejetto said that he migrated to jvcl instead of rxlib.
I guess you can remove both modules from uses list painlessly.

No.
Animate.pas could be removed, but ToolEdit is still used.

OK. Now i'll try to remember my delphi knowledge, to improve over languages support (problem with ICQ Light users).  :)  :o
Title: sources
Post by: alkimiya on January 28, 2004, 02:39:59 PM
Does anyone reading this have any experience in administrating CVS? Because I think development should at least have a main branch. I could perhaps make time to learn this, but if anyone else already can and is willing I'd prefer letting them handling it.
Title: sources
Post by: Stamir on January 28, 2004, 03:06:04 PM
Quote from: "alkimiya"
Does anyone reading this have any experience in administrating CVS? Because I think development should at least have a main branch. I could perhaps make time to learn this, but if anyone else already can and is willing I'd prefer letting them handling it.

I already find & fix some bugs (for example enterUinDlg function from utilLib doesn't return uin), and we really need someone, who can coordinate our modifications. Unfortunately i haven't such expirience.  :( Coul someone help ?
Title: sources
Post by: Anonymous on January 28, 2004, 03:40:11 PM
i think you should conglamirate and work with help of rejetto :idea:
Title: sources
Post by: rejetto on January 28, 2004, 06:15:08 PM
at this time i think it is a good idea to have me as coordinator.

maybe later we will find a better solution, yes, but until it comes...

if you have bugfixes, etc etc, you could just post them to me in the devel forum.
please, don't do it in this forum.


yes, i use JVCL, because it is richer and opensource, though rxlib became OS lately. it seems to me that JVCL has better support.
Title: sources
Post by: rejetto on January 28, 2004, 06:18:30 PM
let me say i'm happy to see that someone is showing will to work on it in so little time :)
this may be a turning point
Title: sources
Post by: captor on January 28, 2004, 09:28:59 PM
now all thó users can make additions to &rq and how we know which version is better? do you gather all changes in one place?
Title: sources
Post by: rejetto on January 29, 2004, 12:04:36 PM
everyone is free to make his own version
i think most people will be wise enough to send their changes to me
Title: sources
Post by: Xecutor on January 29, 2004, 12:30:29 PM
btw, Rejetto, what version of delphi you are using?
I have some problems with themes. :-\
Specifically with transparency.
Title: sources
Post by: rejetto on January 29, 2004, 02:55:59 PM
it is written in the about box ;)
Title: sources
Post by: Xecutor on January 29, 2004, 03:19:27 PM
Quote from: "rejetto"
it is written in the about box ;)
Oops :)
That's strange.
D6 too... :-\
I had to tweak png loading a little to get normal icons.
And set transparency property to true for some bitmaps.
Title: sources
Post by: Xecutor on January 29, 2004, 03:29:41 PM
Quote from: "Stamir"
(problem with ICQ Light users).  :)  :o

I'm afraid this is impossible :(
I installed icqlite locally.
When I'm sending mixed latin/russian text,
where russian will come first, and latin later,
russian text will arrive as sequence of '?'.
I'm afraid the only way to fix this - implement newer version of protocol.
Title: sources
Post by: Stamir on January 30, 2004, 07:02:11 AM
Quote from: "Xecutor"
I'm afraid this is impossible :(
I installed icqlite locally.
When I'm sending mixed latin/russian text,
where russian will come first, and latin later,
russian text will arrive as sequence of '?'.
I'm afraid the only way to fix this - implement newer version of protocol.

But everifing is all right, if user with &RQ is invisible to user with ICQ. Strange things.
I'll look, what we can do.

Quote from: "Xecutor"
I had to tweak png loading a little to get normal icons.
And set transparency property to true for some bitmaps.

I get the same troubles. Also in some places is mix from different icons...
I think there are some problems with WinXP themes (ThemeMgr).
Title: sources
Post by: Xecutor on January 30, 2004, 08:25:58 AM
Quote
But everifing is all right, if user with &RQ is invisible to user with ICQ. Strange things.
I'll look, what we can do.
Probably something can be done with the
way icqlite identify destination icq client?
i.e. for icqlite users &RQ must identify itself as ... something else :)

Quote
I get the same troubles. Also in some places is mix from different icons...
I think there are some problems with WinXP themes (ThemeMgr).
Nope. It's a pngunit. png-s with transparency are blitted over old
content of bmp image. Sometimes this may be usefull, but not in our case :)
Title: sources
Post by: rejetto on January 30, 2004, 03:04:46 PM
yes, now i remember i had to modify the png unit
but i lost changes :(
i kept only the compiled one (DCU)

did you find a way to get the same making changes in &RQ sources without modifying pngunit?
Title: sources
Post by: Xecutor on January 30, 2004, 03:31:41 PM
Quote from: "rejetto"
yes, now i remember i had to modify the png unit
but i lost changes :(
i kept only the compiled one (DCU)

did you find a way to get the same making changes in &RQ sources without modifying pngunit?
Mmmm... I also modified pngunit, but I think it is possible
to modify loadpic instead.

There is another reason to modify pngunit - there are several nasty warnings about non-returning value from a function (i.e. returning samething nearly random). I prefer to keep sources clean from such warnings :)


p.s. btw what is wrong with www.rejetto.com domain?
Title: sources
Post by: Anonymous on February 03, 2004, 09:28:37 AM
rejetto, please make a new build asap with optioned single/double click activation from tray .... i am so tired clicking twice ....
thanks :D
Title: sources
Post by: Stamir on February 04, 2004, 07:51:29 AM
Quote from: "Xecutor"
Quote
But everifing is all right, if user with &RQ is invisible to user with ICQ. Strange things.
I'll look, what we can do.
Probably something can be done with the
way icqlite identify destination icq client?
i.e. for icqlite users &RQ must identify itself as ... something else :)

You was right. The trouble is in the protocol.  :(
It is hard to make anything with this... But i'll still trying...
Title: sources
Post by: perf on February 04, 2004, 11:28:36 AM
i can't download the source
http://www.uniroma1.com/rejetto/&RQ/&RQ09417b.src.zip
server name not found
all links to &rq binaries on main page are also broken.

want to have the source so much..
Title: sources
Post by: rejetto on February 05, 2004, 01:45:30 AM
the previous webspace is gone
this morning i will upload files to another webspace (rejetto.com itself)
Title: sources
Post by: Anonymous on February 05, 2004, 09:40:28 AM
rejetto. any news about final 0.9.4.17 ?
Title: sources
Post by: watt on March 05, 2004, 01:36:22 PM
Quote from: "rejetto"
until it is found somewhere else, you can download it from my webspace
http://www.uniroma1.com/rejetto/temp/pngunit.zip
bad link:( Help please!
Title: sources
Post by: watt on March 05, 2004, 01:46:17 PM
http://andrqlibs.narod.ru/
Title: sources
Post by: Kirys on March 08, 2004, 12:47:22 PM
Quote from: "Xecutor"
Mmmm... I also modified pngunit, but I think it is possible
to modify loadpic instead.

There is another reason to modify pngunit - there are several nasty warnings about non-returning value from a function (i.e. returning samething nearly random). I prefer to keep sources clean from such warnings :)

Please fell free to fix a cleanup the png unit and then make that available to &RQ :)
Title: sources
Post by: Kirys on March 08, 2004, 12:53:28 PM
Latest Source :)
Is available here on SourceForge (http://sourceforge.net/project/showfiles.php?group_id=43027&package_id=111680)

Libpng and regexpr are available Here (http://sourceforge.net/project/showfiles.php?group_id=43027&package_id=111679)
Title: sources
Post by: alkimiya on March 08, 2004, 02:27:14 PM
Quote from: "Kirys"
Latest Source :)
Is available here on SourceForge (http://sourceforge.net/project/showfiles.php?group_id=43027&package_id=111680)

Great :^:

Anything new since sources got released?
I think I should look for Delphi PE6 now :)
Title: sources
Post by: Kirys on March 08, 2004, 03:06:38 PM
just removed all references to rxlib and converted all form to txt format.
I don't know if rejetto made some more modification to cvs.
Title: sources
Post by: Vilux on May 03, 2004, 03:09:12 PM
I think that I found how to fix pngunit for normal showing icons.

Open  PngUnit.pas and find procedure DrawPng with strings:

if a = 0 then
begin
// alpha is zero so no blending, just image data
sl[ndx] := b;
sl[ndx + 1] := g;
sl[ndx + 2] := r;
end
else if a < 255 then
begin
// blend with data from ACanvas as background
sl[ndx] := ((sl[ndx] * a) + ((255 - a) * b)) div 255;
sl[ndx + 1] := ((sl[ndx + 1] * a) + ((255 - a) * g)) div 255;
sl[ndx + 2] := ((sl[ndx + 2] * a) + ((255 - a) * r)) div 255;
end;

Then replace them with strings:
if (a > 0) then
begin
// alpha is zero so no blending, just image data
sl[ndx] := b;
sl[ndx + 1] := g;
sl[ndx + 2] := r;
end
else
begin
// blend with data from ACanvas as background
sl[ndx] := ((sl[ndx] * a) + ((255 - a) * b)) div 255;
sl[ndx + 1] := ((sl[ndx + 1] * a) + ((255 - a) * g)) div 255;
sl[ndx + 2] := ((sl[ndx + 2] * a) + ((255 - a) * r)) div 255;
end;

Find function loadPic in utilLib.pas and check that bmp.Transparent is true (bmp.Transparent:=true;)
After that all icons shows normally... check,please this method...
Title: good
Post by: vorland on July 11, 2004, 06:49:00 AM
good!!very good....
hfs1.6a good!!!!!!!!
Title: sources
Post by: rejetto on July 11, 2004, 12:22:33 PM
Quote from: "Vilux"
Find function loadPic in utilLib.pas and check that bmp.Transparent is true (bmp.Transparent:=true;)
After that all icons shows normally... check,please this method...
this sounds weird to me
what if the pic is not transparent?
Title: sources
Post by: ___ on August 14, 2004, 09:39:25 AM
i dont fing png unit,
and ColorPB12 for delphi 5 or lower.. whic delphi ver you used?
Title: sources
Post by: hakinen222 on August 14, 2004, 06:42:53 PM
need writing plugin

plugin: upload contact list to ICQ Server
+
all Contact-list send Autorize
Title: sources
Post by: Anonymous on August 16, 2004, 12:01:08 PM
i dont find png unit,
and ColorPB12 for delphi 5 or lower.. which delphi ver you used?
pleazzzzzzzzzzzzzzzz help!
Title: sources
Post by: rejetto on August 18, 2004, 12:35:00 PM
Delphi 6
(Personal Edition)
Title: sources
Post by: Anonymous on August 18, 2004, 01:01:28 PM
thx
Title: sources
Post by: Anonymous on May 03, 2005, 04:31:11 PM
If &RQ will have a strong plugin system, then it would be more easier to combine the features..
Title: Errors
Post by: WolfON on May 08, 2005, 11:49:09 AM
[Fatal Error] andrq.dpr(78): Unit Themes was compiled with a different version of UxTheme.BP_PUSHBUTTON

And

Error reading Menu.LeftMargin & etc.

PS: I'm using D7
Title: sources
Post by: Azazel on July 01, 2005, 05:52:29 PM
Which version of Delphi I should use?
Title: sources
Post by: rejetto on July 03, 2005, 08:09:42 AM
i use Delphi 6 PE
Title: Re: sources
Post by: twainiqolo on July 03, 2007, 12:54:39 AM
Did you get any reply to this????
Title: Re: sources
Post by: rejetto on July 03, 2007, 12:56:58 AM
to what?
Title: Re: sources
Post by: RUS_anonym on January 26, 2009, 06:05:25 AM
Good Day.
I have one question. As far i know - sources of &RQ were released under GPL2. And any software, based on this sources must be released under GPL2.

What I mean.
I think you know Russian team, that continued &RQ - renamed it to R&Q, but they won't follow GPL2 licence (more here rnq.ru/component/option,com_fireboard/Itemid,41/func,view/id,18430/catid,12/limit,10/limitstart,0/ ), and won't open the sources of newest versions.

I wish, if you can contact with them and ask - to open the sources for R&Q users

best regards, and sorry for my bad English
Alexander.
Title: Re: sources
Post by: rejetto on January 27, 2009, 08:59:45 AM
I already did.
They essentially don't care about it. :(
not fair
Title: Re: sources
Post by: RUS_Anonym on January 28, 2009, 06:46:27 AM
I already did.
They essentially don't care about it. :(
not fair

maybe - it's better to write it on R&Q forum  - even in English - i think developers will understand you :)

Why i need sources:
maybe you know - few days ago - AOL blocked most of alt. icq clients from CIS (mostly Russia and Ukraine). Rapid D fixed it - in 2 days, but fix for Miranda and qip was ready in 12 hours.

Other reason is - Jabber. Many R&Q users need it. Rapid D added MRA protocol in R&q and I think - XMPP isn't hardest job to do :)

Best Regards
Alexander
Title: Re: sources
Post by: Rapid on February 20, 2009, 08:45:11 AM
I already did.
They essentially don't care about it. :(
not fair

...
Why i need sources:
maybe you know - few days ago - AOL blocked most of alt. icq clients from CIS (mostly Russia and Ukraine). Rapid D fixed it - in 2 days, but fix for Miranda and qip was ready in 12 hours.

Other reason is - Jabber. Many R&Q users need it. Rapid D added MRA protocol in R&q and I think - XMPP isn't hardest job to do :)

Best Regards
Alexander
I'm don't understand your logic. I fixed problem in 2 days (but I think I made it nextday after "problemday")- and that's why you need last source? Do you think you could make it faster?

About jabber, mra, etc - I will not publish sources of multiprotocol version R&Q at all. (Versions 1101+)
But jabber\XMPP will be in R&Q, someday ;-)