Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 5e3703dc3b0292695d1dfeca6dd74bedaef0f5b5 authored by Pascal Obry on 30 December 2016, 09:41:58 UTC, committed by Pascal Obry on 16 January 2017, 21:54:23 UTC
undo: rework the implementation.
The implementation of the undo/redo was simple but was letting the
complexity in the hand of the API users. In fact there was a need
to keep a prev state and and a current state, and to record only
previous states and not the current one. This was mostly working
(except for a redo bug discoverred while working on this new
implementation) but was tedious.

The new undo implementation is more complex but makes it far easier
to use. That is, modules can just record the current state and they
don't need to keep a previous state at all.

The undo history and map support has been reimplemented with this
new semantics and have been cleaned-up as a consequence.

This work has been highly motivated by the fact that we want to support
undo/redo for masks and that it was far too complex to do right with
the previous implementation.
1 parent d8e7d14
  • Files
  • Changes
  • c89903c
  • /
History
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier swh:1:dir:c89903c27bcdabb6f42f0952ae28d5f8303315a8 into a standard tar.gz archive.

Are you sure you want to continue ?

Download a directory from the Software Heritage Vault

You have requested the download of the directory with identifier swh:1:dir:c89903c27bcdabb6f42f0952ae28d5f8303315a8 as a standard tar.gz archive.

Are you sure you want to continue ?

Cook and download a revision from the Software Heritage Vault

You have requested the cooking of the history heading to revision with identifier swh:1:rev:5e3703dc3b0292695d1dfeca6dd74bedaef0f5b5 into a bare git archive.

Are you sure you want to continue ?

Download a revision from the Software Heritage Vault

You have requested the download of the history heading to revision with identifier swh:1:rev:5e3703dc3b0292695d1dfeca6dd74bedaef0f5b5 as a bare git archive.

Are you sure you want to continue ?

Invalid Email !

The provided email is not well-formed.

Download link has expired

The requested archive is no longer available for download from the Software Heritage Vault.

Do you want to cook it again ?

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
revision badge
swh:1:rev:5e3703dc3b0292695d1dfeca6dd74bedaef0f5b5
directory badge
swh:1:dir:c89903c27bcdabb6f42f0952ae28d5f8303315a8

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
FileModeSize
cmake
data
doc
packaging
po
src
tools
.clang-format -rw-r--r--1.5 KB
.dir-locals.el -rw-r--r--94 bytes
.dockerignore -rw-r--r--19 bytes
.gitattributes -rw-r--r--29 bytes
.gitignore -rw-r--r--137 bytes
.gitmodules -rw-r--r--137 bytes
.mailmap -rw-r--r--7.1 KB
.travis.yml -rw-r--r--3.0 KB
AUTHORS -rw-r--r--921 bytes
Brewfile -rw-r--r--1.1 KB
CMakeLists.txt -rw-r--r--20.5 KB
CONTRIBUTING.md -rw-r--r--2.5 KB
Dockerfile -rw-r--r--3.9 KB
LICENSE -rw-r--r--34.3 KB
README.md -rw-r--r--3.0 KB
RELEASE_NOTES -rw-r--r--75 bytes
build.sh -rwxr-xr-x7.2 KB
ci-script.sh -rwxr-xr-x2.3 KB
iwyu.imp -rw-r--r--6.5 KB

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

README.md

swh spinner

Loading README.md ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API