Re: [Lazarus] Animation library
Hi Graeme, > I've been using JWM non-stop for the last 4 years! I'll never return to > a bloated "desktop environment" again. > Sounds interesting to me... I always tend to have multiple desktop environments/window managers installed. i have two questions: 1. Do you have any idea how it compares to Fluxbox? It sounds pretty similar to me? Maybe even lower on resources? > * Menus are a breeze to edit. I even used a 3rd party tool that >generated JWM include files from Gnome/KDE menus (but don't do >that any more). > What tool did you use for this? I tend to edit my KDE menus with Kmenuedit and really do not want to do it all by hand again in a text file (or is there another way to do this)? I use Debian (with extra repositories) and find that almost always some of the programs I have installed with aptitude do not show up on the menu. Regards, Chavoux -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Animation library
I replied in a private email. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Error: No Memory left at linking Lazarus with fpc trunk
I have RAM of 24GB in this machine, but its a Free Pascal Compiler version 3.1.1 [2017/03/08] for i386 so i think there is the RAM limited for this process. I have tried this with different packages in different constellations to find out which package trigger this. But i have a lot of packages in the actual project and i need generics. Can i change the heapsize with-Chx in the fpc.cfg and what is the default heapsize ? Andreas Am 07.03.2017 um 13:37 schrieb Mattias Gaertner via Lazarus: Andreas Frieß via Lazarus hat am 7. März 2017 um 13:12 geschrieben: If i want to recompile Lazarus with some packages i got the following error. If the fpc link Lazarus, it was running out of memory !? git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@54324 4005530d-fff6-0310-9dd1-cebe43e6787f FPC 3.1.1 i386-win32-win32/win64 with fpc 3.0.2 it works How much RAM do you have? FPC 3.1.1 is experimental. When you spot a bug, please try an older revision. If that works, try to find the revision that broke it. Do you know what package triggers this? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Error: No Memory left at linking Lazarus with fpc trunk
2017-03-07 9:37 GMT-03:00 Mattias Gaertner via Lazarus < lazarus@lists.lazarus-ide.org>: > > How much RAM do you have? > > FPC 3.1.1 is experimental. When you spot a bug, please try an older > revision. If that works, try to find the revision that broke it. > I've got the same issue with fpc trunk from september 2016. See http://lists.lazarus.freepascal.org/pipermail/lazarus/2016-September/229483.html The crash occurs when memory usage hit ~ 800MB. > > Do you know what package triggers this? > > Probably related to the number of installed packages, at the time i had 78 Seems that code typhon fixed it. See entry 16-Nov-2016 ver 5.90 at http://www.pilotlogic.com/codetyphon/changeslog.txt Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Animation library
On 2017-03-07 18:40, Graeme Geldenhuys via Lazarus wrote: On 2017-03-07 19:02, Lars via Lazarus wrote: Do you use JWM just for testing, or JWM all the time for all work? I've been using JWM non-stop for the last 4 years! I'll never return to a bloated "desktop environment" again. Things I like about it: * I only activate the global shortcuts I need like Alt+F2, Alt-Tab. Nothing else, so it never conflicts with any application shortcuts. * Menus are a breeze to edit. I even used a 3rd party tool that generated JWM include files from Gnome/KDE menus (but don't do that any more). * My desktop/application menu only contains what I need and use, and items are grouped to what makes more sense to me. * Clicking anywhere on the desktop window brings up the application menu. * Virtual desktops are built-in, as well as dragging apps from one virtual desktop to another * A Win95 like "taskbar" is built-in (optional). The same for the trayicon areas. * A simple theme with rectangular windows (very configurable if you are into that kind of stuff, and you can configure rounded corner windows too). * The ability to restart JWM without having to shut down X11 or any of your applications.eg: to refresh the application menus or other config settings after being edited. * It's fast and very light with RAM usage. * Works perfectly with multiple monitors (I have 3), and I configured the taskbar to the center monitor only. I can send you my config file if you want to see my layout. Regards, Graeme When I finally get around to installing freebsd, if I can remember. What do you do when you need to run a Windows lazarus program? My biggest gripe with bsd/linux is that I'd constantly have to switch back to Windows/MacOSX to do testing as those are the major platforms to sell apps on. So if I switch to BSD I'd likely end up just having to run Windows inside bsd in an emulator anyway. Catch22. You ever run lazarus inside a windows emulator inside bsd? that's likely what I'd end up doing, or compiling for windows inside bsd then testing the app in a windows emulator. I'm not sure what the emulators/virtualbox's are available for bsd. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] Animation library
On 2017-03-08 18:35, Lars via Lazarus wrote: > When I finally get around to installing freebsd, if I can remember. JWM runs on any X11 system... Linux, FreeBSD, Solaris etc. But yes, FreeBSD is a brilliant choice. I much prefer it over Linux too. > What do you do when you need to run a Windows lazarus program? WINE, just like under Linux. Or you can run VirtualBox with a Windows guest. This is how I test on various Windows and Linux platforms. I don't know how any developer can not run some or other VM in this day and age. If you speak to Delphi developers, most of them run Delphi in a Windows VM, using a Apple computer. VM's also give you a lot of piece-of-mind. If your real hardware fails, move the VM to any other system and continue where you left off - hardly any down time. I regularly make backup copies or take snapshots of my VM's too. Snapshots are very handy for experimentation. Speaking of emulators, FreeBSD also includes a Linux Emulator (an actual CentOS 6.6 install I believe), so you can run FreeBSD, Windows and Linux applications without firing up a VM. Pretty neat! > I'm not sure what the emulators/virtualbox's are > available for bsd. VirtualBox, Xen, Bhyve, FreeBSD Jail, QEMU etc... VMWare doesn't support FreeBSD. I've been using VirtualBox for about 7 years now (headless and GUI) and it works brilliantly! Bhyve is actually part of the base FreeBSD system now, so it's built into the operating system. As for developing cross-platform applications, even if Windows is your largest seller, if LCL did it's job correctly, you should be able to develop under any platform, then simply cross-compile (or compile natively in a VM) and things should work everywhere the same. In the real world LCL is unfortunately not there yet, but close. Pure fpGUI Toolkit applications have had that ability for 7+ years now. With fpGUI I only develop personal and commercial applications under FreeBSD, then at release time I compile binaries for other platforms and test (obviously). Since 7+ years I've never had incompatibilities across platforms - my applications work everywhere identical. I guess this is just one of the many benefits of 100% custom written toolkits. Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] GUI freeze under GTK2
On Tue, Feb 28, 2017 at 9:17 PM, denisgolovan wrote: > > 28.02.2017, 12:31, "Juha Manninen" : >> I tested it and could not see any problems. Everything works as >> before. However I don't know how to reproduce the original bug. >> The removed line may be needed for old GTK2 versions or for GTK1. >> The LCL-GTK2 binding code was copied from LCL-GTK1 and has many >> historical remains. >> I applied the change in r54305. >> Everybody please test with different GTK2 versions and desktop environments. > > Thanks. Ok, it caused a problem after all. See: http://bugs.freepascal.org/view.php?id=31496 The freezing loop must be solved some other way, or maybe the ButtonPanel layout could be fixed some other way, don't know. You wrote: "VTV itself is rather old version (last commit from May 17 2015)" There are at least 2 maintained main versions of VTV now, versions 4 and 5. Could you please update your VTV and test again. If the problem continues then we need a demo application attached to the bug report to reproduce the error. Then somebody, maybe Jesus Reyes, can try to fix it in VTV code. Any ideas are welcome. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus