Closing since I'm not working on this anymore, and various other PRs such as #446 and #653 provide overlapping improvements. I'll re-open if I ever want to pickup working on this topic.
--
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/pull/597#issuecomment-479277904
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
This has been asked before:
https://github.com/geany/geany/issues/1832https://github.com/geany/geany/issues/1710
I'm asking for it again, as I'm used to opening a new file, using it as a scratch pad, and then emptying and closing it. Geany won't let me do that, but pops up the file save dialogue instead.
Clearly there are other people out there who have a similar way of working, based on the previous issues about the same thing. One reason given (https://github.com/geany/geany/issues/1710#issuecomment-349499548) for not implementing the change is that then one would not be able to open a new file and immediately close it, in order to save an empty named file on disk. I would argue that that is a much rarer use case than using a new file as a scratch pad, as was also previously argued.
Could this be implemented as an option, then? You could allow the "scratch pad users" to check a checkbox in the preferences labeled "Don't ask to save an empty and unsaved file".
--
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/2117