# # ChangeLog for / in mainline # # Generated by Trac 1.6 # 2024-11-29T16:33:12Z Sun, 22 Oct 2023 15:53:32 GMT Jiří Zárevúcky [590cb6d2] * uspace/drv/bus/usb/xhci/hw_struct/common.h (modified) * uspace/drv/bus/usb/xhci/hw_struct/context.h (modified) * uspace/lib/ext4/include/ext4/types.h (modified) Remove some inappropriate uses of __attribute__((packed)) ... Sun, 22 Oct 2023 14:04:49 GMT Jiří Zárevúcky [f4a42661] * meson.build (modified) * meson/part/compiler_args/meson.build (modified) * meson/part/extra_targets/meson.build (modified) * uspace/app/wifi_supplicant/wifi_supplicant.c (modified) * uspace/drv/nic/ar9271/wmi.c (modified) * uspace/lib/cpp/include/__bits/adt/hash_table.hpp (modified) * uspace/lib/cpp/include/__bits/adt/rbtree.hpp (modified) * uspace/lib/cpp/include/__bits/string/string.hpp (modified) * uspace/lib/cpp/src/__bits/unwind.cpp (modified) * uspace/lib/cpp/src/future.cpp (modified) * uspace/lib/ui/test/window.c (modified) * uspace/lib/usbdev/include/usb/dev/device.h (modified) * uspace/srv/hid/output/proto/vt100.c (modified) Merge fixes to issues found while updating toolchain Sun, 22 Oct 2023 13:57:54 GMT Jiří Zárevúcky [c63c2bb] * meson.build (modified) * meson/part/extra_targets/meson.build (modified) Meson: fix deprecations, bump to 0.55 Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [aaafcc8] * uspace/lib/cpp/include/__bits/adt/hash_table.hpp (modified) * uspace/lib/cpp/include/__bits/adt/rbtree.hpp (modified) C++: resolve ambiguous naming Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [1502c05] * uspace/lib/cpp/include/__bits/string/string.hpp (modified) C++ strings: missing space for null terminator Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [0eea807] * uspace/app/wifi_supplicant/wifi_supplicant.c (modified) Remove memory leak Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [f5762c7] * uspace/srv/hid/output/proto/vt100.c (modified) Ensure buffer is really big enough Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [2298fc4] * uspace/drv/nic/ar9271/wmi.c (modified) Prevent double-free Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [a6625c98] * uspace/drv/nic/ar9271/wmi.c (modified) Add missing malloc check Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [09b01ed0] * uspace/lib/ui/test/window.c (modified) Use keyboard, not mouse enum Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [b32cff2a] * uspace/lib/usbdev/include/usb/dev/device.h (modified) USB: fix function signature Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [1dafe18] * uspace/lib/cpp/src/future.cpp (modified) C++ lib: prevent use after free (hackish) Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [765995a] * meson/part/compiler_args/meson.build (modified) -Wimplicit-function-declaration is only for C Sun, 22 Oct 2023 13:56:55 GMT Jiří Zárevúcky [e8f48ea] * uspace/lib/cpp/src/__bits/unwind.cpp (modified) C++ lib: missing header Sun, 22 Oct 2023 13:54:17 GMT Jiří Zárevúcky [b2cbc0b] * configure.sh (modified) Fixed warning WARNING: Running the setup command as `meson ... Fri, 20 Oct 2023 14:10:02 GMT Jiri Svoboda [a381b52] * tools/export.sh (modified) export.sh needs to deal with thin archives Since I couldn't find a ... Thu, 19 Oct 2023 19:55:37 GMT Jiří Zárevúcky [972c428c] * contrib/qemu/build-from-scratch.sh (modified) Also enable slirp for networking in QEMU Thu, 19 Oct 2023 18:51:14 GMT Jiří Zárevúcky [4ad76fa] * contrib/qemu/build-from-scratch.sh (modified) Improve QEMU build script - Install to ~/.local by default instead ... Tue, 17 Oct 2023 12:21:15 GMT Jiri Svoboda [d4643db] * uspace/app/gfxdemo/gfxdemo.h (added) Add missing header (oops) Tue, 17 Oct 2023 12:18:10 GMT Jiri Svoboda [b279899] * uspace/app/taskbar/meson.build (modified) * uspace/app/taskbar/taskbar.c (modified) * uspace/app/taskbar/taskbar.sif (moved) * uspace/app/taskbar/tbsmenu.c (modified) * uspace/lib/meson.build (modified) * uspace/lib/startmenu/doc/doxygroups.h (deleted) * uspace/lib/tbarcfg/doc/doxygroups.h (added) * uspace/lib/tbarcfg/include/tbarcfg/tbarcfg.h (moved) * uspace/lib/tbarcfg/include/types/tbarcfg/tbarcfg.h (moved) * uspace/lib/tbarcfg/meson.build (moved) * uspace/lib/tbarcfg/private/tbarcfg.h (moved) * uspace/lib/tbarcfg/src/tbarcfg.c (moved) * uspace/lib/tbarcfg/test/main.c (moved) * uspace/lib/tbarcfg/test/tbarcfg.c (moved) * uspace/lib/ui/src/wdecor.c (modified) Rename startmenu library to tbarcfg There may be other aspects of ... Tue, 17 Oct 2023 07:58:44 GMT Jiri Svoboda [4030072] * uspace/app/taskbar/tbsmenu.c (modified) Open start menu on button press, not click Now it can be closed ... Mon, 16 Oct 2023 17:47:29 GMT Jiri Svoboda [1543d4c] * uspace/lib/ui/src/menubar.c (modified) * uspace/srv/hid/display/seat.c (modified) Properly close drop-down menu on second menu-bar entry click Note ... Mon, 16 Oct 2023 09:43:55 GMT Jiri Svoboda [9e240c1] * uspace/app/gfxdemo/gfxdemo.c (modified) GFX Demo 'ui' should fall back to console by default Mon, 16 Oct 2023 09:36:57 GMT Jiri Svoboda [f1ce7ff] * uspace/app/gfxdemo/gfxdemo.c (modified) Make GFX demo window fullscreen/undecorated in fullscreen mode If ... Mon, 16 Oct 2023 09:26:58 GMT Jiri Svoboda [9adae25] * uspace/app/gfxdemo/gfxdemo.c (modified) GFX Demo should call ui_run() This is needed to process console ... Fri, 13 Oct 2023 20:38:50 GMT Jiri Svoboda [489f405] * uspace/app/taskbar/taskbar.c (modified) Taskbar should start even if WM service is not running Fri, 13 Oct 2023 20:28:47 GMT Jiri Svoboda [7aa9fa1b] * uspace/app/taskbar/taskbar.c (modified) Taskbar needs to avoid receiving premature events This would often ... Fri, 13 Oct 2023 20:27:14 GMT Jiri Svoboda [5d9403d5] * uspace/app/taskbar/taskbar.c (modified) * uspace/app/taskbar/tbsmenu.c (modified) * uspace/app/taskbar/tbsmenu.h (modified) * uspace/app/taskbar/test/tbsmenu.c (modified) * uspace/app/taskbar/types/tbsmenu.h (modified) * uspace/app/taskbar/types/wndlist.h (modified) * uspace/app/taskbar/wndlist.c (modified) Open start menu using Enter, fix input device ID Pressing Enter ... Tue, 10 Oct 2023 19:14:38 GMT Jiri Svoboda [788c76e3] * uspace/app/gfxdemo/gfxdemo.c (modified) GFX demo should downsize the window with -d cons@ ui Also do not ... Tue, 10 Oct 2023 18:47:35 GMT Jiri Svoboda [c0efb2e] * uspace/app/gfxdemo/gfxdemo.c (modified) GFX should detect screen size in console mode Tue, 10 Oct 2023 18:37:44 GMT Jiri Svoboda [082feff] * uspace/app/gfxdemo/gfxdemo.c (modified) GFX Demo should handle keyboard events in console mode Tue, 10 Oct 2023 17:44:52 GMT Jiri Svoboda [f9ae472] * uspace/app/gfxdemo/gfxdemo.c (modified) GFX Demo should not quit on any key Tue, 10 Oct 2023 17:37:09 GMT Jiri Svoboda [af967ef9] * uspace/app/gfxdemo/gfxdemo.c (modified) GFX Demo should quit more prompty Tue, 10 Oct 2023 12:56:43 GMT Jiri Svoboda [bd2fab5] * uspace/app/gfxdemo/gfxdemo.c (modified) Remove forgotten debug messages from GFX Demo Interferes with ... Tue, 10 Oct 2023 12:30:54 GMT Jiri Svoboda [983052c] * uspace/app/taskbar/clock.c (modified) * uspace/app/taskbar/wndlist.c (modified) * uspace/app/taskbar/wndlist.h (modified) * uspace/lib/ui/include/ui/ui.h (modified) * uspace/lib/ui/private/ui.h (modified) * uspace/lib/ui/src/ui.c (modified) * uspace/lib/ui/test/ui.c (modified) Task bar should not crash when starting in terminal Firstly, we ... Mon, 09 Oct 2023 11:13:19 GMT Jiri Svoboda [9bec33a] * uspace/app/taskbar/startmenu.sif (modified) * uspace/app/taskbar/tbsmenu.c (modified) * uspace/app/taskbar/tbsmenu.h (modified) * uspace/app/taskbar/types/tbsmenu.h (modified) It's a start! Sat, 07 Oct 2023 15:50:59 GMT Jiri Svoboda [7d78e466] * uspace/app/taskbar/meson.build (modified) * uspace/app/taskbar/startmenu.sif (added) * uspace/app/taskbar/taskbar.c (modified) * uspace/app/taskbar/tbsmenu.c (modified) * uspace/app/taskbar/tbsmenu.h (modified) * uspace/lib/meson.build (modified) * uspace/lib/startmenu/doc/doxygroups.h (added) * uspace/lib/startmenu/include/startmenu/startmenu.h (added) * uspace/lib/startmenu/include/types/startmenu/startmenu.h (added) * uspace/lib/startmenu/meson.build (added) * uspace/lib/startmenu/private/startmenu.h (added) * uspace/lib/startmenu/src/startmenu.c (added) * uspace/lib/startmenu/test/main.c (added) * uspace/lib/startmenu/test/startmenu.c (added) Load start menu from file using libstartmenu Wed, 04 Oct 2023 17:00:05 GMT Jiri Svoboda [4d58bac] * meson/arch/arm32/meson.build (modified) * meson/arch/ppc32/meson.build (modified) * meson/arch/sparc64/meson.build (modified) * uspace/app/meson.build (modified) * uspace/app/ofw/doc/doxygroups.h (added) * uspace/app/ofw/meson.build (added) * uspace/app/ofw/ofw.c (added) * uspace/lib/meson.build (modified) * uspace/lib/ofw/doc/doxygroups.h (added) * uspace/lib/ofw/include/ofw.h (added) * uspace/lib/ofw/include/types/ofw.h (added) * uspace/lib/ofw/meson.build (added) * uspace/lib/ofw/src/ofw.c (added) * uspace/meson.build (modified) Library and utility for printing OpenFirmware device tree Tue, 03 Oct 2023 11:54:18 GMT Jiri Svoboda [7e660378] * uspace/srv/hid/input/ctl/stty.c (modified) * uspace/srv/hid/input/stroke.c (modified) Support Alt-key in serial console Mon, 02 Oct 2023 14:26:21 GMT Jiri Svoboda [b2261af0] * uspace/lib/ui/src/wdecor.c (modified) Make sure sysmenu handle cannot be clicked if no titlebar Even if ... Mon, 02 Oct 2023 09:19:56 GMT Jiri Svoboda [06a61fc] * uspace/app/taskbar/meson.build (modified) * uspace/app/taskbar/taskbar.c (modified) * uspace/app/taskbar/tbsmenu.c (added) * uspace/app/taskbar/tbsmenu.h (added) * uspace/app/taskbar/test/main.c (modified) * uspace/app/taskbar/test/tbsmenu.c (added) * uspace/app/taskbar/types/taskbar.h (modified) * uspace/app/taskbar/types/tbsmenu.h (added) * uspace/app/taskbar/types/wndlist.h (modified) * uspace/app/taskbar/wndlist.c (modified) Start menu (WIP) It's not starting anything yet. Fri, 29 Sep 2023 17:03:33 GMT Jiri Svoboda [be0ec50] * uspace/lib/ui/src/popup.c (modified) * uspace/srv/hid/display/window.c (modified) Make sure menus are not obscured by task bar Fri, 29 Sep 2023 16:49:53 GMT Jiri Svoboda [e54de59] * uspace/lib/ui/src/window.c (modified) Place menus above parent rectangle if they do not fit below Wed, 27 Sep 2023 20:01:51 GMT Jiri Svoboda [4034954c] * uspace/lib/ui/private/menubar.h (modified) * uspace/lib/ui/src/menubar.c (modified) * uspace/lib/ui/src/window.c (modified) * uspace/lib/ui/test/menubar.c (modified) Do not forget to close system menu. Close first, open second! When ... Wed, 27 Sep 2023 09:20:01 GMT Jiri Svoboda [5afc1aa] * uspace/lib/ui/src/wdecor.c (modified) Must highlight active system menu handle also in text mode I ... Tue, 26 Sep 2023 20:26:55 GMT Jiri Svoboda [8d1bcd7] * uspace/lib/ui/include/types/ui/wdecor.h (modified) * uspace/lib/ui/include/ui/menubar.h (modified) * uspace/lib/ui/private/menubar.h (modified) * uspace/lib/ui/private/wdecor.h (modified) * uspace/lib/ui/private/window.h (modified) * uspace/lib/ui/src/menubar.c (modified) * uspace/lib/ui/src/wdecor.c (modified) * uspace/lib/ui/src/window.c (modified) * uspace/lib/ui/test/menubar.c (modified) * uspace/lib/ui/test/menudd.c (modified) * uspace/lib/ui/test/wdecor.c (modified) Handover between system menu and menu bar We can move between them ... Wed, 20 Sep 2023 13:10:28 GMT Jiri Svoboda [ed1a948] * uspace/lib/ui/include/types/ui/wdecor.h (modified) * uspace/lib/ui/include/ui/wdecor.h (modified) * uspace/lib/ui/private/wdecor.h (modified) * uspace/lib/ui/src/wdecor.c (modified) * uspace/lib/ui/src/window.c (modified) * uspace/lib/ui/test/wdecor.c (modified) System menu handle Graphical element allowing to open system menu ... Sun, 17 Sep 2023 18:40:47 GMT Jiri Svoboda [153dd3b] * uspace/lib/sif/src/sif.c (modified) Do not leak memory when realloc() fails Sun, 17 Sep 2023 09:56:59 GMT Jiri Svoboda [7d7f5e3] * uspace/lib/c/generic/loc.c (modified) * uspace/lib/c/include/loc.h (modified) * uspace/lib/c/include/types/loc.h (modified) * uspace/lib/c/meson.build (modified) * uspace/lib/c/test/loc.c (added) * uspace/lib/c/test/main.c (modified) loc_server_register() should be callable more than once ... Sat, 16 Sep 2023 19:58:18 GMT Jiri Svoboda [4c6fd56] * uspace/app/display-cfg/test/seats.c (modified) * uspace/app/taskbar/test/wndlist.c (modified) * uspace/app/terminal/terminal.c (modified) * uspace/app/terminal/terminal.h (modified) * uspace/lib/c/generic/loc.c (modified) * uspace/lib/c/include/loc.h (modified) * uspace/lib/c/include/types/loc.h (added) * uspace/lib/ddev/test/ddev.c (modified) * uspace/lib/dispcfg/test/dispcfg.c (modified) * uspace/lib/display/test/display.c (modified) * uspace/lib/hound/src/protocol.c (modified) * uspace/lib/ipcgfx/test/ipcgfx.c (modified) * uspace/lib/wndmgt/test/wndmgt.c (modified) * uspace/srv/bd/file_bd/file_bd.c (modified) * uspace/srv/bd/rd/rd.c (modified) * uspace/srv/bd/sata_bd/sata_bd.c (modified) * uspace/srv/bd/vbd/disk.c (modified) * uspace/srv/bd/vbd/disk.h (modified) * uspace/srv/bd/vbd/vbd.c (modified) * uspace/srv/clipboard/clipboard.c (modified) * uspace/srv/devman/drv_conn.c (modified) * uspace/srv/devman/loc.c (modified) * uspace/srv/devman/main.c (modified) * uspace/srv/devman/main.h (modified) * uspace/srv/hid/console/console.c (modified) * uspace/srv/hid/display/main.c (modified) * uspace/srv/hid/input/input.c (modified) * uspace/srv/hid/isdv4_tablet/main.c (modified) * uspace/srv/hid/output/output.c (modified) * uspace/srv/hid/remcons/remcons.c (modified) * uspace/srv/hid/rfb/main.c (modified) * uspace/srv/hid/s3c24xx_ts/s3c24xx_ts.c (modified) * uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c (modified) * uspace/srv/net/dhcp/main.c (modified) * uspace/srv/net/dnsrsrv/dnsrsrv.c (modified) * uspace/srv/net/ethip/ethip.c (modified) * uspace/srv/net/inetsrv/inetsrv.c (modified) * uspace/srv/net/loopip/loopip.c (modified) * uspace/srv/net/nconfsrv/nconfsrv.c (modified) * uspace/srv/net/slip/slip.c (modified) * uspace/srv/net/tcp/service.c (modified) * uspace/srv/net/udp/service.c (modified) * uspace/srv/taskmon/taskmon.c (modified) * uspace/srv/test/chardev-test/main.c (modified) * uspace/srv/test/ipc-test/main.c (modified) * uspace/srv/volsrv/volsrv.c (modified) loc_server_register() should be callable more than once (API only) ... Fri, 15 Sep 2023 09:17:18 GMT Jiri Svoboda [6a0b2cc] * uspace/lib/ui/src/menuentry.c (modified) Should not activate disabled entry even by mouse click Thu, 14 Sep 2023 11:39:09 GMT Jiri Svoboda [8a6ebbb] * uspace/lib/ui/private/window.h (modified) * uspace/lib/ui/src/window.c (modified) Add restore, minimize, maximize entries to system menu Thu, 14 Sep 2023 09:53:27 GMT Jiri Svoboda [112f70a] * uspace/app/uidemo/uidemo.c (modified) * uspace/lib/ui/include/ui/menuentry.h (modified) * uspace/lib/ui/private/menuentry.h (modified) * uspace/lib/ui/private/resource.h (modified) * uspace/lib/ui/src/menu.c (modified) * uspace/lib/ui/src/menuentry.c (modified) * uspace/lib/ui/src/resource.c (modified) Allow menu entries to be disabled Wed, 13 Sep 2023 17:32:23 GMT Jiri Svoboda [61643c8] * uspace/lib/ui/src/menu.c (modified) * uspace/lib/ui/src/menubar.c (modified) Fix accelerator keys not working when Caps Lock is enabled Wed, 13 Sep 2023 17:29:07 GMT Jiri Svoboda [1af103e] * uspace/lib/ui/include/types/ui/wdecor.h (modified) * uspace/lib/ui/include/types/ui/window.h (modified) * uspace/lib/ui/include/ui/wdecor.h (modified) * uspace/lib/ui/include/ui/window.h (modified) * uspace/lib/ui/private/wdecor.h (modified) * uspace/lib/ui/private/window.h (modified) * uspace/lib/ui/src/wdecor.c (modified) * uspace/lib/ui/src/window.c (modified) * uspace/lib/ui/test/wdecor.c (modified) * uspace/lib/ui/test/window.c (modified) System menu (WIP) The system menu provides browsable, ... Fri, 08 Sep 2023 08:47:30 GMT Jiri Svoboda [46bd63c9] * uspace/app/calculator/calculator.c (modified) * uspace/app/edit/edit.c (modified) * uspace/app/nav/menu.c (modified) * uspace/app/uidemo/uidemo.c (modified) * uspace/lib/ui/include/types/ui/menu.h (modified) * uspace/lib/ui/include/types/ui/menudd.h (added) * uspace/lib/ui/include/ui/menu.h (modified) * uspace/lib/ui/include/ui/menudd.h (added) * uspace/lib/ui/meson.build (modified) * uspace/lib/ui/private/menu.h (modified) * uspace/lib/ui/private/menubar.h (modified) * uspace/lib/ui/private/menudd.h (added) * uspace/lib/ui/src/menu.c (modified) * uspace/lib/ui/src/menubar.c (modified) * uspace/lib/ui/src/menudd.c (added) * uspace/lib/ui/src/menuentry.c (modified) * uspace/lib/ui/test/main.c (modified) * uspace/lib/ui/test/menu.c (modified) * uspace/lib/ui/test/menubar.c (modified) * uspace/lib/ui/test/menudd.c (added) * uspace/lib/ui/test/menuentry.c (modified) Split drop-down menu into two classes: drop-down and menu Naming is ... Thu, 10 Aug 2023 14:25:09 GMT Jiri Svoboda [0b6fad9] * uspace/srv/hid/display/seat.c (modified) Avoid null pointer dereference when switching focus I hit this when ... Wed, 09 Aug 2023 14:50:00 GMT Jiri Svoboda [24be331e] * uspace/lib/ui/src/selectdialog.c (modified) Make select dialog a little wider To fit device names. What we ... Wed, 09 Aug 2023 11:27:03 GMT Jiri Svoboda [acd7ac2] * uspace/srv/hid/display/seat.c (modified) * uspace/srv/hid/display/test/seat.c (modified) * uspace/srv/hid/display/test/window.c (modified) * uspace/srv/hid/display/window.c (modified) * uspace/srv/hid/display/window.h (modified) Switch focus to the right window when window is closed Tue, 08 Aug 2023 16:25:27 GMT Jiri Svoboda [a77c722] * uspace/lib/ui/src/list.c (modified) Update page_idx and cursor_idx after deleting UI list entry Tue, 08 Aug 2023 07:33:40 GMT Jiri Svoboda [8a4ceaa] * uspace/app/display-cfg/seats.c (modified) * uspace/srv/hid/display/cfgops.c (modified) Refuse to delete the last seat Mon, 15 May 2023 16:19:52 GMT Jiri Svoboda [14cbf07] * uspace/app/display-cfg/display-cfg.c (modified) * uspace/app/display-cfg/display-cfg.h (modified) * uspace/app/display-cfg/main.c (modified) * uspace/app/display-cfg/seats.c (modified) * uspace/app/display-cfg/seats.h (modified) * uspace/app/display-cfg/test/seats.c (modified) * uspace/lib/ui/include/ui/selectdialog.h (modified) * uspace/lib/ui/src/selectdialog.c (modified) * uspace/lib/ui/test/selectdialog.c (modified) Fill in tests seats_list_populate and avail_devices_insert Wed, 10 May 2023 21:04:22 GMT Jakub Jermář [aace43d8] * contrib/qemu/build-from-scratch.sh (modified) * tools/ew.py (modified) Bump QEMU version to 8.0.0 Also fix the QEMU command line for ... Tue, 25 Apr 2023 11:48:50 GMT Jiri Svoboda [cdf5361] * uspace/app/display-cfg/main.c (added) * uspace/app/display-cfg/test/seats.c (modified) * uspace/lib/dispcfg/include/dispcfg.h (modified) * uspace/lib/dispcfg/include/testdc.h (added) * uspace/lib/dispcfg/include/types/dispcfg.h (modified) * uspace/lib/dispcfg/include/types/testdc.h (added) * uspace/lib/dispcfg/meson.build (modified) * uspace/lib/dispcfg/src/testdc.c (added) * uspace/lib/dispcfg/test/dispcfg.c (modified) Factor out test display service So that we can use it in ... Thu, 20 Apr 2023 18:43:15 GMT Jiri Svoboda [97d3d9d] * uspace/app/display-cfg/display-cfg.c (modified) * uspace/app/display-cfg/display-cfg.h (modified) * uspace/app/display-cfg/meson.build (modified) * uspace/app/display-cfg/seats.c (modified) * uspace/app/display-cfg/seats.h (modified) * uspace/app/display-cfg/test/display-cfg.c (modified) * uspace/app/display-cfg/test/seats.c (modified) Start filling in unit tests for display-cfg Wed, 19 Apr 2023 16:21:36 GMT Jiri Svoboda [37087c8] * uspace/lib/ui/test/list.c (modified) Fill in unimplemented UI list tests Wed, 19 Apr 2023 11:13:06 GMT Jiri Svoboda [c0757e1f] * uspace/app/disp/disp.c (modified) * uspace/app/display-cfg/display-cfg.c (added) * uspace/app/display-cfg/display-cfg.h (added) * uspace/app/display-cfg/doc/doxygroups.h (added) * uspace/app/display-cfg/meson.build (added) * uspace/app/display-cfg/seats.c (added) * uspace/app/display-cfg/seats.h (added) * uspace/app/display-cfg/test/display-cfg.c (added) * uspace/app/display-cfg/test/main.c (added) * uspace/app/display-cfg/test/seats.c (added) * uspace/app/display-cfg/types/display-cfg.h (added) * uspace/app/display-cfg/types/seats.h (added) * uspace/app/meson.build (modified) * uspace/app/uidemo/uidemo.c (modified) * uspace/lib/dispcfg/include/dispcfg.h (modified) * uspace/lib/dispcfg/include/dispcfg_srv.h (modified) * uspace/lib/dispcfg/include/ipc/dispcfg.h (modified) * uspace/lib/dispcfg/include/types/dispcfg.h (modified) * uspace/lib/dispcfg/src/dispcfg.c (modified) * uspace/lib/dispcfg/src/dispcfg_srv.c (modified) * uspace/lib/dispcfg/test/dispcfg.c (modified) * uspace/lib/ui/include/types/ui/selectdialog.h (added) * uspace/lib/ui/include/ui/entry.h (modified) * uspace/lib/ui/include/ui/list.h (modified) * uspace/lib/ui/include/ui/selectdialog.h (added) * uspace/lib/ui/include/ui/tab.h (modified) * uspace/lib/ui/meson.build (modified) * uspace/lib/ui/private/entry.h (modified) * uspace/lib/ui/private/filelist.h (modified) * uspace/lib/ui/private/list.h (modified) * uspace/lib/ui/private/promptdialog.h (modified) * uspace/lib/ui/private/selectdialog.h (added) * uspace/lib/ui/src/filelist.c (modified) * uspace/lib/ui/src/list.c (modified) * uspace/lib/ui/src/promptdialog.c (modified) * uspace/lib/ui/src/selectdialog.c (added) * uspace/lib/ui/test/filelist.c (modified) * uspace/lib/ui/test/list.c (modified) * uspace/lib/ui/test/main.c (modified) * uspace/lib/ui/test/selectdialog.c (added) * uspace/srv/hid/display/cfgops.c (modified) UI display configuration utility In addition to the command-line ... Wed, 19 Apr 2023 09:31:02 GMT Jiří Zárevúcky [ec8ef12] * kernel/generic/src/proc/scheduler.c (modified) Split find_best_thread() into two functions try_find_thread() ... Wed, 19 Apr 2023 09:31:02 GMT Jiří Zárevúcky [117ad5a2] * kernel/generic/src/proc/scheduler.c (modified) Get thread priority from find_best_thread(), instead of locking ... Tue, 18 Apr 2023 17:33:02 GMT Jiří Zárevúcky [f3dbe27] * kernel/arch/amd64/src/cpu/cpu.c (modified) * kernel/arch/ia32/src/cpu/cpu.c (modified) * kernel/generic/include/cpu.h (modified) * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/thread.c (modified) Reduce locking further with lazy FPU It turns out we only need a ... Sun, 16 Apr 2023 13:00:39 GMT Jiří Zárevúcky [06f81c4] * kernel/generic/include/cpu.h (modified) * kernel/generic/include/proc/thread.h (modified) * kernel/generic/src/cpu/cpu.c (modified) * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/thread.c (modified) Check cpu_t::fpu_owner directly instead of ... Sun, 16 Apr 2023 12:39:04 GMT Jiří Zárevúcky [fbaf6ac] * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/thread.c (modified) Streamline thread load-balancing Sun, 16 Apr 2023 12:22:00 GMT Jiří Zárevúcky [169815e] * kernel/generic/include/cpu.h (modified) * kernel/generic/src/cpu/cpu.c (modified) * kernel/generic/src/interrupt/interrupt.c (modified) * kernel/generic/src/mm/tlb.c (modified) * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/thread.c (modified) * kernel/generic/src/sysinfo/stats.c (modified) * kernel/generic/src/time/clock.c (modified) Split cpu_t::lock into fpu_lock and tlb_lock For all other ... Sat, 15 Apr 2023 16:47:54 GMT Jiří Zárevúcky [b2ec5cf] * kernel/generic/include/atomic.h (modified) * kernel/generic/include/cpu.h (modified) * kernel/generic/src/cpu/cpu.c (modified) * kernel/generic/src/interrupt/interrupt.c (modified) * kernel/generic/src/sysinfo/stats.c (modified) * kernel/generic/src/time/clock.c (modified) Implement atomic_time_stat_t for lockless timekeeping We keep ... Sat, 15 Apr 2023 16:30:15 GMT Jiří Zárevúcky [dd218ea] * kernel/generic/include/proc/thread.h (modified) * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/thread.c (modified) Remove unnecessary thread_t::wired There's already ... Fri, 07 Apr 2023 18:23:19 GMT Jiří Zárevúcky [c680333] * kernel/generic/src/mm/as.c (modified) * kernel/generic/src/proc/scheduler.c (modified) Move task switch handling into a separate function Tue, 21 Mar 2023 17:41:48 GMT Jiří Zárevúcky [3118355] * kernel/generic/src/proc/scheduler.c (modified) Optimize relink_rq() Iterate backwards and only lock each runqueue ... Tue, 21 Mar 2023 17:31:07 GMT Jiří Zárevúcky [72ac106] * kernel/generic/include/adt/list.h (modified) * uspace/lib/c/include/adt/list.h (modified) Add list_swap() for swapping lists Wed, 08 Mar 2023 18:21:22 GMT Jiri Svoboda [7cf5ddb] * uspace/app/nav/panel.c (modified) * uspace/app/uidemo/uidemo.c (modified) * uspace/app/uidemo/uidemo.h (modified) * uspace/lib/ui/include/types/ui/list.h (added) * uspace/lib/ui/include/ui/filelist.h (modified) * uspace/lib/ui/include/ui/list.h (added) * uspace/lib/ui/meson.build (modified) * uspace/lib/ui/private/filelist.h (modified) * uspace/lib/ui/private/list.h (added) * uspace/lib/ui/src/filelist.c (modified) * uspace/lib/ui/src/list.c (added) * uspace/lib/ui/test/filelist.c (modified) * uspace/lib/ui/test/list.c (added) * uspace/lib/ui/test/main.c (modified) Generic UI list control Derived from file list, now file list is ... Sun, 26 Feb 2023 15:27:13 GMT Jiří Zárevúcky [bea6233] * kernel/arch/abs32le/include/arch/asm.h (modified) * kernel/arch/amd64/include/arch/asm.h (modified) * kernel/arch/arm32/include/arch/asm.h (modified) * kernel/arch/arm64/include/arch/asm.h (modified) * kernel/arch/ia32/include/arch/asm.h (modified) * kernel/arch/ia64/include/arch/asm.h (modified) * kernel/arch/mips32/include/arch/asm.h (modified) * kernel/arch/ppc32/include/arch/asm.h (modified) * kernel/arch/riscv64/include/arch/asm.h (modified) * kernel/arch/sparc64/include/arch/asm.h (modified) * kernel/generic/src/proc/scheduler.c (modified) Replace cpu_sleep() with cpu_interruptible_sleep() The new function ... Sun, 26 Feb 2023 11:36:18 GMT Jiří Zárevúcky [deed510] * kernel/generic/include/main/main.h (modified) * kernel/generic/src/main/main.c (modified) Remove an unused variable and make a few others 'static' They ... Sun, 26 Feb 2023 11:24:51 GMT Jiří Zárevúcky [6188fee] * kernel/arch/mips32/src/mm/frame.c (modified) * kernel/generic/src/mm/frame.c (modified) Exclude boot allocations in frame allocator I think some platforms ... Sat, 25 Feb 2023 13:16:38 GMT Jiří Zárevúcky [65f3117] * kernel/arch/amd64/src/smp/ap.S (modified) * kernel/arch/ia32/src/smp/ap.S (modified) * kernel/arch/mips32/src/mm/frame.c (modified) * kernel/arch/sparc64/src/sun4u/start.S (modified) * kernel/generic/include/config.h (modified) * kernel/generic/src/main/main.c (modified) * kernel/generic/src/mm/frame.c (modified) Make bootstrap stack statically, rather than dynamically allocated ... Sat, 25 Feb 2023 13:16:15 GMT Jiří Zárevúcky [4f84ee42] * kernel/generic/include/synch/spinlock.h (modified) Fix a bug accidentally introduced in 4777e022 Sat, 25 Feb 2023 11:51:04 GMT Jiří Zárevúcky [c7326f21] * kernel/generic/src/proc/thread.c (modified) Move some oddly placed accounting code Thread ucycles and kcycles ... Sun, 12 Feb 2023 22:25:23 GMT Jiří Zárevúcky [4777e02] * kernel/generic/include/synch/spinlock.h (modified) * kernel/generic/src/synch/spinlock.c (modified) Make spinlock functions inlineable in non-SMP case By popular demand. Sat, 11 Feb 2023 19:13:44 GMT Jiří Zárevúcky [111b9b9] * kernel/generic/include/proc/scheduler.h (modified) * kernel/generic/include/proc/thread.h (modified) * kernel/generic/include/synch/waitq.h (modified) * kernel/generic/include/time/timeout.h (modified) * kernel/generic/src/ipc/event.c (modified) * kernel/generic/src/ipc/ipc.c (modified) * kernel/generic/src/ipc/irq.c (modified) * kernel/generic/src/ipc/sysipc.c (modified) * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/task.c (modified) * kernel/generic/src/proc/thread.c (modified) * kernel/generic/src/synch/condvar.c (modified) * kernel/generic/src/synch/semaphore.c (modified) * kernel/generic/src/synch/syswaitq.c (modified) * kernel/generic/src/synch/waitq.c (modified) * kernel/generic/src/time/timeout.c (modified) * kernel/generic/src/udebug/udebug.c (modified) * kernel/generic/src/udebug/udebug_ops.c (modified) * kernel/test/synch/semaphore1.c (modified) * kernel/test/synch/semaphore2.c (modified) Reimplement waitq using thread_wait/wakeup This adds a few ... Sat, 11 Feb 2023 18:50:54 GMT Jiří Zárevúcky [76e17d7c] * kernel/generic/include/synch/mutex.h (modified) * kernel/generic/include/synch/semaphore.h (modified) * kernel/generic/src/synch/mutex.c (modified) * kernel/generic/src/synch/semaphore.c (modified) Reorganize mutex implementation Sat, 11 Feb 2023 18:35:15 GMT Jiří Zárevúcky [11d2c983] * kernel/generic/include/proc/task.h (modified) * kernel/generic/src/proc/thread.c (modified) Reorganize locking in thread_destroy() Fri, 10 Feb 2023 22:59:11 GMT Jiří Zárevúcky [1871118] * kernel/generic/include/lib/refcount.h (modified) * kernel/generic/include/proc/thread.h (modified) * kernel/generic/include/synch/waitq.h (modified) * kernel/generic/src/console/cmd.c (modified) * kernel/generic/src/ipc/kbox.c (modified) * kernel/generic/src/main/kinit.c (modified) * kernel/generic/src/main/uinit.c (modified) * kernel/generic/src/proc/program.c (modified) * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/task.c (modified) * kernel/generic/src/proc/thread.c (modified) * kernel/generic/src/synch/waitq.c (modified) * kernel/generic/src/sysinfo/stats.c (modified) * kernel/generic/src/udebug/udebug_ops.c (modified) * kernel/test/mm/falloc2.c (modified) * kernel/test/mm/slab1.c (modified) * kernel/test/mm/slab2.c (modified) * kernel/test/synch/semaphore1.c (modified) * kernel/test/synch/semaphore2.c (modified) * kernel/test/thread/thread1.c (modified) Make thread_t reference counted This simplifies interaction between ... Fri, 10 Feb 2023 15:18:53 GMT Jiří Zárevúcky [daadfa6] * kernel/generic/include/cpu.h (modified) * kernel/generic/src/main/main.c (modified) * kernel/generic/src/proc/scheduler.c (modified) Remove unnecessary context field from cpu_t structure Thu, 09 Feb 2023 17:42:22 GMT Jiří Zárevúcky [e994898] * kernel/generic/src/synch/mutex.c (modified) Fix an oops Thu, 09 Feb 2023 16:55:34 GMT Jiří Zárevúcky [4c78104] * kernel/generic/include/synch/semaphore.h (modified) * kernel/generic/include/synch/waitq.h (modified) * kernel/generic/src/synch/mutex.c (modified) * kernel/generic/src/synch/semaphore.c (modified) * kernel/generic/src/synch/waitq.c (modified) Get rid of waitq_count_get/set Thu, 09 Feb 2023 16:29:37 GMT Jiří Zárevúcky [c0b54c9] * kernel/generic/src/synch/waitq.c (modified) Thread is guaranteed to exist in waitq_sleep_timed_out ... Thu, 09 Feb 2023 16:12:24 GMT Jiří Zárevúcky [83789ea2] * kernel/generic/include/proc/thread.h (modified) * kernel/generic/src/proc/thread.c (modified) * kernel/generic/src/synch/waitq.c (modified) * kernel/generic/src/time/timeout.c (modified) Simplify timeout handling Since timeout_unregister() now waits for ... Thu, 09 Feb 2023 15:31:39 GMT Jiří Zárevúcky [ba25c4b] * kernel/generic/include/time/timeout.h (modified) * kernel/generic/src/time/clock.c (modified) * kernel/generic/src/time/timeout.c (modified) Synchronize timeout_unregister() with handler execution This ... Tue, 07 Feb 2023 18:43:26 GMT Jiří Zárevúcky [78acbc72] * kernel/generic/include/proc/thread.h (modified) * kernel/generic/src/proc/task.c (modified) * kernel/generic/src/proc/thread.c (modified) Remove unused thread_interrupted(), make thread_interrupt() useful Tue, 07 Feb 2023 16:49:43 GMT Jiří Zárevúcky [0366d09d] * kernel/arch/abs32le/include/arch/fpu_context.h (modified) * kernel/arch/arm32/include/arch/fpu_context.h (modified) * kernel/arch/arm64/include/arch/fpu_context.h (modified) * kernel/arch/arm64/include/arch/fpu_context_struct.h (modified) * kernel/arch/ia32/include/arch/fpu_context.h (modified) * kernel/arch/ia64/include/arch/fpu_context.h (modified) * kernel/arch/mips32/include/arch/fpu_context.h (modified) * kernel/arch/mips32/include/arch/fpu_context_struct.h (modified) * kernel/arch/ppc32/include/arch/fpu_context.h (modified) * kernel/arch/ppc32/include/arch/fpu_context_struct.h (modified) * kernel/arch/sparc64/include/arch/fpu_context.h (modified) * kernel/generic/include/proc/thread.h (modified) * kernel/generic/src/proc/scheduler.c (modified) * kernel/generic/src/proc/thread.c (modified) Avoid separate allocation for FPU context With _Alignas, we can ... Tue, 07 Feb 2023 16:11:53 GMT Jiri Svoboda [1eaead4] * uspace/app/uidemo/uidemo.c (modified) * uspace/app/uidemo/uidemo.h (modified) * uspace/lib/ui/include/types/ui/tab.h (added) * uspace/lib/ui/include/types/ui/tabset.h (added) * uspace/lib/ui/include/types/ui/testctl.h (added) * uspace/lib/ui/include/ui/paint.h (modified) * uspace/lib/ui/include/ui/tab.h (added) * uspace/lib/ui/include/ui/tabset.h (added) * uspace/lib/ui/include/ui/testctl.h (added) * uspace/lib/ui/meson.build (modified) * uspace/lib/ui/private/tab.h (added) * uspace/lib/ui/private/tabset.h (added) * uspace/lib/ui/private/testctl.h (added) * uspace/lib/ui/src/paint.c (modified) * uspace/lib/ui/src/tab.c (added) * uspace/lib/ui/src/tabset.c (added) * uspace/lib/ui/src/testctl.c (added) * uspace/lib/ui/src/window.c (modified) * uspace/lib/ui/test/control.c (modified) * uspace/lib/ui/test/main.c (modified) * uspace/lib/ui/test/paint.c (modified) * uspace/lib/ui/test/tab.c (added) * uspace/lib/ui/test/tabset.c (added) * uspace/lib/ui/test/testctl.c (added) * uspace/lib/ui/test/wdecor.c (modified) Tab set control This allows to expand the space available in a ... Tue, 07 Feb 2023 16:03:05 GMT Jiří Zárevúcky [7c5320c] * kernel/arch/ia32/src/smp/smp.c (modified) * kernel/arch/sparc64/src/smp/sun4u/smp.c (modified) * kernel/arch/sparc64/src/smp/sun4v/smp.c (modified) * kernel/generic/include/console/chardev.h (modified) * kernel/generic/include/smp/smp.h (modified) * kernel/generic/src/console/chardev.c (modified) * kernel/generic/src/main/kinit.c (modified) * kernel/generic/src/main/main.c (modified) * kernel/generic/src/smp/smp.c (modified) Use the semaphore interface instead of waitq in some places Since ...