1. 09 Jul, 2008 2 commits
  2. 08 Jul, 2008 4 commits
  3. 07 Jul, 2008 3 commits
  4. 06 Jul, 2008 1 commit
  5. 05 Jul, 2008 4 commits
  6. 04 Jul, 2008 2 commits
  7. 02 Jul, 2008 2 commits
  8. 01 Jul, 2008 4 commits
  9. 30 Jun, 2008 2 commits
  10. 29 Jun, 2008 3 commits
  11. 28 Jun, 2008 1 commit
    • Jason Rumney's avatar
      * w32term.c (pfnGetFontUnicodeRanges): Remove unused function pointer. · 8b61a891
      Jason Rumney authored
      (pfnSetLayeredWindowAttributes): New function pointer.
      (w32_initialize): Initialize it when supported.
      (x_set_frame_alpha): New function.
      
      * w32fns.c (Fx_create_frame): Initialize frame parameter `alpha'.
      (w32_frame_parm_handlers): Set alpha handler.
      
      * frame.c (x_set_alpha) [HAVE_NTGUI]: Call x_set_frame_alpha.
      8b61a891
  12. 27 Jun, 2008 3 commits
    • Jason Rumney's avatar
      * w32fns.c (x_to_w32_font, w32_to_x_font, x_to_w32_weight) · 57016d37
      Jason Rumney authored
      (w32_to_x_weight, w32_to_all_x_charsets): Remove obsolete functions.
      (w32_to_x_charset, x_to_w32_charset)
      (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default)
      (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab)
      (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem)
      (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic)
      (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek)
      (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai)
      (Qw32_charset_mac, Vw32_charset_info_alist): Move to w32font.c.
      (Qw32_charset_unicode): Remove.
      (syms_of_w32fns): Update for above changes.
      
      * w32font.c (w32_to_x_charset, x_to_w32_charset)
      (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default)
      (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab)
      (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem)
      (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic)
      (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek)
      (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai)
      (Qw32_charset_mac, Vw32_charset_info_alist): Move from w32fns.c.
      (syms_of_w32font): Update for above changes.
      
      * w32-fns.el (top-level): Unconditionally define all charsets.
      57016d37
    • Dan Nicolaescu's avatar
      9fa1c445
    • Dan Nicolaescu's avatar
      Fix previous change: keep the correct branch of a · d6bf1bdb
      Dan Nicolaescu authored
      removed #if.
      d6bf1bdb
  13. 26 Jun, 2008 8 commits
    • Juanma Barranquero's avatar
      Remove unneeded -Defines in the compiler command line (MinGW and MSVC). · 43db14bb
      Juanma Barranquero authored
      * nt/nmake.defs:
      * nt/gmake.defs (FONT_CFLAGS): Remove.
      (EMACS_EXTRA_C_FLAGS): Don't include FONT_CFLAGS.
      (CFLAGS): Don't include WIN32_LEAN_AND_MEAN, _WIN32_WINNT, -D$(ARCH)
      and _CRTAPI1.
      (ARCH_FLAGS): Don't include _X86_.
      
      * nt/config.nt (_WIN32_WINNT, WIN32_LEAN_AND_MEAN): Define.
      
      * src/makefile.w32-in (LOCAL_FLAGS):
      Don't include WINDOWSNT, DOS_NT and _UCHAR_T.
      
      * src/sysdep.c (_spawnlp, _getpid):
      Declare with explicit _cdecl instead of _CRTAPI1.
      
      * src/editfns.c (Fget_internal_run_time):
      Check for WINDOWSNT with #ifdef, not #if.
      43db14bb
    • Jason Rumney's avatar
      * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros. · c35f9821
      Jason Rumney authored
      * w32term.c (x_draw_glyph_string_foreground):
      (x_draw_composite_glyph_string_foreground): Sync with xterm.c.
      Use FONT_HANDLE macro.
      (x_draw_glyph_string): Use FONT_TEXTMETRIC macro.
      
      * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape):
      (uniscribe_encode_char): Use FONT_HANDLE macro.
      
      * w32font.c (Fx_select_font): Use FONT_HANDLE macro.
      (w32font_text_extents): Use precast w32_font.
      (w32font_close): Free cached metrics.
      (w32font_open_internal): Allocate space for name on stack.
      c35f9821
    • Chong Yidong's avatar
      1f8ad719
    • Jason Rumney's avatar
      (FONT_AVG_WIDTH): Remove obsolete macro. · 97e71655
      Jason Rumney authored
      (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants.
      97e71655
    • Juanma Barranquero's avatar
      * src/Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o. · c9fc02c7
      Juanma Barranquero authored
      * lib-src/makefile.w32-in (obj): Remove w32bdf.o.
      c9fc02c7
    • Jason Rumney's avatar
      * w32bdf.c, w32bdf.h: Remove obsolete files. · 1b5defe6
      Jason Rumney authored
      * 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.
      1b5defe6
    • Kenichi Handa's avatar
      1fc66bca
    • Dan Nicolaescu's avatar
      * unexnext.c: · f2a77c3a
      Dan Nicolaescu authored
      * m/ews4800.h:
      * m/hp9000s300.h:
      * m/ibm370aix.h:
      * m/mips-siemens.h:
      * m/ncr386.h:
      * m/next.h:
      * m/pmax.h:
      * m/powerpcle.h:
      * m/tandem-s2.h:
      * s/386bsd.h:
      * s/bsd386.h:
      * s/bsd4-1.h:
      * s/bsd4-2.h:
      * s/bsdos2-1.h:
      * s/bsdos2.h:
      * s/bsdos3.h:
      * s/bsdos4.h:
      * s/nextstep.h:
      * s/ultrix4-3.h:
      * s/usg5-0.h:
      * s/usg5-2-2.h:
      * s/usg5-2.h:
      * s/usg5-4-3.h:
      * s/ux4800.h:
      * s/uxpds.h:
      * s/uxpv.h: Remove support for obsolete systems.
      * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
      Remove, insert contents in s/hpux-10.20.h
      * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
      Remove, insert contents in s/aix-4.2.h
      * s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
      * s/bsd4-3.h: Rename to ..
      * s/bsd-common.h: ... this.
      * src/data.c:
      * src/doc.c:
      * src/ecrt0.c:
      * src/emacs.c:
      * src/fileio.c:
      * src/floatfns.c:
      * src/keyboard.c:
      * src/mem-limits.h:
      * src/print.c:
      * src/process.c:
      * src/sysdep.c:
      * src/syssignal.h:
      * src/systty.h:
      * src/syswait.h:
      * src/term.c:
      * src/unexec.c:
      * src/unexel...
      f2a77c3a
  14. 25 Jun, 2008 1 commit