[elpa] master 18f5e3c: Bump version number to 1.0 and make changes public

2016-02-04 Thread Ulf Jasper
branch: master
commit 18f5e3ce728405331d1c0a05277c0abfa6b2d87e
Author: Ulf Jasper 
Commit: Ulf Jasper 

Bump version number to 1.0 and make changes public
---
 packages/svg-clock/svg-clock.el |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/svg-clock/svg-clock.el b/packages/svg-clock/svg-clock.el
index 438885e..3603651 100644
--- a/packages/svg-clock/svg-clock.el
+++ b/packages/svg-clock/svg-clock.el
@@ -6,7 +6,7 @@
 ;; Author:  Ulf Jasper 
 ;; Created: 22. Sep. 2011
 ;; Keywords:demo, svg, clock
-;; Version: 0.5
+;; Version: 1.0
 ;; Package-Requires: ((svg "0.1") (emacs "25.0"))
 
 ;; This file is part of GNU Emacs.
@@ -43,7 +43,7 @@
 
 ;;; News:
 
-;;  Version FIXME
+;;  Version 1.0
 ;;New function `svg-clock-insert'.  Removed customization
 ;;options.
 



[elpa] master ecc13ea 1/2: Fix requirements and version numbers

2020-01-22 Thread Ulf Jasper
branch: master
commit ecc13ea122ae71dfdd45bfe2c27a9fa763a0ff03
Author: Ulf Jasper 
Commit: Ulf Jasper 

Fix requirements and version numbers

- Require emacs version 27 via 'Package-Requires'.
- Sync internal version number with package version.
- require time-date
---
 packages/svg-clock/svg-clock.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/packages/svg-clock/svg-clock.el b/packages/svg-clock/svg-clock.el
index bd28a35..0c1d90a 100644
--- a/packages/svg-clock/svg-clock.el
+++ b/packages/svg-clock/svg-clock.el
@@ -7,7 +7,7 @@
 ;; Created: 22. Sep. 2011
 ;; Keywords:demo, svg, clock
 ;; Version: 1.1
-;; Package-Requires: ((svg "0.1") (emacs "25.0"))
+;; Package-Requires: ((svg "1.0") (emacs "27.0"))
 
 ;; This file is part of GNU Emacs.
 
@@ -60,11 +60,12 @@
 ;;Initial version.
 
 ;;; Code:
-(defconst svg-clock-version "0.5" "Version number of `svg-clock'.")
+(defconst svg-clock-version "1.1" "Version number of `svg-clock'.")
 
 (require 'dom)
 (require 'svg)
 (require 'cl-macs)
+(require 'time-date)
 
 (cl-defstruct svg-clock-handle
   marker  ;; points to the clock's buffer and position



[elpa] master cf9bb07 2/2: Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs/elpa

2020-01-22 Thread Ulf Jasper
branch: master
commit cf9bb07f2cafe87d21b9860b8f9597edcae9eca2
Merge: ecc13ea 829151f
Author: Ulf Jasper 
Commit: Ulf Jasper 

Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs/elpa
---
 packages/debbugs/debbugs-gnu.el | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 403f580..25f10d4 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/debbugs-gnu.el
@@ -2317,10 +2317,9 @@ or bug ranges, with default to 
`debbugs-gnu-default-bug-number-list'."
 (defun debbugs-gnu-init-current-directory (&optional branch)
 "Initialize `debbugs-gnu-current-directory'."
   (setq debbugs-gnu-current-directory
-   (or debbugs-gnu-current-directory
-   (if branch
-   debbugs-gnu-branch-directory
- debbugs-gnu-trunk-directory)))
+   (if branch
+   debbugs-gnu-branch-directory
+ debbugs-gnu-trunk-directory))
   (unless (file-directory-p debbugs-gnu-current-directory)
 (setq debbugs-gnu-current-directory
  (read-file-name



[elpa] master 0af246b: svg.el: (svg-line): Fix scrambled coordinates.

2014-12-01 Thread Ulf Jasper
branch: master
commit 0af246b9b952a1ffd8ef402968eff15158f1ae51
Author: Ulf Jasper 
Date:   Mon Dec 1 18:27:56 2014 +0100

svg.el: (svg-line): Fix scrambled coordinates.
---
 packages/svg/svg.el |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/svg/svg.el b/packages/svg/svg.el
index bf9ad34..6df6d21 100644
--- a/packages/svg/svg.el
+++ b/packages/svg/svg.el
@@ -128,8 +128,8 @@ X/Y denote the center of the ellipse."
svg
(dom-node 'line
 `((x1 . ,x1)
-  (x2 . ,y1)
-  (y1 . ,x2)
+  (y1 . ,y1)
+  (x2 . ,x2)
   (y2 . ,y2)
   ,@(svg-arguments svg args)
 



[elpa] master 5cc0b09: svg-clock.el: Refactoring. Use 'svg.el' and 'dom.el'.

2014-12-03 Thread Ulf Jasper
branch: master
commit 5cc0b092267d62b0127805a3b988c367e41ce5ed
Author: Ulf Jasper 
Date:   Wed Dec 3 19:55:18 2014 +0100

svg-clock.el: Refactoring.  Use 'svg.el' and 'dom.el'.
---
 packages/svg-clock/svg-clock.el |  462 ---
 1 files changed, 240 insertions(+), 222 deletions(-)

diff --git a/packages/svg-clock/svg-clock.el b/packages/svg-clock/svg-clock.el
index 9d480e6..438885e 100644
--- a/packages/svg-clock/svg-clock.el
+++ b/packages/svg-clock/svg-clock.el
@@ -1,11 +1,13 @@
-;;; svg-clock.el --- Analog clock using Scalable Vector Graphics
+;;; svg-clock.el --- Analog clock using Scalable Vector Graphics -*- 
lexical-binding: t -*-
 
 ;; Copyright (C) 2011, 2014  Free Software Foundation, Inc.
 
+;; Maintainer:  Ulf Jasper 
 ;; Author:  Ulf Jasper 
 ;; Created: 22. Sep. 2011
 ;; Keywords:demo, svg, clock
 ;; Version: 0.5
+;; Package-Requires: ((svg "0.1") (emacs "25.0"))
 
 ;; This file is part of GNU Emacs.
 
@@ -25,249 +27,265 @@
 ;;; Commentary:
 
 ;; svg-clock provides a scalable analog clock.  Rendering is done by
-;; means of svg (Scalable Vector Graphics).  Works only with Emacsen
-;; which were built with svg support -- (image-type-available-p 'svg)
-;; must return t.  Call `svg-clock' to start/stop the clock.
-;; Set `svg-clock-size' to change its size.
+;; means of svg (Scalable Vector Graphics).  In order to use svg-clock
+;; you need to build Emacs with svg support.  (To check whether your
+;; Emacs supports svg, do "M-: (image-type-available-p 'svg) RET"
+;; which must return t).
 
-;; Installation
-;; 
+;; Call `svg-clock' to start a clock.  This will open a new buffer
+;; "*clock*" displaying a clock which fills the buffer's window.  Use
+;; `svg-clock-insert' to insert a clock programmatically in any
+;; buffer, possibly specifying the clock's size, colours and offset to
+;; the current-time.  Arbitrary many clocks can be displayed
+;; independently.  Clock instances ared updated automatically.  Their
+;; resources (timers etc.) are cleaned up automatically when the
+;; clocks are removed.
 
-;; Add the following lines to your Emacs startup file (`~/.emacs').
-;; (add-to-list 'load-path "/path/to/svg-clock.el")
-;; (autoload 'svg-clock "svg-clock" "Start/stop svg-clock" t)
+;;; News:
 
-;; ==
+;;  Version FIXME
+;;New function `svg-clock-insert'.  Removed customization
+;;options.
 
-;;; Code:
-(defconst svg-clock-version "0.5" "Version number of `svg-clock'.")
+;;  Version 0.5
+;;Fixes (image-mode issue etc.).
 
-(require 'image-mode)
-
-(defgroup svg-clock nil
-  "svg-clock"
-  :group 'applications)
-
-(defcustom svg-clock-size t
-  "Size (width and height) of the clock.
-Either an integer which gives the clock size in pixels, or t
-which makes the clock fit to its window automatically."
-  :type '(choice (integer :tag "Fixed Size" :value 250)
- (const :tag "Fit to window" t))
-  :group 'svg-clock)
-
-(defvar svg-clock-timer nil)
-
-(defconst svg-clock-template
-  "
-http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\";>
-http://www.w3.org/2000/svg\";
- width=\"%SIZE%\" height=\"%SIZE%\" >
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-   
-   
-   
-   
-
-
-
-
-
-
-
-
-
-
-
-   
-   
-   
-
-
-
-  
-  
-  
-  
-
-  
-  
-
-  
-  
-  
-  
-  
-  
-
-  
-
-
-
-"
-  "The template for drawing the `svg-clock'.")
-
-(defvar svg-clock--actual-size 100
-  "Actual size of the svg clock.")
-
-(defun svg-clock-color-to-hex (colour)
-  "Return hex representation of COLOUR."
-  (let ((values (color-values colour)))
-(format "#%02x%02x%02x" (nth 0 values) (nth 1 values) (nth 2 values
+;;  Version 0.3
+;;Fixes (disable buffer undo).
 
-(defun svg-clock-replace (from to)
-  "Replace all occurrences of FROM with TO."
-  (goto-char (point-min))
-  (while (re-search-forward from nil t)
-(replace-match to)))
-
-(defun svg-clock-do-update (time)
-  "Make the clock display TIME.
-TIME must have the form (SECOND MINUTE HOUR ...), as returned by 
`decode-time'."
-  (with-current-buffer (get-buffer-create "*clock*")
-(let* ((inhibit-read-only

[ELPA-diffs] elpa r416: Fixed image-mode issue. Changed version to 0.5.

2013-07-08 Thread Ulf Jasper

revno: 416
revision-id: ulf.jas...@web.de-20130708191517-t42250zb0hjeevbw
parent: monn...@iro.umontreal.ca-20130703233635-19gmox9sjjwd8ge1
committer: Ulf Jasper 
branch nick: elpa
timestamp: Mon 2013-07-08 21:15:17 +0200
message:
  Fixed image-mode issue.  Changed version to 0.5.
modified:
  packages/svg-clock/svg-clock.el svgclock.el-20110923193956-6dteq0gwg3h39nkv-2
=== modified file 'packages/svg-clock/svg-clock.el'
--- a/packages/svg-clock/svg-clock.el	2012-01-29 13:20:07 +
+++ b/packages/svg-clock/svg-clock.el	2013-07-08 19:15:17 +
@@ -5,7 +5,7 @@
 ;; Author:  Ulf Jasper 
 ;; Created: 22. Sep. 2011
 ;; Keywords:demo, svg, clock
-;; Version: 0.4
+;; Version: 0.5
 
 ;; This file is part of GNU Emacs.
 
@@ -40,7 +40,7 @@
 ;; ==
 
 ;;; Code:
-(defconst svg-clock-version "0.4" "Version number of `svg-clock'.")
+(defconst svg-clock-version "0.5" "Version number of `svg-clock'.")
 
 (require 'image-mode)
 
@@ -186,7 +186,7 @@
   (svg-clock-replace "%SIZE%" (format "%d" svg-clock--actual-size))
   (svg-clock-replace "%SCALE%"
  (format "%f" (/ svg-clock--actual-size 100.0)))
-
+  (image-mode)
   (image-toggle-display-image
 
 (defun svg-clock-update ()