Am 30.06.2011 23:28, schrieb Jiří Techet:
* to store relative paths in addition to absolute paths only for files
below the directory where the project file is stored
* to store only the absolute path for files outside this directory (so
there's no ../ prefix in the path)
When loading the
Am 28.06.2011 21:44, schrieb Jiří Techet:
This is a part of my not-yet-reviewed patches.
Which of the patches are left? I actually (falsely) thought they're all
in mainline and stopped watching your repo.
Best regards.
___
Geany mailing list
On Thu, 30 Jun 2011 20:10:25 +0200
Stephan Beal sgb...@googlemail.com wrote:
On Thu, Jun 30, 2011 at 7:56 PM, Dimitar Zhekov
dimitar.zhe...@gmail.comwrote:
(The 40 years wisdom which will not allow me to keep an .xml or .sql
file from another team permanently open in my session was nice.
On Fri, Jul 1, 2011 at 7:07 PM, Dimitar Zhekov dimitar.zhe...@gmail.comwrote:
...As you can see, your views are not universal.
No, they're not universal, but 99.99+% of source trees do not directly
reference files outside of the source tree. i've never personally seen even
one which does (and
On 2 July 2011 03:18, Stephan Beal sgb...@googlemail.com wrote:
On Fri, Jul 1, 2011 at 7:07 PM, Dimitar Zhekov dimitar.zhe...@gmail.com
wrote:
...As you can see, your views are not universal.
No, they're not universal, but 99.99+% of source trees do not directly
reference files outside of
On Sat, Jul 2, 2011 at 1:35 AM, Lex Trotman ele...@gmail.com wrote:
Well it does know how to invoke the build commands (nothing stored
means use the default) so if you are using something different to the
died of old age but hasn't stopped moving yet make and its totally
unportable friends
i despise the Auto, my ass! Tools - haven't touched them in about 8 years,
except as a user of projects which use them. i prefer plain old GNU make
3.81+.
Pure make is a bit back to the future,
1. doesn't handle changes to compile options unless you manually make
clean and compile the lot,
On Sat, Jul 2, 2011 at 2:16 AM, Lex Trotman ele...@gmail.com wrote:
Pure make is a bit back to the future,
i like make so much that i forked the O'Reilly book on the topic and update
it as the need arises:
http://wanderinghorse.net/computing/make/
--
- stephan beal
On Thu, Jun 30, 2011 at 2:29 AM, Lex Trotman ele...@gmail.com wrote:
Personally I don't see the point, they are all subject to risk of
pointing to the wrong place if you move things, relative or absolute.
Basically the way the project file stores filenames is no concern of
the user,
It
On Thu, 30 Jun 2011 10:42:02 +0200
Stephan Beal sgb...@googlemail.com wrote:
i've been programming professionally for going on 20 years now, and i
have _never_ seen a source tree which has files from _outside_ the
source tree managed by build/project files within the source tree.
Same here...
On 30 June 2011 18:42, Stephan Beal sgb...@googlemail.com wrote:
On Thu, Jun 30, 2011 at 2:29 AM, Lex Trotman ele...@gmail.com wrote:
Personally I don't see the point, they are all subject to risk of
pointing to the wrong place if you move things, relative or absolute.
Basically the way the
On 30 June 2011 19:21, Joerg Desch jd@web.de wrote:
On Thu, 30 Jun 2011 10:42:02 +0200
Stephan Beal sgb...@googlemail.com wrote:
i've been programming professionally for going on 20 years now, and i
have _never_ seen a source tree which has files from _outside_ the
source tree managed by
On Thu, 30 Jun 2011 19:51:47 +1000
Lex Trotman ele...@gmail.com wrote:
Sigh, another young 'un..
???
Thats true, but do you want to share which files you last edited? :-)
It just emphasizes that the session data shouldn't be in the project
file if its in vcs.
No, I don't. But geany
On Thu, Jun 30, 2011 at 12:17 PM, Joerg Desch jd@web.de wrote:
On Thu, 30 Jun 2011 19:51:47 +1000
Lex Trotman ele...@gmail.com wrote:
Its the sessions that bit Stephan.
I don't think so. But I think he will tell us... ;-)
Lex was right -it was a side-effect of the session handling
As Stephan mentioned in his mail, this path could be replaced by the path
of the project file (he called it virtual root). Why? Just because I have
more than one working directory. I have a development release and one or
more branches / customer releases checked out. If the project file would
On Thu, 30 Jun 2011 20:36:31 +1000
Lex Trotman ele...@gmail.com wrote:
As Stephan mentioned in his mail, this path could be replaced by the
path of the project file (he called it virtual root). Why? Just
because I have more than one working directory. I have a development
release and one
From your previous post...
And i believe that such a use-case lies in the realm of gnome-text-editor
instead of an IDE. IDEs are (traditionally) designed to manage specific
source-based projects, not OS-wide collections of arbitrary trees.
Thats a very narrow view of what an IDE is/can be
OK. I thought, that the base path must be absolute. But to get the
expected behavior, I must use . as base path, which seams to work here on
You can use . or a single name (which has to be in the same directory
as the project file) and still remain win-ix compatible, after that
path separators
On Thu, Jun 30, 2011 at 12:54 PM, Joerg Desch jd@web.de wrote:
OK. I thought, that the base path must be absolute. But to get the
expected behavior, I must use . as base path, which seams to work here on
linux. The session informations stored in section [files] are still using
an absolute
On 30 June 2011 21:22, Stephan Beal sgb...@googlemail.com wrote:
On Thu, Jun 30, 2011 at 12:54 PM, Joerg Desch jd@web.de wrote:
OK. I thought, that the base path must be absolute. But to get the
expected behavior, I must use . as base path, which seams to work here on
linux. The session
On Thu, Jun 30, 2011 at 12:54 PM, Lex Trotman ele...@gmail.com wrote:
From your previous post...
And i believe that such a use-case lies in the realm of gnome-text-editor
instead of an IDE. IDEs are (traditionally) designed to manage specific
source-based projects, not OS-wide collections
On Thu, Jun 30, 2011 at 1:35 PM, Lex Trotman ele...@gmail.com wrote:
Your suggestion only addresses one use-case when the project file *is*
in the tree, it doesn't address the other one when the programmer
doesn't control the project and can't put the project file in the
tree.
You haven't
On Thu, 30 Jun 2011 21:35:05 +1000
Lex Trotman ele...@gmail.com wrote:
As said previously, base path is needed when the project file cannot
be in the working tree.
The solution could be to define base_path if the project file is outside. If
base_path is empty, its in the working tree.
PS
On 06/30/11 03:00, Stephan Beal wrote:
On Thu, Jun 30, 2011 at 11:40 AM, Lex Trotman ele...@gmail.com
mailto:ele...@gmail.com wrote:
I'm sure you had a very embarrassing interview with someone about why
you broke the production server and are very annoyed with yourself,
i didn't
On Thu, Jun 30, 2011 at 2:54 PM, Lex Trotman ele...@gmail.com wrote:
I'm not sure what you mean by this, when should it resolve them?
cd ~/tmp
ln -s /etc/hosts foo
~/tmp/foo resolves to /etc/hosts
i'm looking for the relevant unix functions but i'm not finding them.
U, guys, lets be
On 06/28/11 10:28, Stephan Beal wrote:
Is there an option to enable the use of relative paths in the project files?
I haven't checked it out yet myself, but I wonder if Jiri's GProject[1]
plugin handles this a little better?
[1] http://gitorious.org/~techy/geany/gproject-geany
Cheers,
On Thu, 30 Jun 2011 08:20:02 +0400
Eugene Arshinov earshi...@gmail.com wrote:
On Wed, 29 Jun 2011 09:40:07 +1000
Lex Trotman ele...@gmail.com wrote:
Sessions should be per user. I can't remember if it fixes this
problem but there is a branch in svn with significantly improved
session
On Thu, Jun 30, 2011 at 7:56 PM, Dimitar Zhekov dimitar.zhe...@gmail.comwrote:
(The 40 years wisdom which will not allow me to keep an .xml or .sql
file from another team permanently open in my session was nice. Should
I ask a colleagues of mine, which does have 40 years of experience? :)
By
On Thu, Jun 30, 2011 at 19:07, Matthew Brush mbr...@codebrainz.ca wrote:
On 06/28/11 10:28, Stephan Beal wrote:
Is there an option to enable the use of relative paths in the project
files?
I haven't checked it out yet myself, but I wonder if Jiri's GProject[1]
plugin handles this a little
On Wed, Jun 29, 2011 at 1:39 AM, Matthew Brush mbr...@codebrainz.ca wrote:
Myself, I keep all of my Geany project files in a top-level ~/Projects
directory and below that a sub-directory for each project's source tree. I
also add 'configure' and 'Makefile's to my VCS ignore file as to not
On Wed, Jun 29, 2011 at 1:40 AM, Lex Trotman ele...@gmail.com wrote:
On 29 June 2011 04:17, Stephan Beal sgb...@googlemail.com wrote:
There shouldn't _be_ any files not under the project dir, at least not
managed by the project management tool. IDEs are almost exclusively used
for
working
It would be a pain in the neck for me, too, having to re-open the 6 or 8
files i tend to keep open, but i will have to do that on that one particular
environment. (i wasn't aware that it's an option.)
preferences general miscellaneous
Unfortunately its global, would be better if it was per
[project files]
It would be a pain in the neck for me, too, having to re-open the 6 or 8
files i tend to keep open, but i will have to do that on that one particular
environment. (i wasn't aware that it's an option.)
Not wanting to hi-jack the thread, but if your VCS happens to be git,
you
On 30 June 2011 05:11, Stephan Beal sgb...@googlemail.com wrote:
On Wed, Jun 29, 2011 at 6:25 PM, Dimitar Zhekov dimitar.zhe...@gmail.com
wrote:
Filenames like ../../../../../../usr/share/doc/libpng/examples.c
are something I woudn't like to see.
oooh, no.
On Tue, 28 Jun 2011 20:17:47
Hi Dimitar,
Filenames like ../../../../../../usr/share/doc/libpng/examples.c
are something I woudn't like to see. If someone can convince the
leading developers (except for the missing Nick) on a three-state per
project option Store filenames as: Always absolute / Relative if under
the
On Wed, 29 Jun 2011 09:40:07 +1000
Lex Trotman ele...@gmail.com wrote:
When storing project files in a vcs, storing sessions in them should
be turned off, when I check out the project I don't care what you were
last editing, or if I do thats what the vcs is for. Then you don't
have the
Hi, all,
i recently got into the unusual (for me) situation that i have the same
project checked out twice on the same machine - one for our
production/live environment and the one where i hack. My geany project
file uses (i found out accidentally after i hosed a production web page)
absolute
On Tue, 28 Jun 2011 19:28:12 +0200
Stephan Beal sgb...@googlemail.com wrote:
Is there an option to enable the use of relative paths in the project files?
From the look of get_session_file_string(), no.
I remember such a discussion taking place some time ago. It was not so
straightforward - for
On Tue, Jun 28, 2011 at 7:52 PM, Dimitar Zhekov dimitar.zhe...@gmail.comwrote:
I remember such a discussion taking place some time ago. It was not so
straightforward - for example, what about the files not under the
project directory?
There shouldn't _be_ any files not under the project dir,
On Tue, Jun 28, 2011 at 19:52, Dimitar Zhekov dimitar.zhe...@gmail.com wrote:
On Tue, 28 Jun 2011 19:28:12 +0200
Stephan Beal sgb...@googlemail.com wrote:
Is there an option to enable the use of relative paths in the project files?
From the look of get_session_file_string(), no.
I remember
On Tue, Jun 28, 2011 at 9:44 PM, Jiří Techet tec...@gmail.com wrote:
This is a part of my not-yet-reviewed patches. The only difference is
that I try to open the absolute paths before the relative ones to keep
the patch as compatible with the current behaviour as possible. But
it's not a
On 06/28/11 11:17, Stephan Beal wrote:
done. Use the project file's directory as the root and simply strip that
part from all paths in the project file. Project files are, almost
without exception, stored in the top level of the source tree. If
they're not, they should be. It's just good
From my observations, it's quite rare to see developers' personal project
files in a project's source tree or checked into VCS. Even a
Geany-specific project like geany-plugins doesn't contain a single project
file in its repository (from a quick `find' for *.geany).
Yes, agree, its only
43 matches
Mail list logo