Commit Graph

1334 Commits (d6489c20266152a35f903c1852751a83f1adeea6)

Author SHA1 Message Date
gstein b892974ffe deal with a diff that reports no change
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@88 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-07 13:16:34 +00:00
gstein 78022b0e38 from Tanaka Akira <akr@m17n.org>: add elisp colorization via the "enscript"
program.
  Greg mods: configured with allow_elisp_coloring and enscript_path. read
  and write in chunks rather than slurping in the entire source file.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@87 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-05-07 12:54:02 +00:00
gstein 17c4db41dc initial checkin from Curt.
this currently operates as a CGI, but we will be integrating it as a part
    of viewcvs.cgi; therefore, it is going into lib/ to become a module.
this file is "pure" Curt except for the license in the header (changed per
    Curt's email to the viewcvs-dev list), and some comments about it
    being maintained as part of the ViewCVS project.
    [ change will progress from this snapshot ]


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@86 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-28 14:01:48 +00:00
jpaint 8070b6bba1 import string -- fix bug
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@85 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-27 17:48:05 +00:00
jpaint c8ebba802e * CVSdb now uses viewcvs.conf
* added licence text for lib/compat.py lib/config.py
* viewcvs-install now installs + sets all the paths and modes for
	installed files


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@84 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-26 22:46:47 +00:00
jpaint 5b24650755 just a little bit more work
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@83 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-25 22:26:59 +00:00
jpaint 8b9a143376 fixed bug where we called the old exit function and it's no longer
there!


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@82 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-25 20:35:13 +00:00
jpaint 741a3daefe working on quick-n-dirty installer in Python which will allow us to get
a release out before too long; I need to make a list of to-do items
so this is easy to get working...


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@81 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-25 18:44:33 +00:00
jpaint 1cf42799f7 fix bug in rlog parser when it unexpectedly comes to the end of the
pipe


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@79 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-24 22:13:41 +00:00
jpaint fb144dfa9d okay, found the date problem: glibc2.0.7's mktime has problems, so I
re-wrote the time calculation code to side-step those bugs


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@78 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-24 19:53:12 +00:00
jpaint 7963916b11 syntax error...
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@77 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 22:54:45 +00:00
jpaint f79830925a work around more time bugs in MySQLdb
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@76 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 22:50:51 +00:00
jpaint 2217f50d1c oh, please let me get this one right
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@75 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 22:24:38 +00:00
jpaint 7cd158651d okay, all the MySQLdb dataobject tick-based time handling methods are
broken in various ways -- reconstruct GMT ticks from time module's
mktime...


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@74 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 22:09:43 +00:00
jpaint b35c4f4e9f okay, now time handling is REALLY fixed!
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@73 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 20:30:49 +00:00
jpaint 1f5eb1b433 finally fixed up my time handling; now all classes store time in
seconds-from-epoc, GMT


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@72 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 18:29:10 +00:00
gstein 0eee32c64c initial checkin. yanked from viewcvs.cgi
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@71 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 09:51:45 +00:00
jpaint 61d80c751e *doh* let's not send my passwords out as the default; added the
"cvsdb.enabled" attribute to enable/disable cvsdb support in
viewcvs


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@70 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-23 01:33:14 +00:00
jpaint db44b541e0 shaved off another 0.5 second on my test RCS file, which has 4800 commits
and now parses in about 7.5 seconds on my K7-500; it was parsing at about
12.0 seconds before profiling


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@69 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-22 19:59:36 +00:00
jpaint 3d2559276c speed improvments to rlog.py by using match.groups() instead of match.group
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@68 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-22 19:05:05 +00:00
gstein 0c963cf529 add CVSdb config entries (these went into config.py, too)
update the URLs that lead to the ViewCVS web site


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@67 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-22 09:27:00 +00:00
gstein 50b3d40958 shift the config code to ../lib/config.py
shift the 1.5.x compatibility code to ../lib/compat.py
update the URL pointing to the ViewCVS web site
revise handle_config() for new config mgmt.
add LIBRARY_DIR and CONF_PATHNAME with notes about install-time behavior.
use the above two values to find our library and config file.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@66 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-22 09:24:53 +00:00
gstein 7bb0ae1b29 initial checkin. yanked out of viewcvs.cgi.
moved defaults into a set_defaults() method.
update the URLs that point to the ViewCVS web site.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@65 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-22 09:22:35 +00:00
gstein 01b472e9fd add these modules -- we probably want to redistribute them.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@64 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-22 08:56:46 +00:00
jpaint 1f7ea22511 okay, I've fixed the file/attic/",v" problem; now RLogData's filename is
always set with the idealized path name for the RCS file: this means no
",v" and no "Attic" directory.  There needs to be a flag set in RLogData
to show it is an Attic file, but it's not there yet


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@63 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 22:20:26 +00:00
jpaint 3044ae7fba test for the ",v" before stripping until I get the rlog
logic figured out


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@62 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 16:06:49 +00:00
jpaint fafa768bea don't have RLogData remove the ",v" from the end of the file, in fact, we
may want to manually add it so we have an exact file match


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@61 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 16:01:38 +00:00
jpaint 9bc63db2b4 really, really lame queryform.cgi script just to make things work for now
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@60 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 15:37:42 +00:00
jpaint d87876bb54 bug fixes to make logentries for removed files work
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@59 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 15:33:22 +00:00
jpaint cd7aa6b5da moved the RLogData->CommitList converter to cvsdbapi
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@58 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 06:32:20 +00:00
jpaint 024ccc6da3 cgi/granny.cgi: CVS annotate a file, and color code it to show how old lines are;
red is newer, blue is older; contributed by Brian Lenahan (brianl@real.com)

various updates to bootstrap the sys.path madness by keeping the root path in the
file /etc/viewcvs/root; this is open to debate, but works for now

html-templates/querytemplate.html: HTML template used by query.cgi, this will change and/or
	be removed in the future as we figure out a sane/cool way to generate the HTML


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@57 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 06:23:37 +00:00
jpaint 36684bde60 administration program for CVSdb
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@56 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:43:46 +00:00
jpaint d08fb441d7 added loginfo handler for CVSdb updates
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@55 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:43:04 +00:00
jpaint ebe4f1cbeb adding CVSdb cgi
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@54 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:40:54 +00:00
jpaint 0f8b06c9e0 CVSdb library files
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@53 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-21 00:37:20 +00:00
gstein f707ad1d3c more items.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@52 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-19 22:29:33 +00:00
gstein 186b003a76 small patch to fix the popup windows
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@51 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-04-19 07:31:29 +00:00
gstein 621d08cb9f Zachary Bean <xach@mint.net> reported this.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@50 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-25 02:24:24 +00:00
gstein 8288be7f6f one more feature
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@49 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 12:12:23 +00:00
gstein 95e1ab3303 updates for the 0.4 release
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@48 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 11:16:41 +00:00
gstein 05ec3b535d rolling 0.4
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@46 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 11:09:14 +00:00
gstein 5e26bb149a updated installation instructions
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@45 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 11:08:25 +00:00
gstein 94a26cadd1 store this sucker into the CVS repository so others can see it.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@44 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:45:32 +00:00
gstein 22b7f9fcac add some docco to the file.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@43 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:45:07 +00:00
gstein 3c5f8ff0e9 tweak the config doc.
change the default mime types file.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@42 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:44:44 +00:00
gstein b9bf86058a process files, in a directory view, 100 at a time.
tweak to alltags definition: a list is returned instead of a dict. allows us
  to use alltags.update(symrev) for faster merging of a file's tags into
  the alltags dict.


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@41 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 10:27:19 +00:00
gstein 3fcd99d50d patch from Ulrik Dickow <ukd@kampsax.dk> to deal with revisions of the form
X.Y.Z.0, which may occur through "commit -r X.Y.Z.0".


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@40 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 09:03:20 +00:00
gstein 2ca1c8b41b switch over to cfg.* variables rather than the mess o' globals
eliminate view_module()


git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@39 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 08:58:39 +00:00
gstein 59ced64e13 add a missing <br> tag into the doc list.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@38 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 08:55:52 +00:00
gstein d25232f0e9 add a FAQ. pointer from Carter.D.Alvord@usa.alcatel.com.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@37 8cb11bc2-c004-0410-86c3-e597b4017df7
2000-03-24 02:30:34 +00:00