summaryrefslogtreecommitdiff
path: root/src/w16select.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove support for DJGPP v1.x (bug#5813).Eli Zaretskii2010-04-011-20/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | src/: w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility. s/msdos.h: unexec.c (make_hdr, copy_text_and_data): sysdep.c (wait_for_termination, sys_subshell): msdos.c (dos_set_window_size, msdos_set_cursor_shape) (IT_set_terminal_modes): (__write, _rename, gethostname, gettimeofday, alarm, fork, kill) (dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP v1.x code and tests of the value of __DJGPP__. (nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x compatibility code. lread.c: gmalloc.c (memalign): fileio.c (Fcopy_file, check_executable, Ffile_modes): emacs.c (main): dosfns.c (init_dosfns): dired.c (file_name_completion_stat): Remove tests of __DJGPP__. msdos/: sed3.inp: sed2.inp: sed1.inp: mainmake: Files removed.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * alloc.c: Do not define struct catchtag.Dan Nicolaescu2009-10-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c: Move struct catchtag definition ... * lisp.h: ... here. * image.c: Move png.h #include earlier to avoid warnings. * xterm.c: * xsmfns.c: * xselect.c: * xrdb.c: * xmenu.c: * xftfont.c: * xfont.c: * xfns.c: * xfaces.c: * xdisp.c: * window.c: * widget.c: * w32xfns.c: * w32uniscribe.c: * w32term.c: * w32select.c: * w32reg.c: * w32proc.c: * w32menu.c: * w32inevt.c: * w32heap.c: * w32font.c: * w32fns.c: * w32console.c: * w32.c: * w16select.c: * vm-limit.c: * unexsol.c: * unexec.c: * unexcw.c: * unexaix.c: * undo.c: * tparam.c: * textprop.c: * terminfo.c: * terminal.c: * termcap.c: * term.c: * syntax.c: * sound.c: * sheap.c: * search.c: * scroll.c: * region-cache.c: * regex.c: * ralloc.c: * process.c: * print.c: * msdos.c: * minibuf.c: * menu.c: * marker.c: * macros.c: * keymap.c: * keyboard.c: * intervals.c: * insdel.c: * indent.c: * gtkutil.c: * ftxfont.c: * ftfont.c: * fringe.c: * frame.c: * fontset.c: * font.c: * fns.c: * floatfns.c: * filelock.c: * fileio.c: * emacs.c: * editfns.c: * dosfns.c: * doprnt.c: * doc.c: * dispnew.c: * dired.c: * dbusbind.c: * data.c: * composite.c: * coding.c: * cmds.c: * cm.c: * chartab.c: * charset.c: * character.c: * ccl.c: * category.c: * casetab.c: * casefiddle.c: * callproc.c: * callint.c: * bytecode.c: * buffer.c: * atimer.c: Include setjmp.h. (Bug#4643) * xlwmenu.c: * lwlib.c: * lwlib-utils.c: * lwlib-Xm.c: * lwlib-Xlw.c: * lwlib-Xaw.c: Include setjmp.h.
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* (Fw16_set_clipboard_data): Don't encode text if clipboard is unavailable.Eli Zaretskii2008-08-301-4/+5
| | | | | | Set dst to NULL if it doesn't point to malloc'ed data. (Fw16_get_clipboard_data): Initialize htext to NULL, to avoid passing random values to xfree.
* (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Adjust for changes inEli Zaretskii2008-08-231-48/+34
| | | | | encoding/decoding routines. Use encode_coding_object and decode_coding_object instead of encode_coding and decode_coding.
* Make "xfree (NULL)" a no-op; remove useless if-before-xfree.Jim Meyering2008-06-021-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * src/alloc.c (xfree): Return right away for a NULL arg. * src/lread.c (nosuffix): Remove now-useless if-before-xfree tests. * src/gtkutil.c (xg_gtk_scroll_destroy): Likewise. * src/mac.c (create_apple_event_from_event_ref): Likewise. (create_apple_event_from_drag_ref, cfstring_create_normalized): Likewise. * src/doprnt.c (doprnt1): Likewise. * src/frame.c (frame): Likewise. * src/keyboard.c (wipe_kboard): Likewise. * src/macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap): (init_font_name_table, mac_unload_font, x_delete_display): Likewise. * src/term.c (tty_default_color_capabilities, maybe_fatal) (delete_tty): Likewise. * src/w16select.c (string): Likewise. * src/w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise. * src/w32bdf.c (w32_free_bdf_font): Likewise. * src/w32fns.c (w32_unload_font): Likewise. * src/w32font.c (w32font_close): Likewise. * src/window.c (size_window): Likewise. * src/xselect.c (receive_incremental_selection): Likewise. * src/xterm.c (x_free_frame_resources, x_delete_display): Likewise. * src/mactoolbox.c (create_apple_event_from_drag_ref): Likewise. * src/w32.c (stat): Likewise.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-141-6/+4
|
* Merge from emacs--devo--0Miles Bader2008-01-091-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2007-07-271-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 824-831) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 70-74) - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2007-01-261-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 586-614) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - Merge from erc--main--0 - Make byte compiler correctly write circular constants * gnus--rel--5.10 (patch 186-196) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
| * Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
| |
* | Merge from emacs--devo--0Miles Bader2006-12-071-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--devo--0 (patch 523-544) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 168-171) - Update from CVS - Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-150
| * (Fw16_set_clipboard_data): Fix the call to sit_for as per the calling sequenceEli Zaretskii2006-11-251-1/+1
| | | | | | | | changed on 2006-07-11.
* | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-13Miles Bader2006-02-081-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 43-57) - Update from CVS - Merge from erc--emacs--0 - Make constrain-to-field notice overlays - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 18-21) - Update from CVS - Merge from emacs--devo--0
| * Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
| |
* | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78Miles Bader2005-08-261-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 514-518) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 104-105) - Update from CVS
| * Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
| |
* | Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-68Miles Bader2005-07-071-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 459-473) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 86-87) - Update from CVS
| * Update FSF's address.Lute Kamstra2005-07-041-2/+2
| |
* | Sync to HEADKenichi Handa2004-04-161-0/+3
| |
* | *** empty log message ***Kenichi Handa2003-09-081-1/+1
|\ \
| * | Include "character.h" instead of "charset.h".Kenichi Handa2002-03-011-1/+1
| | |
* | | New directoryKenichi Handa2003-09-081-3/+0
| |/ |/|
* | Add arch taglinesMiles Bader2003-09-011-0/+3
| |
* | (syms_of_win16select): Fix docstring for `selection-coding-system'.Juanma Barranquero2002-10-141-2/+2
| |
* | (syms_of_win16select): Fix spacing.Juanma Barranquero2002-09-061-2/+2
| |
* | Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-5/+5
| | | | | | | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* | Include composite.hJuanma Barranquero2002-06-241-0/+1
| |
* | (Fw16_get_clipboard_data): Disable composition handling.Kenichi Handa2002-06-241-0/+3
| |
* | Fix whitespace.Eli Zaretskii2002-05-171-11/+8
|/
* (Fw16_get_clipboard_data): Fix last change.Eli Zaretskii2002-02-231-1/+1
|
* (Fw16_set_clipboard_data): Run pre-write-conversionEli Zaretskii2002-02-221-29/+32
| | | | | | on the string before encoding it. (Fw16_get_clipboard_data): Run post-read-conversion on the string after decoding it.
* Change doc-string comments to `new style' [w/`doc:' keyword].Pavel Janík2001-12-111-21/+21
|
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-4/+4
|
* Use SYMBOL_VALUE/ SET_SYMBOL_VALUE macros instead of accessingGerd Moellmann2001-10-051-3/+3
| | | | symbols' value directly.
* (set_clipboard_data): If there's not enough memoryEli Zaretskii2000-08-171-5/+10
| | | | | | | | to put text into clipboard, return 1, as Fw16_set_clipboard_data expects. In case of other failures, return 3. (system_error_msg): New error message. (Fw16_set_clipboard_data): If set_clipboard_data returns 3, print system_error_msg.
* (Fw16_set_clipboard_data): Fix the change from 2000-05-20.Eli Zaretskii2000-05-251-2/+2
|
* (Fw16_set_clipboard_data): Setup membersKenichi Handa2000-05-201-14/+11
| | | | | | src_multibyte and dst_multibyte of coding. Adjusted for the change for find_charset_in_str. (Fw16_get_clipboard_data): Likewise.
* (get_clipboard_data): Always stop at the first null byte.Eli Zaretskii1999-03-031-16/+6
|
* (get_clipboard_data): Work around a bug in Windows95Eli Zaretskii1999-02-151-5/+11
| | | | DOS box which doubles the reported size of text in the clipboard.
* (last_clipboard_text, clipboard_storage_size): NewEli Zaretskii1999-02-041-1/+48
| | | | | | | | | static variables. (set_clipboard_data): Save a copy of the text we put into clipboard in last_clipboard_text. (get_clipboard_data): If the clipboard text is identical to what last_clipboard_text holds, pretend there's no data in the clipboard.
* Fix last change.Eli Zaretskii1999-02-031-2/+2
|
* (Fw16_set_clipboard_data): When the text needs to beEli Zaretskii1999-02-031-1/+3
| | | | encoded, set its pointer and size as returned by encode_coding.
* (set_clipboard_data): Correctly null-terminate theEli Zaretskii1999-02-021-5/+11
| | | | string to be put into the Windows clipboard. Use xbuf_addr.
* (set_clipboard_data): Terminate the text with a nullEli Zaretskii1999-01-061-16/+39
| | | | | | | | | | character. Don't allow to put binary data into the clipboard. Return zero in case of success, 1 or 2 otherwise. (get_clipboard_data): Only bail out if the null character is in the last 32-byte chunk of clipboard data (Fw16_set_clipboard_data): Make ok and put_status be unsigned. If they save binary data, print a message in the echo area saying the text was not put into the clipboard.
* (Fw16_set_clipboard_data): Call find_charset_in_strKenichi Handa1998-12-151-1/+1
| | | | with MULTIBYTE arg 0.
* (Fw16_set_clipboard_data): Call find_charset_in_str with CMPCHARP arg 0.Kenichi Handa1998-10-121-1/+1
|