From owner-cvs-all@FreeBSD.ORG Sat Feb 18 10:41:09 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5DF616A420; Sat, 18 Feb 2006 10:41:09 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9314543D45; Sat, 18 Feb 2006 10:41:09 +0000 (GMT) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1IAf917018970; Sat, 18 Feb 2006 10:41:09 GMT (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1IAf9dN018969; Sat, 18 Feb 2006 10:41:09 GMT (envelope-from mux) Message-Id: <200602181041.k1IAf9dN018969@repoman.freebsd.org> From: Maxime Henrion Date: Sat, 18 Feb 2006 10:41:08 +0000 (UTC) To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: projects/csup Makefile config.h detailer.c diff.c diff.h keyword.c keyword.h proto.c updater.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 10:41:09 -0000 mux 2006-02-18 10:41:08 UTC FreeBSD projects repository Modified files: csup Makefile config.h detailer.c diff.c diff.h keyword.c keyword.h proto.c updater.c Log: - Connect fixups.c and fixups.h to the build. - Use the fixups API in the detailer and updater thread to implement fixups. The object itself is created in proto_init() before the worker threads are created, and destroyed once they have all exited. - The struct diff used by diff_apply() and keyword_expand() hsa been rename to struct diffinfo, and it now only contains the metadata of a diff. This changes the prototype for the two aforementioned functions, so update the code and the consumers appropriately. - Many, many code shuffling in the updater thread to make this file less confusing. More specifically, we now pass a struct file_update * to most of the functions, and that will contain everything needed. Revision Changes Path 1.41 +2 -1 projects/csup/Makefile 1.30 +2 -1 projects/csup/config.h 1.39 +29 -6 projects/csup/detailer.c 1.20 +23 -18 projects/csup/diff.c 1.9 +13 -16 projects/csup/diff.h 1.31 +41 -35 projects/csup/keyword.c 1.11 +4 -4 projects/csup/keyword.h 1.73 +4 -3 projects/csup/proto.c 1.75 +493 -414 projects/csup/updater.c