This is an improved version of PR #637.
No more "--" - not needed.
No guard for is_osx_bundle() under Windows - does not belong here.
Split into proper sequential commits.
Fixed the encoding of options and doc_name.
Fixed the OSX bundle executable name.
Created a function to return the reproduced arguments instead of exposing global variables.
Re-tested under Windows and Linux.
There is only one problem left. As described in PR #637, under Windows, mscvrt often breaks unquoted locale strings on 2+ pieces, considering some characters "spaces". So spawn should quote any argv elements containing locale. But that must obviously be a separate PR.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/653
-- Commit Summary --
* Add reverse option parser to main
* Add support for geany executable to utils_resource_dir()
* Improve New Window: pass the proper arguments and save configuration
-- File Changes --
M src/libmain.c (121)
M src/main.h (2)
M src/plugins.c (2)
M src/utils.c (111)
M src/utils.h (17)
-- Patch Links --
https://github.com/geany/geany/pull/653.patchhttps://github.com/geany/geany/pull/653.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/653
Hi all,
I created a share object (so) - libdsso
I am trying, successfully to debug it through gdb:
gcc -g testc -lds
However, when i am trying to debug through geany, i get an error immediately:
program existed with error 127
just to mention - everything else is working just fine (compiling with static library, makefiles etc)
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/837
I'm in Windows 7, running Geany 1.29, which I downloaded from http://download.geany.org/geany-1.29_setup.exe . When I save a file, previous Windows permissions for that file are lost. It seems the permissions afterwards probably always just inherit from the directory the file is in.
This is annoying when using Cygwin and its git. Any file saved by Geany is seen as executable by Cygwin, and then git would commit that change. I know I could `git config core.fileMode false`, but I shouldn't need to. Both Notepad and Notepad++ preserved permissions.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1420
The following error should be triggered for Python scripts which start with `#!/usr/bin/env python3` as in Python 3 UTF-8 is assumed and encoding preamble is no longer obligatory.
File "*****.py", line 23
SyntaxError: Non-ASCII character '\x**' in file process.py on line **, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
------------------
(program exited with code: 1)
Press return to continue
Reported for version `built on or after Sep 23 2016` or according to dpkg version `1.28-2` on Unutu Yakkety.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1298
Sometimes we don't want the sidebar on at all the times, thus it'd great if we can have a shortcut which can toggle it.
Ideally, I'd request that items in the menu bar have a shortcut. (line wrapping, going to next tab).
I searched through the keyboard shortcuts but couldn't find it. If they are indeed present, it'd be great to display them in the menu bar itself, it is immensely helpful.
Thank you!
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1324
How to use Geany?
Download and install the following:
geany-1.28_setup.ehe
fpc-3.0.0.i386-win32.cross.x86_64-win64.ehe
and I tried to compile
program untitled;
uses crt;
var i: byte;
BEGIN
writeln ( 'Hello, World!');
END.
In the tab following status messages:
12:59:30: It Geany 1.28.
12:59:30: A new file "without a name".
13:00:00: The file is closed without a name.
13:00:00: A new file "without imeni.pas".
13:00:22: C File: \ Users \ Alex \ the Desktop \ 111 \ without imeni.pas saved.
13:00:52: C File: \ Users \ Alex \ the Desktop \ 111 \ without imeni.pas saved.
13:00:52: The process has failed (Invalid specified folder name)
13:01:06: The process has failed (Invalid specified folder name)
I tried on three different PCs running Windows 7 x64. Everywhere one and the same.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1299
I have xterm and also xfce4-terminal
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1369
'Geany' no longer detects if there is an instance of itself already running, thus multiple instances are starting up, instead of files being opened in the current instance.
I doubt it is a "#ifdef HAVE_SOCKET" not being defined since the mutexs (called mutants in win32) are being created with the name 'Geany'.
I suspect it had to do with recent cleanups and changes in https://github.com/geany/geany/commits/c5b0fc459a1251c824a44edb5dfab4a8feb0…
![screenshot_of_mutants](https://cloud.githubusercontent.com/assets/2829875/9657992/dba0fd70-5213-11e5-9fcd-2c270304dfb7.png)
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/641
To edit .md files, l currently use leafpad instead of geany because l don't want to circuitously change the two settings which enable automatic removal of trailing whitespaces just to edit some README.md a bit.
In Markdown, two spaces at the end of the line cause a line break.
l'd like to edit Markdown files with geany without dreading vanished line breaks.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1464