summaryrefslogtreecommitdiff
path: root/poppler/PopplerCache.h
AgeCommit message (Collapse)AuthorFilesLines
2018-10-21Update (C)Albert Astals Cid1-0/+1
2018-10-04Remove specialized PopplerObjectCache since it has only one user and the ↵Adam Reichold1-27/+2
additional abstraction actually obscures how it is used instead of simplifying it.
2018-10-04Turn PopplerCache into a template to avoid double indirection for look-up ↵Adam Reichold1-56/+53
via virtual helper classes.
2018-01-08Delete lots of copy constructors and copy assignment operatorsAlbert Astals Cid1-3/+15
Fixes rule-of-three and copyable-polymorphic warnings reported by clazy. The default copy constructor and copy assignment operator are only valid for simple classes so we delete them (i.e. make then not exist) when we have either a virtual class or a destructor, the code still compiles so this doesn't fix any bug, it is more a protection for when you think you can copy a class and don't realize the default copy constrcutor is not doing what you want and you get crashes. Hopefully this helps us in the future :)
2017-05-09New Object APIAlbert Astals Cid1-2/+2
Implement the move operators and copy construtor Almost all the init() functions are gone and we just have simple constructors now Also made free() public since you're not supposed to call it anymore, unless you're being evil and malloc'ing Objects like Array/Dict/XRef This has a huge reaction chain, most importantly we don't get objects by passing a pointer Object parameter, we just get the object as a return value, which is a much clearer API - aobj->copy(&obj); + obj = aobj->copy(); before I was never sure what was being copied into what Comes with a huge diff, I probably made some mistake in the porting since there was lots of copy & paste involved
2010-01-25Make the poppler object cache params be a refAlbert Astals Cid1-3/+3
And make sure what we was is a ref, otherwise we abort
2010-01-24Add and fix copyright yearsAlbert Astals Cid1-0/+1
2010-01-24Add a generic cache to store objects by its referenceCarlos Garcia Campos1-0/+16
2009-06-10Correctly duplicate the cache on PostScriptFunction(PostScriptFunction *func)Albert Astals Cid1-0/+14
2009-06-07Add a code to a generic cache based on Koji's code for GfxState cacheAlbert Astals Cid1-0/+47