-
Notifications
You must be signed in to change notification settings - Fork 12
/
changelog
149 lines (85 loc) · 4.43 KB
/
changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
Changelog
=========
v1.1.3 (2015-04-11)
-------------------
- Merge pull request #7 from dominicmontreuil/patch-4. [Maxime
Haineault]
Letting base manage styles
- Letting base manage styles. [Dominic Montreuil]
Mangling self.styles to self.__styles should let classes subclassing ReportBase know that you shouldn't add to styles directly and let the base class manage them.
The reason in this case is to let ReportBase handle the styles and work around the threadlock issues by cleaning the styles prior to a new report being executed. Doing so has the effect of minimizing work in the utils.unique method making sure that before each report execution we have a minimum or more explicitely the relevant styles for our current report.
Classes subclassing ReportBase should use the append_styles(self, styles) method instead of appending to styles directly.
- Merge pull request #9 from dominicmontreuil/patch-3. [Maxime
Haineault]
Better practice in utils.py
- Better practice in utils.py. [Dominic Montreuil]
The link_callback wasn't really used...although it didn't cause harm either.
generate_pdf and generate_pdf_template_object didn't return anything useful and whatever they returned wasn't used anyways. Pisa documentation recommends that such functions/methods return the generation errors for exception catching. Not implemented here, but just an overall better practice.
Also is the addition of file_object.close(). You should manually close your StringIO objects as in some reported errors not closing them was the cause for massive slowdowns and hungry ressource usage by xhtml2pdf.
All the recommended changes here are optional, but the StringIO manual close is recommended very highly to Pisa/xhtml2pdf users.
v1.0.9 (2015-03-28)
-------------------
- Fixed setup.py. [Maxime Haineault]
v1.0.8 (2015-03-28)
-------------------
- Fixed important memory leak in style loading (thanks Dom) [Maxime
Haineault]
v1.0.7 (2015-03-28)
-------------------
- Merge pull request #3 from dulaccc/format-filter. [Maxime Haineault]
Add a format filter to simplify debugging
- Add a filter using GET parameters to simplify debugging. [Pierre
Dulac]
- Add autodiscover step to the readme file. [Pierre Dulac]
- Merge branch 'dulaccc-add-url-name' [Maxime Haineault]
- Add a url name property to the urlpattern generated. [Maxime
Haineault]
- Add a url name property to the urlpattern generated. [Pierre Dulac]
- Merge branch 'dulaccc-fix-resource-remote-url' [Maxime Haineault]
- .. [Maxime Haineault]
- Let pisa handle remote resources. [Pierre Dulac]
- Merge pull request #6 from dominicmontreuil/patch-1. [Maxime
Haineault]
Update setup.py @wip
- Update setup.py. [Dominic Montreuil]
I needed to use pdfutils along with another package that required httplib2 0.9 or higher.
I tested pdfutils with httplib2 0.9 and everything works. It should be safe to update to the newer version of httplib2.
- Cleaning up venv after build. [Maxime Haineault]
v1.0.6 (2015-03-27)
-------------------
- Cleanup. [Maxime Haineault]
v1.0.5 (2015-03-27)
-------------------
- Fixed build script. [Maxime Haineault]
v1.0.4 (2015-03-27)
-------------------
- Let pisa handle remote resources. [Maxime Haineault]
https://github.com/dulaccc/django-pdfutils/commit/e92304c2c952a902c6461787aec2cb269595b738
- Add a url name property to the urlpattern generated. [Maxime
Haineault]
https://github.com/dulaccc/django-pdfutils/commit/161c7fc044d21dbaf91c57266f4b408846af8122
- Updated to httplib2 0.9. [Maxime Haineault]
- Messed up version, dammit. [Maxime Haineault]
v1.0.3 (2015-03-27)
-------------------
- Wheel doesn't build. well.. no wheel. [Maxime Haineault]
v1.0.2 (2015-03-27)
-------------------
- Updated .gitignore. [Maxime Haineault]
- Updated build script, now building wheel. [Maxime Haineault]
v1.0.1 (2015-03-27)
-------------------
- Updated .gitignore, almost finished build script, updated setup.py.
[Maxime Haineault]
- Added a release script. [Maxime Haineault]
- Merged. [Maxime Haineault]
- Update setup.py. [Maxime Haineault]
- Updated urls for django 1.5+ (unused), updated gitignore. [Maxime
Haineault]
- Fixed small bug in get_context. [Maxime Haineault]
- Removed maximum django version restriction, updated gitignore. [Maxime
Haineault]
- Removed PIL dependency. [Maxime Haineault]
- Removed django-xhtml2pdf dependency. [Maxime Haineault]
- Removed THUMBNAIL_MEDIA_URL from template variables. [Maxime
Haineault]