aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Set default umask to 022Samuel Thibault2011-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | * daemons/runsystem.sh: Call umask 022.
| * | | | Fix crash on fstab-existing mountSamuel Thibault2011-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix crash when invoking mount with a pair of parameters which already exists in fstab * sutils/fstab.c (fstab_add_mntent): Do not free `mounted_fs' when it is the same as `fs'.
| * | | | fstab_find: also try to call realpath()Samuel Thibault2011-05-161-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For symlinks and non-absolute paths. * sutils/fstab.c (fstab_find): Also call `fstab_find_device' and `fstab_find_mount' on path returned by `realpath'.
| * | | | Fix port leakSamuel Thibault2011-05-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * libtrivfs/file-reparent.c (trivfs_S_file_reparent): Deallocate `parent' port when the trivfs_S_io_duplicate() call succeeds.
| * | | | Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/hurdSamuel Thibault2011-04-1040-6870/+86
| |\ \ \ \
| | * | | | Fix pfinet build from make dist-generated tarballSamuel Thibault2011-04-031-23/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pfinet/Makefile (ARCHS): New variable. (LINUXSRCS): Move arch files to... (ARCHSRCS): here. (LINUXHDRS): Update. (LINUXNETHDRS): New variable. (ARCHHDRS): New variable. (FROBBEDLINUXHEADERS): Update. (ASMHEADERS): Update. (lndist-linux-inet-files, lndist-linux-files, lndist-asm-files): Remove targets. (lndist-linux-src-net-core-files, lndist-linux-src-net-ethernet-files, lndist-linux-src-net-ipv4-files, lndist-linux-src-net-ipv6-files, lndist-linux-src-asm-files, lndist-linux-src-include-asm-files, lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files, lndist-glue-include-linux-files, lndist-glue-include-asm-files): New targets. (linux-src, linux-src/arch, linux-src/arch/%/lib, linux-src/include, linux-src/include/%, linux-src/net, linux-src/net/core, linux-src/net/ethernet, linux-src/net/ipv4, linux-src/net/ipv6, glue-include, glue-include/asm, glue-include/linux): New hurd-snap directory build targets. (lndist): Update target dependencies.
| | * | | | Remove reference to inexistent fatfs/EXTENSIONSSamuel Thibault2011-04-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | * fatfs/Makefile (DIST_FILES): Remove.
| | * | | | Ship only the root ChangeLogSamuel Thibault2011-04-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makeconf (distfiles): Remove ChangeLog. * Makefile (DIST_FILES): Add ChangeLog.
| | * | | | Remove `serverboot'; fix "make dist" in `mach-defpager'.Ludovic Courtès2011-04-0336-6844/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * serverboot/default_pager.c, serverboot/kalloc.c, serverboot/queue.h, serverboot/wiring.c, serverboot/wiring.h: Move to `mach-defpager/'. * serverboot/Makefile, serverboot/assert.h, serverboot/bootstrap.c, serverboot/bunzip2.c, serverboot/def_pager_setup.c, serverboot/defs.h, serverboot/dir.h, serverboot/disk_inode.h, serverboot/disk_inode_ffs.h, serverboot/elf-load.c, serverboot/exec.c, serverboot/ext2_file_io.c, serverboot/ffs_compat.c, serverboot/ffs_compat.h, serverboot/ffs_file_io.c, serverboot/file_io.c, serverboot/file_io.h, serverboot/fs.h, serverboot/gets.c, serverboot/gunzip.c, serverboot/load.c, serverboot/mach-exec.h, serverboot/minix_ffs_compat.c, serverboot/minix_ffs_compat.h, serverboot/minix_file_io.c, serverboot/minix_fs.h, serverboot/minix_super.h, serverboot/panic.c, serverboot/strfcns.c: Remove. * mach-defpager/Makefile (LCLHDRS): New variable. (vpath): Remove. (CPPFLAGS): Remove `-I$(srcdir)/../serverboot'. * mach-defpager/setup.c (page_aligned): Make public.
| * | | | | Fix magic link with goldSamuel Thibault2011-04-101-0/+1
| |/ / / / | | | | | | | | | | | | | | | * trans/Makefile (magic): Link against libiohelp.
* | | | | Print KeySymToUcs4 calls.Diego Nieto Cid2011-04-161-0/+13
| | | | |
* | | | | Find the absolute path to <X11/keysymdef.h>Diego Nieto Cid2011-04-163-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifying the header file relative to $(includeir) won't work because it is defined in terms of prefix variable which is redefined during installation to the destination directory. And the dependency check will fail during 'make install' because the header might not be in the destination tree. * config.make.in (X11_KEYSYMDEF_H, SED): New variables. * configure.in: Check for sed. Find X11/keysymdef.h absolute location using the preprocessor and save it in X11_KEYSYMDEF_H variable. * console-client/Makefile (kstoucs_map.c): Use X11_KEYSYMDEF_H to depend on the header file.
* | | | | Use locale's compose file by default.Diego Nieto Cid2011-04-163-6/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/Makefile [HAVE_X11=yes](compose-CFLAGS): Define DATADIR. * console-client/pc-kbd.c (pc_kbd_init): Load compose file unconditionally. * console-client/xkb/compose.c: Include fcntl.h, unistd.h and locale.h (struct map_entry, enum callback_result, map_callback): New types. (map_iterate): New function. (struct matcher_context): New type. (match_left_set_right, match_right_set_left): New functions. (get_compose_file_for_locale): Likewise. (read_composefile): Use get_compose_file_for_locale result when argument composefn is NULL.
* | | | | Disable XKB when either lex or yacc is missing.Diego Nieto Cid2011-04-161-0/+7
| | | | |
* | | | | Avoid redefinition of NoSymbol.Diego Nieto Cid2011-04-162-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/xkb.c: Remove macro NoSymbol. * console-client/xkb/compose.c: Likewise.
* | | | | Delete xkb/HACKING file.Diego Nieto Cid2011-04-161-35/+0
| | | | |
* | | | | Cleanup.Diego Nieto Cid2011-04-164-24/+1
| | | | |
* | | | | Deallocate memory on errors.Diego Nieto Cid2011-04-161-1/+7
| | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y(parse_xkbconfig): Free cwd.
* | | | | Remove default keymap.Diego Nieto Cid2011-04-165-2679/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/default.xkb: Removed file. * console-client/xkb/makeconf.sh: Likewise. * console-client/xkb/xkbdefaults.c: Likewise. * console-client/xkb/parser.y(parse_xkbconfig): Don't use harcoded defaults, return error when no keymap file is given.
* | | | | Delete Compose file.Diego Nieto Cid2011-04-162-442/+1
| | | | |
* | | | | Add missing dependency.Diego Nieto Cid2011-04-161-0/+2
| | | | |
* | | | | Reimplement KeySymToUcs4.Diego Nieto Cid2011-04-163-311/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/Makefile (DIST_FILES): Add xkb/kstoucs_map.sh. (kstoucs_map.c): New target. * console-client/xkb/kstoucs.c: Reimplement KeySymToUcs4. * console-client/xkb/kstoucs_map.sh: New file.
* | | | | Depend on X11 for string to keysym mappings.Diego Nieto Cid2011-04-089-5685/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.make.in (HAVE_X11,X11_CFLAGS,X11_LIBS,XKB_BASE): New variables. * configure.in: Check for x11 module. * console-client/Makefile (PC_KBD_SO_SRCS): Move XKB sources... * console-client/Makefile (XKB_SRCS): ... here. New variable. * console-client/Makefile (SRCS): Add $(XKB_SRCS). * console-client/Makefile (LCLHDRS): Add xkb/xkb.h. * console-client/Makefile (XKB_DATA_DIR): Removed variable. * console-client/Makefile (pc_kbd.so.$(hurd-version)): Use patsubst. Depend on XKB objects when HAVE_X11 = yes. * console-client/Makefile (install): Depend on XKB datafiles when HAVE_X11 = yes. * console-client/Makefile (pc-kbd-CFLAGS): Set variable when HAVE_X11 = yes * console-client/Makefile ($(XKB_DATA_DIR),$(XKB_DATA_DIR)/%): Replaced by... * console-client/Makefile[HAVE_X11=yes]($(XKB_BASE),$(XKB_BASE)/%): ... this targets. * console-client/Makefile[HAVE_X11=yes](pc_kbd-LDLIBS): New variable. * console-client/xkb/keysymdef.h: Removed file. * console-client/xkb/ks_tables.h: Likewise. * console-client/xkb/symname.c: Likewise. * console-client/xkb/xkb.c: Include <X11/keysymdef.h>. * console-client/xkb/compose.c: Likewise. * console-client/xkb/xkb.h: Remove XStringToKeysym prototype. Include <X11/Xlib.h>.
* | | | | Update xkb/README.Diego Nieto Cid2011-04-081-22/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/README: Refer to this artifact as "module" instead of "input driver". Key repeater is now implemented by pc-kbd. Update the module's installation and usage procedures.
* | | | | Use first section when there's no default.Diego Nieto Cid2011-04-081-2/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y (skip_to_firstsection): New function. (include_section): Call skip_to_firstsection when skip_to_defaultsection fails.
* | | | | * console-client/xkb/parser.y (include_section): Free filename.Diego Nieto Cid2011-04-081-0/+3
| | | | |
* | | | | * console-client/xkb/parser.y (include_section): Remove superflous strdup.Diego Nieto Cid2011-04-081-1/+1
| | | | |
* | | | | Added an example for selecting the keymap.Arne Babenhauserheide2011-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | * console-client/xkb/README: Keymap selection example.
* | | | | Symbols 0..9 stand for their ascii character.Diego Nieto Cid2011-04-081-1/+7
| | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y(symbolname): Shift by '0' numbers [0..9].
* | | | | Add support for hexadecimal symbols.Diego Nieto Cid2011-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y(symbolname): Match and return hex value.
* | | | | Update foreign files.Diego Nieto Cid2011-04-085-4140/+5346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/keysymdef.h: Replaced file. * console-client/xkb/ks_tables.h: Likewise. * console-client/xkb/kstoucs.c: Likewise. * console-client/xkb/symname.c: Likewise. * console-client/xkb/HACKING: New file, added foreign files information.
* | | | | Document new options.Diego Nieto Cid2011-04-081-0/+6
| | | | | | | | | | | | | | | | | | | | * console-client/xkb/README: Updated.
* | | | | * console-client/xkb/xkb.c (iskeypad): Access up to 'width' symbols.Diego Nieto Cid2011-04-081-1/+1
| | | | |
* | | | | 'vmods' is an alias for 'virtual_modifiers'.Diego Nieto Cid2011-04-081-0/+1
| | | | |
* | | | | Fix handling of error conditions.Diego Nieto Cid2011-04-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y (key_set_action): Test actions variable. (key_set_keysym): Test keysyms instead of keys.
* | | | | Fix memory errors.Diego Nieto Cid2011-04-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y (key_set_keysym): Consider symbol's size when reallocing. (key_set_action): Consider (xkb_action_t *)'s size when reallocing. Start clearing levels from 'width' and up to 'level'.
* | | | | Add neo supportAlexander Preisinger2011-04-081-0/+7
| | | | | | | | | | | | | | | | | | | | * console-client/xkb/xkb-data/keymap/hurd: New keymap neo.
* | | | | README updateAlexander Preisinger2011-04-081-4/+4
| | | | |
* | | | | Enable hurd extensions in every layout.Diego Nieto Cid2011-04-081-98/+98
| | | | |
* | | | | Remove obsolete variable declaration.Diego Nieto Cid2011-04-081-1/+0
| | | | |
* | | | | Use vfprintf in debug_printf and write to stderr.Diego Nieto Cid2011-04-081-1/+1
| | | | |
* | | | | Add debugging messages.Diego Nieto Cid2011-04-083-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/lex.l(include_file): Log file changes. * console-client/xkb/parser.y(key_set_keysym): Log symbol associations. (include_section): Log section being read. (symbolssect,keycodesect,key_new): Log current key. * console-client/xkb/xkbdata.c(keyname_add): Log keyname, keycode and hash. (set_rmod_keycode): Log modifier, keyname and keycode.
* | | | | Emit warnings on undeclared virtual modifiers.Diego Nieto Cid2011-04-081-0/+2
| | | | |
* | | | | Report inexistent section.Diego Nieto Cid2011-04-081-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y (include_section): Declare scanner_get_current_location and scanner_get_current_file prototypes. New local variables current_location, current_file and err. Report error and exit when a section cannot be processed successfully.
* | | | | Add function to read the state of the scanner.Diego Nieto Cid2011-04-081-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/lex.l (scanner_get_current_location): New function. (scanner_get_current_file): Likewise.
* | | | | Check for end of file.Diego Nieto Cid2011-04-081-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/parser.y [!YY_NULL]: Define YY_NULL, the end of file token. * console-client/xkb/parser.y (skip_to_sectionname): If the end of file is reached while skipping symbols return an error. Return 0 on success. * console-client/xkb/parser.y (skip_to_defaultsection): Likewise.
* | | | | Propagate error on unexpected end of files.Diego Nieto Cid2011-04-081-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * console-client/xkb/lex.l (close_include): Return an error code on failure. (yywrap): Indicate termination when close_include fails.
* | | | | Give the file name and line number where an unexpected end of file was found.Diego Nieto Cid2011-04-081-1/+1
| | | | |
* | | | | Warn when too many virtual modifier are defined.Diego Nieto Cid2011-04-081-0/+2
| | | | |
* | | | | Avoid hashing garbage for short keynames.Diego Nieto Cid2011-04-081-2/+10
| | | | |