Hi all,
it's time for a beta version, actual it is only the current SVN version.
There are some interesting changes which need testing.
Short list:
- new filetypes TCL and Ruby
- compile(read syntax check) support for Perl, Python and Ruby
- filetype definition files(these which are found in
$prefix/share/geany) can be overridden by files in Geany's
configuration directory(documentation for this follows soon)
- user-definable keyboard shortcuts are available in the preferences
dialog (needs to be tested)
- new menu item search with items from the Edit menu item and some new
items
- as usual some bugfixes (for more details read the ChangeLog)
- added translation for Catalan (this and the German translation are a
bit outdated, will be updated)
Get it:
http://files.uvena.de/geany/geany-0.7beta1.tar.gz
(from uvena.de)
http://geany.uvena.de/geany-0.7beta1.tar.gz
(from sourceforge.net)
Thanks for testing.
regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
Geany, a lightweight IDE using GTK2 - http://geany.uvena.de
Hi,
I've got some files in an older defunct scripting language that I'd
like to edit, but I want to at least have some basic syntax
highlighting for it.
I just had a look at the "Filetype definition files" section of the
manual (http://geany.uvena.de/manual/ch03s09.html).
Also, I also see that there only *seems* to be only 16 scintilla
filetypes available:
.../src/geany/scintilla$ ls -1 Lex*.cxx
LexAsm.cxx
LexBash.cxx
LexCaml.cxx
LexConf.cxx
LexCPP.cxx
LexCrontab.cxx
LexCSS.cxx
LexHTML.cxx
LexOMS.cxx
LexOthers.cxx
LexPascal.cxx
LexPerl.cxx
LexPython.cxx
LexRuby.cxx
LexSQL.cxx
LexTCL.cxx
(well, maybe a couple more since LexOthers.cxx contains a few),
however in geany: "Document --> Set filetype" I see a number of
languages listed there that don't seem to be represented by Lex*.cxx
files, such as "D" (and maybe "O-Matrix" (?)). Furthermore, I don't
see Crontab listed in the menu items, even though there's a
LexCrontab.cxx file for it. (Hm . . . incidentally, LexOMS.cxx &
LexBash.cxx look almost identical.)
What is the correspondence between those Lex*.cxx files and the geany
menu items in "Document --> Set filetype"?
Can I easily create a new syntax highlighting patterns such that a new
menu item will show up in "Document --> set filetype"? I already tried
copying (from $prefix/share/geany to ~/.geany/filedefs), renaming, and
modifying an existing one, but it doesn't work, and my guess is that I
first need a scintilla Lex*.cxx file . . . .
Thanks,
---John
On 26/07/06 06:48:03, Sascha Heid wrote:
>> OK, you might get a different backtrace now using a build without
>> -fomit-frame-pointer. If so please post it back to the list - this
>> could be why there were ?? entries.
>
> Unfortunately the backtrace is identical.
OK, in that case it is probably stack corruption after all.
The only thing I can suggest is to downgrade your GTK to 2.8.x (and
downgrade GLib if the problem still occurs), assuming this is possible
with your setup.
I will try to do some testing with GTK 2.10 sometime in the next few
weeks, but it seems unlikely we can find the problem before the 0.8
release.
Regards,
Nick
On Wed, 26 Jul 2006 15:10:06 -0400, "John Gabriele" <jmg3000(a)gmail.com>
wrote:
Hi,
> > > 2. How can I write my own syntax highlighting colorscheme? I'd
> > > like to maybe make something like this:
> > > http://radarzombies.org/slinky/zenburn-snapshot.png
> > > (http://www.vim.org/scripts/script.php?script_id=415).
> >
> > I forgot to mention, that at the moment there is a small bug in
> > Geany which causes Geany to interpret some hex colours wrong.
> > But we didn't fixed it because then we have to change many of the
> > default colour shemes. It will be fixed soon.
> >
> > So, I think it would be the best to wait one or two weeks with
> > starting a new theme to avoid unnecessary work.
> > Sorry.
>
> Please keep us posted on the status of this fix. :)
Status: fixed (in SVN).
Basically, the bug(the wrong interpretation of the hex values) caused to
switch the red and blue value of the colours. So, 0x0000ff was red,
0xff0000 was blue. The green value was not affected.
Now it is fixed and Geany will interpret all hex values correct(at
least I hope so). I adjusted all filetype definition files, so you
shouldn't see a difference.
@All who ever changed the syntax highlighting: it could be that you
have to change your modifications to let it look like before.
And because I had so much colours to change today, I built in a new
feature: if you open the colour chooser dialog, it looks in the current
file at the cursor position for a hex colour and when one is found, it
will be selected in the dialog. I think this is useful when you are
writing hex colours and quickly want to check whether it is the write
one (remember: you can define a shortcut to open the colour chooser
dialog).
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
Wow -- this looks like a neat project. :)
I've been looking for a simple, fast, modern, GTK+ based editor with
some amount of code browsing features, and geany seems to really fit
the bill.
Some issues I had:
1. One problem I noticed right off the bat: auto-completion. I opened
a new file (some Ruby), and typed:
def foo
puts "hi"
end[<-- cursor here]
then when I hit <Enter> to end the line, geany quickly tacks on
"DocumentSAXFunc" leaving me with:
def foo
puts "hi"
endDocumentSAXFunc
I've got no idea what "endDocumentSAXFunc" is related to. Where is
geany getting this name from?
How can I shut this auto-complete off? Or at least just tell it I only
want it to try and autocomplete for core Ruby names (or names I've
'require'd in)? I've tried unchecking "Preferences --> Editor -->
Construct auto completion" but that didn't seem to do anything. Maybe
a keybinding to only use autocomplete when I want it?
2. How can I write my own syntax highlighting colorscheme? I'd like to
maybe make something like this:
http://radarzombies.org/slinky/zenburn-snapshot.png
(http://www.vim.org/scripts/script.php?script_id=415).
3. How can I learn about more text editing keybindings such as
up-/down-by-paragraph, indent-/dedent-current selection, go to
definition, hop between matching brackets/braces/parenthese, etc.?
4. How do I shut off current-line-highlight?
5. "Find next" isn't Ctrl-G. :) Ctrl-g seems to duplicate the current
line. Just a personal preference (and I think lots of folks may be
used to it too). The 'f' keys on my keyboard are tiny little things
that I never touch and try to avoid. :)
And also, a few other questions:
Regarding regexes, what library does geany use for those? pcre, or are
you rolling your own?
By the way, although I'm not familiar with GTK programming, I think
I'd read that some GTK-based editors (such as Anjuta and GEdit) use
GtkSourceview (http://gtksourceview.sourceforge.net/). Does geany use
Scintilla in place of that? If so, just curious, why?
Finally, stuff I really like so far:
* All the helpful pop-up help text (in the yellow boxes). Very nice --
please keep it up. :)
* Edit --> Insert Comments --> GPL notice. Nice touch. :) (though why
the extra indent there?)
* geany is quite fast.
* Color chooser seems handy to have around.
* built-in help feature found firefox right off the bat.
* <Control>-click-drag rectangual selection! :)
* Web page looks great.
Nice work.
Thanks,
---John
Hi,
I just built the current SVN version r632 on Windows.
I packaged just the executable, since the other files didn't change.
It's available here:
http://files.uvena.de/geany/geany_svn_win32_upd.zip
In the archive is the geany.exe which should replace your old one.
@Alexandre: can you test your translation problems, perhaps they are
fixed with this built, but I'm not sure.
In the archive is also geany_xc.exe which is an executable built from
the same code but built under Linux using a cross compiler.
I just want you to test it if you have some time. If the cross compiled
version works well and there are no new bugs from the compiling
process, this would be the way I built the releases because it is more
comfortable for me to build the executable under Linux instead of
powering on my notebook and boot there Windows.
I noticed one issue with the cross compiled executable: there is no
gettext support, it is always in English. I don't know why, I'll try to
fix this within the next days. But I hope all other things will work.
Later, I'll write some short instructions to set up a cross compiler
environment on the website.
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
Redirecting my previous message for the list, since I messed it up the first
time, and adding some information in the end.
2006/7/24, Alexandre Moreira <alexandream(a)gmail.com>:
>
>
>
> 2006/7/21, Enrico Tröger <enrico.troeger(a)uvena.de>:
>
> > On Thu, 20 Jul 2006 17:13:17 -0300, "Alexandre Moreira"
> > <alexandream(a)gmail.com> wrote:
> >
> > > I think it won't be hard to make the fifo stuff we use in *nix work
> > > in the win32 build also, although this is not the "Right Way" of
> > > doing this in windows (DDE is too windows-complicated for my unix
> > > head).
> > >
> > > For that, I must know what the GEANY_FIFO_NAME constant resolves to in
> >
> > > Windows building (trying to hack something with no good development
> > GEANY_FIFO_NAME is just an macro for "geany_fifo.0"
> > And this file exists in the configuration directory of Geany, for
> > example ~/.geany/geany_fifo.0 or whatever was specified with the -c
> > command line switch.
>
>
Here is the important part.
Oh, I forgot to mention, that windows use a completely different scheme for
> pipes so, we won't have the geany_fifo.0 file anywhere in the filesystem,
> (it has a pseudo-filesystem made for pipes ... something like
> //./pipe/MYPIPENAME or other more weird name, I can't remember now). That
> way we will need to have the pipe creation code isolated by platform (posix
> // win32).
>
End of important part.
Regards,
> Alexandre Moreira.
>
> More interesting could be the variable app->fifo_ioc, which points to
> the open IOChannel to this file. But who knows who are IOChannels used
> under Windows ;-).
>
>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.key
>
>
>
>
> _______________________________________________
> Geany mailing list
> Geany(a)uvena.de
> http://uvena.de/cgi-bin/mailman/listinfo/geany
>
While researching the named pipe mechanism in Windows I found out that
Windows 95/98/ME cannot create named pipes (which would make them unable to
use Named pipes the way Geany would do it *sigh*).
Still, The DDE stuff would be usable in basically every version of Windows,
but I have no knowledge about it (except for the basics on "how it works"
... I cannot program anything with it)... and honestly, is too messy and
windows-centric that I just don't plan to learn it.
What you guys say ? we have some options (as far as I can see):
Wait until someone can implement it in DDE "The Right Way";
I try to implement it in Named pipes, but the support will only exist for
windows NT, 2K, XP, Vista;
We have a drink and forget about this one-instance support on windows (lol).
Regards,
Alexandre Moreira.
On Tue, July 25, 2006 00:37, Alexandre Moreira wrote:
> 2006/7/24, Enrico Tröger <enrico.troeger(a)uvena.de>:
>> On Mon, 24 Jul 2006 16:10:13 -0300, "Alexandre Moreira"
>> <alexandream(a)gmail.com> wrote:
>>
>>
>> Hey,
>>
>> > alternatives, brainstorms and notes on my note book (You know, that
>> > thing with lots of pages made of dead trees ? I still use them).
>> lol. Very nice, finally I know what happened to the forest in front of
>> my window.
>>
>> > If anyone is interested in the project I can give more details about
>> > ideas and architecture of the system and we can discuss them. I would
>> > love to have someone at least to listen to some of my ideas and tell
>> > me whenever I am just being too mad ;)
>> Just create a mailing list(e.g. on sf.net) and invite some
>> people, make a simple webpage with some basic information and it will
>> go on.
>
> Well, as I already had the project page at sourceforge, I just created
> the list there. Whenever they create my page (it takes from 6 to 24
> hours to create it) may I post a link in the mailing list so that
> people who may still be interested to join, Enrico ?
Nice that you asked. Just post the link here as your last message in this
thread and all the interested people can subscribe.
regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
2006/7/25, Enrico Tröger <enrico.troeger(a)uvena.de>:
> On Tue, 25 Jul 2006 10:04:59 -0300, "Alexandre Moreira"
> <alexandream(a)gmail.com> wrote:
>
> > 2006/7/25, Enrico Tröger <enrico.troeger(a)uvena.de>:
> > > On Tue, 25 Jul 2006 08:13:37 +0200, Andreas Tscharner
> > > <andy(a)vis.ethz.ch> wrote:
> > >
> > > > Enrico Tröger wrote:
> > > >
> > > > [snip]
> > > > > the author instead of the list. But setting the Reply-To-header
> > > > > is not the solution and is strongly discouraged. I'm not
> > > > > exactly sure at the
> > > >
> > > > Who discourages that?
> > > From the mailman online help:
> > > "There are many reasons not to introduce or override the Reply-To:
> > > header. One is that some posters depend on their own Reply-To:
> > > settings to convey their valid return address. Another is that
> > > modifying Reply-To: makes it much more difficult to send private
> > > replies. See `Reply-To' Munging Considered Harmful[1] for a general
> > > discussion of this issue. See Reply-To Munging Considered Useful[2]
> > > for a dissenting opinion."
> > >
> > > > > moment, but I believe i read something about a RFC violation or
> > > > > something similar.
> > > >
> > > > AFAIK, it is an option (in mailman) and a matter of taste whether
> > > > or not the mailinglist program sets the reply-to - header to the
> > > > list...
> > > Maybe. But with the Reply-To-header set to the list address
> > > replying a mail to the poster won't work anymore in some MUAs.
> > > The other side is a MUA should be able to reply to a mail using the
> > > From header.
> > >
> > > @Alexandre: you are using the webmail client from gmail?
> > > Perhaps asking the Google guys for a reply-to-list feature would be
> > > useful. It's a try.
> >
> > I Will try to ask them that (as soon as I find out their mail).
> >
> > >
> > > Should I really activate the Reply-To header munging?
> > >
> >
> > I Can live with the changing the message destination if you guys can
> > live with sometimes I forgetting it and getting duplicated messages ;)
> Like this time, or should this mail go only to me?
Well, so much for "but I will try hard not to"... lol. Sorry folks, I
must have some bug in my brain's code :P
Regards,
Alexandre Moreira.
> ;-)
>
> In any case, no problem.
>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.key
>
>