[Gambas-user] How to set HttpClient Accept headers?

2016-04-26 Thread T Lee Davidson
I know that the ACCEPT_ENCODING client header can be set using 
HttpClient.Encoding per the wiki. And, I believe 
HttpClient.Headers are only the server response headers.

Is it possible to also set the ACCEPT and ACCEPT_LANGUAGE client headers for 
HttpClient?


-- 
Lee
__

"Artificial Intelligence is no match for natural stupidity."

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #929: Dir command doesn't work in executable

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.929=L21haW4-

Comment #2 by Benoît MINISINI:

Remove the slashes at the end of the directory name. The Linux system calls 
ignore them, but not the interpreter Gambas executable browsing routines.

Benoît MINISINI changed the state of the bug to: Accepted.



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #752: Gambas shows - gbx3: warning: trying to watch fd #-1

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.752=L21haW4-

Comment #5 by Benoît MINISINI:

It should be fixed in revision #7748.

Note that your example code leaks memory by creating an object at each client 
connection and never releasing it.

Benoît MINISINI changed the state of the bug to: Fixed.



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #929: Dir command doesn't work in executable

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.929=L21haW4-

Comment #1 by Jussi LAHTINEN:

Maybe I'm blind, but attachments should be removable and be closer to the 
attach button, so that you would notice when the file is attached...



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #929: Dir command doesn't work in executable

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.929=L21haW4-

Jussi LAHTINEN added an attachment:

TestLib-0.0.4.tar.gz



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #929: Dir command doesn't work in executable

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.929=L21haW4-

Jussi LAHTINEN added an attachment:

TestLib-0.0.4.tar.gz



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #929: Dir command doesn't work in executable

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.929=L21haW4-

Jussi LAHTINEN reported a new bug.

Summary
---

Dir command doesn't work in executable

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Language


Description
---

See attached project.
Dir command works when run in IDE, but not when run as executable.


System information
--

[System]
Gambas=3.8.90 r7747
OperatingSystem=Linux
Kernel=3.13.0-37-generic
Architecture=x86_64
Distribution=Linux Mint 17.2 Rafaela
Desktop=GNOME
Theme=Gtk
Language=en_US.UTF-8
Memory=7985M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4

[Environment]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-EsqmBWCmZG,guid=5fc4c722458776becac723ec571f7b10
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_SESSION=cinnamon
DISPLAY=:0.0
GB_GUI=gb.qt4
GB_PROFILE_MAX=1000
GDMSESSION=cinnamon
GDM_XSERVER_LOCATION=local
GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=18333
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-jPnXNp
GPG_AGENT_INFO=/run/user/1000/keyring-jPnXNp/gpg:0:1
GTK_IM_MODULE=xim
HOME=
INSIDE_NEMO_PYTHON=
LANG=en_US.UTF-8
LC_ADDRESS=fi_FI.UTF-8
LC_IDENTIFICATION=fi_FI.UTF-8
LC_MEASUREMENT=fi_FI.UTF-8
LC_MONETARY=fi_FI.UTF-8
LC_NAME=fi_FI.UTF-8
LC_NUMERIC=fi_FI.UTF-8
LC_PAPER=fi_FI.UTF-8
LC_TELEPHONE=fi_FI.UTF-8
LC_TIME=en_US.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
MDMSESSION=cinnamon
MDM_LANG=en_US.UTF-8
MDM_XSERVER_LOCATION=local
PAPERSIZE=letter
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=
QT4_IM_MODULE=xim
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1899,unix/:/tmp/.ICE-unix/1899
SHELL=/bin/bash
SSH_AGENT_PID=2015
SSH_AUTH_SOCK=/run/user/1000/keyring-jPnXNp/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=8
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1461680912.306363-1904248904
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c2
XDG_VTNR=8
XMODIFIERS=@im=none



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #929: Dir command doesn't work in executable

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.929=L21haW4-

Jussi LAHTINEN added an attachment:

TestLib-0.0.4.tar.gz



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #752: Gambas shows - gbx3: warning: trying to watch fd #-1

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.752=L21haW4-

Comment #4 by Benoît MINISINI:

Thanks!



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #752: Gambas shows - gbx3: warning: trying to watch fd #-1

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.752=L21haW4-

Benoît MINISINI changed the state of the bug to: Accepted.




--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #918: Debian package does not build if it relies on library

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.918=L21haW4-

Comment #1 by Benoît MINISINI:

Can you provide the project you build the Debian package from?

Benoît MINISINI changed the state of the bug to: NeedsInfo.



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error messages from library?

2016-04-26 Thread Jussi Lahtinen
Not that simple. The library has embedded data etc, and to avoid conflicts
I would need to modify the code.
More over I suspect something strange happening in the export.

Also generally speaking I hope there is easier way to do this.


Jussi



On Wed, Apr 27, 2016 at 1:22 AM, Christof Thalhofer 
wrote:

> Am 27.04.2016 um 00:07 schrieb Jussi Lahtinen:
>
> > I have two projects using same library (made with Gambas).
> > When same functions are used in project 1, everything is OK, but from
> > project 2 I got "Out of bounds". How can I see what happens in the
> library?
>
> If you have to debug a lib, simply copy the code to the project using
> the lib (and remove the lib itself from your project).
>
> In the project you can make a subdir AAALib (or something equivalent – I
> do this to remember, that the lib's code is inside my project) and copy
> the sourcecode there.
>
> Then you can test your project, debug and change the code. When done,
> move the sourcefiles back to your lib, make an executable of them and
> include it again in your project.
>
>
> Alles Gute
>
> Christof Thalhofer
>
> --
> Dies ist keine Signatur
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Error messages from library?

2016-04-26 Thread Christof Thalhofer
Am 27.04.2016 um 00:07 schrieb Jussi Lahtinen:

> I have two projects using same library (made with Gambas).
> When same functions are used in project 1, everything is OK, but from
> project 2 I got "Out of bounds". How can I see what happens in the library?

If you have to debug a lib, simply copy the code to the project using
the lib (and remove the lib itself from your project).

In the project you can make a subdir AAALib (or something equivalent – I
do this to remember, that the lib's code is inside my project) and copy
the sourcecode there.

Then you can test your project, debug and change the code. When done,
move the sourcefiles back to your lib, make an executable of them and
include it again in your project.


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Error messages from library?

2016-04-26 Thread Jussi Lahtinen
Hi!
I have two projects using same library (made with Gambas).
When same functions are used in project 1, everything is OK, but from
project 2 I got "Out of bounds". How can I see what happens in the library?


Jussi


sysinf
Description: Binary data
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] FontChooser setting fontname

2016-04-26 Thread Rolf-Werner Eilert
"Courrier" is French, in my list there is "Courier". I can choose it 
from the list, but I cannot set the list to this value/index/string.

Rolf

Am 26.04.2016 12:39, schrieb Fabien Bodard:
> Courrier
> Le 26 avr. 2016 12:12, "Rolf-Werner Eilert"  a
> écrit :
>
>> The docu reads:
>>
>> FontChooser.SelectedFont (gb.form)
>>
>> Property SelectedFont As String
>>
>> Returns or sets the selected font as a string.
>>
>> When I try to do
>>
>> Dim MyFont As String
>>
>> MyFont = "Courier"
>> fcMyFont.SelectedFont = MyFont
>>
>> nothing happens.
>>
>> Am I expecting too much?
>>
>> Rolf
>>
>>
>>
>> --
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] FontChooser setting fontname

2016-04-26 Thread Fabien Bodard
Courrier
Le 26 avr. 2016 12:12, "Rolf-Werner Eilert"  a
écrit :

> The docu reads:
>
> FontChooser.SelectedFont (gb.form)
>
> Property SelectedFont As String
>
> Returns or sets the selected font as a string.
>
> When I try to do
>
> Dim MyFont As String
>
> MyFont = "Courier"
> fcMyFont.SelectedFont = MyFont
>
> nothing happens.
>
> Am I expecting too much?
>
> Rolf
>
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] FontChooser setting fontname

2016-04-26 Thread Rolf-Werner Eilert
The docu reads:

FontChooser.SelectedFont (gb.form)

Property SelectedFont As String

Returns or sets the selected font as a string.

When I try to do

Dim MyFont As String

MyFont = "Courier"
fcMyFont.SelectedFont = MyFont

nothing happens.

Am I expecting too much?

Rolf


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #928: Would it be possible to be admitted declare when going to be used

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.928=L21haW4-

Julio SANCHEZ reported a new bug.

Summary
---

Would it be possible to be admitted declare when going to be used

Type : Request
Priority : Low
Gambas version   : Unknown
Product  : Language


Description
---

Hello:

Would it be possible to be admitted declare when going to be used, instead of 
having it to declare the beginning of a variable sub or function?


Example:
' Gambas module file
Public Sub Main()
'Declare of a variable the beginning  sub or function:
dim text as string="hello"
print text
...
...
'Variable Declaration declaration when used
dim i as integer
for i=0 to 10
print i
next

end

Regards

Julio





--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #927: Variable Declaration declaration when used

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.927=L21haW4-

Julio SANCHEZ reported a new bug.

Summary
---

Variable Declaration declaration when used

Type : Request
Priority : Low
Gambas version   : Unknown
Product  : Language


Description
---

Hello:

Would it be possible to be admitted declare when going to be used, instead of 
having it to declare the beginning of a variable sub or function?

Example:
' Gambas module file

Public Sub Main()
'Declare of a variable the beginning  sub or function:
dim text as string="hello"

print text
...
...

'Variable Declaration declaration when used
dim i as integer
for i=0 to 10
print i
next


end


Regards

Julio





--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #914: Error using the help offline: CDocumentation.ImplementAndNeed.1138 Not an objectm

2016-04-26 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.914=L21haW4-

Julio SANCHEZ changed the state of the bug to: Fixed.




--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user