v0.7.0 31c7fae

CHANGELOG.md RawHistoryFolder

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[0.7.0] - 2025-09-14

Added

  • Content blocking system: Native WebKit ad blocking with EasyList integration, cosmetic filtering, and filter cache management
  • Filter cache purging: New --filter-cache/-F flag in purge command
  • WebKit debug system: Comprehensive debugging support with configurable categories for troubleshooting WebKit internal errors
  • Enhanced error handling: Robust content filter injection with retry mechanisms and graceful fallbacks
  • Parallel compilation: Multi-core GCC compilation support for faster builds

Improved

  • Content filter timing: Optimized script injection timing to prevent interference with WebKit preconnect operations
  • Anti-breakage scriptlets: Safer JavaScript modifications that avoid WebKit internal conflicts
  • Build system: Added parallel compilation with automatic core detection and success indicators
  • Persistent TLS certificate validation system:
    • Three-option certificate dialog: "Go Back", "Proceed Once (Unsafe)", and "Always Accept This Site"
    • Database-backed certificate storage: SQLite-based persistence for user certificate decisions with SHA256 certificate hashing
    • Smart decision handling: Automatic application of stored decisions without repeated prompts
    • Temporary vs permanent choices: "Proceed Once" expires after 24 hours, "Always Accept" persists indefinitely
    • Seamless user experience: No more repetitive certificate warnings for trusted sites
  • Performance-optimized WebKit memory configuration system:
    • New WebkitMemoryConfig configuration section with performance-focused defaults for faster page loading
    • Aggressive caching strategy: web_browser cache model with page cache enabled for instant back/forward navigation
    • Balanced memory pressure management: Conservative (40%), strict (60%), and kill (80%) thresholds optimized for performance vs stability
    • Smart garbage collection: 2-minute JavaScript GC intervals with process recycling after 50 page loads
    • Reduced monitoring overhead: 45-second memory monitoring intervals to minimize performance impact
    • Environment variable overrides: All memory settings configurable via DUMBER_* environment variables (DUMBER_CACHE_MODEL, DUMBER_MEMORY_CONSERVATIVE, etc.)
  • Early crash handling initialization: Moved crash handler setup to application entry point for better crash recovery

Changed

  • Modernized GTK dialog system: Migrated from deprecated GTK 4.10 dialog functions to modern GtkAlertDialog API
    • Future-proof implementation: Eliminated all deprecation warnings by replacing gtk_message_dialog_* and gtk_dialog_* functions
    • Async-first architecture: Native async dialog handling with proper event loop integration
    • Improved accessibility: Better screen reader support and GTK4 theme integration
  • Major main.go refactoring: Massive code reduction from 1071 lines to 61 lines (~95% reduction)
    • Extracted browser application logic to dedicated internal/app/browser package for better separation of concerns
    • Streamlined entry point: Clean main function focusing only on CLI vs GUI mode detection and application bootstrapping
    • Improved maintainability: Modular architecture with clear responsibilities between CLI and browser components
  • Refactored memory configuration architecture:
    • Integrated WebKit memory settings into unified config system with Viper environment variable bindings
    • Eliminated redundant environment variable parsing in favor of centralized configuration management
    • Simplified webview initialization with direct config-to-WebKit conversion
  • Improved CLI logs command description: Enhanced help text for better user experience

[0.6.0] - 2025-09-12

Added

  • Smart AV1 codec negotiation system for YouTube high-resolution streaming:
    • Resolution-aware MediaCapabilities API reporting: Intelligent codec capability reporting based on video resolution, enabling YouTube to select optimal codecs for different quality levels
    • YouTube format manifest manipulation: Real-time format list reordering to prioritize AV1 for ≤1080p content while allowing VP9 fallback for higher resolutions
    • Graduated codec preference system: Smart localStorage preference (2048) instead of forced AV1 (8192), giving YouTube flexibility for optimal codec selection
    • 4K HDR 60fps AV1 support: Successfully enables YouTube delivery of premium quality 4K HDR content with AV1 codec, HDR10 (PQ) color space, and BT.2020 wide color gamut
    • Configurable AV1 resolution limits: New av1_max_resolution config option with environment variable support (DUMBER_AV1_MAX_RES)
    • Automatic codec fallback logic: Seamless VP9 fallback for resolutions where AV1 performance may be suboptimal
    • High bitrate streaming support: Enables premium quality streaming (650+ Mbps) with proper buffer management
    • Fixes previous limitation where forcing AV1 would cap YouTube playback at 1080p maximum
  • Page refresh functionality with standard keyboard shortcuts:
    • Ctrl+R / Cmd+R: Reload current page
    • Ctrl+Shift+R / Cmd+Shift+R: Hard reload (bypass cache)
    • F5: Alternative reload key
    • WebKit integration with proper webkit_web_view_reload() and webkit_web_view_reload_bypass_cache() calls
  • Twitch theater mode and fullscreen stability fix:
    • Complete removal of codec interference on Twitch: Eliminates aggressive codec control that caused theater mode and fullscreen freezing
    • Native Twitch codec selection: Allows Twitch to handle codec negotiation without browser intervention
    • Fixes theater mode freeze and fullscreen black screen issues on Twitch

Fixed

  • Zoom level toast no longer shows on every page navigation within the same domain:
    • Added smart detection to differentiate user-initiated vs programmatic zoom changes
    • Toast now only appears when manually adjusting zoom or entering a new domain
    • Prevents annoying notifications during regular browsing within the same site
  • Links with target="_blank" now load in current window instead of being ignored:
    • Added WebKit create signal handler to intercept new window requests
    • Redirects popup/new tab links to current window for seamless single-window browsing
    • Maintains user experience consistency in tab-less browser architecture

[0.5.0] - 2025-09-12

Added

  • Hardware video acceleration with automatic GPU detection:
    • Multi-vendor GPU detection (AMD, NVIDIA, Intel) using glxinfo, lspci, and sysfs
    • Automatic VA-API driver selection (radeonsi for AMD, vdpau for NVIDIA, iHD for Intel)
    • WebKitGTK integration with GStreamer hardware acceleration backends
    • Environment variable configuration support (LIBVA_DRIVER_NAME, GST_VAAPI_ALL_DRIVERS)
    • Legacy VA-API fallback mode for compatibility with older systems
    • Video decoding acceleration for H.264, HEVC, VP9, and AV1 codecs
    • Significantly reduced CPU usage during video streaming (Twitch, YouTube, etc.)
    • Smart conflict prevention between legacy and modern VA-API implementations
  • TLS certificate error handling with user confirmation dialog:
    • Comprehensive certificate information display (subject, issuer, validity dates)
    • Interactive warning dialog for untrusted certificate authorities
    • Certificate exception management with per-host persistence
    • Manual load triggering after user accepts certificate exceptions
    • Proper integration with WebKitGTK 6.0 network session API
  • Zoom level toast notifications:
    • Real-time zoom level display with format: "Zoom level: ±X% (Y%)"
    • Smart debouncing to prevent notification spam during rapid zoom changes
    • Automatic cleanup of stuck or colliding toast messages
    • 150ms debounce timer with 2-second display duration
    • Emergency cleanup function for orphaned toast elements
  • Comprehensive XDG-compliant logging system:
    • Complete application output capture (Go logs, fmt prints, WebKit C logs)
    • XDG Base Directory specification compliance (~/.local/state/dumber/logs/)
    • Automatic log rotation with size/age-based cleanup and compression
    • WebKit CGO log capture with GLib log handler integration
    • CLI log management commands (dumber logs list, logs tail, logs clean)
    • File-only logging for cache operations to prevent dmenu interference
    • Multi-output support with timestamped, tagged log entries
    • Configurable log levels, formats (text/JSON), and retention policies

Fixed

  • WebView background set to black to improve user experience during page loads
  • Multiple linting issues and code quality improvements (reduced from 211 to ~150 issues)
  • Omnibox responsive scaling and layout issues:
    • Fixed over-aggressive viewport scaling that made omnibox disproportionately large at high zoom levels
    • Resolved input field overflow extending beyond container boundaries
    • Improved box-sizing model to prevent layout issues
    • Added conditional separator display (hidden when no search results)
    • Omnibox now scales proportionally with webpage content across all zoom levels
  • Dmenu history favicon display:
    • Complete favicon caching system for fuzzel/dmenu integration with real website icons
    • ICO file support using go-ico library for perfect Windows icon conversion to PNG
    • Smart brightness detection and color inversion for dark theme visibility
    • All cached favicons normalized to consistent 32x32 PNG format for uniform display
    • Anti-aliasing preservation during color inversion to prevent edge noise and pixelation
    • Asynchronous favicon downloading and caching with 7-day freshness and 30-day cleanup
    • Fuzzel icon protocol integration (\0icon\x1f<path>) for native icon display
    • Favicon URLs extracted from webpage metadata and stored in database during navigation
    • Fallback system removed to ensure consistent sizing - shows real favicons or no icon
    • XDG Base Directory compliance for favicon cache storage

[0.4.0] - 2025-09-10

Added

  • High-performance fuzzy cache system for dmenu history:
    • Binary serialization with memory-mapped files for zero-copy access
    • Trigram indexing (3-character sequences) for fast candidate filtering
    • Prefix trie (compressed tree structure) for prefix matching
    • Pre-sorted entry indices for O(1) top entries retrieval
    • Smart cache invalidation with filesystem persistence and background refresh
    • Comprehensive fuzzy matching algorithms: Jaro-Winkler similarity, Levenshtein distance, tokenized matching
    • Weighted scoring system combining URL, title, recency, and visit count scores
    • XDG Base Directory Specification compliance (cache stored in state directory)
    • Atomic operations for concurrent access control
    • Dependency injection using interfaces and gomock for testing
  • Purge command for cleaning up dumber data and cache files:
    • Selective purging with flags: --database, --history-cache, --browser-cache, --browser-data, --state, --config
    • Clear distinction between history cache (dmenu fuzzy search) and browser cache (WebKit)
    • Browser data includes cookies, localStorage, sessionStorage
    • Confirmation prompt with --force flag to skip
    • Targets all data locations: SQLite database, WebKit cache/data, dmenu fuzzy cache, configuration files
  • Ctrl+Shift+C keyboard shortcut to copy current URL to clipboard:
    • Cross-platform clipboard support with wl-copy (Wayland) and xclip (X11) fallback
    • Reusable toast notification system for user feedback
    • Injectable JavaScript component for consistent styling across all websites
    • Native backend integration for reliable clipboard access

Changed

  • Dmenu performance dramatically improved: 200ms → 4ms (98% faster)
  • GetTopEntries optimized from O(n log n) to O(1) using pre-sorted indices
  • Cache build time reduced to ~300μs for typical history datasets

Fixed

  • Dark theme detection now properly reads GNOME desktop interface color-scheme setting (org.gnome.desktop.interface color-scheme) instead of only checking gtk-application-prefer-dark-theme
  • Eliminated O(n log n) sorting bottleneck on every dmenu call
  • Memory-efficient compact entry storage with minimal footprint
  • Concurrent cache access with proper read/write locking
  • Process no longer hangs when closing window with Cmd+Q or window close button - implemented proper GTK4 close-request signal handling and OS signal handling for graceful shutdown

[0.3.0] - 2025-01-11

Added

  • WebKit memory controls (opt‑in):
    • Env vars to tune memory/perf trade‑offs without code changes:
      • DUMBER_CACHE_MODEL, DUMBER_ENABLE_PAGE_CACHE
      • DUMBER_ENABLE_MEMORY_MONITORING, DUMBER_MEMORY_LIMIT_MB, DUMBER_MEMORY_POLL_INTERVAL
      • DUMBER_MEMORY_CONSERVATIVE, DUMBER_MEMORY_STRICT, DUMBER_MEMORY_KILL
      • DUMBER_GC_INTERVAL, DUMBER_RECYCLE_THRESHOLD
    • Version‑guarded CGO wrappers for memory pressure and GC hooks; safe no‑ops on unsupported WebKitGTK builds.
  • Find in page (Ctrl/Cmd+F):
    • Omnibox refactored into a reusable component with dedicated "find" mode.
    • Highlighting: yellow for all matches; active match in orange for clarity.
    • Match list with context (right side stops at nearest punctuation: . , ; : -).
    • Navigation UX:
      • ArrowUp/Down move selection and scroll the overlay list (page scroll disabled while open).
      • Enter centers on the active match and closes; Shift+Enter goes to previous; Alt+Enter centers without closing.
      • Hover focuses input and selects list items; click outside closes the overlay.
      • Faded overlay with subtle blur when reviewing matches; opacity restores on input focus/typing.
    • Programmatic API: OpenFind(initial), FindQuery(q), CloseFind() on WebView.

Changed

  • Performance‑first defaults retained:
    • Cache model set to “WebBrowser”, page cache enabled, DevTools available.
    • No implicit memory pressure or GC enabled by default; all memory tuning is opt‑in.

Removed

  • Deprecated offline app‑cache calls eliminated (no‑ops) to avoid warnings and brittle builds.

Fixed

  • Homepage Recent History layout:
    • Show single-line entries as “{Title} – {Domain} – {URL}”.
    • Truncate long URLs with a gradient fade; prevent horizontal overflow.
    • Adjusted styling so URL is darker for readability.
  • Search shortcuts and config interop:
    • Backend SearchShortcut now serializes url/description with JSON tags.
    • Frontend normalizes field casing and extracts base URLs, handling %s and {query} templates.
    • Omnibox shortcut parsing now URL-encodes queries and supports %s placeholders.
  • Input and navigation reliability (GTK4/WebKitGTK 6):
    • Capture-phase key controller to ensure accelerators fire consistently.
    • Do not consume normal left/right clicks; only mouse buttons 8/9 trigger back/forward.
    • Added Alt+ArrowLeft/Right navigation and enabled two-finger swipe back/forward when supported.
    • Added Ctrl+scroll zoom in/out; refined accelerator matching so Ctrl− works across layouts.
    • Removed layout-specific hacks; added diagnostic logs for raw minus key events.
  • Zoom persistence:
    • Added WebView zoom-changed hook; save per-domain zoom to SQLite on every change.
    • Log on successful save: “saved X.XX for domain.tld” and on load: “loaded X.XX for domain.tld”.
    • Load and log initial zoom level on startup and on every navigation.
  • Build/dev ergonomics:
    • Makefile loads .env.local; supports overriding GOMODCACHE, GOCACHE, GOTMPDIR for sandboxed builds.
  • WebKit CGO hardening and API compatibility:
    • Apply memory pressure settings to WebKitNetworkSession (correct signature) when enabled.
    • Guarded C wrappers remove deprecation warnings across header variants; builds succeed on WebKitGTK 6.

[0.2.0] - 2025-09-10

Added

  • WebKitGTK 6 (GTK4) migration for the built‑in browser window:
    • WebView constructed via g_object_new(WEBKIT_TYPE_WEB_VIEW, …) with a fresh WebKitUserContentManager.
    • WebKitNetworkSession with persistent cookies (SQLite) and cache directories.
  • Native UCM messaging restored via script-message-received::dumber (JSCValue*), removing the JS fallback bridge.
  • Rendering mode controls:
    • CLI flag --rendering-mode=auto|gpu|cpu and DUMBER_RENDERING_MODE env.
    • In‑app status endpoint dumb://homepage/api/rendering/status.
  • Native zoom shortcuts at the WebKit layer (Ctrl/Cmd+=, +, −, 0) and GTK4 input controllers for keyboard/mouse.
  • AZERTY keyboard fix: treat underscore as minus for zoom‑out.
  • Runtime theme synchronization: watch GTK gtk-application-prefer-dark-theme and update page color‑scheme live.
  • Makefile target check-webkit to print pkg-config versions of GTK4/WebKitGTK 6.0/JSC 6.0.
  • Documentation updates:
    • README now targets WebKitGTK 6 (GTK4) and lists GStreamer package requirements for Arch and Debian/Ubuntu.
    • CLAUDE notes updated with migration status, GPU/Vulkan path, runtime theme sync, and persistence.

Changed

  • Build flags and includes now target webkitgtk-6.0, gtk4, and javascriptcoregtk-6.0.
  • GTK4 APIs for windowing and event handling (GtkEventController, GtkGestureClick) replace GTK3/GdkEvent paths.

Removed

  • Legacy WebKit2GTK constructors and container APIs.
  • JavaScript fallback for UCM message bridging.

Fixed

  • Header/enum compatibility for hardware acceleration policy and cookie policy across WebKit header variants.
  • Linker error for on_theme_changed and gpointer usage in signal connections.
  • Crashy paths mitigated by default “media safe” startup (can be disabled via DUMBER_MEDIA_SAFE=0).

Notes

  • GPU rendering path leverages GTK4’s renderer (Vulkan/OpenGL). Mode auto uses GPU when available and falls back gracefully to CPU.
  • WebKitGTK relies on GStreamer; install recommended packages for audio/video (see README).

[0.1.0] - 2025-09-09

Added

  • Initial project scaffolding, build system, and dependencies.
  • Unified CLI + GUI architecture with search shortcuts and fuzzy parsing.
  • Wails v3‑alpha browser integration (early phase).
  • Global keyboard controls with script injection (zoom/devtools, etc.).
  • Native WebKit2GTK backend migration:
    • Custom dumb:// scheme and /api endpoints: /config, /history/recent, /history/search, /history/stats.
    • UserContentManager omnibox injection and theme initialization.
    • Persistent WebsiteDataManager with cookies.sqlite; per‑domain zoom and title persistence.
    • Keyboard/mouse accelerators (including mouse back/forward); debounced triggers.
    • Homepage switched to first‑party API fetches; removed @wailsio/runtime usage.
  • Documentation and licensing: README enhancements and LICENSE added.

Changed

  • Replaced Wails runtime with native WebKit2GTK CGO bindings and homepage API.
  • Improved asset resolution and logging for the dumb://homepage scheme.

Fixed

  • Eliminated duplicate accelerator triggers via debouncing.
  • Corrected asset resolution and URL normalization in scheme handler.
source
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5## [Unreleased]
6
7## [0.7.0] - 2025-09-14
8
9### Added
10- **Content blocking system**: Native WebKit ad blocking with EasyList integration, cosmetic filtering, and filter cache management
11- **Filter cache purging**: New `--filter-cache/-F` flag in purge command
12- **WebKit debug system**: Comprehensive debugging support with configurable categories for troubleshooting WebKit internal errors
13- **Enhanced error handling**: Robust content filter injection with retry mechanisms and graceful fallbacks
14- **Parallel compilation**: Multi-core GCC compilation support for faster builds
15
16### Improved
17- **Content filter timing**: Optimized script injection timing to prevent interference with WebKit preconnect operations
18- **Anti-breakage scriptlets**: Safer JavaScript modifications that avoid WebKit internal conflicts
19- **Build system**: Added parallel compilation with automatic core detection and success indicators
20- **Persistent TLS certificate validation system**:
21  - **Three-option certificate dialog**: "Go Back", "Proceed Once (Unsafe)", and "Always Accept This Site"
22  - **Database-backed certificate storage**: SQLite-based persistence for user certificate decisions with SHA256 certificate hashing
23  - **Smart decision handling**: Automatic application of stored decisions without repeated prompts
24  - **Temporary vs permanent choices**: "Proceed Once" expires after 24 hours, "Always Accept" persists indefinitely
25  - **Seamless user experience**: No more repetitive certificate warnings for trusted sites
26- **Performance-optimized WebKit memory configuration system**:
27  - **New `WebkitMemoryConfig`** configuration section with performance-focused defaults for faster page loading
28  - **Aggressive caching strategy**: `web_browser` cache model with page cache enabled for instant back/forward navigation
29  - **Balanced memory pressure management**: Conservative (40%), strict (60%), and kill (80%) thresholds optimized for performance vs stability
30  - **Smart garbage collection**: 2-minute JavaScript GC intervals with process recycling after 50 page loads
31  - **Reduced monitoring overhead**: 45-second memory monitoring intervals to minimize performance impact
32  - **Environment variable overrides**: All memory settings configurable via `DUMBER_*` environment variables (`DUMBER_CACHE_MODEL`, `DUMBER_MEMORY_CONSERVATIVE`, etc.)
33- **Early crash handling initialization**: Moved crash handler setup to application entry point for better crash recovery
34
35### Changed
36- **Modernized GTK dialog system**: Migrated from deprecated GTK 4.10 dialog functions to modern `GtkAlertDialog` API
37  - **Future-proof implementation**: Eliminated all deprecation warnings by replacing `gtk_message_dialog_*` and `gtk_dialog_*` functions
38  - **Async-first architecture**: Native async dialog handling with proper event loop integration
39  - **Improved accessibility**: Better screen reader support and GTK4 theme integration
40- **Major main.go refactoring**: Massive code reduction from 1071 lines to 61 lines (~95% reduction)
41  - **Extracted browser application logic** to dedicated `internal/app/browser` package for better separation of concerns
42  - **Streamlined entry point**: Clean main function focusing only on CLI vs GUI mode detection and application bootstrapping
43  - **Improved maintainability**: Modular architecture with clear responsibilities between CLI and browser components
44- **Refactored memory configuration architecture**:
45  - Integrated WebKit memory settings into unified config system with Viper environment variable bindings
46  - Eliminated redundant environment variable parsing in favor of centralized configuration management
47  - Simplified webview initialization with direct config-to-WebKit conversion
48- **Improved CLI logs command description**: Enhanced help text for better user experience
49
50## [0.6.0] - 2025-09-12
51
52### Added
53- **Smart AV1 codec negotiation system for YouTube high-resolution streaming**:
54  - **Resolution-aware MediaCapabilities API reporting**: Intelligent codec capability reporting based on video resolution, enabling YouTube to select optimal codecs for different quality levels
55  - **YouTube format manifest manipulation**: Real-time format list reordering to prioritize AV1 for ≤1080p content while allowing VP9 fallback for higher resolutions
56  - **Graduated codec preference system**: Smart localStorage preference (`2048`) instead of forced AV1 (`8192`), giving YouTube flexibility for optimal codec selection
57  - **4K HDR 60fps AV1 support**: Successfully enables YouTube delivery of premium quality 4K HDR content with AV1 codec, HDR10 (PQ) color space, and BT.2020 wide color gamut
58  - **Configurable AV1 resolution limits**: New `av1_max_resolution` config option with environment variable support (`DUMBER_AV1_MAX_RES`)
59  - **Automatic codec fallback logic**: Seamless VP9 fallback for resolutions where AV1 performance may be suboptimal
60  - **High bitrate streaming support**: Enables premium quality streaming (650+ Mbps) with proper buffer management
61  - Fixes previous limitation where forcing AV1 would cap YouTube playback at 1080p maximum
62- Page refresh functionality with standard keyboard shortcuts:
63  - **Ctrl+R** / **Cmd+R**: Reload current page
64  - **Ctrl+Shift+R** / **Cmd+Shift+R**: Hard reload (bypass cache)
65  - **F5**: Alternative reload key
66  - WebKit integration with proper `webkit_web_view_reload()` and `webkit_web_view_reload_bypass_cache()` calls
67- **Twitch theater mode and fullscreen stability fix**:
68  - **Complete removal of codec interference on Twitch**: Eliminates aggressive codec control that caused theater mode and fullscreen freezing
69  - **Native Twitch codec selection**: Allows Twitch to handle codec negotiation without browser intervention
70  - Fixes theater mode freeze and fullscreen black screen issues on Twitch
71
72### Fixed
73- Zoom level toast no longer shows on every page navigation within the same domain:
74  - Added smart detection to differentiate user-initiated vs programmatic zoom changes
75  - Toast now only appears when manually adjusting zoom or entering a new domain
76  - Prevents annoying notifications during regular browsing within the same site
77- Links with `target="_blank"` now load in current window instead of being ignored:
78  - Added WebKit `create` signal handler to intercept new window requests
79  - Redirects popup/new tab links to current window for seamless single-window browsing
80  - Maintains user experience consistency in tab-less browser architecture
81
82## [0.5.0] - 2025-09-12
83
84### Added
85- Hardware video acceleration with automatic GPU detection:
86  - Multi-vendor GPU detection (AMD, NVIDIA, Intel) using glxinfo, lspci, and sysfs
87  - Automatic VA-API driver selection (radeonsi for AMD, vdpau for NVIDIA, iHD for Intel)
88  - WebKitGTK integration with GStreamer hardware acceleration backends
89  - Environment variable configuration support (LIBVA_DRIVER_NAME, GST_VAAPI_ALL_DRIVERS)
90  - Legacy VA-API fallback mode for compatibility with older systems
91  - Video decoding acceleration for H.264, HEVC, VP9, and AV1 codecs
92  - Significantly reduced CPU usage during video streaming (Twitch, YouTube, etc.)
93  - Smart conflict prevention between legacy and modern VA-API implementations
94- TLS certificate error handling with user confirmation dialog:
95  - Comprehensive certificate information display (subject, issuer, validity dates)
96  - Interactive warning dialog for untrusted certificate authorities
97  - Certificate exception management with per-host persistence
98  - Manual load triggering after user accepts certificate exceptions
99  - Proper integration with WebKitGTK 6.0 network session API
100- Zoom level toast notifications:
101  - Real-time zoom level display with format: "Zoom level: ±X% (Y%)"
102  - Smart debouncing to prevent notification spam during rapid zoom changes
103  - Automatic cleanup of stuck or colliding toast messages
104  - 150ms debounce timer with 2-second display duration
105  - Emergency cleanup function for orphaned toast elements
106- Comprehensive XDG-compliant logging system:
107  - Complete application output capture (Go logs, fmt prints, WebKit C logs)
108  - XDG Base Directory specification compliance (`~/.local/state/dumber/logs/`)
109  - Automatic log rotation with size/age-based cleanup and compression
110  - WebKit CGO log capture with GLib log handler integration
111  - CLI log management commands (`dumber logs list`, `logs tail`, `logs clean`)
112  - File-only logging for cache operations to prevent dmenu interference
113  - Multi-output support with timestamped, tagged log entries
114  - Configurable log levels, formats (text/JSON), and retention policies
115
116### Fixed
117- WebView background set to black to improve user experience during page loads
118- Multiple linting issues and code quality improvements (reduced from 211 to ~150 issues)
119- Omnibox responsive scaling and layout issues:
120  - Fixed over-aggressive viewport scaling that made omnibox disproportionately large at high zoom levels
121  - Resolved input field overflow extending beyond container boundaries
122  - Improved box-sizing model to prevent layout issues
123  - Added conditional separator display (hidden when no search results)
124  - Omnibox now scales proportionally with webpage content across all zoom levels
125- Dmenu history favicon display:
126  - Complete favicon caching system for fuzzel/dmenu integration with real website icons
127  - ICO file support using go-ico library for perfect Windows icon conversion to PNG
128  - Smart brightness detection and color inversion for dark theme visibility
129  - All cached favicons normalized to consistent 32x32 PNG format for uniform display
130  - Anti-aliasing preservation during color inversion to prevent edge noise and pixelation
131  - Asynchronous favicon downloading and caching with 7-day freshness and 30-day cleanup
132  - Fuzzel icon protocol integration (`\0icon\x1f<path>`) for native icon display
133  - Favicon URLs extracted from webpage metadata and stored in database during navigation
134  - Fallback system removed to ensure consistent sizing - shows real favicons or no icon
135  - XDG Base Directory compliance for favicon cache storage
136
137## [0.4.0] - 2025-09-10
138
139### Added
140- High-performance fuzzy cache system for dmenu history:
141  - Binary serialization with memory-mapped files for zero-copy access
142  - Trigram indexing (3-character sequences) for fast candidate filtering  
143  - Prefix trie (compressed tree structure) for prefix matching
144  - Pre-sorted entry indices for O(1) top entries retrieval
145  - Smart cache invalidation with filesystem persistence and background refresh
146  - Comprehensive fuzzy matching algorithms: Jaro-Winkler similarity, Levenshtein distance, tokenized matching
147  - Weighted scoring system combining URL, title, recency, and visit count scores
148  - XDG Base Directory Specification compliance (cache stored in state directory)
149  - Atomic operations for concurrent access control
150  - Dependency injection using interfaces and gomock for testing
151- Purge command for cleaning up dumber data and cache files:
152  - Selective purging with flags: `--database`, `--history-cache`, `--browser-cache`, `--browser-data`, `--state`, `--config`
153  - Clear distinction between history cache (dmenu fuzzy search) and browser cache (WebKit)
154  - Browser data includes cookies, localStorage, sessionStorage
155  - Confirmation prompt with `--force` flag to skip
156  - Targets all data locations: SQLite database, WebKit cache/data, dmenu fuzzy cache, configuration files
157- Ctrl+Shift+C keyboard shortcut to copy current URL to clipboard:
158  - Cross-platform clipboard support with wl-copy (Wayland) and xclip (X11) fallback
159  - Reusable toast notification system for user feedback
160  - Injectable JavaScript component for consistent styling across all websites
161  - Native backend integration for reliable clipboard access
162
163### Changed
164- Dmenu performance dramatically improved: 200ms → 4ms (98% faster)
165- GetTopEntries optimized from O(n log n) to O(1) using pre-sorted indices
166- Cache build time reduced to ~300μs for typical history datasets
167
168### Fixed
169- Dark theme detection now properly reads GNOME desktop interface color-scheme setting (`org.gnome.desktop.interface color-scheme`) instead of only checking `gtk-application-prefer-dark-theme`
170- Eliminated O(n log n) sorting bottleneck on every dmenu call
171- Memory-efficient compact entry storage with minimal footprint
172- Concurrent cache access with proper read/write locking
173- Process no longer hangs when closing window with Cmd+Q or window close button - implemented proper GTK4 `close-request` signal handling and OS signal handling for graceful shutdown
174
175## [0.3.0] - 2025-01-11
176
177### Added
178- WebKit memory controls (opt‑in):
179  - Env vars to tune memory/perf trade‑offs without code changes:
180    - `DUMBER_CACHE_MODEL`, `DUMBER_ENABLE_PAGE_CACHE`
181    - `DUMBER_ENABLE_MEMORY_MONITORING`, `DUMBER_MEMORY_LIMIT_MB`, `DUMBER_MEMORY_POLL_INTERVAL`
182    - `DUMBER_MEMORY_CONSERVATIVE`, `DUMBER_MEMORY_STRICT`, `DUMBER_MEMORY_KILL`
183    - `DUMBER_GC_INTERVAL`, `DUMBER_RECYCLE_THRESHOLD`
184  - Version‑guarded CGO wrappers for memory pressure and GC hooks; safe no‑ops on unsupported WebKitGTK builds.
185 - Find in page (Ctrl/Cmd+F):
186   - Omnibox refactored into a reusable component with dedicated "find" mode.
187   - Highlighting: yellow for all matches; active match in orange for clarity.
188   - Match list with context (right side stops at nearest punctuation: . , ; : -).
189   - Navigation UX:
190     - ArrowUp/Down move selection and scroll the overlay list (page scroll disabled while open).
191     - Enter centers on the active match and closes; Shift+Enter goes to previous; Alt+Enter centers without closing.
192     - Hover focuses input and selects list items; click outside closes the overlay.
193     - Faded overlay with subtle blur when reviewing matches; opacity restores on input focus/typing.
194   - Programmatic API: `OpenFind(initial)`, `FindQuery(q)`, `CloseFind()` on `WebView`.
195
196### Changed
197- Performance‑first defaults retained:
198  - Cache model set to “WebBrowser”, page cache enabled, DevTools available.
199  - No implicit memory pressure or GC enabled by default; all memory tuning is opt‑in.
200
201### Removed
202- Deprecated offline app‑cache calls eliminated (no‑ops) to avoid warnings and brittle builds.
203
204### Fixed
205- Homepage Recent History layout:
206  - Show single-line entries as “{Title} – {Domain} – {URL}”.
207  - Truncate long URLs with a gradient fade; prevent horizontal overflow.
208  - Adjusted styling so URL is darker for readability.
209- Search shortcuts and config interop:
210  - Backend SearchShortcut now serializes `url`/`description` with JSON tags.
211  - Frontend normalizes field casing and extracts base URLs, handling `%s` and `{query}` templates.
212  - Omnibox shortcut parsing now URL-encodes queries and supports `%s` placeholders.
213- Input and navigation reliability (GTK4/WebKitGTK 6):
214  - Capture-phase key controller to ensure accelerators fire consistently.
215  - Do not consume normal left/right clicks; only mouse buttons 8/9 trigger back/forward.
216  - Added Alt+ArrowLeft/Right navigation and enabled two-finger swipe back/forward when supported.
217  - Added Ctrl+scroll zoom in/out; refined accelerator matching so Ctrl− works across layouts.
218  - Removed layout-specific hacks; added diagnostic logs for raw minus key events.
219- Zoom persistence:
220  - Added WebView zoom-changed hook; save per-domain zoom to SQLite on every change.
221  - Log on successful save: “saved X.XX for domain.tld” and on load: “loaded X.XX for domain.tld”.
222  - Load and log initial zoom level on startup and on every navigation.
223- Build/dev ergonomics:
224  - Makefile loads `.env.local`; supports overriding `GOMODCACHE`, `GOCACHE`, `GOTMPDIR` for sandboxed builds.
225 - WebKit CGO hardening and API compatibility:
226   - Apply memory pressure settings to `WebKitNetworkSession` (correct signature) when enabled.
227   - Guarded C wrappers remove deprecation warnings across header variants; builds succeed on WebKitGTK 6.
228
229## [0.2.0] - 2025-09-10
230
231### Added
232- WebKitGTK 6 (GTK4) migration for the built‑in browser window:
233  - WebView constructed via `g_object_new(WEBKIT_TYPE_WEB_VIEW, …)` with a fresh `WebKitUserContentManager`.
234  - `WebKitNetworkSession` with persistent cookies (SQLite) and cache directories.
235- Native UCM messaging restored via `script-message-received::dumber` (JSCValue*), removing the JS fallback bridge.
236- Rendering mode controls:
237  - CLI flag `--rendering-mode=auto|gpu|cpu` and `DUMBER_RENDERING_MODE` env.
238  - In‑app status endpoint `dumb://homepage/api/rendering/status`.
239- Native zoom shortcuts at the WebKit layer (Ctrl/Cmd+=, +, −, 0) and GTK4 input controllers for keyboard/mouse.
240- AZERTY keyboard fix: treat underscore as minus for zoom‑out.
241- Runtime theme synchronization: watch GTK `gtk-application-prefer-dark-theme` and update page color‑scheme live.
242- Makefile target `check-webkit` to print `pkg-config` versions of GTK4/WebKitGTK 6.0/JSC 6.0.
243- Documentation updates:
244  - README now targets WebKitGTK 6 (GTK4) and lists GStreamer package requirements for Arch and Debian/Ubuntu.
245  - CLAUDE notes updated with migration status, GPU/Vulkan path, runtime theme sync, and persistence.
246
247### Changed
248- Build flags and includes now target `webkitgtk-6.0`, `gtk4`, and `javascriptcoregtk-6.0`.
249- GTK4 APIs for windowing and event handling (GtkEventController, GtkGestureClick) replace GTK3/GdkEvent paths.
250
251### Removed
252- Legacy WebKit2GTK constructors and container APIs.
253- JavaScript fallback for UCM message bridging.
254
255### Fixed
256- Header/enum compatibility for hardware acceleration policy and cookie policy across WebKit header variants.
257- Linker error for `on_theme_changed` and gpointer usage in signal connections.
258- Crashy paths mitigated by default “media safe” startup (can be disabled via `DUMBER_MEDIA_SAFE=0`).
259
260### Notes
261- GPU rendering path leverages GTK4’s renderer (Vulkan/OpenGL). Mode `auto` uses GPU when available and falls back gracefully to CPU.
262- WebKitGTK relies on GStreamer; install recommended packages for audio/video (see README).
263
264## [0.1.0] - 2025-09-09
265
266### Added
267- Initial project scaffolding, build system, and dependencies.
268- Unified CLI + GUI architecture with search shortcuts and fuzzy parsing.
269- Wails v3‑alpha browser integration (early phase).
270- Global keyboard controls with script injection (zoom/devtools, etc.).
271- Native WebKit2GTK backend migration:
272  - Custom `dumb://` scheme and `/api` endpoints: `/config`, `/history/recent`, `/history/search`, `/history/stats`.
273  - UserContentManager omnibox injection and theme initialization.
274  - Persistent WebsiteDataManager with cookies.sqlite; per‑domain zoom and title persistence.
275  - Keyboard/mouse accelerators (including mouse back/forward); debounced triggers.
276  - Homepage switched to first‑party API fetches; removed @wailsio/runtime usage.
277- Documentation and licensing: README enhancements and LICENSE added.
278
279### Changed
280- Replaced Wails runtime with native WebKit2GTK CGO bindings and homepage API.
281- Improved asset resolution and logging for the `dumb://homepage` scheme.
282
283### Fixed
284- Eliminated duplicate accelerator triggers via debouncing.
285- Corrected asset resolution and URL normalization in scheme handler.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close