Re: [Geany-devel] Code formatter
On 12-07-17 07:32 PM, Jacob Strohm wrote: Hello all, Does Geany have any kind of automatic code formatter, either in the core or as a plugin? Looking through the plugins project/website, I didn't see anything like it, and if not I think I'd enjoy working on it in my free time, I just wanted to double check before investing a bunch of time. Hi, I'd personally be very interested in using a plugin that can format the code precisely automatically. IIRC VisualStudio does this very well but is not flexible as to code style (or I didn't find the preferences). I suspect it would be quite difficult to write a good one that is at the same time accurate, flexible and supports multiple non-similar languages (C-style vs Python, for example). Best of luck, Matthew Brush ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] Code formatter
On Jul 18, 2012, at 10:32, Jacob Strohm wrote: > Hello all, > > Does Geany have any kind of automatic code formatter, either in the core > or as a plugin? Looking through the plugins project/website, I didn't see > anything like it, and if not I think I'd enjoy working on it in my free time, > I just wanted to double check before investing a bunch of time. > This may solve your issue partially: http://editorconfig.org Currently you can only deal with indentation using it. Hong ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] Code formatter
On 18 July 2012 12:32, Jacob Strohm wrote: > Hello all, > > Does Geany have any kind of automatic code formatter, either in the core > or as a plugin? Looking through the plugins project/website, I didn't see > anything like it, and if not I think I'd enjoy working on it in my free > time, I just wanted to double check before investing a bunch of time. No there is no such built-in although many people use custom command to do that http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands. Cheers Lex > > Thanks, > Jacob Strohm > ___ > Geany-devel mailing list > Geany-devel@uvena.de > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel > ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
[Geany-devel] Code formatter
Hello all, Does Geany have any kind of automatic code formatter, either in the core or as a plugin? Looking through the plugins project/website, I didn't see anything like it, and if not I think I'd enjoy working on it in my free time, I just wanted to double check before investing a bunch of time. Thanks, Jacob Strohm ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] OSX build error: ld: unknown option: --export-dynamic
On Tue, Jul 17, 2012 at 2:17 PM, Colomban Wendling wrote: > > ...or we could drop our flag and let GModule pkg-config flags deal with > it. Fixed with commit > https://github.com/geany/geany/commit/d11f9a51b939bf39c3c1676ab823147d460ede75 > > Regards, > Colomban > Nice! I pulled this change and was able to build successfully. I'm now seeing the geany app up and running at version 1.23>=d11f9a5. Looks like the paste bug is here so ... time to get a-hunting. The version of Geany from the openenterprise fellows pasted ok... would it be worthwhile comparing the two codebases? Any suggestions where to start as far as chasing the issue down? ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] OSX build error: ld: unknown option: --export-dynamic
On 12-07-17 02:17 PM, Colomban Wendling wrote: Le 17/07/2012 22:43, Matthew Brush a écrit : On 12-07-17 01:32 PM, Sean Felipe Wolfe wrote: Sorry to be kind of spammy today. Just ran into what looks like a build error? I cloned the git repo, ran autogen.sh, and make is giving me this error: - CC utils.o CC vte.o CXXLD geany ld: unknown option: --export-dynamic - This is on osx Lion. Any suggestions? Yep, this and your last problem were both things I had to figure out too. This export dynamic problem is because Geany doesn't deal with OSX separately and lumps it in with "non-Windows" in the Makefile. Unfortunately this linker flag is invalid on OSX but is needed on Linux (and others?) for Glade to connect to the signal handlers at runtime. Quick Fix: Just delete everywhere you see `-Wl,--export-dynamic` in the Makefile.am files (probably only in `src/Makefile.am`). We can't do this in Geany proper because it won't work correctly on Linux then. Real Fix: In the configure.ac, detect OSX somehow and do an AM_CONDITIONAL or something like this so that the Makefile can set the LDFLAGS differently for OSX than other Unices. If done correctly, a patch would be most welcome. I can't remember if I fixed this properly in my changes or if I just did the quick fix. ...or we could drop our flag and let GModule pkg-config flags deal with it. Fixed with commit https://github.com/geany/geany/commit/d11f9a51b939bf39c3c1676ab823147d460ede75 Nice! Still would be nice to have a way to handle OSX differently in the Makefiles though since there's a lot of OSX specific stuff needed should the changes ever be submitted/merged. Cheers, Matthew Brush ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] OSX build error: ld: unknown option: --export-dynamic
Le 17/07/2012 22:43, Matthew Brush a écrit : > On 12-07-17 01:32 PM, Sean Felipe Wolfe wrote: >> Sorry to be kind of spammy today. Just ran into what looks like a >> build error? I cloned the git repo, ran autogen.sh, and make is giving >> me this error: >> >> - >> >>CC utils.o >>CC vte.o >>CXXLD geany >> ld: unknown option: --export-dynamic >> >> - >> >> This is on osx Lion. Any suggestions? >> >> > > Yep, this and your last problem were both things I had to figure out > too. This export dynamic problem is because Geany doesn't deal with OSX > separately and lumps it in with "non-Windows" in the Makefile. > Unfortunately this linker flag is invalid on OSX but is needed on Linux > (and others?) for Glade to connect to the signal handlers at runtime. > > Quick Fix: Just delete everywhere you see `-Wl,--export-dynamic` in the > Makefile.am files (probably only in `src/Makefile.am`). We can't do this > in Geany proper because it won't work correctly on Linux then. > > Real Fix: In the configure.ac, detect OSX somehow and do an > AM_CONDITIONAL or something like this so that the Makefile can set the > LDFLAGS differently for OSX than other Unices. If done correctly, a > patch would be most welcome. I can't remember if I fixed this properly > in my changes or if I just did the quick fix. ...or we could drop our flag and let GModule pkg-config flags deal with it. Fixed with commit https://github.com/geany/geany/commit/d11f9a51b939bf39c3c1676ab823147d460ede75 Regards, Colomban > > Cheers, > Matthew Brush > > ___ > Geany-devel mailing list > Geany-devel@uvena.de > https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] OSX build error: ld: unknown option: --export-dynamic
On 12-07-17 01:32 PM, Sean Felipe Wolfe wrote: Sorry to be kind of spammy today. Just ran into what looks like a build error? I cloned the git repo, ran autogen.sh, and make is giving me this error: - CC utils.o CC vte.o CXXLD geany ld: unknown option: --export-dynamic - This is on osx Lion. Any suggestions? Yep, this and your last problem were both things I had to figure out too. This export dynamic problem is because Geany doesn't deal with OSX separately and lumps it in with "non-Windows" in the Makefile. Unfortunately this linker flag is invalid on OSX but is needed on Linux (and others?) for Glade to connect to the signal handlers at runtime. Quick Fix: Just delete everywhere you see `-Wl,--export-dynamic` in the Makefile.am files (probably only in `src/Makefile.am`). We can't do this in Geany proper because it won't work correctly on Linux then. Real Fix: In the configure.ac, detect OSX somehow and do an AM_CONDITIONAL or something like this so that the Makefile can set the LDFLAGS differently for OSX than other Unices. If done correctly, a patch would be most welcome. I can't remember if I fixed this properly in my changes or if I just did the quick fix. Cheers, Matthew Brush ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
[Geany-devel] OSX build error: ld: unknown option: --export-dynamic
Sorry to be kind of spammy today. Just ran into what looks like a build error? I cloned the git repo, ran autogen.sh, and make is giving me this error: - CC utils.o CC vte.o CXXLD geany ld: unknown option: --export-dynamic - This is on osx Lion. Any suggestions? -- A musician must make music, an artist must paint, a poet must write, if he is to be ultimately at peace with himself. - Abraham Maslow ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] osx build problem
BTW, I was able to resolve this ... looks like the osx implementation of glib is a bit flaky. Anyhow this fix helped me get by: https://github.com/vguerci/Deluge.app/blob/master/osx/README.md On Tue, Jul 17, 2012 at 11:24 AM, Sean Felipe Wolfe wrote: > Hello all, > > I'm crunching through various issues attempting to compile geany on > osx. I've been able to resolve a number of them, but glib is getting > me all > hot and bothered ... for what it's worth, I have xcode installed so > maybe I should be using something from the xcode toolkit? > > Any suggestions would be appreciated. Thanks! > > > sh-3.2# cd glib-2.28.8/ > sh-3.2# make > make all-recursive > Making all in . > make[2]: Nothing to be done for `all-am'. > Making all in m4macros > make[2]: Nothing to be done for `all'. > Making all in glib > make all-recursive > Making all in libcharset > make[4]: Nothing to be done for `all'. > Making all in pcre > make[4]: Nothing to be done for `all'. > Making all in update-pcre > make[4]: Nothing to be done for `all'. > Making all in . > CC gconvert.lo > gconvert.c:65:2: error: #error GNU libiconv not in use but included > iconv.h is from libiconv > make[4]: *** [gconvert.lo] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > sh-3.2# > > > -- > A musician must make music, an artist must paint, a poet must write, > if he is to be ultimately at peace with himself. > - Abraham Maslow -- A musician must make music, an artist must paint, a poet must write, if he is to be ultimately at peace with himself. - Abraham Maslow ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
[Geany-devel] osx build problem
Hello all, I'm crunching through various issues attempting to compile geany on osx. I've been able to resolve a number of them, but glib is getting me all hot and bothered ... for what it's worth, I have xcode installed so maybe I should be using something from the xcode toolkit? Any suggestions would be appreciated. Thanks! sh-3.2# cd glib-2.28.8/ sh-3.2# make make all-recursive Making all in . make[2]: Nothing to be done for `all-am'. Making all in m4macros make[2]: Nothing to be done for `all'. Making all in glib make all-recursive Making all in libcharset make[4]: Nothing to be done for `all'. Making all in pcre make[4]: Nothing to be done for `all'. Making all in update-pcre make[4]: Nothing to be done for `all'. Making all in . CC gconvert.lo gconvert.c:65:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv make[4]: *** [gconvert.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 sh-3.2# -- A musician must make music, an artist must paint, a poet must write, if he is to be ultimately at peace with himself. - Abraham Maslow ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] Dropping Waf support?
Am 16.07.2012 19:36, schrieb Enrico Tröger: > Hey all, > > this topic has been brought up already a couple of times, for example on > [1]. > > What do you think about dropping Waf support in Geany and in the > Geany-Plugins project? > > While I was defending Waf in Geany, I somewhat changed my mind. Not > because I don't like it anymore, but I increasingly see the efforts in > maintaining two (to be exactly three for Geany) build systems is too > much. Since the make/MSYS build system support seems to get better and > better due to Nick's and Dimitar's work on it, I thought about dropping > the Waf support. It seems nobody knows it well enough and probably > except for a few users nobody is using it. > (And obviously I don't do so much anymore and also lost a bit interest > in maintaining forever.) > > The other thing is that Waf causes often problems for distro packages, > especially for the Debian folks [2]. > > So, I'd go the easy way in this case and just remove Waf. Then we only > need to maintain the autotools based build system for non-Windows > systems and the make based for Windows. > > For Geany-Plugins, we would need to get something working on Windows but > maybe we could re-use Geany's make based system for Windows here. > > What do you guys think? As long as I don't need to maintain autotools I'm fine with every solution I just never understood how it really works even I tried a couple of times. ;) However: One good maintained system is better than 2 doing different things. Cheers, Frank ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel