diff --git a/.gitignore b/.gitignore index 3b5fb01b..17325d71 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,13 @@ /sync /packages/* /working/* -/html/index.html /epkgs **.elc .#* -/archive.json -/recipes.json +/html/archive.json +/html/recipes.json +/html/download_counts.json /recipes/.dirstamp /html/updates.rss -/download_counts.json -/elpa \ No newline at end of file +/elpa +/html/build-status.json diff --git a/.travis.yml b/.travis.yml index 1fcae2a8..97c981da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ before_install: sudo apt-get install -qq emacs24 emacs24-el emacs24-common-non-dfsg; fi - - curl -fsSkL https://raw.github.com/rejeep/cask.el/master/go | sh + - curl -fsSkL https://raw.github.com/rejeep/cask.el/master/go | python - export PATH="/home/travis/.cask/bin:$PATH" - cask env: diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..16d89e0a --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,596 @@ +GNU GENERAL PUBLIC LICENSE +========================== + +Version 3, 29 June 2007 + +Copyright © 2007 Free Software Foundation, Inc. <> + +Everyone is permitted to copy and distribute verbatim copies of this license +document, but changing it is not allowed. + +## Preamble + +The GNU General Public License is a free, copyleft license for software and other +kinds of works. + +The licenses for most software and other practical works are designed to take away +your freedom to share and change the works. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change all versions of a +program--to make sure it remains free software for all its users. We, the Free +Software Foundation, use the GNU General Public License for most of our software; it +applies also to any other work released this way by its authors. You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our General +Public Licenses are designed to make sure that you have the freedom to distribute +copies of free software (and charge for them if you wish), that you receive source +code or can get it if you want it, that you can change the software or use pieces of +it in new free programs, and that you know you can do these things. + +To protect your rights, we need to prevent others from denying you these rights or +asking you to surrender the rights. Therefore, you have certain responsibilities if +you distribute copies of the software, or if you modify it: responsibilities to +respect the freedom of others. + +For example, if you distribute copies of such a program, whether gratis or for a fee, +you must pass on to the recipients the same freedoms that you received. You must make +sure that they, too, receive or can get the source code. And you must show them these +terms so they know their rights. + +Developers that use the GNU GPL protect your rights with two steps: (1) assert +copyright on the software, and (2) offer you this License giving you legal permission +to copy, distribute and/or modify it. + +For the developers' and authors' protection, the GPL clearly explains that there is +no warranty for this free software. For both users' and authors' sake, the GPL +requires that modified versions be marked as changed, so that their problems will not +be attributed erroneously to authors of previous versions. + +Some devices are designed to deny users access to install or run modified versions of +the software inside them, although the manufacturer can do so. This is fundamentally +incompatible with the aim of protecting users' freedom to change the software. The +systematic pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we have designed +this version of the GPL to prohibit the practice for those products. If such problems +arise substantially in other domains, we stand ready to extend this provision to +those domains in future versions of the GPL, as needed to protect the freedom of +users. + +Finally, every program is threatened constantly by software patents. States should +not allow patents to restrict development and use of software on general-purpose +computers, but in those that do, we wish to avoid the special danger that patents +applied to a free program could make it effectively proprietary. To prevent this, the +GPL assures that patents cannot be used to render the program non-free. + +The precise terms and conditions for copying, distribution and modification follow. + +## TERMS AND CONDITIONS + +### 0. Definitions. + +“This License” refers to version 3 of the GNU General Public License. + +“Copyright” also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + +“The Program” refers to any copyrightable work licensed under this +License. Each licensee is addressed as “you”. “Licensees” and +“recipients” may be individuals or organizations. + +To “modify” a work means to copy from or adapt all or part of the work in +a fashion requiring copyright permission, other than the making of an exact copy. The +resulting work is called a “modified version” of the earlier work or a +work “based on” the earlier work. + +A “covered work” means either the unmodified Program or a work based on +the Program. + +To “propagate” a work means to do anything with it that, without +permission, would make you directly or secondarily liable for infringement under +applicable copyright law, except executing it on a computer or modifying a private +copy. Propagation includes copying, distribution (with or without modification), +making available to the public, and in some countries other activities as well. + +To “convey” a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through a computer +network, with no transfer of a copy, is not conveying. + +An interactive user interface displays “Appropriate Legal Notices” to the +extent that it includes a convenient and prominently visible feature that (1) +displays an appropriate copyright notice, and (2) tells the user that there is no +warranty for the work (except to the extent that warranties are provided), that +licensees may convey the work under this License, and how to view a copy of this +License. If the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + +### 1. Source Code. + +The “source code” for a work means the preferred form of the work for +making modifications to it. “Object code” means any non-source form of a +work. + +A “Standard Interface” means an interface that either is an official +standard defined by a recognized standards body, or, in the case of interfaces +specified for a particular programming language, one that is widely used among +developers working in that language. + +The “System Libraries” of an executable work include anything, other than +the work as a whole, that (a) is included in the normal form of packaging a Major +Component, but which is not part of that Major Component, and (b) serves only to +enable use of the work with that Major Component, or to implement a Standard +Interface for which an implementation is available to the public in source code form. +A “Major Component”, in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system (if any) on which +the executable work runs, or a compiler used to produce the work, or an object code +interpreter used to run it. + +The “Corresponding Source” for a work in object code form means all the +source code needed to generate, install, and (for an executable work) run the object +code and to modify the work, including scripts to control those activities. However, +it does not include the work's System Libraries, or general-purpose tools or +generally available free programs which are used unmodified in performing those +activities but which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for the work, and +the source code for shared libraries and dynamically linked subprograms that the work +is specifically designed to require, such as by intimate data communication or +control flow between those subprograms and other parts of the work. + +The Corresponding Source need not include anything that users can regenerate +automatically from other parts of the Corresponding Source. + +The Corresponding Source for a work in source code form is that same work. + +### 2. Basic Permissions. + +All rights granted under this License are granted for the term of copyright on the +Program, and are irrevocable provided the stated conditions are met. This License +explicitly affirms your unlimited permission to run the unmodified Program. The +output from running a covered work is covered by this License only if the output, +given its content, constitutes a covered work. This License acknowledges your rights +of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not convey, without +conditions so long as your license otherwise remains in force. You may convey covered +works to others for the sole purpose of having them make modifications exclusively +for you, or provide you with facilities for running those works, provided that you +comply with the terms of this License in conveying all material for which you do not +control copyright. Those thus making or running the covered works for you must do so +exclusively on your behalf, under your direction and control, on terms that prohibit +them from making any copies of your copyrighted material outside their relationship +with you. + +Conveying under any other circumstances is permitted solely under the conditions +stated below. Sublicensing is not allowed; section 10 makes it unnecessary. + +### 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + +No covered work shall be deemed part of an effective technological measure under any +applicable law fulfilling obligations under article 11 of the WIPO copyright treaty +adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention +of such measures. + +When you convey a covered work, you waive any legal power to forbid circumvention of +technological measures to the extent such circumvention is effected by exercising +rights under this License with respect to the covered work, and you disclaim any +intention to limit operation or modification of the work as a means of enforcing, +against the work's users, your or third parties' legal rights to forbid circumvention +of technological measures. + +### 4. Conveying Verbatim Copies. + +You may convey verbatim copies of the Program's source code as you receive it, in any +medium, provided that you conspicuously and appropriately publish on each copy an +appropriate copyright notice; keep intact all notices stating that this License and +any non-permissive terms added in accord with section 7 apply to the code; keep +intact all notices of the absence of any warranty; and give all recipients a copy of +this License along with the Program. + +You may charge any price or no price for each copy that you convey, and you may offer +support or warranty protection for a fee. + +### 5. Conveying Modified Source Versions. + +You may convey a work based on the Program, or the modifications to produce it from +the Program, in the form of source code under the terms of section 4, provided that +you also meet all of these conditions: + +* **a)** The work must carry prominent notices stating that you modified it, and giving a +relevant date. +* **b)** The work must carry prominent notices stating that it is released under this +License and any conditions added under section 7. This requirement modifies the +requirement in section 4 to “keep intact all notices”. +* **c)** You must license the entire work, as a whole, under this License to anyone who +comes into possession of a copy. This License will therefore apply, along with any +applicable section 7 additional terms, to the whole of the work, and all its parts, +regardless of how they are packaged. This License gives no permission to license the +work in any other way, but it does not invalidate such permission if you have +separately received it. +* **d)** If the work has interactive user interfaces, each must display Appropriate Legal +Notices; however, if the Program has interactive interfaces that do not display +Appropriate Legal Notices, your work need not make them do so. + +A compilation of a covered work with other separate and independent works, which are +not by their nature extensions of the covered work, and which are not combined with +it such as to form a larger program, in or on a volume of a storage or distribution +medium, is called an “aggregate” if the compilation and its resulting +copyright are not used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work in an aggregate +does not cause this License to apply to the other parts of the aggregate. + +### 6. Conveying Non-Source Forms. + +You may convey a covered work in object code form under the terms of sections 4 and +5, provided that you also convey the machine-readable Corresponding Source under the +terms of this License, in one of these ways: + +* **a)** Convey the object code in, or embodied in, a physical product (including a +physical distribution medium), accompanied by the Corresponding Source fixed on a +durable physical medium customarily used for software interchange. +* **b)** Convey the object code in, or embodied in, a physical product (including a +physical distribution medium), accompanied by a written offer, valid for at least +three years and valid for as long as you offer spare parts or customer support for +that product model, to give anyone who possesses the object code either (1) a copy of +the Corresponding Source for all the software in the product that is covered by this +License, on a durable physical medium customarily used for software interchange, for +a price no more than your reasonable cost of physically performing this conveying of +source, or (2) access to copy the Corresponding Source from a network server at no +charge. +* **c)** Convey individual copies of the object code with a copy of the written offer to +provide the Corresponding Source. This alternative is allowed only occasionally and +noncommercially, and only if you received the object code with such an offer, in +accord with subsection 6b. +* **d)** Convey the object code by offering access from a designated place (gratis or for +a charge), and offer equivalent access to the Corresponding Source in the same way +through the same place at no further charge. You need not require recipients to copy +the Corresponding Source along with the object code. If the place to copy the object +code is a network server, the Corresponding Source may be on a different server +(operated by you or a third party) that supports equivalent copying facilities, +provided you maintain clear directions next to the object code saying where to find +the Corresponding Source. Regardless of what server hosts the Corresponding Source, +you remain obligated to ensure that it is available for as long as needed to satisfy +these requirements. +* **e)** Convey the object code using peer-to-peer transmission, provided you inform +other peers where the object code and Corresponding Source of the work are being +offered to the general public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded from the +Corresponding Source as a System Library, need not be included in conveying the +object code work. + +A “User Product” is either (1) a “consumer product”, which +means any tangible personal property which is normally used for personal, family, or +household purposes, or (2) anything designed or sold for incorporation into a +dwelling. In determining whether a product is a consumer product, doubtful cases +shall be resolved in favor of coverage. For a particular product received by a +particular user, “normally used” refers to a typical or common use of +that class of product, regardless of the status of the particular user or of the way +in which the particular user actually uses, or expects or is expected to use, the +product. A product is a consumer product regardless of whether the product has +substantial commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + +“Installation Information” for a User Product means any methods, +procedures, authorization keys, or other information required to install and execute +modified versions of a covered work in that User Product from a modified version of +its Corresponding Source. The information must suffice to ensure that the continued +functioning of the modified object code is in no case prevented or interfered with +solely because modification has been made. + +If you convey an object code work under this section in, or with, or specifically for +use in, a User Product, and the conveying occurs as part of a transaction in which +the right of possession and use of the User Product is transferred to the recipient +in perpetuity or for a fixed term (regardless of how the transaction is +characterized), the Corresponding Source conveyed under this section must be +accompanied by the Installation Information. But this requirement does not apply if +neither you nor any third party retains the ability to install modified object code +on the User Product (for example, the work has been installed in ROM). + +The requirement to provide Installation Information does not include a requirement to +continue to provide support service, warranty, or updates for a work that has been +modified or installed by the recipient, or for the User Product in which it has been +modified or installed. Access to a network may be denied when the modification itself +materially and adversely affects the operation of the network or violates the rules +and protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, in accord with +this section must be in a format that is publicly documented (and with an +implementation available to the public in source code form), and must require no +special password or key for unpacking, reading or copying. + +### 7. Additional Terms. + +“Additional permissions” are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. Additional +permissions that are applicable to the entire Program shall be treated as though they +were included in this License, to the extent that they are valid under applicable +law. If additional permissions apply only to part of the Program, that part may be +used separately under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option remove any +additional permissions from that copy, or from any part of it. (Additional +permissions may be written to require their own removal in certain cases when you +modify the work.) You may place additional permissions on material, added by you to a +covered work, for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you add to a +covered work, you may (if authorized by the copyright holders of that material) +supplement the terms of this License with terms: + +* **a)** Disclaiming warranty or limiting liability differently from the terms of +sections 15 and 16 of this License; or +* **b)** Requiring preservation of specified reasonable legal notices or author +attributions in that material or in the Appropriate Legal Notices displayed by works +containing it; or +* **c)** Prohibiting misrepresentation of the origin of that material, or requiring that +modified versions of such material be marked in reasonable ways as different from the +original version; or +* **d)** Limiting the use for publicity purposes of names of licensors or authors of the +material; or +* **e)** Declining to grant rights under trademark law for use of some trade names, +trademarks, or service marks; or +* **f)** Requiring indemnification of licensors and authors of that material by anyone +who conveys the material (or modified versions of it) with contractual assumptions of +liability to the recipient, for any liability that these contractual assumptions +directly impose on those licensors and authors. + +All other non-permissive additional terms are considered “further +restrictions” within the meaning of section 10. If the Program as you received +it, or any part of it, contains a notice stating that it is governed by this License +along with a term that is a further restriction, you may remove that term. If a +license document contains a further restriction but permits relicensing or conveying +under this License, you may add to a covered work material governed by the terms of +that license document, provided that the further restriction does not survive such +relicensing or conveying. + +If you add terms to a covered work in accord with this section, you must place, in +the relevant source files, a statement of the additional terms that apply to those +files, or a notice indicating where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the form of a +separately written license, or stated as exceptions; the above requirements apply +either way. + +### 8. Termination. + +You may not propagate or modify a covered work except as expressly provided under +this License. Any attempt otherwise to propagate or modify it is void, and will +automatically terminate your rights under this License (including any patent licenses +granted under the third paragraph of section 11). + +However, if you cease all violation of this License, then your license from a +particular copyright holder is reinstated (a) provisionally, unless and until the +copyright holder explicitly and finally terminates your license, and (b) permanently, +if the copyright holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is reinstated permanently +if the copyright holder notifies you of the violation by some reasonable means, this +is the first time you have received notice of violation of this License (for any +work) from that copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the licenses of +parties who have received copies or rights from you under this License. If your +rights have been terminated and not permanently reinstated, you do not qualify to +receive new licenses for the same material under section 10. + +### 9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or run a copy of the +Program. Ancillary propagation of a covered work occurring solely as a consequence of +using peer-to-peer transmission to receive a copy likewise does not require +acceptance. However, nothing other than this License grants you permission to +propagate or modify any covered work. These actions infringe copyright if you do not +accept this License. Therefore, by modifying or propagating a covered work, you +indicate your acceptance of this License to do so. + +### 10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically receives a license +from the original licensors, to run, modify and propagate that work, subject to this +License. You are not responsible for enforcing compliance by third parties with this +License. + +An “entity transaction” is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an organization, or +merging organizations. If propagation of a covered work results from an entity +transaction, each party to that transaction who receives a copy of the work also +receives whatever licenses to the work the party's predecessor in interest had or +could give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if the predecessor +has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the rights granted or +affirmed under this License. For example, you may not impose a license fee, royalty, +or other charge for exercise of rights granted under this License, and you may not +initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging +that any patent claim is infringed by making, using, selling, offering for sale, or +importing the Program or any portion of it. + +### 11. Patents. + +A “contributor” is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The work thus +licensed is called the contributor's “contributor version”. + +A contributor's “essential patent claims” are all patent claims owned or +controlled by the contributor, whether already acquired or hereafter acquired, that +would be infringed by some manner, permitted by this License, of making, using, or +selling its contributor version, but do not include claims that would be infringed +only as a consequence of further modification of the contributor version. For +purposes of this definition, “control” includes the right to grant patent +sublicenses in a manner consistent with the requirements of this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free patent license +under the contributor's essential patent claims, to make, use, sell, offer for sale, +import and otherwise run, modify and propagate the contents of its contributor +version. + +In the following three paragraphs, a “patent license” is any express +agreement or commitment, however denominated, not to enforce a patent (such as an +express permission to practice a patent or covenant not to sue for patent +infringement). To “grant” such a patent license to a party means to make +such an agreement or commitment not to enforce a patent against the party. + +If you convey a covered work, knowingly relying on a patent license, and the +Corresponding Source of the work is not available for anyone to copy, free of charge +and under the terms of this License, through a publicly available network server or +other readily accessible means, then you must either (1) cause the Corresponding +Source to be so available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner consistent with +the requirements of this License, to extend the patent license to downstream +recipients. “Knowingly relying” means you have actual knowledge that, but +for the patent license, your conveying the covered work in a country, or your +recipient's use of the covered work in a country, would infringe one or more +identifiable patents in that country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or arrangement, you +convey, or propagate by procuring conveyance of, a covered work, and grant a patent +license to some of the parties receiving the covered work authorizing them to use, +propagate, modify or convey a specific copy of the covered work, then the patent +license you grant is automatically extended to all recipients of the covered work and +works based on it. + +A patent license is “discriminatory” if it does not include within the +scope of its coverage, prohibits the exercise of, or is conditioned on the +non-exercise of one or more of the rights that are specifically granted under this +License. You may not convey a covered work if you are a party to an arrangement with +a third party that is in the business of distributing software, under which you make +payment to the third party based on the extent of your activity of conveying the +work, and under which the third party grants, to any of the parties who would receive +the covered work from you, a discriminatory patent license (a) in connection with +copies of the covered work conveyed by you (or copies made from those copies), or (b) +primarily for and in connection with specific products or compilations that contain +the covered work, unless you entered into that arrangement, or that patent license +was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting any implied +license or other defenses to infringement that may otherwise be available to you +under applicable patent law. + +### 12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or otherwise) +that contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot convey a covered work so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not convey it at all. For example, if you +agree to terms that obligate you to collect a royalty for further conveying from +those to whom you convey the Program, the only way you could satisfy both those terms +and this License would be to refrain entirely from conveying the Program. + +### 13. Use with the GNU Affero General Public License. + +Notwithstanding any other provision of this License, you have permission to link or +combine any covered work with a work licensed under version 3 of the GNU Affero +General Public License into a single combined work, and to convey the resulting work. +The terms of this License will continue to apply to the part which is the covered +work, but the special requirements of the GNU Affero General Public License, section +13, concerning interaction through a network will apply to the combination as such. + +### 14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions of the GNU +General Public License from time to time. Such new versions will be similar in spirit +to the present version, but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program specifies that +a certain numbered version of the GNU General Public License “or any later +version” applies to it, you have the option of following the terms and +conditions either of that numbered version or of any later version published by the +Free Software Foundation. If the Program does not specify a version number of the GNU +General Public License, you may choose any version ever published by the Free +Software Foundation. + +If the Program specifies that a proxy can decide which future versions of the GNU +General Public License can be used, that proxy's public statement of acceptance of a +version permanently authorizes you to choose that version for the Program. + +Later license versions may give you additional or different permissions. However, no +additional obligations are imposed on any author or copyright holder as a result of +your choosing to follow a later version. + +### 15. Disclaimer of Warranty. + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE +QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE +DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +### 16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY +COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS +PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, +INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE +OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE +WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + +### 17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided above cannot be +given local legal effect according to their terms, reviewing courts shall apply local +law that most closely approximates an absolute waiver of all civil liability in +connection with the Program, unless a warranty or assumption of liability accompanies +a copy of the Program in return for a fee. + +END OF TERMS AND CONDITIONS + +## How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible use to +the public, the best way to achieve this is to make it free software which everyone +can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach them +to the start of each source file to most effectively state the exclusion of warranty; +and each file should have at least the “copyright” line and a pointer to +where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If the program does terminal interaction, make it output a short notice like this +when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type 'show c' for details. + +The hypothetical commands 'show w' and 'show c' should show the appropriate parts of +the General Public License. Of course, your program's commands might be different; +for a GUI interface, you would use an “about box”. + +You should also get your employer (if you work as a programmer) or school, if any, to +sign a “copyright disclaimer” for the program, if necessary. For more +information on this, and how to apply and follow the GNU GPL, see +<>. + +The GNU General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may consider it +more useful to permit linking proprietary applications with the library. If this is +what you want to do, use the GNU Lesser General Public License instead of this +License. But first, please read +<>. \ No newline at end of file diff --git a/Makefile b/Makefile index fb42c764..c8e9b24c 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PKGDIR := ./packages RCPDIR := ./recipes HTMLDIR := ./html WORKDIR := ./working -EMACS := emacs +EMACS ?= emacs EVAL := $(EMACS) @@ -25,7 +25,7 @@ build: $(EVAL) "(package-build-all)" html: index -index: archive.json recipes.json +index: json @echo " • Building html index ..." $(MAKE) -C $(HTMLDIR) @@ -41,21 +41,21 @@ clean-packages: clean-json: @echo " • Removing json files ..." - -rm -vf archive.json recipes.json + -rm -vf html/archive.json html/recipes.json clean: clean-working clean-packages clean-json ## Json rules -archive.json: packages/archive-contents +html/archive.json: packages/archive-contents @echo " • Building $@ ..." - $(EVAL) '(package-build-archive-alist-as-json "archive.json")' + $(EVAL) '(package-build-archive-alist-as-json "html/archive.json")' -recipes.json: $(RCPDIR)/.dirstamp +html/recipes.json: $(RCPDIR)/.dirstamp @echo " • Building $@ ..." - $(EVAL) '(package-build-recipe-alist-as-json "recipes.json")' + $(EVAL) '(package-build-recipe-alist-as-json "html/recipes.json")' -json: archive.json recipes.json +json: html/archive.json html/recipes.json $(RCPDIR)/.dirstamp: .FORCE @[[ ! -e $@ || "$$(find $(@D) -newer $@ -print -quit)" != "" ]] \ @@ -66,7 +66,6 @@ $(RCPDIR)/.dirstamp: .FORCE $(RCPDIR)/%: .FORCE @echo " • Building recipe $(@F) ..." - -rm -vf $(PKGDIR)/$(@F)-* $(EVAL) "(package-build-archive '$(@F))" @echo " ✓ Wrote $$(ls -lsh $(PKGDIR)/$(@F)-*) " diff --git a/README.md b/README.md index d521ac1c..899828b5 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ code using simple recipes. (Think of it as a server-side version of [el-get](https://github.com/dimitri/el-get), or even [homebrew](https://github.com/mxcl/homebrew).) -Packages are updated hourly. +Packages are updated at intervals throughout the day. -If you just want to browse and install packages, check out the -[archive index page](http://melpa.milkbox.net/) for instructions. +To browse available packages, check out the +[archive index page](http://melpa.milkbox.net/). Adding packages is as simple as submitting a pull request; read on for details. @@ -33,27 +33,39 @@ To use the MELPA repository, add it to `package-archives` after `(require 'package)` and before the call to `package-initialize` in your `init.el` file. - (add-to-list 'package-archives - '("melpa" . "http://melpa.milkbox.net/packages/") t) +```lisp +(add-to-list 'package-archives + '("melpa" . "http://melpa.milkbox.net/packages/") t) +``` + +In Emacs < 24, you'll also need to explicitly include the GNU ELPA +archive, which provides important compatibility libraries like +`cl-lib`: + +```lisp +(when (< emacs-major-version 24) + (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) +``` A complete minimal example for MELPA, - (require 'package) - (add-to-list 'package-archives - '("melpa" . "http://melpa.milkbox.net/packages/") t) - (package-initialize) +```lisp +(require 'package) +(add-to-list 'package-archives + '("melpa" . "http://melpa.milkbox.net/packages/") t) +(when (< emacs-major-version 24) + (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))) +(package-initialize) +``` - -Since `package.el` doesn't allow locking packages to certain version, +Since `package.el` doesn't allow locking packages to certain version, MELPA packages +will override those available from any other package source, so we also provide a package `melpa.el` which contains code to allow restricting packages to specific repositories. This allows someone to blacklist packages that come from a specific repository, or blacklist all packages from a repository and only whitelist certain packages. -See the [MELPA Package](#melpa-package) section below or -[Installing](http://melpa.milkbox.net/#installing) section on the -MELPA homepage. - +See the [MELPA Package](#melpa-package) section below if you think you might want that. ## Contributing New Recipes @@ -118,10 +130,13 @@ Let `` denote the name of the recipe to submit. 2. Add your new file under the directory specified by `package-build-recipes-dir` (default: `recipes/` directory where `package-build` was loaded). -3. Confirm your package build properly by running +3. Confirm your package built properly by running make recipes/ + (Be sure that the `emacs` on your path is at least version 23, or + set `$EMACS` to the location of a suitable binary.) + 4. Install the file you built by running `package-install-file` from within Emacs and specifying the newly built package in the directory specified by `package-build-archive-dir` (default: `packages/` @@ -141,7 +156,7 @@ Packages are specified by files in the `recipes` directory. You can contribute a new package by adding a new file under `recipes` using the following form (`[...]` denotes optional or conditional values), -```elisp +```lisp ( :fetcher [git|github|bzr|hg|darcs|svn|cvs|wiki] [:url ""] @@ -213,7 +228,7 @@ specified package requires more complex file specification. [emacswiki]: http://www.emacswiki.org/ -### Single File Repository +### Example: Single File Repository [ido-ubiquitous](https://github.com/DarwinAwardWinner/ido-ubiquitous) is a repository that contains two files: @@ -222,20 +237,20 @@ specified package requires more complex file specification. Since there is only one `.el` file, this package only needs the `:url` and `:fetcher` specified, -```elisp +```lisp (ido-ubiquitous :url "https://github.com/DarwinAwardWinner/ido-ubiquitous.git" :fetcher git) ``` -### Multiple Packages in one Repository +### Example: Multiple Packages in one Repository The [emacs-starter-kit](https://github.com/technomancy/emacs-starter-kit) contains the *starter-kit* package along with extra packages in the `modules` directory; *starter-kit-bindings*, *starter-kit-lisp*, etc. -```elisp +```lisp (starter-kit :url "https://github.com/technomancy/emacs-starter-kit.git" :fetcher git) @@ -252,7 +267,7 @@ contained in the `modules/` subdirectory and thus needs the packages files specified explicitly. -### Multiple Files in Multiple Directories +### Example: Multiple Files in Multiple Directories There are special cases when we need There are special cases where creation of the package comes from many @@ -261,7 +276,7 @@ sub-directories need to be explicitly set. Consider the `flymake-perlcritic` recipe, -```elisp +```lisp (flymake-perlcritic :repo "illusori/emacs-flymake-perlcritic" :fetcher github :files ("*.el" ("bin" "bin/flymake_perlcritic"))) @@ -281,7 +296,7 @@ Notice that specifying an entry in `:files` that is a list takes the first element to be the destination directory. These can be embedded further, such as the following---hypothetical---entry for `:files`, -```elisp +```lisp ("*.el" ("snippets" ("html-mode" "snippets/html-mode/*") ("python-mode" "snippets/python-mode/*"))) @@ -305,7 +320,7 @@ But a better solution, given that we probably want to copy the *entire* `snippets` directory to the root of the package, we could just specify that directory. Consider the `pony-mode` recipe, -```elisp +```lisp (pony-mode :repo "davidmiller/pony-mode" :fetcher github diff --git a/html/Makefile b/html/Makefile index feacf62a..47d71c90 100644 --- a/html/Makefile +++ b/html/Makefile @@ -1,13 +1,10 @@ SHELL := /bin/bash -.PHONY: all clean updates.rss index.html -all: index.html updates.rss - -index.html: index.html.erb - erb index.html.erb > index.html.tmp && mv index.html.tmp index.html +.PHONY: all clean updates.rss +all: updates.rss updates.rss: updates.rss.erb erb updates.rss.erb > updates.rss.tmp && mv updates.rss.tmp updates.rss clean: - -rm -v index.html updates.rss + -rm -v updates.rss diff --git a/html/css/melpa.css b/html/css/melpa.css new file mode 100644 index 00000000..8f893fc0 --- /dev/null +++ b/html/css/melpa.css @@ -0,0 +1,42 @@ +body { + padding-top: 60px; +} +h1 { + color: #922793; +} +.table .text-right { + text-align: right; +} +header.navbar { + background-color: #fafafa; +} +pre code { /* Match highlight.js styles to bootstrap */ + padding: 0; + background: transparent; +} +.table-sort * { +} +.table-sort-indicator { + padding-left: 1em; +} +#package-list th, #package-list td.version, #package-list td.recipe { + white-space: nowrap; +} +#package-list td a:link { + display: block; +} +.jumbotron { + font-size: 18px; + line-height: 30px; +} +.navbar, .navbar .brand, .navbar a, .navbar .nav>li>a { + color: #922793; +} +a[name] { /* Stop navbar from hiding anchors */ + padding-top: 60px; + margin-top: -60px; + display: inline-block; /* required for webkit browsers */ +} +.muted { + color: #999; +} \ No newline at end of file diff --git a/html/favicon.ico b/html/favicon.ico new file mode 100644 index 00000000..b2c70325 Binary files /dev/null and b/html/favicon.ico differ diff --git a/html/github.html b/html/github.html deleted file mode 100644 index 95d5521e..00000000 --- a/html/github.html +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - milkypostman/melpa @ GitHub - - - - - - Fork me on GitHub - -
- -
- - - - -
- -

melpa - by milkypostman

- -
- Milkypostman's ELPA -
- - - - - - - - - - -

Authors

-

Donald Ephraim Curtis (dcurtis@milkbox.net)

- - - -

Contact

-

Donald Ephraim Curtis (dcurtis@milkbox.net)

- - -

Download

-

- You can download this project in either - zip or - tar formats. -

-

You can also clone the project with Git - by running: -

$ git clone git://github.com/milkypostman/melpa
-

- - - -
- - - diff --git a/html/highlight.js b/html/highlight.js deleted file mode 100644 index f997f5ce..00000000 --- a/html/highlight.js +++ /dev/null @@ -1,630 +0,0 @@ -/* -Syntax highlighting with language autodetection. -http://softwaremaniacs.org/soft/highlight/ -*/ - -var hljs = new function() { - - /* Utility functions */ - - function escape(value) { - return value.replace(/&/gm, '&').replace(/'; - } - - while (stream1.length || stream2.length) { - var current = selectStream().splice(0, 1)[0]; - result += escape(value.substr(processed, current.offset - processed)); - processed = current.offset; - if ( current.event == 'start') { - result += open(current.node); - nodeStack.push(current.node); - } else if (current.event == 'stop') { - var i = nodeStack.length; - do { - i--; - var node = nodeStack[i]; - result += (''); - } while (node != current.node); - nodeStack.splice(i, 1); - while (i < nodeStack.length) { - result += open(nodeStack[i]); - i++; - } - } - } - result += value.substr(processed); - return result; - } - - /* Initialization */ - - function compileModes() { - - function compileMode(mode, language, is_default) { - if (mode.compiled) - return; - - if (!is_default) { - mode.beginRe = langRe(language, mode.begin ? mode.begin : '\\B|\\b'); - if (!mode.end && !mode.endsWithParent) - mode.end = '\\B|\\b' - if (mode.end) - mode.endRe = langRe(language, mode.end); - } - if (mode.illegal) - mode.illegalRe = langRe(language, mode.illegal); - if (mode.relevance == undefined) - mode.relevance = 1; - if (mode.keywords) - mode.lexemsRe = langRe(language, mode.lexems || hljs.IDENT_RE, true); - for (var key in mode.keywords) { - if (!mode.keywords.hasOwnProperty(key)) - continue; - if (mode.keywords[key] instanceof Object) - mode.keywordGroups = mode.keywords; - else - mode.keywordGroups = {'keyword': mode.keywords}; - break; - } - if (!mode.contains) { - mode.contains = []; - } - // compiled flag is set before compiling submodes to avoid self-recursion - // (see lisp where quoted_list contains quoted_list) - mode.compiled = true; - for (var i = 0; i < mode.contains.length; i++) { - compileMode(mode.contains[i], language, false); - } - if (mode.starts) { - compileMode(mode.starts, language, false); - } - } - - for (var i in languages) { - if (!languages.hasOwnProperty(i)) - continue; - compileMode(languages[i].defaultMode, languages[i], true); - } - } - - /* - Core highlighting function. Accepts a language name and a string with the - code to highlight. Returns an object with the following properties: - - - relevance (int) - - keyword_count (int) - - value (an HTML string with highlighting markup) - - */ - function highlight(language_name, value) { - if (!compileModes.called) { - compileModes(); - compileModes.called = true; - } - - function subMode(lexem, mode) { - for (var i = 0; i < mode.contains.length; i++) { - if (mode.contains[i].beginRe.test(lexem)) { - return mode.contains[i]; - } - } - } - - function endOfMode(mode_index, lexem) { - if (modes[mode_index].end && modes[mode_index].endRe.test(lexem)) - return 1; - if (modes[mode_index].endsWithParent) { - var level = endOfMode(mode_index - 1, lexem); - return level ? level + 1 : 0; - } - return 0; - } - - function isIllegal(lexem, mode) { - return mode.illegalRe && mode.illegalRe.test(lexem); - } - - function compileTerminators(mode, language) { - var terminators = []; - - for (var i = 0; i < mode.contains.length; i++) { - terminators.push(mode.contains[i].begin); - } - - var index = modes.length - 1; - do { - if (modes[index].end) { - terminators.push(modes[index].end); - } - index--; - } while (modes[index + 1].endsWithParent); - - if (mode.illegal) { - terminators.push(mode.illegal); - } - - return langRe(language, '(' + terminators.join('|') + ')', true); - } - - function eatModeChunk(value, index) { - var mode = modes[modes.length - 1]; - if (!mode.terminators) { - mode.terminators = compileTerminators(mode, language); - } - mode.terminators.lastIndex = index; - var match = mode.terminators.exec(value); - if (match) - return [value.substr(index, match.index - index), match[0], false]; - else - return [value.substr(index), '', true]; - } - - function keywordMatch(mode, match) { - var match_str = language.case_insensitive ? match[0].toLowerCase() : match[0] - for (var className in mode.keywordGroups) { - if (!mode.keywordGroups.hasOwnProperty(className)) - continue; - var value = mode.keywordGroups[className].hasOwnProperty(match_str); - if (value) - return [className, value]; - } - return false; - } - - function processKeywords(buffer, mode) { - if (!mode.keywords) - return escape(buffer); - var result = ''; - var last_index = 0; - mode.lexemsRe.lastIndex = 0; - var match = mode.lexemsRe.exec(buffer); - while (match) { - result += escape(buffer.substr(last_index, match.index - last_index)); - var keyword_match = keywordMatch(mode, match); - if (keyword_match) { - keyword_count += keyword_match[1]; - result += '' + escape(match[0]) + ''; - } else { - result += escape(match[0]); - } - last_index = mode.lexemsRe.lastIndex; - match = mode.lexemsRe.exec(buffer); - } - result += escape(buffer.substr(last_index, buffer.length - last_index)); - return result; - } - - function processBuffer(buffer, mode) { - if (mode.subLanguage && languages[mode.subLanguage]) { - var result = highlight(mode.subLanguage, buffer); - keyword_count += result.keyword_count; - return result.value; - } else { - return processKeywords(buffer, mode); - } - } - - function startNewMode(mode, lexem) { - var markup = mode.className?'':''; - if (mode.returnBegin) { - result += markup; - mode.buffer = ''; - } else if (mode.excludeBegin) { - result += escape(lexem) + markup; - mode.buffer = ''; - } else { - result += markup; - mode.buffer = lexem; - } - modes.push(mode); - relevance += mode.relevance; - } - - function processModeInfo(buffer, lexem, end) { - var current_mode = modes[modes.length - 1]; - if (end) { - result += processBuffer(current_mode.buffer + buffer, current_mode); - return false; - } - - var new_mode = subMode(lexem, current_mode); - if (new_mode) { - result += processBuffer(current_mode.buffer + buffer, current_mode); - startNewMode(new_mode, lexem); - return new_mode.returnBegin; - } - - var end_level = endOfMode(modes.length - 1, lexem); - if (end_level) { - var markup = current_mode.className?'':''; - if (current_mode.returnEnd) { - result += processBuffer(current_mode.buffer + buffer, current_mode) + markup; - } else if (current_mode.excludeEnd) { - result += processBuffer(current_mode.buffer + buffer, current_mode) + markup + escape(lexem); - } else { - result += processBuffer(current_mode.buffer + buffer + lexem, current_mode) + markup; - } - while (end_level > 1) { - markup = modes[modes.length - 2].className?'':''; - result += markup; - end_level--; - modes.length--; - } - var last_ended_mode = modes[modes.length - 1]; - modes.length--; - modes[modes.length - 1].buffer = ''; - if (last_ended_mode.starts) { - startNewMode(last_ended_mode.starts, ''); - } - return current_mode.returnEnd; - } - - if (isIllegal(lexem, current_mode)) - throw 'Illegal'; - } - - var language = languages[language_name]; - var modes = [language.defaultMode]; - var relevance = 0; - var keyword_count = 0; - var result = ''; - try { - var index = 0; - language.defaultMode.buffer = ''; - do { - var mode_info = eatModeChunk(value, index); - var return_lexem = processModeInfo(mode_info[0], mode_info[1], mode_info[2]); - index += mode_info[0].length; - if (!return_lexem) { - index += mode_info[1].length; - } - } while (!mode_info[2]); - if(modes.length > 1) - throw 'Illegal'; - return { - relevance: relevance, - keyword_count: keyword_count, - value: result - } - } catch (e) { - if (e == 'Illegal') { - return { - relevance: 0, - keyword_count: 0, - value: escape(value) - } - } else { - throw e; - } - } - } - - /* - Highlighting with language detection. Accepts a string with the code to - highlight. Returns an object with the following properties: - - - language (detected language) - - relevance (int) - - keyword_count (int) - - value (an HTML string with highlighting markup) - - second_best (object with the same structure for second-best heuristically - detected language, may be absent) - - */ - function highlightAuto(text) { - var result = { - keyword_count: 0, - relevance: 0, - value: escape(text) - }; - var second_best = result; - for (var key in languages) { - if (!languages.hasOwnProperty(key)) - continue; - var current = highlight(key, text); - current.language = key; - if (current.keyword_count + current.relevance > second_best.keyword_count + second_best.relevance) { - second_best = current; - } - if (current.keyword_count + current.relevance > result.keyword_count + result.relevance) { - second_best = result; - result = current; - } - } - if (second_best.language) { - result.second_best = second_best; - } - return result; - } - - /* - Post-processing of the highlighted markup: - - - replace TABs with something more useful - - replace real line-breaks with '
' for non-pre containers - - */ - function fixMarkup(value, tabReplace, useBR) { - if (tabReplace) { - value = value.replace(/^((<[^>]+>|\t)+)/gm, function(match, p1, offset, s) { - return p1.replace(/\t/g, tabReplace); - }) - } - if (useBR) { - value = value.replace(/\n/g, '
'); - } - return value; - } - - /* - Applies highlighting to a DOM node containing code. Accepts a DOM node and - two optional parameters for fixMarkup. - */ - function highlightBlock(block, tabReplace, useBR) { - var text = blockText(block, useBR); - var language = blockLanguage(block); - if (language == 'no-highlight') - return; - if (language) { - var result = highlight(language, text); - } else { - var result = highlightAuto(text); - language = result.language; - } - var original = nodeStream(block); - if (original.length) { - var pre = document.createElement('pre'); - pre.innerHTML = result.value; - result.value = mergeStreams(original, nodeStream(pre), text); - } - result.value = fixMarkup(result.value, tabReplace, useBR); - - var class_name = block.className; - if (!class_name.match('(\\s|^)(language-)?' + language + '(\\s|$)')) { - class_name = class_name ? (class_name + ' ' + language) : language; - } - if (/MSIE [678]/.test(navigator.userAgent) && block.tagName == 'CODE' && block.parentNode.tagName == 'PRE') { - // This is for backwards compatibility only. IE needs this strange - // hack becasue it cannot just cleanly replace block contents. - var pre = block.parentNode; - var container = document.createElement('div'); - container.innerHTML = '
' + result.value + '
'; - block = container.firstChild.firstChild; - container.firstChild.className = pre.className; - pre.parentNode.replaceChild(container.firstChild, pre); - } else { - block.innerHTML = result.value; - } - block.className = class_name; - block.result = { - language: language, - kw: result.keyword_count, - re: result.relevance - }; - if (result.second_best) { - block.second_best = { - language: result.second_best.language, - kw: result.second_best.keyword_count, - re: result.second_best.relevance - }; - } - } - - /* - Applies highlighting to all
..
blocks on a page. - */ - function initHighlighting() { - if (initHighlighting.called) - return; - initHighlighting.called = true; - var pres = document.getElementsByTagName('pre'); - for (var i = 0; i < pres.length; i++) { - var code = findCode(pres[i]); - if (code) - highlightBlock(code, hljs.tabReplace); - } - } - - /* - Attaches highlighting to the page load event. - */ - function initHighlightingOnLoad() { - if (window.addEventListener) { - window.addEventListener('DOMContentLoaded', initHighlighting, false); - window.addEventListener('load', initHighlighting, false); - } else if (window.attachEvent) - window.attachEvent('onload', initHighlighting); - else - window.onload = initHighlighting; - } - - var languages = {}; // a shortcut to avoid writing "this." everywhere - - /* Interface definition */ - - this.LANGUAGES = languages; - this.highlight = highlight; - this.highlightAuto = highlightAuto; - this.fixMarkup = fixMarkup; - this.highlightBlock = highlightBlock; - this.initHighlighting = initHighlighting; - this.initHighlightingOnLoad = initHighlightingOnLoad; - - // Common regexps - this.IDENT_RE = '[a-zA-Z][a-zA-Z0-9_]*'; - this.UNDERSCORE_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_]*'; - this.NUMBER_RE = '\\b\\d+(\\.\\d+)?'; - this.C_NUMBER_RE = '\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)'; - this.RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~'; - - // Common modes - this.BACKSLASH_ESCAPE = { - begin: '\\\\.', relevance: 0 - }; - this.APOS_STRING_MODE = { - className: 'string', - begin: '\'', end: '\'', - illegal: '\\n', - contains: [this.BACKSLASH_ESCAPE], - relevance: 0 - }; - this.QUOTE_STRING_MODE = { - className: 'string', - begin: '"', end: '"', - illegal: '\\n', - contains: [this.BACKSLASH_ESCAPE], - relevance: 0 - }; - this.C_LINE_COMMENT_MODE = { - className: 'comment', - begin: '//', end: '$' - }; - this.C_BLOCK_COMMENT_MODE = { - className: 'comment', - begin: '/\\*', end: '\\*/' - }; - this.HASH_COMMENT_MODE = { - className: 'comment', - begin: '#', end: '$' - }; - this.NUMBER_MODE = { - className: 'number', - begin: this.NUMBER_RE, - relevance: 0 - }; - this.C_NUMBER_MODE = { - className: 'number', - begin: this.C_NUMBER_RE, - relevance: 0 - }; - - // Utility functions - this.inherit = function(parent, obj) { - var result = {} - for (var key in parent) - result[key] = parent[key]; - if (obj) - for (var key in obj) - result[key] = obj[key]; - return result; - } -}(); diff --git a/html/highlight.pack.js b/html/highlight.pack.js deleted file mode 100644 index 22b40e51..00000000 --- a/html/highlight.pack.js +++ /dev/null @@ -1 +0,0 @@ -var hljs=new function(){function m(p){return p.replace(/&/gm,"&").replace(/"}while(y.length||z.length){var v=u().splice(0,1)[0];w+=m(x.substr(r,v.offset-r));r=v.offset;if(v.event=="start"){w+=s(v.node);t.push(v.node)}else{if(v.event=="stop"){var q=t.length;do{q--;var p=t[q];w+=("")}while(p!=v.node);t.splice(q,1);while(q'+m(L[0])+""}else{N+=m(L[0])}P=O.lR.lastIndex;L=O.lR.exec(M)}N+=m(M.substr(P,M.length-P));return N}function K(r,M){if(M.sL&&d[M.sL]){var L=e(M.sL,r);t+=L.keyword_count;return L.value}else{return F(r,M)}}function I(M,r){var L=M.cN?'':"";if(M.rB){q+=L;M.buffer=""}else{if(M.eB){q+=m(r)+L;M.buffer=""}else{q+=L;M.buffer=r}}C.push(M);B+=M.r}function E(O,L,Q){var R=C[C.length-1];if(Q){q+=K(R.buffer+O,R);return false}var M=z(L,R);if(M){q+=K(R.buffer+O,R);I(M,L);return M.rB}var r=w(C.length-1,L);if(r){var N=R.cN?"":"";if(R.rE){q+=K(R.buffer+O,R)+N}else{if(R.eE){q+=K(R.buffer+O,R)+N+m(L)}else{q+=K(R.buffer+O+L,R)+N}}while(r>1){N=C[C.length-2].cN?"":"";q+=N;r--;C.length--}var P=C[C.length-1];C.length--;C[C.length-1].buffer="";if(P.starts){I(P.starts,"")}return R.rE}if(x(L,R)){throw"Illegal"}}var H=d[J];var C=[H.dM];var B=0;var t=0;var q="";try{var v=0;H.dM.buffer="";do{var y=s(D,v);var u=E(y[0],y[1],y[2]);v+=y[0].length;if(!u){v+=y[1].length}}while(!y[2]);if(C.length>1){throw"Illegal"}return{r:B,keyword_count:t,value:q}}catch(G){if(G=="Illegal"){return{r:0,keyword_count:0,value:m(D)}}else{throw G}}}function f(t){var r={keyword_count:0,r:0,value:m(t)};var q=r;for(var p in d){if(!d.hasOwnProperty(p)){continue}var s=e(p,t);s.language=p;if(s.keyword_count+s.r>q.keyword_count+q.r){q=s}if(s.keyword_count+s.r>r.keyword_count+r.r){q=r;r=s}}if(q.language){r.second_best=q}return r}function h(r,q,p){if(q){r=r.replace(/^((<[^>]+>|\t)+)/gm,function(t,w,v,u){return w.replace(/\t/g,q)})}if(p){r=r.replace(/\n/g,"
")}return r}function o(u,x,q){var y=g(u,q);var s=a(u);if(s=="no-highlight"){return}if(s){var w=e(s,y)}else{var w=f(y);s=w.language}var p=b(u);if(p.length){var r=document.createElement("pre");r.innerHTML=w.value;w.value=l(p,b(r),y)}w.value=h(w.value,x,q);var t=u.className;if(!t.match("(\\s|^)(language-)?"+s+"(\\s|$)")){t=t?(t+" "+s):s}if(/MSIE [678]/.test(navigator.userAgent)&&u.tagName=="CODE"&&u.parentNode.tagName=="PRE"){var r=u.parentNode;var v=document.createElement("div");v.innerHTML="
"+w.value+"
";u=v.firstChild.firstChild;v.firstChild.cN=r.cN;r.parentNode.replaceChild(v.firstChild,r)}else{u.innerHTML=w.value}u.className=t;u.result={language:s,kw:w.keyword_count,re:w.r};if(w.second_best){u.second_best={language:w.second_best.language,kw:w.second_best.keyword_count,re:w.second_best.r}}}function k(){if(k.called){return}k.called=true;var r=document.getElementsByTagName("pre");for(var p=0;p|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\.",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE],r:0};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE],r:0};this.CLCM={cN:"comment",b:"//",e:"$"};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:"number",b:this.CNR,r:0};this.inherit=function(p,s){var r={};for(var q in p){r[q]=p[q]}if(s){for(var q in s){r[q]=s[q]}}return r}}();hljs.LANGUAGES.bash=function(){var d={"true":1,"false":1};var b={cN:"variable",b:"\\$([a-zA-Z0-9_]+)\\b"};var a={cN:"variable",b:"\\$\\{(([^}])|(\\\\}))+\\}",c:[hljs.CNM]};var c={cN:"string",b:'"',e:'"',i:"\\n",c:[hljs.BE,b,a],r:0};var e={cN:"test_condition",b:"",e:"",c:[c,b,a,hljs.CNM],k:{literal:d},r:0};return{dM:{k:{keyword:{"if":1,then:1,"else":1,fi:1,"for":1,"break":1,"continue":1,"while":1,"in":1,"do":1,done:1,echo:1,exit:1,"return":1,set:1,declare:1},literal:d},c:[{cN:"shebang",b:"(#!\\/bin\\/bash)|(#!\\/bin\\/sh)",r:10},hljs.HCM,hljs.CNM,c,b,a,hljs.inherit(e,{b:"\\[ ",e:" \\]",r:0}),hljs.inherit(e,{b:"\\[\\[ ",e:" \\]\\]"})]}}}();hljs.LANGUAGES.erlang=function(){var g="[a-z'][a-zA-Z0-9_']*";var l="("+g+":"+g+"|"+g+")";var d={keyword:{after:1,and:1,andalso:10,band:1,begin:1,bnot:1,bor:1,bsl:1,bzr:1,bxor:1,"case":1,"catch":1,cond:1,div:1,end:1,fun:1,let:1,not:1,of:1,orelse:10,query:1,receive:1,rem:1,"try":1,when:1,xor:1},literal:{"false":1,"true":1}};var j={cN:"comment",b:"%",e:"$",r:0};var c={b:"fun\\s+"+g+"/\\d+"};var m={b:l+"\\(",e:"\\)",rB:true,r:0,c:[{cN:"function_name",b:l,r:0},{b:"\\(",e:"\\)",eW:true,rE:true,r:0}]};var f={cN:"tuple",b:"{",e:"}",r:0};var a={cN:"variable",b:"\\b_([A-Z][A-Za-z0-9_]*)?",r:0};var k={cN:"variable",b:"[A-Z][a-zA-Z0-9_]*",r:0};var h={b:"#",e:"}",i:".",r:0,rB:true,c:[{cN:"record_name",b:"#"+hljs.UIR,r:0},{b:"{",eW:true,r:0}]};var i={k:d,b:"(fun|receive|if|try|case)",e:"end"};i.c=[j,c,hljs.inherit(hljs.ASM,{cN:""}),i,m,hljs.QSM,hljs.CNM,f,a,k,h];var b=[j,c,i,m,hljs.QSM,hljs.CNM,f,a,k,h];m.c[1].c=b;f.c=b;h.c[1].c=b;var e={cN:"params",b:"\\(",e:"\\)",eW:true,c:b};return{dM:{k:d,i:"(",eW:true,c:b}]},j,{cN:"pp",b:"^-",e:"\\.",r:0,eE:true,rB:true,l:"-"+hljs.IR,k:{"-module":1,"-record":1,"-undef":1,"-export":1,"-ifdef":1,"-ifndef":1,"-author":1,"-copyright":1,"-doc":1,"-vsn":1,"-import":1,"-include":1,"-include_lib":1,"-compile":1,"-define":1,"-else":1,"-endif":1,"-file":1,"-behaviour":1,"-behavior":1},c:[e]},hljs.CNM,hljs.QSM,h,a,k,f]}}}();hljs.LANGUAGES.cs={dM:{k:{"abstract":1,as:1,base:1,bool:1,"break":1,"byte":1,"case":1,"catch":1,"char":1,checked:1,"class":1,"const":1,"continue":1,decimal:1,"default":1,delegate:1,"do":1,"do":1,"double":1,"else":1,"enum":1,event:1,explicit:1,extern:1,"false":1,"finally":1,fixed:1,"float":1,"for":1,foreach:1,"goto":1,"if":1,implicit:1,"in":1,"int":1,"interface":1,internal:1,is:1,lock:1,"long":1,namespace:1,"new":1,"null":1,object:1,operator:1,out:1,override:1,params:1,"private":1,"protected":1,"public":1,readonly:1,ref:1,"return":1,sbyte:1,sealed:1,"short":1,sizeof:1,stackalloc:1,"static":1,string:1,struct:1,"switch":1,"this":1,"throw":1,"true":1,"try":1,"typeof":1,uint:1,ulong:1,unchecked:1,unsafe:1,ushort:1,using:1,virtual:1,"volatile":1,"void":1,"while":1,ascending:1,descending:1,from:1,get:1,group:1,into:1,join:1,let:1,orderby:1,partial:1,select:1,set:1,value:1,"var":1,where:1,yield:1},c:[{cN:"comment",b:"///",e:"$",rB:true,c:[{cN:"xmlDocTag",b:"///|"},{cN:"xmlDocTag",b:""}]},hljs.CLCM,hljs.CBLCLM,{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},hljs.ASM,hljs.QSM,hljs.CNM]}};hljs.LANGUAGES.ruby=function(){var g="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var a="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var n={keyword:{and:1,"false":1,then:1,defined:1,module:1,"in":1,"return":1,redo:1,"if":1,BEGIN:1,retry:1,end:1,"for":1,"true":1,self:1,when:1,next:1,until:1,"do":1,begin:1,unless:1,END:1,rescue:1,nil:1,"else":1,"break":1,undef:1,not:1,"super":1,"class":1,"case":1,require:1,yield:1,alias:1,"while":1,ensure:1,elsif:1,or:1,def:1},keymethods:{__id__:1,__send__:1,abort:1,abs:1,"all?":1,allocate:1,ancestors:1,"any?":1,arity:1,assoc:1,at:1,at_exit:1,autoload:1,"autoload?":1,"between?":1,binding:1,binmode:1,"block_given?":1,call:1,callcc:1,caller:1,capitalize:1,"capitalize!":1,casecmp:1,"catch":1,ceil:1,center:1,chomp:1,"chomp!":1,chop:1,"chop!":1,chr:1,"class":1,class_eval:1,"class_variable_defined?":1,class_variables:1,clear:1,clone:1,close:1,close_read:1,close_write:1,"closed?":1,coerce:1,collect:1,"collect!":1,compact:1,"compact!":1,concat:1,"const_defined?":1,const_get:1,const_missing:1,const_set:1,constants:1,count:1,crypt:1,"default":1,default_proc:1,"delete":1,"delete!":1,delete_at:1,delete_if:1,detect:1,display:1,div:1,divmod:1,downcase:1,"downcase!":1,downto:1,dump:1,dup:1,each:1,each_byte:1,each_index:1,each_key:1,each_line:1,each_pair:1,each_value:1,each_with_index:1,"empty?":1,entries:1,eof:1,"eof?":1,"eql?":1,"equal?":1,"eval":1,exec:1,exit:1,"exit!":1,extend:1,fail:1,fcntl:1,fetch:1,fileno:1,fill:1,find:1,find_all:1,first:1,flatten:1,"flatten!":1,floor:1,flush:1,for_fd:1,foreach:1,fork:1,format:1,freeze:1,"frozen?":1,fsync:1,getc:1,gets:1,global_variables:1,grep:1,gsub:1,"gsub!":1,"has_key?":1,"has_value?":1,hash:1,hex:1,id:1,include:1,"include?":1,included_modules:1,index:1,indexes:1,indices:1,induced_from:1,inject:1,insert:1,inspect:1,instance_eval:1,instance_method:1,instance_methods:1,"instance_of?":1,"instance_variable_defined?":1,instance_variable_get:1,instance_variable_set:1,instance_variables:1,"integer?":1,intern:1,invert:1,ioctl:1,"is_a?":1,isatty:1,"iterator?":1,join:1,"key?":1,keys:1,"kind_of?":1,lambda:1,last:1,length:1,lineno:1,ljust:1,load:1,local_variables:1,loop:1,lstrip:1,"lstrip!":1,map:1,"map!":1,match:1,max:1,"member?":1,merge:1,"merge!":1,method:1,"method_defined?":1,method_missing:1,methods:1,min:1,module_eval:1,modulo:1,name:1,nesting:1,"new":1,next:1,"next!":1,"nil?":1,nitems:1,"nonzero?":1,object_id:1,oct:1,open:1,pack:1,partition:1,pid:1,pipe:1,pop:1,popen:1,pos:1,prec:1,prec_f:1,prec_i:1,print:1,printf:1,private_class_method:1,private_instance_methods:1,"private_method_defined?":1,private_methods:1,proc:1,protected_instance_methods:1,"protected_method_defined?":1,protected_methods:1,public_class_method:1,public_instance_methods:1,"public_method_defined?":1,public_methods:1,push:1,putc:1,puts:1,quo:1,raise:1,rand:1,rassoc:1,read:1,read_nonblock:1,readchar:1,readline:1,readlines:1,readpartial:1,rehash:1,reject:1,"reject!":1,remainder:1,reopen:1,replace:1,require:1,"respond_to?":1,reverse:1,"reverse!":1,reverse_each:1,rewind:1,rindex:1,rjust:1,round:1,rstrip:1,"rstrip!":1,scan:1,seek:1,select:1,send:1,set_trace_func:1,shift:1,singleton_method_added:1,singleton_methods:1,size:1,sleep:1,slice:1,"slice!":1,sort:1,"sort!":1,sort_by:1,split:1,sprintf:1,squeeze:1,"squeeze!":1,srand:1,stat:1,step:1,store:1,strip:1,"strip!":1,sub:1,"sub!":1,succ:1,"succ!":1,sum:1,superclass:1,swapcase:1,"swapcase!":1,sync:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,taint:1,"tainted?":1,tell:1,test:1,"throw":1,times:1,to_a:1,to_ary:1,to_f:1,to_hash:1,to_i:1,to_int:1,to_io:1,to_proc:1,to_s:1,to_str:1,to_sym:1,tr:1,"tr!":1,tr_s:1,"tr_s!":1,trace_var:1,transpose:1,trap:1,truncate:1,"tty?":1,type:1,ungetc:1,uniq:1,"uniq!":1,unpack:1,unshift:1,untaint:1,untrace_var:1,upcase:1,"upcase!":1,update:1,upto:1,"value?":1,values:1,values_at:1,warn:1,write:1,write_nonblock:1,"zero?":1,zip:1}};var h={cN:"yardoctag",b:"@[A-Za-z]+"};var d={cN:"comment",b:"#",e:"$",c:[h]};var c={cN:"comment",b:"^\\=begin",e:"^\\=end",c:[h],r:10};var b={cN:"comment",b:"^__END__",e:"\\n$"};var u={cN:"subst",b:"#\\{",e:"}",l:g,k:n};var p=[hljs.BE,u];var s={cN:"string",b:"'",e:"'",c:p,r:0};var r={cN:"string",b:'"',e:'"',c:p,r:0};var q={cN:"string",b:"%[qw]?\\(",e:"\\)",c:p,r:10};var o={cN:"string",b:"%[qw]?\\[",e:"\\]",c:p,r:10};var m={cN:"string",b:"%[qw]?{",e:"}",c:p,r:10};var l={cN:"string",b:"%[qw]?<",e:">",c:p,r:10};var k={cN:"string",b:"%[qw]?/",e:"/",c:p,r:10};var j={cN:"string",b:"%[qw]?%",e:"%",c:p,r:10};var i={cN:"string",b:"%[qw]?-",e:"-",c:p,r:10};var t={cN:"string",b:"%[qw]?\\|",e:"\\|",c:p,r:10};var e={cN:"function",b:"\\bdef\\s+",e:" |$|;",l:g,k:n,c:[{cN:"title",b:a,l:g,k:n},{cN:"params",b:"\\(",e:"\\)",l:g,k:n},d,c,b]};var f={cN:"identifier",b:g,l:g,k:n,r:0};var v=[d,c,b,s,r,q,o,m,l,k,j,i,t,{cN:"class",b:"\\b(class|module)\\b",e:"$|;",k:{"class":1,module:1},c:[{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",r:0},{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+hljs.IR+"::)?"+hljs.IR}]},d,c,b]},e,{cN:"constant",b:"(::)?([A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:[s,r,q,o,m,l,k,j,i,t,f],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"number",b:"\\?\\w"},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},f,{b:"("+hljs.RSR+")\\s*",c:[d,c,b,{cN:"regexp",b:"/",e:"/[a-z]*",i:"\\n",c:[hljs.BE]}],r:0}];u.c=v;e.c[1].c=v;return{dM:{l:g,k:n,c:v}}}();hljs.LANGUAGES.diff={cI:true,dM:{c:[{cN:"chunk",b:"^\\@\\@ +\\-\\d+,\\d+ +\\+\\d+,\\d+ +\\@\\@$",r:10},{cN:"chunk",b:"^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$",r:10},{cN:"chunk",b:"^\\-\\-\\- +\\d+,\\d+ +\\-\\-\\-\\-$",r:10},{cN:"header",b:"Index: ",e:"$"},{cN:"header",b:"=====",e:"=====$"},{cN:"header",b:"^\\-\\-\\-",e:"$"},{cN:"header",b:"^\\*{3} ",e:"$"},{cN:"header",b:"^\\+\\+\\+",e:"$"},{cN:"header",b:"\\*{5}",e:"\\*{5}$"},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"change",b:"^\\!",e:"$"}]}};hljs.LANGUAGES.javascript={dM:{k:{keyword:{"in":1,"if":1,"for":1,"while":1,"finally":1,"var":1,"new":1,"function":1,"do":1,"return":1,"void":1,"else":1,"break":1,"catch":1,"instanceof":1,"with":1,"throw":1,"case":1,"default":1,"try":1,"this":1,"switch":1,"continue":1,"typeof":1,"delete":1},literal:{"true":1,"false":1,"null":1}},c:[hljs.ASM,hljs.QSM,hljs.CLCM,hljs.CBLCLM,hljs.CNM,{b:"("+hljs.RSR+"|case|return|throw)\\s*",k:{"return":1,"throw":1,"case":1},c:[hljs.CLCM,hljs.CBLCLM,{cN:"regexp",b:"/",e:"/[gim]*",c:[{b:"\\\\/"}]}],r:0},{cN:"function",b:"\\bfunction\\b",e:"{",k:{"function":1},c:[{cN:"title",b:"[A-Za-z$_][0-9A-Za-z$_]*"},{cN:"params",b:"\\(",e:"\\)",c:[hljs.ASM,hljs.QSM,hljs.CLCM,hljs.CBLCLM]}]}]}};hljs.LANGUAGES.lua=function(){var b="\\[=*\\[";var e="\\]=*\\]";var a={b:b,e:e};a.c=[a];var d={cN:"comment",b:"--(?!"+b+")",e:"$"};var c={cN:"comment",b:"--"+b,e:e,c:[a],r:10};return{dM:{l:hljs.UIR,k:{keyword:{and:1,"break":1,"do":1,"else":1,elseif:1,end:1,"false":1,"for":1,"if":1,"in":1,local:1,nil:1,not:1,or:1,repeat:1,"return":1,then:1,"true":1,until:1,"while":1},built_in:{_G:1,_VERSION:1,assert:1,collectgarbage:1,dofile:1,error:1,getfenv:1,getmetatable:1,ipairs:1,load:1,loadfile:1,loadstring:1,module:1,next:1,pairs:1,pcall:1,print:1,rawequal:1,rawget:1,rawset:1,require:1,select:1,setfenv:1,setmetatable:1,tonumber:1,tostring:1,type:1,unpack:1,xpcall:1,coroutine:1,debug:1,io:1,math:1,os:1,"package":1,string:1,table:1}},c:[d,c,{cN:"function",b:"\\bfunction\\b",e:"\\)",k:{"function":1},c:[{cN:"title",b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"},{cN:"params",b:"\\(",eW:true,c:[d,c]},d,c]},hljs.CNM,hljs.ASM,hljs.QSM,{cN:"string",b:b,e:e,c:[a],r:10}]}}}();hljs.LANGUAGES.css=function(){var a={cN:"function",b:hljs.IR+"\\(",e:"\\)",c:[{eW:true,eE:true,c:[hljs.NM,hljs.ASM,hljs.QSM]}]};return{cI:true,dM:{i:"[=/|']",c:[hljs.CBLCLM,{cN:"id",b:"\\#[A-Za-z0-9_-]+"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"pseudo",b:":(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\\"\\']+"},{cN:"at_rule",b:"@(font-face|page)",l:"[a-z-]+",k:{"font-face":1,page:1}},{cN:"at_rule",b:"@",e:"[{;]",eE:true,k:{"import":1,page:1,media:1,charset:1},c:[a,hljs.ASM,hljs.QSM,hljs.NM]},{cN:"tag",b:hljs.IR,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[hljs.CBLCLM,{cN:"rule",b:"[^\\s]",rB:true,e:";",eW:true,c:[{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:true,i:"[^\\s]",starts:{cN:"value",eW:true,eE:true,c:[a,hljs.NM,hljs.QSM,hljs.ASM,hljs.CBLCLM,{cN:"hexcolor",b:"\\#[0-9A-F]+"},{cN:"important",b:"!important"}]}}]}]}]}}}();hljs.LANGUAGES.xml=function(){var b="[A-Za-z0-9\\._:-]+";var a={eW:true,c:[{cN:"attribute",b:b,r:0},{b:'="',rB:true,e:'"',c:[{cN:"value",b:'"',eW:true}]},{b:"='",rB:true,e:"'",c:[{cN:"value",b:"'",eW:true}]},{b:"=",c:[{cN:"value",b:"[^\\s/>]+"}]}]};return{cI:true,dM:{c:[{cN:"pi",b:"<\\?",e:"\\?>",r:10},{cN:"doctype",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"",k:{title:{style:1}},c:[a],starts:{cN:"css",e:"",rE:true,sL:"css"}},{cN:"tag",b:"",k:{title:{script:1}},c:[a],starts:{cN:"javascript",e:"<\/script>",rE:true,sL:"javascript"}},{cN:"vbscript",b:"<%",e:"%>",sL:"vbscript"},{cN:"tag",b:"",c:[{cN:"title",b:"[^ />]+"},a]}]}}}();hljs.LANGUAGES.lisp=function(){var m="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#]*";var n="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s)(\\+|\\-)?\\d+)?";var c={cN:"literal",b:"\\b(t{1}|nil)\\b"};var o={cN:"number",b:n};var p={cN:"number",b:"#b[0-1]+(/[0-1]+)?"};var q={cN:"number",b:"#o[0-7]+(/[0-7]+)?"};var a={cN:"number",b:"#x[0-9a-f]+(/[0-9a-f]+)?"};var b={cN:"number",b:"#c\\("+n+" +"+n,e:"\\)"};var e={cN:"string",b:'"',e:'"',c:[hljs.BE],r:0};var l={cN:"comment",b:";",e:"$"};var d={cN:"variable",b:"\\*",e:"\\*"};var k={cN:"keyword",b:"[:&]"+m};var i={b:"\\(",e:"\\)"};i.c=[i,c,o,p,q,a,b,e];var g={cN:"quoted",b:"['`]\\(",e:"\\)",c:[o,p,q,a,b,e,d,k,i]};var f={cN:"quoted",b:"\\(quote ",e:"\\)",k:{title:{quote:1}},c:[o,p,q,a,b,e,d,k,i]};var j={cN:"list",b:"\\(",e:"\\)"};var h={cN:"body",eW:true,eE:true};j.c=[{cN:"title",b:m},h];h.c=[g,f,j,c,o,p,q,a,b,e,l,d,k];return{cI:true,dM:{i:"[^\\s]",c:[c,o,p,q,a,b,e,l,g,f,j]}}}();hljs.LANGUAGES.profile={dM:{c:[hljs.CNM,{cN:"builtin",b:"{",e:"}$",eB:true,eE:true,c:[hljs.ASM,hljs.QSM],r:0},{cN:"filename",b:"(/w|[a-zA-Z_][\da-zA-Z_]+\\.[\da-zA-Z_]{1,3})",e:":",eE:true},{cN:"header",b:"(ncalls|tottime|cumtime)",e:"$",k:{ncalls:1,tottime:10,cumtime:10,filename:1},r:10},{cN:"summary",b:"function calls",e:"$",c:[hljs.CNM],r:10},hljs.ASM,hljs.QSM,{cN:"function",b:"\\(",e:"\\)$",c:[{cN:"title",b:hljs.UIR,r:0}],r:0}]}};hljs.LANGUAGES.java={dM:{k:{"false":1,"synchronized":1,"int":1,"abstract":1,"float":1,"private":1,"char":1,"interface":1,"boolean":1,"static":1,"null":1,"if":1,"const":1,"for":1,"true":1,"while":1,"long":1,"throw":1,strictfp:1,"finally":1,"protected":1,"extends":1,"import":1,"native":1,"final":1,"implements":1,"return":1,"void":1,"enum":1,"else":1,"break":1,"transient":1,"new":1,"catch":1,"instanceof":1,"byte":1,"super":1,"class":1,"volatile":1,"case":1,assert:1,"short":1,"package":1,"default":1,"double":1,"public":1,"try":1,"this":1,"switch":1,"continue":1,"throws":1},c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:[{cN:"javadoctag",b:"@[A-Za-z]+"}],r:10},hljs.CLCM,hljs.CBLCLM,hljs.ASM,hljs.QSM,{cN:"class",b:"(class |interface )",e:"{",k:{"class":1,"interface":1},i:":",c:[{b:"(implements|extends)",k:{"extends":1,"implements":1},r:10},{cN:"title",b:hljs.UIR}]},hljs.CNM,{cN:"annotation",b:"@[A-Za-z]+"}]}};hljs.LANGUAGES.php={cI:true,dM:{k:{and:1,include_once:1,list:1,"abstract":1,global:1,"private":1,echo:1,"interface":1,as:1,"static":1,endswitch:1,array:1,"null":1,"if":1,endwhile:1,or:1,"const":1,"for":1,endforeach:1,self:1,"var":1,"while":1,isset:1,"public":1,"protected":1,exit:1,foreach:1,"throw":1,elseif:1,"extends":1,include:1,__FILE__:1,empty:1,require_once:1,"function":1,"do":1,xor:1,"return":1,"implements":1,parent:1,clone:1,use:1,__CLASS__:1,__LINE__:1,"else":1,"break":1,print:1,"eval":1,"new":1,"catch":1,__METHOD__:1,"class":1,"case":1,exception:1,php_user_filter:1,"default":1,die:1,require:1,__FUNCTION__:1,enddeclare:1,"final":1,"try":1,"this":1,"switch":1,"continue":1,endfor:1,endif:1,declare:1,unset:1,"true":1,"false":1,namespace:1},c:[hljs.CLCM,hljs.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+",r:10}]},hljs.CNM,hljs.inherit(hljs.ASM,{i:null}),hljs.inherit(hljs.QSM,{i:null}),{cN:"variable",b:"\\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"},{cN:"preprocessor",b:"<\\?php",r:10},{cN:"preprocessor",b:"\\?>"}]}};hljs.LANGUAGES.haskell=function(){var a={cN:"label",b:"\\b[A-Z][\\w']*",r:0};var b={cN:"container",b:"\\(",e:"\\)",c:[{cN:"label",b:"\\b[A-Z][\\w\\(\\)\\.']*"},{cN:"title",b:"[_a-z][\\w']*"}]};return{dM:{k:{keyword:{let:1,"in":1,"if":1,then:1,"else":1,"case":1,of:1,where:1,"do":1,module:1,"import":1,hiding:1,qualified:1,type:1,data:1,newtype:1,deriving:1,"class":1,instance:1,"null":1,not:1,as:1}},c:[{cN:"comment",b:"--",e:"$"},{cN:"comment",b:"{-",e:"-}"},{cN:"string",b:"\\s+'",e:"'",c:[hljs.BE],r:0},hljs.QSM,{cN:"import",b:"\\bimport",e:"$",k:{"import":1,qualified:1,as:1,hiding:1},c:[b]},{cN:"module",b:"\\bmodule",e:"where",k:{module:1,where:1},c:[b]},{cN:"class",b:"\\b(class|instance|data|(new)?type)",e:"(where|$)",k:{"class":1,where:1,instance:1,data:1,type:1,newtype:1,deriving:1},c:[a]},hljs.CNM,{cN:"shebang",b:"#!\\/usr\\/bin\\/env runhaskell",e:"$"},a,{cN:"title",b:"^[_a-z][\\w']*"}]}}}();hljs.LANGUAGES.python=function(){var c={cN:"string",b:"(u|b)?r?'''",e:"'''",r:10};var b={cN:"string",b:'(u|b)?r?"""',e:'"""',r:10};var a={cN:"string",b:"(u|r|ur|b|br)'",e:"'",c:[hljs.BE],r:10};var f={cN:"string",b:'(u|r|ur|b|br)"',e:'"',c:[hljs.BE],r:10};var d={cN:"title",b:hljs.UIR};var e={cN:"params",b:"\\(",e:"\\)",c:[c,b,a,f,hljs.ASM,hljs.QSM]};return{dM:{k:{keyword:{and:1,elif:1,is:1,global:1,as:1,"in":1,"if":1,from:1,raise:1,"for":1,except:1,"finally":1,print:1,"import":1,pass:1,"return":1,exec:1,"else":1,"break":1,not:1,"with":1,"class":1,assert:1,yield:1,"try":1,"while":1,"continue":1,del:1,or:1,def:1,lambda:1,nonlocal:10},built_in:{None:1,True:1,False:1,Ellipsis:1,NotImplemented:1}},i:"(|\\?)",c:[hljs.HCM,c,b,a,f,hljs.ASM,hljs.QSM,{cN:"function",b:"\\bdef ",e:":",i:"$",k:{def:1},c:[d,e],r:10},{cN:"class",b:"\\bclass ",e:":",i:"[${]",k:{"class":1},c:[d,e],r:10},hljs.CNM,{cN:"decorator",b:"@",e:"$"}]}}}();hljs.LANGUAGES.smalltalk=function(){var b="[a-z][a-zA-Z0-9_]*";var c={cN:"char",b:"\\$.{1}"};var a={cN:"symbol",b:"#"+hljs.UIR};return{dM:{k:{self:1,"super":1,nil:1,"true":1,"false":1,thisContext:1},c:[{cN:"comment",b:'"',e:'"',r:0},hljs.ASM,{cN:"class",b:"\\b[A-Z][A-Za-z0-9_]*",r:0},{cN:"method",b:b+":"},hljs.CNM,a,c,{cN:"localvars",b:"\\|\\s*(("+b+")\\s*)+\\|"},{cN:"array",b:"\\#\\(",e:"\\)",c:[hljs.ASM,c,hljs.CNM,a]}]}}}();hljs.LANGUAGES.tex=function(){var c={cN:"command",b:"\\\\[a-zA-Zа-яА-я]+[\\*]?",r:10};var b={cN:"command",b:"\\\\[^a-zA-Zа-яА-я0-9]",r:0};var a={cN:"special",b:"[{}\\[\\]\\&#~]",r:0};return{dM:{c:[{b:"\\\\[a-zA-Zа-яА-я]+[\\*]? *= *-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?",rB:true,c:[c,b,{cN:"number",b:" *=",e:"-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?",eB:true}],r:10},c,b,a,{cN:"formula",b:"\\$\\$",e:"\\$\\$",c:[c,b,a],r:0},{cN:"formula",b:"\\$",e:"\\$",c:[c,b,a],r:0},{cN:"comment",b:"%",e:"$",r:0}]}}}();hljs.LANGUAGES.sql={cI:true,dM:{i:"[^\\s]",c:[{cN:"operator",b:"(begin|start|commit|rollback|savepoint|lock|alter|create|drop|rename|call|delete|do|handler|insert|load|replace|select|truncate|update|set|show|pragma)\\b",e:";|$",k:{keyword:{all:1,partial:1,global:1,month:1,current_timestamp:1,using:1,go:1,revoke:1,smallint:1,indicator:1,"end-exec":1,disconnect:1,zone:1,"with":1,character:1,assertion:1,to:1,add:1,current_user:1,usage:1,input:1,local:1,alter:1,match:1,collate:1,real:1,then:1,rollback:1,get:1,read:1,timestamp:1,session_user:1,not:1,integer:1,bit:1,unique:1,day:1,minute:1,desc:1,insert:1,execute:1,like:1,ilike:2,level:1,decimal:1,drop:1,"continue":1,isolation:1,found:1,where:1,constraints:1,domain:1,right:1,national:1,some:1,module:1,transaction:1,relative:1,second:1,connect:1,escape:1,close:1,system_user:1,"for":1,deferred:1,section:1,cast:1,current:1,sqlstate:1,allocate:1,intersect:1,deallocate:1,numeric:1,"public":1,preserve:1,full:1,"goto":1,initially:1,asc:1,no:1,key:1,output:1,collation:1,group:1,by:1,union:1,session:1,both:1,last:1,language:1,constraint:1,column:1,of:1,space:1,foreign:1,deferrable:1,prior:1,connection:1,unknown:1,action:1,commit:1,view:1,or:1,first:1,into:1,"float":1,year:1,primary:1,cascaded:1,except:1,restrict:1,set:1,references:1,names:1,table:1,outer:1,open:1,select:1,size:1,are:1,rows:1,from:1,prepare:1,distinct:1,leading:1,create:1,only:1,next:1,inner:1,authorization:1,schema:1,corresponding:1,option:1,declare:1,precision:1,immediate:1,"else":1,timezone_minute:1,external:1,varying:1,translation:1,"true":1,"case":1,exception:1,join:1,hour:1,"default":1,"double":1,scroll:1,value:1,cursor:1,descriptor:1,values:1,dec:1,fetch:1,procedure:1,"delete":1,and:1,"false":1,"int":1,is:1,describe:1,"char":1,as:1,at:1,"in":1,varchar:1,"null":1,trailing:1,any:1,absolute:1,current_time:1,end:1,grant:1,privileges:1,when:1,cross:1,check:1,write:1,current_date:1,pad:1,begin:1,temporary:1,exec:1,time:1,update:1,catalog:1,user:1,sql:1,date:1,on:1,identity:1,timezone_hour:1,natural:1,whenever:1,interval:1,work:1,order:1,cascade:1,diagnostics:1,nchar:1,having:1,left:1,call:1,"do":1,handler:1,load:1,replace:1,truncate:1,start:1,lock:1,show:1,pragma:1},aggregate:{count:1,sum:1,min:1,max:1,avg:1}},c:[{cN:"string",b:"'",e:"'",c:[hljs.BE,{b:"''"}],r:0},{cN:"string",b:'"',e:'"',c:[hljs.BE,{b:'""'}],r:0},{cN:"string",b:"`",e:"`",c:[hljs.BE]},hljs.CNM,{b:"\\n"}]},hljs.CBLCLM,{cN:"comment",b:"--",e:"$"}]}};hljs.LANGUAGES.ini={cI:true,dM:{i:"[^\\s]",c:[{cN:"comment",b:";",e:"$"},{cN:"title",b:"^\\[",e:"\\]"},{cN:"setting",b:"^[a-z0-9_\\[\\]]+[ \\t]*=[ \\t]*",e:"$",c:[{cN:"value",eW:true,k:{on:1,off:1,"true":1,"false":1,yes:1,no:1},c:[hljs.QSM,hljs.NM]}]}]}};hljs.LANGUAGES.perl=function(){var c={getpwent:1,getservent:1,quotemeta:1,msgrcv:1,scalar:1,kill:1,dbmclose:1,undef:1,lc:1,ma:1,syswrite:1,tr:1,send:1,umask:1,sysopen:1,shmwrite:1,vec:1,qx:1,utime:1,local:1,oct:1,semctl:1,localtime:1,readpipe:1,"do":1,"return":1,format:1,read:1,sprintf:1,dbmopen:1,pop:1,getpgrp:1,not:1,getpwnam:1,rewinddir:1,qq:1,fileno:1,qw:1,endprotoent:1,wait:1,sethostent:1,bless:1,s:1,opendir:1,"continue":1,each:1,sleep:1,endgrent:1,shutdown:1,dump:1,chomp:1,connect:1,getsockname:1,die:1,socketpair:1,close:1,flock:1,exists:1,index:1,shmget:1,sub:1,"for":1,endpwent:1,redo:1,lstat:1,msgctl:1,setpgrp:1,abs:1,exit:1,select:1,print:1,ref:1,gethostbyaddr:1,unshift:1,fcntl:1,syscall:1,"goto":1,getnetbyaddr:1,join:1,gmtime:1,symlink:1,semget:1,splice:1,x:1,getpeername:1,recv:1,log:1,setsockopt:1,cos:1,last:1,reverse:1,gethostbyname:1,getgrnam:1,study:1,formline:1,endhostent:1,times:1,chop:1,length:1,gethostent:1,getnetent:1,pack:1,getprotoent:1,getservbyname:1,rand:1,mkdir:1,pos:1,chmod:1,y:1,substr:1,endnetent:1,printf:1,next:1,open:1,msgsnd:1,readdir:1,use:1,unlink:1,getsockopt:1,getpriority:1,rindex:1,wantarray:1,hex:1,system:1,getservbyport:1,endservent:1,"int":1,chr:1,untie:1,rmdir:1,prototype:1,tell:1,listen:1,fork:1,shmread:1,ucfirst:1,setprotoent:1,"else":1,sysseek:1,link:1,getgrgid:1,shmctl:1,waitpid:1,unpack:1,getnetbyname:1,reset:1,chdir:1,grep:1,split:1,require:1,caller:1,lcfirst:1,until:1,warn:1,"while":1,values:1,shift:1,telldir:1,getpwuid:1,my:1,getprotobynumber:1,"delete":1,and:1,sort:1,uc:1,defined:1,srand:1,accept:1,"package":1,seekdir:1,getprotobyname:1,semop:1,our:1,rename:1,seek:1,"if":1,q:1,chroot:1,sysread:1,setpwent:1,no:1,crypt:1,getc:1,chown:1,sqrt:1,write:1,setnetent:1,setpriority:1,foreach:1,tie:1,sin:1,msgget:1,map:1,stat:1,getlogin:1,unless:1,elsif:1,truncate:1,exec:1,keys:1,glob:1,tied:1,closedir:1,ioctl:1,socket:1,readlink:1,"eval":1,xor:1,readline:1,binmode:1,setservent:1,eof:1,ord:1,bind:1,alarm:1,pipe:1,atan2:1,getgrent:1,exp:1,time:1,push:1,setgrent:1,gt:1,lt:1,or:1,ne:1,m:1};var d={cN:"subst",b:"[$@]\\{",e:"}",k:c,r:10};var b={cN:"variable",b:"\\$\\d"};var a={cN:"variable",b:"[\\$\\%\\@\\*](\\^\\w\\b|#\\w+(\\:\\:\\w+)*|[^\\s\\w{]|{\\w+}|\\w+(\\:\\:\\w*)*)"};var g=[hljs.BE,d,b,a];var f={b:"->",c:[{b:hljs.IR},{b:"{",e:"}"}]};var e=[b,a,hljs.HCM,{cN:"comment",b:"^(__END__|__DATA__)",e:"\\n$",r:5},f,{cN:"string",b:"q[qwxr]?\\s*\\(",e:"\\)",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\[",e:"\\]",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\{",e:"\\}",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\|",e:"\\|",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\<",e:"\\>",c:g,r:5},{cN:"string",b:"qw\\s+q",e:"q",c:g,r:5},{cN:"string",b:"'",e:"'",c:[hljs.BE],r:0},{cN:"string",b:'"',e:'"',c:g,r:0},{cN:"string",b:"`",e:"`",c:[hljs.BE]},{cN:"string",b:"{\\w+}",r:0},{cN:"string",b:"-?\\w+\\s*\\=\\>",r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[hljs.BE],r:0},{cN:"sub",b:"\\bsub\\b",e:"(\\s*\\(.*?\\))?[;{]",k:{sub:1},r:5},{cN:"operator",b:"-\\w\\b",r:0},{cN:"pod",b:"\\=\\w",e:"\\=cut"}];d.c=e;f.c[1].c=e;return{dM:{k:c,c:e}}}();hljs.LANGUAGES.scala=function(){var a={cN:"annotation",b:"@[A-Za-z]+"};var b={cN:"string",b:'u?r?"""',e:'"""',r:10};return{dM:{k:{type:1,yield:1,lazy:1,override:1,def:1,"with":1,val:1,"var":1,"false":1,"true":1,sealed:1,"abstract":1,"private":1,trait:1,object:1,"null":1,"if":1,"for":1,"while":1,"throw":1,"finally":1,"protected":1,"extends":1,"import":1,"final":1,"return":1,"else":1,"break":1,"new":1,"catch":1,"super":1,"class":1,"case":1,"package":1,"default":1,"try":1,"this":1,match:1,"continue":1,"throws":1},c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:[{cN:"javadoctag",b:"@[A-Za-z]+"}],r:10},hljs.CLCM,hljs.CBLCLM,hljs.ASM,hljs.QSM,b,{cN:"class",b:"((case )?class |object |trait )",e:"({|$)",i:":",k:{"case":1,"class":1,trait:1,object:1},c:[{b:"(extends|with)",k:{"extends":1,"with":1},r:10},{cN:"title",b:hljs.UIR},{cN:"params",b:"\\(",e:"\\)",c:[hljs.ASM,hljs.QSM,b,a]}]},hljs.CNM,a]}}}();hljs.LANGUAGES.cmake={cI:true,dM:{k:{add_custom_command:2,add_custom_target:2,add_definitions:2,add_dependencies:2,add_executable:2,add_library:2,add_subdirectory:2,add_executable:2,add_library:2,add_subdirectory:2,add_test:2,aux_source_directory:2,"break":1,build_command:2,cmake_minimum_required:3,cmake_policy:3,configure_file:1,create_test_sourcelist:1,define_property:1,"else":1,elseif:1,enable_language:2,enable_testing:2,endforeach:1,endfunction:1,endif:1,endmacro:1,endwhile:1,execute_process:2,"export":1,find_file:1,find_library:2,find_package:2,find_path:1,find_program:1,fltk_wrap_ui:2,foreach:1,"function":1,get_cmake_property:3,get_directory_property:1,get_filename_component:1,get_property:1,get_source_file_property:1,get_target_property:1,get_test_property:1,"if":1,include:1,include_directories:2,include_external_msproject:1,include_regular_expression:2,install:1,link_directories:1,load_cache:1,load_command:1,macro:1,mark_as_advanced:1,message:1,option:1,output_required_files:1,project:1,qt_wrap_cpp:2,qt_wrap_ui:2,remove_definitions:2,"return":1,separate_arguments:1,set:1,set_directory_properties:1,set_property:1,set_source_files_properties:1,set_target_properties:1,set_tests_properties:1,site_name:1,source_group:1,string:1,target_link_libraries:2,try_compile:2,try_run:2,unset:1,variable_watch:2,"while":1,build_name:1,exec_program:1,export_library_dependencies:1,install_files:1,install_programs:1,install_targets:1,link_libraries:1,make_directory:1,remove:1,subdir_depends:1,subdirs:1,use_mangled_mesa:1,utility_source:1,variable_requires:1,write_file:1},c:[{cN:"envvar",b:"\\${",e:"}"},hljs.HCM,hljs.QSM,hljs.NM]}};hljs.LANGUAGES.objectivec=function(){var a={keyword:{"false":1,"int":1,"float":1,"while":1,"private":1,"char":1,"catch":1,"export":1,sizeof:2,typedef:2,"const":1,struct:1,"for":1,union:1,unsigned:1,"long":1,"volatile":2,"static":1,"protected":1,bool:1,mutable:1,"if":1,"public":1,"do":1,"return":1,"goto":1,"void":2,"enum":1,"else":1,"break":1,extern:1,"true":1,"class":1,asm:1,"case":1,"short":1,"default":1,"double":1,"throw":1,register:1,explicit:1,signed:1,typename:1,"try":1,"this":1,"switch":1,"continue":1,wchar_t:1,inline:1,readonly:1,assign:1,property:1,protocol:10,self:1,"synchronized":1,end:1,synthesize:50,id:1,optional:1,required:1,implementation:10,nonatomic:1,"interface":1,"super":1,unichar:1,"finally":2,dynamic:2,nil:1},built_in:{YES:5,NO:5,NULL:1,IBOutlet:50,IBAction:50,NSString:50,NSDictionary:50,CGRect:50,CGPoint:50,NSRange:50,release:1,retain:1,autorelease:50,UIButton:50,UILabel:50,UITextView:50,UIWebView:50,MKMapView:50,UISegmentedControl:50,NSObject:50,UITableViewDelegate:50,UITableViewDataSource:50,NSThread:50,UIActivityIndicator:50,UITabbar:50,UIToolBar:50,UIBarButtonItem:50,UIImageView:50,NSAutoreleasePool:50,UITableView:50,BOOL:1,NSInteger:20,CGFloat:20,NSException:50,NSLog:50,NSMutableString:50,NSMutableArray:50,NSMutableDictionary:50,NSURL:50}};return{dM:{k:a,i:""}]},{cN:"preprocessor",b:"#",e:"$"},{cN:"class",b:"interface|class|protocol|implementation",e:"({|$)",k:{"interface":1,"class":1,protocol:5,implementation:5},c:[{cN:"id",b:hljs.UIR}]}]}}}();hljs.LANGUAGES.erlang_repl={dM:{k:{special_functions:{spawn:10,spawn_link:10,self:2},reserved:{after:1,and:1,andalso:5,band:1,begin:1,bnot:1,bor:1,bsl:1,bsr:1,bxor:1,"case":1,"catch":0,cond:1,div:1,end:1,fun:0,"if":0,let:1,not:0,of:1,or:1,orelse:5,query:1,receive:0,rem:1,"try":0,when:1,xor:1}},c:[{cN:"input_number",b:"^[0-9]+> ",r:10},{cN:"comment",b:"%",e:"$"},hljs.NM,hljs.ASM,hljs.QSM,{cN:"constant",b:"\\?(::)?([A-Z]\\w*(::)?)+"},{cN:"arrow",b:"->"},{cN:"ok",b:"ok"},{cN:"exclamation_mark",b:"!"},{cN:"function_or_atom",b:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",r:0},{cN:"variable",b:"[A-Z][a-zA-Z0-9_']*",r:0}]}};hljs.LANGUAGES.django=function(){function c(f,e){return(e==undefined||(!f.cN&&e.cN=="tag")||f.cN=="value")}function d(j,e){var h={};for(var g in j){if(g!="contains"){h[g]=j[g]}var k=[];for(var f=0;j.c&&f"},hljs.QSM]}}}();hljs.LANGUAGES.cpp=function(){var b={keyword:{"false":1,"int":1,"float":1,"while":1,"private":1,"char":1,"catch":1,"export":1,virtual:1,operator:2,sizeof:2,dynamic_cast:2,typedef:2,const_cast:2,"const":1,struct:1,"for":1,static_cast:2,union:1,namespace:1,unsigned:1,"long":1,"throw":1,"volatile":2,"static":1,"protected":1,bool:1,template:1,mutable:1,"if":1,"public":1,friend:2,"do":1,"return":1,"goto":1,auto:1,"void":2,"enum":1,"else":1,"break":1,"new":1,extern:1,using:1,"true":1,"class":1,asm:1,"case":1,typeid:1,"short":1,reinterpret_cast:2,"default":1,"double":1,register:1,explicit:1,signed:1,typename:1,"try":1,"this":1,"switch":1,"continue":1,wchar_t:1,inline:1,"delete":1,alignof:1,char16_t:1,char32_t:1,constexpr:1,decltype:1,noexcept:1,nullptr:1,static_assert:1,thread_local:1},built_in:{std:1,string:1,cin:1,cout:1,cerr:1,clog:1,stringstream:1,istringstream:1,ostringstream:1,auto_ptr:1,deque:1,list:1,queue:1,stack:1,vector:1,map:1,set:1,bitset:1,multiset:1,multimap:1,unordered_set:1,unordered_map:1,unordered_multiset:1,unordered_multimap:1,array:1,shared_ptr:1}};var a={cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:b,r:10};a.c=[a];return{dM:{k:b,i:" + + + + MELPA + + + + + + + + +
+
+ + +
+
+
+
    +
  • Up-to-date packages built on our servers from upstream source
  • +
  • Installable in any recent Emacs using "package.el" - no need to install svn/cvs/hg/bzr/git/darcs etc.
  • +
  • Curated - no obsolete, renamed, forked or randomly hacked packages
  • +
  • Comprehensive - more packages than any other archive
  • +
  • Automatic updates - new commits result in new packages
  • +
  • Extensible - contribute recipes via github, and we'll build the packages
  • +
+
+
+
+
+ Last build ended: +
+ +
+
+
+
+
+ + + + + + + + + diff --git a/html/index.html.erb b/html/index.html.erb deleted file mode 100644 index 053858d3..00000000 --- a/html/index.html.erb +++ /dev/null @@ -1,295 +0,0 @@ -<%#-*- coding: utf-8 -*-%> -<% - require 'json' - require 'ostruct' - include ERB::Util - archive_json = JSON.parse(File.open("../archive.json").read) - recipe_json = JSON.parse(File.open("../recipes.json").read) - downloads_json = JSON.parse(File.open("../download_counts.json").read) rescue {} - - packages = (archive_json.keys & recipe_json.keys).sort.map do |pkgname| - package = OpenStruct.new - package.name = pkgname - package.downloads = downloads_json[package.name] - versions, deps, package.descr, package.pkgtype = archive_json[package.name] - recipe = recipe_json[package.name] - package.version = versions.join('.') - package.url = "packages/#{package.name}-#{package.version}." + (package.pkgtype == "single" ? "el" : "tar") - package.recipe_url = "https://github.com/milkypostman/melpa/blob/master/recipes/#{package.name}" - package.source = recipe["fetcher"] - if package.descr =~ /(.*?)(\s*-\*-.*?)?\s*\[(\w+)\]\s*/ - package.descr = $1 - end - - package.source_url = - case package.source - when 'github' then recipe['repo'].include?('/') ? "https://github.com/#{recipe['repo']}" : "https://gist.github.com/#{recipe['repo']}" - when 'wiki' then recipe.key?('files') ? nil : "http://www.emacswiki.org/emacs/#{package.name}.el" - else - case recipe['url'] - when /(bitbucket\.org\/[^\/]+\/[^\/\?]+)/ then "https://" + $1 - when /(gitorious\.org\/[^\/]+\/[^.]+)/ then "https://" + $1 - when /\A(https?:\/\/code\.google\.com\/p\/[^\/]+\/)/ then $1 - when /\A(https?:\/\/[^.]+\.googlecode\.com\/)/ then $1 - when /\Alp:(.*)/ then "https://launchpad.net/" + $1 - end - end - package - end -%> - - - - MELPA - - - - - - - - - - - - -
- -
-
-
-
    -
  • Up-to-date packages built on our servers from upstream source
  • -
  • Installable in any recent Emacs using "package.el" - no need to install svn/cvs/hg/bzr/git/darcs etc.
  • -
  • Curated - no obsolete, renamed, forked or randomly hacked packages
  • -
  • Comprehensive - more packages than any other archive
  • -
  • Automatic updates - new commits result in new packages
  • -
  • Extensible - contribute recipes via github, and we'll build the packages
  • -
-
-
-
-
- Latest build: -
- -
-
-
- -

Current List of <%=h packages.size %> Packages - (<%= packages.map(&:downloads).compact.inject(0) { |a,b| a+b } %> downloads to date) -

- - - - - - - - - - - - - <% packages.each do |package| %> - - - - - - - - - <% end %> - -
PackageVersionDescriptionRecipeSourceDLs
<%=h package.name %><%=h package.version %><%=h package.descr %>recipe<% if package.source_url %> - <%=h package.source %> - <% else %> - <%=h package.source %> - <% end %> - <%=h package.downloads %>
-
-
- -

Installing

-

To add the repository put this before the call to package-initialize in your init.el file.

- - -
(add-to-list 'package-archives
-  '("melpa" . "http://melpa.milkbox.net/packages/") t)
- -

In Emacs < 24, you'll also need to explicitly include the GNU - ELPA archive, which provides important compatibility libraries like cl-lib:

-
(when (< emacs-major-version 24)
-  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
-

- Please read about known issues - below before attempting to install multiple packages at once. -

-

Customizations

-

- There is currently no way in package.el to - exclude or include versions. So to remedy this there is - a melpa.el package (available in MELPA) that will - allow you to enable only certain packages or exclude certain - packages. You can install the package manually by pasting this - into your *scratch* buffer and evaluating it. -

-
(progn
-  (switch-to-buffer
-    (url-retrieve-synchronously
-      "https://raw.github.com/milkypostman/melpa/master/melpa.el"))
-  (package-install-from-buffer  (package-buffer-info) 'single))
-

You can then customize two variables:

-
-
package-archive-enable-alist
-
-

- Optional Alist of enabled packages used - by package-filter. The format - is (ARCHIVE . PACKAGE ...), - where ARCHIVE is a string matching an archive - name inpackage-archives, PACKAGE - is a symbol of a package in ARCHIVE to - enable. -

-

- If no ARCHIVE exists in the alist, all - packages are enabled. -

-
-
package-archive-exclude-alist
-
-

- Alist of packages excluded by package-filter - . The format is (ARCHIVE . PACKAGE - ...), where ARCHIVE is a string - matching an archive name - inpackage-archives, PACKAGE is - a symbol of a package in that archive to exclude.

-

- Any specified package is excluded regardless of the value - of package-archive-enable-alist -

-
-
-
-
- -

Known Issues

-

- Note: These fixes are included in - the melpa.el package. -

-

- There is a small bug in Emacs24’s package.el such - that the dependency order comes out backwards. The problem is - patched by some advice. -

- -
 (defadvice package-compute-transaction
-  (before package-compute-transaction-reverse (package-list requirements) activate compile)
-    "reverse the requirements"
-    (setq requirements (reverse requirements))
-    (print requirements))
-
-
- -

Updating Packages

-

- package.el now includes a mechanism to upgrade - packages. After running package-list-packages, - type U (mark Upgradable packages) and then x - (eXecute the installs and deletions). When it’s done - installing all the packages it will ask if you want to delete - the obsolete packages and so you can hit y (Yes). -

-

- If you run into a problem installing or upgrading, you may - need to go into your ~/.emacs.d/elpa/ directory - and delete packages that are installed multiple times. This - can happen when the install times out. -

- -

Development

-

https://github.com/milkypostman/melpa

-

- Contributions are welcome. Currently, the builder supports - packages using git, subversion, mercurial, bzr, cvs, darcs and - emacswiki. -

-
-
- - - - - - - diff --git a/html/js/melpa.js b/html/js/melpa.js new file mode 100644 index 00000000..70046169 --- /dev/null +++ b/html/js/melpa.js @@ -0,0 +1,270 @@ +/* global window */ +(function(angular, _, moment){ + "use strict"; + + // TODO Disqus + // TODO Show compatible emacs versions for any package + // TODO Google Analytics http://stackoverflow.com/questions/10713708/tracking-google-analytics-page-views-with-angular-js + // TODO D3 visualisation for deps + // TODO Fix json encoding of versions + // TODO Show recent github events on package pages where applicable + // TODO Voting / starring + + var app = angular.module('melpa', ["ngRoute"]); + + ////////////////////////////////////////////////////////////////////////////// + // SERVICES + ////////////////////////////////////////////////////////////////////////////// + + app.factory('packageService', function($http, $q) { + var packages = $q.all({archive: $http.get("/archive.json"), + recipes: $http.get("/recipes.json"), + downloads: $http.get("/download_counts.json") // TODO: handle missing + }) + .then(function (info) { + + var calculateSourceURL = function(name, recipe) { + if (recipe.fetcher == "github") { + return (/\//.test(recipe.repo) ? "https://github.com/" : "https://gist.github.com/") + recipe.repo; + } else if (recipe.fetcher == "wiki" && !recipe.files) { + return "http://www.emacswiki.org/emacs/" + name + ".el"; + } else if (recipe.url) { + var urlMatch = function(re, prefix) { + var m = recipe.url.match(re); + return m !== null ? prefix + m[0] : null; + }; + return urlMatch(/(bitbucket\.org\/[^\/]+\/[^\/\?]+)/, "https://") || + urlMatch(/(gitorious\.org\/[^\/]+\/[^.]+)/, "https://") || + urlMatch(/\Alp:(.*)/, "https://launchpad.net/") || + urlMatch(/\A(https?:\/\/code\.google\.com\/p\/[^\/]+\/)/) || + urlMatch(/\A(https?:\/\/[^.]+\.googlecode\.com\/)/); + } + return null; + }; + + var listed = _.intersection(_.keys(info.archive.data), _.keys(info.recipes.data)); + return _(listed).reduce(function(pkgs, name) { + var built = info.archive.data[name]; + var recipe = info.recipes.data[name]; + var descr = built[2].replace(/\s*\[((?:source: )?\w+)\]$/, ""); + var version = built[0].join("."); + // Fix up hokey deps, which look like {"clojure-mode":{"2":[0,0]}} for 2.0.0 + var deps = _.map(built[1] || {}, function (val, name) { + var v1 = _.keys(val)[0]; + return {name: name, version: [v1].concat(val[v1] || []).join('.')}; + }); + var oldNames = recipe['old-names'] || []; + pkgs[name] = { + name: name, + version: version, + dependencies: deps, + description: descr, + source: recipe.fetcher, + downloads: _.reduce(oldNames.concat(name), function(sum, n) { return sum + (info.downloads.data[n] || 0); }, 0), + fetcher: recipe.fetcher, + recipeURL: "https://github.com/milkypostman/melpa/blob/master/recipes/" + name, + packageURL: "packages/" + name + "-" + version + "." + (built[3] == "single" ? "el" : "tar"), + sourceURL: calculateSourceURL(name, recipe), + oldNames: oldNames + }; + return pkgs; + }, {}); + }); + var buildStatus = $http.get("/build-status.json").then(function(r) { return r.data; }); + + return { + getPackages: function() { + return packages; + }, + + dependenciesOn: function(name) { + return packages.then(function(pkgs) { + return _.values(pkgs).filter(function(p) { + return _.findWhere(p.dependencies, {name: name}); + }); + }); + }, + + buildStatus: function() { + return buildStatus; + } + }; + }); + + + ////////////////////////////////////////////////////////////////////////////// + // Controllers + ////////////////////////////////////////////////////////////////////////////// + + app.controller('PackageListCtrl', function ($scope, $timeout, packageService) { + $scope.orderBy = "name"; + $scope.$on('$routeChangeSuccess', function (ev, current) { + $scope.enteredSearchTerms = $scope.searchTerms = current.params.q; + }); + var copyValue; + $scope.$watch('enteredSearchTerms', function(value) { + $timeout.cancel(copyValue); + copyValue = $timeout(function() { + $scope.searchTerms = value; + }, 250); + }); + + packageService.getPackages().then(function(pkgs){ + $scope.packages = _.values(pkgs); + $scope.totalDownloads = _.reduce(_.pluck($scope.packages, "downloads"), function (a, b) { return b === undefined ? a : a + b; }, 0); + }); + $scope.packageMatcher = function(term) { + var t = term && term.toLowerCase(); + var searchText = _.memoize(function(pkg) { + return _([pkg.name, pkg.description, pkg.source, pkg.version, pkg.sourceURL]).compact().invoke('toLowerCase').valueOf().join(' '); + }, function(pkg) { return pkg.name; }); + return function(pkg) { + if (!term || !term.match(/\S/)) return true; + return searchText(pkg).indexOf(t) != -1; + }; + }; + }); + + var detailsCtrl = app.controller('PackageDetailsCtrl', function ($scope, $q, $routeParams, $http, packageService) { + var packageName = $routeParams.packageName; + packageService.getPackages().then(function(pkgs) { + $scope.allPackages = pkgs; + $scope.pkg = pkgs[packageName]; + $scope.reverseDependencies = packageService.dependenciesOn(packageName); + $scope.reverseDependenciesOldNames = $q.all(_.map($scope.pkg.oldNames, packageService.dependenciesOn)).then(_.flatten); + var downloadCounts = _.pluck(pkgs, 'downloads'); + $scope.downloadsPercentile = _.filter(downloadCounts, function(d) { return d < $scope.pkg.downloads; }).length * 100.0 / downloadCounts.length; + }); + $scope.readme = $http.get("/packages/" + packageName + "-readme.txt").then(function(r) { return r.data; }); + $scope.havePackage = function(pkgName) { + return $scope.allPackages[pkgName]; + }; + }); + detailsCtrl.resolve = { + // Fail to resolve unless this particular package exists + pkgs: function (packageService, $route, $q) { + var deferred = $q.defer(); + packageService.getPackages().then(function(pkgs) { + if (pkgs[$route.current.params.packageName]) + deferred.resolve(pkgs); + else + deferred.reject("No such package"); + }); + return deferred.promise; + } + }; + + app.controller('BuildStatusCtrl', function($scope, packageService) { + packageService.buildStatus().then(function(status) { + $scope.completionTime = new Date(status.completed * 1000); + }); + }); + + app.controller('AppCtrl', function($scope, $rootScope, $route, $window) { + $scope.hideSplash = false; + $rootScope.$on("$routeChangeSuccess", function() { + $scope.hideSplash = ($route.current.controller != 'PackageListCtrl'); + }); + $rootScope.$on("$locationChangeSuccess", function(e, newURL, oldURL) { + //jshint unused: false + if (newURL && (newURL.$$route||newURL).redirectTo) return; + if ($window._gaq && newURL != (oldURL + "#/")) { + var l = $window.location; + var path = l.pathname + l.hash + l.search; + $window._gaq.push (["_trackPageview", path ]); + } + }); + }); + + ////////////////////////////////////////////////////////////////////////////// + // Directives + ////////////////////////////////////////////////////////////////////////////// + + app.directive("viewOrError", function($rootScope) { + return { + template: '
' + + '
Error: {{routeError}}
' + + '
'+'
', + transclude: true, + link: function(scope) { + $rootScope.$on("$routeChangeError", function (event, current, previous, rejection) { + //jshint unused: false + scope.routeError = rejection; + }); + $rootScope.$on("$routeChangeSuccess", function () { + scope.routeError = null; + }); + } + }; + }); + + app.directive("sortIndicator", function() { + return { + scope: { sortIndicator: "@" }, + replace: true, + template: '', + link: function(scope) { + scope.$watch('sortIndicator', function() { + scope.classname = 'table-sort-indicator glyphicon ' + + ({'asc': 'glyphicon-chevron-down', + 'desc': 'glyphicon-chevron-up' }[scope.sortIndicator] || + 'glyphicon-minus'); + }); + } + }; + }); + + app.directive("tableSort", function() { + return { + scope: { + tableSort: "=", + sortField: "@" + }, + transclude: true, + template: '
', + link: function(scope, element) { + var sortingAsc = function() { + return _([scope.sortField, "+" + scope.sortField]).contains(scope.tableSort); + }; + var sortingDesc = function() { + return scope.tableSort == "-" + scope.sortField; + }; + element.bind('click', function() { + scope.$apply(function() { + scope.tableSort = sortingAsc() ? "-" + scope.sortField : scope.sortField; + }); + }); + scope.$watch('tableSort', function() { + scope.order = (function() { + if (sortingAsc()) return 'asc'; + if (sortingDesc()) return 'desc'; + return ''; + })(); + }); + } + }; + }); + + ////////////////////////////////////////////////////////////////////////////// + // Filters + ////////////////////////////////////////////////////////////////////////////// + app.filter('relativeTime', function() { + return function(val) { + return val && moment(val).fromNow(); + }; + }); + + ////////////////////////////////////////////////////////////////////////////// + // Routes + ////////////////////////////////////////////////////////////////////////////// + app.config(['$locationProvider', function($locationProvider){ + $locationProvider.html5Mode(false); + }]); + app.config(['$routeProvider', function($routeProvider){ + $routeProvider + .when('/', {templateUrl: 'partials/list.html', controller: 'PackageListCtrl', splash: true}) + .when('/getting-started', {templateUrl: 'partials/getting-started.html'}) + .when('/:packageName', {templateUrl: 'partials/package.html', controller: 'PackageDetailsCtrl', resolve: detailsCtrl.resolve}); + }]); + +})(window.angular, window._, window.moment); diff --git a/html/languages/1c.js b/html/languages/1c.js deleted file mode 100644 index fdd42d71..00000000 --- a/html/languages/1c.js +++ /dev/null @@ -1,68 +0,0 @@ -/* -Language: 1C -Author: Yuri Ivanov -Contributors: Sergey Baranov -*/ - -hljs.LANGUAGES['1c'] = function(){ - var IDENT_RE_RU = '[a-zA-Zа-яА-Я][a-zA-Z0-9_а-яА-Я]*'; - var OneS_KEYWORDS = {'возврат':1,'дата':1,'для':1,'если':1,'и':1,'или':1,'иначе':1,'иначеесли':1,'исключение':1,'конецесли':1,'конецпопытки':1,'конецпроцедуры':1,'конецфункции':1,'конеццикла':1,'константа':1,'не':1,'перейти':1,'перем':1,'перечисление':1,'по':1,'пока':1,'попытка':1,'прервать':1,'продолжить':1,'процедура':1,'строка':1,'тогда':1,'фс':1,'функция':1,'цикл':1,'число':1,'экспорт':1}; - var OneS_BUILT_IN = {'ansitooem':1,'oemtoansi':1,'ввестивидсубконто':1,'ввестидату':1,'ввестизначение':1,'ввестиперечисление':1,'ввестипериод':1,'ввестиплансчетов':1,'ввестистроку':1,'ввестичисло':1,'вопрос':1,'восстановитьзначение':1,'врег':1,'выбранныйплансчетов':1,'вызватьисключение':1,'датагод':1,'датамесяц':1,'датачисло':1,'добавитьмесяц':1,'завершитьработусистемы':1,'заголовоксистемы':1,'записьжурналарегистрации':1,'запуститьприложение':1,'зафиксироватьтранзакцию':1,'значениевстроку':1,'значениевстрокувнутр':1,'значениевфайл':1,'значениеизстроки':1,'значениеизстрокивнутр':1,'значениеизфайла':1,'имякомпьютера':1,'имяпользователя':1,'каталогвременныхфайлов':1,'каталогиб':1,'каталогпользователя':1,'каталогпрограммы':1,'кодсимв':1,'командасистемы':1,'конгода':1,'конецпериодаби':1,'конецрассчитанногопериодаби':1,'конецстандартногоинтервала':1,'конквартала':1,'конмесяца':1,'коннедели':1,'лев':1,'лог':1,'лог10':1,'макс':1,'максимальноеколичествосубконто':1,'мин':1,'монопольныйрежим':1,'названиеинтерфейса':1,'названиенабораправ':1,'назначитьвид':1,'назначитьсчет':1,'найти':1,'найтипомеченныенаудаление':1,'найтиссылки':1,'началопериодаби':1,'началостандартногоинтервала':1,'начатьтранзакцию':1,'начгода':1,'начквартала':1,'начмесяца':1,'начнедели':1,'номерднягода':1,'номерднянедели':1,'номернеделигода':1,'нрег':1,'обработкаожидания':1,'окр':1,'описаниеошибки':1,'основнойжурналрасчетов':1,'основнойплансчетов':1,'основнойязык':1,'открытьформу':1,'открытьформумодально':1,'отменитьтранзакцию':1,'очиститьокносообщений':1,'периодстр':1,'полноеимяпользователя':1,'получитьвремята':1,'получитьдатута':1,'получитьдокументта':1,'получитьзначенияотбора':1,'получитьпозициюта':1,'получитьпустоезначение':1,'получитьта':1,'прав':1,'праводоступа':1,'предупреждение':1,'префиксавтонумерации':1,'пустаястрока':1,'пустоезначение':1,'рабочаядаттьпустоезначение':1,'получитьта':1,'прав':1,'праводоступа':1,'предупреждение':1,'префиксавтонумерации':1,'пустаястрока':1,'пустоезначение':1,'рабочаядата':1,'разделительстраниц':1,'разделительстрок':1,'разм':1,'разобратьпозициюдокумента':1,'рассчитатьрегистрына':1,'рассчитатьрегистрыпо':1,'сигнал':1,'симв':1,'символтабуляции':1,'создатьобъект':1,'сокрл':1,'сокрлп':1,'сокрп':1,' сообщить':1,'состояние':1,'сохранитьзначение':1,'сред':1,'статусвозврата':1,'стрдлина':1,'стрзаменить':1,'стрколичествострок':1,'стрполучитьстроку':1,' стрчисловхождений':1,'сформироватьпозициюдокумента':1,'счетпокоду':1,'текущаядата':1,'текущеевремя':1,'типзначения':1,'типзначениястр':1,'удалитьобъекты':1,'установитьтана':1,'установитьтапо':1,'фиксшаблон':1,'формат':1,'цел':1,'шаблон':1}; - var DQUOTE = {className: 'dquote', begin: '""'}; - var STR_START = { - className: 'string', - begin: '"', end: '"|$', - contains: [DQUOTE], - relevance: 0 - }; - var STR_CONT = { - className: 'string', - begin: '\\|', end: '"|$', - contains: [DQUOTE] - }; - - return { - case_insensitive: true, - defaultMode: { - lexems: IDENT_RE_RU, - keywords: {'keyword':OneS_KEYWORDS,'built_in':OneS_BUILT_IN}, - contains: [ - hljs.C_LINE_COMMENT_MODE, - hljs.NUMBER_MODE, - STR_START, STR_CONT, - { - className: 'function', - begin: '(процедура|функция)', end: '$', - lexems: IDENT_RE_RU, - keywords: {'процедура': 1, 'экспорт': 1, 'функция': 1}, - contains: [ - {className: 'title', begin: IDENT_RE_RU}, - { - className: 'tail', - endsWithParent: true, - contains: [ - { - className: 'params', - begin: '\\(', end: '\\)', - lexems: IDENT_RE_RU, - keywords: {'знач':1}, - contains: [STR_START, STR_CONT] - }, - { - className: 'export', - begin: 'экспорт', endsWithParent: true, - lexems: IDENT_RE_RU, - keywords: {'экспорт': 1}, - contains: [hljs.C_LINE_COMMENT_MODE] - } - ] - }, - hljs.C_LINE_COMMENT_MODE - ] - }, - {className: 'preprocessor', begin: '#', end: '$'}, - {className: 'date', begin: '\'\\d{2}\\.\\d{2}\\.(\\d{2}|\\d{4})\''} - ] - } - }; -}(); diff --git a/html/languages/apache.js b/html/languages/apache.js deleted file mode 100644 index 1d83bbd7..00000000 --- a/html/languages/apache.js +++ /dev/null @@ -1,432 +0,0 @@ -/* -Language: Apache -Author: Ruslan Keba -Website: http://rukeba.com/ -Description: language definition for Apache configuration files (httpd.conf & .htaccess) -Version: 1.1 -Date: 2008-12-27 -*/ - -hljs.LANGUAGES.apache = function(){ - var NUMBER = {className: 'number', begin: '[\\$%]\\d+'}; - var CBRACKET = { - className: 'cbracket', - begin: '[\\$%]\\{', end: '\\}' - }; - CBRACKET.contains = [CBRACKET, NUMBER]; - return { - case_insensitive: true, - defaultMode: { - keywords: { - 'keyword': { - 'acceptfilter': 1, - 'acceptmutex': 1, - 'acceptpathinfo': 1, - 'accessfilename': 1, - 'action': 1, - 'addalt': 1, - 'addaltbyencoding': 1, - 'addaltbytype': 1, - 'addcharset': 1, - 'adddefaultcharset': 1, - 'adddescription': 1, - 'addencoding': 1, - 'addhandler': 1, - 'addicon': 1, - 'addiconbyencoding': 1, - 'addiconbytype': 1, - 'addinputfilter': 1, - 'addlanguage': 1, - 'addmoduleinfo': 1, - 'addoutputfilter': 1, - 'addoutputfilterbytype': 1, - 'addtype': 1, - 'alias': 1, - 'aliasmatch': 1, - 'allow': 1, - 'allowconnect': 1, - 'allowencodedslashes': 1, - 'allowoverride': 1, - 'anonymous': 1, - 'anonymous_logemail': 1, - 'anonymous_mustgiveemail': 1, - 'anonymous_nouserid': 1, - 'anonymous_verifyemail': 1, - 'authbasicauthoritative': 1, - 'authbasicprovider': 1, - 'authdbduserpwquery': 1, - 'authdbduserrealmquery': 1, - 'authdbmgroupfile': 1, - 'authdbmtype': 1, - 'authdbmuserfile': 1, - 'authdefaultauthoritative': 1, - 'authdigestalgorithm': 1, - 'authdigestdomain': 1, - 'authdigestnccheck': 1, - 'authdigestnonceformat': 1, - 'authdigestnoncelifetime': 1, - 'authdigestprovider': 1, - 'authdigestqop': 1, - 'authdigestshmemsize': 1, - 'authgroupfile': 1, - 'authldapbinddn': 1, - 'authldapbindpassword': 1, - 'authldapcharsetconfig': 1, - 'authldapcomparednonserver': 1, - 'authldapdereferencealiases': 1, - 'authldapgroupattribute': 1, - 'authldapgroupattributeisdn': 1, - 'authldapremoteuserattribute': 1, - 'authldapremoteuserisdn': 1, - 'authldapurl': 1, - 'authname': 1, - 'authnprovideralias': 1, - 'authtype': 1, - 'authuserfile': 1, - 'authzdbmauthoritative': 1, - 'authzdbmtype': 1, - 'authzdefaultauthoritative': 1, - 'authzgroupfileauthoritative': 1, - 'authzldapauthoritative': 1, - 'authzownerauthoritative': 1, - 'authzuserauthoritative': 1, - 'balancermember': 1, - 'browsermatch': 1, - 'browsermatchnocase': 1, - 'bufferedlogs': 1, - 'cachedefaultexpire': 1, - 'cachedirlength': 1, - 'cachedirlevels': 1, - 'cachedisable': 1, - 'cacheenable': 1, - 'cachefile': 1, - 'cacheignorecachecontrol': 1, - 'cacheignoreheaders': 1, - 'cacheignorenolastmod': 1, - 'cacheignorequerystring': 1, - 'cachelastmodifiedfactor': 1, - 'cachemaxexpire': 1, - 'cachemaxfilesize': 1, - 'cacheminfilesize': 1, - 'cachenegotiateddocs': 1, - 'cacheroot': 1, - 'cachestorenostore': 1, - 'cachestoreprivate': 1, - 'cgimapextension': 1, - 'charsetdefault': 1, - 'charsetoptions': 1, - 'charsetsourceenc': 1, - 'checkcaseonly': 1, - 'checkspelling': 1, - 'chrootdir': 1, - 'contentdigest': 1, - 'cookiedomain': 1, - 'cookieexpires': 1, - 'cookielog': 1, - 'cookiename': 1, - 'cookiestyle': 1, - 'cookietracking': 1, - 'coredumpdirectory': 1, - 'customlog': 1, - 'dav': 1, - 'davdepthinfinity': 1, - 'davgenericlockdb': 1, - 'davlockdb': 1, - 'davmintimeout': 1, - 'dbdexptime': 1, - 'dbdkeep': 1, - 'dbdmax': 1, - 'dbdmin': 1, - 'dbdparams': 1, - 'dbdpersist': 1, - 'dbdpreparesql': 1, - 'dbdriver': 1, - 'defaulticon': 1, - 'defaultlanguage': 1, - 'defaulttype': 1, - 'deflatebuffersize': 1, - 'deflatecompressionlevel': 1, - 'deflatefilternote': 1, - 'deflatememlevel': 1, - 'deflatewindowsize': 1, - 'deny': 1, - 'directoryindex': 1, - 'directorymatch': 1, - 'directoryslash': 1, - 'documentroot': 1, - 'dumpioinput': 1, - 'dumpiologlevel': 1, - 'dumpiooutput': 1, - 'enableexceptionhook': 1, - 'enablemmap': 1, - 'enablesendfile': 1, - 'errordocument': 1, - 'errorlog': 1, - 'example': 1, - 'expiresactive': 1, - 'expiresbytype': 1, - 'expiresdefault': 1, - 'extendedstatus': 1, - 'extfilterdefine': 1, - 'extfilteroptions': 1, - 'fileetag': 1, - 'filterchain': 1, - 'filterdeclare': 1, - 'filterprotocol': 1, - 'filterprovider': 1, - 'filtertrace': 1, - 'forcelanguagepriority': 1, - 'forcetype': 1, - 'forensiclog': 1, - 'gracefulshutdowntimeout': 1, - 'group': 1, - 'header': 1, - 'headername': 1, - 'hostnamelookups': 1, - 'identitycheck': 1, - 'identitychecktimeout': 1, - 'imapbase': 1, - 'imapdefault': 1, - 'imapmenu': 1, - 'include': 1, - 'indexheadinsert': 1, - 'indexignore': 1, - 'indexoptions': 1, - 'indexorderdefault': 1, - 'indexstylesheet': 1, - 'isapiappendlogtoerrors': 1, - 'isapiappendlogtoquery': 1, - 'isapicachefile': 1, - 'isapifakeasync': 1, - 'isapilognotsupported': 1, - 'isapireadaheadbuffer': 1, - 'keepalive': 1, - 'keepalivetimeout': 1, - 'languagepriority': 1, - 'ldapcacheentries': 1, - 'ldapcachettl': 1, - 'ldapconnectiontimeout': 1, - 'ldapopcacheentries': 1, - 'ldapopcachettl': 1, - 'ldapsharedcachefile': 1, - 'ldapsharedcachesize': 1, - 'ldaptrustedclientcert': 1, - 'ldaptrustedglobalcert': 1, - 'ldaptrustedmode': 1, - 'ldapverifyservercert': 1, - 'limitinternalrecursion': 1, - 'limitrequestbody': 1, - 'limitrequestfields': 1, - 'limitrequestfieldsize': 1, - 'limitrequestline': 1, - 'limitxmlrequestbody': 1, - 'listen': 1, - 'listenbacklog': 1, - 'loadfile': 1, - 'loadmodule': 1, - 'lockfile': 1, - 'logformat': 1, - 'loglevel': 1, - 'maxclients': 1, - 'maxkeepaliverequests': 1, - 'maxmemfree': 1, - 'maxrequestsperchild': 1, - 'maxrequestsperthread': 1, - 'maxspareservers': 1, - 'maxsparethreads': 1, - 'maxthreads': 1, - 'mcachemaxobjectcount': 1, - 'mcachemaxobjectsize': 1, - 'mcachemaxstreamingbuffer': 1, - 'mcacheminobjectsize': 1, - 'mcacheremovalalgorithm': 1, - 'mcachesize': 1, - 'metadir': 1, - 'metafiles': 1, - 'metasuffix': 1, - 'mimemagicfile': 1, - 'minspareservers': 1, - 'minsparethreads': 1, - 'mmapfile': 1, - 'mod_gzip_on': 1, - 'mod_gzip_add_header_count': 1, - 'mod_gzip_keep_workfiles': 1, - 'mod_gzip_dechunk': 1, - 'mod_gzip_min_http': 1, - 'mod_gzip_minimum_file_size': 1, - 'mod_gzip_maximum_file_size': 1, - 'mod_gzip_maximum_inmem_size': 1, - 'mod_gzip_temp_dir': 1, - 'mod_gzip_item_include': 1, - 'mod_gzip_item_exclude': 1, - 'mod_gzip_command_version': 1, - 'mod_gzip_can_negotiate': 1, - 'mod_gzip_handle_methods': 1, - 'mod_gzip_static_suffix': 1, - 'mod_gzip_send_vary': 1, - 'mod_gzip_update_static': 1, - 'modmimeusepathinfo': 1, - 'multiviewsmatch': 1, - 'namevirtualhost': 1, - 'noproxy': 1, - 'nwssltrustedcerts': 1, - 'nwsslupgradeable': 1, - 'options': 1, - 'order': 1, - 'passenv': 1, - 'pidfile': 1, - 'protocolecho': 1, - 'proxybadheader': 1, - 'proxyblock': 1, - 'proxydomain': 1, - 'proxyerroroverride': 1, - 'proxyftpdircharset': 1, - 'proxyiobuffersize': 1, - 'proxymaxforwards': 1, - 'proxypass': 1, - 'proxypassinterpolateenv': 1, - 'proxypassmatch': 1, - 'proxypassreverse': 1, - 'proxypassreversecookiedomain': 1, - 'proxypassreversecookiepath': 1, - 'proxypreservehost': 1, - 'proxyreceivebuffersize': 1, - 'proxyremote': 1, - 'proxyremotematch': 1, - 'proxyrequests': 1, - 'proxyset': 1, - 'proxystatus': 1, - 'proxytimeout': 1, - 'proxyvia': 1, - 'readmename': 1, - 'receivebuffersize': 1, - 'redirect': 1, - 'redirectmatch': 1, - 'redirectpermanent': 1, - 'redirecttemp': 1, - 'removecharset': 1, - 'removeencoding': 1, - 'removehandler': 1, - 'removeinputfilter': 1, - 'removelanguage': 1, - 'removeoutputfilter': 1, - 'removetype': 1, - 'requestheader': 1, - 'require': 2, - 'rewritebase': 1, - 'rewritecond': 10, - 'rewriteengine': 1, - 'rewritelock': 1, - 'rewritelog': 1, - 'rewriteloglevel': 1, - 'rewritemap': 1, - 'rewriteoptions': 1, - 'rewriterule': 10, - 'rlimitcpu': 1, - 'rlimitmem': 1, - 'rlimitnproc': 1, - 'satisfy': 1, - 'scoreboardfile': 1, - 'script': 1, - 'scriptalias': 1, - 'scriptaliasmatch': 1, - 'scriptinterpretersource': 1, - 'scriptlog': 1, - 'scriptlogbuffer': 1, - 'scriptloglength': 1, - 'scriptsock': 1, - 'securelisten': 1, - 'seerequesttail': 1, - 'sendbuffersize': 1, - 'serveradmin': 1, - 'serveralias': 1, - 'serverlimit': 1, - 'servername': 1, - 'serverpath': 1, - 'serverroot': 1, - 'serversignature': 1, - 'servertokens': 1, - 'setenv': 1, - 'setenvif': 1, - 'setenvifnocase': 1, - 'sethandler': 1, - 'setinputfilter': 1, - 'setoutputfilter': 1, - 'ssienableaccess': 1, - 'ssiendtag': 1, - 'ssierrormsg': 1, - 'ssistarttag': 1, - 'ssitimeformat': 1, - 'ssiundefinedecho': 1, - 'sslcacertificatefile': 1, - 'sslcacertificatepath': 1, - 'sslcadnrequestfile': 1, - 'sslcadnrequestpath': 1, - 'sslcarevocationfile': 1, - 'sslcarevocationpath': 1, - 'sslcertificatechainfile': 1, - 'sslcertificatefile': 1, - 'sslcertificatekeyfile': 1, - 'sslciphersuite': 1, - 'sslcryptodevice': 1, - 'sslengine': 1, - 'sslhonorciperorder': 1, - 'sslmutex': 1, - 'ssloptions': 1, - 'sslpassphrasedialog': 1, - 'sslprotocol': 1, - 'sslproxycacertificatefile': 1, - 'sslproxycacertificatepath': 1, - 'sslproxycarevocationfile': 1, - 'sslproxycarevocationpath': 1, - 'sslproxyciphersuite': 1, - 'sslproxyengine': 1, - 'sslproxymachinecertificatefile': 1, - 'sslproxymachinecertificatepath': 1, - 'sslproxyprotocol': 1, - 'sslproxyverify': 1, - 'sslproxyverifydepth': 1, - 'sslrandomseed': 1, - 'sslrequire': 1, - 'sslrequiressl': 1, - 'sslsessioncache': 1, - 'sslsessioncachetimeout': 1, - 'sslusername': 1, - 'sslverifyclient': 1, - 'sslverifydepth': 1, - 'startservers': 1, - 'startthreads': 1, - 'substitute': 1, - 'suexecusergroup': 1, - 'threadlimit': 1, - 'threadsperchild': 1, - 'threadstacksize': 1, - 'timeout': 1, - 'traceenable': 1, - 'transferlog': 1, - 'typesconfig': 1, - 'unsetenv': 1, - 'usecanonicalname': 1, - 'usecanonicalphysicalport': 1, - 'user': 1, - 'userdir': 1, - 'virtualdocumentroot': 1, - 'virtualdocumentrootip': 1, - 'virtualscriptalias': 1, - 'virtualscriptaliasip': 1, - 'win32disableacceptex': 1, - 'xbithack': 1 - }, - 'literal': {'on': 1, 'off': 1} - }, - contains: [ - hljs.HASH_COMMENT_MODE, - {className: 'sqbracket', begin: '\\s\\[', end: '\\]$'}, - CBRACKET, - NUMBER, - {className: 'tag', begin: ''}, - hljs.QUOTE_STRING_MODE - ] - } - }; -}(); diff --git a/html/languages/avrasm.js b/html/languages/avrasm.js deleted file mode 100644 index 3e82e13e..00000000 --- a/html/languages/avrasm.js +++ /dev/null @@ -1,75 +0,0 @@ -/* -Language: AVR Assembler -Author: Vladimir Ermakov -*/ - -hljs.LANGUAGES.avrasm = -{ - case_insensitive: true, - defaultMode: { - keywords: { - 'keyword': { - /* mnemonic */ - 'adc': 1, 'add': 1 , 'adiw': 1 , 'and': 1 , 'andi': 1 , 'asr': 1 , 'bclr': 1 , 'bld': 1 , 'brbc': 1 , 'brbs': 1 , 'brcc': 1 , - 'brcs': 1, 'break': 1, 'breq': 1, 'brge': 1, 'brhc': 1, 'brhs': 1, 'brid': 1, 'brie': 1, 'brlo': 1, 'brlt': 1, 'brmi': 1, - 'brne': 1, 'brpl': 1, 'brsh': 1, 'brtc': 1, 'brts': 1, 'brvc': 1, 'brvs': 1, 'bset': 1, 'bst': 1, 'call': 1, 'cbi': 1, - 'cbr': 1, 'clc': 1, 'clh': 1, 'cli': 1, 'cln': 1, 'clr': 1, 'cls': 1, 'clt': 1, 'clv': 1, 'clz': 1, 'com': 1, 'cp': 1, - 'cpc': 1, 'cpi': 1, 'cpse': 1, 'dec': 1, 'eicall': 1, 'eijmp': 1, 'elpm': 1, 'eor': 1, 'fmul': 1, 'fmuls': 1, 'fmulsu': 1, - 'icall': 1, 'ijmp': 1, 'in': 1, 'inc': 1, 'jmp': 1, 'ld': 1, 'ldd': 1, 'ldi': 1, 'lds': 1, 'lpm': 1, 'lsl': 1, 'lsr': 1, - 'mov': 1, 'movw': 1, 'mul': 1, 'muls': 1, 'mulsu': 1, 'neg': 1, 'nop': 1, 'or': 1, 'ori': 1, 'out': 1, 'pop': 1, 'push': 1, - 'rcall': 1, 'ret': 1, 'reti': 1, 'rjmp': 1, 'rol': 1, 'ror': 1, 'sbc': 1, 'sbr': 1, 'sbrc': 1, 'sbrs': 1, 'sec': 1, 'seh': 1, - 'sbi': 1, 'sbci': 1, 'sbic': 1, 'sbis': 1, 'sbiw': 1, 'sei': 1, 'sen': 1, 'ser': 1, 'ses': 1, 'set': 1, 'sev': 1, 'sez': 1, - 'sleep': 1, 'spm': 1, 'st': 1, 'std': 1, 'sts': 1, 'sub': 1, 'subi': 1, 'swap': 1, 'tst': 1, 'wdr': 1 - }, - 'built_in': { - /* general purpose registers */ - 'r0': 1, 'r1': 1, 'r2': 1, 'r3': 1, 'r4': 1, 'r5': 1, 'r6': 1, 'r7': 1, 'r8': 1, 'r9': 1, 'r10': 1, 'r11': 1, 'r12': 1, - 'r13': 1, 'r14': 1, 'r15': 1, 'r16': 1, 'r17': 1, 'r18': 1, 'r19': 1, 'r20': 1, 'r21': 1, 'r22': 1, 'r23': 1, 'r24': 1, - 'r25': 1, 'r26': 1, 'r27': 1, 'r28': 1, 'r29': 1, 'r30': 1, 'r31': 1, - 'x': 1 /* R27:R26 */, 'xh': 1 /* R27 */, 'xl': 1 /* R26 */, - 'y': 1 /* R29:R28 */, 'yh': 1 /* R29 */, 'yl': 1 /* R28 */, - 'z': 1 /* R31:R30 */, 'zh': 1 /* R31 */, 'zl': 1 /* R30 */, - /* IO Registers (ATMega128) */ - 'ucsr1c': 1, 'udr1': 1, 'ucsr1a': 1, 'ucsr1b': 1, 'ubrr1l': 1, 'ubrr1h': 1, 'ucsr0c': 1, 'ubrr0h': 1, 'tccr3c': 1, - 'tccr3a': 1, 'tccr3b': 1, 'tcnt3h': 1, 'tcnt3l': 1, 'ocr3ah': 1, 'ocr3al': 1, 'ocr3bh': 1, 'ocr3bl': 1, 'ocr3ch': 1, - 'ocr3cl': 1, 'icr3h': 1, 'icr3l': 1, 'etimsk': 1, 'etifr': 1, 'tccr1c': 1, 'ocr1ch': 1, 'ocr1cl': 1, 'twcr': 1, - 'twdr': 1, 'twar': 1, 'twsr': 1, 'twbr': 1, 'osccal': 1, 'xmcra': 1, 'xmcrb': 1, 'eicra': 1, 'spmcsr': 1, 'spmcr': 1, - 'portg': 1, 'ddrg': 1, 'ping': 1, 'portf': 1, 'ddrf': 1, 'sreg': 1, 'sph': 1, 'spl': 1, 'xdiv': 1, 'rampz': 1, - 'eicrb': 1, 'eimsk': 1, 'gimsk': 1, 'gicr': 1, 'eifr': 1, 'gifr': 1, 'timsk': 1, 'tifr': 1, 'mcucr': 1, - 'mcucsr': 1, 'tccr0': 1, 'tcnt0': 1, 'ocr0': 1, 'assr': 1, 'tccr1a': 1, 'tccr1b': 1, 'tcnt1h': 1, 'tcnt1l': 1, - 'ocr1ah': 1, 'ocr1al': 1, 'ocr1bh': 1, 'ocr1bl': 1, 'icr1h': 1, 'icr1l': 1, 'tccr2': 1, 'tcnt2': 1, 'ocr2': 1, - 'ocdr': 1, 'wdtcr': 1, 'sfior': 1, 'eearh': 1, 'eearl': 1, 'eedr': 1, 'eecr': 1, 'porta': 1, 'ddra': 1, 'pina': 1, - 'portb': 1, 'ddrb': 1, 'pinb': 1, 'portc': 1, 'ddrc': 1, 'pinc': 1, 'portd': 1, 'ddrd': 1, 'pind': 1, 'spdr': 1, - 'spsr': 1, 'spcr': 1, 'udr0': 1, 'ucsr0a': 1, 'ucsr0b': 1, 'ubrr0l': 1, 'acsr': 1, 'admux': 1, 'adcsr': 1, 'adch': 1, - 'adcl': 1, 'porte': 1, 'ddre': 1, 'pine': 1, 'pinf': 1 - } - }, - contains: [ - hljs.C_BLOCK_COMMENT_MODE, - {className: 'comment', begin: ';', end: '$'}, - hljs.C_NUMBER_MODE, - /*{ // Hex: 0x00, $00; Oct: 0o00; Bin: 0b00000000; Dec: 0 - // пока что-то не получается :(, буду использовать сишную моду. - className: 'number', - begin: '((0[xX]|\$)[A-Fa-f0-9]+|0[oO][0-7]+|0[bB][0-1]+|\\d+)' - }*/ - hljs.QUOTE_STRING_MODE, - { - className: 'string', - begin: '\'', end: '[^\\\\]\'', - illegal: '[^\\\\][^\']' - }, - {className: 'label', begin: '^[A-Za-z0-9_.$]+:'}, - {className: 'preprocessor', begin: '#', end: '$'}, - { // директивы «.include» «.macro» и т.д. - className: 'preprocessor', - begin: '\\.[a-zA-Z]+' - }, - { // подстановка в «.macro» - className: 'localvars', - begin: '@[0-9]+' - } - ] - } -}; - diff --git a/html/languages/axapta.js b/html/languages/axapta.js deleted file mode 100644 index 3c916ba3..00000000 --- a/html/languages/axapta.js +++ /dev/null @@ -1,43 +0,0 @@ -/* -Language: Axapta -Author: Dmitri Roudakov -*/ - -hljs.LANGUAGES.axapta = { - defaultMode: { - keywords: {'false': 1, 'int': 1, 'abstract': 1, 'private': 1, 'char': 1, 'interface': 1, 'boolean': 1, 'static': 1, 'null': 1, 'if': 1, 'for': 1, 'true': 1, 'while': 1, 'long': 1, 'throw': 1, 'finally': 1, 'protected': 1, 'extends': 1, 'final': 1, 'implements': 1, 'return': 1, 'void': 1, 'enum': 1, 'else': 1, 'break': 1, 'new': 1, 'catch': 1, 'byte': 1, 'super': 1, 'class': 1, 'case': 1, 'short': 1, 'default': 1, 'double': 1, 'public': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, - 'reverse':1, 'firstfast':1,'firstonly':1,'forupdate':1,'nofetch':1, 'sum':1, 'avg':1, 'minof':1, 'maxof':1, 'count':1, 'order':1, 'group':1, 'by':1, 'asc':1, 'desc':1, 'index':1, 'hint':1, 'like':1, - 'dispaly':1, 'edit':1, 'client':1, 'server':1, 'ttsbegin':1, 'ttscommit':1, - 'str':1, 'real':1, 'date':1, 'container':1, 'anytype':1, 'common':1, 'div':1,'mod':1 - }, - contains: [ - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE, - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE, - { - className: 'preprocessor', - begin: '#', end: '$' - }, - { - className: 'class', - begin: '(class |interface )', end: '{', - illegal: ':', - keywords: {'class': 1, 'interface': 1}, - contains: [ - { - className: 'inheritance', - begin: '(implements|extends)', - keywords: {'extends': 1, 'implements': 1}, - relevance: 10 - }, - { - className: 'title', - begin: hljs.UNDERSCORE_IDENT_RE - } - ] - } - ] - } -}; diff --git a/html/languages/bash.js b/html/languages/bash.js deleted file mode 100644 index 7214f771..00000000 --- a/html/languages/bash.js +++ /dev/null @@ -1,56 +0,0 @@ -/* -Language: Bash -Author: vah -*/ - -hljs.LANGUAGES.bash = function(){ - var BASH_LITERAL = {'true' : 1, 'false' : 1}; - var VAR1 = { - className: 'variable', - begin: '\\$([a-zA-Z0-9_]+)\\b' - }; - var VAR2 = { - className: 'variable', - begin: '\\$\\{(([^}])|(\\\\}))+\\}', - contains: [hljs.C_NUMBER_MODE] - }; - var STRING = { - className: 'string', - begin: '"', end: '"', - illegal: '\\n', - contains: [hljs.BACKSLASH_ESCAPE, VAR1, VAR2], - relevance: 0 - }; - var TEST_CONDITION = { - className: 'test_condition', - begin: '', end: '', - contains: [STRING, VAR1, VAR2, hljs.C_NUMBER_MODE], - keywords: { - 'literal': BASH_LITERAL - }, - relevance: 0 - }; - - return { - defaultMode: { - keywords: { - 'keyword': {'if' : 1, 'then' : 1, 'else' : 1, 'fi' : 1, 'for' : 1, 'break' : 1, 'continue' : 1, 'while' : 1, 'in' : 1, 'do' : 1, 'done' : 1, 'echo' : 1, 'exit' : 1, 'return' : 1, 'set' : 1, 'declare' : 1}, - 'literal': BASH_LITERAL - }, - contains: [ - { - className: 'shebang', - begin: '(#!\\/bin\\/bash)|(#!\\/bin\\/sh)', - relevance: 10 - }, - hljs.HASH_COMMENT_MODE, - hljs.C_NUMBER_MODE, - STRING, - VAR1, - VAR2, - hljs.inherit(TEST_CONDITION, {begin: '\\[ ', end: ' \\]', relevance: 0}), - hljs.inherit(TEST_CONDITION, {begin: '\\[\\[ ', end: ' \\]\\]'}) - ] - } - }; -}(); diff --git a/html/languages/cmake.js b/html/languages/cmake.js deleted file mode 100644 index bc0fb3b1..00000000 --- a/html/languages/cmake.js +++ /dev/null @@ -1,24 +0,0 @@ -/* -Language: CMake -Description: CMake is an open-source cross-platform system for build automation. -Author: Igor Kalnitsky -Website: http://kalnitsky.org.ua/ -*/ - -hljs.LANGUAGES.cmake = { - case_insensitive: true, - defaultMode: { - keywords: { - 'add_custom_command': 2, 'add_custom_target': 2, 'add_definitions': 2, 'add_dependencies': 2, 'add_executable': 2, 'add_library': 2, 'add_subdirectory': 2, 'add_executable': 2, 'add_library': 2, 'add_subdirectory': 2, 'add_test': 2, 'aux_source_directory': 2, 'break': 1, 'build_command': 2, 'cmake_minimum_required': 3, 'cmake_policy': 3, 'configure_file': 1, 'create_test_sourcelist': 1, 'define_property': 1, 'else': 1, 'elseif': 1, 'enable_language': 2, 'enable_testing': 2, 'endforeach': 1, 'endfunction': 1, 'endif': 1, 'endmacro': 1, 'endwhile': 1, 'execute_process': 2, 'export': 1, 'find_file': 1, 'find_library': 2, 'find_package': 2, 'find_path': 1, 'find_program': 1, 'fltk_wrap_ui': 2, 'foreach': 1, 'function': 1, 'get_cmake_property': 3, 'get_directory_property': 1, 'get_filename_component': 1, 'get_property': 1, 'get_source_file_property': 1, 'get_target_property': 1, 'get_test_property': 1, 'if': 1, 'include': 1, 'include_directories': 2, 'include_external_msproject': 1, 'include_regular_expression': 2, 'install': 1, 'link_directories': 1, 'load_cache': 1, 'load_command': 1, 'macro': 1, 'mark_as_advanced': 1, 'message': 1, 'option': 1, 'output_required_files': 1, 'project': 1, 'qt_wrap_cpp': 2, 'qt_wrap_ui': 2, 'remove_definitions': 2, 'return': 1, 'separate_arguments': 1, 'set': 1, 'set_directory_properties': 1, 'set_property': 1, 'set_source_files_properties': 1, 'set_target_properties': 1, 'set_tests_properties': 1, 'site_name': 1, 'source_group': 1, 'string': 1, 'target_link_libraries': 2, 'try_compile': 2, 'try_run': 2, 'unset': 1, 'variable_watch': 2, 'while': 1, 'build_name': 1, 'exec_program': 1, 'export_library_dependencies': 1, 'install_files': 1, 'install_programs': 1, 'install_targets': 1, 'link_libraries': 1, 'make_directory': 1, 'remove': 1, 'subdir_depends': 1, 'subdirs': 1, 'use_mangled_mesa': 1, 'utility_source': 1, 'variable_requires': 1, 'write_file': 1 }, - - contains: [ - { - className: 'envvar', - begin: '\\${', end: '}' - }, - hljs.HASH_COMMENT_MODE, - hljs.QUOTE_STRING_MODE, - hljs.NUMBER_MODE - ] - } -}; diff --git a/html/languages/cpp.js b/html/languages/cpp.js deleted file mode 100644 index 90fb1a2b..00000000 --- a/html/languages/cpp.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -Language: C++ -*/ - -hljs.LANGUAGES.cpp = function(){ - var CPP_KEYWORDS = { - 'keyword': { - 'false': 1, 'int': 1, 'float': 1, 'while': 1, 'private': 1, 'char': 1, - 'catch': 1, 'export': 1, 'virtual': 1, 'operator': 2, 'sizeof': 2, - 'dynamic_cast': 2, 'typedef': 2, 'const_cast': 2, 'const': 1, - 'struct': 1, 'for': 1, 'static_cast': 2, 'union': 1, 'namespace': 1, - 'unsigned': 1, 'long': 1, 'throw': 1, 'volatile': 2, 'static': 1, - 'protected': 1, 'bool': 1, 'template': 1, 'mutable': 1, 'if': 1, - 'public': 1, 'friend': 2, 'do': 1, 'return': 1, 'goto': 1, 'auto': 1, - 'void': 2, 'enum': 1, 'else': 1, 'break': 1, 'new': 1, 'extern': 1, - 'using': 1, 'true': 1, 'class': 1, 'asm': 1, 'case': 1, 'typeid': 1, - 'short': 1, 'reinterpret_cast': 2, 'default': 1, 'double': 1, - 'register': 1, 'explicit': 1, 'signed': 1, 'typename': 1, 'try': 1, - 'this': 1, 'switch': 1, 'continue': 1, 'wchar_t': 1, 'inline': 1, - 'delete': 1, 'alignof': 1, 'char16_t': 1, 'char32_t': 1, 'constexpr': 1, - 'decltype': 1, 'noexcept': 1, 'nullptr': 1, 'static_assert': 1, - 'thread_local': 1 - }, - 'built_in': { - 'std': 1, 'string': 1, 'cin': 1, 'cout': 1, 'cerr': 1, 'clog': 1, - 'stringstream': 1, 'istringstream': 1, 'ostringstream': 1, 'auto_ptr': 1, - 'deque': 1, 'list': 1, 'queue': 1, 'stack': 1, 'vector': 1, 'map': 1, - 'set': 1, 'bitset': 1, 'multiset': 1, 'multimap': 1, 'unordered_set': 1, - 'unordered_map': 1, 'unordered_multiset': 1, 'unordered_multimap': 1, - 'array': 1, 'shared_ptr': 1 - } - }; - var STL_CONTAINER = { - className: 'stl_container', - begin: '\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<', end: '>', - keywords: CPP_KEYWORDS, - relevance: 10 - }; - STL_CONTAINER.contains = [STL_CONTAINER]; - return { - defaultMode: { - keywords: CPP_KEYWORDS, - illegal: ' -*/ - -hljs.LANGUAGES.cs = { - defaultMode: { - keywords: { - // Normal keywords. - 'abstract': 1, 'as': 1, 'base': 1, 'bool': 1, 'break': 1, 'byte': 1, 'case': 1, 'catch': 1, 'char': 1, 'checked': 1, 'class': 1, 'const': 1, 'continue': 1, 'decimal': 1, 'default': 1, 'delegate': 1, 'do': 1, 'do': 1, 'double': 1, 'else': 1, 'enum': 1, 'event': 1, 'explicit': 1, 'extern': 1, 'false': 1, 'finally': 1, 'fixed': 1, 'float': 1, 'for': 1, 'foreach': 1, 'goto': 1, 'if': 1, 'implicit': 1, 'in': 1, 'int': 1, 'interface': 1, 'internal': 1, 'is': 1, 'lock': 1, 'long': 1, 'namespace': 1, 'new': 1, 'null': 1, 'object': 1, 'operator': 1, 'out': 1, 'override': 1, 'params': 1, 'private': 1, 'protected': 1, 'public': 1, 'readonly': 1, 'ref': 1, 'return': 1, 'sbyte': 1, 'sealed': 1, 'short': 1, 'sizeof': 1, 'stackalloc': 1, 'static': 1, 'string': 1, 'struct': 1, 'switch': 1, 'this': 1, 'throw': 1, 'true': 1, 'try': 1, 'typeof': 1, 'uint': 1, 'ulong': 1, 'unchecked': 1, 'unsafe': 1, 'ushort': 1, 'using': 1, 'virtual': 1, 'volatile': 1, 'void': 1, 'while': 1, - // Contextual keywords. - 'ascending': 1, 'descending': 1, 'from': 1, 'get': 1, 'group': 1, 'into': 1, 'join': 1, 'let': 1, 'orderby': 1, 'partial': 1, 'select': 1, 'set': 1, 'value': 1, 'var': 1, 'where': 1, 'yield': 1 - }, - contains: [ - { - className: 'comment', - begin: '///', end: '$', returnBegin: true, - contains: [ - { - className: 'xmlDocTag', - begin: '///|' - }, - { - className: 'xmlDocTag', - begin: '' - } - ] - }, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE, - { - className: 'string', - begin: '@"', end: '"', - contains: [{begin: '""'}] - }, - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE - ] - } -}; diff --git a/html/languages/css.js b/html/languages/css.js deleted file mode 100644 index b6e4db97..00000000 --- a/html/languages/css.js +++ /dev/null @@ -1,101 +0,0 @@ -/* -Language: CSS -*/ - -hljs.LANGUAGES.css = function() { - var FUNCTION = { - className: 'function', - begin: hljs.IDENT_RE + '\\(', end: '\\)', - contains: [{ - endsWithParent: true, excludeEnd: true, - contains: [hljs.NUMBER_MODE, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE] - }] - }; - return { - case_insensitive: true, - defaultMode: { - illegal: '[=/|\']', - contains: [ - hljs.C_BLOCK_COMMENT_MODE, - { - className: 'id', begin: '\\#[A-Za-z0-9_-]+' - }, - { - className: 'class', begin: '\\.[A-Za-z0-9_-]+', - relevance: 0 - }, - { - className: 'attr_selector', - begin: '\\[', end: '\\]', - illegal: '$' - }, - { - className: 'pseudo', - begin: ':(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\"\\\']+' - }, - { - className: 'at_rule', - begin: '@(font-face|page)', - lexems: '[a-z-]+', - keywords: {'font-face': 1, 'page': 1} - }, - { - className: 'at_rule', - begin: '@', end: '[{;]', // at_rule eating first "{" is a good thing - // because it doesn't let it to be parsed as - // a rule set but instead drops parser into - // the defaultMode which is how it should be. - excludeEnd: true, - keywords: {'import': 1, 'page': 1, 'media': 1, 'charset': 1}, - contains: [ - FUNCTION, - hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, - hljs.NUMBER_MODE - ] - }, - { - className: 'tag', begin: hljs.IDENT_RE, - relevance: 0 - }, - { - className: 'rules', - begin: '{', end: '}', - illegal: '[^\\s]', - relevance: 0, - contains: [ - hljs.C_BLOCK_COMMENT_MODE, - { - className: 'rule', - begin: '[^\\s]', returnBegin: true, end: ';', endsWithParent: true, - contains: [ - { - className: 'attribute', - begin: '[A-Z\\_\\.\\-]+', end: ':', - excludeEnd: true, - illegal: '[^\\s]', - starts: { - className: 'value', - endsWithParent: true, excludeEnd: true, - contains: [ - FUNCTION, - hljs.NUMBER_MODE, - hljs.QUOTE_STRING_MODE, - hljs.APOS_STRING_MODE, - hljs.C_BLOCK_COMMENT_MODE, - { - className: 'hexcolor', begin: '\\#[0-9A-F]+' - }, - { - className: 'important', begin: '!important' - } - ] - } - } - ] - } - ] - } - ] - } - }; -}(); diff --git a/html/languages/delphi.js b/html/languages/delphi.js deleted file mode 100644 index c8ef876a..00000000 --- a/html/languages/delphi.js +++ /dev/null @@ -1,70 +0,0 @@ -/* -Language: Delphi -*/ - -hljs.LANGUAGES.delphi = function(){ - var DELPHI_KEYWORDS = {'and': 1, 'safecall': 1, 'cdecl': 1, 'then': 1, 'string': 1, 'exports': 1, 'library': 1, 'not': 1, 'pascal': 1, 'set': 1, 'virtual': 1, 'file': 1, 'in': 1, 'array': 1, 'label': 1, 'packed': 1, 'end.': 1, 'index': 1, 'while': 1, 'const': 1, 'raise': 1, 'for': 1, 'to': 1, 'implementation': 1, 'with': 1, 'except': 1, 'overload': 1, 'destructor': 1, 'downto': 1, 'finally': 1, 'program': 1, 'exit': 1, 'unit': 1, 'inherited': 1, 'override': 1, 'if': 1, 'type': 1, 'until': 1, 'function': 1, 'do': 1, 'begin': 1, 'repeat': 1, 'goto': 1, 'nil': 1, 'far': 1, 'initialization': 1, 'object': 1, 'else': 1, 'var': 1, 'uses': 1, 'external': 1, 'resourcestring': 1, 'interface': 1, 'end': 1, 'finalization': 1, 'class': 1, 'asm': 1, 'mod': 1, 'case': 1, 'on': 1, 'shr': 1, 'shl': 1, 'of': 1, 'register': 1, 'xorwrite': 1, 'threadvar': 1, 'try': 1, 'record': 1, 'near': 1, 'stored': 1, 'constructor': 1, 'stdcall': 1, 'inline': 1, 'div': 1, 'out': 1, 'or': 1, 'procedure': 1}; - var DELPHI_CLASS_KEYWORDS = {'safecall': 1, 'stdcall': 1, 'pascal': 1, 'stored': 1, 'const': 1, 'implementation': 1, 'finalization': 1, 'except': 1, 'to': 1, 'finally': 1, 'program': 1, 'inherited': 1, 'override': 1, 'then': 1, 'exports': 1, 'string': 1, 'read': 1, 'not': 1, 'mod': 1, 'shr': 1, 'try': 1, 'div': 1, 'shl': 1, 'set': 1, 'library': 1, 'message': 1, 'packed': 1, 'index': 1, 'for': 1, 'near': 1, 'overload': 1, 'label': 1, 'downto': 1, 'exit': 1, 'public': 1, 'goto': 1, 'interface': 1, 'asm': 1, 'on': 1, 'of': 1, 'constructor': 1, 'or': 1, 'private': 1, 'array': 1, 'unit': 1, 'raise': 1, 'destructor': 1, 'var': 1, 'type': 1, 'until': 1, 'function': 1, 'else': 1, 'external': 1, 'with': 1, 'case': 1, 'default': 1, 'record': 1, 'while': 1, 'protected': 1, 'property': 1, 'procedure': 1, 'published': 1, 'and': 1, 'cdecl': 1, 'do': 1, 'threadvar': 1, 'file': 1, 'in': 1, 'if': 1, 'end': 1, 'virtual': 1, 'write': 1, 'far': 1, 'out': 1, 'begin': 1, 'repeat': 1, 'nil': 1, 'initialization': 1, 'object': 1, 'uses': 1, 'resourcestring': 1, 'class': 1, 'register': 1, 'xorwrite': 1, 'inline': 1, 'static': 1}; - var CURLY_COMMENT = { - className: 'comment', - begin: '{', end: '}', - relevance: 0 - }; - var PAREN_COMMENT = { - className: 'comment', - begin: '\\(\\*', end: '\\*\\)', - relevance: 10 - }; - var STRING = { - className: 'string', - begin: '\'', end: '\'', - contains: [{begin: '\'\''}], - relevance: 0 - }; - var CHAR_STRING = { - className: 'string', begin: '(#\\d+)+' - }; - var FUNCTION = { - className: 'function', - begin: '(procedure|constructor|destructor|function)\\b', end: '[:;]', - keywords: {'function': 1, 'constructor': 10, 'destructor': 10, 'procedure': 10}, - contains: [ - { - className: 'title', begin: hljs.IDENT_RE - }, - { - className: 'params', - begin: '\\(', end: '\\)', - keywords: DELPHI_KEYWORDS, - contains: [STRING, CHAR_STRING] - }, - CURLY_COMMENT, PAREN_COMMENT - ] - }; - return { - case_insensitive: true, - defaultMode: { - keywords: DELPHI_KEYWORDS, - illegal: '("|\\$[G-Zg-z]|\\/\\*| -*/ - -hljs.LANGUAGES.diff = { - case_insensitive: true, - defaultMode: { - contains: [ - { - className: 'chunk', - begin: '^\\@\\@ +\\-\\d+,\\d+ +\\+\\d+,\\d+ +\\@\\@$', - relevance: 10 - }, - { - className: 'chunk', - begin: '^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$', - relevance: 10 - }, - { - className: 'chunk', - begin: '^\\-\\-\\- +\\d+,\\d+ +\\-\\-\\-\\-$', - relevance: 10 - }, - { - className: 'header', - begin: 'Index: ', end: '$' - }, - { - className: 'header', - begin: '=====', end: '=====$' - }, - { - className: 'header', - begin: '^\\-\\-\\-', end: '$' - }, - { - className: 'header', - begin: '^\\*{3} ', end: '$' - }, - { - className: 'header', - begin: '^\\+\\+\\+', end: '$' - }, - { - className: 'header', - begin: '\\*{5}', end: '\\*{5}$' - }, - { - className: 'addition', - begin: '^\\+', end: '$' - }, - { - className: 'deletion', - begin: '^\\-', end: '$' - }, - { - className: 'change', - begin: '^\\!', end: '$' - } - ] - } -}; diff --git a/html/languages/django.js b/html/languages/django.js deleted file mode 100644 index b566503d..00000000 --- a/html/languages/django.js +++ /dev/null @@ -1,72 +0,0 @@ -/* -Language: Django -Requires: xml.js -*/ - -hljs.LANGUAGES.django = function() { - - function allowsDjangoSyntax(mode, parent) { - return ( - parent == undefined || // defaultMode - (!mode.className && parent.className == 'tag') || // tag_internal - mode.className == 'value' // value - ); - } - - function copy(mode, parent) { - var result = {}; - for (var key in mode) { - if (key != 'contains') { - result[key] = mode[key]; - }; - var contains = []; - for (var i = 0; mode.contains && i < mode.contains.length; i++) { - contains.push(copy(mode.contains[i], mode)); - } - if (allowsDjangoSyntax(mode, parent)) { - contains = DJANGO_CONTAINS.concat(contains); - } - if (contains.length) { - result.contains = contains; - } - } - return result; - } - - var FILTER = { - className: 'filter', - begin: '\\|[A-Za-z]+\\:?', excludeEnd: true, - keywords: {'truncatewords': 1, 'removetags': 1, 'linebreaksbr': 1, 'yesno': 1, 'get_digit': 1, 'timesince': 1, 'random': 1, 'striptags': 1, 'filesizeformat': 1, 'escape': 1, 'linebreaks': 1, 'length_is': 1, 'ljust': 1, 'rjust': 1, 'cut': 1, 'urlize': 1, 'fix_ampersands': 1, 'title': 1, 'floatformat': 1, 'capfirst': 1, 'pprint': 1, 'divisibleby': 1, 'add': 1, 'make_list': 1, 'unordered_list': 1, 'urlencode': 1, 'timeuntil': 1, 'urlizetrunc': 1, 'wordcount': 1, 'stringformat': 1, 'linenumbers': 1, 'slice': 1, 'date': 1, 'dictsort': 1, 'dictsortreversed': 1, 'default_if_none': 1, 'pluralize': 1, 'lower': 1, 'join': 1, 'center': 1, 'default': 1, 'truncatewords_html': 1, 'upper': 1, 'length': 1, 'phone2numeric': 1, 'wordwrap': 1, 'time': 1, 'addslashes': 1, 'slugify': 1, 'first': 1}, - contains: [ - {className: 'argument', begin: '"', end: '"'} - ] - }; - - var DJANGO_CONTAINS = [ - { - className: 'template_comment', - begin: '{%\\s*comment\\s*%}', end: '{%\\s*endcomment\\s*%}' - }, - { - className: 'template_comment', - begin: '{#', end: '#}' - }, - { - className: 'template_tag', - begin: '{%', end: '%}', - keywords: {'comment': 1, 'endcomment': 1, 'load': 1, 'templatetag': 1, 'ifchanged': 1, 'endifchanged': 1, 'if': 1, 'endif': 1, 'firstof': 1, 'for': 1, 'endfor': 1, 'in': 1, 'ifnotequal': 1, 'endifnotequal': 1, 'widthratio': 1, 'extends': 1, 'include': 1, 'spaceless': 1, 'endspaceless': 1, 'regroup': 1, 'by': 1, 'as': 1, 'ifequal': 1, 'endifequal': 1, 'ssi': 1, 'now': 1, 'with': 1, 'cycle': 1, 'url': 1, 'filter': 1, 'endfilter': 1, 'debug': 1, 'block': 1, 'endblock': 1, 'else': 1}, - contains: [FILTER] - }, - { - className: 'variable', - begin: '{{', end: '}}', - contains: [FILTER] - } - ]; - - return { - case_insensitive: true, - defaultMode: copy(hljs.LANGUAGES.xml.defaultMode) - }; - -}(); diff --git a/html/languages/dos.js b/html/languages/dos.js deleted file mode 100644 index 56738c35..00000000 --- a/html/languages/dos.js +++ /dev/null @@ -1,29 +0,0 @@ -/* -Language: DOS .bat -Author: Alexander Makarov (http://rmcreative.ru/) -*/ - -hljs.LANGUAGES.dos = { - case_insensitive: true, - defaultMode: { - keywords: { - 'flow': {'if':1, 'else':1, 'goto':1, 'for':1, 'in':1, 'do':1, 'call':1, 'exit':1, 'not':1, 'exist':1, 'errorlevel':1, 'defined':1, 'equ':1, 'neq':1, 'lss':1, 'leq':1, 'gtr':1, 'geq':1}, - 'keyword':{'shift':1, 'cd':1, 'dir':1, 'echo':1, 'setlocal':1, 'endlocal':1, 'set':1, 'pause':1, 'copy':1}, - 'stream':{'prn':1, 'nul':1, 'lpt3':1, 'lpt2':1, 'lpt1':1, 'con':1, 'com4':1, 'com3':1, 'com2':1, 'com1':1, 'aux':1}, - 'winutils':{'ping':1, 'net':1, 'ipconfig':1, 'taskkill':1, 'xcopy':1, 'ren':1, 'del':1} - }, - contains: [ - { - className: 'envvar', begin: '%[^ ]+?%' - }, - { - className: 'number', begin: '\\b\\d+', - relevance: 0 - }, - { - className: 'comment', - begin: '@?rem', end: '$' - } - ] - } -}; diff --git a/html/languages/erlang-repl.js b/html/languages/erlang-repl.js deleted file mode 100644 index d8b249b7..00000000 --- a/html/languages/erlang-repl.js +++ /dev/null @@ -1,81 +0,0 @@ -/* - Language: Erlang REPL - Author: Sergey Ignatov - */ - -hljs.LANGUAGES.erlang_repl = { - defaultMode: { - keywords: { - 'special_functions':{ - 'spawn':10, - 'spawn_link':10, - 'self':2 - }, - 'reserved':{ - 'after':1, - 'and':1, - 'andalso':5, - 'band':1, - 'begin':1, - 'bnot':1, - 'bor':1, - 'bsl':1, - 'bsr':1, - 'bxor':1, - 'case':1, - 'catch':0, - 'cond':1, - 'div':1, - 'end':1, - 'fun':0, - 'if':0, - 'let':1, - 'not':0, - 'of':1, - 'or':1, - 'orelse':5, - 'query':1, - 'receive':0, - 'rem':1, - 'try':0, - 'when':1, - 'xor':1 - } - }, - contains: [ - { - className: 'input_number', begin: '^[0-9]+> ', - relevance: 10 - }, - { - className: 'comment', - begin: '%', end: '$' - }, - hljs.NUMBER_MODE, - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - { - className: 'constant', begin: '\\?(::)?([A-Z]\\w*(::)?)+' - }, - { - className: 'arrow', begin: '->' - }, - { - className: 'ok', begin: 'ok' - }, - { - className: 'exclamation_mark', begin: '!' - }, - { - className: 'function_or_atom', - begin: '(\\b[a-z\'][a-zA-Z0-9_\']*:[a-z\'][a-zA-Z0-9_\']*)|(\\b[a-z\'][a-zA-Z0-9_\']*)', - relevance: 0 - }, - { - className: 'variable', - begin: '[A-Z][a-zA-Z0-9_\']*', - relevance: 0 - } - ] - } -}; diff --git a/html/languages/erlang.js b/html/languages/erlang.js deleted file mode 100644 index 4f55192d..00000000 --- a/html/languages/erlang.js +++ /dev/null @@ -1,201 +0,0 @@ -/* -Language: Erlang -Description: Erlang is a general-purpose functional language, with strict evaluation, single assignment, and dynamic typing. -Author: Nikolay Zakharov , Dmitry Kovega -*/ - -hljs.LANGUAGES.erlang = function(){ - var BASIC_ATOM_RE = '[a-z\'][a-zA-Z0-9_\']*'; - var FUNCTION_NAME_RE = '(' + BASIC_ATOM_RE + ':' + BASIC_ATOM_RE + '|' + BASIC_ATOM_RE + ')'; - var ERLANG_RESERVED = { - 'keyword': { - 'after': 1, - 'and': 1, - 'andalso': 10, - 'band': 1, - 'begin': 1, - 'bnot': 1, - 'bor': 1, - 'bsl': 1, - 'bzr': 1, - 'bxor': 1, - 'case': 1, - 'catch': 1, - 'cond': 1, - 'div': 1, - 'end': 1, - 'fun': 1, - 'let': 1, - 'not': 1, - 'of': 1, - 'orelse': 10, - 'query': 1, - 'receive': 1, - 'rem': 1, - 'try': 1, - 'when': 1, - 'xor': 1 - }, - 'literal': {'false': 1, 'true': 1} - }; - - var COMMENT = { - className: 'comment', - begin: '%', end: '$', - relevance: 0 - }; - var NAMED_FUN = { - begin: 'fun\\s+' + BASIC_ATOM_RE + '/\\d+' - }; - var FUNCTION_CALL = { - begin: FUNCTION_NAME_RE + '\\(', end: '\\)', - returnBegin: true, - relevance: 0, - contains: [ - { - className: 'function_name', begin: FUNCTION_NAME_RE, - relevance: 0 - }, - { - begin: '\\(', end: '\\)', endsWithParent: true, - returnEnd: true, - relevance: 0 - // "contains" defined later - } - ] - }; - var TUPLE = { - className: 'tuple', - begin: '{', end: '}', - relevance: 0 - // "contains" defined later - }; - var VAR1 = { - className: 'variable', - begin: '\\b_([A-Z][A-Za-z0-9_]*)?', - relevance: 0 - }; - var VAR2 = { - className: 'variable', - begin: '[A-Z][a-zA-Z0-9_]*', - relevance: 0 - }; - var RECORD_ACCESS = { - begin: '#', end: '}', - illegal: '.', - relevance: 0, - returnBegin: true, - contains: [ - { - className: 'record_name', - begin: '#' + hljs.UNDERSCORE_IDENT_RE, - relevance: 0 - }, - { - begin: '{', endsWithParent: true, - relevance: 0 - // "contains" defined later - } - ] - }; - - var BLOCK_STATEMENTS = { - keywords: ERLANG_RESERVED, - begin: '(fun|receive|if|try|case)', end: 'end' - }; - BLOCK_STATEMENTS.contains = [ - COMMENT, - NAMED_FUN, - hljs.inherit(hljs.APOS_STRING_MODE, {className: ''}), - BLOCK_STATEMENTS, - FUNCTION_CALL, - hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE, - TUPLE, - VAR1, VAR2, - RECORD_ACCESS - ]; - - var BASIC_MODES = [ - COMMENT, - NAMED_FUN, - BLOCK_STATEMENTS, - FUNCTION_CALL, - hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE, - TUPLE, - VAR1, VAR2, - RECORD_ACCESS - ]; - FUNCTION_CALL.contains[1].contains = BASIC_MODES; - TUPLE.contains = BASIC_MODES; - RECORD_ACCESS.contains[1].contains = BASIC_MODES; - - var PARAMS = { - className: 'params', - begin: '\\(', end: '\\)', - endsWithParent: true, - contains: BASIC_MODES - }; - return { - defaultMode: { - keywords: ERLANG_RESERVED, - illegal: '(', endsWithParent: true, - contains: BASIC_MODES - } - ] - }, - COMMENT, - { - className: 'pp', - begin: '^-', end: '\\.', - relevance: 0, - excludeEnd: true, - returnBegin: true, - lexems: '-' + hljs.IDENT_RE, - keywords: { - '-module':1, - '-record':1, - '-undef':1, - '-export':1, - '-ifdef':1, - '-ifndef':1, - '-author':1, - '-copyright':1, - '-doc':1, - '-vsn':1, - '-import': 1, - '-include': 1, - '-include_lib': 1, - '-compile': 1, - '-define': 1, - '-else': 1, - '-endif': 1, - '-file': 1, - '-behaviour': 1, - '-behavior': 1 - }, - contains: [PARAMS] - }, - hljs.C_NUMBER_MODE, - hljs.QUOTE_STRING_MODE, - RECORD_ACCESS, - VAR1, VAR2, - TUPLE - ] - } - }; -}(); diff --git a/html/languages/go.js b/html/languages/go.js deleted file mode 100644 index 16db3444..00000000 --- a/html/languages/go.js +++ /dev/null @@ -1,58 +0,0 @@ -/* -Language: Go -Author: Stephan Kountso aka StepLg -Description: Google go language (golang). For info about language see http://golang.org/ -*/ - -hljs.LANGUAGES.go = function(){ - var GO_KEYWORDS = { - 'keyword': { - 'break' : 1, 'default' : 1, 'func' : 1, 'interface' : 1, 'select' : 1, - 'case' : 1, 'map' : 1, 'struct' : 1, 'chan' : 1, - 'else' : 1, 'goto' : 1, 'package' : 1, 'switch' : 1, 'const' : 1, - 'fallthrough' : 1, 'if' : 1, 'range' : 1, 'type' : 1, 'continue' : 1, - 'for' : 1, 'import' : 1, 'return' : 1, 'var' : 1, 'go': 1, 'defer' : 1 - }, - 'constant': { - 'true': 1, 'false': 1, 'iota': 1, 'nil': 1 - }, - 'typename': { - 'bool': 1, 'byte': 1, 'complex64': 1, 'complex128': 1, 'float32': 1, - 'float64': 1, 'int8': 1, 'int16': 1, 'int32': 1, 'int64': 1, 'string': 1, - 'uint8': 1, 'uint16': 1, 'uint32': 1, 'uint64': 1, 'int': 1, 'uint': 1, - 'uintptr': 1 - }, - 'built_in': { - 'append': 1, 'cap': 1, 'close': 1, 'complex': 1, 'copy': 1, 'imag': 1, - 'len': 1, 'make': 1, 'new': 1, 'panic': 1, 'print': 1, 'println': 1, - 'real': 1, 'recover': 1 - } - }; - return { - defaultMode: { - keywords: GO_KEYWORDS, - illegal: ' -*/ - -hljs.LANGUAGES.haskell = function(){ - var LABEL = { - className: 'label', - begin: '\\b[A-Z][\\w\']*', - relevance: 0 - }; - var CONTAINER = { - className: 'container', - begin: '\\(', end: '\\)', - contains: [ - {className: 'label', begin: '\\b[A-Z][\\w\\(\\)\\.\']*'}, - {className: 'title', begin: '[_a-z][\\w\']*'} - ] - }; - - return { - defaultMode: { - keywords: { - 'keyword': { - 'let': 1, 'in': 1, 'if': 1, 'then': 1, 'else': 1, 'case': 1, 'of': 1, - 'where': 1, 'do': 1, 'module': 1, 'import': 1, 'hiding': 1, - 'qualified': 1, 'type': 1, 'data': 1, 'newtype': 1, 'deriving': 1, - 'class': 1, 'instance': 1, 'null': 1, 'not': 1, 'as': 1 - } - }, - contains: [ - { - className: 'comment', - begin: '--', end: '$' - }, - { - className: 'comment', - begin: '{-', end: '-}' - }, - { - className: 'string', - begin: '\\s+\'', end: '\'', - contains: [hljs.BACKSLASH_ESCAPE], - relevance: 0 - }, - hljs.QUOTE_STRING_MODE, - { - className: 'import', - begin: '\\bimport', end: '$', - keywords: {'import': 1, 'qualified': 1, 'as': 1, 'hiding': 1}, - contains: [CONTAINER] - }, - { - className: 'module', - begin: '\\bmodule', end: 'where', - keywords: {'module': 1, 'where': 1}, - contains: [CONTAINER] - }, - { - className: 'class', - begin: '\\b(class|instance|data|(new)?type)', end: '(where|$)', - keywords: {'class': 1, 'where': 1, 'instance': 1,'data': 1,'type': 1,'newtype': 1, 'deriving': 1}, - contains: [LABEL] - }, - hljs.C_NUMBER_MODE, - { - className: 'shebang', - begin: '#!\\/usr\\/bin\\/env\ runhaskell', end: '$' - }, - LABEL, - { - className: 'title', begin: '^[_a-z][\\w\']*' - } - ] - } - }; -}(); diff --git a/html/languages/ini.js b/html/languages/ini.js deleted file mode 100644 index b68251f1..00000000 --- a/html/languages/ini.js +++ /dev/null @@ -1,32 +0,0 @@ -/* -Language: Ini -*/ - -hljs.LANGUAGES.ini = { - case_insensitive: true, - defaultMode: { - illegal: '[^\\s]', - contains: [ - { - className: 'comment', - begin: ';', end: '$' - }, - { - className: 'title', - begin: '^\\[', end: '\\]' - }, - { - className: 'setting', - begin: '^[a-z0-9_\\[\\]]+[ \\t]*=[ \\t]*', end: '$', - contains: [ - { - className: 'value', - endsWithParent: true, - keywords: {'on': 1, 'off': 1, 'true': 1, 'false': 1, 'yes': 1, 'no': 1}, - contains: [hljs.QUOTE_STRING_MODE, hljs.NUMBER_MODE] - } - ] - } - ] - } -}; diff --git a/html/languages/java.js b/html/languages/java.js deleted file mode 100644 index 2f0a6271..00000000 --- a/html/languages/java.js +++ /dev/null @@ -1,45 +0,0 @@ -/* -Language: Java -Author: Vsevolod Solovyov -*/ - -hljs.LANGUAGES.java = { - defaultMode: { - keywords: {'false': 1, 'synchronized': 1, 'int': 1, 'abstract': 1, 'float': 1, 'private': 1, 'char': 1, 'interface': 1, 'boolean': 1, 'static': 1, 'null': 1, 'if': 1, 'const': 1, 'for': 1, 'true': 1, 'while': 1, 'long': 1, 'throw': 1, 'strictfp': 1, 'finally': 1, 'protected': 1, 'extends': 1, 'import': 1, 'native': 1, 'final': 1, 'implements': 1, 'return': 1, 'void': 1, 'enum': 1, 'else': 1, 'break': 1, 'transient': 1, 'new': 1, 'catch': 1, 'instanceof': 1, 'byte': 1, 'super': 1, 'class': 1, 'volatile': 1, 'case': 1, 'assert': 1, 'short': 1, 'package': 1, 'default': 1, 'double': 1, 'public': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'throws': 1}, - contains: [ - { - className: 'javadoc', - begin: '/\\*\\*', end: '\\*/', - contains: [{ - className: 'javadoctag', begin: '@[A-Za-z]+' - }], - relevance: 10 - }, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE, - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - { - className: 'class', - begin: '(class |interface )', end: '{', - keywords: {'class': 1, 'interface': 1}, - illegal: ':', - contains: [ - { - begin: '(implements|extends)', - keywords: {'extends': 1, 'implements': 1}, - relevance: 10 - }, - { - className: 'title', - begin: hljs.UNDERSCORE_IDENT_RE - } - ] - }, - hljs.C_NUMBER_MODE, - { - className: 'annotation', begin: '@[A-Za-z]+' - } - ] - } -}; diff --git a/html/languages/javascript.js b/html/languages/javascript.js deleted file mode 100644 index 48d32f38..00000000 --- a/html/languages/javascript.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -Language: Javascript -*/ - -hljs.LANGUAGES.javascript = { - defaultMode: { - keywords: { - 'keyword': {'in': 1, 'if': 1, 'for': 1, 'while': 1, 'finally': 1, 'var': 1, 'new': 1, 'function': 1, 'do': 1, 'return': 1, 'void': 1, 'else': 1, 'break': 1, 'catch': 1, 'instanceof': 1, 'with': 1, 'throw': 1, 'case': 1, 'default': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'typeof': 1, 'delete': 1}, - 'literal': {'true': 1, 'false': 1, 'null': 1} - }, - contains: [ - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE, - hljs.C_NUMBER_MODE, - { // regexp container - begin: '(' + hljs.RE_STARTERS_RE + '|case|return|throw)\\s*', - keywords: {'return': 1, 'throw': 1, 'case': 1}, - contains: [ - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE, - { - className: 'regexp', - begin: '/', end: '/[gim]*', - contains: [{begin: '\\\\/'}] - } - ], - relevance: 0 - }, - { - className: 'function', - begin: '\\bfunction\\b', end: '{', - keywords: {'function': 1}, - contains: [ - { - className: 'title', begin: '[A-Za-z$_][0-9A-Za-z$_]*' - }, - { - className: 'params', - begin: '\\(', end: '\\)', - contains: [ - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE - ] - } - ] - } - ] - } -}; diff --git a/html/languages/lisp.js b/html/languages/lisp.js deleted file mode 100644 index 59e0ed80..00000000 --- a/html/languages/lisp.js +++ /dev/null @@ -1,87 +0,0 @@ -/* -Language: Lisp -Description: Generic lisp syntax -Author: Vasily Polovnyov -*/ - -hljs.LANGUAGES.lisp = function(){ - var LISP_IDENT_RE = '[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#]*'; - var LISP_SIMPLE_NUMBER_RE = '(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s)(\\+|\\-)?\\d+)?'; - var LITERAL = { - className: 'literal', - begin: '\\b(t{1}|nil)\\b' - }; - var NUMBER1 = { - className: 'number', begin: LISP_SIMPLE_NUMBER_RE - }; - var NUMBER2 = { - className: 'number', begin: '#b[0-1]+(/[0-1]+)?' - }; - var NUMBER3 = { - className: 'number', begin: '#o[0-7]+(/[0-7]+)?' - }; - var NUMBER4 = { - className: 'number', begin: '#x[0-9a-f]+(/[0-9a-f]+)?' - }; - var NUMBER5 = { - className: 'number', begin: '#c\\(' + LISP_SIMPLE_NUMBER_RE + ' +' + LISP_SIMPLE_NUMBER_RE, end: '\\)' - }; - var STRING = { - className: 'string', - begin: '"', end: '"', - contains: [hljs.BACKSLASH_ESCAPE], - relevance: 0 - }; - var COMMENT = { - className: 'comment', - begin: ';', end: '$' - }; - var VARIABLE = { - className: 'variable', - begin: '\\*', end: '\\*' - }; - var KEYWORD = { - className: 'keyword', - begin: '[:&]' + LISP_IDENT_RE - }; - var QUOTED_LIST = { - begin: '\\(', end: '\\)' - }; - QUOTED_LIST.contains = [QUOTED_LIST, LITERAL, NUMBER1, NUMBER2, NUMBER3, NUMBER4, NUMBER5, STRING]; - var QUOTED1 = { - className: 'quoted', - begin: '[\'`]\\(', end: '\\)', - contains: [NUMBER1, NUMBER2, NUMBER3, NUMBER4, NUMBER5, STRING, VARIABLE, KEYWORD, QUOTED_LIST] - }; - var QUOTED2 = { - className: 'quoted', - begin: '\\(quote ', end: '\\)', - keywords: {'title': {'quote': 1}}, - contains: [NUMBER1, NUMBER2, NUMBER3, NUMBER4, NUMBER5, STRING, VARIABLE, KEYWORD, QUOTED_LIST] - }; - var LIST = { - className: 'list', - begin: '\\(', end: '\\)' - }; - var BODY = { - className: 'body', - endsWithParent: true, excludeEnd: true - }; - LIST.contains = [{className: 'title', begin: LISP_IDENT_RE}, BODY]; - BODY.contains = [QUOTED1, QUOTED2, LIST, LITERAL, NUMBER1, NUMBER2, NUMBER3, NUMBER4, NUMBER5, STRING, COMMENT, VARIABLE, KEYWORD]; - - return { - case_insensitive: true, - defaultMode: { - illegal: '[^\\s]', - contains: [ - LITERAL, - NUMBER1, NUMBER2, NUMBER3, NUMBER4, NUMBER5, - STRING, - COMMENT, - QUOTED1, QUOTED2, - LIST - ] - } - }; -}(); diff --git a/html/languages/lua.js b/html/languages/lua.js deleted file mode 100644 index 8e2ececc..00000000 --- a/html/languages/lua.js +++ /dev/null @@ -1,75 +0,0 @@ -/* -Language: Lua -Author: Andrew Fedorov -*/ - -hljs.LANGUAGES.lua = function() { - var OPENING_LONG_BRACKET = '\\[=*\\['; - var CLOSING_LONG_BRACKET = '\\]=*\\]'; - var LONG_BRACKETS = { - begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET - }; - LONG_BRACKETS.contains = [LONG_BRACKETS]; - var COMMENT1 = { - className: 'comment', - begin: '--(?!' + OPENING_LONG_BRACKET + ')', end: '$' - }; - var COMMENT2 = { - className: 'comment', - begin: '--' + OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET, - contains: [LONG_BRACKETS], - relevance: 10 - }; - return { - defaultMode: { - lexems: hljs.UNDERSCORE_IDENT_RE, - keywords: { - 'keyword': { - 'and': 1, 'break': 1, 'do': 1, 'else': 1, 'elseif': 1, 'end': 1, - 'false': 1, 'for': 1, 'if': 1, 'in': 1, 'local': 1, 'nil': 1, - 'not': 1, 'or': 1, 'repeat': 1, 'return': 1, 'then': 1, 'true': 1, - 'until': 1, 'while': 1 - }, - 'built_in': { - '_G': 1, '_VERSION': 1, 'assert': 1, 'collectgarbage': 1, 'dofile': 1, - 'error': 1, 'getfenv': 1, 'getmetatable': 1, 'ipairs': 1, 'load': 1, - 'loadfile': 1, 'loadstring': 1, 'module': 1, 'next': 1, 'pairs': 1, - 'pcall': 1, 'print': 1, 'rawequal': 1, 'rawget': 1, 'rawset': 1, - 'require': 1, 'select': 1, 'setfenv': 1, 'setmetatable': 1, - 'tonumber': 1, 'tostring': 1, 'type': 1, 'unpack': 1, 'xpcall': 1, - 'coroutine': 1, 'debug': 1, 'io': 1, 'math': 1, 'os': 1, 'package': 1, - 'string': 1, 'table': 1 - } - }, - contains: [ - COMMENT1, COMMENT2, - { - className: 'function', - begin: '\\bfunction\\b', end: '\\)', - keywords: {'function': 1}, - contains: [ - { - className: 'title', - begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*' - }, - { - className: 'params', - begin: '\\(', endsWithParent: true, - contains: [COMMENT1, COMMENT2] - }, - COMMENT1, COMMENT2 - ] - }, - hljs.C_NUMBER_MODE, - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - { - className: 'string', - begin: OPENING_LONG_BRACKET, end: CLOSING_LONG_BRACKET, - contains: [LONG_BRACKETS], - relevance: 10 - } - ] - } - }; -}(); diff --git a/html/languages/mel.js b/html/languages/mel.js deleted file mode 100644 index 146e858c..00000000 --- a/html/languages/mel.js +++ /dev/null @@ -1,40 +0,0 @@ -/* -Language: MEL -Description: Maya Embedded Language -Author: Shuen-Huei Guan -*/ - -hljs.LANGUAGES.mel = { - defaultMode: { - keywords: { - 'int': 1, 'float': 1, 'string': 1, 'float': 1, 'vector': 1, 'matrix': 1, - 'if': 1, 'else': 1, 'switch': 1, 'case': 1, 'default': 1, 'while': 1, 'do': 1, 'for': 1, 'in': 1, 'break': 1, 'continue': 1, - 'exists': 1, 'objExists': 1, 'attributeExists': 1, - 'global': 1, 'proc': 1, 'return': 1, - 'error': 1, 'warning': 1, 'trace': 1, 'catch': 1, - 'about': 1, 'abs': 1, 'addAttr': 1, 'addAttributeEditorNodeHelp': 1, 'addDynamic': 1, 'addNewShelfTab': 1, 'addPP': 1, 'addPanelCategory': 1, 'addPrefixToName': 1, 'advanceToNextDrivenKey': 1, 'affectedNet': 1, 'affects': 1, 'aimConstraint': 1, 'air': 1, 'alias': 1, 'aliasAttr': 1, 'align': 1, 'alignCtx': 1, 'alignCurve': 1, 'alignSurface': 1, 'allViewFit': 1, 'ambientLight': 1, 'angle': 1, 'angleBetween': 1, 'animCone': 1, 'animCurveEditor': 1, 'animDisplay': 1, 'animView': 1, 'annotate': 1, 'appendStringArray': 1, 'applicationName': 1, 'applyAttrPreset': 1, 'applyTake': 1, 'arcLenDimContext': 1, 'arcLengthDimension': 1, 'arclen': 1, 'arrayMapper': 1, 'art3dPaintCtx': 1, 'artAttrCtx': 1, 'artAttrPaintVertexCtx': 1, 'artAttrSkinPaintCtx': 1, 'artAttrTool': 1, 'artBuildPaintMenu': 1, 'artFluidAttrCtx': 1, 'artPuttyCtx': 1, 'artSelectCtx': 1, 'artSetPaintCtx': 1, 'artUserPaintCtx': 1, 'assignCommand': 1, 'assignInputDevice': 1, 'assignViewportFactories': 1, 'attachCurve': 1, 'attachDeviceAttr': 1, 'attachSurface': 1, 'attrColorSliderGrp': 1, 'attrCompatibility': 1, 'attrControlGrp': 1, 'attrEnumOptionMenu': 1, 'attrEnumOptionMenuGrp': 1, 'attrFieldGrp': 1, 'attrFieldSliderGrp': 1, 'attrNavigationControlGrp': 1, 'attrPresetEditWin': 1, 'attributeExists': 1, 'attributeInfo': 1, 'attributeMenu': 1, 'attributeQuery': 1, 'autoKeyframe': 1, 'autoPlace': 1, 'bakeClip': 1, 'bakeFluidShading': 1, 'bakePartialHistory': 1, 'bakeResults': 1, 'bakeSimulation': 1, 'basename': 1, 'basenameEx': 1, 'batchRender': 1, 'bessel': 1, 'bevel': 1, 'bevelPlus': 1, 'binMembership': 1, 'bindSkin': 1, 'blend2': 1, 'blendShape': 1, 'blendShapeEditor': 1, 'blendShapePanel': 1, 'blendTwoAttr': 1, 'blindDataType': 1, 'boneLattice': 1, 'boundary': 1, 'boxDollyCtx': 1, 'boxZoomCtx': 1, 'bufferCurve': 1, 'buildBookmarkMenu': 1, 'buildKeyframeMenu': 1, 'button': 1, 'buttonManip': 1, 'CBG': 1, 'cacheFile': 1, 'cacheFileCombine': 1, 'cacheFileMerge': 1, 'cacheFileTrack': 1, 'camera': 1, 'cameraView': 1, 'canCreateManip': 1, 'canvas': 1, 'capitalizeString': 1, 'catch': 1, 'catchQuiet': 1, 'ceil': 1, 'changeSubdivComponentDisplayLevel': 1, 'changeSubdivRegion': 1, 'channelBox': 1, 'character': 1, 'characterMap': 1, 'characterOutlineEditor': 1, 'characterize': 1, 'chdir': 1, 'checkBox': 1, 'checkBoxGrp': 1, 'checkDefaultRenderGlobals': 1, 'choice': 1, 'circle': 1, 'circularFillet': 1, 'clamp': 1, 'clear': 1, 'clearCache': 1, 'clip': 1, 'clipEditor': 1, 'clipEditorCurrentTimeCtx': 1, 'clipSchedule': 1, 'clipSchedulerOutliner': 1, 'clipTrimBefore': 1, 'closeCurve': 1, 'closeSurface': 1, 'cluster': 1, 'cmdFileOutput': 1, 'cmdScrollFieldExecuter': 1, 'cmdScrollFieldReporter': 1, 'cmdShell': 1, 'coarsenSubdivSelectionList': 1, 'collision': 1, 'color': 1, 'colorAtPoint': 1, 'colorEditor': 1, 'colorIndex': 1, 'colorIndexSliderGrp': 1, 'colorSliderButtonGrp': 1, 'colorSliderGrp': 1, 'columnLayout': 1, 'commandEcho': 1, 'commandLine': 1, 'commandPort': 1, 'compactHairSystem': 1, 'componentEditor': 1, 'compositingInterop': 1, 'computePolysetVolume': 1, 'condition': 1, 'cone': 1, 'confirmDialog': 1, 'connectAttr': 1, 'connectControl': 1, 'connectDynamic': 1, 'connectJoint': 1, 'connectionInfo': 1, 'constrain': 1, 'constrainValue': 1, 'constructionHistory': 1, 'container': 1, 'containsMultibyte': 1, 'contextInfo': 1, 'control': 1, 'convertFromOldLayers': 1, 'convertIffToPsd': 1, 'convertLightmap': 1, 'convertSolidTx': 1, 'convertTessellation': 1, 'convertUnit': 1, 'copyArray': 1, 'copyFlexor': 1, 'copyKey': 1, 'copySkinWeights': 1, 'cos': 1, 'cpButton': 1, 'cpCache': 1, 'cpClothSet': 1, 'cpCollision': 1, 'cpConstraint': 1, 'cpConvClothToMesh': 1, 'cpForces': 1, 'cpGetSolverAttr': 1, 'cpPanel': 1, 'cpProperty': 1, 'cpRigidCollisionFilter': 1, 'cpSeam': 1, 'cpSetEdit': 1, 'cpSetSolverAttr': 1, 'cpSolver': 1, 'cpSolverTypes': 1, 'cpTool': 1, 'cpUpdateClothUVs': 1, 'createDisplayLayer': 1, 'createDrawCtx': 1, 'createEditor': 1, 'createLayeredPsdFile': 1, 'createMotionField': 1, 'createNewShelf': 1, 'createNode': 1, 'createRenderLayer': 1, 'createSubdivRegion': 1, 'cross': 1, 'crossProduct': 1, 'ctxAbort': 1, 'ctxCompletion': 1, 'ctxEditMode': 1, 'ctxTraverse': 1, 'currentCtx': 1, 'currentTime': 1, 'currentTimeCtx': 1, 'currentUnit': 1, 'currentUnit': 1, 'curve': 1, 'curveAddPtCtx': 1, 'curveCVCtx': 1, 'curveEPCtx': 1, 'curveEditorCtx': 1, 'curveIntersect': 1, 'curveMoveEPCtx': 1, 'curveOnSurface': 1, 'curveSketchCtx': 1, 'cutKey': 1, 'cycleCheck': 1, 'cylinder': 1, 'dagPose': 1, 'date': 1, 'defaultLightListCheckBox': 1, 'defaultNavigation': 1, 'defineDataServer': 1, 'defineVirtualDevice': 1, 'deformer': 1, 'deg_to_rad': 1, 'delete': 1, 'deleteAttr': 1, 'deleteShadingGroupsAndMaterials': 1, 'deleteShelfTab': 1, 'deleteUI': 1, 'deleteUnusedBrushes': 1, 'delrandstr': 1, 'detachCurve': 1, 'detachDeviceAttr': 1, 'detachSurface': 1, 'deviceEditor': 1, 'devicePanel': 1, 'dgInfo': 1, 'dgdirty': 1, 'dgeval': 1, 'dgtimer': 1, 'dimWhen': 1, 'directKeyCtx': 1, 'directionalLight': 1, 'dirmap': 1, 'dirname': 1, 'disable': 1, 'disconnectAttr': 1, 'disconnectJoint': 1, 'diskCache': 1, 'displacementToPoly': 1, 'displayAffected': 1, 'displayColor': 1, 'displayCull': 1, 'displayLevelOfDetail': 1, 'displayPref': 1, 'displayRGBColor': 1, 'displaySmoothness': 1, 'displayStats': 1, 'displayString': 1, 'displaySurface': 1, 'distanceDimContext': 1, 'distanceDimension': 1, 'doBlur': 1, 'dolly': 1, 'dollyCtx': 1, 'dopeSheetEditor': 1, 'dot': 1, 'dotProduct': 1, 'doubleProfileBirailSurface': 1, 'drag': 1, 'dragAttrContext': 1, 'draggerContext': 1, 'dropoffLocator': 1, 'duplicate': 1, 'duplicateCurve': 1, 'duplicateSurface': 1, 'dynCache': 1, 'dynControl': 1, 'dynExport': 1, 'dynExpression': 1, 'dynGlobals': 1, 'dynPaintEditor': 1, 'dynParticleCtx': 1, 'dynPref': 1, 'dynRelEdPanel': 1, 'dynRelEditor': 1, 'dynamicLoad': 1, 'editAttrLimits': 1, 'editDisplayLayerGlobals': 1, 'editDisplayLayerMembers': 1, 'editRenderLayerAdjustment': 1, 'editRenderLayerGlobals': 1, 'editRenderLayerMembers': 1, 'editor': 1, 'editorTemplate': 1, 'effector': 1, 'emit': 1, 'emitter': 1, 'enableDevice': 1, 'encodeString': 1, 'endString': 1, 'endsWith': 1, 'env': 1, 'equivalent': 1, 'equivalentTol': 1, 'erf': 1, 'error': 1, 'eval': 1, 'eval': 1, 'evalDeferred': 1, 'evalEcho': 1, 'event': 1, 'exactWorldBoundingBox': 1, 'exclusiveLightCheckBox': 1, 'exec': 1, 'executeForEachObject': 1, 'exists': 1, 'exp': 1, 'expression': 1, 'expressionEditorListen': 1, 'extendCurve': 1, 'extendSurface': 1, 'extrude': 1, 'fcheck': 1, 'fclose': 1, 'feof': 1, 'fflush': 1, 'fgetline': 1, 'fgetword': 1, 'file': 1, 'fileBrowserDialog': 1, 'fileDialog': 1, 'fileExtension': 1, 'fileInfo': 1, 'filetest': 1, 'filletCurve': 1, 'filter': 1, 'filterCurve': 1, 'filterExpand': 1, 'filterStudioImport': 1, 'findAllIntersections': 1, 'findAnimCurves': 1, 'findKeyframe': 1, 'findMenuItem': 1, 'findRelatedSkinCluster': 1, 'finder': 1, 'firstParentOf': 1, 'fitBspline': 1, 'flexor': 1, 'floatEq': 1, 'floatField': 1, 'floatFieldGrp': 1, 'floatScrollBar': 1, 'floatSlider': 1, 'floatSlider2': 1, 'floatSliderButtonGrp': 1, 'floatSliderGrp': 1, 'floor': 1, 'flow': 1, 'fluidCacheInfo': 1, 'fluidEmitter': 1, 'fluidVoxelInfo': 1, 'flushUndo': 1, 'fmod': 1, 'fontDialog': 1, 'fopen': 1, 'formLayout': 1, 'format': 1, 'fprint': 1, 'frameLayout': 1, 'fread': 1, 'freeFormFillet': 1, 'frewind': 1, 'fromNativePath': 1, 'fwrite': 1, 'gamma': 1, 'gauss': 1, 'geometryConstraint': 1, 'getApplicationVersionAsFloat': 1, 'getAttr': 1, 'getClassification': 1, 'getDefaultBrush': 1, 'getFileList': 1, 'getFluidAttr': 1, 'getInputDeviceRange': 1, 'getMayaPanelTypes': 1, 'getModifiers': 1, 'getPanel': 1, 'getParticleAttr': 1, 'getPluginResource': 1, 'getenv': 1, 'getpid': 1, 'glRender': 1, 'glRenderEditor': 1, 'globalStitch': 1, 'gmatch': 1, 'goal': 1, 'gotoBindPose': 1, 'grabColor': 1, 'gradientControl': 1, 'gradientControlNoAttr': 1, 'graphDollyCtx': 1, 'graphSelectContext': 1, 'graphTrackCtx': 1, 'gravity': 1, 'grid': 1, 'gridLayout': 1, 'group': 1, 'groupObjectsByName': 1, 'HfAddAttractorToAS': 1, 'HfAssignAS': 1, 'HfBuildEqualMap': 1, 'HfBuildFurFiles': 1, 'HfBuildFurImages': 1, 'HfCancelAFR': 1, 'HfConnectASToHF': 1, 'HfCreateAttractor': 1, 'HfDeleteAS': 1, 'HfEditAS': 1, 'HfPerformCreateAS': 1, 'HfRemoveAttractorFromAS': 1, 'HfSelectAttached': 1, 'HfSelectAttractors': 1, 'HfUnAssignAS': 1, 'hardenPointCurve': 1, 'hardware': 1, 'hardwareRenderPanel': 1, 'headsUpDisplay': 1, 'headsUpMessage': 1, 'help': 1, 'helpLine': 1, 'hermite': 1, 'hide': 1, 'hilite': 1, 'hitTest': 1, 'hotBox': 1, 'hotkey': 1, 'hotkeyCheck': 1, 'hsv_to_rgb': 1, 'hudButton': 1, 'hudSlider': 1, 'hudSliderButton': 1, 'hwReflectionMap': 1, 'hwRender': 1, 'hwRenderLoad': 1, 'hyperGraph': 1, 'hyperPanel': 1, 'hyperShade': 1, 'hypot': 1, 'iconTextButton': 1, 'iconTextCheckBox': 1, 'iconTextRadioButton': 1, 'iconTextRadioCollection': 1, 'iconTextScrollList': 1, 'iconTextStaticLabel': 1, 'ikHandle': 1, 'ikHandleCtx': 1, 'ikHandleDisplayScale': 1, 'ikSolver': 1, 'ikSplineHandleCtx': 1, 'ikSystem': 1, 'ikSystemInfo': 1, 'ikfkDisplayMethod': 1, 'illustratorCurves': 1, 'image': 1, 'imfPlugins': 1, 'inheritTransform': 1, 'insertJoint': 1, 'insertJointCtx': 1, 'insertKeyCtx': 1, 'insertKnotCurve': 1, 'insertKnotSurface': 1, 'instance': 1, 'instanceable': 1, 'instancer': 1, 'intField': 1, 'intFieldGrp': 1, 'intScrollBar': 1, 'intSlider': 1, 'intSliderGrp': 1, 'interToUI': 1, 'internalVar': 1, 'intersect': 1, 'iprEngine': 1, 'isAnimCurve': 1, 'isConnected': 1, 'isDirty': 1, 'isParentOf': 1, 'isSameObject': 1, 'isTrue': 1, 'isValidObjectName': 1, 'isValidString': 1, 'isValidUiName': 1, 'isolateSelect': 1, 'itemFilter': 1, 'itemFilterAttr': 1, 'itemFilterRender': 1, 'itemFilterType': 1, 'joint': 1, 'jointCluster': 1, 'jointCtx': 1, 'jointDisplayScale': 1, 'jointLattice': 1, 'keyTangent': 1, 'keyframe': 1, 'keyframeOutliner': 1, 'keyframeRegionCurrentTimeCtx': 1, 'keyframeRegionDirectKeyCtx': 1, 'keyframeRegionDollyCtx': 1, 'keyframeRegionInsertKeyCtx': 1, 'keyframeRegionMoveKeyCtx': 1, 'keyframeRegionScaleKeyCtx': 1, 'keyframeRegionSelectKeyCtx': 1, 'keyframeRegionSetKeyCtx': 1, 'keyframeRegionTrackCtx': 1, 'keyframeStats': 1, 'lassoContext': 1, 'lattice': 1, 'latticeDeformKeyCtx': 1, 'launch': 1, 'launchImageEditor': 1, 'layerButton': 1, 'layeredShaderPort': 1, 'layeredTexturePort': 1, 'layout': 1, 'layoutDialog': 1, 'lightList': 1, 'lightListEditor': 1, 'lightListPanel': 1, 'lightlink': 1, 'lineIntersection': 1, 'linearPrecision': 1, 'linstep': 1, 'listAnimatable': 1, 'listAttr': 1, 'listCameras': 1, 'listConnections': 1, 'listDeviceAttachments': 1, 'listHistory': 1, 'listInputDeviceAxes': 1, 'listInputDeviceButtons': 1, 'listInputDevices': 1, 'listMenuAnnotation': 1, 'listNodeTypes': 1, 'listPanelCategories': 1, 'listRelatives': 1, 'listSets': 1, 'listTransforms': 1, 'listUnselected': 1, 'listerEditor': 1, 'loadFluid': 1, 'loadNewShelf': 1, 'loadPlugin': 1, 'loadPluginLanguageResources': 1, 'loadPrefObjects': 1, 'localizedPanelLabel': 1, 'lockNode': 1, 'loft': 1, 'log': 1, 'longNameOf': 1, 'lookThru': 1, 'ls': 1, 'lsThroughFilter': 1, 'lsType': 1, 'lsUI': 1, 'Mayatomr': 1, 'mag': 1, 'makeIdentity': 1, 'makeLive': 1, 'makePaintable': 1, 'makeRoll': 1, 'makeSingleSurface': 1, 'makeTubeOn': 1, 'makebot': 1, 'manipMoveContext': 1, 'manipMoveLimitsCtx': 1, 'manipOptions': 1, 'manipRotateContext': 1, 'manipRotateLimitsCtx': 1, 'manipScaleContext': 1, 'manipScaleLimitsCtx': 1, 'marker': 1, 'match': 1, 'max': 1, 'memory': 1, 'menu': 1, 'menuBarLayout': 1, 'menuEditor': 1, 'menuItem': 1, 'menuItemToShelf': 1, 'menuSet': 1, 'menuSetPref': 1, 'messageLine': 1, 'min': 1, 'minimizeApp': 1, 'mirrorJoint': 1, 'modelCurrentTimeCtx': 1, 'modelEditor': 1, 'modelPanel': 1, 'mouse': 1, 'movIn': 1, 'movOut': 1, 'move': 1, 'moveIKtoFK': 1, 'moveKeyCtx': 1, 'moveVertexAlongDirection': 1, 'multiProfileBirailSurface': 1, 'mute': 1, 'nParticle': 1, 'nameCommand': 1, 'nameField': 1, 'namespace': 1, 'namespaceInfo': 1, 'newPanelItems': 1, 'newton': 1, 'nodeCast': 1, 'nodeIconButton': 1, 'nodeOutliner': 1, 'nodePreset': 1, 'nodeType': 1, 'noise': 1, 'nonLinear': 1, 'normalConstraint': 1, 'normalize': 1, 'nurbsBoolean': 1, 'nurbsCopyUVSet': 1, 'nurbsCube': 1, 'nurbsEditUV': 1, 'nurbsPlane': 1, 'nurbsSelect': 1, 'nurbsSquare': 1, 'nurbsToPoly': 1, 'nurbsToPolygonsPref': 1, 'nurbsToSubdiv': 1, 'nurbsToSubdivPref': 1, 'nurbsUVSet': 1, 'nurbsViewDirectionVector': 1, 'objExists': 1, 'objectCenter': 1, 'objectLayer': 1, 'objectType': 1, 'objectTypeUI': 1, 'obsoleteProc': 1, 'oceanNurbsPreviewPlane': 1, 'offsetCurve': 1, 'offsetCurveOnSurface': 1, 'offsetSurface': 1, 'openGLExtension': 1, 'openMayaPref': 1, 'optionMenu': 1, 'optionMenuGrp': 1, 'optionVar': 1, 'orbit': 1, 'orbitCtx': 1, 'orientConstraint': 1, 'outlinerEditor': 1, 'outlinerPanel': 1, 'overrideModifier': 1, 'paintEffectsDisplay': 1, 'pairBlend': 1, 'palettePort': 1, 'paneLayout': 1, 'panel': 1, 'panelConfiguration': 1, 'panelHistory': 1, 'paramDimContext': 1, 'paramDimension': 1, 'paramLocator': 1, 'parent': 1, 'parentConstraint': 1, 'particle': 1, 'particleExists': 1, 'particleInstancer': 1, 'particleRenderInfo': 1, 'partition': 1, 'pasteKey': 1, 'pathAnimation': 1, 'pause': 1, 'pclose': 1, 'percent': 1, 'performanceOptions': 1, 'pfxstrokes': 1, 'pickWalk': 1, 'picture': 1, 'pixelMove': 1, 'planarSrf': 1, 'plane': 1, 'play': 1, 'playbackOptions': 1, 'playblast': 1, 'plugAttr': 1, 'plugNode': 1, 'pluginInfo': 1, 'pluginResourceUtil': 1, 'pointConstraint': 1, 'pointCurveConstraint': 1, 'pointLight': 1, 'pointMatrixMult': 1, 'pointOnCurve': 1, 'pointOnSurface': 1, 'pointPosition': 1, 'poleVectorConstraint': 1, 'polyAppend': 1, 'polyAppendFacetCtx': 1, 'polyAppendVertex': 1, 'polyAutoProjection': 1, 'polyAverageNormal': 1, 'polyAverageVertex': 1, 'polyBevel': 1, 'polyBlendColor': 1, 'polyBlindData': 1, 'polyBoolOp': 1, 'polyBridgeEdge': 1, 'polyCacheMonitor': 1, 'polyCheck': 1, 'polyChipOff': 1, 'polyClipboard': 1, 'polyCloseBorder': 1, 'polyCollapseEdge': 1, 'polyCollapseFacet': 1, 'polyColorBlindData': 1, 'polyColorDel': 1, 'polyColorPerVertex': 1, 'polyColorSet': 1, 'polyCompare': 1, 'polyCone': 1, 'polyCopyUV': 1, 'polyCrease': 1, 'polyCreaseCtx': 1, 'polyCreateFacet': 1, 'polyCreateFacetCtx': 1, 'polyCube': 1, 'polyCut': 1, 'polyCutCtx': 1, 'polyCylinder': 1, 'polyCylindricalProjection': 1, 'polyDelEdge': 1, 'polyDelFacet': 1, 'polyDelVertex': 1, 'polyDuplicateAndConnect': 1, 'polyDuplicateEdge': 1, 'polyEditUV': 1, 'polyEditUVShell': 1, 'polyEvaluate': 1, 'polyExtrudeEdge': 1, 'polyExtrudeFacet': 1, 'polyExtrudeVertex': 1, 'polyFlipEdge': 1, 'polyFlipUV': 1, 'polyForceUV': 1, 'polyGeoSampler': 1, 'polyHelix': 1, 'polyInfo': 1, 'polyInstallAction': 1, 'polyLayoutUV': 1, 'polyListComponentConversion': 1, 'polyMapCut': 1, 'polyMapDel': 1, 'polyMapSew': 1, 'polyMapSewMove': 1, 'polyMergeEdge': 1, 'polyMergeEdgeCtx': 1, 'polyMergeFacet': 1, 'polyMergeFacetCtx': 1, 'polyMergeUV': 1, 'polyMergeVertex': 1, 'polyMirrorFace': 1, 'polyMoveEdge': 1, 'polyMoveFacet': 1, 'polyMoveFacetUV': 1, 'polyMoveUV': 1, 'polyMoveVertex': 1, 'polyNormal': 1, 'polyNormalPerVertex': 1, 'polyNormalizeUV': 1, 'polyOptUvs': 1, 'polyOptions': 1, 'polyOutput': 1, 'polyPipe': 1, 'polyPlanarProjection': 1, 'polyPlane': 1, 'polyPlatonicSolid': 1, 'polyPoke': 1, 'polyPrimitive': 1, 'polyPrism': 1, 'polyProjection': 1, 'polyPyramid': 1, 'polyQuad': 1, 'polyQueryBlindData': 1, 'polyReduce': 1, 'polySelect': 1, 'polySelectConstraint': 1, 'polySelectConstraintMonitor': 1, 'polySelectCtx': 1, 'polySelectEditCtx': 1, 'polySeparate': 1, 'polySetToFaceNormal': 1, 'polySewEdge': 1, 'polyShortestPathCtx': 1, 'polySmooth': 1, 'polySoftEdge': 1, 'polySphere': 1, 'polySphericalProjection': 1, 'polySplit': 1, 'polySplitCtx': 1, 'polySplitEdge': 1, 'polySplitRing': 1, 'polySplitVertex': 1, 'polyStraightenUVBorder': 1, 'polySubdivideEdge': 1, 'polySubdivideFacet': 1, 'polyToSubdiv': 1, 'polyTorus': 1, 'polyTransfer': 1, 'polyTriangulate': 1, 'polyUVSet': 1, 'polyUnite': 1, 'polyWedgeFace': 1, 'popen': 1, 'popupMenu': 1, 'pose': 1, 'pow': 1, 'preloadRefEd': 1, 'print': 1, 'progressBar': 1, 'progressWindow': 1, 'projFileViewer': 1, 'projectCurve': 1, 'projectTangent': 1, 'projectionContext': 1, 'projectionManip': 1, 'promptDialog': 1, 'propModCtx': 1, 'propMove': 1, 'psdChannelOutliner': 1, 'psdEditTextureFile': 1, 'psdExport': 1, 'psdTextureFile': 1, 'putenv': 1, 'pwd': 1, 'python': 1, 'querySubdiv': 1, 'quit': 1, 'rad_to_deg': 1, 'radial': 1, 'radioButton': 1, 'radioButtonGrp': 1, 'radioCollection': 1, 'radioMenuItemCollection': 1, 'rampColorPort': 1, 'rand': 1, 'randomizeFollicles': 1, 'randstate': 1, 'rangeControl': 1, 'readTake': 1, 'rebuildCurve': 1, 'rebuildSurface': 1, 'recordAttr': 1, 'recordDevice': 1, 'redo': 1, 'reference': 1, 'referenceEdit': 1, 'referenceQuery': 1, 'refineSubdivSelectionList': 1, 'refresh': 1, 'refreshAE': 1, 'registerPluginResource': 1, 'rehash': 1, 'reloadImage': 1, 'removeJoint': 1, 'removeMultiInstance': 1, 'removePanelCategory': 1, 'rename': 1, 'renameAttr': 1, 'renameSelectionList': 1, 'renameUI': 1, 'render': 1, 'renderGlobalsNode': 1, 'renderInfo': 1, 'renderLayerButton': 1, 'renderLayerParent': 1, 'renderLayerPostProcess': 1, 'renderLayerUnparent': 1, 'renderManip': 1, 'renderPartition': 1, 'renderQualityNode': 1, 'renderSettings': 1, 'renderThumbnailUpdate': 1, 'renderWindowEditor': 1, 'renderWindowSelectContext': 1, 'renderer': 1, 'reorder': 1, 'reorderDeformers': 1, 'requires': 1, 'reroot': 1, 'resampleFluid': 1, 'resetAE': 1, 'resetPfxToPolyCamera': 1, 'resetTool': 1, 'resolutionNode': 1, 'retarget': 1, 'reverseCurve': 1, 'reverseSurface': 1, 'revolve': 1, 'rgb_to_hsv': 1, 'rigidBody': 1, 'rigidSolver': 1, 'roll': 1, 'rollCtx': 1, 'rootOf': 1, 'rot': 1, 'rotate': 1, 'rotationInterpolation': 1, 'roundConstantRadius': 1, 'rowColumnLayout': 1, 'rowLayout': 1, 'runTimeCommand': 1, 'runup': 1, 'sampleImage': 1, 'saveAllShelves': 1, 'saveAttrPreset': 1, 'saveFluid': 1, 'saveImage': 1, 'saveInitialState': 1, 'saveMenu': 1, 'savePrefObjects': 1, 'savePrefs': 1, 'saveShelf': 1, 'saveToolSettings': 1, 'scale': 1, 'scaleBrushBrightness': 1, 'scaleComponents': 1, 'scaleConstraint': 1, 'scaleKey': 1, 'scaleKeyCtx': 1, 'sceneEditor': 1, 'sceneUIReplacement': 1, 'scmh': 1, 'scriptCtx': 1, 'scriptEditorInfo': 1, 'scriptJob': 1, 'scriptNode': 1, 'scriptTable': 1, 'scriptToShelf': 1, 'scriptedPanel': 1, 'scriptedPanelType': 1, 'scrollField': 1, 'scrollLayout': 1, 'sculpt': 1, 'searchPathArray': 1, 'seed': 1, 'selLoadSettings': 1, 'select': 1, 'selectContext': 1, 'selectCurveCV': 1, 'selectKey': 1, 'selectKeyCtx': 1, 'selectKeyframeRegionCtx': 1, 'selectMode': 1, 'selectPref': 1, 'selectPriority': 1, 'selectType': 1, 'selectedNodes': 1, 'selectionConnection': 1, 'separator': 1, 'setAttr': 1, 'setAttrEnumResource': 1, 'setAttrMapping': 1, 'setAttrNiceNameResource': 1, 'setConstraintRestPosition': 1, 'setDefaultShadingGroup': 1, 'setDrivenKeyframe': 1, 'setDynamic': 1, 'setEditCtx': 1, 'setEditor': 1, 'setFluidAttr': 1, 'setFocus': 1, 'setInfinity': 1, 'setInputDeviceMapping': 1, 'setKeyCtx': 1, 'setKeyPath': 1, 'setKeyframe': 1, 'setKeyframeBlendshapeTargetWts': 1, 'setMenuMode': 1, 'setNodeNiceNameResource': 1, 'setNodeTypeFlag': 1, 'setParent': 1, 'setParticleAttr': 1, 'setPfxToPolyCamera': 1, 'setPluginResource': 1, 'setProject': 1, 'setStampDensity': 1, 'setStartupMessage': 1, 'setState': 1, 'setToolTo': 1, 'setUITemplate': 1, 'setXformManip': 1, 'sets': 1, 'shadingConnection': 1, 'shadingGeometryRelCtx': 1, 'shadingLightRelCtx': 1, 'shadingNetworkCompare': 1, 'shadingNode': 1, 'shapeCompare': 1, 'shelfButton': 1, 'shelfLayout': 1, 'shelfTabLayout': 1, 'shellField': 1, 'shortNameOf': 1, 'showHelp': 1, 'showHidden': 1, 'showManipCtx': 1, 'showSelectionInTitle': 1, 'showShadingGroupAttrEditor': 1, 'showWindow': 1, 'sign': 1, 'simplify': 1, 'sin': 1, 'singleProfileBirailSurface': 1, 'size': 1, 'sizeBytes': 1, 'skinCluster': 1, 'skinPercent': 1, 'smoothCurve': 1, 'smoothTangentSurface': 1, 'smoothstep': 1, 'snap2to2': 1, 'snapKey': 1, 'snapMode': 1, 'snapTogetherCtx': 1, 'snapshot': 1, 'soft': 1, 'softMod': 1, 'softModCtx': 1, 'sort': 1, 'sound': 1, 'soundControl': 1, 'source': 1, 'spaceLocator': 1, 'sphere': 1, 'sphrand': 1, 'spotLight': 1, 'spotLightPreviewPort': 1, 'spreadSheetEditor': 1, 'spring': 1, 'sqrt': 1, 'squareSurface': 1, 'srtContext': 1, 'stackTrace': 1, 'startString': 1, 'startsWith': 1, 'stitchAndExplodeShell': 1, 'stitchSurface': 1, 'stitchSurfacePoints': 1, 'strcmp': 1, 'stringArrayCatenate': 1, 'stringArrayContains': 1, 'stringArrayCount': 1, 'stringArrayInsertAtIndex': 1, 'stringArrayIntersector': 1, 'stringArrayRemove': 1, 'stringArrayRemoveAtIndex': 1, 'stringArrayRemoveDuplicates': 1, 'stringArrayRemoveExact': 1, 'stringArrayToString': 1, 'stringToStringArray': 1, 'strip': 1, 'stripPrefixFromName': 1, 'stroke': 1, 'subdAutoProjection': 1, 'subdCleanTopology': 1, 'subdCollapse': 1, 'subdDuplicateAndConnect': 1, 'subdEditUV': 1, 'subdListComponentConversion': 1, 'subdMapCut': 1, 'subdMapSewMove': 1, 'subdMatchTopology': 1, 'subdMirror': 1, 'subdToBlind': 1, 'subdToPoly': 1, 'subdTransferUVsToCache': 1, 'subdiv': 1, 'subdivCrease': 1, 'subdivDisplaySmoothness': 1, 'substitute': 1, 'substituteAllString': 1, 'substituteGeometry': 1, 'substring': 1, 'surface': 1, 'surfaceSampler': 1, 'surfaceShaderList': 1, 'swatchDisplayPort': 1, 'switchTable': 1, 'symbolButton': 1, 'symbolCheckBox': 1, 'sysFile': 1, 'system': 1, 'tabLayout': 1, 'tan': 1, 'tangentConstraint': 1, 'texLatticeDeformContext': 1, 'texManipContext': 1, 'texMoveContext': 1, 'texMoveUVShellContext': 1, 'texRotateContext': 1, 'texScaleContext': 1, 'texSelectContext': 1, 'texSelectShortestPathCtx': 1, 'texSmudgeUVContext': 1, 'texWinToolCtx': 1, 'text': 1, 'textCurves': 1, 'textField': 1, 'textFieldButtonGrp': 1, 'textFieldGrp': 1, 'textManip': 1, 'textScrollList': 1, 'textToShelf': 1, 'textureDisplacePlane': 1, 'textureHairColor': 1, 'texturePlacementContext': 1, 'textureWindow': 1, 'threadCount': 1, 'threePointArcCtx': 1, 'timeControl': 1, 'timePort': 1, 'timerX': 1, 'toNativePath': 1, 'toggle': 1, 'toggleAxis': 1, 'toggleWindowVisibility': 1, 'tokenize': 1, 'tokenizeList': 1, 'tolerance': 1, 'tolower': 1, 'toolButton': 1, 'toolCollection': 1, 'toolDropped': 1, 'toolHasOptions': 1, 'toolPropertyWindow': 1, 'torus': 1, 'toupper': 1, 'trace': 1, 'track': 1, 'trackCtx': 1, 'transferAttributes': 1, 'transformCompare': 1, 'transformLimits': 1, 'translator': 1, 'trim': 1, 'trunc': 1, 'truncateFluidCache': 1, 'truncateHairCache': 1, 'tumble': 1, 'tumbleCtx': 1, 'turbulence': 1, 'twoPointArcCtx': 1, 'uiRes': 1, 'uiTemplate': 1, 'unassignInputDevice': 1, 'undo': 1, 'undoInfo': 1, 'ungroup': 1, 'uniform': 1, 'unit': 1, 'unloadPlugin': 1, 'untangleUV': 1, 'untitledFileName': 1, 'untrim': 1, 'upAxis': 1, 'updateAE': 1, 'userCtx': 1, 'uvLink': 1, 'uvSnapshot': 1, 'validateShelfName': 1, 'vectorize': 1, 'view2dToolCtx': 1, 'viewCamera': 1, 'viewClipPlane': 1, 'viewFit': 1, 'viewHeadOn': 1, 'viewLookAt': 1, 'viewManip': 1, 'viewPlace': 1, 'viewSet': 1, 'visor': 1, 'volumeAxis': 1, 'vortex': 1, 'waitCursor': 1, 'warning': 1, 'webBrowser': 1, 'webBrowserPrefs': 1, 'whatIs': 1, 'window': 1, 'windowPref': 1, 'wire': 1, 'wireContext': 1, 'workspace': 1, 'wrinkle': 1, 'wrinkleContext': 1, 'writeTake': 1, 'xbmLangPathList': 1, 'xform': 1 - }, - illegal: ' -*/ - -hljs.LANGUAGES.nginx = function() { - var VAR1 = { - className: 'variable', - begin: '\\$\\d+' - }; - var VAR2 = { - className: 'variable', - begin: '\\${', end: '}' - }; - var VAR3 = { - className: 'variable', - begin: '[\\$\\@]' + hljs.UNDERSCORE_IDENT_RE - }; - - return { - defaultMode: { - contains: [ - hljs.HASH_COMMENT_MODE, - { // directive - begin: hljs.UNDERSCORE_IDENT_RE, end: ';|{', returnEnd: true, - keywords: { - accept_mutex: 1, accept_mutex_delay: 1, access_log: 1, - add_after_body: 1, add_before_body: 1, add_header: 1, - addition_types: 1, alias: 1, allow: 1, ancient_browser: 1, - ancient_browser: 1, ancient_browser_value: 1, ancient_browser_value: 1, - auth_basic: 1, auth_basic_user_file: 1, autoindex: 1, - autoindex_exact_size: 1, autoindex_localtime: 1, 'break': 1, - charset: 1, charset: 1, charset_map: 1, charset_map: 1, - charset_types: 1, charset_types: 1, client_body_buffer_size: 1, - client_body_in_file_only: 1, client_body_in_single_buffer: 1, - client_body_temp_path: 1, client_body_timeout: 1, - client_header_buffer_size: 1, client_header_timeout: 1, - client_max_body_size: 1, connection_pool_size: 1, connections: 1, - create_full_put_path: 1, daemon: 1, dav_access: 1, dav_methods: 1, - debug_connection: 1, debug_points: 1, default_type: 1, deny: 1, - directio: 1, directio_alignment: 1, echo: 1, echo_after_body: 1, - echo_before_body: 1, echo_blocking_sleep: 1, echo_duplicate: 1, - echo_end: 1, echo_exec: 1, echo_flush: 1, echo_foreach_split: 1, - echo_location: 1, echo_location_async: 1, echo_read_request_body: 1, - echo_request_body: 1, echo_reset_timer: 1, echo_sleep: 1, - echo_subrequest: 1, echo_subrequest_async: 1, empty_gif: 1, - empty_gif: 1, env: 1, error_log: 1, error_log: 1, error_page: 1, - events: 1, expires: 1, fastcgi_bind: 1, fastcgi_buffer_size: 1, - fastcgi_buffers: 1, fastcgi_busy_buffers_size: 1, fastcgi_cache: 1, - fastcgi_cache_key: 1, fastcgi_cache_methods: 1, - fastcgi_cache_min_uses: 1, fastcgi_cache_path: 1, - fastcgi_cache_use_stale: 1, fastcgi_cache_valid: 1, - fastcgi_catch_stderr: 1, fastcgi_connect_timeout: 1, - fastcgi_hide_header: 1, fastcgi_ignore_client_abort: 1, - fastcgi_ignore_headers: 1, fastcgi_index: 1, - fastcgi_intercept_errors: 1, fastcgi_max_temp_file_size: 1, - fastcgi_next_upstream: 1, fastcgi_param: 1, fastcgi_pass: 1, - fastcgi_pass_header: 1, fastcgi_pass_request_body: 1, - fastcgi_pass_request_headers: 1, fastcgi_read_timeout: 1, - fastcgi_send_lowat: 1, fastcgi_send_timeout: 1, - fastcgi_split_path_info: 1, fastcgi_store: 1, fastcgi_store_access: 1, - fastcgi_temp_file_write_size: 1, fastcgi_temp_path: 1, - fastcgi_upstream_fail_timeout: 1, fastcgi_upstream_max_fails: 1, - flv: 1, geo: 1, geo: 1, geoip_city: 1, geoip_country: 1, gzip: 1, - gzip_buffers: 1, gzip_comp_level: 1, gzip_disable: 1, gzip_hash: 1, - gzip_http_version: 1, gzip_min_length: 1, gzip_no_buffer: 1, - gzip_proxied: 1, gzip_static: 1, gzip_types: 1, gzip_vary: 1, - gzip_window: 1, http: 1, 'if': 1, if_modified_since: 1, - ignore_invalid_headers: 1, image_filter: 1, image_filter_buffer: 1, - image_filter_jpeg_quality: 1, image_filter_transparency: 1, include: 1, - index: 1, internal: 1, ip_hash: 1, js: 1, js_load: 1, js_require: 1, - js_utf8: 1, keepalive_requests: 1, keepalive_timeout: 1, - kqueue_changes: 1, kqueue_events: 1, large_client_header_buffers: 1, - limit_conn: 1, limit_conn_log_level: 1, limit_except: 1, limit_rate: 1, - limit_rate_after: 1, limit_req: 1, limit_req_log_level: 1, - limit_req_zone: 1, limit_zone: 1, lingering_time: 1, - lingering_timeout: 1, listen: 1, location: 1, lock_file: 1, - log_format: 1, log_not_found: 1, log_subrequest: 1, map: 1, - map_hash_bucket_size: 1, map_hash_max_size: 1, master_process: 1, - memcached_bind: 1, memcached_buffer_size: 1, - memcached_connect_timeout: 1, memcached_next_upstream: 1, - memcached_pass: 1, memcached_read_timeout: 1, - memcached_send_timeout: 1, memcached_upstream_fail_timeout: 1, - memcached_upstream_max_fails: 1, merge_slashes: 1, min_delete_depth: 1, - modern_browser: 1, modern_browser: 1, modern_browser_value: 1, - modern_browser_value: 1, more_clear_headers: 1, - more_clear_input_headers: 1, more_set_headers: 1, - more_set_input_headers: 1, msie_padding: 1, msie_refresh: 1, - multi_accept: 1, open_file_cache: 1, open_file_cache_errors: 1, - open_file_cache_events: 1, open_file_cache_min_uses: 1, - open_file_cache_retest: 1, open_file_cache_valid: 1, - open_log_file_cache: 1, optimize_server_names: 1, output_buffers: 1, - override_charset: 1, override_charset: 1, perl: 1, perl_modules: 1, - perl_require: 1, perl_set: 1, pid: 1, port_in_redirect: 1, - post_action: 1, postpone_gzipping: 1, postpone_output: 1, - proxy_bind: 1, proxy_buffer_size: 1, proxy_buffering: 1, - proxy_buffers: 1, proxy_busy_buffers_size: 1, proxy_cache: 1, - proxy_cache_key: 1, proxy_cache_methods: 1, proxy_cache_min_uses: 1, - proxy_cache_path: 1, proxy_cache_use_stale: 1, proxy_cache_valid: 1, - proxy_connect_timeout: 1, proxy_headers_hash_bucket_size: 1, - proxy_headers_hash_max_size: 1, proxy_hide_header: 1, - proxy_ignore_client_abort: 1, proxy_ignore_headers: 1, - proxy_intercept_errors: 1, proxy_max_temp_file_size: 1, - proxy_method: 1, proxy_next_upstream: 1, proxy_pass: 1, - proxy_pass_header: 1, proxy_pass_request_body: 1, - proxy_pass_request_headers: 1, proxy_read_timeout: 1, - proxy_redirect: 1, proxy_send_lowat: 1, proxy_send_timeout: 1, - proxy_set_body: 1, proxy_set_header: 1, proxy_store: 1, - proxy_store_access: 1, proxy_temp_file_write_size: 1, - proxy_temp_path: 1, proxy_upstream_fail_timeout: 1, - proxy_upstream_max_fails: 1, push_authorized_channels_only: 1, - push_channel_group: 1, push_max_channel_id_length: 1, - push_max_channel_subscribers: 1, push_max_message_buffer_length: 1, - push_max_reserved_memory: 1, push_message_buffer_length: 1, - push_message_timeout: 1, push_min_message_buffer_length: 1, - push_min_message_recipients: 1, push_publisher: 1, - push_store_messages: 1, push_subscriber: 1, - push_subscriber_concurrency: 1, random_index: 1, read_ahead: 1, - real_ip_header: 1, recursive_error_pages: 1, request_pool_size: 1, - reset_timedout_connection: 1, resolver: 1, resolver_timeout: 1, - 'return': 1, rewrite: 1, rewrite_log: 1, root: 1, satisfy: 1, - satisfy_any: 1, send_lowat: 1, send_timeout: 1, sendfile: 1, - sendfile_max_chunk: 1, server: 1, server: 1, server_name: 1, - server_name_in_redirect: 1, server_names_hash_bucket_size: 1, - server_names_hash_max_size: 1, server_tokens: 1, 'set': 1, - set_real_ip_from: 1, source_charset: 1, source_charset: 1, ssi: 1, - ssi_ignore_recycled_buffers: 1, ssi_min_file_chunk: 1, - ssi_silent_errors: 1, ssi_types: 1, ssi_value_length: 1, ssl: 1, - ssl_certificate: 1, ssl_certificate_key: 1, ssl_ciphers: 1, - ssl_client_certificate: 1, ssl_crl: 1, ssl_dhparam: 1, - ssl_prefer_server_ciphers: 1, ssl_protocols: 1, ssl_session_cache: 1, - ssl_session_timeout: 1, ssl_verify_client: 1, ssl_verify_depth: 1, - sub_filter: 1, sub_filter_once: 1, sub_filter_types: 1, tcp_nodelay: 1, - tcp_nopush: 1, timer_resolution: 1, try_files: 1, types: 1, - types_hash_bucket_size: 1, types_hash_max_size: 1, - underscores_in_headers: 1, uninitialized_variable_warn: 1, upstream: 1, - use: 1, user: 1, userid: 1, userid: 1, userid_domain: 1, - userid_domain: 1, userid_expires: 1, userid_expires: 1, userid_mark: 1, - userid_name: 1, userid_name: 1, userid_p3p: 1, userid_p3p: 1, - userid_path: 1, userid_path: 1, userid_service: 1, userid_service: 1, - valid_referers: 1, variables_hash_bucket_size: 1, - variables_hash_max_size: 1, worker_connections: 1, - worker_cpu_affinity: 1, worker_priority: 1, worker_processes: 1, - worker_rlimit_core: 1, worker_rlimit_nofile: 1, - worker_rlimit_sigpending: 1, working_directory: 1, xml_entities: 1, - xslt_stylesheet: 1, xslt_types: 1 - }, - relevance: 0, - contains: [ - hljs.HASH_COMMENT_MODE, - { - begin: '\\s', end: '[;{]', returnBegin: true, returnEnd: true, - lexems: '[a-z/]+', - keywords: { - 'built_in': { - 'on': 1, 'off': 1, 'yes': 1, 'no': 1, 'true': 1, 'false': 1, - 'none': 1, 'blocked': 1, 'debug': 1, 'info': 1, 'notice': 1, - 'warn': 1, 'error': 1, 'crit': 1, 'select': 1, 'permanent': 1, - 'redirect': 1, 'kqueue': 1, 'rtsig': 1, 'epoll': 1, 'poll': 1, - '/dev/poll': 1 - } - }, - relevance: 0, - contains: [ - hljs.HASH_COMMENT_MODE, - { - className: 'string', - begin: '"', end: '"', - contains: [hljs.BACKSLASH_ESCAPE, VAR1, VAR2, VAR3], - relevance: 0 - }, - { - className: 'string', - begin: "'", end: "'", - contains: [hljs.BACKSLASH_ESCAPE, VAR1, VAR2, VAR3], - relevance: 0 - }, - { - className: 'string', - begin: '([a-z]+):/', end: '[;\\s]', returnEnd: true - }, - { - className: 'regexp', - begin: "\\s\\^", end: "\\s|{|;", returnEnd: true, - contains: [hljs.BACKSLASH_ESCAPE, VAR1, VAR2, VAR3] - }, - // regexp locations (~, ~*) - { - className: 'regexp', - begin: "~\\*?\\s+", end: "\\s|{|;", returnEnd: true, - contains: [hljs.BACKSLASH_ESCAPE, VAR1, VAR2, VAR3] - }, - // *.example.com - { - className: 'regexp', - begin: "\\*(\\.[a-z\\-]+)+", - contains: [hljs.BACKSLASH_ESCAPE, VAR1, VAR2, VAR3] - }, - // sub.example.* - { - className: 'regexp', - begin: "([a-z\\-]+\\.)+\\*", - contains: [hljs.BACKSLASH_ESCAPE, VAR1, VAR2, VAR3] - }, - // IP - { - className: 'number', - begin: '\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\b' - }, - // units - { - className: 'number', - begin: '\\s\\d+[kKmMgGdshdwy]*\\b', - relevance: 0 - }, - VAR1, VAR2, VAR3 - ] - } - ] - } - ] - } - } -}(); diff --git a/html/languages/objectivec.js b/html/languages/objectivec.js deleted file mode 100644 index a76fe535..00000000 --- a/html/languages/objectivec.js +++ /dev/null @@ -1,94 +0,0 @@ -/* -Language: Objective C -Author: Valerii Hiora -*/ - -hljs.LANGUAGES.objectivec = function(){ - var OBJC_KEYWORDS = { - 'keyword': { - 'false': 1, 'int': 1, 'float': 1, 'while': 1, 'private': 1, 'char': 1, - 'catch': 1, 'export': 1, 'sizeof': 2, 'typedef': 2, 'const': 1, - 'struct': 1, 'for': 1, 'union': 1, 'unsigned': 1, 'long': 1, - 'volatile': 2, 'static': 1, 'protected': 1, 'bool': 1, 'mutable': 1, - 'if': 1, 'public': 1, 'do': 1, 'return': 1, 'goto': 1, 'void': 2, - 'enum': 1, 'else': 1, 'break': 1, 'extern': 1, 'true': 1, 'class': 1, - 'asm': 1, 'case': 1, 'short': 1, 'default': 1, 'double': 1, 'throw': 1, - 'register': 1, 'explicit': 1, 'signed': 1, 'typename': 1, 'try': 1, - 'this': 1, 'switch': 1, 'continue': 1, 'wchar_t': 1, 'inline': 1, - 'readonly': 1, 'assign': 1, 'property': 1, 'protocol': 10, 'self': 1, - 'synchronized': 1, 'end': 1, 'synthesize': 50, 'id': 1, 'optional': 1, - 'required': 1, 'implementation': 10, 'nonatomic': 1,'interface': 1, - 'super': 1, 'unichar': 1, 'finally': 2, 'dynamic': 2, 'nil': 1 - }, - 'built_in': { - 'YES': 5, 'NO': 5, 'NULL': 1, 'IBOutlet': 50, 'IBAction': 50, - 'NSString': 50, 'NSDictionary': 50, 'CGRect': 50, 'CGPoint': 50, - 'NSRange': 50, 'release': 1, 'retain': 1, 'autorelease': 50, - 'UIButton': 50, 'UILabel': 50, 'UITextView': 50, 'UIWebView': 50, - 'MKMapView': 50, 'UISegmentedControl': 50, 'NSObject': 50, - 'UITableViewDelegate': 50, 'UITableViewDataSource': 50, 'NSThread': 50, - 'UIActivityIndicator': 50, 'UITabbar': 50, 'UIToolBar': 50, - 'UIBarButtonItem': 50, 'UIImageView': 50, 'NSAutoreleasePool': 50, - 'UITableView': 50, 'BOOL': 1, 'NSInteger': 20, 'CGFloat': 20, - 'NSException': 50, 'NSLog': 50, 'NSMutableString': 50, - 'NSMutableArray': 50, 'NSMutableDictionary': 50, 'NSURL': 50 - } - }; - return { - defaultMode: { - keywords: OBJC_KEYWORDS, - illegal: '' - } - ] - }, - { - className: 'preprocessor', - begin: '#', - end: '$' - }, - { - className: 'class', - begin: 'interface|class|protocol|implementation', - end: '({|$)', - keywords: { - 'interface': 1, - 'class': 1, - 'protocol': 5, - 'implementation': 5 - }, - contains: [{ - className: 'id', - begin: hljs.UNDERSCORE_IDENT_RE - } - ] - } - ] - } - }; -}(); diff --git a/html/languages/parser3.js b/html/languages/parser3.js deleted file mode 100644 index 99db7c83..00000000 --- a/html/languages/parser3.js +++ /dev/null @@ -1,52 +0,0 @@ -/* -Language: Parser3 -Requires: xml.js -Author: Oleg Volchkov -*/ - -hljs.LANGUAGES.parser3 = function() { - var COMMENTED_BLOCK = { - begin: '{', end: '}' - }; - COMMENTED_BLOCK.contains = [COMMENTED_BLOCK]; - - return { - defaultMode: { - subLanguage: 'html', - contains: [ - { - className: 'comment', - begin: '^#', end: '$' - }, - { - className: 'comment', - contains: [COMMENTED_BLOCK], - begin: '\\^rem{', end: '}', - relevance: 10 - }, - { - className: 'preprocessor', - begin: '^@(?:BASE|USE|CLASS|OPTIONS)$', - relevance: 10 - }, - { - className: 'title', - begin: '@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$' - }, - { - className: 'variable', - begin: '\\$\\{?[\\w\\-\\.\\:]+\\}?' - }, - { - className: 'keyword', - begin: '\\^[\\w\\-\\.\\:]+' - }, - { - className: 'number', - begin: '\\^#[0-9a-fA-F]+' - }, - hljs.C_NUMBER_MODE - ] - } - }; -}(); diff --git a/html/languages/perl.js b/html/languages/perl.js deleted file mode 100644 index 5ec9f2b7..00000000 --- a/html/languages/perl.js +++ /dev/null @@ -1,143 +0,0 @@ -/* -Language: Perl -Author: Peter Leonov -*/ - -hljs.LANGUAGES.perl = function(){ - var PERL_KEYWORDS = {'getpwent': 1, 'getservent': 1, 'quotemeta': 1, 'msgrcv': 1, 'scalar': 1, 'kill': 1, 'dbmclose': 1, 'undef': 1, 'lc': 1, 'ma': 1, 'syswrite': 1, 'tr': 1, 'send': 1, 'umask': 1, 'sysopen': 1, 'shmwrite': 1, 'vec': 1, 'qx': 1, 'utime': 1, 'local': 1, 'oct': 1, 'semctl': 1, 'localtime': 1, 'readpipe': 1, 'do': 1, 'return': 1, 'format': 1, 'read': 1, 'sprintf': 1, 'dbmopen': 1, 'pop': 1, 'getpgrp': 1, 'not': 1, 'getpwnam': 1, 'rewinddir': 1, 'qq': 1, 'fileno': 1, 'qw': 1, 'endprotoent': 1, 'wait': 1, 'sethostent': 1, 'bless': 1, 's': 1, 'opendir': 1, 'continue': 1, 'each': 1, 'sleep': 1, 'endgrent': 1, 'shutdown': 1, 'dump': 1, 'chomp': 1, 'connect': 1, 'getsockname': 1, 'die': 1, 'socketpair': 1, 'close': 1, 'flock': 1, 'exists': 1, 'index': 1, 'shmget': 1, 'sub': 1, 'for': 1, 'endpwent': 1, 'redo': 1, 'lstat': 1, 'msgctl': 1, 'setpgrp': 1, 'abs': 1, 'exit': 1, 'select': 1, 'print': 1, 'ref': 1, 'gethostbyaddr': 1, 'unshift': 1, 'fcntl': 1, 'syscall': 1, 'goto': 1, 'getnetbyaddr': 1, 'join': 1, 'gmtime': 1, 'symlink': 1, 'semget': 1, 'splice': 1, 'x': 1, 'getpeername': 1, 'recv': 1, 'log': 1, 'setsockopt': 1, 'cos': 1, 'last': 1, 'reverse': 1, 'gethostbyname': 1, 'getgrnam': 1, 'study': 1, 'formline': 1, 'endhostent': 1, 'times': 1, 'chop': 1, 'length': 1, 'gethostent': 1, 'getnetent': 1, 'pack': 1, 'getprotoent': 1, 'getservbyname': 1, 'rand': 1, 'mkdir': 1, 'pos': 1, 'chmod': 1, 'y': 1, 'substr': 1, 'endnetent': 1, 'printf': 1, 'next': 1, 'open': 1, 'msgsnd': 1, 'readdir': 1, 'use': 1, 'unlink': 1, 'getsockopt': 1, 'getpriority': 1, 'rindex': 1, 'wantarray': 1, 'hex': 1, 'system': 1, 'getservbyport': 1, 'endservent': 1, 'int': 1, 'chr': 1, 'untie': 1, 'rmdir': 1, 'prototype': 1, 'tell': 1, 'listen': 1, 'fork': 1, 'shmread': 1, 'ucfirst': 1, 'setprotoent': 1, 'else': 1, 'sysseek': 1, 'link': 1, 'getgrgid': 1, 'shmctl': 1, 'waitpid': 1, 'unpack': 1, 'getnetbyname': 1, 'reset': 1, 'chdir': 1, 'grep': 1, 'split': 1, 'require': 1, 'caller': 1, 'lcfirst': 1, 'until': 1, 'warn': 1, 'while': 1, 'values': 1, 'shift': 1, 'telldir': 1, 'getpwuid': 1, 'my': 1, 'getprotobynumber': 1, 'delete': 1, 'and': 1, 'sort': 1, 'uc': 1, 'defined': 1, 'srand': 1, 'accept': 1, 'package': 1, 'seekdir': 1, 'getprotobyname': 1, 'semop': 1, 'our': 1, 'rename': 1, 'seek': 1, 'if': 1, 'q': 1, 'chroot': 1, 'sysread': 1, 'setpwent': 1, 'no': 1, 'crypt': 1, 'getc': 1, 'chown': 1, 'sqrt': 1, 'write': 1, 'setnetent': 1, 'setpriority': 1, 'foreach': 1, 'tie': 1, 'sin': 1, 'msgget': 1, 'map': 1, 'stat': 1, 'getlogin': 1, 'unless': 1, 'elsif': 1, 'truncate': 1, 'exec': 1, 'keys': 1, 'glob': 1, 'tied': 1, 'closedir': 1, 'ioctl': 1, 'socket': 1, 'readlink': 1, 'eval': 1, 'xor': 1, 'readline': 1, 'binmode': 1, 'setservent': 1, 'eof': 1, 'ord': 1, 'bind': 1, 'alarm': 1, 'pipe': 1, 'atan2': 1, 'getgrent': 1, 'exp': 1, 'time': 1, 'push': 1, 'setgrent': 1, 'gt': 1, 'lt': 1, 'or': 1, 'ne': 1, 'm': 1}; - var SUBST = { - className: 'subst', - begin: '[$@]\\{', end: '\}', - keywords: PERL_KEYWORDS, - relevance: 10 - }; - var VAR1 = { - className: 'variable', - begin: '\\$\\d' - }; - var VAR2 = { - className: 'variable', - begin: '[\\$\\%\\@\\*](\\^\\w\\b|#\\w+(\\:\\:\\w+)*|[^\\s\\w{]|{\\w+}|\\w+(\\:\\:\\w*)*)' - }; - var STRING_CONTAINS = [hljs.BACKSLASH_ESCAPE, SUBST, VAR1, VAR2]; - var METHOD = { - begin: '->', - contains: [ - {begin: hljs.IDENT_RE}, - {begin: '{', end: '}'} - ] - }; - var PERL_DEFAULT_CONTAINS = [ - VAR1, VAR2, - hljs.HASH_COMMENT_MODE, - { - className: 'comment', - begin: '^(__END__|__DATA__)', end: '\\n$', - relevance: 5 - }, - METHOD, - { - className: 'string', - begin: 'q[qwxr]?\\s*\\(', end: '\\)', - contains: STRING_CONTAINS, - relevance: 5 - }, - { - className: 'string', - begin: 'q[qwxr]?\\s*\\[', end: '\\]', - contains: STRING_CONTAINS, - relevance: 5 - }, - { - className: 'string', - begin: 'q[qwxr]?\\s*\\{', end: '\\}', - contains: STRING_CONTAINS, - relevance: 5 - }, - { - className: 'string', - begin: 'q[qwxr]?\\s*\\|', end: '\\|', - contains: STRING_CONTAINS, - relevance: 5 - }, - { - className: 'string', - begin: 'q[qwxr]?\\s*\\<', end: '\\>', - contains: STRING_CONTAINS, - relevance: 5 - }, - { - className: 'string', - begin: 'qw\\s+q', end: 'q', - contains: STRING_CONTAINS, - relevance: 5 - }, - { - className: 'string', - begin: '\'', end: '\'', - contains: [hljs.BACKSLASH_ESCAPE], - relevance: 0 - }, - { - className: 'string', - begin: '"', end: '"', - contains: STRING_CONTAINS, - relevance: 0 - }, - { - className: 'string', - begin: '`', end: '`', - contains: [hljs.BACKSLASH_ESCAPE] - }, - { - className: 'string', - begin: '{\\w+}', - relevance: 0 - }, - { - className: 'string', - begin: '\-?\\w+\\s*\\=\\>', - relevance: 0 - }, - { - className: 'number', - begin: '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', - relevance: 0 - }, - { - className: 'regexp', - begin: '(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*', - relevance: 10 - }, - { - className: 'regexp', - begin: '(m|qr)?/', end: '/[a-z]*', - contains: [hljs.BACKSLASH_ESCAPE], - relevance: 0 // allows empty "//" which is a common comment delimiter in other languages - }, - { - className: 'sub', - begin: '\\bsub\\b', end: '(\\s*\\(.*?\\))?[;{]', - keywords: {'sub':1}, - relevance: 5 - }, - { - className: 'operator', - begin: '-\\w\\b', - relevance: 0 - }, - { - className: 'pod', - begin: '\\=\\w', end: '\\=cut' - } - ]; - SUBST.contains = PERL_DEFAULT_CONTAINS; - METHOD.contains[1].contains = PERL_DEFAULT_CONTAINS; - - return { - defaultMode: { - keywords: PERL_KEYWORDS, - contains: PERL_DEFAULT_CONTAINS - } - }; -}(); diff --git a/html/languages/php.js b/html/languages/php.js deleted file mode 100644 index d1d8889c..00000000 --- a/html/languages/php.js +++ /dev/null @@ -1,55 +0,0 @@ -/* -Language: PHP -Author: Victor Karamzin -*/ - -hljs.LANGUAGES.php = { - case_insensitive: true, - defaultMode: { - keywords: { - 'and': 1, 'include_once': 1, 'list': 1, 'abstract': 1, 'global': 1, - 'private': 1, 'echo': 1, 'interface': 1, 'as': 1, 'static': 1, - 'endswitch': 1, 'array': 1, 'null': 1, 'if': 1, 'endwhile': 1, 'or': 1, - 'const': 1, 'for': 1, 'endforeach': 1, 'self': 1, 'var': 1, 'while': 1, - 'isset': 1, 'public': 1, 'protected': 1, 'exit': 1, 'foreach': 1, - 'throw': 1, 'elseif': 1, 'extends': 1, 'include': 1, '__FILE__': 1, - 'empty': 1, 'require_once': 1, 'function': 1, 'do': 1, 'xor': 1, - 'return': 1, 'implements': 1, 'parent': 1, 'clone': 1, 'use': 1, - '__CLASS__': 1, '__LINE__': 1, 'else': 1, 'break': 1, 'print': 1, - 'eval': 1, 'new': 1, 'catch': 1, '__METHOD__': 1, 'class': 1, 'case': 1, - 'exception': 1, 'php_user_filter': 1, 'default': 1, 'die': 1, - 'require': 1, '__FUNCTION__': 1, 'enddeclare': 1, 'final': 1, 'try': 1, - 'this': 1, 'switch': 1, 'continue': 1, 'endfor': 1, 'endif': 1, - 'declare': 1, 'unset': 1, 'true': 1, 'false': 1, 'namespace': 1 - }, - contains: [ - hljs.C_LINE_COMMENT_MODE, - hljs.HASH_COMMENT_MODE, - { - className: 'comment', - begin: '/\\*', end: '\\*/', - contains: [{ - className: 'phpdoc', - begin: '\\s@[A-Za-z]+', - relevance: 10 - }] - }, - hljs.C_NUMBER_MODE, - hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null}), - hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null}), - { - className: 'variable', - begin: '\\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' - }, - { - className: 'preprocessor', - begin: '<\\?php', - relevance: 10 - }, - { - className: 'preprocessor', - begin: '\\?>' - } - ] - } -}; diff --git a/html/languages/profile.js b/html/languages/profile.js deleted file mode 100644 index b43d69a8..00000000 --- a/html/languages/profile.js +++ /dev/null @@ -1,49 +0,0 @@ -/* -Language: Python profile -Description: Python profiler results -Author: Brian Beck -*/ - -hljs.LANGUAGES.profile = { - defaultMode: { - contains: [ - hljs.C_NUMBER_MODE, - { - className: 'builtin', - begin: '{', end: '}$', - excludeBegin: true, excludeEnd: true, - contains: [hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE], - relevance: 0 - }, - { - className: 'filename', - begin: '(/\w|[a-zA-Z_][\da-zA-Z_]+\\.[\da-zA-Z_]{1,3})', end: ':', - excludeEnd: true - }, - { - className: 'header', - begin: '(ncalls|tottime|cumtime)', end: '$', - keywords: {'ncalls': 1, 'tottime': 10, 'cumtime': 10, 'filename': 1}, - relevance: 10 - }, - { - className: 'summary', - begin: 'function calls', end: '$', - contains: [hljs.C_NUMBER_MODE], - relevance: 10 - }, - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - { - className: 'function', - begin: '\\(', end: '\\)$', - contains: [{ - className: 'title', - begin: hljs.UNDERSCORE_IDENT_RE, - relevance: 0 - }], - relevance: 0 - } - ] - } -}; diff --git a/html/languages/python.js b/html/languages/python.js deleted file mode 100644 index 543d0fea..00000000 --- a/html/languages/python.js +++ /dev/null @@ -1,71 +0,0 @@ -/* -Language: Python -*/ - -hljs.LANGUAGES.python = function() { - var STR1 = { - className: 'string', - begin: '(u|b)?r?\'\'\'', end: '\'\'\'', - relevance: 10 - }; - var STR2 = { - className: 'string', - begin: '(u|b)?r?"""', end: '"""', - relevance: 10 - }; - var STR3 = { - className: 'string', - begin: '(u|r|ur|b|br)\'', end: '\'', - contains: [hljs.BACKSLASH_ESCAPE], - relevance: 10 - }; - var STR4 = { - className: 'string', - begin: '(u|r|ur|b|br)"', end: '"', - contains: [hljs.BACKSLASH_ESCAPE], - relevance: 10 - }; - var TITLE = { - className: 'title', begin: hljs.UNDERSCORE_IDENT_RE - }; - var PARAMS = { - className: 'params', - begin: '\\(', end: '\\)', - contains: [STR1, STR2, STR3, STR4, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE] - }; - - return { - defaultMode: { - keywords: { - 'keyword': {'and': 1, 'elif': 1, 'is': 1, 'global': 1, 'as': 1, 'in': 1, 'if': 1, 'from': 1, 'raise': 1, 'for': 1, 'except': 1, 'finally': 1, 'print': 1, 'import': 1, 'pass': 1, 'return': 1, 'exec': 1, 'else': 1, 'break': 1, 'not': 1, 'with': 1, 'class': 1, 'assert': 1, 'yield': 1, 'try': 1, 'while': 1, 'continue': 1, 'del': 1, 'or': 1, 'def': 1, 'lambda': 1, 'nonlocal': 10}, - 'built_in': {'None': 1, 'True': 1, 'False': 1, 'Ellipsis': 1, 'NotImplemented': 1} - }, - illegal: '(|\\?)', - contains: [ - hljs.HASH_COMMENT_MODE, - STR1, STR2, STR3, STR4, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, - { - className: 'function', - begin: '\\bdef ', end: ':', - illegal: '$', - keywords: {'def': 1}, - contains: [TITLE, PARAMS], - relevance: 10 - }, - { - className: 'class', - begin: '\\bclass ', end: ':', - illegal: '[${]', - keywords: {'class': 1}, - contains: [TITLE, PARAMS], - relevance: 10 - }, - hljs.C_NUMBER_MODE, - { - className: 'decorator', - begin: '@', end: '$' - } - ] - } - }; -}(); diff --git a/html/languages/renderman.js b/html/languages/renderman.js deleted file mode 100644 index 5988ef5a..00000000 --- a/html/languages/renderman.js +++ /dev/null @@ -1,230 +0,0 @@ -/* -Language: RenderMan -Description: RenderMan Languages RIB and RSL -Author: Konstantin Evdokimenko -Contributors: Shuen-Huei Guan -*/ - -hljs.LANGUAGES.rib = { - defaultMode: { - keywords: { - 'keyword': { - 'ArchiveRecord': 1, - 'AreaLightSource': 1, - 'Atmosphere': 1, - 'Attribute': 1, - 'AttributeBegin': 1, - 'AttributeEnd': 1, - 'Basis': 1, - 'Begin': 1, - 'Blobby': 1, - 'Bound': 1, - 'Clipping': 1, - 'ClippingPlane': 1, - 'Color': 1, - 'ColorSamples': 1, - 'ConcatTransform': 1, - 'Cone': 1, - 'CoordinateSystem': 1, - 'CoordSysTransform': 1, - 'CropWindow': 1, - 'Curves': 1, - 'Cylinder': 1, - 'DepthOfField': 1, - 'Detail': 1, - 'DetailRange': 1, - 'Disk': 1, - 'Displacement': 1, - 'Display': 1, - 'End': 1, - 'ErrorHandler': 1, - 'Exposure': 1, - 'Exterior': 1, - 'Format': 1, - 'FrameAspectRatio': 1, - 'FrameBegin': 1, - 'FrameEnd': 1, - 'GeneralPolygon': 1, - 'GeometricApproximation': 1, - 'Geometry': 1, - 'Hider': 1, - 'Hyperboloid': 1, - 'Identity': 1, - 'Illuminate': 1, - 'Imager': 1, - 'Interior': 1, - 'LightSource': 1, - 'MakeCubeFaceEnvironment': 1, - 'MakeLatLongEnvironment': 1, - 'MakeShadow': 1, - 'MakeTexture': 1, - 'Matte': 1, - 'MotionBegin': 1, - 'MotionEnd': 1, - 'NuPatch': 1, - 'ObjectBegin': 1, - 'ObjectEnd': 1, - 'ObjectInstance': 1, - 'Opacity': 1, - 'Option': 1, - 'Orientation': 1, - 'Paraboloid': 1, - 'Patch': 1, - 'PatchMesh': 1, - 'Perspective': 1, - 'PixelFilter': 1, - 'PixelSamples': 1, - 'PixelVariance': 1, - 'Points': 1, - 'PointsGeneralPolygons': 1, - 'PointsPolygons': 1, - 'Polygon': 1, - 'Procedural': 1, - 'Projection': 1, - 'Quantize': 1, - 'ReadArchive': 1, - 'RelativeDetail': 1, - 'ReverseOrientation': 1, - 'Rotate': 1, - 'Scale': 1, - 'ScreenWindow': 1, - 'ShadingInterpolation': 1, - 'ShadingRate': 1, - 'Shutter': 1, - 'Sides': 1, - 'Skew': 1, - 'SolidBegin': 1, - 'SolidEnd': 1, - 'Sphere': 1, - 'SubdivisionMesh': 1, - 'Surface': 1, - 'TextureCoordinates': 1, - 'Torus': 1, - 'Transform': 1, - 'TransformBegin': 1, - 'TransformEnd': 1, - 'TransformPoints': 1, - 'Translate': 1, - 'TrimCurve': 1, - 'WorldBegin': 1, - 'WorldEnd': 1 - } - }, - illegal: ' -Contributors: Peter Leonov , Vasily Polovnyov , Loren Segal -*/ - -hljs.LANGUAGES.ruby = function(){ - var RUBY_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?'; - var RUBY_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?'; - var RUBY_KEYWORDS = { - 'keyword': {'and': 1, 'false': 1, 'then': 1, 'defined': 1, 'module': 1, 'in': 1, 'return': 1, 'redo': 1, 'if': 1, 'BEGIN': 1, 'retry': 1, 'end': 1, 'for': 1, 'true': 1, 'self': 1, 'when': 1, 'next': 1, 'until': 1, 'do': 1, 'begin': 1, 'unless': 1, 'END': 1, 'rescue': 1, 'nil': 1, 'else': 1, 'break': 1, 'undef': 1, 'not': 1, 'super': 1, 'class': 1, 'case': 1, 'require': 1, 'yield': 1, 'alias': 1, 'while': 1, 'ensure': 1, 'elsif': 1, 'or': 1, 'def': 1}, - 'keymethods': {'__id__': 1, '__send__': 1, 'abort': 1, 'abs': 1, 'all?': 1, 'allocate': 1, 'ancestors': 1, 'any?': 1, 'arity': 1, 'assoc': 1, 'at': 1, 'at_exit': 1, 'autoload': 1, 'autoload?': 1, 'between?': 1, 'binding': 1, 'binmode': 1, 'block_given?': 1, 'call': 1, 'callcc': 1, 'caller': 1, 'capitalize': 1, 'capitalize!': 1, 'casecmp': 1, 'catch': 1, 'ceil': 1, 'center': 1, 'chomp': 1, 'chomp!': 1, 'chop': 1, 'chop!': 1, 'chr': 1, 'class': 1, 'class_eval': 1, 'class_variable_defined?': 1, 'class_variables': 1, 'clear': 1, 'clone': 1, 'close': 1, 'close_read': 1, 'close_write': 1, 'closed?': 1, 'coerce': 1, 'collect': 1, 'collect!': 1, 'compact': 1, 'compact!': 1, 'concat': 1, 'const_defined?': 1, 'const_get': 1, 'const_missing': 1, 'const_set': 1, 'constants': 1, 'count': 1, 'crypt': 1, 'default': 1, 'default_proc': 1, 'delete': 1, 'delete!': 1, 'delete_at': 1, 'delete_if': 1, 'detect': 1, 'display': 1, 'div': 1, 'divmod': 1, 'downcase': 1, 'downcase!': 1, 'downto': 1, 'dump': 1, 'dup': 1, 'each': 1, 'each_byte': 1, 'each_index': 1, 'each_key': 1, 'each_line': 1, 'each_pair': 1, 'each_value': 1, 'each_with_index': 1, 'empty?': 1, 'entries': 1, 'eof': 1, 'eof?': 1, 'eql?': 1, 'equal?': 1, 'eval': 1, 'exec': 1, 'exit': 1, 'exit!': 1, 'extend': 1, 'fail': 1, 'fcntl': 1, 'fetch': 1, 'fileno': 1, 'fill': 1, 'find': 1, 'find_all': 1, 'first': 1, 'flatten': 1, 'flatten!': 1, 'floor': 1, 'flush': 1, 'for_fd': 1, 'foreach': 1, 'fork': 1, 'format': 1, 'freeze': 1, 'frozen?': 1, 'fsync': 1, 'getc': 1, 'gets': 1, 'global_variables': 1, 'grep': 1, 'gsub': 1, 'gsub!': 1, 'has_key?': 1, 'has_value?': 1, 'hash': 1, 'hex': 1, 'id': 1, 'include': 1, 'include?': 1, 'included_modules': 1, 'index': 1, 'indexes': 1, 'indices': 1, 'induced_from': 1, 'inject': 1, 'insert': 1, 'inspect': 1, 'instance_eval': 1, 'instance_method': 1, 'instance_methods': 1, 'instance_of?': 1, 'instance_variable_defined?': 1, 'instance_variable_get': 1, 'instance_variable_set': 1, 'instance_variables': 1, 'integer?': 1, 'intern': 1, 'invert': 1, 'ioctl': 1, 'is_a?': 1, 'isatty': 1, 'iterator?': 1, 'join': 1, 'key?': 1, 'keys': 1, 'kind_of?': 1, 'lambda': 1, 'last': 1, 'length': 1, 'lineno': 1, 'ljust': 1, 'load': 1, 'local_variables': 1, 'loop': 1, 'lstrip': 1, 'lstrip!': 1, 'map': 1, 'map!': 1, 'match': 1, 'max': 1, 'member?': 1, 'merge': 1, 'merge!': 1, 'method': 1, 'method_defined?': 1, 'method_missing': 1, 'methods': 1, 'min': 1, 'module_eval': 1, 'modulo': 1, 'name': 1, 'nesting': 1, 'new': 1, 'next': 1, 'next!': 1, 'nil?': 1, 'nitems': 1, 'nonzero?': 1, 'object_id': 1, 'oct': 1, 'open': 1, 'pack': 1, 'partition': 1, 'pid': 1, 'pipe': 1, 'pop': 1, 'popen': 1, 'pos': 1, 'prec': 1, 'prec_f': 1, 'prec_i': 1, 'print': 1, 'printf': 1, 'private_class_method': 1, 'private_instance_methods': 1, 'private_method_defined?': 1, 'private_methods': 1, 'proc': 1, 'protected_instance_methods': 1, 'protected_method_defined?': 1, 'protected_methods': 1, 'public_class_method': 1, 'public_instance_methods': 1, 'public_method_defined?': 1, 'public_methods': 1, 'push': 1, 'putc': 1, 'puts': 1, 'quo': 1, 'raise': 1, 'rand': 1, 'rassoc': 1, 'read': 1, 'read_nonblock': 1, 'readchar': 1, 'readline': 1, 'readlines': 1, 'readpartial': 1, 'rehash': 1, 'reject': 1, 'reject!': 1, 'remainder': 1, 'reopen': 1, 'replace': 1, 'require': 1, 'respond_to?': 1, 'reverse': 1, 'reverse!': 1, 'reverse_each': 1, 'rewind': 1, 'rindex': 1, 'rjust': 1, 'round': 1, 'rstrip': 1, 'rstrip!': 1, 'scan': 1, 'seek': 1, 'select': 1, 'send': 1, 'set_trace_func': 1, 'shift': 1, 'singleton_method_added': 1, 'singleton_methods': 1, 'size': 1, 'sleep': 1, 'slice': 1, 'slice!': 1, 'sort': 1, 'sort!': 1, 'sort_by': 1, 'split': 1, 'sprintf': 1, 'squeeze': 1, 'squeeze!': 1, 'srand': 1, 'stat': 1, 'step': 1, 'store': 1, 'strip': 1, 'strip!': 1, 'sub': 1, 'sub!': 1, 'succ': 1, 'succ!': 1, 'sum': 1, 'superclass': 1, 'swapcase': 1, 'swapcase!': 1, 'sync': 1, 'syscall': 1, 'sysopen': 1, 'sysread': 1, 'sysseek': 1, 'system': 1, 'syswrite': 1, 'taint': 1, 'tainted?': 1, 'tell': 1, 'test': 1, 'throw': 1, 'times': 1, 'to_a': 1, 'to_ary': 1, 'to_f': 1, 'to_hash': 1, 'to_i': 1, 'to_int': 1, 'to_io': 1, 'to_proc': 1, 'to_s': 1, 'to_str': 1, 'to_sym': 1, 'tr': 1, 'tr!': 1, 'tr_s': 1, 'tr_s!': 1, 'trace_var': 1, 'transpose': 1, 'trap': 1, 'truncate': 1, 'tty?': 1, 'type': 1, 'ungetc': 1, 'uniq': 1, 'uniq!': 1, 'unpack': 1, 'unshift': 1, 'untaint': 1, 'untrace_var': 1, 'upcase': 1, 'upcase!': 1, 'update': 1, 'upto': 1, 'value?': 1, 'values': 1, 'values_at': 1, 'warn': 1, 'write': 1, 'write_nonblock': 1, 'zero?': 1, 'zip': 1} - }; - var YARDOCTAG = { - className: 'yardoctag', - begin: '@[A-Za-z]+' - }; - var COMMENT1 = { - className: 'comment', - begin: '#', end: '$', - contains: [YARDOCTAG] - }; - var COMMENT2 = { - className: 'comment', - begin: '^\\=begin', end: '^\\=end', - contains: [YARDOCTAG], - relevance: 10 - }; - var COMMENT3 = { - className: 'comment', - begin: '^__END__', end: '\\n$' - }; - var SUBST = { - className: 'subst', - begin: '#\\{', end: '}', - lexems: RUBY_IDENT_RE, - keywords: RUBY_KEYWORDS - }; - var STR_CONTAINS = [hljs.BACKSLASH_ESCAPE, SUBST]; - var STR1 = { - className: 'string', - begin: '\'', end: '\'', - contains: STR_CONTAINS, - relevance: 0 - }; - var STR2 = { - className: 'string', - begin: '"', end: '"', - contains: STR_CONTAINS, - relevance: 0 - }; - var STR3 = { - className: 'string', - begin: '%[qw]?\\(', end: '\\)', - contains: STR_CONTAINS, - relevance: 10 - }; - var STR4 = { - className: 'string', - begin: '%[qw]?\\[', end: '\\]', - contains: STR_CONTAINS, - relevance: 10 - }; - var STR5 = { - className: 'string', - begin: '%[qw]?{', end: '}', - contains: STR_CONTAINS, - relevance: 10 - }; - var STR6 = { - className: 'string', - begin: '%[qw]?<', end: '>', - contains: STR_CONTAINS, - relevance: 10 - }; - var STR7 = { - className: 'string', - begin: '%[qw]?/', end: '/', - contains: STR_CONTAINS, - relevance: 10 - }; - var STR8 = { - className: 'string', - begin: '%[qw]?%', end: '%', - contains: STR_CONTAINS, - relevance: 10 - }; - var STR9 = { - className: 'string', - begin: '%[qw]?-', end: '-', - contains: STR_CONTAINS, - relevance: 10 - }; - var STR10 = { - className: 'string', - begin: '%[qw]?\\|', end: '\\|', - contains: STR_CONTAINS, - relevance: 10 - }; - var FUNCTION = { - className: 'function', - begin: '\\bdef\\s+', end: ' |$|;', - lexems: RUBY_IDENT_RE, - keywords: RUBY_KEYWORDS, - contains: [ - { - className: 'title', - begin: RUBY_METHOD_RE, - lexems: RUBY_IDENT_RE, - keywords: RUBY_KEYWORDS - }, - { - className: 'params', - begin: '\\(', end: '\\)', - lexems: RUBY_IDENT_RE, - keywords: RUBY_KEYWORDS - }, - COMMENT1, COMMENT2, COMMENT3 - ] - }; - var IDENTIFIER = { - className: 'identifier', - begin: RUBY_IDENT_RE, - lexems: RUBY_IDENT_RE, - keywords: RUBY_KEYWORDS, - relevance: 0 - }; - - var RUBY_DEFAULT_CONTAINS = [ - COMMENT1, COMMENT2, COMMENT3, - STR1, STR2, STR3, STR4, STR5, STR6, STR7, STR8, STR9, STR10, - { - className: 'class', - begin: '\\b(class|module)\\b', end: '$|;', - keywords: {'class': 1, 'module': 1}, - contains: [ - { - className: 'title', - begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?', - relevance: 0 - }, - { - className: 'inheritance', - begin: '<\\s*', - contains: [{ - className: 'parent', - begin: '(' + hljs.IDENT_RE + '::)?' + hljs.IDENT_RE - }] - }, - COMMENT1, COMMENT2, COMMENT3 - ] - }, - FUNCTION, - { - className: 'constant', - begin: '(::)?([A-Z]\\w*(::)?)+', - relevance: 0 - }, - { - className: 'symbol', - begin: ':', - contains: [STR1, STR2, STR3, STR4, STR5, STR6, STR7, STR8, STR9, STR10, IDENTIFIER], - relevance: 0 - }, - { - className: 'number', - begin: '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', - relevance: 0 - }, - { - className: 'number', - begin: '\\?\\w' - }, - { - className: 'variable', - begin: '(\\$\\W)|((\\$|\\@\\@?)(\\w+))' - }, - IDENTIFIER, - { // regexp container - begin: '(' + hljs.RE_STARTERS_RE + ')\\s*', - contains: [ - COMMENT1, COMMENT2, COMMENT3, - { - className: 'regexp', - begin: '/', end: '/[a-z]*', - illegal: '\\n', - contains: [hljs.BACKSLASH_ESCAPE] - } - ], - relevance: 0 - } - ]; - SUBST.contains = RUBY_DEFAULT_CONTAINS; - FUNCTION.contains[1].contains = RUBY_DEFAULT_CONTAINS; - - return { - defaultMode: { - lexems: RUBY_IDENT_RE, - keywords: RUBY_KEYWORDS, - contains: RUBY_DEFAULT_CONTAINS - } - }; -}(); diff --git a/html/languages/scala.js b/html/languages/scala.js deleted file mode 100644 index ebb94641..00000000 --- a/html/languages/scala.js +++ /dev/null @@ -1,60 +0,0 @@ -/* -Language: Scala -Author: Jan Berkel -*/ - -hljs.LANGUAGES.scala = function() { - var ANNOTATION = { - className: 'annotation', begin: '@[A-Za-z]+' - }; - var STRING = { - className: 'string', - begin: 'u?r?"""', end: '"""', - relevance: 10 - }; - return { - defaultMode: { - keywords: { 'type': 1, 'yield': 1, 'lazy': 1, 'override': 1, 'def': 1, 'with': 1, 'val':1, 'var': 1, 'false': 1, 'true': 1, 'sealed': 1, 'abstract': 1, 'private': 1, 'trait': 1, 'object': 1, 'null': 1, 'if': 1, 'for': 1, 'while': 1, 'throw': 1, 'finally': 1, 'protected': 1, 'extends': 1, 'import': 1, 'final': 1, 'return': 1, 'else': 1, 'break': 1, 'new': 1, 'catch': 1, 'super': 1, 'class': 1, 'case': 1,'package': 1, 'default': 1, 'try': 1, 'this': 1, 'match': 1, 'continue': 1, 'throws': 1}, - contains: [ - { - className: 'javadoc', - begin: '/\\*\\*', end: '\\*/', - contains: [{ - className: 'javadoctag', - begin: '@[A-Za-z]+' - }], - relevance: 10 - }, - hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, - hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, STRING, - { - className: 'class', - begin: '((case )?class |object |trait )', end: '({|$)', - illegal: ':', - keywords: {'case' : 1, 'class': 1, 'trait': 1, 'object': 1}, - contains: [ - { - begin: '(extends|with)', - keywords: {'extends': 1, 'with': 1}, - relevance: 10 - }, - { - className: 'title', - begin: hljs.UNDERSCORE_IDENT_RE - }, - { - className: 'params', - begin: '\\(', end: '\\)', - contains: [ - hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, STRING, - ANNOTATION - ] - } - ] - }, - hljs.C_NUMBER_MODE, - ANNOTATION - ] - } - }; -}(); diff --git a/html/languages/smalltalk.js b/html/languages/smalltalk.js deleted file mode 100644 index 4f3c4f29..00000000 --- a/html/languages/smalltalk.js +++ /dev/null @@ -1,55 +0,0 @@ -/* -Language: Smalltalk -Author: Vladimir Gubarkov -*/ - -hljs.LANGUAGES.smalltalk = function() { - var VAR_IDENT_RE = '[a-z][a-zA-Z0-9_]*'; - var CHAR = { - className: 'char', - begin: '\\$.{1}' - }; - var SYMBOL = { - className: 'symbol', - begin: '#' + hljs.UNDERSCORE_IDENT_RE - }; - return { - defaultMode: { - keywords: {'self': 1, 'super': 1, 'nil': 1, 'true': 1, 'false': 1, 'thisContext': 1}, // only 6 - contains: [ - { - className: 'comment', - begin: '"', end: '"', - relevance: 0 - }, - hljs.APOS_STRING_MODE, - { - className: 'class', - begin: '\\b[A-Z][A-Za-z0-9_]*', - relevance: 0 - }, - { - className: 'method', - begin: VAR_IDENT_RE + ':' - }, - hljs.C_NUMBER_MODE, - SYMBOL, - CHAR, - { - className: 'localvars', - begin: '\\|\\s*((' + VAR_IDENT_RE + ')\\s*)+\\|' - }, - { - className: 'array', - begin: '\\#\\(', end: '\\)', - contains: [ - hljs.APOS_STRING_MODE, - CHAR, - hljs.C_NUMBER_MODE, - SYMBOL - ] - } - ] - } - }; -}(); diff --git a/html/languages/sql.js b/html/languages/sql.js deleted file mode 100644 index 73bac7aa..00000000 --- a/html/languages/sql.js +++ /dev/null @@ -1,90 +0,0 @@ -/* -Language: SQL -*/ - -hljs.LANGUAGES.sql = { - case_insensitive: true, - defaultMode: { - illegal: '[^\\s]', - contains: [ - { - className: 'operator', - begin: '(begin|start|commit|rollback|savepoint|lock|alter|create|drop|rename|call|delete|do|handler|insert|load|replace|select|truncate|update|set|show|pragma)\\b', end: ';|$', - keywords: { - 'keyword': { - 'all': 1, 'partial': 1, 'global': 1, 'month': 1, - 'current_timestamp': 1, 'using': 1, 'go': 1, 'revoke': 1, - 'smallint': 1, 'indicator': 1, 'end-exec': 1, 'disconnect': 1, - 'zone': 1, 'with': 1, 'character': 1, 'assertion': 1, 'to': 1, - 'add': 1, 'current_user': 1, 'usage': 1, 'input': 1, 'local': 1, - 'alter': 1, 'match': 1, 'collate': 1, 'real': 1, 'then': 1, - 'rollback': 1, 'get': 1, 'read': 1, 'timestamp': 1, - 'session_user': 1, 'not': 1, 'integer': 1, 'bit': 1, 'unique': 1, - 'day': 1, 'minute': 1, 'desc': 1, 'insert': 1, 'execute': 1, - 'like': 1, 'ilike': 2, 'level': 1, 'decimal': 1, 'drop': 1, - 'continue': 1, 'isolation': 1, 'found': 1, 'where': 1, - 'constraints': 1, 'domain': 1, 'right': 1, 'national': 1, 'some': 1, - 'module': 1, 'transaction': 1, 'relative': 1, 'second': 1, - 'connect': 1, 'escape': 1, 'close': 1, 'system_user': 1, 'for': 1, - 'deferred': 1, 'section': 1, 'cast': 1, 'current': 1, 'sqlstate': 1, - 'allocate': 1, 'intersect': 1, 'deallocate': 1, 'numeric': 1, - 'public': 1, 'preserve': 1, 'full': 1, 'goto': 1, 'initially': 1, - 'asc': 1, 'no': 1, 'key': 1, 'output': 1, 'collation': 1, 'group': 1, - 'by': 1, 'union': 1, 'session': 1, 'both': 1, 'last': 1, - 'language': 1, 'constraint': 1, 'column': 1, 'of': 1, 'space': 1, - 'foreign': 1, 'deferrable': 1, 'prior': 1, 'connection': 1, - 'unknown': 1, 'action': 1, 'commit': 1, 'view': 1, 'or': 1, - 'first': 1, 'into': 1, 'float': 1, 'year': 1, 'primary': 1, - 'cascaded': 1, 'except': 1, 'restrict': 1, 'set': 1, 'references': 1, - 'names': 1, 'table': 1, 'outer': 1, 'open': 1, 'select': 1, - 'size': 1, 'are': 1, 'rows': 1, 'from': 1, 'prepare': 1, - 'distinct': 1, 'leading': 1, 'create': 1, 'only': 1, 'next': 1, - 'inner': 1, 'authorization': 1, 'schema': 1, 'corresponding': 1, - 'option': 1, 'declare': 1, 'precision': 1, 'immediate': 1, 'else': 1, - 'timezone_minute': 1, 'external': 1, 'varying': 1, 'translation': 1, - 'true': 1, 'case': 1, 'exception': 1, 'join': 1, 'hour': 1, - 'default': 1, 'double': 1, 'scroll': 1, 'value': 1, 'cursor': 1, - 'descriptor': 1, 'values': 1, 'dec': 1, 'fetch': 1, 'procedure': 1, - 'delete': 1, 'and': 1, 'false': 1, 'int': 1, 'is': 1, 'describe': 1, - 'char': 1, 'as': 1, 'at': 1, 'in': 1, 'varchar': 1, 'null': 1, - 'trailing': 1, 'any': 1, 'absolute': 1, 'current_time': 1, 'end': 1, - 'grant': 1, 'privileges': 1, 'when': 1, 'cross': 1, 'check': 1, - 'write': 1, 'current_date': 1, 'pad': 1, 'begin': 1, 'temporary': 1, - 'exec': 1, 'time': 1, 'update': 1, 'catalog': 1, 'user': 1, 'sql': 1, - 'date': 1, 'on': 1, 'identity': 1, 'timezone_hour': 1, 'natural': 1, - 'whenever': 1, 'interval': 1, 'work': 1, 'order': 1, 'cascade': 1, - 'diagnostics': 1, 'nchar': 1, 'having': 1, 'left': 1, 'call': 1, - 'do': 1, 'handler': 1, 'load': 1, 'replace': 1, 'truncate': 1, - 'start': 1, 'lock': 1, 'show': 1, 'pragma': 1}, - 'aggregate': {'count': 1, 'sum': 1, 'min': 1, 'max': 1, 'avg': 1} - }, - contains: [ - { - className: 'string', - begin: '\'', end: '\'', - contains: [hljs.BACKSLASH_ESCAPE, {begin: '\'\''}], - relevance: 0 - }, - { - className: 'string', - begin: '"', end: '"', - contains: [hljs.BACKSLASH_ESCAPE, {begin: '""'}], - relevance: 0 - }, - { - className: 'string', - begin: '`', end: '`', - contains: [hljs.BACKSLASH_ESCAPE] - }, - hljs.C_NUMBER_MODE, - {begin: '\\n'} - ] - }, - hljs.C_BLOCK_COMMENT_MODE, - { - className: 'comment', - begin: '--', end: '$' - } - ] - } -}; diff --git a/html/languages/tex.js b/html/languages/tex.js deleted file mode 100644 index 36da6ecb..00000000 --- a/html/languages/tex.js +++ /dev/null @@ -1,62 +0,0 @@ -/* -Language: TeX -Author: Vladimir Moskva -Website: http://fulc.ru/ -*/ - -hljs.LANGUAGES.tex = function() { - var COMMAND1 = { - className: 'command', - begin: '\\\\[a-zA-Zа-яА-я]+[\\*]?', - relevance: 10 - }; - var COMMAND2 = { - className: 'command', - begin: '\\\\[^a-zA-Zа-яА-я0-9]', - relevance: 0 - }; - var SPECIAL = { - className: 'special', - begin: '[{}\\[\\]\\&#~]', - relevance: 0 - }; - - return { - defaultMode: { - contains: [ - { // parameter - begin: '\\\\[a-zA-Zа-яА-я]+[\\*]? *= *-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?', - returnBegin: true, - contains: [ - COMMAND1, COMMAND2, - { - className: 'number', - begin: ' *=', end: '-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?', - excludeBegin: true - } - ], - relevance: 10 - }, - COMMAND1, COMMAND2, - SPECIAL, - { - className: 'formula', - begin: '\\$\\$', end: '\\$\\$', - contains: [COMMAND1, COMMAND2, SPECIAL], - relevance: 0 - }, - { - className: 'formula', - begin: '\\$', end: '\\$', - contains: [COMMAND1, COMMAND2, SPECIAL], - relevance: 0 - }, - { - className: 'comment', - begin: '%', end: '$', - relevance: 0 - } - ] - } - }; -}(); diff --git a/html/languages/vala.js b/html/languages/vala.js deleted file mode 100644 index c4030942..00000000 --- a/html/languages/vala.js +++ /dev/null @@ -1,75 +0,0 @@ -/* -Language: Vala -Author: Antono Vasiljev -Description: Vala is a new programming language that aims to bring modern programming language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. -*/ - -hljs.LANGUAGES.vala = { - defaultMode: { - keywords: { - keyword: { - // Value types - 'char': 1, 'uchar': 1, 'unichar': 1, - 'int': 1, 'uint': 1, 'long': 1, 'ulong': 1, - 'short': 1, 'ushort': 1, - 'int8': 1, 'int16': 1, 'int32': 1, 'int64': 1, - 'uint8': 1, 'uint16': 1, 'uint32': 1, 'uint64': 1, - 'float': 1, 'double': 1, 'bool': 1, 'struct': 1, 'enum': 1, - 'string': 1, 'void': 1, - // Reference types - 'weak': 5, 'unowned': 5, 'owned': 5, - // Modifiers - 'async': 5, 'signal': 5, 'static': 1, 'abstract': 1, 'interface': 1, 'override': 1, - // Control Structures - 'while': 1, 'do': 1, 'for': 1, 'foreach': 1, 'else': 1, 'switch': 1, - 'case': 1, 'break': 1, 'default': 1, 'return': 1, 'try': 1, 'catch': 1, - // Visibility - 'public': 1, 'private': 1, 'protected': 1, 'internal': 1, - // Other - 'using': 1, 'new': 1, 'this': 1, 'get': 1, 'set': 1, 'const': 1, - 'stdout': 1, 'stdin': 1, 'stderr': 1, 'var': 1, - // Builtins - 'DBus': 2, 'GLib': 2, 'CCode': 10, 'Gee': 10, 'Object': 1 - }, - literal: { 'false': 1, 'true': 1, 'null': 1 } - }, - contains: [ - { - className: 'class', - begin: '(class |interface |delegate |namespace )', end: '{', - keywords: {'class': 1, 'interface': 1}, - contains: [ - { - begin: '(implements|extends)', end: hljs.IMMEDIATE_RE, - keywords: {'extends': 1, 'implements': 1}, - relevance: 1 - }, - { - className: 'title', - begin: hljs.UNDERSCORE_IDENT_RE, end: hljs.IMMEDIATE_RE - } - ] - }, - hljs.C_LINE_COMMENT_MODE, - hljs.C_BLOCK_COMMENT_MODE, - { - className: 'string', - begin: '"""', end: '"""', - relevance: 5 - }, - hljs.APOS_STRING_MODE, - hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE, - { - className: 'preprocessor', - begin: '^#', end: '$', - relevance: 2 - }, - { - className: 'constant', - begin: ' [A-Z_]+ ', end: hljs.IMMEDIATE_RE, - relevance: 0 - } - ] - } -}; diff --git a/html/languages/vbscript.js b/html/languages/vbscript.js deleted file mode 100644 index ef74f77a..00000000 --- a/html/languages/vbscript.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -Language: VBScript -Author: Nikita Ledyaev -Contributors: Michal Gabrukiewicz -*/ - -hljs.LANGUAGES.vbscript = { - case_insensitive: true, - defaultMode: { - keywords: { - 'keyword': {'call' : 1,'class' : 1,'const' : 1,'dim' : 1,'do' : 1,'loop' : 1,'erase' : 1,'execute' : 1,'executeglobal' : 1,'exit' : 1,'for' : 1,'each' : 1,'next' : 1,'function' : 1,'if' : 1,'then' : 1,'else' : 1,'on' : 1, 'error' : 1,'option' : 1, 'explicit' : 1, 'new': 1, 'private' : 1,'property' : 1,'let' : 1,'get' : 1,'public' : 1,'randomize' : 1,'redim' : 1,'rem' : 1,'select' : 1,'case' : 1,'set' : 1,'stop' : 1,'sub' : 1,'while' : 1,'wend' : 1,'with' : 1, 'end' : 1, 'to' : 1, 'elseif': 1, 'is': 1, 'or': 1, 'xor': 1, 'and': 1, 'not': 1, 'class_initialize': 1, 'class_terminate': 1, 'default': 1, 'preserve': 1, 'in': 1, 'me': 1, 'byval': 1, 'byref': 1, 'step': 1, 'resume': 1, 'goto': 1}, - 'built_in': {'lcase': 1, 'month': 1, 'vartype': 1, 'instrrev': 1, 'ubound': 1, 'setlocale': 1, 'getobject': 1, 'rgb': 1, 'getref': 1, 'string': 1, 'weekdayname': 1, 'rnd': 1, 'dateadd': 1, 'monthname': 1, 'now': 1, 'day': 1, 'minute': 1, 'isarray': 1, 'cbool': 1, 'round': 1, 'formatcurrency': 1, 'conversions': 1, 'csng': 1, 'timevalue': 1, 'second': 1, 'year': 1, 'space': 1, 'abs': 1, 'clng': 1, 'timeserial': 1, 'fixs': 1, 'len': 1, 'asc': 1, 'isempty': 1, 'maths': 1, 'dateserial': 1, 'atn': 1, 'timer': 1, 'isobject': 1, 'filter': 1, 'weekday': 1, 'datevalue': 1, 'ccur': 1, 'isdate': 1, 'instr': 1, 'datediff': 1, 'formatdatetime': 1, 'replace': 1, 'isnull': 1, 'right': 1, 'sgn': 1, 'array': 1, 'snumeric': 1, 'log': 1, 'cdbl': 1, 'hex': 1, 'chr': 1, 'lbound': 1, 'msgbox': 1, 'ucase': 1, 'getlocale': 1, 'cos': 1, 'cdate': 1, 'cbyte': 1, 'rtrim': 1, 'join': 1, 'hour': 1, 'oct': 1, 'typename': 1, 'trim': 1, 'strcomp': 1, 'int': 1, 'createobject': 1, 'loadpicture': 1, 'tan': 1, 'formatnumber': 1, 'mid': 1, 'scriptenginebuildversion': 1, 'scriptengine': 1, 'split': 1, 'scriptengineminorversion': 1, 'cint': 1, 'sin': 1, 'datepart': 1, 'ltrim': 1, 'sqr': 1, 'scriptenginemajorversion': 1, 'time': 1, 'derived': 1, 'eval': 1, 'date': 1, 'formatpercent': 1, 'exp': 1, 'inputbox': 1, 'left': 1, 'ascw': 1, 'chrw': 1, 'regexp': 1, 'server': 1, 'response': 1, 'request': 1, 'cstr': 1, 'err': 1}, - 'literal': {'true': 1, 'false': 1, 'null': 1, 'nothing': 1, 'empty': 1} - }, - contains: [ - { // can't use standard QUOTE_STRING_MODE since it's compiled with its own escape and doesn't use the local one - className: 'string', - begin: '"', end: '"', - illegal: '\\n', - contains: [{begin: '""'}], - relevance: 0 - }, - { - className: 'comment', - begin: '\'', end: '$' - }, - hljs.C_NUMBER_MODE - ] - } -}; diff --git a/html/languages/vhdl.js b/html/languages/vhdl.js deleted file mode 100644 index 360ae97b..00000000 --- a/html/languages/vhdl.js +++ /dev/null @@ -1,30 +0,0 @@ -/* -Language: VHDL -Description: VHDL is a hardware description language used in electronic design automation to describe digital and mixed-signal systems. -Author: Igor Kalnitsky -Website: http://kalnitsky.org.ua/ -*/ - -hljs.LANGUAGES.vhdl = { - case_insensitive: true, - defaultMode: { - keywords: { - 'keyword': { 'abs': 1, 'access': 1, 'after': 1, 'alias': 1, 'all': 1, 'and': 1, 'architecture': 2, 'array': 1, 'assert': 1, 'attribute': 1, 'begin': 1, 'block': 1, 'body': 1, 'buffer': 1, 'bus': 1, 'case': 1, 'component': 2, 'configuration': 1, 'constant': 1, 'disconnect': 2, 'downto': 2, 'else': 1, 'elsif': 1, 'end': 1, 'entity': 2, 'exit': 1, 'file': 1, 'for': 1, 'function': 1, 'generate': 2, 'generic': 2, 'group': 1, 'guarded': 2, 'if': 0, 'impure': 2, 'in': 1, 'inertial': 1, 'inout': 1, 'is': 1, 'label': 1, 'library': 1, 'linkage': 1, 'literal': 1, 'loop': 1, 'map': 1, 'mod': 1, 'nand': 1, 'new': 1, 'next': 1, 'nor': 1, 'not': 1, 'null': 1, 'of': 1, 'on': 1, 'open': 1, 'or': 1, 'others': 1, 'out': 1, 'package': 1, 'port': 2, 'postponed': 1, 'procedure': 1, 'process': 1, 'pure': 2, 'range': 1, 'record': 1, 'register': 1, 'reject': 1, 'return': 1, 'rol': 1, 'ror': 1, 'select': 1, 'severity': 1, 'signal': 1, 'shared': 1, 'sla': 1, 'sli': 1, 'sra': 1, 'srl': 1, 'subtype': 2, 'then': 1, 'to': 1, 'transport': 1, 'type': 1, 'units': 1, 'until': 1, 'use': 1, 'variable': 1, 'wait': 1, 'when': 1, 'while': 1, 'with': 1, 'xnor': 1, 'xor': 1}, - 'type': { 'boolean': 1, 'bit': 1, 'character': 1, 'severity_level': 2, 'integer': 1, 'time': 1, 'delay_length': 2, 'natural': 1, 'positive': 1, 'string': 1, 'bit_vector': 2, 'file_open_kind': 2, 'file_open_status': 2, 'std_ulogic': 2, 'std_ulogic_vector': 2, 'std_logic': 2, 'std_logic_vector': 2 } - }, - contains: [ - { - className: 'comment', - begin: '--', end: '$' - }, - hljs.QUOTE_STRING_MODE, - hljs.C_NUMBER_MODE, - { - className: 'literal', - begin: '\'(U|X|0|1|Z|W|L|H|-)', end: '\'', - contains: [hljs.BACKSLASH_ESCAPE], - relevance: 5 - } - ] - } -}; diff --git a/html/languages/xml.js b/html/languages/xml.js deleted file mode 100644 index 172e3df5..00000000 --- a/html/languages/xml.js +++ /dev/null @@ -1,103 +0,0 @@ -/* -Language: HTML, XML -*/ - -hljs.LANGUAGES.xml = function(){ - var XML_IDENT_RE = '[A-Za-z0-9\\._:-]+'; - var TAG_INTERNALS = { - endsWithParent: true, - contains: [ - { - className: 'attribute', - begin: XML_IDENT_RE, - relevance: 0 - }, - { - begin: '="', returnBegin: true, end: '"', - contains: [{ - className: 'value', - begin: '"', endsWithParent: true - }] - }, - { - begin: '=\'', returnBegin: true, end: '\'', - contains: [{ - className: 'value', - begin: '\'', endsWithParent: true - }] - }, - { - begin: '=', - contains: [{ - className: 'value', - begin: '[^\\s/>]+' - }] - } - ] - }; - return { - case_insensitive: true, - defaultMode: { - contains: [ - { - className: 'pi', - begin: '<\\?', end: '\\?>', - relevance: 10 - }, - { - className: 'doctype', - begin: '', - relevance: 10, - contains: [{begin: '\\[', end: '\\]'}] - }, - { - className: 'comment', - begin: '', - relevance: 10 - }, - { - className: 'cdata', - begin: '<\\!\\[CDATA\\[', end: '\\]\\]>', - relevance: 10 - }, - { - className: 'tag', - begin: '', - keywords: {'title': {'style': 1}}, - contains: [TAG_INTERNALS], - starts: { - className: 'css', - end: '', returnEnd: true, - subLanguage: 'css' - } - }, - { - className: 'tag', - begin: '', - keywords: {'title': {'script': 1}}, - contains: [TAG_INTERNALS], - starts: { - className: 'javascript', - end: '', returnEnd: true, - subLanguage: 'javascript' - } - }, - { - className: 'vbscript', - begin: '<%', end: '%>', - subLanguage: 'vbscript' - }, - { - className: 'tag', - begin: '', - contains: [ - { - className: 'title', begin: '[^ />]+' - }, - TAG_INTERNALS - ] - } - ] - } - }; -}(); diff --git a/html/packages b/html/packages new file mode 120000 index 00000000..a16c4050 --- /dev/null +++ b/html/packages @@ -0,0 +1 @@ +../packages \ No newline at end of file diff --git a/html/partials/getting-started.html b/html/partials/getting-started.html new file mode 100644 index 00000000..02564b08 --- /dev/null +++ b/html/partials/getting-started.html @@ -0,0 +1,116 @@ +

Getting started

+
+ +

Installing

+

To add the repository put this before the call to package-initialize in your init.el file.

+ +
(require 'package)
+(add-to-list 'package-archives
+  '("melpa" . "http://melpa.milkbox.net/packages/") t)
+ +

In Emacs < 24, you'll also need to explicitly include the GNU + ELPA archive, which provides important compatibility libraries like cl-lib:

+
(when (< emacs-major-version 24)
+  (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")))
+ +

Customizations

+

+ What if you only want some of your packages to be installed + from MELPA, and the rest from Marmalade or elsewhere? +

+

+ Only in the very latest Emacs snapshots is there a way to + exclude or include versions according to their source + (see package-pinned-packages). For all other + users, we provide a melpa.el package (available + in MELPA) that will allow you to enable only certain packages + or exclude certain packages. + You can install the package + manually by pasting this into your *scratch* + buffer and evaluating it. +

+
(progn
+  (switch-to-buffer
+    (url-retrieve-synchronously
+      "https://raw.github.com/milkypostman/melpa/master/melpa.el"))
+  (package-install-from-buffer  (package-buffer-info) 'single))
+ +

You can then customize two variables:

+
+
package-archive-enable-alist
+
+

+ Optional Alist of enabled packages used + by package-filter. The format + is (ARCHIVE . PACKAGE ...), + where ARCHIVE is a string matching an archive + name inpackage-archives, PACKAGE + is a symbol of a package in ARCHIVE to + enable. +

+

+ If no ARCHIVE exists in the alist, all + packages are enabled. +

+
+
package-archive-exclude-alist
+
+

+ Alist of packages excluded by package-filter + . The format is (ARCHIVE . PACKAGE + ...), where ARCHIVE is a string + matching an archive name + inpackage-archives, PACKAGE is + a symbol of a package in that archive to exclude.

+

+ Any specified package is excluded regardless of the value + of package-archive-enable-alist +

+
+
+
+
+ +

Known Issues

+

+ Note: These fixes are included in + the melpa.el package. +

+

+ There is a small bug in Emacs24’s package.el such + that the dependency order comes out backwards. The problem is + patched by some advice. +

+ +
 (defadvice package-compute-transaction
+  (before package-compute-transaction-reverse (package-list requirements) activate compile)
+    "reverse the requirements"
+    (setq requirements (reverse requirements))
+    (print requirements))
+
+
+ +

Updating Packages

+

+ package.el now includes a mechanism to upgrade + packages. After running package-list-packages, + type U (mark Upgradable packages) and then x + (eXecute the installs and deletions). When it’s done + installing all the packages it will ask if you want to delete + the obsolete packages and so you can hit y (Yes). +

+

+ If you run into a problem installing or upgrading, you may + need to go into your ~/.emacs.d/elpa/ directory + and delete packages that are installed multiple times. This + can happen when the install times out. +

+ +

Development

+

https://github.com/milkypostman/melpa

+

+ Contributions are welcome. Currently, the builder supports + packages using git, subversion, mercurial, bzr, cvs, darcs and + emacswiki. +

+
diff --git a/html/partials/list.html b/html/partials/list.html new file mode 100644 index 00000000..a0547796 --- /dev/null +++ b/html/partials/list.html @@ -0,0 +1,34 @@ +
+ +

Current List of Packages + ( downloads to date) +

+

+ +   +

+ + + + + + + + + + + + + + + + + + + + +
PackageDescriptionVersionRecipeSourceDLs
{{package.name}}{{package.description}}{{package.version}} + {{package.source}} + {{package.source}} + {{package.downloads}}
+
diff --git a/html/partials/package.html b/html/partials/package.html new file mode 100644 index 00000000..2df40712 --- /dev/null +++ b/html/partials/package.html @@ -0,0 +1,49 @@ +

{{pkg.name}} + {{pkg.version}} +

+ +

{{pkg.description}}

+

+ Recipe + Download + Homepage +

+
+
+
+
Downloads
+
{{pkg.downloads}} (all versions), percentile: {{downloadsPercentile | number:2}}
+
Source
+
+ {{pkg.source}} + {{pkg.source}} +
+
Dependencies
+
+ {{dep.name}} {{dep.version}} + {{dep.name}} {{dep.version}} + / + - +
+
Needed by
+
+ {{dep.name}} + / + - +
+
Renamed from:
+
, {{oldName}}
+
Old name needed by
+
+ + {{dep.name}} + / + - +
+
+
+
+
+

Description

+
{{readme}}
+
diff --git a/html/styles/arta.css b/html/styles/arta.css deleted file mode 100644 index 85b46942..00000000 --- a/html/styles/arta.css +++ /dev/null @@ -1,151 +0,0 @@ -/* -Date: 17.V.2011 -Author: pumbur -*/ - -pre code -{ - display: block; padding: 0.5em; - background: #222; -} - -pre .header, -pre .profile .header *, -pre .ini .title -{ - color: #fff; -} - -pre .comment, -pre .javadoc, -pre .preprocessor, -pre .shebang, -pre .profile .summary, -pre .diff, -pre .pi, -pre .doctype, -pre .xml .tag, -pre .template_comment, -pre .css .rules, -pre .tex .special -{ - color: #444; -} - -pre .string, -pre .symbol, -pre .diff .change, -pre .regexp, -pre .xml .attribute, -pre .xml .value, -pre .smalltalk .char, -pre .ini .value -{ - color: #ffcc33; -} - -pre .number, -pre .addition -{ - color: #00cc66; -} - -pre .built_in, -pre .literal, -pre .vhdl .type, -pre .go .constant, -pre .go .typename, -pre .ini .keyword, -pre .lua .title, -pre .perl .variable, -pre .php .variable, -pre .mel .variable, -pre .django .variable, -pre .css .funtion, -pre .smalltalk .method, -pre .hexcolor, -pre .important, -pre .flow, -pre .inheritance, -pre .parser3 .variable -{ - color: #32AAEE; -} - -pre .keyword, -pre .xml .tag .title, -pre .css .tag, -pre .css .class, -pre .css .id, -pre .css .pseudo, -pre .css .attr_selector, -pre .lisp .title, -pre .winutils, -pre .tex .command -{ - color: #6644aa; -} - -pre .class .title, -pre .ruby .constant, -pre .vala .constant, -pre .parent, -pre .deletion, -pre .template_tag, -pre .css .keyword, -pre .javascript .title, -pre .objectivec .class .id, -pre .smalltalk .class, -pre .lisp .keyword, -pre .apache .tag, -pre .nginx .variable, -pre .envvar, -pre .bash .variable, -pre .go .built_in, -pre .vbscript .built_in, -pre .lua .built_in, -pre .rsl .built_in, -pre .tail, -pre .avrasm .label, -pre .parser3 .title, -pre .tex .formula, -pre .tex .formula * -{ - color: #bb1166; -} - -pre .yardoctag, -pre .phpdoc, -pre .profile .header, -pre .ini .title, -pre .apache .tag, -pre .parser3 .title -{ - font-weight: bold; -} - -pre .xml .javascript, -pre .xml .css, -pre .xml .cdata -{ - opacity: 0.6; -} - -pre code, -pre .javascript, -pre .css, -pre .xml, -pre .subst, -pre .diff .chunk, -pre .css .value, -pre .css .attribute, -pre .lisp .string, -pre .lisp .number, -pre .tail .params, -pre .container, -pre .haskell *, -pre .erlang *, -pre .erlang_repl * -{ - color: #aaa; -} diff --git a/html/styles/ascetic.css b/html/styles/ascetic.css deleted file mode 100644 index f7249bb2..00000000 --- a/html/styles/ascetic.css +++ /dev/null @@ -1,45 +0,0 @@ -/* - -Original style from softwaremaniacs.org (c) Ivan Sagalaev - -*/ - -pre code { - display: block; padding: 0.5em; - background: white; color: black; -} - -pre .string, -pre .tag .value, -pre .filter .argument, -pre .addition, -pre .change, -pre .apache .tag, -pre .apache .cbracket, -pre .nginx .built_in, -pre .tex .formula { - color: #888; -} - -pre .comment, -pre .template_comment, -pre .shebang, -pre .doctype, -pre .pi, -pre .javadoc, -pre .deletion, -pre .apache .sqbracket { - color: #CCC; -} - -pre .keyword, -pre .tag .title, -pre .css .tag, -pre .ini .title, -pre .winutils, -pre .flow, -pre .lisp .title, -pre .apache .tag, -pre .tex .command { - font-weight: bold; -} diff --git a/html/styles/brown_paper.css b/html/styles/brown_paper.css deleted file mode 100644 index 6d152b4e..00000000 --- a/html/styles/brown_paper.css +++ /dev/null @@ -1,105 +0,0 @@ -/* - -Brown Paper style from goldblog.com.ua (c) Zaripov Yura - -*/ - -pre code { - display: block; padding: 0.5em; - background:#b7a68e url(./brown_papersq.png); -} - -pre .keyword, -pre .literal, -pre .change, -pre .winutils, -pre .flow, -pre .lisp .title, -pre .tex .special { - color:#005599; - font-weight:bold; -} - -pre code, -pre .ruby .subst, -pre .tag .keyword { - color: #363C69; -} - -pre .string, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .ini .title, -pre .tag .value, -pre .css .rules .value, -pre .preprocessor, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .ruby .instancevar, -pre .ruby .class .parent, -pre .built_in, -pre .sql .aggregate, -pre .django .template_tag, -pre .django .variable, -pre .smalltalk .class, -pre .javadoc, -pre .ruby .string, -pre .django .filter .argument, -pre .smalltalk .localvars, -pre .smalltalk .array, -pre .attr_selector, -pre .pseudo, -pre .addition, -pre .stream, -pre .envvar, -pre .apache .tag, -pre .apache .cbracket, -pre .tex .number { - color: #2C009F; -} - -pre .comment, -pre .java .annotation, -pre .python .decorator, -pre .template_comment, -pre .pi, -pre .doctype, -pre .deletion, -pre .shebang, -pre .apache .sqbracket, -pre .nginx .built_in, -pre .tex .formula { - color: #802022; -} - -pre .keyword, -pre .literal, -pre .css .id, -pre .phpdoc, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .vbscript .built_in, -pre .sql .aggregate, -pre .rsl .built_in, -pre .smalltalk .class, -pre .xml .tag .title, -pre .diff .header, -pre .chunk, -pre .winutils, -pre .bash .variable, -pre .lisp .title, -pre .apache .tag, -pre .tex .command { - font-weight: bold; -} - -pre .xml .css, -pre .xml .javascript, -pre .xml .vbscript, -pre .tex .formula { - opacity: 0.8; -} diff --git a/html/styles/brown_papersq.png b/html/styles/brown_papersq.png deleted file mode 100644 index 3813903d..00000000 Binary files a/html/styles/brown_papersq.png and /dev/null differ diff --git a/html/styles/dark.css b/html/styles/dark.css deleted file mode 100644 index f58ff917..00000000 --- a/html/styles/dark.css +++ /dev/null @@ -1,103 +0,0 @@ -/* - -Dark style from softwaremaniacs.org (c) Ivan Sagalaev - -*/ - -pre code { - display: block; padding: 0.5em; - background: #444; -} - -pre .keyword, -pre .literal, -pre .change, -pre .winutils, -pre .flow, -pre .lisp .title, -pre .tex .special { - color: white; -} - -pre code, -pre .ruby .subst { - color: #DDD; -} - -pre .string, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .ini .title, -pre .tag .value, -pre .css .rules .value, -pre .preprocessor, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .ruby .instancevar, -pre .ruby .class .parent, -pre .built_in, -pre .sql .aggregate, -pre .django .template_tag, -pre .django .variable, -pre .smalltalk .class, -pre .javadoc, -pre .ruby .string, -pre .django .filter .argument, -pre .smalltalk .localvars, -pre .smalltalk .array, -pre .attr_selector, -pre .pseudo, -pre .addition, -pre .stream, -pre .envvar, -pre .apache .tag, -pre .apache .cbracket, -pre .tex .command, -pre .input_number { - color: #D88; -} - -pre .comment, -pre .java .annotation, -pre .python .decorator, -pre .template_comment, -pre .pi, -pre .doctype, -pre .deletion, -pre .shebang, -pre .apache .sqbracket, -pre .tex .formula { - color: #777; -} - -pre .keyword, -pre .literal, -pre .css .id, -pre .phpdoc, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .vbscript .built_in, -pre .sql .aggregate, -pre .rsl .built_in, -pre .smalltalk .class, -pre .xml .tag .title, -pre .diff .header, -pre .chunk, -pre .winutils, -pre .bash .variable, -pre .lisp .title, -pre .apache .tag, -pre .tex .special { - font-weight: bold; -} - -pre .xml .css, -pre .xml .javascript, -pre .xml .vbscript, -pre .tex .formula { - opacity: 0.5; -} diff --git a/html/styles/default.css b/html/styles/default.css deleted file mode 100644 index 2b0d3d1d..00000000 --- a/html/styles/default.css +++ /dev/null @@ -1,121 +0,0 @@ -/* - -Original style from softwaremaniacs.org (c) Ivan Sagalaev - -*/ - -pre code { - display: block; padding: 0.5em; - background: #F0F0F0; -} - -pre code, -pre .ruby .subst, -pre .tag .title, -pre .lisp .title { - color: black; -} - -pre .string, -pre .title, -pre .constant, -pre .parent, -pre .tag .value, -pre .rules .value, -pre .rules .value .number, -pre .preprocessor, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .instancevar, -pre .aggregate, -pre .template_tag, -pre .django .variable, -pre .smalltalk .class, -pre .addition, -pre .flow, -pre .stream, -pre .bash .variable, -pre .apache .tag, -pre .apache .cbracket, -pre .tex .command, -pre .tex .special, -pre .erlang_repl .function_or_atom { - color: #800; -} - -pre .comment, -pre .annotation, -pre .template_comment, -pre .diff .header, -pre .chunk { - color: #888; -} - -pre .number, -pre .date, -pre .regexp, -pre .literal, -pre .smalltalk .symbol, -pre .smalltalk .char, -pre .go .constant, -pre .change { - color: #080; -} - -pre .label, -pre .javadoc, -pre .ruby .string, -pre .decorator, -pre .filter .argument, -pre .localvars, -pre .array, -pre .attr_selector, -pre .important, -pre .pseudo, -pre .pi, -pre .doctype, -pre .deletion, -pre .envvar, -pre .shebang, -pre .apache .sqbracket, -pre .nginx .built_in, -pre .tex .formula, -pre .erlang_repl .reserved, -pre .input_number { - color: #88F -} - -pre .css .tag, -pre .javadoctag, -pre .phpdoc, -pre .yardoctag { - font-weight: bold; -} - -pre .keyword, -pre .id, -pre .phpdoc, -pre .title, -pre .built_in, -pre .aggregate, -pre .smalltalk .class, -pre .winutils, -pre .bash .variable, -pre .apache .tag, -pre .go .typename, -pre .tex .command { - font-weight: bold; -} - -pre .nginx .built_in { - font-weight: normal; -} - -pre .xml .css, -pre .xml .javascript, -pre .xml .vbscript, -pre .tex .formula { - opacity: 0.5; -} diff --git a/html/styles/far.css b/html/styles/far.css deleted file mode 100644 index c4c9f65d..00000000 --- a/html/styles/far.css +++ /dev/null @@ -1,118 +0,0 @@ -/* - -FAR Style (c) MajestiC - -*/ - -pre code { - display: block; padding: 0.5em; - background: #000080; -} - -pre code, -.ruby .subst { - color: #0FF; -} - -pre .string, -pre .ruby .string, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .ini .title, -pre .tag .value, -pre .css .rules .value, -pre .css .rules .value .number, -pre .preprocessor, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .built_in, -pre .sql .aggregate, -pre .django .template_tag, -pre .django .variable, -pre .smalltalk .class, -pre .addition, -pre .apache .tag, -pre .apache .cbracket, -pre .tex .command { - color: #FF0; -} - -pre .keyword, -pre .css .id, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .ini .title, -pre .vbscript .built_in, -pre .sql .aggregate, -pre .rsl .built_in, -pre .smalltalk .class, -pre .xml .tag .title, -pre .winutils, -pre .flow, -pre .lisp .title, -pre .change, -pre .envvar, -pre .bash .variable, -pre .tex .special { - color: #FFF; -} - -pre .comment, -pre .phpdoc, -pre .javadoc, -pre .java .annotation, -pre .template_comment, -pre .deletion, -pre .apache .sqbracket, -pre .tex .formula { - color: #888; -} - -pre .number, -pre .date, -pre .regexp, -pre .literal, -pre .smalltalk .symbol, -pre .smalltalk .char { - color: #0F0; -} - -pre .python .decorator, -pre .django .filter .argument, -pre .smalltalk .localvars, -pre .smalltalk .array, -pre .attr_selector, -pre .pseudo, -pre .xml .pi, -pre .diff .header, -pre .chunk, -pre .shebang, -pre .nginx .built_in, -pre .input_number { - color: #008080; -} - -pre .keyword, -pre .css .id, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .ini .title, -pre .vbscript .built_in, -pre .sql .aggregate, -pre .rsl .built_in, -pre .smalltalk .class, -pre .xml .tag .title, -pre .winutils, -pre .flow, -pre .lisp .title, -pre .apache .tag, -pre .nginx .built_in, -pre .tex .command, -pre .tex .special { - font-weight: bold; -} diff --git a/html/styles/github.css b/html/styles/github.css deleted file mode 100644 index bd778a76..00000000 --- a/html/styles/github.css +++ /dev/null @@ -1,129 +0,0 @@ -/* - -github.com style (c) Vasily Polovnyov - -*/ - -pre code { - display: block; padding: 0.5em; - color: #000; - background: #f8f8ff -} - -pre .comment, -pre .template_comment, -pre .diff .header, -pre .javadoc { - color: #998; - font-style: italic -} - -pre .keyword, -pre .css .rule .keyword, -pre .winutils, -pre .javascript .title, -pre .lisp .title, -pre .subst { - color: #000; - font-weight: bold -} - -pre .number, -pre .hexcolor { - color: #40a070 -} - -pre .string, -pre .tag .value, -pre .phpdoc, -pre .tex .formula { - color: #d14 -} - -pre .title, -pre .id { - color: #900; - font-weight: bold -} - -pre .javascript .title, -pre .lisp .title, -pre .subst { - font-weight: normal -} - -pre .class .title, -pre .haskell .label, -pre .tex .command { - color: #458; - font-weight: bold -} - -pre .tag, -pre .tag .title, -pre .rules .property, -pre .django .tag .keyword { - color: #000080; - font-weight: normal -} - -pre .attribute, -pre .variable, -pre .instancevar, -pre .lisp .body { - color: #008080 -} - -pre .regexp { - color: #009926 -} - -pre .class { - color: #458; - font-weight: bold -} - -pre .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .lisp .keyword, -pre .tex .special, -pre .input_number { - color: #990073 -} - -pre .builtin, -pre .built_in, -pre .lisp .title { - color: #0086b3 -} - -pre .preprocessor, -pre .pi, -pre .doctype, -pre .shebang, -pre .cdata { - color: #999; - font-weight: bold -} - -pre .deletion { - background: #fdd -} - -pre .addition { - background: #dfd -} - -pre .diff .change { - background: #0086b3 -} - -pre .chunk { - color: #aaa -} - -pre .tex .formula { - opacity: 0.5; -} diff --git a/html/styles/idea.css b/html/styles/idea.css deleted file mode 100644 index 3d8baab8..00000000 --- a/html/styles/idea.css +++ /dev/null @@ -1,118 +0,0 @@ -/* - -Intellij Idea-like styling (c) Vasily Polovnyov - -*/ - -pre code { - display: block; padding: 0.5em; - color: #000; - background: #fff; -} - -pre .subst, -pre .title { - font-weight: normal; - color: #000; -} - -pre .comment, -pre .template_comment, -pre .javadoc, -pre .diff .header { - color: #808080; - font-style: italic; -} - -pre .annotation, -pre .decorator, -pre .preprocessor, -pre .doctype, -pre .pi, -pre .chunk, -pre .shebang, -pre .apache .cbracket, -pre .input_number { - color: #808000; -} - -pre .tag, -pre .pi { - background: #efefef; -} - -pre .tag .title, -pre .id, -pre .attr_selector, -pre .pseudo, -pre .literal, -pre .keyword, -pre .hexcolor, -pre .css .function, -pre .ini .title, -pre .css .class, -pre .list .title, -pre .tex .command { - font-weight: bold; - color: #000080; -} - -pre .attribute, -pre .rules .keyword, -pre .number, -pre .date, -pre .regexp, -pre .tex .special { - font-weight: bold; - color: #0000ff; -} - -pre .number, -pre .regexp { - font-weight: normal; -} - -pre .string, -pre .value, -pre .filter .argument, -pre .css .function .params, -pre .apache .tag { - color: #008000; - font-weight: bold; -} - -pre .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .char, -pre .tex .formula { - color: #000; - background: #d0eded; - font-style: italic; -} - -pre .phpdoc, -pre .yardoctag, -pre .javadoctag { - text-decoration: underline; -} - -pre .variable, -pre .envvar, -pre .apache .sqbracket, -pre .nginx .built_in { - color: #660e7a; -} - -pre .addition { - background: #baeeba; -} - -pre .deletion { - background: #ffc8bd; -} - -pre .diff .change { - background: #bccff9; -} diff --git a/html/styles/ir_black.css b/html/styles/ir_black.css deleted file mode 100644 index 04bc7195..00000000 --- a/html/styles/ir_black.css +++ /dev/null @@ -1,103 +0,0 @@ -/* - IR_Black style (c) Vasily Mikhailitchenko -*/ - -pre code { - display: block; padding: 0.5em; - background: #000; color: #f8f8f8; -} - -pre .shebang, -pre .comment, -pre .template_comment, -pre .javadoc { - color: #7c7c7c; -} - -pre .keyword, -pre .tag, -pre .ruby .function .keyword, -pre .tex .command { - color: #96CBFE; -} - -pre .function .keyword, -pre .sub .keyword, -pre .method, -pre .list .title { - color: #FFFFB6; -} - -pre .string, -pre .tag .value, -pre .cdata, -pre .filter .argument, -pre .attr_selector, -pre .apache .cbracket, -pre .date { - color: #A8FF60; -} - -pre .subst { - color: #DAEFA3; -} - -pre .regexp { - color: #E9C062; -} - -pre .function .title, -pre .sub .identifier, -pre .pi, -pre .decorator, -pre .ini .title, -pre .tex .special { - color: #FFFFB6; -} - -pre .class .title, -pre .haskell .label, -pre .constant, -pre .smalltalk .class, -pre .javadoctag, -pre .yardoctag, -pre .phpdoc, -pre .nginx .built_in { - color: #FFFFB6; -} - -pre .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .number, -pre .variable, -pre .vbscript, -pre .literal { - color: #C6C5FE; -} - -pre .css .tag { - color: #96CBFE; -} - -pre .css .rules .property, -pre .css .id { - color: #FFFFB6; -} - -pre .css .class { - color: #FFF; -} - -pre .hexcolor { - color: #C6C5FE; -} - -pre .number { - color:#FF73FD; -} - -pre .tex .formula { - opacity: 0.7; -} diff --git a/html/styles/magula.css b/html/styles/magula.css deleted file mode 100644 index 646de7ee..00000000 --- a/html/styles/magula.css +++ /dev/null @@ -1,118 +0,0 @@ -/* -Description: Magula style for highligh.js -Author: Ruslan Keba -Website: http://rukeba.com/ -Version: 1.0 -Date: 2009-01-03 -Music: Aphex Twin / Xtal -*/ - -pre code { - display: block; padding: 0.5em; - background-color: #f4f4f4; -} - -pre code, -pre .ruby .subst, -pre .lisp .title { - color: black; -} - -pre .string, -pre .title, -pre .parent, -pre .tag .value, -pre .rules .value, -pre .rules .value .number, -pre .preprocessor, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .instancevar, -pre .aggregate, -pre .template_tag, -pre .django .variable, -pre .smalltalk .class, -pre .addition, -pre .flow, -pre .stream, -pre .bash .variable, -pre .apache .cbracket { - color: #050; -} - -pre .comment, -pre .annotation, -pre .template_comment, -pre .diff .header, -pre .chunk { - color: #777; -} - -pre .number, -pre .date, -pre .regexp, -pre .literal, -pre .smalltalk .symbol, -pre .smalltalk .char, -pre .change, -pre .tex .special { - color: #800; -} - -pre .label, -pre .javadoc, -pre .ruby .string, -pre .decorator, -pre .filter .argument, -pre .localvars, -pre .array, -pre .attr_selector, -pre .pseudo, -pre .pi, -pre .doctype, -pre .deletion, -pre .envvar, -pre .shebang, -pre .apache .sqbracket, -pre .nginx .built_in, -pre .tex .formula, -pre .input_number { - color: #00e; -} - -pre .keyword, -pre .id, -pre .phpdoc, -pre .title, -pre .built_in, -pre .aggregate, -pre .smalltalk .class, -pre .winutils, -pre .bash .variable, -pre .apache .tag, -pre .xml .tag, -pre .xml .title, -pre .tex .command { - font-weight: bold; - color: navy; -} - -pre .nginx .built_in { - font-weight: normal; -} - -pre .xml .css, -pre .xml .javascript, -pre .xml .vbscript, -pre .tex .formula { - opacity: 0.5; -} - -/* --- */ -pre .apache .tag { - font-weight: bold; - color: blue; -} - diff --git a/html/styles/school_book.css b/html/styles/school_book.css deleted file mode 100644 index 22cb686c..00000000 --- a/html/styles/school_book.css +++ /dev/null @@ -1,111 +0,0 @@ -/* - -School Book style from goldblog.com.ua (c) Zaripov Yura - -*/ - -pre code { - display: block; padding: 15px 0.5em 0.5em 30px; - font-size: 11px !important; - line-height:16px !important; -} - -pre{ - background:#f6f6ae url(./school_book.png); - border-top: solid 2px #d2e8b9; - border-bottom: solid 1px #d2e8b9; -} - -pre .keyword, -pre .literal, -pre .change, -pre .winutils, -pre .flow, -pre .lisp .title, -pre .tex .special { - color:#005599; - font-weight:bold; -} - -pre code, -pre .ruby .subst, -pre .tag .keyword { - color: #3E5915; -} - -pre .string, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .ini .title, -pre .tag .value, -pre .css .rules .value, -pre .preprocessor, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .ruby .instancevar, -pre .ruby .class .parent, -pre .built_in, -pre .sql .aggregate, -pre .django .template_tag, -pre .django .variable, -pre .smalltalk .class, -pre .javadoc, -pre .ruby .string, -pre .django .filter .argument, -pre .smalltalk .localvars, -pre .smalltalk .array, -pre .attr_selector, -pre .pseudo, -pre .addition, -pre .stream, -pre .envvar, -pre .apache .tag, -pre .apache .cbracket, -pre .nginx .built_in, -pre .tex .command { - color: #2C009F; -} - -pre .comment, -pre .java .annotation, -pre .python .decorator, -pre .template_comment, -pre .pi, -pre .doctype, -pre .deletion, -pre .shebang, -pre .apache .sqbracket { - color: #E60415; -} - -pre .keyword, -pre .literal, -pre .css .id, -pre .phpdoc, -pre .function .title, -pre .class .title, -pre .haskell .label, -pre .vbscript .built_in, -pre .sql .aggregate, -pre .rsl .built_in, -pre .smalltalk .class, -pre .xml .tag .title, -pre .diff .header, -pre .chunk, -pre .winutils, -pre .bash .variable, -pre .lisp .title, -pre .apache .tag, -pre .tex .command { - font-weight: bold; -} - -pre .xml .css, -pre .xml .javascript, -pre .xml .vbscript, -pre .tex .formula { - opacity: 0.5; -} diff --git a/html/styles/school_book.png b/html/styles/school_book.png deleted file mode 100644 index 956e9790..00000000 Binary files a/html/styles/school_book.png and /dev/null differ diff --git a/html/styles/solarized_dark.css b/html/styles/solarized_dark.css deleted file mode 100644 index e0062b46..00000000 --- a/html/styles/solarized_dark.css +++ /dev/null @@ -1,96 +0,0 @@ -/* - -Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull - -*/ - -pre code { - display: block; padding: 0.5em; - background: #002b36; color: #839496; -} - -pre .comment, -pre .template_comment, -pre .diff .header, -pre .doctype, -pre .lisp .string, -pre .javadoc { - color: #586e75; - font-style: italic; -} - -pre .keyword, -pre .css .rule .keyword, -pre .winutils, -pre .javascript .title, -pre .method, -pre .addition, -pre .css .tag, -pre .lisp .title { - color: #859900; -} - -pre .number, -pre .command, -pre .string, -pre .tag .value, -pre .phpdoc, -pre .tex .formula, -pre .regexp, -pre .hexcolor { - color: #2aa198; -} - -pre .title, -pre .localvars, -pre .function .title, -pre .chunk, -pre .decorator, -pre .builtin, -pre .built_in, -pre .lisp .title, -pre .identifier, -pre .title .keymethods, -pre .id { - color: #268bd2; -} - -pre .tag .title, -pre .rules .property, -pre .django .tag .keyword { - font-weight: bold; -} - -pre .attribute, -pre .variable, -pre .instancevar, -pre .lisp .body, -pre .smalltalk .number, -pre .constant, -pre .class .title, -pre .parent, -pre .haskell .label { - color: #b58900; -} - -pre .preprocessor, -pre .pi, -pre .shebang, -pre .symbol, -pre .diff .change, -pre .special, -pre .keymethods, -pre .attr_selector, -pre .important, -pre .subst, -pre .cdata { - color: #cb4b16; -} - -pre .deletion { - color: #dc322f; -} - -pre .tex .formula { - background: #073642; -} diff --git a/html/styles/solarized_light.css b/html/styles/solarized_light.css deleted file mode 100644 index 88a0609b..00000000 --- a/html/styles/solarized_light.css +++ /dev/null @@ -1,96 +0,0 @@ -/* - -Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull - -*/ - -pre code { - display: block; padding: 0.5em; - background: #fdf6e3; color: #657b83; -} - -pre .comment, -pre .template_comment, -pre .diff .header, -pre .doctype, -pre .lisp .string, -pre .javadoc { - color: #93a1a1; - font-style: italic; -} - -pre .keyword, -pre .css .rule .keyword, -pre .winutils, -pre .javascript .title, -pre .method, -pre .addition, -pre .css .tag, -pre .lisp .title { - color: #859900; -} - -pre .number, -pre .command, -pre .string, -pre .tag .value, -pre .phpdoc, -pre .tex .formula, -pre .regexp, -pre .hexcolor { - color: #2aa198; -} - -pre .title, -pre .localvars, -pre .function .title, -pre .chunk, -pre .decorator, -pre .builtin, -pre .built_in, -pre .lisp .title, -pre .identifier, -pre .title .keymethods, -pre .id { - color: #268bd2; -} - -pre .tag .title, -pre .rules .property, -pre .django .tag .keyword { - font-weight: bold; -} - -pre .attribute, -pre .variable, -pre .instancevar, -pre .lisp .body, -pre .smalltalk .number, -pre .constant, -pre .class .title, -pre .parent, -pre .haskell .label { - color: #b58900; -} - -pre .preprocessor, -pre .pi, -pre .shebang, -pre .symbol, -pre .diff .change, -pre .special, -pre .keymethods, -pre .attr_selector, -pre .important, -pre .subst, -pre .cdata { - color: #cb4b16; -} - -pre .deletion { - color: #dc322f; -} - -pre .tex .formula { - background: #eee8d5; -} diff --git a/html/styles/sunburst.css b/html/styles/sunburst.css deleted file mode 100644 index 79339b94..00000000 --- a/html/styles/sunburst.css +++ /dev/null @@ -1,147 +0,0 @@ -/* - -Sunburst-like style (c) Vasily Polovnyov - -*/ - -pre code { - display: block; padding: 0.5em; - background: #000; color: #f8f8f8; -} - -pre .comment, -pre .template_comment, -pre .javadoc { - color: #aeaeae; - font-style: italic; -} - -pre .keyword, -pre .ruby .function .keyword { - color: #E28964; -} - -pre .function .keyword, -pre .sub .keyword, -pre .method, -pre .list .title { - color: #99CF50; -} - -pre .string, -pre .tag .value, -pre .cdata, -pre .filter .argument, -pre .attr_selector, -pre .apache .cbracket, -pre .date, -pre .tex .command { - color: #65B042; -} - -pre .subst { - color: #DAEFA3; -} - -pre .regexp { - color: #E9C062; -} - -pre .function .title, -pre .sub .identifier, -pre .pi, -pre .tag, -pre .tag .keyword, -pre .decorator, -pre .ini .title, -pre .shebang, -pre .input_number { - color: #89BDFF; -} - -pre .class .title, -pre .haskell .label, -pre .smalltalk .class, -pre .javadoctag, -pre .yardoctag, -pre .phpdoc { - text-decoration: underline; -} - -pre .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .number { - color: #3387CC; -} - -pre .params, -pre .variable { - color: #3E87E3; -} - -pre .css .tag, -pre .rules .property, -pre .pseudo, -pre .tex .special { - color: #CDA869; -} - -pre .css .class { - color: #9B703F; -} - -pre .rules .keyword { - color: #C5AF75; -} - -pre .rules .value { - color: #CF6A4C; -} - -pre .css .id { - color: #8B98AB; -} - -pre .annotation, -pre .apache .sqbracket, -pre .nginx .built_in { - color: #9B859D; -} - -pre .preprocessor { - color: #8996A8; -} - -pre .hexcolor, -pre .css .value .number { - color: #DD7B3B; -} - -pre .css .function { - color: #DAD085; -} - -pre .diff .header, -pre .chunk, -pre .tex .formula { - background-color: #0E2231; - color: #F8F8F8; - font-style: italic; -} - -pre .diff .change { - background-color: #4A410D; - color: #F8F8F8; -} - -pre .addition { - background-color: #253B22; - color: #F8F8F8; -} - -pre .deletion { - background-color: #420E09; - color: #F8F8F8; -} diff --git a/html/styles/vs.css b/html/styles/vs.css deleted file mode 100644 index 3b9a33a5..00000000 --- a/html/styles/vs.css +++ /dev/null @@ -1,84 +0,0 @@ -/* - -Visual Studio-like style based on original C# coloring by Jason Diamond - -*/ -pre code { - display: block; padding: 0.5em; -} - -pre .comment, -pre .annotation, -pre .template_comment, -pre .diff .header, -pre .chunk, -pre .apache .cbracket { - color: rgb(0, 128, 0); -} - -pre .keyword, -pre .id, -pre .title, -pre .built_in, -pre .aggregate, -pre .smalltalk .class, -pre .winutils, -pre .bash .variable, -pre .tex .command { - color: rgb(0, 0, 255); -} - -pre .string, -pre .title, -pre .parent, -pre .tag .value, -pre .rules .value, -pre .rules .value .number, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .instancevar, -pre .aggregate, -pre .template_tag, -pre .django .variable, -pre .addition, -pre .flow, -pre .stream, -pre .apache .tag, -pre .date, -pre .tex .formula { - color: rgb(163, 21, 21); -} - -pre .ruby .string, -pre .decorator, -pre .filter .argument, -pre .localvars, -pre .array, -pre .attr_selector, -pre .pseudo, -pre .pi, -pre .doctype, -pre .deletion, -pre .envvar, -pre .shebang, -pre .preprocessor, -pre .userType, -pre .apache .sqbracket, -pre .nginx .built_in, -pre .tex .special, -pre .input_number { - color: rgb(43, 145, 175); -} - -pre .phpdoc, -pre .javadoc, -pre .xmlDocTag { - color: rgb(128, 128, 128); -} - -pre .vhdl .type { font-weight: bold; } -pre .vhdl .string { color: #666666; } -pre .vhdl .literal { color: rgb(163, 21, 21); } - diff --git a/html/styles/zenburn.css b/html/styles/zenburn.css deleted file mode 100644 index f4070ca1..00000000 --- a/html/styles/zenburn.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - -Zenburn style from voldmar.ru (c) Vladimir Epifanov -based on dark.css by Ivan Sagalaev - -*/ - -pre code { - display: block; padding: 0.5em; - background: #3F3F3F; - color: #DCDCDC; -} - -pre .keyword, -pre .tag, -pre .django .tag, -pre .django .keyword, -pre .css .class, -pre .css .id, -pre .lisp .title { - color: #E3CEAB; -} - -pre .django .template_tag, -pre .django .variable, -pre .django .filter .argument { - color: #DCDCDC; -} - -pre .number, -pre .date { - color: #8CD0D3; -} - -pre .dos .envvar, -pre .dos .stream, -pre .variable, -pre .apache .sqbracket { - color: #EFDCBC; -} - -pre .dos .flow, -pre .diff .change, -pre .python .exception, -pre .python .built_in, -pre .literal, -pre .tex .special { - color: #EFEFAF; -} - -pre .diff .chunk, -pre .ruby .subst { - color: #8F8F8F; -} - -pre .dos .keyword, -pre .python .decorator, -pre .class .title, -pre .haskell .label, -pre .function .title, -pre .ini .title, -pre .diff .header, -pre .ruby .class .parent, -pre .apache .tag, -pre .nginx .built_in, -pre .tex .command, -pre .input_number { - color: #efef8f; -} - -pre .dos .winutils, -pre .ruby .symbol, -pre .ruby .symbol .string, -pre .ruby .symbol .keyword, -pre .ruby .symbol .keymethods, -pre .ruby .string, -pre .ruby .instancevar { - color: #DCA3A3; -} - -pre .diff .deletion, -pre .string, -pre .tag .value, -pre .preprocessor, -pre .built_in, -pre .sql .aggregate, -pre .javadoc, -pre .smalltalk .class, -pre .smalltalk .localvars, -pre .smalltalk .array, -pre .css .rules .value, -pre .attr_selector, -pre .pseudo, -pre .apache .cbracket, -pre .tex .formula { - color: #CC9393; -} - -pre .shebang, -pre .diff .addition, -pre .comment, -pre .java .annotation, -pre .template_comment, -pre .pi, -pre .doctype { - color: #7F9F7F; -} - -pre .xml .css, -pre .xml .javascript, -pre .xml .vbscript, -pre .tex .formula { - opacity: 0.5; -} - diff --git a/html/template.html b/html/template.html deleted file mode 100644 index 41efd1b5..00000000 --- a/html/template.html +++ /dev/null @@ -1,92 +0,0 @@ -$if(html5)$ - - -$else$ - - -$endif$ - - - - -$if(html5)$ - -$else$ - -$endif$ - -$for(author)$ - -$endfor$ -$if(date)$ - -$endif$ - $if(title-prefix)$$title-prefix$ - $endif$$if(pagetitle)$$pagetitle$$endif$ -$if(html5)$ - -$endif$ -$if(highlighting-css)$ - -$endif$ -$for(css)$ - -$endfor$ -$if(math)$ -$if(html5)$ -$else$ - $math$ -$endif$ -$endif$ -$for(header-includes)$ - $header-includes$ -$endfor$ - - -Fork me on GitHub -
-$for(include-before)$ -$include-before$ -$endfor$ -$if(title)$ -$if(html5)$ -
-$else$ -
-$endif$ -

$title$

-$for(author)$ -

$author$

-$endfor$ -$if(date)$ -

$date$

-$endif$ -$if(html5)$ -
-$else$ -
-$endif$ -$endif$ -$if(toc)$ -$if(html5)$ - -$else$ -
-$toc$ -
-$endif$ -$endif$ -$body$ -$for(include-after)$ -$include-after$ -$endfor$ - - - diff --git a/html/updates.rss.erb b/html/updates.rss.erb index e4a4ec70..ecfad384 100644 --- a/html/updates.rss.erb +++ b/html/updates.rss.erb @@ -15,7 +15,7 @@ require 'json' require 'time' require 'ostruct' - JSON.parse(File.open("../archive.json").read).each do |pkgname, info| + packages = JSON.parse(File.open("archive.json").read).map do |pkgname, info| versions, deps, descr, pkgtype = info version = versions.join('.') package = OpenStruct.new @@ -26,6 +26,9 @@ package.build_time = Time.new(version[0..3].to_i, version[4..5].to_i, version[6..7].to_i, hour_portion[0..1].to_i, hour_portion[2..3].to_i) package.url = "#{base_url}packages/#{pkgname}-#{version}." + (pkgtype == "single" ? "el" : "tar") package.info_url = "#{base_url}##{pkgname}" + package + end + packages.sort_by { |p| p.version }.reverse[0..200].each do |package| %> <%= package.name %> (<%= package.version %>) --- <%= ERB::Util.html_escape package.description %> diff --git a/melpa.el b/melpa.el index b4998668..afa1513b 100644 --- a/melpa.el +++ b/melpa.el @@ -70,8 +70,7 @@ ARCHIVE is the string name of the package archive." package-compute-transaction-reverse (package-list requirements) activate compile) "reverse the requirements" - (setq requirements (reverse requirements)) - (print requirements)) + (setq requirements (reverse requirements))) ;;;###autoload diff --git a/package-build.el b/package-build.el index 0ce56f2f..ae8ee520 100644 --- a/package-build.el +++ b/package-build.el @@ -87,7 +87,7 @@ function for access to this function") (defconst pb/default-files-spec '("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/*.info" "doc/*.texi" "doc/*.texinfo" - (:exclude "*-test.el" "*-tests.el")) + (:exclude "tests.el" "*-test.el" "*-tests.el")) "Default value for :files attribute in recipes.") @@ -224,7 +224,8 @@ seconds; the server cuts off after 10 requests in 20 seconds.") (with-current-buffer (pb/with-wiki-rate-limit (url-retrieve-synchronously wiki-url)) (pb/find-parse-time - "Last edited \\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\} [A-Z]\\{3\\}\\)")))) + "Last edited \\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [0-9]\\{2\\}:[0-9]\\{2\\} [A-Z]\\{3\\}\\)" + url-http-end-of-headers)))) (pb/dump (cons new-content-hash new-timestamp) stamp-file) new-timestamp))))) @@ -813,6 +814,10 @@ and a cl struct in Emacs HEAD. This wrapper normalises the results." file-name version cfg))) + (unless (string-equal (concat file-name ".el") + (file-name-nondirectory pkg-source)) + (error "Single file %s does not match package name %s" + (file-name-nondirectory pkg-source) file-name)) (when (file-exists-p pkg-target) (delete-file pkg-target t)) (copy-file pkg-source pkg-target) diff --git a/recipes/4clojure b/recipes/4clojure new file mode 100644 index 00000000..d9b3aa74 --- /dev/null +++ b/recipes/4clojure @@ -0,0 +1 @@ +(4clojure :fetcher github :repo "joshuarh/4clojure.el") diff --git a/recipes/ac-c-headers b/recipes/ac-c-headers new file mode 100644 index 00000000..24662ff6 --- /dev/null +++ b/recipes/ac-c-headers @@ -0,0 +1 @@ +(ac-c-headers :repo "zk-phi/ac-c-headers" :fetcher github) diff --git a/recipes/ac-emmet b/recipes/ac-emmet new file mode 100644 index 00000000..b761ad58 --- /dev/null +++ b/recipes/ac-emmet @@ -0,0 +1 @@ +(ac-emmet :repo "yasuyk/ac-emmet" :fetcher github) diff --git a/recipes/ac-geiser b/recipes/ac-geiser new file mode 100644 index 00000000..bfe9587b --- /dev/null +++ b/recipes/ac-geiser @@ -0,0 +1 @@ +(ac-geiser :fetcher github :repo "xiaohanyu/ac-geiser") diff --git a/recipes/achievements-mode b/recipes/achievements-mode new file mode 100644 index 00000000..29d9f3ee --- /dev/null +++ b/recipes/achievements-mode @@ -0,0 +1 @@ +(achievements-mode :fetcher github :repo "Fuco1/achievements-mode") diff --git a/recipes/alect-themes b/recipes/alect-themes new file mode 100644 index 00000000..efc9280e --- /dev/null +++ b/recipes/alect-themes @@ -0,0 +1 @@ +(alect-themes :repo "alezost/alect-themes" :fetcher github) diff --git a/recipes/ample-zen-theme b/recipes/ample-zen-theme new file mode 100644 index 00000000..f56cad7f --- /dev/null +++ b/recipes/ample-zen-theme @@ -0,0 +1 @@ +(ample-zen-theme :fetcher github :repo "mjwall/ample-zen") diff --git a/recipes/anzu b/recipes/anzu new file mode 100644 index 00000000..46406182 --- /dev/null +++ b/recipes/anzu @@ -0,0 +1 @@ +(anzu :fetcher github :repo "syohex/emacs-anzu") \ No newline at end of file diff --git a/recipes/aok b/recipes/aok new file mode 100644 index 00000000..7ba12e07 --- /dev/null +++ b/recipes/aok @@ -0,0 +1 @@ +(aok :fetcher wiki) diff --git a/recipes/apropos-fn+var b/recipes/apropos-fn+var new file mode 100644 index 00000000..a3258f15 --- /dev/null +++ b/recipes/apropos-fn+var @@ -0,0 +1 @@ +(apropos-fn+var :fetcher wiki) diff --git a/recipes/auctex-lua b/recipes/auctex-lua new file mode 100644 index 00000000..7b0bd26a --- /dev/null +++ b/recipes/auctex-lua @@ -0,0 +1 @@ +(auctex-lua :repo "vermiculus/auctex-lua" :fetcher github) diff --git a/recipes/auto-complete-nxml b/recipes/auto-complete-nxml new file mode 100644 index 00000000..8c735dbc --- /dev/null +++ b/recipes/auto-complete-nxml @@ -0,0 +1 @@ +(auto-complete-nxml :fetcher github :repo "aki2o/auto-complete-nxml") diff --git a/recipes/autofit-frame b/recipes/autofit-frame new file mode 100644 index 00000000..74d341bf --- /dev/null +++ b/recipes/autofit-frame @@ -0,0 +1 @@ +(autofit-frame :fetcher wiki) diff --git a/recipes/automargin b/recipes/automargin new file mode 100644 index 00000000..a68b593d --- /dev/null +++ b/recipes/automargin @@ -0,0 +1 @@ +(automargin :fetcher github :repo "zk-phi/automargin" :files ("automargin.el")) \ No newline at end of file diff --git a/recipes/bpe b/recipes/bpe new file mode 100644 index 00000000..d336619f --- /dev/null +++ b/recipes/bpe @@ -0,0 +1,3 @@ +(bpe :repo "yuutayamada/bpe" + :fetcher github + :files ("bpe.el")) diff --git a/recipes/busybee-theme b/recipes/busybee-theme new file mode 100644 index 00000000..b7ac7025 --- /dev/null +++ b/recipes/busybee-theme @@ -0,0 +1 @@ +(busybee-theme :fetcher github :repo "mswift42/busybee-theme") diff --git a/recipes/calmer-forest-theme b/recipes/calmer-forest-theme new file mode 100644 index 00000000..c69e7cf2 --- /dev/null +++ b/recipes/calmer-forest-theme @@ -0,0 +1 @@ +(calmer-forest-theme :repo "caldwell/calmer-forest-theme" :fetcher github) diff --git a/recipes/cask b/recipes/cask index 50e2c012..610a3936 100644 --- a/recipes/cask +++ b/recipes/cask @@ -1 +1 @@ -(cask :repo "rejeep/cask.el" :fetcher github) +(cask :repo "cask/cask" :fetcher github :old-names (carton)) diff --git a/recipes/cg b/recipes/cg new file mode 100644 index 00000000..46183947 --- /dev/null +++ b/recipes/cg @@ -0,0 +1,4 @@ +(cg + :fetcher svn + :url "http://beta.visl.sdu.dk/svn/visl/tools/vislcg3/trunk/emacs" + :files ("cg.el")) diff --git a/recipes/cider b/recipes/cider new file mode 100644 index 00000000..71143273 --- /dev/null +++ b/recipes/cider @@ -0,0 +1 @@ +(cider :fetcher github :repo "clojure-emacs/cider" :old-names (nrepl)) diff --git a/recipes/cider-decompile b/recipes/cider-decompile new file mode 100644 index 00000000..edf30ae3 --- /dev/null +++ b/recipes/cider-decompile @@ -0,0 +1,3 @@ +(cider-decompile :repo "clojure-emacs/cider-decompile" + :fetcher github + :old-names (nrepl-decompile)) diff --git a/recipes/cider-tracing b/recipes/cider-tracing new file mode 100644 index 00000000..4f73d0e1 --- /dev/null +++ b/recipes/cider-tracing @@ -0,0 +1,3 @@ +(cider-tracing :repo "clojure-emacs/cider-tracing" + :fetcher github + :old-names (nrepl-tracing)) diff --git a/recipes/cl-lib-highlight b/recipes/cl-lib-highlight new file mode 100644 index 00000000..98ad9615 --- /dev/null +++ b/recipes/cl-lib-highlight @@ -0,0 +1,2 @@ +(cl-lib-highlight :repo "skeeto/cl-lib-highlight" + :fetcher github) diff --git a/recipes/clips-mode b/recipes/clips-mode new file mode 100644 index 00000000..2bfdc554 --- /dev/null +++ b/recipes/clips-mode @@ -0,0 +1 @@ +(clips-mode :fetcher github :repo "grettke/clips-mode") diff --git a/recipes/clojure-cheatsheet b/recipes/clojure-cheatsheet index 638b1a64..f17d6de0 100644 --- a/recipes/clojure-cheatsheet +++ b/recipes/clojure-cheatsheet @@ -1 +1 @@ -(clojure-cheatsheet :fetcher github :repo "krisajenkins/clojure-cheatsheet") +(clojure-cheatsheet :fetcher github :repo "clojure-emacs/clojure-cheatsheet") diff --git a/recipes/colorsarenice-theme b/recipes/colorsarenice-theme new file mode 100644 index 00000000..c94d7e76 --- /dev/null +++ b/recipes/colorsarenice-theme @@ -0,0 +1 @@ +(colorsarenice-theme :fetcher github :repo "Fanael/colorsarenice-theme") diff --git a/recipes/confluence b/recipes/confluence index edd3f82e..a2113f77 100644 --- a/recipes/confluence +++ b/recipes/confluence @@ -1 +1,4 @@ -(confluence :fetcher svn :url "http://confluence-el.googlecode.com/svn/trunk/" :files ("confluence.el")) \ No newline at end of file +(confluence + :fetcher svn + :url "http://confluence-el.googlecode.com/svn/trunk/" + :files ("confluence*.el" "*.dtd" "*.xsl")) diff --git a/recipes/confluence-edit b/recipes/confluence-edit deleted file mode 100644 index 9acffe5a..00000000 --- a/recipes/confluence-edit +++ /dev/null @@ -1 +0,0 @@ -(confluence-edit :fetcher svn :url "http://confluence-el.googlecode.com/svn/trunk/" :files ("confluence-edit.el")) \ No newline at end of file diff --git a/recipes/conkeror-minor-mode b/recipes/conkeror-minor-mode new file mode 100644 index 00000000..4bca699d --- /dev/null +++ b/recipes/conkeror-minor-mode @@ -0,0 +1 @@ +(conkeror-minor-mode :repo "Bruce-Connor/conkeror-minor-mode" :fetcher github) diff --git a/recipes/connection b/recipes/connection new file mode 100644 index 00000000..4a2635c7 --- /dev/null +++ b/recipes/connection @@ -0,0 +1,3 @@ +(connection :repo "myrkr/dictionary-el" + :fetcher github + :files ("connection.el")) diff --git a/recipes/control-mode b/recipes/control-mode new file mode 100644 index 00000000..4fa11bf6 --- /dev/null +++ b/recipes/control-mode @@ -0,0 +1 @@ +(control-mode :fetcher "github" :repo "stephendavidmarsh/control-mode") diff --git a/recipes/css-eldoc b/recipes/css-eldoc new file mode 100644 index 00000000..5fc16894 --- /dev/null +++ b/recipes/css-eldoc @@ -0,0 +1,3 @@ +(css-eldoc :fetcher github + :repo "zenozeng/css-eldoc" + :files ("css-eldoc.el" "css-eldoc-hash-table.el")) \ No newline at end of file diff --git a/recipes/csv-mode b/recipes/csv-mode deleted file mode 100644 index 534d1628..00000000 --- a/recipes/csv-mode +++ /dev/null @@ -1,2 +0,0 @@ -(csv-mode :repo "emacsmirror/csv-mode" :fetcher github) - diff --git a/recipes/cucumber-goto-step b/recipes/cucumber-goto-step new file mode 100644 index 00000000..cb335448 --- /dev/null +++ b/recipes/cucumber-goto-step @@ -0,0 +1,2 @@ +(cucumber-goto-step :repo "gstamp/cucumber-goto-step" + :fetcher github) diff --git a/recipes/dash-functional b/recipes/dash-functional new file mode 100644 index 00000000..c72fa5f0 --- /dev/null +++ b/recipes/dash-functional @@ -0,0 +1 @@ +(dash-functional :fetcher github :repo "magnars/dash.el" :files ("dash-functional.el")) diff --git a/recipes/dictionary b/recipes/dictionary new file mode 100644 index 00000000..71635ccf --- /dev/null +++ b/recipes/dictionary @@ -0,0 +1,3 @@ +(dictionary :repo "myrkr/dictionary-el" + :fetcher github + :files ("dictionary.el")) diff --git a/recipes/dim-autoload b/recipes/dim-autoload new file mode 100644 index 00000000..9e5f05a2 --- /dev/null +++ b/recipes/dim-autoload @@ -0,0 +1 @@ +(dim-autoload :repo "tarsius/dim-autoload" :fetcher github) diff --git a/recipes/dired-sort-menu b/recipes/dired-sort-menu new file mode 100644 index 00000000..8a1f3281 --- /dev/null +++ b/recipes/dired-sort-menu @@ -0,0 +1 @@ +(dired-sort-menu :fetcher wiki) diff --git a/recipes/dired-sort-menu+ b/recipes/dired-sort-menu+ new file mode 100644 index 00000000..77dd0409 --- /dev/null +++ b/recipes/dired-sort-menu+ @@ -0,0 +1 @@ +(dired-sort-menu+ :fetcher wiki) diff --git a/recipes/dired-toggle b/recipes/dired-toggle new file mode 100644 index 00000000..db0c46a4 --- /dev/null +++ b/recipes/dired-toggle @@ -0,0 +1,3 @@ +(dired-toggle + :repo "fasheng/dired-toggle" + :fetcher github) diff --git a/recipes/dired-toggle-sudo b/recipes/dired-toggle-sudo new file mode 100644 index 00000000..988945a5 --- /dev/null +++ b/recipes/dired-toggle-sudo @@ -0,0 +1,3 @@ +(dired-toggle-sudo + :fetcher github + :repo "renard/dired-toggle-sudo") diff --git a/recipes/dkdo b/recipes/dkdo new file mode 100644 index 00000000..c188983f --- /dev/null +++ b/recipes/dkdo @@ -0,0 +1 @@ +(dkdo :fetcher github :repo "davidkeegan/dkdo" :files ("*.el" "*.texi" "dir" "*.do")) diff --git a/recipes/dkmisc b/recipes/dkmisc new file mode 100644 index 00000000..a9f9be65 --- /dev/null +++ b/recipes/dkmisc @@ -0,0 +1,2 @@ +(dkmisc :fetcher github :repo "davidkeegan/dkmisc") + diff --git a/recipes/docker-mode b/recipes/docker-mode new file mode 100644 index 00000000..7b19790c --- /dev/null +++ b/recipes/docker-mode @@ -0,0 +1 @@ +(docker-mode :fetcher github :repo "justinabrahms/docker-mode") diff --git a/recipes/doremi b/recipes/doremi new file mode 100644 index 00000000..cd3357cf --- /dev/null +++ b/recipes/doremi @@ -0,0 +1 @@ +(doremi :fetcher wiki) diff --git a/recipes/doremi-cmd b/recipes/doremi-cmd new file mode 100644 index 00000000..14ca4153 --- /dev/null +++ b/recipes/doremi-cmd @@ -0,0 +1 @@ +(doremi-cmd :fetcher wiki) diff --git a/recipes/doremi-frm b/recipes/doremi-frm new file mode 100644 index 00000000..04fb88a5 --- /dev/null +++ b/recipes/doremi-frm @@ -0,0 +1 @@ +(doremi-frm :fetcher wiki) diff --git a/recipes/doremi-mac b/recipes/doremi-mac new file mode 100644 index 00000000..cff3559d --- /dev/null +++ b/recipes/doremi-mac @@ -0,0 +1 @@ +(doremi-mac :fetcher wiki) diff --git a/recipes/easy-kill b/recipes/easy-kill new file mode 100644 index 00000000..c1300dee --- /dev/null +++ b/recipes/easy-kill @@ -0,0 +1 @@ +(easy-kill :fetcher github :repo "leoliu/easy-kill") diff --git a/recipes/ecukes b/recipes/ecukes index 455546c4..bba83406 100644 --- a/recipes/ecukes +++ b/recipes/ecukes @@ -1,2 +1,2 @@ -(ecukes :repo "rejeep/ecukes" :fetcher github - :files ("ecukes*" "templates" "bin")) +(ecukes :repo "ecukes/ecukes" :fetcher github + :files ("ecukes*" "templates" "bin" "reporters")) diff --git a/recipes/el-spice b/recipes/el-spice new file mode 100644 index 00000000..98f45cba --- /dev/null +++ b/recipes/el-spice @@ -0,0 +1 @@ +(el-spice :repo "vedang/el-spice" :fetcher github) diff --git a/recipes/elfeed b/recipes/elfeed new file mode 100644 index 00000000..fec1b6f5 --- /dev/null +++ b/recipes/elfeed @@ -0,0 +1,2 @@ +(elfeed :repo "skeeto/elfeed" + :fetcher github) diff --git a/recipes/elfeed-web b/recipes/elfeed-web new file mode 100644 index 00000000..bf203ed6 --- /dev/null +++ b/recipes/elfeed-web @@ -0,0 +1,3 @@ +(elfeed-web :repo "skeeto/elfeed" + :fetcher github + :files ("web/*")) diff --git a/recipes/elhome b/recipes/elhome new file mode 100644 index 00000000..6e4a589a --- /dev/null +++ b/recipes/elhome @@ -0,0 +1,5 @@ +(elhome + :fetcher github + :repo "demyanrogozhin/elhome" + :files ("elhome.el" + "startup")) diff --git a/recipes/elixir-yasnippets b/recipes/elixir-yasnippets new file mode 100644 index 00000000..a3334775 --- /dev/null +++ b/recipes/elixir-yasnippets @@ -0,0 +1,4 @@ +(elixir-yasnippets + :repo "hisea/elixir-yasnippets" + :fetcher github + :files ("*.el" "snippets")) diff --git a/recipes/elpy b/recipes/elpy index 3c844004..3650321e 100644 --- a/recipes/elpy +++ b/recipes/elpy @@ -1,6 +1,7 @@ (elpy :fetcher github :repo "jorgenschaefer/elpy" + :commit "origin/release" :files ("elpy.el" "elpy-refactor.el" "elpy-pkg.el.in" diff --git a/recipes/emacs-highlight-unique-symbol b/recipes/emacs-highlight-unique-symbol deleted file mode 100644 index a9b02c36..00000000 --- a/recipes/emacs-highlight-unique-symbol +++ /dev/null @@ -1 +0,0 @@ -(emacs-highlight-unique-symbol :fetcher github :repo "hitode909/emacs-highlight-unique-symbol") diff --git a/recipes/epl b/recipes/epl new file mode 100644 index 00000000..c94c25f5 --- /dev/null +++ b/recipes/epl @@ -0,0 +1 @@ +(epl :repo "cask/epl" :fetcher github) diff --git a/recipes/ert-runner b/recipes/ert-runner index d40bcf0d..97370f9d 100644 --- a/recipes/ert-runner +++ b/recipes/ert-runner @@ -1,4 +1,4 @@ (ert-runner :fetcher github :repo "rejeep/ert-runner.el" - :files ("*.el" "bin")) + :files ("*.el" "bin" "reporters")) diff --git a/recipes/espuds b/recipes/espuds index 7a951f81..547bc0ea 100644 --- a/recipes/espuds +++ b/recipes/espuds @@ -1 +1 @@ -(espuds :repo "rejeep/espuds" :fetcher github) +(espuds :repo "ecukes/espuds" :fetcher github) diff --git a/recipes/ess b/recipes/ess index 87571405..7a98c09c 100644 --- a/recipes/ess +++ b/recipes/ess @@ -1,5 +1,5 @@ (ess :repo "emacs-ess/ESS" :fetcher github :files - ("*.el" ("lisp" "lisp/*.el") ("etc" "etc/*"))) + ("*.el" ("lisp" "lisp/*.el") ("etc" "etc/*") "doc/*.texi" "doc/info/dir")) diff --git a/recipes/evil-indent-textobject b/recipes/evil-indent-textobject new file mode 100644 index 00000000..d972aea2 --- /dev/null +++ b/recipes/evil-indent-textobject @@ -0,0 +1 @@ +(evil-indent-textobject :fetcher github :repo "cofi/evil-indent-textobject") diff --git a/recipes/evil-matchit b/recipes/evil-matchit new file mode 100644 index 00000000..6387ef31 --- /dev/null +++ b/recipes/evil-matchit @@ -0,0 +1 @@ +(evil-matchit :fetcher github :repo "redguardtoo/evil-matchit") diff --git a/recipes/evil-tabs b/recipes/evil-tabs new file mode 100644 index 00000000..e018c94c --- /dev/null +++ b/recipes/evil-tabs @@ -0,0 +1 @@ +(evil-tabs :fetcher github :repo "krisajenkins/evil-tabs") diff --git a/recipes/evil-visualstar b/recipes/evil-visualstar new file mode 100644 index 00000000..eab7443f --- /dev/null +++ b/recipes/evil-visualstar @@ -0,0 +1,2 @@ +(evil-visualstar :repo "bling/evil-visualstar" :fetcher github) + diff --git a/recipes/evm b/recipes/evm new file mode 100644 index 00000000..8ff39f53 --- /dev/null +++ b/recipes/evm @@ -0,0 +1 @@ +(evm :repo "rejeep/evm" :fetcher github) diff --git a/recipes/eyedropper b/recipes/eyedropper new file mode 100644 index 00000000..fee014b4 --- /dev/null +++ b/recipes/eyedropper @@ -0,0 +1 @@ +(eyedropper :fetcher wiki) diff --git a/recipes/ez-query-replace b/recipes/ez-query-replace new file mode 100644 index 00000000..c46e3b6c --- /dev/null +++ b/recipes/ez-query-replace @@ -0,0 +1,3 @@ +(ez-query-replace + :repo "Wilfred/ez-query-replace.el" + :fetcher github) diff --git a/recipes/face-remap+ b/recipes/face-remap+ new file mode 100644 index 00000000..85e7533c --- /dev/null +++ b/recipes/face-remap+ @@ -0,0 +1 @@ +(face-remap+ :fetcher wiki) diff --git a/recipes/facemenu+ b/recipes/facemenu+ new file mode 100644 index 00000000..d4ed37ed --- /dev/null +++ b/recipes/facemenu+ @@ -0,0 +1 @@ +(facemenu+ :fetcher wiki) diff --git a/recipes/faces+ b/recipes/faces+ new file mode 100644 index 00000000..98c1c53b --- /dev/null +++ b/recipes/faces+ @@ -0,0 +1 @@ +(faces+ :fetcher wiki) diff --git a/recipes/fasd b/recipes/fasd new file mode 100644 index 00000000..d2aab6d0 --- /dev/null +++ b/recipes/fasd @@ -0,0 +1 @@ +(fasd :repo "steckerhalter/emacs-fasd" :fetcher github) diff --git a/recipes/fasm-mode b/recipes/fasm-mode new file mode 100644 index 00000000..370ab060 --- /dev/null +++ b/recipes/fasm-mode @@ -0,0 +1 @@ +(fasm-mode :fetcher github :repo "Fanael/fasm-mode") diff --git a/recipes/files+ b/recipes/files+ new file mode 100644 index 00000000..9e00e51f --- /dev/null +++ b/recipes/files+ @@ -0,0 +1 @@ +(files+ :fetcher wiki) diff --git a/recipes/filesets+ b/recipes/filesets+ new file mode 100644 index 00000000..3ae5e916 --- /dev/null +++ b/recipes/filesets+ @@ -0,0 +1 @@ +(filesets+ :fetcher wiki) diff --git a/recipes/finder+ b/recipes/finder+ new file mode 100644 index 00000000..befe62a0 --- /dev/null +++ b/recipes/finder+ @@ -0,0 +1 @@ +(finder+ :fetcher wiki) diff --git a/recipes/flash-region b/recipes/flash-region new file mode 100644 index 00000000..1b0a9f01 --- /dev/null +++ b/recipes/flash-region @@ -0,0 +1 @@ +(flash-region :fetcher github :repo "Fuco1/flash-region") diff --git a/recipes/flycheck b/recipes/flycheck index fccd544e..5301e092 100644 --- a/recipes/flycheck +++ b/recipes/flycheck @@ -1 +1 @@ -(flycheck :repo "lunaryorn/flycheck" :fetcher github) +(flycheck :repo "flycheck/flycheck" :fetcher github) diff --git a/recipes/flycheck-cask b/recipes/flycheck-cask new file mode 100644 index 00000000..6fd9ec03 --- /dev/null +++ b/recipes/flycheck-cask @@ -0,0 +1 @@ +(flycheck-cask :repo "flycheck/flycheck-cask" :fetcher github) \ No newline at end of file diff --git a/recipes/flycheck-color-mode-line b/recipes/flycheck-color-mode-line index 9f7db9b9..b059f361 100644 --- a/recipes/flycheck-color-mode-line +++ b/recipes/flycheck-color-mode-line @@ -1 +1 @@ -(flycheck-color-mode-line :repo "syl20bnr/flycheck-color-mode-line" :fetcher github) +(flycheck-color-mode-line :repo "flycheck/flycheck-color-mode-line" :fetcher github) diff --git a/recipes/flycheck-d b/recipes/flycheck-d deleted file mode 100644 index e54f1854..00000000 --- a/recipes/flycheck-d +++ /dev/null @@ -1 +0,0 @@ -(flycheck-d :repo "tom-tan/flycheck-d" :fetcher github) diff --git a/recipes/flycheck-d-unittest b/recipes/flycheck-d-unittest new file mode 100644 index 00000000..f2514b4f --- /dev/null +++ b/recipes/flycheck-d-unittest @@ -0,0 +1,2 @@ +(flycheck-d-unittest :repo "flycheck/flycheck-d-unittest" :fetcher github + :old-names (flycheck-d)) diff --git a/recipes/flycheck-tip b/recipes/flycheck-tip new file mode 100644 index 00000000..8ec19ff1 --- /dev/null +++ b/recipes/flycheck-tip @@ -0,0 +1,4 @@ +(flycheck-tip + :repo "yuutayamada/flycheck-tip" + :fetcher github + :files ("flycheck-tip.el")) diff --git a/recipes/flymake-rust b/recipes/flymake-rust new file mode 100644 index 00000000..f1ac71c4 --- /dev/null +++ b/recipes/flymake-rust @@ -0,0 +1 @@ +(flymake-rust :repo "joaoxsouls/flymake-rust" :fetcher github) diff --git a/recipes/font-lock+ b/recipes/font-lock+ new file mode 100644 index 00000000..44453c45 --- /dev/null +++ b/recipes/font-lock+ @@ -0,0 +1 @@ +(font-lock+ :fetcher wiki) diff --git a/recipes/font-lock-menus b/recipes/font-lock-menus new file mode 100644 index 00000000..46c20dc1 --- /dev/null +++ b/recipes/font-lock-menus @@ -0,0 +1 @@ +(font-lock-menus :fetcher wiki) diff --git a/recipes/gather b/recipes/gather index 46182d79..e80c1b38 100644 --- a/recipes/gather +++ b/recipes/gather @@ -1 +1 @@ -(gather :fetcher github :repo "mhayashi1120/Emacs-Lisp" :files ("gather.el")) +(gather :fetcher github :repo "mhayashi1120/Emacs-gather" :files ("gather.el")) diff --git a/recipes/geiser b/recipes/geiser new file mode 100644 index 00000000..a37bc560 --- /dev/null +++ b/recipes/geiser @@ -0,0 +1,8 @@ +(geiser + :fetcher github + :repo "jaor/geiser" + :files ("elisp/*.el" + "elisp/geiser-version.el.in" + "doc/*.texi" + ("bin" "bin/*") (:exclude "bin/Makefile.am") + ("scheme" "scheme/*") (:exclude "scheme/Makefile.am"))) diff --git a/recipes/genrnc b/recipes/genrnc new file mode 100644 index 00000000..50b38a97 --- /dev/null +++ b/recipes/genrnc @@ -0,0 +1,3 @@ +(genrnc :repo "aki2o/emacs-genrnc" + :fetcher github + :files ("*.el" "*.jar" "*.xsl")) diff --git a/recipes/git b/recipes/git new file mode 100644 index 00000000..a2b80455 --- /dev/null +++ b/recipes/git @@ -0,0 +1 @@ +(git :repo "rejeep/git.el" :fetcher github) diff --git a/recipes/git-annex b/recipes/git-annex new file mode 100644 index 00000000..73ab575f --- /dev/null +++ b/recipes/git-annex @@ -0,0 +1 @@ +(git-annex :fetcher github :repo "jwiegley/git-annex-el") diff --git a/recipes/git-rebase-mode b/recipes/git-rebase-mode new file mode 100644 index 00000000..c0c2c363 --- /dev/null +++ b/recipes/git-rebase-mode @@ -0,0 +1,3 @@ +(git-rebase-mode :repo "magit/git-modes" + :fetcher github + :files ("git-rebase-mode.el")) diff --git a/recipes/gnus-spotlight b/recipes/gnus-spotlight new file mode 100644 index 00000000..2b162c22 --- /dev/null +++ b/recipes/gnus-spotlight @@ -0,0 +1 @@ +(gnus-spotlight :fetcher wiki) diff --git a/recipes/gore-mode b/recipes/gore-mode new file mode 100644 index 00000000..07f0bef9 --- /dev/null +++ b/recipes/gore-mode @@ -0,0 +1 @@ +(gore-mode :fetcher github :repo "sergey-pashaev/gore-mode") diff --git a/recipes/grass-mode b/recipes/grass-mode new file mode 100644 index 00000000..3593290d --- /dev/null +++ b/recipes/grass-mode @@ -0,0 +1 @@ +(grass-mode :fetcher hg :url "https://bitbucket.org/tws/grass-mode.el") diff --git a/recipes/grep+ b/recipes/grep+ new file mode 100644 index 00000000..12c15bb0 --- /dev/null +++ b/recipes/grep+ @@ -0,0 +1 @@ +(grep+ :fetcher wiki) diff --git a/recipes/helm-ag-r b/recipes/helm-ag-r new file mode 100644 index 00000000..24b78b74 --- /dev/null +++ b/recipes/helm-ag-r @@ -0,0 +1,4 @@ +(helm-ag-r + :repo "yuutayamada/helm-ag-r" + :fetcher github + :files ("helm-ag-r.el")) diff --git a/recipes/helm-c-moccur b/recipes/helm-c-moccur deleted file mode 100644 index 315122d8..00000000 --- a/recipes/helm-c-moccur +++ /dev/null @@ -1,3 +0,0 @@ -(helm-c-moccur :repo "emacs-helm/helm-c-moccur" - :fetcher github - :files ("helm-c-moccur.el")) diff --git a/recipes/helm-css-scss b/recipes/helm-css-scss new file mode 100644 index 00000000..dc253b39 --- /dev/null +++ b/recipes/helm-css-scss @@ -0,0 +1 @@ +(helm-css-scss :fetcher github :repo "ShingoFukuyama/helm-css-scss") diff --git a/recipes/helm-emmet b/recipes/helm-emmet new file mode 100644 index 00000000..5a871a9f --- /dev/null +++ b/recipes/helm-emmet @@ -0,0 +1 @@ +(helm-emmet :repo "yasuyk/helm-emmet" :fetcher github) diff --git a/recipes/helm-helm-commands b/recipes/helm-helm-commands new file mode 100644 index 00000000..60f98c30 --- /dev/null +++ b/recipes/helm-helm-commands @@ -0,0 +1 @@ +(helm-helm-commands :fetcher github :repo "vapniks/helm-helm-commands") diff --git a/recipes/helm-ls-hg b/recipes/helm-ls-hg new file mode 100644 index 00000000..d1361752 --- /dev/null +++ b/recipes/helm-ls-hg @@ -0,0 +1,3 @@ +(helm-ls-hg :repo "emacs-helm/helm-ls-hg" + :fetcher github + :old-names (helm-mercurial-queue)) diff --git a/recipes/helm-mercurial-queue b/recipes/helm-mercurial-queue deleted file mode 100644 index 395e19ba..00000000 --- a/recipes/helm-mercurial-queue +++ /dev/null @@ -1 +0,0 @@ -(helm-mercurial-queue :repo "emacs-helm/helm-mercurial-queue" :fetcher github) diff --git a/recipes/helm-rb b/recipes/helm-rb new file mode 100644 index 00000000..23893840 --- /dev/null +++ b/recipes/helm-rb @@ -0,0 +1,4 @@ +(helm-rb + :repo "yuutayamada/helm-rb" + :fetcher github + :files ("helm-rb.el" "get_methods.rb")) diff --git a/recipes/helm-recoll b/recipes/helm-recoll index 15e41ef1..a133ade4 100644 --- a/recipes/helm-recoll +++ b/recipes/helm-recoll @@ -1 +1,3 @@ -(helm-recoll :fetcher github :repo "vapniks/helm" :files ("helm-recoll.el")) +(helm-recoll :fetcher github + :repo "emacs-helm/helm-recoll" + :files ("helm-recoll.el")) diff --git a/recipes/helm-spotify b/recipes/helm-spotify new file mode 100644 index 00000000..8f39024a --- /dev/null +++ b/recipes/helm-spotify @@ -0,0 +1 @@ +(helm-spotify :fetcher github :repo "krisajenkins/helm-spotify") diff --git a/recipes/helm-swoop b/recipes/helm-swoop new file mode 100644 index 00000000..92b480ea --- /dev/null +++ b/recipes/helm-swoop @@ -0,0 +1 @@ +(helm-swoop :repo "ShingoFukuyama/helm-swoop" :fetcher github) \ No newline at end of file diff --git a/recipes/help+ b/recipes/help+ new file mode 100644 index 00000000..5ba234e4 --- /dev/null +++ b/recipes/help+ @@ -0,0 +1 @@ +(help+ :fetcher wiki) diff --git a/recipes/help-fns+ b/recipes/help-fns+ new file mode 100644 index 00000000..9dbb9bf6 --- /dev/null +++ b/recipes/help-fns+ @@ -0,0 +1 @@ +(help-fns+ :fetcher wiki) diff --git a/recipes/help-mode+ b/recipes/help-mode+ new file mode 100644 index 00000000..56fda6e2 --- /dev/null +++ b/recipes/help-mode+ @@ -0,0 +1 @@ +(help-mode+ :fetcher wiki) diff --git a/recipes/highlight-chars b/recipes/highlight-chars new file mode 100644 index 00000000..f1dce776 --- /dev/null +++ b/recipes/highlight-chars @@ -0,0 +1 @@ +(highlight-chars :fetcher wiki) diff --git a/recipes/highlight-current-line b/recipes/highlight-current-line new file mode 100644 index 00000000..2af56960 --- /dev/null +++ b/recipes/highlight-current-line @@ -0,0 +1 @@ +(highlight-current-line :fetcher wiki) diff --git a/recipes/highlight-unique-symbol b/recipes/highlight-unique-symbol new file mode 100644 index 00000000..a859bdcc --- /dev/null +++ b/recipes/highlight-unique-symbol @@ -0,0 +1 @@ +(highlight-unique-symbol :fetcher github :repo "hitode909/emacs-highlight-unique-symbol") diff --git a/recipes/hl-defined b/recipes/hl-defined new file mode 100644 index 00000000..d3423abf --- /dev/null +++ b/recipes/hl-defined @@ -0,0 +1 @@ +(hl-defined :fetcher wiki) diff --git a/recipes/hl-spotlight b/recipes/hl-spotlight new file mode 100644 index 00000000..abef20f3 --- /dev/null +++ b/recipes/hl-spotlight @@ -0,0 +1 @@ +(hl-spotlight :fetcher wiki) diff --git a/recipes/iasm-mode b/recipes/iasm-mode new file mode 100644 index 00000000..39ea1c14 --- /dev/null +++ b/recipes/iasm-mode @@ -0,0 +1 @@ +(iasm-mode :fetcher github :repo "RAttab/iasm-mode") diff --git a/recipes/ibuffer-git b/recipes/ibuffer-git new file mode 100644 index 00000000..9683a145 --- /dev/null +++ b/recipes/ibuffer-git @@ -0,0 +1,4 @@ +(ibuffer-git + :repo "jrockway/ibuffer-git" + :fetcher github + :file ("ibuffer-git.el")) \ No newline at end of file diff --git a/recipes/ido-at-point b/recipes/ido-at-point new file mode 100644 index 00000000..3779198c --- /dev/null +++ b/recipes/ido-at-point @@ -0,0 +1 @@ +(ido-at-point :repo "katspaugh/ido-at-point" :fetcher github) diff --git a/recipes/imenu+ b/recipes/imenu+ new file mode 100644 index 00000000..2f79fca0 --- /dev/null +++ b/recipes/imenu+ @@ -0,0 +1 @@ +(imenu+ :fetcher wiki) diff --git a/recipes/inform7-mode b/recipes/inform7-mode new file mode 100644 index 00000000..c6921fc8 --- /dev/null +++ b/recipes/inform7-mode @@ -0,0 +1,3 @@ +(inform7-mode + :url "https://github.com/fred-o/inform7-mode.git" + :fetcher git) diff --git a/recipes/insert-shebang b/recipes/insert-shebang new file mode 100644 index 00000000..9f8ca508 --- /dev/null +++ b/recipes/insert-shebang @@ -0,0 +1 @@ +(insert-shebang :fetcher github :repo "psachin/insert-shebang") diff --git a/recipes/isearch-prop b/recipes/isearch-prop new file mode 100644 index 00000000..ded1b854 --- /dev/null +++ b/recipes/isearch-prop @@ -0,0 +1 @@ +(isearch-prop :fetcher wiki) diff --git a/recipes/isgd b/recipes/isgd new file mode 100644 index 00000000..11543f5b --- /dev/null +++ b/recipes/isgd @@ -0,0 +1 @@ +(isgd :fetcher github :repo "chmouel/isgd.el") diff --git a/recipes/ix b/recipes/ix new file mode 100644 index 00000000..d69b0ad5 --- /dev/null +++ b/recipes/ix @@ -0,0 +1 @@ +(ix :repo "theanalyst/ix.el" :fetcher github) diff --git a/recipes/jabber b/recipes/jabber new file mode 100644 index 00000000..e04652eb --- /dev/null +++ b/recipes/jabber @@ -0,0 +1,4 @@ +(jabber + :url "git://git.code.sf.net/p/emacs-jabber/git" + :fetcher git + :files ("*.el" "*.texi" ("jabber-fallback-lib" "jabber-fallback-lib/hexrgb.el"))) diff --git a/recipes/japanese-holidays b/recipes/japanese-holidays new file mode 100644 index 00000000..6950b45c --- /dev/null +++ b/recipes/japanese-holidays @@ -0,0 +1,2 @@ +(japanese-holidays :repo "emacs-jp/japanese-holidays" + :fetcher github) diff --git a/recipes/jedi-direx b/recipes/jedi-direx new file mode 100644 index 00000000..29efdbf6 --- /dev/null +++ b/recipes/jedi-direx @@ -0,0 +1 @@ +(jedi-direx :fetcher github :repo "tkf/emacs-jedi-direx") diff --git a/recipes/js-comint b/recipes/js-comint index 5cc3fffa..29c086f1 100644 --- a/recipes/js-comint +++ b/recipes/js-comint @@ -1,3 +1,3 @@ (js-comint - :url "https://js-comint-el.svn.sourceforge.net/svnroot/js-comint-el/trunk" + :url "https://svn.code.sf.net/p/js-comint-el/code/trunk" :fetcher svn) diff --git a/recipes/json-mode b/recipes/json-mode new file mode 100644 index 00000000..f9a47c58 --- /dev/null +++ b/recipes/json-mode @@ -0,0 +1 @@ +(json-mode :fetcher github :repo "joshwnj/json-mode") diff --git a/recipes/jsx-mode b/recipes/jsx-mode new file mode 100644 index 00000000..a9a2d5f2 --- /dev/null +++ b/recipes/jsx-mode @@ -0,0 +1,3 @@ +(jsx-mode :repo "jsx/jsx-mode.el" + :fetcher github + :files ("src/*.el")) diff --git a/recipes/jumblr b/recipes/jumblr new file mode 100644 index 00000000..5c9f55ea --- /dev/null +++ b/recipes/jumblr @@ -0,0 +1,3 @@ +(jumblr :repo "mkmcc/jumblr" + :fetcher github + :files ("jumblr.el" "dict")) diff --git a/recipes/kaesar b/recipes/kaesar new file mode 100644 index 00000000..e9a7074c --- /dev/null +++ b/recipes/kaesar @@ -0,0 +1 @@ +(kaesar :fetcher github :repo "mhayashi1120/Emacs-kaesar" :files ("kaesar.el")) diff --git a/recipes/kaesar-file b/recipes/kaesar-file new file mode 100644 index 00000000..86793b92 --- /dev/null +++ b/recipes/kaesar-file @@ -0,0 +1 @@ +(kaesar-file :fetcher github :repo "mhayashi1120/Emacs-kaesar" :files ("kaesar-file.el")) diff --git a/recipes/kaesar-mode b/recipes/kaesar-mode new file mode 100644 index 00000000..063c8641 --- /dev/null +++ b/recipes/kaesar-mode @@ -0,0 +1 @@ +(kaesar-mode :fetcher github :repo "mhayashi1120/Emacs-kaesar" :files ("kaesar-mode.el")) diff --git a/recipes/know-your-http-well b/recipes/know-your-http-well new file mode 100644 index 00000000..bf812952 --- /dev/null +++ b/recipes/know-your-http-well @@ -0,0 +1 @@ +(know-your-http-well :fetcher github :repo "for-GET/know-your-http-well" :files ("emacs/*.el")) diff --git a/recipes/langtool b/recipes/langtool new file mode 100644 index 00000000..6b1ed308 --- /dev/null +++ b/recipes/langtool @@ -0,0 +1 @@ +(langtool :fetcher github :repo "mhayashi1120/Emacs-langtool" :files ("langtool.el")) diff --git a/recipes/latest-clojars b/recipes/latest-clojars deleted file mode 100644 index e77fdf20..00000000 --- a/recipes/latest-clojars +++ /dev/null @@ -1 +0,0 @@ -(latest-clojars :fetcher github :repo "AdamClements/latest-clojure-libraries") diff --git a/recipes/latest-clojure-libraries b/recipes/latest-clojure-libraries new file mode 100644 index 00000000..c5aef31c --- /dev/null +++ b/recipes/latest-clojure-libraries @@ -0,0 +1,3 @@ +(latest-clojure-libraries + :fetcher github + :repo "AdamClements/latest-clojure-libraries") diff --git a/recipes/latex-extra b/recipes/latex-extra new file mode 100644 index 00000000..828fd2b0 --- /dev/null +++ b/recipes/latex-extra @@ -0,0 +1 @@ +(latex-extra :repo "Bruce-Connor/latex-extra" :fetcher github) diff --git a/recipes/link b/recipes/link new file mode 100644 index 00000000..bb6e8f6f --- /dev/null +++ b/recipes/link @@ -0,0 +1,3 @@ +(link :repo "myrkr/dictionary-el" + :fetcher github + :files ("link.el")) diff --git a/recipes/list-packages-ext b/recipes/list-packages-ext new file mode 100644 index 00000000..f5a026d4 --- /dev/null +++ b/recipes/list-packages-ext @@ -0,0 +1,2 @@ +(list-packages-ext :repo "laynor/list-packages-ext" :fetcher github) + diff --git a/recipes/list-register b/recipes/list-register new file mode 100644 index 00000000..513b2a32 --- /dev/null +++ b/recipes/list-register @@ -0,0 +1 @@ +(list-register :fetcher wiki) diff --git a/recipes/macros+ b/recipes/macros+ new file mode 100644 index 00000000..e9a5fdc7 --- /dev/null +++ b/recipes/macros+ @@ -0,0 +1 @@ +(macros+ :fetcher wiki) diff --git a/recipes/magit b/recipes/magit index 2789a6aa..64fbfe29 100644 --- a/recipes/magit +++ b/recipes/magit @@ -1,2 +1,11 @@ -(magit :repo "magit/magit" :fetcher github) +(magit :fetcher github + :repo "magit/magit" + :files ("magit.el" + "magit-bisect.el" + "magit-blame.el" + "magit-key-mode.el" + "magit-wip.el" + "magit.texi" + "AUTHORS.md" + "README.md")) diff --git a/recipes/magit-log-edit b/recipes/magit-log-edit new file mode 100644 index 00000000..5dcf57c6 --- /dev/null +++ b/recipes/magit-log-edit @@ -0,0 +1 @@ +(magit-log-edit :fetcher github :repo "magit/magit-log-edit") diff --git a/recipes/magit-stgit b/recipes/magit-stgit new file mode 100644 index 00000000..096c0874 --- /dev/null +++ b/recipes/magit-stgit @@ -0,0 +1,3 @@ +(magit-stgit :fetcher github + :repo "magit/magit" + :files ("magit-stgit.el")) diff --git a/recipes/magit-svn b/recipes/magit-svn new file mode 100644 index 00000000..a97835ee --- /dev/null +++ b/recipes/magit-svn @@ -0,0 +1,3 @@ +(magit-svn :fetcher github + :repo "magit/magit" + :files ("magit-svn.el")) diff --git a/recipes/magit-topgit b/recipes/magit-topgit new file mode 100644 index 00000000..57eb3f00 --- /dev/null +++ b/recipes/magit-topgit @@ -0,0 +1,3 @@ +(magit-topgit :fetcher github + :repo "magit/magit" + :files ("magit-topgit.el")) diff --git a/recipes/magithub b/recipes/magithub deleted file mode 100644 index 5edf8aca..00000000 --- a/recipes/magithub +++ /dev/null @@ -1,2 +0,0 @@ -(magithub :repo "nex3/magithub" :fetcher github) - diff --git a/recipes/mark b/recipes/mark deleted file mode 100644 index d606e4f1..00000000 --- a/recipes/mark +++ /dev/null @@ -1 +0,0 @@ -(mark :fetcher github :repo "vapniks/mark") diff --git a/recipes/math-symbols b/recipes/math-symbols new file mode 100644 index 00000000..4cffa485 --- /dev/null +++ b/recipes/math-symbols @@ -0,0 +1,3 @@ +(math-symbols :repo "kawabata/math-symbols" + :fetcher github + :files ("math-symbols*.el" "unimathsymbols.txt")) diff --git a/recipes/mb-depth+ b/recipes/mb-depth+ new file mode 100644 index 00000000..01833565 --- /dev/null +++ b/recipes/mb-depth+ @@ -0,0 +1 @@ +(mb-depth+ :fetcher wiki) diff --git a/recipes/mc-extras b/recipes/mc-extras new file mode 100644 index 00000000..1d0beacd --- /dev/null +++ b/recipes/mc-extras @@ -0,0 +1,3 @@ +(mc-extras + :fetcher github + :repo "knu/mc-extras.el") diff --git a/recipes/menu-bar+ b/recipes/menu-bar+ new file mode 100644 index 00000000..0d16f153 --- /dev/null +++ b/recipes/menu-bar+ @@ -0,0 +1 @@ +(menu-bar+ :fetcher wiki) diff --git a/recipes/minibuffer-cua b/recipes/minibuffer-cua new file mode 100644 index 00000000..fba71235 --- /dev/null +++ b/recipes/minibuffer-cua @@ -0,0 +1,3 @@ +(minibuffer-cua + :fetcher github + :repo "knu/minibuffer-cua.el") diff --git a/recipes/misc-cmds b/recipes/misc-cmds new file mode 100644 index 00000000..5aa103d2 --- /dev/null +++ b/recipes/misc-cmds @@ -0,0 +1 @@ +(misc-cmds :fetcher wiki) ; Miscellaneous commands (interactive functions) diff --git a/recipes/molokai-theme b/recipes/molokai-theme index 4d81042b..60bef2a9 100644 --- a/recipes/molokai-theme +++ b/recipes/molokai-theme @@ -1,2 +1,3 @@ -(molokai-theme :repo "2029061" :fetcher github) - +(molokai-theme :repo "alloy-d/color-theme-molokai" + :fetcher github + :files ("molokai-theme.el")) diff --git a/recipes/monokai-theme b/recipes/monokai-theme index 24c910e9..f641666d 100644 --- a/recipes/monokai-theme +++ b/recipes/monokai-theme @@ -1,3 +1,3 @@ (monokai-theme - :url "https://github.com/oneKelvinSmith/monokai-emacs.git" - :fetcher git) + :repo "oneKelvinSmith/monokai-emacs" + :fetcher github) diff --git a/recipes/morlock b/recipes/morlock new file mode 100644 index 00000000..c6e555ec --- /dev/null +++ b/recipes/morlock @@ -0,0 +1 @@ +(morlock :repo "tarsius/morlock" :fetcher github) diff --git a/recipes/mouse3 b/recipes/mouse3 new file mode 100644 index 00000000..e8a8355a --- /dev/null +++ b/recipes/mouse3 @@ -0,0 +1 @@ +(mouse3 :fetcher wiki) diff --git a/recipes/mu4e-maildirs-extension b/recipes/mu4e-maildirs-extension new file mode 100644 index 00000000..8342d18a --- /dev/null +++ b/recipes/mu4e-maildirs-extension @@ -0,0 +1 @@ +(mu4e-maildirs-extension :repo "agpchil/mu4e-maildirs-extension" :fetcher github) \ No newline at end of file diff --git a/recipes/multi b/recipes/multi new file mode 100644 index 00000000..5d43fe5e --- /dev/null +++ b/recipes/multi @@ -0,0 +1 @@ +(multi :fetcher github :repo "kurisuwhyte/emacs-multi") diff --git a/recipes/mustang-theme b/recipes/mustang-theme new file mode 100644 index 00000000..9da3b33e --- /dev/null +++ b/recipes/mustang-theme @@ -0,0 +1 @@ +(mustang-theme :repo "mswift42/mustang-theme" :fetcher github :files ("mustang-theme.el")) diff --git a/recipes/naked b/recipes/naked new file mode 100644 index 00000000..a4f6ef51 --- /dev/null +++ b/recipes/naked @@ -0,0 +1 @@ +(naked :fetcher wiki) diff --git a/recipes/navi-mode b/recipes/navi-mode new file mode 100644 index 00000000..3b95666c --- /dev/null +++ b/recipes/navi-mode @@ -0,0 +1 @@ +(navi-mode :fetcher github :repo "tj64/navi") diff --git a/recipes/novice+ b/recipes/novice+ new file mode 100644 index 00000000..baf143fd --- /dev/null +++ b/recipes/novice+ @@ -0,0 +1 @@ +(novice+ :fetcher wiki) diff --git a/recipes/nrepl b/recipes/nrepl deleted file mode 100644 index b15889a9..00000000 --- a/recipes/nrepl +++ /dev/null @@ -1 +0,0 @@ -(nrepl :fetcher github :repo "clojure-emacs/nrepl.el") diff --git a/recipes/nrepl-decompile b/recipes/nrepl-decompile deleted file mode 100644 index d9b261d4..00000000 --- a/recipes/nrepl-decompile +++ /dev/null @@ -1,2 +0,0 @@ -(nrepl-decompile :repo "clojure-emacs/nrepl-decompile" - :fetcher github) diff --git a/recipes/number-font-lock-mode b/recipes/number-font-lock-mode new file mode 100644 index 00000000..cb36a5ce --- /dev/null +++ b/recipes/number-font-lock-mode @@ -0,0 +1 @@ +(number-font-lock-mode :fetcher "github" :repo "Fanael/number-font-lock-mode") diff --git a/recipes/nummm-mode b/recipes/nummm-mode new file mode 100644 index 00000000..6cba4f36 --- /dev/null +++ b/recipes/nummm-mode @@ -0,0 +1 @@ +(nummm-mode :repo "agpchil/nummm-mode" :fetcher github) \ No newline at end of file diff --git a/recipes/o-blog b/recipes/o-blog index 0681d630..2dbfd939 100644 --- a/recipes/o-blog +++ b/recipes/o-blog @@ -1,3 +1,3 @@ (o-blog :repo "renard/o-blog" :fetcher github - :files ("o-blog*.el" "templates" "example")) + :files ("o-blog*.el" "templates")) diff --git a/recipes/obsidian-theme b/recipes/obsidian-theme new file mode 100644 index 00000000..e751ecc0 --- /dev/null +++ b/recipes/obsidian-theme @@ -0,0 +1 @@ +(obsidian-theme :repo "mswift42/obsidian-theme" :fetcher github) diff --git a/recipes/omnisharp b/recipes/omnisharp new file mode 100644 index 00000000..3aa745d8 --- /dev/null +++ b/recipes/omnisharp @@ -0,0 +1,3 @@ +(omnisharp :repo "sp3ctum/omnisharp-emacs" + :fetcher github + :files ("omnisharp.el")) diff --git a/recipes/on-screen b/recipes/on-screen new file mode 100644 index 00000000..c4106154 --- /dev/null +++ b/recipes/on-screen @@ -0,0 +1 @@ +(on-screen :fetcher github :repo "michael-heerdegen/on-screen.el") diff --git a/recipes/oneonone b/recipes/oneonone new file mode 100644 index 00000000..8f000c26 --- /dev/null +++ b/recipes/oneonone @@ -0,0 +1 @@ +(oneonone :fetcher wiki) diff --git a/recipes/openstack-cgit-browse-file b/recipes/openstack-cgit-browse-file new file mode 100644 index 00000000..210ba9f5 --- /dev/null +++ b/recipes/openstack-cgit-browse-file @@ -0,0 +1 @@ +(openstack-cgit-browse-file :fetcher github :repo "chmouel/openstack-cgit-browse-file") diff --git a/recipes/org-mac-link b/recipes/org-mac-link new file mode 100644 index 00000000..41329a7f --- /dev/null +++ b/recipes/org-mac-link @@ -0,0 +1,5 @@ +(org-mac-link + :fetcher git + :url "git://orgmode.org/org-mode.git" + :files ("contrib/lisp/org-mac-link.el") + :old-names (org-mac-link-grabber)) diff --git a/recipes/org-mac-link-grabber b/recipes/org-mac-link-grabber deleted file mode 100644 index bae8e5a1..00000000 --- a/recipes/org-mac-link-grabber +++ /dev/null @@ -1,4 +0,0 @@ -(org-mac-link-grabber - :fetcher git - :url "git://orgmode.org/org-mode.git" - :files ("contrib/lisp/org-mac-link-grabber.el")) diff --git a/recipes/org-page b/recipes/org-page new file mode 100644 index 00000000..6c51e18e --- /dev/null +++ b/recipes/org-page @@ -0,0 +1,3 @@ +(org-page :repo "kelvinh/org-page" + :fetcher github + :files ("*.el" "doc" "themes")) diff --git a/recipes/org-reveal b/recipes/org-reveal deleted file mode 100644 index 37e13c98..00000000 --- a/recipes/org-reveal +++ /dev/null @@ -1,3 +0,0 @@ -(org-reveal :repo "yjwen/org-reveal" - :fetcher github - :files ("ox-reveal.el")) diff --git a/recipes/org-screenshot b/recipes/org-screenshot new file mode 100644 index 00000000..c2655850 --- /dev/null +++ b/recipes/org-screenshot @@ -0,0 +1,3 @@ +(org-screenshot + :fetcher github + :repo "dfeich/org-screenshot") diff --git a/recipes/osx-pseudo-daemon b/recipes/osx-pseudo-daemon new file mode 100644 index 00000000..ea3ad2b8 --- /dev/null +++ b/recipes/osx-pseudo-daemon @@ -0,0 +1 @@ +(osx-pseudo-daemon :repo "DarwinAwardWinner/osx-pseudo-daemon" :fetcher github) diff --git a/recipes/outorg b/recipes/outorg new file mode 100644 index 00000000..d117eedd --- /dev/null +++ b/recipes/outorg @@ -0,0 +1 @@ +(outorg :fetcher github :repo "tj64/outorg") diff --git a/recipes/outshine b/recipes/outshine new file mode 100644 index 00000000..0d88cc08 --- /dev/null +++ b/recipes/outshine @@ -0,0 +1 @@ +(outshine :fetcher github :repo "tj64/outshine" :files ("outshine.el")) diff --git a/recipes/ox-reveal b/recipes/ox-reveal new file mode 100644 index 00000000..f6f686ac --- /dev/null +++ b/recipes/ox-reveal @@ -0,0 +1,2 @@ +(ox-reveal :repo "yjwen/org-reveal" :fetcher github + :old-names (org-reveal)) diff --git a/recipes/package+ b/recipes/package+ new file mode 100644 index 00000000..651cbc26 --- /dev/null +++ b/recipes/package+ @@ -0,0 +1,4 @@ +(package+ + :fetcher github + :repo "zenspider/package" + :files ("package+.el")) diff --git a/recipes/palette b/recipes/palette new file mode 100644 index 00000000..f1de70ff --- /dev/null +++ b/recipes/palette @@ -0,0 +1 @@ +(palette :fetcher wiki) diff --git a/recipes/pcsv b/recipes/pcsv new file mode 100644 index 00000000..eed27589 --- /dev/null +++ b/recipes/pcsv @@ -0,0 +1 @@ +(pcsv :fetcher github :repo "mhayashi1120/Emacs-pcsv" :files ("pcsv.el")) diff --git a/recipes/peek-mode b/recipes/peek-mode new file mode 100644 index 00000000..86a67112 --- /dev/null +++ b/recipes/peek-mode @@ -0,0 +1,4 @@ +(peek-mode + :fetcher github + :repo "erikriverson/peek-mode" + :files ("index.html" "peek-mode.el")) diff --git a/recipes/phi-rectangle b/recipes/phi-rectangle new file mode 100644 index 00000000..9c75cd69 --- /dev/null +++ b/recipes/phi-rectangle @@ -0,0 +1 @@ +(phi-rectangle :fetcher github :repo "zk-phi/phi-rectangle" :files ("phi-rectangle.el")) \ No newline at end of file diff --git a/recipes/phi-search-mc b/recipes/phi-search-mc new file mode 100644 index 00000000..55f877bb --- /dev/null +++ b/recipes/phi-search-mc @@ -0,0 +1 @@ +(phi-search-mc :repo "knu/phi-search-mc.el" :fetcher github) diff --git a/recipes/pianobar b/recipes/pianobar new file mode 100644 index 00000000..e2af6519 --- /dev/null +++ b/recipes/pianobar @@ -0,0 +1 @@ +(pianobar :fetcher github :repo "agrif/pianobar.el") diff --git a/recipes/pier-mode b/recipes/pier-mode new file mode 100644 index 00000000..cf54e59a --- /dev/null +++ b/recipes/pier-mode @@ -0,0 +1,3 @@ +(pier-mode + :repo "DamienCassou/pier-cl" + :fetcher github) diff --git a/recipes/pig-mode b/recipes/pig-mode index 9daa1708..dd59665f 100644 --- a/recipes/pig-mode +++ b/recipes/pig-mode @@ -1,2 +1,2 @@ -(pig-mode :repo "motus/pig-mode" :fetcher github) +(pig-mode :repo "motus/pig-mode" :fetcher github :files ("pig-mode.el")) diff --git a/recipes/pig-snippets b/recipes/pig-snippets new file mode 100644 index 00000000..d3f07c81 --- /dev/null +++ b/recipes/pig-snippets @@ -0,0 +1,2 @@ +(pig-snippets :repo "motus/pig-mode" :fetcher github :files ("pig-snippets*.el" "snippets")) + diff --git a/recipes/pkg-info b/recipes/pkg-info new file mode 100644 index 00000000..4d38c595 --- /dev/null +++ b/recipes/pkg-info @@ -0,0 +1 @@ +(pkg-info :repo "lunaryorn/pkg-info.el" :fetcher github) \ No newline at end of file diff --git a/recipes/plantuml-mode b/recipes/plantuml-mode new file mode 100644 index 00000000..8d939e04 --- /dev/null +++ b/recipes/plantuml-mode @@ -0,0 +1,2 @@ +(plantuml-mode :repo "wildsoul/plantuml-mode" + :fetcher github) diff --git a/recipes/plsense b/recipes/plsense new file mode 100644 index 00000000..94f2c761 --- /dev/null +++ b/recipes/plsense @@ -0,0 +1,2 @@ +(plsense :repo "aki2o/emacs-plsense" + :fetcher github) diff --git a/recipes/popup-kill-ring b/recipes/popup-kill-ring new file mode 100644 index 00000000..e4ae290e --- /dev/null +++ b/recipes/popup-kill-ring @@ -0,0 +1 @@ +(popup-kill-ring :repo "waymondo/popup-kill-ring" :fetcher github) diff --git a/recipes/pp+ b/recipes/pp+ new file mode 100644 index 00000000..79277851 --- /dev/null +++ b/recipes/pp+ @@ -0,0 +1 @@ +(pp+ :fetcher wiki) diff --git a/recipes/pp-c-l b/recipes/pp-c-l new file mode 100644 index 00000000..a6b79cb1 --- /dev/null +++ b/recipes/pp-c-l @@ -0,0 +1 @@ +(pp-c-l :fetcher wiki) diff --git a/recipes/pretty-lambdada b/recipes/pretty-lambdada new file mode 100644 index 00000000..78e1dc5e --- /dev/null +++ b/recipes/pretty-lambdada @@ -0,0 +1 @@ +(pretty-lambdada :fetcher wiki) diff --git a/recipes/pretty-symbols b/recipes/pretty-symbols new file mode 100644 index 00000000..f646286a --- /dev/null +++ b/recipes/pretty-symbols @@ -0,0 +1 @@ +(pretty-symbols :repo "drothlis/pretty-symbols" :fetcher github) diff --git a/recipes/pretty-symbols-mode b/recipes/pretty-symbols-mode deleted file mode 100644 index 67a9960a..00000000 --- a/recipes/pretty-symbols-mode +++ /dev/null @@ -1 +0,0 @@ -(pretty-symbols-mode :repo "drothlis/pretty-symbols" :fetcher github) diff --git a/recipes/prognth b/recipes/prognth new file mode 100644 index 00000000..7cfa89b9 --- /dev/null +++ b/recipes/prognth @@ -0,0 +1 @@ +(prognth :fetcher github :repo "Fuco1/prognth") diff --git a/recipes/project-explorer b/recipes/project-explorer new file mode 100644 index 00000000..ef92c8aa --- /dev/null +++ b/recipes/project-explorer @@ -0,0 +1 @@ +(project-explorer :fetcher github :repo "sabof/project-explorer") diff --git a/recipes/projector b/recipes/projector new file mode 100644 index 00000000..84ec498c --- /dev/null +++ b/recipes/projector @@ -0,0 +1 @@ +(projector :repo "waymondo/projector.el" :fetcher github) diff --git a/recipes/puppet-mode b/recipes/puppet-mode index 6f71e49c..3c5bc913 100644 --- a/recipes/puppet-mode +++ b/recipes/puppet-mode @@ -1 +1 @@ -(puppet-mode :fetcher github :repo "puppetlabs/puppet-syntax-emacs") \ No newline at end of file +(puppet-mode :fetcher github :repo "lunaryorn/puppet-mode") diff --git a/recipes/puppetfile-mode b/recipes/puppetfile-mode new file mode 100644 index 00000000..de0985d1 --- /dev/null +++ b/recipes/puppetfile-mode @@ -0,0 +1,4 @@ +(puppetfile-mode + :fetcher github + :repo "ssm/elisp" + :files ("puppetfile-mode.el")) diff --git a/recipes/purple-haze-theme b/recipes/purple-haze-theme new file mode 100644 index 00000000..875cd1f6 --- /dev/null +++ b/recipes/purple-haze-theme @@ -0,0 +1 @@ +(purple-haze-theme :repo "jasonm23/emacs-purple-haze-theme" :fetcher github) diff --git a/recipes/python-cell b/recipes/python-cell new file mode 100644 index 00000000..67699ae6 --- /dev/null +++ b/recipes/python-cell @@ -0,0 +1 @@ +(python-cell :fetcher github :repo "thisch/python-cell.el") diff --git a/recipes/python-info b/recipes/python-info new file mode 100644 index 00000000..09b7133a --- /dev/null +++ b/recipes/python-info @@ -0,0 +1,3 @@ +(python-info + :repo "Wilfred/python-info" + :fetcher github) diff --git a/recipes/rcirc-notify b/recipes/rcirc-notify new file mode 100644 index 00000000..b8f7ed6a --- /dev/null +++ b/recipes/rcirc-notify @@ -0,0 +1 @@ +(rcirc-notify :fetcher wiki) \ No newline at end of file diff --git a/recipes/refheap b/recipes/refheap new file mode 100644 index 00000000..2ea113a6 --- /dev/null +++ b/recipes/refheap @@ -0,0 +1 @@ +(refheap :repo "Raynes/refheap.el" :fetcher github) \ No newline at end of file diff --git a/recipes/relax b/recipes/relax new file mode 100644 index 00000000..ecd52556 --- /dev/null +++ b/recipes/relax @@ -0,0 +1 @@ +(relax :fetcher github :repo "technomancy/relax.el") diff --git a/recipes/replace+ b/recipes/replace+ new file mode 100644 index 00000000..ce258fd2 --- /dev/null +++ b/recipes/replace+ @@ -0,0 +1 @@ +(replace+ :fetcher wiki) diff --git a/recipes/ruby-additional b/recipes/ruby-additional new file mode 100644 index 00000000..0fe37a0a --- /dev/null +++ b/recipes/ruby-additional @@ -0,0 +1,8 @@ +(ruby-additional + :fetcher svn + :url "http://svn.ruby-lang.org/repos/ruby/trunk/misc/" + :files ("ruby-additional.el" + "rdoc-mode.el" + "ruby-style.el" + "rubydb2x.el" + "rubydb3x.el")) \ No newline at end of file diff --git a/recipes/ruby-electric b/recipes/ruby-electric index 828f10dd..d36beaa5 100644 --- a/recipes/ruby-electric +++ b/recipes/ruby-electric @@ -1 +1,4 @@ -(ruby-electric :repo "qoobaa/ruby-electric" :fetcher github) +(ruby-electric + :fetcher svn + :url "http://svn.ruby-lang.org/repos/ruby/trunk/misc/" + :files ("ruby-electric.el")) diff --git a/recipes/runner b/recipes/runner new file mode 100644 index 00000000..317ed8de --- /dev/null +++ b/recipes/runner @@ -0,0 +1,3 @@ +(runner + :fetcher github + :repo "thamer/runner") diff --git a/recipes/scheme-here b/recipes/scheme-here index c33e4c96..d776dcd5 100644 --- a/recipes/scheme-here +++ b/recipes/scheme-here @@ -1 +1 @@ -(scheme-here :fetcher wiki) +(scheme-here :fetcher github :repo "judevc/scheme-here") \ No newline at end of file diff --git a/recipes/second-sel b/recipes/second-sel new file mode 100644 index 00000000..88a4d321 --- /dev/null +++ b/recipes/second-sel @@ -0,0 +1 @@ +(second-sel :fetcher wiki) diff --git a/recipes/sensitive b/recipes/sensitive new file mode 100644 index 00000000..8c80c19e --- /dev/null +++ b/recipes/sensitive @@ -0,0 +1,2 @@ +(sensitive :repo "timvisher/sensitive.el" :fetcher github :files ("sensitive.el")) + diff --git a/recipes/sequences b/recipes/sequences new file mode 100644 index 00000000..186858ef --- /dev/null +++ b/recipes/sequences @@ -0,0 +1,2 @@ +(sequences :repo "timvisher/sequences.el" :fetcher github :files ("sequences.el")) + diff --git a/recipes/sequential-command b/recipes/sequential-command new file mode 100644 index 00000000..398a1b67 --- /dev/null +++ b/recipes/sequential-command @@ -0,0 +1 @@ +(sequential-command :fetcher wiki :files ("sequential-command.el" "sequential-command-config.el")) diff --git a/recipes/servant b/recipes/servant new file mode 100644 index 00000000..d56fa81e --- /dev/null +++ b/recipes/servant @@ -0,0 +1,4 @@ +(servant + :fetcher github + :repo "rejeep/servant.el" + :files ("*.el" "bin")) diff --git a/recipes/show-marks b/recipes/show-marks index 6e0094c9..efc4324f 100644 --- a/recipes/show-marks +++ b/recipes/show-marks @@ -1 +1 @@ -(show-marks :fetcher github :repo "vapniks/show-marks") +(show-marks :fetcher github :repo "vapniks/show-marks" :old-name (mark)) diff --git a/recipes/shut-up b/recipes/shut-up new file mode 100644 index 00000000..1d14398a --- /dev/null +++ b/recipes/shut-up @@ -0,0 +1 @@ +(shut-up :fetcher github :repo "rejeep/shut-up.el") diff --git a/recipes/simple+ b/recipes/simple+ new file mode 100644 index 00000000..3623ea77 --- /dev/null +++ b/recipes/simple+ @@ -0,0 +1 @@ +(simple+ :fetcher wiki) diff --git a/recipes/skewer-less b/recipes/skewer-less new file mode 100644 index 00000000..3a94994e --- /dev/null +++ b/recipes/skewer-less @@ -0,0 +1 @@ +(skewer-less :fetcher github :repo "purcell/skewer-less") diff --git a/recipes/sml-mode b/recipes/sml-mode deleted file mode 100644 index a124b0ec..00000000 --- a/recipes/sml-mode +++ /dev/null @@ -1 +0,0 @@ -(sml-mode :fetcher github :repo "emacsmirror/sml-mode" :files ("*.el" "*.texi" "mltags")) diff --git a/recipes/soft-charcoal-theme b/recipes/soft-charcoal-theme new file mode 100644 index 00000000..fcecdd2c --- /dev/null +++ b/recipes/soft-charcoal-theme @@ -0,0 +1 @@ +(soft-charcoal-theme :repo "mswift42/soft-charcoal-theme" :fetcher github) \ No newline at end of file diff --git a/recipes/soft-morning-theme b/recipes/soft-morning-theme new file mode 100644 index 00000000..2d9dd397 --- /dev/null +++ b/recipes/soft-morning-theme @@ -0,0 +1 @@ +(soft-morning-theme :repo "mswift42/soft-morning-theme" :fetcher github) diff --git a/recipes/speechd-el b/recipes/speechd-el new file mode 100644 index 00000000..6dd9a2c1 --- /dev/null +++ b/recipes/speechd-el @@ -0,0 +1,3 @@ +(speechd-el + :url "git://git.freebsoft.org/git/speechd-el" + :fetcher git) diff --git a/recipes/ssh-config-mode b/recipes/ssh-config-mode index 42844207..debf11ed 100644 --- a/recipes/ssh-config-mode +++ b/recipes/ssh-config-mode @@ -1 +1 @@ -(ssh-config-mode :fetcher github :repo "emacsmirror/ssh-config-mode") \ No newline at end of file +(ssh-config-mode :fetcher github :repo "jhgorrell/ssh-config-mode-el") diff --git a/recipes/strings b/recipes/strings new file mode 100644 index 00000000..55c67070 --- /dev/null +++ b/recipes/strings @@ -0,0 +1 @@ +(strings :fetcher wiki) diff --git a/recipes/tern b/recipes/tern index 3c274368..ffe68f3c 100644 --- a/recipes/tern +++ b/recipes/tern @@ -1 +1 @@ -(tern :fetcher github :repo "marijnh/tern" :files ("emacs/tern.el" "emacs/tern-ido-complete.el")) +(tern :fetcher github :repo "marijnh/tern" :files ("emacs/tern.el")) diff --git a/recipes/thing-cmds b/recipes/thing-cmds new file mode 100644 index 00000000..6bd89333 --- /dev/null +++ b/recipes/thing-cmds @@ -0,0 +1 @@ +(thing-cmds :fetcher wiki) diff --git a/recipes/thingatpt+ b/recipes/thingatpt+ new file mode 100644 index 00000000..b306a97d --- /dev/null +++ b/recipes/thingatpt+ @@ -0,0 +1 @@ +(thingatpt+ :fetcher wiki) diff --git a/recipes/thrift b/recipes/thrift new file mode 100644 index 00000000..01cb3ad6 --- /dev/null +++ b/recipes/thrift @@ -0,0 +1 @@ +(thrift :fetcher github :repo "apache/thrift" :files ("contrib/thrift.el")) diff --git a/recipes/thumb-frm b/recipes/thumb-frm new file mode 100644 index 00000000..5dc18693 --- /dev/null +++ b/recipes/thumb-frm @@ -0,0 +1 @@ +(thumb-frm :fetcher wiki) diff --git a/recipes/toml b/recipes/toml new file mode 100644 index 00000000..bd2e1260 --- /dev/null +++ b/recipes/toml @@ -0,0 +1 @@ +(toml :fetcher github :repo "gongo/emacs-toml" :files ("toml.el")) diff --git a/recipes/tommyh-theme b/recipes/tommyh-theme new file mode 100644 index 00000000..6811c447 --- /dev/null +++ b/recipes/tommyh-theme @@ -0,0 +1,2 @@ +(tommyh-theme :repo "wglass/tommyh-theme" + :fetcher github) diff --git a/recipes/tool-bar+ b/recipes/tool-bar+ new file mode 100644 index 00000000..e894ca94 --- /dev/null +++ b/recipes/tool-bar+ @@ -0,0 +1 @@ +(tool-bar+ :fetcher wiki) diff --git a/recipes/tox b/recipes/tox new file mode 100644 index 00000000..88d66536 --- /dev/null +++ b/recipes/tox @@ -0,0 +1 @@ +(tox :fetcher github :repo "chmouel/tox.el") diff --git a/recipes/tracwiki-mode b/recipes/tracwiki-mode new file mode 100644 index 00000000..0b1c4c68 --- /dev/null +++ b/recipes/tracwiki-mode @@ -0,0 +1 @@ +(tracwiki-mode :fetcher github :repo "merickson/tracwiki-mode") diff --git a/recipes/tss b/recipes/tss new file mode 100644 index 00000000..56523458 --- /dev/null +++ b/recipes/tss @@ -0,0 +1,2 @@ +(tss :repo "aki2o/emacs-tss" + :fetcher github) diff --git a/recipes/ucs-cmds b/recipes/ucs-cmds new file mode 100644 index 00000000..6bddef37 --- /dev/null +++ b/recipes/ucs-cmds @@ -0,0 +1 @@ +(ucs-cmds :fetcher wiki) diff --git a/recipes/ujelly-theme b/recipes/ujelly-theme new file mode 100644 index 00000000..5429143a --- /dev/null +++ b/recipes/ujelly-theme @@ -0,0 +1,3 @@ +(ujelly-theme :repo "marktran/color-theme-ujelly" + :fetcher github + :files ("ujelly-theme.el")) \ No newline at end of file diff --git a/recipes/vlf b/recipes/vlf new file mode 100644 index 00000000..d08089ca --- /dev/null +++ b/recipes/vlf @@ -0,0 +1,2 @@ +(vlf :repo "m00natic/vlfi" :fetcher github :files ("vlf.el") + :old-names (vlfi)) diff --git a/recipes/vlfi b/recipes/vlfi deleted file mode 100644 index 328cd6f6..00000000 --- a/recipes/vlfi +++ /dev/null @@ -1 +0,0 @@ -(vlfi :repo "m00natic/vlfi" :fetcher github) \ No newline at end of file diff --git a/recipes/w32-browser b/recipes/w32-browser new file mode 100644 index 00000000..4fa3ab4f --- /dev/null +++ b/recipes/w32-browser @@ -0,0 +1 @@ +(w32-browser :fetcher wiki) diff --git a/recipes/w32browser-dlgopen b/recipes/w32browser-dlgopen new file mode 100644 index 00000000..dbb5ebf1 --- /dev/null +++ b/recipes/w32browser-dlgopen @@ -0,0 +1 @@ +(w32browser-dlgopen :fetcher wiki) diff --git a/recipes/whitespace-cleanup-mode b/recipes/whitespace-cleanup-mode new file mode 100644 index 00000000..4900cb08 --- /dev/null +++ b/recipes/whitespace-cleanup-mode @@ -0,0 +1 @@ +(whitespace-cleanup-mode :fetcher github :repo "purcell/whitespace-cleanup-mode") diff --git a/recipes/wid-edit+ b/recipes/wid-edit+ new file mode 100644 index 00000000..210f3a89 --- /dev/null +++ b/recipes/wid-edit+ @@ -0,0 +1 @@ +(wid-edit+ :fetcher wiki) diff --git a/recipes/wide-n b/recipes/wide-n new file mode 100644 index 00000000..a728f09f --- /dev/null +++ b/recipes/wide-n @@ -0,0 +1 @@ +(wide-n :fetcher wiki) ; Cycle among buffer restrictions (narrowings) diff --git a/recipes/wimpy-del b/recipes/wimpy-del new file mode 100644 index 00000000..3fac3742 --- /dev/null +++ b/recipes/wimpy-del @@ -0,0 +1 @@ +(wimpy-del :fetcher wiki) diff --git a/recipes/window+ b/recipes/window+ new file mode 100644 index 00000000..6ef13eaf --- /dev/null +++ b/recipes/window+ @@ -0,0 +1 @@ +(window+ :fetcher wiki) diff --git a/recipes/window-numbering b/recipes/window-numbering new file mode 100644 index 00000000..346dd2b2 --- /dev/null +++ b/recipes/window-numbering @@ -0,0 +1 @@ +(window-numbering :fetcher github :repo "nschum/window-numbering.el" :files ("window-numbering.el")) diff --git a/recipes/wonderland b/recipes/wonderland new file mode 100644 index 00000000..d13e8488 --- /dev/null +++ b/recipes/wonderland @@ -0,0 +1 @@ +(wonderland :fetcher github :repo "kurisuwhyte/emacs-wonderland" :files ("source/*.el")) diff --git a/scripts/build b/scripts/build index 92568ca8..22d0d181 100755 --- a/scripts/build +++ b/scripts/build @@ -1,20 +1,23 @@ #!/bin/bash export LANG=en_US.UTF-8 +WEBROOT=${WEBROOT:-$HOME/www} function timestamp { date "+%Y%m%d %H:%M %z" } +function unix_timestamp { + date "+%s" +} function melpa { timestamp - timestamp > $HOME/www/status.txt - echo "building..." >> $HOME/www/status.txt + timestamp > $WEBROOT/status.txt + echo "building..." >> $WEBROOT/status.txt MELPADIR=${MELPADIR:-$HOME/melpa} MELPABRANCH=${MELPABRANCH:-master} - WEBROOT=${WEBROOT:-$HOME/www} PATH=$HOME/.cabal/bin:$HOME/usr/bin:$HOME/bin:$PATH @@ -38,10 +41,9 @@ function melpa { make 1>> ${MELPASTDOUT} 2>> ${STDERR} ## sync to the web directory - rsync -avz --delete ${MELPADIR}/packages ${MELPADIR}/html/* ${WEBROOT}/ 1>> ${STDOUT} 2>> ${STDERR} + rsync -avz --delete ${MELPADIR}/packages ${MELPADIR}/html/. ${WEBROOT}/ 1>> ${STDOUT} 2>> ${STDERR} - chmod -R go+r ${WEBROOT}/packages/* - chmod -R go-x ${WEBROOT}/packages/* + chmod -R go+rx ${WEBROOT}/packages/* /usr/sbin/logrotate -s $HOME/log/logrotate.state $HOME/log/melpa.logrotate 1>> ${STDOUT} 2>> ${STDERR} @@ -52,13 +54,14 @@ function melpa { /usr/sbin/sendmail dcurtis@milkbox.net < ${EMAIL} cat ${ENVLOG} ${STDERR} ${STDOUT} | tee $WEBROOT/lastrun.txt - timestamp > $HOME/www/status.txt - echo "completed" >> $HOME/www/status.txt + timestamp > $WEBROOT/status.txt + echo "completed" >> $WEBROOT/status.txt + echo '{"completed":' `unix_timestamp` '}' > $WEBROOT/build-status.json } -if [[ `cat $HOME/www/updatemelpa.txt` == 1 ]] ; then +if [[ `cat $WEBROOT/updatemelpa.txt` == 1 ]] ; then echo "Running MELPA" - echo "2" > $HOME/www/updatemelpa.txt + echo "2" > $WEBROOT/updatemelpa.txt melpa - echo "0" > $HOME/www/updatemelpa.txt + echo "0" > $WEBROOT/updatemelpa.txt fi diff --git a/scripts/process_log.py b/scripts/process_log.py old mode 100644 new mode 100755 index 5c55e496..d04ac210 --- a/scripts/process_log.py +++ b/scripts/process_log.py @@ -128,7 +128,7 @@ def main(): # calculate current package totals pkgcount = {p: len(i) for p, i in pkg_ip_time.iteritems()} - json_dump(pkgcount, open("download_counts.json", 'w'), indent=1) + json_dump(pkgcount, open("html/download_counts.json", 'w'), indent=1) os.unlink(pidfile) return 0