aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2015-05-23 08:35:49 -0700
committerPaul Eggert2015-05-23 08:36:28 -0700
commit78c9b2e847d14d56569d9e5aae8e0784c7f40844 (patch)
tree3e6cd9a460cab46f60f57f0d5dc82f29249f401e /src
parent919281ddb2eec5b5503c246dfad902d44aa25644 (diff)
downloademacs-78c9b2e847d14d56569d9e5aae8e0784c7f40844.tar.gz
emacs-78c9b2e847d14d56569d9e5aae8e0784c7f40844.zip
; Omit entries that will appear in ChangeLog.2
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.13236
1 files changed, 0 insertions, 236 deletions
diff --git a/src/ChangeLog.13 b/src/ChangeLog.13
index 8057b6e75d6..328f7982e6b 100644
--- a/src/ChangeLog.13
+++ b/src/ChangeLog.13
@@ -1,51 +1,9 @@
12015-04-26 Jan Djärv <jan.h.d@swipnet.se>
2
3 * image.c (xcolor_to_argb32): New function.
4 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
5 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
6 XImagePtr if ! USE_CAIRO.
7 (pbm_load): Add cairo support.
8
92015-04-12 Jan Djärv <jan.h.d@swipnet.se>
10
11 * xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
12 (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw.
13 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
14 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
15 x_free_cr_resources.
16
17 * image.c (get_spec_bg_or_alpha_as_argb)
18 (create_cairo_image_surface): New functions when USE_CAIRO.
19 (xpm_load): Call the above functions. Handle XPM without mask
20 when USE_CAIRO.
21 (png_load_body): Handle USE_CAIRO case.
22 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
23 instead.
24 (jpeg_load_body): Call create_cairo_image_surface.
25 (gif_load, svg_load_image): Handle specified background, call
26 create_cairo_image_surface.
27
282015-04-11 Jan Djärv <jan.h.d@swipnet.se>
29
30 * image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
31 (tiff_load): Create cairo image surface if USE_CAIRO.
32 (gif_load): Ditto.
33
342015-04-06 Koichi Arakawa <arakawa@pp.iij4u.or.jp> (tiny change) 12015-04-06 Koichi Arakawa <arakawa@pp.iij4u.or.jp> (tiny change)
35 2
36 * w32proc.c (w32_executable_type): Look for the DLL name in the 3 * w32proc.c (w32_executable_type): Look for the DLL name in the
37 correct section. This avoids segfaults with some executables. 4 correct section. This avoids segfaults with some executables.
38 (Bug#20264) 5 (Bug#20264)
39 6
402015-04-05 Jan Djärv <jan.h.d@swipnet.se>
41
42 * image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
43 (x_clear_image): Free cr_data and cr_data2 if set.
44 (xpm_load): Assign data to cr_data2.
45 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
46
47 * dispextern.h (struct image): add cr_data2 if cairo.
48
492015-04-04 Jan Djärv <jan.h.d@swipnet.se> 72015-04-04 Jan Djärv <jan.h.d@swipnet.se>
50 8
51 * xselect.c (x_reply_selection_request) 9 * xselect.c (x_reply_selection_request)
@@ -57,17 +15,8 @@
57 15
582015-04-03 Jan Djärv <jan.h.d@swipnet.se> 162015-04-03 Jan Djärv <jan.h.d@swipnet.se>
59 17
60 * image.c (prepare_image_for_display): Don't load if USE_CAIRO.
61 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
62 don't return early.
63 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
64 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
65 and create a surface.
66
67 * xterm.c (handle_one_xevent): Always redraw tool tips on 18 * xterm.c (handle_one_xevent): Always redraw tool tips on
68 MapNotify. Update tool tip frame sizes on ConfigureNotify. 19 MapNotify. Update tool tip frame sizes on ConfigureNotify.
69 (x_update_begin): Don't create any surface for non-visible
70 tip frames, the geometry may be wrong.
71 20
722015-03-31 Eli Zaretskii <eliz@gnu.org> 212015-03-31 Eli Zaretskii <eliz@gnu.org>
73 22
@@ -610,191 +559,6 @@
610 DEFINE_LISP_SYMBOL_BEGIN / DEFINE_LISP_SYMBOL_END. All uses changed. 559 DEFINE_LISP_SYMBOL_BEGIN / DEFINE_LISP_SYMBOL_END. All uses changed.
611 (DEFINE_NONNIL_Q_SYMBOL_MACROS): New macro, defaulting to true. 560 (DEFINE_NONNIL_Q_SYMBOL_MACROS): New macro, defaulting to true.
612 561
6132015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
614
615 * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
616
6172015-02-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
618
619 * xterm.c [USE_CAIRO]: Include math.h.
620 (enum corners) [USE_CAIRO]: New enum.
621 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
622 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
623 than 1, draw the outermost line using the black relief.
624
6252015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
626
627 * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
628 (xg_print_frames_dialog): Modernize k&r declarations.
629
630 * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
631 (Fx_print_frames_dialog): Modernize k&r declarations.
632
633 * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of
634 XFillRectangle.
635 (x_draw_horizontal_wave) [USE_CAIRO]: New function.
636 (x_draw_underwave) [USE_CAIRO]: Use it.
637 (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip)
638 (x_end_cr_clip, x_set_cr_source_with_gc_foreground)
639 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
640 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
641 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
642 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
643 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
644 (x_clear_area): Modernize k&r declarations.
645 (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
646 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
647 width and height args.
648 (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead
649 of XSetClipMask.
650 (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
651 (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
652
6532015-02-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
654
655 * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for
656 cairo image surface.
657
658 * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty.
659
6602015-02-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
661 Jan Djärv <jan.h.d@swipnet.se>
662
663 * xterm.h: Add include of cairo header files.
664 (x_bitmap_record): Add img if cairo.
665 (x_gc_ext_data): New struct for cairo.
666 (x_display_info): Add ext_codes for cairo.
667 (x_output): Add cr_context and cr_surface for cairo.
668 (x_clear_area): Change arguments from Display*/Window to frame pointer.
669 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
670 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
671 (x_cr_draw_frame, x_cr_export_frames): Declare.
672
673 * xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
674 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
675 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
676 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
677 Declare.
678 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
679 (max_fringe_bmp, fringe_bmp): New variables.
680 (x_gc_get_ext_data, x_extension_initialize)
681 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
682 (x_set_cr_source_with_gc_foreground)
683 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
684 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
685 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
686 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
687 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
688 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
689 (x_update_begin): Create cairo surface if needed.
690 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
691 (x_update_end): Paint cairo drawing surface to xlib surface.
692 (x_clear_under_internal_border, x_after_update_window_line): Adjust
693 arguments to x_clear_area.
694 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
695 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
696 of XSetClipMask.
697 (x_set_glyph_string_clipping)
698 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
699 instead of XSetClipRectangles.
700 (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
701 x_fill_rectangle instead of XFillRectangle.
702 (x_draw_glyph_string_foreground)
703 (x_draw_composite_glyph_string_foreground)
704 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
705 of XDrawRectangle.
706 (x_draw_relief_rect): Add code for USE_CAIRO.
707 Call x_reset_clip_rectangles instead of XSetClipMask.
708 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
709 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
710 instead of XSetClipMask.
711 (x_draw_image_foreground, x_draw_image_foreground_1):
712 x_draw_rectangle instead of XDrawRectangle.
713 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
714 XFillRectangle.
715 (x_draw_image_glyph_string): If img has cr_data, use it as
716 a cairo surface.
717 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
718 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
719 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
720 x_reset_clip_rectangles instead of XSetClipMask.
721 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
722 (x_clear_area1): New function that calls XClearArea.
723 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
724 non-cairo.
725 (x_clear_frame): x_clear_window instead of XClearWindow.
726 (x_scroll_run): Set frame garbaged if cairo.
727 (XTmouse_position): Initialize *part to 0.
728 (x_scroll_bar_create): Adjust arguments to x_clear_area.
729 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
730 x_fill_rectangle instead of XFillRectangle.
731 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
732 arguments to x_clear_area.
733 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
734 (handle_one_xevent): Adjust arguments to x_clear_area.
735 Destroy cairo surface for frame if ConfigureNotify.
736 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
737 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
738 x_reset_clip_rectangles instead of XSetClipMask.
739 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
740 x_reset_clip_rectangles instead of XSetClipMask.
741 (x_clear_frame_area): Adjust arguments to x_clear_area.
742 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
743 (x_term_init): Call x_extension_initialize if cairo.
744 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
745 x_cr_destroy_fringe_bitmap for cairo.
746 (x_initialize): Call x_cr_init_fringe for cairo.
747
748 * xfns.c: New section Printing.
749 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
750 (x-print-frames-dialog): New printing functions.
751 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
752 cairo.
753 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
754 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
755 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
756 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
757
758 * image.c: Add defined (USE_CAIRO) for PNG.
759 Add !defined USE_CAIRO for W32 PNG code.
760 (x_clear_image): If cairo, destroy the surface in cr_data.
761 (png_load): Add new cairo compatible implementation.
762 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
763
764 * gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
765 (xg_print_frames_dialog): Declare.
766
767 * gtkutil.c (xg_clear_under_internal_border)
768 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
769 queue_draw if not cairo. Change args to x_clear_area.
770 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
771 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
772 (xg_print_frames_dialog): New functions for printing.
773
774 * ftfont.h (ftfont_open2, ftfont_info_size): Declare.
775
776 * ftfont.c (ftfont_info_size); New global variable.
777 (ftfont_open2): New extern function almost the same as old ftfont_open,
778 but takes the font_object as argument.
779 (ftfont_open): Build font object and call ftfont_open2.
780
781 * ftcrfont.c: New font driver for cairo, based on the ftfont driver.
782
783 * fringe.c (x_cr_init_fringe): New function name that shares code
784 with w32_init_fringe.
785
786 * font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
787
788 * font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
789
790 * dispextern.h (struct image): Add cr_data for cairo.
791 (x_cr_init_fringe): Declare.
792
793 * Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
794 (FONT_OBJ): Add comment about ftcrfont.
795 (ALL_CFLAGS): Add CAIRO_CFLAGS.
796 (LIBES): Add CAIRO_LIBS.
797
7982015-02-11 Martin Rudalics <rudalics@gmx.at> 5622015-02-11 Martin Rudalics <rudalics@gmx.at>
799 563
800 * w32term.c (w32_read_socket): In SIZE_MAXIMIZED and 564 * w32term.c (w32_read_socket): In SIZE_MAXIMIZED and