1. 15 8月, 2021 1 次提交
    • xurime's avatar
      Improve security and simplify code · 48c16de8
      xurime 提交于
      - Make variable name more semantic
      - Reduce cyclomatic complexities for the formula calculate function
      - Support specified unzip size limit on open file options, avoid zip bombs vulnerability attack
      - Typo fix for documentation and error message
      48c16de8
  2. 04 6月, 2021 1 次提交
    • A
      This closes #409 Remove UTC timezone requirement from date.go (#853) · 58f92875
      Alluuu 提交于
      According to issue #409
      
      There is absolutely no reason for the timezone to be in UTC, and converting the local times to UTC while keeping values is hacky at least.
      
      Excel has no understanding of timezones, hence the user of this library should know what timezone their values are supposed to be, by following the timezone within their timeTime structs.
      58f92875
  3. 10 5月, 2021 1 次提交
  4. 11 11月, 2020 1 次提交
  5. 03 3月, 2020 1 次提交
  6. 16 4月, 2019 1 次提交
  7. 23 3月, 2019 1 次提交
    • xurime's avatar
      refactor: handler error instead of panic, · 40ff5dc1
      xurime 提交于
      Exported functions:
      
      SetCellStyle
      InsertCol
      RemoveCol
      RemoveRow
      InsertRow
      DuplicateRow
      DuplicateRowTo
      SetRowHeight
      GetRowHeight
      GetCellValue
      GetCellFormula
      GetCellHyperLink
      SetCellHyperLink
      SetCellInt
      SetCellBool
      SetCellFloat
      SetCellStr
      SetCellDefault
      GetCellStyle
      SetCellValue
      MergeCell
      SetSheetRow
      SetRowVisible
      GetRowVisible
      SetRowOutlineLevel
      GetRowOutlineLevel
      GetRows
      Columns
      SearchSheet
      AddTable
      GetPicture
      AutoFilter
      GetColVisible
      SetColVisible
      GetColOutlineLevel
      SetColOutlineLevel
      SetColWidth
      GetColWidth
      
      inner functions:
      
      adjustHelper
      adjustMergeCells
      adjustAutoFilter
      prepareCell
      setDefaultTimeStyle
      timeToExcelTime
      addDrawingChart
      addDrawingVML
      addDrawingPicture
      getTotalRowsCols
      checkRow
      addDrawingShape
      addTable
      40ff5dc1
  8. 21 3月, 2019 1 次提交
  9. 20 3月, 2019 1 次提交
    • V
      Huge refactorig for consistent col/row numbering (#356) · dc012645
      Veniamin Albaev 提交于
      * Huge refactorig for consistent col/row numbering
      
      Started from simply changing ToALphaString()/TitleToNumber() logic and related fixes.
      But have to go deeper, do fixes, after do related fixes and again and again.
      
      Major improvements:
      
      1. Tests made stronger again (But still be weak).
      2. "Empty" returns for incorrect input replaces with panic.
      3. Check for correct col/row/cell naming & addressing by default.
      4. Removed huge amount of duplicated code.
      5. Removed ToALphaString(), TitleToNumber() and it helpers functions at all,
      and replaced with SplitCellName(), JoinCellName(), ColumnNameToNumber(), ColumnNumberToName(), CellNameToCoordinates(), CoordinatesToCellName().
      6. Minor fixes for internal variable naming for code readability (ex. col, row for input params, colIdx, rowIdx for slice indexes etc).
      
      * Formatting fixes
      dc012645
  10. 27 12月, 2018 1 次提交
    • V
      Tests refactoring · 35426ed5
      Veniamin Albaev 提交于
      Primary motivation: Avoid statefull tests with not ignorable git file tree changes.
      Multiple tests reads and overwrites signle file for won needs.
      Multiple tests reads and overwrites file under version control.
      
      Secondary motivation: Minimal tests logic aligment, separate error expectation
      and not error expectation tests. Introduce sub-test over test data sets and so far.
      
      This commit is not ideal but necessary (IMHO)
      35426ed5
  11. 14 9月, 2018 1 次提交
  12. 20 6月, 2018 1 次提交