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@gmail.com:
2006/7/21, Enrico Tröger enrico.troeger@uvena.de:
On Thu, 20 Jul 2006 17:13:17 -0300, "Alexandre Moreira" alexandream@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@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 Mon, 24 Jul 2006 14:38:38 -0300, "Alexandre Moreira" alexandream@gmail.com wrote:
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).
The latter one sounds nice, but won't help Geany ;-).
I don't know how to proceed, I only know I have no idea about DDE and the more I look into the Windows API the more I want to run away. Furthermore, I think it is not very clever to spend time on developing the feature for Windows with their weird(read: other than we know it) named pipe support and then it works only with the newer versions of Windows. I don't know how many people are using Geany under Windows and I don't know how many of them have a Windows older than Windows 2000.
The Windows version of Geany exists since 1.0(more or less) but this was never my primary target and I don't want to spend so much time for the Windows code. So, if anyone want to write the code, whether it is Nick, Alexandre or whoever, I will appreciate it. But I'm sure, I don't stress myself with DDE or something like this. Sorry.
Anyway, today, I set up a cross compiler environment with mingw32 (there is a nice tutorial at http://ricardo.ecn.wfu.edu/%7Ecottrell/cross-gtk/#config-build). It's not yet completely working, but when it does, developing Windows code is more easy for me(have only a running Windows on my laptop and it is quite slow with Windows).
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On Mon, 24 Jul 2006 20:34:59 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
I don't know how many people are using Geany under Windows and I don't know how many of them have a Windows older than Windows 2000.
Probably not much, and it looks like they are going to be fewer and fewer. W98 has been EOL'd, and it is unstable as hell. I do not see why people would develop on it. However, if I was still using 98, I would not like being left in the cold, so... I cannot say what is best to do.
khaqq
On 24/07/06 19:52:53, khaqq wrote:
On Mon, 24 Jul 2006 20:34:59 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
I don't know how many people are using Geany under Windows and I don't know how many of them have a Windows older than Windows
Probably not much, and it looks like they are going to be fewer and fewer. W98 has been EOL'd, and it is unstable as hell. I do not see why people would develop on it. However, if I was still using 98, I would not like being left in the cold, so... I cannot say what is best to do.
My family still use a computer running Windows Millenium Edition - basically the same as Windows 98. But I guess Windows support isn't especially needed - I've installed Linux on its other partition.
I think it comes down to whether allowing Geany to build and run on Windows ME/9x actually causes us any problems.
Geany only requires GTK+ 2.6, which does run on WinME/9x. IMO as long as this is the only required dependency, we should allow Geany to run on WinME/9x, but not necessarily support it; i.e. we should do nothing which we can predict would cause problems.
This should not be difficult because any features that won't work on WinME/9x can probably be disabled for those systems - e.g. put any Windows-specific feature that depends on newer Windows in a DLL, and don't load it on WinME/9x. OTOH if this causes too much maintenance trouble, or means we need to make 2 different binary Windows releases, perhaps we should consider dropping support for the older systems.
At the moment I have an issue with Scintilla updating the text in WinME, but we might solve this issue, and it may be caused by something else.
Just my opinion on this ;-)
Regards, Nick
On Tue, 25 Jul 2006 17:16:33 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On 24/07/06 19:52:53, khaqq wrote:
On Mon, 24 Jul 2006 20:34:59 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
I don't know how many people are using Geany under Windows and I don't know how many of them have a Windows older than Windows
Probably not much, and it looks like they are going to be fewer and fewer. W98 has been EOL'd, and it is unstable as hell. I do not see why people would develop on it. However, if I was still using 98, I would not like being left in the cold, so... I cannot say what is best to do.
My family still use a computer running Windows Millenium Edition - basically the same as Windows 98. But I guess Windows support isn't especially needed - I've installed Linux on its other partition.
I think it comes down to whether allowing Geany to build and run on Windows ME/9x actually causes us any problems.
Geany only requires GTK+ 2.6, which does run on WinME/9x. IMO as long as this is the only required dependency, we should allow Geany to run on WinME/9x, but not necessarily support it; i.e. we should do nothing which we can predict would cause problems.
This should not be difficult because any features that won't work on WinME/9x can probably be disabled for those systems - e.g. put any Windows-specific feature that depends on newer Windows in a DLL, and don't load it on WinME/9x. OTOH if this causes too much maintenance trouble, or means we need to make 2 different binary Windows releases, perhaps we should consider dropping support for the older systems.
Yes, two different binary releases are a no go. For the moment Geany runs on Windows <= ME, except of the below mentioned problem, and we will see what will happen in the future.
At the moment I have an issue with Scintilla updating the text in WinME, but we might solve this issue, and it may be caused by something else.
Did I already ask if SciTE works?
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On 25/07/06 17:42:22, Enrico Tröger wrote:
On Tue, 25 Jul 2006 17:16:33 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On 24/07/06 19:52:53, khaqq wrote:
On Mon, 24 Jul 2006 20:34:59 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
At the moment I have an issue with Scintilla updating the text in WinME, but we might solve this issue, and it may be caused by something else.
Did I already ask if SciTE works?
SciTE works, and also the Scintilla GTK bait sample works in WinME too (which I linked to the same Geany's libscintilla), but not Geany. Strange.
Regards, Nick