-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathChangeLog
More file actions
263 lines (172 loc) · 8.85 KB
/
ChangeLog
File metadata and controls
263 lines (172 loc) · 8.85 KB
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
2013-11-20 Christopher Hoobin <christopher@hoob.in>
- Fixed issue with %EXT format string replacing the incorrect file
suffix when there is more then one dot in the file name.
- Fixed issue determining file suffix when content disposition,
MIME and URI detection fails.
2013-09-26 Christopher Hoobin <christopher@hoob.in>
- Added a number of new format strings.
- Fixed issues with %ALT format string when it is empty.
- Fixed issue saving using the 'Save image as' dialog.
2013-02-07 Christopher Hoobin <christopher@hoob.in>
- Added sane handling of invalid paths in configuration file.
2013-02-04 Christopher Hoobin <christopher@hoob.in>
- Added drag and drop functionality to Treeview.
- Added submenu expand/collapse capability to the Treeview.
2013-01-29 Christopher Hoobin <christopher@hoob.in>
- Updated directoryList format from a delimited string to a JSON string.
- Added import/export functionality.
- New context items will now be inserted bellow the current
selected item.
- File prefix setting is now 'File format'. It is now possible to
control how the file is named, not just its prefix.
- Variables added to File format setting.
- Added 'Open Save As Dialog' option to menu items.
- Added 'Settings' option to settings dialog. This will open the
settings dialog from the context menu.
- Added 'Generate' option to settings dialog. This will generate a
menu tree from a selected directory.
- Double click on a menu item will open its edit dialog.
- Added 'Hide the default Save Image As... context item' option.
- Added 'Display save notification in the status bar' option.
2013-01-13 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js
* item.[js|xul]
* edit.[js|xul]
- Included option to add a default 'Save As...' menu item to
anywhere in the CMIS context menu.
- Added %DATE, %DATE{FORMAT} and %ALT variables to prefix string
creation.
2013-01-05 Christopher Hoobin <christopher@hoob.in>
* Cmis.io.save Updated addDownload and saveURL functions to deal
with FF18's per-window private browsing context.
2013-01-03 Christopher Hoobin <christopher@hoob.in>
* Cmis.util.filename Fixed issue where
nsIMIMEService.getPrimaryExtension("image/jpg", null) running XP
x86_64 was returning a different value to FF builds on Linux and
later versions of Windows.
2012-12-29 Christopher Hoobin <christopher@hoob.in>
* Cmis.util.filename
- As of FF18 there is no longer a single image cache. Cmis checks
the browsers version string and deals with this correctly.
- @mozilla.org/initl/texttosuburi;1 was not using the correct URI.
- Added a check to determine if the source URI looks like a directory.
* Cmis.util.validate Checks for a correct file suffix. If it is
missing it will append one acording to its Content-Type HTTP
header.
2012-11-30 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js Prepending file name prefix was indexing the wrong
element fromm directory_data
2012-11-29 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js nsIWebBrowserPersist.saveURI takes a seventh
argument which was neglected. This was causing a hang-up on FF18b2
and preventing it from saving anything.
2012-08-28 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js
* edit.js
Replaced all calls to FileUtils.jsm with a call to
Cc[@mozilla.org/file/local;1].createInstance(Ci.nsILocalFile).
Pre Gecko 9.0 does not support FileUtils.File.
* bootstrap.js (startup/shutdown) Post Gecko 10.0 manifest
registration is performed automatically. Added code to startup and
shutdown functions for manifest registration if the addon is
running on older versions.
* items.xul Set treelines="true" on the tree XUL element. This
shows lines bellow hierarchical item elements and make things much
easier on the eyes.
* install.rdf Updated minVersion to 8.0. Previous versions does
not handle manifest registration correctly.
2012-08-27 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js Updated Cmis.menu.inject and Cmis.prefs functions
to deal with submenus.
* items.js Added load, save, move and delete functionality for
submenus. Updated items.select() to deal with submenus.
* items.xul Added new submenu button. Treeview now adjusts size
when window is adjusted instead of being stuck at 12 items.
2012-08-24 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js (Cmis.prefs) Fixed issue where preference branch
was being deleted on application upgrade. Now it will only delete
the branch when the uninstall function reason argument is
ADDON_INSTALL.
* bootstrap.js (Cmis.prefs) directoryList was changed from a basic
char preference type to a complex Ci.nsISupportsString type so we
can support unicode directories and menu labels.
2012-08-22 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js (Cmis.io) Replaced call to Services.downloads with
Cc[nsIdownloadManager]... Services.jsm states that it was
introduced in Firefox 4.0. I assumed that Services.downloads was
also included at that point; since nsIDownloadManager was
introduced in Firefox 3.5. However, on older versions of Firefox
(tested with v10 and v13) died on error.
* bootstrap.js (Cmis.util) Added an extra step in util.filename
that cleans up the source URL string removing HTTP GET parameters
beofre extracting a filename.
* bootstrap.js (Cmis.util) Added a filename validation function
which is relatively similar to the validateFileName function found
in contentAreaUtils.js. It replaces characters that do not belong
in filenames with valid characters.
2012-08-16 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js (Cmis.io) Abstracted file name creation code to
Cmis.util.filename.
* bootstrap.js (Cmis.util) New function filename will first check
for a Content-Disposition HTTP header with a 'filename' parameter
before extracting the name from the URL string.
2012-08-01 Christopher Hoobin <christopher@hoob.in>
* bootstrap.js (Cmis.io) Using nsIWebBrowserPersist.saveURI instead
of the internalSave function from .../global/contentAreaUtils.js.
* bootstrap.js (Cmis.utility) Using Services.prompt.confirmEx instead
of a custom xul file and a window.openDialog call.
2012-07-20 Christopher Hoobin <christopher@hoob.in>
* Cmis Project is now a bootstrapped (no restart) add on.
* options.xul Preference dialog moved to the add-on manager screen.
* options.xul New preference added, "Save links (not just images)".
* Update Minimum version requirement changed to 7.0.
* Update Version string changed to a more appropriate format.
2011-10-27 Christopher Hoobin <christopher@hoob.in>
* options.xul Replaced confirmOverwrite checkbox with
overwriteAction menu selection.
* overlay.js (saveImage) Updated function to deal with three save
options. Prompt user, save and overwrite file, and save to a
unique file.
* overlay.xul Removed string-bundle from overlay. No longer needed.
* overlay.js (confirmOverwrite) Renamed to promptOverwrite. No
longer using confirmEx dialog option. I use a custom dialog to
keep option buttons relatively consistent across operating
systems. See bug 345067.
* cmis.dtd Added new ENTITY elements for new prompt.xul dialog.
* prompt.js
* prompt.xul
* prompt.properties
* prompt.css
* question.svg
New files to deal with prompt dialog to deal with overwriting scenario.
* install.rdf Updated em:version.
2011-08-28 Christopher Hoobin <christopher@hoob.in>
* editietm.js (onPickFolder) Updates menu item label on every
folder change (issue #1).
* overlay.js (showContextMenu) gContextMenu.imageURL does not need to
be an argument to the closure as it never changes.
* install.rdf Update em:version for submission to AMO
* install.rdf em:iconURL image renamed to icon.png
2011-08-25 Christopher Hoobin <christopher@hoob.in>
* overlay.js (showContextMenu) Using addEventListener in place of
setAtttribute to add oncommand callback.
* overlay.js (saveImage) Added code to confirm from user before
saveImage is about to overwrite a file.
* overlay.js (getUniqueFilename) Replaced getUniqueFilename with
uniqueFile function found in firefox/omni/.../contentAreaUtils.js
* overlay.xul Added stringbundleset for use in confirm prompt code
in overlay.js.
* options.xul Added option to toggle user prompt that deals with
saveImage overwriting files.
* pref.js Added confirmOverwite default preference set to bool:true
* about.xul Removed about dialog. It is too hard to naivigate
to. Everything on there can be found on the AMO page.
2011-08-07 Christopher Hoobin <christopher@hoob.in>
* overlay.js (onQuickSave) Fixed event propagation issue during
quick save.
* overlay.js (showContextMenu) Updated placement of new menu items
using itemPlacement preference.
* options.xul Updated tree column header text in options dialog.
* options.xul Added tooltips for each column header.
* options.xul Added option control to specify position of new
context menu items.