Commit graph

2 commits

Author SHA1 Message Date
b3271d85c0 feat: Phase 3 - Gadget & Basic UI
Implemented shelf gadget and popup UI for Wi-Fi management.

Phase 3: Gadget & Basic UI
- Created gadcon provider for shelf icon integration (e_mod_gadget.c)
- Implemented popup window with network list (e_mod_popup.c)
- Added instance structure to track gadget state
- Gadget displays connection status with color-coded icon
- Popup shows current connection and available networks
- Rescan and disconnect functionality working
- Mouse click toggles popup open/close

Features:
- Shelf gadget with visual connection status (green/yellow/gray/red)
- Popup window with Elementary widgets
- Current connection display with disconnect button
- Available networks list showing SSID, security type, and known status
- Rescan button to refresh network list
- Auto-refresh popup after scan (500ms delay)

UI Components:
- Gadget: 16x16 icon with connection state colors
- Popup: Title, connection status frame, network list, action buttons
- Network list: Shows SSID (security) [* = known]
- Buttons: Rescan, Disconnect (when connected)

Module size: 152KB (increased from 24KB with Phase 2)
Files added: 2 source files (e_mod_gadget.c, e_mod_popup.c)

Next phase: Connection Management (passphrase dialog, agent integration)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-28 18:37:11 +07:00
8cefafafb8 feat: Phase 1 & 2 - Build system and D-Bus layer
Phase 1: Build System & Module Skeleton
- Set up Meson build system with EFL dependencies
- Created module entry point with e_modapi_init/shutdown/save
- Implemented configuration system using EET
- Added module.desktop metadata file
- Configured proper installation paths

Phase 2: D-Bus Layer (iwd Backend)
- Implemented D-Bus connection management to net.connman.iwd
- Created device abstraction layer (iwd_device.c) for Wi-Fi interfaces
- Created network abstraction layer (iwd_network.c) for access points
- Implemented D-Bus agent for passphrase requests (iwd_agent.c)
- Added ObjectManager support for device/network discovery
- Implemented daemon restart detection and reconnection
- Property change signal handling for devices and networks

Features:
- Connects to system D-Bus and iwd daemon
- Discovers wireless devices and networks via ObjectManager
- Monitors iwd daemon availability (handles restart)
- Agent registered for WPA/WPA2/WPA3 authentication
- Signal-driven updates (no polling)

Files created: 16 source/header files
Build status: Compiles successfully with gcc 15.2.1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-28 18:31:33 +07:00