<feed xmlns='http://www.w3.org/2005/Atom'>
<title>caja/libcaja-private, branch 1.26</title>
<subtitle>Caja, the file manager for the MATE desktop</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/'/>
<entry>
<title>Document and fix default-sort-order preference</title>
<updated>2025-03-31T05:02:21+00:00</updated>
<author>
<name>Gordon Norman Squash</name>
<email>gordsqsh@protonmail.com</email>
</author>
<published>2022-06-06T19:09:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=f207e2597d363b5212c1ba54eb9dfe89675cbfb6'/>
<id>f207e2597d363b5212c1ba54eb9dfe89675cbfb6</id>
<content type='text'>
 This patch resolves three related issues:

The first issue was that the GSettings schema for Caja did not include an
entry to sort by the "btime", or creation date, of files.  If the user chose
such an option in the Caja Preferences, GSettings would produce a warning
(often out-of-sight, as it was usually redirected into the user's
.xsession-errors file), and Caja would not actually change the default
sort-order of files.  This patch adds the btime as a valid setting in the
schema.

The second issue was that. because of the above (an entry in the settings
schema was missing), some of the alternative sort orders listed in the schema
(everything after and including "atime") were not assigned the same numbers
as the sort orders listed elsewhere in the Caja source code.  Specifically,
in icon- and compact-views, if the default sort-order was "emblems", the
observed / actual sort-order would be the entry before "emblems", namely
"atime" -- so instead of sorting by the names of associated emblems, Caja
would sort by each file's access time.  An array in the code for the
list-view also was missing many values and included some values out of order,
so the default sort-order setting affected directories viewed in list-view
mode seemingly randomly.  The former is taken care of using the fix described
in the above paragraph; the latter is fixed in this patch by adding /
reorganizing the array for the list-view sort-orders appropriately.

The third issue (admittedly, a lesser issue) was that the documentation for
the default-sort-order setting was lacking -- it at least did not list all
the possible values that the setting could accept.  In this patch, I resolve
this issue by listing all values in the setting's description, and also go
into more detail about what each value does.  (However, perhaps I included
a little too much detail.  It'll only benefit [supposed power users who may
already know this stuff] who use GSettings or DConf directly, and it'll
certainly be a headache for translators.  I'll admit that.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 This patch resolves three related issues:

The first issue was that the GSettings schema for Caja did not include an
entry to sort by the "btime", or creation date, of files.  If the user chose
such an option in the Caja Preferences, GSettings would produce a warning
(often out-of-sight, as it was usually redirected into the user's
.xsession-errors file), and Caja would not actually change the default
sort-order of files.  This patch adds the btime as a valid setting in the
schema.

The second issue was that. because of the above (an entry in the settings
schema was missing), some of the alternative sort orders listed in the schema
(everything after and including "atime") were not assigned the same numbers
as the sort orders listed elsewhere in the Caja source code.  Specifically,
in icon- and compact-views, if the default sort-order was "emblems", the
observed / actual sort-order would be the entry before "emblems", namely
"atime" -- so instead of sorting by the names of associated emblems, Caja
would sort by each file's access time.  An array in the code for the
list-view also was missing many values and included some values out of order,
so the default sort-order setting affected directories viewed in list-view
mode seemingly randomly.  The former is taken care of using the fix described
in the above paragraph; the latter is fixed in this patch by adding /
reorganizing the array for the list-view sort-orders appropriately.

The third issue (admittedly, a lesser issue) was that the documentation for
the default-sort-order setting was lacking -- it at least did not list all
the possible values that the setting could accept.  In this patch, I resolve
this issue by listing all values in the setting's description, and also go
into more detail about what each value does.  (However, perhaps I included
a little too much detail.  It'll only benefit [supposed power users who may
already know this stuff] who use GSettings or DConf directly, and it'll
certainly be a headache for translators.  I'll admit that.)
</pre>
</div>
</content>
</entry>
<entry>
<title>fix gfile sort and symlink warnings w glib2.76 or later</title>
<updated>2024-02-02T19:02:51+00:00</updated>
<author>
<name>lukefromdc</name>
<email>lukefromdc@hushmail.com</email>
</author>
<published>2023-08-24T02:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=488885550e472c30eea2308d2f27be633cb69bcc'/>
<id>488885550e472c30eea2308d2f27be633cb69bcc</id>
<content type='text'>
*Use code borrowed from Nemo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*Use code borrowed from Nemo
</pre>
</div>
</content>
</entry>
<entry>
<title>caja-file: fix future informal date bug</title>
<updated>2023-10-12T10:44:12+00:00</updated>
<author>
<name>Stefan Pöschel</name>
<email>github@basicmaster.de</email>
</author>
<published>2023-04-15T10:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=b4267708fd0970e8d2be7833351593bc46f62b30'/>
<id>b4267708fd0970e8d2be7833351593bc46f62b30</id>
<content type='text'>
If informal date format is used, for future dates the today time format
has been used by mistake, instead of the general time format.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If informal date format is used, for future dates the today time format
has been used by mistake, instead of the general time format.
</pre>
</div>
</content>
</entry>
<entry>
<title>caja-file: fix yesterday/today informal date bug</title>
<updated>2023-10-12T10:43:28+00:00</updated>
<author>
<name>Stefan Pöschel</name>
<email>github@basicmaster.de</email>
</author>
<published>2023-04-15T10:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=ff7a9042077966964d898ffb66e7846bab8fec89'/>
<id>ff7a9042077966964d898ffb66e7846bab8fec89</id>
<content type='text'>
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 476f56a25be636970b336d525a7766b6d1eb3fff.
Fixes #1621.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 476f56a25be636970b336d525a7766b6d1eb3fff.
Fixes #1621.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Caja does not show icons of application launchers</title>
<updated>2022-07-03T11:07:31+00:00</updated>
<author>
<name>mouse</name>
<email>15132211195@163.com</email>
</author>
<published>2021-10-11T15:57:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=435446a4240bb809d02d2afe1ab7fecc4eab52bc'/>
<id>435446a4240bb809d02d2afe1ab7fecc4eab52bc</id>
<content type='text'>
in /usr/share/applications
and asks user for confirmation on launch of desktop-files here</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in /usr/share/applications
and asks user for confirmation on launch of desktop-files here</pre>
</div>
</content>
</entry>
<entry>
<title>caja-mime-actions: fix memory leak</title>
<updated>2022-07-03T11:04:42+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2021-10-21T17:52:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=9a604a23ed746699fc5b708b59bd504593eeaee3'/>
<id>9a604a23ed746699fc5b708b59bd504593eeaee3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>caja-bookmark: fix memory leak</title>
<updated>2022-07-03T11:03:03+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2022-02-10T11:12:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=e1ecada881e400c534a136135a48851c61ff3d1d'/>
<id>e1ecada881e400c534a136135a48851c61ff3d1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>caja-bookmark: drop create_image_cairo_for_bookmark</title>
<updated>2022-07-03T11:02:55+00:00</updated>
<author>
<name>rbuj</name>
<email>robert.buj@gmail.com</email>
</author>
<published>2022-02-10T10:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=6fb710b8042fffd1faa5564806d0df693b952417'/>
<id>6fb710b8042fffd1faa5564806d0df693b952417</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>caja-file-conflict-dialog: Move to automatic signal disconnection</title>
<updated>2022-06-19T17:07:40+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2022-06-07T17:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=88197908a9cd6388b4b01605c6b0b25b64082008'/>
<id>88197908a9cd6388b4b01605c6b0b25b64082008</id>
<content type='text'>
Instead of manually keeping tabs on the signals so we can disconnect
them before the data parameter gets destroyed, let GObject
automatically track lifetime of the data, which it can do as that data
is a GObject itself.

This does not change behavior in the normal case, but makes sure the
callback simply cannot get called with invalid/freed parameters, even
if we did screw anything up (which we used to).

This actually would have solved #1630 as well with using the target
widgets as data parameters as the signal would have been disconnected
as soon as the widget got destroyed, no matter whether we got finalized
ourselves or not.

The signal IDs were also use as guards to whether the monitor was set
up for the related files, but we can just as well use the state of the
file list ready handle which should only be NULL when we actually have
monitors set up.  Even if it wasn't the case, worse case scenario would
be removing a non-existent monitor, which is perfectly OK anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of manually keeping tabs on the signals so we can disconnect
them before the data parameter gets destroyed, let GObject
automatically track lifetime of the data, which it can do as that data
is a GObject itself.

This does not change behavior in the normal case, but makes sure the
callback simply cannot get called with invalid/freed parameters, even
if we did screw anything up (which we used to).

This actually would have solved #1630 as well with using the target
widgets as data parameters as the signal would have been disconnected
as soon as the widget got destroyed, no matter whether we got finalized
ourselves or not.

The signal IDs were also use as guards to whether the monitor was set
up for the related files, but we can just as well use the state of the
file list ready handle which should only be NULL when we actually have
monitors set up.  Even if it wasn't the case, worse case scenario would
be removing a non-existent monitor, which is perfectly OK anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>caja-file-conflict-dialog: Properly release references on dispose()</title>
<updated>2022-06-19T17:07:34+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>cwendling@hypra.fr</email>
</author>
<published>2022-06-07T16:49:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/caja/commit/?id=60b7fab5b9ad0b34414221cc68fea0ff465e5d9b'/>
<id>60b7fab5b9ad0b34414221cc68fea0ff465e5d9b</id>
<content type='text'>
Fixes #1630.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #1630.
</pre>
</div>
</content>
</entry>
</feed>
