summaryrefslogtreecommitdiff
path: root/src/w32gui.h
Commit message (Collapse)AuthorAgeFilesLines
* Rework C source files to avoid ^(Paul Eggert2016-03-101-2/+2
| | | | | | | | Work around Bug#22884 by rewording comments and strings to avoid ‘(’ at the start of a line unless it starts a function. This change is a short-term hack; in the longer run we plan to fix cc-mode’s performance for C files that have ‘(’ at the start of a line in a comment or string.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Revert 2014-07-16T04:11:08Z!ueno@gnu.org and fix XCHAR2B_BYTE[12] in nsgui.h ↵Daiki Ueno2014-07-161-0/+10
| | | | | | | | only * nsgui.h (XCHAR2B_BYTE1): Add missing parentheses around pointer argument, before dereferencing. (XCHAR2B_BYTE2): Likewise.
* Move back the XChar2b definition to w32gui.h and nsgui.hDaiki Ueno2014-07-161-0/+2
| | | | | Fix the last change. XChar2b still needs to be defined platform dependently, to match with the argument types of drawing functions.
* Consolidate XChar2b macros for the X, W32, and NSDaiki Ueno2014-07-161-12/+0
| | | | | | | | | | | | Suggested by Jan Djärv in: https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00203.html * w32gui.h (XChar2b, STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): Move the fallback definitions to dispextern.h. * nsgui.h (XChar2b, STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): Likewise. Share the same definition with W32. * xterm.h (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): Move to ... * dispextern.h (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): ... here for the consistency with W32 and NS.
* Use common memory management functions for lwlib and refactor users.Dmitry Antipov2014-06-021-4/+1
| | | | | | | | | | | | | | | | | | | | | | * lwlib/lwlib.h (widget_value): Do not maintain a free list any more. (malloc_widget_value, free_widget_value): Remove prototypes. * lwlib/lwlib.c (malloc_widget_value, free_widget_value): (widget_value_free_list, malloc_cpt): Remove. (free_widget_value_tree, copy_widget_value_tree): Adjust users. * src/menu.h (xmalloc_widget_value): Replaced by ... (make_widget_value): ... new prototype. * src/menu.c (xmalloc_widget_value): Replaced by ... (make_widget_value): ... new function. (free_menubar_widget_value_tree, digest_single_submenu): Adjust users. * src/gtkutil.c (malloc_widget_value, free_widget_value): (widget_value_free_list, malloc_cpt): Remove old lwlib-compatible code. * src/keyboard.h (enum button_type, struct _widget_value): * src/gtkutil.h, src/nsgui.h, src/w32gui.h (malloc_widget_value): (free_widget_value): Likewise. * src/nsmenu.m (ns_update_menubar, ns_menu_show): * src/w32menu.c (set_frame_menubar, w32_menu_show, w32_dialog_show): * src/xmenu.c (set_frame_menubar, xmenu_show, x_dialog_show): Adjust users. * src/xterm.h (XtParent) [USE_GTK]: Remove unused macro.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-021-1/+1
|\
| * Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
| |
| * Move fix for bug#12993 to trunkDaniel Colascione2012-12-101-0/+3
|/
* Compile Windows resources into cygw32 EmacsDaniel Colascione2012-12-091-3/+0
|
* src/w32gui.h (XParseGeometry): Do not declare.Juanma Barranquero2012-09-201-3/+0
|
* Don't use the abbreviation "win" to refer to Windows (Bug#10421).Paul Eggert2012-07-291-1/+1
| | | | | | | | | | | | * lisp/org/ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path. (ly-w32-pdf-path): Rename from ly-win32-pdf-path. (ly-w32-midi-path): Rename from ly-win32-midi-path. (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path): Check for "windows-nt", not "win32", in system-type. * src/regex.c (MAX_BUF_SIZE): Remove some incorrect and long-ago-commented-out code that talks about "WIN32". * src/w32heap.h (OS_WINDOWS_95): Rename from OS_WIN95. All uses changed.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Fixups, following up to the user-interface timestamp change.Paul Eggert2011-05-141-2/+2
| | | | | | | * nsterm.m (last_mouse_movement_time, ns_mouse_position): Use Time for UI timestamps, instead of unsigned long. * w32gui.h (Time): Define by including "systime.h" rather than by declaring it ourselves. (Bug#8664)
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-2/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | w32gui.h (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): Surround chp by ↵Kenichi Handa2010-10-291-3/+3
| | | | | | | | parentheses.
* | Make building under stricter warning flags somewhat cleaner.Juanma Barranquero2010-07-251-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flags used: -Wold-style-declaration -Wunused-function -Wstrict-prototypes * lib-src/emacsclient.c (getcwd, w32_getenv): * lib-src/ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes. * nt/runemacs.c (set_user_model_id): Fix prototype. * src/callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT. * src/dired.c (opendir, readdir): Fix prototypes. * src/editfns.c (w32_get_internal_run_time): Fix prototypes. * src/keyboard.c (input_available_signal): Declare inside #ifdef SIGIO. * src/ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes. (telldir): Remove declaration. * src/ralloc.c (real_morecore, __morecore): Fix prototypes. * src/sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA. * src/syssignal.h (strsignal): Fix prototype. * src/term.c (tparam): Fix prototype. (term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1) (term_get_fkeys): Set inside "#ifndef DOS_NT". * src/vm-limit.c (check_memory_limits): Fix prototypes of real_morecore and __morecore. * src/w32gui.h (XParseGeometry): Fix prototype. * src/w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes. * src/w32term.c (my_set_focus): Declare inside #if 0. * src/w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init) (w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit) (drain_message_queue, get_next_msg, post_msg, parse_button) (ClipboardSequence_Proc): Fix prototypes. (wait_for_sync): Remove declaration.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* Fix last change.Jason Rumney2008-07-161-37/+0
|
* merging Emacs.app (NeXTstep port)Adrian Robert2008-07-151-58/+35
|
* * w32bdf.c, w32bdf.h: Remove obsolete files.Jason Rumney2008-06-261-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | * makefile.w32-in: Remove refs to w32bdf.h and w32bdf.c. * w32gui.h: Don't include w32bdf.h. (XCharStruct, enum w32_char_font_type, W32FontStruct): Remove obsolete font support. * w32font.h (struct w32font_info): Remove compat_w32_font. Add hfont member. (FONT_COMPAT): Remove obsolete macro. * w32font.c (w32font_close): Remove compat code. Delete hfont member. (w32font_encode_char, w32font_text_extents): Use new hfont member. (w32font_open_internal): Remove compat code. Set new hfont member. (Fx_select_font): Use new hfont member. * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape): (uniscribe_encode_char): Use new hfont member. * w32term.c (x_draw_glyph_string_foreground): (x_draw_composite_glyph_string_foreground): Use new hfont member. (x_draw_glyph_string): Use metrics in w32font_info.
* [OLD_FONT]: Remove obsolete font code.Jason Rumney2008-06-201-3/+0
|
* * w32gui.h (widget_value, XtPointer, Boolean, enum button_type):Jason Rumney2008-06-091-0/+8
| | | | | (local_heap, local_alloc, local_free, malloc_widget_value): (free_widget_value): Define here.
* (widget_value, XtPointer, Boolean, enum button_type): Define here.Jason Rumney2008-06-091-0/+60
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-151-6/+4
|
* (XGCValues): Surround `XFontStruct *font' by "ifKenichi Handa2008-05-141-0/+3
| | | | OLD_FONT" and "endif".
* Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+2
| | | | 2001).
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+2
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (XrmDatabase): New (dummy) typedef.Kim F. Storm2003-03-311-0/+2
|
* (No_Cursor): Define as 0 for W32.Kim F. Storm2003-03-211-0/+29
| | | | | | (XRectangle): Add X compatible rectangle type. (NativeRectangle): Declare as RECT for W32. (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros.
* Use HDC for Display.Jason Rumney2003-03-161-1/+1
|
* (Display): Add dummy typedef for consolidation.Kim F. Storm2003-03-161-1/+15
| | | | | (XChar2b): Define alias for wchar_t for consolidation. (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros.
* Remove definition of XColor.Juanma Barranquero2002-10-251-10/+0
|
* Add definition of XColor.Juanma Barranquero2002-10-231-0/+10
|
* (struct XImage): Define.Jason Rumney2002-03-201-2/+7
|
* Add a dummy typedef for XImage. From Juanma Barranquero <lektu@terra.es>.Eli Zaretskii2001-10-261-0/+3
|
* Do not undef min and max.Andrew Innes2001-10-081-5/+0
|
* (w32_char_font_type): Move enum from w32term.cAndrew Innes2000-10-211-0/+24
|
* Undefine min, max.Andrew Innes2000-08-221-0/+6
|