* lisp/vc/vc-svn.el (vc-svn-create-repo): Expand paths in file://... url.
* nsfns.m (Fns_convert_utf8_nfd_to_nfc): Check input for valid UTF-8
or throw error.
Fix minor problems in text-mode menu display.

 src/term.c (tty_menu_activate): Flush the output stream after
 showing the cursor, and don't mark the frame garbaged at exit from
 the function.  Fixes redisplay glitches when moving from one menu
 to another.
* fns.c (sxhash_bool_vector): Fix buffer read overrun.
* lisp/isearch.el (isearch-pre-command-hook): Use this-single-command-keys
instead of this-command-keys.  Add universal-argument-more and
universal-argument-minus to the list of prefix commands.
* lisp/textmodes/text-mode.el (text-mode-map): Add a menu (tiny change)
* lisp/menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
now that text mode has a menu with the same entry.
(menu-bar-text-mode-auto-fill): Remove now unused func.

* lisp/textmodes/text-mode.el (text-mode-map):
Use auto-fill help text from menu-bar.el.
Handle giflib 5 changes (tiny change)

* configure.ac: Update for giflib 5. 

* src/image.c (GIFLIB_MAJOR): Ensure it's defined.
(DGifOpen, DGifOpenFileName): Handle giflib 5 syntax.  (Bug#15531)
* lisp/desktop.el (desktop-save): Default to saving in .emacs.d,
since PWD is no longer in desktop-path by default.
* icalendar.el (icalendar-import-file): Fix interactive spec (tiny change)
* lib-src/make-docfile.c (search_lisp_doc_at_eol): Use int rather than char
with getc.
* lisp/menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
* keyboard.c (init_kboard): Now static.  Add arg
to denote window system.  Adjust comment.
(init_keyboard): Adjust user.
(allocate_kboard): New function.
(syms_of_keyboard):
* nsterm.m (ns_term_init):
* term.c (init_tty):
* w32term.c (w32_create_terminal):
* xterm.c (x_term_init): Use it.
* keyboard.h (init_kboard): Remove prototype.
(allocate_kboard): Add prototype.
Fix doc-string of pop-to-buffer-same-window.  (Bug#15492)

* window.el (pop-to-buffer-same-window): Fix doc-string.
(Bug#15492)
* keyboard.c (last_event_timestamp): Remove.  For X selection and
GTK popup menus, it may be obtained from per-frame X display info.
(kbd_buffer_store_event_hold, kbd_buffer_get_event)
(process_special_events): Adjust users.
* keyboard.h (last_event_timestamp): Remove declaration.
* xmenu.c (xmenu_show, create_and_show_popup_menu): Lost last arg.
Use FRAME_DISPLAY_INFO (f)->last_user_time for gtk_menu_popup.
* menu.h (xmenu_show): Adjust prototype.
* menu.c (Fx_popup_menu): Adjust user.
* xselect.c (x_own_selection, x_get_foreign_selection)
(Fx_disown_selection_internal): Use dpyinfo->last_user_time.
Auto-commit of generated files.
* lisp/menu-bar.el (menu-bar-open): Don't use popup-menu if
menu-bar is hidden.
* vc/vc.el (vc-diff-build-argument-list-internal): If the file is
not locked, use last revision and current source as
defaults.  (Bug#15569)
MS-Windows follow-up to revision 114603: support giflib 5.x.

 src/image.c (GIFLIB_MAJOR): Define to 4 if undefined.
 (GIFLIB_MINOR, GIFLIB_RELEASE): Define to zero if undefined.
 (GifErrorString) [GIFLIB_MAJOR >= 5]: Define a function pointer.
 (gif_load): For giflib v5.x and later, display the error message
 produced by giflib when its functions fail.
 (syms_of_image) <Qlibgif_version> [HAVE_NTGUI]: New DEFSYM.

 lisp/term/w32-win.el (dynamic-library-alist): Define separate lists
 of GIF DLLs for versions before and after 5.0.0 of giflib.
* image.c: Pacify --enable-gcc-warnings.

(GIFLIB_MAJOR, GIFLIB_MINOR, GIFLIB_RELEASE, fn_GifErrorString):
#define only if used.