Davide P. Cervone
|
7099e84a36
|
Turn off positionToHash for now (until I can straighten it out
|
2012-02-27 20:25:31 -05:00 |
|
Davide P. Cervone
|
152d31182e
|
Repack all javascript files (to update the copyright notice) and recombine (make sure all combined files are current)
|
2012-02-24 17:22:48 -05:00 |
|
Davide P. Cervone
|
4fb5de2200
|
Move preProcess from base jax to OutputJax, since that is the only place it is used. Don't copy Translate and cousins for ElementJax. Properly handle the loader in InputJax (avoinds infinite lops if input jax fails to compile)
|
2012-02-20 12:42:59 -05:00 |
|
Davide P. Cervone
|
9ff6d9a321
|
Fixed problem with pattern in wrapper function that affected Opera when MathJax is minified (discovered by Fred's tests)
|
2012-02-14 12:02:12 -05:00 |
|
Davide P. Cervone
|
301c7d1f2e
|
Actually delete the previews rather than just hide them (some screen readers don't properly handle them)
|
2012-02-12 20:08:53 -05:00 |
|
Davide P. Cervone
|
5cafb84908
|
Add NoMathPlayer parameter to prevent the MathPlayer setup when the page is loaded (users can still switch to NativeMML and the setup will be done at that point).
|
2012-02-11 10:28:56 -05:00 |
|
Davide P. Cervone
|
1698f9c33c
|
Make a separate routine to get the contents of a script, and make it work in IE for XHTML files.
|
2012-02-10 08:21:42 -05:00 |
|
Davide P. Cervone
|
4b21f3a8e0
|
A second try at fixing the FF callback error. Had the null in the wrong place, and apparently null doesn't do it anyway (though I could have sworn it had worked in testing). In any case, empty object for callback will work.
|
2012-02-01 09:07:22 -05:00 |
|
Davide P. Cervone
|
90e23901cd
|
Fix problem with Firefox getting errors about not being able to make callbacks (it was due to Gecko passing an extra parameter to the funciton called by setTiemout)
|
2012-02-01 08:57:36 -05:00 |
|
Davide P. Cervone
|
6cfecb6700
|
Delete the loading data for preloaded files when they call loadComplete()
|
2012-01-31 17:52:19 -05:00 |
|
Davide P. Cervone
|
30e35cc729
|
Add menu control for showing TeX hints in MathML, and make TeXAtom not show extra mrow when it contains a single element
|
2012-01-25 09:45:20 -05:00 |
|
Davide P. Cervone
|
02909ecba4
|
Update copyright dates and set version numbers to 2.0; repack and recombine
|
2012-01-25 09:23:45 -05:00 |
|
Davide P. Cervone
|
45c91aa905
|
Load menu and zoom code after typesetting is complete (if not already loaded) so they will be available when needed.
|
2012-01-23 12:06:50 -05:00 |
|
Davide P. Cervone
|
b02429e1ad
|
Have MathJax.js set up MathPlayer if it can (since delaying that is what causes crashes). Also make preview be hidden to prevent screen readers from seeing them once the math is typeset.
|
2012-01-22 17:40:46 -05:00 |
|
Davide P. Cervone
|
14507fb9ff
|
Improve browser detection so that non-chrome WebKit will be Safari (was not working in default browser for Android 3.0)
|
2012-01-20 13:15:54 -05:00 |
|
Davide P. Cervone
|
705bfe74e6
|
Remove trailing comma (confusing MSIE)
|
2012-01-19 10:17:27 -05:00 |
|
Davide P. Cervone
|
dceb91e4ea
|
Better version detection for off-brand Gecko browsers; add 8.0 and 9.0 detection; add Safari 5.1 detection from webkit version
|
2012-01-09 11:38:43 -05:00 |
|
Davide P. Cervone
|
7570eec623
|
Load MathEvents if needed to add contextual menu to an error message
|
2012-01-08 20:33:21 -05:00 |
|
Davide P. Cervone
|
a83c7c54b3
|
Move styles for MathJax_Preview to MathJax.js rather than HTML-CSS since it is used by all output jax
|
2012-01-08 20:20:22 -05:00 |
|
Davide P. Cervone
|
77c8a54da6
|
Add more signals for error conditions (so error reporting software can track it easier)
|
2012-01-06 17:09:37 -05:00 |
|
Davide P. Cervone
|
752dda7899
|
Re-implement ExecuteHooks in terms of the Hooks object (since it was documented, I guess we shouldn't remove it, even though I doubt anyone has used it)
|
2011-12-27 14:55:20 -05:00 |
|
Davide P. Cervone
|
fbedcb7a72
|
Another attempt to handle version for off-brand Gecko browsers (resolves issue #177 I hope)
|
2011-12-07 13:58:07 -05:00 |
|
Davide P. Cervone
|
744f844eec
|
Handle determining Firefox version better for off-brand Gecko browsers (resolves issue #177 I hope)
|
2011-11-20 15:31:01 -05:00 |
|
Davide P. Cervone
|
f3b1f4102f
|
Make delay following a 'processing' message configurable, and lengthen it a shade to make browser more responsive during typesetting
|
2011-09-27 17:05:02 -04:00 |
|
Davide P. Cervone
|
81474adb97
|
Add delay before seting hash location to make it work in Opera. Still has a problem in IE7 and IE6.
|
2011-09-22 20:57:49 -04:00 |
|
Davide P. Cervone
|
c0dad0dbfe
|
Jump to an anchor after typesetting, if one was specified in the page URL (controlled by the positionToHash parameter). When the page is loaded, tags haven't been processed yet, to the anchor might not be present, so we need to jump there after the page is typeset. Also, as the equations are typeset, the page may get repositioned, so jumping to the location again will get us back where we were supposed to be. Problem: if user scrolls during typeset, we jump back.
|
2011-09-22 20:46:26 -04:00 |
|
Davide P. Cervone
|
eee1e9014f
|
Save output after attaching jax, otherwise it is not cloned properly if it is being updated
|
2011-09-22 19:48:12 -04:00 |
|
Davide P. Cervone
|
0a2e1c3968
|
Add contextual menu to Math Processing Error messages, so it is possible to access the settings if something has gone wrong
|
2011-09-22 09:17:10 -04:00 |
|
Davide P. Cervone
|
dcd4be5dd7
|
Fix MathJax.Hub.getJaxFor() and MathJax.Hub.isJax() to properly handle elements that are part of the HTML-CSS or NativeMML output (in particular, you can find the element Jax from this output)
|
2011-09-22 08:34:29 -04:00 |
|
Davide P. Cervone
|
e51c240448
|
Add new MathJax.Hub.setRenderer() method to make it easier to change renderers (without having to muck about in the MathJax internals), and use this in the menu code. Add a MathJax.Hub.Rerender() method to force the output to be rerendered without reprocessing the input.
|
2011-09-22 08:08:50 -04:00 |
|
Davide P. Cervone
|
29f1823deb
|
Fix a couple of issues for IE (extra comma, wrong element name, and better handling of readyState)
|
2011-09-18 23:39:19 -04:00 |
|
Davide P. Cervone
|
ae12c52774
|
Make sure Jax loadComplete returns the Ajax.loadComplete callback
|
2011-09-18 22:33:37 -04:00 |
|
Davide P. Cervone
|
1b81935c8a
|
Removed debug call left in the packed version in the previous commit
|
2011-09-18 17:07:24 -04:00 |
|
Davide P. Cervone
|
331b9ee6f1
|
Fix problem where selecting the renderer menu failed to rerender the mathematics
|
2011-09-18 17:06:26 -04:00 |
|
Davide P. Cervone
|
d5f2ab74f3
|
Merge branch 'performance' into v2.0-candidate (still need to optimize linebreak measurements)
|
2011-09-11 13:13:22 -04:00 |
|
Davide P. Cervone
|
b5d23c72fa
|
Merge branch 'new-features' into merge-features (in preparation for merging with v2.0-candidate), and fix hover zoom trigger when discoverability is disabled
|
2011-09-11 12:42:27 -04:00 |
|
Davide P. Cervone
|
3f4f54e2c0
|
Merge branch 'zoom-update' into v2.0-candidate
|
2011-09-11 11:51:14 -04:00 |
|
Davide P. Cervone
|
2e129e0a01
|
Disable discoverability for now, and hide its menu item
|
2011-09-11 11:36:56 -04:00 |
|
Davide P. Cervone
|
a9b53b8bb7
|
Merge 'htmlcss-fixes' into v2.0-candidate (after resolving conflicts)
|
2011-09-11 11:16:18 -04:00 |
|
Davide P. Cervone
|
a4861dde5d
|
Don't use setTimeout() if the delay is 0, and use delay of 0 for loading web fonts to avoid an IE9 bug (resolves issue #170)
|
2011-09-10 08:48:41 -04:00 |
|
Davide P. Cervone
|
53fc357cfc
|
Start processing on DOMContentLoaded, if possible, and check document.readyState to see if the onload handler has already fired (avoids the need for authors to call MathJax.Hub.Startup.onload() by hand)
|
2011-09-06 21:05:51 -04:00 |
|
Davide P. Cervone
|
2708905233
|
Since the loading of the jax is now done by prepareOutput, no need to check for callbacks in processOutput
|
2011-09-04 17:51:18 -04:00 |
|
Davide P. Cervone
|
a4fdb7b815
|
Properly handle loading of jax during prepareOutput so that it works in combined configuration files
|
2011-09-04 16:52:44 -04:00 |
|
Davide P. Cervone
|
75058a81d8
|
Pass state to input and output jax's Translate() method
|
2011-09-04 13:04:04 -04:00 |
|
Davide P. Cervone
|
0145248359
|
Pass state rather than scripts to pre- and postTranslate methods (let them get the scripts from the state)
|
2011-09-04 12:34:17 -04:00 |
|
Davide P. Cervone
|
7b32411bf7
|
Fix marginScale problem with IE <= 7, and inline display problem with IE >= 8. Don't assign default font to MathJax (it is not needed, since we set the font explicitly on text items)
|
2011-08-30 12:35:51 -04:00 |
|
Davide P. Cervone
|
b214da2436
|
Replace getScales and getMarginScale by actions in the preTranslate method. Also add hideProcessedMath option to set display:none on completed expressions (for IE performance)
|
2011-08-29 19:21:20 -04:00 |
|
Davide P. Cervone
|
2a72125c1a
|
Make prepareOutput() load the main output jax.js file and wait for it to complete; also handle errors in the pre- and post-processing
|
2011-08-29 07:36:40 -04:00 |
|
Davide P. Cervone
|
7042c1d64f
|
Handle preTranslate in HTML-CSS jax, and don't make a redundent scripts list if there is only one output jax in use
|
2011-08-28 20:03:53 -04:00 |
|
Davide P. Cervone
|
805c78df67
|
Add a processing state variable and use that to allow pre- and post-Translate methods that can be used to get scaling factors, etc.
|
2011-08-28 13:14:20 -04:00 |
|
Davide P. Cervone
|
231081ac5c
|
Repack previous commit
|
2011-08-27 11:39:16 -04:00 |
|
Davide P. Cervone
|
07faf4e0b4
|
Check for config array before issuing v1.0-warning message (resolves issue #163)
|
2011-08-27 11:38:31 -04:00 |
|
Davide P. Cervone
|
7c33ada973
|
Change UIevents to MathEvents (missed this one earlier)
|
2011-08-24 16:11:48 -04:00 |
|
Davide P. Cervone
|
820afa0357
|
Repack and recombine (plus remove unused variables)
|
2011-08-24 11:24:15 -04:00 |
|
Davide P. Cervone
|
5b421d32d1
|
Refactor event handling to move common routines to MathJax.HTML.Event (in preparateion for handling hover discoverability
|
2011-08-17 20:26:25 -04:00 |
|
Davide P. Cervone
|
ec5cd41d69
|
Add support for Firefox 6 Mobile, and add close button for mobile devices so it is easier to close a submenu.
|
2011-08-15 15:00:44 -04:00 |
|
Davide P. Cervone
|
816d2cbcfd
|
Add touch event support for mobile devices so they can access the menus (still need to work on Firefox support, but works for WebKit-based mobiles)
|
2011-08-14 20:17:42 -04:00 |
|
Davide P. Cervone
|
418e5a293e
|
Prevent infinite loop if one of the jax fails to load (due to failure to compile or timeout waiting for it to load)
|
2011-08-03 16:04:14 -04:00 |
|
Davide P. Cervone
|
9156092878
|
Add default id's to the jax objects (make Fred happy)
|
2011-07-28 19:31:42 -04:00 |
|
Davide P. Cervone
|
e21825cf56
|
Don't show the v1.0 compatibility message if the config parameter was specified, even if the config file fails to load
|
2011-07-27 11:57:07 -04:00 |
|
Davide P. Cervone
|
d57abf54d8
|
Fix problem with SimpleSUPER reported by Fred (due to a bad copy-paste edit really early on)
|
2011-07-27 09:07:40 -04:00 |
|
Davide P. Cervone
|
725f655080
|
Fix Message.Set and Message.Clear so that a delay of 0 is properly handled (fixes issue with Fred's test cases, though I would prefer to see some tests that use the actual delays)
|
2011-07-27 08:46:45 -04:00 |
|
Davide P. Cervone
|
bd2fb28932
|
Merge with master (brining up to adate with v1.1a)
|
2011-07-24 10:07:30 -04:00 |
|
Davide P. Cervone
|
45dd111fe9
|
Fix timing problem with Jax startup sequence so that the required array can be modified in the Config method (as it is in the HTML-CSS jax). This resolves a timing ising with IE
|
2011-06-06 15:05:22 -04:00 |
|
Davide P. Cervone
|
1da9f58062
|
Update About box to show MathJax version separately from MathJax.js version, and make sure lettering is black (isolates from page CSS a bit more).
|
2011-05-18 15:06:28 -04:00 |
|
Davide P. Cervone
|
861d254bec
|
Don't try to check for jax if specified element is null (prevents a crash)
|
2011-05-18 14:52:49 -04:00 |
|
Davide P. Cervone
|
d54cfb2519
|
Fix a problem with two DIV's having the same ID when MSIE is used; fix a problem where the v1.0 configuration message does show up for IE7 and 6.
|
2011-05-18 14:51:07 -04:00 |
|
Davide P. Cervone
|
5392f6e98f
|
Repack, recombine, completes merge of htmlcss-fixes
|
2011-05-18 11:11:28 -04:00 |
|
Davide P. Cervone
|
ff3a846d83
|
Repack merge from issue115
|
2011-05-18 10:14:50 -04:00 |
|
Davide P. Cervone
|
37cb2ff727
|
Prevent the clearing of a message from putting up a new message when messageStyle == "none" is in effect (resolves issue #115).
|
2011-05-13 13:07:34 -04:00 |
|
Davide P. Cervone
|
84ed248395
|
Break the processing phase into two separate phases to do input processing separately from output processing (they used to be interleaved). This makes it easier to implement forward references for the \ref macro
|
2011-05-01 17:31:30 -04:00 |
|
Davide P. Cervone
|
fa7673e03d
|
Have Update() method ask ElementJax to determine if it needs updating (which in turn asks the associated input jax). Make Remove() work for just clearing output (without detaching) if desired.
|
2011-05-01 14:21:01 -04:00 |
|
Davide P. Cervone
|
944aed1ac1
|
Have ElementJax store input and output jax ID's rather than pointers (to help avoid circular references for cleanup purposes)
|
2011-05-01 13:45:16 -04:00 |
|
Davide P. Cervone
|
98c56a56ab
|
Move input/output jax and preprocessor registries from Hub.config to Hub itself (they are not user configurable through Hub.Config, and so even though they are configurations, they don't belong there).
|
2011-05-01 10:46:22 -04:00 |
|
Davide P. Cervone
|
c5c01bd60b
|
Abstract lists of (prioritiezed) callbacks into an object, and use it to replace ExecuteHooks, and to allow priorities for callback hooks (StartupHook, MessageHook, LoadHook, and PreProcessors). This can also be used to provide hooks for other actions, like pre- and post-filtering math or errors, etc.
|
2011-05-01 09:28:49 -04:00 |
|
Davide P. Cervone
|
bea67bcb8f
|
Mark the root math element with the source ID so you can look up the jax from within the math tree
|
2011-05-01 07:42:46 -04:00 |
|
Davide P. Cervone
|
92c0a9f9a5
|
Add an Update() method to ElementJax to force output to be updated (but not reprocess input). To be used if the contents of the element jas changes by hand (e.g. through maction)
|
2011-05-01 07:13:40 -04:00 |
|
Davide P. Cervone
|
d4c2c09714
|
Add new generic signals around the math processing, so that it is easier to trap notification of the beginning or ending of math processing
|
2011-04-30 14:25:33 -04:00 |
|
Davide P. Cervone
|
ea88cc5a5b
|
Add ability to reprocess only the output (can be used by maction to better handle the toggle actiontype)
|
2011-04-30 14:21:56 -04:00 |
|
Davide P. Cervone
|
2066e68531
|
Make the message system wait for the styles to be set before using the in-page message area (resolves issue #98)
|
2011-04-21 14:18:28 -04:00 |
|
Davide P. Cervone
|
bb09608b23
|
Resolve a conflict with Mathjax and Slidy (its sets window.opera, which confused the browser detection)
|
2011-04-05 12:25:44 -04:00 |
|
Davide P. Cervone
|
536eece1b1
|
Fix problem with element parameter to the preprocessors (by making a global parameter instead, so there is only one place it needs to be set). Also make it an array so that more than one element can be specified.
|
2011-03-18 18:38:51 -04:00 |
|
Davide P. Cervone
|
62c5adc459
|
Fix determination of root directory when config parameter includes slashes
|
2011-03-06 15:16:36 -05:00 |
|
Davide P. Cervone
|
af97e9f6a6
|
Make jax configuration wait until after main configuration completes
|
2011-03-05 18:09:55 -05:00 |
|
Davide P. Cervone
|
0e458db9d4
|
Fix timing problem with setting of renderer from menu cookie. Update version numbers for Jax base classes
|
2011-03-05 15:08:52 -05:00 |
|
Davide P. Cervone
|
a5661b5c1c
|
Change versions to 1.1 and update copyright dates
|
2011-03-03 16:45:48 -05:00 |
|
Davide P. Cervone
|
dcff67e561
|
Fix version number remapping for unrecognized WebKit browsers, and change check for iPhone use of web fonts to match (resolves issue #80)
|
2011-03-03 07:20:36 -05:00 |
|
Davide P. Cervone
|
5950641ee5
|
Merge branch IE9-issues (with updated versions and packing)
|
2011-02-26 10:04:06 -05:00 |
|
Davide P. Cervone
|
97fb465311
|
Add CombineConfig() routine to combine default configuration with user configuration, and insert signal hooks to do synchronize configuration (for use with combined configuration files)
|
2011-02-21 14:39:15 -05:00 |
|
Davide P. Cervone
|
c200dcd5d2
|
Add a warning message (but in a separate file so that MathJax.js doesn't have to be any bigger) for when no configuration was done (when v1.0.x would load the config/MathJax.js file)
|
2011-02-18 09:03:51 -05:00 |
|
Davide P. Cervone
|
a11d398ea4
|
Implement new configuration process (see http://sites.google.com/site/mathjaxproject/design-documents/configuration-options/version-1-1-configuration-specification) with v1.0 compatibility (which may need to be changed)
|
2011-02-17 10:54:49 -05:00 |
|
Davide P. Cervone
|
8df6b1463c
|
Pack previous commmit
|
2011-02-15 11:04:36 -05:00 |
|
Davide P. Cervone
|
5d8a768707
|
Repack and recombine the previous few edits
|
2011-02-15 08:49:53 -05:00 |
|
Davide P. Cervone
|
7f14b46cae
|
Make sure IE9 doesn't get filter set to do DXImage dropshadows (which cause IE9 to crash)
|
2011-02-07 19:52:11 -05:00 |
|
Davide P. Cervone
|
31c32f8f20
|
Add MathJax.HTML.setScript() to handle setting a script's value (taking IE9 bug into account), and use it where scripts are created (resolves issue#5)
|
2011-02-07 19:48:47 -05:00 |
|
Davide P. Cervone
|
c1de343e4e
|
Properly handle menu renderer settings when combined config files are used. (REsolves issue 51)
|
2011-01-20 08:18:02 -05:00 |
|
Sean Hogan
|
5afdd65b07
|
Repack to account for combine branch changes
|
2011-01-05 23:51:46 +11:00 |
|
Davide P. Cervone
|
e0da83e172
|
Allow config parameter and script to both be used together
|
2011-01-01 17:19:56 -05:00 |
|
Davide P. Cervone
|
0c43db656c
|
Packed versions of previous commits
|
2011-01-01 16:55:56 -05:00 |
|
Davide P. Cervone
|
58ce73bfd8
|
Update packing to just use yuicompressor
|
2010-12-30 15:31:25 -05:00 |
|