Revision 661286

Go back to digest for 6th May 2007

Optimization in Utilities

Mathieu Ducharme committed changes in /trunk/playground/utils/khtml_userscript:

Cleanups and optimizations for the userscript plugins

- Removed the hardcoded path to use KStandardDirs instead
- Creation of a UserScriptList singleton, this avoids re-reading & parsing every *.user.js file every time a page is loaded
- Use that singleton in the manager dialog
- Fix the manager, next step is saving data. Use GM's xml?

File Changes

Added 2 files
  • /trunk/playground/utils/khtml_userscript
  •   /userscriptlist.cpp
  •   /userscriptlist.h
Modified 7 files
  • /trunk/playground/utils/khtml_userscript
  •   /CMakeLists.txt
  •   /khtml_userscript.cpp
  •   /khtml_userscript.h
  •   /scriptmanagerdialog.cpp
  •   /scriptmanagerdialog.h
  •   /userscript.cpp
  •   /userscript.h
9 files changed in total