Tk-TableMatrix-1.29/000755 000765 000024 00000000000 14332233761 014362 5ustar00userstaff000000 000000 Tk-TableMatrix-1.29/myConfig000644 000765 000024 00000022655 14332227734 016075 0ustar00userstaff000000 000000 # -*- cperl -*- require 5.00404; my $path = "$Config{'archlibexp'}/CORE/perl.h"; die "Cannot find '$path' have you installed $^X?\n" unless (-r $path); print "$^X is installed in $Config{'archlibexp'} okay\n"; use Config; use Cwd; warn "No VERSION" unless (defined $VERSION); my %define = (); $inc = ""; $xlib = ""; $define = ''; $gccopt = ""; @macro = ( macro => {} ); if (defined $Config{'gccversion'}) { $ver = $Config{'gccversion'}; if( $ver ge "2.8" ) { # retain author's favourite warnings if using gcc $gccopt .= " -ggdb -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__"; eval { if ((getpwuid($<))[6] =~ /Nick\s+Ing-Simmons/) { # This is the author - catch as many bugs as possible $gccopt .= " -MMD -Werror"; @macro = ( macro => { INSTALLDIRS => 'perl' }); } }; } # else{ $define .= ' -g ' } } if ($] >= 5.005) { # Add PPM support stuff push(@macro, ABSTRACT => 'Tk::tkTable - a Spreadsheet/Table Widget', AUTHOR => 'jcerney@home.com (John Cerney)' ); my $arch = ($^O eq 'MSWin32') ? $ENV{'PROCESSOR_ARCHITECTURE'} : $Config{'archname'}; push(@ARGV,"BINARY_LOCATION=$arch/Tk$VERSION-PPM.tar.gz"); warn "PPM for perl$]\n"; } else { warn "No PPM for perl$]\n"; } $macro[1]->{WINARCH} = $win_arch; # # Convert perls Config info into -DXXXX for Tk # $define{'USE_PROTOTYPE'} = 1 if ($Config{'prototype'}); $define{'HAVE_UNISTD_H'} = 1 if ($Config{'i_unistd'}); $define{'HAVE_SYS_SELECT_H'} = 1 if ($Config{'i_sysselct'}); $define{'NO_STDLIB_H'} = 1 unless ($Config{'i_stdlib'}); $define{'HAVE_SYS_TIME_H'} = 1 if ($Config{'i_systime'}); $define{'HAVE_LIMITS_H'} = 1 if ($Config{'i_limits'}); $define{'HAS_STDARG'} = 1 if ($Config{'i_stdarg'}); $define{'USE_BCOPY'} = 1 if (!$Config{'d_memmove'} && $Config{'d_bcopy'}); if (defined $Config{'selecttype'}) { my $type = $Config{'selecttype'}; $type =~ s/\s*\*\s*$//; $define{'SELECT_MASK'} = $type; } if (!$Config{'i_unistd'} && defined $Config{'lseektype'}) { my $type = $Config{'lseektype'}; $type =~ s/\s*\*\s*$//; $define{'LSEEK_TYPE'} =$type; } my $voidflags = $Config{'voidflags'}; my $voidused = $Config{'defvoidused'}+0; $define{'NOVOID'} = 1 if (($voidflags & $voidused) != $voidused); $define{'NOCONST'} = 1 unless ($Config{'d_const'}); # # Hunt down X Library - first a function # sub lX11 { my $user = shift; foreach (@_) { # allow any of libX11.a libX11.so.* etc. if (-d $_) { local ($lib); my $pattern = "$_/libX11.*"; $pattern .= " $_/X11$Config::Config{lib_ext}" if $Config::Config{osname} eq 'os2'; foreach $lib (reverse(<$ {pattern}>)) { if (-r $lib) { print "Using -L$_ to find $lib\n"; return "-L$_"; } } } } print "No -lX11 in ",join(' ',@_),"\n" if (@_ && $user); return undef; } sub IX11 { foreach (@_) { if (-d $_ && -d "$_/X11" && -r "$_/X11/Xlib.h") { print "Using -I$_ to find $_/X11/Xlib.h\n"; return "-I$_"; } } return undef; } my @args = (); my $arg; foreach $arg (@ARGV) { if ($arg =~ /^(X11\w*)=(.*)$/) { ${"$1"} = $2; } else { $MakefileName = $1 if ($arg =~ /^MAKEFILE=(.*)$/); push(@args,$arg); } } @ARGV = @args; $win_arch or die '$win_arch not set in myConfig'; if ($win_arch eq 'x') { @xdirs = (); if (defined $X11) { my $dir = $X11; if (-d $dir) { print "Looking for X in $dir\n"; push(@xdirs,$dir); } else { die "X11=$dir is not a directory"; } } else { # Find the X Library through xmkmf! $xmkmf = undef; my @exts = ("", ".cmd", ".bat"); LOOK: foreach $dir (split($Config::Config{path_sep},$ENV{'PATH'})) { foreach $ext (@exts) { if (-x "$dir/xmkmf$ext" && -r "$dir/xmkmf$ext") { $xmkmf = "$dir/xmkmf$ext"; last LOOK; } } } $uiline = undef; if (defined $xmkmf) { open(XMKMF,$xmkmf) || die("Can't open $xmkmf: $!\n"); while() { next unless /UseInstalled/o; warn ("Odd, two lines in the $xmkmf file that have UseInstalled on them:\n$uidir$_") if defined $uiline; $uidir = $_; } close(XMKMF); while (defined $uidir) { last unless ($uidir =~ s!^.*-I(\S+)/lib/X11/config!!o); $try = $1; $try =~ s/'x11root'/$ENV{X11ROOT}/; push(@xdirs,$try); } } print "$xmkmf suggests ",join(' ',@xdirs),"\n" if (@xdirs); } undef $xlib; # Make sure if (defined $X11LIB) { $xlib = &lX11(1,$X11LIB) } if (!defined($xlib) && defined($X11)) { $xlib = &lX11(1,"$X11/lib") } $xlib = &lX11(0,map("$_/lib",@xdirs)) unless (defined $xlib); # Special case for sun-machines unless (defined $xlib) { if ($Config{'osname'} eq 'solaris' || $Config{'osname'} eq 'sunos') { $xlib = &lX11(0,'/usr/openwin/lib'); } } sub chooseX11 { # Aim to prefer X11R5 over X11R4 over X11 (reverse(sort(@_))); } # # If no luck there try "common" places # unless (defined $xlib) { $xlib = &lX11(0,chooseX11(),chooseX11(),,'/usr/X386/lib') } # # Try places perl looks for libraries # This is now "last resort" as /lib and /usr/local/lib are so often # full of dubious links # unless (defined $xlib) { $xlib = &lX11(0,split(/\s+/,$Config{'libpth'})) } unless (defined $xlib) { warn "Cannot find -lX11 anywhere --- cannot build Tk::TableMatrix\n"; exit 0; } ($base) = $xlib =~ m#-L(.*)(?:/lib)$#x; if (defined $X11INC) { $xinc = &IX11("$X11INC"); } $xinc = &IX11("$base/include") unless (defined $xinc); unless (defined $xinc) { warn "Cannot find X include files via $base/include\n"; $xinc = &IX11(map("$_/include",@xdirs), '/usr/openwin/include', chooseX11(), chooseX11(), , '/usr/X386/include', $Config{'usrinc'}); } die "Cannot find X include files anywhere" unless (defined $xinc); if (defined($Config{'gccversion'}) && $Config{'gccversion'} =~ /\S/ && $xinc =~ /^-I(.*openwin.*)$/) { $gccopt .= " -isystem $1"; } $inc = ($xinc eq "-I/usr/include") ? "" : $xinc; } elsif ($win_arch eq 'open32') { unless (defined $toolkit) { my @path = split /;/, $ENV{PATH}; foreach (@path) { next unless m:[\\/]toolkit[\\/]bin:i; my $tlk = "$`/toolkit"; next unless -d "$tlk/H" and -f "$tlk/H/os2win.h"; $toolkit = $tlk; $toolkit =~ s:\\:/:g ; last; } } die "Cannot find OS/2 toolkit" unless $toolkit; $inc = "-I../pTk/mTk/xlib -I../../pTk/mTk/xlib -IpTk/mTk/xlib"; $inc .= " -I$toolkit/H -I../pTk/mTk/open32/h -IpTk/mTk/open32/h -ImTk/os2_rc"; $define .= " -D__WIN32__"; $xlib = "-L$toolkit/LIB -lpmwinx"; } elsif ($win_arch eq 'pm') { $define .= " -D__PM__"; $inc = "-I../pTk/mTk/xlib -I../../pTk/mTk/xlib -IpTk/mTk/xlib -ImTk/os2_rc"; $xlib = ""; # No library is needed } elsif ($IsWin32) { $inc = '-I$(TKDIR)/pTk/mTk/xlib'; } if ($Config{'osname'} eq 'solaris' && $xlib =~ /\bopenwin\b/ ) { $define{'NEED_PRELOAD'} = 1; } sub WriteIfChanged { my ($file,$string) = @_; my ($dir) = $file =~ m#^(.*)/[^/]+$#; if (defined($dir) && !-d $dir) { mkdir($dir,0777) || die "Cannot mkdir $dir:$!"; } my $ok = -f $file; if ($ok = open(IN,"$file")) { my $old = join('',); close(IN); $ok = $old eq $string; print STDERR "$file has changed\n" unless ($ok); } unless ($ok) { open(OUT,">$file") || die "Cannot open $file:$!"; print STDERR "Writing $file\n"; print OUT $string; close(OUT); } } # Config File Write ( Not Needed when building tkTable ) # if (!defined($MakefileName) || $MakefileName eq 'Makefile') if(0) { my $config = "package Tk::Config;\nrequire Exporter;\nuse base qw(Exporter);\n"; my $sym; my @export = (); foreach $sym (qw(VERSION inc define xlib xinc gccopt win_arch)) { my $val = ${$sym}; $val =~ s/([\\\'])/\\$1/g; $config .= "\$$sym = '$val';\n"; push(@export,"\$$sym"); } $config .= "\@EXPORT = qw(".join(' ',@export).");\n1;\n"; WriteIfChanged("Tk/Config.pm",$config); $config = "#ifndef _TKCONFIG\n#define _TKCONFIG\n"; foreach $sym (sort keys %define) { $config .= "#define $sym $define{$sym}\n"; } $config .= "#endif\n"; WriteIfChanged("pTk/tkConfig.h",$config); } 1; Tk-TableMatrix-1.29/pod/000755 000765 000024 00000000000 14332233760 015143 5ustar00userstaff000000 000000 Tk-TableMatrix-1.29/pTk/000755 000765 000024 00000000000 14332233760 015117 5ustar00userstaff000000 000000 Tk-TableMatrix-1.29/ChangeLog000644 000765 000024 00000067670 14332121637 016152 0ustar00userstaff000000 000000 2020-10-17 ASB * set up GitHub repository to have an auto-generated changelog: https://github.com/asb-capfan/Tk-TableMatrix 2007-01-11 20:26 tag TableMatrix_1_23 2007-01-11 20:26 A0182636 * Makefile.PL, pTk/Makefile.PL: Preparation for next release. 2007-01-09 14:00 cerney * Changes, TableMatrix.pm, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm: Preparation for next release 2007-01-09 13:51 cerney * demos/TableMatrixSpreadsheetTest: Updated to be consistent with latest changes in the resizeborders behavoir 2007-01-09 13:50 cerney * TableMatrix/Spreadsheet.pm: Removed extra code that would print "location" when F2 was pressed. (This was debugging code that should have been removed earlier) 2007-01-09 13:46 cerney * TableMatrix/Spreadsheet.pm: Corrected behavoir that wasn't very spreadsheet-like. Now you can only resize row/cols thru the title row/cols. The previous behavoir created problems, because when a user would drag to selected several cells, sometimes the row or col would resize as well. 2006-03-24 13:12 tag TableMatrix_1_22 2006-03-24 13:12 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm, pTk/Makefile.PL: Preparation for next release. 2006-03-11 11:14 cerney * TableMatrix/SpreadsheetHideRows.pm: Updated SpreadsheetHideRows to work properly when the table state is set to "disabled". 2006-03-09 16:05 cerney * TableMatrix/SpreadsheetHideRows.pm: Tweaked the anchor setting on the HideRows indicator (i.e the plus/minus thing) to be 'center'. This will keep any detail-level tags from over-riding if the detail tags have lower priority (e.g. using the tagLower method on them). 2006-03-09 15:52 cerney * TableMatrix/SpreadsheetHideRows.pm, demos/SpreadsheetHideRows: Fixed bug in SpreadSheetHideRows where spans weren't being properly applied when detail was hidden/showed. Added more spans to demo as a check for this condition. 2006-03-05 14:57 tag TableMatrix_1_21 2006-03-05 14:57 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm, pTk/Makefile.PL: Preparation for next release. 2006-03-05 12:44 cerney * TableMatrix/Spreadsheet.pm: Updates to make the new row/col resize work on linux. 2006-03-05 12:35 A0182636 * TableMatrix/Spreadsheet.pm: Updated to make the row/size resize operation (that happens when you drag the row/col borders) apply to every row or column that is currently selected, instead of just the row/col border that was dragged. 2005-01-26 16:29 tag TableMatrix_1_2 2005-01-26 16:29 cerney * TableMatrix.pm: Preparation for next release. 2005-01-26 12:12 cerney * Changes, Makefile.PL, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm, pTk/Makefile.PL: Preparation for next release. 2005-01-26 09:27 A0182636 * pTk/mTk/: Tktable/tkTable.c, Tktable800/tkTable.c: Updated to remove extraneous? Tcl_free that was causing crashes on win32 with perl5.8.4. This Tcl_Free is not used like this to free args to Tcl_ListObjGetElement anywhere else I can find examples in the TableMatrix and Tk source code, so it appears to be truly not needed. 2004-06-14 08:26 cerney * t/create.t: Incorporate Patch from Ed Avis to skip some tests if there is no DISPLAY environment set. This helps with automated build/tests on systems with no display. 2004-04-23 08:40 cerney * TableMatrix/Spreadsheet.pm: Fixed the row/col insert/deletes to work more reliably. 2004-04-06 11:41 cerney * TableMatrix.xs: Patch from Nick Ing-Simmons to correct max/min macro redefine warning messages when compiling. 2004-02-23 07:43 tag TableMatrix_1_1 2004-02-23 07:43 cerney * TableMatrix.xs: Mods to work on win32 with Tk804 ( Originally commited in remote repository by A0182636 on Sun Feb 22 19:10:28 2004 ) 2004-02-13 15:27 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm, pTk/Makefile.PL: Preparation for next release. 2004-02-07 21:09 cerney * Makefile.PL, TableMatrix.xs, myConfig, demos/spreadsheet, pTk/Makefile.PL, pTk/mTk/README, pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTable.h, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTableCellSort.c, pTk/mTk/Tktable/tkTableCmds.c, pTk/mTk/Tktable/tkTableEdit.c, pTk/mTk/Tktable/tkTableTag.c, pTk/mTk/Tktable/tkTableUtil.c, pTk/mTk/Tktable/tkTableWin.c, pTk/mTk/Tktable800/Makefile.in, pTk/mTk/Tktable800/confdefs.h, pTk/mTk/Tktable800/config.cache, pTk/mTk/Tktable800/config.log, pTk/mTk/Tktable800/configure, pTk/mTk/Tktable800/configure.in, pTk/mTk/Tktable800/mac_tkTable.mcp, pTk/mTk/Tktable800/mac_tkTable.r, pTk/mTk/Tktable800/mac_tkTable_prefix.h, pTk/mTk/Tktable800/makefile.vc, pTk/mTk/Tktable800/mm.h, pTk/mTk/Tktable800/pTk.exc, pTk/mTk/Tktable800/tkAppInit.c, pTk/mTk/Tktable800/tkTable.c, pTk/mTk/Tktable800/tkTable.h, pTk/mTk/Tktable800/tkTableCell.c, pTk/mTk/Tktable800/tkTableCellSort.c, pTk/mTk/Tktable800/tkTableCmds.c, pTk/mTk/Tktable800/tkTableEdit.c, pTk/mTk/Tktable800/tkTableInitScript.h, pTk/mTk/Tktable800/tkTablePs.c, pTk/mTk/Tktable800/tkTableTag.c, pTk/mTk/Tktable800/tkTableUtil.c, pTk/mTk/Tktable800/tkTableWin.c, pTk/mTk/Tktable800/tkTableversion.h, pTk/mTk/Tktable800/version.h: Merged Changes on Tk804update branch onto main branch. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTable.h: file tkTable.h was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableCell.c: file tkTableCell.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableCellSort.c: file tkTableCellSort.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableCmds.c: file tkTableCmds.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableEdit.c: file tkTableEdit.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableInitScript.h: file tkTableInitScript.h was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTablePs.c: file tkTablePs.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableTag.c: file tkTableTag.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableUtil.c: file tkTableUtil.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableWin.c: file tkTableWin.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTableversion.h: file tkTableversion.h was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/version.h: file version.h was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/Makefile.in: file Makefile.in was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/confdefs.h: file confdefs.h was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/config.cache: file config.cache was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/config.log: file config.log was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/configure: file configure was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/configure.in: file configure.in was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/mac_tkTable.mcp: file mac_tkTable.mcp was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/mac_tkTable.r: file mac_tkTable.r was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/mac_tkTable_prefix.h: file mac_tkTable_prefix.h was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/makefile.vc: file makefile.vc was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/mm.h: file mm.h was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/pTk.exc: file pTk.exc was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkAppInit.c: file tkAppInit.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * pTk/mTk/Tktable800/tkTable.c: file tkTable.c was initially added on branch Tk804update. 2004-02-07 18:36 cerney * Makefile.PL, TableMatrix.xs, myConfig, pTk/Makefile.PL, pTk/mTk/README, pTk/mTk/Tktable800/Makefile.in, pTk/mTk/Tktable800/confdefs.h, pTk/mTk/Tktable800/config.cache, pTk/mTk/Tktable800/config.log, pTk/mTk/Tktable800/configure, pTk/mTk/Tktable800/configure.in, pTk/mTk/Tktable800/mac_tkTable.mcp, pTk/mTk/Tktable800/mac_tkTable.r, pTk/mTk/Tktable800/mac_tkTable_prefix.h, pTk/mTk/Tktable800/makefile.vc, pTk/mTk/Tktable800/mm.h, pTk/mTk/Tktable800/pTk.exc, pTk/mTk/Tktable800/tkAppInit.c, pTk/mTk/Tktable800/tkTable.c, pTk/mTk/Tktable800/tkTable.h, pTk/mTk/Tktable800/tkTableCell.c, pTk/mTk/Tktable800/tkTableCellSort.c, pTk/mTk/Tktable800/tkTableCmds.c, pTk/mTk/Tktable800/tkTableEdit.c, pTk/mTk/Tktable800/tkTableInitScript.h, pTk/mTk/Tktable800/tkTablePs.c, pTk/mTk/Tktable800/tkTableTag.c, pTk/mTk/Tktable800/tkTableUtil.c, pTk/mTk/Tktable800/tkTableWin.c, pTk/mTk/Tktable800/tkTableversion.h, pTk/mTk/Tktable800/version.h: Updated to make compatible with a Tk800.0xx build or a build using Tk804 2004-02-06 19:54 cerney * TableMatrix.xs, demos/spreadsheet, pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTable.h, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTableCellSort.c, pTk/mTk/Tktable/tkTableCmds.c, pTk/mTk/Tktable/tkTableEdit.c, pTk/mTk/Tktable/tkTableTag.c, pTk/mTk/Tktable/tkTableUtil.c, pTk/mTk/Tktable/tkTableWin.c: Updates to compile with Tk804. Still need to resolve how to retain compatibility with tk800. 2003-12-05 16:24 cerney * TableMatrix/SpreadsheetHideRows.pm, demos/SpreadsheetHideRows: Updated SpreadsheetHideRows to properly hide detail of lower level details when a top-level detail is hidden. Modified demo to include this case. 2003-11-20 11:22 cerney * TableMatrix/Spreadsheet.pm: Doco fix. 2003-09-23 06:53 cerney * demos/edit_styles.pl: Added comments. Should have been added in jan 2003. 2003-01-24 07:14 cerney * Makefile.PL: Removed libpt from the list of libraries to look for, to be consistent with Tk800.024 2003-01-07 15:10 cerney * demos/embeddedWindows.pl: Initial Checkin 2003-01-07 11:51 cerney * demos/edit_styles.pl: Submitted demo from Eric Waldheim 2002-12-06 08:08 tag TableMatrix_1_01 2002-12-06 08:08 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm, pTk/Makefile.PL: Prep for next release. 2002-12-03 13:48 cerney * pTk/mTk/Tktable/tkTable.c: Fixed Error where the rowHeight method was getting executed like a colWidth. This was introduced in the update of TkTable 2.5 to 2.6 2002-12-02 09:44 tag TableMatrix_1_0 2002-12-02 09:44 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm, pTk/Makefile.PL, README: Preparation for next release. 2002-11-22 08:23 cerney * TableMatrix.pm: Completed Changes to TableMatrix.pm for the upgrade to Tktkable 2.8 2002-11-22 08:18 cerney * demos/spreadsheet: Modified to work again. (Didn't work because of update to perl5.6???) 2002-11-18 09:59 cerney * pod/TableMatrix.pod: Docs updated for changes to TkTable 2.7 to 2.8 2002-11-15 16:19 cerney * pTk/mTk/Tktable/: tkTable.h, tkTableTag.c, tkTableWin.c: Compiles with warnings on solaris. 2002-11-15 15:19 cerney * pTk/mTk/Tktable/: tkTable.c, tkTable.h, tkTableCell.c, tkTableCellSort.c, tkTableCmds.c, tkTableEdit.c, tkTableInitScript.h, tkTableTag.c, tkTableUtil.c, tkTableWin.c, version.h: Merged Changed from Stock version 2.7 to 2.8. Conflicts resolved, Not Tested Yet. 2002-11-08 11:52 tag stock-tktable2_8 2002-11-08 11:52 cerney * pTk/mTk/Tktable/: tkTable.c, tkTable.h, tkTableCell.c, tkTableCellSort.c, tkTableCmds.c, tkTableEdit.c, tkTableInitScript.h, tkTableTag.c, tkTableUtil.c, tkTableWin.c, version.h: tkTable2.8 Source update 2002-11-01 15:38 cerney * pTk/mTk/Tktable/: tkTable.c, tkTableTag.c: Mods to compile and run on linux. 2002-11-01 14:42 cerney * TableMatrix.pm, demos/tagBorderWidth, demos/tagMerge2, pTk/mTk/Tktable/tkTable.h, pTk/mTk/Tktable/tkTableTag.c, pTk/mTk/Tktable/tkTableversion.h: Updates for changes in the Version 2.7 tktable now fully functional on unix. Not tested on win32 yet. 2002-11-01 13:34 cerney * TableMatrix.pm: Updated for changes in the Version 2.7 tktable.tcl file 2002-11-01 12:58 cerney * pod/TableMatrix.pod: Updated for the doc changes from tktable 2.6 to 2.7 2002-11-01 10:48 cerney * pTk/mTk/Tktable/tkTable.c: Version 2.7 merges now are functional. 2002-11-01 10:08 cerney * pTk/mTk/Tktable/: pTk.exc, tkTable.c, tkTable.h, tkTableCell.c, tkTableCmds.c, tkTableTag.c, tkTableUtil.c: Now Compiles successfully with tktable2.8 changes, but core dumps when running. 2002-10-30 11:06 cerney * pTk/mTk/Tktable/cmd.c: Removed. Not Include in tktable 2.7 anymore. 2002-10-30 09:50 cerney * pTk/mTk/Tktable/: mac_tkTable.r, mac_tkTable_prefix.h, tkTable.c, tkTable.h, tkTableCell.c, tkTableCmds.c, tkTableEdit.c, tkTableTag.c, tkTableUtil.c, tkTableWin.c, version.h: Stock tktable changes from 2.6 to 2.7 merged with main branch. Conflicts Resolved. Compilation not tested yet. 2002-10-29 15:52 cerney * pTk/mTk/Tktable/tkTableUtil.c: file tkTableUtil.c was initially added on branch stock-tktable. 2002-10-29 15:52 cerney * pTk/mTk/Tktable/version.h: file version.h was initially added on branch stock-tktable. 2002-10-29 15:52 tag stock-tktable2_7 2002-10-29 15:52 cerney * pTk/mTk/Tktable/: mac_tkTable.r, mac_tkTable_prefix.h, tkTable.c, tkTable.h, tkTableCell.c, tkTableCmds.c, tkTableEdit.c, tkTableTag.c, tkTableUtil.c, tkTableWin.c, version.h: tktable2.7 Source update 2002-09-25 07:08 cerney * COPYING: Updated to be match reality. 2002-05-22 15:53 tag TableMatrix_0_9 2002-05-22 15:53 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, TableMatrix/SpreadsheetHideRows.pm, pTk/Makefile.PL: Preparation for next release 2002-04-11 15:17 cerney * demos/tagMerge, pTk/mTk/Tktable/tkTableTag.c: Mods to make tag merging work correctly when an option is also set in the option database. Also added test case tagMerge. 2002-04-09 12:07 cerney * pod/TableMatrix.pod: Added some clarification on how tags are merged 2002-03-18 11:01 cerney * t/create.t: Updated to include the new SpreadsheetHideRows widget. 2002-03-18 11:00 cerney * TableMatrix/SpreadsheetHideRows.pm, demos/SpreadsheetHideRows: Added new derived SpreadsheetHideRows widget. This enables display of tabular info, with selectable hide/unhide of detail data. 2002-02-28 08:23 cerney * pTk/mTk/Tktable/: tkTableCellSort.c, tkTableCmds.c: Removed Tcl_ArgResult Call from the code, since its use now gets a warning message under Tk800.023. Had to create a TableCellSortObj routine (equivalent to the existing TableCellSort routine) to accomodate this change. 2002-02-13 07:00 cerney * TableMatrix.pm: Fixed bug where selecting multiple times in title area created an error. (Submitted by Christian Becker) 2002-01-10 08:23 cerney * pTk/mTk/Tktable/tkTableCell.c: Updated to fix problem seen with inserting rows when tablecmd is active. Previously, the 'value' arg would get lost when being passed to the callback (garbace collection problem). Changing the call from char* to Arg appears to fix the problem. 2001-10-04 07:00 tag TableMatrix_0_8 2001-10-04 07:00 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, pTk/Makefile.PL: Preparation for the next release. 2001-10-02 12:55 cerney * TableMatrix.pm: Fixed bug where dragging the cursor outside of the window (when selecting some cells) would cause the selection to go nuts. 2001-07-09 14:59 cerney * pTk/mTk/Tktable/tkTable.c: Modified to redraw the entire window when on a expose event. The widget didn't not appear to update/refresh properly when updating what it thought was the invalid rectangle. 2001-06-15 15:19 tag TableMatrix_0_71 2001-06-15 15:19 cerney * Changes, Makefile.PL, TableMatrix.pm, TableMatrix/Spreadsheet.pm, pTk/Makefile.PL: Makeready for release 0.71 2001-06-15 15:04 cerney * Makefile.PL, pTk/Makefile.PL, pTk/mTk/Tktable/tkTable.c: Fixed to compile with Tk800.022 and Tk800.023 2001-06-12 18:11 cerney * pTk/mTk/Tktable/: tkTable.c, tkTablePs.c: Updated to work with Tk800.023 2001-06-06 15:57 tag TableMatrix_0_7 2001-06-06 15:57 cerney * Changes: Initial Checkin 2001-06-06 15:56 cerney * TableMatrix/Spreadsheet.pm: Added version to Spreadsheet.pm in preparation for release. 2001-06-06 11:58 cerney * TableMatrix.pm, Makefile.PL: Updated version in preparation for release. 2001-06-06 11:43 cerney * pTk/mTk/Tktable/: tkTableCell.c, tkTableCellSort.c, tkTableCmds.c, tkTableWin.c: Reverted back to the cell sorting method implemented in tktable 2.5 (and TableMatrix 0.3). The new cell sorting method didn't sort negative row/column indexes correctly, which caused the data from a copy/paste operation to be out-of-order, if the selection included multiple negative row/col indexes. 2001-06-05 12:12 cerney * TableMatrix/Spreadsheet.pm, demos/TableMatrixSpreadsheetTest, t/create.t: Added TableMatrix::Spreadsheet. TableMatrix Derived object with excel-like bindings 2001-06-01 06:43 cerney * TableMatrix.pm: Applied Slaven's patch to fix the control-+/- bindings for modifying the column width. 2000-12-24 13:01 cerney * pTk/: Makefile.PL, mTk/Tktable/tkTable.c: Fixed Version in pTk/Makefile.PL Removed the hard-coded forceupdate=1 in tkTable.c to reduce the flashing seen when updating the cursor. This may have other side effects... needs to be watched. 2000-12-20 07:38 cerney * Makefile.PL: Fixed Typo 2000-12-01 07:34 tag TableMatrix_0_5 2000-12-01 07:34 cerney * README: Fixed version called out in the file 2000-12-01 07:19 cerney * Makefile.PL: Fixed Version 2000-12-01 06:55 cerney * README, TableMatrix.pm: Changes before releasing version 0.5 2000-10-31 21:40 cerney * pTk/mTk/Tktable/tkTable.c: Modified to keep the selection around for incremental selection gets. This helps speed up getting the selection, esp for large area selects. Added setting the cursor to 'watch' when getting the selection. For large selection areas this can take some time, so setting the cursor to watch will at least notify the user that something is happening. 2000-10-26 16:14 cerney * pTk/mTk/Tktable/tkTableCellSort.c: Fixed the sorting routine to work with perl/tk 2000-10-26 11:41 cerney * pTk/mTk/Tktable/: tkTable.h, tkTableCellSort.c: Changed from tktable 2.6 are now incorporated and are fully functional! This looked like a very complicated job, but CVS branch management features made it easy. 2000-10-26 09:49 cerney * pTk/mTk/Tktable/: tkTable.c, tkTable.h, tkTableCell.c, tkTableCellSort.c, tkTableCmds.c, tkTableEdit.c, tkTableInitScript.h, tkTableTag.c, tkTableWin.c, tkTableversion.h: Merged Changes from tcl/tk's tktable2.5 to tktable2.6 from the stock-tktable branch. Resolved conflicts. Not functional yet. 2000-10-26 07:48 cerney * pTk/mTk/Tktable/tkTableCellSort.c: file tkTableCellSort.c was initially added on branch stock-tktable. 2000-10-26 07:48 tag stock-tktable2_6 2000-10-26 07:48 cerney * pTk/mTk/Tktable/: tkTable.c, tkTable.h, tkTableCell.c, tkTableCellSort.c, tkTableCmds.c, tkTableEdit.c, tkTableInitScript.h, tkTableTag.c, tkTableWin.c, tkTableversion.h: tktable2.6 Source update 2000-09-16 15:29 tag TableMatrix_0_3 2000-09-16 15:29 cerney * README, myConfig: Final updates before release 2000-09-13 11:30 cerney * pTk/Makefile.PL: Removed tkres section. W32 resources not needed. 2000-08-23 16:44 cerney * t/create.t: Modified for new name 'TableMatrix' 2000-08-23 16:39 cerney * pod/: TableMatrix.pod, tkTable.pod: Changes to make the name TableMatrix 2000-08-23 16:36 cerney * demos/: TableMatrixTest, basic, buttons, command, debug, dynarows, maxsize, spreadsheet, tktableTest: Changes for the new name 'TableMatrix' 2000-08-23 16:27 cerney * Makefile.PL, README, TableMatrix.pm, TableMatrix.xs, demos/tktableTest: Initial Changes for moving name from tktable to TableMatrix 2000-08-20 20:44 cerney * pTk/mTk/Tktable/tkTablePs.c: Fixed Compile warnings in tkTablePs.c 2000-08-19 11:19 cerney * README, pTk/mTk/Tktable/tkTablePs.c, t/create.t: Updated Readme. Added Test file in 't' directory. 2000-08-17 21:16 cerney * README, TableMatrix.xs, pTk/mTk/Tktable/tkTable.h, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTablePs.c: Added own routine to unset variable in the array hash (TCL_Unsetvar2 function) 2000-08-17 09:18 cerney * TableMatrix.pm: Modified to perform edit->cut properly 2000-08-14 21:07 cerney * pod/tkTable.pod: Doco Fix 2000-08-14 16:35 cerney * Makefile.PL, pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTableTag.c, pTk/mTk/Tktable/tkTableWin.c: Incorporated Changes made while compiling under Win98 mingw32. 2000-07-25 15:48 cerney * demos/spreadsheet: Added spreadsheet demo 2000-07-24 15:54 cerney * demos/maxsize: Added maxsize demo script. 2000-07-24 06:52 cerney * demos/dynarows: Minor tweak. 2000-07-23 20:49 cerney * demos/basic, demos/command, demos/dynarows, demos/tktableTest, pTk/mTk/Tktable/tkTableCmds.c, pTk/mTk/Tktable/tkTableTag.c, pod/tkTable.pod: Got dynarows demo working 2000-07-22 21:28 cerney * demos/: command, debug: Misc Fixes 2000-07-22 17:16 cerney * demos/dynarows: initial revision 2000-07-21 16:28 cerney * pod/tkTable.pod: dynarows not working yet 2000-07-21 15:29 cerney * demos/debug: Added the debug demo 2000-07-21 14:37 cerney * demos/command, pTk/mTk/Tktable/perlPort.pod, pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTableCmds.c, pod/tkTable.pod: Got the command demo working. 2000-07-20 21:28 cerney * demos/buttons: Changed Leave event to Focus out event. Leave caused the buttons to not work on Linux. 2000-07-20 14:11 cerney * demos/basic, demos/buttons, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTableCmds.c: Got buttons demo working. 2000-07-19 21:25 cerney * pTk/mTk/Tktable/: perlPort.pod, tkTableTag.c: Modified so the Tag calbacks would work. 2000-07-19 16:41 cerney * demos/basic: Fixed Col Width 2000-07-06 08:17 cerney * TableMatrix.pm, demos/basic, pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTable.h, pTk/mTk/Tktable/tkTableCmds.c, pod/tkTable.pod: * Started Adding the converted tcl demos * Changed the width and heigth methods to colWidth and rowHeight 2000-07-05 07:18 cerney * pTk/mTk/Tktable/tkTableTag.c: Changed Tcl_NewBooleanObj to Tcl_NewIntObj. Tcl_NewBooleanObj didn't appear to be defined in the Lang.h interface. 2000-07-05 07:17 cerney * demos/tktableTest: Added demos directory 2000-07-04 18:33 cerney * pod/tkTable.pod: Added converted pod documentation file. 2000-07-02 20:15 cerney * Makefile.PL, pTk/mTk/Tktable/tkTable.h: Changed version.h to tktableversion.h 2000-07-02 19:32 cerney * Makefile.PL, myConfig, pTk/Makefile.PL: Successfull compilation after removing unnecesaary files. 2000-07-02 10:59 cerney * TableMatrix.pm, TableMatrix.xs, pTk/mTk/Tktable/tkTable.c: Fixed Problem with autoscanning. 2000-07-01 22:57 cerney * Makefile.PL, TableMatrix.pm, TableMatrix.xs, tkGlue.h, pTk/Makefile.PL, pTk/mTk/Tktable/tkTable.c, pod/Makefile.PL: Initial Success at compilation and demo run after splitting-off from Tk 2000-06-30 16:33 cerney * Makefile.PL, myConfig: Added necessary Files. Minor Mods to try to compile separate from Tk 2000-06-30 15:34 cerney * TableMatrix.pm, pTk/mTk/Tktable/tkTable.c: All Bindings appear to work. Check before splitting off into separate module 2000-06-30 14:04 cerney * TableMatrix.pm: Removed the tkTable prefix from subs. 2000-06-29 21:48 cerney * pTk/mTk/Tktable/tkTable.c, TableMatrix.pm: Removed referencing to XSetClipRectangles 2000-06-29 16:32 cerney * pTk/mTk/Tktable/perlPort.pod, pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTable.h, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTableCmds.c, TableMatrix.pm: Now Functional, Some Bugs 2000-06-28 21:30 cerney * pTk/mTk/Tktable/: tkTable.c, tkTableCell.c: Tweaked files 2000-06-28 16:38 cerney * pTk/mTk/Tktable/perlPort.pod, pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTablePs.c, pTk/mTk/Tktable/tkTableTag.c, TableMatrix.pm: Now Displays Table but some segfaults 2000-06-28 13:19 cerney * pTk/mTk/Tktable/: perlPort.pod, tkTable.c: Mods to Tk_TableObjCmd to be compatible with perltk 2000-06-28 06:52 cerney * TableMatrix.pm, TableMatrix.xs: Minor change to all lower case for the Tk_cmd 2000-06-27 21:24 cerney * TableMatrix.xs: Minor Mods 2000-06-27 16:33 cerney * pTk/mTk/Tktable/: cmd.c, tkTable.c: Latest Updates 2000-06-27 14:04 cerney * pTk/mTk/Tktable/tkTable.c, pTk/mTk/Tktable/tkTable.h, TableMatrix.pm, TableMatrix.xs: Intermediate check-in while trying to get tkTable.so to autoload 2000-06-27 09:11 cerney * myConfig, pTk/mTk/Tktable/tkTableTag.c, TableMatrix.pm, TableMatrix.xs: Added tkTable.pm and associated files (translated from tkTable.tcl) Minor mods for compilation. 2000-06-23 17:43 cerney * myConfig, pTk/mTk/Tktable/cmd.c, pTk/mTk/Tktable/mm.h, pTk/mTk/Tktable/tkTable.h, pTk/mTk/Tktable/tkTableCell.c, pTk/mTk/Tktable/tkTableCmds.c, pTk/mTk/Tktable/tkTablePs.c, pTk/mTk/Tktable/tkTableTag.c, pTk/mTk/Tktable/tkTableWin.c: 1st sucessfull compile. 2000-06-22 21:43 cerney * pTk/mTk/Tktable/: perlPort.pod, tkTable.c, tkTable.h: Almost got tktable.c to compile. 2000-06-22 16:34 cerney * pTk/mTk/Tktable/: cmd.c, mm.h, perlPort.pod, tkTable.c, tkTable.h: Daily Snapshot of work. Currently working to sort out the calling of expandpercents in tktable.c 2000-06-21 21:40 cerney * pTk/mTk/Tktable/: cmd.c, mm.h, tkTable.c: Started modifying char* to Args in cmd structure routines. 2000-06-21 16:35 cerney * pTk/: Makefile.PL, mTk/Tktable/pTk.exc, mTk/Tktable/perlPort.pod, mTk/Tktable/tkTable.c, mTk/Tktable/tkTable.h, mTk/Tktable/tkTableCell.c, mTk/Tktable/tkTableCmds.c, mTk/Tktable/tkTableEdit.c, mTk/Tktable/tkTablePs.c, mTk/Tktable/tkTableTag.c, mTk/Tktable/tkTableWin.c: Initial Try at getting tktable to compile 2000-06-21 07:36 tag stock-tktable2_5 2000-06-21 07:36 cerney * pTk/mTk/Tktable/pTk.exc: pTk exclude file 2000-06-21 07:36 cerney * pTk/mTk/Tktable/: Makefile.in, cmd.c, confdefs.h, config.cache, config.log, configure, configure.in, mac_tkTable.mcp, mac_tkTable.r, mac_tkTable_prefix.h, makefile.vc, mm.h, perlPort.pod, tkAppInit.c, tkTable.c, tkTable.h, tkTableCell.c, tkTableCmds.c, tkTableEdit.c, tkTableInitScript.h, tkTablePs.c, tkTableTag.c, tkTableWin.c, tkTableversion.h: Stock Tktable source upload 2000-06-20 18:55 tag Tk_800_022 2000-06-20 18:55 cerney * COPYING, Makefile.PL, README, debug, debug.bat, myConfig, tkGlue.h, pTk/Makefile.PL, pTk/Tcl-pTk, pTk/chext, pTk/counts, pTk/defs, pTk/fakeld, pTk/findX, pTk/findcore, pTk/findstrings, pTk/from, pTk/genexc, pTk/license.html_lib, pTk/license.terms, pTk/makeenglish, pTk/mkXinfo, pTk/mkmethods, pTk/mkneed, pTk/p4e, pTk/process_object, pTk/refs, pTk/tdiff, pTk/why, pTk/mTk/README, pTk/mTk/license.terms: Initial revision 2000-06-20 18:55 cerney * COPYING, Makefile.PL, README, debug, debug.bat, myConfig, tkGlue.h, pTk/Makefile.PL, pTk/Tcl-pTk, pTk/chext, pTk/counts, pTk/defs, pTk/fakeld, pTk/findX, pTk/findcore, pTk/findstrings, pTk/from, pTk/genexc, pTk/license.html_lib, pTk/license.terms, pTk/makeenglish, pTk/mkXinfo, pTk/mkmethods, pTk/mkneed, pTk/p4e, pTk/process_object, pTk/refs, pTk/tdiff, pTk/why, pTk/mTk/README, pTk/mTk/license.terms: Tk Stock 800.022 Tk-TableMatrix-1.29/Makefile000644 000765 000024 00000131166 14332233725 016032 0ustar00userstaff000000 000000 # This Makefile is for the Tk::TableMatrix extension to perl. # # It was generated automatically by MakeMaker version # 7.62 (Revision: 76200) from the contents of # Makefile.PL. Don't edit this file, edit Makefile.PL instead. # # ANY CHANGES MADE HERE WILL BE LOST! # # MakeMaker ARGV: (q[BINARY_LOCATION=darwin-thread-multi-2level/Tk1.29-PPM.tar.gz]) # # MakeMaker Parameters: # ABSTRACT => q[Tk::tkTable - a Spreadsheet/Table Widget] # AUTHOR => [q[jcerney@home.com (John Cerney)]] # BUILD_REQUIRES => { } # CONFIGURE_REQUIRES => { ExtUtils::MakeMaker=>q[6.52], Tk::MMutil=>q[0] } # DEFINE => q[] # DIR => [q[pTk], q[pod]] # DISTNAME => q[Tk-TableMatrix] # EXE_FILES => [] # INC => q[-I/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk -I/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk -I/opt/local/include -I/opt/local/include/freetype2] # LIBS => [q[-L/opt/local/lib -lX11]] # META_MERGE => { meta-spec=>{ version=>q[2] }, resources=>{ bugtracker=>{ web=>q[https://github.com/asb-capfan/Tk-TableMatrix/issues] }, repository=>{ type=>q[git], url=>q[https://github.com/asb-capfan/Tk-TableMatrix.git], web=>q[https://github.com/asb-capfan/Tk-TableMatrix] } } } # MYEXTLIB => q[pTk/libpTk$(LIB_EXT)] # NAME => q[Tk::TableMatrix] # OBJECT => q[$(O_FILES)] # PREREQ_PM => { Tk=>q[800.022] } # TEST_REQUIRES => { } # TYPEMAPS => [q[/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/typemap]] # VERSION => q[1.29] # XS_VERSION => q[1.29] # clean => { FILES=>q[pTk/tkConfig.h *.bak] } # macro => { TKDIR=>q[/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk], WINARCH=>q[x] } # --- MakeMaker post_initialize section: # --- MakeMaker const_config section: # These definitions are from config.sh (via /opt/local/lib/perl5/5.34/darwin-thread-multi-2level/Config.pm). # They may have been overridden via Makefile.PL or on the command line. AR = ar CC = /usr/bin/cc CCCDLFLAGS = CCDLFLAGS = DLEXT = bundle DLSRC = dl_dlopen.xs EXE_EXT = FULL_AR = /usr/bin/ar LD = /usr/bin/cc LDDLFLAGS = -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -fstack-protector-strong LDFLAGS = -L/opt/local/lib -Wl,-headerpad_max_install_names -fstack-protector-strong LIBC = LIB_EXT = .a OBJ_EXT = .o OSNAME = darwin OSVERS = 21.3.0 RANLIB = ranlib SITELIBEXP = /opt/local/lib/perl5/site_perl/5.34 SITEARCHEXP = /opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level SO = dylib VENDORARCHEXP = /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level VENDORLIBEXP = /opt/local/lib/perl5/vendor_perl/5.34 # --- MakeMaker constants section: AR_STATIC_ARGS = cr DIRFILESEP = / DFSEP = $(DIRFILESEP) NAME = Tk::TableMatrix NAME_SYM = Tk_TableMatrix VERSION = 1.29 VERSION_MACRO = VERSION VERSION_SYM = 1_29 DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" XS_VERSION = 1.29 XS_VERSION_MACRO = XS_VERSION XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" INST_ARCHLIB = blib/arch INST_SCRIPT = blib/script INST_BIN = blib/bin INST_LIB = blib/lib INST_MAN1DIR = blib/man1 INST_MAN3DIR = blib/man3 MAN1EXT = 1pm MAN3EXT = 3pm MAN1SECTION = 1 MAN3SECTION = 3 INSTALLDIRS = site DESTDIR = PREFIX = $(SITEPREFIX) PERLPREFIX = /opt/local SITEPREFIX = /opt/local VENDORPREFIX = /opt/local INSTALLPRIVLIB = /opt/local/lib/perl5/5.34 DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) INSTALLSITELIB = /opt/local/lib/perl5/site_perl/5.34 DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) INSTALLVENDORLIB = /opt/local/lib/perl5/vendor_perl/5.34 DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) INSTALLARCHLIB = /opt/local/lib/perl5/5.34/darwin-thread-multi-2level DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) INSTALLSITEARCH = /opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) INSTALLVENDORARCH = /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) INSTALLBIN = /opt/local/bin DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) INSTALLSITEBIN = /opt/local/libexec/perl5.34/sitebin DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) INSTALLVENDORBIN = /opt/local/libexec/perl5.34 DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) INSTALLSCRIPT = /opt/local/bin DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) INSTALLSITESCRIPT = /opt/local/libexec/perl5.34/sitebin DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT) INSTALLVENDORSCRIPT = /opt/local/libexec/perl5.34 DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT) INSTALLMAN1DIR = /opt/local/share/man/man1p DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) INSTALLSITEMAN1DIR = /opt/local/share/perl5.34/siteman/man1 DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) INSTALLVENDORMAN1DIR = /opt/local/share/perl5.34/man/man1 DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) INSTALLMAN3DIR = /opt/local/share/man/man3p DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) INSTALLSITEMAN3DIR = /opt/local/share/perl5.34/siteman/man3 DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) INSTALLVENDORMAN3DIR = /opt/local/share/perl5.34/man/man3 DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) PERL_LIB = /opt/local/lib/perl5/5.34 PERL_ARCHLIB = /opt/local/lib/perl5/5.34/darwin-thread-multi-2level PERL_ARCHLIBDEP = /opt/local/lib/perl5/5.34/darwin-thread-multi-2level LIBPERL_A = libperl.a MYEXTLIB = pTk/libpTk$(LIB_EXT) FIRST_MAKEFILE = Makefile MAKEFILE_OLD = Makefile.old MAKE_APERL_FILE = Makefile.aperl PERLMAINCC = $(CC) PERL_INC = /opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE PERL_INCDEP = /opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE PERL = "/opt/local/bin/perl5.34" FULLPERL = "/opt/local/bin/perl5.34" ABSPERL = $(PERL) PERLRUN = $(PERL) FULLPERLRUN = $(FULLPERL) ABSPERLRUN = $(ABSPERL) PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" PERL_CORE = 0 PERM_DIR = 755 PERM_RW = 644 PERM_RWX = 755 MAKEMAKER = /opt/local/lib/perl5/5.34/ExtUtils/MakeMaker.pm MM_VERSION = 7.62 MM_REVISION = 76200 # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) # DLBASE = Basename part of dynamic library. May be just equal BASEEXT. MAKE = make FULLEXT = Tk/TableMatrix BASEEXT = TableMatrix PARENT_NAME = Tk DLBASE = $(BASEEXT) VERSION_FROM = INC = -I/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk -I/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk -I/opt/local/include -I/opt/local/include/freetype2 DEFINE = OBJECT = $(O_FILES) LDFROM = $(OBJECT) LINKTYPE = dynamic BOOTDEP = # Handy lists of source code files: XS_FILES = TableMatrix.xs C_FILES = TableMatrix.c O_FILES = TableMatrix.o H_FILES = MAN1PODS = MAN3PODS = TableMatrix/Spreadsheet.pm \ TableMatrix/SpreadsheetHideRows.pm # Where is the Config information that we are using/depend on CONFIGDEP = $(PERL_ARCHLIBDEP)$(DFSEP)Config.pm $(PERL_INCDEP)$(DFSEP)config.h # Where to build things INST_LIBDIR = $(INST_LIB)/Tk INST_ARCHLIBDIR = $(INST_ARCHLIB)/Tk INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT) INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT) INST_STATIC = $(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT) INST_DYNAMIC = $(INST_ARCHAUTODIR)/$(DLBASE).$(DLEXT) INST_BOOT = $(INST_ARCHAUTODIR)/$(BASEEXT).bs # Extra linker info EXPORT_LIST = PERL_ARCHIVE = PERL_ARCHIVEDEP = PERL_ARCHIVE_AFTER = TO_INST_PM = TableMatrix.pm \ TableMatrix/Spreadsheet.pm \ TableMatrix/SpreadsheetHideRows.pm GCCOPT = -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ # --- MakeMaker platform_constants section: MM_Unix_VERSION = 7.62 PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc # --- MakeMaker tool_autosplit section: # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto AUTOSPLITFILE = $(ABSPERLRUN) -e 'use AutoSplit; autosplit($$$$ARGV[0], $$$$ARGV[1], 0, 1, 1)' -- # --- MakeMaker tool_xsubpp section: XSUBPPDIR = /opt/local/lib/perl5/5.34/ExtUtils XSUBPP = "$(XSUBPPDIR)$(DFSEP)xsubpp" XSUBPPRUN = $(PERLRUN) $(XSUBPP) XSPROTOARG = XSUBPPDEPS = /opt/local/lib/perl5/5.34/ExtUtils/typemap /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/typemap /opt/local/lib/perl5/5.34/ExtUtils$(DFSEP)xsubpp XSUBPPARGS = -typemap '/opt/local/lib/perl5/5.34/ExtUtils/typemap' -typemap '/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/typemap' XSUBPP_EXTRA_ARGS = # --- MakeMaker tools_other section: SHELL = /bin/sh CHMOD = chmod CP = cp MV = mv NOOP = $(TRUE) NOECHO = @ RM_F = rm -f RM_RF = rm -rf TEST_F = test -f TOUCH = touch UMASK_NULL = umask 0 DEV_NULL = > /dev/null 2>&1 MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e 'mkpath' -- EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e 'eqtime' -- FALSE = false TRUE = true ECHO = echo ECHO_N = echo -n UNINST = 0 VERBINST = 0 MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install([ from_to => {@ARGV}, verbose => '\''$(VERBINST)'\'', uninstall_shadows => '\''$(UNINST)'\'', dir_mode => '\''$(PERM_DIR)'\'' ]);' -- DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'perllocal_install' -- UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'uninstall' -- WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'warn_if_old_packlist' -- MACROSTART = MACROEND = USEMAKEFILE = -f FIXIN = $(ABSPERLRUN) -MExtUtils::MY -e 'MY->fixin(shift)' -- CP_NONEMPTY = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'cp_nonempty' -- # --- MakeMaker makemakerdflt section: makemakerdflt : all $(NOECHO) $(NOOP) # --- MakeMaker dist section: TAR = COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar TARFLAGS = cvf ZIP = zip ZIPFLAGS = -r COMPRESS = gzip --best SUFFIX = .gz SHAR = shar PREOP = $(NOECHO) $(NOOP) POSTOP = $(NOECHO) $(NOOP) TO_UNIX = $(NOECHO) $(NOOP) CI = ci -u RCS_LABEL = rcs -Nv$(VERSION_SYM): -q DIST_CP = best DIST_DEFAULT = tardist DISTNAME = Tk-TableMatrix DISTVNAME = Tk-TableMatrix-1.29 # --- MakeMaker macro section: TKDIR = /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk WINARCH = x # --- MakeMaker depend section: # --- MakeMaker cflags section: CCFLAGS = -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV OPTIMIZE = -O3 PERLTYPE = # --- MakeMaker const_loadlibs section: # Tk::TableMatrix might depend on some other libraries: # See ExtUtils::Liblist for details # EXTRALIBS = -L/opt/local/lib -lX11 LDLOADLIBS = -L/opt/local/lib -lX11 BSLOADLIBS = LD_RUN_PATH = /opt/local/lib # --- MakeMaker const_cccmd section: CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \ $(CCFLAGS) $(OPTIMIZE) \ $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ $(XS_DEFINE_VERSION) # --- MakeMaker post_constants section: # --- MakeMaker pasthru section: #Tk::MMutil pasthru PASTHRU = LIBPERL_A="$(LIBPERL_A)"\ LINKTYPE="$(LINKTYPE)"\ OPTIMIZE="$(OPTIMIZE)"\ PREFIX="$(PREFIX)"\ PASTHRU_DEFINE=' $(PASTHRU_DEFINE)'\ PASTHRU_INC='-I/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk -I/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk -I/opt/local/include -I/opt/local/include/freetype2 $(PASTHRU_INC)' # --- MakeMaker special_targets section: .SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) .PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir pure_all subdirs clean_subdirs makemakerdflt manifypods realclean_subdirs subdirs_dynamic subdirs_pure_nolink subdirs_static subdirs-test_dynamic subdirs-test_static test_dynamic test_static # --- MakeMaker c_o section: .c.i: /usr/bin/cc -I/opt/local/include -E -c $(PASTHRU_INC) $(INC) \ $(CCFLAGS) $(OPTIMIZE) \ $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \ $(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.c > $*.i .c.s : $(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.c .c$(OBJ_EXT) : $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.c .cpp$(OBJ_EXT) : $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.cpp .cxx$(OBJ_EXT) : $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.cxx .cc$(OBJ_EXT) : $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.cc .C$(OBJ_EXT) : $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.C # --- MakeMaker xs_c section: .xs.c: $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc $(MV) $*.xsc $*.c # --- MakeMaker xs_o section: .xs$(OBJ_EXT) : $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc $(MV) $*.xsc $*.c $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $(GCCOPT) $*.c # --- MakeMaker top_targets section: all :: pure_all html $(NOECHO) $(NOOP) pure_all :: config pm_to_blib subdirs linkext $(NOECHO) $(NOOP) subdirs :: $(MYEXTLIB) $(NOECHO) $(NOOP) config :: $(FIRST_MAKEFILE) blibdirs $(NOECHO) $(NOOP) help : perldoc ExtUtils::MakeMaker # --- MakeMaker blibdirs section: blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists $(NOECHO) $(NOOP) # Backwards compat with 6.18 through 6.25 blibdirs.ts : blibdirs $(NOECHO) $(NOOP) $(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_LIBDIR) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR) $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_ARCHLIB) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB) $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_AUTODIR) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR) $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR) $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_BIN) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN) $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_SCRIPT) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT) $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_MAN1DIR) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR) $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_MAN3DIR) $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR) $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists # --- MakeMaker linkext section: linkext :: dynamic $(NOECHO) $(NOOP) # --- MakeMaker dlsyms section: # --- MakeMaker dynamic_bs section: BOOTSTRAP = $(BASEEXT).bs # As Mkbootstrap might not write a file (if none is required) # we use touch to prevent make continually trying to remake it. # The DynaLoader only reads a non-empty file. $(BASEEXT).bs : $(FIRST_MAKEFILE) $(BOOTDEP) $(NOECHO) $(ECHO) "Running Mkbootstrap for $(BASEEXT) ($(BSLOADLIBS))" $(NOECHO) $(PERLRUN) \ "-MExtUtils::Mkbootstrap" \ -e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');" $(NOECHO) $(TOUCH) "$(BASEEXT).bs" $(CHMOD) $(PERM_RW) "$(BASEEXT).bs" $(INST_ARCHAUTODIR)/$(BASEEXT).bs : $(BASEEXT).bs $(INST_ARCHAUTODIR)$(DFSEP).exists $(NOECHO) $(RM_RF) $(INST_ARCHAUTODIR)/$(BASEEXT).bs - $(CP_NONEMPTY) $(BASEEXT).bs $(INST_ARCHAUTODIR)/$(BASEEXT).bs $(PERM_RW) # --- MakeMaker dynamic section: dynamic :: $(FIRST_MAKEFILE) config $(INST_BOOT) $(INST_DYNAMIC) $(NOECHO) $(NOOP) # --- MakeMaker dynamic_lib section: # This section creates the dynamically loadable objects from relevant # objects and possibly $(MYEXTLIB). ARMAYBE = : OTHERLDFLAGS = INST_DYNAMIC_DEP = INST_DYNAMIC_FIX = $(INST_DYNAMIC) : $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVEDEP) $(PERL_ARCHIVE_AFTER) $(INST_DYNAMIC_DEP) $(RM_F) $@ LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) \ $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST) \ $(INST_DYNAMIC_FIX) $(CHMOD) $(PERM_RWX) $@ # --- MakeMaker static section: ## $(INST_PM) has been moved to the all: target. ## It remains here for awhile to allow for old usage: "make static" static :: $(FIRST_MAKEFILE) $(INST_STATIC) $(NOECHO) $(NOOP) # --- MakeMaker static_lib section: $(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists $(RM_F) "$@" $(CP) $(MYEXTLIB) "$@" $(FULL_AR) $(AR_STATIC_ARGS) "$@" $(OBJECT) $(RANLIB) "$@" $(CHMOD) $(PERM_RWX) $@ $(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)$(DFSEP)extralibs.ld # --- MakeMaker manifypods section: POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" --center "perl/Tk Documentation" --release "Tk$(VERSION)" POD2MAN = $(POD2MAN_EXE) manifypods : pure_all config \ TableMatrix/Spreadsheet.pm \ TableMatrix/SpreadsheetHideRows.pm $(NOECHO) $(POD2MAN) --section=$(MAN3SECTION) --perm_rw=$(PERM_RW) -u \ TableMatrix/Spreadsheet.pm $(INST_MAN3DIR)/Tk::TableMatrix::Spreadsheet.$(MAN3EXT) \ TableMatrix/SpreadsheetHideRows.pm $(INST_MAN3DIR)/Tk::TableMatrix::SpreadsheetHideRows.$(MAN3EXT) # --- MakeMaker processPL section: # --- MakeMaker installbin section: # --- MakeMaker subdirs section: # The default clean, realclean and test targets in this Makefile # have automatically been given entries for each subdir. subdirs :: $(NOECHO) cd pTk && $(MAKE) $(USEMAKEFILE) $(FIRST_MAKEFILE) all $(PASTHRU) subdirs :: $(NOECHO) cd pod && $(MAKE) $(USEMAKEFILE) $(FIRST_MAKEFILE) all $(PASTHRU) # --- MakeMaker clean_subdirs section: clean_subdirs : $(ABSPERLRUN) -e 'exit 0 unless chdir '\''pTk'\''; system '\''$(MAKE) clean'\'' if -f '\''$(FIRST_MAKEFILE)'\'';' -- $(ABSPERLRUN) -e 'exit 0 unless chdir '\''pod'\''; system '\''$(MAKE) clean'\'' if -f '\''$(FIRST_MAKEFILE)'\'';' -- # --- MakeMaker clean section: # Delete temporary files but do not touch installed files. We don't delete # the Makefile here so a later make realclean still has a makefile to use. clean :: clean_subdirs - $(RM_F) \ $(BASEEXT).bso $(BASEEXT).def \ $(BASEEXT).exp $(BASEEXT).x \ $(BOOTSTRAP) $(INST_ARCHAUTODIR)/extralibs.all \ $(INST_ARCHAUTODIR)/extralibs.ld $(MAKE_APERL_FILE) \ *$(LIB_EXT) *$(OBJ_EXT) \ *perl.core MYMETA.json \ MYMETA.yml TableMatrix.base \ TableMatrix.bs TableMatrix.bso \ TableMatrix.c TableMatrix.def \ TableMatrix.exp TableMatrix.o \ TableMatrix_def.old blibdirs.ts \ core core.*perl.*.? \ core.[0-9] core.[0-9][0-9] \ core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \ core.[0-9][0-9][0-9][0-9][0-9] lib$(BASEEXT).def \ mon.out perl \ perl$(EXE_EXT) perl.exe \ perlmain.c pm_to_blib \ pm_to_blib.ts so_locations \ tmon.out - $(RM_RF) \ *.bak blib \ pTk/tkConfig.h $(NOECHO) $(RM_F) $(MAKEFILE_OLD) - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) # --- MakeMaker realclean_subdirs section: # so clean is forced to complete before realclean_subdirs runs realclean_subdirs : clean - $(ABSPERLRUN) -e 'chdir '\''pTk'\''; system '\''$(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) realclean'\'' if -f '\''$(MAKEFILE_OLD)'\'';' -- - $(ABSPERLRUN) -e 'chdir '\''pTk'\''; system '\''$(MAKE) $(USEMAKEFILE) $(FIRST_MAKEFILE) realclean'\'' if -f '\''$(FIRST_MAKEFILE)'\'';' -- - $(ABSPERLRUN) -e 'chdir '\''pod'\''; system '\''$(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) realclean'\'' if -f '\''$(MAKEFILE_OLD)'\'';' -- - $(ABSPERLRUN) -e 'chdir '\''pod'\''; system '\''$(MAKE) $(USEMAKEFILE) $(FIRST_MAKEFILE) realclean'\'' if -f '\''$(FIRST_MAKEFILE)'\'';' -- # --- MakeMaker realclean section: # Delete temporary files (via clean) and also delete dist files realclean purge :: realclean_subdirs - $(RM_F) \ $(FIRST_MAKEFILE) $(MAKEFILE_OLD) \ $(OBJECT) - $(RM_RF) \ $(DISTVNAME) # --- MakeMaker metafile section: metafile : create_distdir $(NOECHO) $(ECHO) Generating META.yml $(NOECHO) $(ECHO) '---' > META_new.yml $(NOECHO) $(ECHO) 'abstract: '\''Tk::tkTable - a Spreadsheet/Table Widget'\''' >> META_new.yml $(NOECHO) $(ECHO) 'author:' >> META_new.yml $(NOECHO) $(ECHO) ' - '\''jcerney@home.com (John Cerney)'\''' >> META_new.yml $(NOECHO) $(ECHO) 'build_requires:' >> META_new.yml $(NOECHO) $(ECHO) ' ExtUtils::MakeMaker: '\''0'\''' >> META_new.yml $(NOECHO) $(ECHO) 'configure_requires:' >> META_new.yml $(NOECHO) $(ECHO) ' ExtUtils::MakeMaker: '\''6.52'\''' >> META_new.yml $(NOECHO) $(ECHO) ' Tk::MMutil: '\''0'\''' >> META_new.yml $(NOECHO) $(ECHO) 'dynamic_config: 1' >> META_new.yml $(NOECHO) $(ECHO) 'generated_by: '\''ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010'\''' >> META_new.yml $(NOECHO) $(ECHO) 'license: unknown' >> META_new.yml $(NOECHO) $(ECHO) 'meta-spec:' >> META_new.yml $(NOECHO) $(ECHO) ' url: http://module-build.sourceforge.net/META-spec-v1.4.html' >> META_new.yml $(NOECHO) $(ECHO) ' version: '\''1.4'\''' >> META_new.yml $(NOECHO) $(ECHO) 'name: Tk-TableMatrix' >> META_new.yml $(NOECHO) $(ECHO) 'no_index:' >> META_new.yml $(NOECHO) $(ECHO) ' directory:' >> META_new.yml $(NOECHO) $(ECHO) ' - t' >> META_new.yml $(NOECHO) $(ECHO) ' - inc' >> META_new.yml $(NOECHO) $(ECHO) 'requires:' >> META_new.yml $(NOECHO) $(ECHO) ' Tk: '\''800.022'\''' >> META_new.yml $(NOECHO) $(ECHO) 'resources:' >> META_new.yml $(NOECHO) $(ECHO) ' bugtracker: https://github.com/asb-capfan/Tk-TableMatrix/issues' >> META_new.yml $(NOECHO) $(ECHO) ' repository: https://github.com/asb-capfan/Tk-TableMatrix.git' >> META_new.yml $(NOECHO) $(ECHO) 'version: '\''1.29'\''' >> META_new.yml $(NOECHO) $(ECHO) 'x_serialization_backend: '\''CPAN::Meta::YAML version 0.018'\''' >> META_new.yml -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml $(NOECHO) $(ECHO) Generating META.json $(NOECHO) $(ECHO) '{' > META_new.json $(NOECHO) $(ECHO) ' "abstract" : "Tk::tkTable - a Spreadsheet/Table Widget",' >> META_new.json $(NOECHO) $(ECHO) ' "author" : [' >> META_new.json $(NOECHO) $(ECHO) ' "jcerney@home.com (John Cerney)"' >> META_new.json $(NOECHO) $(ECHO) ' ],' >> META_new.json $(NOECHO) $(ECHO) ' "dynamic_config" : 1,' >> META_new.json $(NOECHO) $(ECHO) ' "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010",' >> META_new.json $(NOECHO) $(ECHO) ' "license" : [' >> META_new.json $(NOECHO) $(ECHO) ' "unknown"' >> META_new.json $(NOECHO) $(ECHO) ' ],' >> META_new.json $(NOECHO) $(ECHO) ' "meta-spec" : {' >> META_new.json $(NOECHO) $(ECHO) ' "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",' >> META_new.json $(NOECHO) $(ECHO) ' "version" : 2' >> META_new.json $(NOECHO) $(ECHO) ' },' >> META_new.json $(NOECHO) $(ECHO) ' "name" : "Tk-TableMatrix",' >> META_new.json $(NOECHO) $(ECHO) ' "no_index" : {' >> META_new.json $(NOECHO) $(ECHO) ' "directory" : [' >> META_new.json $(NOECHO) $(ECHO) ' "t",' >> META_new.json $(NOECHO) $(ECHO) ' "inc"' >> META_new.json $(NOECHO) $(ECHO) ' ]' >> META_new.json $(NOECHO) $(ECHO) ' },' >> META_new.json $(NOECHO) $(ECHO) ' "prereqs" : {' >> META_new.json $(NOECHO) $(ECHO) ' "build" : {' >> META_new.json $(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json $(NOECHO) $(ECHO) ' "ExtUtils::MakeMaker" : "0"' >> META_new.json $(NOECHO) $(ECHO) ' }' >> META_new.json $(NOECHO) $(ECHO) ' },' >> META_new.json $(NOECHO) $(ECHO) ' "configure" : {' >> META_new.json $(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json $(NOECHO) $(ECHO) ' "ExtUtils::MakeMaker" : "6.52",' >> META_new.json $(NOECHO) $(ECHO) ' "Tk::MMutil" : "0"' >> META_new.json $(NOECHO) $(ECHO) ' }' >> META_new.json $(NOECHO) $(ECHO) ' },' >> META_new.json $(NOECHO) $(ECHO) ' "runtime" : {' >> META_new.json $(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json $(NOECHO) $(ECHO) ' "Tk" : "800.022"' >> META_new.json $(NOECHO) $(ECHO) ' }' >> META_new.json $(NOECHO) $(ECHO) ' }' >> META_new.json $(NOECHO) $(ECHO) ' },' >> META_new.json $(NOECHO) $(ECHO) ' "release_status" : "stable",' >> META_new.json $(NOECHO) $(ECHO) ' "resources" : {' >> META_new.json $(NOECHO) $(ECHO) ' "bugtracker" : {' >> META_new.json $(NOECHO) $(ECHO) ' "web" : "https://github.com/asb-capfan/Tk-TableMatrix/issues"' >> META_new.json $(NOECHO) $(ECHO) ' },' >> META_new.json $(NOECHO) $(ECHO) ' "repository" : {' >> META_new.json $(NOECHO) $(ECHO) ' "type" : "git",' >> META_new.json $(NOECHO) $(ECHO) ' "url" : "https://github.com/asb-capfan/Tk-TableMatrix.git",' >> META_new.json $(NOECHO) $(ECHO) ' "web" : "https://github.com/asb-capfan/Tk-TableMatrix"' >> META_new.json $(NOECHO) $(ECHO) ' }' >> META_new.json $(NOECHO) $(ECHO) ' },' >> META_new.json $(NOECHO) $(ECHO) ' "version" : "1.29",' >> META_new.json $(NOECHO) $(ECHO) ' "x_serialization_backend" : "JSON::PP version 4.06"' >> META_new.json $(NOECHO) $(ECHO) '}' >> META_new.json -$(NOECHO) $(MV) META_new.json $(DISTVNAME)/META.json # --- MakeMaker signature section: signature : cpansign -s # --- MakeMaker dist_basics section: distclean :: realclean distcheck $(NOECHO) $(NOOP) distcheck : $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck skipcheck : $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck manifest : $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest veryclean : realclean $(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old # --- MakeMaker dist_core section: dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) $(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \ -e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' -- tardist : $(DISTVNAME).tar$(SUFFIX) $(NOECHO) $(NOOP) uutardist : $(DISTVNAME).tar$(SUFFIX) uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu $(NOECHO) $(ECHO) 'Created $(DISTVNAME).tar$(SUFFIX)_uu' $(DISTVNAME).tar$(SUFFIX) : distdir $(PREOP) $(TO_UNIX) $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) $(RM_RF) $(DISTVNAME) $(COMPRESS) $(DISTVNAME).tar $(NOECHO) $(ECHO) 'Created $(DISTVNAME).tar$(SUFFIX)' $(POSTOP) zipdist : $(DISTVNAME).zip $(NOECHO) $(NOOP) $(DISTVNAME).zip : distdir $(PREOP) $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) $(RM_RF) $(DISTVNAME) $(NOECHO) $(ECHO) 'Created $(DISTVNAME).zip' $(POSTOP) shdist : distdir $(PREOP) $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar $(RM_RF) $(DISTVNAME) $(NOECHO) $(ECHO) 'Created $(DISTVNAME).shar' $(POSTOP) # --- MakeMaker distdir section: create_distdir : $(RM_RF) $(DISTVNAME) $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" distdir : create_distdir distmeta $(NOECHO) $(NOOP) # --- MakeMaker dist_test section: disttest : distdir cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "BINARY_LOCATION=darwin-thread-multi-2level/Tk1.29-PPM.tar.gz" cd $(DISTVNAME) && $(MAKE) $(PASTHRU) cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) # --- MakeMaker dist_ci section: ci : $(ABSPERLRUN) -MExtUtils::Manifest=maniread -e '@all = sort keys %{ maniread() };' \ -e 'print(qq{Executing $(CI) @all\n});' \ -e 'system(qq{$(CI) @all}) == 0 or die $$!;' \ -e 'print(qq{Executing $(RCS_LABEL) ...\n});' \ -e 'system(qq{$(RCS_LABEL) @all}) == 0 or die $$!;' -- # --- MakeMaker distmeta section: distmeta : create_distdir metafile $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'exit unless -e q{META.yml};' \ -e 'eval { maniadd({q{META.yml} => q{Module YAML meta-data (added by MakeMaker)}}) }' \ -e ' or die "Could not add META.yml to MANIFEST: $${'\''@'\''}"' -- $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'exit unless -f q{META.json};' \ -e 'eval { maniadd({q{META.json} => q{Module JSON meta-data (added by MakeMaker)}}) }' \ -e ' or die "Could not add META.json to MANIFEST: $${'\''@'\''}"' -- # --- MakeMaker distsignature section: distsignature : distmeta $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) }' \ -e ' or die "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}"' -- $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE cd $(DISTVNAME) && cpansign -s # --- MakeMaker install section: install :: pure_install doc_install $(NOECHO) $(NOOP) install_perl :: pure_perl_install doc_perl_install $(NOECHO) $(NOOP) install_site :: pure_site_install doc_site_install $(NOECHO) $(NOOP) install_vendor :: pure_vendor_install doc_vendor_install $(NOECHO) $(NOOP) pure_install :: pure_$(INSTALLDIRS)_install $(NOECHO) $(NOOP) doc_install :: doc_$(INSTALLDIRS)_install $(NOECHO) $(NOOP) pure__install : pure_site_install $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site doc__install : doc_site_install $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site pure_perl_install :: all $(NOECHO) $(MOD_INSTALL) \ read "$(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist" \ write "$(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist" \ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ "$(INST_ARCHLIB)" "$(DESTINSTALLARCHLIB)" \ "$(INST_BIN)" "$(DESTINSTALLBIN)" \ "$(INST_SCRIPT)" "$(DESTINSTALLSCRIPT)" \ "$(INST_MAN1DIR)" "$(DESTINSTALLMAN1DIR)" \ "$(INST_MAN3DIR)" "$(DESTINSTALLMAN3DIR)" $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ "$(SITEARCHEXP)/auto/$(FULLEXT)" pure_site_install :: all $(NOECHO) $(MOD_INSTALL) \ read "$(SITEARCHEXP)/auto/$(FULLEXT)/.packlist" \ write "$(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist" \ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ "$(INST_ARCHLIB)" "$(DESTINSTALLSITEARCH)" \ "$(INST_BIN)" "$(DESTINSTALLSITEBIN)" \ "$(INST_SCRIPT)" "$(DESTINSTALLSITESCRIPT)" \ "$(INST_MAN1DIR)" "$(DESTINSTALLSITEMAN1DIR)" \ "$(INST_MAN3DIR)" "$(DESTINSTALLSITEMAN3DIR)" $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ "$(PERL_ARCHLIB)/auto/$(FULLEXT)" pure_vendor_install :: all $(NOECHO) $(MOD_INSTALL) \ read "$(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist" \ write "$(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist" \ "$(INST_LIB)" "$(DESTINSTALLVENDORLIB)" \ "$(INST_ARCHLIB)" "$(DESTINSTALLVENDORARCH)" \ "$(INST_BIN)" "$(DESTINSTALLVENDORBIN)" \ "$(INST_SCRIPT)" "$(DESTINSTALLVENDORSCRIPT)" \ "$(INST_MAN1DIR)" "$(DESTINSTALLVENDORMAN1DIR)" \ "$(INST_MAN3DIR)" "$(DESTINSTALLVENDORMAN3DIR)" doc_perl_install :: all $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod" -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLPRIVLIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> "$(DESTINSTALLARCHLIB)/perllocal.pod" doc_site_install :: all $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod" -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLSITELIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> "$(DESTINSTALLARCHLIB)/perllocal.pod" doc_vendor_install :: all $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod" -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLVENDORLIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> "$(DESTINSTALLARCHLIB)/perllocal.pod" uninstall :: uninstall_from_$(INSTALLDIRS)dirs $(NOECHO) $(NOOP) uninstall_from_perldirs :: $(NOECHO) $(UNINSTALL) "$(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist" uninstall_from_sitedirs :: $(NOECHO) $(UNINSTALL) "$(SITEARCHEXP)/auto/$(FULLEXT)/.packlist" uninstall_from_vendordirs :: $(NOECHO) $(UNINSTALL) "$(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist" # --- MakeMaker force section: # Phony target to force checking subdirectories. FORCE : $(NOECHO) $(NOOP) # --- MakeMaker perldepend section: PERL_HDRS = \ $(PERL_INCDEP)/EXTERN.h \ $(PERL_INCDEP)/INTERN.h \ $(PERL_INCDEP)/XSUB.h \ $(PERL_INCDEP)/av.h \ $(PERL_INCDEP)/bitcount.h \ $(PERL_INCDEP)/charclass_invlists.h \ $(PERL_INCDEP)/config.h \ $(PERL_INCDEP)/cop.h \ $(PERL_INCDEP)/cv.h \ $(PERL_INCDEP)/dosish.h \ $(PERL_INCDEP)/ebcdic_tables.h \ $(PERL_INCDEP)/embed.h \ $(PERL_INCDEP)/embedvar.h \ $(PERL_INCDEP)/fakesdio.h \ $(PERL_INCDEP)/feature.h \ $(PERL_INCDEP)/form.h \ $(PERL_INCDEP)/git_version.h \ $(PERL_INCDEP)/gv.h \ $(PERL_INCDEP)/handy.h \ $(PERL_INCDEP)/hv.h \ $(PERL_INCDEP)/hv_func.h \ $(PERL_INCDEP)/hv_macro.h \ $(PERL_INCDEP)/inline.h \ $(PERL_INCDEP)/intrpvar.h \ $(PERL_INCDEP)/invlist_inline.h \ $(PERL_INCDEP)/iperlsys.h \ $(PERL_INCDEP)/keywords.h \ $(PERL_INCDEP)/l1_char_class_tab.h \ $(PERL_INCDEP)/malloc_ctl.h \ $(PERL_INCDEP)/metaconfig.h \ $(PERL_INCDEP)/mg.h \ $(PERL_INCDEP)/mg_data.h \ $(PERL_INCDEP)/mg_raw.h \ $(PERL_INCDEP)/mg_vtable.h \ $(PERL_INCDEP)/mydtrace.h \ $(PERL_INCDEP)/nostdio.h \ $(PERL_INCDEP)/op.h \ $(PERL_INCDEP)/op_reg_common.h \ $(PERL_INCDEP)/opcode.h \ $(PERL_INCDEP)/opnames.h \ $(PERL_INCDEP)/overload.h \ $(PERL_INCDEP)/pad.h \ $(PERL_INCDEP)/parser.h \ $(PERL_INCDEP)/patchlevel.h \ $(PERL_INCDEP)/perl.h \ $(PERL_INCDEP)/perl_inc_macro.h \ $(PERL_INCDEP)/perl_langinfo.h \ $(PERL_INCDEP)/perl_siphash.h \ $(PERL_INCDEP)/perlapi.h \ $(PERL_INCDEP)/perlio.h \ $(PERL_INCDEP)/perliol.h \ $(PERL_INCDEP)/perlsdio.h \ $(PERL_INCDEP)/perlvars.h \ $(PERL_INCDEP)/perly.h \ $(PERL_INCDEP)/pp.h \ $(PERL_INCDEP)/pp_proto.h \ $(PERL_INCDEP)/proto.h \ $(PERL_INCDEP)/reentr.h \ $(PERL_INCDEP)/regcharclass.h \ $(PERL_INCDEP)/regcomp.h \ $(PERL_INCDEP)/regexp.h \ $(PERL_INCDEP)/regnodes.h \ $(PERL_INCDEP)/sbox32_hash.h \ $(PERL_INCDEP)/scope.h \ $(PERL_INCDEP)/sv.h \ $(PERL_INCDEP)/thread.h \ $(PERL_INCDEP)/time64.h \ $(PERL_INCDEP)/time64_config.h \ $(PERL_INCDEP)/uconfig.h \ $(PERL_INCDEP)/uni_keywords.h \ $(PERL_INCDEP)/unicode_constants.h \ $(PERL_INCDEP)/unixish.h \ $(PERL_INCDEP)/utf8.h \ $(PERL_INCDEP)/utfebcdic.h \ $(PERL_INCDEP)/util.h \ $(PERL_INCDEP)/uudmap.h \ $(PERL_INCDEP)/vutil.h \ $(PERL_INCDEP)/warnings.h \ $(PERL_INCDEP)/zaphod32_hash.h $(OBJECT) : $(PERL_HDRS) TableMatrix.c : $(XSUBPPDEPS) TableMatrix$(OBJ_EXT) : TableMatrix.c pTk/tkTable.h \ pTk/tkTableversion.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/Lang.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/Lang.m \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/Lang.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/Lang_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/Xlib.m \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/Xlib.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/Xlib_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tcl.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tclDecls.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tclDecls.m \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tclDecls.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tclDecls_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tclPlatDecls.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tix.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tixInt.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tixPort.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tixUnixPort.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tk.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tk.m \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tk.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkConfig.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkDecls.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkDecls.m \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkDecls.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkDecls_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkEvent.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkEvent.m \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkEvent.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkEvent_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkInt.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkIntDecls.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkOption.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkOption.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkOption_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkPort.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkUnixPort.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tkVMacro.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/pTk/tk_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/tkGlue.def \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/tkGlue.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/tkGlue.m \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/tkGlue.t \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/tkGlue_f.h \ /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/vtab.def # --- MakeMaker makefile section: # We take a very conservative approach here, but it's worth it. # We move Makefile to Makefile.old here to avoid gnu make looping. $(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) ../../../../opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/Config.pm ../../../../opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level/Tk/MMutil.pm $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..." -$(NOECHO) $(RM_F) $(MAKEFILE_OLD) -$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL) $(PERLRUN) Makefile.PL "BINARY_LOCATION=darwin-thread-multi-2level/Tk1.29-PPM.tar.gz" $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command. <==" $(FALSE) # --- MakeMaker staticmake section: # --- MakeMaker makeaperl section --- MAP_TARGET = perl FULLPERL = "/opt/local/bin/perl5.34" MAP_PERLINC = "-Iblib/arch" "-Iblib/lib" "-I/opt/local/lib/perl5/5.34/darwin-thread-multi-2level" "-I/opt/local/lib/perl5/5.34" $(MAP_TARGET) :: $(MAKE_APERL_FILE) $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@ $(MAKE_APERL_FILE) : static $(FIRST_MAKEFILE) pm_to_blib $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET) $(NOECHO) $(PERLRUNINST) \ Makefile.PL DIR="pTk:pod" \ MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \ BINARY_LOCATION=darwin-thread-multi-2level/Tk1.29-PPM.tar.gz # --- MakeMaker test section: TEST_VERBOSE=0 TEST_TYPE=test_$(LINKTYPE) TEST_FILE = test.pl TEST_FILES = t/create.t TESTDB_SW = -d testdb :: testdb_$(LINKTYPE) $(NOECHO) $(NOOP) test :: $(TEST_TYPE) $(NOECHO) $(NOOP) # Occasionally we may face this degenerate target: test_ : test_dynamic $(NOECHO) $(NOOP) subdirs-test_dynamic :: dynamic pure_all test_dynamic :: subdirs-test_dynamic PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) testdb_dynamic :: dynamic pure_all PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) subdirs-test_static :: static pure_all test_static :: subdirs-test_static $(MAP_TARGET) PERL_DL_NONLAZY=1 "/Users/user/git/Tk-TableMatrix/$(MAP_TARGET)" $(MAP_PERLINC) "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) testdb_static :: static pure_all $(MAP_TARGET) PERL_DL_NONLAZY=1 "/Users/user/git/Tk-TableMatrix/$(MAP_TARGET)" $(MAP_PERLINC) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) # --- MakeMaker ppd section: # Creates a PPD (Perl Package Description) for a binary distribution. ppd : $(NOECHO) $(ECHO) '' > Tk-TableMatrix.ppd $(NOECHO) $(ECHO) ' Tk::tkTable - a Spreadsheet/Table Widget' >> Tk-TableMatrix.ppd $(NOECHO) $(ECHO) ' jcerney@home.com (John Cerney)' >> Tk-TableMatrix.ppd $(NOECHO) $(ECHO) ' ' >> Tk-TableMatrix.ppd $(NOECHO) $(ECHO) ' ' >> Tk-TableMatrix.ppd $(NOECHO) $(ECHO) ' ' >> Tk-TableMatrix.ppd $(NOECHO) $(ECHO) ' ' >> Tk-TableMatrix.ppd $(NOECHO) $(ECHO) ' ' >> Tk-TableMatrix.ppd $(NOECHO) $(ECHO) '' >> Tk-TableMatrix.ppd # --- MakeMaker pm_to_blib section: pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM) $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \ 'TableMatrix.pm' '$(INST_LIB)/Tk/TableMatrix.pm' \ 'TableMatrix/Spreadsheet.pm' '$(INST_LIB)/Tk/TableMatrix/Spreadsheet.pm' \ 'TableMatrix/SpreadsheetHideRows.pm' '$(INST_LIB)/Tk/TableMatrix/SpreadsheetHideRows.pm' $(NOECHO) $(TOUCH) pm_to_blib # --- MakeMaker selfdocument section: # here so even if top_targets is overridden, these will still be defined # gmake will silently still work if any are .PHONY-ed but nmake won't static :: $(NOECHO) $(NOOP) dynamic :: $(NOECHO) $(NOOP) config :: $(NOECHO) $(NOOP) # --- MakeMaker postamble section: html : subdirs manifypods @cd pod && $(MAKE) html $(PASTHRU) Makefile : myConfig $(MYEXTLIB) : config FORCE cd pTk && $(MAKE) perlmain.c : config Makefile pTk/tk.res : $(MYEXTLIB) basic : $(INST_DYNAMIC) pm_to_blib MANIFEST : MANIFEST.SKIP $(FIRST_MAKEFILE) $(MAKE) manifest # End. Tk-TableMatrix-1.29/Changes000644 000765 000024 00000007440 14332233421 015653 0ustar00userstaff000000 000000 Summary of Changes to Tk::TableMatrix See ChangeLog for detailed changes. 1.29 2022-11-07 * Removed blib/ directory unintentionally present in 1.28 distribution 1.28 2022-11-07 * Specify GitHub issues as bugtracker * Incorporate change from Perl/Tk's myConfig: exit gracefully if libX11 not found (should prevent UNKNOWN reports from CPAN testers) * Fix build failures caused by an include path (possibly containing Tcl/Tk headers) which was specified with higher precedence than Perl/Tk headers 1.26 2020-10-26 * Fix RT #133587: improper handling of line endings differing from `$/` in pTk.exc files causes build failure (tries compiling known-uncompilable files—e.g. tkAppInit.c, tkTablePs.c) * Add GitHub repository to module metadata * Apply POD fixes (originally by Debian package maintainer Bart Martens) 1.25 2020-10-19 * add dependencies / RT #133557 * improve POD (incl. RT #75690) 1.24 2020-10-17 * pTk/Makefile.PL: fix RT #133547 * improve indentation of myConfig 1.23 2007-01-09 * Changed TableMatrix::Spreadsheet row/col resize behavior to be more spreadsheet-like. 1.22 2006-03-23 * Misc Bugs fixed in Tk::TableMatrix::SpreadsheetHideRows 1.21 2006-03-02 * Updated to make the row/size resize operation (that happens when you drag the row/col borders) apply to every row or column that is currently selected, instead of just the row/col border that was dragged. 1.2 2005-01-26 * Fixed bug which was causing crashes on perl 5.8.4 on win32 when anything was copied into the clipboard (i.e. when control-c pressed). * Fixed row/col insert/deletes to work more reliably in TableMatrix::Spreadsheet 1.1 2004-02-12 * Updated to be compatible with the new Tk804 series. 1.01 2002-12-06 * Fixed Error where the rowHeight method was getting executed like a colWidth. This was introduced in the update of TkTable 2.5 to 2.6 1.0 2002-12-02 * Updated core C-code for the changes made from TkTable 2.6 to 2.8. (Tk::TableMatrix is derived from the TkTable Tcl/Tk Widget. See tktable.sourceforge.net ) From the TkTable 2.7 and 2.8 Release Notes: * Corrected memory leaks in caching. * Added the ability to select borders with Button1. * Added global -justify option. * Added -ipadx/-ipady table options and swapped them with the old -padx/-pady. This gives better control over the cell padding. **** POTENTIAL INCOMPATABILITY **** * -borderwidth now takes up to 4 values to allow you to customize edge edge of a cell. * Added priorities to tags, so tags can be raised and lowered in priority. **** POTENTIAL INCOMPATABILITY **** * Numerous minor bugs fixed. 0.9 2002-05-22 * Added an experimental widget: SpreadsheetHideRows. This enables display of tabular info, with selectable hide/unhide of detail data. See demos/SpreadsheetHideRows * Numerous minor bugs fixed. 0.8 2001-10-05 * Removed un-needed dependencies on Data::Parse and Date::Format for TableMatrix::Spreadsheet * Fixed problem with the selection going nuts when dragging the selection out of the window. 0.71 2001-6-15 * Fixed to compile with the new Tk800.023 release. 0.7 2001-06-07 * Added TableMatrix::Spreadsheet widget. This is a TableMatrix Derived widget with Excel-like bindings. * Reverted back to the cell sorting method implemented in tktable 2.5 (and TableMatrix 0.3). The new cell sorting method didn't sort negative row/column indexes correctly, which caused the data from a copy/paste operation to be out-of-order, if the selection included multiple negative row/col indexes. * Fixed control +/- key bindings for modifying the column with. (Patch from Slaven) 0.5 2000-12-20 * Updated to be consistent with tkTable 2.6 0.3 2000-09-16 * Initial Release (based on tkTable 2.5) Tk-TableMatrix-1.29/MANIFEST000644 000765 000024 00000005452 14332233761 015521 0ustar00userstaff000000 000000 ChangeLog Changes COPYING debug debug.bat demos/basic demos/buttons demos/command demos/debug demos/dynarows demos/edit_styles.pl demos/embeddedWindows.pl demos/maxsize demos/spreadsheet demos/SpreadsheetHideRows demos/TableMatrixSpreadsheetTest demos/TableMatrixTest demos/tagBorderWidth demos/tagMerge demos/tagMerge2 Makefile Makefile.PL MANIFEST This list of files MANIFEST.SKIP myConfig pod/Makefile pod/Makefile.PL pod/TableMatrix.pod pTk/chext pTk/counts pTk/defs pTk/fakeld pTk/findcore pTk/findstrings pTk/findX pTk/from pTk/genexc pTk/license.html_lib pTk/license.terms pTk/makeenglish pTk/Makefile pTk/Makefile.PL pTk/mkmethods pTk/mkneed pTk/mkXinfo pTk/mm.h pTk/mTk/license.terms pTk/mTk/README pTk/mTk/Tktable/confdefs.h pTk/mTk/Tktable/config.cache pTk/mTk/Tktable/config.log pTk/mTk/Tktable/configure pTk/mTk/Tktable/configure.in pTk/mTk/Tktable/mac_tkTable.mcp pTk/mTk/Tktable/mac_tkTable.r pTk/mTk/Tktable/mac_tkTable_prefix.h pTk/mTk/Tktable/Makefile.in pTk/mTk/Tktable/makefile.vc pTk/mTk/Tktable/mm.h pTk/mTk/Tktable/perlPort.pod pTk/mTk/Tktable/pTk.exc pTk/mTk/Tktable/tkAppInit.c pTk/mTk/Tktable/tkTable.c pTk/mTk/Tktable/tkTable.h pTk/mTk/Tktable/tkTableCell.c pTk/mTk/Tktable/tkTableCellSort.c pTk/mTk/Tktable/tkTableCmds.c pTk/mTk/Tktable/tkTableEdit.c pTk/mTk/Tktable/tkTableInitScript.h pTk/mTk/Tktable/tkTablePs.c pTk/mTk/Tktable/tkTableTag.c pTk/mTk/Tktable/tkTableUtil.c pTk/mTk/Tktable/tkTableversion.h pTk/mTk/Tktable/tkTableWin.c pTk/mTk/Tktable/version.h pTk/mTk/Tktable800/confdefs.h pTk/mTk/Tktable800/config.cache pTk/mTk/Tktable800/config.log pTk/mTk/Tktable800/configure pTk/mTk/Tktable800/configure.in pTk/mTk/Tktable800/mac_tkTable.mcp pTk/mTk/Tktable800/mac_tkTable.r pTk/mTk/Tktable800/mac_tkTable_prefix.h pTk/mTk/Tktable800/Makefile.in pTk/mTk/Tktable800/makefile.vc pTk/mTk/Tktable800/mm.h pTk/mTk/Tktable800/pTk.exc pTk/mTk/Tktable800/tkAppInit.c pTk/mTk/Tktable800/tkTable.c pTk/mTk/Tktable800/tkTable.h pTk/mTk/Tktable800/tkTableCell.c pTk/mTk/Tktable800/tkTableCellSort.c pTk/mTk/Tktable800/tkTableCmds.c pTk/mTk/Tktable800/tkTableEdit.c pTk/mTk/Tktable800/tkTableInitScript.h pTk/mTk/Tktable800/tkTablePs.c pTk/mTk/Tktable800/tkTableTag.c pTk/mTk/Tktable800/tkTableUtil.c pTk/mTk/Tktable800/tkTableversion.h pTk/mTk/Tktable800/tkTableWin.c pTk/mTk/Tktable800/version.h pTk/p4e pTk/process_object pTk/refs pTk/Tcl-pTk pTk/tdiff pTk/tkTable.c pTk/tkTable.h pTk/tkTableCell.c pTk/tkTableCellSort.c pTk/tkTableCmds.c pTk/tkTableEdit.c pTk/tkTableTag.c pTk/tkTableUtil.c pTk/tkTableversion.h pTk/tkTableWin.c pTk/version.h pTk/why README t/create.t TableMatrix.pm TableMatrix.xs TableMatrix/Spreadsheet.pm TableMatrix/SpreadsheetHideRows.pm META.yml Module YAML meta-data (added by MakeMaker) META.json Module JSON meta-data (added by MakeMaker) Tk-TableMatrix-1.29/t/000755 000765 000024 00000000000 14332233760 014624 5ustar00userstaff000000 000000 Tk-TableMatrix-1.29/README000644 000765 000024 00000006465 14332121637 015253 0ustar00userstaff000000 000000 /* * This is a port of the tcl/tk Tktable Widget version 2.8 to perl/tk */ ************************************* The Tk::TableMatrix Widget ************************************* INTRODUCTION Tk::TableMatrix is a table/matrix widget extension to perl/tk for displaying data in a table (or spreadsheet) format. The basic features of the widget are: * multi-line cells * support for embedded windows (one per cell) * row & column spanning * variable width columns / height rows (interactively resizable) * row and column titles * multiple data sources ((perl hash|| perl callback) &| internal caching) * supports standard Tk reliefs, fonts, colors, etc. * x/y scrollbar support * 'tag' styles per row, column or cell to change visual appearance * in-cell editing - returns value back to data source * support for disabled (read-only) tables or cells (via tags) * multiple selection modes, with "active" cell * multiple drawing modes to get optimal performance for larger tables * optional 'flashes' when things update * cell validation support * Works everywhere Tk does (including Windows and Mac!) (Note perltk version has only been tested on Solaris, Linux, win98/NT/mingw32 as of 11/12/02) FINDING THE WIDGET The Section TBD BUILDING AND INSTALLING THE WIDGET 1. Uncompress and unpack the distribution ON UNIX: gzip -d Tk-TableMatrix.tar.gz tar -xf Tk-TableMatrix.tar ON WINDOWS: use something like WinZip to unpack the archive. This will create a subdirectory TableMatrix with all the files in it. 2. Build/Test perl Makefile.PL make make test There are also some demos in the demo directory: perl -Mblib demos/TableMatrixTest perl -Mblib demos/spreadsheet . . etc. 3. Install make install 4. Read the documentation The tcl/tk html documentation has been translated to TableMatrix.pod. You can read it using the standard 'perldoc Tk::TableMatrix' command. THINGS TO WATCH OUT FOR Packing The table tries not to allocate huge chunks of screen real estate if you ask it for a lot of rows and columns. You can always stretch out the frame or explicitly tell it how big it can be. If you want to stretch the table, remember to pack it with fill both and expand on, or with grid, give it -sticky news and configure the grid row and column for some weighting. Array The array (actually a perl hash in the perltk implementation) elements for the table are of the form $array{"2,3"} etc. Make sure there are no spaces around the ','. Negative indices are allowed. Editing If you can't edit, remember that the focus model in tk is explicit, so you need to click on the table or give it the focus command. Just having a selected cell is not the same thing as being able to edit. You also need the editing cursor. If you can't get the cursor, make sure that you actually have a variable assigned to the table, and that the "state" of the cell is not disabled. COMMENTS, BUGS, etc. * Please can you send comments and bug reports to the current maintainer and their best will be done to address them. * If you find a bug, a short piece of Perl Code that exercises it would be very useful, or even better, compile with debugging and specify where it crashed in that short piece of Code. Tk-TableMatrix-1.29/TableMatrix.xs000644 000765 000024 00000001626 14332121637 017155 0ustar00userstaff000000 000000 #define PERL_NO_GET_CONTEXT #include #include #include #undef MAX #undef MIN #include "tkGlue.def" #include "pTk/tkPort.h" #include "pTk/tkTable.h" #include "pTk/tkInt.h" #include "pTk/tixPort.h" #include "pTk/tixInt.h" #include "tkGlue.h" #include "tkGlue.m" #include "pTk/tkVMacro.h" /* perltk TableMatrix's replacement for TCL_unsetVar. deletes an element in a hash */ EXTERN void tkTableUnsetElement _ANSI_ARGS_((Var hashEntry, char * key)){ int len; dTHX; len = strlen(key); hv_delete( (HV*) hashEntry, key, len, G_DISCARD); } DECLARE_VTABLES; MODULE = Tk::TableMatrix PACKAGE = Tk PROTOTYPES: DISABLE #ifdef TK800XSTK void tablematrix(...) CODE: { XSRETURN(XSTkCommand(cv,(Tcl_CmdProc *)Tk_TableObjCmd,items,&ST(0))); } #else void tablematrix(...) CODE: { XSRETURN(XSTkCommand(cv,1,Tk_TableObjCmd,items,&ST(0))); } #endif BOOT: { IMPORT_VTABLES; } Tk-TableMatrix-1.29/COPYING000644 000765 000024 00000002125 14332121637 015413 0ustar00userstaff000000 000000 Copyright (c) 2000-2002 John Cerney. All rights reserved. This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself, with the exception of the files in the pTk sub-directory which have separate terms derived from those of the original Tk4.0 sources and/or TkTable. IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. See pTk/license.terms for details of this Tk license, and the source code in pTk/mTk/Tktable for the TkTable license. Tk-TableMatrix-1.29/MANIFEST.SKIP000644 000765 000024 00000000064 14332227734 016263 0ustar00userstaff000000 000000 (^|/)MYMETA\. ^MANIFEST\.bak$ ^\.git/ ^\.gitignore$ Tk-TableMatrix-1.29/META.yml000644 000765 000024 00000001332 14332233761 015632 0ustar00userstaff000000 000000 --- abstract: 'Tk::tkTable - a Spreadsheet/Table Widget' author: - 'jcerney@home.com (John Cerney)' build_requires: ExtUtils::MakeMaker: '0' configure_requires: ExtUtils::MakeMaker: '6.52' Tk::MMutil: '0' dynamic_config: 1 generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 2.150010' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: Tk-TableMatrix no_index: directory: - t - inc requires: Tk: '800.022' resources: bugtracker: https://github.com/asb-capfan/Tk-TableMatrix/issues repository: https://github.com/asb-capfan/Tk-TableMatrix.git version: '1.29' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' Tk-TableMatrix-1.29/Makefile.PL000644 000765 000024 00000010626 14332233457 016343 0ustar00userstaff000000 000000 use 5.00404; use Cwd; use Config; no lib '.'; BEGIN { warn("### Note: 'Building Outside of Tk itself' Messages are Expected Here ####\n"); $IsWin32 = ($^O eq 'MSWin32' || $Config{'ccflags'} =~ /-D_?WIN32_?/); $VERSION = '1.29'; $win_arch = shift @ARGV if @ARGV and $ARGV[0] =~ /^(open32|pm|x|MSWin32)$/; require('fix_4_os2.pl'), OS2_massage() if $^O eq 'os2'; $win_arch = ($IsWin32) ? 'MSWin32' : 'x' if not defined $win_arch; # Currently 'x', 'pm', 'open32', 'MSWin32' require "./myConfig"; # use lib ($Tk::MMutil::dir=getcwd); } use Tk::MMutil; # Get existing tk version for figuring $tkversion = eval 'use Tk; $Tk::VERSION;'; #print "################tkversion = $tkversion\n"; my $mydefine =''; if( $tkversion < 804.000 ){ # Tk 800 and below need the old-style XSTkCommand call # in TableMatrix.xs $mydefine .= " -DTK800XSTK"; } if ($IsWin32) { *MY::makeaperl = \&makeWin32perl; if ($Config{cc} =~ /^gcc/i) { @libs = (''); } } else { my $plibs = $Config{'libs'}; my $libs = "$xlib -lX11"; # Used to have -lpt in here as well. my @try = qw(-lsocket -lnsl -lm); push(@try,'-lc') if $^O eq 'svr4'; my $lib; # perl needs sockets and math library too # so only include these if they made it through perl's Configure foreach $lib (@try) { $libs .= " $lib" if ($plibs =~ /$lib\b/); } @libs = ("$libs"); } my $dir = Tk::MMutil::find_subdir(); delete $dir->{'pTk'}; # Find path to existing pTk include files my $ptkPath = Tk::MMutil::findINC('Tk/pTk/Lang.h'); $ptkPath =~ s/\/Lang\.h$//g; Tk::MMutil::TkExtMakefile( 'VERSION' => $VERSION, 'XS_VERSION' => $VERSION, 'EXE_FILES' => [], 'NAME' => 'Tk::TableMatrix', 'DIR' => ['pTk',reverse(sort(keys %$dir))], 'DISTNAME' => "Tk-TableMatrix", 'DEFINE' => $mydefine, 'MYEXTLIB' => 'pTk/libpTk$(LIB_EXT)' . ($win_arch =~ /^(open32|pm)$/ ? ' pTk/dllInit$(LIB_EXT)' : ''), 'INC' => "-I$ptkPath", 'LIBS' => \@libs, 'OBJECT' => '$(O_FILES)', 'clean' => { FILES => 'pTk/tkConfig.h ' }, 'PREREQ_PM' => { Tk => 800.022, }, 'CONFIGURE_REQUIRES' => { "ExtUtils::MakeMaker" => 6.52, "Tk::MMutil" => 0, }, 'META_MERGE' => { "meta-spec" => { version => 2 }, resources => { repository => { type => 'git', url => 'https://github.com/asb-capfan/Tk-TableMatrix.git', web => 'https://github.com/asb-capfan/Tk-TableMatrix', }, bugtracker => { web => 'https://github.com/asb-capfan/Tk-TableMatrix/issues', }, }, }, @macro ); sub MY::top_targets { my ($self) = @_; my $str = $self->MM::top_targets; $str =~ s/\bmanifypods\b/html/g; return $str; } sub MY::post_initialize { my ($self) = @_; my ($ret) = ''; my %files = (); my $dir = $self->catdir('$(INST_ARCHLIBDIR)','Tk'); my $name; foreach $name (grep /(%|\.q4|\.bck|\.old)$/,keys %{$self->{PM}}) { delete $self->{PM}->{$name}; } # delete $self->{PM}->{'Tk/Config.pm'}; # $self->{PM}->{'Tk/Config.pm'} = $self->catfile($dir,'Config.pm'); # $files{'typemap'} = 1; foreach $name ($self->lsdir(".")) { next if ($name =~ /^\./); next unless (-f $name); $files{$name} = 1 if ($name =~ /\.[tm]$/); $files{$name} = 1 if ($name =~ /\.def$/); } foreach $name (sort(@{$self->{H}},keys %files)) { $self->{PM}->{$name} = $self->catfile($dir,$name); } $ret; } sub needs_Test { my $file = shift; local $_; unless (open(TFILE,"$file")) { warn "Cannot open $file:$!"; return 1; } my $code = 0; while () { last if ($code = m/^\s*(use|require)\s+Test\b/); } close(TFILE); warn "Skipping test $file needs 'Test.pm':$_" if $code; return $code; } sub MY::test { my ($self,%attrib) = @_; my @tests = sort glob($self->catfile('t','*.t')); eval { require Test }; if ($@) { @tests = grep(!needs_Test($_),@tests); } $attrib{'TESTS'} = join(' ',@tests); # Temporarily remove sub-dirs from $self as we 'know' # there are no tests down there my $dir = delete $self->{'DIR'}; my $str = $self->MM::test(%attrib); # Put sub-dirs back $self->{'DIR'} = $dir; return $str; } sub MY::postamble { ' html : subdirs manifypods @cd pod && $(MAKE) html $(PASTHRU) Makefile : myConfig $(MYEXTLIB) : config FORCE cd pTk && $(MAKE) perlmain.c : config Makefile pTk/tk.res : $(MYEXTLIB) basic : $(INST_DYNAMIC) pm_to_blib MANIFEST : MANIFEST.SKIP $(FIRST_MAKEFILE) $(MAKE) manifest '; } Tk-TableMatrix-1.29/debug.bat000755 000765 000024 00000000617 14332121637 016145 0ustar00userstaff000000 000000 @perl -Sx %0.bat %* @goto end_of_perl #!perl -w my $perl = $^X; $perl .= '.exe' unless $perl =~ /\.exe$/i; unless (-x $^X) { my $leaf = $perl; foreach my $dir (split(/;/,$ENV{'Path'})) { my $try = "$dir/$leaf"; if (-x $try) { $perl = $try; $perl =~ tr,\\,/,; last; } } } print join(' ',$perl,$0,@ARGV),"\n"; system("gdb $perl"); __END__ :end_of_perlTk-TableMatrix-1.29/demos/000755 000765 000024 00000000000 14332233760 015470 5ustar00userstaff000000 000000 Tk-TableMatrix-1.29/TableMatrix.pm000644 000765 000024 00000064147 14332233457 017152 0ustar00userstaff000000 000000 # This file converted to perltk using the tcl2perl script and much hand-editing. # jc 6/26/00 # # table.tcl -- # # version align with tkTable 2.7, jeff.hobbs@acm.org # This file defines the default bindings for Tk table widgets # and provides procedures that help in implementing those bindings. # #-------------------------------------------------------------------------- # tkPriv elements used in this file: # # afterId - Token returned by "after" for autoscanning. # tablePrev - The last element to be selected or deselected # during a selection operation. # mouseMoved - Boolean to indicate whether mouse moved while # the button was pressed. # borderInfo - Boolean to know if the user clicked on a border # borderB1 - Boolean that set whether B1 can be used for the # interactiving resizing #-------------------------------------------------------------------------- ## Interactive cell resizing, affected by -resizeborders option ## package Tk::TableMatrix; use AutoLoader; use Carp; use strict; use vars( '%tkPriv', '$VERSION'); $VERSION = '1.29'; use Tk qw( Ev ); use base qw(Tk::Widget); Construct Tk::Widget 'TableMatrix'; bootstrap Tk::TableMatrix; sub Tk_cmd { \&Tk::tablematrix }; sub Tk::Widget::ScrlTableMatrix { shift->Scrolled('TableMatrix' => @_) } Tk::Methods("activate", "bbox", "border", "cget", "clear", "configure", "curselection", "curvalue", "delete", "get", "rowHeight", "hidden", "icursor", "index", "insert", "postscript", "reread", "scan", "see", "selection", "set", "spans", "tag", "validate", "version", "window", "colWidth", "xview", "yview"); use Tk::Submethods ( 'border' => [qw(mark dragto)], 'clear' => [qw(cache sizes tags all)], 'delete' => [qw(active cols rows)], 'insert' => [qw(active cols rows)], 'scan' => [qw(mark dragto)], 'selection'=> [qw(anchor clear includes set)], 'tag' => [qw(cell cget col configure delete exists includes names row raise lower)], 'window' => [qw(cget configure delete move names)], 'xview' => [qw(moveto scroll)], 'yview' => [qw(moveto scroll)], ); sub ClassInit { my ($class,$mw) = @_; $tkPriv{borderB1} = 1; # initialize borderB1 $mw->bind($class,'<3>', sub { my $w = shift; my $Ev = $w->XEvent; ## You might want to check for cell returned if you want to ## restrict the resizing of certain cells $w->border('mark',$Ev->x,$Ev->y); } ); $mw->bind($class,'',['border','dragto',Ev('x'),Ev('y')]); $mw->bind($class,'<1>', sub { my $w = shift; my $Ev = $w->XEvent; $w->Button1($Ev->x,$Ev->y); } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->B1Motion($Ev->x,$Ev->y); } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $tkPriv{borderInfo} = ""; if ($w->exists) { $w->CancelRepeat; $w->activate('@' . $Ev->x.",".$Ev->y); } } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->BeginExtend( $w->index('@' . $Ev->x.",".$Ev->y)); } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->BeginToggle($w->index('@' . $Ev->x.",".$Ev->y)); } ); $mw->bind($class,'','CancelRepeat'); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; if( !$tkPriv{borderInfo} ){ $tkPriv{x} = $Ev->x; $tkPriv{y} = $Ev->y; $w->AutoScan; } } ); $mw->bind($class,'<2>', sub { my $w = shift; my $Ev = $w->XEvent; $w->scan('mark',$Ev->x,$Ev->y); $tkPriv{x} = $Ev->x; $tkPriv{y} = $Ev->y; $tkPriv{'mouseMoved'} = 0; } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $tkPriv{'mouseMoved'} = 1 if ($Ev->x ne $tkPriv{'x'} || $Ev->y ne $tkPriv{'y'}); $w->scan('dragto',$Ev->x,$Ev->y) if ($tkPriv{'mouseMoved'}); } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->Paste($w->index('@' . $Ev->x.",".$Ev->y)) unless ($tkPriv{'mouseMoved'}); } ); ClipboardKeysyms( $mw, $class, qw/ /); ClipboardKeysyms( $mw, $class, 'Control-c', 'Control-x', 'Control-v'); ############################ $mw->bind($class,'<>', sub { my $w = shift; my $Ev = $w->XEvent; eval { $w->activate('active'); } ; } ); # Remove this if you don't want cell commit to occur on every Leave for # the table (via mouse) or FocusOut (loss of focus by table). $mw->eventAdd( qw[ <> ]); $mw->bind($class,'',['ExtendSelect',-1,0]); $mw->bind($class,'',['ExtendSelect',1,0]); $mw->bind($class,'',['ExtendSelect',0,-1]); $mw->bind($class,'',['ExtendSelect',0,1]); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->yview('scroll',-1,'pages'); $w->activate('@0,0'); } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->yview('scroll',1,'pages'); $w->activate('@0,0'); } ); $mw->bind($class,'',['xview','scroll',-1,'pages']); $mw->bind($class,'',['xview','scroll',1,'pages']); $mw->bind($class,'',['see','origin']); $mw->bind($class,'',['see','end']); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->selection('clear','all'); $w->activate('origin'); $w->selection('set','active'); $w->see('active'); } ); $mw->bind($class,'', sub { my $w = shift; my $Ev = $w->XEvent; $w->selection('clear','all'); $w->activate('end'); $w->selection('set','active'); $w->see('active'); } ); $mw->bind($class,'',['DataExtend','origin']); $mw->bind($class,'',['DataExtend','end']); $mw->bind($class,'