Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mate-desktop/caja
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.27.0
Choose a base ref
...
head repository: mate-desktop/caja
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.27.1
Choose a head ref
  • 19 commits
  • 150 files changed
  • 7 contributors

Commits on Nov 23, 2022

  1. icon view: Refresh icon positions for manual layout on zoom change (#…

    …1676)
    
    When zoom changes on a manual layout icon view, the available area
    changes and can lead to some icons to either overflow or be able to go
    back to their actually saved position.
    
    This is done correctly when the view is reloaded entirely, but not
    in response to zoom change, leading to disappearing icons (when zoom
    increases) or unexpected empty space (when zoom decreases).
    
    Fix this by re-computing actual positions based on saved positions when
    zoom changes, to match what would actually happen when the view gets
    loaded.
    cwendling authored Nov 23, 2022
    Configuration menu
    Copy the full SHA
    af235d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Enable showing in Budgie Desktop and XFCE

    This PR enables the displaying of Caja (as a file manager) for use in Budgie Desktop and XFCE. Prior to this commit, it would only be able accessible in MATE or with downstreams like Fedora patching in the support. The addition of these is important as file managers such as Nautilus adopt libadwaita and begin to directly come into conflict with user theming choices.
    JoshStrobl authored and lukefromdc committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    f46fe89 View commit details
    Browse the repository at this point in the history
  2. Remove unused member

    `name_row` is not needed since GTK2 support was dropped with commit
    276eb14.
    
    Found by cppcheck: https://caja.mate-desktop.dev/2022-11-23-174623-5790-cppcheck@ae663c369cf2_desktop-no-overflow/73.html#line-101
    cwendling authored and lukefromdc committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    3fcbd04 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    288237a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e7a47a View commit details
    Browse the repository at this point in the history
  5. Make CajaIconData type less confusing

    This is actually an opaque type, and there is no definition of struct
    CajaIconData anywhere.  This actually doesn't change anything as the
    non-existent struct is equivalent to any other incomplete type, and
    works fine so long as the pointers are not dereferenced using that
    incomplete type.
    
    However, change this to an explicit `void` to make it clear it's an
    opaque pointer and stop people from looking for a struct CajaIconData
    that is nowhere to be found.
    cwendling authored and lukefromdc committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    a979643 View commit details
    Browse the repository at this point in the history
  6. icon view: Fix positioning overflowing icons on the desktop

    Properly update the icon data before placing the icon, because
    positioning might depend on full icon contents on the desktop, whereas
    updating contents don't care about position.
    
    When an icon position overflows the desktop area, it is clamped to stay
    in the visible area, but this computation depends on accurate icon and
    label sizes, which is only available when the icon is fully loaded.
    
    Fix the code to first load the contents and then position instead of
    the other way around, which was actually trivial.
    
    Note that visible positions were most often correct anyway for two
    reasons:
    
    1. Most of the time icons do not overflow, as they are positioned on
       the final desktop size anyway.  It however can easily happen
       reducing monitor resolution or increasing desktop view zoom.
    2. A second layout pass happens most of the time (I'm not yet sure why
       and when though), but not when an update is triggered before the
       previous one terminated (e.g. quickly hitting F5 twice).
    cwendling authored and lukefromdc committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    333e272 View commit details
    Browse the repository at this point in the history
  7. Fix handling of invalid x-special/mate-icon-list drops

    `p` actually could never be `0` (because of the NULL check on the
    `memchr()` call), but the intended behavior is `*p == '\0'`: the
    containing condition checks for either a truncated data (`*p == '\0'`)
    or no geometry information (`*p == '\n'`).
    
    I replaced the check to be `*p != '\n'` instead of `*p == '\0'` to
    make this more robust as the actual issue is anything but a newline,
    the fact it can only be a NUL otherwise is incidental to the enclosing
    check, but not really relevant at this level.  This is also in line
    with the actual error message.
    
    Found by cppcheck: https://caja.mate-desktop.dev/2022-11-23-174623-5790-cppcheck@ae663c369cf2_desktop-no-overflow/16.html#line-204
    cwendling authored and lukefromdc committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    26adade View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    676e281 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2023

  1. caja-file: fix yesterday/today informal date bug

    If informal date format is used, the yesterday/today ranges of 48/24
    hours apply to the end of the current day, not to the current instant.
    
    Fixes a regression introduced by 476f56a.
    Fixes #1621.
    basicmaster authored and raveit65 committed May 7, 2023
    Configuration menu
    Copy the full SHA
    c3662ae View commit details
    Browse the repository at this point in the history

Commits on May 13, 2023

  1. caja-file: fix future informal date bug

    If informal date format is used, for future dates the today time format
    has been used by mistake, instead of the general time format.
    basicmaster authored and lukefromdc committed May 13, 2023
    Configuration menu
    Copy the full SHA
    99a1e2a View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Initial wayland support

    lukefromdc committed May 25, 2023
    Configuration menu
    Copy the full SHA
    5688856 View commit details
    Browse the repository at this point in the history
  2. caja-icon-container.c: Set a transient parent on the interactive

        search popup
    
        This gets mis-handled in wayland as a standalone window and
        is treated as such (like getting tiled next to the main caja window).
        Ported over from Nemo
    lukefromdc committed May 25, 2023
    Configuration menu
    Copy the full SHA
    3bf4808 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Configuration menu
    Copy the full SHA
    e0901e7 View commit details
    Browse the repository at this point in the history
  2. Replace deprecated code from xrandr fix

    *In x11 we can anchor the desktop size to the root window
    instead of the screen or (possibly multiple)monitors
    lukefromdc committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    126a4a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. ensure all of the desktop is usable in x11

    *revert x11 icon position handling to the older and well tested code
    *use the newer code only in wayland where all the screen can already be used
    lukefromdc authored and raveit65 committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    df25aef View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2023

  1. wayland: initial support for showing the desktop

    * Wayland: Support rendering the desktop
    
    *Wayland support is optional via the --enable-wayland option
    
    * eel-editable-label-c: remove unused variable
    
    This was leftover from earlier code compatable only with x11
    
    * Fix gtk-layer-shell-0 version check, improve error message when Wayland requested but not found
    lukefromdc authored Jul 8, 2023
    Configuration menu
    Copy the full SHA
    c1b2e77 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. tx: pull with transifex

    raveit65 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    45c190c View commit details
    Browse the repository at this point in the history
  2. release 1.27.1

    raveit65 committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    4168605 View commit details
    Browse the repository at this point in the history
Loading