Hi folks,
good news today:
I just removed the code for handling the FIFO to detect a running
instance. It never worked as it should and as I imagined it.
Now, we use Unix Domain Sockets. So, the annoying dialog after a crash
isn't necessary anymore. Geany detects whether an instance is running
and if not, it starts a new one. If an instance is running, it opens
all files specified on the command line within this instance,
deiconifies the window and gets the focus to the running instance.
There is no real difference in using Geany, except that it works fine
now ;-). Anyway and as usual, there might be some bugs.
The command line argument to use new instances every time changed from
-p (--no-pipe) to
-s (--no-socket).
The socket file "geany_socket" will be created (at least on non-Windows
systems) in your configuration directory.
There is one side effect in changing the code which is actually a big
advantage:
these sockets are also available under Windows through the
Mutex system. (The code exists, but isn't tested yet. It is copied from
the Sylpheed sources, thanks)
Anyway, I guess it won't work at the moment and maybe
it doesn't even compile on Windows. Sorry for that, I don't have a box
with a running Windows at the moment.
Check out r773!
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
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
Hello,
I talked with Frank Lanitz briefly about this, but I'm working in a
little known language called Ferite (www.ferite.org), and there isn't
really any decent IDE support for it, anywhere.
Now, I'd sort of hoped that I could do this work myself, and perhaps I
still can, because its always better for someone who knows the language
to do the actual work, because I could spot errors before they even occur.
Anyhow, he suggested that I gave you some idea of the syntax:
Keywords:
abstract,alias,arguments,attribute_missing,break,case,class,closure,conformsToProtocol,constructor,default,deliver,destructor,diliver,do,else,extends,final,fix,for,function,if,iferr,implements,include,instanceof,method_missing,modifies,namespace,new,private,protected,protocol,public,recipient,rename,return,static,switch,uses,using,while
FeriteDoc:
@brief,@class,@declaration,@description,@end,@example,@extends,@function,@group,@implements,@modifies,@module,@namespace,@param,@protocol,@return,@return,@static,@type,@variable,@warning
Primitives:
array,number,object,string,void
Literals:
false,null,self,super,true
Anyhow, if you can give me some idea of what to do, or what else you
might need I'd be great full to hear back.
Thanks, Rowan.
Hello,
I'm having some trouble compiling r768, this is what make outputs:
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_get_IHDR@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_destroy_write_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_write_end@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_tRNS_to_alpha@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_write_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_destroy_read_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_create_read_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_palette_to_rgb@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_read_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_bKGD@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_filler@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_image@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_interlace_handling@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_get_io_ptr@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_error@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_end@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_info@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_update_info@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_create_write_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_IHDR@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_get_valid@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_packing@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_create_info_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_convert_from_time_t@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_gray_to_rgb@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_write_info@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_write_image@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_read_user_transform_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_gray_1_2_4_to_8@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_tIME@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_write_user_transform_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_strip_16@PNG12_0'
collect2: ld returned 1 exit status
make[2]: *** [geany] Error 1
make[2]: Leaving directory `/home/rowan/Downloads/Development/geany/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rowan/Downloads/Development/geany'
make: *** [all] Error 2
Can anyone tell me what that means? Is LibPNG broken, or Cairo?
This is a resend, for some reason the last message I sent was dated
28/05/06...
Thanks, Rowan Lewis.
Hello,
I'm having some trouble compiling r768, this is what make outputs:
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_get_IHDR@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_destroy_write_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_write_end@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_tRNS_to_alpha@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_write_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_destroy_read_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_create_read_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_palette_to_rgb@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_read_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_bKGD@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_filler@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_image@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_interlace_handling@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_get_io_ptr@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_error@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_end@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_info@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_read_update_info@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_create_write_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_IHDR@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_get_valid@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_packing@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_create_info_struct@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_convert_from_time_t@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_gray_to_rgb@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_write_info@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_write_image@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_read_user_transform_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_gray_1_2_4_to_8@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_tIME@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_write_user_transform_fn@PNG12_0'
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../lib/libcairo.so: undefined
reference to `png_set_strip_16@PNG12_0'
collect2: ld returned 1 exit status
make[2]: *** [geany] Error 1
make[2]: Leaving directory `/home/rowan/Downloads/Development/geany/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rowan/Downloads/Development/geany'
make: *** [all] Error 2
Can anyone tell me what that means? Is LibPNG broken, or Cairo?
Thanks, Rowan Lewis.
Hi,
I'm using svn-20060824, when there is nothing, the "Save" button is
disable, it's logic. but the "Save all" button is always active, it's
not logic.
When I have many file open, once I click on "Save all", this button
should be disable after this action, right ? But it's always active
for now.
More, when there is only one file on editor, I think this is logic to
disable "Save all" button; because we have already "Save" one.
Cheers,
--
http://vnoss.org
Hello World,
I have a Delphi file and this files contains a function type
type
TEventCallbackEx = function(data : pointer) : boolean of object;
This function type is showed as "ata" in the left column under "Functions"
Best regards
Andreas
--
("`-''-/").___..--''"`-._
`o_ o ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' .'
(il).-'' (li).' ((!.-'
Andreas Tscharner andy(a)vis.ethz.ch
http://www.vis.ethz.ch/~andy ICQ-No. 14356454
Forwarding and replying, since I sent it to wrong recipient (only
Chuoi, not the list)
[nothing snipped, so everyone can read the full thread]
2006/8/19, Củ Văn Chuối . <mrchuoi(a)gmail.com>:
> Hi Alexandre,
>
> Actually, I'm working in both Windows & Linux and I'm just hacking around
> ;-).
>
>
> On 8/19/06, Alexandre Moreira <alexandream(a)gmail.com> wrote:
> > Chuoi, I couldn't help myself but ask.
> >
> > Since you seem to use windows a lot, I would like to ask if you have
> > any experience in Windows C/C++ programming.
> >
> No problem with C/C++ programming here.
>
>
> > We could use a guy with such knowledge (especially knowledge about the
> > DDE or DDEML functions in windows api) to allow the expected behavior
> > of opening files in existing instances.
> >
> Unfortunately, I just know what it is, but never do it before.
>
>
> > If you have any knowledge about that and want to share it... i have
> > not much (almost any) experience in windows programming and tried to
> > find out on my own... no luck so far. :)
> >
> We can learn & work together ;-). Another approach that's using NamedPipe.
About named pipe, I've been studying to solve this problem, but then I
found out we would only have NamedPipe available in newer versions of
windows (no 9x/me support).. and I guess it would neither be good to
have two builds for windows nor none to some branch of the windows
family.
I'll try to do as you said, and check other open source text editors
to check out... but windows code is rather messy to me, and I tend to
get lost easy ... lol.
[nothing snipped, so everyone can read the full thread]
> But I think we can learn and get some code from other projects like GVim
> for Windows.
>
>
> > Well, this post became too long and a little bit off topic. Just would
> > like to add that this question is opened to every member of the list.
> > I probably will find the time to implement it sooner or later, but
> > would be glad if anyone with more information in windows programming
> > than I could give me some hints on that :)
> >
> > Cheers,
> > Alexandre Moreira.
> >
>
> Cheers,
> MrChuoi
> --
> ------------------------------------
> http://forum.vnoss.org
Hi Enrico and Andreas,
Segmentation fault scenario for r714 looks like this:
If I use the old geany.conf (from e.g. r712), I get a segmentation fault.
When I delete geany.conf, geany starts OK and re-creates geany.conf. I do
not remember modifying geany.conf, but I attach it all the
same. I used the -c switch to toss files around to find the cause. Hope this
info would be useful, but it does look like a quirky on-off case in
otherwise very stable and delightful editor.
Cheers,
Misha