1. 21 May, 2019 1 commit
  2. 29 Mar, 2019 1 commit
  3. 26 Mar, 2019 3 commits
  4. 06 Feb, 2019 1 commit
  5. 15 Jul, 2018 2 commits
  6. 12 Jul, 2018 5 commits
  7. 02 Jul, 2018 1 commit
  8. 18 Jun, 2018 9 commits
    • Benjamin Otte's avatar
      dnd: Remove unused time arguments · a2839d15
      Benjamin Otte authored
    • LRN's avatar
      GDK W32: Adapt to dest_surface removal, misc changes · 997e8c1a
      LRN authored
      * There's no GdkDragContext->dest_surface anymore.
        Add dest_window field to GdkWin32DragContext,
        and use that instead.
      * Remove unused function prototypes
      * Add more comments
      * Rename variables and fields from 'window' to 'surface'
        where appropriate
      * Fix header indentation a bit
      * Try to ensure that uninitialized/unknown handle variables
        and fields are set to INVALID_HANDLE_VALUE instead of NULL,
        as there may be cases where NULL is a valid handle value.
    • Benjamin Otte's avatar
      dnd: Remove GdkDragContext.is_source · aa1f0cfd
      Benjamin Otte authored
      All drag contexts are sources these days, the other ones are GdkDrop
    • Benjamin Otte's avatar
      dnd: Remove gdk_drag_context_get_dest_surface() · e1206763
      Benjamin Otte authored
      ... and gdk_drag_context_get_source_surface().
      In the backends, use direct access to the variables instead.
    • LRN's avatar
      GDK W32: Adapt to GdkDrop and GdkDragContext changes · 8ee4de80
      LRN authored
      * Remove clipdrop->dnd_target_state, it's not used anymore
      * Remove non-functioning _gdk_dropfiles_store(), store dropfiles
        list in GdkWin32Drop instead
      * Fix multiple comment typos
      * Fix _gdk_win32_get_clipboard_format_name_as_interned_mimetype() to
        leave names that look like mime/types alone
      * Refactor _gdk_win32_add_w32format_to_pairs() to populate
        GdkContentFormatsBuilder directly, instead of making a GList
      * Rename context -> drag (still using GdkDragContext type,
        but [almost?] all variables and comments say "drag" now)
      * Rename GdkDropContext -> GdkDrop
      * Rename some parameter names for clarity
      * Rewrite local protocol to look more like OLE2 protocol
        instead of mirroring the structure of the X11 API.
      * Add handle_events field to GdkWin32DragContext,
        to shut off event handling (temporary fix until GTK is patched up)
      * Remove _gdk_win32_drag_context_find() - the drag object is stored
        in GdkDrop instead. Use _gdk_win32_find_drag_for_dest_surface()
        to get it initially.
      * Remove target_ctx_for_window, droptarget context is stored
        in the surface instead.
      * Call gdk_drag_context_set_cursor() just like wayland backend does
        (slightly broken for now)
      * Clean up the action choosing code (filter source actions by using
        keyboard state, pass that to GTK, get all actions supported by GTK in
        response, match them up with filtered source actions, return the
        result, falling back to COPY in case of multiple actions)
      * Check drag_win32->protocol instead of the use_ole2_dnd variable where
      * Remove protocol checks from functions that are only used by the local
      * Use event state to manufacture the keyboard state for WM_MOUSEMOVE
      * Change function names printed by GDK_NOTE to name the actual
        functions, not their theoretical generic GDK stack ancestors
      * Consistently use drag_win32 and drop_win32 variables instead of a mix
        of that and win32_drag/win32_drop
      * Return FALSE from button handler to ensure that GTK gets the button
        event to break implicit grab
      * Emit leave event on failed idroptarget_drop() calls
    • Benjamin Otte's avatar
      win32: Use new DND event emitters · 7a9afc3a
      Benjamin Otte authored
    • Benjamin Otte's avatar
      dnd: Rename gdk_drop_finish() => gdk_drag_finish() · 13ae11ee
      Benjamin Otte authored
      This is a simple rename, so that we can reintroduce gdk_drop_finish()
      with the GdkDrop object.
    • Benjamin Otte's avatar
      dnd: Make actions a private member variable · 2e279678
      Benjamin Otte authored
      Use a setter in the backends.
    • Benjamin Otte's avatar
      dnd: Remove GDK_ACTION_DEFAULT and GDK_ACTION_PRIVATE · ac44353f
      Benjamin Otte authored
      They're unused and nobody knows what they're supposed to men anyway.
  9. 10 Jun, 2018 1 commit
  10. 29 May, 2018 1 commit
  11. 07 May, 2018 1 commit
  12. 02 May, 2018 2 commits
  13. 27 Apr, 2018 1 commit
  14. 24 Apr, 2018 1 commit
    • LRN's avatar
      GDK W32: Switch to GdkCairoContext · 7002f08c
      LRN authored
      * Remove DC refcounting (we trust GDK to always do
        begin_frame/end_frame calls in pairs)
      * Now that there's no GDK-provided double-buffer up the stack,
        double-buffering is implemented here
        (though it's disabled by default - in my tests it didn't provide
         any visual improvements, but did decrease performance).
      * For some reason delaying window resizes until the point where
        we need to blit the double-buffer into the window leads
        to visual glitches, so doulbe-buffered windows are resized
        in begin_frame, same as non-double-buffered ones.
      * New code to clear the paint region, for all drawing modes.
        Hopefully, it isn't duplicated anywhere up the stack.
      * GL has its own context now, so remove any GL-related comments.
      * Layered windows are still used (because cairo actually works
        better with them)
      * A bit more code re-use for layered windows
      * Some functions that were local to gdksurface-win32.c are made
        usable for the whole backend
      * Drag-indicator drawing is temporarily commented out to match
        a similar change in X11 backend
  15. 29 Mar, 2018 3 commits