inspect 7.x-6.x, 2018-12-22
---------------------------
- create_function() deprecated.
- Release 7.x-6.6.

inspect 7.x-6.x, 2016-05-01
---------------------------
- Removed class InspectTrace, which has been deprecated and whose methods has
  logged warning on call since version 7.x-6.0 (5 versions, 18 months ago).
- Removed functions inspect_args, inspect_args_get, inspect_constants,
  inspect_constants_get - which all have been deprecated and logged warning
  on call since version 7.x-6.0 (5 versions, 18 months ago).
- Updated SimpleComplex Inspect lib to 1.1:
  - Bad type in frontend .errorHandler(); literal 'messsage' (3 x 's') made for
    empty output.
  - Don't set/get cookie in CLI mode.
  - Session counting is not important enough to risk PHP warning due to response
    body sending already commenced.
- Don't set cookie in CLI mode.
- Release 7.x-6.5.

inspect 7.x-6.x, 2016-02-20
---------------------------
- Support frontend logging on site installed in subdir; having no dedicated
  virtualhost.

inspect 7.x-6.x, 2015-07-12
---------------------------
- Release 7.x-6.4.

inspect 7.x-6.x, 2015-07-02
---------------------------
- Fixed namespace in documentation.

inspect 7.x-6.x, 2015-06-06
---------------------------
- Backend and frontend: category is now an alias of type (instead of vice versa)
  and the use of category is deprecated.
- New instance var code, usable for event or error code.
- Now supports logging via injected PSR-3 logger; instance var (object) logger.

inspect 7.x-6.x, 2015-04-18
---------------------------
- (SimpleComplex Inspect) Frontend: stricter typeOf() array check; some jQuery
  extensions (old dataTables) were erroneously assessed as array.
- (SimpleComplex Inspect) Fixed frontend file:line resolver; failed to identify
  inspect.js self.

inspect 7.x-6.x, 2015-04-05
---------------------------
- Added Features module inspect_test, which builds a content type, and includes
  a node_form_alter which executes some inspections and traces.
- Documentation; max comment line length 80.

inspect 7.x-6.x, 2015-02-14
---------------------------
- Don't check twice if session counting enabled.
- configGet/Set() must be called with non-empty arg $domain if inspect var.

inspect 7.x-6.x, 2015-02-12
---------------------------
- Accommodated to domain specific conf vars (D8 related).
- Removed method cliMode(), use PHP_SAPI === 'cli' instead.

inspect 7.x-6.x, 2015-02-12
---------------------------
- Fixed namespace error; uppercase'd ...\Inspect.
- The backbone of Inspect is now an included library,
  \SimpleComplex\Inspect\Inspect (residing in GitHub as a Composer library).
  The concepts and essential code of Inspect was originally developed in
  non-Drupal contexts (like ZZ; a SourceForge project).
  And since Drupal Inspect 7.x-6.0 that backbone has been designed specifically
  to be usable in any PHP context, not only the Drupal context.

inspect 7.x-6.x, 2014-11-26
---------------------------
* Fixed javascript error in IE<9; output formatting isn't enabled for IE<9 thus related drupal js behavior must reflect that condition.
* Release 7.x-6.3.

inspect 7.x-6.x, 2014-11-16
---------------------------
* Output max didn't actually default to OUTPUT_DEFAULT, but to the database max_allowed_packet.
* Release 7.x-6.2.

inspect 7.x-6.x, 2014-11-15
---------------------------
* New option output_max, to override overall max output setting.

inspect 7.x-6.x, 2014-11-14
---------------------------
* Subtract 5% (and 500 as metadata margin) from max output setting to prevent overly long database queries.
* Frontend output formatting shan't turn folding off (when too long output) for all outputs on a page, only for current output.

inspect 7.x-6.x, 2014-11-08
---------------------------
* Displaying file and line of call to (non-trace) inspect function/method may actually be turned off using option 'no_fileline' (contrary to previous entry; the difference being that the (equiv.) option used be called 'file_ilne').
* Release 7.x-6.1.

inspect 7.x-6.x, 2014-11-07
---------------------------
* Increased max depth to 20 (default is still 10).

inspect 7.x-6.x, 2014-11-06
---------------------------
* Don't display session counters as 'na:0:1' when session counting is off; use 'i' instead (~ 'i:3' means inspection no. three).

inspect 7.x-6.x, 2014-11-04
---------------------------
* Override options when target is 'get' in CLI mode; don't ever enclose CLI 'get' output in HTML tag.
* Let 'get' methods end with newline, to work better in CLI mode.

inspect 7.x-6.x, 2014-11-01
---------------------------
* Static methods permit() and severity() are now public.
* $options now support 'type' as alias of 'category', because Drupal coders will be used to Drupal watchdog()'s $type parameter (and the meaning is the exact same).

inspect 7.x-6.x, 2014-10-31
---------------------------
* Protected instance vars shan't be overridable by $options argument.
* Log a trace if severity is (int) out of bounds or (string) unsupported.
* Construct 'statically'.
* Release 7.x-6.0.

inspect 7.x-6.x, 2014-10-26
---------------------------
* Sorted out severity.

inspect 7.x-6.x, 2014-10-25
---------------------------
* Profiler statistics shan't assume that all statuses are non-empty.
* Don't iterate object to get number of buckets.
* Dirs/files more PSR-4 compliant.
* Session counting is now an option (default off).

inspect 7.x-6.x, 2014-08-10
---------------------------
* Separated JS; inspect vs. drupal.inspect.
* Backend now uses file names instead class/function names to filter Inspect frames from traces.

inspect 7.x-6.x, 2014-08-03
---------------------------
* Frontend formatter no longer do any work on trace outputs.
* Namespacing and separation of generic vs. Drupal code.

inspect 7.x-6.x, 2014-07-29
---------------------------
* The frontend library no longer has settings.
* Frontend can no longer log an event using higher severity than a configurable maximum (default: error); an event having higher severity will be logged using that maximum.

inspect 7.x-6.x, 2014-07-25
---------------------------
* Link frontend inspector in .info.
* Frontend inspect.browser now additionally reports Firefox as gecko and IE as trident.

inspect 7.x-6.x, 2014-07-24
---------------------------
* Don't HTML escape when logging to file.
* Now replaces singular backslash (with _BS_) when logging to watchdog.
* Changed path removal/replacement algo; was overly complex and it attempted (and failed) to do some (Windows) backslash directory separator matching.
* Added filing method to profiler.
* Reverted default string truncation to 1000.
* String quotes are now `backtick` instead of >>greater/lesser than<<.

inspect 7.x-6.x, 2014-07-23
---------------------------
* Added the NUL char to string replacement.
* Strings now also get lower ASCII escaped (when logging to watchdog); regardless of the (optional) needles/replacers. However, the output of Inspect still contains newlines (for formatting).

inspect 7.x-6.x, 2014-07-21
---------------------------
* For tracer, default inspection depth is now 2.
* Functions/methods for inspecting function arguments and constants log an error - and they won't exist in next version.
* Fixed bug in numberToString().
* Fixed profiler code format; removed protected members' underscore prefix.

inspect 7.x-6.x, 2014-07-20
---------------------------
* Going real object oriented; the public properties of an Inspect/InspectTrace object are now equivalent to options of an inspection/trace.
* Renamed static methods: _permit -> permit, ensureDir -> ensureDirectory, _log -> logToWatchdog, _file -> logToFile, _logFromFrontend -> logFromFrontend, _fileLine -> fileLine.
* Single maximum output length var, which covers all types of output (get|log|file).
* For tracer, integer value of $options arg is now interpreted as severiy (instead of limit).

inspect 7.x-5.x, 2014-07-16
---------------------------
* The frontend javascript variable/trace inspector is now always available; can no longer be turned off using permissions.
* Removed effectively obsolete permissions 'inspect administer' and 'inspect profile administer'.
* Removed tracer's overriding depth and truncation defaults.
* Increased default string truncation to 10000, and made it configurable and applied to tracing as well as inspection.
* Removed obsolete methods (since 7.x-4.0) Inspect::log_db() and ::log_db().

inspect 7.x-5.x, 2014-07-11
---------------------------
* Removed option 'Allow Cron to log inspections of variables and traces'; use drush cron instead (drush/CLI is always allowed to log).
* Removed syslog compatibility; a waste of time because the outputs of Inspect are almost always too long to be of any use in syslog.
* Increased max exec time percent to 90 (from 70).
* Displaying file and line of call to inspect function/method is no longer an option that can be turned off.
* Turning output folding off per inspection - 'no_folding' - is no longer an option; but folding may still be turned off globally.
* Save paths in variable, too expensive to do at every init.

inspect 7.x-5.x, 2014-05-24
---------------------------
* Don't enforce max_execution_time limit if there isn't any max (which may be the case in CLI/drush mode).

inspect 7.x-5.1, 2014-04-27
-------------------------------------------------------------------------------
* Released.

inspect 7.x-5.x, 2014-04-27
---------------------------
* Fixed bug in JS output formatter triggered by jQuery >=1.9 having no browser property (~ jquery_update module support).
* Added IE>=11 support for JS inspect.browser.

inspect 7.x-5.x, 2014-03-23
---------------------------
* Fixed index error in profiler.

inspect 7.x-5.0, 2013-12-01
-------------------------------------------------------------------------------
* Released.

inspect 7.x-5.x, 2013-12-01
---------------------------
* Fixed missing 'name' option bug.

inspect 7.x-5.x, 2013-11-23
---------------------------
* Profiler: generate statistical reports via sub form on settings page.

inspect 7.x-5.x, 2013-11-16
---------------------------
* Backslashed paths are now converted to slashed in output.
* Changed syslog default newlines and quotes.

inspect 7.x-5.x, 2013-11-10
---------------------------
* Profiler: Implemented report listing.

inspect 7.x-5.x, 2013-10-24
---------------------------
* Changed make dir mode to 775 (group write).

inspect 7.x-5.x-beta01, 2013-10-15
----------------------------------
* Released.

inspect 7.x-5.x, 2013-10-14
---------------------------
* InspectProfile::make()'s first argument, value 1, is now interpretated as today.

inspect 7.x-5.x, 2013-10-13
---------------------------
* Profiler: implemented fallback profile in cookie, to prevent events from being orphaned; if a request come in after another request that ended the profile (and didn't begin another profile).
* Profiler: reduced depth of the session var.
* Inspect::_ensureDir() replaced by public method ensureDir().
* InspectProfile no longer extends Inspect; because not relevant, a waste of time.
* Profiler: implemented error statistics.

inspect 7.x-5.x, 2013-10-09
---------------------------
* Profiler: removed derivate fields event_quantity, event_duration_total and event_duration_mean.
* Profiler: added fields error_code.
* Profiler: fixed event start log truncation error.

inspect 7.x-5.x, 2013-10-06
---------------------------
* Profiler stats, aggregates, filters, accumulates.
* Profiler filters by name, and cron done.

inspect 7.x-5.x, 2013-10-04
---------------------------
* Profiler's stat'ing simple events (not profiles) to file at shutdown is now a setting, and defaults to be off.

inspect 7.x-5.x, 2013-10-02
---------------------------
* Fixed wrong arguments for InspectProfile::event() when measuring profiler's own time.
* Don't use State for simple session var removal; wasted overhead.
* Fixed profiler examples.

inspect 7.x-5.x, 2013-09-18
---------------------------
* Implemented hook_exit() to make ending a profile at shutdown possible (doing it at shutdown does not work because session vars cant be saved that late).

inspect 7.x-5.x, 2013-09-16
---------------------------
* Added convenience functions/methods inspect_profile_start/InspectProfile::start() and inspect_profile_stop/InspectProfile::stop().
* Changed names of begin/end functions and methods.
* Changed parameter signature for inspect_profile/InspectProfile::event().
* End profile - don't remove profile unless sure that caller actually wants to end the current profile.

inspect 7.x-5.x, 2013-09-15
---------------------------
* Fixed that Inspect file/line method shan't consider Inspect Profile an inspector.
* Added profiler event stop option 'if_started', and profile end option 'at_shutdown'.
* Fixed several bugs in profiler's event lister, including a very bad array index error.

inspect 7.x-5.x, 2013-09-13
---------------------------
* Changed parameter signature of inspect_profile/InspectProfile::event().
* Implemented profiler columns severity and position (in code).

inspect 7.x-5.x, 2013-09-11
---------------------------
* Profiler's data model extended with statistical fields that are computed runtime (event_quantity, event_duration_total, event_duration_mean).
* Created profile permission 'inspect profile reports' for generating/accessing profiling reports.

inspect 7.x-5.x, 2013-09-06
---------------------------
* Profiler: generally renamed 'interval' to 'duration'.

inspect 7.x-5.x, 2013-09-03
---------------------------
* Fixed undeclared $uid var in profiler's _init() method.
* Settings page; put inspection/tracing vars into dedicated fieldset.
* Inspect Profile is now a sub module.
* Fixed that global $user isnt available at time of InspectProfile::__destruct().


inspect 7.x-4.2, 2013-07-04
-------------------------------------------------------------------------------
* Released.


inspect 7.x-4.x, 2013-07-04
---------------------------
* Raised minimum truncation to 100.000, for inspection as well as tracing.
* When logging and using syslog, truncation is now being checked (reduced) against maximum syslog output length.

inspect 7.x-4.x, 2013-06-30
---------------------------
* Implemented frontend support for wrappers (aka proxy_calls).
* Renamed backend option 'proxy_calls' to 'wrappers', and implemented in tracers.
* Fixes upon code quality/error checking.

inspect 7.x-4.x, 2013-06-25
---------------------------
* Added support for frontend output formatting on demand; functions inspect.formatInspectOutput() and inspect.formatTraceOutput().

inspect 7.x-4.x, 2013-06-23
---------------------------
* JS code formatting.

inspect 7.x-4.x, 2013-06-21
---------------------------
* Now checks that options name and message are scalar, before using them.
* Fixed use of potentially unset name option.
* Implemented proxy_calls option (backend only).

inspect 7.x-4.x, 2013-06-20
---------------------------
* Changed default inspection depth for traces to 10 instead of one.


inspect 7.x-4.1, 2013-05-15
-------------------------------------------------------------------------------
* Released.


inspect 7.x-4.x, 2013-05-11
---------------------------
* Fixed bad escaping of Windows path regexes. And now they also fully match forward and backward slashes.


inspect 7.x-4.0, 2013-04-27
-------------------------------------------------------------------------------
* Released.


inspect 7.x-3.x, 2013-04-27
---------------------------
* Fixed indentation and checked/fixed uses of php string functions versus drupal multibyte equivalents.

inspect 7.x-3.x, 2013-03-27
---------------------------
* Merged inspector and options init methods, and abandoned partial initialization.

inspect 7.x-3.x, 2013-03-26
---------------------------
* Removed warning from the 'inspect log' permission description.
* Fixed a few bugs in backend _options().
* Frontend output folding string lengths/truncation/path removal now has title attribs.

inspect 7.x-3.x, 2013-03-25
---------------------------
* Error/back tracer's default stack frame limit is now configurable in the settings page (and removed class constant InspectTrace::TRACE_LIMIT_DEFAULT).
* Tracer now reduces stack frame limit automatically when exceeding max output length.
* Removed settings option 'Prohibit the primary admin user from getting inspections of variables and traces'.
* Removed settings option 'PHP inspections shan\'t default to display file and line of inspection function/method call'.

inspect 7.x-3.x, 2013-03-24
---------------------------
* Inspect::log_file() is now deprecated, use Inspect::fileMessage() instead.
* Removed Inspect::_constants().
* Logging/filing an error message and/or exception message via trace functions/methods is always allowed, if severity is more severe than WATCHDOG_DEBUG.
* Complete rewrite of permissions check, options handling and inspector initialisation (had become a mess).

inspect 7.x-3.x, 2013-03-23
---------------------------
* Now uses singular development branch.
* Removed obsolete and deprecated classes InspectBs, InspectVar, InspectTrc and methods Inspect::_initSessionNo and functions inspect_log_get, inspect_trace_log_get, and Javascript functions variable and variableGet.
* Backend options needles and replacers are now merged with the default, instead overriding.
* Removed Inspect methods _init(), _checkPermissionsAndOptions() and _resolveOptions(); use _permit(), _initInspector() and _options() instead.
* Fixed missing escaping of message in inspect_log_message()/Inspect::logMessage().
* Inspect::log_db() is now deprecated, use Inspect::logMessage() instead.

inspect 7.x-3.4.x, 2013-03-16
-----------------------------
* Fixed bad truncation related bug; strings exceeding minimum truncation length got prefixed with '...document_root/' no matter if they matched path needles or not.
* Fixed wrong subtraction of margin for max output length when logging.
* Implemented syslog compatibility.


inspect 7.x-3.4, 2013-03-06
-------------------------------------------------------------------------------
Released 7.x-3.4.x as 7.x-3.4.


inspect 7.x-3.4.x, 2013-03-06
-----------------------------
* Fixed ugly 'String offset cast' notice in Inspect::baseConvert() caused by using float (from floor()) as index of a (table) string (observed using PHP 5.4).

inspect 7.x-3.4.x, 2013-02-16
-----------------------------
* Made string truncation default and minimum the same for tracer as inspector (truncated sql strings are fairly useless).
* Made frontend inspection/trace/profile output formatter replace newline markers (_NL_), and fixed minor replacement bug (didnt remove carriage return globally).


inspect 7.x-3.3, 2013-02-10
-------------------------------------------------------------------------------
Released 7.x-3.3.x as 7.x-3.3.


inspect 7.x-3.3.x, 2013-02-10
-----------------------------
* Reverted previous change (Moved adding the frontend library from hook_preprocess_html...), because it's just such a bad idea to a lot of work for every kind of request (even AJAX requests).
* Prepared for new release.

inspect 7.x-3.3.x, 2013-02-09
-----------------------------
* Moved adding the frontend library from hook_preprocess_html() to hook_init() implementation, to secure order of library includes.

inspect 7.x-3.3.x, 2013-02-03
-----------------------------
* New frontend function .errorHandler() usable as default error handler for other libraries etc.
* Backend inspect_log_message() now logs file and line of the call, using new method Inspect::logMessage().
* Frontend .trace() and .traceGet() now supports second arg as object.message; to conform with other function's parameter signatures.
* Reverted to use hook_init() implementation instead of hook_boot(); forgot to actually rename the function (see inspect 7.x-3.3.x, 2013-01-22).

inspect 7.x-3.3.x, 2013-01-26
-----------------------------
* Made settings page's display of empty cron_key safer.
* Fixed key path bug in frontend inspection folding, and simplified key path behaviours (including removal of behaviour from value display).

inspect 7.x-3.3.x, 2013-01-24
-----------------------------
* Added support for $param/*,...*/ notation in module function documentor (inspect_doc_functions()).

inspect 7.x-3.3.x, 2013-01-23
-----------------------------
* Fixed minor bug in InspectTrace's trace analyzer; failed to filter out nested Inspect method/function invocation.

inspect 7.x-3.3.x, 2013-01-22
-----------------------------
* Reverted to use hook_init() implementation instead of hook_boot(), because too risky; too much unavailable or uninitialized stuff. Set module weight to -1000 instead.

inspect 7.x-3.3.x, 2013-01-02
-----------------------------
* Removed @ error suppression from setcookie() calls. Error supposedly fixed (inspect 7.x-2.6.x, 2012-06-20) had nothing to do with setcookie() in CLI mode (the error was in fact undeclared vars).

inspect 7.x-3.3.x, 2013-01-02
-----------------------------
* Removed message replacement in calls to watchdog(); doesnt make sense, and makes un-translated log messages useless.

inspect 7.x-3.3.x, 2012-12-15
-----------------------------
* Backend checked for unsafe uses of $_SERVER-variables, and modified accordingly.
* Backend now replaces path/document root case insensitive.
* Profiler now logs request method as 'CLI' when $_SERVER['REQUEST_METHOD'] is non-existing/empty (it is null in cli).
* Cron may now be allowed to log, via special permissions option on Inspect's admin page.


inspect 7.x-3.2, 2012-10-30
-------------------------------------------------------------------------------
Released 7.x-3.2.x as 7.x-3.2.


inspect 7.x-3.2.x, 2012-10-30
-----------------------------
* Frontend folding script now aborts if no window.inspect.
* Frontend .browser; added properties 'type' and 'userAgent' (the raw useragent).


inspect 7.x-3.1, 2012-10-28
-------------------------------------------------------------------------------
Released 7.x-3.1.x as 7.x-3.1.


inspect 7.x-3.1.x, 2012-10-28
-----------------------------
* Added frontend .browser object.
* Frontend functions logging to backend now also log current url and current browser.

inspect 7.x-3.1.x, 2012-10-27
-----------------------------
* Frontend file+line finder now returns '@n/a' instead of empty, when failing (IE).

inspect 7.x-3.1.x, 2012-10-26
-----------------------------
* Fixed frontend non-Inspect file+line finder; failed to find in Google Chrome.
* Made frontend traceLog() include useragent in log.

inspect 7.x-3.1.x, 2012-10-24
-----------------------------
* Fixed inspection formatting and folding of javascript functions.

inspect 7.x-3.1.x, 2012-10-16
-----------------------------
* Severity default of tracers reverted to WATCHDOG_DEBUG; otherwise logs would probably get flooded with false error logs.
* Fixed folding error when viewing frontend logs display bodies of functions (detection of object/array start wasnt exact at all).
* Added frontend functions for inspect events added via jQuery.

inspect 7.x-3.1.x, 2012-10-16
-----------------------------
* Severity default of tracers changed to WATCHDOG_ERROR (from WATCHDOG_DEBUG).
* Refactored frontend, got rid of inner objecty architecture.
* Frontend no-action .tcepsnI / .tcepsni properties are now false, not 1.
* Added _boot and _preprocess_html to inspect_doc_function()'s list of default functions to skip.
* Frontend folding; added hover title on session:page:request:log token.
* Fixed bug in backend inspector; max depth variable wasnt initialized.

inspect 7.x-3.1.x, 2012-10-15
-----------------------------
* Logging message to database or file (not inspection/trace/profile) is now only allowed if user has the 'inspect log' permission (previously the intention was no permission check at all, but actually it was only permitted when user had either the 'inspect log' or 'inspect get' permission).
* New function inspect_file_message().
* Now uses drupal_strlen() and drupal_substr() instead of custom methods.
* Finished frontend to backend logging.
* The format of frontend inspections now equals the format of backend ditto.

inspect 7.x-3.1.x, 2012-10-14
-----------------------------
* New session/page load/request number counting regime, and the related cookie is no more set httponly because frontend needs to read it.
* Loggers/getters now always displays session counters in message header, even when given message arg.
* Implemented frontend to backend logging.

inspect 7.x-3.1.x, 2012-10-13
-----------------------------
* Backend inspector no longer escape strings when output target is file.
* New frontend inspection option 'func_body'; print bodies of functions (particularly useful for event inspections).
* Fixed wrong javascript documentation on admin page; the argument for inspecting prototypal properties is 'protos', not 'proto'.

inspect 7.x-3.1.x, 2012-09-30
-----------------------------
* Frontend folding is now turned off using Drupal.settings instead of ugly inline block.


inspect 7.x-3.0, 2012-09-29
-------------------------------------------------------------------------------
Released 7.x-2.6.x as 7.x-3.0.


inspect 7.x-2.6.x, 2012-09-29
-----------------------------
* Frontend inspect is now also available as Drupal.inspect.
* Frontend inspect now has to levels of memory usage reduction - folding off, and formatting off (as well).
* Separated frontend inspect base library from the backend output folding feature (which is now included by .info to enable aggregation).

inspect 7.x-2.6.x, 2012-09-23
-----------------------------
* Better info in traces created by deprecated methods.

inspect 7.x-2.6.x, 2012-09-16
-----------------------------
* Moved administrative resources to new module admin folder.
* Fixed t() concatenation errors.
* Now uses request_uri() instead of the server variable.
* Fixed various syntactic/code format issues (Code Review).
* Changed watchdog call, to prevent error when extracting strings for translation - we do NOT want the messages translated here.

inspect 7.x-2.6.x, 2012-08-30
-----------------------------
* Fixed bad return in InspecTrace::get().

inspect 7.x-2.6.x, 2012-08-26
-----------------------------
* Styled non-collapsible outputs.
* Moved css to .css-file.

inspect 7.x-2.6.x, 2012-08-25
-----------------------------
* Drush/cli is now always allowed to get inspections/traces/profiles.
* Drush/cli getting has different default formatting options.
* Default inspection depth for tracing changed to 1 (was zero).
* Classes InspectBs and InspectVar merged into new class Inspect; InspectBs and InspectVar deprecated.
* Added parameter $not_used to InspectProfile::log()/get() to allow override of Inspect's same-named methods.
* InspectTrace replaces InspectTrc; InspectTrc deprecated.
* InspectTrace not final, others should be allowed to extend.
* Added inspectors that log to file; inspect_file()/Inspect::file() and inspect_trace_file()/InspectTrace::file().

inspect 7.x-2.6.x, 2012-07-31
-----------------------------
* Drush/cli is now always allowed to log inspections/traces/profiles.
* Removed check for wrong arguments in InspectProfile::event(); the method initially had other parameter signature than now.
* Deprecated inspect_trace_log_get()/InspectTrc::log_get() now only logs call to itself, not also trace of the original exception/backtrace.
* InspectTrc refactored; had too complex structure, originally dictated by dual output function/method inspect_trace_log_get()/InspectTrc::log_get().

inspect 7.x-2.6.x, 2012-07-25
-----------------------------
* Frontend .typeOf() now examines properties of object in try-catch; makes inspect() report more accurately for built-in objects, like events.
* Backend: hook implementation that includes Javascript now implements hook_preprocess_html (instead of hook_init).

inspect 7.x-2.6.x, 2012-07-10
-----------------------------
* Options enclose_tag_log/enclose_tag_get replaced by option enclose_tag, newline_log/newline_get replaced by newline.

inspect 7.x-2.6.x, 2012-06-20
-----------------------------
* Suppress setcookie() error using @ (ugly) in InspectBs::_initSessionNo() when no session, otherwise may fail when called via drush.

inspect 7.x-2.6.x, 2012-06-16
-----------------------------
* Removed inspect_profile_init() and InspectProfile::init(). Obsolete since version 7.x-2.3, have logged error when called since that version.
* Frontend inspect() now interprets arg options as protos if boolean true.

inspect 7.x-2.5, 2012-05-16
-------------------------------------------------------------------------------
Released 7.x-2.5.x as 7.x-2.5.

inspect 7.x-2.5.x, 2012-06-15
-----------------------------
* Combined output functions/methods deprecated and logging trace as error: inspect_log_get()/InspectVar::log_get(), inspect_trace_log_get()/InspectTrc::log_get().

inspect 7.x-2.5.x, 2012-06-09
-----------------------------
* Rewritten documentation, for help and settings pages.

inspect 7.x-2.5.x, 2012-06-08
-----------------------------
* Timeout fuse (percentage of max_execution_time) implemented.

inspect 7.x-2.5.x, 2012-06-03
-----------------------------
* inspect_args_get/InspectVar::args_get now defaults to return one_lined output.
* Sorted out settings and help pages, and fixed some comments.
* Tuned profiler a bit, and created examples.

inspect 7.x-2.5.x, 2012-06-02
-----------------------------
* Options name and message are now being truncated to 255, and logging category to 64.
* Fixed inspector counting some output lengths more than once, and added check in tracer.
* Implemented auto-configuring max output lengths, and max output length for tracer and profiler.
* Frontend folding now highlights string truncation (better), object/array truncation (depth), and errors.
* Frontend folding now highlights path removal.
* Fixed backend document root algo, now supports symlinking.

inspect 7.x-2.5.x, 2012-05-27
-----------------------------
* Implemented maximum inspection character output length (1,000,000), to make inspector err gracefully for huge arrays/objects.

inspect 7.x-2.5.x, 2012-05-26
-----------------------------
* Made frontend fold() more tolerant of single-lined output (content truncation, 'Read more') may shorten output to a single line.
* Frontend fold() non-greedy when finding bucket name - otherwise breaks for string containing 'whatever: ('
* fold() now renders newlines (as _NL_newline), and highlights string truncation.
* Backend, changed default string truncation to 1000 (from 100).

inspect 7.x-2.4, 2012-05-06
-------------------------------------------------------------------------------
Released 7.x-2.4.x as 7.x-2.4.

inspect 7.x-2.4.x, 2012-05-06
-----------------------------
* Fixed bug in InspectBs::requestTimeMilli() - REQUEST_TIME was only multiplied by 100 (not 1000).

inspect 7.x-2.3, 2012-05-06
-------------------------------------------------------------------------------
Released 7.x-2.3.x as 7.x-2.3.

inspect 7.x-2.3.x, 2012-05-06
-----------------------------
* Added inspect_request_time_milli()/InspectBs::requestTimeMilli(), which uses custom Apache request header when no server var REQUEST_TIME_FLOAT.
* Removed constant MODULE_INSPECT_REQUEST_TIME_MILLI.
* Got rid of the need/usefulness of calling inspect_profile_init()/InspectProfile::init() before actual profiling.
* inspect_profile_init() and InspectProfile::init() now log a trace (error) when called.

inspect 7.x-2.2, 2012-05-05
-------------------------------------------------------------------------------
Released 7.x-2.2.x as 7.x-2.2.

inspect 7.x-2.2.x, 2012-05-05
-----------------------------
* Profile for .csv file done, but dont like it.
* Removed administrative option MS Office compatible .csv-file.
* Profiler now subtracts own time from calculations; compares againts total request time; calculates truncated means and finds longest/shortest interval.
* Parameter signature changed for inspect_profile()/InspectProfile::event(), and an error is logged when old-style argument value detected.

inspect 7.x-2.2.x, 2012-05-04
-----------------------------
* The module's hook_init() now sets constant MODULE_INSPECT_REQUEST_TIME_MILLI.
* Added administrative option MS Office compatible .csv-files.
* Changed profiler directory to private://module/inspect/profiles.

inspect 7.x-2.1, 2012-05-02
-------------------------------------------------------------------------------
Released 7.x-2.0.x as 7.x-2.1.

inspect 7.x-2.0.x, 2012-05-02
-----------------------------
* Added warning in profiler when private files directory isnt defined.

inspect 7.x-2.0, 2011-04-29
-------------------------------------------------------------------------------
Released 7.x-1.3.x as 7.x-2.0.

inspect 7.x-1.3.x, 2012-04-29
-----------------------------
* Added request method and uri to profiler log.
* Reversed backend inspection option of displaying call file and line - to something you can turn off instead on (turns out debug_backtrace footprint is negligible).
* Frontend inspection to console now includes call file and line.
* Fixed frontend trace formatting.
* Frontend inspection string qoute is now same as backend.

inspect 7.x-1.3.x, 2012-04-21
-----------------------------
* Session no now uses cookie as fallback when no session.
* Finished profiler, including frontend formatting.

inspect 7.x-1.3.x, 2012-04-21
-----------------------------
* Created profiler class.
* Added permission 'inspect profile'.
* Moved InspectBs initilization into separate method.
* Added horizontal tab to inspectors list of string replacements.

inspect 7.x-1.3.x, 2012-04-01
-----------------------------
* Added backend inspection option of displaying call file and line, and added administrative option of making that behavior default.
* Added backend functions/methods for inspecting arguments, and removed list functions/methods.
* Removed hide_paths conditionals for get in InspectTrc (because paths are always hidden for get).
* Moved hook_menu() implementation from administrative source file to .module, and set negative weight.

inspect 7.x-1.3.x, 2012-03-24
-----------------------------
* Backend: logging categories new default to inspect, inspect trace, inspect log.
* Made message default string interpretion of the options arg for simple variable inspectors (again).
* Simplified options resolving somewhat.
* Renamed InspectVar::constants_log() to InspectVar::constants().
* Added functions/methods inspect_list(), InspectVar::list_log(), inspect_list_get(), InspectVar::list_get()
* Changed the (string) delimiter option to (array) delimiters, and added options newline_log and newline_get.

inspect 7.x-1.3.x, 2012-03-22
-----------------------------
* Frontend: fixed .typeOf bug (when no argument), reduced folding overhead somewhat and set a max limit of 10000 lines for folding.

inspect 7.x-1.3.x, 2012-03-21
-----------------------------
* Backend: fixed severe character set bug (http://drupal.org/node/1493404) which sometimes resulted in PDOException when logging inspection.
* Backend: string truncation is now UTF-8 safe, and strings are also being checked for UTF-8 validity.
* Frontend: folding, line highlighted etc.

inspect 7.x-1.3.x, 2012-03-20
-----------------------------
* Frontend: better folding (no jumping, and simpler events).

inspect 7.x-1.3.x, 2012-03-17
-----------------------------
* Backend: changed interpretation of all options arguments, to support direct message arg (string) and list arg as object.
* Backend: added name option, and made that default options as string interpretion for simple variable inspectors.
* Frontend: use the name option for better key path generation.

inspect 7.x-1.3.x, 2012-03-16
-----------------------------
* Frontend: now displays key path.

inspect 7.x-1.3.x, 2012-03-07
-----------------------------
* Frontend: removed obsolete and undeclared var t in variableGet.

inspect 7.x-1.3.x, 2012-02-27
-----------------------------
* Output button now toggles display on normal page versus folding on log report details page.
* Added notices, that folding doesnt work in IE<9.
* Fixed folding bug, when message option used.

inspect 7.x-1.3.x, 2012-02-26
-----------------------------
* Removed hover title on folding buttons, but kept it on general toggling button.

inspect 7.x-1.3.x, 2012-02-25
-----------------------------
* Hover title on dump output buttons (folding).

inspect 7.x-1.3.x, 2012-02-20
-----------------------------
* Added toggle button to dump outputs, and reduced frontend toggle methods to one (toggleOutput).

inspect 7.x-1.3.x, 2012-02-16
-----------------------------
* Removed permission 'inspect log paths'. _Logging_ paths is now always allowed, but may still be prevented by using the 'hide_paths' option.
* Removed permission 'inspect log scalars'. _Logging_ scalars is now always allowed, but may still be prevented by using the 'hide_scalars' option.
* Removed permission 'inspect get scalars'. _Getting_ scalars is now always allowed, but may still be prevented by using the 'hide_scalars' option.
* Removed administrative option to omit linking dummy javascript inspector for users missing the 'inspect frontend' permission.
* Removed administrative option to use source instead of minified javascript files.
* Changed return value of getting methods to empty string, when error or missing permission. To prevent '0's in output (FALSE/NULL translates to zero when echoed).
* Moved javascript files to separate folder.
* Changed inspect_init()'s permissions conditions algo for javascript file inclusion.
* Changed default delimiter between object/array buckets from carriage return to newline. Not because it doesnt work, but CR would is only relevant for logging to csv/tsv files (which we dont do).
* Implemented frontend inspect.toggle_output() and inspect.toggle_folding().

inspect 7.x-1.3.x, 2012-02-15
-----------------------------
* Moved log session number from log start into [Inspect... block.
* Now strings are also escaped using htmlspecialchars(), aside from the needles/replacer options replacement.
* Now the message option value is escaped.
* Removed empty divs from admin page form.
* Admin pages; swapped sequences of nl2br() and t() calls, to make t() detection easier for the Localization Project.
* Adding dummy frontend inspector for user missing the permission to use frontend inspector is now an option to turn off instead of on.
* Added option to turn off making variable dumps expandable/collapsible.
* Now supports expandable/collapsible variable dumps.

inspect 7.x-1.3.x, 2012-02-01
-----------------------------
* Typo in comments.


inspect 7.x-1.2, 2011-01-28
-------------------------------------------------------------------------------
Released 7.x-1.2.x as 7.x-1.2.


inspect 7.x-1.2.x, 2012-01-28
-----------------------------
* Fixed .js compression errors.

inspect 7.x-1.2.x, 2012-01-27
-----------------------------
* Frontend: re-introduced dummy ('noaction') version of frontend inspector, to prevent errors for users missing the frontend inspection permission.
* Added configuration option: add surrogate 'noaction' frontend inspect when user misses the frontend inspection permission
* Frontend: added minified versions of the frontend scripts.
* Added configuration option: use source versions of frontend scripts instead of minified versions.
* Added .install, which removes configuration variables when un-installing.
* Added copyright notice in separate txt-file. See related discussion in groups.drupal, 'Copyright lines on source files' (http://groups.drupal.org/node/109699).

inspect 7.x-1.2.x, 2012-01-25
-----------------------------
* Frontend: fixed bug in _nspct(), which prevented the (max) depth parameter from counting down (in effect making every sub inspection run to depth 10).
* Frontend: changed parameter signatures of inspect(), .variable, .variableGet; options object instead of 3 args of fairly arbitrary sequence.


inspect 7.x-1.1, 2012-01-07
-------------------------------------------------------------------------------
Released 7.x-1.1.x as 7.x-1.1.


inspect 7.x-1.1.x, 2011-01-07
-----------------------------
* Frontend: renamed console logging function to console (instead of log).

inspect 7.x-1.1.x, 2011-01-06
-----------------------------
* Backend, implemented severity option for logging methods.

inspect 7.x-1.1.x, 2011-01-05
-----------------------------
* Frontend, fixed max depth default (10 instead of zero).
* Frontend, dumping elements now also displays name attribute (if such exists).

inspect 7.x-1.1.x, 2011-01-02
-----------------------------
* Frontend _oKeys counted keys, now collects keys.

inspect 7.x-1.1.x, 2011-12-31
-----------------------------
* Reversed changelog order.
* Frontend, implemented depth parameter, and added method argsGet().

inspect 7.x-1.1.x, 2011-12-26
-----------------------------
* Rewrote readme's installation part
* Frontend .typeOf() now returns 'inspect' when given no arguments.
* Frontend .typeOf(): fixed bad procedure when checking a subject that has a typeOf method.

inspect 7.x-1.1.x, 2011-12-17
-----------------------------
* Minor syntax changes in frontend .typeOf()


inspect 7.x-1.0, 2011-12-12
-------------------------------------------------------------------------------
Released 7.x-1.x as 7.x-1.0.


inspect 7.x-1.x, 2011-11-26
---------------------------
* Wrapped frontend singleton in function, to allow Inspect() (as well as Inspect.variable).
* Made frontend function/singleton name case-insensitive (inspect and Inspect).
* Added support for type jquery in frontend function/singleton.

inspect 7.x-1.x, 2011-11-11
---------------------------
* Fixed wrong image detection in frontend typoOf()
* Frontend typoOf(), fixed missing detection of RegExp when browser actually sees a RegExp as Object (and not Function)

inspect 7.x-1.x, 2011-11-07
---------------------------
* Added Date type recognition to frontend typeOf method

inspect 7.x-1.x, 2011-11-06
---------------------------
* Session number makeover, now uses dedicated number instead of hashing global session id
* Fixed entirely wrong InspectTrc::log_get.
* Fixed error in InspectTrc formatting, just another remnant from module renaming :-(
* Fixed top frame removal for InspectTrc.

inspect 7.x-1.x, 2011-11-05
---------------------------
* Fixed fatal typo (introduced when renaming from dump to inspect)

inspect 7.x-1.x, 2011-10-21
---------------------------
* Changed version number again, according to Drupal conventions
* Fixed various formatting issues

inspect 7.x-1.2, 2011-10-21
---------------------------
* Changed version number according to Drupal conventions

inspect 7.x-0.9.14, 2011-10-17
------------------------------
* Removed breaks and non-breaking spaces from admin form output.
* Removed version number in .info.
* Removed copyright and license comments.
* Removed LICENSE.txt
* Rewrote the Hooks and Extendability chapter in the readme, to make it more polite.
* Added stylesheet to admin help page.

inspect 7.x-0.9.13, 2011-10-15
------------------------------
* Drupalized code formatting.

inspect 7.x-0.9.12, 2011-10-15
------------------------------
* Finished readme and help.

inspect 7.x-0.9.11, 2011-10-10
------------------------------
* Renamed module etc. to inspect, due to naming conflict (someone else registered the dump namespace ;-)

dump 7.x-0.9.10, 2011-10-09
---------------------------
* Check for key password extended to also check for key pass (user objects use pass, whereas database settings use password)

dump 7.x-0.9.9, 2011-09-26
--------------------------
* Moved the permission administer dump to top of permissions

dump 7.x-0.9.8, 2011-09-26
--------------------------
* Added boolean .pmuD property to fronted Dump singleton, usable for checking if Dump exists
* Fixed wrong arguments in frontend Dump.traceLog()
* Fixed stack tracer

dump 7.x-0.9.7, 2011-09-21
--------------------------
* Fixed more wrong options category var for DumpTrace methods

dump 7.x-0.9.7, 2011-09-18
--------------------------
* Added session hash and log number to logs
* Fixed wrong options category var for DumpTrace log methods

dump 7.x-0.9.7, 2011-09-16
--------------------------
* Fixed quoting error for $_docRoot
* Added logging category option
* Changed default dumping depth to 10 (except for tracing)
* Fixed tracing for old depth pattern (depth zero ~ hide values, new pattern works with hide_scalars)
* Changed version number

dump 7.x-0.9.6, 2011-09-15
--------------------------
* Added simple loggin method

dump 7.x-0.9.6, 2011-09-14
--------------------------
* Fixed bad iteration error for object (iterating by explicit reference)

dump 7.x-0.9.6, 2011-09-12
--------------------------
* Fixed missing reference to self::$_permissions
* Eliminating weird depth option (zero meant hide values), and introduced hide scalars option - except for DumpTrace

dump 7.x-0.9.6, 2011-09-07
--------------------------
* Fixed bad error in frontend array bucket resolving.

dump 7.x-0.9.5, 2011-09-04
--------------------------
* Introduced private initialized flag in backend Dump, to reduce the risk
of methods of custom extending class calling _dump() without having
permissions and options checked.
* Declared DumpVar and DumpTrace final, to reduce the risk of malicious
ad hoc extensions.
* Created configuration form,
including option to forbid admin user 1 getting dumps and traces.
* Created help page.
* Rewrote the readme text.

dump 7.x-0.9.4, 2011-09-03
--------------------------
Added frontend javascript library.

dump 7.x-0.9.3, 2011-08-29
--------------------------
Document root removal from strings and filenames.

dump 7.x-0.9.2, 2011-08-25
--------------------------

dump 7.x-0.9.1, 2011-08-23
--------------------------
Enabled Trace logging

dump 7.x-0.9, 2011-08-18
------------------------
Started
