From bugtracker at ...3416... Fri Jul 1 08:55:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 06:55:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Comment #5 by Gianfranco COSTAMAGNA: great success! I did just take a part of the patch, I clicked on unified view on the commit I guess, and this split the patch into three :) and I copied the first lol All hashed or ciphered data is base64 encoded Checking digest sha256... Output is: ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= Should read: ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= --- Checking cipher (salted) aes256... Output is: U2FsdGVkX18BI0VniavN7464hGnXjHmRYfG6I2X1nJA= Should read: U2FsdGVkX18BI0VniavN7464hGnXjHmRYfG6I2X1nJA= abcrypted: abc Should read: abc --- Checking cipher blowfish... Output is: QNVH2mCCLE0= Should read: QNVH2mCCLE0= Decrypted: abc Should read: abc --- Checking HMAC... Output is: T9CyFSdu8S8rPkyOysKBFJi2Vvw= Should read: T9CyFSdu8S8rPkyOysKBFJi2Vvw= --- Done. seems good, I'm going to apply it in Debian in a few hours! thanks! G. From bugtracker at ...3416... Fri Jul 1 09:14:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 07:14:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #958: gambas3 build failure with openssl 1.1 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.958&from=L21haW4- Tobias BOEGE changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Jul 1 13:47:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 11:47:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #960: Cannot get dynamically created SerialPort control events to raise. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.960&from=L21haW4- zxMarce reported a new bug. Summary ------- Cannot get dynamically created SerialPort control events to raise. Type : Bug Priority : Medium Gambas version : 3.8 Product : Networking components Description ----------- Put simply, I need to control one of a class of serial devices that perform the same task with different protocols, so I'm using a class per device type. These classes are created on-demand from the main app and used with a standard interface. They have all the same public calls so the app can call any one with a standard set of properties/methods and get the result no matter how different the underlying protocol/hardware is. To this end, I'm using a USB-4xRS232 hub for convenience. The hardware set works properly under a virtual Win7-32bit using VB6 in the same Ubuntu host machine, so hardware is not suspect. The problem is that I cannot get the dynamically created serial port to raise events in the class (not a form). Class declarations for one device (tried declaring $tty as Public and Private with same result): Private Const TEST_TX As String = "?1" 'Chr(&H02) & Chr(&HF8) & Chr(&H31) & Chr(&H03), or "STX-0xF8-0x31-ETX" (invalid command for device, on purpose) Private Const TEST_RX As String = "" 'Chr(&H02) & Chr(&H15) & Chr(&H03), or "STX-0x15-ETX" (means 'Error') Private $tty As SerialPort 'Public $tty As SerialPort Private $rxBuff As String = Null I create the serial port as follows in a Function Create() (take your pick, used both methods with the same result): 'Instance serial port, make it raise local events as "SerPort" (but this does NOT raise events for unknown reasons!) $tty = New SerialPort As "SerPort" 'Alternate way to instance would be like follows (also does NOT raise events!) '$tty = New SerialPort 'Object.Attach($tty, Me, "SerPort") Then, if Create() above returned TRUE, the moment comes to check whether the hardware device is present calling Function Test(): Public Function Test() As Boolean Dim tOut As Date = DateAdd(Now, gb.Second, 2) 'Reset RX Buffer, send test command and check for timeout/response $tty.Drop 'Kill remaining send data $tty.Begin() 'Start buffering Write #$tty, TEST_TX 'Add to send buffer $rxBuff = Null 'Kill cumulative RX buffer $tty.Send() 'Send buffer While (Now < tOut) And ($rxBuff <> TEST_RX) 'Yield some processing time Sleep 0.1 'Next IF is necessary because SerPort_Read() does not trigger by itself. 'When the IF is commented out, the event does not trigger even having ($tty.InputBufferSize > 0). If $tty.InputBufferSize > 0 Then SerPort_Read() Endif Wend Finally Return ($rxBuff = TEST_RX) Catch Message.Error("Error '" & Error.Text & "' occurred in " & Error.Where) End And this next is what is never called when data is available unless called by hand like in the IF in Test(): Public Sub SerPort_Read() Dim dLen As Integer = $tty.InputBufferSize Dim sgmnt As New Byte[] 'Data should be available in the serial port buffer sgmnt.Resize(dLen) sgmnt.Read($tty) $rxBuff &= sgmnt.ToString() End I guess I might be missing something, but cannot see what. This is my first try with dynamically created objects. Maybe I have to fine-tune some serial port property (even tried playing with the .Blocking property, but nothing changed). Examples on the 'net have not been useful, and I think I did it the right way as per available docs. Is this a problem in Gambas, or am I doing something obviously wrong? TIA, zxMarce. System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.16.0-76-generic Architecture=x86_64 Distribution=Ubuntu 14.04.4 LTS Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=11890M [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_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-thQOWqILYl,guid=4c9ff4d218e83a7a2b9fe46057739c84 DEFAULTS_PATH=/usr/share/gconf/cairo-dock.default.path DESKTOP_AUTOSTART_ID=104c7ac2ed18f5e28d146719450163479400000027220002 DESKTOP_SESSION=cairo-dock DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cairo-dock GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/cairo-dock.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2952 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-9DfVcF GNOME_KEYRING_PID=2720 GPG_AGENT_INFO=/run/user/1000/keyring-9DfVcF/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar HOME= LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=es_AR.UTF-8 LC_IDENTIFICATION=es_AR.UTF-8 LC_MEASUREMENT=es_AR.UTF-8 LC_MONETARY=es_AR.UTF-8 LC_NAME=es_AR.UTF-8 LC_NUMERIC=es_AR.UTF-8 LC_PAPER=es_AR.UTF-8 LC_TELEPHONE=es_AR.UTF-8 LC_TIME=en_DK.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cairo-dock.mandatory.path PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION_MANAGER=local/:@/tmp/.ICE-unix/2722,unix/:/tmp/.ICE-unix/2722 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2781 SSH_AUTH_SOCK=/run/user/1000/keyring-9DfVcF/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cairo-dock:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/cairo-dock:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From ualex73 at ...626... Fri Jul 1 14:50:07 2016 From: ualex73 at ...626... (Alexie) Date: Fri, 1 Jul 2016 14:50:07 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #960: Cannot get dynamically created SerialPort control events to raise. In-Reply-To: References: Message-ID: You are aware events like _Read() only will be called in 'wait' loop? If you call 'sleep' or only process data without waiting on anything, the event will NEVER be called. In you example "SerPort_Read" has no real usage, you declare it as event, but is never used as event. 2016-07-01 13:47 GMT+02:00 : > http://gambaswiki.org/bugtracker/edit?object=BUG.960&from=L21haW4- > > zxMarce reported a new bug. > > Summary > ------- > > Cannot get dynamically created SerialPort control events to raise. > > Type : Bug > Priority : Medium > Gambas version : 3.8 > Product : Networking components > > > Description > ----------- > > Put simply, I need to control one of a class of serial devices that > perform the same task with different protocols, so I'm using a class per > device type. These classes are created on-demand from the main app and used > with a standard interface. They have all the same public calls so the app > can call any one with a standard set of properties/methods and get the > result no matter how different the underlying protocol/hardware is. > To this end, I'm using a USB-4xRS232 hub for convenience. The hardware set > works properly under a virtual Win7-32bit using VB6 in the same Ubuntu host > machine, so hardware is not suspect. > > The problem is that I cannot get the dynamically created serial port to > raise events in the class (not a form). > > Class declarations for one device (tried declaring $tty as Public and > Private with same result): > > Private Const TEST_TX As String = " ?1 " 'Chr(&H02) & Chr(&HF8) & > Chr(&H31) & Chr(&H03), or "STX-0xF8-0x31-ETX" (invalid command for device, > on purpose) > Private Const TEST_RX As String = " " 'Chr(&H02) & Chr(&H15) & > Chr(&H03), or "STX-0x15-ETX" (means 'Error') > Private $tty As SerialPort > 'Public $tty As SerialPort > Private $rxBuff As String = Null > > > I create the serial port as follows in a Function Create() (take your > pick, used both methods with the same result): > > 'Instance serial port, make it raise local events as "SerPort" (but this > does NOT raise events for unknown reasons!) > $tty = New SerialPort As "SerPort" > > 'Alternate way to instance would be like follows (also does NOT raise > events!) > '$tty = New SerialPort > 'Object.Attach($tty, Me, "SerPort") > > > Then, if Create() above returned TRUE, the moment comes to check whether > the hardware device is present calling Function Test(): > > Public Function Test() As Boolean > > Dim tOut As Date = DateAdd(Now, gb.Second, 2) > > 'Reset RX Buffer, send test command and check for timeout/response > $tty.Drop 'Kill remaining send data > $tty.Begin() 'Start buffering > Write #$tty, TEST_TX 'Add to send buffer > $rxBuff = Null 'Kill cumulative RX buffer > $tty.Send() 'Send buffer > > While (Now < tOut) And ($rxBuff <> TEST_RX) > > 'Yield some processing time > Sleep 0.1 > > 'Next IF is necessary because SerPort_Read() does not trigger by > itself. > 'When the IF is commented out, the event does not trigger even > having ($tty.InputBufferSize > 0). > If $tty.InputBufferSize > 0 Then > SerPort_Read() > Endif > > Wend > > Finally > Return ($rxBuff = TEST_RX) > > Catch > Message.Error("Error '" & Error.Text & "' occurred in " & > Error.Where) > > End > > > And this next is what is never called when data is available unless called > by hand like in the IF in Test(): > > Public Sub SerPort_Read() > > Dim dLen As Integer = $tty.InputBufferSize > Dim sgmnt As New Byte[] > > 'Data should be available in the serial port buffer > sgmnt.Resize(dLen) > sgmnt.Read($tty) > $rxBuff &= sgmnt.ToString() > > End > > > I guess I might be missing something, but cannot see what. This is my > first try with dynamically created objects. Maybe I have to fine-tune some > serial port property (even tried playing with the .Blocking property, but > nothing changed). Examples on the 'net have not been useful, and I think I > did it the right way as per available docs. > > Is this a problem in Gambas, or am I doing something obviously wrong? > > TIA, > zxMarce. > > > System information > ------------------ > > [System] > Gambas=3.8.4 > OperatingSystem=Linux > Kernel=3.16.0-76-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.4 LTS > Desktop=GNOME > Theme=Gtk > Language=en_US.UTF-8 > Memory=11890M > > [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_IM_MODULE=xim > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-thQOWqILYl,guid=4c9ff4d218e83a7a2b9fe46057739c84 > DEFAULTS_PATH=/usr/share/gconf/cairo-dock.default.path > DESKTOP_AUTOSTART_ID=104c7ac2ed18f5e28d146719450163479400000027220002 > DESKTOP_SESSION=cairo-dock > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=cairo-dock > GDM_LANG=en_US > GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/cairo-dock.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=2952 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-9DfVcF > GNOME_KEYRING_PID=2720 > GPG_AGENT_INFO=/run/user/1000/keyring-9DfVcF/gpg:0:1 > GTK_IM_MODULE=ibus > GTK_MODULES=overlay-scrollbar > HOME= > LANG=en_US.UTF-8 > LANGUAGE=en_US > LC_ADDRESS=es_AR.UTF-8 > LC_IDENTIFICATION=es_AR.UTF-8 > LC_MEASUREMENT=es_AR.UTF-8 > LC_MONETARY=es_AR.UTF-8 > LC_NAME=es_AR.UTF-8 > LC_NUMERIC=es_AR.UTF-8 > LC_PAPER=es_AR.UTF-8 > LC_TELEPHONE=es_AR.UTF-8 > LC_TIME=en_DK.UTF-8 > LOGNAME= > MANDATORY_PATH=/usr/share/gconf/cairo-dock.mandatory.path > > PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD= > QT4_IM_MODULE=xim > QT_IM_MODULE=ibus > QT_QPA_PLATFORMTHEME=appmenu-qt5 > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2722,unix/:/tmp/.ICE-unix/2722 > SHELL=/bin/bash > SHLVL=0 > SSH_AGENT_PID=2781 > SSH_AUTH_SOCK=/run/user/1000/keyring-9DfVcF/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER= > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-cairo-dock:/etc/xdg > XDG_CURRENT_DESKTOP=Unity > > XDG_DATA_DIRS=/usr/share/cairo-dock:/usr/share/gnome:/usr/local/share/:/usr/share/ > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > XDG_MENU_PREFIX=gnome- > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_ID=c2 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_VTNR=7 > XMODIFIERS=@...3498...=ibus > > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Fri Jul 1 14:51:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 12:51:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #960: Cannot get dynamically created SerialPort control events to raise. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.960&from=L21haW4- Comment #1 by Alexander KUIPER: You are aware events like _Read() only will be called in 'wait' loop? If you call 'sleep' or only process data without waiting on anything, the event will NEVER be called. In you example "SerPort_Read" has no real usage. From bugtracker at ...3416... Fri Jul 1 14:54:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 12:54:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #960: Cannot get dynamically created SerialPort control events to raise. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.960&from=L21haW4- Comment #2 by zxMarce: Nope, did not know that! Will try again and see how it goes. From bugtracker at ...3416... Fri Jul 1 15:01:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 13:01:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #960: Cannot get dynamically created SerialPort control events to raise. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.960&from=L21haW4- Comment #3 by zxMarce: Alex, That friggin' did it. Now the event works as expected. So, WAIT inside a non-event handler loop instead of SLEEP. As per the docs SLEEP should be used inside event handlers to avoid stack overruns, but I needed to process the event loop. Some confusion... Thanks a bunch! zxMarce changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Jul 1 15:22:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 13:22:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #960: Cannot get dynamically created SerialPort control events to raise. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.960&from=L21haW4- Comment #4 by Tobias BOEGE: To conclude: the warning in [1] targets cases such as this: - you enter an event handler for a read-ready stream (like Process_Read) - without reading any data, you call Wait. Since the stream is still ready to be read, you will immediately re-enter the event handler and so it goes on without doing any work. Example code: Private $h As Process Public Sub Main() $h = Shell "echo" For Read Write As "Process" End Public Sub Process_Read() Wait End Calling Wait in an event handler will not always, not even under bad circumstances like many events happening, lead to stack exhaustion. It's primarily a matter of where in the event handler you use it and in which handler. If you read a small amount of data from the process before calling Wait, the number of recursive calls required to consume all the data in the Process stream will be finite and, depending on how much data the process creates, will not exhaust your stack. Also I'm setting this bug to invalid because we even hit the rare occasion that the solution is explicitly mentioned in the docs :-) [1] http://gambaswiki.org/wiki/cat/eventloop Tobias BOEGE changed the state of the bug to: Invalid. From bugtracker at ...3416... Fri Jul 1 15:53:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 01 Jul 2016 13:53:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #960: Cannot get dynamically created SerialPort control events to raise. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.960&from=L21haW4- Comment #5 by zxMarce: Tobias, Not precisely the case, but yup, the bug's invalid. I originally used SLEEP out of the event handler, thus -unknowingly to me- giving Gambas no chance to actually trigger the event. Never used WAIT, not in the handler nor in the external loop. When I -hinted by Alex- changed SLEEP to WAIT outside the event code to yield to the message loop, boom! The event triggered as originally expected. I would not call this an issue if I were as experimented as some folks like you are here, but for thick-skulls like myself Gambas can be a little puzzling at times. Using WAIT never crossed my head, and I did not read the SLEEP page. It is right there: "The event loop is not called during a sleep, and so events are not processed.", duh! I think the wiki pages for EventLoop, WAIT and SLEEP should all be related/connected to avoid these pitfalls. Pages for EventLoop and WAIT point to each other in See Also, but they do not mention SLEEP. Also there's no warning about freezing events due to SLEEP in either EventLoop or WAIT pages. Thanks again! From bugtracker at ...3416... Sat Jul 2 20:29:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 02 Jul 2016 18:29:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Compile error at gb.jit Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- Am I missing packages or what? Making all in src make[4]: Entering directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit/src' CXX gb_jit_la-jit_codegen.lo jit_codegen.cpp: In function ?llvm::Value* extract_value(llvm::Value*, int)?: jit_codegen.cpp:362:29: warning: narrowing conversion of ?index? from ?int? to ?unsigned int? inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen.cpp: In function ?llvm::Value* insert_value(llvm::Value*, llvm::Value*, int)?: jit_codegen.cpp:367:29: warning: narrowing conversion of ?index? from ?int? to ?unsigned int? inside { } [-Wnarrowing] unsigned int arr[] = {index}; ^ jit_codegen_conv.h: In member function ?virtual llvm::Value* ConvExpression::codegen_get_value()?: jit_codegen_conv.h:304:62: error: overloaded function with no contextual type information llvm::Value* ival = builder->CreateCall(get_global_function(floor, 'd', "d"), val); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp: In member function ?virtual llvm::Value* SubrExpression::codegen_get_value()?: jit_codegen.cpp:5446:52: error: overloaded function with no contextual type information ret = builder->CreateCall(get_global_function(floor, 'd', "d"), param[0]); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5462:106: error: overloaded function with no contextual type information llvm::Value* func1 = type == T_SINGLE ? get_global_function(floorf, 'f', "f") : get_global_function(floor, 'd', "d"); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5463:105: error: overloaded function with no contextual type information llvm::Value* func2 = type == T_SINGLE ? get_global_function(fabsf, 'f', "f") : get_global_function(fabs, 'd', "d"); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5521:62: error: overloaded function with no contextual type information llvm::Value* x = builder->CreateCall(get_global_function(fabs, 'd', "d"), param[0]); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5522:74: error: overloaded function with no contextual type information ret = builder->CreateFSub(x, builder->CreateCall(get_global_function(floor, 'd', "d"), x)); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:20: error: overloaded function with no contextual type information NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:18: note: in expansion of macro ?f? NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:5532:28: error: overloaded function with no contextual type information NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:26: note: in expansion of macro ?f? NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:5532:36: error: overloaded function with no contextual type information NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:34: note: in expansion of macro ?f? NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:5532:45: error: overloaded function with no contextual type information NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:43: note: in expansion of macro ?f? NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:5532:53: error: overloaded function with no contextual type information NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:51: note: in expansion of macro ?f? NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:5532:61: error: overloaded function with no contextual type information NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:59: note: in expansion of macro ?f? NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:5532:69: error: overloaded function with no contextual type information NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5532:67: note: in expansion of macro ?f? NULL, NULL, f(log), f(exp), f(sqrt), f(sin), f(cos), f(tan), f(atan), ^ jit_codegen.cpp:5533:8: error: overloaded function with no contextual type information f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5533:6: note: in expansion of macro ?f? f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:5533:17: error: overloaded function with no contextual type information f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5533:15: note: in expansion of macro ?f? f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:5533:38: error: overloaded function with no contextual type information f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5533:36: note: in expansion of macro ?f? f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:5533:48: error: overloaded function with no contextual type information f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5533:46: note: in expansion of macro ?f? f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:5533:57: error: overloaded function with no contextual type information f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5533:55: note: in expansion of macro ?f? f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:5533:66: error: overloaded function with no contextual type information f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5533:64: note: in expansion of macro ?f? f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:5533:75: error: overloaded function with no contextual type information f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5533:73: note: in expansion of macro ?f? f(asin), f(acos), NULL, NULL, f(log10), f(sinh), f(cosh), f(tanh), f(asinh), ^ jit_codegen.cpp:5534:8: error: overloaded function with no contextual type information f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5534:6: note: in expansion of macro ?f? f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:5534:18: error: overloaded function with no contextual type information f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5534:16: note: in expansion of macro ?f? f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:5534:28: error: overloaded function with no contextual type information f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5534:26: note: in expansion of macro ?f? f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:5534:47: error: overloaded function with no contextual type information f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5534:45: note: in expansion of macro ?f? f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:5534:56: error: overloaded function with no contextual type information f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5534:54: note: in expansion of macro ?f? f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:5534:65: error: overloaded function with no contextual type information f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5534:63: note: in expansion of macro ?f? f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:5534:75: error: overloaded function with no contextual type information f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5534:73: note: in expansion of macro ?f? f(acosh), f(atanh), f(exp2), f(exp10), f(log2), f(cbrt), f(expm1), f(log1p), ^ jit_codegen.cpp:5535:8: error: overloaded function with no contextual type information f(floor), f(ceil) ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5535:6: note: in expansion of macro ?f? f(floor), f(ceil) ^ jit_codegen.cpp:5535:18: error: overloaded function with no contextual type information f(floor), f(ceil) ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5535:16: note: in expansion of macro ?f? f(floor), f(ceil) ^ jit_codegen.cpp:5570:45: error: overloaded function with no contextual type information builder->CreateCall(get_global_function(floor, 'd', "d"), ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5789:52: error: overloaded function with no contextual type information ret = builder->CreateCall2(get_global_function(atan2, 'd', "dd"), param[0], param[1]); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:5791:51: error: overloaded function with no contextual type information ret = builder->CreateCall(get_global_function(sqrt, 'd', "d"), builder->CreateFAdd(builder->CreateFMul(param[0], param[0]), builder->CreateFMul(param[1], param[1]))); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:6300:68: error: overloaded function with no contextual type information llvm::Value* fabs_ret = builder->CreateCall(get_global_function(fabs, 'd', "d"), param[0]); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp:6301:69: error: overloaded function with no contextual type information llvm::Value* floor_ret = builder->CreateCall(get_global_function(floor, 'd', "d"), fabs_ret); ^ jit_codegen.cpp:285:79: note: in definition of macro ?get_global_function? #define get_global_function(n, ret, args) get_global_function_real(#n, (void*)n, ret, args) ^ jit_codegen.cpp: In function ?void func_extern_call_variant_vararg(void*, void*, int, TYPE)?: jit_codegen.cpp:6655:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(TYPE*)&signature_string[nargs] = return_type; ^ jit_codegen.cpp:6705:44: warning: array subscript has type ?char? [-Wchar-subscripts] ft[i] = extern_types[signature_string[i]]; ^ jit_codegen.cpp: At global scope: jit_codegen.cpp:6980:13: warning: ?void JIT_cleanup(llvm::ExecutionEngine**, int)? defined but not used [-Wunused-function] static void JIT_cleanup(llvm::ExecutionEngine** EE, int n_func){ ^~~~~~~~~~~ jit_codegen.cpp:1135:13: warning: ?void release_val(Expression*)? defined but not used [-Wunused-function] static void release_val(Expression* expr){ ^~~~~~~~~~~ jit_codegen.cpp:1121:13: warning: ?void release_top(Expression*)? defined but not used [-Wunused-function] static void release_top(Expression* expr){ ^~~~~~~~~~~ jit_codegen.cpp:1117:13: warning: ?void borrow_top(TYPE)? defined but not used [-Wunused-function] static void borrow_top(TYPE type){ ^~~~~~~~~~ jit_codegen.cpp:1038:13: warning: ?void codegen_printf(const char*, llvm::Value*)? defined but not used [-Wunused-function] static void codegen_printf(const char* str1, llvm::Value* intval){ ^~~~~~~~~~~~~~ jit_codegen.cpp:1034:13: warning: ?void codegen_printf(const char*)? defined but not used [-Wunused-function] static void codegen_printf(const char* str1){ ^~~~~~~~~~~~~~ jit_codegen.cpp:1030:13: warning: ?void codegen_printf(const char*, int)? defined but not used [-Wunused-function] static void codegen_printf(const char* str1, int tal){ ^~~~~~~~~~~~~~ jit_codegen.cpp:337:21: warning: ?llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)? defined but not used [-Wunused-function] static llvm::Value* get_new_struct(llvm::StructType* st, llvm::Value* v1, llvm::Value* v2, llvm::Value* v3){ ^~~~~~~~~~~~~~ make[4]: *** [Makefile:588: gb_jit_la-jit_codegen.lo] Error 1 make[4]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit/src' make[3]: *** [Makefile:433: all-recursive] Error 1 make[3]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit' make[2]: *** [Makefile:365: all] Error 2 make[2]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.jit' make[1]: *** [Makefile:438: all-recursive] Error 1 make[1]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk' make: *** [Makefile:379: all] Error 2 ==> FEIL: En feil oppsto i build(). Avbryter... From herberthguzman at ...626... Sat Jul 2 21:15:40 2016 From: herberthguzman at ...626... (herberth guzman) Date: Sat, 2 Jul 2016 13:15:40 -0600 Subject: [Gambas-user] File or directory does not exist Message-ID: Regards Benoit A question I have a project (gbTerminal) which is a gui gb.terminal.form what happens to me is something unusual * I run the project (gbterminal) - works well (Windows 1) * If I open a new window (gbterminal) - works well (Window 2) * If I open a new window (gbterminal) in the (Window 1) - works well * But if I open a window (gbterminal) in the (Window 1, Windows 2, Windows N) gives me the following error: File or directory does not exist Might help me please Where I have the error. Attached project https://drive.google.com/file/d/0B2gI4jYOofp0TUtxeVFmS09aU2c/view?usp=sharing and It's in (gambasfarm-gbTerminal) Herberth Guzm?n -------------- next part -------------- A non-text attachment was scrubbed... Name: gbTerminal-0.1.1.tar.gz Type: application/x-gzip Size: 43080 bytes Desc: not available URL: From buster6seven at ...626... Sun Jul 3 10:20:15 2016 From: buster6seven at ...626... (Shane) Date: Sun, 3 Jul 2016 18:20:15 +1000 Subject: [Gambas-user] array of classes Message-ID: <5778CABF.5070008@...626...> I'm trying create a array of myClass but when i create it i have an array of null values i have my Rect.class Public x As Integer Public y As Integer Public width As Integer Public height As Integer then my Block.class Public Screenpos As New Rect Public Imagepos As New Rect Public num_hits As Integer and then in the main module i do Public Blocks As New Block[MAX_BLOCKS] and i get an array with Max_BLOCKS indexes on null values what am i doing wrong thanks Shane From adamnt42 at ...626... Sun Jul 3 11:38:25 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 3 Jul 2016 19:08:25 +0930 Subject: [Gambas-user] array of classes In-Reply-To: <5778CABF.5070008@...626...> References: <5778CABF.5070008@...626...> Message-ID: <20160703190825.c2356662d25db3d573e32233@...626...> On Sun, 3 Jul 2016 18:20:15 +1000 Shane wrote: > I'm trying create a array of myClass but when i create it i have an > array of null values > > i have my Rect.class > > Public x As Integer > Public y As Integer > Public width As Integer > Public height As Integer > > > then my Block.class > > Public Screenpos As New Rect > Public Imagepos As New Rect > Public num_hits As Integer > > and then in the main module i do > > Public Blocks As New Block[MAX_BLOCKS] > > and i get an array with Max_BLOCKS indexes on null values > > what am i doing wrong > > thanks Shane > > > Well at first glance I'd tend to say - nothing! Declaration of the array in your main module is doing exactly what it should. Creating an empty array (presumably of length MAX_BLOCKS). If you were expecting that you would have an array of length MAX_BLOCKS completely populated with some form of Block objects then this is not what you are going to get. Try (in the Main module) Public Blocks As New Block[MAX_BLOCKS] Public Sub Main() Dim idx as integer Dim hBlock as new Block For idx = 0 to MAX_BLOCKS-1 Blocks[idx] = hBlock Next etc Or have I misunderstood? hth Bruce -- B Bruen From buster6seven at ...626... Sun Jul 3 12:04:10 2016 From: buster6seven at ...626... (Shane) Date: Sun, 3 Jul 2016 20:04:10 +1000 Subject: [Gambas-user] array of classes In-Reply-To: <20160703190825.c2356662d25db3d573e32233@...626...> References: <5778CABF.5070008@...626...> <20160703190825.c2356662d25db3d573e32233@...626...> Message-ID: <5778E31A.5040106@...626...> thanks Bruce that was my problem i just fixed a little differant i used the add function thanks for your help Shane. On 03/07/16 19:38, adamnt42 at ...626... wrote: > On Sun, 3 Jul 2016 18:20:15 +1000 > Shane wrote: > >> I'm trying create a array of myClass but when i create it i have an >> array of null values >> >> i have my Rect.class >> >> Public x As Integer >> Public y As Integer >> Public width As Integer >> Public height As Integer >> >> >> then my Block.class >> >> Public Screenpos As New Rect >> Public Imagepos As New Rect >> Public num_hits As Integer >> >> and then in the main module i do >> >> Public Blocks As New Block[MAX_BLOCKS] >> >> and i get an array with Max_BLOCKS indexes on null values >> >> what am i doing wrong >> >> thanks Shane >> >> >> > Well at first glance I'd tend to say - nothing! > Declaration of the array in your main module is doing exactly what it should. Creating an empty array (presumably of length MAX_BLOCKS). > If you were expecting that you would have an array of length MAX_BLOCKS completely populated with some form of Block objects then this is not what you are going to get. > > Try (in the Main module) > Public Blocks As New Block[MAX_BLOCKS] > > Public Sub Main() > > Dim idx as integer > Dim hBlock as new Block > > For idx = 0 to MAX_BLOCKS-1 > Blocks[idx] = hBlock > Next > > etc > > > Or have I misunderstood? > > hth > Bruce > From buster6seven at ...626... Sun Jul 3 12:42:12 2016 From: buster6seven at ...626... (Shane) Date: Sun, 3 Jul 2016 20:42:12 +1000 Subject: [Gambas-user] array of classes In-Reply-To: <20160703190825.c2356662d25db3d573e32233@...626...> References: <5778CABF.5070008@...626...> <20160703190825.c2356662d25db3d573e32233@...626...> Message-ID: <5778EC04.1040903@...626...> FYI this will not work as is as i found out Public Sub Main() Dim idx as integer Dim hBlock as Block For idx = 0 to MAX_BLOCKS-1 hBlock = new Block Blocks[idx] = hBlock Next must be this way or in my case it did work as i was filling new values in the loop On 03/07/16 19:38, adamnt42 at ...626... wrote: > On Sun, 3 Jul 2016 18:20:15 +1000 > Shane wrote: > >> I'm trying create a array of myClass but when i create it i have an >> array of null values >> >> i have my Rect.class >> >> Public x As Integer >> Public y As Integer >> Public width As Integer >> Public height As Integer >> >> >> then my Block.class >> >> Public Screenpos As New Rect >> Public Imagepos As New Rect >> Public num_hits As Integer >> >> and then in the main module i do >> >> Public Blocks As New Block[MAX_BLOCKS] >> >> and i get an array with Max_BLOCKS indexes on null values >> >> what am i doing wrong >> >> thanks Shane >> >> >> > Well at first glance I'd tend to say - nothing! > Declaration of the array in your main module is doing exactly what it should. Creating an empty array (presumably of length MAX_BLOCKS). > If you were expecting that you would have an array of length MAX_BLOCKS completely populated with some form of Block objects then this is not what you are going to get. > > Try (in the Main module) > Public Blocks As New Block[MAX_BLOCKS] > > Public Sub Main() > > Dim idx as integer > Dim hBlock as new Block > > For idx = 0 to MAX_BLOCKS-1 > Blocks[idx] = hBlock > Next > > etc > > > Or have I misunderstood? > > hth > Bruce > From vuott at ...325... Sun Jul 3 17:26:56 2016 From: vuott at ...325... (Ru Vuott) Date: Sun, 3 Jul 2016 15:26:56 +0000 (UTC) Subject: [Gambas-user] Bug on ImageStat( ).Height ? References: <409561979.1804516.1467559616146.JavaMail.yahoo.ref@...3424...> Message-ID: <409561979.1804516.1467559616146.JavaMail.yahoo@...3424...> Hello, using ImageStat().Height with .JPG type images, it returns "always" the value: 4360. Regards vuott From bagonergi at ...626... Sun Jul 3 22:40:09 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 3 Jul 2016 22:40:09 +0200 Subject: [Gambas-user] Bug on ImageStat( ).Height ? In-Reply-To: <409561979.1804516.1467559616146.JavaMail.yahoo@...3424...> References: <409561979.1804516.1467559616146.JavaMail.yahoo.ref@...3424...> <409561979.1804516.1467559616146.JavaMail.yahoo@...3424...> Message-ID: I confirm the malfunction: Print ImageStat("Glub128.jpeg").Height = 4360 Print ImageStat("Glub128.jpeg").Width = 128 Regards Gianluigi 2016-07-03 17:26 GMT+02:00 Ru Vuott : > Hello, > > using ImageStat().Height with .JPG type images, it returns "always" the > value: 4360. > > Regards > > vuott > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Mon Jul 4 08:34:01 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 4 Jul 2016 16:04:01 +0930 Subject: [Gambas-user] Help! How to assign a theme to an editor control Message-ID: <20160704160401.e468546fec49743d8c2bba99@...626...> I am totally lost with this one :-( Given I have a custom IDE highlighting theme saved as a file in my home dir. Say "bb.gambas.theme". Now I want to apply that same highlighting scheme to an editor control in some gui project. How do I go about this? As I said - totally lost. tia Bruce -- B Bruen From bugtracker at ...3416... Tue Jul 5 15:41:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 05 Jul 2016 13:41:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #1 by Moviga TECHNOLOGIES: This applies to both my computers! From bugtracker at ...3416... Tue Jul 5 15:41:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 05 Jul 2016 13:41:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #2 by Moviga TECHNOLOGIES: (Running Arch) From nigelverity at ...67... Wed Jul 6 20:16:53 2016 From: nigelverity at ...67... (Nigel Verity) Date: Wed, 6 Jul 2016 19:16:53 +0100 Subject: [Gambas-user] ImageView Content Scaling Message-ID: Hi I need to display images on a form with some descriptive text. The form contains an imageview control sized at 400 x 300 px. The images it will display will be sized at 1600 x 1200, which is 4x the size of the imageview. I am loading the image using the following code: ======= Dim myImg as Image myImg = image.load("/path/to/image.jpg") imageView1.image = myImg ======= This displays the image full size within the control, with horizontal and vertical scroll bars. I would like to display the full image within the imageview control without any need to scroll e.g at 0.25 original size. Using imageView1.Zoomfit() reduces the image to a very small thumbnail - too small for my requirements. Is there any way to scale the image to a user-defined scale factor? Thanks Nige From matti.eber at ...3240... Wed Jul 6 20:37:51 2016 From: matti.eber at ...3240... (Matti) Date: Wed, 6 Jul 2016 20:37:51 +0200 Subject: [Gambas-user] ImageView Content Scaling In-Reply-To: References: Message-ID: <577D4FFF.5040707@...3240...> Hi Nigel, have you tried PictureBox instead of ImageView? Without digging deeper, I remember to have used PictureBoxes with no problem of zooming. Matti Am 06.07.2016 um 20:16 schrieb Nigel Verity: > Hi > > I need to display images on a form with some descriptive text. > > The form contains an imageview control sized at 400 x 300 px. The images it will display will be sized at 1600 x 1200, which is 4x the size of the imageview. > > I am loading the image using the following code: > > ======= > > Dim myImg as Image > > myImg = image.load("/path/to/image.jpg") > imageView1.image = myImg > > ======= > > This displays the image full size within the control, with horizontal and vertical scroll bars. > > I would like to display the full image within the imageview control without any need to scroll e.g at 0.25 original size. > > Using imageView1.Zoomfit() reduces the image to a very small thumbnail - too small for my requirements. > > Is there any way to scale the image to a user-defined scale factor? > > Thanks > > Nige > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Wed Jul 6 23:23:13 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 6 Jul 2016 23:23:13 +0200 Subject: [Gambas-user] ImageView Content Scaling In-Reply-To: <577D4FFF.5040707@...3240...> References: <577D4FFF.5040707@...3240...> Message-ID: imageView1.image = myImg.Stretch(ImageView1.W, ImageView1.H) Regards Gianluigi 2016-07-06 20:37 GMT+02:00 Matti : > Hi Nigel, > > have you tried PictureBox instead of ImageView? > Without digging deeper, I remember to have used PictureBoxes with no > problem of zooming. > > Matti > > Am 06.07.2016 um 20:16 schrieb Nigel Verity: > > Hi > > > > I need to display images on a form with some descriptive text. > > > > The form contains an imageview control sized at 400 x 300 px. The images > it will display will be sized at 1600 x 1200, which is 4x the size of the > imageview. > > > > I am loading the image using the following code: > > > > ======= > > > > Dim myImg as Image > > > > myImg = image.load("/path/to/image.jpg") > > imageView1.image = myImg > > > > ======= > > > > This displays the image full size within the control, with horizontal > and vertical scroll bars. > > > > I would like to display the full image within the imageview control > without any need to scroll e.g at 0.25 original size. > > > > Using imageView1.Zoomfit() reduces the image to a very small thumbnail - > too small for my requirements. > > > > Is there any way to scale the image to a user-defined scale factor? > > > > Thanks > > > > Nige > > > ------------------------------------------------------------------------------ > > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > > present their vision of the future. This family event has something for > > everyone, including kids. Get more information and register today. > > http://sdm.link/attshape > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Jul 7 15:57:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 13:57:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #3 by Beno?t MINISINI: I can't reproduce the bug. Please provide a project! Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Thu Jul 7 15:58:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 13:58:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #3 by Beno?t MINISINI: Please provide your system information. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Thu Jul 7 15:59:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 13:59:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #4 by Moviga TECHNOLOGIES: [System] Gambas=3.8.90 r7656 OperatingSystem=Linux Kernel=4.6.3-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.2000.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.59.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb:nn LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/642,unix/:/tmp/.ICE-unix/642 SHELL=/usr/bin/fish SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Thu Jul 7 16:00:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 14:00:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #5 by Beno?t MINISINI: ...and the entire output of configuration && compilation process. From bugtracker at ...3416... Thu Jul 7 17:33:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 15:33:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #6 by Moviga TECHNOLOGIES: Where did the file attachment button go? From bugtracker at ...3416... Thu Jul 7 17:34:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 15:34:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Moviga TECHNOLOGIES added an attachment: GambasCompileOutput.txt From bugtracker at ...3416... Thu Jul 7 17:34:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 15:34:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #7 by Moviga TECHNOLOGIES: OK, after replying it re-appeared :) From bugtracker at ...3416... Thu Jul 7 20:54:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 18:54:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #4 by Charlie REINL: here the gdb output Program received signal SIGSEGV, Segmentation fault. 0x00612690 in QWidget::mapFromGlobal(QPoint const&) const () from /usr/lib/i386-linux-gnu/libQtGui.so.4 (gdb) bt #0 0x00612690 in QWidget::mapFromGlobal(QPoint const&) const () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #1 0x00397a48 in post_check_hovered (toplevel=142124644) at CWidget.cpp:510 #2 0x0805155b in EVENT_check_post () at gbx_event.c:246 #3 0x003904aa in MyPostCheck::check (this=0x3e4644 ) at main.cpp:1538 #4 0x0038ea18 in MyPostCheck::qt_static_metacall ( _o=0x3e4644 , _id=0, _a=, _c=) at main_moc.cpp:48 #5 0x010768aa in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #6 0x0107e6fb in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #7 0x005717f4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #8 0x005782d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #9 0x01064e4a in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #10 0x0106870d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #11 0x01097f23 in QEventDispatcherUNIX::processEvents(QFlags) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 ---Type to continue, or q to quit--- #12 0x0062709b in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #13 0x01063823 in QEventLoop::processEvents(QFlags) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #14 0x01063b49 in QEventLoop::exec(QFlags) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #15 0x0039d440 in MyMainWindow::showModal (this=0x8519f68) at CWindow.cpp:1835 #16 0x0039d4f3 in Window_ShowModal (_object=0x86f370c, _param=0xb74a00b0) at CWindow.cpp:711 #17 0x080784d7 in EXEC_native_quick () at gbx_exec.c:1211 #18 0x080793a1 in EXEC_native_check (defined=1 '\001') at gbx_exec.c:1161 #19 0x08082f48 in EXEC_loop () at gbx_exec_loop.c:1159 #20 0x08077d31 in EXEC_function_loop () at gbx_exec.c:931 #21 0x0807840f in EXEC_function_real () at gbx_exec.c:895 #22 0x08079865 in EXEC_public_desc (class=0x82e88ec, object=0x82fb61c, desc=0x82eae54, nparam=0) at gbx_exec.c:1609 #23 0x0805eb27 in raise_event (observer=observer at ...2861...=0x82fb61c, object=object at ...2861...=0x86ddbf4, func_id=194, func_id at ...3605.....=195, nparam=0) at gbx_api.c:900 #24 0x08060622 in GB_Raise (object=0x86ddbf4, event_id=24, nparam=0) at gbx_api.c:1034 #25 0x08082e30 in EXEC_loop () at gbx_exec_loop.c:1166 #26 0x08077d31 in EXEC_function_loop () at gbx_exec.c:931 #27 0x0807840f in EXEC_function_real () at gbx_exec.c:895 ---Type to continue, or q to quit--- #28 0x08079865 in EXEC_public_desc (class=0x82fa124, object=0x86ddbf4, desc=0x81049c4, nparam=0) at gbx_exec.c:1609 #29 0x0805eb27 in raise_event (observer=observer at ...2861...=0x86ddbf4, object=object at ...2861...=0x8651d64, func_id=200, func_id at ...3605.....=201, nparam=0) at gbx_api.c:900 #30 0x08060622 in GB_Raise (object=0x8651d64, event_id=11, nparam=0) at gbx_api.c:1034 #31 0x0039841f in CWidget::eventFilter (this=0x3e470c , widget=0x86f61d0, event=0xbfffeb24) at CWidget.cpp:2719 #32 0x01064f1b in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #33 0x0057177e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #34 0x00579ea0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #35 0x01064e4a in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #36 0x00577b53 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #37 0x005fb7a8 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #38 0x005faef5 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4 ---Type to continue, or q to quit--- #39 0x00627025 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #40 0x01063823 in QEventLoop::processEvents(QFlags) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #41 0x01063b49 in QEventLoop::exec(QFlags) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #42 0x010698fe in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4 #43 0x0056fa24 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4 #44 0x0038fd4f in hook_loop () at main.cpp:1065 #45 0x0804b6e3 in main (argc=1, argv=0xbffff184) at gbx.c:434 From bugtracker at ...3416... Thu Jul 7 21:04:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 19:04:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #5 by Charlie REINL: with valgrind --tool=memcheck --leak-check=full --num-callers=50 gbx3 > valgrind.out 2>&1 it don't crash using for test gdb and valgrind Gambas=3.8.90 r7807 From bugtracker at ...3416... Thu Jul 7 23:59:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 21:59:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Comment #6 by gbWilly GAMBOS: Seems the Debian packages have solved the issue by making QT5 the preffered dependency for the ide. So, I'll close the issue. From bugtracker at ...3416... Fri Jul 8 00:03:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 22:03:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Comment #7 by gbWilly GAMBOS: I can't close, so please someone who can, close this issue. Thanks From bugtracker at ...3416... Fri Jul 8 00:09:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 07 Jul 2016 22:09:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4- Tobias BOEGE changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Jul 8 11:04:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 09:04:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #962: Listbox not change Foreground Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.962&from=L21haW4- Michele V reported a new bug. Summary ------- Listbox not change Foreground Type : Bug Priority : Medium Gambas version : 3.8 Product : QT4 component Description ----------- try with Ubuntu mate 16.04 xubuntu 14.04 gambas 3.8.4 by ppa control ListBox not change color of Foreground ListBox1.Foreground=Color.Red color remains black From roel at ...3306... Fri Jul 8 11:41:28 2016 From: roel at ...3306... (Roel Touwen) Date: Fri, 8 Jul 2016 11:41:28 +0200 Subject: [Gambas-user] Gambas on OSX Message-ID: Hi All, Browsing on the internet I found someone who already in 2011 succeeded in porting Gambas to OSX. Is there already a working Gambas available for OSX? It would be fantastic! Thanks Roel Touwen From bugtracker at ...3416... Fri Jul 8 14:16:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 12:16:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Michele V changed the state of the bug to: Opened. From bugtracker at ...3416... Fri Jul 8 17:37:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 15:37:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #962: Listbox not change Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.962&from=L21haW4- Comment #1 by Ali MUFEED: Same thing here and also with TextArea. Might be GTK+3's issue. So far, developing for QT is a breeze while GTK+ gives me a headache. From bugtracker at ...3416... Fri Jul 8 17:44:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 15:44:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #962: Listbox not change Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.962&from=L21haW4- Comment #2 by Beno?t MINISINI: As for ListBox, this is not a GTK+ bug, but a Gambas one. As for TextArea, this is different: you should open another issue. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Jul 8 17:56:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 15:56:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Ali MUFEED reported a new bug. Summary ------- TextArea Foreground Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : GTK+3 component Description ----------- Hi, I have a project (Define) in which I tried to add a font color feature through the Foreground option. The textbox's foreground worked but not the TextArea's. I will soon upload the project as an attachment. Thanks System information ------------------ [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86_64 Distribution=Ubuntu 16.04 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=3919M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.801.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-JThh0zFv9S DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=19885 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=ibus QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1319 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Fri Jul 8 18:10:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 16:10:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #962: Listbox not change Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.962&from=L21haW4- Comment #3 by Beno?t MINISINI: Fixed in revision #7812. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Jul 8 18:10:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 16:10:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Jul 8 18:27:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 08 Jul 2016 16:27:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Ali MUFEED added an attachment: define-3.9.14.tar.gz From author.ilmi at ...626... Sat Jul 9 00:54:46 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 9 Jul 2016 05:54:46 +0700 Subject: [Gambas-user] Bug on ImageStat( ).Height ? In-Reply-To: <409561979.1804516.1467559616146.JavaMail.yahoo@...3424...> References: <409561979.1804516.1467559616146.JavaMail.yahoo.ref@...3424...> <409561979.1804516.1467559616146.JavaMail.yahoo@...3424...> Message-ID: Maybe you can report it in gambas bugtracker. I have the same issue on my system Regards On Sun, Jul 3, 2016 at 10:26 PM, Ru Vuott wrote: > Hello, > > using ImageStat().Height with .JPG type images, it returns "always" the > value: 4360. > > Regards > > vuott > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From author.ilmi at ...626... Sat Jul 9 01:16:47 2016 From: author.ilmi at ...626... (zainudin ahmad) Date: Sat, 9 Jul 2016 06:16:47 +0700 Subject: [Gambas-user] Is this a bug In-Reply-To: <1467310758090-56630.post@...3046...> References: <1467310758090-56630.post@...3046...> Message-ID: Hi Charlie I have the same issue on my system I think it is a bug. [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.801.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-eqRyr7ysAq,guid=32878d1a5b041c9210a5e73b57802a13 DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GDM_LANG=en_US HOME= LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=950 SSH_AUTH_SOCK=/tmp/ssh-BAr21GUri4lr/agent.903 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share/Lubuntu:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxde- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=Lubuntu XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _LXSESSION_PID=903 On Fri, Jul 1, 2016 at 1:19 AM, Charlie wrote: > I have tried this using gb.gui/gb.gtk3/gb.qt4 and it fails, is this a bug? > Public Sub Button1_Click() > SpinBox1.Enabled = False 'O.K. > SpinBar1.Enabled = False 'Doesn't work > End > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Is-this-a-bug-tp56630.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ilustrisimo.sr.duque at ...626... Sat Jul 9 10:41:45 2016 From: ilustrisimo.sr.duque at ...626... (juan duque) Date: Sat, 9 Jul 2016 09:41:45 +0100 Subject: [Gambas-user] Image smoothing Message-ID: Obviously my English is somewhat lacking. Apologies. I think this is not a bug but rather a design with some shortcomings. Smoothing (or interpolation) of an image is often convenient but not desirable in all cases. Attached a sample program (this would be a magnifying glass). Is there any way of disable smoothing in the image/paint/draw component? Regards [Component] gb.gui [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.6.0-1-amd64 Architecture=x86_64 Distribution=debian stretch/sid Desktop=KDE5 Theme=Breeze Language=es_ES.UTF-8 Memory=2003M [Libraries] Cairo=libcairo.so.2.11400.6 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.2000.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.61.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.6.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FCrJu0dWI4,guid=17adfd9a793c7c66824227df5780a4fe DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=es_ES.UTF-8 LANGUAGE=es LOGNAME= MATHEMATICA_HOME=/media/rescue/local/Wolfram/Mathematica/9.0 PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/2966,unix/:/tmp/.ICE-unix/2966 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2905 SSH_AUTH_SOCK=/tmp/ssh-h8t4f8SuNyh2/agent.2851 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=4 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 -------------- next part -------------- A non-text attachment was scrubbed... Name: zoom-bad.tar.bz2 Type: application/x-bzip2 Size: 14482 bytes Desc: not available URL: From gambas at ...1... Sun Jul 10 04:15:15 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 10 Jul 2016 04:15:15 +0200 Subject: [Gambas-user] Bug on ImageStat( ).Height ? In-Reply-To: <409561979.1804516.1467559616146.JavaMail.yahoo@...3424...> References: <409561979.1804516.1467559616146.JavaMail.yahoo.ref@...3424...> <409561979.1804516.1467559616146.JavaMail.yahoo@...3424...> Message-ID: <5781AFB3.3090408@...1...> Le 03/07/2016 17:26, Ru Vuott a ?crit : > Hello, > > using ImageStat().Height with .JPG type images, it returns "always" the value: 4360. > > Regards > > vuott > . > Fixed in revision #7813. Regards, -- Beno?t Minisini From gambas at ...1... Sun Jul 10 18:47:09 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 10 Jul 2016 18:47:09 +0200 Subject: [Gambas-user] Is this a bug In-Reply-To: <1467310758090-56630.post@...3046...> References: <1467310758090-56630.post@...3046...> Message-ID: <57827C0D.1030807@...1...> Le 30/06/2016 20:19, Charlie a ?crit : > I have tried this using gb.gui/gb.gtk3/gb.qt4 and it fails, is this a bug? > Public Sub Button1_Click() > SpinBox1.Enabled = False 'O.K. > SpinBar1.Enabled = False 'Doesn't work > End > Fixed in revision #7814 (with other problems). Regards, -- Beno?t Minisini From bugtracker at ...3416... Sun Jul 10 20:12:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jul 2016 18:12:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #928: Would it be possible to be admitted declare when going to be used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.928&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sun Jul 10 20:12:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jul 2016 18:12:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #927: Variable Declaration declaration when used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.927&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Duplicate. From roel at ...3306... Mon Jul 11 08:13:13 2016 From: roel at ...3306... (Roel Touwen) Date: Mon, 11 Jul 2016 08:13:13 +0200 Subject: [Gambas-user] Gambas on OSX In-Reply-To: References: Message-ID: Anybody? Op 08-07-16 om 11:41 schreef Roel Touwen: > Hi All, > > Browsing on the internet I found someone who already in 2011 succeeded > in porting Gambas to OSX. > > Is there already a working Gambas available for OSX? It would be fantastic! > > Thanks > > Roel Touwen > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ualex73 at ...626... Mon Jul 11 10:33:18 2016 From: ualex73 at ...626... (Alexie) Date: Mon, 11 Jul 2016 10:33:18 +0200 Subject: [Gambas-user] Gambas on OSX In-Reply-To: References: Message-ID: I don't think there is a dmg to be downloaded, but did you try yourself to compile Gambas with XCode? 2016-07-11 8:13 GMT+02:00 Roel Touwen : > Anybody? > > > Op 08-07-16 om 11:41 schreef Roel Touwen: > > Hi All, > > > > Browsing on the internet I found someone who already in 2011 succeeded > > in porting Gambas to OSX. > > > > Is there already a working Gambas available for OSX? It would be > fantastic! > > > > Thanks > > > > Roel Touwen > > > > > > > > > ------------------------------------------------------------------------------ > > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > > present their vision of the future. This family event has something for > > everyone, including kids. Get more information and register today. > > http://sdm.link/attshape > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From roel at ...3306... Mon Jul 11 10:43:02 2016 From: roel at ...3306... (Roel Touwen) Date: Mon, 11 Jul 2016 10:43:02 +0200 Subject: [Gambas-user] Gambas on OSX In-Reply-To: References: Message-ID: <00683d78-61be-915a-f5c3-b05b9c01e1d9@...3306...> Sorry I'm not familiar with XCode. In the end I want to run the software on more than one osx machine. So without much hassle on every machine. Op 11-07-16 om 10:33 schreef Alexie: I don't think there is a dmg to be downloaded, but did you try yourself to compile Gambas with XCode? 2016-07-11 8:13 GMT+02:00 Roel Touwen [1]: Anybody? Op 08-07-16 om 11:41 schreef Roel Touwen: Hi All, Browsing on the internet I found someone who already in 2011 succeeded in porting Gambas to OSX. Is there already a working Gambas available for OSX? It would be fantastic! Thanks Roel Touwen ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. [2]http://sdm.link/attshape _______________________________________________ Gambas-user mailing list [3]Gambas-user at lists.sourceforge.net [4]https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. [5]http://sdm.link/attshape _______________________________________________ Gambas-user mailing list [6]Gambas-user at lists.sourceforge.net [7]https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. [8]http://sdm.link/attshape _______________________________________________ Gambas-user mailing list [9]Gambas-user at lists.sourceforge.net [10]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. mailto:roel at ...3306... 2. http://sdm.link/attshape 3. mailto:Gambas-user at lists.sourceforge.net 4. https://lists.sourceforge.net/lists/listinfo/gambas-user 5. http://sdm.link/attshape 6. mailto:Gambas-user at lists.sourceforge.net 7. https://lists.sourceforge.net/lists/listinfo/gambas-user 8. http://sdm.link/attshape 9. mailto:Gambas-user at lists.sourceforge.net 10. https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Mon Jul 11 17:47:09 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 11 Jul 2016 17:47:09 +0200 Subject: [Gambas-user] Warning on Form Close Message-ID: I have not noticed since going on but now if we write Public Sub Form_C and let complete the event procedure Close by the compiler we get this: Public Sub Form_Close() As Boolean ... End I thought necessary to understand where I close the window, but if I leave as written by Gambas I can not start the application and I get this warning to the stack: Bad event handler in FMain.Form_Close():Not a procedure Do you know something about it? Regards Gianluigi From gambas at ...1... Mon Jul 11 17:58:37 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 11 Jul 2016 17:58:37 +0200 Subject: [Gambas-user] Warning on Form Close In-Reply-To: References: Message-ID: <5783C22D.8040704@...1...> Le 11/07/2016 17:47, Gianluigi a ?crit : > I have not noticed since going on but now if we write Public Sub Form_C and > let complete the event procedure Close by the compiler we get this: > > Public Sub Form_Close() As Boolean > ... > End > > I thought necessary to understand where I close the window, but if I leave > as written by Gambas I can not start the application and I get this warning > to the stack: > > Bad event handler in FMain.Form_Close():Not a procedure > > Do you know something about it? > > Regards > Gianluigi It's a bug in the event declaration. In the past (Gambas 1), event handlers could return something. -- Beno?t Minisini From gambas at ...1... Mon Jul 11 18:14:34 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 11 Jul 2016 18:14:34 +0200 Subject: [Gambas-user] Warning on Form Close In-Reply-To: <5783C22D.8040704@...1...> References: <5783C22D.8040704@...1...> Message-ID: <5783C5EA.1000508@...1...> Le 11/07/2016 17:58, Beno?t Minisini a ?crit : > Le 11/07/2016 17:47, Gianluigi a ?crit : >> I have not noticed since going on but now if we write Public Sub >> Form_C and >> let complete the event procedure Close by the compiler we get this: >> >> Public Sub Form_Close() As Boolean >> ... >> End >> >> I thought necessary to understand where I close the window, but if I >> leave >> as written by Gambas I can not start the application and I get this >> warning >> to the stack: >> >> Bad event handler in FMain.Form_Close():Not a procedure >> >> Do you know something about it? >> >> Regards >> Gianluigi > > It's a bug in the event declaration. In the past (Gambas 1), event > handlers could return something. > Fixed in revision #7815. Regards, -- Beno?t Minisini From bagonergi at ...626... Mon Jul 11 19:16:54 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 11 Jul 2016 19:16:54 +0200 Subject: [Gambas-user] Warning on Form Close In-Reply-To: <5783C5EA.1000508@...1...> References: <5783C22D.8040704@...1...> <5783C5EA.1000508@...1...> Message-ID: Thank you Regards Gianluigi 2016-07-11 18:14 GMT+02:00 Beno?t Minisini : > Le 11/07/2016 17:58, Beno?t Minisini a ?crit : > > Le 11/07/2016 17:47, Gianluigi a ?crit : > >> I have not noticed since going on but now if we write Public Sub > >> Form_C and > >> let complete the event procedure Close by the compiler we get this: > >> > >> Public Sub Form_Close() As Boolean > >> ... > >> End > >> > >> I thought necessary to understand where I close the window, but if I > >> leave > >> as written by Gambas I can not start the application and I get this > >> warning > >> to the stack: > >> > >> Bad event handler in FMain.Form_Close():Not a procedure > >> > >> Do you know something about it? > >> > >> Regards > >> Gianluigi > > > > It's a bug in the event declaration. In the past (Gambas 1), event > > handlers could return something. > > > > Fixed in revision #7815. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Tue Jul 12 15:43:44 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 12 Jul 2016 15:43:44 +0200 Subject: [Gambas-user] Image smoothing In-Reply-To: References: Message-ID: Yes Paint.Antialias = False or Draw.Antialias = False http://gambaswiki.org/wiki/comp/gb.qt4/paint/antialias 2016-07-09 10:41 GMT+02:00 juan duque : > Obviously my English is somewhat lacking. Apologies. > > I think this is not a bug but rather a design with some shortcomings. > > Smoothing (or interpolation) of an image is often convenient but not > desirable in all cases. > Attached a sample program (this would be a magnifying glass). > > Is there any way of disable smoothing in the image/paint/draw component? > > Regards > > [Component] > gb.gui > > [System] > Gambas=3.8.4 > OperatingSystem=Linux > Kernel=4.6.0-1-amd64 > Architecture=x86_64 > Distribution=debian stretch/sid > Desktop=KDE5 > Theme=Breeze > Language=es_ES.UTF-8 > Memory=2003M > > [Libraries] > Cairo=libcairo.so.2.11400.6 > DBus=libdbus-1.so.3.14.6 > GStreamer=libgstreamer-1.0.so.0.802.0 > GTK+2=libgtk-x11-2.0.so.0.2400.30 > GTK+3=libgtk-3.so.0.2000.6 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.61.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.6.1 > SDL=libSDL-1.2.so.0.11.4 > > [Environment] > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FCrJu0dWI4,guid=17adfd9a793c7c66824227df5780a4fe > DESKTOP_SESSION=/usr/share/xsessions/plasma > DISPLAY=:0 > GB_GUI=gb.qt5 > GS_LIB=/.fonts > GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 > GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc > HOME= > KDE_FULL_SESSION=true > KDE_MULTIHEAD=false > KDE_SESSION_UID=1000 > KDE_SESSION_VERSION=5 > LANG=es_ES.UTF-8 > LANGUAGE=es > LOGNAME= > MATHEMATICA_HOME=/media/rescue/local/Wolfram/Mathematica/9.0 > PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket > PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > PWD= > QT_ACCESSIBILITY=1 > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > QT_NO_GLIB=1 > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2966,unix/:/tmp/.ICE-unix/2966 > SHELL=/bin/bash > SHLVL=0 > SSH_AGENT_PID=2905 > SSH_AUTH_SOCK=/tmp/ssh-h8t4f8SuNyh2/agent.2851 > TZ=:/etc/localtime > USER= > XAUTHORITY=/tmp/xauth-1000-_0 > XCURSOR_SIZE=0 > XCURSOR_THEME=breeze_cursors > XDG_CURRENT_DESKTOP=KDE > XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_CLASS=user > XDG_SESSION_DESKTOP=KDE > XDG_SESSION_ID=4 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 > XDG_SESSION_TYPE=x11 > XDG_VTNR=7 > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bugtracker at ...3416... Tue Jul 12 15:46:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 12 Jul 2016 13:46:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #8 by Fabien BODARD: I have the same issue here on arch From bugtracker at ...3416... Tue Jul 12 17:07:54 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 12 Jul 2016 15:07:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #955: Glade Import In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.955&from=L21haW4- Comment #1 by Fabien BODARD: I'm not sure Glade ui format will be enougth close to the gambas one. There is a large amount of differences From bugtracker at ...3416... Tue Jul 12 17:13:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 12 Jul 2016 15:13:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #922: Clase PreguntaView In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.922&from=L21haW4- Comment #2 by Fabien BODARD: This is not the place for that kind of request... Try the mailing list or forums Fabien BODARD changed the state of the bug to: Rejected. From bugtracker at ...3416... Tue Jul 12 21:15:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 12 Jul 2016 19:15:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #955: Glade Import In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.955&from=L21haW4- Comment #2 by Ali MUFEED: Yea. Thought so too. So i ended up rebuilding everything in Gambas itself. Ali MUFEED changed the state of the bug to: Invalid. From bugtracker at ...3416... Tue Jul 12 21:19:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 12 Jul 2016 19:19:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #964: ColorChooser +- buttons Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.964&from=L21haW4- Ali MUFEED reported a new bug. Summary ------- ColorChooser +- buttons Type : Bug Priority : Medium Gambas version : Unknown Product : GTK+3 component Description ----------- Hi, ColorChooser has an issue in Gtk+3. The RGB numbers area is too small. So, the plus and minus buttons become a mess. This is only during runtime. Thanks. From tercoide at ...67... Wed Jul 13 05:37:08 2016 From: tercoide at ...67... (martin p cristia) Date: Wed, 13 Jul 2016 00:37:08 -0300 Subject: [Gambas-user] Grid with spreadsheet behaviour In-Reply-To: References: Message-ID: Hi, just wondering if someone has it and want to share the code. -- Saludos Ing. Martin P Cristia From ilustrisimo.sr.duque at ...626... Wed Jul 13 20:06:51 2016 From: ilustrisimo.sr.duque at ...626... (juan duque) Date: Wed, 13 Jul 2016 19:06:51 +0100 Subject: [Gambas-user] Image smoothing In-Reply-To: References: Message-ID: Thanks for the reply. Have you tested with the attachment? The Paint.Antialias = False has no effect, at least on my system: the obtained image remains smoothened. Public Sub Button2_Click() Dim hPic As Picture hPic = New Picture(256, 256) If (RadioButton1.Value) Then Paint.Begin(hPic) Paint.AntiAlias = False Paint.DrawPicture(PictureBox3.Picture, 0, 0, 256, 256) Paint.Stroke Paint.End() Else Draw.Begin(hPic) ' Draw.Antialias = False ==> unknow symbol Antialias in clas Draw Draw.Picture(PictureBox3.Picture, 0, 0, 256, 256) Draw.End() End If PictureBox2.Picture = hPic End Can you confirm that you see correctly? Regards 2016-07-12 14:43 GMT+01:00, Fabien Bodard : > Yes Paint.Antialias = False > > or Draw.Antialias = False > > http://gambaswiki.org/wiki/comp/gb.qt4/paint/antialias > > 2016-07-09 10:41 GMT+02:00 juan duque : >> Obviously my English is somewhat lacking. Apologies. >> >> I think this is not a bug but rather a design with some shortcomings. >> >> Smoothing (or interpolation) of an image is often convenient but not >> desirable in all cases. >> Attached a sample program (this would be a magnifying glass). >> >> Is there any way of disable smoothing in the image/paint/draw component? >> >> Regards >> >> [Component] >> gb.gui >> >> [System] >> Gambas=3.8.4 >> OperatingSystem=Linux >> Kernel=4.6.0-1-amd64 >> Architecture=x86_64 >> Distribution=debian stretch/sid >> Desktop=KDE5 >> Theme=Breeze >> Language=es_ES.UTF-8 >> Memory=2003M >> >> [Libraries] >> Cairo=libcairo.so.2.11400.6 >> DBus=libdbus-1.so.3.14.6 >> GStreamer=libgstreamer-1.0.so.0.802.0 >> GTK+2=libgtk-x11-2.0.so.0.2400.30 >> GTK+3=libgtk-3.so.0.2000.6 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.61.0.0 >> QT4=libQtCore.so.4.8.7 >> QT5=libQt5Core.so.5.6.1 >> SDL=libSDL-1.2.so.0.11.4 >> >> [Environment] >> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FCrJu0dWI4,guid=17adfd9a793c7c66824227df5780a4fe >> DESKTOP_SESSION=/usr/share/xsessions/plasma >> DISPLAY=:0 >> GB_GUI=gb.qt5 >> GS_LIB=/.fonts >> GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 >> GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc >> HOME= >> KDE_FULL_SESSION=true >> KDE_MULTIHEAD=false >> KDE_SESSION_UID=1000 >> KDE_SESSION_VERSION=5 >> LANG=es_ES.UTF-8 >> LANGUAGE=es >> LOGNAME= >> MATHEMATICA_HOME=/media/rescue/local/Wolfram/Mathematica/9.0 >> PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket >> PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games >> PWD= >> QT_ACCESSIBILITY=1 >> QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 >> QT_NO_GLIB=1 >> SESSION_MANAGER=local/:@/tmp/.ICE-unix/2966,unix/:/tmp/.ICE-unix/2966 >> SHELL=/bin/bash >> SHLVL=0 >> SSH_AGENT_PID=2905 >> SSH_AUTH_SOCK=/tmp/ssh-h8t4f8SuNyh2/agent.2851 >> TZ=:/etc/localtime >> USER= >> XAUTHORITY=/tmp/xauth-1000-_0 >> XCURSOR_SIZE=0 >> XCURSOR_THEME=breeze_cursors >> XDG_CURRENT_DESKTOP=KDE >> XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share >> XDG_RUNTIME_DIR=/run/user/1000 >> XDG_SEAT=seat0 >> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 >> XDG_SESSION_CLASS=user >> XDG_SESSION_DESKTOP=KDE >> XDG_SESSION_ID=4 >> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 >> XDG_SESSION_TYPE=x11 >> XDG_VTNR=7 >> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Wed Jul 13 20:24:19 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 13 Jul 2016 20:24:19 +0200 Subject: [Gambas-user] Image smoothing In-Reply-To: References: Message-ID: I see exactly as you see it, and to my knowledge Paint has antialiasing, Draw not. Regards Gianluigi 2016-07-13 20:06 GMT+02:00 juan duque : > Thanks for the reply. > > Have you tested with the attachment? The Paint.Antialias = False has > no effect, at least on my system: the obtained image remains > smoothened. > > Public Sub Button2_Click() > > Dim hPic As Picture > > hPic = New Picture(256, 256) > If (RadioButton1.Value) Then > Paint.Begin(hPic) > Paint.AntiAlias = False > Paint.DrawPicture(PictureBox3.Picture, 0, 0, 256, 256) > Paint.Stroke > Paint.End() > Else > Draw.Begin(hPic) > ' Draw.Antialias = False ==> unknow symbol Antialias in clas Draw > Draw.Picture(PictureBox3.Picture, 0, 0, 256, 256) > Draw.End() > End If > PictureBox2.Picture = hPic > > End > > Can you confirm that you see correctly? > > Regards > > > 2016-07-12 14:43 GMT+01:00, Fabien Bodard : > > Yes Paint.Antialias = False > > > > or Draw.Antialias = False > > > > http://gambaswiki.org/wiki/comp/gb.qt4/paint/antialias > > > > 2016-07-09 10:41 GMT+02:00 juan duque : > >> Obviously my English is somewhat lacking. Apologies. > >> > >> I think this is not a bug but rather a design with some shortcomings. > >> > >> Smoothing (or interpolation) of an image is often convenient but not > >> desirable in all cases. > >> Attached a sample program (this would be a magnifying glass). > >> > >> Is there any way of disable smoothing in the image/paint/draw component? > >> > >> Regards > >> > >> [Component] > >> gb.gui > >> > >> [System] > >> Gambas=3.8.4 > >> OperatingSystem=Linux > >> Kernel=4.6.0-1-amd64 > >> Architecture=x86_64 > >> Distribution=debian stretch/sid > >> Desktop=KDE5 > >> Theme=Breeze > >> Language=es_ES.UTF-8 > >> Memory=2003M > >> > >> [Libraries] > >> Cairo=libcairo.so.2.11400.6 > >> DBus=libdbus-1.so.3.14.6 > >> GStreamer=libgstreamer-1.0.so.0.802.0 > >> GTK+2=libgtk-x11-2.0.so.0.2400.30 > >> GTK+3=libgtk-3.so.0.2000.6 > >> OpenGL=libGL.so.1.2.0 > >> Poppler=libpoppler.so.61.0.0 > >> QT4=libQtCore.so.4.8.7 > >> QT5=libQt5Core.so.5.6.1 > >> SDL=libSDL-1.2.so.0.11.4 > >> > >> [Environment] > >> > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FCrJu0dWI4,guid=17adfd9a793c7c66824227df5780a4fe > >> DESKTOP_SESSION=/usr/share/xsessions/plasma > >> DISPLAY=:0 > >> GB_GUI=gb.qt5 > >> GS_LIB=/.fonts > >> > GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 > >> GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc > >> HOME= > >> KDE_FULL_SESSION=true > >> KDE_MULTIHEAD=false > >> KDE_SESSION_UID=1000 > >> KDE_SESSION_VERSION=5 > >> LANG=es_ES.UTF-8 > >> LANGUAGE=es > >> LOGNAME= > >> MATHEMATICA_HOME=/media/rescue/local/Wolfram/Mathematica/9.0 > >> PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket > >> PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games > >> PWD= > >> QT_ACCESSIBILITY=1 > >> QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > >> QT_NO_GLIB=1 > >> > SESSION_MANAGER=local/:@/tmp/.ICE-unix/2966,unix/:/tmp/.ICE-unix/2966 > >> SHELL=/bin/bash > >> SHLVL=0 > >> SSH_AGENT_PID=2905 > >> SSH_AUTH_SOCK=/tmp/ssh-h8t4f8SuNyh2/agent.2851 > >> TZ=:/etc/localtime > >> USER= > >> XAUTHORITY=/tmp/xauth-1000-_0 > >> XCURSOR_SIZE=0 > >> XCURSOR_THEME=breeze_cursors > >> XDG_CURRENT_DESKTOP=KDE > >> XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share > >> XDG_RUNTIME_DIR=/run/user/1000 > >> XDG_SEAT=seat0 > >> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > >> XDG_SESSION_CLASS=user > >> XDG_SESSION_DESKTOP=KDE > >> XDG_SESSION_ID=4 > >> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 > >> XDG_SESSION_TYPE=x11 > >> XDG_VTNR=7 > >> > >> > ------------------------------------------------------------------------------ > >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries > >> present their vision of the future. This family event has something for > >> everyone, including kids. Get more information and register today. > >> http://sdm.link/attshape > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > > > > -- > > Fabien Bodard > > > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > are > > > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > > planning > > reports.http://sdm.link/zohodev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From iam at ...3607... Thu Jul 14 02:28:36 2016 From: iam at ...3607... (Juan Francisco Cantero Hurtado) Date: Thu, 14 Jul 2016 02:28:36 +0200 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? Message-ID: Hi. In the page http://gambaswiki.org/wiki/howto/package , you give some indications to the packagers. You want one package per component. That's okay but I don't understand why are you bundling every component in one "big" tarball without a configure script. You could create individual tarballs with the configure script generated. That would make quite easy to comply with your wishes. Some packaging tools make pretty hard to split big tarballs in small packages. Specially during the update to a new version. Am I missing something? :) From gambas at ...1... Thu Jul 14 04:06:18 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 14 Jul 2016 04:06:18 +0200 Subject: [Gambas-user] Image smoothing In-Reply-To: References: Message-ID: <5786F39A.6040706@...1...> Le 09/07/2016 10:41, juan duque a ?crit : > Obviously my English is somewhat lacking. Apologies. > > I think this is not a bug but rather a design with some shortcomings. > > Smoothing (or interpolation) of an image is often convenient but not > desirable in all cases. > Attached a sample program (this would be a magnifying glass). > > Is there any way of disable smoothing in the image/paint/draw component? > Use Paint.Antialias = False with Paint.DrawImage(). Or you can use the Paint.ZoomImage() method. Regards, -- Beno?t Minisini From ilustrisimo.sr.duque at ...626... Thu Jul 14 09:37:03 2016 From: ilustrisimo.sr.duque at ...626... (juan duque) Date: Thu, 14 Jul 2016 08:37:03 +0100 Subject: [Gambas-user] Image smoothing In-Reply-To: <5786F39A.6040706@...1...> References: <5786F39A.6040706@...1...> Message-ID: Thanks Gianluigi, Benoit, Paint.ZoomImage and Draw.Zoom does the work as expected, regards 2016-07-14 3:06 GMT+01:00, Beno?t Minisini : > Le 09/07/2016 10:41, juan duque a ?crit : >> Obviously my English is somewhat lacking. Apologies. >> >> I think this is not a bug but rather a design with some shortcomings. >> >> Smoothing (or interpolation) of an image is often convenient but not >> desirable in all cases. >> Attached a sample program (this would be a magnifying glass). >> >> Is there any way of disable smoothing in the image/paint/draw component? >> > > Use Paint.Antialias = False with Paint.DrawImage(). > > Or you can use the Paint.ZoomImage() method. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Jul 14 21:42:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 14 Jul 2016 19:42:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #964: ColorChooser +- buttons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.964&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Jul 14 21:42:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 14 Jul 2016 19:42:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #964: ColorChooser +- buttons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.964&from=L21haW4- Comment #1 by Beno?t MINISINI: It should be better (but not perfect) with revision #7817. Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Thu Jul 14 21:44:45 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 14 Jul 2016 21:44:45 +0200 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: References: Message-ID: <5787EBAD.1080003@...1...> Le 14/07/2016 02:28, Juan Francisco Cantero Hurtado a ?crit : > Hi. In the page http://gambaswiki.org/wiki/howto/package , you give some > indications to the packagers. You want one package per component. > > That's okay but I don't understand why are you bundling every component > in one "big" tarball without a configure script. You could create > individual tarballs with the configure script generated. That would make > quite easy to comply with your wishes. > > Some packaging tools make pretty hard to split big tarballs in small > packages. Specially during the update to a new version. > > Am I missing something? :) > I don't see what the problem is. Can you elaborate? -- Beno?t Minisini From gambas at ...1... Thu Jul 14 21:50:44 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 14 Jul 2016 21:50:44 +0200 Subject: [Gambas-user] Help! How to assign a theme to an editor control In-Reply-To: <20160704160401.e468546fec49743d8c2bba99@...626...> References: <20160704160401.e468546fec49743d8c2bba99@...626...> Message-ID: <5787ED14.1090402@...1...> Le 04/07/2016 08:34, adamnt42 at ...626... a ?crit : > I am totally lost with this one :-( > > Given I have a custom IDE highlighting theme saved as a file in my home dir. Say "bb.gambas.theme". > > Now I want to apply that same highlighting scheme to an editor control in some gui project. > > How do I go about this? As I said - totally lost. > > tia > Bruce > The "theme" files are internal to the IDE. So you must do that on your own, by taking some code from the IDE sources. To modify an editor highlighting style, you must use the syntax: With hEditor.Styles[Highlight.XXX] .Color = ... .Bold = ... .Underline = ... End With Where Highlight.XXX is a constant defining which style you want to modify. Regards, -- Beno?t Minisini From gambas at ...1... Thu Jul 14 21:56:58 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 14 Jul 2016 21:56:58 +0200 Subject: [Gambas-user] File or directory does not exist In-Reply-To: References: Message-ID: <5787EE8A.5010904@...1...> Le 02/07/2016 21:15, herberth guzman a ?crit : > Regards Benoit > > A question > > I have a project (gbTerminal) which is a gui gb.terminal.form > > what happens to me is something unusual > > * I run the project (gbterminal) - works well (Windows 1) > * If I open a new window (gbterminal) - works well (Window 2) > * If I open a new window (gbterminal) in the (Window 1) - works well > > * But if I open a window (gbterminal) in the (Window 1, Windows 2, Windows > N) gives me the following error: > > File or directory does not exist > > Might help me please > Where I have the error. > > Attached project > https://drive.google.com/file/d/0B2gI4jYOofp0TUtxeVFmS09aU2c/view?usp=sharing > > and It's in (gambasfarm-gbTerminal) > > > Herberth Guzm?n > No idea. I can't reproduce your error, and you must tell where the it occurs exactly in your code! Moreover, stop using fixed layouts in your applications. It makes programs ugly and unusable as soon as the font size is big, or wide, or if the translated text is very long. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Thu Jul 14 22:44:41 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 14 Jul 2016 16:44:41 -0400 Subject: [Gambas-user] offline help ide how? Message-ID: i turnet off the online help using the button in ide preferences how and why more i need configure! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Fri Jul 15 00:20:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 14 Jul 2016 22:20:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #1 by Beno?t MINISINI: Is it better with revision #7818? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Fri Jul 15 00:21:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 14 Jul 2016 22:21:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #6 by Beno?t MINISINI: Do you have any interesting valgrind output? From bugtracker at ...3416... Fri Jul 15 02:06:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 00:06:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #874: GTK2: Setting a window to Utility:True breaks the TakeFocus property In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.874&from=L21haW4- Comment #3 by Beno?t MINISINI: Fixed in revision #7819. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Jul 15 02:07:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 00:07:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #1 by Beno?t MINISINI: What do you mean by "locked"? All file locks are automatically released by the OS when the IDE process ends. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From iam at ...3607... Fri Jul 15 03:30:09 2016 From: iam at ...3607... (Juan Francisco Cantero Hurtado) Date: Fri, 15 Jul 2016 03:30:09 +0200 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: <5787EBAD.1080003@...1...> References: <5787EBAD.1080003@...1...> Message-ID: On 14/07/16 21:44, Beno?t Minisini wrote: > Le 14/07/2016 02:28, Juan Francisco Cantero Hurtado a ?crit : >> Hi. In the page http://gambaswiki.org/wiki/howto/package , you give some >> indications to the packagers. You want one package per component. >> >> That's okay but I don't understand why are you bundling every component >> in one "big" tarball without a configure script. You could create >> individual tarballs with the configure script generated. That would make >> quite easy to comply with your wishes. >> >> Some packaging tools make pretty hard to split big tarballs in small >> packages. Specially during the update to a new version. >> >> Am I missing something? :) >> > > I don't see what the problem is. Can you elaborate? Create one big fat package with tens of dependencies from a big tarball is quite easy. On OpenBSD Ports, when the packagers want to split a package in various, they use subpackages. The ports use a PLIST file which is a list of files to include in the package. When subpackages are used, the packagers need to generate the individual PLISTs by hand (almost 100 in the gambas case). When the ports are updated to a new version, the packager needs to generate again the PLIST by hand. With small tarballs, the packagers could create individual ports for every gambas package. The updates and maintenance would be more simple. The configure scripts would help to save build time in this case. From jussi.lahtinen at ...626... Fri Jul 15 03:45:05 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 15 Jul 2016 04:45:05 +0300 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: References: <5787EBAD.1080003@...1...> Message-ID: On Fri, Jul 15, 2016 at 4:30 AM, Juan Francisco Cantero Hurtado < iam at ...3607...> wrote: > On 14/07/16 21:44, Beno?t Minisini wrote: > > Le 14/07/2016 02:28, Juan Francisco Cantero Hurtado a ?crit : > >> Hi. In the page http://gambaswiki.org/wiki/howto/package , you give > some > >> indications to the packagers. You want one package per component. > >> > >> That's okay but I don't understand why are you bundling every component > >> in one "big" tarball without a configure script. You could create > >> individual tarballs with the configure script generated. That would make > >> quite easy to comply with your wishes. > >> > >> Some packaging tools make pretty hard to split big tarballs in small > >> packages. Specially during the update to a new version. > >> > >> Am I missing something? :) > >> > > > > I don't see what the problem is. Can you elaborate? > > Create one big fat package with tens of dependencies from a big tarball > is quite easy. > > On OpenBSD Ports, when the packagers want to split a package in various, > they use subpackages. The ports use a PLIST file which is a list of > files to include in the package. When subpackages are used, the > packagers need to generate the individual PLISTs by hand (almost 100 in > the gambas case). When the ports are updated to a new version, the > packager needs to generate again the PLIST by hand. > > With small tarballs, the packagers could create individual ports for > every gambas package. The updates and maintenance would be more simple. > The configure scripts would help to save build time in this case. > So instead of one tar ball, people would need to download and unpack multiple tar balls and then compile them individually!? I don't see how this would make things *easier*. PLIST thing sounds like broken packaging system. Jussi From bugtracker at ...3416... Fri Jul 15 05:48:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 03:48:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #2 by Bruce BRUEN: "locked" as in using the IDE "Lock/Unlock file" toolbutton. From bugtracker at ...3416... Fri Jul 15 05:48:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 03:48:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Bruce BRUEN added an attachment: Tuna Mornay & Chips (V5)_014.png From bugtracker at ...3416... Fri Jul 15 05:53:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 03:53:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Bruce BRUEN added an attachment: Gambas 3 - DEVELOPMENT VERSION, USE AT YOUR OWN RISK!_015.png From bugtracker at ...3416... Fri Jul 15 05:53:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 03:53:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Bruce BRUEN added an attachment: gbTerminal 0.1.3 - Gambas 3 - DEVELOPMENT VERSION, USE AT YOUR OWN RISK!_016.png From bugtracker at ...3416... Fri Jul 15 06:06:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 04:06:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #3 by Bruce BRUEN: (Refer pic ..._014.png) In one of our code utilities we have a menu item to open a selected class in the IDE. It's a bit hard to see here but I'm opening the "f_about.class". The operative code here is: Public Sub mnuIDE_Click() Dim hCurrent As MTargetClass hCurrent = $gbproj2.Sources[tblClasses[tblClasses.Row, 0].Text] Shell Subst$("gambas3 &1", hCurrent.Path) End Suffice to say, the shelled command is: gambas3 /home/bb/gb3projects/community/gbTerminal/.src/f_about.class (Refer pic ..._015.png) The result is that that class is opened in read only mode, so far so good. Then I close that instance of the IDE and invoke the IDE and load the entire project... (Refer pic ..._016.png) The previously viewed class is still locked, and is opened in read only mode. From gambas.fr at ...626... Fri Jul 15 10:41:49 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Jul 2016 10:41:49 +0200 Subject: [Gambas-user] Grid with spreadsheet behaviour In-Reply-To: References: Message-ID: 2016-07-13 5:37 GMT+02:00 martin p cristia : > Hi, just wondering if someone has it and want to share the code. I have an old code. But what is your needs ? GridView have the hability to manage borders and you can use the Interpreter class to manage interpretable code. SO what you need to do to have a simple spreedsheet is to find way to load and store spreadsheet datas and format. And then manage changing event to propagate the formulas recalculating. You store the formulas in a fomula property and the result in a value property. Maybe then to increase the speed of calculating you can manage a relation tree between cells formula. > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Fri Jul 15 10:53:45 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Jul 2016 10:53:45 +0200 Subject: [Gambas-user] Grid with spreadsheet behaviour In-Reply-To: References: Message-ID: 2016-07-15 10:41 GMT+02:00 Fabien Bodard : > 2016-07-13 5:37 GMT+02:00 martin p cristia : >> Hi, just wondering if someone has it and want to share the code. > > > I have an old code. But what is your needs ? GridView have the > hability to manage borders and you can use the Interpreter class to > manage interpretable code. > > SO what you need to do to have a simple spreedsheet is to find way to > load and store spreadsheet datas and format. And then manage changing > event to propagate the formulas recalculating. You store the formulas > in a fomula property and the result in a value property. Maybe then to > increase the speed of calculating you can manage a relation tree > between cells formula. > > >> >> -- >> Saludos >> >> Ing. Martin P Cristia >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic >> patterns at an interface-level. Reveals which users, apps, and protocols are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity planning >> reports.http://sdm.link/zohodev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.spreadsheet-0.0.1.tar.gz Type: application/x-gzip Size: 26964 bytes Desc: not available URL: From gambas.fr at ...626... Fri Jul 15 11:05:39 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Jul 2016 11:05:39 +0200 Subject: [Gambas-user] Grid with spreadsheet behaviour In-Reply-To: References: Message-ID: This is the GridView ancestor. Well before Benoit begin the work on the Gambas version of the GridView, i've begin in 2010-2011 some test on a spreadsheet for my own needs and also by curiosity. It is fully buggy and i've stopped the development because Benoit again heard my cryes. Then can find an implementation of the last Expession class in the gb.report2 code in the Evaluator directory. I use it to make dynamics report without need to code in the class. Certainly we have to think about a basic implementation of a spread sheet... But we have time. More i see the the speed of computing evolution... more i think we need to take time to do things good and not just shiny. Fabien 2016-07-15 10:53 GMT+02:00 Fabien Bodard : > 2016-07-15 10:41 GMT+02:00 Fabien Bodard : >> 2016-07-13 5:37 GMT+02:00 martin p cristia : >>> Hi, just wondering if someone has it and want to share the code. >> >> >> I have an old code. But what is your needs ? GridView have the >> hability to manage borders and you can use the Interpreter class to >> manage interpretable code. >> >> SO what you need to do to have a simple spreedsheet is to find way to >> load and store spreadsheet datas and format. And then manage changing >> event to propagate the formulas recalculating. You store the formulas >> in a fomula property and the result in a value property. Maybe then to >> increase the speed of calculating you can manage a relation tree >> between cells formula. >> >> >>> >>> -- >>> Saludos >>> >>> Ing. Martin P Cristia >>> >>> >>> ------------------------------------------------------------------------------ >>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic >>> patterns at an interface-level. Reveals which users, apps, and protocols are >>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning >>> reports.http://sdm.link/zohodev2dev >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard > > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.spreadsheet-0.0.1.tar.gz Type: application/x-gzip Size: 26964 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20160715_105144.png Type: image/png Size: 151832 bytes Desc: not available URL: From gambas.fr at ...626... Fri Jul 15 11:06:52 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Jul 2016 11:06:52 +0200 Subject: [Gambas-user] offline help ide how? In-Reply-To: References: Message-ID: 2016-07-14 22:44 GMT+02:00 PICCORO McKAY Lenz : > i turnet off the online help using the button in ide preferences > > how and why more i need configure! Please be more precise... > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Fri Jul 15 11:12:20 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Jul 2016 11:12:20 +0200 Subject: [Gambas-user] File or directory does not exist In-Reply-To: <5787EE8A.5010904@...1...> References: <5787EE8A.5010904@...1...> Message-ID: 2016-07-14 21:56 GMT+02:00 Beno?t Minisini : > Le 02/07/2016 21:15, herberth guzman a ?crit : >> Regards Benoit >> >> A question >> >> I have a project (gbTerminal) which is a gui gb.terminal.form >> >> what happens to me is something unusual >> >> * I run the project (gbterminal) - works well (Windows 1) >> * If I open a new window (gbterminal) - works well (Window 2) >> * If I open a new window (gbterminal) in the (Window 1) - works well >> >> * But if I open a window (gbterminal) in the (Window 1, Windows 2, Windows >> N) gives me the following error: >> >> File or directory does not exist >> >> Might help me please >> Where I have the error. >> >> Attached project >> https://drive.google.com/file/d/0B2gI4jYOofp0TUtxeVFmS09aU2c/view?usp=sharing >> >> and It's in (gambasfarm-gbTerminal) >> >> >> Herberth Guzm?n >> > > No idea. I can't reproduce your error, and you must tell where the it > occurs exactly in your code! > > Moreover, stop using fixed layouts in your applications. It makes > programs ugly and unusable as soon as the font size is big, or wide, or > if the translated text is very long. It is a wide spread disease. I believe that over 50 % of our ADVANCED USERS not to understand anything in the use of automatic layout . Which is nevertheless of great childlike simplicity > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Fri Jul 15 16:56:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 14:56:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #7 by Charlie REINL: if it is interesting, I don't know, but here it comes. From bugtracker at ...3416... Fri Jul 15 16:56:57 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 14:56:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Charlie REINL added an attachment: valgrind.out From bugtracker at ...3416... Fri Jul 15 17:02:57 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 15:02:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #8 by Beno?t MINISINI: "gbx3: unable to find startup file"... You obviously didn't start valgrind in your project directory, did you? From bugtracker at ...3416... Fri Jul 15 17:32:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 15:32:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #9 by Charlie REINL: your right i'v got the wrong one from 28 June, here the good one, made 07.07.2016 just after the gdb log from above. From bugtracker at ...3416... Fri Jul 15 17:33:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 15:33:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Charlie REINL added an attachment: valgrind.out From bugtracker at ...3416... Fri Jul 15 17:42:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 15:42:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #10 by Beno?t MINISINI: What happens if you don't use the CleanLooks style? Does it change anything? From bugtracker at ...3416... Fri Jul 15 17:44:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 15:44:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #11 by Beno?t MINISINI: Anyway, without any project, I can't do a lot... From herberthguzman at ...626... Fri Jul 15 19:30:34 2016 From: herberthguzman at ...626... (herberth guzman) Date: Fri, 15 Jul 2016 11:30:34 -0600 Subject: [Gambas-user] File or directory does not exist Message-ID: > Regards Benoit > > A question > > I have a project (gbTerminal) which is a gui gb.terminal.form > > what happens to me is something unusual > > * I run the project (gbterminal) - works well (Windows 1) > * If I open a new window (gbterminal) - works well (Window 2) > * If I open a new window (gbterminal) in the (Window 1) - works well > > * But if I open a window (gbterminal) in the (Window 1, Windows 2, Windows > N) gives me the following error: > > File or directory does not exist > > Might help me please > Where I have the error. > > Attached project > https://drive.google.com/file/d/0B2gI4jYOofp0TUtxeVFmS09aU2c/view?usp=sharing > > and It's in (gambasfarm-gbTerminal) > > > Herberth Guzm?n > >No idea. I can't reproduce your error, and you must tell where the it >occurs exactly in your code! Thanks Benoit, the solution was: Dim sForm_Tmp As New F_terminal iForm_Cont += 1 sList_Form.add(sForm_Tmp) sForm_Tmp.Show() >Moreover, stop using fixed layouts in your applications. thanks, I'll try to improve. >It makes programs ugly and unusable as soon as the font size is big, or wide, or if the translated text is very long. I appreciate your comments and suggestions for my applications. I want to tell you that I have an educational project for children, and for them I use large font. In the future I will use small fonts and short translations I will modify my projects. Thank you. Regards, -- Herberth Guzm?n From iam at ...3607... Fri Jul 15 19:35:10 2016 From: iam at ...3607... (Juan Francisco Cantero Hurtado) Date: Fri, 15 Jul 2016 19:35:10 +0200 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: References: <5787EBAD.1080003@...1...> Message-ID: On 15/07/16 03:45, Jussi Lahtinen wrote: > On Fri, Jul 15, 2016 at 4:30 AM, Juan Francisco Cantero Hurtado < > iam at ...3607...> wrote: > >> On 14/07/16 21:44, Beno?t Minisini wrote: >>> Le 14/07/2016 02:28, Juan Francisco Cantero Hurtado a ?crit : >>>> Hi. In the page http://gambaswiki.org/wiki/howto/package , you give >> some >>>> indications to the packagers. You want one package per component. >>>> >>>> That's okay but I don't understand why are you bundling every component >>>> in one "big" tarball without a configure script. You could create >>>> individual tarballs with the configure script generated. That would make >>>> quite easy to comply with your wishes. >>>> >>>> Some packaging tools make pretty hard to split big tarballs in small >>>> packages. Specially during the update to a new version. >>>> >>>> Am I missing something? :) >>>> >>> >>> I don't see what the problem is. Can you elaborate? >> >> Create one big fat package with tens of dependencies from a big tarball >> is quite easy. >> >> On OpenBSD Ports, when the packagers want to split a package in various, >> they use subpackages. The ports use a PLIST file which is a list of >> files to include in the package. When subpackages are used, the >> packagers need to generate the individual PLISTs by hand (almost 100 in >> the gambas case). When the ports are updated to a new version, the >> packager needs to generate again the PLIST by hand. >> >> With small tarballs, the packagers could create individual ports for >> every gambas package. The updates and maintenance would be more simple. >> The configure scripts would help to save build time in this case. >> > > > So instead of one tar ball, people would need to download and unpack > multiple tar balls and then compile them individually!? > I don't see how this would make things *easier*. PLIST thing sounds like > broken packaging system. Well, the package system works for GNOME or KDE which are quite more complex and bigger than gambas, so this is not broken. Other BSDs use similar systems. Gambas could be distributed as small tarballs and the traditional big tarball with everything included. My request is not exclusive. From mckaygerhard at ...626... Fri Jul 15 20:02:41 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 15 Jul 2016 14:02:41 -0400 Subject: [Gambas-user] offline help ide how? In-Reply-To: References: Message-ID: i want to use offline the help, if possible compile gambas with online help! well really i want compile and package gambas with offlinem help! how please! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-07-15 5:06 GMT-04:00 Fabien Bodard : > 2016-07-14 22:44 GMT+02:00 PICCORO McKAY Lenz : > > i turnet off the online help using the button in ide preferences > > > > how and why more i need configure! > > Please be more precise... > > > > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > ------------------------------------------------------------------------------ > > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > > patterns at an interface-level. Reveals which users, apps, and protocols > are > > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > > reports.http://sdm.link/zohodev2dev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Jul 15 20:55:13 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 15 Jul 2016 21:55:13 +0300 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: References: <5787EBAD.1080003@...1...> Message-ID: > Well, the package system works for GNOME or KDE which are quite more > complex and bigger than gambas, so this is not broken. Other BSDs use > similar systems. > I meant why multiple tar balls (versus one tar bar) creates *less* complexity? I don't think this is the case with other packagers. Gambas could be distributed as small tarballs and the traditional big > tarball with everything included. My request is not exclusive. > Fair enough. Jussi From taboege at ...626... Fri Jul 15 21:19:41 2016 From: taboege at ...626... (Tobias Boege) Date: Fri, 15 Jul 2016 21:19:41 +0200 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: References: Message-ID: <20160715191941.GA9499@...3600...> On Thu, 14 Jul 2016, Juan Francisco Cantero Hurtado wrote: > Hi. In the page http://gambaswiki.org/wiki/howto/package , you give some > indications to the packagers. You want one package per component. > > That's okay but I don't understand why are you bundling every component > in one "big" tarball without a configure script. You could create > individual tarballs with the configure script generated. That would make > quite easy to comply with your wishes. > > Some packaging tools make pretty hard to split big tarballs in small > packages. Specially during the update to a new version. > > Am I missing something? :) > Since Gambas is maintained as a single big repository, we would need a script which creates multiple tars from the repository after the fact. The single big tarball is just how the base data is. I'm not a packager for anything, but I believe something like this should work, which the script would do for every new release of Gambas: 1. Download the big tar. 2. Do ./reconf-all to create the configure scripts in each directory. 3. For each component (and possibly other parts you want to have a tar for) create the tar archive. Now you have your tars with a configure script inside each. Be sure to use the --dereference option to tar because some headers are symlinked in the source tree. You see I *believe* something like this would work, I don't know it. That's because there might be other gimmicks like the symlinked files which make it difficult to split the tree apart. You should play with it a little. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bugtracker at ...3416... Fri Jul 15 23:26:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 15 Jul 2016 21:26:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #2 by Ali MUFEED: Ok will check asap. But for now, my pc has a temporary issue. From tercoide at ...67... Sat Jul 16 01:55:46 2016 From: tercoide at ...67... (martin p cristia) Date: Fri, 15 Jul 2016 20:55:46 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 122, Issue 14 In-Reply-To: References: Message-ID: Thanks Fabien. Please send me the file to estru3d at gmail.com as it gets scrubbed here. I need it to use it as a table with some cols for user input, some with fixed data, and some other to calculate what user inputs along with other data. I dont need to store any data outside the sheet itself. Pretty sure it can be done with a Tableview + EditWith , but I dont like its behaviour. Probably my fault. El 15/07/16 a las 06:05, gambas-user-request at lists.sourceforge.net escribi?: I have an old code. But what is your needs ? GridView have the hability to manage borders and you can use the Interpreter class to manage interpretable code. SO what you need to do to have a simple spreedsheet is to find way to load and store spreadsheet datas and format. And then manage changing event to propagate the formulas recalculating. You store the formulas in a fomula property and the result in a value property. Maybe then to increase the speed of calculating you can manage a relation tree between cells formula. -- Fabien Bodard -- Saludos Ing. Martin P Cristia From bugtracker at ...3416... Sat Jul 16 12:28:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:28:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #3 by Ali MUFEED: The Text Foreground works now. BUT Text Selection is glitched on both TextArea and TextBox. From bugtracker at ...3416... Sat Jul 16 12:30:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:30:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Ali MUFEED added an attachment: TextArea.png From bugtracker at ...3416... Sat Jul 16 12:30:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:30:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Ali MUFEED added an attachment: TextBox.png From bugtracker at ...3416... Sat Jul 16 12:35:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:35:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #4 by Ali MUFEED: I've uploaded two images. Some things to note: 1. In textarea, the text is still visible, it is pure white. 2. In textbox, the text is not visible as it is the same colour as textbox background. 3. This only happens when you set a background for textbox and textarea. From bugtracker at ...3416... Sat Jul 16 12:53:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:53:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #965: Text Edit Crash Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.965&from=L21haW4- Ali MUFEED reported a new bug. Summary ------- Text Edit Crash Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Hi, I noticed a major bug in the IDE that prevents users from editing text in Labels, TextAreas, TextBoxes, Etc. To reproduce, just put a new textbox, go to its text property, click the 3-dots button, add some text, and click OK. It'll crash. Thank you. From bugtracker at ...3416... Sat Jul 16 12:56:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:56:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #965: Text Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.965&from=L21haW4- Ali MUFEED changed the state of the bug to: Invalid. From bugtracker at ...3416... Sat Jul 16 12:56:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:56:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #965: Text Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.965&from=L21haW4- Ali MUFEED changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jul 16 12:57:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 10:57:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #965: Text Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.965&from=L21haW4- Comment #1 by Ali MUFEED: This bug was fixed earlier but I did not notice that it was. From bugtracker at ...3416... Sat Jul 16 13:17:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 11:17:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #5 by Ali MUFEED: Another thing to add: Whatever you did also fixed some issues with background. I used to think it was themes and Not gambas' issues But now they work. Only Selection's bug remains. The old bug thats not there anymore: While using some GTK themes like Numix, Arc, etc., No matter what you changed TextBox and TextArea backgrounds into, it would still stay white. Now, it changes like its meant to be. I hope I've given enough info to fix this. From gambas.fr at ...626... Sat Jul 16 13:41:59 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 16 Jul 2016 13:41:59 +0200 Subject: [Gambas-user] offline help ide how? In-Reply-To: References: Message-ID: Normally you just compile normally the project. Then you have to connect the target computer to internet and select the offline help...if a new documentation is available it will download it when clicking on download. After that the offline help is available. 2016-07-15 20:02 GMT+02:00 PICCORO McKAY Lenz : > i want to use offline the help, if possible compile gambas with online help! > > well really i want compile and package gambas with offlinem help! how > please! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2016-07-15 5:06 GMT-04:00 Fabien Bodard : > >> 2016-07-14 22:44 GMT+02:00 PICCORO McKAY Lenz : >> > i turnet off the online help using the button in ide preferences >> > >> > how and why more i need configure! >> >> Please be more precise... >> >> > >> > >> > Lenz McKAY Gerardo (PICCORO) >> > http://qgqlochekone.blogspot.com >> > >> ------------------------------------------------------------------------------ >> > What NetFlow Analyzer can do for you? Monitors network bandwidth and >> traffic >> > patterns at an interface-level. Reveals which users, apps, and protocols >> are >> > consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> > J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning >> > reports.http://sdm.link/zohodev2dev >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and >> traffic >> patterns at an interface-level. Reveals which users, apps, and protocols >> are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning >> reports.http://sdm.link/zohodev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20160716_134004.png Type: image/png Size: 307661 bytes Desc: not available URL: From bugtracker at ...3416... Sat Jul 16 14:05:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 12:05:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #964: ColorChooser +- buttons In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.964&from=L21haW4- Comment #2 by Ali MUFEED: It works perfectly for me. Thanks. From bugtracker at ...3416... Sat Jul 16 14:16:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 12:16:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #6 by Beno?t MINISINI: Yes, I noticed the selected text problem. It's not directly a theme issue. It's just that the new GTK+3 theming system based on CSS-like style sheet files is horrible: it changed several times, and is not consistent between themes. So, Gambas may break again in a next GTK+3 release. From bugtracker at ...3416... Sat Jul 16 14:16:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 12:16:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Sat Jul 16 14:20:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 12:20:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #961: Compile error at gb.jit In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.961&from=L21haW4- Comment #9 by Moviga TECHNOLOGIES: Bump :) From bugtracker at ...3416... Sat Jul 16 14:30:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 12:30:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #4 by Beno?t MINISINI: I just tried, and the file is not locked when opening it alone. The "lock" status is just based on the file rights. Can you check that the file was not actually read-only before opening it? From bugtracker at ...3416... Sat Jul 16 14:40:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 12:40:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #7 by Ali MUFEED: Oh, I see. Do you think you fix that selected text issue? From bugtracker at ...3416... Sat Jul 16 18:14:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 16:14:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #5 by Zainudin AHMAD: I have the same issue I will create patch From bugtracker at ...3416... Sat Jul 16 18:14:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 16:14:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Zainudin AHMAD changed the state of the bug to: Working. From bugtracker at ...3416... Sat Jul 16 18:16:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 16:16:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #6 by Zainudin AHMAD: This is my patch, it's seems work diff -urNaX /tmp/gambas-patch-ignore a/.src/Project.module b/.src/Project.module --- a/.src/Project.module 2016-07-16 22:15:28.000000000 +0700 +++ b/.src/Project.module 2016-07-16 22:16:01.000000000 +0700 @@ -5705,7 +5705,7 @@ If Not Access(sPath, gb.Write) Then Return True Do - If sPath = Project.Dir Or If sPath = "/" Or If Not sPath Then Break + If sPath = Project.Dir Or If IsFake(Project.Dir) Or If sPath = "/" Or If Not sPath Then Break If Stat(sPath).Type = gb.Link Then Return True Endif From bugtracker at ...3416... Sat Jul 16 18:17:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 16:17:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Zainudin AHMAD added an attachment: gambas3-3.8.90~gambas3-3.8.90.patch From bugtracker at ...3416... Sat Jul 16 18:18:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 16:18:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Zainudin AHMAD changed the state of the bug to: Opened. From bugtracker at ...3416... Sat Jul 16 20:04:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 18:04:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #8 by Beno?t MINISINI: Is it better with revision #7821? From bugtracker at ...3416... Sat Jul 16 20:04:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 18:04:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Jul 16 20:44:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 18:44:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #9 by Ali MUFEED: will check now. From bugtracker at ...3416... Sat Jul 16 20:47:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 18:47:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #10 by Ali MUFEED: please update ppa. otherwise, I can't. From bugtracker at ...3416... Sat Jul 16 20:47:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 18:47:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #11 by Ali MUFEED: please update ppa. otherwise, I can't. From iam at ...3607... Sat Jul 16 20:51:17 2016 From: iam at ...3607... (Juan Francisco Cantero Hurtado) Date: Sat, 16 Jul 2016 20:51:17 +0200 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: References: <5787EBAD.1080003@...1...> Message-ID: On 15/07/16 20:55, Jussi Lahtinen wrote: >> Well, the package system works for GNOME or KDE which are quite more >> complex and bigger than gambas, so this is not broken. Other BSDs use >> similar systems. >> > > I meant why multiple tar balls (versus one tar bar) creates *less* > complexity? > I don't think this is the case with other packagers. Yes, other package tools are different. Look the Arch Linux package: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/gambas3 The list of files are generated during the build of the package. That's why they have not problems splitting a package. IIRC, RPM and DEB have the same behavior. BSD ports frameworks use the PLIST to modify the package content and it is generated prior to the installation of the package. For example, OpenBSD modifies the version numbers of the libraries or FreeBSD remove the documentation files when the user selects this in OPTIONS. Multiple tarballs would allow to the packager to create one package per component, so everything would be more simple. > > > Gambas could be distributed as small tarballs and the traditional big >> tarball with everything included. My request is not exclusive. >> > > Fair enough. > From iam at ...3607... Sat Jul 16 21:01:28 2016 From: iam at ...3607... (Juan Francisco Cantero Hurtado) Date: Sat, 16 Jul 2016 21:01:28 +0200 Subject: [Gambas-user] Why Gambas is packaged in only one tarball without a configure script? In-Reply-To: <20160715191941.GA9499@...3600...> References: <20160715191941.GA9499@...3600...> Message-ID: On 15/07/16 21:19, Tobias Boege wrote: > On Thu, 14 Jul 2016, Juan Francisco Cantero Hurtado wrote: >> Hi. In the page http://gambaswiki.org/wiki/howto/package , you give some >> indications to the packagers. You want one package per component. >> >> That's okay but I don't understand why are you bundling every component >> in one "big" tarball without a configure script. You could create >> individual tarballs with the configure script generated. That would make >> quite easy to comply with your wishes. >> >> Some packaging tools make pretty hard to split big tarballs in small >> packages. Specially during the update to a new version. >> >> Am I missing something? :) >> > > Since Gambas is maintained as a single big repository, we would need a > script which creates multiple tars from the repository after the fact. > The single big tarball is just how the base data is. > > I'm not a packager for anything, but I believe something like this should > work, which the script would do for every new release of Gambas: > > 1. Download the big tar. > 2. Do ./reconf-all to create the configure scripts in each directory. > 3. For each component (and possibly other parts you want to have a tar > for) create the tar archive. > > Now you have your tars with a configure script inside each. > > Be sure to use the --dereference option to tar because some headers are > symlinked in the source tree. You see I *believe* something like this > would work, I don't know it. That's because there might be other gimmicks > like the symlinked files which make it difficult to split the tree apart. > You should play with it a little. Thanks. I will take a look. From bugtracker at ...3416... Sat Jul 16 21:45:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 19:45:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #12 by Ali MUFEED: I have to wait until tomorrow to test. I use the Daily PPA. Compiling and installing didn't work. So, I'll wait, From bugtracker at ...3416... Sat Jul 16 22:23:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jul 2016 20:23:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #13 by Ali MUFEED: In 7820, even if you set the textarea to read-only, you still could edit through shortcuts like Control+X and Control+V. Hope you fixed it. I can't check, so please reply. From bugtracker at ...3416... Sun Jul 17 02:10:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 17 Jul 2016 00:10:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #7 by Zainudin AHMAD: reproduce the bug - create "link directory" to other directory ( contain any gambas source or text file ) - open file from that's directory(link directory) - the file is always read-only sorry, this is the better patch. diff -urNaX /tmp/gambas-patch-ignore a/.src/Project.module b/.src/Project.module --- a/.src/Project.module 2016-07-17 06:48:48.000000000 +0700 +++ b/.src/Project.module 2016-07-17 06:49:41.000000000 +0700 @@ -5704,6 +5704,9 @@ If Not Exist(sPath) Then Return True If Not Access(sPath, gb.Write) Then Return True + If Stat(sPath).Type = gb.Link Then Return True + If IsFake() Then Return + Do If sPath = Project.Dir Or If sPath = "/" Or If Not sPath Then Break If Stat(sPath).Type = gb.Link Then From bugtracker at ...3416... Sun Jul 17 02:10:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 17 Jul 2016 00:10:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Zainudin AHMAD added an attachment: gambas3-3.8.90~gambas3-3.8.90.patch From bugtracker at ...3416... Sun Jul 17 02:25:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 17 Jul 2016 00:25:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #8 by Beno?t MINISINI: It's not actually a bug, it was done on purpose. And I think I prefer keeping the way it works: if a file is a symbolic link, or located inside a directory that is a symbolic link, then don't allow to modify it. Because in that case, it usually means that the file belongs to another project. From mckaygerhard at ...626... Sun Jul 17 14:37:20 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 17 Jul 2016 08:37:20 -0400 Subject: [Gambas-user] offline help ide how? In-Reply-To: References: Message-ID: icannot find where the documentation are downloaded! my target its to package the documentation ofline and users by defaut have offline! sometinh i must know? help! 2016-07-16 7:41 GMT-04:00, Fabien Bodard : > Normally you just compile normally the project. Then you have to > connect the target computer to internet and select the offline > help...if a new documentation is available it will download it when > clicking on download. After that the offline help is available. > > 2016-07-15 20:02 GMT+02:00 PICCORO McKAY Lenz : >> i want to use offline the help, if possible compile gambas with online >> help! >> >> well really i want compile and package gambas with offlinem help! how >> please! >> >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> 2016-07-15 5:06 GMT-04:00 Fabien Bodard : >> >>> 2016-07-14 22:44 GMT+02:00 PICCORO McKAY Lenz : >>> > i turnet off the online help using the button in ide preferences >>> > >>> > how and why more i need configure! >>> >>> Please be more precise... >>> >>> > >>> > >>> > Lenz McKAY Gerardo (PICCORO) >>> > http://qgqlochekone.blogspot.com >>> > >>> ------------------------------------------------------------------------------ >>> > What NetFlow Analyzer can do for you? Monitors network bandwidth and >>> traffic >>> > patterns at an interface-level. Reveals which users, apps, and >>> > protocols >>> are >>> > consuming the most bandwidth. Provides multi-vendor support for >>> > NetFlow, >>> > J-Flow, sFlow and other flows. Make informed decisions using capacity >>> planning >>> > reports.http://sdm.link/zohodev2dev >>> > _______________________________________________ >>> > Gambas-user mailing list >>> > Gambas-user at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> -- >>> Fabien Bodard >>> >>> >>> ------------------------------------------------------------------------------ >>> What NetFlow Analyzer can do for you? Monitors network bandwidth and >>> traffic >>> patterns at an interface-level. Reveals which users, apps, and protocols >>> are >>> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >>> J-Flow, sFlow and other flows. Make informed decisions using capacity >>> planning >>> reports.http://sdm.link/zohodev2dev >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> What NetFlow Analyzer can do for you? Monitors network bandwidth and >> traffic >> patterns at an interface-level. Reveals which users, apps, and protocols >> are >> consuming the most bandwidth. Provides multi-vendor support for NetFlow, >> J-Flow, sFlow and other flows. Make informed decisions using capacity >> planning >> reports.http://sdm.link/zohodev2dev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From jussi.lahtinen at ...626... Sun Jul 17 15:25:05 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 17 Jul 2016 16:25:05 +0300 Subject: [Gambas-user] Fwd: Couple small things with latest revision In-Reply-To: References: <576B2EB6.5040605@...1...> <576B319B.7020409@...1...> Message-ID: Any ideas about this? I installed Gambas from daily PPA to my uptodate virtual machine (also Linux Mint) and I can reproduce the bug there also. However the GambasTester run doesn't fail every time, only about 1/3 of the times. So, it is quite rare event, because the tests are repeated 100 times per run. Jussi [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=993M [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 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_SLOWDOWN_FACTOR=0.0001 CINNAMON_SOFTWARE_RENDERING=1 CINNAMON_VERSION=2.8.8 CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-kwAczmb1id,guid=ee8c2a09b960dbd55b8b20d3578b845c DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2363 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-cU1VTR GPG_AGENT_INFO=/run/user/1000/keyring-cU1VTR/gpg:0:1 HOME= 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 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local MUFFIN_NO_SHADOWS=1 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1343,unix/:/tmp/.ICE-unix/1343 SHELL=/bin/bash SSH_AGENT_PID=1692 SSH_AUTH_SOCK=/run/user/1000/keyring-cU1VTR/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=80a083dd74091f714dfcd291572a92ab-1468761171.117773-307953855 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 On Thu, Jun 23, 2016 at 4:04 AM, Jussi Lahtinen wrote: > Sorry little correction. The test are run 100 times and some of them > always fail without the wait lines. So, not every execution, but always > some of the 100 runs. > > > Jussi > > On Thu, Jun 23, 2016 at 4:00 AM, Jussi Lahtinen > wrote: > >> The test does not pass on my system. >> The variable sTest remains empty, unless I add the "Wait 0.1" lines. >> >> Actually now when I retest this, it has got worse. Now it fails randomly >> even with the wait lines. >> >> >> Jussi >> >> >> On Thu, Jun 23, 2016 at 3:47 AM, Beno?t Minisini < >> gambas at ...1...> wrote: >> >>> Le 23/06/2016 02:35, Beno?t Minisini a ?crit : >>> > Le 23/06/2016 02:27, Jussi Lahtinen a ?crit : >>> >> Hi! >>> >> See the attached project. In module mTest at line 1679 begins test >>> loop, >>> >> which fails randomly on my system (information at the end of the >>> mail). >>> >> >>> >> I use "hProcess.Wait" and this used to work, but now I need to add >>> also >>> >> "Wait". >>> >> Is that correct behavior? >>> > >>> > You means that hProcess.Wait() does nothing? No, it's not normal. It >>> > should do the same thing as the WAIT keyword, i.e. wait for the process >>> > termination. >>> > >>> >> If I understand the documentation correctly, then it is not. >>> >> http://gambaswiki.org/wiki/comp/gb/process/wait >>> >> >>> >> Also I'm missing old terminal feature to turn "debug" outputs as >>> links to >>> >> the source code! >>> >> Is it possible to re-implement it to this new terminal? >>> > >>> > It's difficult now, because the new terminal is a control on its own, >>> > and so has no support for interpreting and highlighting its contents. >>> If >>> > I find solution, I will tell. >>> > >>> > Regards, >>> > >>> >>> I ran your project, and got "test passed". Was it expected? >>> >>> -- >>> Beno?t Minisini >>> >>> >>> ------------------------------------------------------------------------------ >>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >>> present their vision of the future. This family event has something for >>> everyone, including kids. Get more information and register today. >>> http://sdm.link/attshape >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasTestercmd-0.9.49.tar.gz Type: application/x-gzip Size: 17998 bytes Desc: not available URL: From mckaygerhard at ...626... Sun Jul 17 21:44:16 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 17 Jul 2016 15:44:16 -0400 Subject: [Gambas-user] ecompiling error gambas on curl << 7.19 solved with patch Message-ID: hello all and benoit some time ago have troubles with the curl when i backporting gambas for old linux boxes now i have new troubles root at ...3203...:/media/DATASUPER/MASSENKOH-new/MASSENKOH-REPO/mskcommon/devel/gambas34# cat error CNet.c:65: error: ?CURLAUTH_DIGEST_IE? no se declar? aqu? (no en una funci?n) CNet.c:146: error: ?CURLE_SSL_CRL_BADFILE? no se declar? aqu? (no en una funci?n) CNet.c:147: error: ?CURLE_SSL_ISSUER_ERROR? no se declar? aqu? (no en una funci?n) make[5]: *** [gb_net_curl_la-CNet.lo] Error 1 -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Sun Jul 17 21:45:06 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 17 Jul 2016 15:45:06 -0400 Subject: [Gambas-user] ecompiling error gambas on curl << 7.19 solved with patch In-Reply-To: References: Message-ID: sorry here the patch --- gambas3-3.4.0.orig/gb.net.curl/src/CNet.c +++ gambas3-3.4.0/gb.net.curl/src/CNet.c @@ -38,6 +38,15 @@ #ifndef CURLE_FTP_BAD_FILE_LIST #define CURLE_FTP_BAD_FILE_LIST 87 #endif +#ifndef CURLE_SSL_CRL_BADFILE +#define CURLE_SSL_CRL_BADFILE 82 /* was on 7.19.0 */ +#endif +#ifndef CURLAUTH_DIGEST_IE +#define CURLAUTH_DIGEST_IE (1<<4) /* Digest with IE flavour */ +#endif +#ifndef CURLE_SSL_ISSUER_ERROR +#define CURLE_SSL_ISSUER_ERROR 83 +#endif #ifndef CURLE_CHUNK_FAILED #define CURLE_CHUNK_FAILED 88 #endif 2016-07-17 15:44 GMT-04:00, PICCORO McKAY Lenz : > hello all and benoit > > some time ago have troubles with the curl when i backporting gambas > for old linux boxes > > now i have new troubles > > root at ...3203...:/media/DATASUPER/MASSENKOH-new/MASSENKOH-REPO/mskcommon/devel/gambas34# > cat error > CNet.c:65: error: ?CURLAUTH_DIGEST_IE? no se declar? aqu? (no en una > funci?n) > CNet.c:146: error: ?CURLE_SSL_CRL_BADFILE? no se declar? aqu? (no en > una funci?n) > CNet.c:147: error: ?CURLE_SSL_ISSUER_ERROR? no se declar? aqu? (no en > una funci?n) > make[5]: *** [gb_net_curl_la-CNet.lo] Error 1 > > > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Sun Jul 17 22:07:14 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 17 Jul 2016 16:07:14 -0400 Subject: [Gambas-user] error compiling in qwebelement: ISO C++ forbids declaration of QWebElement with no type Message-ID: in qwebelement i got error backporting when build got " ISO C++ forbids declaration of QWebElement with no type" cwebhittest.h:31:23: error: QWebElement: No such file or directory! gambas only need qt 4.5 but seems webkit for qt are since 4.6 before 4.6 qwebengine seems are used as webkit how can i compile for this old particular pport?? -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Sun Jul 17 22:32:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 17 Jul 2016 20:32:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #14 by Ali MUFEED: Selection is fixed. But even if you set the textarea to read-only, you still could edit through shortcuts like Control+X and Control+V. I had no connectivity until just now. sorry. From mckaygerhard at ...626... Mon Jul 18 11:01:08 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 18 Jul 2016 05:01:08 -0400 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: <578ad0e5.82da240a.28028.9ab7SMTPIN_ADDED_BROKEN@...2392...> References: <578ad0e5.82da240a.28028.9ab7SMTPIN_ADDED_BROKEN@...2392...> Message-ID: i'll try to ilustrate in other way that benoit said: ... it COULD MEANS that the file belongs to another project... so must be threat as read only due will be modified with out context! 2016-07-16 20:25 GMT-04:00, bugtracker at ...3416... : > http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- > > Comment #8 by Beno?t MINISINI: > > It's not actually a bug, it was done on purpose. > > And I think I prefer keeping the way it works: if a file is a symbolic link, > or located inside a directory that is a symbolic link, then don't allow to > modify it. > Because in that case, it usually means that the file belongs to another > project. > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Mon Jul 18 11:02:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 18 Jul 2016 09:02:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.940&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: i'll try to ilustrate in other way that benoit said: ... it COULD MEANS that the file belongs to another project... so must be threat as read only due will be modified with out context! From mckaygerhard at ...626... Mon Jul 18 11:08:43 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 18 Jul 2016 05:08:43 -0400 Subject: [Gambas-user] bugtracker search by gambas version and author Message-ID: please benoit nd team, added the feature URGENCY to bugtracker to search by the gambas version on the bugtracker also, added a better hqandle of the navigation bars! the bar on the lower screen are only visible when the end of the screen are reached in some browsers! -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Tue Jul 19 04:47:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 19 Jul 2016 02:47:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #966: Project-property >> Libraries | Description always "WARNING!Library not found" Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.966&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Project-property >> Libraries | Description always "WARNING!Library not found" Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Description always "WARNING!Library not found" Reproduce the bug: - Extract (test-app and libtest project) to the /tmp directory (attach project) - Open test-app project - (Project-property dialog show) click the cancel button - (Do not close the test-app) open libtest project - Make executable (libtest project) - (Back to test-app) open-property project dialog - Description still: WARNING! Library not found (attach pic) - Click the reset button is no different My Patch (attach Patch) : diff -urNaX /tmp/gambas-patch-ignore a/.src/Project/Library/CLibraryInfo.class b/.src/Project/Library/CLibraryInfo.class --- a/.src/Project/Library/CLibraryInfo.class 2016-02-03 17:38:25.000000000 +0700 +++ b/.src/Project/Library/CLibraryInfo.class 2016-07-19 08:42:47.000000000 +0700 @@ -20,6 +20,16 @@ Static Public Sub _get(sPath As String) As CLibraryInfo Dim hLib As CLibraryInfo = $cAll[sPath] + + '// If hLib And if Not hLib.Exist Then hLib = Null + If hLib Then + If hLib.NotFound Then + If Exist(SolvePath(sPath)) Or If Exist(hLib.Path) Then hLib = Null + Else + If Not Exist(SolvePath(sPath)) And Not Exist(hLib.Path) Then hLib = Null + Endif + Endif + If Not hLib Then hLib = New CLibraryInfo(sPath) $cAll[sPath] = hLib System information ------------------ [System] Gambas=3.8.90 r7814 OperatingSystem=Linux Kernel=3.2.0-102-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=494M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.7.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 QT5=libQt5Core.so.5.0.2 SDL=libSDL-1.2.so.0.11.3 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Vgcrq9f3RB,guid=82b381f2122303eb902de4e80000002e DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GNOME_KEYRING_CONTROL=/tmp/keyring-wFo0bM GNOME_KEYRING_PID=1866 HOME= LANG=en_US.UTF-8 LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SSH_AGENT_PID=1857 SSH_AUTH_SOCK=/tmp/keyring-wFo0bM/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu/:/etc/xdg/xdg-Lubuntu:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/share/Lubuntu:/usr/local/share/:/usr/share/:/usr/share:/usr/share/gdm:/var/lib/menu-xdg XDG_MENU_PREFIX=lxde- XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_COOKIE=2d9710af0959f6893eb828f100000008-1468684489.111762-783474923 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 _LXSESSION_PID=1824 From bugtracker at ...3416... Tue Jul 19 04:47:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 19 Jul 2016 02:47:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #966: Project-property >> Libraries | Description always "WARNING!Library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.966&from=L21haW4- Zainudin AHMAD added an attachment: test-lib.tar.gz From bugtracker at ...3416... Tue Jul 19 04:47:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 19 Jul 2016 02:47:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #966: Project-property >> Libraries | Description always "WARNING!Library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.966&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Tue Jul 19 04:48:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 19 Jul 2016 02:48:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #966: Project-property >> Libraries | Description always "WARNING!Library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.966&from=L21haW4- Zainudin AHMAD added an attachment: gambas3-3.8.90~gambas3-3.8.90.patch From ea7dfh at ...2382... Tue Jul 19 16:00:51 2016 From: ea7dfh at ...2382... (Jesus Guardon) Date: Tue, 19 Jul 2016 16:00:51 +0200 Subject: [Gambas-user] Missing images on the Wiki Message-ID: <8fc6ca00-080b-3961-0644-fd4321c6dcd3@...2382...> Hi, Just FYI, in the ODBC page there are several broken links to images. I've been testing other paths to the pics, but I don't know even if they are still in the HD: http://gambaswiki.org/wiki/doc/odbc Any chance to get it fixed? (Beware of cached content) Thanks! Jes?s Guardon From d4t4full at ...626... Tue Jul 19 19:34:27 2016 From: d4t4full at ...626... (ML) Date: Tue, 19 Jul 2016 14:34:27 -0300 Subject: [Gambas-user] Missing images on the Wiki In-Reply-To: <8fc6ca00-080b-3961-0644-fd4321c6dcd3@...2382...> References: <8fc6ca00-080b-3961-0644-fd4321c6dcd3@...2382...> Message-ID: <041f4602-3c21-c75f-e7a0-68e7f2334b7c@...626...> Jesus, Please note that, since Gambas 3.8.1, IIRC, gb.db.odbc was made to support the so-called "Connection Strings". I am responsible for this mess, and am still trying to enhance it. None of the following is in the docs yet, AFAIK. Instead of passing a Host named in the corresponding INI file, you may well pass a Connection String. The only real ODBC set-up (tested with unixODBC, not iODBC) left for the user or sysadmin is the Driver configuration. The huge advantage of using connection strings, in my humble opinion, is that in order to use a different database engine you do not have to change any code; just the string used to connect. And this string can be part of the program configuration. For example, assume unixODBC, and FreeTDS and MySQL drivers are installed, and you have this odbcinst.ini: [FreeTDS] Description = FreeTDS Driver v0.91 Driver64 = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so Setup64 = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so UsageCount = 1 DontDLCLose = 1 fileusage = 1 [MySQL] Description = MySQL 5.1 ODBC Driver Driver64 = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc5.so Setup64 = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so UsageCount = 1 DontDLCLose = 1 fileusage = 1 You could connect with any FreeTDS- or MySQL- supported servers. No need to edit other INI files. Gambas 3 example (note that I only set 2 properties of $conn): Public $conn As Connection Public Sub cmdConnect_Click() Inc Application.Busy Try $conn.Close 'In case the button is clicked again SetStatus("Connecting...") DB.Debug = chkDBDebug.Value $conn.Type = "odbc" $conn.Host = txtConnString.Text 'txtConnString is a textbox with a (possibly) user-defined conn string. $conn.Open SetStatus("Connected OK to database '" & $conn.Name & "'") Finally Dec Application.Busy Catch SetStatus("Error connecting: " & Error.Text & " at " & Error.Where) End An example Connection String for FreeTDS that works with the code above (placeholders in angle-brackets): Driver=FreeTDS;TDS_Version=7.2;Server=;Port=;UId=;Pwd=;Database= The Driver= keyword instructs unixODBC to use the FreeTDS section defined in odbcinst.ini. All other keywords are particular to -and dependant on- the driver selected. This has been tested to work with MSSQL 2005 and 2008 servers. One quirk it has that I still could not fix is to return the proper database name in .Name. Looks like my C is not up to that task yet. Regards, On 2016-07-19 11:00, Jesus Guardon wrote: > Hi, > Just FYI, in the ODBC page there are several broken links to images. > I've been testing other paths to the pics, but I don't know even if > they are still in the HD: > http://gambaswiki.org/wiki/doc/odbc > Any chance to get it fixed? > (Beware of cached content) > Thanks! > Jes?s Guardon -- zxMarce. From mckaygerhard at ...626... Wed Jul 20 03:52:11 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 19 Jul 2016 21:52:11 -0400 Subject: [Gambas-user] Missing images on the Wiki In-Reply-To: <041f4602-3c21-c75f-e7a0-68e7f2334b7c@...626...> References: <8fc6ca00-080b-3961-0644-fd4321c6dcd3@...2382...> <041f4602-3c21-c75f-e7a0-68e7f2334b7c@...626...> Message-ID: the dconection string its a great workaround that i was using in codeigniter, now with this in gambas its important, need it for seriaous! thanks great! please made documentation! that its very great news! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-07-19 13:34 GMT-04:00 ML : > Jesus, > > Please note that, since Gambas 3.8.1, IIRC, gb.db.odbc was made to > support the so-called "Connection Strings". > I am responsible for this mess, and am still trying to enhance it. None > of the following is in the docs yet, AFAIK. > > Instead of passing a Host named in the corresponding INI file, you may > well pass a Connection String. > The only real ODBC set-up (tested with unixODBC, not iODBC) left for the > user or sysadmin is the Driver configuration. > The huge advantage of using connection strings, in my humble opinion, is > that in order to use a different database engine you do not have to > change any code; just the string used to connect. And this string can be > part of the program configuration. > > For example, assume unixODBC, and FreeTDS and MySQL drivers are > installed, and you have this odbcinst.ini: > > [FreeTDS] > Description = FreeTDS Driver v0.91 > Driver64 = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so > Setup64 = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so > UsageCount = 1 > DontDLCLose = 1 > fileusage = 1 > > [MySQL] > Description = MySQL 5.1 ODBC Driver > Driver64 = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc5.so > Setup64 = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so > UsageCount = 1 > DontDLCLose = 1 > fileusage = 1 > > You could connect with any FreeTDS- or MySQL- supported servers. No need > to edit other INI files. Gambas 3 example (note that I only set 2 > properties of $conn): > > Public $conn As Connection > > Public Sub cmdConnect_Click() > Inc Application.Busy > Try $conn.Close 'In case the button is clicked again > SetStatus("Connecting...") > DB.Debug = chkDBDebug.Value > $conn.Type = "odbc" > $conn.Host = txtConnString.Text 'txtConnString is a textbox with a > (possibly) user-defined conn string. > $conn.Open > SetStatus("Connected OK to database '" & $conn.Name & "'") > Finally > Dec Application.Busy > Catch > SetStatus("Error connecting: " & Error.Text & " at " & Error.Where) > End > > An example Connection String for FreeTDS that works with the code above > (placeholders in angle-brackets): > > Driver=FreeTDS;TDS_Version=7.2;Server= Name>;Port=;UId= name>;Pwd=;Database= > > The Driver= keyword instructs unixODBC to use the FreeTDS section > defined in odbcinst.ini. All other keywords are particular to -and > dependant on- the driver selected. > This has been tested to work with MSSQL 2005 and 2008 servers. > > One quirk it has that I still could not fix is to return the proper > database name in .Name. Looks like my C is not up to that task yet. > > Regards, > > On 2016-07-19 11:00, Jesus Guardon wrote: > > Hi, > > Just FYI, in the ODBC page there are several broken links to images. > > I've been testing other paths to the pics, but I don't know even if > > they are still in the HD: > > http://gambaswiki.org/wiki/doc/odbc > > Any chance to get it fixed? > > (Beware of cached content) > > Thanks! > > Jes?s Guardon > -- > zxMarce. > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Jul 21 12:41:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 10:41:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- Text Edit Crash & List Edit Crash Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Hi, I had thought that this was fixed. But it still happens in certain circumstances. Noted ones are: 1. When two gambas instances are running and you edit the Text property of any control using the 3 dots button. 2. Same as above but List property. 3. When there is evince running in the background and you edit the Text property of any control using the 3 dots button. 4. Same but with List. 5. When there is Gedit running in the background and you edit the Text property of any control using the 3 dots button. 6. Same but with List. Thanks. From bugtracker at ...3416... Thu Jul 21 14:12:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 12:12:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #1 by Beno?t MINISINI: What is the crash exactly? And please fill your system information. You can do that in your account settings so that all your bugs are automatically filled. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Thu Jul 21 14:23:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 12:23:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #2 by Mufeed ALI: Now its happening Randomly as well. From bugtracker at ...3416... Thu Jul 21 14:29:57 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 12:29:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Mufeed ALI added an attachment: bla.png From bugtracker at ...3416... Thu Jul 21 14:35:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 12:35:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #3 by Mufeed ALI: I've attached a picture to let you understand what crashes. I meant the window labeled 'Edit Text Property'. From bugtracker at ...3416... Thu Jul 21 14:47:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 12:47:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #4 by Beno?t MINISINI: OK, but you didn't tell me what the crash is: which error message you get... From bugtracker at ...3416... Thu Jul 21 14:48:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 12:48:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #5 by Beno?t MINISINI: Where did you get these nice icons? :-) From bugtracker at ...3416... Thu Jul 21 20:48:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 18:48:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #6 by Mufeed ALI: Crash message? Nothing at all. The IDE stops responding to anything and then to get out of there, you have no option but to force close it. The icons are from Numix-Circle. :-) From bugtracker at ...3416... Thu Jul 21 20:50:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 21 Jul 2016 18:50:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #7 by Mufeed ALI: By the way, is there anyway we can get WebView from GTK+? From bugtracker at ...3416... Fri Jul 22 22:21:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 22 Jul 2016 20:21:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #968: Issues found in current build logs for gambas3 on Debian for c_crypt.c and c_window.c Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.968&from=L21haW4- gbWilly GAMBOS reported a new bug. Summary ------- Issues found in current build logs for gambas3 on Debian for c_crypt.c and c_window.c Type : Bug Priority : Low Gambas version : Unknown Product : Unknown Description ----------- Hi all, Does any of the devs ever check https://qa.debian.org/bls/packages/g/gambas3.html. It seems that some of the Gambas 3.8.4 .c files have some issues. First there is 2 issues in c_crypt.c c_crypt.c:122 -> pointer trouble at implicit --------- description: The build log contains the term warning: ... makes pointer from integer without a cast or a warning: cast to pointer from integer of different size for the same line as a warning: implicit declaration of function There is a extremly high likelihood that this causes misheaviour, at least on 64 bit architectures. Implicit declaration means a function is used without being declared, which means C assumes all it's arguments are 32 bit integers and the return value is a 32 bit integer. If the return value is a pointer that means it is cast to an integer and back, discarding all the high bits, corrupting pointers. --------- c_crypt.c:137 --> pointer from integer --------- The build log contains the term warning: ... makes pointer from integer without a cast This usually indicates some problem in the code or some very sloppy programing. There is some high likelyhood this code might also have issues at least on 64 bit architectures. Using an explicit cast in the code, this compiler warning can be silenced. If this compiler warning is emitted for the same line as a previous implicit declaration warning, the tag E-pointer-trouble-at-implicit is generated instead. --------- Next one issue in c_window.c c_window.c:563 --> implicit-declaration --------- The build log contains the term warning: implicit declaration of function ... Implicit declaration means a function is used without being declared, which means C knows nothing about the number of arguments, types of arguments or type of the return value. This is dangerous as it might hide issues the compiler could otherwise warn about or cause bad code. If this is found together with other warnings indicating especially bad things happening, the tag E-pointer-trouble-at-implicit is generated instead. --------- Maybe these can prevented easily, so future builds on Debian will no longer have these issues. Thanks, gbWilly System information ------------------ Multiple systems: 1. --------------------------------------------- [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 2. --------------------------------------------- [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3. --------------------------------------------- [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-4-586 Architecture=x86 Distribution=debian 8.1 Desktop=LXDE Theme=QWindows Language=en_US.UTF-8 Memory=945M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.12 GStreamer=libgstreamer-1.0.so.0.404.0 GTK+3=libgtk-3.so.0.1400.5 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 4. --------------------------------------------- [System] Gambas=3.8.90 (rev#7527) OperatingSystem=Linux Kernel=3.19.0-28-generic Architecture=x86 Distribution=Ubuntu 14.04.3 LTS Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=937M [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 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-d2tYwNrIPc DEFAULTS_PATH=/usr/share/gconf/Lubuntu.default.path DESKTOP_SESSION=Lubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=Lubuntu GDM_LANG=en_US GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Eo5i6s GNOME_KEYRING_PID=1473 GPG_AGENT_INFO=/run/user/1000/keyring-Eo5i6s/gpg:0:1 GTK_IM_MODULE=xim HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/Lubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=xim SAL_USE_VCLPLUGIN=gtk SELINUX_INIT=YES SESSION=Lubuntu SESSIONTYPE=lxsession SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring-Eo5i6s/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_EVENTS=started xsession UPSTART_INSTANCE= UPSTART_JOB=lxsession UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1329 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/lubuntu:/etc/xdg/xdg-Lubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share/Lubuntu:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxde- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _LXSESSION_PID=1515 5. --------------------------------------------- [System] Gambas=3.8.90 (rev#7618) OperatingSystem=Linux Kernel=3.2.0-92-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=Gtk Language=nl_NL.UTF-8 Memory=2004M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+2=libgtk-x11-2.0.so.0.2400.10 GTK+3=libgtk-3.so.0.400.2 Poppler=libpoppler.so.19.0.0 QT4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_ADDRESS=unix:abstract=/tmp/dbus-0u5IGaGXG3,guid=4d001ab8066e9b5d7e5e1f9300000021 DBUS_STARTER_BUS_TYPE=session DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GPG_AGENT_INFO=/tmp/keyring-956Xzu/gpg:0:1 HOME= LANG=nl_NL.UTF-8 LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MATE_KEYRING_CONTROL=/tmp/keyring-956Xzu MDMSESSION=mate MDM_LANG=nl_NL.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD= SESSION_MANAGER=local/:@/tmp/.ICE-unix/1741,unix/:/tmp/.ICE-unix/1741 SHELL=/bin/bash SSH_AGENT_PID=1802 SSH_AUTH_SOCK=/tmp/keyring-956Xzu/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_SESSION_COOKIE=e227274bb17bcf421ba09f9c00000009-1449781858.809691-713854121 From bugtracker at ...3416... Fri Jul 22 22:31:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 22 Jul 2016 20:31:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #968: Issues found in current build logs for gambas3 on Debian for c_crypt.c and c_window.c In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.968&from=L21haW4- Comment #1 by Beno?t MINISINI: The error on c_crypt.c in on BSD systems, and has been fixed in revision #7574. The warning on c_window.c is a bug in SDL that forgot to declare a useful function in its header. Maybe I should declare it myself to remove the warning. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Fri Jul 22 22:37:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 22 Jul 2016 20:37:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #968: Issues found in current build logs for gambas3 on Debian for c_crypt.c and c_window.c In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.968&from=L21haW4- Comment #2 by Beno?t MINISINI: Sorry, I was wrong: the c_window.c warning was a typo mistake! I fixed in in revision #7828. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Jul 22 22:44:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 22 Jul 2016 20:44:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #968: Issues found in current build logs for gambas3 on Debian for c_crypt.c and c_window.c In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.968&from=L21haW4- Comment #3 by gbWilly GAMBOS: Wow, that was quick... Thanks :) From bugtracker at ...3416... Fri Jul 22 22:44:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 22 Jul 2016 20:44:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #968: Issues found in current build logs for gambas3 on Debian for c_crypt.c and c_window.c In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.968&from=L21haW4- gbWilly GAMBOS changed the state of the bug to: Opened. From bugtracker at ...3416... Fri Jul 22 22:47:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 22 Jul 2016 20:47:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #968: Issues found in current build logs for gambas3 on Debian for c_crypt.c and c_window.c In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.968&from=L21haW4- gbWilly GAMBOS changed the state of the bug to: Fixed. From bagonergi at ...626... Sat Jul 23 10:37:45 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 23 Jul 2016 10:37:45 +0200 Subject: [Gambas-user] Title of WebView Message-ID: Hello to all, I never used WebView and before reporting a malfunction ask you if it's used well, see attached. Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: TitleWebWiew-0.0.1.tar.gz Type: application/x-gzip Size: 11705 bytes Desc: not available URL: From gambas at ...1... Sat Jul 23 10:47:30 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 23 Jul 2016 10:47:30 +0200 Subject: [Gambas-user] Title of WebView In-Reply-To: References: Message-ID: <57932F22.5030308@...1...> Le 23/07/2016 10:37, Gianluigi a ?crit : > Hello to all, > I never used WebView and before reporting a malfunction ask you if it's > used well, see attached. > Regards > Gianluigi > WebView is a web browser, and a web browser use URLs (did you notice the name of the property?) So I suggest you look at what URLs are. But even if you use the accurate URL to access file on disk, you won't be able to access files located inside your project as soon as you make an executable. You must copy your file in a temporary location first, and makes the WebView point at it. Regards, -- Beno?t Minisini From bugtracker at ...3416... Sat Jul 23 11:10:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 23 Jul 2016 09:10:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Comment #15 by Beno?t MINISINI: Please create a new issue for a different bug. From bugtracker at ...3416... Sat Jul 23 11:10:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 23 Jul 2016 09:10:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #963: TextArea Foreground In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.963&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Fixed. From bagonergi at ...626... Sat Jul 23 11:48:22 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 23 Jul 2016 11:48:22 +0200 Subject: [Gambas-user] Title of WebView In-Reply-To: <57932F22.5030308@...1...> References: <57932F22.5030308@...1...> Message-ID: Hello Benoit, something (not much :-)) I know of relative paths, the attachment is only a condensed test. I did not think to put WAIT before WebView.Title, now works. Thank you and regards Gianluigi 2016-07-23 10:47 GMT+02:00 Beno?t Minisini : > Le 23/07/2016 10:37, Gianluigi a ?crit : > > Hello to all, > > I never used WebView and before reporting a malfunction ask you if it's > > used well, see attached. > > Regards > > Gianluigi > > > > WebView is a web browser, and a web browser use URLs (did you notice the > name of the property?) So I suggest you look at what URLs are. > > But even if you use the accurate URL to access file on disk, you won't > be able to access files located inside your project as soon as you make > an executable. You must copy your file in a temporary location first, > and makes the WebView point at it. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sun Jul 24 17:20:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 24 Jul 2016 15:20:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #928: Would it be possible to be admitted declare when going to be used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.928&from=L21haW4- Comment #1 by Moviga TECHNOLOGIES: I was surprised to see this getting the status of 'Accepted' :) Does this mean that you'll implement it Beno?t? :D From bugtracker at ...3416... Sun Jul 24 19:39:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 24 Jul 2016 17:39:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #928: Would it be possible to be admitted declare when going to be used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.928&from=L21haW4- Comment #2 by Beno?t MINISINI: Yes, because it's mainly a matter of removing the code that prevent that. But I don't know when I will implement it, because I may release Gambas 3.9 first when I come back from holidays. From bugtracker at ...3416... Sun Jul 24 20:47:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 24 Jul 2016 18:47:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #12 by Charlie REINL: I hope I can you prepare the data and project and grant you an ssh access soon, maybe after your holidays. From bugtracker at ...3416... Sun Jul 24 21:53:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 24 Jul 2016 19:53:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #928: Would it be possible to be admitted declare when going to be used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.928&from=L21haW4- Comment #3 by Moviga TECHNOLOGIES: I like that! :) From garvied1 at ...626... Tue Jul 26 11:28:51 2016 From: garvied1 at ...626... (Javier Garcia) Date: Tue, 26 Jul 2016 11:28:51 +0200 Subject: [Gambas-user] Icon size on deb package Message-ID: <1469525331.14154.1.camel@...626...> I'm using 3.8.4 gambas in 16.04 with gnome ubuntu 3.20 From mufeed.ali53 at ...626... Tue Jul 26 13:33:50 2016 From: mufeed.ali53 at ...626... (Mufeed Ali) Date: Tue, 26 Jul 2016 14:33:50 +0300 Subject: [Gambas-user] Icon size on deb package In-Reply-To: <1469525331.14154.1.camel@...626...> References: <1469525331.14154.1.camel@...626...> Message-ID: Hi, I too faced the same issue once. The fix? Well, you could edit the deb package yourself. To Unpack, use this tutorial: http://news.softpedia.com/news/How-to-Repack-Deb-Files-on-Debian-and-Ubuntu-404930.shtml Then, add your icons in the supported format. How? In /usr/share in the extracted files, create a folder called "icons", inside the new folder, create a folder called "hicoler". Now comes the trickier part. Decide which resolutions do you want your icon to be available in. Then, create PNG files of the icon you chose with all the resolutions you need. Now, create several folders with the resolutions you chose as titles, like "22x22", "32x32", "256x256", etc. Create an "apps" folder inside EVERY resolutions' folders. Now, paste the PNG files into the apps folders of the different resolutions. All of the PNG files MUST have the same filename. Now, go to /usr/share/applications in the extracted files, you will see a file with ".desktop" as its file extension. Open it with a Text Editor (Recommended: Gedit. Simply open Gedit on the side, then drag the file into the Gedit window.). You wil see a line like: Icon="/usr/pixmaps/your-icon.xpm". Now change it into: Icon="common-png-filename". That is, change it into the file name you kept for the PNGs you copied earlier. BUT with NO file extension and NO file path. Repack it using the tutorial linked above. IMPORTANT: This can be bad if you plan to distribute the app as it gives bad Lint output. It'll give warnings to users and all that. But if its for personal use, its ok. You CAN fix the bad Lint output too but It'll be a little hard especially if your release cycle is fast. To fix it, just read the Lintian output and make changes accordingly to the package you made. Why is this tiring? Because each time you do this, you WILL (not maybe) have to retrieve the MD5 sums of the icons and add them to the md5sums file in the DEBIAN folder (after extraction). This won't be hard if you rarely change your logo. If you don't change it, just save your MD5 SUMs somewhere and copy-paste it when needed. Hope I was helpful. On Tue, Jul 26, 2016 at 12:28 PM, Javier Garcia wrote: > I'm using 3.8.4 gambas in 16.04 with gnome ubuntu 3.20 > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From garvied1 at ...626... Tue Jul 26 17:08:22 2016 From: garvied1 at ...626... (Javier Garcia) Date: Tue, 26 Jul 2016 17:08:22 +0200 Subject: [Gambas-user] Icon size on deb package In-Reply-To: References: <1469525331.14154.1.camel@...626...> Message-ID: <1469545702.6333.2.camel@...626...> Thank you for responding, but it does not work. I followed the instructions and unzipped the deb and added the icon in the folder /usr/share/icons/hicoler/256x256/apps and I modified the .desktop file, but after rebuild the deb and install the icon is still small. I'm doing something wrong, it does not give any error message or decompressing and generate the deb. El mar, 26-07-2016 a las 14:33 +0300, Mufeed Ali escribi?: > Hi, > I too faced the same issue once. The fix? Well, you could edit the >? From taboege at ...626... Tue Jul 26 18:01:45 2016 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Jul 2016 18:01:45 +0200 Subject: [Gambas-user] Public controls Message-ID: <20160726160145.GB20652@...3600...> Hi list, I have a history question. I was told there was quite a debate among contributors to the Gambas-Buch.de, over whether public controls on a form are a good or bad thing. Personally, I'm by experience a fan of information hiding, and IIRC I read a statement of Benoit's where he says that there are no global variables in Gambas because it's poor practice / not OOP. Now global variables is arguably a different topic as public members, but making controls public is a serious violation of information hiding, in almost every case, and there is even an option to make all controls public by default. Seeing that none of these features is used anywhere in the Gambas source tree *except* for [1], my question is: Why were these options introduced in the first place? Did users just ask for it often enough? Also rest assured, I didn't take part in that debate and I'm not fishing for an authoritative argument here. I'm just curious. Regards, Tobi [1] app/src/gambas3/.src/Help/FHelpBrowser.form:104 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Jul 26 18:26:14 2016 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Jul 2016 18:26:14 +0200 Subject: [Gambas-user] Use gb.web.form in a web project with not only web forms Message-ID: <20160726162614.GC20652@...3600...> Hi Benoit, I have some projects using gb.web.form now and in every of these I have the requirement not only to load webforms but also a webpage or to implement some other URL schema to generate or serve a ressource. As I see it, gb.web.form wants to take complete control over the project's Main() routine (correct me if I'm wrong here), whereas my projects require some analysis of the request path in their Main() such as: Select Case Mid$(Request.Path, 2) Case "favicon.png" sPath = Server.DataDir &/ "favicon.png" If Exist(sPath) Then Response.SendFile(sPath) Else Response.SendFile("default.png") Endif Case Like "data:*" ' server data Response.SendFile(Server.DataDir &/ Mid$(Request.Path, 7)) Case Like "?*:*" ' possibly user data, might also be /lib:0.0.1.js from gb.web.form ' Note that this URL is not protected by the session With Scan(Mid$(Request.Path, 2), "*:*") If Users.Exist(.[0]) Then Users[.[0]].SendFile(.[1]) Else Goto _Default Endif End With Case "upload" ' ... : : ' Other special URLs and URL schemata : Case "" ' root If CheckSession() Then Return Home.Run() Default _Default: ' XXX: This is a hack to get gb.web.form data and to pipe its javascript ' magic through. With Scan(Request.Path, "/*/*") If .Count Then Try Class.Stat(.[0]) If Error Then Request.Path = "/" &/ File.Name(Request.Path) Endif Endif End With WebForm.Main() End Select I have to serve data from a preconfigured server directory, generate some data on-the-fly, send project-internal data or serve webforms. As you may be able to tell, the Default case handles gb.web.form integration into the control flow and it's not pretty. Do you have any idea? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From garvied1 at ...626... Wed Jul 27 05:02:48 2016 From: garvied1 at ...626... (Javier Garcia) Date: Wed, 27 Jul 2016 05:02:48 +0200 Subject: [Gambas-user] Icon size on deb package In-Reply-To: References: <1469525331.14154.1.camel@...626...> Message-ID: <1469588568.30809.1.camel@...626...> Already solved, the problem was in the name of the folder mistakenly put hicoler instead of hicolor. Thank you El mar, 26-07-2016 a las 14:33 +0300, Mufeed Ali escribi?: From ujlain at ...626... Wed Jul 27 05:30:00 2016 From: ujlain at ...626... (Vinode Singh Ujlain) Date: Tue, 26 Jul 2016 20:30:00 -0700 (MST) Subject: [Gambas-user] SQLite - in memory DB In-Reply-To: <57667AA3.1020903@...626...> References: <57667AA3.1020903@...626...> Message-ID: <1469590200043-56816.post@...3046...> I am able to attach a file based SQLite database to in-memory DB and copy entire database (all tables sequentially using create table + select * from..) into in-memory DB.How do I do the reverse ? i.e dump in-memory DB onto a file based sqlite DB by attaching the memory based DB to file based DB ? The trouble with in-memory database is - it is gone when the program terminates, thus debugging is tedious !Could someone guide ?regards - UZI -- View this message in context: http://gambas.8142.n7.nabble.com/SQLite-in-memory-DB-tp56508p56816.html Sent from the gambas-user mailing list archive at Nabble.com. From mufeed.ali53 at ...626... Wed Jul 27 10:59:38 2016 From: mufeed.ali53 at ...626... (Mufeed Ali) Date: Wed, 27 Jul 2016 11:59:38 +0300 Subject: [Gambas-user] Icon size on deb package In-Reply-To: <1469588568.30809.1.camel@...626...> References: <1469525331.14154.1.camel@...626...> <1469588568.30809.1.camel@...626...> Message-ID: Your welcome. On Wed, Jul 27, 2016 at 6:02 AM, Javier Garcia wrote: > Already solved, the problem was in the name of the folder mistakenly > put hicoler instead of hicolor. > > Thank you > El mar, 26-07-2016 a las 14:33 +0300, Mufeed Ali escribi?: > > > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Thu Jul 28 13:18:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 11:18:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4- Tobias BOEGE reported a new bug. Summary ------- Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- Hi Benoit, we talked about closing a Process stream (which is always closing its input stream) here [1]. Everything was working fine after that clarification and I haven't updated Gambas since then, until now. (I'm basically opening a Gimp process, pipe a script into it and close the Process stream to signal the end of the script. Afterwards I use Eof() and Lof() to get its output.) After the update, however, I get the error "Stream is closed" when using Eof() and Lof() on the Process, after closing its input stream. That did not happen before. Instead it would return the correct values for the child's output stream. A sample project using "cat" is attached. Regards, Tobi [1] https://sourceforge.net/p/gambas/mailman/message/35152362/ From bugtracker at ...3416... Thu Jul 28 13:18:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 11:18:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4- Tobias BOEGE added an attachment: stream-is-closed-0.0.1.tar.gz From bugtracker at ...3416... Thu Jul 28 14:54:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 12:54:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #8 by Mufeed ALI: Um, so whats the situation now? From bugtracker at ...3416... Thu Jul 28 17:44:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 15:44:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #970: Template list is not visible Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.970&from=L21haW4- Daniel MOREIRA reported a new bug. Summary ------- Template list is not visible Type : Bug Priority : Medium Gambas version : Unknown Product : GUI components Description ----------- When I try to create a new project, the template list appears empty and therefore, is not posible to continue. System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.6.4-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=es_AR.UTF-8 Memory=7556M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.0.0 Curl=libcurl.so.4.1.0 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.3.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.2000.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.59.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=es_AR.UTF-8 LANGUAGE=es LOGNAME= MAIL=/var/spool/mail/ PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/560,unix/:/tmp/.ICE-unix/560 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Thu Jul 28 17:44:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 15:44:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #970: Template list is not visible In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.970&from=L21haW4- Daniel MOREIRA added an attachment: IMG_20160727_132426935.jpg From bugtracker at ...3416... Thu Jul 28 17:49:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 15:49:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #971: Template list is empty Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.971&from=L21haW4- Daniel MOREIRA reported a new bug. Summary ------- Template list is empty Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- When I try to create a new project, the template list appears empty and therefore, is not posible to continue. System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=4.6.4-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=es_AR.UTF-8 Memory=7556M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.0.0 Curl=libcurl.so.4.1.0 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.3.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.2000.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.59.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=es_AR.UTF-8 LANGUAGE=es LOGNAME= MAIL=/var/spool/mail/ PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/560,unix/:/tmp/.ICE-unix/560 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Thu Jul 28 17:50:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 15:50:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #971: Template list is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.971&from=L21haW4- Daniel MOREIRA added an attachment: Screenshot_20160728_124808.png From bugtracker at ...3416... Thu Jul 28 17:53:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 28 Jul 2016 15:53:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #970: Template list is not visible In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.970&from=L21haW4- Comment #1 by Daniel MOREIRA: PLEASE I MADE A MISTAKE HERE JAJAJAJA. Daniel MOREIRA changed the state of the bug to: Invalid. From bagonergi at ...626... Fri Jul 29 12:29:44 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 29 Jul 2016 12:29:44 +0200 Subject: [Gambas-user] Gambas 3.8.4 from snapshot Message-ID: Hi Benoit, I downloaded Gambas 3.8.4 from snapshot. When it start I get the error "Not an object" on class CreportBrush, line 74. If I change the code from "hBrush = Paint.Color (Color.Gray)" to "hBrush = Paint.Color (& H808080 &)" it works but appears as trunk 3.8.90. Regards Gianluigi From bugtracker at ...3416... Fri Jul 29 16:50:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 29 Jul 2016 14:50:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #9 by Mufeed ALI: I'll give as much info as I can. I'm on Revision 7830, freshly checked out. The ListEdit and TextEdit close and make the IDE "not responding". Gambas debugger says Segmentation Fault(11). Checked the code myself, nothing seems to be wrong with the code. To reproduce: Add a listbox to form. Add about 10 items to it and save. If it doesn't happen first time, repeat same thing for about 3 times. If it still doesn't happen, its something with Ubuntu and its shared libraries or something like that. From bugtracker at ...3416... Fri Jul 29 20:38:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 29 Jul 2016 18:38:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #10 by Charlie REINL: I could reproduce a crash 3 times. Like MUFEED20 says - Create a new project a graphical application - add a listbox - open the LIST properties dialog and click 11 times 'Insert' now close the DialogBox by OK or the topRight Close-Button could it reproduce 3 times. 2 times the IDE just close, the third time I had the IDE in DEBUG-Mode (in the IDE) and I got a #11 From bugtracker at ...3416... Sat Jul 30 11:58:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jul 2016 09:58:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #11 by Mufeed ALI: Yup. Thanks for the test. I was afraid it was something wrong with my installation of Ubuntu, with about 15 added PPAs. Thanks for confirming it. :) From bugtracker at ...3416... Sat Jul 30 12:26:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jul 2016 10:26:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #972: TextArea Read-only Bug. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.972&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- TextArea Read-only Bug. Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, This is kind of a continuation of the textarea bug I reported earlier. Now, ALMOST everything works well. BUT before releasing Gambas 3.9, you must fix the TextArea bug. It must be simple. Its just that when you set TextArea to read-only and then do cut or paste through shotcuts(hotkeys) it works. Extremely easy to reproduce: Just put a textarea, set it to read-only, keep some text inside, run it. Then, during runtime, do Control+X inside the textarea and do Control+V. It'll work instead of being cancelled. Temporary workaround for users: Public Sub TextArea1_KeyPress() 'Workaround For Gambas' TextBox shortcuts issue. If Key.Control = True And (Key.Code = Key["X"]) Then Stop Event Else If Key.Control = True And (Key.Code = Key["V"]) Then Stop Event Endif End Also, Benoit I need your help with some things. I'm working on the Packager module of Gambas. I need some help with it though. So, how can I get in contact with you? Thank you. System information ------------------ [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=4.4.0-31-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=3919M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s6qrZrC6WE DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=18638 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=ibus QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3022 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Sat Jul 30 12:32:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jul 2016 10:32:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #12 by Mufeed ALI: I did some more tests, its not something wrong with the ListEdit at all. Its the way the IDE accepts the Input. Gonna do more tests. Please also refer to Charlie's tests as they can be very helpful. From bugtracker at ...3416... Sat Jul 30 12:38:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jul 2016 10:38:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #13 by Charlie REINL: can you test that with rev.7802 or before? From bugtracker at ...3416... Sat Jul 30 13:31:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jul 2016 11:31:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #14 by Mufeed ALI: Unfortunately, i don't have older revisions. :( Do you know a way to get it? From bugtracker at ...3416... Sat Jul 30 13:36:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jul 2016 11:36:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #15 by Mufeed ALI: Checked on 7802, bug was still existant. From d4t4full at ...626... Sat Jul 30 19:21:56 2016 From: d4t4full at ...626... (...) Date: Sat, 30 Jul 2016 14:21:56 -0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #972: TextArea Read-only Bug. In-Reply-To: References: Message-ID: <0a3bba6d-53fd-4b22-8d54-c03681df9215@...3493...> Pease do remember altetnate ways to copy, cut and paste like Ctrl-Insert (copy), Shift-Delete (cut), and Shift-Insert (paste). Been using those since the nineties in DOS with QB45 (QuickBASIC) and Edit.Com. They do also work at least under Ubuntu (been using them since 8.04). I do not know if the OS sends messages to these effects; if it does it would make more se se to watch for these than to make specific filters. Hope that helps, zxMarce. On Jul 30, 2016, 07:29, at 07:29, bugtracker at ...3416... wrote: >http://gambaswiki.org/bugtracker/edit?object=BUG.972&from=L21haW4- > >Mufeed ALI reported a new bug. > >Summary >------- > >TextArea Read-only Bug. > >Type : Bug >Priority : Medium >Gambas version : Unknown >Product : Unknown > > >Description >----------- > >Hi, >This is kind of a continuation of the textarea bug I reported earlier. >Now, ALMOST everything works well. BUT before releasing Gambas 3.9, you >must fix the TextArea bug. It must be simple. Its just that when you >set TextArea to read-only and then do cut or paste through >shotcuts(hotkeys) it works. >Extremely easy to reproduce: Just put a textarea, set it to read-only, >keep some text inside, run it. Then, during runtime, do Control+X >inside the textarea and do Control+V. It'll work instead of being >cancelled. >Temporary workaround for users: > >Public Sub TextArea1_KeyPress() > 'Workaround For Gambas' TextBox shortcuts issue. > If Key.Control = True And (Key.Code = Key["X"]) Then > Stop Event > Else If Key.Control = True And (Key.Code = Key["V"]) Then > Stop Event > Endif >End > >Also, Benoit I need your help with some things. I'm working on the >Packager module of Gambas. I need some help with it though. So, how can >I get in contact with you? > >Thank you. > > >System information >------------------ > >[System] >Gambas=3.8.90 >OperatingSystem=Linux >Kernel=4.4.0-31-generic >Architecture=x86_64 >Distribution=Ubuntu 16.04.1 LTS >Desktop=UNITY >Theme=Gtk >Language=en_US.UTF-8 >Memory=3919M > >[Libraries] >Cairo=libcairo.so.2.11400.6 >Curl=libcurl.so.4.4.0 >DBus=libdbus-1.so.3.14.6 >GStreamer=libgstreamer-0.10.so.0.30.0 >GStreamer=libgstreamer-1.0.so.0.802.0 >GTK+2=libgtk-x11-2.0.so.0.2400.30 >GTK+3=libgtk-3.so.0.1800.9 >OpenGL=libGL.so.1.2.0 >Poppler=libpoppler.so.58.0.0 >QT4=libQtCore.so.4.8.7 >QT5=libQt5Core.so.5.5.1 >SDL=libSDL-1.2.so.0.11.4 >SQLite=libsqlite3.so.0.8.6 > >[Environment] >CLUTTER_IM_MODULE=xim >COMPIZ_BIN_PATH=/usr/bin/ >COMPIZ_CONFIG_PROFILE=ubuntu >DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s6qrZrC6WE >DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path >DESKTOP_SESSION=ubuntu >DISPLAY=:0 >GB_GUI=gb.qt4 >GDMSESSION=ubuntu >GDM_LANG=en_US >GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop >GIO_LAUNCHED_DESKTOP_FILE_PID=18638 >GNOME_DESKTOP_SESSION_ID=this-is-deprecated >GNOME_KEYRING_CONTROL= >GNOME_KEYRING_PID= >GTK2_MODULES=overlay-scrollbar >GTK_IM_MODULE=ibus >GTK_MODULES=gail:atk-bridge:unity-gtk-module >HOME= >IM_CONFIG_PHASE=1 >INSTANCE= >JOB=unity-settings-daemon >LANG=en_US.UTF-8 >LANGUAGE=en_US >LC_ADDRESS=en_US.UTF-8 >LC_IDENTIFICATION=en_US.UTF-8 >LC_MEASUREMENT=en_US.UTF-8 >LC_MONETARY=en_US.UTF-8 >LC_NAME=en_US.UTF-8 >LC_NUMERIC=en_US.UTF-8 >LC_PAPER=en_US.UTF-8 >LC_TELEPHONE=en_US.UTF-8 >LC_TIME=en_US.UTF-8 >LOGNAME= >MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path >PAPERSIZE=letter >PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin >PWD= >QT4_IM_MODULE=ibus >QT_ACCESSIBILITY=1 >QT_IM_MODULE=ibus >QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 >QT_QPA_PLATFORMTHEME=appmenu-qt5 >SESSION=ubuntu >SESSIONTYPE=gnome-session >SHELL=/bin/bash >SHLVL=0 >SSH_AUTH_SOCK=/run/user/1000/keyring/ssh >TZ=:/etc/localtime >UPSTART_EVENTS=xsession started >UPSTART_INSTANCE= >UPSTART_JOB=unity7 >UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3022 >USER= >XAUTHORITY=/.Xauthority >XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings >XDG_CURRENT_DESKTOP=Unity >XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop >XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ >XDG_RUNTIME_DIR=/run/user/1000 >XDG_SEAT=seat0 >XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 >XDG_SESSION_DESKTOP=ubuntu >XDG_SESSION_ID=c1 >XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 >XDG_SESSION_TYPE=x11 >XDG_VTNR=7 >XMODIFIERS=@im=ibus > > > >------------------------------------------------------------------------------ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From mufeed.ali53 at ...626... Sun Jul 31 08:41:14 2016 From: mufeed.ali53 at ...626... (Mufeed Ali) Date: Sun, 31 Jul 2016 09:41:14 +0300 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #972: TextArea Read-only Bug. In-Reply-To: <0a3bba6d-53fd-4b22-8d54-c03681df9215@...3493...> References: <0a3bba6d-53fd-4b22-8d54-c03681df9215@...3493...> Message-ID: The shortcuts you mentioned are unaffected by this bug. Thanks though. I didn't know that. :) On Sat, Jul 30, 2016 at 8:21 PM, ... wrote: > Pease do remember altetnate ways to copy, cut and paste like Ctrl-Insert > (copy), Shift-Delete (cut), and Shift-Insert (paste). Been using those > since the nineties in DOS with QB45 (QuickBASIC) and Edit.Com. They do also > work at least under Ubuntu (been using them since 8.04). > > I do not know if the OS sends messages to these effects; if it does it > would make more se se to watch for these than to make specific filters. > > Hope that helps, > zxMarce. > > > > On Jul 30, 2016, 07:29, at 07:29, bugtracker at ...3416... wrote: > >http://gambaswiki.org/bugtracker/edit?object=BUG.972&from=L21haW4- > > > >Mufeed ALI reported a new bug. > > > >Summary > >------- > > > >TextArea Read-only Bug. > > > >Type : Bug > >Priority : Medium > >Gambas version : Unknown > >Product : Unknown > > > > > >Description > >----------- > > > >Hi, > >This is kind of a continuation of the textarea bug I reported earlier. > >Now, ALMOST everything works well. BUT before releasing Gambas 3.9, you > >must fix the TextArea bug. It must be simple. Its just that when you > >set TextArea to read-only and then do cut or paste through > >shotcuts(hotkeys) it works. > >Extremely easy to reproduce: Just put a textarea, set it to read-only, > >keep some text inside, run it. Then, during runtime, do Control+X > >inside the textarea and do Control+V. It'll work instead of being > >cancelled. > >Temporary workaround for users: > > > >Public Sub TextArea1_KeyPress() > > 'Workaround For Gambas' TextBox shortcuts issue. > > If Key.Control = True And (Key.Code = Key["X"]) Then > > Stop Event > > Else If Key.Control = True And (Key.Code = Key["V"]) Then > > Stop Event > > Endif > >End > > > >Also, Benoit I need your help with some things. I'm working on the > >Packager module of Gambas. I need some help with it though. So, how can > >I get in contact with you? > > > >Thank you. > > > > > >System information > >------------------ > > > >[System] > >Gambas=3.8.90 > >OperatingSystem=Linux > >Kernel=4.4.0-31-generic > >Architecture=x86_64 > >Distribution=Ubuntu 16.04.1 LTS > >Desktop=UNITY > >Theme=Gtk > >Language=en_US.UTF-8 > >Memory=3919M > > > >[Libraries] > >Cairo=libcairo.so.2.11400.6 > >Curl=libcurl.so.4.4.0 > >DBus=libdbus-1.so.3.14.6 > >GStreamer=libgstreamer-0.10.so.0.30.0 > >GStreamer=libgstreamer-1.0.so.0.802.0 > >GTK+2=libgtk-x11-2.0.so.0.2400.30 > >GTK+3=libgtk-3.so.0.1800.9 > >OpenGL=libGL.so.1.2.0 > >Poppler=libpoppler.so.58.0.0 > >QT4=libQtCore.so.4.8.7 > >QT5=libQt5Core.so.5.5.1 > >SDL=libSDL-1.2.so.0.11.4 > >SQLite=libsqlite3.so.0.8.6 > > > >[Environment] > >CLUTTER_IM_MODULE=xim > >COMPIZ_BIN_PATH=/usr/bin/ > >COMPIZ_CONFIG_PROFILE=ubuntu > >DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s6qrZrC6WE > >DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path > >DESKTOP_SESSION=ubuntu > >DISPLAY=:0 > >GB_GUI=gb.qt4 > >GDMSESSION=ubuntu > >GDM_LANG=en_US > >GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop > >GIO_LAUNCHED_DESKTOP_FILE_PID=18638 > >GNOME_DESKTOP_SESSION_ID=this-is-deprecated > >GNOME_KEYRING_CONTROL= > >GNOME_KEYRING_PID= > >GTK2_MODULES=overlay-scrollbar > >GTK_IM_MODULE=ibus > >GTK_MODULES=gail:atk-bridge:unity-gtk-module > >HOME= > >IM_CONFIG_PHASE=1 > >INSTANCE= > >JOB=unity-settings-daemon > >LANG=en_US.UTF-8 > >LANGUAGE=en_US > >LC_ADDRESS=en_US.UTF-8 > >LC_IDENTIFICATION=en_US.UTF-8 > >LC_MEASUREMENT=en_US.UTF-8 > >LC_MONETARY=en_US.UTF-8 > >LC_NAME=en_US.UTF-8 > >LC_NUMERIC=en_US.UTF-8 > >LC_PAPER=en_US.UTF-8 > >LC_TELEPHONE=en_US.UTF-8 > >LC_TIME=en_US.UTF-8 > >LOGNAME= > >MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path > >PAPERSIZE=letter > > >PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin > >PWD= > >QT4_IM_MODULE=ibus > >QT_ACCESSIBILITY=1 > >QT_IM_MODULE=ibus > >QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 > >QT_QPA_PLATFORMTHEME=appmenu-qt5 > >SESSION=ubuntu > >SESSIONTYPE=gnome-session > >SHELL=/bin/bash > >SHLVL=0 > >SSH_AUTH_SOCK=/run/user/1000/keyring/ssh > >TZ=:/etc/localtime > >UPSTART_EVENTS=xsession started > >UPSTART_INSTANCE= > >UPSTART_JOB=unity7 > >UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3022 > >USER= > >XAUTHORITY=/.Xauthority > > >XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings > >XDG_CURRENT_DESKTOP=Unity > > >XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop > >XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > >XDG_RUNTIME_DIR=/run/user/1000 > >XDG_SEAT=seat0 > >XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > >XDG_SESSION_DESKTOP=ubuntu > >XDG_SESSION_ID=c1 > >XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > >XDG_SESSION_TYPE=x11 > >XDG_VTNR=7 > >XMODIFIERS=@im=ibus > > > > > > > > >------------------------------------------------------------------------------ > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sun Jul 31 08:42:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 31 Jul 2016 06:42:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #972: TextArea Read-only Bug. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.972&from=L21haW4- Mufeed ALI changed the state of the bug to: Fixed. From jussi.lahtinen at ...626... Sun Jul 31 14:59:01 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 31 Jul 2016 15:59:01 +0300 Subject: [Gambas-user] Public controls In-Reply-To: <20160726160145.GB20652@...3600...> References: <20160726160145.GB20652@...3600...> Message-ID: Maybe VB compatibility issue..? Jussi On Tue, Jul 26, 2016 at 7:01 PM, Tobias Boege wrote: > Hi list, > > I have a history question. I was told there was quite a debate among > contributors to the Gambas-Buch.de, over whether public controls on a form > are a good or bad thing. Personally, I'm by experience a fan of > information > hiding, and IIRC I read a statement of Benoit's where he says that there > are > no global variables in Gambas because it's poor practice / not OOP. > > Now global variables is arguably a different topic as public members, but > making controls public is a serious violation of information hiding, in > almost every case, and there is even an option to make all controls public > by default. Seeing that none of these features is used anywhere in the > Gambas source tree *except* for [1], my question is: > > Why were these options introduced in the first place? Did users just > ask for it often enough? > > Also rest assured, I didn't take part in that debate and I'm not fishing > for > an authoritative argument here. I'm just curious. > > Regards, > Tobi > > [1] app/src/gambas3/.src/Help/FHelpBrowser.form:104 > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning > reports.http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sun Jul 31 17:45:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 31 Jul 2016 15:45:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- vuott VUOTT reported a new bug. Summary ------- Desktop.RunAsRoot(): file or directory doesn't exist Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- Hello, by using Desktop.RunAsRoot() I obtain this error: "file or directory does not exist" xterm is installed in my sistem. [System] Gambas=3.8.90 r7830 OperatingSystem=Linux Kernel=4.4.0-31-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Cleanlooks Language=it_IT.UTF-8 Memory=3952M [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 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-fqZyxLwJPy,guid=ec51394e10ec76fd927cbc24579df3e2 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-XnFBZA GPG_AGENT_INFO=/run/user/1000/keyring-XnFBZA/gpg:0:1 HOME= INSIDE_NEMO_PYTHON= LANG=it_IT.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=it_IT.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_QPA_PLATFORMTHEME=appmenu-qt5 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1574,unix/:/tmp/.ICE-unix/1574 SHELL=/bin/bash SSH_AGENT_PID=1704 SSH_AUTH_SOCK=/run/user/1000/keyring-XnFBZA/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 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=3c9b8ccf17fc83af39dcb0e2539c5592-1469969376.690726-58448358 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=7 From mckaygerhard at ...626... Sun Jul 31 19:03:32 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 31 Jul 2016 13:03:32 -0400 Subject: [Gambas-user] Gambas 3.8.4 from snapshot In-Reply-To: References: Message-ID: yeah this was fixed around almost one month ago in the development repo, i cannot remenber were are the commit but its good to remenber in next 3.8 fixed release to include this Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-07-29 6:29 GMT-04:00 Gianluigi : > Hi Benoit, > > I downloaded Gambas 3.8.4 from snapshot. > When it start I get the error "Not an object" on class CreportBrush, line > 74. > If I change the code from "hBrush = Paint.Color (Color.Gray)" to "hBrush = > Paint.Color (& H808080 &)" it works but appears as trunk 3.8.90. > > Regards > Gianluigi > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user >