Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow toggler to be disabled #169

Open
wants to merge 180 commits into
base: master
Choose a base branch
from

Commits on Jan 24, 2024

  1. feat: accessibility with some widget impls

    feat: stable ids
    
    a11y: Don't unconditionally pull winit (pop-os#43)
    wash2 committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    27174aa View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. feat: sctk shell

    fix: quad rendering including border only inside of the bounds
    
    fix: better slider drawing (it allows just the border part of the handle quad outside of the layout bouds, which isn't great, but is ok for our purposes due to being transparent)
    
    cleanup: fix & format
    
    fix: use iced_core::Font
    
    cleanup
    
    fix: allow leaving out winit & iced-sctk
    
    fix: settings
    
    fix: slider draw improvements
    
    fix: websocket example
    
    fix: modal example
    
    fix: scrollable example
    
    fix: toast example
    
    fix: avoid panicking in iced_sctk with lazy widgets in auto-size surfaces
    
    fix: todos panic
    
    fix: only diff auto-sized surfaces in iced_sctk build_user_interface & improve sctk examples
    
    wip (iced-sctk): window resize with icons
    
    feat (iced-sctk): support for setting cursor
    
    refactor: default decorations to client
    
    fix: set window geometry after receiving configure
    
    fix: size limits with no max bound must be cut off
    
    fix: send size update when autosized surface resizes
    
    fix: use ceil size for positioner
    
    cleanup: remove dbg statement
    
    fix: remove a destroyed surface from compositor surfaces
    
    fix errors after rebase and wip scaling support
    
    fix: handling of scale factor in set_logical_size
    
    fix (sctk_drag example): add .into for border radius
    
    fix: fractional scaling
    
    sctk: Fire RedrawRequests
    
    wip: animations via frame event
    
    fix / refactor iced-sctk redraw & frame event handling
    
    cleanup: note about frame request in iced-sctk
    
    fix: send resize when necessary for layer surface and popups too
    
    fix: always request redraw for a new surface
    
    fix: scaling and autosize surface improvements
    
    refactor: sctk_lazy keyboard interactivity
    
    feat(sctk): configurable natural_scroll property
    
    feat: send state and capabilities events when there are changes
    
    fix: redraw when an update is needed and clean up the logic
    
    Update sctk to latest commit
    
    Fix compilation of sctk drag example
    
    fix(sctk): update interface before checking if it has a redraw request
    
    refactor: after autosize surface resize wait to redraw until the resize has been applied
    
    refactor: better handling of autosize surfaces
    
    chore: update sctk
    
    chore: update sctk
    
    fixes sctk_drag example
    
    fix: default to ControlFlow::Wait for applications with no surface
    
    this seems to help CPU usage for app library and launcher
    
    default to 250ms timeout in the event loop
    
    Update sctk
    
    sctk: Implement xdg-activation support
    
    fix: don't require Flags to be clone for settings on wayland
    
    chore: error if neither winit or wayland feature is set
    
    chore: Allow compiling without windowing system (pop-os#65)
    
    fix(iced-sctk): handle exit_on_close_request
    
    fix: make sure that each widget operation operates on every interface
    
    This should be ok even for widget actions like focus next because there can only ever be a single focused widget
    
    cargo fmt
    
    cleanup: dbg statement
    
    fix(iced-sctk): replace panic with handling for remaining enum variants
    
    refactor: use iced clipboard for interacting with the selection
    
    refactor: allow passing an activation token when creating a window
    
    sctk: Add support for `ext-session-lock` protocol
    
    fix(sctk): build and use tree for layout of autosize surfaces
    
    Update winit to latest commit used by upstream iced
    
    fix(sctk): send key characters
    
    fix(sctk): check if key is a named key first
    
    refactor(sctk): keep compositor surface in state
    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    1bc1604 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97d5dc8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    33e6bee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d9da78 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9497cdb View commit details
    Browse the repository at this point in the history
  6. Use layout with children for nesting

    tarkah authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ebe3374 View commit details
    Browse the repository at this point in the history
  7. Use nested for lazy widgets

    tarkah authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    a82a398 View commit details
    Browse the repository at this point in the history
  8. Provide access to font from each crate

    tarkah authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    701038b View commit details
    Browse the repository at this point in the history
  9. Added offscreen rendering support for wgpu & tiny-skia exposed with t…

    …he window::screenshot command.
    bungoboingo authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    40206bd View commit details
    Browse the repository at this point in the history
  10. Move Screenshot inside window module

    hecrj authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    eed4f5c View commit details
    Browse the repository at this point in the history
  11. 2 Configuration menu
    Copy the full SHA
    9d9d078 View commit details
    Browse the repository at this point in the history
  12. Make vertical scroll properties optional

    Co-Authored-By: Austin M. Reppert <[email protected]>
    2 people authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    aa65b61 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    60360cb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    c69703f View commit details
    Browse the repository at this point in the history
  15. feat(renderer): define default icon color

    By default, this is the same as the text color for best visibility.
    mmstick authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    3e70ccd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a3fcdc0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d87f092 View commit details
    Browse the repository at this point in the history
  18. feat(mouse-area): added on_drag method

    mmstick authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    5db1da9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b66eeab View commit details
    Browse the repository at this point in the history
  20. fix: slider gradient angle

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    31abe65 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0db19f0 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    f4d3ea9 View commit details
    Browse the repository at this point in the history
  23. cleanup: clippy fixes and formatting

    Part of this is a refactor of the ID
    
    cleanup: clippy and fmt
    
    fix: test workflow
    
    fix: add note in CHANGELOG
    
    fix: clippy
    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    136f1d9 View commit details
    Browse the repository at this point in the history
  24. feat: Add side mouse button events

    edfloreshz authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    f0d510f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    cfe214e View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e2a3b83 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    3db6904 View commit details
    Browse the repository at this point in the history
  28. Hack to remove image blur

    jackpot51 authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    fa679b3 View commit details
    Browse the repository at this point in the history
  29. chore: update softbuffer

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    5109b61 View commit details
    Browse the repository at this point in the history
  30. Update mod.rs

    wiiznokes authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    3c95946 View commit details
    Browse the repository at this point in the history
  31. refactor

    danieleades authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    fa62d43 View commit details
    Browse the repository at this point in the history
  32. chore: cleanup iced_widget

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    6c34f07 View commit details
    Browse the repository at this point in the history
  33. cleanup git workflows

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    5668408 View commit details
    Browse the repository at this point in the history
  34. cleanup: clippy

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    b004b75 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    df3452c View commit details
    Browse the repository at this point in the history
  36. reexport limits

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    7d710e9 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    da1c08d View commit details
    Browse the repository at this point in the history
  38. fix: tooltip children and diff

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    f08ff47 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    9bbb559 View commit details
    Browse the repository at this point in the history
  40. fix: CI tests

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    66daa61 View commit details
    Browse the repository at this point in the history
  41. chore: remove artifacts job

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    024cb16 View commit details
    Browse the repository at this point in the history
  42. fix: ambiguous palette import

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    e4a0590 View commit details
    Browse the repository at this point in the history
  43. fix: dnd widget layout

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    f64f6a0 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    3d80378 View commit details
    Browse the repository at this point in the history
  45. fix: clip mask checks

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    941a5a9 View commit details
    Browse the repository at this point in the history
  46. fix: set web-sys to =0.3.64

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    50646ba View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    73238f1 View commit details
    Browse the repository at this point in the history
  48. fix(example): sctk_drag id

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0d673be View commit details
    Browse the repository at this point in the history
  49. cleanup: formatting and clippy

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    9c962a3 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    37978aa View commit details
    Browse the repository at this point in the history
  51. dnd_listener: Fix behavior when there are multiple listeners (pop-os#87)

    A `dnd_listener` widget shouldn't handle a DnD event when the dnd drag
    isn't within the widget's bounds. So add a few more checks for this.
    
    Enter/leave events generated by `DndOfferEvent::Motion` also don't
    behave as one might expect, since the enter may occur before the leave
    depending on the order it calls `on_event` on the widget. Not sure how
    to address that, but cosmic-workspaces can just ignore the leave events
    for now.
    
    Otherwise, this seems to be working fine, after these changes.
    ids1024 authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    200cc09 View commit details
    Browse the repository at this point in the history
  52. fix: broadcast surface events

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    2611d7b View commit details
    Browse the repository at this point in the history
  53. Fixes for last commit

    jackpot51 authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    c155a26 View commit details
    Browse the repository at this point in the history
  54. Add function to fill a Raw

    jackpot51 authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    1a75a1b View commit details
    Browse the repository at this point in the history
  55. Fix docs error

    jackpot51 authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    d3d89a8 View commit details
    Browse the repository at this point in the history
  56. Update to cosmic-text refactor

    jackpot51 authored and wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    590b8ed View commit details
    Browse the repository at this point in the history
  57. typo: add rev to glyphon

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    645a2a9 View commit details
    Browse the repository at this point in the history
  58. chore: remove default features

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    2598830 View commit details
    Browse the repository at this point in the history
  59. fix: core/serde

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    7d2564e View commit details
    Browse the repository at this point in the history
  60. fix: downgrade resvg

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    4ffbc79 View commit details
    Browse the repository at this point in the history
  61. fix: typo

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    aa6ef2b View commit details
    Browse the repository at this point in the history
  62. chore: use updated softbuffer

    wash2 committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    9597f09 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    0c5cf64 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    7ad4d85 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    9499727 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    a83d381 View commit details
    Browse the repository at this point in the history
  67. Update wgpu to a commit that fixes use on Nvidia drivers

    This can be tested with something like
    `VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json cargo run -p tour
    --features iced/wgpu`.
    
    On Nvidia I'm seeing a flood of `Suboptimal present of frame` warnings.
    So some improvement may still be needed here. But if it doesn't regress
    behavior on other hardware, that seems like an improvement over
    freezing.
    ids1024 authored and mmstick committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    575de00 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. chore: unpin cosmic-text

    wash2 committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    dab797f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef2f139 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. sctk: Add Subsurface widget (pop-os#79)

    This adds a widget that attaches an shm or dma buffer to a subsurface,
    scaled with `wp_viewporter`.
    
    By exposing this as a widget, rather than as a type of window, it can be
    positioned and scaled like any other iced widget. It provides an API
    that's similar to an iced image.
    
    The initial version of this just took a `wl_buffer`. But this makes
    buffer re-use problematic. In particular, the docs for `wl_surface::attach`
    note that `wl_buffer::release` events become unreliable if a buffer is
    attached to multiple surfaces. And indicates that a client should create
    multiple `wl_buffer` instances, or use `wp_linux_buffer_release`.
    
    So we store information about the buffer, and create `wl_buffer`s as
    needed. `SubsurfaceBuffer::new` also returns a future that's signaled
    when all references are destroyed, both `wl_buffer`s and any instance of
    the `SubsurfaceBuffer` that might still be used in the `view`.
    
    So this seems like the best solution for now, within the
    model-view-update architecture.
    
    This has two examples: `sctk_subsurface`, showing a single-color shm
    buffer, and `sctk_subsurface_gst`, which plays an h264 video to a
    subsurface with vaapi decoding.
    ids1024 authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    273f234 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68b3e49 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. chore: update accesskit

    wash2 authored and jackpot51 committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    484ac7b View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary redraw request

    This was particularly visible on Redox where there is no vsync, but also 
    causes unnecessary redraws on Linux
    jackpot51 committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    8b7b0bf View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Add show_window_menu action

    Winit currently supports this only on Windows and Wayland.
    
    This requests that a context menu is shown at the cursor position,
    like the menu normally triggered by right clicking the title bar. This
    is important for implementing client side decorations with Iced widgets.
    ids1024 authored and mmstick committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    ba4731f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    268e210 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Configuration menu
    Copy the full SHA
    831fa81 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. fix: autosize surface layout

    Autosized surfaces perform the layout step to get the size and then again when building the interface, but sometimes the calculated size is not enough space when used as a bound, so we need to add a tiny amount to the calculated size. This also makes the event loop timeout duration configurable. Viewport physical size is calculated directly from the logical size now as well in iced-sctk to avoid inconsistencies that resulted from recalculating the logical size after using it to calculate the physical size.
    wash2 committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    53a8cc1 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. feat(slider): add breakpoints

    mmstick committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    d2dc827 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Configuration menu
    Copy the full SHA
    b1a684e View commit details
    Browse the repository at this point in the history
  2. sctk/subsurface: Cache wl_buffers

    Creating a new `wl_buffer` each frame seems to perform poorly. We can
    instead keep a cache of `wl_buffer`s we have created from a
    `BufferSource`.
    ids1024 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    e83c288 View commit details
    Browse the repository at this point in the history
  3. examples/sctk_subsurface_gst: Cache BufferSource in BufferRef qdata

    Similar to `waylandsink`. Allows us to avoid creating a buffer source
    (and ultimately `wl_buffer`) for every buffer swap.
    ids1024 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    bf5e6b5 View commit details
    Browse the repository at this point in the history
  4. Handle frame callbacks for subsurfaces, and commit parent surface

    If the main surface is occluded completely by opaque subsurfaces, it may
    not receive `frame` events. So we need to request frame events for all
    subsurfaces as well.
    
    Additionally, with "synchronized" subsurfaces, we need to `commit` the
    parent surface for subsurface changes to take effect.
    
    Fixes issues with subsurfaces updating slowly, or only when mouse moved
    under some circumstances.
    ids1024 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    3231920 View commit details
    Browse the repository at this point in the history
  5. sctk_subsurface_gst: NV12 surface suppport; disabled

    Whether or not this works seems to depend on driver, or gstreamer
    version...
    ids1024 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    7b7760f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bf032f8 View commit details
    Browse the repository at this point in the history
  7. sctk_subsurface: Use two surfaces, handle button presses

    Useful for testing pointer input to subsurfaces.
    ids1024 committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b2c581f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    982174a View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    e1d1689 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. fix(sctk): broadcast events after update

    when broadcasting events for no specific surface, it should be done after update so that the runtime subscription is current
    wash2 committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    91d912d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d06486a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c2d5d60 View commit details
    Browse the repository at this point in the history
  4. fix: clipboard cleanup

    wash2 committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    c17007d View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    8cbd24e View commit details
    Browse the repository at this point in the history
  2. Use TypeId to identify subscription::Map

    (cherry picked from commit f39a5fd)
    hecrj authored and ids1024 committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    9f8dc93 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    9bcfc84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7d10f4 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    39426ea View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. sctk: Fix handling of layer surface pointer_interactivity (pop-os#115)

    A null `region` represents an infinite region (the default). To set an
    empty region, we need to create a `wl_region`.
    ids1024 authored Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6f92812 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Configuration menu
    Copy the full SHA
    454b953 View commit details
    Browse the repository at this point in the history
  2. cleanup docs

    wash2 committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    7e85bd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2bd599c View commit details
    Browse the repository at this point in the history
  4. clippy

    wash2 committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    f4bafb8 View commit details
    Browse the repository at this point in the history
  5. chore: use tag

    wash2 committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    c76eae7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0260e6c View commit details
    Browse the repository at this point in the history
  7. fix: ambiguous import

    mmstick authored and wash2 committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    1d9bb7f View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. feat: winit dnd

    wash2 committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    c57f715 View commit details
    Browse the repository at this point in the history
  2. fix: doc

    wash2 committed Mar 30, 2024
    Configuration menu
    Copy the full SHA
    232c229 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bc2d154 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Configuration menu
    Copy the full SHA
    a441d81 View commit details
    Browse the repository at this point in the history
  2. fix: docs

    wash2 committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    015a325 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b9f77b View commit details
    Browse the repository at this point in the history
  4. refactor: remove Sync bound for Message

    wash2 authored and mmstick committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    46ef2e2 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. sctk: Fix handling of DnD with subsurfaces (pop-os#122)

    Map subsurface to parent and add offset.
    ids1024 authored Apr 3, 2024
    Configuration menu
    Copy the full SHA
    745d846 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. fixes for dnd

    wash2 committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    f944754 View commit details
    Browse the repository at this point in the history
  2. chore: update tag

    wash2 committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    52187b6 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    d549c5d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a77c6c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5680ad0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    da63537 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f689948 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    ab89ac1 View commit details
    Browse the repository at this point in the history
  2. chore: update tag

    wash2 committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    1add6cc View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2024

  1. Add read_primary/write_primary

    snaggen authored and wash2 committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    f149055 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. fix(tiny-skia): non-simple border scaling

    the issue can be seen with sharp corners when using the screenshot portal with scaling
    wash2 committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    b7e7021 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Configuration menu
    Copy the full SHA
    c87978d View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. slider & toggler roundness

    wash2 committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    3fe3a61 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Send DataSource events to all surfaces

    Previously these events are directed to the first surface, then removed
    from `sctk_events`. Which is definitely not right.
    ids1024 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    feda333 View commit details
    Browse the repository at this point in the history
  2. sctk: Use empty input region for subsurfaces

    This seems to work, and is a better way to deal with subsurface input if
    there aren't any problems. This way, input events simply go to the
    parent surface, so we don't have to deal with various edge cases related
    to that. (Though for compositor-side issues, we still need to fix those
    for other clients.)
    
    This helps with an issue with drag-and-drop and subsurfaces on Smithay,
    and a different issue on Kwin (in KDE 5.27, at least).
    ids1024 committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    900bad5 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    4c756fe View commit details
    Browse the repository at this point in the history
  2. fix(tiny_skia): damage

    wash2 authored and jackpot51 committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    46b4374 View commit details
    Browse the repository at this point in the history
  3. feat(mouseare): mouse enter and exit

    leb-kuchen authored and mmstick committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    38e9fd6 View commit details
    Browse the repository at this point in the history
  4. fix(sctk): nested popup parent

    wash2 authored and mmstick committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    364c90c View commit details
    Browse the repository at this point in the history
  5. sctk: Add support for drag-and-drop surface offsets

    This adds an offset `Vector` as an argument to `on_drag`, and allows
    passing an offset to `start_drag`.
    
    Some applications using drag and drop want the top left corner of the
    drag surface (as happens without an offset). But others want the drag
    surface to be offset based on where the cursor is on the widget when
    starting the drag. This can just be `-1 * offset`, but may be scaled if
    the drag surface is a different size from the original widget.
    ids1024 authored and mmstick committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    deae3d4 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    08fc97c View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Configuration menu
    Copy the full SHA
    1869fe3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    927a852 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. sctk: Add touch support

    ids1024 committed May 9, 2024
    Configuration menu
    Copy the full SHA
    317458e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d756c9d View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Configuration menu
    Copy the full SHA
    81a483b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c58b8e View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    84d788c View commit details
    Browse the repository at this point in the history
  2. fix: better handling of state tree

    This persists widget state associated with widgets assigned custom IDs even when the tree structure changes, but resets state if the custom ID is not found.
    wash2 authored and mmstick committed May 30, 2024
    Configuration menu
    Copy the full SHA
    09116a8 View commit details
    Browse the repository at this point in the history
  3. fix: avoid with_borrow_mut

    wash2 committed May 30, 2024
    Configuration menu
    Copy the full SHA
    2dcae59 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    dc1fea8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34973a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce62217 View commit details
    Browse the repository at this point in the history
  4. cargo fmt

    wash2 committed May 31, 2024
    Configuration menu
    Copy the full SHA
    9ce8c6b View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2024

  1. Configuration menu
    Copy the full SHA
    323f80f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef247e2 View commit details
    Browse the repository at this point in the history
  3. wgpu: Fix wayland device id conversion

    Drakulix authored and mmstick committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    c47171d View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Adapt to new cosmic-text

    jackpot51 committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    f942212 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. fix: unset VK_LOADER_DRIVERS_DISABLE after enumeration

    Allows applications to be launched on the NVIDIA GPU with Vulkan support
    mmstick committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    12415d8 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Configuration menu
    Copy the full SHA
    7be016e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5409352 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31709bb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f39d5c View commit details
    Browse the repository at this point in the history
  5. sctk: Unmap subsurfaces instead of immediately destroying them

    Destroying a surface is immediate, rather than synchronized with
    commits.
    
    This fixes a flickering behavior with drag and drop in
    cosmic-workspaces.
    ids1024 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    3b70fe3 View commit details
    Browse the repository at this point in the history
  6. Update window_clipboard

    ids1024 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    9a366dd View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. iced_wgpu: don't query Wayland on macos

    bjorn-ove authored and wash2 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    296b322 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    b2921d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    d0ba498 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    e707391 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c609e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. Configuration menu
    Copy the full SHA
    6f83a8d View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Make text wrap configurable

    jackpot51 authored and mmstick committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    85b077d View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    5ebfaaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26a8598 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. sctk: Fixes for cursor icon

    * With multiple windows, `SetCursor` is only sent for the focused
      window. Fixing a flicker between icons when two windows are using
      different cursors.
    * If there is a drag surface, let that surface set the cursor. And not
      any other.
    * Set cursor on `enter`, and when switching between CSDs and app area.
    
    Fixes pop-os/libcosmic#533.
    ids1024 authored and mmstick committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    dd2e93a View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    fd3d7c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49d9bf7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a9c6c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e6a8a07 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cb315f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. feat(mouse area): add double click

    mouse area: add double click
    leb-kuchen authored and mmstick committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    fa817c7 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    e31e29e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Fix quad fill radius calculation

    peterkrull authored and wash2 committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    018051e View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    44407b8 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Adapt to new cosmic-text

    jackpot51 committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    23397f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    d3a8b01 View commit details
    Browse the repository at this point in the history
  2. Unrelated build error

    acolombier committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    1e48a5c View commit details
    Browse the repository at this point in the history