Commit Graph

227 Commits (c23de5265f5f9d9652192d4773ced682caaa47b6)

Author SHA1 Message Date
Angie Byron 3ede619955 #619666 follow-up by effulgentsia: Make performance-critical usage of drupal_static() grokkable. 2010-01-07 04:54:18 +00:00
Dries Buytaert 98b84b7adb - Patch #661420 by justinrandell, David_Rothstein: made installation of modules much more efficient. 2009-12-28 10:48:51 +00:00
Dries Buytaert 54fc6e99bd - Patch #648262 by brianV: fixed some typos. 2009-12-02 00:17:49 +00:00
Dries Buytaert b3e42eb5cd - Patch #626688 by justinrandell, catch, chx: add caching for system_list(). 2009-11-26 18:57:16 +00:00
Angie Byron b14349889e #619666 by effulgentsia, casey, and catch: Changed Introduce new pattern for drupal_static() in performance-critical functions. 2009-11-20 06:12:45 +00:00
Dries Buytaert deacaa6533 - Patch #634240 by catch: fixed system_list() caching. 2009-11-18 19:09:52 +00:00
Dries Buytaert 304ae84246 - Patch #623992 by catch: performance improvements to system_list(). 2009-11-11 17:04:47 +00:00
Dries Buytaert 3ccb55f2bd - Patch #627338 by catch: add a cache_bootstrap() bin for better performance/scalability. 2009-11-10 22:06:09 +00:00
Dries Buytaert 5d00d0d61f - Patch #623992 by sun: documentation updates for system_list(). 2009-11-09 19:00:03 +00:00
Dries Buytaert 3213087441 - Patch #623992 by sun: fixed the tests. We can re-enable the test bot now. 2009-11-08 19:53:19 +00:00
Dries Buytaert a6e707cd84 - Patch #623992 by sun: fixed the tests. We can re-enable the test bot now. 2009-11-08 18:49:04 +00:00
Dries Buytaert 370d07e9f7 - Patch #624882 by jhodgdon: fixed typos in hooks section page. 2009-11-08 09:31:10 +00:00
Dries Buytaert 7080b8f35d - Patch #623992 by catch: performance improvement: reduce {system} database hits on every page request. 2009-11-08 09:29:07 +00:00
Angie Byron d9017f5878 #591794 follow-up by effulgentsia: Reduce performance overhead of drupal_alter(). 2009-11-05 16:19:25 +00:00
Angie Byron c409a47fcc #592008 follow-up by chx and moshe weitzman: All theme() function calls in hook_init(). 2009-11-01 22:10:07 +00:00
Dries Buytaert 1b83420193 - Patch #615734 by catch: document why we call drupal_get_filename() in module_list(). 2009-10-30 21:54:45 +00:00
Dries Buytaert d72539f1b5 - Patch #200931 by Darren Oh, asimmonds: fixed schema not being available in hook_install()/hook_enable(). 2009-10-30 21:41:45 +00:00
Dries Buytaert 13d3072f41 - Patch #356074 by chx, Damien Tournoud: provide a sequences API. 2009-10-16 03:01:55 +00:00
Dries Buytaert f8b5634113 - Patch #600780 by asimmonds: fixed typo in documentation. 2009-10-10 12:12:15 +00:00
Angie Byron 0085972f1e #557542 follow-up by catch: Fixed module_implements() caching for authenticated users. 2009-09-29 18:08:28 +00:00
Dries Buytaert a8b3369b95 - Patch #557542 by CorniI, catch, fago, Crell, sun | pwolanin, chx, webchick, mattyoung, alexanderpas, justinrandell, dropcube, moshe weitzman, Damien Tournoud, Rob Loach, Dries: cache module_implements() for better performance and scalability. 2009-09-27 11:08:45 +00:00
Angie Byron 2c55219315 #497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading. 2009-08-24 00:14:23 +00:00
Angie Byron e63e85020b Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again. 2009-08-24 00:10:46 +00:00
Angie Byron 4ae238ea57 *** empty log message *** 2009-08-24 00:02:05 +00:00
Angie Byron 716293e0fb #509398 by adrian: Turned install profiles into modules with full access to the Drupal API. Almost all WTFs/minute now removed from install profiles. Woohoo! :D 2009-08-21 07:50:08 +00:00
Angie Byron b41323642b #517814 by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://. 2009-08-17 19:14:42 +00:00
Angie Byron 49699d5be1 #533586 by dww and chx: Refactor dependency checks into sharable helper functions. 2009-08-13 03:03:04 +00:00
Angie Byron 37d9515b48 #528856 by catch: Optimize module_implements() by statically caching the maintenance mode variable. 2009-08-08 15:03:29 +00:00
Angie Byron e758e30450 #533584 by chx, dww, and Nick Lewis: Allow version-level dependency support to work with beta, rc, etc. 2009-08-05 16:16:41 +00:00
Dries Buytaert 12d6d6662e - Patch #211747 by chx, alex_b, dww: allow specifying version information as part of module dependencies. 2009-07-28 19:06:16 +00:00
Angie Byron 2a6bd6033d #528984 by catch: Remove duplicate check for Drupal maintenance mode. 2009-07-23 21:14:09 +00:00
Angie Byron b7c27c3246 #485350 follow-up by Dave Reid: Fix code example for module_load_include(). 2009-07-10 04:58:08 +00:00
Angie Byron d9ab38b2d0 #485350 by jhodgdon: Clarify documentation of module_load_include(). 2009-07-01 17:34:13 +00:00
Angie Byron 4dafb3953c #482346 by Berdir: Move module installation logic to module_enable() to prevent errors upon enabling modules. 2009-06-28 03:56:43 +00:00
Dries Buytaert fbca363010 - Patch #211439 by David_Rothstein, cwgordon7: correct sorting of modules. 2009-06-20 06:00:24 +00:00
Dries Buytaert 1f9077ee92 - Patch #147000 by Berdir: unify and rewrite module_rebuild_cache() and system_theme_data(). 2009-06-06 16:05:28 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Dries Buytaert a07e17a92c - Patch #210876 by deekayen: log enabling and disabling of modules, and wrote a handy assertLogMessage() function to assert watchdog messages. 2009-05-12 18:08:43 +00:00
Angie Byron c7095deb64 #423664 by Berdir: Fix dependency checking of non-existing modules. (with corrected tests) 2009-04-11 17:58:18 +00:00
Dries Buytaert 5d658d0848 - Patch #380064 by c960657: make file_scan_directory() use save property names as file_load(). 2009-02-22 17:55:30 +00:00
Dries Buytaert a10731cedf - Patch #320451 by chx, Damien Tournoud: improved Drupal's module dependency system. This helps with fields in core. Comes with tests\! 2009-01-14 12:18:37 +00:00
Dries Buytaert c3ada1c861 - Patch #354173 by killes: convert module.inc to the new database layer. 2009-01-04 18:09:34 +00:00
Dries Buytaert 76138ea8a6 - Patch #275796 by Gribnif, Damien Tournoud and Dave Reid: module_list() tried to reset a static using unset(). Added tests too. 2009-01-03 08:45:28 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Dries Buytaert 5083e13522 - Patch #333143 by justinrandell: cleaning up the Drupal bootstrap code, removing bootstrap flag in system table. 2008-11-24 10:41:40 +00:00
Dries Buytaert 59ece2e39d - Patch #325665 by chx, Damien Tournoud, justinrandell et al: improved the cache registry lookups. 2008-11-11 22:39:59 +00:00
Dries Buytaert e2a6a3ed61 - Patch #298600 by chx, justinrandell, Damien, et al: make module_implements work regardless of bootstrap phase. 2008-10-31 02:18:22 +00:00
Angie Byron f76acb2d9d #282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. 2008-10-12 04:30:09 +00:00
Angie Byron acd5e95200 #320009 by Dave Reid: Remove notice about missing files[] array and prevent incompatible modules from being enabled. 2008-10-12 02:52:52 +00:00
Angie Byron 390e2fd2d7 #320024 by Dave Reid: Replace hardcoded drupal_required_modules() with required = TRUE in .info files. 2008-10-12 01:23:07 +00:00
Angie Byron 4d20274076 #253569 by aaron, agentrickard, and Dave Reid: Add hook_modules_X to allow modules to react when other modules are enabled, disabled, installed, or uninstalled. 2008-10-11 22:46:22 +00:00
Angie Byron 289b4f77a6 #229129 follow-up by Arancaytar, chx, and webchick: Instantiate module package property. 2008-09-27 19:03:30 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Angie Byron 89b4c55989 #64967 follow-up by drewish: Replace ereg with preg in file_scan_directory(). 2008-09-20 03:49:24 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert bbe2e8478b - Patch #296302 by chx: remove PHP 5.1 hack now the minimum requirement is PHP 5.2. 2008-08-17 10:02:55 +00:00
Dries Buytaert 6c1068e48d - Patch #287877 by dmitrig01: rename drupal_rebuild_code_registry() to registry_rebuild() for consistency. 2008-08-02 19:01:02 +00:00
Dries Buytaert addc331232 - Patch #286002 by cwgordon7: removed dead function module_iterate(). 2008-07-23 07:34:34 +00:00
Dries Buytaert 0d54577a9f - Patch #256579 by justinrandell: registry performance optimizations. 2008-05-13 17:38:42 +00:00
Dries Buytaert e4e2205bfe - Patch #221964 by justinrandall: removed left-over code. 2008-05-07 06:39:57 +00:00
Dries Buytaert 2e18cb8924 - Patch #221964 by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert 76151a8bc9 - Patch #245504 by catch, David_Rothstein, Freso, et al: removed the throttle module from Drupal core. 2008-04-16 11:35:52 +00:00
Dries Buytaert 56d2664a90 - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Gábor Hojtsy 2d128fc080 #203794 by douggreen: nonexistent dependencies should not be considered on the dependency checker 2007-12-27 12:31:05 +00:00
Gábor Hojtsy 050008410d #194010 by chx: Proper recursive dependency checking and ordering module installation in dependency order, so later installed modules can use previously installed module functionality 2007-12-13 10:46:43 +00:00
Gábor Hojtsy a33b43386d #176003 by yched, KarenS, dvessel: put module installs into a batch, solving the following issues:
- possible timeouts with installing/enabling lots of modules at once in core
 - enable install profiles to have more modules without fear of timeouts on install
 - bootstrap Drupal before each module load, so previously enabled modules are bootstrapped
 - let modules run their hook_requirements() (although actually calling them will be possibly fixed in another patch)
2007-12-08 15:15:25 +00:00
Gábor Hojtsy 333a540f41 #137650 by Darren Oh: allow module_invoke_all() to merge multiple arrays recursively 2007-11-30 09:16:02 +00:00
Dries Buytaert 2db2c039fb - Patch #172950 by webernet: code style fixes. 2007-09-04 21:10:45 +00:00
Gábor Hojtsy 1b658ae850 #144337 by yched: batch support for node access table rebuilding 2007-09-02 14:42:30 +00:00
Gábor Hojtsy 0f845306c2 #151868 by chx: avoid using array_shift() because it takes a lot of time to rehash the array, so indexing the array is more performant, then shifting items one by one 2007-08-30 16:09:50 +00:00
Gábor Hojtsy 6721bc580a #166593 by hswong3i: move literal values out of some core queries to support cross-database compatibility (ie. better SQL parsing and altering options) 2007-08-22 08:36:34 +00:00
Gábor Hojtsy 1163703917 #152926 by dww: Fix hook_system_info_alter() to save the altered data not the original 2007-08-08 20:04:38 +00:00
Dries Buytaert 68ac23cb6e - Patch #165422 by hswong3i: status is an int. Required to make DB2 work. 2007-08-08 07:22:03 +00:00
Dries Buytaert 358fa43c04 - Patch #160263 by Rok Zlender: module_implements() refresh is not working. 2007-07-18 14:10:14 +00:00
Gábor Hojtsy 3fdddd8e4b #152926 by dww: add hook_system_info_alter() to make .info file data modifiable in PHP code 2007-06-27 21:59:33 +00:00
Gábor Hojtsy 8650d5a77a #154949 by Crell and dww: let modules and themes specify a minimum required PHP version, under which they will not be possible to be turned on 2007-06-27 17:54:49 +00:00
Dries Buytaert 3cafffe63f - Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave. 2007-05-25 12:46:46 +00:00
Dries Buytaert 04b92ccfd8 - Patch #136049 by lyricnz: small performance improvement - removed some redundant fields. 2007-05-07 11:59:40 +00:00
Dries Buytaert 03b4b58e9a - Patch #132018 by Steven et al: add .info files to themes. 2007-04-17 07:19:39 +00:00
Dries Buytaert 07e6bdcdfe - Patch #63881 by kbahey and jakeg: improved Drupal's logging functionality. Added support for external loggers, and included a small syslog module into core. 2007-04-10 10:10:27 +00:00
Dries Buytaert 781235a525 - Patch #108272 by webchick, Ralf et al: improved handling of required modules in install profiles. 2007-02-04 21:20:50 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 3b543c18f5 - Rollback of E_ALL patch. Too much extra breakage. 2007-01-25 22:14:06 +00:00
Dries Buytaert fd32b42196 - Patch #112715 by webchick et al: fixed some E_ALL errors. 2007-01-25 21:32:07 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Dries Buytaert 54a754e417 - Patch #101379 by ChrisKennedy, neclimdul et al: modules missing .info files wrongly adding empty entries to module page. 2006-12-07 17:03:34 +00:00
Neil Drumm 437a498295 #97271 by Jaza. Ensure that hooks are not invoked for newly-disabled modules. 2006-11-27 23:15:41 +00:00
Neil Drumm a6f6ddcc4a #88030 by beginner. Properly initialize a variable. 2006-11-26 03:22:04 +00:00
Neil Drumm 30d7bd56f7 #93212 by Jaza. Refactor module enabling for greater API avialiablity during hook_enable(). 2006-11-16 08:28:08 +00:00
Neil Drumm 64162b74ad #88843 by lyricnz. Properly check if dependencies are set. 2006-11-07 06:13:01 +00:00
Dries Buytaert af5402ad2a - Patch #88287 by asimmonds, dww et al: installer doesn't support modules outside root/modules directory. Critical bugfix. 2006-10-23 06:45:17 +00:00
Dries Buytaert 18b297abf8 - Patch #81740 by merlinofchaos, webchick, moshe, neclimdul et al: added package support to the modules page. 2006-10-05 15:47:57 +00:00
Steven Wittens f24e304fa3 #84875: Dependency system for core 2006-10-02 16:49:08 +00:00
Dries Buytaert 291c7b8bb1 - Patch #81757 by neclimdul: Remove non private copy of module_parse_meta_file. 2006-08-31 22:12:15 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Dries Buytaert cdd120ed20 - Patch #77936 by moshe and rdouglass: pluggable session handling. 2006-08-31 19:52:39 +00:00
Steven Wittens 55eec8f66f #79601: module_exist() -> module_exists() 2006-08-20 05:57:41 +00:00
Dries Buytaert 2c0571b894 - Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal. 2006-08-03 07:06:36 +00:00
Steven Wittens 38e4c1ae91 #76209: (Eaton et al)
- Make installer code integrate better with module.inc / system.module
- Fix schema version bug when installing core
2006-08-03 01:02:51 +00:00
Dries Buytaert 1c75a210bd - Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core. 2006-07-13 13:14:25 +00:00