From taboege at ...176... Mon Apr 11 19:07:39 2016 From: taboege at ...176... (Tobias Boege) Date: Mon, 11 Apr 2016 19:07:39 +0200 Subject: [Gambas-devel] [Gambas-devel-svn] SF.net SVN: gambas:[7737] gambas/trunk/comp/src/gb.util.web In-Reply-To: References: Message-ID: <20160411170739.GE708@...693...> Hi Benoit, On Mon, 11 Apr 2016, tobiasboe at ...1... wrote: > Revision: 7737 > http://sourceforge.net/p/gambas/code/7737 > Author: tobiasboe > Date: 2016-04-11 17:04:36 +0000 (Mon, 11 Apr 2016) > Log Message: > ----------- > [GB.UTIL.WEB] > * NEW: Always initialise JSON.Null, so that an entry in a JSONCollection with value JSON.Null appears in the Encode() string. > > Modified Paths: > -------------- > gambas/trunk/comp/src/gb.util.web/.info > gambas/trunk/comp/src/gb.util.web/.src/JSON.module The idea here is that Dim j As New JSONCollection j["x"] = JSON.Null Print JSON.Encode(j) should result in {"x": null} which the commit accomplishes. I don't know if that was how you intended JSON.Null to work, though, so please have a look at it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From revol at ...227... Wed Apr 13 15:20:52 2016 From: revol at ...227... (=?UTF-8?Q?Fran=c3=a7ois_Revol?=) Date: Wed, 13 Apr 2016 15:20:52 +0200 Subject: [Gambas-devel] Preliminary Haiku port Message-ID: <570E47B4.3090201@...227...> Hello, last year I started porting Gambas to Haiku . I tried sending a mail back then but it seems it didn't get through as I wasn't subscribed. I didn't do much yet but I'm keeping it up to date. Here is my current patch, you might want to merge some of it: https://github.com/haikuports/haikuports/commit/5c55a5bfe63739abe2f1e47a43ece05725c1d90c Some notes: - we don't have a "libc" proper, it's implicit (through libroot), - pthread is also included in libroot, linked to by default, - libm is also an integral part of libroot, - our filesystem is laid out quite differently from *nix, no /usr, and "include" subdirs are actually named "headers". Also, on the official version we have to use the secondary arch to build because we need gcc2, so we need "headers/x86" and "lib/x86". For now I patched GB_FIND to avoid having to change all those /usr around, but it's quite as ugly... it seems to solve most of the tests though. - we lack quite a lot of "old" calls from BSD and other non-POSIX-specified things (like wait4 or statfs. I added checks for the POSIX versions. - some BSD-specific things need _{GNU,BSD}_SOURCE and -lbsd. (I could probably drop the #ifdef HAVE_DAEMON though.) - we don't have {get,set}priority() yet, we have our own API for those things. I might implement them someday as they are part of POSIX. - we don't #define all the various signals around (mostly synonymous for others anyway). - some modules like Qt4/5 or SDL also require X11 stuff, which we don't have as we have our own GUI. Likely there's a way to replace those dependencies in some way and get those built... For now we're missing: || THESE COMPONENTS ARE DISABLED: || - gb.cairo || - gb.crypt || - gb.db.mysql || - gb.db.odbc || - gb.db.postgresql || - gb.db.sqlite2 || - gb.dbus || - gb.desktop.gnome.keyring || - gb.desktop.x11 || - gb.gmp || - gb.gsl || - gb.gtk || - gb.gtk.opengl || - gb.gtk3 || - gb.image.imlib || - gb.image.io || - gb.jit || - gb.media || - gb.mime || - gb.openal || - gb.opengl || - gb.opengl.glsl || - gb.opengl.glu || - gb.opengl.sge || - gb.pdf || - gb.qt4 || - gb.qt4.ext || - gb.qt4.opengl || - gb.qt4.webkit || - gb.qt5 || - gb.qt5.ext || - gb.qt5.opengl || - gb.qt5.webkit || - gb.sdl || - gb.sdl.sound || - gb.sdl2 || - gb.sdl2.audio || - gb.v4l Cheers, Fran?ois. From bastiangermann at ...754... Sat Apr 16 18:25:19 2016 From: bastiangermann at ...754... (Bastian Germann) Date: Sat, 16 Apr 2016 18:25:19 +0200 Subject: [Gambas-devel] Cygwin patch Message-ID: Hi, With the patch enclosed applied to SVN trunk, I am able to build most of the Gambas packages on current Cygwin version. If you include it in the next version and like the idea, I will try to package Gambas as cygport and get the packages in the default repository. Regards, Bastian -------------- next part -------------- Index: acinclude.m4 =================================================================== --- acinclude.m4 (Revision 7747) +++ acinclude.m4 (Arbeitskopie) @@ -575,7 +575,7 @@ case "${host}" in *-*-cygwin* ) - SHLIBEXT="la" + SHLIBEXT="dll.a" AC_DEFINE(SHARED_LIBRARY_EXT, "dll", [Shared library extension is '.dll']) ;; *-*-darwin* ) Index: gb.gtk3/configure.ac =================================================================== --- gb.gtk3/configure.ac (Revision 7747) +++ gb.gtk3/configure.ac (Arbeitskopie) @@ -11,7 +11,7 @@ GB_COMPONENT_PKG_CONFIG( gtk3, GTK3, gb.gtk3, [src], - 'gtk+-3.0 >= 3.4' 'librsvg-2.0 >= 2.14.3' 'cairo >= 1.6.0' 'cairo-ft >= 1.6.0' 'gtk+-unix-print-3.0 >= 3.4' sm ice + 'gtk+-3.0 >= 3.4' 'librsvg-2.0 >= 2.14.3' 'cairo >= 1.6.0' 'cairo-ft >= 1.6.0' 'gtk+-unix-print-3.0 >= 3.4' sm ice x11 ) AC_OUTPUT( \ Index: gb.qt4/configure.ac =================================================================== --- gb.qt4/configure.ac (Revision 7747) +++ gb.qt4/configure.ac (Arbeitskopie) @@ -23,7 +23,7 @@ GB_COMPONENT_PKG_CONFIG( qt, QT, gb.qt4, [src], - 'QtCore >= 4.5.0' QtGui QtSvg + 'QtCore >= 4.5.0' QtGui QtSvg x11 ) GB_COMPONENT_PKG_CONFIG( @@ -38,7 +38,7 @@ GB_COMPONENT_PKG_CONFIG( qtopengl, QTOPENGL, gb.qt4.opengl, [opengl], - 'QtCore >= 4.5.0' QtGui QtOpenGL + 'QtCore >= 4.5.0' QtGui QtOpenGL gl ) MOC=`pkg-config --variable=moc_location QtCore` Index: gb.qt5/configure.ac =================================================================== --- gb.qt5/configure.ac (Revision 7747) +++ gb.qt5/configure.ac (Arbeitskopie) @@ -12,7 +12,7 @@ GB_COMPONENT_PKG_CONFIG( qt5, QT5, gb.qt5, [src], - 'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets Qt5Svg Qt5PrintSupport Qt5X11Extras + 'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets Qt5Svg Qt5PrintSupport Qt5X11Extras x11 ) ## GB_COMPONENT_PKG_CONFIG( From gambas at ...748... Mon Apr 18 15:51:44 2016 From: gambas at ...748... (Marco Ancillotti) Date: Mon, 18 Apr 2016 15:51:44 +0200 Subject: [Gambas-devel] Cygwin patch In-Reply-To: References: Message-ID: <5714E670.6050602@...748...> Hi Bastian , I use a cygwin build of gambas for one of my project , for compile I've made all the .la library needed with a script , so +1 for stock working build environment ;-) Il 16/04/2016 18:25, Bastian Germann ha scritto: > Hi, > > With the patch enclosed applied to SVN trunk, I am able to build most > of the Gambas packages on current Cygwin version. If you include it in > the next version and like the idea, I will try to package Gambas as > cygport and get the packages in the default repository. > > Regards, > Bastian > > > ------------------------------------------------------------------------------ > Find and fix application performance issues faster with Applications Manager > Applications Manager provides deep performance insights into multiple tiers of > your business applications. It resolves application problems quickly and > reduces your MTTR. Get your free trial! > https://ad.doubleclick.net/ddm/clk/302982198;130105516;z > > > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: