Commit Graph

19391 Commits

Author SHA1 Message Date
Siddharth Agarwal
5bb5f70476 doc: bump copyright year 2013-07-17 17:34:47 -07:00
Siddharth Agarwal
b40e1d442a version: bump copyright year 2013-07-17 17:34:30 -07:00
Alexander Plavin
f6368c5d37 hgweb: add line wrapping switch to file diff and changeset views 2013-07-13 00:57:56 +04:00
Alexander Plavin
a55c9084f3 hgweb: file diff and changesets views behave like file source view
This gives all the benefits introduced before for file source view, namely
code selection without line numbers and correct indents, highlighting line
which is linked to, long lines wrapping.

Implementation strategy is also the same as for file source view: all the
lines are put in a sigle pre tag with span's for each line. Correct line
numbering (same as before this patch) is achieved with nested CSS counters.
2013-07-13 00:57:10 +04:00
Alexander Plavin
0c3cdee1bd hgweb: introduce separate classes for stripey background
Introduce stripes2 and stripes4 classes to support different structure.
They will be useful to implement stripes with pure CSS everywhere instead
of current server-side implementation.
2013-07-12 23:47:56 +04:00
Alexander Plavin
6e640b5a19 hgweb: add line wrapping switch to file source view
This uses classList property, which is well-supported now: both Chromium 8.0+,
Firefox 3.6+ and Opera 11.5+ support it, as well as relatively modern versions
of other browsers.
2013-07-12 15:58:13 +04:00
Alexander Plavin
d84fdf56b7 hgweb: add changelog and search templates to raw style
This will make testing hgweb search and other things simpler and more concise,
as there is no extra HTML code in the raw style.
2013-07-09 02:08:24 +04:00
Alexander Plavin
4b47b3338d hgweb: toggleDiffstat function instead of showDiffstat and hideDiffstat
This eliminates the need of two almost equal functions, makes the code cleaner.
2013-07-12 16:01:11 +04:00
Takumi IINO
c57d1116da doc: make i18n man and html
Allow overwrite LANGUAGE and LC_ALL make variables, for make i18n man and html.
After this patch, we can make i18n man and html by following command:

  $ make clean all LANGUAGE=ja
2013-07-03 21:50:20 +09:00
Takumi IINO
2d38f7b9dd doc: make man and html from translated documents
Before this patch, man and html are english only, and there sources are not
translatable.
This patch make translatable all documents.
2013-07-03 21:49:43 +09:00
Takumi IINO
4e9e5e1a97 gendoc: dispatch print document content by commandline arguments
Before this patch, gendoc.py only prints hg.1.gendoc.txt content.
This adds any content print function.
2013-07-03 21:49:41 +09:00
Takumi IINO
aa35bddf6e gendoc: add showtopic
This function prints any topic.
2013-07-03 21:49:39 +09:00
Takumi IINO
6a0123c5c5 gendoc: rename to showdoc from show_doc
This function prints hg.1.gendoc.txt content.
2013-07-03 21:49:37 +09:00
Simon Heimberg
83278fd7d4 check-code: automatically preppend "warning: " to all warning messages
Some warnings had "warning: " at the beginning of their message. Now this
is done consistent for all messages.
Especially in test-check-code-hg.t it is an advantage to see warnings at once
because only exceptions to them are tolerated. It is (almost) as obvious as
before a6180647ea.

The prefix will not remain when a warning is changed to a failure. A change
like a91387a37f will not be necessary anymore.
2013-07-16 01:29:14 +02:00
Martin Geisler
d2aa05d2bf rollback: add reference to "hg commit --amend"
Now that rollback is deprecated (yay!) users might need a pointer to
the alternative for 99% of the cases where I used rollback.
2013-07-17 10:49:34 +02:00
Simon Heimberg
690fb7f82d run-tests: generally handle line endings on windows by re
Recently this regexp was only appended when running a python test. When running
a tsttest there was a separate handling for each line type. Simplify and unify
this.
2013-07-13 23:58:01 +02:00
Simon Heimberg
2fc2f7ad2e run-tests: test for os.altsep instead of os.name when checking \ for /
This tells more explicitly what it is about
2013-07-13 23:57:55 +02:00
Alexander Plavin
79f178845b hgweb: move local changelist function to the beginning of the parent one 2013-07-15 01:05:42 +04:00
Alexander Plavin
57f00f5607 hgweb: get rid of branchentry template duplication 2013-07-13 17:51:24 +04:00
Matt Mackall
02be45d673 merge with stable 2013-07-17 14:25:35 -05:00
Brendan Cully
4e99027450 run-tests: replace popen locking with a noop _cleanup handler on py24
This also avoids the race condition, and isn't detrimental to job scheduling.
2013-07-17 13:42:08 -07:00
Brendan Cully
f3860d2150 run-tests: only lock Popen wait/poll on python 2.4
It can cause scheduling bubbles and is not necessary on newer pythons.
2013-07-17 13:02:12 -07:00
Brendan Cully
90d44a096b run-tests: lock popen wait/poll
In python2.4, any call to Popen() may attempt to wait on any active
process, and wait is not thread-safe. Make it thread-safe.
See http://bugs.python.org/issue1731717 for details.
2013-07-17 12:45:12 -07:00
Matt Mackall
1bf27fc949 merge with i18n 2013-07-17 14:20:35 -05:00
Matt Mackall
90ddfc6b4b rollback: mark as deprecated 2013-07-16 17:10:26 -05:00
Matt Mackall
75eb7e7c7e worker: properly report errors from worker processes (issue3982) 2013-07-16 15:18:12 -05:00
Matt Mackall
14f333f579 run-tests: patch over py2.4 proc.wait() race 2013-07-16 12:44:11 -05:00
Matt Mackall
e4e0d4a087 worker: check problem state correctly (issue3982)
If a large update triggered an abort, it was possible for the main
thread to still update the dirstate.

This fix is incomplete, as the failing worker now doesn't generate a
proper error message. This is difficult in the fork-based framework,
which relies on exceptions propagating to the top of the dispatcher
for formatting.
2013-07-16 11:53:53 -05:00
Matt Mackall
796c64f268 sshpeer: mark _validrepo internal 2013-07-16 11:18:16 -05:00
Matt Mackall
96ec634739 progress: respect HGPLAIN 2013-07-16 11:17:01 -05:00
Martin Geisler
ed39a6fe25 histedit: use base for computing renames when folding (issue3729)
When a file was renamed in the very first changeset being histedited,
the rename was not detected. Consider a history like this:

   0  base: add a.txt
   1  first: rename a.txt to b.txt
   2  last: edit b.txt

When 1 and 2 are edited, copies.pathcopies(first, last) correctly
returns that nothing was renamed. We must instead use
copies.pathcopies(first, last) to detect the initial rename.
2013-07-15 15:04:42 +02:00
Martin Geisler
f6ba9139e9 test-histedit-fold: remove unnecessary --template
The template is already set by the logt alias.
2013-07-15 13:20:39 +02:00
Martin Schröder
8d4dfe600d i18n-de: fixed some strings about stripping 2013-07-14 21:20:02 +02:00
Martin Schröder
65db9c96cc i18n-de: synchronized with 4b8477d4a485 2013-07-14 21:07:44 +02:00
Matt Mackall
d487ab0f65 tip: deprecate the tip command 2013-07-11 19:29:23 -05:00
Matt Mackall
14881de1b1 tag: remove incorrect reference to tip 2013-07-11 19:28:54 -05:00
Matt Mackall
a7f8535149 log: remove tip from example 2013-07-11 19:28:26 -05:00
Matt Mackall
8101748b15 cat: remove incorrect reference to tip 2013-07-11 19:28:01 -05:00
Matt Mackall
cc099c8d79 share: remove reference to tip 2013-07-11 19:26:53 -05:00
Matt Mackall
f0a874d0d5 rebase: simplify references to branch tips 2013-07-11 19:26:34 -05:00
Matt Mackall
8954b4fab8 mq: remove reference to tip 2013-07-11 19:25:44 -05:00
Alexander Plavin
b84ced8343 hgweb: show current search query in the input field 2013-07-11 17:01:54 +04:00
Pierre-Yves David
3defa86817 mq: use an unfiltered property cache for the queue object
The same `queue` object should be used in all situations. This allows to store
global states on the object (like the reworked shelve extension plans to).  The
queue object does not need to be distinct for all possible views (no reference
to the repo/view used at creation time) it's even a bit surprising that mq still
works with the current code.
2013-07-14 17:23:07 +02:00
Siddharth Agarwal
4a9d798403 summary: use missing ancestors algorithm to find new commits
For a repository with around 520,000 commits and 190,000 files, this reduces
the time hg summary takes from 5.5 seconds to 2.75.
2013-07-15 15:19:43 -07:00
Augie Fackler
7ec2710f5c Merge histedit fixes from stable. 2013-07-16 11:13:18 -05:00
Matt Mackall
9ad7ef749f Added signature for changeset 95fbbda7fcd0 2013-07-01 18:07:33 -05:00
Wagner Bruna
a0a3ddacfb merge with i18n 2013-07-01 11:09:29 -03:00
FUJIWARA Katsunori
a6b7aeb918 i18n-ja: synchronized with cc131b22c3a9 2013-07-01 05:25:53 +09:00
Matt Mackall
69f6804d95 merge with i18n 2013-06-30 15:06:22 -05:00
Alexander Plavin
66771f0e45 templater: sort functions alphabetically, as filters are 2013-06-29 14:27:53 +04:00