[SCM] vim-scripts packaging branch, master, updated. 59b09f3f177490b0c833417ad01d927f643ebc46

James Vega jamessan at debian.org
Sun Oct 11 16:44:09 UTC 2009


The following commit has been merged in the master branch:
commit b5e2ad2310e01544979b99e98f81c6870390548c
Author: James Vega <jamessan at debian.org>
Date:   Sun Oct 11 10:27:54 2009 -0400

    calendar: Updated to 1.8

diff --git a/debian/changelog b/debian/changelog
index 70be887..eaef948 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ vim-scripts (20090211-2) UNRELEASED; urgency=low
   * addons upgrades:
     - supertab, DoxygenToolkit, NERD_commenter, Color Sampler Pack, xmledit,
       VCSCommand, Align, gnupg
+    - calendar: Updated to 1.8
   * Add disabledby-doxygentoolkit.diff patch, which enables the commented out
     plugin loaded check.
   * Add xml-nodocs.diff patch, which disables xmledit's "automatic
diff --git a/debian/patches/disabledby-calendar.diff b/debian/patches/disabledby-calendar.diff
index 4c2fc1b..e7439e0 100644
--- a/debian/patches/disabledby-calendar.diff
+++ b/debian/patches/disabledby-calendar.diff
@@ -4,15 +4,16 @@ Index: vim-scripts/plugin/calendar.vim
 ===================================================================
 --- vim-scripts.orig/plugin/calendar.vim
 +++ vim-scripts/plugin/calendar.vim
-@@ -303,6 +303,11 @@
+@@ -305,10 +305,10 @@
  "       :echo calendar_version
  " GetLatestVimScripts: 52 1 :AutoInstall: calendar.vim
  
-+if exists("loaded_calendar")
-+  finish
-+endif
-+let loaded_calendar = 1
-+
- let g:calendar_version = "1.7"
- if &compatible
+-let g:calendar_version = "1.8"
+-if &compatible
++if &compatible || exists("g:calendar_version")
    finish
+ endif
++let g:calendar_version = "1.8"
+ 
+ if !exists("g:calendar_action")
+   let g:calendar_action = "<SID>CalendarDiary"
diff --git a/debian/vim-scripts.status b/debian/vim-scripts.status
index cb8d8dd..e641f9e 100644
--- a/debian/vim-scripts.status
+++ b/debian/vim-scripts.status
@@ -89,10 +89,10 @@ description: shows calendar in a vim window
 script_url:  http://www.vim.org/scripts/script.php?script_id=52
 author:      Yasuhiro Matsumoto
 author_url:  http://www.vim.org/account/profile.php?user_id=103
-email:       mattn_jp at mail.goo.ne.jp
+email:       mattn.jp at gmail.com
 license:     no license
-disabledby:  let loaded_calendar = 1
-version:     1.7
+disabledby:  let calendar_version = 1
+version:     1.8
 
 script_name: plugin/winmanager.vim
 addon:       winmanager
diff --git a/html/index.html b/html/index.html
index d6216ba..438717e 100644
--- a/html/index.html
+++ b/html/index.html
@@ -50,7 +50,7 @@
    <li><a href="syntax_mkd.vim.html">syntax/mkd.vim.html</a></li>
   </ul>
   <p>
-  Page generated on Tue, 01 Sep 2009 23:24:57 -0400
+  Page generated on Sun, 11 Oct 2009 10:22:53 -0400
 .
   </p>
  </body>
diff --git a/html/plugin_calendar.vim.html b/html/plugin_calendar.vim.html
index d7296e3..963941c 100644
--- a/html/plugin_calendar.vim.html
+++ b/html/plugin_calendar.vim.html
@@ -46,6 +46,19 @@
     <tr>
         <td><small>not logged in (<a href="/login.php">login</a>)</small></td>
     </tr>
+    <tr><td>
+<small>&nbsp;</small>
+<form action="http://www.google.com/cse" id="cse-search-box">
+  <div>
+    <input type="hidden" name="cx" value="partner-pub-3005259998294962:bvyni59kjr1" />
+    <input type="hidden" name="ie" value="ISO-8859-1" />
+    <input type="text" name="q" size="20" />
+    <br>
+    <input type="submit" name="sa" value="Search" />
+  </div>
+</form>
+<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
+    </td></tr>
     <tr>
         <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="1"></td>
     </tr>
@@ -59,7 +72,7 @@
             <td class="sidebarheader"><a href="/index.php">Home</a></td>
         </tr>
         <tr>
-            <td class="sidebarheader"><a href="/search.php">Search</a></td>
+            <td class="sidebarheader"><a href="/search.php">Advanced search</a></td>
         </tr>
     <tr>
         <td><img src="/images/spacer.gif" alt="" border="0" width="1" height="7"></td>
@@ -153,8 +166,8 @@
 <tr>
   <td class="lightbg"><b>&nbsp;script karma&nbsp;</b></td>
   <td>
-    Rating <b>1147/470</b>,
-    Downloaded by 19392  </td>
+    Rating <b>1286/528</b>,
+    Downloaded by 24073  </td>
 </tr>
 </table>
 <p>
@@ -204,44 +217,52 @@ Click on the package to download.
     <th valign="top">release notes</th>
 </tr>
 <tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=8279">calendar.vim</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.7</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2008-02-15</i></td>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=11496">calendar.vim</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.8</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2009-10-08</i></td>
     <td class="rowodd" valign="top" nowrap>6.0</td>
     <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=103">Yasuhiro Matsumoto</a></i></td>
-    <td class="rowodd" valign="top" width="2000">This is a fixed version of calendar.vim. fixed problem of week number on 03/01/2008.</td>
+    <td class="rowodd" valign="top" width="2000">This is an upgrade for calendar.vim. fixed E382 while closing diary.<br></td>
 </tr>
 <tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7409">calendar.vim</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.6</b></td>
-    <td class="roweven" valign="top" nowrap><i>2007-07-24</i></td>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=8279">calendar.vim</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.7</b></td>
+    <td class="roweven" valign="top" nowrap><i>2008-02-15</i></td>
     <td class="roweven" valign="top" nowrap>6.0</td>
     <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=103">Yasuhiro Matsumoto</a></i></td>
-    <td class="roweven" valign="top" width="2000">Added new actions 'calendar_begin' and 'calenader_end'.</td>
+    <td class="roweven" valign="top" width="2000">This is a fixed version of calendar.vim. fixed problem of week number on 03/01/2008.</td>
 </tr>
 <tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7047">calendar.vim</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.5</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2007-05-01</i></td>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=7409">calendar.vim</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.6</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2007-07-24</i></td>
     <td class="rowodd" valign="top" nowrap>6.0</td>
     <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=103">Yasuhiro Matsumoto</a></i></td>
-    <td class="rowodd" valign="top" width="2000">This is an upgrade for calendar.vim. this include some bug fix.</td>
+    <td class="rowodd" valign="top" width="2000">Added new actions 'calendar_begin' and 'calenader_end'.</td>
 </tr>
 <tr>
-        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=4984">calendar.vim</a></td>
-    <td class="roweven" valign="top" nowrap><b>1.4a</b></td>
-    <td class="roweven" valign="top" nowrap><i>2006-01-16</i></td>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=7047">calendar.vim</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.5</b></td>
+    <td class="roweven" valign="top" nowrap><i>2007-05-01</i></td>
     <td class="roweven" valign="top" nowrap>6.0</td>
     <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=103">Yasuhiro Matsumoto</a></i></td>
-    <td class="roweven" valign="top" width="2000">This is an upgrade for calendar.vim. this include some bug fix and calendar_today action.
<br></td>
+    <td class="roweven" valign="top" width="2000">This is an upgrade for calendar.vim. this include some bug fix.</td>
 </tr>
 <tr>
-        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=3599">calendar.vim</a></td>
-    <td class="rowodd" valign="top" nowrap><b>1.4</b></td>
-    <td class="rowodd" valign="top" nowrap><i>2004-11-03</i></td>
+        <td class="rowodd" valign="top" nowrap><a href="download_script.php?src_id=4984">calendar.vim</a></td>
+    <td class="rowodd" valign="top" nowrap><b>1.4a</b></td>
+    <td class="rowodd" valign="top" nowrap><i>2006-01-16</i></td>
     <td class="rowodd" valign="top" nowrap>6.0</td>
     <td class="rowodd" valign="top"><i><a href="/account/profile.php?user_id=103">Yasuhiro Matsumoto</a></i></td>
-    <td class="rowodd" valign="top" width="2000">This is an upgrade for Calendar.vim. this include 2 bug fixs and 1 improvement.</td>
+    <td class="rowodd" valign="top" width="2000">This is an upgrade for calendar.vim. this include some bug fix and calendar_today action.
<br></td>
+</tr>
+<tr>
+        <td class="roweven" valign="top" nowrap><a href="download_script.php?src_id=3599">calendar.vim</a></td>
+    <td class="roweven" valign="top" nowrap><b>1.4</b></td>
+    <td class="roweven" valign="top" nowrap><i>2004-11-03</i></td>
+    <td class="roweven" valign="top" nowrap>6.0</td>
+    <td class="roweven" valign="top"><i><a href="/account/profile.php?user_id=103">Yasuhiro Matsumoto</a></i></td>
+    <td class="roweven" valign="top" width="2000">This is an upgrade for Calendar.vim. this include 2 bug fixs and 1 improvement.</td>
 </tr>
 </table>
 <!-- finish off the framework -->
@@ -249,6 +270,7 @@ Click on the package to download.
         </tr>
       </table>
     </td>
+
   </tr>
 </table>
 
@@ -287,7 +309,7 @@ Click on the package to download.
           </td>
 
     <td align="right" valign="top">
-      		<a href="http://sourceforge.net" rel="nofollow"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=8&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
+      		<a href="http://sourceforge.net/projects/vim" rel="nofollow"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=8&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
     </td>
 
     <td><img src="/images/spacer.gif" width="5" height="1" alt=""></td>
diff --git a/plugin/calendar.vim b/plugin/calendar.vim
index 5bb72b1..041fa29 100644
--- a/plugin/calendar.vim
+++ b/plugin/calendar.vim
@@ -2,9 +2,10 @@
 " What Is This: Calendar
 " File: calendar.vim
 " Author: Yasuhiro Matsumoto <mattn.jp at gmail.com>
-" Last Change: Fri, 15 Feb 2008
-" Version: 1.7
+" Last Change: Thu, 08 Oct 2009
+" Version: 1.8
 " Thanks:
+"     Yu Pei                        : bug report
 "     Per Winkvist                  : bug fix
 "     Serge (gentoosiast) Koksharov : bug fix
 "     Vitor Antunes                 : bug fix
@@ -53,6 +54,7 @@
 "     <Leader>ch
 "       show horizontal calendar ...
 " ChangeLog:
+"     1.8  : bug fix, E382 when close diary.
 "     1.7  : bug fix, week number was broken on 2008.
 "     1.6  : added calendar_begin action.
 "            added calendar_end action.
@@ -303,7 +305,7 @@
 "       :echo calendar_version
 " GetLatestVimScripts: 52 1 :AutoInstall: calendar.vim
 
-let g:calendar_version = "1.7"
+let g:calendar_version = "1.8"
 if &compatible
   finish
 endif
@@ -1191,7 +1193,7 @@ function! s:CalendarDiary(day, month, year, week, dir)
   let dir = getbufvar(vbufnr, "CalendarDir")
   let vyear = getbufvar(vbufnr, "CalendarYear")
   let vmnth = getbufvar(vbufnr, "CalendarMonth")
-  exe "auto BufLeave ".escape(sfile, ' \\')." w|call Calendar(" . dir . "," . vyear . "," . vmnth . ")"
+  exe "auto BufDelete ".escape(sfile, ' \\')." call Calendar(" . dir . "," . vyear . "," . vmnth . ")"
 endfunc
 
 "*****************************************************************

-- 
vim-scripts packaging



More information about the pkg-vim-maintainers mailing list