summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/graphic_frame.rb
AgeCommit message (Collapse)Author
2023-05-05Pipe output directly to str and avoid additional memory allocationsPaul Kmiec
Currently, there are lots of examples of code like this, ``` str << ('<tag ' << foo << ' ' << bar << '/>') ``` which create the string for the tag in memory before piping to str. We can avoid creating all of these intermediate strings by dropping the paranthesis and piping directly to str. This relies on the `str` passed around to handle lots of small appends. This is a problem when using RubyZip, but that is solved in the next commit.
2023-05-04Fix tests / code to work with frozen string literalsPaul Kmiec
2023-05-04Enable Style/FrozenStringLiteralComment and autocorrectPaul Kmiec
2023-04-08Fix EmptyLines related offensesGeremia Taglialatela
2023-04-06Fix Style/Encoding offensesGeremia Taglialatela
``` rubocop --only Style/Encoding -a ```
2014-02-26Huge refactoringJurriaan Pruis
Do not create huge strings Let Row inherit from SimpleTypedList Optimized sanitizing Optimized validation And more..
2013-07-08Make relationship ids more reliable.Stefan Daschek
Relationship instances now keep track of their own id – this should be much more reliable than the old way of more or less “guessing” the relationship id based on the position of some object in some array. Fixes https://github.com/randym/axlsx/issues/212, especially. Each relationship now has its own, unique id – except for the cases when it doesn’t: Some relationships need to share the same id, see `Relation#should_use_same_id_as?` for the gory details. All tests pass, and the full example.xlsx is generated without errors and looks fine in Excel for Mac 2011. The pivot table example still has the problems mentioned in https://github.com/randym/axlsx/issues/168 – but as far as I can tell I didn’t make it worse (Excel is still be able to “repair” the file, and the repaired file then contains the pivot table).
2013-02-04Completed missing docs and pre-release prepRandy Morgan
2013-01-15Refactored relationship management for drawingsRandy Morgan
This should fix #160
2012-06-05fix chart title parsing to properly handle non-cell based text runsRandy Morgan
2012-06-02quick fix for chart rendering problem. Randy Morgan
Need to ensure that we are not pushing odd strings into a number data axis point. This should at least make sure we get a nice fat 0 for now, but it really needs a bit more than this.
2012-05-08documentation for comments.Randy Morgan
2012-04-03pre-release cleanupRandy Morgan
2012-04-01rebuild all serialization to use string concatenation instead of nokogiri.Randy Morgan
2012-04-01part way through changing all serialization to use string concatenation ↵Randy Morgan
prior to dropping Nokogiri dep in production.
2012-03-09patch title serialization for graphic frameRandy Morgan
2012-02-12Adding in support for optionally using the shared strings table. This will ↵Randy Morgan
allow us to inter-op properly with Numbers
2011-12-08cleaning up xml namespace usage in drawings and improving looks for charts ↵Randy Morgan
in excel 2011
2011-11-26adding in support for ruby 1.9.3Randy Morgan
release version 1.0.9
2011-11-23Adding image support and some document clean up for .8 releaseRandy Morgan
2011-11-23-refactoring chart position and axis data/category for chart.Randy Morgan
-additional specs and documentation improvements.
2011-11-20first commitRandy Morgan