Repository navigation
v0.2.4
Tabs that reorder live under the pointer with a drop mark for other drops, a host-installed link handler in markdown, WebView data stores, cache-bypassing reload and back/forward availability, a wired segmented control, and a client-decorated frame whose shadow fits its window.
New
ui::tabs::Reordercarries a dragged tab along its strip: the tab follows the pointer, the tabs it passes slide aside overmotion::TAB_SLIDE, and the strip's order changes during the drag, so a drop needs no handler.grabgoes in the tab'son_dragconstructor,followin the bar'son_drag_move, andReorder::tabwraps each tab.Strip::carryis the swap arithmetic: a tab passes a neighbour once their centres cross.ui::tabs::drop_markis a tab'sdrag_overstyle: a 1px accent line on theSidea drop lands on.Side::ofgives the side for a move from one index to another.markdown::set_link_handlerinstalls aLinkHandlerthat opens every clicked inline link and bookmark card. Without one a link goes toApp::open_url.browser::DataStorenames where a page keeps its cookies, storage and cache: incognito, a directory on Windows, or a store identifier on macOS 14 and later.WebView::with_data_storebuilds the page with one. On macOS,DataStore::clearclears a store once every page built with it is closed, andDataStore::usagereports the sites holding data in it as abrowser::Usage.browser::WebView::reload_bypassing_cachereloads from the network:reloadFromOriginon macOS, the DevTools protocol'sPage.reloadon Windows.browser::WebView::can_go_backandcan_go_forwardanswer whetherbackandforwardwould move the page, as of its last load or history move, andWebViewEvent::Historyreports when either changes.Controls::segmentedis atoggle_groupof labelled segments that reports the index of a clicked segment.theme::frame_shadowsis the shadow a client-decorated window's frame casts, reaching no further thanTheme::CLIENT_INSETpast the surface on any side.
Changed
bezel-browserhas no Linux backend: on Linux the crate builds and aWebViewpaints nothing, as on every platform but macOS and Windows. It no longer links GTK or WebKitGTK.browser::WebViewEventhas aHistoryvariant; amatchover it needs an arm for it.window::framepaintstheme::frame_shadowsrather thantheme::surface_shadows.
Fixed
- A client-decorated window's shadow is no longer cut off as a hard rectangle at the window's bottom and side edges.