Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
This Source Code Form is subject to the terms of the
Mozilla Public License, v. 2.0.

If a copy of the MPL was not distributed with this file,
You can obtain one at http://mozilla.org/MPL/2.0/.

This Source Code Form is “Incompatible With Secondary Licenses”,
as defined by the Mozilla Public License, v. 2.0.
33 changes: 33 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
##### Makefile for generating the add-on as a XPI archive
#
# v1 2011-10-20 MKA
# v2 2011-10-25 MKA Added checks

DEBUG_STR = ">>> Did you reset the debug level in chrome/content/tnef.js?"
MANIF_STR = ">>> Did you change back the jar directive in chrome.manifest?"

ZIP_CMD = zip -r # archive recursively (the defaults directory)
# -f could be used to update only if the xpi archive exists permanently
XPI_FILE = lookout.xpi
LIC_FILE = LICENSE
CHRO_DIR = chrome
DEFA_DIR = defaults
MAN_FILE = chrome.manifest
INS_FILE = install.rdf
JAR_FILE = $(CHRO_DIR)/lookout.jar

all: check jar xpi

check: # Make checks first
echo $(DEBUG_STR) && read ANSWER
echo $(MANIF_STR) && read ANSWER

jar: # Generating the JAR archive
cd $(CHRO_DIR) && make jar

xpi: $(JAR_FILE) $(MAN_FILE) $(INS_FILE) # Generating the XPI archive
$(ZIP_CMD) $(XPI_FILE) $(JAR_FILE) $(DEFA_DIR)/* $(MAN_FILE) $(INS_FILE) $(LIC_FILE)

clean:
rm -f $(XPI_FILE) $(JAR_FILE)

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
LookOut for Seamonkey
=====================

Since Seamonkey 2.0 the Add-on LookOut doesn't work. The main aim of this project is to fix this problem, since the TNEF coded attachments can't be opened and saved.

This repo is forked from the [LookOut Thunderbird Add-on](https://github.com/AronRubin/LookOut) of Aron Rubin.
7 changes: 7 additions & 0 deletions Version.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Version 1.2.15
2013-10-11 Taking over corrections for saving the attachment by Paul Richardson
2013-10-11 Adding icons
2013-10-12 Removed obsolete code
2013-10-14 Code changes according to Mozilla validation results [setTimeout(), Array.prototype]
2013-10-15 Code changes according to Mozilla validation results [nsILocalFile, gHeaderParser]

16 changes: 12 additions & 4 deletions chrome.manifest
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
content lookout jar:chrome/lookout.jar!/content/
locale lookout en-US jar:chrome/lookout.jar!/locale/en-US/
skin lookout classic/1.0 jar:chrome/lookout.jar!/skin/
overlay chrome://messenger/content/mailWindowOverlay.xul chrome://lookout/content/lookout.xul
content lookout chrome/content/
locale lookout hu chrome/locale/hu/
locale lookout de chrome/locale/de/
locale lookout en-US chrome/locale/en-US/
skin lookout classic/1.0 chrome/skin/

# content lookout jar:chrome/lookout.jar!/content/
# locale lookout en-US jar:chrome/lookout.jar!/locale/en-US/
# locale lookout hu jar:chrome/lookout.jar!/locale/hu/
# locale lookout de jar:chrome/lookout.jar!/locale/de/
# skin lookout classic/1.0 jar:chrome/lookout.jar!/skin/
overlay chrome://messenger/content/mailWindowOverlay.xul chrome://lookout/content/lookout.xul
7 changes: 7 additions & 0 deletions chrome.manifest.final
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
content lookout jar:chrome/lookout.jar!/content/
locale lookout en-US jar:chrome/lookout.jar!/locale/en-US/
locale lookout hu jar:chrome/lookout.jar!/locale/hu/
locale lookout de jar:chrome/lookout.jar!/locale/de/
skin lookout classic/1.0 jar:chrome/lookout.jar!/skin/
overlay chrome://messenger/content/mailWindowOverlay.xul chrome://lookout/content/lookout.xul

30 changes: 27 additions & 3 deletions chrome/Makefile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
all:lookout.jar
# all:lookout.jar
#
# lookout.jar: content/*.js content/*.xul locale/en-US/*.dtd locale/en-US/*.properties skin/*.css
# zip -f $@ $^

##### Makefile for generating the JAR archive
#
# v1 2011-10-20 MKA

JAR_CMD = jar cvfM
JAR_BASE = .
JAR_FILE = lookout.jar
CONT_DIR = content
LOCA_DIR = locale
SKIN_DIR = skin
JS_FILES := $(wildcard $(JAR_BASE)/$(CONT_DIR)/*.js)
XUL_FILES := $(wildcard $(JAR_BASE)/$(CONT_DIR)/*.xul)
LOC_FILES := $(wildcard $(JAR_BASE)/$(LOCA_DIR)/*)
CSS_FILES := $(wildcard $(JAR_BASE)/$(SKIN_DIR)/*.css)
ICO_FILES := $(wildcard $(JAR_BASE)/$(SKIN_DIR)/LOicon*.png)

all: jar

# Generating the JAR archive
jar: $(JS_FILES) $(XUL_FILES) $(LOC_FILES) $(CSS_FILES) $(ICO_FILES)
$(JAR_CMD) $(JAR_FILE) $(JS_FILES) $(XUL_FILES) $(LOC_FILES) $(CSS_FILES) $(ICO_FILES)


lookout.jar: content/*.js content/*.xul locale/en-US/*.dtd locale/en-US/*.properties skin/*.css
zip -f $@ $^
3 changes: 0 additions & 3 deletions chrome/content/Makefile

This file was deleted.

Loading