Search completed in 2.14 seconds.
Unix stub installer - Archive of obsolete content
where does the
unix stub installer code reside?
... the
unix stub installer project resides at: <http://lxr.mozilla.org/seamonkey/sou...ard/
unix/src2/> how do we get setup to debug the
unix stub installer?
... build the
unix installer (debug or non-debug target) by typing "make" in the src2 directory grab a nightly build, say from <http://ftp.mozilla.org/pub/mozilla/n...staller.tar.gz> gunzip and untar the build to some temporary location like /tmp.
...And 8 more matches
Porting NSPR to Unix Platforms - Archive of obsolete content
last modified 16 july 1998 <<< under construction >>>
unix platforms are probably the easiest platforms to port netscape portable runtime (nspr) to.
...therefore i write this article to document the more mechanical part of the
unix porting task.
... for certain more "standard"
unix platforms, this may be all you have to do.
...And 2 more matches
Index - Web APIs
1321 file.lastmodified api, file api, files, property, reference the file.lastmodified read-only property provides the last modified date of the file as the number of milliseconds since the
unix epoch (january 1, 1970 at midnight).
... 3055 performancetiming.connectend api, backwards compatibility, deprecated, navigation timing, performancetiming, property, read-only, legacy the legacy performancetiming.connectend read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, where the connection is opened network.
... 3056 performancetiming.connectstart api, backwards compatibility, deprecated, html, navigation timing, performancetiming, property, read-only, legacy the legacy performancetiming.connectstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, where the request to open a connection is sent to the network.
...And 19 more matches
OS.File for the main thread
edir(in string path, [optional] in object options); promise<void> setcurrentdirectory(in string path); promise<void> setdates(in string path, in date|number accessdate, in date|number modificationdate); promise<void> setpermissions(in string path, in object options ); promise<file.info> stat(in string path, [optional] in object options); promise<void>
unixsymlink(in string targetpath, in string createpath); promise<void> writeatomic(in string path, in arrayview data, in object options); methods os.file.open() use method os.file.open() to open a file.
... prior to gecko 27, unless create or truncate are set or explicit
unixflags are given, the file will be opened for appending on
unix/linux.
...to specify options, pass an object that may contain some of the following flags:
unixflags (ignored under non-
unix platforms) if specified, file opening flags, as per libc function open.
...And 16 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
debugging - bugzilla run time messages note: the presence of var env_mozdebug=getenv("mozilla_debug")allows user to print debugging messages if mozilla_debug is defined in either the shell for
unix (export mozilla_debug=1) or in the command.com environment in windows (set mozilla_debug=1).
...in
unix that would have been $home/nsmail/..., in windows it would have been a samba mount of that same
unix path (ex: u:\nsmail ; with u: = samba mount: \\samba-server\%username).
... unfortunately file system writes and/or mail format differs between windows and
unix, and folders soon become unreadable or even corrupted when read/written from one system to the other.
...And 13 more matches
Drawing and Event Handling - Plugins
npwindowtypewindow = 1, npwindowtypedrawable } npwindowtype; typedef struct _npwindow { void* window; /* platform-specific handle */ uint32 x; /* position of top-left corner */ uint32 y; /* relative to a netscape page */ uint32 width; /* maximum window size */ uint32 height; nprect cliprect; /* clipping rectangle in port coordinates */ #ifdef xp_
unix void * ws_info; /* platform-dependent additional data */ #endif /* xp_
unix */ npwindowtype type; /* whether this is a window or a drawable */ } npwindow; the window parameter is a platform-specific handle to a native window element in the browser window hierarchy on windows and
unix.
...
unix/x11: not used.
... ms windows and
unix for windowed plug-ins on ms windows and
unix, the window->window field is a handle to a subwindow of the netscape window hierarchy.
...And 12 more matches
Mozilla release FAQ - Archive of obsolete content
here are a few that are specific to the mozilla newsgroups: fe = front end -- the part of mozilla that handles the interface be = back end -- the part of mozilla that does all the behind-the-scenes stuff nspr = netscape portable runtime -- an abstraction layer over the local os gtk = a free gui toolkit native to
unix qt = another gui toolkit xp = cross platform xpfe = cross-platform frontend based on nglayout m[number] = milestone release [number] (no longer used) i'm wondering how to do xxx with navigator 3.x...
...these instructions are included in the source tree, and are also available on the mozilla website: detailed build instructions:
unix/x win32 mac if your version of make chokes on the makefiles (on
unix), you might not be using gnu make.
...regarding shells, i would like to recommend the following: if you are using
unix, use bash-family shells for the build because of the better control over redirection (in case you want to log errors and messages) if you are using win32, using the default shell cmd.exe (as opposed to 4dos or 4nt) will probably yield better results.
...And 9 more matches
Command line crash course - Learn web development
many developers today are using
unix-based tools (e.g.
...many tutorials and tools that exist on the web today support (and sadly assume)
unix-based systems, but not to worry — they are available on most systems.
... linux/
unix as hinted at above, linux/
unix systems have a terminal available by default, listed among your applications.
...And 9 more matches
nsIFile
by default, this value is false on all non-
unix systems.
... as of mozilla 1.7, this attribute is ignored on
unix systems.
... example, this could return "/home/user/foo.txt" or "c:\images\my.jpeg" permissions unsigned long the value of this attribute is a
unix-style file permission mask for this nsifile.
...And 8 more matches
Index
on
unix the certificate database tool defaults to $home/.netscape (that is, ~/.netscape).
.../setup.exe { executable relativepath { %temp%/setup.exe } } win32/setup.hlp { relativepath { %temp%/setup.hlp } } win32/setup.cab { relativepath { %temp%/setup.cab } } } } win95::x86 { equivalentplatform {winnt::x86} } sunos:5.5.1:sparc { modulename { "example
unix module" } modulefile {
unix/fort.so } defaultmechanismflags{0x0001} cipherenableflags{0x0001} files {
unix/fort.so { relativepath{%root%/lib/fort.so} absolutepath{/usr/local/netscape/lib/fort.so} filepermissions{555} } xplat/instr.html { relativepath{%root%/docs/inst.html} ab...
...os release is an empty string on non-
unix operating systems.
...And 6 more matches
Xptcall Porting Status
mike shaver <shaver@mozilla.org> is the best contact regarding 'nix (
unix, linux, finux, etc.) ports of xptcall.
... status status platform contributors and <font color="red">?</font> possible contributors notes <font color="white">done</font> win32 x86 john bandhauer <jband@netscape.com> win32 <font color="white">done</font> linux x86 john bandhauer <jband@netscape.com> ulrich drepper <drepper@cygnus.com>
unix <font color="white">done</font> freebsd and netbsd x86 christoph toshok <toshok@hungry.com>, john bandhauer <jband@netscape.com>
unix (same as linux 86 code) <font color="white">done</font> bsd/os x86 bert driehuis <bert_driehuis@nl.compuware.com>
unix (same as linux 86 code) bert contributed patches that *should* do the right thing for all the
unixish-x86 versions of this code for gcc 2.7 or 2.8 vs.
...bert's details <font color="white">done</font> mac ppc roger lawrence <rogerl@netscape.com>, patrick beard <beard@netscape.com> mac (passing tests and checked in) <font color="white">done</font> solaris sparc roger lawrence <rogerl@netscape.com>, chris mcafee <mcafee@netscape.com>
unix this is checked in and working.
...And 5 more matches
Index - Archive of obsolete content
606 porting nspr to
unix platforms nspr last modified 16 july 1998 607 priority content update: i've removed documents from this list that have been migrated into the wiki.
... 708
unix stub installer xpinstall no summary!
...in this article, we use the
unix install file, but the installers for all the platforms are quite similar, and you can easily take what you learn here and apply it to installations on any platform that mozilla supports.
...And 4 more matches
Mozilla's Section 508 Compliance
here are the section 508 requirements and how far along mozilla seamonkey rv1.8a4 is with each one: requirement windows linux/
unix mac os requirement windows linux/
unix mac os (a) when software is designed to run on a system that has a keyboard, product functions shall be executable from a keyboard where the function itself or the result of performing a function can be discerned textually.
...we expose focus programmatically via msaa (windows) and atk (linux/
unix).
...we expose this information to assistive technology via microsoft active accessibility (msaa) (windows) and accessibility toolkit (atk) (linux/
unix).
...And 4 more matches
OS.File.Info
ink } else { // |somepath| represents a regular file } }, function onfailure(reason) { if (reason instanceof os.file.error && reason.becausenosuchfile) { // |somepath| does not represent anything } else { // some other error } } ) example: determining the owner of a file let promise = os.file.stat() promise.then( function onsuccess(info) { if ("
unixowner" in info) { // info.
unixowner holds the owner of the file } else { // information is not available on this platform } } ); evolution of this example bug 802534 will introduce the ability to check whether field
unixowner appears in os.file.info.prototype, which will make it possible to write faster code.
...on
unix systems it was returning the last modified date and thus it was deprecated.
...on older
unix filesystems it is not possible to get a creation date as it was never stored, on new
unix filesystems creation date is stored but the method to obtain this date differs per filesystem, bugzilla :: bug 1167143 explores implementing solutions for all these different filesystems) lastaccessdate the date at which the file was last accessed, as a javascript date object.
...And 4 more matches
Mozilla accessibility architecture
mozilla supports two accessibility apis: microsoft active accessibility (msaa) on windows and accessibility tool kit (atk) on linux and
unix.
...if you're interested in linux or
unix accessibility, check out mozilla's atk project page.
...the toolkit-specific classes then use these xpcom interfaces to gather information about the objects they want to expose, make any necessary changes, and then expose the information using microsoft com on windows, or through gtk2's atk api's on linux and
unix.
...And 3 more matches
NSPR's Position On Abrupt Thread Termination
abrupt termination has been available in the
unix/c environment for some time (exit()), and i assume that the basic semantics defined there are applicable here.
...in the situation where it was defined (
unix), which has only a single thread of execution, that is equivalent to terminating the process.
...so in a threaded environment, what is the parallel to
unix' exit()?
...And 3 more matches
Accessibility Features in Firefox
sun contributes code to improve accessibility on
unix a similar story occurred at sun microsystems.
... sun needed an accessible web browser for
unix, specifically for solaris.
... again, rather than develop a brand new web browser, it made more sense to contribute fixes that make firefox accessible on
unix.
...And 2 more matches
CSUN Firefox Materials
sun contributes code to improve accessibility on
unix a similar story occurred at sun microsystems.
... sun needed an accessible web browser for
unix, specifically for solaris.
... again, rather than develop a brand new web browser, it made more sense to contribute fixes that make firefox accessible on
unix.
...And 2 more matches
Optimizing Applications For NSPR
the only exception to this rule is the <tt>select()</tt> and <tt>poll()</tt> system calls on
unix, both of which nspr has overridden to make sure they are aware of the nspr local threads.
...the
unix based platforms all implement the function though there may be up to a 5 second delay in processing the request.
... digital
unix digital
unix (aka, osf1) requires the latest patches for the pthreads library.
...And 2 more matches
NSS Tools modutil
on
unix, the security module database tool defaults to the user's netscape directory.
...001} files { win32/setup.exe { executable relativepath { %temp%/setup.exe } } win32/setup.hlp { relativepath { %temp%/setup.hlp } } win32/setup.cab { relativepath { %temp%/setup.cab } } } } win95::x86 { equivalentplatform {winnt::x86} } sunos:5.5.1:sparc { modulename { "fortezza
unix module" } modulefile {
unix/fort.so } defaultmechanismflags{0x0001} cipherenableflags{0x0001} files {
unix/fort.so { relativepath{%root%/lib/fort.so} absolutepath{/usr/local/netscape/lib/fort.so} filepermissions{555} } xplat/instr.html { relativepath{%root%/docs/inst.html} absolutepath{/usr/local/ne...
...os release is an empty string on non-
unix operating systems.
...And 2 more matches
ctypes.open
a native file for use on
unix systems is an so file, which is created and a c function called add() is written.
... int add(int a, int b) { return a + b; } to make this a shared library, a native file which can be loaded and used from js-ctypes, compile it with these commands: gcc -fpic -c mycfuntionsfor
unix.c gcc -shared -o mycfuntionsfor
unix.so mycfuntionsfor
unix.o a file named mycfuntionsfor
unix.so is successfully created.
... if the native file is located at chrome://youraddon/content/mysubfolder/mycfunctionsfor
unix.so then it is converted to a file uri like this: components.utils.import("resource://gre/modules/services.jsm"); var cr = components.classes['@mozilla.org/chrome/chrome-registry;1'].getservice(components.interfaces.nsichromeregistry); var chromeuri_mylib = services.io.newuri('chrome://youraddon/content/mysubfolder/mycfunctionsfor
unix.so', 'utf-8', null); var localfile_mylib = cr.convertchromeur...
...And 2 more matches
Source code directories overview - Archive of obsolete content
the gimp toolkit) which runs on x-windows on
unix.
... motif contains source code for motif, a toolkit which runs on x-windows on
unix.
... rhapsody contains source code for mac os x server (which is based on nextstep which is based on x-windows on
unix) using yellow box (cocoa).
... qt contains source code for the qt toolkit, a c class library which runs on x-windows on
unix, windows 95, windows 98 and window nt 4.0.
NPWindow - Archive of obsolete content
syntax typedef struct _npwindow { void* window; /* platform specific handle */ uint32_t x; /* coordinates of top left corner */ uint32_t y; /* relative to a netscape page */ uint32_t width; /* maximum window size */ uint32_t height; nprect cliprect; /* clipping rectangle coordinates */ #ifdef xp_
unix void * ws_info; /* platform-dependent additional data */ #endif /* xp_
unix */ npwindowtype type; /* window or drawable target */ } npwindow; fields the data structure has the following fields: window platform-specific handle to a native window element in the netscape window hierarchy on windows (hwnd) and
unix (x window id).
... ws_info
unix: contains information about the plug-in's
unix window environment; points to an npsetwindowcallbackstruct.
...the window field holds a platform-specific handle to a drawable or an off-screen pixmap, as follows: windows: hdc mac os: pointer to np_port structure
unix/x11: not used.
...the plug-in area is a native window element on windows and
unix, or a rectangle within a native window on mac os.
Named Shared Memory
the nspr shared memory api provides a cross-platform named shared-memory interface that is modeled on similar constructs in the
unix and windows operating systems.
... filenames the name passed to pr_opensharedmemory should be a valid filename for a
unix platform.
...the
unix implementation may use sysv ipc shared memory, posix shared memory, or memory mapped files; the filename may be used to define the namespace.
... security considerations on
unix platforms, depending on implementation, contents of the backing store for the shared memory can be exposed via the file system.
NSS tools : modutil
ample module" } modulefile { win32/fort32.dll } defaultmechanismflags{0x0001} defaultcipherflags{0x0001} files { win32/setup.exe { executable relativepath { %temp%/setup.exe } } win32/setup.hlp { relativepath { %temp%/setup.hlp } } win32/setup.cab { relativepath { %temp%/setup.cab } } } } win95::x86 { equivalentplatform {winnt::x86} } sunos:5.5.1:sparc { modulename { "example
unix module" } modulefile {
unix/fort.so } defaultmechanismflags{0x0001} cipherenableflags{0x0001} files {
unix/fort.so { relativepath{%root%/lib/fort.so} absolutepath{/usr/local/netscape/lib/fort.so} filepermissions{555} } xplat/instr.html { relativepath{%root%/docs/inst.html} absolutepath{/usr/local/netscape/docs/inst.html} filepermissions{555} } } } irix:6.2:mips { equivalentplatf...
...os release is an empty string on non-
unix operating systems.
... nspr supports these platforms: o aix (rs6000) o bsdi (x86) o freebsd (x86) o hpux (hppa1.1) o irix (mips) o linux (ppc, alpha, x86) o macos (powerpc) o ncr (x86) o nec (mips) o os2 (x86) o osf (alpha) o reliant
unix (mips) o sco (x86) o solaris (sparc) o sony (mips) o sunos (sparc) o
unixware (x86) o win16 (x86) o win95 (x86) o winnt (x86) for example: irix:6.2:mips sunos:5.5.1:sparc linux:2.0.32:x86 win95::x86 the module information is defined independently for each platform in the modulename, modulefile, and files attributes.
... filepermissions sets permissions on any referenced files in a string of octal digits, according to the standard
unix format.
sslfnc.html
if a null value is passed, the server default value is used: /tmp (
unix) or \\temp (nt).
... initializing multi-processing with a shared ssl server cache to start a multi-processing application, the initial parent process calls ssl_configmpserversidcache, and then creates child processes, by one of these methods: call fork and then exec (
unix) call createprocess (win32) call pr_createprocess (both
unix and win32) it is essential that the parent allow the child to inherit the file descriptors.
...if a null value is passed, the server default value is used: /tmp (
unix) or \\temp (nt).
... an application uses multiple processesonly if it uses the
unix function fork, or the win32 function createprocess.
NSS tools : modutil
/setup.exe { executable relativepath { %temp%/setup.exe } } win32/setup.hlp { relativepath { %temp%/setup.hlp } } win32/setup.cab { relativepath { %temp%/setup.cab } } } } win95::x86 { equivalentplatform {winnt::x86} } sunos:5.5.1:sparc { modulename { "example
unix module" } modulefile {
unix/fort.so } defaultmechanismflags{0x0001} cipherenableflags{0x0001} files {
unix/fort.so { relativepath{%root%/lib/fort.so} absolutepath{/usr/local/netscape/lib/fort.so} filepermissions{555} } xplat/instr.html { relativepath{%root%/docs/inst.html} ab...
...os release is an empty string on non-
unix operating systems.
... nspr supports these platforms: o aix (rs6000) o bsdi (x86) o freebsd (x86) o hpux (hppa1.1) o irix (mips) o linux (ppc, alpha, x86) o macos (powerpc) o ncr (x86) o nec (mips) o os2 (x86) o osf (alpha) o reliant
unix (mips) o sco (x86) o solaris (sparc) o sony (mips) o sunos (sparc) o
unixware (x86) o win16 (x86) o win95 (x86) o winnt (x86) for example: irix:6.2:mips sunos:5.5.1:sparc linux:2.0.32:x86 win95::x86 the module information is defined independently for each platform in the modulename, modulefile, and files attributes.
... filepermissions sets permissions on any referenced files in a string of octal digits, according to the standard
unix format.
NSS tools : signtool
the
unix version of signtool assumes ~/.netscape unless told otherwise.
...with the
unix version of netscape signing tool, omitting the -d option causes the tool to install the keys and certificate in the communicator key and certificate databases.
...with the
unix version of netscape signing tool, omitting the -d option causes the tool to install the keys and certificate in the communicator key and certificate databases.
...l pkcs #11 module (this module is internally loaded) slots: 2 slots attached status: loaded slot: communicator internal cryptographic services version 4.0 token: communicator generic crypto svcs slot: communicator user private key and certificate services token: communicator certificate db ----------------------------------------------- this
unix example shows that netscape signing tool is using a fips-140-1 module: signtool -d "c:\netscape\users\jsmith" -m using certificate directory: c:\netscape\users\jsmith enter password or pin for "communicator certificate db": [password will not echo] listing of pkcs11 modules ----------------------------------------------- 1.
AT APIs Support
we provide for them the support of these products on windows, linux/
unix and os x platforms.
... k-meleon - light, ultra-fast and more advanced (fully configurable) gecko-based web browser available on the windows platform on linux/
unix platform yelp help viewer - the help viewer in gnome evolution email - provides integrated mail, addressbook and calendaring functionality to users of the gnome desktop.
... linux/
unix platform we support atk/at-spi interfaces on linux.
... windows platform jaws windows eyes nvda linux/
unix platform orca os x platform voiceover contacts please discuss accessibility issues on the mozilla accessibility groups or on the mozilla accessibility irc channel.
Standard OS Libraries
unix unix based operating systems are linux, *bsd, solaris, etc.
... gtk+ and qt are graphic frameworks, the graphic stack under
unix is xorg (x11/x).
...the other framework used in
unix systems is qt.
... // placeholder - example soon to come x11 x11 runs primarily on
unix® and
unix-like operating systems like linux, all of the bsd variants, sun solaris both native 32 and 64 bit support, solaris x86, mac os x (via darwin) as well as other platforms like os/2 and cygwin.
io/file - Archive of obsolete content
this means that on windows paths are specified using the backslash path separator (\), and on
unix-like systems like linux and os x paths are specified using the forward slash path separator (/).
... if your add-on uses literal windows-style path specifications with this api, your add-on likely won't work when users run it on
unix-like systems.
... likewise, if your add-on uses literal
unix-style path specifications, it won't work for users on windows.
places/bookmarks - Archive of obsolete content
updated a
unix timestamp indicating when the bookmark was last updated on the platform.
... updated a
unix timestamp indicating when the bookmark was last updated on the platform.
... updated a
unix timestamp indicating when the bookmark was last updated on the platform.
Adding Toolbars and Toolbar Buttons - Archive of obsolete content
you can have a different skin directory for each operating system using manifest flags in the chrome.manifest file: skin xulschoolhello classic/1.0 skin/
unix/ skin xulschoolhello classic/1.0 skin/win/ os=winnt skin xulschoolhello classic/1.0 skin/mac/ os=darwin the osversion flag can be used in case we wanted to have different icons for mac os x lion and above, and others for older systems.
... there is a separate skin directory for each system, with the
unix theme as the default (as most other systems are
unix-based).
... skin xulschoolhello classic/1.0 skin/all/ skin xulschoolhello-os classic/1.0 skin/
unix/ skin xulschoolhello-os classic/1.0 skin/win/ os=winnt skin xulschoolhello-os classic/1.0 skin/mac/ os=darwin all we did here is add a new entry for "common" styles that points to the all directory.
The Essentials of an Extension - Archive of obsolete content
unix-based systems have a command line tool called uuidgen that generates uuids.
...if our extension needed to look differently on different systems, we could change the manifest file so that it looks like this: content xulschoolhello content/ skin xulschoolhello classic/1.0 skin/
unix/ skin xulschoolhello classic/1.0 skin/mac/ os=darwin skin xulschoolhello classic/1.0 skin/win/ os=winnt locale xulschoolhello en-us locale/ this way we can have separate skins for windows, mac os x, and linux (plus other
unix-like systems), each defined in a separate directory.
... since most other systems are
unix-based, the "
unix" skin is the default, with no flags.
Creating a Help Content Pack - Archive of obsolete content
strings recognized from 1.8 onward are win, mac, os2, and
unix; more will be added as required.
...an example of how to use this attribute follows: <!-- assumptions: win-toc.rdf contains windows- and os/2-specific info,
unix-toc.rdf contains linux- and mac-specific info.
... --> <rdf:li> <rdf:description nc:panelid="toc" nc:platform="win os2" nc:datasources="win-toc.rdf"/> </rdf:li> <rdf:li> <rdf:description nc:panelid="toc" nc:platform="
unix mac" nc:datasources="
unix-toc.rdf"/> </rdf:li> there's one final element to add inside rdf:seq to complete the content pack descriptor file: an element to describe the help viewer's search function.
File object - Archive of obsolete content
creating a pipeline involves spawning arbitrary processes; this means that giving a script access to the file object is exactly equivalent to giving the script access to the
unix shell or dos command interpreter.
... examples of possible prefix strings are "/" to indicate the
unix root directory, "c:" to specify a windows drive letter, and "file:" to indicate a file url.
... file.separator the system name separator (slash on
unix).
Tamarin build documentation - Archive of obsolete content
linux and
unix tamarin is tested on linux but not on other
unix flavors.
... nonetheless, it is possible to build tamarin on
unix.
... execute the following commands to build: $ cd tamarin-central/platform/
unix $ make the resulting executable "shell" is built in the current directory.
Using gdb on wimpy computers - Archive of obsolete content
(gdb) r starting program: /home/blizzard/src/mozilla/mozilla/dist/bin/./mozilla-bin breakpoint 1, main (argc=1, argv=0xbffff894) at nsapprunner.cpp:811 811 install
unixsignalhandlers(argv[0]); (gdb) set auto-solib-add 0 (gdb) c continuing.
...0x404ccdeb in __sigsuspend (set=0xbf5ffbc0) at ../sysdeps/
unix/sysv/linux/sigsuspend.c:48 48 ../sysdeps/
unix/sysv/linux/sigsuspend.c: no such file or directory.
...[switching to thread 2051 (runnable)] 0x404ccdeb in __sigsuspend (set=0xbf5ffbac) at ../sysdeps/
unix/sysv/linux/sigsuspend.c:48 48 ../sysdeps/
unix/sysv/linux/sigsuspend.c: no such file or directory.
NPAPI plugin reference - Archive of obsolete content
it works on
unix (linux) and macos.
... npprintcallbackstruct contains information required by the platformprint field of the npembedprint structure during embedded mode printing on
unix systems.
... npsetwindowcallbackstruct contains information about the plug-in's
unix window environment.
JavaScript OS.Constants
useful mostly for using js-ctypes to interact with the following platforms: macos x; android; linux; other variants of
unix.
... exdev cross-device link opening files
unix access rights defined on all platforms but meaningful only on
unix.
...
unix opening mode o_append open the file for appending.
Localizing with Mercurial
your config file is called either ~/.hgrc (
unix systems) or mercurial.ini (windows), depending on your operating system.
... save the file as either .hgrc (
unix systems) or mercurial.ini (windows) and save it in either $home/ or c:\mozilla-build\hg\ or c:\program files\mercurial\.
... here's how to create a l10n patch with hg and the mq extension: enable mq by adding hg.ext = to your mercurial config file (~/.hgrc on
unix-like systems or mercurial.ini on windows) under the [extensions] section.
getFile
available on both mac and
unix these locations are available on both mac os x and
unix implementations of gecko.
...tmenu_dir "cmstrt" ns_win_common_programs_dir "cmprgs" ns_win_common_startup_dir "cmstrt" ns_win_common_desktop_directory "cmdeskp" ns_win_appdata_dir "appdata" ns_win_local_appdata_dir "localappdata" ns_win_printhood "prnthd" ns_win_cookies_dir "cookd" available on
unix only these locations are supported only on
unix builds of firefox os.
... c constant string value notes ns_
unix_local_dir "locl" ns_
unix_lib_dir "libd" ns_
unix_home_dir ns_os_home_dir the following locations are provided only on os/2 builds of gecko.
nsILocalFile
by default, this value is false on all non-
unix systems.
... as of mozilla 1.7, this attribute is ignored on
unix systems.
... mode a
unix-style file permissions value.
nsILoginMetaInfo
for example, "{d4e1a1f6-5ea0-40ee-bff5-da57982f21cf}" timecreated unsigned long long the time, in
unix epoch milliseconds, when the login was first created.
... timelastused unsigned long long the time, in
unix epoch milliseconds, when the login was last submitted in a form or used to begin an http auth session.
... timepasswordchanged unsigned long long the time, in
unix epoch milliseconds, when the login's password was last modified.
Content-Encoding - HTTP
this is the original format of the
unix gzip program.
...the value name was taken from the
unix compress program, which implemented this algorithm.
... like the compress program, which has disappeared from most
unix distributions, this content-encoding is not used by many browsers today, partly because of a patent issue (it expired in 2003).
Transfer-Encoding - HTTP
the value name was taken from the
unix compress program, which implemented this algorithm.
... like the compress program, which has disappeared from most
unix distributions, this content-encoding is used by almost no browsers today, partly because of a patent issue (which expired in 2003).
...this is originally the format of the
unix gzip program.
Lexical grammar - JavaScript
line terminator characters code point name abbreviation description escape sequence u+000a line feed <lf> new line character in
unix systems.
...an example is as follows: #!/usr/bin/env node console.log("hello world"); note: hashbang comments in javascript mimic shebangs in
unix used to run files with proper interpreter.
...bom will not work when you try to run the script in
unix/linux.
Finding window handles - Archive of obsolete content
recall that nsibasewindow -> nativehandle returns the following in the different operating systems: windows - hwnd mac os x - nswindow* linux - gdkwindow* (it will be gdkwindow* no matter what desktop/window manager) is in use, for explanation why see the article: standard os libraries -
unix section) windows components.utils.import('resource://gre/modules/services.jsm'); var browserwindow = services.wm.getmostrecentwindow('navigator:browser'); if (!browserwindow) { throw new error('no browser window found'); } var basewindow = browserwindow.queryinterface(ci.nsiinterfacerequestor) .getinterface(ci.nsiwebnavigation) .
...classes/nsapplication_class/index.html#//apple_ref/occ/instp/nsapplication/orderfront: * [nswindowptr orderfront:nil] */ var orderfront = sel_registername('orderfront:'); var nswindowptr = ctypes.voidptr_t(ctypes.uint64(nswindowstring)); var rez_orderfront = objc_msgsend(nswindowptr, orderfront, nil); console.log('rez_orderfront:', rez_orderfront, rez_orderfront.tostring()); objc.close();
unix under
unix systems, the nativehandle holds a string address to a gdkwindow* (the asterik/star means pointer).
Setting up an extension development environment - Archive of obsolete content
on ubuntu (and many other linux distributions): /usr/bin/firefox -no-remote -p dev on other distributions of linux/
unix: /usr/local/bin/firefox -no-remote -p dev on macos mavericks (10.9) and newer: /applications/firefox.app/contents/macos/firefox-bin -no-remote -p dev & on windows: start -> run "%programfiles%\mozilla firefox\firefox.exe" -no-remote -p dev on windows 64 bit: start -> run "%programfiles(x86)%\mozilla firefox\firefox.exe" -no-remote -p dev to start thunderbird or seamonkey instead of fir...
... accessing thunderbird development preferences to change preference settings in thunderbird, open the "preferences" (
unix) or "options" (windows) interface.
Index of archived content - Archive of obsolete content
new security model for web services new skin notes overview of how downloads work plug-n-hack plug-n-hack get involved plug-n-hack phase1 plug-n-hack phase2 plug-n-hack tools supported plugin architecture porting nspr to
unix platforms priority content prism blogposts build bundlelibrary bundles configuration extensions faq hostwindow installer scripting styling proxy ui pydom rdf api ...
...nkman internals venkman introduction video presentations when to use ifdefs writing textual data xml in mozilla xpinstall creating xpi installer modules install wizards (aka: stub installers) mac stub installer
unix stub installer windows stub installer learn xpi installer scripting by example installer script using xpinstall to install plugins install script template xpinstall api r...
Building TransforMiiX standalone - Archive of obsolete content
we support building a standalone version of transformiix on windows,
unix and os x.
...this will pull the necessary subtree with mozilla/client.mk mozilla/build/
unix/modules.mk mozilla/build mozilla/config mozilla/expat mozilla/extensions/transformiix mozilla/include mozilla/allmakefiles.sh mozilla/client.mk mozilla/aclocal.m4 mozilla/configure mozilla/configure.in mozilla/makefile.in plus nspr and xpcom from the cvs repository.
Creating a Firefox sidebar extension - Archive of obsolete content
on
unix systems: ~/src/emptysidebar$ cd chrome ~/src/emptysidebar/chrome$ zip -r emptysidebar.jar content/ locale/ on windows systems, use a zip tool to create emptysidebar.zip and then rename to emptysidebar.jar.
...on
unix systems: ~/src/emptysidebar/chrome$ cd ..
Creating a hybrid CD - Archive of obsolete content
the cd should support hfs (macintosh), joliet (win32), and rock ridge (
unix).
...it is used as the creator type for readme and other text files because it can handle
unix and windows linebreaks, but teachtext cannot.
Standalone XPCOM - Archive of obsolete content
building standalone xpcom here are the instructions for building the standalone xpcom on
unix or windows: step 1 : pull the sources cvs -z 3 co mozilla/client.mk cd mozilla gmake -f client.mk pull_all build_modules=xpcom step 2 : build xpcom standalone ./configure --enable-standalone-modules=xpcom --enable-application=standalone gmake testing standalone xpcom xpcom/sample contains a sample application and a component.
... libsample.so (
unix) is the sample component implementation that the sample application will try to instantiate.
Creating XPI Installer Modules - Archive of obsolete content
chrome/ us/ us.jar chatzilla/ chatzilla.jar chrome.rdf chromelist.txt classic/ classic.jar comm/ comm.jar content-packs/ content-packs.jar embed-sample/ embed-sample.jar en-us/ en-us.jar en-mac/ en-mac.jar en-
unix/ en-
unix.jar en-win/ en-win.jar help/ help.jar inspector/ inspector.jar installed-chrome.txt messenger/ messenger.jar ...
...for
unix, you can either use the preinstalled zip tool, or e.g.
Install Wizards (aka: Stub Installers) - Archive of obsolete content
s from the net or from local xpi modules found next to the installer binary the code that processes user selections the code that calls the xpinstall engine through xpistub the libxpnet code that is statically linked in the stub installers are written in code native to the platform using native widget toolkits including the windows api for windows, the mac toolbox for the mac, and gtk for the
unix version.
... to learn more about the three platform-specific versions of the stub installer follow the links below:
unix stub installer mac stub installer windows stub installer what do we mean by xpistub?
getFolder - Archive of obsolete content
plugin" "macosx local preferences" "macosx movie documents" "macosx music documents" "macosx picture documents" "macosx user applications" "macosx user desktop" "macosx user documents" "macosx user frameworks" "macosx user internet plugin" "macosx user preferences" "
unix lib" "
unix local" "windows" "win appdata" "win common files" "win desktop" "win desktop common" "win program files" "win programs" "win programs common" "win startmenu" "win startmenu common" "win startup" "win startup common" ...
...the folders whose names start with "win", "mac", or "
unix" are specific to those platforms.
NPAPI plugin developer guide - Archive of obsolete content
s the default plug-in using html to display plug-ins plug-in display modes using the object element for plug-in display nesting rules for html elements using the appropriate attributes using the embed element for plug-in display using custom embed attributes plug-in references plug-in development overview writing plug-ins registering plug-ins ms windows
unix mac os x drawing a plug-in instance handling memory sending and receiving streams working with urls getting version and ui information displaying messages on the status line making plug-ins scriptable building plug-ins building, platforms, and compilers building carbonized plug-ins for mac os x type libraries installing plug-ins native installers xpi plu...
...ns installations plug-in installation and the windows registry initialization and destruction initialization instance creation instance destruction shutdown initialize and shutdown example drawing and event handling the npwindow structure drawing plug-ins printing the plug-in setting the window getting information windowed plug-ins mac os windows
unix event handling for windowed plug-ins windowless plug-ins specifying that a plug-in is windowless invalidating the drawing area forcing a paint message making a plug-in opaque making a plug-in transparent creating pop-up menus and dialog boxes event handling for windowless plug-ins streams receiving a stream telling the plug-in when a stream is created ...
NPEmbedPrint - Archive of obsolete content
mac os: thprint
unix: pointer to a npprintcallbackstruct.
...
unix the plug-in location and size in the npwindow are in page coordinates (720/ inch), but the printer requires point coordinates (72/inch).
NPN_GetValue - Archive of obsolete content
values for npnvariable: npnvxdisplay =1:
unix only: returns the current display npnvxtappcontext:
unix only: returns the application's xtappcontext npnvnetscapewindow: ms windows and
unix/x11 only: ms windows: gets the native window on which plug-in drawing occurs; returns hwnd
unix/x11: gets the browser toplevel window in which the plug-in is displayed; returns window npnvjavascriptenabledbool: tells whether...
...
unix the platform-specific values for this parameter are npnvxdisplay (the current display), npnvxtappcontext (the browser's xtappcontext), and npnvnetscapewindow (the browser toplevel window in which the plugin is displayed).
NPN_SetValue - Archive of obsolete content
nppvpluginwindowbool (windows and
unix) specifies that the plugin operates in windowed mode.
... nppvplugintransparentbool (windows and
unix) specifies that a plugin is either opaque or transparent.
NPP_SetWindow - Archive of obsolete content
the window structure contains a window handle and values for top left corner, width, height, and clipping rectangle (see note on
unix below).
... for windowed plug-ins on windows and
unix, the window parameter contains a handle to a subwindow of the browser window hierarchy.
NPPrintCallbackStruct - Archive of obsolete content
« gecko plugin api reference « plug-in side plug-in api summary contains information required by the platformprint field of the npembedprint structure during embedded mode printing on
unix systems.
... this structure is only used on
unix.
NP_GetMIMEDescription - Archive of obsolete content
it works on
unix (linux) and macos.
... one mime type // example inside http://mxr.mozilla.org/mozilla-central/source/modules/plugin/sdk/samples/basic/
unix/plugin.cpp #define mime_type_description "application/basic-plugin:bsp:basic example plug-in for mozilla" const char* np_getmimedescription(void) { return(mime_types_description); } two mime types const char* np_getmimedescription(void) { return "application/basic-example-plugin:xmp1:example 1;application/basic-example2-plugin:xmp2, xm2p:example 2"; } gnome integration if you use gnome vfs (gnome-vfs-2.0), you can get the mime type d...
Plug-in Development Overview - Gecko Plugin API Reference
the following sections describe platform-specific discovery and registration: ms windows
unix mac os x ms windows on windows, plug-ins are found according to the section how gecko finds plug-ins.
...
unix on
unix, plug-ins are found according to the section how gecko finds plug-ins.
Information for Assistive Technology Vendors
mozilla support for linux/
unix assistive technology developers mozilla supports the at-spi (assistive technology service provider interface) in html and in our user interface (based on xul technology).
... this makes it possible for the developers of linux and
unix accessibility software, such as screen readers, voice dictation packages and screen magnifiers to provide support for mozilla.
Chrome registration
these packages contain three different sets of files, for windows and os/2, macintosh, and
unix-like platforms.
... to indicate that a package is platform-specific, add the "platform" modifier to the "content" line after the path, for example: content global-platform jar:toolkit.jar!/toolkit/content/global-platform/ platform once that is specified in your manifest you then ensure that under the directory global-platform are subdirectories win (windows/os2), mac (os9/osx), or
unix (everything else).
Command line options
firefox -remote "openurl(www.mozilla.org, new-tab)" this option is only available on x-windows
unix platforms.
... x11 options these options are only available for an application build for and running atop the x11/x.org display and window system to be found on linux and other
unix-based systems.
Roll your own browser: An embedding how-to
contained within this directory are a couple of makefiles: basebrowser-
unix basebrowser-win the xpinstall packager follows the same format.
...camino uses cocoazilla, a variant of fizzilla that consists of a
unix back end wed to a cocoa front end.
Localizing with Mozilla Translator
a bit of history on mt mt has been evolving from long ago, when l10n were done always on shipped en-us jars and when mozilla suite had five l10n jars: ab-cd.jar, ab-win.jar, ab-mac.jar, ab-
unix.jar, and cd.jar.
... mt thus referred to ab-cd.jar contents as ''platform neutral'' platform, cd.jar as '''region''' platform (or regional files), and the other three as ''windows platform'', ''mac platform'' and ''
unix platform''.
Dynamic Library Linking
for more information, consult the man pages for ld and dlopen (or shl_load on hp-ux) for
unix, and the loadlibrary documentation for win32.
... on most
unix systems, this environment variable is ld_library_path.
I/O Functions
nspr uses
unix-style pathnames, which are null-terminated character strings.
... memory-mapped i/o functions are currently implemented for
unix, linux, mac os x, and win32 only.
Introduction to NSPR
the current implementation of nspr allows developers to compile a single source code base on macintosh (ppc), win32 (nt 3.51, nt 4.0, win'95), and over twenty versions of
unix.
...other systems are not thread-aware, and their runtime libraries not thread-safe (most versions of
unix).
Introduction to Network Security Services
(note that nspr is a separate mozilla project; see netscape portable runtime for details.) figure 1 relationships among core nss libraries and nspr naming conventions and special libraries windows and
unix use different naming conventions for static and dynamic libraries: windows
unix static .lib .a dynamic .dll .so or .sl in addition, windows has "import" libraries that bind to dynamic libraries.
... so the nss library has the following forms: libnss3.so -
unix shared library libnss3.sl - hp-ux shared library libnss.a -
unix static library nss3.dll - windows shared library nss3.lib - windows import library binding to nss3.dll nss.lib - windows static library nss, ssl, and s/mime have all of the above forms.
Using JSS
nss 3.6.1 or 3.7 jss 3.2 nspr 4.2 or 4.1.2 nss 3.4.2 jss 3.1.1 nspr 4.1.2 nss 3.3.1 jss 3.1 nspr 4.1.2 nss 3.3 jss 3.0 nspr 3.5.1 jss shared library the jss shared library is jss4.dll (windows) or libjss4.so (
unix).
...it is not just the directory that contains jss42.jar.) ld_library_path (
unix) / path (windows) include the path to the nspr, nss, and jss shared libraries.
NSS_3.12_release_notes.html
destroy data pointed by certvaloutparam array in case of error bug 426450: pkix_pl_hashtable_remove leaks hashtable key object bug 429230: memory leak in pkix_checkcert function bug 392696: fix copyright boilerplate in all new pkix code bug 300928: integrate libpkix to nss bug 303457: extensions newly supported in libpkix must be marked supported bug 331096: nss softoken must detect forks on all
unix-ish platforms bug 390710: certnameconstraintstemplate is incorrect bug 416928: der decode error on this policy extension bug 375019: cache-enable pkix_ocspchecker_check bug 391454: libpkix does not honor nss's override trust flags bug 403682: cert_pkixverifycert never succeeds bug 324744: add generation of policy extensions to certutil bug 390973: add long option names to secu_parsecommandline bu...
...uld init nss read-only for some options bug 350948: freebl macro change can give 1% improvement in rsa performance on amd64 bug 352439: reference leaks in modutil bug 369144: certutil needs option to generate subjectkeyid extension bug 391771: pk11_config_name and pk11_config_strings leaked on shutdown bug 401194: crash in lg_findobjects on win64 bug 405652: in the tls clienthello message the gmt_
unix_time is incorrect bug 424917: performance regression with studio 12 compiler bug 391770: ocsp_global.monitor is leaked on shutdown bug 403687: move pkix functions to certvfypkix.c, turn off ev_test_hack bug 428105: cert_setocsptimeout is not defined in any public header file bug 213359: enhance pk12util to extract certs from p12 file bug 329067: nss encodes cert distinguished name attributes with...
NSS 3.37 release notes
starting with nss version 3.31, an alternative implementation for rng seeding on the linux/
unix platform was available (bug 1346735), which performed seeding exclusively based on /dev/urandom.
... (the classic implementation for rng seeding on the linux/
unix platform, which may use additional sources for the default seeding, is still available and will be used if seed_only_dev_urandom is undefined.) with nss 3.37, this alternative implementation for linux/
unix can be selected in "make" builds by defining the environment variable nss_seed_only_dev_urandom.
gtstd.html
verifying the server and client certificates when you have finished setting up the server and client certificate databases, verify that the client and server certificates are valid, as follows: >certutil -v -d server_db -u v -n myco.mcom.org certutil: certificate is valid >certutil -v -d client_db -u c -n "joe client" certutil: certificate is valid building nss programs on
unix, use the gnu utility gmake to run the makefile.
...in addition, you must use the following compiler flags: solaris flags: -c -o -kpic -dsvr4 -dsysv -d__svr4 -d__svr4__ -dsolaris -d_reentrant -dsolaris2_5 -d_svid_gettod -dxp_
unix -udebug -dndebug windows nt flags: -c -o2 -md -w3 -nologo -d_x86_ -gt -dwinnt -dxp_pc -udebug -u_debug -dndebug -dwin32 -d_windows ...
Rebranding SpiderMonkey (1.8.5)
in the
unix world we would issue the following command: find ./ -type f -exec sed -i "s/mozjs185/$brand/" {} \; windows users: notepad++ can be used to perform the recursive find and replace text operation.
...if this is not desirable, you can issue the following command on
unix systems: sed -i "s/mozjs185/$brand/" /usr/bin/js-config which performs a simple text replacement of mozjs185 with your branding on the js-config script.
JS_NewDateObjectMsec
this article covers features introduced in spidermonkey 1.8.5 creates a new date object instance, configured to represent the date and time indicated by the specified time in milliseconds since the
unix epoch.
... msec double time since
unix epoch in milliseconds.
NS_NewLocalFile
this parameter has no effect on
unix systems.
... remarks on
unix systems, the prefix "~/" is supported as a shorthand for the user's home directory.
NS_NewNativeLocalFile
this parameter has no effect on
unix systems.
... remarks on
unix systems, the prefix "~/" is supported as a shorthand for the user's home directory.
nsIEnvironment
note: * for
unix/linux platforms we follow the
unix definition: an environment variable exists when getenv() returns a non-null value.
... for non-
unix/linux platforms we have to fall back to a "portable" definition (which is incorrect for
unix/linux!!!!) which simply checks whether the string returned by get() is empty or not.
Virtualenv
in order to get the virtualenv's python binary on your path, you should source the bin/activate script on
unix or run activate.bat on windows.
...
unix example .
Add to iPhoto
it differs from a string in that it offers url-specific methods for managing the content, and includes methods for converting between urls and file system routine data formats such as fsref and
unix pathnames.
... this.cfurlref, // returns ctypes.voidptr_t, // input: allocator ctypes.unsigned_char.ptr, // input: pointer to string cfindex, // input: string length ctypes.bool) // input: isdirectory this method is used to convert a
unix pathname into an url.
Plug-in Basics - Plugins
this guide notes platform-specific differences in coding for the ms windows, mac os x, and
unix platforms.
... the plug-in file type depends on the platform: ms windows: .dll (dynamic link library) files
unix: .so or .dso (shared objects) files mac os x: ppc/x86/universal loadable mach-o bundle windowed and windowless plug-ins you can write plug-ins that are drawn in their own native windows or frames on a web page.
Plug-in Development Overview - Plugins
the following sections describe platform-specific discovery and registration: ms windows
unix mac os x ms windows on windows, plug-ins are found according to the section how gecko finds plug-ins.
...
unix on
unix, plug-ins are found according to the section how gecko finds plug-ins.
Gecko Plugin API Reference - Plugins
s the default plug-in using html to display plug-ins plug-in display modes using the object element for plug-in display nesting rules for html elements using the appropriate attributes using the embed element for plug-in display using custom embed attributes plug-in references plug-in development overview writing plug-ins registering plug-ins ms windows
unix mac os x drawing a plug-in instance handling memory sending and receiving streams working with urls getting version and ui information displaying messages on the status line making plug-ins scriptable building plug-ins building, platforms, and compilers building carbonized plug-ins for mac os x type libraries installing plug-ins native installers xpi plu...
...ns installations plug-in installation and the windows registry initialization and destruction initialization instance creation instance destruction shutdown initialize and shutdown example drawing and event handling the npwindow structure drawing plug-ins printing the plug-in setting the window getting information windowed plug-ins mac os windows
unix event handling for windowed plug-ins windowless plug-ins specifying that a plug-in is windowless invalidating the drawing area forcing a paint message making a plug-in opaque making a plug-in transparent creating pop-up menus and dialog boxes event handling for windowless plug-ins streams receiving a stream telling the plug-in when a stream is created ...
File.lastModified - Web APIs
the file.lastmodified read-only property provides the last modified date of the file as the number of milliseconds since the
unix epoch (january 1, 1970 at midnight).
... syntax const time = instanceoffile.lastmodified; value a number that represents the number of milliseconds since the
unix epoch.
Localizations and character encodings - Developer guides
for most locales, the fallback encoding is windows-1252 (often called iso-8859-1), which was the encoding emitted by most windows applications in the 1990s and a superset of the encoding emitted by most
unix applications in the 1990s as a deployed in the america has and in western europe.
...the canonical names are the values to the right of the equals sign in
unixcharset.properties.
Data URLs - HTTP
encoding on a
unix system base64 encoding of a file or string on linux and mac os x systems can be achieved using the command-line base64 (or, as an alternative, the uuencode utility with -m argument).
...it can even be done via bash base64 utility (see section encoding on a
unix system) if wsl is activated.
Digest - HTTP
some of the supported algorithms, including
unixsum and md5 are subject to collisions and are thus not suitable for applications in which collision-resistance is important.
... examples digest: sha-256=x48e9qookqqrvdts8nojrjn3owduoywxbf7kbu9dbpe= digest: sha-256=x48e9qookqqrvdts8nojrjn3owduoywxbf7kbu9dbpe=,
unixsum=30637 specifications specification title draft-ietf-httpbis-digest-headers-latest resource digests for http this header was originally defined in rfc 3230, but the definition of "selected representation" in rfc 7231 made the original definition inconsistent with current http specifications.
Date() constructor - JavaScript
time value or timestamp number value an integer value representing the number of milliseconds since january 1, 1970, 00:00:00 utc (the ecmascript epoch, equivalent to the
unix epoch), with leap seconds ignored.
... keep in mind that most
unix timestamp functions are only accurate to the nearest second.
Date.prototype.getTime() - JavaScript
the gettime() method returns the number of milliseconds* since the
unix epoch.
... * javascript uses milliseconds as the unit of measurement, whereas
unix time is in seconds.
File I/O - Archive of obsolete content
enumerating drives on windows while you can use initwithpath("/") on
unix-like systems (linux, mac) to get the root of the file system, there's no such root on windows.
List of Mozilla-Based Applications - Archive of obsolete content
lone version uses xulrunner just (fr) audio a tool for setting temporal tags in audio documents jsdoc toolkit documentation tool uses mozilla rhino k-meleon gecko-based web browser for windows embeds gecko in mfc kairo.at mandelbrot creates images of mandelbrot sets xulrunner application kazehakase gecko-based web browser for
unix kirix strata data browser kiwix offline version of wikipedia kneemail prayer, praise, and journal application komodo and komodo edit and open komodo development tools mozilla-based application (pre-xulrunner style), xul ui kompozer wysiwyg html editor unofficial bug-fix release of nvu kylo video browser ...
Making a Mozilla installation modifiable - Archive of obsolete content
on
unix-like operating systems with bash-like shells, you can run the following command within that directory to accomplish this task: for file in *.jar; do unzip $file; done on operating systems with dos-like shells, the following command accomplishes this task: for %file in (*.jar); do unzip %file note that there are platform-specific files — en-mac.jar, en-
unix.jar, and en-win.jar — in that dire...
JavaScript OS.Shared - Archive of obsolete content
global object os.shared.type properties void_t voidptr_t char jschar int unsigned_int int32_t uint32_t int64_t uint64_t long bool off_t size_t ssize_t fd (
unix only) negativeone_or_fd (
unix only) negativeone_or_nothing (
unix only) string (
unix only) null_or_string (
unix only) handle (windows only) maybe_handle (windows only) dword (windows only) negative_or_dword (windows only) zero_or_dword (windows only) zero_or_nothing (windows only) declareffi() intn_t() uintn_t()instances of os.shared.type convert_from_c() releasewith() attributes global object os...
Running Tamarin acceptance tests - Archive of obsolete content
st it out with a simple .abc or no args for usage (should return exitcode=0) $ tamarin-redux/platform/android/android_shell.py hello.abc hello exitcode=0 test it out by retrieving the version information of the shell on the android device $ $avm -dversion shell 1.4 debug build 6299:455bca954565 features avmsystem_32bit;avmsystem_unaligned_int_access;avmsystem_little_endian;avmsystem_arm;avmsystem_
unix; avmfeature_jit;avmfeature_abc_interp;avmfeature_selftest;avmfeature_eval;avmfeature_protect_jitmem; avmfeature_shared_gcheap;avmfeature_cache_gqcn;avmfeature_safepoints;avmfeature_swf12;avmfeature_swf13;avmtweak_exact_tracing; running acceptance tests --androidthreads sets the number of threads to the number of phones found via usb.
URIScheme - Archive of obsolete content
list of mozilla supported uri schemes list of uri schemes http:// by default, port 80 https:// by default, port 443 (ssl) ftp:// by default, port 21 file:// : file:///etc/hosts on
unix/linux, file:///c:/some/file.txt on windows.
addFile - Archive of obsolete content
some file transfer programs will convert apple binaries to this format on transfer if you transfer them from a macintosh to a
unix/windows machine before zipping up those files on that target system.
Using LDAP XPCOM with XULRunner - Archive of obsolete content
er.cpp: // copyright (c) 2005 benjamin smedberg <benjamin@smedbergs.us> #include "nscore.h" #include "nsmodule.h" #include "prlink.h" #include "nsilocalfile.h" #include "nsstringapi.h" #include "nscomptr.h" static char const *const kdependentlibraries[] = { #ifdef ns_win32 moz_dll_prefix "nsldap32v50" moz_dll_suffix, moz_dll_prefix "nsldappr32v50" moz_dll_suffix, #endif //ns_win32 #ifdef ns_
unix moz_dll_prefix "ldap50" moz_dll_suffix, moz_dll_prefix "prldap50" moz_dll_suffix, #endif //ns_
unix nsnull }; // component.dll on windows, libcomponent.dll on linux static char krealcomponent[] = moz_dll_prefix "mozldap" moz_dll_suffix; nsresult nsgetmodule(nsicomponentmanager* acompmgr, nsifile* alocation, nsimodule* *aresult) { nsresult rv; nscomptr<nsifile> ...
NPP_HandleEvent - Archive of obsolete content
values: ms windows: pointer to npevent structure mac os: pointer to a standard mac os eventrecord
unix/x11: pointer to a standard xlib xevent for a list of possible events, see npevent.
NP_Initialize - Archive of obsolete content
syntax windows #include <npapi.h> nperror winapi np_initialize(npnetscapefuncs *anpnfuncs)
unix #include <npapi.h> nperror np_initialize(npnetscapefuncs *anpnfuncs, nppluginfuncs *anppfuncs) returns if successful, the function returns nperr_no_error.
0.90 - Archive of obsolete content
tus updates</title> <link>http://www.mozilla.org/status/</link> </item> <item> <title>bugzilla reorganized</title> <link>http://www.mozilla.org/bugs/</link> </item> <item> <title>mozilla party, 2.0!</title> <link>http://www.mozilla.org/party/1999/</link> </item> <item> <title>
unix platform parity</title> <link>http://www.mozilla.org/build/
unix.html</link> </item> <item> <title>npl 1.0m published</title> <link>http://www.mozilla.org/npl/npl-1.0m.html</link> </item> </rdf:rdf> note that here, rss is being used to list sections of the web site.
Browser Detection and Cross Browser Support - Archive of obsolete content
is_ie5_5, is_ie5_5up, is_ie6, is_ie6up, is_hotjava3, is_hotjava3up, is_opera2, is_opera3, is_opera4, is_opera5, is_opera5up javascript version number is_js (float indicating full javascript version number: 1, 1.1, 1.2 ...) os platform and version is_win, is_win16, is_win32, is_win31, is_win95, is_winnt, is_win98, is_winme, is_win2k, is_os2, is_mac, is_mac68k, is_macppc, is_
unix, is_sun, is_sun4, is_sun5, is_suni86, is_irix, is_irix5, is_irix6, is_hpux, is_hpux9, is_hpux10, is_aix, is_aix1, is_aix2, is_aix3, is_aix4, is_linux, is_sco, is_
unixware, is_mpras, is_reliant, is_dec, is_sinix, is_freebsd, is_bsd, is_vms detecting browsers using this level of detail is unworkable, unmaintainable and violates the basic principles of web authoring!
New in JavaScript 1.1 - Archive of obsolete content
isnan() now works on every platform (not only
unix anymore) parsefloat() and parseint() now return nan on all platforms, if the first character of the specified string cannot be converted to a number; in previous releases, it returned nan on solaris and irix and zero on all other platforms.
The Business Benefits of Web Standards - Archive of obsolete content
while some browsers have quirks that cause different behavior by platform, mozilla-based browsers are designed to behave identically on all supported platforms (mac, linux,
unix, windows...) web content is increasingly being accessed by a growing number of user agents other than browsers, or by browsers on different platforms - for example mobile telephones.
What is a URL? - Learn web development
so in this example, we really want to reach this url: https://developer.mozilla.org/docs/learn/skills/infrastructure/understanding_urls going back in the directory tree ../css/display in this case, we use the ../ writing convention — inherited from the
unix file system world — to tell the browser we want to go up from one directory.
What software do I need to build a website? - Learn web development
uilt-in editor third-party editor windows notepad notepad++ visual studio code web storm brackets shiftedit sublime text mac os textedit textwrangler visual studio code brackets shiftedit sublime text linux vi (all
unix) gedit (gnome) kate (kde) leafpad (xfce) emacs vim visual studio code brackets shiftedit sublime text chrome os shiftedit here is a screenshot of an advanced text editor: here is a screenshot of an online text editor: uploading files on the web when your website is ready for ...
Server-side web frameworks - Learn web development
a full-stack http and websocket client/server implementation with ipv6, tls, sni, idna, http/socks5 proxy,
unix domain socket, comet (long polling), keep-alive, connection pooling, timeout, cookie, multipart, and gzip compression support.
Embedding API for Accessibility
in part, being accessible means supporting a built-in accessibility apis for a platform, such as microsoft active accessibility or atk for linux and
unix desktops.
Debugging on Windows
note that unlike
unix, the default for windows is not warn, it's to pop up a dialog.
HTTP logging
note: the generated log file uses
unix-style line endings.
Makefiles - Best practices and suggestions
for classes of hardware (
unix/windows) place your makefile in a subdirectory,
unix/makefile.in always include dependencies when creating a target initial make call should always be the workhorse: build, generate, deploy, install, etc.
How Mozilla determines MIME Types
(on
unix, this means checking mime.types.) if that fails, a user-supplied helper app is searched for by extension, and the specified mime type will be used.
Integrated Authentication
instead, it leverages system libraries that provide spnego; sspi on microsoft windows, and gss-api on linux, mac osx, and other
unix-like systems.
OS.File.Error
platform-specific attributes
unixerrno (defined under
unix only) the system error number (errno) for the error.
Encodings for localization files
browser/installer/installer.inc utf-8 toolkit/installer/
unix/install.it utf-8 native windows encodings the following table lists native windows encodings, and the win_installer_charset and charset= values for each: encoding name win_installer_charset (charset.mk) charset= (windows/install.it) ansi_charset cp1252 0 baltic_charset cp1257 186 chinesebig5_charset cp950 136 ea...
Index
38 localization formats there are 4 main approaches to web l10n with regards to the choice of technology used for localization logic: 39 setting up the infrastructure apache, infrastructure, localization, php, svn,
unix first, make your project's file type decision (see localization formats for details): 40 what every mozilla translator should know internationalization, localization l10n stands for localization = l + another 10 letters + n 41 writing localizable code internationalization, localization this page tells you about best practices and guidelines when dea...
Fonts for Mozilla's MathML engine
a better alternative on
unix systems is to install the otf files for latin modern math and stix into some local font folder and (if necessary) to run fc-cache on it.
Fonts for Mozilla 2.0's MathML engine
the fonts may be installed by extracting the font files (which have the .otf extension) from the zip archive, then following instructions for microsoft windows, or copying the files to a ~/library/fonts folder on mac os x, or to a ~/.fonts/ directory (which may need to be created) on
unix/linux systems.
About NSPR
the current implementation supports macintosh (ppc), win-32 (winnt, win9x) and 20 versions of
unix and is still expanding.
NSPR build instructions
prerequisites on windows, the nspr build system needs gnu make and a
unix command-line utility suite such as mks toolkit, cygwin, and msys.
NSPR release procedure
so on
unix it repackages the jar files into gzipped tar files, and on windows it repackages the jar files into zip files.
IPC Semaphores
nspr provides an interprocess communication mechanism using a counting semaphore model similar to that which is provided in
unix and windows platforms.
I/O Types
prfiledesc priomethods prfileprivate prdescidentity note that the nspr documentation follows the
unix convention of using the termfiles to refer to many kinds of i/o objects.
PRNetAddr
(note that prnetaddr does not have the length field that is present in struct sockaddr_in on some
unix platforms.) the macros pr_af_inet, pr_af_inet6, pr_inaddr_any, pr_inaddr_loopback are defined if prio.h is included.
PR_CreatePipe
pr_createpipe is currently implemented on
unix, linux, mac os x, and win32 only.
PR_Interrupt
in the pthreads-based implementation on
unix, the maximum delay is 0.1 seconds.
PR_MkDir
caveat: the mode parameter is currently applicable only on
unix platforms.
PR_Open
this feature is currently only applicable on
unix platforms.
PR_OpenAnonFileMap
on
unix platforms, pr_openanonfilemap uses dirname as a directory name, without the trailing '/', to contain the anonymous file.
PR_OpenSemaphore
mode
unix style file mode to be used when creating the semaphore.
PR_OpenTCPSocket
can be pr_af_inet (ipv4), pr_af_inet6 (ipv6), or pr_af_local (
unix domain, supported on posix systems only).
PR OpenUDPSocket
can be pr_af_inet (ipv4), pr_af_inet6 (ipv6), or pr_af_local (
unix domain, supported on posix systems only).
PR_Poll
on
unix, the fd field can be set to a pointer to any prfiledesc object, including one representing a file or a pipe.
PR_ReadDir
on
unix platform, this value identifies files whose names begin with a period (".").
Build instructions for JSS 4.3.x
unix setenv java_home /usr/local/jdk1.5.0 (or wherever your jdk is installed) windows set java_home=c:\programs\jdk1.5.0 (or wherever your jdk is installed) windows (cygnus) java_home=/cygdrive/c/programs/jdk1.5.0 (or wherever your jdk is installed) export java_home windows build configurations winnt vs win95 as of nss 3.15.4, nspr/nss/jss build generates a "win95" ...
NSS 3.14.2 release notes
the documentation is in the docbook format and can be rendered as html and
unix-style manual pages using an optional build target.
nss tech note6
the new checksum file is called libsoftokn3.chk on
unix/linux and softokn3.chk on windows.
PKCS11 FAQ
yes, the token is call softokn3 (softokn3.dll on windows, libsoftokn3.so on most
unix platforms).
Build instructions
on
unix platforms, except alpha/osf1, if you want a build for the system's 64-bit abi, set use_64=1 in your environment.
NSS tools : crlutil
on
unix the certificate database tool defaults to $home/.netscape (that is, ~/.netscape).
NSS_3.12.3_release_notes.html
errors bug 452391: certutil -k incorrectly reports ec private key as an orphan bug 453234: support for seed cipher suites to tls rfc4010 bug 453364: improve pk11_cipherop error reporting (was: pk11_createcontextbysymkey returns null bug 456406: slot list leaks in symkeyutil bug 461085: rfe: export function cert_comparecerts bug 462293: crash on fork after softoken is dlclose'd on some
unix platforms in nss 3.12 bug 463342: move some headers to freebl/softoken bug 463452: sql db creation does not set files protections to 0600 bug 463678: need to add rpath to 64-bit libraries on hp-ux bug 464088: option to build nss without dbm (handy for wince) bug 464223: certutil didn't accept certificate request to sign.
NSS Tools certutil
on
unix the certificate database tool defaults to $home/.netscape (that is, ~/.netscape).
NSS Tools crlutil
on
unix the certificate database tool defaults to $home/.netscape (that is, ~/.netscape).
NSS tools : crlutil
on
unix the certificate database tool defaults to $home/.netscape (that is, ~/.netscape).
Redis Tips
expireat lets you specify the expiration date of a key in
unix timestamp.
Secure Development Guidelines
ta, sizeofdata, null, null); } could be a normal file, directory, device, or link directory traversal (../../../../) file i/o: file permissions should be set correctly be sure not to make world-writable files sensitive files shouldn’t be world readable file i/o: file descriptors and handles could be a race if instances of fh are shared between threads fh inheritence: default in
unix, needs to be set in windows int main(int argc, char **argv, char **envp) { int fd = open("/etc/shadow", o_rdwr); setreuid(getuid(), getuid()); excve("/bin/sh", argv, envp); } suid root applications file i/o: file descriptors and handles potential overflows when using select fd_set struct, static length, holds a bitmask of fds manipulated with fd_set, fd_isset, fd_clr a...
Accessibility API Implementation Details
we provide for them the support of these products on windows, linux/
unix and os x platforms.at developmentthe accessibility of computer software has seen drastic improvements over the past two decades.
An Overview of XPCOM
they are usually contained in reusable binary libraries (a dll on windows, for example, or a dso on
unix), which can include one or more components.
Component Internals
the most common type of component is one that is written in c++ and compiled into a shared library (a dll on a windows system or a dso on
unix).
Creating the Component Code
generating cids to generate a cid for your component, you can use the uuidgen tool that comes with most
unix distributions and with microsoft visual c++.
Setting up the Gecko SDK
a makefile for
unix on linux, the equivalent project settings are typically handled in a makefile.
Starting WebLock
on
unix, for example, calling append("b") on an nsifile modifies that nsifile representing /u/home/dougt/a to point to /u/home/dougt/a/b.
Creating XPCOM components
ckaging weblock component installation overview archiving resources the weblock installation script the weblock trigger script distributing your component appendix a - setting up the gecko sdk downloading and setting the sdk building a microsoft visual cpp project creating a new project adding the gecko sdk to the project settings building a windows project a makefile for
unix appendix b - resources weblock resources gecko resources xpcom resources general development resources next » copyright (c) 2003 by doug turner and ian oeschger.
Index
the most common type of component is one that is written in c++ and compiled into a shared library (a dll on a windows system or a dso on
unix).
nsIBrowserHistory
alastvisited when the page was last visited, in microseconds since the
unix epoch.
nsICommandLine
on
unix/linux and mac os x, flags of the form --flag are normalized to -flag, and flags of the form --flag=param are normalized to the form -flag param.
nsIMsgDBHdr
dateinseconds unsigned long readonly: indicates the date of this message as a
unix timestamp.
nsISupportsPriority
following
unix conventions, smaller (and possibly negative) values have higher priority.
Using the clipboard
if you use kselectionclipboard instead, you will copy into the selection buffer, which is generally only available on
unix systems.
XPCOM ABI
a binary xpcom component consists of an .xpt file which fits all platforms and a dll (.dll on windows, .so on
unix) which is platform-specific and has a certain abi.
Xptcall Porting Guide
the tree mozilla/xpcom/reflect/xptcall +--public // exported headers +--src // core source | \--md // platform specific parts | +--mac // mac ppc | +--
unix // all
unix | \--win32 // win32 | +--test // simple tests to get started \--tests // full tests via api porters are free to create subdirectories under the base md directory for their given platforms and to integrate into the build system as appropriate for their platform.
Working with ArrayBuffers
eak; case 'openbsd': lib = ctypes.open('libc.so.61.0'); break; case 'android': case 'sunos': case 'netbsd': case 'dragonfly': lib = ctypes.open('libc.so'); break; case 'linux': lib = ctypes.open('libc.so.6'); break; case 'gnu/kfreebsd': lib = ctypes.open('libc.so.0.1'); break; default: //assume
unix try { lib = ctypes.open(ctypes.libraryname('c')); } catch (ex) { throw new error('i dont know where to memcpy is defined on your operating system, "' + os.constants.sys.name + '"'); lib.close(); } } try { var memcpy = lib.declare('memcpy', os.constants.sys.name.tolowercase().indexof('win') == 0 ?
Using js-ctypes
/* import js-ctypes */ var {cu} = require("chrome"); var {ctypes} = cu.import("resource://gre/modules/ctypes.jsm", null); /* open the library */ try { /* linux */ var libc = ctypes.open("libc.so.6"); } catch (e) { /* most other
unixes */ libc = ctypes.open("libc.so"); } /* import a function */ var puts = libc.declare("puts", /* function name */ ctypes.default_abi, /* call abi */ ctypes.int, /* return type */ ctypes.char.ptr); /* argument type */ var ret = puts("hello world from js-ctypes!"); libc.close(); ...
Structures - Plugins
npsetwindowcallbackstruct contains information about the plug-in's
unix window environment.
URLs - Plugins
windows and mac if a file is posted with any protocol other than ftp, the file must be text with
unix-style line breaks ('\n' separators only).
Crypto.getRandomValues() - Web APIs
user agents are instead urged to provide the best entropy they can when generating random numbers, using a well-defined, efficient pseudorandom number generator built into the user agent itself, but seeded with values taken from an external source of pseudorandom numbers, such as a platform-specific random number function, the
unix /dev/urandom device, or other source of random or pseudorandom data.
File.File() - Web APIs
lastmodified: a number representing the number of milliseconds between the
unix time epoch and when the file was last modified.
File - Web APIs
instance properties file.prototype.lastmodified read only returns the last modified time of the file, in millisecond since the
unix epoch (january 1st, 1970 at midnight).
PerformanceTiming.connectEnd - Web APIs
the legacy performancetiming.connectend read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, where the connection is opened network.
PerformanceTiming.connectStart - Web APIs
the legacy performancetiming.connectstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, where the request to open a connection is sent to the network.
PerformanceTiming.domComplete - Web APIs
the legacy performancetiming.domcomplete read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, when the parser finished its work on the main document, that is when its document.readystate changes to 'complete' and the corresponding readystatechange event is thrown.
PerformanceTiming.domContentLoadedEventEnd - Web APIs
the legacy performancetiming.domcontentloadedeventend read-only property returns an unsigned long long representing the moment, in milliseconds since the
unix epoch, right after all the scripts that need to be executed as soon as possible, in order or not, has been executed.
PerformanceTiming.domContentLoadedEventStart - Web APIs
the legacy performancetiming.domcontentloadedeventstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, right before the parser sent the domcontentloaded event, that is right after all the scripts that need to be executed right after parsing has been executed.
PerformanceTiming.domInteractive - Web APIs
the legacy performancetiming.dominteractive read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, when the parser finished its work on the main document, that is when its document.readystate changes to 'interactive' and the corresponding readystatechange event is thrown.
PerformanceTiming.domLoading - Web APIs
the legacy performancetiming.domloading read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, when the parser started its work, that is when its document.readystate changes to 'loading' and the corresponding readystatechange event is thrown.
PerformanceTiming.domainLookupEnd - Web APIs
the legacy performancetiming.domainlookupend read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, where the domain lookup is finished.
PerformanceTiming.domainLookupStart - Web APIs
the legacy performancetiming.domainlookupstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, where the domain lookup starts.
PerformanceTiming.fetchStart - Web APIs
the legacy performancetiming.fetchstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, the browser is ready to fetch the document using an http request.
PerformanceTiming.loadEventEnd - Web APIs
the legacy performancetiming.loadeventend read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, when the load event handler terminated, that is when the load event is completed.
PerformanceTiming.loadEventStart - Web APIs
the legacy performancetiming.loadeventstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, when the load event was sent for the current document.
PerformanceTiming.navigationStart - Web APIs
the legacy performancetiming.navigationstart read-only property returns an unsigned long long representing the moment, in milliseconds since the
unix epoch, right after the prompt for unload terminates on the previous document in the same browsing context.
PerformanceTiming.redirectEnd - Web APIs
the legacy performancetiming.redirectend read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, the last http redirect is completed, that is when the last byte of the http response has been received.
PerformanceTiming.redirectStart - Web APIs
the legacy performancetiming.redirectstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, the first http redirect starts.
PerformanceTiming.requestStart - Web APIs
the legacy performancetiming.requeststart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, when the browser sent the request to obtain the actual document, from the server or from a cache.
PerformanceTiming.responseEnd - Web APIs
the legacy performancetiming.responseend read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, when the browser received the last byte of the response, or when the connection is closed if this happened first, from the server from a cache or from a local resource.
PerformanceTiming.responseStart - Web APIs
the legacy performancetiming.responsestart read-only property returns an unsigned long long representing the moment in time (in milliseconds since the
unix epoch) when the browser received the first byte of the response from the server, cache, or local resource.
PerformanceTiming.secureConnectionStart - Web APIs
the legacy performancetiming.secureconnectionstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, where the secure connection handshake starts.
PerformanceTiming.unloadEventEnd - Web APIs
the legacy performancetiming.unloadeventend read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, the unload event handler finishes.
PerformanceTiming.unloadEventStart - Web APIs
the legacy performancetiming.unloadeventstart read-only property returns an unsigned long long representing the moment, in miliseconds since the
unix epoch, the unload event has been thrown.
PerformanceTiming - Web APIs
each time is provided as an unsigned long long representing the moment, in milliseconds since the
unix epoch these properties are listed in the order in which they occur during the navigation process.
Community - Accessibility
mozilla accessibility newsgroup wai interest group discussion list
unix accessibility project (reference) sun mozilla accessibility task force contribute/get involved webaim discussion list ...
Accessibility FAQ - Accessibility
assistive technology compatibility - documents assistive technologies for windows, linux,
unix, mac os x and the degree of compatibility with firefox what can i do to make sure my mozilla extensions are accessible?
<input type="date"> - HTML: Hypertext Markup Language
for example: var datecontrol = document.queryselector('input[type="date"]'); datecontrol.value = '2017-06-01'; console.log(datecontrol.value); // prints "2017-06-01" console.log(datecontrol.valueasnumber); // prints 1496275200000, a
unix timestamp this code finds the first <input> element whose type is date, and sets its value to 2017-06-01 (june 1st, 2017).
Server - HTTP
examples server: apache/2.4.1 (
unix) specifications specification title rfc 7231, section 7.4.2: server hypertext transfer protocol (http/1.1): semantics and content ...
Want-Digest - HTTP
some of the supported algorithms, including
unixsum and md5 are subject to collisions and are thus not suitable for applications in which collision-resistance is important.
OPTIONS - HTTP
http/1.1 204 no content date: mon, 01 dec 2008 01:15:39 gmt server: apache/2.0.61 (
unix) access-control-allow-origin: https://foo.example access-control-allow-methods: post, get, options access-control-allow-headers: x-pingother, content-type access-control-max-age: 86400 vary: accept-encoding, origin keep-alive: timeout=2, max=100 connection: keep-alive specifications specification title rfc 7231, section 4.3.7: options hypertext transfer protocol (htt...
Numbers and dates - JavaScript
the two languages have many of the same date methods, and both languages store dates as the number of milliseconds since january 1, 1970, 00:00:00, with a
unix timestamp being the number of seconds since january 1, 1970, 00:00:00.
Date.now() - JavaScript
syntax var timeinms = date.now(); return value a number representing the milliseconds elapsed since the
unix epoch.
Date - JavaScript
this date and time is the same as the
unix epoch, which is the predominant base value for computer-recorded date and time values.
RegExp - JavaScript
using regular expression to split lines with different line endings/ends of line/line breaks the default line ending varies depending on the platform (
unix, windows, etc.).
JavaScript shells - JavaScript
shelljs - portable
unix shell commands for node.js list of javascript shells the following javascript shells work with mozilla.
Authoring MathML - MathML
on
unix, you can then download itex2mml, build and install it: wget http://golem.ph.utexas.edu/~distler/blog/files/itextomml.tar.gz; \ tar -xzf itextomml.tar.gz; \ cd itex2mml/itex-src; make sudo make install now suppose that you have a html page with tex fragments delimited by dollars: input.html ...