Re: HttpClient - HttpComponents

2013-12-31 Thread Pierre-André Jacquod

Hello,
used to progamm a bit, but due to lack of time, was not able to 
contribute with the speeding up of the tree...


But as it seems to be a very low level priority task, I will have a try.
  The Commons HttpClient project is now end of life, and is no

to remove at least this dependency.

 it's probably a waste of time since the only thing using it is
 the Wiki Publisher extension, which likely uses just basic features

 care about performance; it would be better to investigate whether

current JREs (version 6 as baseline) include some equivalent
functionality already to get rid of that external dependency instead


I will try first this path (pure Java rewrite), depsite I like better 
C++ :-)


I intend to remove its use class by class of httpclient. So in case of 
lack of time, a part is done and not lost.


Locally I have removed the use of httpclient.URI.

But I would need a hint: is there a documentfoundation / LO wiki where I 
can get access as _test_ in order to be able to check my changes?


thanks
Best regards
Pierre-André

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: HttpClient - HttpComponents

2013-10-28 Thread Michael Stahl
[looks like this was accidentally sent only to me, adding list in CC:]

On 27/10/13 09:41, Fernand Vanrie wrote:
 Michael, julien
 
 Having a proper working http connection tool would be a advantage, for 
 working with external calendar' translators like  Google API stuff we 
 need a Http connection tool.

that is a valid point but currently we don't make a HTTP UNO API
available based on commons-httpclient so removing it has no impact there.

we also bundle various C++ libraries like curl and neon that should make
a better basis for a HTTP API if somebody wanted to implement that.

 For now i use a Window COM object 
 CreateObject(WinHttp.WinHttpRequest.5.1) to make constructions like below.

guess there is no better workaround for BASIC programmers currently;
presumably Python and Java and CLR have HTTP libraries easily available.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: HttpClient - HttpComponents

2013-10-27 Thread Niko Rönkkö

Hi


Any idea?


Isn't there any C/C++ equivalent to replace that and at the same time
ged rid of one Java depedency?

--
RN
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


HttpClient - HttpComponents

2013-10-26 Thread julien2412
Hello,

Seeing red TB + lots of messages about deprecated parts in Apache
httpclient, I've taken a look to Apache website here:
http://hc.apache.org/httpclient-3.x/
and read this:
 The Commons HttpClient project is now end of life, and is no longer being
developed. It has been replaced by the Apache HttpComponents project in its
HttpClient and HttpCore modules, which offer better performance and more
flexibility.
I wondered if it could worth it to migrate toward HttpComponents.

Any idea?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/HttpClient-HttpComponents-tp4079943.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: HttpClient - HttpComponents

2013-10-26 Thread julien2412
About red TB, I just noticed root dir/apache-commons (since now
apache-commons is in external) and it builds ok.



--
View this message in context: 
http://nabble.documentfoundation.org/HttpClient-HttpComponents-tp4079943p4079976.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: HttpClient - HttpComponents

2013-10-26 Thread Michael Stahl
On 26/10/13 13:41, julien2412 wrote:
 Hello,
 
 Seeing red TB + lots of messages about deprecated parts in Apache
 httpclient, I've taken a look to Apache website here:
 http://hc.apache.org/httpclient-3.x/
 and read this:
  The Commons HttpClient project is now end of life, and is no longer being
 developed. It has been replaced by the Apache HttpComponents project in its
 HttpClient and HttpCore modules, which offer better performance and more
 flexibility.
 I wondered if it could worth it to migrate toward HttpComponents.

it's probably a waste of time since the only thing using it is the Wiki
Publisher extension, which likely uses just basic features and doesn't
care about performance; it would be better to investigate whether
current JREs (version 6 as baseline) include some equivalent
functionality already to get rid of that external dependency instead
(it's especially annoying since it requires servlet-api.jar to build,
which is why we only reason why we have that silly tomcat module).


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice