Permalink
Browse files

* Small improvements to bin/ scripts

* Small adjustments all around
* Made .facts file to contain pointers to glossary entries
  • Loading branch information...
1 parent 2999784 commit ad4383fa658a62505e6e1e4ee5ed3be8a0bf0eb1 @docelic docelic committed Jul 9, 2007
Showing with 222 additions and 71 deletions.
  1. +2 −1 TODO
  2. +4 −1 bin/refs-autogen
  3. +3 −7 bin/stattree
  4. +1 −0 docbook/common.xsl
  5. +13 −1 docbook/docbookxi.dtd
  6. +129 −48 files/infobot/interchange.fact
  7. +1 −1 glossary/ITL
  8. 0 glossary/autoload
  9. +4 −4 glossary/cookie
  10. +3 −0 glossary/debug
  11. +4 −0 glossary/session
  12. +45 −0 refs/MoreDB
  13. +5 −5 refs/PIDcheck
  14. +3 −2 refs/WideOpen
  15. +5 −1 refs/discount
View
@@ -1,6 +1,7 @@
Bugs:
-- swish breaks description if it contains "
+u CVS listi, da je fajl nejm link na CVS
- documentation for bounce and restrict is ignored
+- some small error in glossary/pragma at the bottom, [tag pragma]0[/tag]
- order counter, Session->{mv_order_number}, cronjob -0001, or file da-te.counter, or session_id.time
- in iccattut, s/item-field/item-param/ at least on some places.
View
@@ -471,10 +471,13 @@ while ( $path = shift @paths) { # Now, for each IC version specified
# Well now dude, *some* files from lib/Vend/* somehow lose the
# prefix "lib/". I have no idea how - but we'll fix it when
# it happens.
- $plf =~ /^Vend/ and $plf = "lib/" . $plf;
+ $plf =~ /^Vend/ and do { $plf = "lib/" . $plf; };
#my $loc = "$$ctx{file}:$$ctx{lnum}";
my $loc = $$ctx{file};
+
+ # What would happen if we inserted into $loc the HTML link,
+ # with <phrase condition="online"> ?
my ( $cstart, $cend, $ctxmeta ) = ("", "", "");
my $all = 0; # Showing all for an item?
View
@@ -308,6 +308,8 @@ sub wanted {
last if $i{ver} eq '4.6.0'
and $c{file} =~ /Tagref\.pm$/ and $c{line} =~ /^__DATA__$/;
+ # Note. $c{file} is always relative to sources/VERSION/ at this
+ # point. There is no VERSION included in any file path.
################################################################
# Perl program file
@@ -464,7 +466,7 @@ sub wanted {
for my $tagname ( @tags ) {
push @{ $hash{symbols}{$c{fsubtype}}{$tagname} }, {
%c,
- file => "$i{ver}/$c{file}",
+ # Potentially 4.6.0 gets dots treated as regex here?
lnum => scalar @filedata,
ctx_p => $ctx_p,
ctx_n => $ctx_n,
@@ -502,7 +504,6 @@ sub wanted {
push @{ $hash{symbols}{$c{fsubtype}}{$fn} }, {
%c,
- file => "$i{ver}/$c{file}",
lnum => scalar @filedata,
ctx_p => $ctx_p,
ctx_n => $ctx_n,
@@ -521,7 +522,6 @@ sub wanted {
push @{ $hash{symbols}{$c{fsubtype}}{$fn} }, {
%c,
- file => "$i{ver}/$c{file}",
lnum => scalar @filedata,
ctx_p => $ctx_p,
ctx_n => $ctx_n,
@@ -541,7 +541,6 @@ sub wanted {
push @{ $hash{symbols}{$c{fsubtype}}{$fn} }, {
%c,
- file => "$i{ver}/$c{file}",
lnum => scalar @filedata,
ctx_p => $ctx_p,
ctx_n => $ctx_n,
@@ -661,7 +660,6 @@ sub line_findPragmas {
# it always shows that much (that is, workaround file beginning/
# file end problems - pad with empty lines or something).
%c,
- file => "$i{ver}/$c{file}",
lnum => $c{lnum},
func => ${$c{gfunc}}[0],
funclnum => ${$c{gfunc}}[1],
@@ -708,7 +706,6 @@ sub line_findCatVars {
push @{ $hash{symbols}{catvar}{$name} }, {
%c,
- file => "$i{ver}/$c{file}",
lnum => $c{lnum},
func => ${$c{gfunc}}[0],
funclnum => ${$c{gfunc}}[1],
@@ -750,7 +747,6 @@ sub line_findGlobVars {
) {
push @{ $hash{symbols}{globvar}{$name} }, {
%c,
- file => "$i{ver}/$c{file}",
lnum => $c{lnum},
func => ${$c{gfunc}}[0],
funclnum => ${$c{gfunc}}[1],
View
@@ -48,6 +48,7 @@
<xsl:template match="am"><xsl:call-template name="inline.monoseq"/></xsl:template>
<xsl:template match="filter"><xsl:call-template name="inline.monoseq"/></xsl:template>
<xsl:template match="widget"><xsl:call-template name="inline.monoseq"/></xsl:template>
+ <xsl:template match="check"><xsl:call-template name="inline.monoseq"/></xsl:template>
<xsl:param name="local.l10n.xml" select="document('')"/>
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
View
@@ -32,7 +32,7 @@
<!ENTITY % local.para.char.mix "|xi:include">
-<!ENTITY % local.tech.char.class "|tag|pragma|filter|mv|am|widget|xi:include">
+<!ENTITY % local.tech.char.class "|tag|pragma|filter|mv|am|widget|check|xi:include">
<!-- Load DocBook -->
<!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
@@ -51,6 +51,18 @@
<!--end of tag.module-->]]>
+<!-- ordercheck element -->
+<!ENTITY % check.module "INCLUDE">
+<![%check.module;[
+<!ENTITY % local.check.attrib "">
+
+<!ENTITY % check.element "INCLUDE">
+<![%check.element;[
+<!ELEMENT check %ho; (%para.char.mix;|%para.mix;)*>
+<!--end of check.element-->]]>
+<!--end of check.module-->]]>
+
+
<!-- pragma element -->
<!ENTITY % pragma.module "INCLUDE">
<![%pragma.module;[
Oops, something went wrong.
View
@@ -267,7 +267,7 @@ argument. For example, this <emphasis role='bold'>WILL NOT</emphasis> work:
[page scan se=[scratch <replaceable>variable_name</replaceable>]]
</programlisting>
-Actually, the above code is in a really bad shape. To make it work, we
+The above code is in really bad shape. To make it work, we
need to do two things: switch to named syntax, and properly quote arguments
containing whitespace:
View
No changes.
View
@@ -25,9 +25,9 @@ and differentiate users and ongoing, active sessions.
<para>
Large majority of any state-dependent software out there simply
<emphasis role='bold'>requires</emphasis> that the clients accept
- storage and retrieval of cookies. Even solutions put forth eBay require
- cookies, let alone any much weaker competitors such as Microsoft or the
- wanna-be rivaling "shopping carts".
+ storage and retrieval of cookies. Even eBay requires
+ cookies, let alone any much weaker competitors such as
+ various rivalling "shopping carts".
</para><para>
<emphasis role='bold'>
&IC;, on the other side, does not require client support for cookies.
@@ -66,7 +66,7 @@ wish &IC; to stop appending session IDs to non-problematic clients, and we
can just say this is possible, as you'll learn from further discussion.
</para><para>
Having said the above,
-if the &glos-scratch; variable <mv>mv_no_session_id</mv> is set in their
+if the &glos-scratch; variable <mv>mv_no_session_id</mv> is set in user's
session, the session ID will not be appended to the URL. Furthermore,
on a somewhat related note (the elegance of generated URLs), if the scratch
value <mv>mv_no_count</mv> is set, then the page count
View
@@ -1,2 +1,5 @@
No debugging options are enabled by default in &IC;. See &conf-DebugFile; for
a quick introduction to enabling debug messages.
+</para><para>
+Before &conf-DebugHost; can be used to restrict diagnostics to specfic
+set of hosts, the debug mode itself has to be enabled using &conf-DebugFile;.
View
@@ -161,5 +161,9 @@ In addition, the C<[data ...]> tag can access a number of elements in the Interc
+</para><para>
+When <mv>mv_tmp_session</mv> is defined, [Not]RobotUA is ignored.
+Also mention mv_tmp_session, _no_session, _no_session_id.
+Changing IPs situation
-->
View
@@ -0,0 +1,45 @@
+__NAME__ purpose
+enable saving of search paging files into users' DBI sessions
+__END__
+
+
+__NAME__ synopsis
+<group choice='plain'>
+ <arg choice='plain'>No</arg>
+ <arg choice='plain'>Yes</arg>
+</group>
+__END__
+
+
+__NAME__ description
+This directive enables saving of search paging files into users'
+&glos-session;s.
+</para><para>
+This eliminates the need to have a &conf-ScratchDir; directory
+between all &IC; server nodes.
+</para><para>
+This directive can only be used with DBI (database) sessions; trying
+to use it with non-database sessions will cause errors.
+__END__
+
+__NAME__ notes
+__END__
+
+__NAME__ see also
+SessionDB, SessionType
+__END__
+
+__NAME__ author
+&mheins;
+__END__
+
+
+__NAME__ example: Enabling __FILENAME__
+<programlisting>
+SessionType DBI
+SessionDB session
+
+MoreDB Yes
+</programlisting>
+__END__
+
View
@@ -21,11 +21,11 @@ Interchange processes during the <option>HouseKeeping</option> routine.
</para><para>
If a process has been running (or is hung) for longer than the
specified &glos-interval;, then <userinput>kill -9</userinput> will
-be issued and the server count decremented. Interchange logs this incident
-in the global error log file:
-<programlisting>
-hammered PID 21429 running 312 seconds
-</programlisting>
+be issued and the server count decremented.
+</para><para>
+Interchange also logs this incident in the global error log file. The log
+line looks like this example:
+<errortext>hammered PID 21429 running 312 seconds</errortext>.
__END__
__NAME__ notes
View
@@ -26,8 +26,9 @@ anyone guessing and supplying a valid session ID can hijack other client's
session.
</para><para>
The option was introduced to achieve more compatibility with old browsers, at
-cost of some security. Do not enable it unless you first experience problems.
-Also do not use it unless you are using some encryption
+cost of some security. Do not enable it unless your clients experience
+problems caused by IP addresses that change from access to access.
+Also do not use it unless you are using encryption
(PGP/&conf-CreditCardAuto;) or a real-time payment gateway, or the risk may
be too high.
__END__
View
@@ -13,7 +13,7 @@ __NAME__ synopsis
</row>
<row>
<entry>
- <group choice='opt'>
+ <group choice='plain'>
<arg>discount_space</arg>
<arg>space</arg>
</group>
@@ -171,3 +171,7 @@ Total discount applied to [item-code] is: [currency][calc]
</programlisting>
__END__
+__NAME__ see also
+DiscountSpacesOn, DiscountSpaceVar, discount, discount-space
+__END__
+

0 comments on commit ad4383f

Please sign in to comment.