Commit Graph
9278 Commits
Author SHA1 Message Date
Humdinger ba28b6f5f7 Mail: Avoid duplicate Person items
Duplicates can arise if e.g. you have backup of your contacts mounted.
Or, imagine someone packages a Person file with their software as it
was common back in the BeOS days. If you have several software packages
from that dev, you'll see copies of that Person file from each package.

If a contact has the same name, we compare all email addresses. If they
differ, a new item is created. That way, Person files with more than
one email attribute ("META:email{n}" with n >= 2), as used by other apps
like Peeps!, get an item per address.

When checking for email addresses in AddPersonAddresses(), don't quit
looking through the attributes when encountering an empty one via "break".
Do "continue" with the next "META:email{n}" attribute, as it's possible
META:email2 is empty, but META:email3 has an address.

Change-Id: I644cfa2d8349b5022ffde37344c55a54577b12f8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9331
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-09 16:25:12 +00:00
Humdinger 1ebc7b923c Mail: Avoid showing contacts' empty addresses
Other contacts apps like Peeps! allow for more than one email
addresses, using the attributes META:email{n} with n >=2.
Only, not all contacts having those additional attributes have
them actually filled.

This results duplicate entries in e.g. the To-field pop-up with
no email address attached.

We now only add an item if its email address isn't empty for those
additional email attributes as well.

Change-Id: Icb1750fe8e2b10280bc01b3181b444f01096e021
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9329
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-06-07 13:19:05 +00:00
Humdinger 6ef33c54e0 TextSearch: Add "Clear history" menu item
Sometimes it's good to go back to a clean slate…

Change-Id: I6252b42c948b1fa9cbe786104a191fb0d4e629c0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9306
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-29 18:22:56 +00:00
Humdinger 2d11570065 Mail: Fix "Close and set to…" for multiple mails
Before, when you got multiple emails open, doing e.g. a "Close and
leave as New" (SHIFT + ALT + W) would correctly leave the active email
with status "New", but the other open Mail windows were closed as well
and got the status "Read"!

Now we only close the current Mail window, not the whole app and with
it all open email windows.

The currently somewhat hidden command "SHIFT + ALT + Q" now issues
a message to all open Mail windows to close and keep their mails' status,
i.e. the same as invoking SHIFT + ALT + W in all open email windows.

Change-Id: I0402a1e39ce58b53eca2c3bfe8f8becd5529c566
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9305
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-29 16:40:53 +00:00
Humdinger 67aa257da8 TextSearch: Add keyboard navigation to history
Move back and forth in the search history with CursorUp/Down.

Entering a search text will reset the current history index
(fCurrentHistoryIndex = -1), and you'll be back to the first
history item next time you CursorUp.

Change-Id: Id45a47756b4732ae6e22e5373c4db5249c8df198
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9303
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-29 16:40:14 +00:00
JackBurton79 e88cfea6cf Terminal: Fix possible double lock
Check if fMouseClipboard is be_clipboard, and do nothing in that case.
This could happen if SetMouseClipboard has never been called, for example when running as a replicant.
Also updated copyright year.

Change-Id: I2468d80404c429797bd8c906f3aa747ffc414fa8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9309
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-27 12:55:19 +00:00
PulkoMandy 0ec1d4526c Adjust all users of BUrl to new API
The old BUrl constructor with just a string is now private. The new one
has a default value for the second parameter, but C++ doesn't exclude
the private constructor from the candidate functions search. So, the
default argument for the new constructor needs to be explicitly
specified now.

Change-Id: Idb1915649ea3d2c59e344801a9d4fe201f8040e9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9236
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-27 10:43:12 +00:00
Oscar Lesta 30e1b0862f TextSearch: add a simple file filter.
It relies on grep's "--include <glob>" option.

GUI layout code courtesy of Humdinger (thanks!).

Change-Id: I825abdaafaecdb750f2d27e510b310d20d3b461c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9285
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Reviewed-by: humdinger humdinger <[email protected]>
2025-05-21 17:48:14 +00:00
Sylvain78 e9276a469d RemoteDesktop : reuse port 10900
Change-Id: I504cc9405138ee2892638c31adad35b844804df9
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9279
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-16 12:46:24 +00:00
Sylvain78 1e4a50ea92 RemoteDesktop : improvement on parsing optional ssh port
Change-Id: Id656da88b68b0ae033e17711191e46d9f5961cc4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9244
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-05-05 12:07:20 +00:00
PulkoMandy c1b0e7e0c5 Jam: Remove BinCommand, Executable, Server and Preference rules
They are all equivalent to the Application rule. Let's make things simpler.

Change-Id: I71f8518dae275542019d95fbdd7548b2129eeca8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9237
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-05-04 21:30:49 +00:00
PawanYr 0cb1b20a1f Haiku Depot: Fix text document ref crash
In +9146, I added a 'Search all packages' helper message to the Haiku
Depot featured packages view using a TextDocumentView; seems I used the
TextDocumentRef incorrectly, causing a crash on exit; this fixes that.

Change-Id: Idc08fb58dee13b6e85663097876a80a190941f57
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9242
Reviewed-by: Andrew Lindesay <[email protected]>
2025-05-04 05:16:23 +00:00
PawanYr dead0b80b2 HaikuDepot: Add 'All packages' message
I've noticed that reviewers often search for something in Haiku
Depot on launch, and assume the package doesn't exist when they don't find
it under featured/don't check the other tab. This change adds a message
to the featured packages view if no results are found, and gives them a
link to click to switch tabs. It also adds a loading message to the
featured packages view.

Also, modify TextSpan::ClickMessage to remove empty message check

Change-Id: I045a2a91c945e28e6512232d203da680a70d4d36
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9146
Reviewed-by: humdinger humdinger <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Andrew Lindesay <[email protected]>
2025-05-03 00:48:01 +00:00
PawanYr 1de993d223 Screenshot: Add select area option
Add 'Select area' button to Screenshot that when clicked, allows the
use of crosshairs to select a region to screenshot; functionally similar
to and inspired by Snipping Tool/Win+Shift+S on Windows and Cmd+Ctrl+4
on Mac when selecting using the primary mouse button. When using the
secondary mouse button or clicking while shift is held, the selected
area can be resized and moved, and confirmed by pressing enter or double
clicking.

Also, add a shortcut such that if the super key is held when prtscrn is
pressed, Screenshot will be launched in area select mode.

Also, add radio buttons to select between whole screen, active window,
and selected area, and disable active window, window border, and
selected area options if inapplicable.

See #18568 and #13456

Change-Id: Ida0f441e65154c9cd7788de32a606ab4ca8dc31e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9069
Reviewed-by: waddlesplash <[email protected]>
2025-04-26 17:36:09 +00:00
JackBurton79 65ed72e669 Terminal: show a different cursor when window isn't active or view is unfocused
"empty" cursor when unfocused, "filled" when focused, similar to what other terminals do in other platforms

Change-Id: I7ccafaacab8cfb63d8e556ca3ee76335ebb0cf0e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9165
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-04-22 12:50:55 +00:00
Humdinger 87f30d6791 Launchbox: translate error message
Fixes #19535

Change-Id: I801b71b09e6d231d4ca1d9142e528dd9f401f59c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9198
Reviewed-by: Jérôme Duval <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2025-04-21 18:58:55 +00:00
Oscar Lesta 2dadc7bc29 StyledEdit: disallow most "control chars".
We still need/want TAB and ENTER.

Stuff like CTRL+{a,d,h,i,j,k,l} continues to function just as before (AFAICS).

Change-Id: I46151e70c61ef2b941bed4e2ee54ef198400ae53
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8966
Reviewed-by: John Scipione <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-04-10 11:00:09 +00:00
Adrien Destugues 58a2e36857 WebPositive: style fixes after previous commit. 2025-04-09 13:21:54 +02:00
Ilmari "ilzu" Siiteri e3a893afd8 Web+: Rework startup session code
* Loads previous session if lauched by link and setting to use previous
  session is enabled
* Fixes #18722
* Adds window workspaces to archive message
* Adds opening session windows to same workspace it was previously
  (could be made optional)

Change-Id: I8c56516fa8770011346989a59e8ecd22440eef36
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8859
Reviewed-by: nephele nephele <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-04-09 11:19:53 +00:00
JackBurton79 197dcc80dc Terminal: added ability to execute a command using scripting
Add a B_EXECUTE_PROPERTY to execute a given command.

Also set fAttached to false in _DetachShell() for symmetry.

Done by Andrea Anzani plus some style / refactoring by myself
Change-Id: Ifa26b60b1c1d3598a863adc4fb701155f9edf588
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9154
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-04-09 11:19:17 +00:00
JackBurton79 8f2748e848 Terminal: Fix uninitialized cursor color.
Especially visible when running as a replicant

(change made by Andrea Anzani)

Change-Id: I11d00e21d35eccad6ba057d5ad2675de878f9c9d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9153
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2025-04-03 18:40:30 +00:00
X512 0a80f7f0e2 MediaPlayer: add 25% video scale menu option
Useful for high resolution video on low resolution screen.

Change-Id: I9e8c5ee4eee4ea39b14af896d126d412d087aa16
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9132
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-03-18 11:22:55 +00:00
Humdinger e2878192d8 Updated credits of AboutSystem
Added translators we've missed before. Thanks everyone!
* 玉堂白鹤 for Simmplified Chinese
* Путий Иван (itvanya) for Russian

Change-Id: I7f1bc2b85554711b894367dc92b02a04b8426f23
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9124
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-03-15 13:04:41 +00:00
Andrew Lindesay 05ff00f04c HaikuDepot: Refactor for general performance
This commit is a large "big bang" commit of a composite of changes
that would have been challenging to put in place over a PR train.
The changes yield a significant performance improvement in general
but also lay the foundation for being able to make further smaller
gains over time. The changes should also improve stability of the
application. This commit is a high-risk change and would ideally
be coupled with testing.

The key things which have changed in this commit;

- Code reformatting has been applied at the same time.
- Data models are now largely immutable with builder-style
  constructors.
  - The code base was previously handling locking of data obtained
    from the central model manually in many places which was
    prone to mistakes. Now accessing data is, from the clients'
    perspective, largely lock-free.
  - The removal of locks now removes lock-contention in various
    areas of the application including startup which helps with
    improving performance.
  - Repositories of data such as categories and languages are
    now also immutable.
- To simplify data immutability, packages' data is stored in the
  central model separately from depots' data.
- Large package data mutations are now done in chunks of packages
  rather than package-by-package which means reduced messaging
  within the application; especially around the GUI.
- The resolution of data / mutations' notifications is larger
  so that changes are not being considered on each property of
  a package which simplifies the processing logic in a number of
  places.
- Package change-notification is driven out of the central model
  rather than from each and every package. There is scope for
  further simplification in this space.
- Where logic already knows what data is changed, it is able to
  control the change-notification process rather than cause a
  large number of object-comparisons to be required.
- The data-loaders from the local package manager and from HDS
  have been re-written to work with immutable models.
- The icon repositories have been re-written to make a one-time
  notification that icons have changed rather than notify for
  every package.
- Data updates reflection in the UI has been changed to work in
  chunks of packages rather than package by package which
  reduces the quantity of UI window-invalidation / redraws and
  also reduces the quantity of re-calculation of scrollbars and
  other UI elements.
- Some UI elements have their metrics calculated lazily rather
  than up-front which yields a significant performance gain.

Change-Id: Iefaf4a137411e379e4c461ebc8c783fd1646bcf4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9093
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Andrew Lindesay <[email protected]>
2025-03-15 06:56:32 +00:00
Augustin Cavalier c97ebaf1c7 MediaPlayer: Improvements to time tooltip.
* Make PositionToolTip update even when not attached to a window.

 * Always use the "hover" message to update the tooltip,
   never SetPosition.

 * Use BControl::Invoke so that hover messages are sent instantly.

 * Position the tooltip above the slider always.

Combined with the fixes to the Interface Kit, this provides a much
nicer experience for slider time tooltips.


Change-Id: Ib7f884ca91c253ed7e6639946fd2378166137d80
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9122
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-03-14 17:50:43 +00:00
Akash Kumar 1725765ef7 MediaPlayer SeekSlider: show playing time corresponding to mouse position
Fixes #8567.

Change-Id: I03f06f1ac5014d718919280686970a3dbd6ae7dc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8997
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-03-14 17:50:43 +00:00
Augustin Cavalier ed8ca68825 ProcessController: Use more BString::SetToFormat. 2025-03-12 08:31:19 -04:00
Augustin Cavalier 139c35c9b9 ProcessController: Fix return type of UpdateSituation.
fWriteMemory is an int64.
2025-03-12 08:30:22 -04:00
Augustin Cavalier 992f1401b2 ProcessController: Report kernel memory and fix some TODOs.
* Restore logic for excluding app_server side of bitmaps
   (though this may not work for server-cloned areas, only
   server-allocated ones.)

 * Leave TODO in place for media buffers.

 * Add all kernel-writable areas of the system (kernel) team
   to writable memory, but exclude the block_cache.

Fixes display of kernel memory information in ProcessController's
memory usage menu.
2025-03-10 22:35:55 -04:00
Emir SARI 2f2c48ad53 Terminal: use multiplication signs wherever needed
Apparently missed this one, last time.

Change-Id: Ibcafc18ccde3eb3e8c0696a68b2979c51e68dbcc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7590
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2025-03-10 14:01:35 +00:00
Oscar Lesta 8ab7b2bd56 ProcessController: swap drawing of (system) committed and cached memory.
The menu item starts with: "System resources & caches..." but then it
wrote fCachedMemory before fCommittedMemory.

Swapping them seems more in line with how the rest of the "Memory usage"
menu is presented as well.

Change-Id: I83345f9ae35b405ed854e7a1992b537d31e27d02
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9083
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: humdinger humdinger <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-03-06 16:42:35 +00:00
Humdinger 2d3b5776e7 AboutSystem: Separate zh-Hans/zh-Hant, add translators
Adding daniel03663 and edouardlicn for Traditional Chinese, and
Jinuk Jung for Korean.

Change-Id: Ie1f38af87068d1d5d2fa0b07b9594fb371887ea1
Reviewed-on: https://review.haiku-os.org/c/haiku/+/9027
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-03-05 20:11:43 +00:00
Augustin Cavalier 6f0caabcf7 HaikuDepot: Re-invalidate and re-derive labels in ItemCountView sporadically.
Instead of unconditionally calling _DeriveLabel() and Invalidate()
every time (both expensive operations), use a bool to track whether
we've already invalidated, and derive the label in Draw() if it
was set.

Significantly decreases the invalidations done on full-list rebuilds.
2025-02-15 21:22:55 -05:00
Augustin Cavalier fbb27923df HaikuDepot: Use more optimal string operations in searching.
* package->Name() is always lowercase, don't bother using lowercase
   operations on it.

 * Use IFindFirst rather than transforming the string; this uses
   strcasestr internally which operates per-character.

Loosely based on a patch by oco in #19421.
2025-02-15 21:10:00 -05:00
William Johnson 03d5061185 Installer: Do not copy SSH host keys into target.
Fixes #19113.

Change-Id: I8e837ba236de44fb76a6668e297bb1a554e62b24
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8944
Reviewed-by: waddlesplash <[email protected]>
2025-02-07 20:07:44 +00:00
Pascal Abresch ff0dd27345 WebPositive: remove gopher from supported protocols
Goodbye sweet prince!
This hasen't worked for quite some time, Webkit uses the curl backend
currently which has no support for gopher.

Our netkit backend also never "truely" supported gopher, instead
translating pages to html with some prebuild styles, those also don't
use the CSS system colors, for lack of existence back then.

Change-Id: I5d5098db9512bb22cde8c17fa1553637b30ae65b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8938
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-02-06 17:26:58 +00:00
Augustin Cavalier cbfbbf6d4d Change BObjectList to take "owning" as a template parameter and adjust all consumers.
Since BObjectList is a template class, this only breaks ABI where
BObjectList was exposed in public methods, and even then it's only
a name mangling break and we should be able to add compatibility
methods if necessary.

(The old "bool owning" member variable is left intact for ABI
compatibility, for the moment, though it's otherwise unused now.)

Tracker's PoseList is the only remaining type that has a "bool owning"
switch in the constructor rather than template parameters.

This should significantly improve the output of static code analysis
tools that previously detected list operations as causing use-after-frees
and double-frees, as well as make code maintenance easier by making it
easier to determine what list owns (or does not own) an object.
It should also be a minor performance optimization, since the branches
for calls to delete/free should now be optimized out altogether.

Still boots to desktop and Tracker, Deskbar, Debugger all tested
and verified as working.

Change-Id: If2a24a6f0d22e7a506ef554fcfdd328907279ed4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8915
Reviewed-by: waddlesplash <[email protected]>
2025-02-06 00:06:32 +00:00
Augustin Cavalier 007126ed6f Keymap: Change GetModifiedCharacters API to return BStringList.
Simplifies the API and makes ownership semantics clearer.

Change-Id: I59d2e3ef8055253e85943500fb65356762055c54
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8914
Reviewed-by: waddlesplash <[email protected]>
2025-02-06 00:06:32 +00:00
Augustin Cavalier 3e245f7b20 Tracker & Deskbar: Use BStringList instead of BObjectList<BString>.
It's more efficient, and conveys ownership semantics more clearly.

Change-Id: Ia42b018faaa7c8c7347020afbf1be9dfafe0fed8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8913
Reviewed-by: waddlesplash <[email protected]>
2025-02-06 00:06:32 +00:00
John Scipione 540ae21864 MediaPlayer: Delete playlist items use plain old delete
... fixing a TODO now that #7078 is fixed.

There are 2 remove playlist actions: 'Remove' and 'Move file to Trash'

* 'Remove' playlist shortcut: Cmd+Delete => Delete
  (This also works from the main window to remove the file you're
   currently focused on/listening to from the playlist.)
* 'Remove file from playlist' shortcut has been removed. We have
  decided not to Trash files from MediaPlayer's playlist anymore,
  you'll have to trash the files from a regular Tracker window.

The 'Remove' shortcut gets plain old delete as the author intended.

Change-Id: I3b1e19405e029d9c5f398cfd7a8dbab49fb21fc7
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7292
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2025-02-02 19:18:35 +00:00
Dave Slusher 36fac427b5 awk: fix regexp errors
As of awk version 5.0.0 the regexp library used switched to GNULIB.
This means that using \" is no longer escaping the quotation mark but only
matching a literal backslash followed by a quotation mark.

Another project that dealt with the same warning is here:
https://github.com/soimort/translate-shell/issues/285

Change-Id: If465b5966e448591acdae9e764c22bc2fce79f5d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8836
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
2025-01-28 16:44:06 +00:00
Niklas Poslovski 3e2f510808 StyledEdit: Add menu to strikeout text
Change-Id: I390b700db29a838baade1d8ab52983306a93e751
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8863
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: nephele nephele <[email protected]>
2025-01-26 18:59:35 +00:00
Humdinger e17a9b1ee0 Web+ Bookmark bar: Fixes, added "Show in Tracker"
"Show in Tracker" opens and selects a bookmark in Tracker. Useful
if "Rename" isn't good enough, when you need to edit the URL, Title,
or Keywords attributes.

Fixes a crash when trying to "Rename" a folder. Folders were added
without a message before, so trying to access them to FindRef() lead
to a crash.
Folders are now added with a message kFolderMsg which is also used
to identify them as folders (instead of checking if their message
is NULL as before).

It's not uncommon to have symlinks in the Bookmark bar. We now don't
traverse those to their origin when renaming or deleting, so only
the files in the "Bookmark bar" folder are affected, not the original
files.
Only when adding an item, we traverse a symlink for its icon.

Change-Id: I3f420995cf5c12930a1cf3a00bb4257d19c4d5a6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8772
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-01-26 08:46:58 +00:00
John Scipione 4ae0548774 Terminal: Make Colors window height shorter and font-dependent
Roughly the same height as the Appearance window at 12pt font.

Change-Id: Iaa456aecfde6ebe92f4829e3aabca6a29b68bc08
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8847
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-01-22 19:28:58 +00:00
John Scipione 622853ff8e Appearance and Terminal: Move ColorPreview to shared
Move ColorListView and ColorItem to shared in BPrivate namespace.

ColorItem typedef to BPrivate::BColorItem for apps that are already
using this class.

Gravity screensaver:
* ColorItem => BColorItem.
* Use make_color() to set colors.

Make color drop message name agnostic, check for B_RGB_COLOR_TYPE.
Add be:sender and source to drag message.

Add _SetTermColors() convenience method to set colors on all tabs.

Change-Id: I5a9f55d3ab423ccaa341997cf444603373024553
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8846
Reviewed-by: John Scipione <[email protected]>
2025-01-22 19:28:58 +00:00
John Scipione 13553050f9 HaikuDepot: MarkupTextView SetForegroundColor to HighUIColor
Also the bullet point color
Allow Usage Conditions window to be resized
Tint disabled color instead of hardcoding

Copyright 2024 Haiku, Inc.

Fixes the other half of #19067

Change-Id: Ibf74d9dd673807b0f107e56cefb5b30916baed96
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8262
Reviewed-by: Adrien Destugues <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2025-01-17 16:57:38 +00:00
John Scipione 297aa21e46 Deskbar: Always AdoptParentColors() on StatusView
... be_control_look is assumed.

Change-Id: If41f74ede3debd5439093e0172294861f65f5d6b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8832
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-01-14 22:46:39 +00:00
John Scipione e7735d59c3 Deskbar: A few minor style fixes to StatusView (tray)
Change-Id: I89036bda8bc9b93cac90c606dafe0a13cfd8a05d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8831
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2025-01-14 22:46:39 +00:00
Augustin Cavalier 01b94ce7b8 AboutSystem: Drop GLU credit.
We use Mesa3d GLU now, which is under MIT license.
2025-01-13 14:16:40 -05:00
Augustin Cavalier 1c45ac1e20 licenses, AboutSystem: Add credits for netresolv.
* Add the ISC license; it's similar to the MIT license but isn't
   worded identically, and it's referenced from netresolv.

 * Drop the "Berkeley" license, it was used for an older version
   of the NetBSD credits, and is just the 3-clause BSD anyway, it appears.
2025-01-13 14:15:20 -05:00