-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
I've started yesterday to write a (small) plugin to generate advanced
documentation comments since I'm not pretty sure Geany's core is the
right place. With advanced, I mean I would try to support Doxygen as
well as GTK+ doc style, generate list of parameters automatically and
so on.
But as you could know/see, finding well the start of the current
function is not easy without reparsing all the file (which is not easy
too and may be resource greedy). Then I thought that all the stuff I
need to generate the doc comment for the current function appears in
the tag panel. Moreover, the tag list would ease support of many
languages… well, just no need to rewrite each parser.
I've taken a look at what Geany does to generate doc comments, and it
seems to use the symbol list; but it seems not accessible from plugins.
Then, I have some questions:
* Is it possible to get tags for the current function, or at least
function's start line, from inside a plugin?
* Am I in the wrong way for anything? (is there a better way to get
current function property; should I only improve Geany's functionality; …)
And additionally:
* Is there a way to add an item into the
editor_popup=>insert_comments submenu from a plugin?
Thanks for spending time on reading me,
Colomban
PS:
Please excuse and tell me if I ask stupid questions.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmitHgACgkQyqbACDEjVWjPcwCgxR8pcvYufQcQlfZJQw1FTPYR
gKAAn3MohXOxb49u5V5Flp9tKpJThqnf
=6Kvy
-----END PGP SIGNATURE-----
Hi all
Doing an unsuccessful search using the search dialog currently results
in a dialog popping up asking
"searchstring" was not found.
Wrap search and find again?
Clicking on the Find button results in a message in the status bar
saying "searchstring" not found.
Would it be possible to change the search field background to red in
this case, to give additional visual feedback that the search was
fruitless? In the same way that the search field in the toolbar does it.
Thanks!
Conrad
--
-----------------------------------------------------------------------------
Conrad D. Steenberg Ph.D. conrad.steenberg(a)caltech.edu
Scientific Software Engineer http://clarens.caltech.edu
Pierce Bio-Engineering Lab Mail Code 114-96
California Institute of Technology Pasadena, CA, 91125
Sometimes my home built Geany crashes with a segfault when I use the
window split function.
Build info:
Linux Fedora 10, updated, uname -a:
Linux goedel.recco.de 2.6.27.15-170.2.24.fc10.x86_64 #1 SMP Wed
Feb 11 23:14:31 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
Geany svnversion: 3603
I built and installed geany with
./autogen.sh; make rpm; sudo rpm -Uvh ...
Gcc Option -O2 is used for compiling.
I start Geany, open a file and use "Tools->Split Window->Vertically" (or
Horizontally) and sometimes it crashes then. Below a stack trace of such
an event ...
Wolfgang
[weo@goedel src]$ gdb geany
GNU gdb Fedora (6.8-29.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
(gdb) run build.c
Starting program: /home/weo/Devel/Geany/src/geany build.c
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff7fc8790 (LWP 7341)]
Detaching after fork from child process 7351.
Detaching after fork from child process 7352.
[New Thread 0x7fffe9267950 (LWP 7403)]
Program received signal SIGSEGV, Segmentation fault.
Document::AddRef (this=0xfffffffff172eac0) at Document.cxx:92
92 return refCount++;
Current language: auto; currently c++
Missing separate debuginfos, use: debuginfo-install GConf2-2.24.0-1.fc10.x86_64 ORBit2-2.14.16-1.fc10.x86_64 atk-1.24.0-1.fc10.x86_64 bug-buddy-2.24.2-1.fc10.x86_64 cairo-1.8.0-1.fc10.x86_64 dbus-glib-0.76-3.fc10.x86_64 dbus-libs-1.2.4-2.fc10.x86_64 e2fsprogs-libs-1.41.4-1.fc10.x86_64 elfutils-libelf-0.140-1.fc10.x86_64 expat-2.0.1-5.x86_64 fontconfig-2.6.0-3.fc10.x86_64 freetype-2.3.7-2.fc10.x86_64 gamin-0.1.9-6.fc10.x86_64 gdbm-1.8.0-29.fc10.x86_64 glib2-2.18.4-1.fc10.x86_64 glibc-2.9-3.x86_64 gtk-nodoka-engine-0.7.2-1.fc10.x86_64 gtk2-2.14.7-1.fc10.x86_64 gvfs-1.0.3-5.fc10.x86_64 libICE-1.0.4-4.fc10.x86_64 libSM-1.1.0-2.fc10.x86_64 libX11-1.1.4-6.fc10.x86_64 libXau-1.0.4-1.fc10.x86_64 libXcomposite-0.4.0-5.fc10.x86_64 libXcursor-1.1.9-3.fc10.x86_64 libXdamage-1.1.1-4.fc9.x86_64 libXdmcp-1.0.2-6.fc10.x86_64 libXext-1.0.4-1.fc9.x86_64 libXfixes-4.0.3-4.fc10.x86_64 libXft-2.1.13-1.fc10.x86_64 libXi-1.1.3-4.fc9.x86_64 libXinerama-1.0.3-2.fc10.x86_64 libXrandr-1.2.3-1.fc10.x86_64 libXrender-0.9.4-3.fc9.x86_64 libasyncns-0.7-1.fc10.x86_64 libcanberra-0.10-3.fc10.x86_64 libcanberra-gtk2-0.10-3.fc10.x86_64 libcap-2.10-2.fc10.x86_64 libgcc-4.3.2-7.x86_64 libogg-1.1.3-9.fc9.x86_64 libpng-1.2.34-1.fc10.x86_64 libselinux-2.0.73-1.fc10.x86_64 libstdc++-4.3.2-7.x86_64 libtdb-1.1.1-26.fc10.x86_64 libtool-ltdl-1.5.26-4.fc10.x86_64 libvorbis-1.2.0-5.fc10.x86_64 libxcb-1.1.91-5.fc10.x86_64 ncurses-libs-5.6-20.20080927.fc10.x86_64 pango-1.22.3-1.fc10.x86_64 pixman-0.12.0-2.fc10.x86_64 pulseaudio-libs-0.9.14-1.fc10.x86_64 vte-0.17.4-1.fc10.x86_64 zlib-1.2.3-18.fc9.x86_64
(gdb) where
#0 Document::AddRef (this=0xfffffffff172eac0) at Document.cxx:92
#1 0x00000000004acbfa in Editor::SetDocPointer (this=0x7fffeda69800, document=<value optimized out>) at Editor.cxx:5752
#2 0x00000000004b2feb in Editor::WndProc (this=0x7fffeda69800, iMessage=<value optimized out>, wParam=0, lParam=-244127040)
at Editor.cxx:7487
#3 0x00000000004c133e in ScintillaBase::WndProc (this=0x7fffeda69800, iMessage=953402672, wParam=0, lParam=-244127040)
at ScintillaBase.cxx:742
#4 0x00007ffff1507ca8 in sync_to_current () at splitwindow.c:167
#5 set_editor (editwin=0x7ffff1708c60, editor=0x7ffff17266b0) at splitwindow.c:196
#6 0x00007ffff1508266 in split_view (horizontal=0) at splitwindow.c:309
#7 0x0000003a9ce0b7dd in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#8 0x0000003a9ce214bd in ?? () from /lib64/libgobject-2.0.so.0
#9 0x0000003a9ce22b68 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#10 0x0000003a9ce23093 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#11 0x00000034ce4320cb in gtk_widget_activate () from /usr/lib64/libgtk-x11-2.0.so.0
#12 0x00000034ce336acd in gtk_menu_shell_activate_item () from /usr/lib64/libgtk-x11-2.0.so.0
#13 0x00000034ce338515 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#14 0x00000034ce329a08 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#15 0x0000003a9ce0b7dd in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#16 0x0000003a9ce2119b in ?? () from /lib64/libgobject-2.0.so.0
#17 0x0000003a9ce229ea in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#18 0x0000003a9ce23093 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#19 0x00000034ce42c7de in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#20 0x00000034ce322373 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#21 0x00000034ce323493 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#22 0x00000034cde4deac in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#23 0x0000003a9ca3779b in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#24 0x0000003a9ca3af6d in ?? () from /lib64/libglib-2.0.so.0
#25 0x0000003a9ca3b49d in g_main_loop_run () from /lib64/libglib-2.0.so.0
#26 0x00000034ce3238a7 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#27 0x0000000000469679 in main (argc=2, argv=0x7fffffffe318) at main.c:1077
(gdb)
Hello
I'm tried to seed geany in school with 65 PC with windows XP. But the
problem is that geany under windows is not working with FPC. Geany does not
grab therminal output and doesn't show error lines and etc. It makes geany
under windows totally useless in teaching progress and i have to use fp.exe
or dev-pas gui for fpc. Is there any solution maybe someway streem
redirection in compiler options and loading this file after closing console
window? Any help? I have to solve it in a week or swap IDE to something
usable.
The problem exists only on windows while it works perfectly under Ubuntu.
I don't have any trouble with gcc under windows :/ But now i have to teach a
semestr of Pascal :/
Please help. If you want any other infos mail me directly.
Hi all,
I'm happy to announce first release of GeanyLipsum, a plugin to insert
Lorem Ipsum text into your documents.
Version 0.1 includes:
* Inserting of Lorem Ipsum texts to your document
* Length of text changeable between 1 and 5,000 characters
* Fast access by keybindings
This release of GeanyLipsum is depending on Geany v0.16. Versions
below are not supported at the moment.
I've uploaded the source code as well as added some information to
a short the website.
Website:
http://frank.uvena.de/en/Geany/geanylipsum/
Downloadlink:
http://frank.uvena.de/files/geany/geanylipsum-0.1.tar.gz
Have fun,
Frank
--
Frank Lanitz <frank(a)frank.uvena.de>
Hi,
It's been a while but now I'm happy to anounce a new version of
GeanyLaTeX for Geany 0.16
With new version, plugin now includes:
* Wizard to create new LaTeX documents in a fast and easy way with a
bunch of templates available
NEW: extended by a rudimental letter and LaTeX-beamer tempalte
* A front end for add labels \label{} and refs \ref{} and \pageref{}
with getting suggestion from aux file of document
NEW: Parsing of aux files
* Inserting special characters through menu
* Help entering the right field for bibTeX entries by providing
templates (complete new)
With release of GeanyLaTeX 0.3 and Geany 0.16 this plugin depends on
the latest version of Geany. 0.15 or below are not longer supported.
I've uploaded the source code as well as updated the website.
Website:
http://frank.uvena.de/en/Geany/geanylatex/
Downloadlink:
http://frank.uvena.de/files/geany/geanylatex-0.3.tar.gz
Happy TeXing,
Frank
--
Frank Lanitz <frank(a)frank.uvena.de>
Hi all,
we are happy to announce a new release of Geany!
For a comprehensive list of changes to Geany 0.16, please see
http://www.geany.org/Documentation/ReleaseNotes. A very detailed and
complete list of changes can be found in the ChangeLog, included in the
source packages as well as in the Windows binary files.
Some of the highlights:
- We changed the configuration directory path to ~/.config/geany. Geany
will move your old configuration directory automatically on the first
start.
- Tree-like symbol view in the sidebar
- Increase minimum required GTK version to 2.8
- New toolbar which is much more flexible and customisable
- Add auto-closing of braces, brackets and quotes (Guillaume de
Rorthais)
- Support multiple %cursor% positions in Snippets (Thomas Martitz)
- New filetypes Ada, CMake, Matlab, NSIS, Vala and YAML
- Add Split Window 'Split Vertically' command (thanks to Moritz
Barsnick).
- Improved Windows installer
- Updated translations: bg, ca, cs, de, en_GB, fr, hu, it, ja, pt_BR,
sv, ru, tr, vi, zh_CN
There are many more cool new things, you should read the Release Notes.
We want to thank all translators who have contributed new or updated
translations to this release as well as all people who contributed to
this release with patches, feedback, bug reports and so on.
Thank you!
All downloads can be found as usual on
http://download.geany.org or
https://sourceforge.net/project/showfiles.php?group_id=153444
Happy coding,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Hi all,
I noticed today a new regression in LexHTML; Using comments in XML
clobbers the fold structure.
The comment 'opening' <!-- does not increase the fold level, but the
'closing' --> decreases the fold level. A simple fix is commenting out
the "if (foldHTMLPreprocessor)" on line 858, LexHTML.cxx
But be forewarned: I don't know exactly when this regressed or what
caused it.
Hi all,
I'm happy to announce a new version of GeanySendMail plugin, a little
plugin for Geany to send a document as attachment using the preferred
mail client.
This release is just a maintenance release to make usage of some
extension of Geany's plugin API introduced with Geany 0.16. No features
were added here.
This version depends on Geany 0.16. If you are using Geany 0.15 you
can still go on using version 0.4 of that plugin - no feature gets lost.
I've uploaded the source code as well as updated the website.
Website:
http://frank.uvena.de/en/Geany/geanysendmail/
Downloadlink:
http://frank.uvena.de/files/geany/geanysendmail-0.4.1.tar.gz
Have fun,
Frank
--
Frank Lanitz <frank(a)frank.uvena.de>