Recent

Author Topic: Online Package Manager  (Read 836079 times)

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: Online Package Manager
« Reply #1005 on: October 15, 2017, 09:06:15 pm »
Quote
tr_escape
I tried the example project it gives Esocketerrors
This is obviously a connection problem at your side. How Firefox manage to work in this condition is a mystery to me.

Actually there is no mystery , there is a history about internet connection.

Ok. I little looked up the TFPHTTPClient component it designed for single operation for succesful connection, if any trouble happens it wont work.
Thats my problem :)

My advise to component owner create some retry_cnt methods like as redirection.

Also I tried the local web server apache2 it gives some error too. I can download from my webserver but I couldn't unpack step.
I think online pack man is not good for old PCs.

Thanks for attention


balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1006 on: October 15, 2017, 10:13:02 pm »
@tr_escape
Quote
Ok. I little looked up the TFPHTTPClient component it designed for single operation for succesful connection, if any trouble happens it wont work.
Thats my problem :)
My advise to component owner create some retry_cnt methods like as redirection.
He does not follow this forum as far as I know. If you want something to be done about it, you should file a bugreport here: https://bugs.freepascal.org/view_all_bug_page.php
Quote
Also I tried the local web server apache2 it gives some error too. I can download from my webserver but I couldn't unpack step.
I think online pack man is not good for old PCs.
May I ask how old the computer is? I have a Pentium 4 with XP. Not so long ago I did run a few tests and OPM worked well. It was slow though.

PS: Does somebody else have issues with the connection? With extracting, installing packages?
« Last Edit: October 15, 2017, 10:18:05 pm by GetMem »

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #1007 on: October 15, 2017, 11:25:15 pm »
But I am downloading opm.zip with by firefox there is no connection problem
Do you happen to use proxy in your Firefox?
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: Online Package Manager
« Reply #1008 on: October 16, 2017, 06:54:19 am »
But I am downloading opm.zip with by firefox there is no connection problem
Do you happen to use proxy in your Firefox?

No I haven't got any proxy also I can use a lot of software in my linux too like as transmission,teamviewer,other browsers.

I'll report more detail soon (12 hour later from now).

tr_escape

  • Sr. Member
  • ****
  • Posts: 432
  • sector name toys | respect to spectre
    • Github:
Re: Online Package Manager
« Reply #1009 on: October 16, 2017, 06:58:52 am »
@tr_escape
Quote
Ok. I little looked up the TFPHTTPClient component it designed for single operation for succesful connection, if any trouble happens it wont work.
Thats my problem :)
My advise to component owner create some retry_cnt methods like as redirection.
He does not follow this forum as far as I know. If you want something to be done about it, you should file a bugreport here: https://bugs.freepascal.org/view_all_bug_page.php
Quote
Also I tried the local web server apache2 it gives some error too. I can download from my webserver but I couldn't unpack step.
I think online pack man is not good for old PCs.
May I ask how old the computer is? I have a Pentium 4 with XP. Not so long ago I did run a few tests and OPM worked well. It was slow though.

PS: Does somebody else have issues with the connection? With extracting, installing packages?

Core duo and 1GB Ram I have two harddisk one is linux and other is windows 7.
Actually I will try some new attemps like as changing update of syncronize(@xxx);

Because I created other sofware as gui basis of your example it is worked 6 times of 10 times correctly.


AlexTP

  • Hero Member
  • *****
  • Posts: 2386
    • UVviewsoft
Re: Online Package Manager
« Reply #1010 on: November 07, 2017, 09:03:36 pm »
Please delete packages
-ATBUttons/ATListbox
-ATGauge
Code is moved into ATFlatControls new package, add it
https://github.com/Alexey-T/ATFlatControls

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1011 on: November 08, 2017, 06:11:29 pm »
@Alextp
Thanks. I will change it in a few days(very busy lately).

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Online Package Manager
« Reply #1012 on: November 13, 2017, 11:23:21 am »
i do not know if this is the right place but would it be possible to assess the functionality of opening in the default OS browser the home page of a package in the package info section with a click on it?
copy to clipboard is good but better would be to open the default browser.
thank you
Lazarus 2.0.2 64b on Debian LXDE 10

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Online Package Manager
« Reply #1013 on: November 13, 2017, 11:27:30 am »
Why would that be better? I don't even have a default browser.....
Specialize a type, not a var.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1014 on: November 13, 2017, 11:50:19 am »
Hi tudi_x,

Quote
i do not know if this is the right place
Yes, it's the right place.

Quote
Would it be possible to assess the functionality of opening in the default OS browser the home page of a package in the package info section with a click on it?
copy to clipboard is good but better would be to open the default browser.
I'm not sure what you mean. If you go over the home page link, the text color becames blue, a hint with the link appears. If you click the blue link the page is opened in the default browser(see attachment). This is how it works from day one, except the single click, initially it was double click.

PS If it's not working please let me know.

regards,
GetMem

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Online Package Manager
« Reply #1015 on: November 13, 2017, 12:05:15 pm »
hi GetMem,
everything happens up to the click. i need a double click to open default browser.
using Win 7, Lazarus 64b 1.8 RC5.
could you assess to actually change the cursor to a hand? this is what i see google does. keep same user experience (although they do not have the hint)...
thank you.
« Last Edit: November 13, 2017, 12:09:36 pm by tudi_x »
Lazarus 2.0.2 64b on Debian LXDE 10

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1016 on: November 13, 2017, 12:10:32 pm »
@tudi_x
If you're using Lazarus 1.8 RC5 you can update OPM from itself. Just check OnlinePackageManager then click install. After rebuild please try the link again with single click.

PS: Yes, I can do the cursor thing but only in trunk. It won't make it to Lazarus 1.8 final. It's a new feature not a bugfix. It will be available though through the auto update feature.
« Last Edit: November 13, 2017, 12:16:02 pm by GetMem »

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Online Package Manager
« Reply #1017 on: November 13, 2017, 12:11:29 pm »
Under Windows the double click is the default as per the Windows design guidelines. Since Laz on Windows uses the WinApi this becomes also the default for OPM unless devels want to override that behavior. (Which I strongly discourage, just like a single click should be the default on a MAC)
« Last Edit: November 13, 2017, 12:13:51 pm by Thaddy »
Specialize a type, not a var.

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1018 on: November 13, 2017, 12:13:30 pm »
@Thaddy

True. Initially it was double click, but then a lot of people asked for single click. I guess it's just a personal preference.

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Online Package Manager
« Reply #1019 on: November 13, 2017, 12:16:41 pm »
@Thaddy

True. Initially it was double click, but then a lot of people asked for single click. I guess it's just a personal preference.

No it isn't <a bit grumpy  >:D>: it is sticking to design guidelines for the widgetset.
But I have no problem with it if OPM is standardized to single click. Because it is a programmer's tool, not an end-user tool. That would be worrying...
Specialize a type, not a var.

 

TinyPortal © 2005-2018