1. 25 Jun, 2022 1 commit
    • Rob Swindell's avatar
      Fix issue with iniSet* functions and root section · ee057c05
      Rob Swindell authored
      Bug introduced in commit 0d9111a5: iniSet* functions would write key/values to the end of the list when the root section (NULL) was specified, rather than the beginning of the list.
      The root section always starts at the beginning of the list/file, so I'm not sure why section_start() was doing anything other than returning 0 for the root section. It's possible this now breaks iniSortSections() in some way, so that should be retested with a file with a root section and named sections.
      ee057c05
  2. 24 Jun, 2022 3 commits
  3. 21 Jun, 2022 4 commits
  4. 20 Jun, 2022 1 commit
  5. 17 Jun, 2022 6 commits
  6. 15 Jun, 2022 4 commits
  7. 14 Jun, 2022 2 commits
  8. 13 Jun, 2022 1 commit
  9. 12 Jun, 2022 3 commits
  10. 11 Jun, 2022 13 commits
  11. 10 Jun, 2022 1 commit
    • Rob Swindell's avatar
      Force a garbage collection in the event "wait forever" loop · d07ae18a
      Rob Swindell authored
      This appears to fix the "lots of user.dat files open concurrently" behavior
      that remains when a browser/client has the webv4 page open for a long
      duration.
      
      Eventually, the User objects created in this loop would be cleaned (and the
      user.dat file descriptors closed), but the default garbage collection interval
      (configurable) is 1000 calls to the CommonOperationCallback function. This could
      be as as long as 1000 times through this loop before GC occurs.
      
      Since this is not a performance sensitive loop (we have a call to sleep for a
      full second) just force a garbage collection for each loop iteration.
      d07ae18a
  12. 09 Jun, 2022 1 commit