File manager - Edit - /home/opticamezl/www/newok/rpm.tar
Back
rpm.min.js.gz 0000644 00000001655 15175531766 0007130 0 ustar 00 � �Tmo�6��_!s�A²7��(U�`k��6 ԴZ:ۜ%R��ؙO�}�d9�� ���{�=G�. Y�5lg_3���66C��BdI��GR �#C �UH�x��y~"�~�cH�1�Ƃ}h��ж �v�'�xԨt��4Sװ�Пt���JF�ON���Yrg�&�X�@���~�j 9q1l�"��C����(�gt�>�@�ϫ��'a�P̡�B��q,�g����E���� ��"����"�8#������}�+m9������ʽ�����;�kC6ᛞן�~��M%�;�0jg�TphA�]8��uBY�K�� ��f��16"V,I�Z,��,�$������UE���,�{ ��'J,l����x��Q���<��tSyu3D�C�o���~^c�E��Y�(�����m�b� Sa�|�m$*-L�B�d+/�F�U� Le�C�ND����-e�^�0}Ac��/���b ����Ȭ:9f2�2�Q�܊$��L �(��� ��ʱu� 3�ۃE綨�Y#T^��z�����T�V(|#��a0ZA�n�}�vW�n7�weݜ\����滋�$�&QM�w����!��?V�#�]�E���&�V�d���h�{0���<$ztn*"�F�`��)�:$���=����$!x���;��I�� �_x��̞�'S�H�)(K*Gh����4�d"�wlC �SRA���㛞�OL;����?ư8I�8 kx�h���E�qv.���qȯ30��ӎ�q�=�v>U��k�`�O�U��5{�_�C֓������ B(iҜ]��s���>s9iݟ�ugG��#��*7x�V��џ]��&|��>xgZ�yD���j�,��?���w|�(Y������ changes/index.html 0000644 00000004170 15175531766 0010173 0 ustar 00 <!doctype html> <title>CodeMirror: RPM changes mode</title> <meta charset="utf-8"/> <link rel=stylesheet href="../../doc/docs.css"> <link rel="stylesheet" href="../../../lib/codemirror.css"> <script src="../../../lib/codemirror.js"></script> <script src="changes.js"></script> <link rel="stylesheet" href="../../../doc/docs.css"> <style>.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style> <div id=nav> <a href="https://codemirror.net/5"><h1>CodeMirror</h1><img id=logo src="../../../doc/logo.png"></a> <ul> <li><a href="../../../index.html">Home</a> <li><a href="../../../doc/manual.html">Manual</a> <li><a href="https://github.com/codemirror/codemirror5">Code</a> </ul> <ul> <li><a href="../../index.html">Language modes</a> <li><a class=active href="#">RPM changes</a> </ul> </div> <article> <h2>RPM changes mode</h2> <div><textarea id="code" name="code"> ------------------------------------------------------------------- Tue Oct 18 13:58:40 UTC 2011 - misterx@example.com - Update to r60.3 - Fixes bug in the reflect package * disallow Interface method on Value obtained via unexported name ------------------------------------------------------------------- Thu Oct 6 08:14:24 UTC 2011 - misterx@example.com - Update to r60.2 - Fixes memory leak in certain map types ------------------------------------------------------------------- Wed Oct 5 14:34:10 UTC 2011 - misterx@example.com - Tweaks for gdb debugging - go.spec changes: - move %go_arch definition to %prep section - pass correct location of go specific gdb pretty printer and functions to cpp as HOST_EXTRA_CFLAGS macro - install go gdb functions & printer - gdb-printer.patch - patch linker (src/cmd/ld/dwarf.c) to emit correct location of go gdb functions and pretty printer </textarea></div> <script> var editor = CodeMirror.fromTextArea(document.getElementById("code"), { mode: {name: "changes"}, lineNumbers: true, indentUnit: 4 }); </script> <p><strong>MIME types defined:</strong> <code>text/x-rpm-changes</code>.</p> </article> rpm.min.js 0000644 00000003613 15175531766 0006505 0 ustar 00 (function(r){typeof exports=="object"&&typeof module=="object"?r(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],r):r(CodeMirror)})(function(r){"use strict";r.defineMode("rpm-changes",function(){var o=/^-+$/,c=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,t=/^[\w+.-]+@[\w.-]+/;return{token:function(i){return i.sol()&&(i.match(o)||i.match(c))?"tag":i.match(t)?"string":(i.next(),null)}}}),r.defineMIME("text/x-rpm-changes","rpm-changes"),r.defineMode("rpm-spec",function(){var o=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,c=/^[a-zA-Z0-9()]+:/,t=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,i=/^%(ifnarch|ifarch|if)/,f=/^%(else|endif)/,a=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(e,n){var l=e.peek();if(l=="#")return e.skipToEnd(),"comment";if(e.sol()){if(e.match(c))return"header";if(e.match(t))return"atom"}if(e.match(/^\$\w+/)||e.match(/^\$\{\w+\}/))return"def";if(e.match(f))return"keyword";if(e.match(i))return n.controlFlow=!0,"keyword";if(n.controlFlow){if(e.match(a))return"operator";if(e.match(/^(\d+)/))return"number";e.eol()&&(n.controlFlow=!1)}if(e.match(o))return e.eol()&&(n.controlFlow=!1),"number";if(e.match(/^%[\w]+/))return e.match("(")&&(n.macroParameters=!0),"keyword";if(n.macroParameters){if(e.match(/^\d+/))return"number";if(e.match(")"))return n.macroParameters=!1,"keyword"}return e.match(/^%\{\??[\w \-\:\!]+\}/)?(e.eol()&&(n.controlFlow=!1),"def"):(e.next(),null)}}}),r.defineMIME("text/x-rpm-spec","rpm-spec")}); rpm.js 0000644 00000007276 15175531767 0005735 0 ustar 00 // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("rpm-changes", function() { var headerSeparator = /^-+$/; var headerLine = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /; var simpleEmail = /^[\w+.-]+@[\w.-]+/; return { token: function(stream) { if (stream.sol()) { if (stream.match(headerSeparator)) { return 'tag'; } if (stream.match(headerLine)) { return 'tag'; } } if (stream.match(simpleEmail)) { return 'string'; } stream.next(); return null; } }; }); CodeMirror.defineMIME("text/x-rpm-changes", "rpm-changes"); // Quick and dirty spec file highlighting CodeMirror.defineMode("rpm-spec", function() { var arch = /^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/; var preamble = /^[a-zA-Z0-9()]+:/; var section = /^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/; var control_flow_complex = /^%(ifnarch|ifarch|if)/; // rpm control flow macros var control_flow_simple = /^%(else|endif)/; // rpm control flow macros var operators = /^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/; // operators in control flow macros return { startState: function () { return { controlFlow: false, macroParameters: false, section: false }; }, token: function (stream, state) { var ch = stream.peek(); if (ch == "#") { stream.skipToEnd(); return "comment"; } if (stream.sol()) { if (stream.match(preamble)) { return "header"; } if (stream.match(section)) { return "atom"; } } if (stream.match(/^\$\w+/)) { return "def"; } // Variables like '$RPM_BUILD_ROOT' if (stream.match(/^\$\{\w+\}/)) { return "def"; } // Variables like '${RPM_BUILD_ROOT}' if (stream.match(control_flow_simple)) { return "keyword"; } if (stream.match(control_flow_complex)) { state.controlFlow = true; return "keyword"; } if (state.controlFlow) { if (stream.match(operators)) { return "operator"; } if (stream.match(/^(\d+)/)) { return "number"; } if (stream.eol()) { state.controlFlow = false; } } if (stream.match(arch)) { if (stream.eol()) { state.controlFlow = false; } return "number"; } // Macros like '%make_install' or '%attr(0775,root,root)' if (stream.match(/^%[\w]+/)) { if (stream.match('(')) { state.macroParameters = true; } return "keyword"; } if (state.macroParameters) { if (stream.match(/^\d+/)) { return "number";} if (stream.match(')')) { state.macroParameters = false; return "keyword"; } } // Macros like '%{defined fedora}' if (stream.match(/^%\{\??[\w \-\:\!]+\}/)) { if (stream.eol()) { state.controlFlow = false; } return "def"; } //TODO: Include bash script sub-parser (CodeMirror supports that) stream.next(); return null; } }; }); CodeMirror.defineMIME("text/x-rpm-spec", "rpm-spec"); });
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings