| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* test/ebuild-mode-tests.el (ebuild-mode-test-run-with-fixed-time):
* test/glep-mode-tests.el (glep-mode-test-run-with-fixed-time):
Use encode-time instead of date-to-time. Bug 938666.
Bug: https://bugs.gentoo.org/938666
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-eapi-list): Drop 6 from list of
supported EAPIs.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test/ebuild-mode-tests.el (ebuild-mode-test-input): New variable
and function.
(ebuild-mode-test-skeleton, ebuild-mode-test-keybindings):
New tests.
* test/glep-mode-tests.el (glep-mode-test-input): New variable and
function.
(glep-mode-test-skeleton, glep-mode-test-keybindings): New tests.
* test/gentoo-newsitem-mode-tests.el:
* test/devbook-mode-tests.el: New files.
* Makefile (TESTS): Add them.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* test/xemacs-test-wrapper.el (kill-emacs): Return a useful exit
status.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test/ebuild-mode-tests.el (cl-letf, cl-letf*)
(ebuild-mode-test-run-with-fixed-time)
(ebuild-mode-test-run-silently, ebuild-mode-test-font-lock)
(ebuild-mode-test-unescape-string): Portability fixes for XEmacs.
* test/glep-mode-tests.el (glep-mode-test-run-with-fixed-time):
Sync from ebuild-mode-test-run-with-fixed-time.
* test/xemacs-test-wrapper.el: New file.
* Makefile (DISTFILES): Add xemacs-test-wrapper.el.
(ELCS, TESTS): Include only files that are actually supported by
the Emacs version.
(check): Make it work with XEmacs.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-repo-mode): Activate the menu in XEmacs.
Use positive condition for feature.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-menu): Drop :active keyword because
the three-element vector form of menu items is more portable.
(ebuild-repo-mode-menu): Rename menu bar item to "Ebuild-Repo".
Replace :visible keyword by :included; XEmacs 21.4 doesn't know
the former.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-update-copyright): Save match data,
replace-match in XEmacs 21.4 clobbers it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-arch-stable-list): Use push.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-collect-and-split): Don't copy the
element when creating a cons cell is enough.
* test/ebuild-mode-tests.el (ebuild-mode-test-collect-and-split):
Update.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el:
* ebuild-mode-keywords.el:
* gentoo-newsitem-mode.el:
* glep-mode.el:
* devbook-mode.el: Doc fixes.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-run-command-*): Run the "clean" command
when a prefix argument is given.
* ebuild-mode.texi (ebuild-mode): Document it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-find-image-dir): New function.
(ebuild-mode-prefix-map, ebuild-mode-menu): Keybinding and
menu entry.
* ebuild-mode.texi (ebuild-mode): Document it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-run-command-*): Define functions
for ebuild subcommands.
(ebuild-mode-prefix-map): New variable, keymap for ebuild-mode
commands. Define C-c C-e <letter> keys for the most common ebuild
subcommands.
(ebuild-mode-map): Use the new keymap.
(ebuild-mode-menu): Use ebuild-run-command-* functions in menu
items; for the previously used expressions, easy-menu-define would
create internal functions anyway. Don't sort ebuild-commands-list
because it already is in alphabetical order.
* ebuild-mode.texi (ebuild-mode): Update.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-commands-list): Add "instprep" and
"nofetch" commands.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* keyword-generation.sh (OBSOLETE): Update.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* Makefile (DISTFILES): Add Makefile.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-find-build-log): New function.
(ebuild-mode-map, ebuild-mode-menu): Keybinding and menu entry.
* ebuild-mode.texi (ebuild-mode): Document it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* test/ebuild-mode-tests.el
(ebuild-mode-test-run-with-fixed-time): New macro.
(ebuild-mode-test-update-copyright)
(ebuild-mode-test-insert-tag-line): Use it.
* test/glep-mode-tests.el
(glep-mode-test-run-with-fixed-time): New macro.
(glep-mode-test-update-last-modified): Use it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (find-file-hook): Use 'if' because 'static-if'
breaks autoloads.
This partially reverts commit 4adf7b9.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-insert-tag-line): Don't insert
another space when comment-start ends with a space or tab.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* test/ebuild-mode-tests.el:
* test/glep-mode-tests.el: New files, introducing tests.
* ebuild-mode.el (ebuild-mode-collect-and-split): Make it visible
at load time for tests.
* Makefile (TESTS, BYTECOMPFLAGS): New variables.
(check): New target.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-unescape-string): New function,
decodes backslash and ANSI-C escape sequences in strings.
(ebuild-mode-find-s): Call it.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-get-builddir): New function, split
off from ebuild-mode-find-workdir.
(ebuild-mode-find-s): New function.
(ebuild-mode-map, ebuild-mode-menu): Keybinding and menu entry.
* ebuild-mode.texi (ebuild-mode): Document ebuild-mode-find-s.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-find-workdir): Let-bind
find-file-run-dired to t.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-map): Keybindings now use C-c C-e
as their prefix.
* ebuild-mode.texi (ebuild-mode): Document the new keybindings.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode, ebuild-run-command)
(ebuild-mode-get-completion-function, ebuild-mode-run-pkgdev)
(ebuild-mode-run-pkgcheck, ebuild-repo-mode, find-file-hook):
Use static-if.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-time-string): Use static-if.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-update-copyright): Replace nested
ifs with cond.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* glep-mode.el (glep-mode-insert-skeleton): Update from GLEP 2,
specify that all dates must be in UTC.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-find-workdir): Display a separate
error message when the file is not an ebuild.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-menu): Deactivate entries that are
not useful in ebuild-eclass-mode.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-fix-whitespace): Default to ebuild.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-mode-fix-whitespace): Add new choice
'ebuild'.
(ebuild-repo-mode-before-save): Make fixing of whitespace in
eclasses conditional on it.
Suggested-by: Florian Schmaus <flow@gentoo.org>
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
* ebuild-mode.el (ebuild-eclass-mode): New major mode for editing
of eclasses, split off from ebuild-mode.
(auto-mode-alist): Add ebuild-eclass-mode.
* ebuild-mode.texi (ebuild-eclass-mode): Chapter renamed from
eclass-mode and updated.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
|
|
|
| |
* ebuild-mode-keywords.el (ebuild-mode-keywords-eclass):
Regenerated.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|
|
|
|
| |
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
|