by shigemk2

当面は技術的なことしか書かない

PHP 2021-10-07

  • [2021-10-07 23:50:29 +0900]: Check exception after undef var notice
  • [2021-10-07 22:34:34 +0900]: Handle undefined dim in assign_dim_helper
  • [2021-10-07 21:37:26 +0900]: Set opline before calling undef op helper
  • [2021-10-07 21:29:29 +0900]: Add more specific array return type hints for various extensions - part 6 (#7474)
  • [2021-10-07 21:27:56 +0900]: JIT: Fixed wrong comparison skip
  • [2021-10-07 20:34:18 +0900]: JIT: Fixed incorrect reference handling in PRE_INC/DEC_OBJ
  • [2021-10-07 19:48:28 +0900]: JIT: Fixed incorrect code generation for JMPZ
  • [2021-10-07 18:42:08 +0900]: Fixed bug #54350
  • [2021-10-07 17:07:48 +0900]: Make it clear that pg_last_notice cannot return false (#7564)
  • [2021-10-07 02:14:20 +0900]: Reduce max input size in parser fuzzer

Emacs 2021-10-07

  • [2021-10-07 23:05:43 +0900]: Delete some XEmacs compat code from mh-e/*.el
  • [2021-10-07 22:39:43 +0900]: Declare compat macro mh-do-in-gnu-emacs obsolete
  • [2021-10-07 22:33:52 +0900]: Declare compat macro mh-do-in-xemacs obsolete
  • [2021-10-07 22:09:37 +0900]: ; * src/keyboard.c (make_lispy_position): Avoid GCC warning. (Bug#51076)
  • [2021-10-07 21:15:01 +0900]: ; Fix typo in test/Makefile.in
  • [2021-10-07 18:33:29 +0900]: Improve documentation and customization of 'blink-matching-paren'
  • [2021-10-07 16:33:29 +0900]: Fix syntax error in previous gnus-registry-install-shortcuts change
  • [2021-10-07 11:49:59 +0900]: Add 'erc-bug' command for reporting ERC bugs
  • [2021-10-07 10:50:56 +0900]: Add 'erc-version' and use it to display ERC version consistently
  • [2021-10-07 10:35:43 +0900]: Small tweaks and improvements to etc/ERC-NEWS
  • [2021-10-07 10:17:33 +0900]: Add NEWS items for changes to ERC since 5.3 to etc/ERC-NEWS
  • [2021-10-07 01:38:09 +0900]: Clone the frame window configuration in 'clone-frame'
  • [2021-10-07 01:18:51 +0900]: * lisp/tool-bar.el (tool-bar-position): Doc fix.
  • [2021-10-07 01:15:26 +0900]: Backport: * lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-handler): Scope
  • [2021-10-07 01:15:26 +0900]: * lisp/net/tramp-archive.el (tramp-archive-autoload-file-name-handler): Scope

brew 2021-10-07

  • [2021-10-07 23:44:20 +0900]: test/dev-cmd/bottle_spec: fix --merge output matching
  • [2021-10-07 23:16:57 +0900]: utils/shfmt.sh: apply suggestions from code review
  • [2021-10-07 22:51:52 +0900]: utils/git: remove external dependency loading
  • [2021-10-07 20:48:53 +0900]: utils/shfmt.sh: redirect differences to stderr
  • [2021-10-07 20:42:25 +0900]: utils/shfmt.sh: success with auto-fixable changes on brew style --fix
  • [2021-10-07 20:13:11 +0900]: Update RBI files for rubocop-rails.
  • [2021-10-07 20:09:05 +0900]: brew vendor-gems: commit updates.
  • [2021-10-07 20:06:01 +0900]: build(deps): bump rubocop-rails in /Library/Homebrew
  • [2021-10-07 19:55:01 +0900]: Update RBI files for sorbet.
  • [2021-10-07 19:54:28 +0900]: Update RBI files for rbi.
  • [2021-10-07 19:50:56 +0900]: brew vendor-gems: commit updates.
  • [2021-10-07 19:50:08 +0900]: brew vendor-gems: commit updates.
  • [2021-10-07 19:44:53 +0900]: build(deps-dev): bump sorbet in /Library/Homebrew
  • [2021-10-07 19:44:53 +0900]: build(deps): bump rbi from 0.0.4 to 0.0.5 in /Library/Homebrew
  • [2021-10-07 19:23:55 +0900]: utils/git: require formula.
  • [2021-10-07 12:24:20 +0900]: system_config: fix clang version output on Linux
  • [2021-10-07 03:05:02 +0900]: mktemp: delete invalid default prefix argument
  • [2021-10-07 00:58:04 +0900]: system_config: don't print path to curl shim

CakePHP2 DATABASE_CONFIG

book.cakephp.org

database.phpにこんな感じのクラスを書ける。クラスをかけると言うことは、コンストラクタも書けるので、なんかラッパーしたいときはコンストラクタに追加実装することもできる。

class DATABASE_CONFIG {
    public $default = array(
        'datasource'  => 'Database/Mysql',
        'persistent'  => false,
        'host'        => 'localhost',
        'login'       => 'cakephpuser',
        'password'    => 'c4k3roxx!',
        'database'    => 'my_cakephp_project',
        'prefix'      => ''
    );
}

と思ったら、CakePHP3からは無くなっていた。

github.com

With a PHP code based config file it will still be possible. The config file and bootstrap.php are still code in App. If developers want to get fancy and use additional logic to define their connections they can by removing the ConnectionManager::config() call in Config/bootstrap.php and inserting the logic they require there.

ここら辺がヒントになるかもしれないし、ならないかもしれない。

PHP 2021-10-06

  • [2021-10-06 23:21:02 +0900]: XFAIL: Return types cannot be inferred through prototypes
  • [2021-10-06 22:50:25 +0900]: JIT ARM64: Fixed NaN handling
  • [2021-10-06 22:35:33 +0900]: JIT: Fixed NaN handling
  • [2021-10-06 20:55:34 +0900]: Fixed type inference that may cause JIT failure
  • [2021-10-06 18:10:39 +0900]: JIT: Fixed register clobbering
  • [2021-10-06 17:48:14 +0900]: Fix array cast type inference wrt packed arrays
  • [2021-10-06 16:56:32 +0900]: Don't start new block after loop free
  • [2021-10-06 16:18:18 +0900]: JIT: Fixed incorrect overflow detection introduced in a5e502ef4d089a29856cfeb618b66da7fa9baf24
  • [2021-10-06 02:28:30 +0900]: Force UTC
  • [2021-10-06 02:23:56 +0900]: Fixed assign coalesce. "$a[0] ??= $a" should evaluate the right $a first.
  • [2021-10-06 02:23:56 +0900]: Fixed assign coalesce. "$a[0] ??= $a" should evaluate the right $a first.
  • [2021-10-06 01:25:43 +0900]: Prepare branch for 7.4.26-dev
  • [2021-10-06 01:13:50 +0900]: Fix #81509 pg_end_copy still expects a resource
  • [2021-10-06 00:43:48 +0900]: Add test for pg_put_line() and pg_end_copy()

Emacs 2021-10-06

  • [2021-10-06 20:19:13 +0900]: Reparent `gnus-article-mode-map' again
  • [2021-10-06 19:55:17 +0900]: Add new major mode 'clean-mode'
  • [2021-10-06 19:53:07 +0900]: Add an optional parameter to kill-all-local-variables
  • [2021-10-06 19:24:45 +0900]: * admin/notes/emba (Emacs jobset): Update.
  • [2021-10-06 19:07:33 +0900]: Make unused macro gnus-local-set-keys obsolete
  • [2021-10-06 19:05:38 +0900]: Make unused gnus-define-keys-safe macro obsolete
  • [2021-10-06 19:04:37 +0900]: Use `define-keymap' in gnus-registry-install-shortcuts
  • [2021-10-06 19:01:43 +0900]: Make `gnus-define-keymap' obsolete and adjust caller
  • [2021-10-06 18:58:16 +0900]: Fix gnus-start.el compilation warning
  • [2021-10-06 18:57:22 +0900]: Finish conversion of Gnus from `gnus-define-keys'
  • [2021-10-06 18:18:16 +0900]: Clear gnus-save-newsrc-file-last-timestamp on start and exit
  • [2021-10-06 18:14:45 +0900]: Improve finding external documents in reftext
  • [2021-10-06 17:57:02 +0900]: ; Fix typo in etc/NEWS
  • [2021-10-06 17:43:47 +0900]: Document the improved scroll-margin behavior
  • [2021-10-06 17:43:22 +0900]: Perform cleanup on errors in mouse-drag-track
  • [2021-10-06 17:42:56 +0900]: Improve interaction between mouse-drag-region and scroll-margin
  • [2021-10-06 16:16:14 +0900]: * NEWS: Mention rcirc connects to #emacs by default
  • [2021-10-06 16:05:22 +0900]: Fix up gnus-summary-mode-map after previous change
  • [2021-10-06 12:32:59 +0900]: Refactor mh-utils-tests macro 'with-mh-test-env'
  • [2021-10-06 06:22:16 +0900]: Avoid using variable before it has been initialized
  • [2021-10-06 06:11:31 +0900]: Clarify docstring of blink-matching-paren
  • [2021-10-06 04:49:26 +0900]: Convert more parts of Gnus from gnus-define-keys' todefine-keymap'
  • [2021-10-06 04:35:09 +0900]: ; Very minor touch-up to a recent change
  • [2021-10-06 04:11:19 +0900]: ; * doc/emacs/trouble.texi (After a Crash): Fix typo.
  • [2021-10-06 02:31:52 +0900]: * doc/misc/gnus.texi (Loose Threads): Use regexp-opt in example.
  • [2021-10-06 01:58:26 +0900]: Bump project.el version
  • [2021-10-06 01:20:51 +0900]: Minor fix of a recently installed documentation change
  • [2021-10-06 01:16:48 +0900]: Do interactive mode tagging for proced.el
  • [2021-10-06 01:15:57 +0900]: native-comp-available-p is the definitive test
  • [2021-10-06 01:08:02 +0900]: Fix md5 issue in recent Gnulib merge
  • [2021-10-06 01:03:47 +0900]: Tweak recent 'configure' fix

PHP 2021-10-05

  • [2021-10-05 23:45:25 +0900]: Fix build without global registers
  • [2021-10-05 23:31:53 +0900]: Reuse wrong string offset logic in jit
  • [2021-10-05 23:22:55 +0900]: Fixed bug #81504: Incorrect timezone transition details for POSIX data
  • [2021-10-05 23:00:50 +0900]: Use ephemeral port in test
  • [2021-10-05 22:49:43 +0900]: Fix duplicate undef warning in assign_dim_op
  • [2021-10-05 22:14:39 +0900]: Fixed SSA construction
  • [2021-10-05 22:08:47 +0900]: Fix return type verification with undef var
  • [2021-10-05 20:43:34 +0900]: JIT: Combine type guard with overflow detection
  • [2021-10-05 19:04:44 +0900]: POST_INC_OBJ/POST_DEC_OBJ don't have optional result
  • [2021-10-05 18:34:42 +0900]: Typo
  • [2021-10-05 18:26:32 +0900]: Fix COPY_TMP live range construction after optimization
  • [2021-10-05 18:23:27 +0900]: Revert "Fix #81424: PCRE2 10.35 JIT performance regression"
  • [2021-10-05 17:31:46 +0900]: Restore CE_CACHE clear on persist
  • [2021-10-05 06:30:14 +0900]: Disable failing FPM test
  • [2021-10-05 05:54:32 +0900]: Add the actual test for FPM prod idle timeout test with 6s sleep
  • [2021-10-05 05:50:57 +0900]: Add FPM prod idle timeout test with 6s sleep
  • [2021-10-05 04:28:26 +0900]: JIT: Eliminate useless EG(exception) checks after FETCH_DIM_*

Emacs 2021-10-05

  • [2021-10-05 23:34:07 +0900]: Document minibuffer-default-prompt-format in manual
  • [2021-10-05 23:31:17 +0900]: Fix recent "erts files" additions in ERT manual
  • [2021-10-05 23:12:49 +0900]: Backward compatibility option for 'nobreak-char-display'
  • [2021-10-05 22:36:31 +0900]: Make 'mapconcat' argument 'separator' optional
  • [2021-10-05 22:20:28 +0900]: ; * lisp/dired.el: Fix typo.
  • [2021-10-05 22:17:41 +0900]: Make two old function aliases obsolete
  • [2021-10-05 21:55:18 +0900]: Unbreak the build after Gnulib update
  • [2021-10-05 21:43:11 +0900]: Set advertised calling convention on make-face-* functions
  • [2021-10-05 18:27:48 +0900]: Check, whether an FUSE mount has been broken in Tramp
  • [2021-10-05 18:12:05 +0900]: Disable 'nobreak-char-display' in Eldoc buffers
  • [2021-10-05 17:34:37 +0900]: Change the call convention for `defvar-keymap'
  • [2021-10-05 16:42:28 +0900]: Fix small error in comint-send-input
  • [2021-10-05 16:39:03 +0900]: Update documentation about how M-x completes obsolete commands
  • [2021-10-05 16:37:56 +0900]: Update documentation of search-whitespace-regexp
  • [2021-10-05 16:22:57 +0900]: Fix cc-compat.el syntax error
  • [2021-10-05 16:11:33 +0900]: Mention seq-uniq' indelete-dups' documentation
  • [2021-10-05 15:53:36 +0900]: Add support for 256-color and 24bit ANSI colors in ansi-color
  • [2021-10-05 15:47:07 +0900]: Optimize ansi-color.el
  • [2021-10-05 15:40:52 +0900]: Make `memory-report-object-size' work standalone
  • [2021-10-05 10:34:08 +0900]: Use format-prompt for many more prompts
  • [2021-10-05 09:01:27 +0900]: ; * etc/NEWS: Fix typo.
  • [2021-10-05 05:47:30 +0900]: * Fix mh tests for native comp builds (bug#50975)
  • [2021-10-05 04:15:02 +0900]: * Fix `batch-native-compile' not to spawn a subprocess
  • [2021-10-05 04:11:39 +0900]: Update from Gnulib
  • [2021-10-05 04:11:39 +0900]: Port recent Gnulib changes to MS-Windows
  • [2021-10-05 04:02:23 +0900]: Fix syntax error in define-keymap doc string
  • [2021-10-05 03:47:57 +0900]: Fix native-compilation build from tarball on Cygwin
  • [2021-10-05 02:11:15 +0900]: Remove U+FE0F from script-representative-chars
  • [2021-10-05 01:47:04 +0900]: Fix problem with 'vertical-motion' and emoji
  • [2021-10-05 01:47:04 +0900]: Fix problem with 'vertical-motion' and emoji
  • [2021-10-05 01:29:34 +0900]: ; Describe PROBLEMS with Unicode display on some TTYs
  • [2021-10-05 01:11:40 +0900]: Run ERT tests with lexical-binding bound to t
  • [2021-10-05 01:01:06 +0900]: * test/README: Mention :nativecomp tag.
  • [2021-10-05 00:07:46 +0900]: Revert "Fix problem with outputting error messages while dumping Emacs"

brew 2021-10-05

  • [2021-10-05 22:02:54 +0900]: remove useless require 'formula'
  • [2021-10-05 21:24:29 +0900]: utils/curl: add comment detailing options handling
  • [2021-10-05 11:40:00 +0900]: shims: provide scm alias for compatibility with old update-reset script
  • [2021-10-05 11:38:40 +0900]: cmd/update-reset: fix errors when the git shim changes in a brew update
  • [2021-10-05 04:17:29 +0900]: Update maintainers, manpage and completions.
  • [2021-10-05 03:47:04 +0900]: download_strategy: adjust --insecure warning wording
  • [2021-10-05 03:08:49 +0900]: brew vendor-gems: commit updates.
  • [2021-10-05 03:05:12 +0900]: build(deps-dev): bump sorbet in /Library/Homebrew
  • [2021-10-05 03:01:54 +0900]: build(deps-dev): bump github-pages from 219 to 220 in /docs
  • [2021-10-05 02:17:00 +0900]: utils/curl: fix false flag handling
  • [2021-10-05 01:42:19 +0900]: utils/curl: fix flag handling
  • [2021-10-05 01:16:20 +0900]: download_strategy: remove redundant conditional

PHP 2021-10-04

  • [2021-10-04 23:50:26 +0900]: JIT: Avoid duplicate EX(opline) assignment
  • [2021-10-04 23:41:27 +0900]: Start new block after loop free
  • [2021-10-04 21:49:41 +0900]: JIT: Use zend_compare() instead of comapre_function()
  • [2021-10-04 21:42:23 +0900]: Fix typo in README (#7544)
  • [2021-10-04 17:16:20 +0900]: Revert "Add FPM prod idle timeout test"
  • [2021-10-04 12:48:03 +0900]: [ci skip] Fix missing NEWS
  • [2021-10-04 12:42:47 +0900]: [ci skip] Add missing NEWS