Hi
Not long ago I desided to test fedora distributive. Since I need svn version of geany,
I tried to create rpm for it. Here is spec update that allow me actually create it.
1) Added plugin dir that come with geany to files section.
2) In install section I have to delete files that don't come to files section. rpmbuild
complained about them.
p.s. I used to be gentoo user so this rpm stuff is really new to me. Please tell me if
my changes are stupid.
Best regards,
Yura Siamashka
Nice work, Enrico!
The debug console for windows is very cool, and I really like
the more consistent config path for my lua scripts.
But when I try to run on Windows 98,
I get an error message:
"GEANY.EXE is linked to missing export SHELL32:SHGetFolderPathA"
After a little googling I found this page:
http://support.microsoft.com/kb/241733
The page says:
"To use SHGetFolderPath on Windows 95 or Windows 98,
you must redistribute the SHFolder.dll file along
with the migration DLL."
Well, I already have that DLL but it isn't getting linked -
So here is what I did to fix it:
On line 82 of src/makefile.win32, add -lshfolder to the linker flags.
( Note that -lshfolder has to come *before* -lshell32 )
After that, everything seems to be working -
I compiled and ran it on Win98, and tested the same exe on Win2K,
Then I compiled and ran it on Win2K, and tested that exe on Win98.
So I think it should be safe to add the -lshfolder flag permanently?
- Jeff
>
> Dear All,
> I have just seen the latest Geany, having last seen it about a year
> ago, and am interested in possibly using it as a standard editior/ide on a
>
> bootable cd/dvd system we are developing for students. The ideal is to
> have
> a simple GUI which they only have to learn once but can cope with the
> multiple languages they encounter. Currently we use Emacs + others, but
> would like a more IDE looking GUI. Geany looks as though it has the
> workings but I have been trying to add other languages/templates etc. Do I
>
> understand that this is impossible by just adding them to the .conf, and
> adding filetypes.XXX files, e.g. they are not automatically picked up? or
> am I missing something?
>
> Many Thanks for any help, the package looks really nice
>
> regards
>
> Peter
>
*
*Same question...
Faustin
PS : is there a repositories where we can find some other filestypes (smarty
language in my case)
Hi
I think current project management is really suck. It annoy more then help at least for my needs.
Why do I need project management in the first place:
1) Ability to run build commands aka make from base project path
2) Ability to use custom run command for project
3) Ability to have tags for files in project (make Go to Tag Definition/Declaration works)
4) Ability to share project with other people who also work on project
I belive current project manager fails completely on 3, 4
Also it is just me but I have to work with a lot of small projects and all this "Open/Close" commands are annoying.
That is the problem.
Now about solution:
For example we have 2 projects "a", "c" and file without project plans.txt:
~/projects/a/a.c
~/projects/a/.geanyprj
~/projects/a/nested/b.c
~/projects/c/c.c
~/projects/c/.geanyprj
~/plans.txt
If you try to open ~/projects/a/nested/b.c geany will find ~/projects/a/.geanyprj and load it as currebt project
since file b.c belong to project.
.geanyprj should contains information about project base dir, and files that in project for example for "a":
[project]
base_dir=./
run_cmd=./a
[files]
file0=./*.c:recursive
file1=./*.h:recursive
if you open or change current tab to ~/projects/c/c.c geany will close project "a" and open ~/projects/c/.geanyprj as current project.
if you open plans.txt it should just close current project.
Switching projects should regenerate and load TAGS for all project files. (killer feature "Go to Tag" should work for all files in project not for just opened ones)
I am going to implement this as plugin. Any comments?
Best regards,
Yura Siamashka
Hi,
I attached two simple patches that make geany easier to use for me.
The first one is support for "move document first/last" via <Alt>-Home
and <Alt>-End. I end up opening tens of files and navigation becomes
really difficult (and I don't like using the mouse). With these key
bindings, I can easily move tabs I use most often to the beginning and
quickly switch between them with the context menu key. Ideally, a
pop-up with features for easy file selection using the keyboard
(similar to the tag completion in the editor window) would be best but
I don't really have experience with GUI programming. The "Files"
plugin allows selecting a file by typing but the project I use geany
with has sources scattered all over the place (and the open dialogue
box doesn't allow fast switching either).
The second patch adjusts the indentation if there is an open bracket
on the previous line (similar to emacs but only checks the previous
line). This is useful when writing function arguments on multiple
lines, multiple conditions in an if statement, lists in Python etc.
The indentation is done with spaces rather than a combination of
spaces and tabs. I find this more useful since it doesn't break the
code alignment if I change the tab width. It doesn't check whether the
bracket is inside a string or comment (the existing code doesn't check
for a brace inside comment either).
Please feel free to modify them.
Regards.
--
Catalin
Hi,
On Sat, 29 Dec 2007 15:33:12 +0100
bouba <for.ad(a)free.fr> wrote:
> Just installed Geany, Gtk and Mingw (gcc 3.4.5) under Winxp, Geany
> ran fine but I can't compile, the compile button is grayed.
Which version did you install?
Regards,
Frank
Geany 0.12
GTK 2.10.11
MinGW 5.1.3
regards,
bouba.
Hi,
Just installed Geany, Gtk and Mingw (gcc 3.4.5) under Winxp, Geany ran fine but
I can't compile, the compile button is grayed.
The path to gcc.exe is set to C:\MinGW\bin and I can run it directly from the
command line.
Any ideas ?
regards,
bouba
I notice a potential problem with the win32_check_write_permission()
function on line 562 of win32.c - it really isn't a bug right now, but it
might turn into a bug if the function ever gets used somewhere else:
-MultiByteToWideChar(CP_UTF8, 0, app->configdir, -1, w_dir, sizeof w_dir);
+MultiByteToWideChar(CP_UTF8, 0, dir, -1, w_dir, sizeof w_dir);
- Jeff
Hi ...
I have been using Geany more and more, and is trying to write a new
cmake plugin for this small and nice IDE. While doing this, I found my
self wondering about the VTE function.
Would it not be nice to refactor this terminal as a plugin, both because
not all like to use or need this function and to make the plugin
interface more mature, and the IDE small ?
Regards
/BL