mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-31 01:20:37 -08:00
Update Android port
* java/org/gnu/emacs/EmacsDirectoryEntry.java (EmacsDirectoryEntry): Make class final. * java/org/gnu/emacs/EmacsService.java (accessDocument) (openDocumentDirectory, openDocument, createDocument): Throw access and IO error exceptions instead of catching them. (createDirectory, deleteDocument): New functions. * src/android.c (android_init_emacs_service): Add new functions. * src/android.h (struct android_emacs_service): Likewise. * src/androidvfs.c (android_saf_exception_check): New function. Translate between Java exceptions and errno values. (android_saf_stat, android_saf_access, android_saf_delete_document) (struct android_saf_tree_vnode, android_document_id_from_name) (android_saf_tree_name, android_saf_tree_rmdir) (android_saf_tree_opendir_1, android_saf_tree_opendir) (android_saf_file_open, android_saf_file_unlink) (android_saf_new_open, android_saf_new_mkdir): Implement missing VFS operations and derive errno values from the type of any exceptions thrown. (android_vfs_init): Initialize exception classes. (android_mkdir, android_fstat): Remove trailing whitespace.
This commit is contained in:
parent
7c08995864
commit
03cf3bbb5c
5 changed files with 409 additions and 124 deletions
|
|
@ -22,7 +22,7 @@ package org.gnu.emacs;
|
|||
/* Structure holding a single ``directory entry'' from a document
|
||||
provider. */
|
||||
|
||||
public class EmacsDirectoryEntry
|
||||
public final class EmacsDirectoryEntry
|
||||
{
|
||||
/* The type of this directory entry. 0 means a regular file and 1
|
||||
means a directory. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue