Skip to content

Commit

Permalink
Released version 20080224.96; prepared for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Jul 5, 2008
1 parent e7e90cb commit af5b038
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 13 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ indicates the version of the extension itself, expressed as a Subversion
revision number.

Version 20060714 (Friday, July 14, 2006)
- Initial release.

Version 20061001 (Sunday, October 1, 2006)
- Integrated with the latest version of the AVIM script.

Version 20080224.59 (Monday, June 16, 2008)
- Based on a refactored codebase by Hieu Dang.
- First release by Minh Nguyen, based on a refactored codebase by Hieu Dang.
- Added support for Firefox 3 and removed support for Firefox 2.
- Replaced the status bar radio buttons with an unobtrusive popup menu.
- Added an identical menu under the Edit menu, for those who hide their status
Expand Down Expand Up @@ -67,6 +69,12 @@ Version 20080224.91 (Thursday, July 3, 2008)
purpose.
- Optimized the toolbar button images.

Version ${Version} (${Date})
Version 20080224.93 (Friday, July 4, 2008)
- Updated home page to point to 1ec5.org.
- Made ignored textbox IDs case-insensitive.

Version ${Version} (${Date})
- Fixed an issue where Mudim would not be turned off after the Disable Mudum
button is pressed.
- Added support for the Pencil extension.
- Fixed an issue where the status bar panel would not work in ChatZilla.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ PRUNE_DIRS= # exclude files with these directories in their paths (space
BEFORE_BUILD= # run this before building (bash command)
AFTER_BUILD= # ...and this after the build (bash command)

REV_NUM=`svnversion -n | cat`
REV_NUM=96

if [ -z $1 ]; then
. ./config_build.sh
Expand Down Expand Up @@ -102,8 +102,8 @@ done
cd $TMP_DIR

if [ -n "$VAR_FILES" ]; then
REV_DATE=`date -u '+%A, %B %e, %Y'`
REV_YEAR=`date -u '+%Y'`
REV_DATE="Saturday, July 5, 2008"
REV_YEAR="2008"
echo "Substituting variables for version $VERSION, build r$REV_NUM on \
$REV_DATE..."
for VAR_FILE in $VAR_FILES; do
Expand Down
4 changes: 4 additions & 0 deletions chrome.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ overlay chrome://inspector/content/viewers/dom/insertDialog.xul chrome://avim
# Options dialog
overlay chrome://nightly/content/options/options.xul chrome://avim/content/avim.xul

### Pencil #####################################################################

overlay chrome://pencil/content/UI/Window.xul chrome://avim/content/avim.xul

### ScrapBook ##################################################################

# Item Properties dialog
Expand Down
18 changes: 12 additions & 6 deletions content/avim.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ function AVIM() {
this.updateUI = function() {
// Enabled/disabled
var bc_enabled = this.$(this.broadcasters.enabled);
bc_enabled.setAttribute("checked", "" + !!AVIMGlobalConfig.onOff);
if (bc_enabled) {
bc_enabled.setAttribute("checked", "" + !!AVIMGlobalConfig.onOff);
}

// Disable methods and options if AVIM is disabled
var disabled_cmds = [this.commands.method, this.commands.spell,
Expand All @@ -271,23 +273,27 @@ function AVIM() {
this.$(bc).removeAttribute("key");
}
var bc_sel = this.$(this.broadcasters.methods[AVIMGlobalConfig.method]);
bc_sel.setAttribute("checked", "true");
if (bc_sel) bc_sel.setAttribute("checked", "true");

var prev_bc_idx = AVIMGlobalConfig.method - 1;
if (prev_bc_idx < 0) prev_bc_idx += this.menuItems.methods.length;
var prev_bc = this.$(this.menuItems.methods[prev_bc_idx]);
prev_bc.setAttribute("key", this.keys.prevMethod);
if (prev_bc) prev_bc.setAttribute("key", this.keys.prevMethod);

var next_bc_idx =
(AVIMGlobalConfig.method + 1) % this.menuItems.methods.length;
var next_bc = this.$(this.menuItems.methods[next_bc_idx]);
next_bc.setAttribute("key", this.keys.nextMethod);
if (next_bc) next_bc.setAttribute("key", this.keys.nextMethod);

// Options
var bc_spell = this.$(this.broadcasters.spell);
bc_spell.setAttribute("checked", "" + !!AVIMGlobalConfig.ckSpell);
if (bc_spell) {
bc_spell.setAttribute("checked", "" + !!AVIMGlobalConfig.ckSpell);
}
var bc_old = this.$(this.broadcasters.oldAccents);
bc_old.setAttribute("checked", "" + !!AVIMGlobalConfig.oldAccent);
if (bc_old) {
bc_old.setAttribute("checked", "" + !!AVIMGlobalConfig.oldAccent);
}

// Status bar panel
var panel = this.$(this.panel);
Expand Down
3 changes: 1 addition & 2 deletions content/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,7 @@ function AVIMOptionsPanel() {
var enumerator = mediator.getEnumerator("navigator:browser");
while (enumerator.hasMoreElements()) {
var win = enumerator.getNext();
if (win && win.CHIM && win.CHIM.SetMethod &&
win.CHIM.SetMethod instanceof Function) {
if (win && win.CHIM && win.CHIM.SetMethod) {
win.CHIM.SetMethod(0);
}
}
Expand Down

0 comments on commit af5b038

Please sign in to comment.