Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-08-04 Thread Matthew Brush
Closed in 4a60cdd12727f8f252a3e0d6921e26377ef84904

-- 
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/1224#issuecomment-320219614

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-08-04 Thread Matthew Brush
Closed #1224.

-- 
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/1224#event-1192947093

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-07-30 Thread Enrico Tröger
I'm fine with this.
However, I would support the idea of moving the implementation into 
`src/utils.c` as it is where it should live after any deprecation.

And of course, updating Geany and API version.



-- 
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/1224#issuecomment-318905784

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-07-24 Thread Thomas Martitz
What about this?

(On a related note, our `realpath()` implementation for win32, called by 
`tm_get_real_path()` is buggy, see #1534)

-- 
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/1224#issuecomment-317560311

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-02-23 Thread elextr
Sorry @techee I misread :)

-- 
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/1224#issuecomment-281952301

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-02-23 Thread Jiří Techet
@elextr As I said, for 1.31, not 1.30.

-- 
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/1224#issuecomment-281950577

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-02-23 Thread elextr
@techee it would be nice to get it done, but since its now only just over a 
week to release IMHO no more changes other than bugfixes should be included.

-- 
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/1224#issuecomment-281939660

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-02-23 Thread Jiří Techet
Would be nice to stop incrementing the target release get this finally merged 
in 1.31. I believe the only thing that @b4n requested was updating the API in 
the docstring which should now be 1.31. @codebrainz could you make this change?

-- 
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/1224#issuecomment-281935610

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2017-02-22 Thread elextr
Moved to 1.31

-- 
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/1224#issuecomment-281868370

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-10-30 Thread Colomban Wendling
Okay if you want, we can always move the implementation later.

The API version should be fixed, because it won't merge cleanly as is (no idea 
why GitHub doesn't complain BTW).

-- 
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/1224#issuecomment-257144137

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-18 Thread Matthew Brush
codebrainz commented on this pull request.



> @@ -42,7 +42,11 @@ TMSourceFile *tm_source_file_new(const char *file_name, 
> const char *name);
 
 void tm_source_file_free(TMSourceFile *source_file);
 
-gchar *tm_get_real_path(const gchar *file_name);
+gchar *tm_get_real_path(const gchar *file_name)
+#ifndef GEANY_PRIVATE
+G_DEPRECATED_FOR(utils_get_real_path)
+#endif

It seems wrong, which is why I did it like this, but if you'd prefer to have TM 
also depend on Geany, I can change it to be so.

-- 
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/1224

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-18 Thread Colomban Wendling
b4n commented on this pull request.



> @@ -42,7 +42,11 @@ TMSourceFile *tm_source_file_new(const char *file_name, 
> const char *name);
 
 void tm_source_file_free(TMSourceFile *source_file);
 
-gchar *tm_get_real_path(const gchar *file_name);
+gchar *tm_get_real_path(const gchar *file_name)
+#ifndef GEANY_PRIVATE
+G_DEPRECATED_FOR(utils_get_real_path)
+#endif

Yeah; now it's under *src/* it might not be so bad

-- 
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/1224

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-18 Thread Matthew Brush
codebrainz commented on this pull request.



> @@ -42,7 +42,11 @@ TMSourceFile *tm_source_file_new(const char *file_name, 
> const char *name);
 
 void tm_source_file_free(TMSourceFile *source_file);
 
-gchar *tm_get_real_path(const gchar *file_name);
+gchar *tm_get_real_path(const gchar *file_name)
+#ifndef GEANY_PRIVATE
+G_DEPRECATED_FOR(utils_get_real_path)
+#endif

You mean a reverse dependency of TagManager on Geany?

-- 
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/1224

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-18 Thread Colomban Wendling
b4n commented on this pull request.

Otherwise, LGTM

> @@ -42,7 +42,11 @@ TMSourceFile *tm_source_file_new(const char *file_name, 
> const char *name);
 
 void tm_source_file_free(TMSourceFile *source_file);
 
-gchar *tm_get_real_path(const gchar *file_name);
+gchar *tm_get_real_path(const gchar *file_name)
+#ifndef GEANY_PRIVATE
+G_DEPRECATED_FOR(utils_get_real_path)
+#endif

Meh, can't we move the implementation at the non-deprecated place and use it in 
the deprecated one, instead of this?

-- 
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/1224#pullrequestreview-469697

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-17 Thread elextr
elextr commented on this pull request.

LGBI



-- 
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/1224#pullrequestreview-466340

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-17 Thread Matthew Brush
If there are no objections, I will merge this "soon".

-- 
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/1224#issuecomment-247817059

Re: [Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-11 Thread Matthew Brush
@codebrainz pushed 1 commit.

0370112  Mark tm_get_real_path with G_DEPRECATED_FOR


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/geany/geany/pull/1224/files/d8a5212bd93843d813c6cfcfe56b7e8abd039aac..0370112fc13f0c8b52ed627d06ff6baa1778bec1


[Github-comments] [geany/geany] Add utils_get_real_path() and use it (#1224)

2016-09-11 Thread Matthew Brush
This is a wrapper around `tm_get_real_path()` but is in a more suitable 
namespace/module.

I think it makes more sense like this. I typically dislike adding 
general-purpose functions to the API, but since Glib doesn't provide any 
equivalent, it really is useful.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1224

-- Commit Summary --

  * Add utils_get_real_path() and use it

-- File Changes --

M src/app.h (2)
M src/document.c (8)
M src/libmain.c (2)
M src/plugindata.h (2)
M src/tagmanager/tm_source_file.c (2)
M src/utils.c (29)
M src/utils.h (1)

-- Patch Links --

https://github.com/geany/geany/pull/1224.patch
https://github.com/geany/geany/pull/1224.diff

-- 
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/1224