Commit Graph

158 Commits (d72c565607380c5e92df6bcc6067ca0536c4a5e4)

Author SHA1 Message Date
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