pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/sc-im



Module Name:    pkgsrc
Committed By:   sjmulder
Date:           Wed Apr 19 13:38:54 UTC 2023

Modified Files:
        pkgsrc/math/sc-im: Makefile distinfo
        pkgsrc/math/sc-im/patches: patch-src_Makefile

Log Message:
math/sc-im: Update to 0.8.3

Changes:

New
 - Multi Sheet support
   added :newsheet, :nextsheet, :prevsheet :delsheet COMMAND_MODE
   commands. `gt` and `gT` commands in NORMAL_MODE are now used for
   moving between sheets
   - added new colors types SHEET, CURRENT_SHEET and FILENM
   - .sc file saving with multiple sheets
   - loading xlsx with multiple sheet
   - saving xlsx with multiple sheets
   - add :renamesheet COMMAND_MODE command
   - created movetosheet command in gram.y, to be used internally or in
     scripts when saving and loading files.
   - reeval in multiple sheets: graph now should keep track of the
     different sheets reference cells from different sheets in formulas:
     ={"Sheet2"}!A2
 - Save triggers in files
 - Added automated tests
 - C command in EDIT MODE
 - Added ignore_hidden configuration variable to address #674 #653. With
   this hidden rows can be ignored when exporting spreasheets. Useful
   when exporting the result of a filter. This will also be honored
   when copy/pasting a range that have hidden rows in it.
 - PR 725: added 'default_open_file_under_cursor_cmd' configuration
   value that can be set at runtime

Changes
 - added more detailed error in gram.y:yyerror
 - Adapt string and number search for multisheet
 - marks now considers sheet. We could have mark A in Sheet 1, and
   mark B on Sheet 2.
 - modified tick() and fix_marks()
 - Renamed auto_justify to auto_fit
 - `gt` command of NORMAL_MODE renamed to `go`
 - Removed --sheet and --filename_with_mode configuration variables
 - UNDO now saves reference to the sheet where the action took place.
 - copy_to_undostruct() now keep in added/removed list struct ent_ptr *
   (that knows of sheets), rather than struct ent *.
 - Copy alignment of strings when doing `Pf`.
 - undo: save maxrow, maxcol, modflg values before and after changes,
   so they can be restored after undo/redo actions
 - Modified yanklist to be struct ent_ptr list, rather than struct ent
   list.
 - Ents_that_depends_on_list now takes ent_ptr rather than struct ent *
   as parameter
 - Backslash double quotes in cpaste. Issue 574.
 - Do not free ents of sheets when deleting a sheet manually (only at
   exit).  just mark them as deleted.
 - Inform old value and new value when changing configuration variable
 - UI optimizations
 - Store offscr_sc values when saving sc files. Restore them when
   loading sc files
 - Simplify clipboard code
 - xlsx.c: Convert to uppercase before replacing functions
 - Added D command on EDIT mode.
 - ESC in EDIT_MODE also confirm changes.
 - Reeval when pasting from clipboard and autocalc is set
 - Adjust Makefile to have logic for clipboard commands on MacOS

Fixes
 - fixed building warnings
 - fix in calc_mobile_cols()
 - fix not updating graph correctly after yanking cells with references
   -> Pc -> undo.  It could also segfault on ocassions as well. Added
   test5 and test6 for this.
 - Issue #568: handle '>' and '<' on mappings.
 - Issue #569: fix invalid read/write/segfault when deleting column.
   Added test8 and test9 for this.
 - fix horizontal scroll when editing cells with long strings (wider
   than screen)
 - Avoid reading passed maxcols maxrows when shifting left or up over
   last sheet column/row.
 - fix in Pv when pasting over same place where data was yanked.
 - fix in paste_yanked_ents: calloc didnt count that yanked cells could
   share dependencies.
 - fix a bug when refreshing grid when autowrap operates. Issue 578.
 - Avoid segfault in autobackup when no current file is set.
 - fix in cw dw c$ d$ commands of EDIT_MODE
 - fix leak in del_selected_cells
 - fix when using C-r in INSERT_MODE
 - fix arguments reversed on sc.colrow2a
 - fix in delete_filters that caused SEGFAULT. Issue 637.
 - fix in unformat. call to copy_to_undostruct with wrong parameters.
 - fix swapped arguments on lsetform
 - added string functions to dep graph
 - Issue #697: do not allow to override nocurses config variable
 - fix #694: csv import and export / LaTex export
 - fix #700: '{' '}' normal mode commands reset cmd_multiplier


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/math/sc-im/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/math/sc-im/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/sc-im/patches/patch-src_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/sc-im/Makefile
diff -u pkgsrc/math/sc-im/Makefile:1.38 pkgsrc/math/sc-im/Makefile:1.39
--- pkgsrc/math/sc-im/Makefile:1.38     Wed Apr 19 08:10:46 2023
+++ pkgsrc/math/sc-im/Makefile  Wed Apr 19 13:38:53 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2023/04/19 08:10:46 adam Exp $
+# $NetBSD: Makefile,v 1.39 2023/04/19 13:38:53 sjmulder Exp $
 
-DISTNAME=      sc-im-0.8.2
-PKGREVISION=   9
+DISTNAME=      sc-im-0.8.3
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=andmarti1424/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/math/sc-im/distinfo
diff -u pkgsrc/math/sc-im/distinfo:1.6 pkgsrc/math/sc-im/distinfo:1.7
--- pkgsrc/math/sc-im/distinfo:1.6      Tue Oct 26 10:56:07 2021
+++ pkgsrc/math/sc-im/distinfo  Wed Apr 19 13:38:53 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:56:07 nia Exp $
+$NetBSD: distinfo,v 1.7 2023/04/19 13:38:53 sjmulder Exp $
 
-BLAKE2s (sc-im-0.8.2.tar.gz) = 0adabda02d35a06311e585951d23a007830b74689a19c910f4d903e0a583d251
-SHA512 (sc-im-0.8.2.tar.gz) = ae02fd31eb7254208de26802ed6d8b21d77ce2d6997f4a2de5bd2f0a002c763f67f53e6c8e49d66ded096ecd8bf50b1117015e9a0356eaf11c3caef22cf4552c
-Size (sc-im-0.8.2.tar.gz) = 1619617 bytes
-SHA1 (patch-src_Makefile) = a8775db5d5a91cb1ee53946e4eff4fe3390a9dc5
+BLAKE2s (sc-im-0.8.3.tar.gz) = 8b541d5b13b6f0e75f28ee2a6f44908e07c471cb7c260d7014ba3e655ba1bc36
+SHA512 (sc-im-0.8.3.tar.gz) = a3d7cf99c7c959d24ebf7e525abb665c02690674c9b3cdf5b234dcdb376fd73e9488bda522106802932084bbfd239928e39b35743c7051178aa14edf61ec2cb8
+Size (sc-im-0.8.3.tar.gz) = 1664440 bytes
+SHA1 (patch-src_Makefile) = d75c6716d96aae6c28e1cbedf30dc4b3d4167eac

Index: pkgsrc/math/sc-im/patches/patch-src_Makefile
diff -u pkgsrc/math/sc-im/patches/patch-src_Makefile:1.3 pkgsrc/math/sc-im/patches/patch-src_Makefile:1.4
--- pkgsrc/math/sc-im/patches/patch-src_Makefile:1.3    Mon Jul 26 01:38:05 2021
+++ pkgsrc/math/sc-im/patches/patch-src_Makefile        Wed Apr 19 13:38:54 2023
@@ -1,10 +1,10 @@
-$NetBSD: patch-src_Makefile,v 1.3 2021/07/26 01:38:05 sjmulder Exp $
+$NetBSD: patch-src_Makefile,v 1.4 2023/04/19 13:38:54 sjmulder Exp $
 
 - Make libdl and curses flags overridable
 - Make color support opt in so we can control it
 - Remove hardcoded paths for NetBSD
 
---- src/Makefile.orig  2021-05-13 17:38:26.000000000 +0000
+--- src/Makefile.orig  2023-01-12 17:57:03.000000000 +0000
 +++ src/Makefile
 @@ -37,7 +37,7 @@ CFLAGS += -DDFLT_PAGER=\"less\"
  # Sets default editor. Its use in case EDITOR env variable is not set
@@ -74,6 +74,6 @@ $NetBSD: patch-src_Makefile,v 1.3 2021/0
 +CFLAGS += $(CFLAGS_CURSES)
 +LDLIBS += $(LDLIBS_CURSES)
 +
- OBJS = $(patsubst %.c, %.o, $(wildcard *.c) $(wildcard utils/*.c)) gram.o
+ OBJS = $(patsubst %.c, %.o, $(wildcard *.c) $(wildcard actions/*.c) $(wildcard formats/*.c) $(wildcard cmds/*.c) $(wildcard utils/*.c)) gram.o
  
  .PHONY : all clean install docs man_install man_uninstall



Home | Main Index | Thread Index | Old Index