summaryrefslogtreecommitdiff
path: root/editors/gphpedit/files/patch-src::tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gphpedit/files/patch-src::tab.c')
-rw-r--r--editors/gphpedit/files/patch-src::tab.c96
1 files changed, 35 insertions, 61 deletions
diff --git a/editors/gphpedit/files/patch-src::tab.c b/editors/gphpedit/files/patch-src::tab.c
index a3861f673415..bd360b14aa73 100644
--- a/editors/gphpedit/files/patch-src::tab.c
+++ b/editors/gphpedit/files/patch-src::tab.c
@@ -1,99 +1,73 @@
---- src/tab.c.orig Sat Dec 18 14:32:38 2004
-+++ src/tab.c Sat Dec 18 14:46:22 2004
-@@ -407,46 +407,81 @@
- GString *tab_help_find_helpfile(gchar *command)
- {
+--- src/tab.c.orig Thu Dec 22 21:13:51 2005
++++ src/tab.c Thu Dec 22 22:08:18 2005
+@@ -521,55 +521,55 @@
GString *long_filename = NULL;
--
-- // For Redhat/Fedora Core and sensible distrubutions...
+
+ // For Redhat/Fedora Core and other sensible distrubutions...
- long_filename = tab_help_try_filename("/usr/share/doc/phpmanual/function.", command, ".html");
-+
-+ /* br (Brazillian) */
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-br/function.", command, ".html");
-+ if (long_filename)
-+ return long_filename;
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-br/ref.", command, ".html");
-+ if (long_filename)
-+ return long_filename;
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-br/", command, NULL);
-+ if (long_filename)
-+ return long_filename;
-+
-+ /* de (German) */
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-de/function.", command, ".html");
-+ if (long_filename)
-+ return long_filename;
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-de/ref.", command, ".html");
-+ if (long_filename)
-+ return long_filename;
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-de/", command, NULL);
-+ if (long_filename)
-+ return long_filename;
-+
-+ /* en (English) */
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/function.", command, ".html");
-+ if (long_filename)
-+ return long_filename;
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/ref.", command, ".html");
-+ if (long_filename)
-+ return long_filename;
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-en/", command, NULL);
-+ if (long_filename)
-+ return long_filename;
-+
-+ /* es (Spanish) */
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-es/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpmanual/function.", command, ".html");
if (long_filename)
return long_filename;
- long_filename = tab_help_try_filename("/usr/share/doc/phpmanual/ref.", command, ".html");
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-es/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpmanual/ref.", command, ".html");
if (long_filename)
return long_filename;
- long_filename = tab_help_try_filename("/usr/share/doc/phpmanual/", command, NULL);
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-es/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpmanual/", command, NULL);
if (long_filename)
return long_filename;
-- // For Gentoo, as much as I love it - it's twatty to put docs in a version specific folder like this!
+ // For Debian, Ubuntu and sensible distrubutions...
+- long_filename = tab_help_try_filename("/usr/share/doc/phpdoc/html/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpdoc/html/function.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/phpdoc/html/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpdoc/html/ref.", command, ".html");
+ if (long_filename)
+ return long_filename;
+- long_filename = tab_help_try_filename("/usr/share/doc/phpdoc/html/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/phpdoc/html/", command, NULL);
+ if (long_filename)
+ return long_filename;
+
+ // For Gentoo, as much as I love it - it's twatty to put docs in a version specific folder like this!
- long_filename = tab_help_try_filename("/usr/doc/php-docs-200403/html/function.", command, ".html");
-+ /* fr (French) */
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-fr/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-200403/html/function.", command, ".html");
if (long_filename)
return long_filename;
- long_filename = tab_help_try_filename("/usr/doc/php-docs-200403/html/ref.", command, ".html");
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-fr/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-200403/html/ref.", command, ".html");
if (long_filename)
return long_filename;
- long_filename = tab_help_try_filename("/usr/doc/php-docs-200403/html/", command, NULL);
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-fr/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-200403/html/", command, NULL);
if (long_filename)
return long_filename;
-- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-200403/html/function.", command, ".html");
-+ /* ja (Japanese) */
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-ja/function.", command, ".html");
+- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-20050822/html/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-docs-20050822/html/function.", command, ".html");
if (long_filename)
return long_filename;
-- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-200403/html/ref.", command, ".html");
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-ja/ref.", command, ".html");
+- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-20050822/html/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-docs-20050822/html/ref.", command, ".html");
if (long_filename)
return long_filename;
-- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-200403/html/", command, NULL);
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-ja/", command, NULL);
+- long_filename = tab_help_try_filename("/usr/share/doc/php-docs-20050822/html/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-docs-20050822/html/", command, NULL);
if (long_filename)
return long_filename;
- long_filename = tab_help_try_filename("/usr/doc/php-docs-4.2.3/html/function.", command, ".html");
-+ /* pl (Polish) */
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-pl/function.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-4.2.3/html/function.", command, ".html");
if (long_filename)
return long_filename;
- long_filename = tab_help_try_filename("/usr/doc/php-docs-4.2.3/html/ref.", command, ".html");
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-pl/ref.", command, ".html");
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-4.2.3/html/ref.", command, ".html");
if (long_filename)
return long_filename;
- long_filename = tab_help_try_filename("/usr/doc/php-docs-4.2.3/html/", command, NULL);
-+ long_filename = tab_help_try_filename("%%LOCALBASE%%/share/doc/php-pl/", command, NULL);
++ long_filename = tab_help_try_filename("%%LOCALBASE%%/doc/php-docs-4.2.3/html/", command, NULL);
if (long_filename)
return long_filename;