Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

7 check-ins using file genode-haiku/hog-services/indexer/vfs_indexer.cpp version d60692d03a

2023-06-23
11:19
-- Media Kit : fix Duration() calculation -- * decoder/resampler: fix an (upstream?) issue whereby the progress() accessor returned incorrect values when the audio file's sample-rate differed from the Audio-Out sampling rate (e.g. with 22050 versus 44100 Hz, only half of the file would play before being considered finished) ; -- FS etc -- * NTFS-Fuse readdir: weed-out "." and "..", as is done in other file systems ; * clean-up and improve tracing ; -- TESTS -- * audio duration looks good on all test files now ; check-in: 61ba83d049 user: user tags: trunk
2023-05-22
12:15
-- Improve thread robustness -- * overhaul life-cycle handle for threads, with a proper enum ; * handle multiple concurrent wait_for_thread() calls on the same target thread, by using a semaphore instead of directly relying on pthread_join() ; * add test-suite test for that ; * need that for proper/stable support of BAlert and others ; * join()ing a terminated thread is now done deterministically in the dtor (we no longer have a "thread/garbage collector") ; -- TESTS -- * test results: ; * BAlert no longer hangs up, no matter if in sync or async mode ; check-in: 0eb7451d50 user: user tags: trunk
2023-05-15
13:44
-- Add networking, add jam-t9 tests -- * this commit enables internet access for libc sockets API applications, like e.g. vnc (with BSocket style API support to follow later) ; * added new "AddNetworkingComponents" rule -- call it if your run scenario involves internet traffic, it will setup nic_drv and nic_router ; * increased ROM count ceiling from 65 to 75 items ; * added VNC server compatibility in the new network rules and also in event_filter (so that vncd can "inject" mouse/kbd events) -- thus including vnc in a run scenario is now as simple as adding the vnc_server component referring to /socket/lxip, it just has to hardcode ip_addr=10.0.3.11 ; * added "jam t9" test level which adds networking on top of the rest, though this really only checks that the driver runs in qemu, no actual "socket" tests have been added to the testsuite ; * also cleaned-up/optim'ed other test levels -- "jam t1" is especially fast now ; -- TESTS -- * our main test laptop now runs vnc_server (patched for "zero alloc" problem) for hours at end, with a semi-permanent client connection to keep on eye on AutoCast from another computer on the LAN, with zero issue thus far ; check-in: 97df03ccdb user: user tags: trunk
2023-05-02
16:26
-- Improve Media Kit support of ogg/vorbis etc -- * fix decoder's iterating of demuxer packets : don't give up on the file if stumbling on an unknown chunk ; * cap ProduceBuffer() iterations at a given 'max' value (previously it was provided a 'min' value) ; * also make sure to not leak AV packets in any code path ; * altogether, this changeset restores behavior of the original genode-world sample code, which supported ogg/vorbis etc ; -- Extend FS test suite to exhibit opendir 'freeze' -- * allow FS tests to also run in client-server mode, in addition to hosting the ntfs plug-in in the client as previously ; * add more systematic tests for opendir() ; * that allows to demonstrate an opendir() 'hang up' that is 100% reproducible (in qemu), so long as the indexer is part of the combo ; * the culprit is probably our indexer plug-in and not Genode ; -- TESTS -- * those media changes fix audio playback of the test ogg/vorbis files here ; * we're still 100% stable in AC, so long as report-logging is disabled ; * still working on the FS lock-up, seems ge-libc's opendir does not return from "monitor" or some such ; check-in: ff8044a67e user: user tags: trunk
2023-04-14
08:58
(release: 23.1) -- Tweak MediaKit, InterfaceKit -- * BMediaFile et al: add wiring for HasData(), though that does not seem to improve detection of aborted decodings (ogg/vorbis eg) ; * replace open-ended loop with bounded loop, to make infinite looping impossible ; * only fill the samples FIFO up to 50%, seems to make a difference ; * todo markers: plan ahead to clean up the mess ; * BWindow.UpdateIfNeeded(): release the window lock after (not before) we're done painting ; -- TESTS -- * stability seems to improve with the above changes ; * let's widen the test pool to gather more data ; check-in: 23de9e0e66 user: user tags: release, trunk
2023-04-12
19:56
-- Fix semaphores, update test suite -- * delete_sem() now "ups" (releases) the semaphore before destroying it, mirroring upstream-hai behavior ; * that fixes BAlert.Go() never returning in some cases (asynchronous mode & invoked from a BWindow thread) ; * test suite: added a test case for the above, plus a lot of NTFS test tweaks ; * GeInput: support a few more keys ; -- TESTS -- * test suite: we fail just 2 symlink-related tests (deviation required in order to support dot-paths for xattr purposes, it seems) ; * benchmarks: some timing ceilings have increased, some decreased a bit ; check-in: cf56bb84c5 user: user tags: trunk
2023-04-10
19:32
clean-up todo markers -- * downgrade many FIXME's into ToDo's, most of them can no longer block the release and will have to wait ; * downgrade a few 'error' logs into 'warning's too ; -- TESTS -- * seems freezes are still there, just very difficult to replicate now (when BAlerts are involved, but also when AC transitions to a new audio file), maybe I'll have to rely on "heartbeat" CoS after all ; check-in: a7eabee25d user: user tags: trunk