1. 01 Jan, 2006 1 commit
  2. 28 Dec, 2005 2 commits
    • Per Cederqvist's avatar
      Cleanup of simple-cache.c. (Bug 172). Allocate less memory when · dc65390c
      Per Cederqvist authored
      performing a pattern name match.  
      * src/server/simple-cache.c: Removed obsolete comments.  Fixed
      spelling errors in comments.
      (find_matching_info_compare): Don't overflow if a Conf_no doesn't
      fit in an int.
      (find_matching_info): Removed obsolete comments (bug 172).
      (rebuild_matching_info_entry): Added a comment that explains a
      magic "2" in the code.
      (build_matching_info): Use cached_no_of_existing_conferences()
      instead of next_free_num when deciding how large temporary table
      we need.  Reduce the number of loop induction variables.
      (cached_lookup_name): Made code more readable by introducing a
      temporary variable.
    • Per Cederqvist's avatar
      Improved test suite logging. · efeacc85
      Per Cederqvist authored
      * src/server/testsuite/config/unix.exp (simple_expect): Log what
      we are looking for and when we are done looking at verbosity level
      2 and above.
  3. 27 Dec, 2005 10 commits
    • Per Cederqvist's avatar
      Add a testsuite temporary file to svn:ignore. · edffbeda
      Per Cederqvist authored
      * src/server/testsuite: Add locksuite.lock to svn:ignore.
    • Per Cederqvist's avatar
      Don't overestimate the number of conferences as next_free_num when · ed41d632
      Per Cederqvist authored
      allocating certain data structures.  (Bug 164).
      * src/server/simple-cache.c (existing_confs): New static
      (cached_no_of_existing_conferences): Return existing_confs,
      instead of overestimating the number of conferences as
      next_free_num.  (Bug 164).
      (cached_create_conf): Increase existing_confs.
      (cached_delete_conf): Decrease existing_confs.
      (init_cache): Increase existing_confs when a new conference is
      (free_all_cache): Decrease existing_confs when conferences are
      (dump_cache_mem_usage): Dump existing_confs.
      * src/server/testsuite/config/unix.exp (check_memory_usage): Check
      the dump of existing_confs.  Fail if allocated_strings or
      allocated_blocks isn't found in the file.
    • Per Cederqvist's avatar
      Simplified the name parsing routing, and save some small amount of · 55499424
      Per Cederqvist authored
      memory, by removing the priority field of Matching_info.
      * src/libraries/libcommon/parser.c (parse): Don't let the priority
      influence the match.  The priority functionality was poorly
      documented, not used by lyskomd, and made the code more complex.
      * src/libraries/libcommon/parser.h (Matching_info): Removed the
      priority field, which is no longer used.
      * src/server/simple-cache.c (rebuild_matching_info_entry): Don't
      initialize the priority field.
      (build_matching_info): Ditto.
    • Per Cederqvist's avatar
      Minor code cleanup. · c8c248e0
      Per Cederqvist authored
      * src/libraries/libcommon/parser.c (parse): Code cleanup: get rid
      of one level of indentation, and avoid using multiple ways to get
      to the next iteration of the main loop.
    • Per Cederqvist's avatar
      Fixed old typo in the ChangeLog. · e59d09df
      Per Cederqvist authored
    • Per Cederqvist's avatar
      Writing to a client that was disconnecting and blocked could cause · 3aaff933
      Per Cederqvist authored
      the server to crash.  (Bug 1403).
      * src/server/connections.c (check_idle_callback): Don't crash if
      isc_enable() fails.  Emit the session number in the log, mostly
      for debug purposes.
    • Per Cederqvist's avatar
      Add automake-generated files to svn:ignore. · d4ad19a5
      Per Cederqvist authored
      * scripts: Add depcomp, install-sh, mdate-sh, missing,
      mkinstalldirs and texinfo.tex to svn:ignore.
      * src/libraries/adns: Add depcomp, missing,  and mkinstalldirs to
      * src/libraries/libisc-new: Add depcomp to svn:ignore.
      * src/libraries/liboop: Add depcomp, install-sh, missing and
      mkinstalldirs to svn:ignore.
    • Per Cederqvist's avatar
      Add TAGS to svn:ignore. · acc319ea
      Per Cederqvist authored
    • Per Cederqvist's avatar
      Don't hang if "Use DNS" is off. (Bug 1318.) Thanks to Rasmus · 3e987837
      Per Cederqvist authored
      Sten who reported the bug and proposed an alternate fix.
      * src/server/connections.c (login_request): Don't hang if the "Use
      DNS" option is false.  (Bug 1318).  Log a warning message if
      isc_resolve_remote() fails.
      (src/server/testsuite/lyskomd.0/bug-1318.exp): New file.  Test the
      "Use DNS: off" configuration option.
    • Per Cederqvist's avatar
      "make check" without a previous "make" failed, because · efa7c6b0
      Per Cederqvist authored
      checkkomspace was not built early enough.  Also, the test suite
      should not fail on platforms that don't support fsusage.c.
      * src/server/Makefile.am (CHECKKOMSPACE): New empty variable.
      Append checkkomspace$(EXEEXT) to it if we HAVE_FSUSAGE.
      (check-lyskomd): Depend on $(CHECKKOMSPACE).
      (check-recursive): Ditto.
      * src/server/testsuite/lyskomd.0/50.exp: Report "unsupported" if
      checkkomspace is not built.  (Don't fail with fatal errors.)
  4. 19 Dec, 2005 6 commits
  5. 18 Dec, 2005 11 commits
  6. 12 Dec, 2005 4 commits
  7. 11 Dec, 2005 6 commits