Re: [Geany-Users] can't run local build on RHEL6
On Mon, 1 Sep 2014 17:07:46 +0200 "Rob van Riel" wrote: > Not having been provided with a proper editor by the IT folks, I tried to > do a local build and install of Geany. I didn't do any funny stuff, just > unpacked the source tarball and ran > > ./configure --prefix=$HOME/bin/geany > make > make check > make install > > [...] > > (geany:7535): Gtk-WARNING **: Could not find the icon 'text-plain'. The > 'hicolor' theme > was not found either, perhaps you need to install it. > You can get a copy from: > http://icon-theme.freedesktop.org/releases That's just what it is: your gtk+ icon theme (if any) does not seem to have the 'text-plain' file type icon, and the hicolor theme (recommended by gtk+) is not installed either. > (geany:7535): Geany-WARNING **: failed to load icon 'classviewer-var': > Icon 'classviewer-var' not present in theme > > (geany:7535): Geany-WARNING **: failed to load icon 'classviewer-method': > Icon 'classviewer-method' not present in theme gtk+ searches for icons in certain directories. Find classviewer-var.png under ~/bin/geany, and add it's directory (or it's parent directory?) to XDG_DATA_DIRS. See [1] for more information, gtk+3 is the same. > ./geany: symbol lookup error: ./geany: undefined symbol: > gtk_widget_get_mapped I don't know how you can get this error, except by compiling Geany against gtk+ >= 2.20, and running it with gtk+ < 2.20. [1] https://developer.gnome.org/gtk2/stable/gtk-running.html -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On Thu, 24 Jul 2014 06:08:37 + (UTC) Rajib Bandopadhyay wrote: > There are so many installations required! This uses up my bandwidth. If you want to debug a program, and the Scope package under Knoppix is currently broken, you can try to install Nemiver instead. It has more dependencies than Scope, but less than compiling from source (though that depends on what development packages you have already installed). -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On Wed, 23 Jul 2014 12:37:50 + (UTC) Rajib Bandopadhyay wrote: > Knoppix is Debian, and uses its repositories. You could check it yourself > from /etc/apt/sources.lists . The problem is that it mixes up different > stages, Stable, Testing, Experimental, etc., which creates these issues. The > issue is with Debian package, as my snapshots will show. I use both Debian > and Knoppix. Unfortunately, my Debian is Lenny, and Scope does not have a > Lenny version. Therefore, I am compelled to use Knoppix 7.2 as it was > Knoppix that introduced me to Geany the first time. :) I'm using Debian stable + testing. Scope requires Geany, glib/gtk+ and vte. Geany requires glib/gtk+ and suggests vte. The only inaccuracy in the dependencies that I see is that the "required" glib/gtk+/vte versions are higher than what we really need, and that applies to both Geany and Scope. But Debian includes all "required" package versions, so there's absolutely no problem to install Geany or Scope. What mix of packages are used by Knoppix developers I do not know. The packaging of Geany/Scope/whatever for any particular distribution is a responsibility of the package maintainers of that distribution, and that is the standard practice. As you can see, Scope does not have any specific requirements (vte is present in any system with a gtk+ based terminal emulator). Just for the record, Debian stable + testing sometimes _does_ provide incompatible package versions, where Foo requires a newer version of Bar that the latest available. In such cases, one has to unmark the install/upgrade of Foo, and wait for the requred Bar version to appear. -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On Tue, 22 Jul 2014 11:08:27 +0530 Rajib Bandopadhyay wrote: > [Attn: Mr. Dimitar Zhekov] > geany-plugin-scope > graphical GDB front-end for Geany > Version: 1.24+dfsg-2 in Testing Broken. I searched for the above text, but could not find a match. The first hits are Ubuntu launchpad and Debian QA (puiparts), but they both seem to think that Scope is fine as far as I can tell. Can you give the URL where you found this text? There was a period when Scope did not compile with gtk+3, but that was fixed a month ago, and there shoudn't be any other problems. > Question: How to check, without using Synaptic, whether a package is > okay or broken, before installation? No idea. In my understanding, a broken package version should not even exist as a file, much less in a repository... -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On Sun, 20 Jul 2014 20:03:36 +0530 Rajib Bandopadhyay wrote: > Dear friends, > I revised my c language using Geany from last year, and have been > using Geany since. > I want to run a c program in Geany downloaded from the link below, but > can't. The code is in Borland c++. > https://web.duke.edu/isis/gessler/borland/ipd-2006-evolutionary.zip This code is in Borland C++ Builder, which is not exactly C++ (most notably the dfm file). If by "run in Geany" you mean Make with the Build menu and Execute, you'd better write a Makefile which uses the BCB tools (no other compiler will work, due to the language differences), and setup the Execute action if needed. If you want to debug the resulting executable, only the Borland debugger will work. > I also wanted to run codes in c from the link below, but couldn't: > http://www.kasprzyk.demon.co.uk/www/alife/dilemma.html This one looks normally, so please explain what you mean by "couldn't". Note that Geany does not include a compiler, it runs various compilers and other tools. By default, the C/C++ files are setup to be compiled by the GNU Compiler Collection, aka gcc. For debugging, invoke Tools -> Plugin Manager and check "Scope" (or "debugger", but it's problematic). -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Hiding console window
On Mon, 23 Jun 2014 20:22:02 +0300 Vitali Samurov wrote: > I think this has been discussed already. I do start some Windows > application with one option and a filename within command line parameters: > ***\VC-161v0_02\vc161.exe -r %d\%e.mkp* > > Is it possible to hide cmd-console window, which does appear just next > to the Windows application? Or at least minimize it. The spawning rewrite [1] [2] minimizes the windows of all tools started by Geany, but is probably not appliable at the moment, due to some changes in the #include-s of all source files. With the current Geany, which runs the windows programs via cmd, for various reasons related to spawning under Windows (maybe even double cmd, since it runs it via system), you can't do that. [1] https://github.com/geany/geany/pull/274 [2] http://sourceforge.net/p/geany/bugs/943/?page=3 -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Error regular expression
On Sun, 11 May 2014 08:51:46 +0200 Slavko Kocjancic wrote: > >> I have some strange compiler but want to have option for geany to > >> highlight the line with error. > >> But I have no idea how to setup 'error regular expression' to manage that. > >> In the output of compiler there are line describing error in format: > >> path/file space lineNumber error message. > >> for example: > >> > >> /home/slavko/PLC/plc.asm 94 nepoznan ukaz >MMOV > >> > >> thet means the file '/home/slavko/PLC/plc.asm' has error in line 94 and > >> 'nepoznan ukaz >MMOV' describe error. > >> > >> So what expression i need tor that? > > "(.+) ([0-9]+) " without the quotes. > > Search the documentation for error_regex. > > > I searched the documentation but there is only few lines on that > subject. And from that i'm unable to solve the problem. > The "(.+) ([0-9]+) " works but has some problems. The near all output of > compiler like "compiling_pass 1" are accepted as errors. [...] > > is after message. But I can't find solution how to make to work with > that. "(.+) ([0-9]+) (>)" doesn't work. I think I need to somehow filter > out string betwen error line number and >. > Any help? "(.+) ([0-9]+) .*>" See tee manual page of grep, section "REGULAR EXPRESSIONS", or Google for "regular expressions". Geany uses (an equivalent to) extended regular expressions. -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Error regular expression
On Sat, 10 May 2014 16:59:40 +0200 Slavko Kocjancic wrote: > I have some strange compiler but want to have option for geany to > highlight the line with error. > But I have no idea how to setup 'error regular expression' to manage that. > In the output of compiler there are line describing error in format: > path/file space lineNumber error message. > for example: > > /home/slavko/PLC/plc.asm 94 nepoznan ukaz >MMOV > > thet means the file '/home/slavko/PLC/plc.asm' has error in line 94 and > 'nepoznan ukaz >MMOV' describe error. > > So what expression i need tor that? "(.+) ([0-9]+) " without the quotes. Search the documentation for error_regex. -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] RFT: Windows: build commands, quotes & spaces
On Wed, 19 Feb 2014 17:14:16 +0100 Colomban Wendling wrote: > I just committed a long-awaited fix for Windows build commands, and > with this in we will able to really plan our next release. > > [...] if some of you could test the development version under > Windows report whether it works for you or not, it would be totally > awesome. >From a quick test: 1. Long stdout/stderr texts work. 2. Sub-process stdout/stderr text is captured. 3. Quoted file and directory names with spaces work. Thus, #943 seems fixed. @Users: the execution is synchronous, and all stdout text is displayed before all stderr, but that can't be helped ATM, and will stay this way for 1.24. -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Geany arm-none-eabi-gdb
On Sun, 2 Feb 2014 12:47:25 +0100 Alessandro Pasotti wrote: > is it possible to use geany to debug an ARM board with openocd > and arm-none-eabi-gdb? Scope is strictly a gdb/MI front end. AFAIK, neither the openocd commands not their output is gdb/MI compatible. > I tried the two GDB plugin but I couldn't understand how to configure gdb > executable to point to the arm-none version. > > Any hint? In Scope: Tools -> Configuration Files -> scope.conf, alter: [scope] gdb_executable= and save. For help: Tools -> Plugin Manager, select "Scope Debugger" from the list and click on the Help button. I plan per-program gdb executable and gdb settings someday. -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] document_open_file(already_open) makes it most recent
On Sat, 11 Jan 2014 06:57:41 +1100 Lex Trotman wrote: > On 11 January 2014 05:27, Dimitar Zhekov wrote: > > > Currently, any attempt to open a file which is already open moves it > > to the top of the Recent list. So, if you switch to a open file from > > a compiler message or a FiF match, it that file becomes the most > > recent. However, Find in Session displays basename:line matches, but > > selecting a file does not affect Recent. > In addition to the cases you mention, when files are opened from the > previous session they are not moved to the top/added to the MRU list. So > files that are open for a while fall off the list. This is very annoying > when you accidently close them and then try to re-open them. My sessions are usually longer than my recent list. So once a session is reloaded, any files I opened but later closed will be lost. And I need them more than the session files, which are loaded automatically as part of the session. > IMHO the MRU list should be a real Most Recently **USED** list, ie files go > to the top when they are focussed for any reason. That's consistent (but "loaded as part of a session" != **USED**). Currently, "Recent Files" is grouped with "Open" and "Open Selected File", which suggests "Recently Open". -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
[Geany-Users] document_open_file(already_open) makes it most recent
Hi, Currently, any attempt to open a file which is already open moves it to the top of the Recent list. So, if you switch to a open file from a compiler message or a FiF match, it that file becomes the most recent. However, Find in Session displays basename:line matches, but selecting a file does not affect Recent. Should "opening" an open file move it to the top of recent? If so, shoudn't clicking a Find in Session match move the file too? -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Text size in tabs
On Fri, 29 Nov 2013 12:12:30 +0530 Augustine Souza wrote: > I'd like the text in Geany's tabs a little larger. > > All I can manage is to increase the text size of the tab I'm currently > editing: [...] > > I went through geany.gtkrc for hints but couldn't see any that related to > all tabs. > > Is this something I may have to do in my gtk2 theme's gtkrc instead? >From my gtk2 theme's gtkrc: style "geany" = "default" { GtkNotebook::tab-overlap = 1 GtkNotebook::tab-curvature = 0 ... } widget "GeanyMainWindow.GtkVBox.GtkVPaned.GtkHPaned.GtkNotebook" style "geany" That'll probably work in geany.gtkrc as well, I simply prefer all program specific styles in a single file. -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] multiple, non-adjacent lines selection
On Tue, 7 May 2013 21:11:26 +0200 Liviu Andronic wrote: > Can I use Geany to select multiple, non-adjacent lines? I looked into > the extra selection plugin, but it doesn't seem to support this. A lot of the extra select plugin deals with rectangular selections, which are a bit of a mess in Scintilla, and incompatible with multiply selections. So if you find some way to select multiply pieces of text, you'd better _deactivate_ geanyextrasel to avoid collisions. I have no plans to support multiply selections. > For example I want to select line 3, then hold ctrl and select line > 7; then press delete. In X11, Ctrl+Mouse traditionally does rectangular selection, if supported, and Alt+Mouse moves the current window (WM-dependent). -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Is https://lists.geany.org/cgi-bin/mailman/listinfo/users safe.
On Wed, 01 May 2013 10:52:32 +0200 Frank Lanitz wrote: > Is it a correct time for a little SSL-Mozilla-Bashing? > They do not include CAcert with their Web-of-Trust-based method of > authentification, but include root-certificates which are known to be > very week PKI and there are rumors that some of them are ruled be the > agencies. They do not include the two official bulgarian CA-s as well, even though the laws here are very strict, and these CA's cards are accepted as electronic signatures. -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] no Terminal tab in Geany preferences??
On Thu, 28 Feb 2013 18:56:19 -0800 Matthew Brush wrote: > >>> That's suggests, not recommends, so it's not dragged in by default. > >> > > Why not just make it a hard dependency that's enabled by building against > > it at > > build time instead of dlopen()ing it? > > +1, it would clean up a fair bit of extra code needed to dlopen it too. We had a discussion on the topic some time ago, when I found two crashes if Geany was compiled with vte support but started without libvte... -- On Fri, 1 Mar 2013 14:08:33 +1100 Lex Trotman wrote: > IIUC that would mean that Geany binaries could not be run on any > system without libvte9 installed, the user would have to re-compile? And we had these argument as well... -- On Fri, 01 Mar 2013 14:24:37 +0100 Frank Lanitz wrote: > Am 01.03.2013 05:10, schrieb Lex Trotman: > > FWIW I think Matthews suggestion of removing vte and using multiterm > > is the "right" solution, then only multiterm depends on libvte and it > > can be a hard depends. > > I like the normal terminal more than multiterm to be honest (sorry > Matthew ;) ). And so do I. Some time in the last year, I wanted to propose separating our VTE terminal into a plugin, but was too busy with Scope. It's not a very hard thing to to, though keeping the VTE prefs in the basic prefs dialog is easier with an extra "settings-after-save signal" for the plugin to be able to read the new values instead of the old ones. That'll benefit any other plugins with VTE as well. What do you think? [and if we apply "project-before-save" too, the settings/project save will have similar signals - these are currently "save-settings"-before and "project-save"-after-option] -- E-gards: Jimmy ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users