diff options
| author | Eli Zaretskii | 2013-12-09 19:20:34 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-12-09 19:20:34 +0200 |
| commit | cc24ef09f8c050808f9f4989e49122b206e8c934 (patch) | |
| tree | 578b29e1c9dd276a965e7b2559f8b09c21df9a83 /src/ChangeLog | |
| parent | 439b1ae89e7c0660ef0a8fa540b12977e38dedf8 (diff) | |
| parent | ad8a47b89fc3c5a3302255f318b1ed805838cf72 (diff) | |
| download | emacs-cc24ef09f8c050808f9f4989e49122b206e8c934.tar.gz emacs-cc24ef09f8c050808f9f4989e49122b206e8c934.zip | |
Merge from trunk.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 141 |
1 files changed, 101 insertions, 40 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e67fdada36f..0970bf62b52 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,66 @@ | |||
| 1 | 2013-12-09 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * gtkutil.c (USE_NEW_GTK_FONT_CHOOSER) [HAVE_FREETYPE]: | ||
| 4 | Avoid unused macro warning if configured --without-xft. | ||
| 5 | |||
| 6 | 2013-12-09 Jan Djärv <jan.h.d@swipnet.se> | ||
| 7 | |||
| 8 | * alloc.c (Fmemory_limit): Avoid compiler warning. Return 0 always. | ||
| 9 | |||
| 10 | 2013-12-08 Jan Djärv <jan.h.d@swipnet.se> | ||
| 11 | |||
| 12 | * nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating. | ||
| 13 | |||
| 14 | * emacs.c (main): Call fixup_locale a second time for GNUStep. | ||
| 15 | |||
| 16 | 2013-12-08 Martin Rudalics <rudalics@gmx.at> | ||
| 17 | |||
| 18 | * frame.c (x_set_font): Mark frame as garbaged (Bug#16028). | ||
| 19 | |||
| 20 | 2013-12-08 Paul Eggert <eggert@cs.ucla.edu> | ||
| 21 | |||
| 22 | Use libcrypto's checksum implementations if available, for speed. | ||
| 23 | * Makefile.in (LIB_CRYPTO): New macro. | ||
| 24 | (LIBES): Use it. | ||
| 25 | |||
| 26 | * frame.h (SET_FRAME_VISIBLE): Now an inline function. | ||
| 27 | The macro didn't conform to C99 due to type mismatch, | ||
| 28 | which caused compilation failure with Sun C 5.12, | ||
| 29 | and it was confusing anyway. Include window.h to declare | ||
| 30 | redisplay_other_windows. | ||
| 31 | |||
| 32 | 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 33 | |||
| 34 | * window.c (set_window_buffer): Update mode line (bug#16084). | ||
| 35 | |||
| 36 | 2013-12-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 37 | |||
| 38 | Fix minor problems found by static checking. | ||
| 39 | * keyboard.c (poll_for_input_1, input_polling_used): | ||
| 40 | Define only if HAVE_NTGUI. | ||
| 41 | * xmenu.c (popup_activate_callback): Omit unnecessary | ||
| 42 | check against USE_X_TOOLKIT, which must be defined here anyway. | ||
| 43 | * xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]: | ||
| 44 | Now static. | ||
| 45 | |||
| 46 | 2013-12-07 Martin Rudalics <rudalics@gmx.at> | ||
| 47 | |||
| 48 | * w32term.c (w32_read_socket): Fix int/Lisp_Object type mixup. | ||
| 49 | |||
| 1 | 2013-12-07 Jan Djärv <jan.h.d@swipnet.se> | 50 | 2013-12-07 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 51 | ||
| 52 | * gtkutil.c (tb_size_cb): Call xg_height_or_width_changed. | ||
| 53 | |||
| 54 | * nsterm.m (x_set_window_size): Remove fprintf. | ||
| 55 | (init): Define always. Set applicationDidFinishLaunchingCalled | ||
| 56 | for GNUStep. | ||
| 57 | (applicationDidFinishLaunching:): | ||
| 58 | Set applicationDidFinishLaunchingCalled. | ||
| 59 | (applicationDidBecomeActive:): Call applicationDidFinishLaunching if | ||
| 60 | not called. | ||
| 61 | |||
| 62 | * nsterm.h (EmacsApp): Add applicationDidFinishLaunchingCalled. | ||
| 63 | |||
| 3 | Pixel resize changes for NS (Bug#16049). | 64 | Pixel resize changes for NS (Bug#16049). |
| 4 | * nsterm.m (x_set_window_size): Change parameters rows/cols to | 65 | * nsterm.m (x_set_window_size): Change parameters rows/cols to |
| 5 | height/width. row/cols are locals. | 66 | height/width. row/cols are locals. |
| @@ -7,8 +68,8 @@ | |||
| 7 | (updateFrameSize:): Remove gsextra. Adjust for pixelwise resize. | 68 | (updateFrameSize:): Remove gsextra. Adjust for pixelwise resize. |
| 8 | (windowWillResize): Remove gsextra. Calculate extra as in | 69 | (windowWillResize): Remove gsextra. Calculate extra as in |
| 9 | updateFrameSize. | 70 | updateFrameSize. |
| 10 | (x_new_font): Don't change frame size if fullscreen. Change | 71 | (x_new_font): Don't change frame size if fullscreen. |
| 11 | size pixelwise. | 72 | Change size pixelwise. |
| 12 | 73 | ||
| 13 | * nsfns.m (Fx_create_frame): Call change_frame_size twice as per | 74 | * nsfns.m (Fx_create_frame): Call change_frame_size twice as per |
| 14 | comment in xfns.c. Change to pixelwise call. | 75 | comment in xfns.c. Change to pixelwise call. |
| @@ -210,8 +271,8 @@ | |||
| 210 | ON_RIGHT_DIVIDER and ON_BOTTOM_DIVIDER. | 271 | ON_RIGHT_DIVIDER and ON_BOTTOM_DIVIDER. |
| 211 | (struct glyph_matrix): Replace window_left_col and | 272 | (struct glyph_matrix): Replace window_left_col and |
| 212 | window_top_line by window_pixel_left and window_pixel_top. | 273 | window_top_line by window_pixel_left and window_pixel_top. |
| 213 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Minor | 274 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
| 214 | rewrite. | 275 | Minor rewrite. |
| 215 | (enum face_id): Add WINDOW_DIVIDER_FACE_ID. | 276 | (enum face_id): Add WINDOW_DIVIDER_FACE_ID. |
| 216 | (draw_window_divider, move_it_to, x_draw_right_divider) | 277 | (draw_window_divider, move_it_to, x_draw_right_divider) |
| 217 | (x_draw_bottom_divider, change_frame_size): Add or fix | 278 | (x_draw_bottom_divider, change_frame_size): Add or fix |
| @@ -226,8 +287,8 @@ | |||
| 226 | (init_display): Adjusts calls of change_frame_size. | 287 | (init_display): Adjusts calls of change_frame_size. |
| 227 | (change_frame_size, change_frame_size_1): Handle pixelwise | 288 | (change_frame_size, change_frame_size_1): Handle pixelwise |
| 228 | changes. | 289 | changes. |
| 229 | * frame.c (Qright_divider_width, Qbottom_divider_width): New | 290 | * frame.c (Qright_divider_width, Qbottom_divider_width): |
| 230 | Lisp objects. | 291 | New Lisp objects. |
| 231 | (set_menu_bar_lines_1, set_menu_bar_lines, make_frame) | 292 | (set_menu_bar_lines_1, set_menu_bar_lines, make_frame) |
| 232 | (make_terminal_frame, Fmake_terminal_frame, Fframe_parameters) | 293 | (make_terminal_frame, Fmake_terminal_frame, Fframe_parameters) |
| 233 | (x_set_internal_border_width, x_set_vertical_scroll_bars) | 294 | (x_set_internal_border_width, x_set_vertical_scroll_bars) |
| @@ -238,15 +299,15 @@ | |||
| 238 | (Fframe_text_width, Fframe_text_height, Fscroll_bar_width) | 299 | (Fframe_text_width, Fframe_text_height, Fscroll_bar_width) |
| 239 | (Ffringe_width, Fborder_width, Fright_divider_width) | 300 | (Ffringe_width, Fborder_width, Fright_divider_width) |
| 240 | (Fbottom_divider_width): New functions, defsubr them. | 301 | (Fbottom_divider_width): New functions, defsubr them. |
| 241 | (Fset_frame_height, Fset_frame_width, Fset_frame_size): New | 302 | (Fset_frame_height, Fset_frame_width, Fset_frame_size): |
| 242 | argument pixelwise. | 303 | New argument pixelwise. |
| 243 | (struct frame_parm_table): New members Qright_divider_width and | 304 | (struct frame_parm_table): New members Qright_divider_width and |
| 244 | Qbottom_divider_width. | 305 | Qbottom_divider_width. |
| 245 | (x_set_frame_parameters): Handle parameters for pixelwise sizes. | 306 | (x_set_frame_parameters): Handle parameters for pixelwise sizes. |
| 246 | (x_report_frame_params): Handle Qright_divider_width and | 307 | (x_report_frame_params): Handle Qright_divider_width and |
| 247 | Qbottom_divider_width. | 308 | Qbottom_divider_width. |
| 248 | (x_set_right_divider_width, x_set_bottom_divider_width): New | 309 | (x_set_right_divider_width, x_set_bottom_divider_width): |
| 249 | functions. | 310 | New functions. |
| 250 | (frame_resize_pixelwise): New option. | 311 | (frame_resize_pixelwise): New option. |
| 251 | * frame.h (struct frame): Add tool_bar_height, menu_bar_height, | 312 | * frame.h (struct frame): Add tool_bar_height, menu_bar_height, |
| 252 | new_pixelwise, right_divider_width and bottom_divider_width; | 313 | new_pixelwise, right_divider_width and bottom_divider_width; |
| @@ -257,8 +318,8 @@ | |||
| 257 | FRAME_TEXT_WIDTH respectively. | 318 | FRAME_TEXT_WIDTH respectively. |
| 258 | (FRAME_MENU_BAR_HEIGHT, FRAME_TOOL_BAR_HEIGHT) | 319 | (FRAME_MENU_BAR_HEIGHT, FRAME_TOOL_BAR_HEIGHT) |
| 259 | (FRAME_RIGHT_DIVIDER_WIDTH, FRAME_BOTTOM_DIVIDER_WIDTH) | 320 | (FRAME_RIGHT_DIVIDER_WIDTH, FRAME_BOTTOM_DIVIDER_WIDTH) |
| 260 | (FRAME_TEXT_TO_PIXEL_WIDTH, FRAME_PIXEL_TO_TEXT_WIDTH): New | 321 | (FRAME_TEXT_TO_PIXEL_WIDTH, FRAME_PIXEL_TO_TEXT_WIDTH): |
| 261 | macros. | 322 | New macros. |
| 262 | (FRAME_TOP_MARGIN_HEIGHT, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) | 323 | (FRAME_TOP_MARGIN_HEIGHT, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) |
| 263 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH, FRAME_SCROLL_BAR_AREA_WIDTH) | 324 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH, FRAME_SCROLL_BAR_AREA_WIDTH) |
| 264 | (SET_FRAME_COLS, SET_FRAME_WIDTH, SET_FRAME_HEIGHT) | 325 | (SET_FRAME_COLS, SET_FRAME_WIDTH, SET_FRAME_HEIGHT) |
| @@ -268,8 +329,8 @@ | |||
| 268 | * fringe.c (draw_fringe_bitmap_1): Handle right divder. | 329 | * fringe.c (draw_fringe_bitmap_1): Handle right divder. |
| 269 | * gtkutil.c (xg_frame_resized, xg_frame_set_char_size) | 330 | * gtkutil.c (xg_frame_resized, xg_frame_set_char_size) |
| 270 | (x_wm_set_size_hint): Handle frame pixel sizes. | 331 | (x_wm_set_size_hint): Handle frame pixel sizes. |
| 271 | * indent.c (compute_motion, Fcompute_motion): Call | 332 | * indent.c (compute_motion, Fcompute_motion): |
| 272 | window_body_width instead of window_body_cols. | 333 | Call window_body_width instead of window_body_cols. |
| 273 | * keyboard.c (Qright_divider, Qbottom_divider): New symbols. | 334 | * keyboard.c (Qright_divider, Qbottom_divider): New symbols. |
| 274 | (make_lispy_position): Handle right and bottom dividers. | 335 | (make_lispy_position): Handle right and bottom dividers. |
| 275 | (Fsuspend_emacs): Pixelize call of change_frame_size. | 336 | (Fsuspend_emacs): Pixelize call of change_frame_size. |
| @@ -277,13 +338,13 @@ | |||
| 277 | * lisp.h: Extern set_frame_param. | 338 | * lisp.h: Extern set_frame_param. |
| 278 | * nsfns.m (x_set_tool_bar_lines): Pixelize call of | 339 | * nsfns.m (x_set_tool_bar_lines): Pixelize call of |
| 279 | x_set_window_size. | 340 | x_set_window_size. |
| 280 | (Fx_create_frame): Add entry for vertical_drag_cursor. Pixelize | 341 | (Fx_create_frame): Add entry for vertical_drag_cursor. |
| 281 | call of change_frame_size. | 342 | Pixelize call of change_frame_size. |
| 282 | * nsterm.h (struct ns_output): Add vertical_drag_cursor. | 343 | * nsterm.h (struct ns_output): Add vertical_drag_cursor. |
| 283 | * nsterm.m (ns_update_window_end): Optionally draw right | 344 | * nsterm.m (ns_update_window_end): Optionally draw right |
| 284 | divider. | 345 | divider. |
| 285 | (x_set_window_size): Add argument pixelwise. Call | 346 | (x_set_window_size): Add argument pixelwise. |
| 286 | check_frame_size and change_frame_size with pixelwise zero. | 347 | Call check_frame_size and change_frame_size with pixelwise zero. |
| 287 | (ns_draw_window_divider): New function. | 348 | (ns_draw_window_divider): New function. |
| 288 | (ns_redisplay_interface): Add ns_draw_window_divider. | 349 | (ns_redisplay_interface): Add ns_draw_window_divider. |
| 289 | (updateFrameSize:): Call change_frame_size with pixelwise zero. | 350 | (updateFrameSize:): Call change_frame_size with pixelwise zero. |
| @@ -294,12 +355,12 @@ | |||
| 294 | * w32fns.c (x_set_mouse_color): Handle vertical drag cursor. | 355 | * w32fns.c (x_set_mouse_color): Handle vertical drag cursor. |
| 295 | (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. | 356 | (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. |
| 296 | (w32_createwindow): Use scroll bar area width. | 357 | (w32_createwindow): Use scroll bar area width. |
| 297 | (w32_wnd_proc): Handle bottom divider width. For | 358 | (w32_wnd_proc): Handle bottom divider width. |
| 298 | WM_WINDOWPOSCHANGING return zero if we resize pixelwise. | 359 | For WM_WINDOWPOSCHANGING return zero if we resize pixelwise. |
| 299 | (Fx_create_frame): Default divider width parameters. Caclulate | 360 | (Fx_create_frame): Default divider width parameters. |
| 300 | sizes pixelwise. Add vertical drag cursor support. | 361 | Caclulate sizes pixelwise. Add vertical drag cursor support. |
| 301 | (x_create_tip_frame): Default divider widths to zero. Pixelize | 362 | (x_create_tip_frame): Default divider widths to zero. |
| 302 | call to change_frame_size. | 363 | Pixelize call to change_frame_size. |
| 303 | (Fx_show_tip): Add handling of divider widths. Pixelize window | 364 | (Fx_show_tip): Add handling of divider widths. Pixelize window |
| 304 | position and sizes. | 365 | position and sizes. |
| 305 | (Fw32_frame_rect): New function. | 366 | (Fw32_frame_rect): New function. |
| @@ -314,8 +375,8 @@ | |||
| 314 | (x_update_window_end): Handle right divider. | 375 | (x_update_window_end): Handle right divider. |
| 315 | (w32_draw_fringe_bitmap, x_scroll_run) | 376 | (w32_draw_fringe_bitmap, x_scroll_run) |
| 316 | (w32_set_vertical_scroll_bar): Pixelize scrollbar widths. | 377 | (w32_set_vertical_scroll_bar): Pixelize scrollbar widths. |
| 317 | (w32_read_socket): Handle SIZE_MAXIMIZED separately. Calculate | 378 | (w32_read_socket): Handle SIZE_MAXIMIZED separately. |
| 318 | new frame sizes pixelwise. | 379 | Calculate new frame sizes pixelwise. |
| 319 | (x_new_font): Pixelize call to x_set_window_size. | 380 | (x_new_font): Pixelize call to x_set_window_size. |
| 320 | (x_check_fullscreen): Pixelize call to change_frame_size. | 381 | (x_check_fullscreen): Pixelize call to change_frame_size. |
| 321 | (x_set_window_size_1, x_set_window_size): New argument | 382 | (x_set_window_size_1, x_set_window_size): New argument |
| @@ -334,16 +395,16 @@ | |||
| 334 | (Fset_window_new_pixel, window_resize_apply_total) | 395 | (Fset_window_new_pixel, window_resize_apply_total) |
| 335 | (Fwindow_resize_apply_total): New functions. | 396 | (Fwindow_resize_apply_total): New functions. |
| 336 | (window_body_height, window_body_width): Rename from | 397 | (window_body_height, window_body_width): Rename from |
| 337 | window_body_lines. New argument PIXELWISE. Calculate | 398 | window_body_lines. New argument PIXELWISE. |
| 338 | pixelwise. | 399 | Calculate pixelwise. |
| 339 | (Fwindow_body_height, Fwindow_body_width): New argument | 400 | (Fwindow_body_height, Fwindow_body_width): New argument |
| 340 | PIXELWISE. | 401 | PIXELWISE. |
| 341 | (coordinates_in_window, window_relative_x_coord): Use window's | 402 | (coordinates_in_window, window_relative_x_coord): Use window's |
| 342 | pixel width instead of total width. | 403 | pixel width instead of total width. |
| 343 | (replace_window, recombine_windows): Initialize pixel values. | 404 | (replace_window, recombine_windows): Initialize pixel values. |
| 344 | (resize_root_window, resize_frame_windows, grow_mini_window) | 405 | (resize_root_window, resize_frame_windows, grow_mini_window) |
| 345 | (shrink_mini_window): New argument PIXELWISE. Calculate | 406 | (shrink_mini_window): New argument PIXELWISE. |
| 346 | pixelwise. | 407 | Calculate pixelwise. |
| 347 | (Fdelete_other_windows_internal, adjust_window_margins) | 408 | (Fdelete_other_windows_internal, adjust_window_margins) |
| 348 | (window_resize_check, window_resize_apply) | 409 | (window_resize_check, window_resize_apply) |
| 349 | (Fdelete_window_internal, Fresize_mini_window_internal) | 410 | (Fdelete_window_internal, Fresize_mini_window_internal) |
| @@ -368,11 +429,11 @@ | |||
| 368 | slots in save_window_data and saved_window. | 429 | slots in save_window_data and saved_window. |
| 369 | (Fset_window_scroll_bars): Fix doc-string. | 430 | (Fset_window_scroll_bars): Fix doc-string. |
| 370 | (window_resize_pixelwise): New variable. | 431 | (window_resize_pixelwise): New variable. |
| 371 | (coordinates_in_window, Fcoordinates_in_window_p): Handle | 432 | (coordinates_in_window, Fcoordinates_in_window_p): |
| 372 | dividers. | 433 | Handle dividers. |
| 373 | (make_parent_window): Adjust sequence_number. | 434 | (make_parent_window): Adjust sequence_number. |
| 374 | (Fwindow_right_divider_width, Fwindow_bottom_divider_width): New | 435 | (Fwindow_right_divider_width, Fwindow_bottom_divider_width): |
| 375 | functions. | 436 | New functions. |
| 376 | * window.h (struct window): New members new_pixel, pixel_left, | 437 | * window.h (struct window): New members new_pixel, pixel_left, |
| 377 | pixel_top, pixel_width, pixel_height. Restore sequence_number. | 438 | pixel_top, pixel_width, pixel_height. Restore sequence_number. |
| 378 | (wset_new_pixel): New function. | 439 | (wset_new_pixel): New function. |
| @@ -406,10 +467,10 @@ | |||
| 406 | encountered. | 467 | encountered. |
| 407 | (Fwindow_text_pixel_size): New function. | 468 | (Fwindow_text_pixel_size): New function. |
| 408 | (resize_mini_window, update_tool_bar): Calculate pixelwise. | 469 | (resize_mini_window, update_tool_bar): Calculate pixelwise. |
| 409 | (tool_bar_lines_needed): Rename to tool_bar_height. Calculate | 470 | (tool_bar_lines_needed): Rename to tool_bar_height. |
| 410 | pixelwise. | 471 | Calculate pixelwise. |
| 411 | (Ftool_bar_lines_needed): Rename to Ftool_bar_height. Calculate | 472 | (Ftool_bar_lines_needed): Rename to Ftool_bar_height. |
| 412 | pixelwise. | 473 | Calculate pixelwise. |
| 413 | (redisplay_tool_bar): Calculate pixelwise. | 474 | (redisplay_tool_bar): Calculate pixelwise. |
| 414 | (redisplay_window): Calculate pixelwise. Handle dividers. | 475 | (redisplay_window): Calculate pixelwise. Handle dividers. |
| 415 | (draw_glyphs, x_clear_end_of_line, note_mouse_highlight) | 476 | (draw_glyphs, x_clear_end_of_line, note_mouse_highlight) |
| @@ -424,8 +485,8 @@ | |||
| 424 | (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. | 485 | (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. |
| 425 | (x_set_scroll_bar_default_width): Default actual width to 16. | 486 | (x_set_scroll_bar_default_width): Default actual width to 16. |
| 426 | (Fx_create_frame): Set sizes pixelwise. | 487 | (Fx_create_frame): Set sizes pixelwise. |
| 427 | (x_create_tip_frame): Default divider widths to zero. Pixelize | 488 | (x_create_tip_frame): Default divider widths to zero. |
| 428 | call of change_frame_size. | 489 | Pixelize call of change_frame_size. |
| 429 | (Fx_show_tip): Handle divider widths. Initial pixel position | 490 | (Fx_show_tip): Handle divider widths. Initial pixel position |
| 430 | and sizes. | 491 | and sizes. |
| 431 | (frame_parm_handler x_frame_parm_handlers): Add divider widths. | 492 | (frame_parm_handler x_frame_parm_handlers): Add divider widths. |