Permalink
Browse files

Cleanup

- Removed unnecessary debug messaging
- Moved `local require = require` so it’s consistent across all code
- Put `cp.feedback.showFeedback()` in a timer so it doesn’t stall
CommandPost when launching.
  • Loading branch information...
latenitefilms committed Aug 12, 2018
1 parent 293d2fe commit f150656e8ed772e9945eca4fff6a90d5b7977db0
Showing with 204 additions and 193 deletions.
  1. +1 −1 src/extensions/cp/apple/finalcutpro/export/ExportDialog.lua
  2. +1 −1 src/extensions/cp/apple/finalcutpro/export/SaveSheet.lua
  3. +1 −1 src/extensions/cp/apple/finalcutpro/ids/init.lua
  4. +1 −1 src/extensions/cp/apple/finalcutpro/import/MediaImport.lua
  5. +1 −1 src/extensions/cp/apple/finalcutpro/init.lua
  6. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/Inspector.lua
  7. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/InspectorProperty.lua
  8. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/audio/AudioInspector.lua
  9. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorBoard.lua
  10. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorBoardAspect.lua
  11. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorCurves.lua
  12. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorInspector.lua
  13. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorPuck.lua
  14. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorWell.lua
  15. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorWheel.lua
  16. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ColorWheels.lua
  17. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/CorrectionsBar.lua
  18. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/HueSaturationCurves.lua
  19. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/color/ValueIndicator.lua
  20. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/effect/EffectInspector.lua
  21. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/generator/GeneratorInspector.lua
  22. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/info/InfoInspector.lua
  23. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/share/ShareInspector.lua
  24. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/text/TextInspector.lua
  25. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/title/TitleInspector.lua
  26. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/transition/TransitionInspector.lua
  27. +1 −1 src/extensions/cp/apple/finalcutpro/inspector/video/VideoInspector.lua
  28. +1 −1 src/extensions/cp/apple/finalcutpro/main/Browser.lua
  29. +1 −1 src/extensions/cp/apple/finalcutpro/main/BrowserMarkerPopover.lua
  30. +1 −1 src/extensions/cp/apple/finalcutpro/main/EffectsBrowser.lua
  31. +1 −1 src/extensions/cp/apple/finalcutpro/main/GeneratorsBrowser.lua
  32. +1 −1 src/extensions/cp/apple/finalcutpro/main/KeywordEditor.lua
  33. +1 −1 src/extensions/cp/apple/finalcutpro/main/LibrariesBrowser.lua
  34. +1 −1 src/extensions/cp/apple/finalcutpro/main/MediaBrowser.lua
  35. +1 −1 src/extensions/cp/apple/finalcutpro/main/Playhead.lua
  36. +1 −1 src/extensions/cp/apple/finalcutpro/main/PrimaryToolbar.lua
  37. +1 −1 src/extensions/cp/apple/finalcutpro/main/PrimaryWindow.lua
  38. +1 −1 src/extensions/cp/apple/finalcutpro/main/SecondaryWindow.lua
  39. +1 −1 src/extensions/cp/apple/finalcutpro/main/Timeline.lua
  40. +1 −1 src/extensions/cp/apple/finalcutpro/main/TimelineContents.lua
  41. +1 −1 src/extensions/cp/apple/finalcutpro/menu.lua
  42. +1 −1 src/extensions/cp/apple/finalcutpro/plugins/guiscan.lua
  43. +1 −1 src/extensions/cp/apple/finalcutpro/prefs/ImportPanel.lua
  44. +1 −1 src/extensions/cp/apple/finalcutpro/prefs/PreferencesWindow.lua
  45. +1 −1 src/extensions/cp/commands/command.lua
  46. +21 −8 src/extensions/cp/commands/init.lua
  47. +1 −1 src/extensions/cp/config/init.lua
  48. +1 −1 src/extensions/cp/console/history.lua
  49. +1 −1 src/extensions/cp/dialog/init.lua
  50. +1 −1 src/extensions/cp/docs/init.lua
  51. +117 −117 src/extensions/cp/feedback/init.lua
  52. +1 −1 src/extensions/cp/i18n/init.lua
  53. +1 −1 src/extensions/cp/i18n/languageID.lua
  54. +1 −1 src/extensions/cp/i18n/localeID.lua
  55. +1 −1 src/extensions/cp/idle/init.lua
  56. +1 −1 src/extensions/cp/json/init.lua
  57. +1 −1 src/extensions/cp/localized/init.lua
  58. +1 −1 src/extensions/cp/plist/init.lua
  59. +1 −1 src/extensions/cp/plugins/env.lua
  60. +1 −1 src/extensions/cp/plugins/init.lua
  61. +1 −1 src/extensions/cp/prop/init.lua
  62. +1 −1 src/extensions/cp/rx/go.lua
  63. +1 −1 src/extensions/cp/rx/go/If.lua
  64. +1 −1 src/extensions/cp/strings/init.lua
  65. +1 −1 src/extensions/cp/strings/source/plist.lua
  66. +1 −1 src/extensions/cp/strings/source/table.lua
  67. +1 −3 src/plugins/core/preferences/panels/shortcuts/init.lua
  68. +1 −1 src/plugins/finalcutpro/pasteboard/shared.lua
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("PrefsDlg")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
--local log = require("hs.logger").new("PrefsDlg")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("fcp_ids")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
--local log = require("hs.logger").new("PrefsDlg")
--------------------------------------------------------------------------------
@@ -63,11 +63,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local log = require("hs.logger").new("fcp")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local log = require("hs.logger").new("inspector")
--------------------------------------------------------------------------------
@@ -12,11 +12,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("InspectorProperty")
--------------------------------------------------------------------------------
@@ -46,11 +46,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("audioInspect")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("colorBoard")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local inspect = require("hs.inspect")
--------------------------------------------------------------------------------
@@ -20,11 +20,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local log = require("hs.logger").new("colorCurves")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("colorInspect")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("colorPuck")
-- local inspect = require("hs.inspect")
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local log = require("hs.logger").new("colorWell")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("colorWheel")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("colorWheels")
--------------------------------------------------------------------------------
@@ -9,11 +9,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local log = require("hs.logger").new("colorInspect")
--------------------------------------------------------------------------------
@@ -21,11 +21,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local log = require("hs.logger").new("hueSaturationCurves")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
local log = require("hs.logger").new("valueIndicator")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
--local log = require("hs.logger").new("effectInspect")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
--local log = require("hs.logger").new("generatorInspect")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
--local log = require("hs.logger").new("infoInspect")
--------------------------------------------------------------------------------
@@ -46,11 +46,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("shareInspect")
--------------------------------------------------------------------------------
@@ -46,11 +46,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("textInspect")
--------------------------------------------------------------------------------
@@ -46,11 +46,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("titleInspect")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
--local log = require("hs.logger").new("transInspect")
--------------------------------------------------------------------------------
@@ -46,11 +46,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("videoInspect")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("browser")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
--local log = require("hs.logger").new("browser")
--------------------------------------------------------------------------------
@@ -7,11 +7,11 @@
-- EXTENSIONS:
--
--------------------------------------------------------------------------------
local require = require
--------------------------------------------------------------------------------
-- Logger:
--------------------------------------------------------------------------------
local require = require
-- local log = require("hs.logger").new("EffectsBrowser")
--------------------------------------------------------------------------------
Oops, something went wrong.

0 comments on commit f150656

Please sign in to comment.