From d0e99f195a987c483bbb6c5449cf39bee34e08a1 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 16 Feb 2018 17:25:27 -0500 Subject: More robust handling of type errors Give objects descriptions and context so it is possible to issue warnings instead of fatal errors for attempts to access objects of the wrong type. --- TODO | 9 --------- 1 file changed, 9 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 402a715f..6a27acb0 100644 --- a/TODO +++ b/TODO @@ -1,15 +1,6 @@ Soon ==== - * Consider whether there should be a mode in which QPDFObjectHandle - returns nulls for operations on the wrong type instead of asserting - the type. The way things are wired up now, this would have to be a - global flag. Probably it makes sense to make that be the default - behavior and to add a static method in QPDFObjectHandle and - command-line flag that enables the stricter behavior globally for - easier debugging. For cases where we have enough information to do - so, we could still warn when not in strict mode. - * Add method to push inheritable resources to a single page by walking up and copying without overwrite. Above logic will also be sufficient to fix the limitation in -- cgit v1.2.3-54-g00ecf