ChangeLog.08 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. 2008-11-19 Andy Stewart <lazycat.manatee@gmail.com>
  2. * erc.el (erc-header-line-uses-tabbar-p): New option that makes
  3. tabbar mode usable with ERC if set to non-nil.
  4. (erc-update-mode-line-buffer): Use it.
  5. 2008-11-19 Glenn Morris <rgm@gnu.org>
  6. * erc-compat.el (help-function-arglist): Autoload it.
  7. 2008-10-03 Michael Olson <mwolson@gnu.org>
  8. * erc-dcc.el (english): Increase size heading by two places.
  9. (erc-dcc-byte-count): Move higher.
  10. (erc-dcc-do-LIST-command): Use erc-dcc-byte-count to get accurate
  11. count. Coerce byte total to floating point before performing
  12. computation, otherwise division will truncate to 0.
  13. (erc-dcc-append-contents): Update erc-dcc-byte-count.
  14. (erc-dcc-get-filter): Don't update erc-dcc-byte-count, because
  15. that will give incorrect size totals. Instead, figure out how
  16. much we have by summing byte count and current buffer size.
  17. (erc-dcc-get-sentinel): Don't update erc-dcc-byte-count.
  18. 2008-10-01 Michael Olson <mwolson@gnu.org>
  19. * erc-dcc.el (erc-pack-int): Make sure returned string is within 4
  20. bytes. Always return a 4-byte string, so that we conform to the
  21. CTCP spec.
  22. (erc-most-positive-int-bytes): New constant representing the
  23. number of bytes that most-positive-fixnum can be stored in.
  24. (erc-most-positive-int-msb): New constant representing the
  25. contents of the most significant byte of most-positive-fixnum.
  26. (erc-unpack-int): Make sure that the integer we get back can be
  27. represented in Emacs.
  28. (erc-dcc-do-CLOSE-command): Update docstring. Don't use the line
  29. variable. Try to disambiguate between type and nick when only one
  30. is provided. Validate both type and nick arguments. Allow
  31. matching by just nick.
  32. (erc-dcc-append-contents): Set inhibit-read-only to t. Prevent
  33. auto-compression from triggering when we write the contents to a
  34. file.
  35. (erc-dcc-get-file): Prevent auto-compression from triggering when
  36. we truncate a file.
  37. 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
  38. * erc.el: Remove code for Carbon.
  39. 2008-06-07 Glenn Morris <rgm@gnu.org>
  40. * erc/erc-autoaway.el, erc/erc-ibuffer.el, erc/erc-menu.el:
  41. * erc/erc-stamp.el, erc/erc.el: Remove unnecessary eval-when-compiles.
  42. 2008-05-30 Diane Murray <disumu@x3y2z1.net>
  43. * erc-backend.el (328): New response handler.
  44. * erc.el (english): Add 328 to catalog.
  45. 2008-05-29 Diane Murray <disumu@x3y2z1.net>
  46. * erc-services.el (erc-nickserv-alist): Update REGEXP and
  47. SUCCESS-REGEXP for freenode.
  48. 2008-05-05 Juanma Barranquero <lekktu@gmail.com>
  49. * erc-goodies.el (erc-noncommands-list, noncommands)
  50. (erc-control-characters, erc-interpret-controls-p)
  51. (erc-interpret-mirc-color): Fix typos in docstrings.
  52. (erc-controls-highlight): Reflow docstring.
  53. 2008-04-26 Johan Bockgård <bojohan@gnu.org>
  54. * erc.el (erc-put-text-properties): Don't use mapcar*.
  55. (erc-display-line-1): Fix argument order in call to
  56. erc-put-text-properties.
  57. 2008-04-14 Michael Olson <mwolson@gnu.org>
  58. * erc.el (erc-remove-text-properties-region): Disable this command
  59. by default. Thanks to e1f for the suggestion.
  60. 2008-02-20 Michael Olson <mwolson@gnu.org>
  61. * erc.el (erc-notice-face): Fix this face for Emacs 21 users.
  62. 2008-02-05 Juanma Barranquero <lekktu@gmail.com>
  63. * erc.el (erc-valid-nick-regexp):
  64. * erc-button.el (erc-button-syntax-table):
  65. * erc-match.el (erc-match-syntax-table): Replace `legal' with `valid'.
  66. 2008-02-04 Jeremy Maitin-Shepard <jbms@cmu.edu>
  67. * erc.el (erc-cmd-QUERY): Bind the value of `erc-auto-query' to
  68. `erc-query-display' rather than `erc-join-buffer'. This fixes a
  69. bug where the value of erc-auto-query was being ignored.
  70. 2008-01-31 Michael Olson <mwolson@gnu.org>
  71. * erc-dcc.el (erc-dcc-do-GET-command, erc-dcc-do-SEND-command):
  72. Improve docstring. If FILE argument is split into multiple
  73. arguments, re-join them into a single string, separated by a
  74. space. This fixes an issue where the user wants to send or
  75. receive a file with spaces in its name. It is assumed that no one
  76. will try sending or receiving a file with multiple consecutive
  77. spaces in its name, otherwise this fix will fail.
  78. * erc.el (erc-mode-map): Add binding for C-c C-x to
  79. erc-quit-server, since rcirc.el binds its quit command in a
  80. similar manner. Thanks to Jari Aalto for the suggestion.
  81. 2008-01-28 Diane Murray <disumu@x3y2z1.net>
  82. * erc-list-old.el (list-old): Define module as list-old, not list.
  83. This fixes a bug where an unknown module error would occur when
  84. starting ERC and using the list-old module.
  85. * erc-track.el (erc-track-find-face): If no choice was found
  86. return nil to use the default mode-line faces.
  87. 2008-01-26 Michael Olson <mwolson@gnu.org>
  88. * erc.el (erc-version-string): Release ERC 5.3.
  89. * Makefile (VERSION): Update.
  90. (EXTRAS): Remove erc-list.el after all, because this is mainly for
  91. users of the version that comes with Emacs, and they will have
  92. erc-list.el by Emacs 23.
  93. (MISC): Add ChangeLog.07.
  94. (elpa): Fix build issue. Add proper version to erc-pkg.el.
  95. * README.extras: Mention Emacs 23.
  96. * erc-pkg.el: Make the version string a template.
  97. * erc.texi (Obtaining ERC): Update extras URLs for 5.3.
  98. (Development): Write instructions for git, and remove those for Arch.
  99. (History): Mention the switch to git.
  100. 2008-01-25 Michael Olson <mwolson@gnu.org>
  101. * NEWS: Update.
  102. * erc-goodies.el (keep-place): New module which keeps your place
  103. in unvisited ERC buffers when new messages arrive. This is mostly
  104. taken from Johan Bockgård's init file.
  105. (erc-noncommands-list): Move to correct place.
  106. * erc-networks.el: Add a module definition.
  107. * erc-services.el (erc-nickserv-identify-mode): Force-enable the
  108. networks module, because we need it to set erc-network for us.
  109. * erc-track.el (erc-track-faces-normal-list): Indicate in the
  110. docstring that this variable can be set to nil.
  111. * erc.el: On second thought, don't load erc-networks. Just enable
  112. the networks module by default.
  113. (erc-modules): Add option for keep-place and networks. Enable
  114. networks by default.
  115. (erc-version-string): Make release candidate 1 available.
  116. 2008-01-24 Michael Olson <mwolson@gnu.org>
  117. * erc.el: Load erc-networks.el so that functions get access to the
  118. `erc-network-name' function.
  119. * erc-track.el (erc-track-faces-normal-list): Add
  120. erc-dangerous-host-face.
  121. (erc-track-exclude-types): Add 333 and 353 to the default list of
  122. things to ignore, and explain what they are in the docstring.
  123. 2008-01-23 Michael Olson <mwolson@gnu.org>
  124. * erc-track.el (erc-track-faces-priority-list): Move
  125. erc-nick-default-face higher, so that it can be used for the
  126. activity indication effect. Add erc-current-nick-face,
  127. erc-pal-face, erc-dangerous-host-face, and erc-fool-face by
  128. themselves.
  129. (erc-track-faces-normal-list): New option that contains a list of
  130. faces to consider "normal".
  131. (erc-track-position-in-mode-line): Minor docfix.
  132. (erc-track-find-face): Use erc-track-faces-normal-list to produce
  133. a sort of blinking activity effect.
  134. 2008-01-22 Michael Olson <mwolson@gnu.org>
  135. * erc-button.el (erc-button-add-nickname-buttons): When in a
  136. channel buffer, only look at nicks from the current channel.
  137. Thanks to e1f for the report.
  138. 2008-01-21 Michael Olson <mwolson@gnu.org>
  139. * erc-compat.el (erc-const-expr-p, erc-list*, erc-assert): Remove,
  140. since we can use the default `assert' function without it causing
  141. us any problems, even in Emacs 21. Thanks to bojohan for the
  142. suggestion.
  143. * erc-goodies.el (move-to-prompt): Use the "XEmacs" method
  144. instead, because the [remap ...] method interferes with
  145. delete-selection-mode.
  146. (erc-move-to-prompt): Rename from erc-move-to-prompt-xemacs.
  147. Deactivate mark and call push-mark before moving point. Thanks to
  148. bojohan for the suggestion.
  149. (erc-move-to-prompt-setup): Rename from
  150. erc-move-to-prompt-init-xemacs.
  151. * erc-track.el (erc-track-faces-priority-list): Replace erc-button
  152. with '(erc-button erc-default-face) so that we only care about
  153. buttons that are part of normal text. Adjust customization type
  154. to handle this case. Make erc-nick-default-face a list. Handle
  155. pals, fools, current nick, and dangerous hosts.
  156. (erc-track-find-face): Simplify. Adapt for list of faces case.
  157. (erc-faces-in): Don't deflate lists of faces. Add them as-is.
  158. (erc-track-face-priority): Use equal instead of eq.
  159. 2008-01-20 Michael Olson <mwolson@gnu.org>
  160. * erc-goodies.el (erc-move-to-prompt, erc-move-to-prompt-xemacs):
  161. Fix off-by-one error that caused the point to move when placed at
  162. the beginning of some already-typed text. Thanks to e1f for the
  163. report.
  164. * erc-dcc.el, erc-xdcc.el: Add simple module definitions.
  165. * erc.el (erc-modules): Add dcc and xdcc.
  166. 2008-01-19 Michael Olson <mwolson@gnu.org>
  167. * erc-bbdb.el (erc-bbdb-insinuate-and-show-entry): Work around bug
  168. in XEmacs 21.4 that throws an error when the first argument to
  169. run-at-time is nil.
  170. * erc-button.el (button): Undo XEmacs-specific change to all ERC
  171. buffers when module is removed.
  172. (erc-button-setup): Rename from erc-button-add-keys, and move
  173. XEmacs-specific stuff here.
  174. * erc-goodies.el (erc-unmorse): Improve regexp for detecting
  175. morse. Deal with the morse style that has "/ " at the end of
  176. every letter.
  177. (erc-imenu-setup): New function that sets up Imenu support. Add
  178. it instead of a lambda form to erc-mode-hook.
  179. (scrolltobottom): Remove erc-scroll-to-bottom from all ERC buffers
  180. when module is removed. Activate the functionality in all ERC
  181. buffers when the module is activated, rather than leaving it up to
  182. the user.
  183. (move-to-prompt): New module that moves to the ERC prompt if a
  184. user tries to type elsewhere in the buffer, and then inserts their
  185. keystrokes there. This is mostly taken from Johan Bockgård's init
  186. file.
  187. (erc-move-to-prompt): New function that implements this.
  188. (erc-move-to-prompt-xemacs): New function that implements this for
  189. XEmacs.
  190. (erc-move-to-prompt-init-xemacs): New function to perform the
  191. extra initialization step needed for XEmacs.
  192. * erc-page.el, erc-replace.el: Fix header and footer.
  193. * erc-track.el (erc-track-minor-mode-maybe): Take an optional
  194. buffer arg so that we can put this in erc-connect-pre-hook. If
  195. given this argument, include it in the check to determine whether
  196. to activate erc-track-minor-mode.
  197. (track): Add erc-track-minor-mode-maybe to erc-connect-pre-hook,
  198. so that we can use it as soon as a connection is attempted.
  199. * erc.el (erc-format-network, erc-format-target-and/or-network):
  200. Use erc-network-name function instead, and check to see whether
  201. that function is bound. This fixes an error in process filter for
  202. people who did not have erc-services or erc-networks loaded.
  203. (erc-modules): Add move-to-prompt module and enable it by
  204. default. Thanks to e1f for the suggestion.
  205. 2008-01-18 Michael Olson <mwolson@gnu.org>
  206. * Makefile (EXTRAS): Include erc-list-old.el.
  207. * erc-dcc.el (erc-dcc-verbose): Rename from erc-verbose-dcc.
  208. (erc-pack-int): Rewrite to not depend on a count argument.
  209. (erc-unpack-int): Rewrite to remove 4-character limitation.
  210. (erc-dcc-server): Call set-process-coding-system and
  211. set-process-filter-multibyte so that the contents get sent out
  212. without modification.
  213. (erc-dcc-send-filter): Don't take a substring -- just pass the
  214. whole string to erc-unpack-int.
  215. (erc-dcc-receive-cache): New option that indicates the number of
  216. bytes to let the receive buffer grow before flushing it.
  217. (erc-dcc-file-name): New buffer-local variable to keep track of
  218. the filename of the currently-received file.
  219. (erc-dcc-get-file): Disable undo for a speed increase. Set
  220. erc-dcc-file-name. Truncate the file before writing to it.
  221. (erc-dcc-append-contents): New function to append the contents of
  222. a buffer to a file and then erase the contents of the buffer.
  223. (erc-dcc-get-filter): Flush buffer contents after exceeding
  224. erc-dcc-receive-cache. This allows large files to be downloaded
  225. without storing the whole thing in memory.
  226. (erc-dcc-get-sentinel): Flush any remaining contents before
  227. closing. No need to save buffer.
  228. (erc-dcc-listen-host): New option that determines which IP address
  229. to listen on.
  230. (erc-dcc-public-host): New option that determines which IP address
  231. to advertise when sending a file. This is useful for people who
  232. are on a local subnet. Together, these two options replace
  233. erc-dcc-host.
  234. * erc.el (erc-mode-line-format): Add %N and %S. %N is the name of
  235. the network, and %S is much like %s but with the network name
  236. trumping the server name. Default to "%S %a". Thanks to e1f for
  237. the suggestion.
  238. (erc-format-network): New function that formats the network name.
  239. (erc-format-target-and/or-network): New function that formats both
  240. the network name and target, falling back on the server name if
  241. the network name is not available.
  242. (erc-update-mode-line-buffer): Add the new format spec items.
  243. 2008-01-17 Michael Olson <mwolson@gnu.org>
  244. * erc.el (erc-join-buffer): Improve documentation.
  245. (erc-query-display): New option indicating how to display a query
  246. buffer that is made by using the /QUERY command. The default is
  247. to display the query in a new window.
  248. (erc-cmd-QUERY): Use it. Improve docstring.
  249. (erc-auto-query): Default this to 'window-noselect instead,
  250. because I've already seen bug reports about new users thinking
  251. that ERC didn't display their test messages. Improve
  252. customization type.
  253. (erc-notice-face): Make this work with XEmacs.
  254. (erc-join-buffer): Mention 'buffer in docstring. Improve
  255. customization type.
  256. * erc-dcc.el (erc-dcc-send-sentinel): Better handle case where elt
  257. is nil, in order to avoid an error. Thanks to Brent Goodrick for
  258. the initial patch.
  259. (erc-dcc-display-send): New function split from erc-dcc-send-hook.
  260. (erc-dcc-send-connect-hook): Use it -- we don't like lambda forms
  261. in hooks.
  262. (erc-dcc-send-filter): Display byte count if the client confirmed
  263. too much, and kill the buffer. Otherwise a DoS might be possible
  264. by making Emacs run out of RAM.
  265. * erc-backend.el (erc-server-connect): Detect early on whether the
  266. connection attempt has failed in order to avoid confusing error
  267. messages.
  268. * erc-networks.el (erc-server-alist): Add Rizon network.
  269. * erc-services.el (erc-nickserv-passwords): Add Rizon to options.
  270. (erc-nickserv-alist): Add support for Rizon.
  271. * erc-track.el (erc-track-find-face): Don't let buttons in notices
  272. trump default text. Use catch/throw. Default to first element of
  273. FACES is nothing is found.
  274. * erc-xdcc.el: Add local variables for proper indentation setup.
  275. 2008-01-15 Michael Olson <mwolson@gnu.org>
  276. * erc-backend.el (erc-server-coding-system): Docfix.
  277. (erc-coding-system-for-target): Pass the `target' argument along
  278. as the first and only argument. It's not good to just depend on a
  279. dynamic binding.
  280. 2008-01-10 Michael Olson <mwolson@gnu.org>
  281. * erc-backend.el (321, 322): Split message-displaying parts into
  282. new functions, which are added to each response's respective
  283. hook. This makes them easier to disable.
  284. * erc-list.el: New file from Tom Tromey. Use erc-propertize
  285. instead of propertize. Require 'erc.
  286. (list): New module definition. Remove message-displaying
  287. functions for 321 and 322 response handlers when enabling the
  288. module, and restore them when disabling. As a sanity check,
  289. remove the erc-list-handle-322 function when disabling the module.
  290. (erc-list-handle-322): Handle the case where we run the LIST
  291. command, but do not go through the normal steps.
  292. (erc-cmd-LIST): Add docstring. Strip initial space from line if
  293. it is non-nil. Use make-local-variable to silence compiler
  294. warning. Capture current buffer and pass it to
  295. erc-list-install-322-handler.
  296. (erc-list-install-322-handler): Take server-buffer argument, so
  297. that we are certain of being in the right buffer. Use 4th
  298. argument to add-hook, so that erc-server-322-functions is only
  299. modified in one buffer.
  300. * erc-list-old.el: Renamed from old erc-list.el.
  301. * erc.el (erc-modules): Add list-old.
  302. (erc-set-topic): Handle case where there are no newlines in the
  303. existing topic, which happens when /LIST is run.
  304. (erc-notice-face): If we have less than 88 colors, make this
  305. blue. Otherwise the text will be pink in a tty, which looks
  306. dreadful. Thanks to e1f for the report.
  307. (erc-remove-parsed-property): New option that determines whether
  308. to remove the erc-parsed property after displaying a message.
  309. This should have the effect of making ERC take up less memory.
  310. (erc-display-line-1): Use it.
  311. 2008-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
  312. * erc-ibuffer.el (erc-channel-modes):
  313. Pass mode-name through format-mode-line
  314. See ChangeLog.07 for earlier changes.
  315. Copyright (C) 2008-2012 Free Software Foundation, Inc.
  316. This file is part of GNU Emacs.
  317. GNU Emacs is free software: you can redistribute it and/or modify
  318. it under the terms of the GNU General Public License as published by
  319. the Free Software Foundation, either version 3 of the License, or
  320. (at your option) any later version.
  321. GNU Emacs is distributed in the hope that it will be useful,
  322. but WITHOUT ANY WARRANTY; without even the implied warranty of
  323. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  324. GNU General Public License for more details.
  325. You should have received a copy of the GNU General Public License
  326. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  327. ;; Local Variables:
  328. ;; coding: utf-8
  329. ;; add-log-time-zone-rule: t
  330. ;; End: