Closed
Bug 1436491
Opened 7 years ago
Closed 7 years ago
Move category related functions into calCategoryUtils.jsm
Categories
(Calendar :: Internal Components, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
6.2
People
(Reporter: Fallen, Assigned: Fallen)
References
Details
Attachments
(2 files, 2 obsolete files)
10.18 KB,
patch
|
Details | Diff | Splinter Review | |
14.04 KB,
patch
|
MakeMyDay
:
review+
|
Details | Diff | Splinter Review |
Using the script from attachment 8942466 [details] [diff] [review] and the following migrations:
cal.setupDefaultCategories -> cal.category.setupDefaultCategories
cal.getPrefCategoriesArray -> cal.category.fromPrefs
cal.setPrefCategoriesFromArray -> cal.category.toPrefs
cal.categoriesStringToArray -> cal.category.stringToArray
cal.categoriesArrayToString -> cal.category.arrayToString
I'd like to move window functions out of calUtils.js(m). Again, there will be some manual changes in one patch, and one with all automatic changes. This goes after bug 1436490 in patch order.
Comment 1•7 years ago
|
||
The function setPrefCategoriesFromArray() seems to be unused.
Assignee | ||
Comment 2•7 years ago
|
||
Removing toPrefs while there is fromPrefs makes me a bit uncomfortable, but there is indeed no further use so I'll remove it.
In case you are wondering about the categories.js removal, the code has moved into the category retrieval function where it should be.
Attachment #8949179 -
Flags: review?(makemyday)
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Attachment #8949179 -
Attachment is obsolete: true
Attachment #8949179 -
Flags: review?(makemyday)
Attachment #8949208 -
Flags: review?(makemyday)
Assignee | ||
Comment 5•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=0a2e7d1cf4dbbb9cc445adf9086fb84557d11fb0
Looks pretty much like comm-central right now.
Assignee | ||
Comment 6•7 years ago
|
||
This is the patch I used on the try run.
Attachment #8949208 -
Attachment is obsolete: true
Attachment #8949208 -
Flags: review?(makemyday)
Attachment #8949337 -
Flags: review?(makemyday)
Comment 7•7 years ago
|
||
Comment on attachment 8949337 [details] [diff] [review]
Manual Changes - v3
Review of attachment 8949337 [details] [diff] [review]:
-----------------------------------------------------------------
looks good, r=me
Attachment #8949337 -
Flags: review?(makemyday) → review+
Assignee | ||
Comment 8•7 years ago
|
||
Please push both the automatic and manual patches, after the bug mentioned in comment 0.
Keywords: checkin-needed
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/3de68de8bf72
Move category related functions into calCategoryUtils.jsm - manual changes. r=MakeMyDay
https://hg.mozilla.org/comm-central/rev/79de47fa45ed
Move category related functions into calCategoryUtils.jsm - automatic changes. r=MakeMyDay
Updated•7 years ago
|
Target Milestone: --- → 6.2
You need to log in
before you can comment on or make changes to this bug.
Description
•