diff --git a/mozilla/composer/Makefile.in b/mozilla/composer/Makefile.in index 070a2d9886b..2a387634022 100644 --- a/mozilla/composer/Makefile.in +++ b/mozilla/composer/Makefile.in @@ -42,6 +42,6 @@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk -DIRS = app base +DIRS = base include $(topsrcdir)/config/rules.mk diff --git a/mozilla/composer/app/Makefile.in b/mozilla/composer/app/Makefile.in deleted file mode 100644 index d13c1856559..00000000000 --- a/mozilla/composer/app/Makefile.in +++ /dev/null @@ -1,174 +0,0 @@ -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is mozilla.org code. -# -# The Initial Developer of the Original Code is -# Netscape Communications. -# Portions created by the Initial Developer are Copyright (C) 2002 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# Brian Ryner -# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL or the LGPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** - -DEPTH = ../.. -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - -DIRS = profile - -PREF_JS_EXPORTS = \ - $(srcdir)/profile/all.js \ - $(srcdir)/profile/editor.js \ - $(NULL) - -ifeq ($(USE_SHORT_LIBNAME), 1) -PROGRAM = composer$(BIN_SUFFIX) -else -PROGRAM = composer-bin$(BIN_SUFFIX) -endif - -REQUIRES = \ - string \ - xpcom \ - xulapp \ - xpinstall \ - appshell \ - $(NULL) - -CPPSRCS = nsComposerApp.cpp - -# This code removes the console from release builds -# (unless you've set MOZ_WINCONSOLE=1). - -ifndef MOZ_WINCONSOLE -ifdef MOZ_DEBUG -MOZ_WINCONSOLE = 1 -else -MOZ_WINCONSOLE = 0 -endif -endif - -LIBS = \ - $(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) \ - $(MOZ_JS_LIBS) \ - $(MOZ_COMPONENT_LIBS) \ - $(TK_LIBS) \ - $(NULL) - -# Add explicit X11 dependency when building against X11 toolkits -ifneq (,$(filter gtk gtk2 xlib,$(MOZ_WIDGET_TOOLKIT))) -LIBS += $(XLDFLAGS) $(XLIBS) -endif - -include $(topsrcdir)/config/config.mk - - -## HACK ALERT...I can't seem to get the console to go away in optimized builds -## the MOZWINCONSOLE lines above are doing anything...for now, force the right -## subsytem - -ifndef MOZ_DEBUG -WIN32_EXE_LDFLAGS += /SUBSYSTEM:WINDOWS -endif - -ifeq ($(OS_ARCH),WINNT) -OS_LIBS += $(call EXPAND_LIBNAME,comctl32 comdlg32 uuid shell32 ole32 oleaut32 version winspool gdi32) -RCINCLUDE = splash.rc -ifndef GNU_CC -RCFLAGS += -DMOZ_STANDALONE_COMPOSER -I$(srcdir) -else -RCFLAGS += -DMOZ_STANDALONE_COMPOSER --include-dir $(srcdir) -endif -endif - -include $(topsrcdir)/config/rules.mk - -$(PROGRAM): $(DIST)/lib/$(LIB_PREFIX)xulapp_s.$(LIB_SUFFIX) - -DESKTOP_ICONS := \ - editorWindow.xpm \ - editorWindow16.xpm \ - $(NULL) - -libs:: $(DESKTOP_ICONS) - $(INSTALL) $^ $(DIST)/bin/chrome/icons/default - -install:: $(DESKTOP_ICONS) - $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/chrome/icons/default - -ifneq (,$(filter-out OS2 WINNT Darwin,$(OS_ARCH))) -composer:: mozilla.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk - cat $< | sed -e "s|%MOZAPPDIR%|$(mozappdir)|" \ - -e "s|%MREDIR%|$(mredir)|" \ - -e "s|mozilla-bin|$(PROGRAM)|g" > $@ - chmod +x $@ - -libs:: composer - $(INSTALL) $< $(DIST)/bin - -install:: composer - $(SYSINSTALL) $< $(DESTDIR)$(bindir) - -GARBAGE += composer -endif - -ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT))) -ICON_FILES = \ - $(srcdir)/mozicon50.xpm \ - $(srcdir)/mozicon16.xpm \ - $(NULL) - -libs:: - $(INSTALL) $(ICON_FILES) $(DIST)/bin/icons - -install:: - $(SYSINSTALL) $(IFLAGS1) $(ICON_FILES) $(DESTDIR)$(mozappdir)/icons -endif - -ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT))) - -ifdef MOZ_DEBUG -APP_NAME = ComposerDebug -else -APP_NAME = Composer -endif - -libs:: $(PROGRAM) - mkdir -p $(DIST)/$(APP_NAME).app/Contents/MacOS - rsync -a $(srcdir)/macbuild/Contents $(DIST)/$(APP_NAME).app - rsync -aL $(DIST)/bin/ $(DIST)/$(APP_NAME).app/Contents/MacOS - cp -RL $(srcdir)/macbuild/mach.icns $(DIST)/$(APP_NAME).app/Contents/Resources/mach.icns - echo -n APPLMOZZ > $(DIST)/$(APP_NAME).app/Contents/PkgInfo - -clean clobber:: - rm -rf $(DIST)/$(APP_NAME).app -endif diff --git a/mozilla/composer/app/composer.exe.manifest b/mozilla/composer/app/composer.exe.manifest deleted file mode 100644 index 43925107d1c..00000000000 --- a/mozilla/composer/app/composer.exe.manifest +++ /dev/null @@ -1,22 +0,0 @@ - - - -.NET control deployment tool - - - - - - diff --git a/mozilla/composer/app/editorWindow.ico b/mozilla/composer/app/editorWindow.ico deleted file mode 100644 index 06d1dd338e8..00000000000 Binary files a/mozilla/composer/app/editorWindow.ico and /dev/null differ diff --git a/mozilla/composer/app/editorWindow.xpm b/mozilla/composer/app/editorWindow.xpm deleted file mode 100644 index 0e96caf5d09..00000000000 --- a/mozilla/composer/app/editorWindow.xpm +++ /dev/null @@ -1,232 +0,0 @@ -/* XPM */ -static char *pixmap[] = { -/* width height ncols cpp */ -"32 32 194 2", - /* Colors */ - "00 c #FFFFFF", - "01 c #EFF2F4", - "02 c #EAEDF1", - "03 c #E4E9EE", - "04 c #DCE2E9", - "05 c #D3DCE4", - "06 c #C9D6E1", - "07 c #CDD7DF", - "08 c #C3CED9", - "09 c #C0C0C0", - "0A c #BEE0E0", - "0B c #ACCAE0", - "0C c #A4C6E0", - "0D c #99C4F1", - "0E c #BAC9D8", - "0F c #B4C5D4", - "10 c #A6C5D4", - "11 c #B2C1CF", - "12 c #95C2D4", - "13 c #A4BED0", - "14 c #ABBDCD", - "15 c #A3B5C6", - "16 c #92B1D0", - "17 c #8CB8D4", - "18 c #8BB3D4", - "19 c #84B1D4", - "1A c #8AAED4", - "1B c #83ABD2", - "1C c #9AB2C9", - "1D c #9BADC0", - "1E c #83A6CA", - "1F c #8CA7C1", - "20 c #83A2C1", - "21 c #A5A7A8", - "22 c #96A9BC", - "23 c #859FBA", - "24 c #889EB4", - "25 c #839BB2", - "26 c #8097B0", - "27 c #8394A7", - "28 c #898584", - "29 c #7FAAD2", - "2A c #79A4CB", - "2B c #7EA1C5", - "2C c #7A9DC1", - "2D c #729BC1", - "2E c #729ABF", - "2F c #7297BB", - "30 c #7092B6", - "31 c #6C93BB", - "32 c #6C91B6", - "33 c #6B8EB3", - "34 c #678EB2", - "35 c #7D94AC", - "36 c #718EAD", - "37 c #718AA3", - "38 c #6B8AAB", - "39 c #6589AD", - "3A c #6186A9", - "3B c #6E8BA5", - "3C c #6984A1", - "3D c #6184A6", - "3E c #5E82A4", - "3F c #778696", - "40 c #6D839B", - "41 c #62819E", - "42 c #627F9B", - "43 c #62758B", - "44 c #5B7C9C", - "45 c #5F7A95", - "46 c #577897", - "47 c #597796", - "48 c #567493", - "49 c #53718F", - "4A c #5B7086", - "4B c #516E8B", - "4C c #596C81", - "4D c #4F6C88", - "4E c #4E6B87", - "4F c #4B6581", - "50 c #FFE14F", - "51 c #FADC4D", - "52 c #FFD34A", - "53 c #FFCD48", - "54 c #FFC346", - "55 c #EDCB48", - "56 c #FFBD43", - "57 c #F0BC42", - "58 c #FFB541", - "59 c #EDBA41", - "5A c #FFFF00", - "5B c #FEAC3E", - "5C c #F0AF3E", - "5D c #FEA33B", - "5E c #F0A239", - "5F c #ECA93C", - "60 c #DFA93B", - "61 c #FF9B3A", - "62 c #FF9539", - "63 c #FF9236", - "64 c #F09737", - "65 c #FF8C35", - "66 c #FF8433", - "67 c #EF8F34", - "68 c #ED8232", - "69 c #DE9C37", - "6A c #DC9335", - "6B c #CE842F", - "6C c #B09935", - "6D c #B39133", - "6E c #B2852E", - "6F c #808000", - "70 c #FF7C31", - "71 c #FF7731", - "72 c #FF7B2F", - "73 c #FF732D", - "74 c #ED7A2E", - "75 c #FF6C2B", - "76 c #FE662A", - "77 c #ED6528", - "78 c #CA702D", - "79 c #ED5925", - "7A c #B27D2C", - "7B c #AF7D2D", - "7C c #BD632B", - "7D c #B26B27", - "7E c #B16525", - "7F c #9F7629", - "80 c #9F7027", - "81 c #806423", - "82 c #BC5D28", - "83 c #B05C23", - "84 c #BA5525", - "85 c #B05722", - "86 c #B94B23", - "87 c #B84421", - "88 c #815D21", - "89 c #B3481D", - "8A c #B03F1A", - "8B c #AB391B", - "8C c #A02E19", - "8D c #9E3219", - "8E c #8B2815", - "8F c #852E13", - "90 c #5A6B7F", - "91 c #56687D", - "92 c #55677B", - "93 c #516376", - "94 c #4A647E", - "95 c #4E6073", - "96 c #475F78", - "97 c #445C76", - "98 c #41586F", - "99 c #40566F", - "9A c #6A4E4A", - "9B c #3D546B", - "9C c #3C5267", - "9D c #384C61", - "9E c #354B63", - "9F c #334558", - "A0 c #314254", - "A1 c #2B3C4D", - "A2 c #243342", - "A3 c #7C4221", - "A4 c #7B3B1E", - "A5 c #7B341C", - "A6 c #792E1A", - "A7 c #7D2E14", - "A8 c #632114", - "A9 c #513E16", - "AA c #4E3A14", - "AB c #5F200D", - "AC c #651E14", - "AD c #661A0D", - "AE c #5D1F12", - "AF c #561C12", - "B0 c #451912", - "B1 c #5F1D0C", - "B2 c #411409", - "B3 c #222F3C", - "B4 c #1B252E", - "B5 c #121F2B", - "B6 c #141C23", - "B7 c #2F240D", - "B8 c #251D0B", - "B9 c #221006", - "BA c #12181F", - "BB c #151515", - "BC c #0E141A", - "BD c #060F19", - "BE c #141006", - "BF c #120E05", - "C0 c #000000", - ".. s None c None", - "..133D484B4B4B484848484848484848484848484848484847444444479490..", - "0B0A3894959593914C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4C4340261F3694A19F", - "1A0C15....................................................3FA29F", - "2E45....171B2A2D2D2D2D2D2D2D2D2D2D2D2E2E2E2E2E2F323A444E..164FB3", - "324A..1012292D31323232323232323232323232323233343D464E97..3E9BBA", - "3091..12180504011C05010E1C0301143A3A3A3A3D3D3E44484F97..3348A2C0", - "2F92..17290501011505010111050101444444444448494E9497..313D9DBC..", - "2C92..182A200101413B01024444010344484848494D4F9798..313297B6C0..", - "2B92..192A1C010F48240108481D01144848484B4D4F9798..313297B4C0....", - "1E92..192A0F0125481501154811012248484B4D4F9798..313297B4C0BB....", - "1E92..192A0601374808012548070135480097969798..313297B4C0A3BB....", - "1E92..192A0301424803013C48030142000051A09C..313297B4C061A3BB....", - "1E92..192A34444848484848484848000028515121393397B4C05462A3BB....", - "1E92..192A344448484848484848000028000000519499B4C0535663A4BB....", - "1E92..192A34444848484848485A0028000028000051B6C053535865A4BB....", - "1E92..192A3444484848484800005A5A092800002800006D59545B66A4BB....", - "1E92..192A3444484848480000285A00C06F0028000051006E5C5D66A4BB....", - "1E92..192A3444484848000028006F0928C0C000000051B888695D70A4BB....", - "1E92..192A34444848510028002800002800C0C05151BFA97A5E5D71A5BB....", - "1E92..192A3444484B97510028000028002800C0C0BFAA7B5F5D6173A5BB....", - "1E92..192A3444494D96A0515100280000002800C0C0886A5D5D6375A5BB....", - "1E92..192A34444B4F979C21510000002800512809C0C0286B676575A5BB....", - "1E92..192D39484F9798..39945100280051BFB728C0C0C0287E7476A6BB....", - "1E90..192D3D4D9698..313399B6510051BEA97F802809C0C0288579A6BB....", - "1E4C..1B31444F97..313297B4C06C51B8A96E5FC06F2800C0C0288AA6BB....", - "1E43..2A394997..313297B4C050556D816E5F5B6AC06F2800C0C0ABA8BB....", - "1E37..314494..313297B4C050515257605C5B5B647DC06F2800C0B2AEBB....", - "1E23..3D4E..313297B4C05152535456585B5D61626883C0B92828B2AFBB....", - "2C16......313397B4C054585B5B5D616365666672737789A78FB1ADB0BB....", - "390D274F33489BB4C062787C7C7C8284848486868687898B8D8C8EAC9ABB....", - "9F4B9E4F9BA1B6C0BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB......", - "..9FB5BDB4BC....................................................", -}; diff --git a/mozilla/composer/app/editorWindow16.xpm b/mozilla/composer/app/editorWindow16.xpm deleted file mode 100644 index 8252cb8188f..00000000000 --- a/mozilla/composer/app/editorWindow16.xpm +++ /dev/null @@ -1,77 +0,0 @@ -/* XPM */ -static char *pixmap[] = { -/* width height ncols cpp */ -"16 16 55 2", - /* Colors */ - "00 c #FFFFFF", - "01 c #C0C0C0", - "02 c #BDCBDA", - "03 c #808080", - "04 c #77BEFF", - "05 c #65AFFC", - "06 c #57A1EE", - "07 c #70A7DC", - "08 c #7BA2C7", - "09 c #679CD1", - "0A c #6093CA", - "0B c #5A8DC2", - "0C c #3B80CB", - "0D c #5488BD", - "0E c #4E81B5", - "0F c #3376C0", - "10 c #4B7DB0", - "11 c #497AAC", - "12 c #4777AA", - "13 c #4271A3", - "14 c #406E9E", - "15 c #2869AF", - "16 c #2569AF", - "17 c #2365A9", - "18 c #2061A5", - "19 c #1E60A4", - "1A c #3E6C9C", - "1B c #3A6595", - "1C c #33608B", - "1D c #335E8B", - "1E c #21578F", - "1F c #2F5A87", - "20 c #2B5681", - "21 c #1B5B9E", - "22 c #175799", - "23 c #135395", - "24 c #104F90", - "25 c #0C4787", - "26 c #F9DC4D", - "27 c #FFFF00", - "28 c #FF8333", - "29 c #808000", - "2A c #D53F11", - "2B c #284F7A", - "2C c #274E79", - "2D c #214973", - "2E c #0D4070", - "2F c #1B4169", - "30 c #193E64", - "31 c #083767", - "32 c #002F69", - "33 c #712511", - "34 c #000024", - "35 c #000000", - ".. s None c None", - "..060F17222323222119181721251E..", - "0504........................3131", - "0C..02090B0E111112131A1C2B1F..1F", - "16..07270B11131426261D2C30081F34", - "19..0A35272701000000262D..1F35..", - "21..0D3527003529030000001F3433..", - "21..0E352901033535030003002A33..", - "21..10130000030035350300002633..", - "19..10260003000300353500263533..", - "17..12260000030003013535032833..", - "15..13352600000300030135350333..", - "17..1B1F3526000000260300353503..", - "17..202F..3526002635290300353503", - "24..1F081F3435263528352903003535", - "322E..1F343333353333333529030035", - "..343434................35290303", -}; diff --git a/mozilla/composer/app/module.rc b/mozilla/composer/app/module.rc deleted file mode 100644 index b1435bd372e..00000000000 --- a/mozilla/composer/app/module.rc +++ /dev/null @@ -1,127 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is the Win32 Version System. - * - * The Initial Developer of the Original Code is - * Brian Bober . - * Portions created by the Initial Developer are Copyright (C) 2001 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Bill Law law@netscape.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#include - -// Note: if you contain versioning information in an included -// RC script, it will be discarded -// Use module.ver to explicitly set these values - -// Do not edit this file. Changes won't affect the build. - -#include -#include "nsINativeAppSupportWin.h" - -1 24 "composer.exe.manifest" - -// Splash screen dialog ID. -#define IDD_SPLASH 100 - -// Splash screen bitmap ID. -#define IDB_SPLASH 101 - -// Program icon. -IDI_APPLICATION ICON - "mozilla.ico" - -// Splash screen dialog. -IDD_SPLASH DIALOGEX - DISCARDABLE - 0,0,0,0 - STYLE DS_SETFOREGROUND | DS_CENTER | WS_POPUP - EXSTYLE WS_EX_TOOLWINDOW - FONT 8, "MS Sans Serif" - BEGIN - CONTROL - IDB_SPLASH, - IDB_SPLASH, - "Static", - SS_BITMAP, - 0,0,0,0 - END - -// Splash screen bitmap. -//IDB_SPLASH BITMAP -// "splash.bmp" - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STARTMENU_APPNAME, "Composer" -END - - - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -1 VERSIONINFO - FILEVERSION 0,0,0,0 - PRODUCTVERSION 0,0,0,0 - FILEFLAGSMASK 0x3fL - FILEFLAGS VS_FF_PRIVATEBUILD | VS_FF_DEBUG - FILEOS VOS__WINDOWS32 - FILETYPE VFT_DLL - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "000004b0" - BEGIN - VALUE "Comments", "" - VALUE "LegalCopyright", "License: MPL 1.1/GPL 2.0/LGPL 2.1" - VALUE "CompanyName", "Mozilla Foundation" - VALUE "FileDescription", "Composer" - VALUE "FileVersion", "Personal Debug" - VALUE "ProductVersion", "Personal Debug" - VALUE "InternalName", "" - VALUE "LegalTrademarks", "Mozilla" - VALUE "OriginalFilename", "composer.exe" - - VALUE "PrivateBuild", "" - - VALUE "ProductName", "Composer" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x0, 1200 - END -END - diff --git a/mozilla/composer/app/module.ver b/mozilla/composer/app/module.ver deleted file mode 100644 index 6021a8dab4d..00000000000 --- a/mozilla/composer/app/module.ver +++ /dev/null @@ -1,2 +0,0 @@ -WIN32_MODULE_DESCRIPTION=Composer -WIN32_MODULE_PRODUCTNAME=Composer diff --git a/mozilla/composer/app/mozicon16.xpm b/mozilla/composer/app/mozicon16.xpm deleted file mode 100644 index 55e6fe2e919..00000000000 --- a/mozilla/composer/app/mozicon16.xpm +++ /dev/null @@ -1,116 +0,0 @@ -/* XPM */ -static char *mozilla.xpm[] = { -/* columns rows colors chars-per-pixel */ -"16 16 94 2", -" c opaque", -". c #655a47", -"X c #7e6e53", -"o c #897a5e", -"O c #817764", -"+ c #817a6f", -"@ c #897d63", -"# c #8e8063", -"$ c #918369", -"% c #948974", -"& c #988b71", -"* c #988e7d", -"= c #a2947b", -"- c #af9e7a", -"; c #858995", -": c #958d83", -"> c #9b9da6", -", c #9ea3b2", -"< c #99a0b8", -"1 c #a09682", -"2 c #aa9c81", -"3 c #a09a90", -"4 c #afa285", -"5 c #afa288", -"6 c #a8a090", -"7 c #b4a586", -"8 c #b3a689", -"9 c #b8aa8c", -"0 c #b8ad96", -"q c #bcb199", -"w c #a1a0a2", -"e c #a8a6a4", -"r c #aca9a5", -"t c #a7aab6", -"y c #a6a9b8", -"u c #aab0bd", -"i c #b6afa1", -"p c #b5b1aa", -"a c #bbb4a4", -"s c #b1b3be", -"d c #adb6cc", -"f c #adb7d1", -"g c #b1b9cd", -"h c #b7c0d6", -"j c #b8c4e3", -"k c #c4b188", -"l c #c3b496", -"z c #c3b69b", -"x c #cebd96", -"c c #c9bb99", -"v c #c6b9a1", -"b c #c3bcac", -"n c #c8bca6", -"m c #c4bfb2", -"M c #d2c097", -"N c #d0c19d", -"B c #cfc2a3", -"V c #cfc4af", -"C c #c7c0b2", -"Z c #ccc5b5", -"A c #d5c7a5", -"S c #d7c9ad", -"D c #dbcdae", -"F c #d7ceba", -"G c #daceb5", -"H c #ddd0b3", -"J c #dbd1ba", -"K c #e3d7ba", -"L c #e3d8be", -"P c #dfd9c8", -"I c #cdd4e5", -"U c #cfd8ec", -"Y c #d3defc", -"T c #dee2ef", -"R c #d7e3ff", -"E c #dfe4f3", -"W c #dbe7ff", -"Q c #dde8fe", -"! c #e5dbc4", -"~ c #eadec4", -"^ c #e8dfc8", -"/ c #ece3cd", -"( c #ece4d1", -") c #efe8d5", -"_ c #e5eaf5", -"` c #e3edfe", -"' c #e7f1fe", -"] c #eef4fe", -"[ c #f9f3e3", -"{ c #fbf6e8", -"} c #f1f6ff", -"| c #f4faff", -" . c #fbfeff", -".. c None", -/* pixels */ -"..............# @ @ ............", -"............@ 3 C a @ ..........", -"........@ @ 3 b b Z Z O ........", -"......@ E T g , > r p m @ ......", -"....@ ; . . .} _ I g d y @ ....", -"..# + f .} ] ] ] . .| U r @ ..", -"..7 * g ' ` ' ` W ` ` ` r k @ ..", -"..9 H 0 s Y ` W R W R u 8 M @ ..", -"..5 L L v w j d t g < 1 N x @ ..", -"..2 L ! ( J : i P b % B A x @ ..", -"..= L ! ( F n [ { [ F 5 c x @ ..", -"..& K J q Z ( / / ! ^ G 8 - @ ..", -"..$ G 2 n / ~ ! L L G D l X @ ..", -"..o 8 c ~ J S l - # . @ @ @ ....", -"..@ & = @ @ @ ..................", -"................................" -}; diff --git a/mozilla/composer/app/mozicon50.xpm b/mozilla/composer/app/mozicon50.xpm deleted file mode 100644 index 1a96506cc8d..00000000000 --- a/mozilla/composer/app/mozicon50.xpm +++ /dev/null @@ -1,292 +0,0 @@ -/* XPM */ -static char *mozilla.xpm[] = { -/* columns rows colors chars-per-pixel */ -"48 48 238 2", -" c opaque", -". c #3f301d", -"X c #3d3e3b", -"o c #06175e", -"O c #04264b", -"+ c #04294f", -"@ c #05255e", -"# c #08227d", -"$ c #063567", -"% c #0f3c75", -"& c #1a257a", -"* c #26394a", -"= c #323641", -"- c #313940", -"; c #393848", -": c #06407f", -"> c #16406c", -", c #1a4571", -"< c #3c4449", -"1 c #24476c", -"2 c #453722", -"3 c #4b3d28", -"4 c #4f422d", -"5 c #51432d", -"6 c #574933", -"7 c #524c3f", -"8 c #5e4f38", -"9 c #5d503b", -"0 c #64553e", -"q c #404a4d", -"w c #4a4647", -"e c #4a4d4d", -"r c #424e59", -"t c #484754", -"y c #5d584c", -"u c #5a6368", -"i c #665840", -"p c #645b48", -"a c #6a5b43", -"s c #6c5f49", -"d c #6c614e", -"f c #73644b", -"g c #766a57", -"h c #746c5e", -"j c #7b6c53", -"k c #7b6e58", -"l c #7e725a", -"z c #63646b", -"x c #6c6f7d", -"c c #7f7766", -"v c #787974", -"b c #787d7f", -"n c #092a8c", -"m c #0e219e", -"M c #0a289c", -"N c #093c9c", -"B c #0c21ab", -"V c #0b2aab", -"C c #0d23bb", -"Z c #1022a0", -"A c #253293", -"S c #0f2ada", -"D c #102ce9", -"F c #1130f9", -"G c #08469d", -"H c #0f5096", -"J c #08519d", -"K c #155496", -"L c #1e5692", -"P c #0948ac", -"I c #0851a0", -"U c #0958ad", -"Y c #0e5db1", -"T c #1158a4", -"R c #165eaa", -"E c #0960bc", -"W c #2b5d91", -"Q c #33409e", -"! c #0a68cc", -"~ c #0b71dc", -"^ c #0b77eb", -"/ c #44578c", -"( c #4f5c84", -") c #616d91", -"_ c #68708b", -"` c #6f7996", -"' c #7e7d81", -"] c #6d7caa", -"[ c #717ea7", -"{ c #0c80fb", -"} c #7e898f", -"| c #7e8592", -" . c #7c849d", -".. c #7481a7", -"X. c #7280aa", -"o. c #7a87ac", -"O. c #7685b1", -"+. c #817259", -"@. c #897a5e", -"#. c #877860", -"$. c #857a69", -"%. c #8b7e66", -"&. c #8f8064", -"*. c #8c8271", -"=. c #918165", -"-. c #94856a", -";. c #9b8c6f", -":. c #918672", -">. c #918978", -",. c #9b8d73", -"<. c #998e7a", -"1. c #9e9175", -"2. c #a19274", -"3. c #a4957a", -"4. c #a7997e", -"5. c #ab9b7c", -"6. c #838389", -"7. c #868886", -"8. c #898787", -"9. c #878992", -"0. c #848999", -"q. c #859097", -"w. c #8e9098", -"e. c #908a83", -"r. c #94918e", -"t. c #9a9181", -"y. c #99968d", -"u. c #969290", -"i. c #9a9691", -"p. c #9f9b93", -"a. c #9d9b9b", -"s. c #858da5", -"d. c #808db4", -"f. c #8190bd", -"g. c #8e98b1", -"h. c #9195a3", -"j. c #9c9ea6", -"k. c #a19682", -"l. c #a49981", -"z. c #a39c8d", -"x. c #a99c84", -"c. c #a39d93", -"v. c #aea083", -"b. c #ada189", -"n. c #a6a196", -"m. c #a7a299", -"M. c #aca495", -"N. c #aca79c", -"B. c #b3a484", -"V. c #b1a68b", -"C. c #b6aa8f", -"Z. c #b6ab94", -"A. c #b1aa9c", -"S. c #bbad91", -"D. c #bdb090", -"F. c #bbb099", -"G. c #a4a4aa", -"H. c #b6afa0", -"J. c #b6b0a5", -"K. c #bab3a5", -"L. c #bcb6a9", -"P. c #beb8aa", -"I. c #8796c1", -"U. c #8d9cca", -"Y. c #9da7c4", -"T. c #9fa8c4", -"R. c #9da9c9", -"E. c #97a6d1", -"W. c #98a9da", -"Q. c #a3adcb", -"!. c #adb3c3", -"~. c #abb6d3", -"^. c #b0b6c1", -"/. c #b1bcdb", -"(. c #a8b8e1", -"). c #b5c0de", -"_. c #b8c2d8", -"`. c #bac5e4", -"'. c #bbc7e8", -"]. c #c0af87", -"[. c #c4b38d", -"{. c #c3b493", -"}. c #c1b69b", -"|. c #c6b89d", -" X c #c9b994", -".X c #ccbd9a", -"XX c #c3b8a0", -"oX c #c2bbad", -"OX c #c4beb1", -"+X c #cec2a3", -"@X c #c6c0b2", -"#X c #c9c2b5", -"$X c #ccc6b9", -"%X c #d1c4a4", -"&X c #d2c5a8", -"*X c #d5c9ab", -"=X c #d8cbae", -"-X c #d5c9b0", -";X c #d9ceb2", -":X c #dbd0b5", -">X c #ddd3ba", -",X c #e0d6bd", -".mXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmX&.x _.nXnXbXvXvXvXbXbXnXnXnXnXbXzXqX'.(.W.U.X._ mXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmX&.m.) hXbXbXvXzXbXvXzXzXzXzXbXbXvXzXnXzXzXkXeX^.6.v.mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmX&.&.h o.lXzXvXzXzXzXzXzXzXuXzXzXvXzXzXzXzXzXtX!.y.v.5.mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXB.1.z R.yXlXkXkXkXlXzXjXuXkXyXzXkXzXkXzXzXeX^.i.5.].4.mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX2.*XF.1.G.4XuXuXuXjXuXlXuXrXyXyXuXuXuXuXuXeX!.y.2.[.[.2.mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX;.*X*X+X3.m._.qXrXyXuXuXuXyXyXyXuXrXrXyX8X!.r.2. X X[.;.mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX-.*X=X>X:XV.<.!.5XrXyXuXuXrXwXrXuXwX8X5X| - d D. X X[.-.mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX&.=X:X>X>X,XXX-.j.`.7XrX8X'.).'.8X6X'.T.8.p B t V. X[.=.mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX@.=X:X>X,XpXaX:X;.e.~.).T.h.8.r.j.Q.g.- k Z.A D w 5.[.l mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX+.*X:X>X,XaXaXdXdXb.$. .>.4.e z.b.-.1 < l.}.Q F Z l B.X mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXj =X:X>XiXsXaXdXdXgXoX-.F.cXR b 2X7.^ 7 y c B F F ; 1.H + mXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXf ;X:X>X,XiXsXdXdXdXn.Z.cXK.^ H y.W { * X % F F F & q ^ I mXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXf *X:X>X>XiXaXpXdXb.b.xXxXq.{ { , E { Y > ! S F F m ! { E mXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXa *X:X>X>X,XpXpXx.l.gXgXgX} { { { E { { U E C F F C { { E mXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX0 &X*X:X>X>X,Xl.3.fXfXdXp.r E { ! E { { { E V F F V { { + mXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX9 %X*X=X:X>X4.,.aXdXdXaXiXW ~ ^ @ I ^ { { { ^ n F N ^ { ! mXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX6 %X*X*X=X4.-.iXaXaXiXiX,Xv ! ^ C o J { { { { ^ # ! { ^ H mXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX5 %X%X&X3.&.>XiXiXiX,X,X>Xu U ^ M C ! ! ^ { { { ^ { { ^ mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX3 .X%X2.#.>X,X,X>X:X>X:X;XV.T { P S Y { { { { { { { { { mXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX2 .X2.k -X>X:X;X;X=X=X%XS.2.&.Y { I @ ^ ^ { { { { { ^ mXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX. ;.j &X:X=X|.v.,.&.&.%.mXmXmXmX$ U ^ ^ { ^ { ^ ^ I mXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmX3 i &.&.&.&.&.mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX", -"mXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmXmX" -}; diff --git a/mozilla/composer/app/mozilla.ico b/mozilla/composer/app/mozilla.ico deleted file mode 100644 index 06d1dd338e8..00000000000 Binary files a/mozilla/composer/app/mozilla.ico and /dev/null differ diff --git a/mozilla/composer/app/mozilla.in b/mozilla/composer/app/mozilla.in deleted file mode 100644 index 4771f7b13f6..00000000000 --- a/mozilla/composer/app/mozilla.in +++ /dev/null @@ -1,142 +0,0 @@ -#!/bin/sh -# -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is mozilla.org Code. -# -# The Initial Developer of the Original Code is -# Netscape Communications Corporation. -# Portions created by the Initial Developer are Copyright (C) 1998 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL or the LGPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** - -## $Id: mozilla.in,v 1.3 2005-09-20 21:11:35 dbaron%dbaron.org Exp $ -## -## Usage: -## -## $ mozilla [args] -## -## This script is meant to run the mozilla-bin binary from either -## mozilla/xpfe/bootstrap or mozilla/dist/bin. -## -## The script will setup all the environment voodoo needed to make -## the mozilla-bin binary to work. -## - -#uncomment for debugging -#set -x - -moz_libdir=%MOZAPPDIR% -MRE_HOME=%MREDIR% - -# honor MOZILLA_FIVE_HOME if it's there -if [ -n "$MOZILLA_FIVE_HOME" ] ; then - dist_bin="$MOZILLA_FIVE_HOME" -else - # Use run-mozilla.sh in the current dir if it exists - # If not, then start resolving symlinks until we find run-mozilla.sh - found=0 - progname=$0 - curdir=`dirname "$progname"` - run_moz="$curdir/run-mozilla.sh" - if test -x "$run_moz"; then - dist_bin=$curdir - found=1 - else - here=`/bin/pwd` - while [ -h "$progname" ]; do - bn=`basename "$progname"` - cd `dirname "$progname"` - progname=`/bin/ls -l "$bn" |sed -e 's/^.* -> //' ` - if [ ! -x "$progname" ]; then - break - fi - curdir=`dirname "$progname"` - run_moz="$curdir/run-mozilla.sh" - if [ -x "$run_moz" ]; then - cd "$curdir" - dist_bin=`pwd` - found=1 - break - fi - done - cd "$here" - fi - if [ $found = 0 ]; then - # Check default compile-time libdir - if [ -x "$moz_libdir/run-mozilla.sh" ]; then - dist_bin=$moz_libdir - else - echo "Cannot find mozilla runtime directory. Exiting." - exit 1 - fi - fi -fi - -script_args="" -debugging=0 -MOZILLA_BIN="mozilla-bin" - -if [ "$OSTYPE" = "beos" ]; then - mimeset -F $MOZILLA_BIN -fi - -pass_arg_count=0 -while [ $# -gt $pass_arg_count ] -do - case "$1" in - -p | -pure) - MOZILLA_BIN="mozilla-bin.pure" - shift - ;; - -g | --debug) - script_args="$script_args -g" - debugging=1 - shift - ;; - -d | --debugger) - script_args="$script_args -d $2" - shift 2 - ;; - *) - # Move the unrecognized argument to the end of the list. - arg="$1" - shift - set -- "$@" "$arg" - pass_arg_count=`expr $pass_arg_count + 1` - ;; - esac -done - -export MRE_HOME -if [ $debugging = 1 ] -then - echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@" -fi -exec "$dist_bin/run-mozilla.sh" $script_args "$dist_bin/$MOZILLA_BIN" "$@" diff --git a/mozilla/composer/app/nsComposerApp.cpp b/mozilla/composer/app/nsComposerApp.cpp deleted file mode 100644 index ff86bee73c0..00000000000 --- a/mozilla/composer/app/nsComposerApp.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 2002 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Brian Ryner - * Daniel Glazman , on behalf of Lindows.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -#include "nsXULAppAPI.h" -#include "nsISoftwareUpdate.h" -#ifdef XP_WIN -#include -#endif - -int main(int argc, char* argv[]) -{ - nsXREAppData appData; - appData.SetSplashEnabled(PR_FALSE); - appData.SetProductName(NS_LITERAL_CSTRING("Composer")); - appData.SetUseStartupPrefs(PR_TRUE); - return xre_main(argc, argv, appData); -} - -#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_GTK2) -char* splash_xpm[] = {0}; -#endif - -#if defined XP_WIN && !defined __GNUC__ -// We need WinMain in order to not be a console app. This function is -// unused if we are a console application. -// -// However, if using MingW on Win32, we can't use this as GCC complains -// about the use of main. -int WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR args, int ) -{ - // Do the real work. - return main( __argc, __argv ); -} -#endif diff --git a/mozilla/composer/app/profile/Makefile.in b/mozilla/composer/app/profile/Makefile.in deleted file mode 100644 index 5adf35eada1..00000000000 --- a/mozilla/composer/app/profile/Makefile.in +++ /dev/null @@ -1,58 +0,0 @@ -# -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is mozilla.org code. -# -# The Initial Developer of the Original Code is -# Netscape Communications Corporation. -# Portions created by the Initial Developer are Copyright (C) 2002 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL or the LGPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** - -DEPTH = ../../.. -topsrcdir = @top_srcdir@ -srcdir = @srcdir@ -VPATH = @srcdir@ - -include $(DEPTH)/config/autoconf.mk - - -include $(topsrcdir)/config/rules.mk - -FILES := editor.js all.js $(NULL) - -libs:: $(FILES) - $(INSTALL) $^ $(DIST)/bin/defaults/profile - $(INSTALL) $^ $(DIST)/bin/defaults/profile/US - -install:: $(FILES) - $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile - $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile/US - - diff --git a/mozilla/composer/app/profile/all.js b/mozilla/composer/app/profile/all.js deleted file mode 100644 index e96ca40b987..00000000000 --- a/mozilla/composer/app/profile/all.js +++ /dev/null @@ -1,83 +0,0 @@ -/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -pref("general.skins.selectedSkin", "modern/1.0"); -pref("general.useragent.extra.composer", "Mozilla (standalone) Composer/0.0.1"); - -pref("general.startup.browser", false); -pref("general.startup.editor", true); - -pref("browser.cache.disk.capacity", 50000); -pref("browser.cache.memory.capacity", 4096); - -// css2 hover pref -pref("nglayout.events.showHierarchicalHover", false); - -// Default bookmark sorting -pref("browser.bookmarks.sort.direction", "descending"); -pref("browser.bookmarks.sort.resource", "rdf:http://home.netscape.com/NC-rdf#Name"); - -// Default Capability Preferences: Security-Critical! -// Editing these may create a security risk - be sure you know what you're doing -//pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite"); - -pref("capability.policy.policynames", ""); -pref("dom.disable_open_during_load", false); -pref("javascript.enabled", false); -pref("offline.news.download.use_days", 0); - -// Enable http compression: comment this out in case of problems with 1.1 -pref("network.http.accept-encoding" ,"gzip,deflate,compress;q=0.9"); - -pref("network.enableIDN", false); // Turn on/off IDN (Internationalized Domain Name) resolution -pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties"); - -// ------------------ -// Numeral Style -// ------------------ -// 1 = regularcontextnumeralBidi * -// 2 = hindicontextnumeralBidi -// 3 = arabicnumeralBidi -// 4 = hindinumeralBidi -pref("bidi.numeral", 1); - -// 0 opens the download manager -// 1 opens a progress dialog -// 2 and other values, no download manager, no progress dialog. -pref("browser.downloadmanager.behavior", 1); - -pref("privacy.popups.sound_enabled", true); diff --git a/mozilla/composer/app/profile/editor.js b/mozilla/composer/app/profile/editor.js deleted file mode 100644 index 61b1683250c..00000000000 --- a/mozilla/composer/app/profile/editor.js +++ /dev/null @@ -1,122 +0,0 @@ -/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998-2000 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -pref("editor.author", ""); - -pref("editor.text_color", "#000000"); -pref("editor.link_color", "#0000FF"); -pref("editor.active_link_color", "#000088"); -pref("editor.followed_link_color", "#FF0000"); -pref("editor.background_color", "#FFFFFF"); -pref("editor.use_background_image", false); -pref("editor.default_background_image", ""); -pref("editor.use_custom_default_colors", 1); - -pref("editor.hrule.height", 2); -pref("editor.hrule.width", 100); -pref("editor.hrule.width_percent", true); -pref("editor.hrule.shading", true); -pref("editor.hrule.align", 1); // center - -pref("editor.table.maintain_structure", true); - -pref("editor.prettyprint", true); - -pref("editor.throbber.url","chrome://editor-region/locale/region.properties"); - -pref("editor.toolbars.showbutton.new", true); -pref("editor.toolbars.showbutton.open", true); -pref("editor.toolbars.showbutton.save", true); -pref("editor.toolbars.showbutton.publish", true); -pref("editor.toolbars.showbutton.preview", true); -pref("editor.toolbars.showbutton.cut", false); -pref("editor.toolbars.showbutton.copy", false); -pref("editor.toolbars.showbutton.paste", false); -pref("editor.toolbars.showbutton.print", true); -pref("editor.toolbars.showbutton.find", false); -pref("editor.toolbars.showbutton.image", true); -pref("editor.toolbars.showbutton.hline", false); -pref("editor.toolbars.showbutton.table", true); -pref("editor.toolbars.showbutton.link", true); -pref("editor.toolbars.showbutton.namedAnchor", false); -pref("editor.toolbars.showbutton.form", true); - -pref("editor.toolbars.showbutton.bold", true); -pref("editor.toolbars.showbutton.italic", true); -pref("editor.toolbars.showbutton.underline", true); -pref("editor.toolbars.showbutton.DecreaseFontSize", true); -pref("editor.toolbars.showbutton.IncreaseFontSize", true); -pref("editor.toolbars.showbutton.ul", true); -pref("editor.toolbars.showbutton.ol", true); -pref("editor.toolbars.showbutton.outdent", true); -pref("editor.toolbars.showbutton.indent", true); - -pref("editor.auto_save", false); -pref("editor.auto_save_delay", 10); // minutes -pref("editor.use_html_editor", 0); -pref("editor.html_editor", ""); -pref("editor.use_image_editor", 0); -pref("editor.image_editor", ""); - -pref("editor.history.url_maximum", 10); - -pref("editor.publish.", ""); -pref("editor.lastFileLocation.image", ""); -pref("editor.lastFileLocation.html", ""); -pref("editor.save_associated_files", true); -pref("editor.always_show_publish_dialog", false); - -/* - * What are the entities that you want Mozilla to save using mnemonic - * names rather than numeric codes? E.g. If set, we'll output   - * otherwise, we may output 0xa0 depending on the charset. - * - * "none" : don't use any entity names; only use numeric codes. - * "basic" : use entity names just for   & < > " for - * interoperability/exchange with products that don't support more - * than that. - * "latin1" : use entity names for 8bit accented letters and other special - * symbols between 128 and 255. - * "html" : use entity names for 8bit accented letters, greek letters, and - * other special markup symbols as defined in HTML4. - */ -//pref("editor.encode_entity", "html"); - -pref("editor.grid.snap", false); -pref("editor.grid.size", 0); -pref("editor.resizing.preserve_ratio", true); -pref("editor.positioning.offset", 0); diff --git a/mozilla/composer/app/splash.rc b/mozilla/composer/app/splash.rc deleted file mode 100644 index f390ba41c72..00000000000 --- a/mozilla/composer/app/splash.rc +++ /dev/null @@ -1,76 +0,0 @@ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Mozilla Communicator client code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Bill Law law@netscape.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ -#include -#include "nsINativeAppSupportWin.h" - -1 24 "composer.exe.manifest" - -// Splash screen dialog ID. -#define IDD_SPLASH 100 - -// Splash screen bitmap ID. -#define IDB_SPLASH 101 - -// Program icon. -IDI_APPLICATION ICON - "mozilla.ico" - -// Splash screen dialog. -IDD_SPLASH DIALOGEX - DISCARDABLE - 0,0,0,0 - STYLE DS_SETFOREGROUND | DS_CENTER | WS_POPUP - EXSTYLE WS_EX_TOOLWINDOW - FONT 8, "MS Sans Serif" - BEGIN - CONTROL - IDB_SPLASH, - IDB_SPLASH, - "Static", - SS_BITMAP, - 0,0,0,0 - END - -// Splash screen bitmap. -//IDB_SPLASH BITMAP -// "splash.bmp" - -STRINGTABLE DISCARDABLE -BEGIN - IDS_STARTMENU_APPNAME, "Composer" -END diff --git a/mozilla/composer/base/content/EditorContent.css b/mozilla/composer/base/content/EditorContent.css deleted file mode 100644 index 9d1362b9326..00000000000 --- a/mozilla/composer/base/content/EditorContent.css +++ /dev/null @@ -1,213 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Mozilla Communicator client code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998-1999 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Daniel Glazman - * Daniel Glazman , on behalf of Lindows.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -/* Styles to alter look of things in the Editor content window - * for the "Normal Edit Mode" These settings will be removed - * when we display in completely WYSIWYG "Edit Preview" mode - * Anything that should never change, like cursors, should be - * place in EditorOverride.css, instead of here. -*/ - -a[name] { - min-height: 17px; margin-left: 2px; margin-top: 2px; - padding-left: 20px; - background-image: url(chrome://editor/content/images/tag-anchor.gif); - background-repeat: no-repeat; - background-position: top left; -} - -/* Force border display for empty cells - and tables with 0 border -*/ -table { - empty-cells: show; -} - -/* give a red dotted border to tables and cells with no border - otherwise they are invisible -*/ -table[empty-cells], - table[border="0"], - /* next two selectors on line below for the case where tbody is omitted */ - table[border="0"] > tr > td, table[border="0"] > tr > th, - table[border="0"] > thead > tr > td, table[border="0"] > tbody > tr > td, table[border="0"] > tfoot > tr > td, - table[border="0"] > thead > tr > th, table[border="0"] > tbody > tr > th, table[border="0"] > tfoot > tr > th, - table:not([border]), - /* next two selectors on line below for the case where tbody is omitted */ - table:not([border]) > tr > td, table:not([border]) > tr > th, - table:not([border]) > thead > tr > td, table:not([border]) > tbody > tr > td, table:not([border]) > tfoot > tr > td, - table:not([border]) > thead > tr > th, table:not([border]) > tbody > tr > th, table:not([border]) > tfoot > tr > th -{ - border: 1px dotted red; -} - -/* give a green dashed border to forms otherwise they are invisible -*/ -form -{ - border: 1px dashed #66cccc; -} - -/* give a green dotted border to labels otherwise they are invisible -*/ -label -{ - border: 1px dotted green; -} - -/* smileys */ -span.moz-smiley-s1, -span.moz-smiley-s2, -span.moz-smiley-s3, -span.moz-smiley-s4, -span.moz-smiley-s5, -span.moz-smiley-s6, -span.moz-smiley-s7, -span.moz-smiley-s8, -span.moz-smiley-s9, -span.moz-smiley-s10, -span.moz-smiley-s11, -span.moz-smiley-s12, -span.moz-smiley-s13, -span.moz-smiley-s14, -span.moz-smiley-s15, -span.moz-smiley-s16 - -{ - min-height: 17px; margin-left: 2px; margin-top: 2px; - padding-left: 20px; - background-repeat: no-repeat; - background-position: center center; - -moz-user-select: all; - -} - -span.moz-smiley-s1 > span, -span.moz-smiley-s2 > span, -span.moz-smiley-s3 > span, -span.moz-smiley-s4 > span, -span.moz-smiley-s5 > span, -span.moz-smiley-s6 > span, -span.moz-smiley-s7 > span, -span.moz-smiley-s8 > span, -span.moz-smiley-s9 > span, -span.moz-smiley-s10 > span, -span.moz-smiley-s11 > span, -span.moz-smiley-s12 > span, -span.moz-smiley-s13 > span, -span.moz-smiley-s14 > span, -span.moz-smiley-s15 > span, -span.moz-smiley-s16 > span - -{ - display: none; -} - - - -span.moz-smiley-s1 { - background-image: url(chrome://editor/content/images/smile_n.gif); -} - - -span.moz-smiley-s2 { - background-image: url(chrome://editor/content/images/frown_n.gif); -} - - -span.moz-smiley-s3 { - background-image: url(chrome://editor/content/images/wink_n.gif); -} - - -span.moz-smiley-s4 { - background-image: url(chrome://editor/content/images/tongue_n.gif); -} - -span.moz-smiley-s5 { - background-image: url(chrome://editor/content/images/laughing_n.gif); -} - -span.moz-smiley-s6 { - background-image: url(chrome://editor/content/images/embarrassed_n.gif); -} - -span.moz-smiley-s7 { - background-image: url(chrome://editor/content/images/undecided_n.gif); -} - -span.moz-smiley-s8 { - background-image: url(chrome://editor/content/images/surprise_n.gif); -} - -span.moz-smiley-s9 { - background-image: url(chrome://editor/content/images/kiss_n.gif); -} - -span.moz-smiley-s10 { - background-image: url(chrome://editor/content/images/yell_n.gif); -} - -span.moz-smiley-s11 { - background-image: url(chrome://editor/content/images/cool_n.gif); -} - -span.moz-smiley-s12 { - background-image: url(chrome://editor/content/images/money_n.gif); -} - -span.moz-smiley-s13 { - background-image: url(chrome://editor/content/images/foot_n.gif); -} - -span.moz-smiley-s14 { - background-image: url(chrome://editor/content/images/innocent_n.gif); -} - -span.moz-smiley-s15 { - background-image: url(chrome://editor/content/images/cry_n.gif); -} - -span.moz-smiley-s16 { - background-image: url(chrome://editor/content/images/sealed_n.gif); -} - - -img { - -moz-force-broken-image-icon: 1; -} diff --git a/mozilla/composer/base/content/about-composer.png b/mozilla/composer/base/content/about-composer.png deleted file mode 100644 index e3584838624..00000000000 Binary files a/mozilla/composer/base/content/about-composer.png and /dev/null differ diff --git a/mozilla/composer/base/content/aboutDialog.xul b/mozilla/composer/base/content/aboutDialog.xul deleted file mode 100644 index a8d6bbae4fd..00000000000 --- a/mozilla/composer/base/content/aboutDialog.xul +++ /dev/null @@ -1,106 +0,0 @@ - - -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is Mozilla Thunderbird about dialog. -# -# The Initial Developer of the Original Code is -# Blake Ross (blaker@netscape.com). -# Portions created by the Initial Developer are Copyright (C) 2002 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the LGPL or the GPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** --> - - - - - -%brandDTD; - -%aboutDialogDTD; -]> - - - - - - - - - - - - - - - - - - - ©right; - - - - - - - - &brandShortName; - - diff --git a/mozilla/composer/base/content/calendarSmartWidgetOverlay.js b/mozilla/composer/base/content/calendarSmartWidgetOverlay.js deleted file mode 100644 index bd37eb852ab..00000000000 --- a/mozilla/composer/base/content/calendarSmartWidgetOverlay.js +++ /dev/null @@ -1,151 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Mozilla.org. - * - * The Initial Developer of the Original Code is Daniel Glazman. - * Portions created by the Initial Developer are Copyright (C) 2003 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -// this function contains all the script to be copied into the document -function innerCalendarCode() -{ - function montharr(m0, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11) - { - this[0] = m0; - this[1] = m1; - this[2] = m2; - this[3] = m3; - this[4] = m4; - this[5] = m5; - this[6] = m6; - this[7] = m7; - this[8] = m8; - this[9] = m9; - this[10] = m10; - this[11] = m11; - } - - function calendar() - { - var monthNames = "JanFebMarAprMayJunJulAugSepOctNovDec"; - var today = new Date(); - var thisDay; - var monthDays = new montharr(31, 28, 31, 30, 31, 30, 31, 31, 30, - 31, 30, 31); - - year = today.getYear(); - if (year <= 200) - year += 1900; - thisDay = today.getDate(); - - - if (((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0)) - monthDays[1] = 29; - - - nDays = monthDays[today.getMonth()]; - - - firstDay = today; - firstDay.setDate(1); // works fine for most systems - testMe = firstDay.getDate(); - if (testMe == 2) - firstDay.setDate(0); - - startDay = firstDay.getDay(); - - document.writeln("
"); - document.write(""); - document.write(""); - column = 0; - for (i=0; i"); - column++; - } - - for (i=1; i<=nDays; i++) - { - document.write(""); - column = 0; - } - } - document.write("
"); - document.write(monthNames.substring(today.getMonth() * 3, - (today.getMonth() + 1) * 3)); - document.write(". "); - document.write(year); - - document.write("
SunMonTueWedThuFriSat"); - - - document.write("
"); - if (i == thisDay) - document.write("") - document.write(i); - if (i == thisDay) - document.write("") - column++; - if (column == 7) - { - document.write("
"); - document.writeln("
"); - } - - calendar(); -} - - -function addCalendarSmartWidget() -{ - var bodyElt = GetBodyElement(); - var doc = GetCurrentEditor().document; - - var enclosingDiv = doc.createElement("div"); - - var innerScript = doc.createElement("script"); - var innerScriptCdata = doc.createTextNode(innerCalendarCode.toString() + - "\n\n innerCalendarCode();"); - innerScript.appendChild(innerScriptCdata); - - var noScript = doc.createElement("noscript"); - var innerNoScriptImage = doc.createElement("img"); - innerNoScriptImage.setAttribute("src", "chrome://editor/content/images/calendarSW.gif"); - noScript.appendChild(innerNoScriptImage); - - enclosingDiv.appendChild(noScript); - enclosingDiv.appendChild(innerScript); - - bodyElt.appendChild(enclosingDiv); - enclosingDiv.setAttribute("style", - "position: absolute;" + - "top: " + (window.scrollX + 50) + "px;" + - "left: " + (window.scrollY + 50) + "px;"); -} diff --git a/mozilla/composer/base/content/customizeToolbar.js b/mozilla/composer/base/content/customizeToolbar.js deleted file mode 100644 index 12cf69a9328..00000000000 --- a/mozilla/composer/base/content/customizeToolbar.js +++ /dev/null @@ -1,937 +0,0 @@ -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is Mozilla.org -# -# The Initial Developer of the Original Code is -# David Hyatt. -# Portions created by the Initial Developer are Copyright (C) 2002 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# David Hyatt (hyatt@apple.com) -# Blake Ross (blaker@netscape.com) -# Joe Hewitt (hewitt@netscape.com) -# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL or the LGPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** - -const kRowMax = 4; -const kWindowWidth = 600; -const kWindowHeight = 400; -const kAnimateIncrement = 50; -const kAnimateSteps = kWindowHeight / kAnimateIncrement - 1; - -var gToolboxDocument = null; -var gToolbox = null; -var gCurrentDragOverItem = null; -var gToolboxChanged = false; - -function onLoad() -{ - gToolbox = window.arguments[0]; - gToolboxDocument = gToolbox.ownerDocument; - - gToolbox.addEventListener("draggesture", onToolbarDragGesture, false); - gToolbox.addEventListener("dragover", onToolbarDragOver, false); - gToolbox.addEventListener("dragexit", onToolbarDragExit, false); - gToolbox.addEventListener("dragdrop", onToolbarDragDrop, false); - - document.documentElement.setAttribute("hidechrome", "true"); - - repositionDialog(); - window.outerWidth = kWindowWidth; - window.outerHeight = 50; - slideOpen(0); -} - -function onUnload(aEvent) -{ - removeToolboxListeners(); - unwrapToolbarItems(); - persistCurrentSets(); - - notifyParentComplete(); -} - -function onAccept(aEvent) -{ - document.getElementById("main-box").collapsed = true; - slideClosed(0); -} - -function initDialog() -{ - document.getElementById("main-box").collapsed = false; - - var mode = gToolbox.getAttribute("mode"); - document.getElementById("modelist").value = mode; - var iconSize = gToolbox.getAttribute("iconsize"); - var smallIconsCheckbox = document.getElementById("smallicons"); - if (smallIconsCheckbox) - { - if ( mode == "text") - smallIconsCheckbox.disabled = true; - else - smallIconsCheckbox.checked = iconSize == "small"; - } - - // Build up the palette of other items. - buildPalette(); - - // Wrap all the items on the toolbar in toolbarpaletteitems. - wrapToolbarItems(); -} - -function slideOpen(aStep) -{ - if (aStep < kAnimateSteps) { - window.outerHeight += kAnimateIncrement; - setTimeout(slideOpen, 20, ++aStep); - } else { - initDialog(); - } -} - -function slideClosed(aStep) -{ - if (aStep < kAnimateSteps) { - window.outerHeight -= kAnimateIncrement; - setTimeout(slideClosed, 10, ++aStep); - } else { - window.close(); - } -} - -function repositionDialog() -{ - // Position the dialog touching the bottom of the toolbox and centered with it - var screenX = gToolbox.boxObject.screenX + ((gToolbox.boxObject.width - kWindowWidth) / 2); - var screenY = gToolbox.boxObject.screenY + gToolbox.boxObject.height; - window.moveTo(screenX, screenY); -} - -function removeToolboxListeners() -{ - gToolbox.removeEventListener("draggesture", onToolbarDragGesture, false); - gToolbox.removeEventListener("dragover", onToolbarDragOver, false); - gToolbox.removeEventListener("dragexit", onToolbarDragExit, false); - gToolbox.removeEventListener("dragdrop", onToolbarDragDrop, false); -} - -/** - * Invoke a callback on the toolbox to notify it that the dialog is done - * and going away. - */ -function notifyParentComplete() -{ - if ("customizeDone" in gToolbox) - gToolbox.customizeDone(gToolboxChanged); -} - -function getToolbarAt(i) -{ - return gToolbox.childNodes[i]; -} - -/** - * Persist the current set of buttons in all customizable toolbars to - * localstore. - */ -function persistCurrentSets() -{ - if (!gToolboxChanged) - return; - - var customCount = 0; - for (var i = 0; i < gToolbox.childNodes.length; ++i) { - // Look for customizable toolbars that need to be persisted. - var toolbar = getToolbarAt(i); - if (isCustomizableToolbar(toolbar)) { - // Calculate currentset and store it in the attribute. - var currentSet = toolbar.currentSet; - toolbar.setAttribute("currentset", currentSet); - - var customIndex = toolbar.hasAttribute("customindex"); - if (customIndex) { - if (!toolbar.firstChild) { - // Remove custom toolbars whose contents have been removed. - gToolbox.removeChild(toolbar); - --i; - } else { - // Persist custom toolbar info on the - gToolbox.toolbarset.setAttribute("toolbar"+(++customCount), - toolbar.toolbarName + ":" + currentSet); - gToolboxDocument.persist(gToolbox.toolbarset.id, "toolbar"+customCount); - } - } - - if (!customIndex) { - // Persist the currentset attribute directly on hardcoded toolbars. - gToolboxDocument.persist(toolbar.id, "currentset"); - } - } - } - - // Remove toolbarX attributes for removed toolbars. - while (gToolbox.toolbarset.hasAttribute("toolbar"+(++customCount))) { - gToolbox.toolbarset.removeAttribute("toolbar"+customCount); - gToolboxDocument.persist(gToolbox.toolbarset.id, "toolbar"+customCount); - } -} - -/** - * Wraps all items in all customizable toolbars in a toolbox. - */ -function wrapToolbarItems() -{ - for (var i = 0; i < gToolbox.childNodes.length; ++i) { - var toolbar = getToolbarAt(i); - if (isCustomizableToolbar(toolbar)) { - for (var k = 0; k < toolbar.childNodes.length; ++k) { - var item = toolbar.childNodes[k]; - if (isToolbarItem(item)) { - var nextSibling = item.nextSibling; - - var wrapper = wrapToolbarItem(item); - if (nextSibling) - toolbar.insertBefore(wrapper, nextSibling); - else - toolbar.appendChild(wrapper); - } - } - } - } -} - -/** - * Unwraps all items in all customizable toolbars in a toolbox. - */ - function unwrapToolbarItems() -{ - for (var i = 0; i < gToolbox.childNodes.length; ++i) { - var toolbar = getToolbarAt(i); - if (isCustomizableToolbar(toolbar)) { - for (var k = 0; k < toolbar.childNodes.length; ++k) { - var paletteItem = toolbar.childNodes[k]; - var toolbarItem = paletteItem.firstChild; - - if (isToolbarItem(toolbarItem)) { - var nextSibling = paletteItem.nextSibling; - - if (paletteItem.hasAttribute("itemcommand")) - toolbarItem.setAttribute("command", paletteItem.getAttribute("itemcommand")); - if (paletteItem.hasAttribute("itemobserves")) - toolbarItem.setAttribute("observes", paletteItem.getAttribute("itemobserves")); - - paletteItem.removeChild(toolbarItem); - paletteItem.parentNode.removeChild(paletteItem); - - if (nextSibling) - toolbar.insertBefore(toolbarItem, nextSibling); - else - toolbar.appendChild(toolbarItem); - } - } - } - } -} - - -/** - * Creates a wrapper that can be used to contain a toolbaritem and prevent - * it from receiving UI events. - */ -function createWrapper(aId) -{ - var wrapper = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "toolbarpaletteitem"); - - wrapper.id = "wrapper-"+aId; - return wrapper; -} - -/** - * Wraps an item that has been cloned from a template and adds - * it to the end of a row in the palette. - */ -function wrapPaletteItem(aPaletteItem, aCurrentRow, aSpacer) -{ - var wrapper = createWrapper(aPaletteItem.id); - - wrapper.setAttribute("flex", 1); - wrapper.setAttribute("align", "center"); - wrapper.setAttribute("pack", "center"); - wrapper.setAttribute("minheight", "0"); - wrapper.setAttribute("minwidth", "0"); - - wrapper.appendChild(aPaletteItem); - - // XXX We need to call this AFTER the palette item has been appended - // to the wrapper or else we crash dropping certain buttons on the - // palette due to removal of the command and disabled attributes - JRH - cleanUpItemForPalette(aPaletteItem, wrapper); - - if (aSpacer) - aCurrentRow.insertBefore(wrapper, aSpacer); - else - aCurrentRow.appendChild(wrapper); - -} - -/** - * Wraps an item that is currently on a toolbar and replaces the item - * with the wrapper. This is not used when dropping items from the palette, - * only when first starting the dialog and wrapping everything on the toolbars. - */ -function wrapToolbarItem(aToolbarItem) -{ - var wrapper = createWrapper(aToolbarItem.id); - - cleanupItemForToolbar(aToolbarItem, wrapper); - wrapper.flex = aToolbarItem.flex; - - if (aToolbarItem.parentNode) - aToolbarItem.parentNode.removeChild(aToolbarItem); - - wrapper.appendChild(aToolbarItem); - - return wrapper; -} - -/** - * Get the list of ids for the current set of items on each toolbar. - */ -function getCurrentItemIds() -{ - var currentItems = {}; - for (var i = 0; i < gToolbox.childNodes.length; ++i) { - var toolbar = getToolbarAt(i); - if (isCustomizableToolbar(toolbar)) { - var child = toolbar.firstChild; - while (child) { - if (isToolbarItem(child)) - currentItems[child.id] = 1; - child = child.nextSibling; - } - } - } - return currentItems; -} - -/** - * Builds the palette of draggable items that are not yet in a toolbar. - */ -function buildPalette() -{ - // Empty the palette first. - var paletteBox = document.getElementById("palette-box"); - while (paletteBox.lastChild) - paletteBox.removeChild(paletteBox.lastChild); - - var currentRow = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "hbox"); - currentRow.setAttribute("class", "paletteRow"); - - // Add the toolbar separator item. - var templateNode = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "toolbarseparator"); - templateNode.id = "separator"; - wrapPaletteItem(templateNode, currentRow, null); - - // Add the toolbar spring item. - templateNode = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "toolbarspring"); - templateNode.id = "spring"; - templateNode.flex = 1; - wrapPaletteItem(templateNode, currentRow, null); - - // Add the toolbar spacer item. - templateNode = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "toolbarspacer"); - templateNode.id = "spacer"; - templateNode.flex = 1; - wrapPaletteItem(templateNode, currentRow, null); - - var rowSlot = 3; - - var currentItems = getCurrentItemIds(); - templateNode = gToolbox.palette.firstChild; - while (templateNode) { - // Check if the item is already in a toolbar before adding it to the palette. - if (!(templateNode.id in currentItems)) { - var paletteItem = templateNode.cloneNode(true); - - if (rowSlot == kRowMax) { - // Append the old row. - paletteBox.appendChild(currentRow); - - // Make a new row. - currentRow = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "hbox"); - currentRow.setAttribute("class", "paletteRow"); - rowSlot = 0; - } - - ++rowSlot; - wrapPaletteItem(paletteItem, currentRow, null); - } - - templateNode = templateNode.nextSibling; - } - - if (currentRow) { - fillRowWithFlex(currentRow); - paletteBox.appendChild(currentRow); - } -} - -/** - * Creates a new palette item for a cloned template node and - * adds it to the last slot in the palette. - */ -function appendPaletteItem(aItem) -{ - var paletteBox = document.getElementById("palette-box"); - var lastRow = paletteBox.lastChild; - var lastSpacer = lastRow.lastChild; - - if (lastSpacer.localName != "spacer") { - // The current row is full, so we have to create a new row. - lastRow = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "hbox"); - lastRow.setAttribute("class", "paletteRow"); - paletteBox.appendChild(lastRow); - - wrapPaletteItem(aItem, lastRow, null); - - fillRowWithFlex(lastRow); - } else { - // Decrement the flex of the last spacer or remove it entirely. - var flex = lastSpacer.getAttribute("flex"); - if (flex == 1) { - lastRow.removeChild(lastSpacer); - lastSpacer = null; - } else - lastSpacer.setAttribute("flex", --flex); - - // Insert the wrapper where the last spacer was. - wrapPaletteItem(aItem, lastRow, lastSpacer); - } -} - -function fillRowWithFlex(aRow) -{ - var remainingFlex = kRowMax - aRow.childNodes.length; - if (remainingFlex > 0) { - var spacer = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "spacer"); - spacer.setAttribute("flex", remainingFlex); - aRow.appendChild(spacer); - } -} - -/** - * Makes sure that an item that has been cloned from a template - * is stripped of all properties that may adversely affect it's - * appearance in the palette. - */ -function cleanUpItemForPalette(aItem, aWrapper) -{ - aWrapper.setAttribute("place", "palette"); - setWrapperType(aItem, aWrapper); - - if (aItem.hasAttribute("title")) - aWrapper.setAttribute("title", aItem.getAttribute("title")); - else if (isSpecialItem(aItem)) { - var stringBundle = document.getElementById("stringBundle"); - var title = stringBundle.getString(aItem.id + "Title"); - aWrapper.setAttribute("title", title); - } - - // Remove attributes that screw up our appearance. - aItem.removeAttribute("command"); - aItem.removeAttribute("observes"); - aItem.removeAttribute("disabled"); - aItem.removeAttribute("type"); - - if (aItem.localName == "toolbaritem" && aItem.firstChild) { - aItem.firstChild.removeAttribute("observes"); - - // So the throbber doesn't throb in the dialog, - // cute as that may be... - aItem.firstChild.removeAttribute("busy"); - } -} - -/** - * Makes sure that an item that has been cloned from a template - * is stripped of all properties that may adversely affect it's - * appearance in the toolbar. Store critical properties on the - * wrapper so they can be put back on the item when we're done. - */ -function cleanupItemForToolbar(aItem, aWrapper) -{ - setWrapperType(aItem, aWrapper); - aWrapper.setAttribute("place", "toolbar"); - - if (aItem.hasAttribute("command")) { - aWrapper.setAttribute("itemcommand", aItem.getAttribute("command")); - aItem.removeAttribute("command"); - } - - if (aItem.hasAttribute("observes")) - { - aWrapper.setAttribute("itemobserves", aItem.getAttribute("observes")); - aItem.removeAttribute("observes"); - } - - if (aItem.disabled) { - aWrapper.setAttribute("itemdisabled", "true"); - aItem.disabled = false; - } -} - -function setWrapperType(aItem, aWrapper) -{ - if (aItem.localName == "toolbarseparator") { - aWrapper.setAttribute("type", "separator"); - } else if (aItem.localName == "toolbarspring") { - aWrapper.setAttribute("type", "spring"); - } else if (aItem.localName == "toolbarspacer") { - aWrapper.setAttribute("type", "spacer"); - } else if (aItem.localName == "toolbaritem" && aItem.firstChild) { - aWrapper.setAttribute("type", aItem.firstChild.localName); - } -} - -function setDragActive(aItem, aValue) -{ - var node = aItem; - var value = "left"; - if (aItem.localName == "toolbar") { - node = aItem.lastChild; - value = "right"; - } - - if (!node) - return; - - if (aValue) { - if (!node.hasAttribute("dragover")) - node.setAttribute("dragover", value); - } else { - node.removeAttribute("dragover"); - } -} - - -/** - * Restore the default set of buttons to fixed toolbars, - * remove all custom toolbars, and rebuild the palette. - */ -function restoreDefaultSet() -{ - // Restore the defaultset for fixed toolbars. - var toolbar = gToolbox.firstChild; - while (toolbar) { - if (isCustomizableToolbar(toolbar)) { - if (!toolbar.hasAttribute("customindex")) { - var defaultSet = toolbar.getAttribute("defaultset"); - if (defaultSet) - { - toolbar.currentSet = defaultSet; - } - } - } - toolbar = toolbar.nextSibling; - } - - // Remove all of the customized toolbars. - var child = gToolbox.lastChild; - while (child) { - if (child.hasAttribute("customindex")) { - var thisChild = child; - child = child.previousSibling; - gToolbox.removeChild(thisChild); - } else { - child = child.previousSibling; - } - } - - // Now rebuild the palette. - buildPalette(); - - // Now re-wrap the items on the toolbar. - wrapToolbarItems(); - - repositionDialog(); - gToolboxChanged = true; -} - -function updateIconSize(aUseSmallIcons) -{ - var val = aUseSmallIcons ? "small" : null; - - setAttribute(gToolbox, "iconsize", val); - gToolboxDocument.persist(gToolbox.id, "iconsize"); - - for (var i = 0; i < gToolbox.childNodes.length; ++i) { - var toolbar = getToolbarAt(i); - if (isCustomizableToolbar(toolbar)) { - setAttribute(toolbar, "iconsize", val); - gToolboxDocument.persist(toolbar.id, "iconsize"); - } - } - - repositionDialog(); -} - -function updateToolbarMode(aModeValue) -{ - setAttribute(gToolbox, "mode", aModeValue); - gToolboxDocument.persist(gToolbox.id, "mode"); - - for (var i = 0; i < gToolbox.childNodes.length; ++i) { - var toolbar = getToolbarAt(i); - if (isCustomizableToolbar(toolbar)) { - setAttribute(toolbar, "mode", aModeValue); - gToolboxDocument.persist(toolbar.id, "mode"); - } - } - - var iconSizeCheckbox = document.getElementById("smallicons"); - if (iconSizeCheckbox) - { - if (aModeValue == "text") { - iconSizeCheckbox.disabled = true; - iconSizeCheckbox.checked = false; - updateIconSize(false); - } - else { - iconSizeCheckbox.disabled = false; - } - } - - repositionDialog(); -} - - -function setAttribute(aElt, aAttr, aVal) -{ - if (aVal) - aElt.setAttribute(aAttr, aVal); - else - aElt.removeAttribute(aAttr); -} - -function isCustomizableToolbar(aElt) -{ - return aElt.localName == "toolbar" && - aElt.getAttribute("customizable") == "true"; -} - -function isSpecialItem(aElt) -{ - return aElt.localName == "toolbarseparator" || - aElt.localName == "toolbarspring" || - aElt.localName == "toolbarspacer"; -} - -function isToolbarItem(aElt) -{ - return aElt.localName == "toolbarbutton" || - aElt.localName == "toolbaritem" || - aElt.localName == "toolbarseparator" || - aElt.localName == "toolbarspring" || - aElt.localName == "toolbarspacer"; -} - -/////////////////////////////////////////////////////////////////////////// -//// Drag and Drop observers - -function onToolbarDragGesture(aEvent) -{ - nsDragAndDrop.startDrag(aEvent, dragStartObserver); -} - -function onToolbarDragOver(aEvent) -{ - nsDragAndDrop.dragOver(aEvent, toolbarDNDObserver); -} - -function onToolbarDragDrop(aEvent) -{ - nsDragAndDrop.drop(aEvent, toolbarDNDObserver); -} - -function onToolbarDragExit(aEvent) -{ - if (gCurrentDragOverItem) - setDragActive(gCurrentDragOverItem, false); -} - -var dragStartObserver = -{ - onDragStart: function (aEvent, aXferData, aDragAction) { - var documentId = gToolboxDocument.documentElement.id; - - var item = aEvent.target; - while (item && item.localName != "toolbarpaletteitem") - item = item.parentNode; - - item.setAttribute("dragactive", "true"); - - aXferData.data = new TransferDataSet(); - var data = new TransferData(); - data.addDataForFlavour("text/toolbarwrapper-id/"+documentId, item.firstChild.id); - aXferData.data.push(data); - } -} - -var toolbarDNDObserver = -{ - onDragOver: function (aEvent, aFlavour, aDragSession) - { - var toolbar = aEvent.target; - var dropTarget = aEvent.target; - while (toolbar && toolbar.localName != "toolbar") { - dropTarget = toolbar; - toolbar = toolbar.parentNode; - } - - var previousDragItem = gCurrentDragOverItem; - - // Make sure we are dragging over a customizable toolbar. - if (!isCustomizableToolbar(toolbar)) { - gCurrentDragOverItem = null; - return; - } - - if (dropTarget.localName == "toolbar") { - gCurrentDragOverItem = dropTarget; - } else { - var dropTargetWidth = dropTarget.boxObject.width; - var dropTargetX = dropTarget.boxObject.x; - - gCurrentDragOverItem = null; - if (aEvent.clientX > (dropTargetX + (dropTargetWidth / 2))) { - gCurrentDragOverItem = dropTarget.nextSibling; - if (!gCurrentDragOverItem) - gCurrentDragOverItem = toolbar; - } else - gCurrentDragOverItem = dropTarget; - } - - if (previousDragItem && gCurrentDragOverItem != previousDragItem) { - setDragActive(previousDragItem, false); - } - - setDragActive(gCurrentDragOverItem, true); - - aDragSession.canDrop = true; - }, - - onDrop: function (aEvent, aXferData, aDragSession) - { - if (!gCurrentDragOverItem) - return; - - setDragActive(gCurrentDragOverItem, false); - - var draggedItemId = aXferData.data; - if (gCurrentDragOverItem.id == draggedItemId) - return; - - var toolbar = aEvent.target; - while (toolbar.localName != "toolbar") - toolbar = toolbar.parentNode; - - var draggedPaletteWrapper = document.getElementById("wrapper-"+draggedItemId); - if (!draggedPaletteWrapper) { - // The wrapper has been dragged from the toolbar. - - // Get the wrapper from the toolbar document and make sure that - // it isn't being dropped on itself. - var wrapper = gToolboxDocument.getElementById("wrapper-"+draggedItemId); - if (wrapper == gCurrentDragOverItem) - return; - - // Don't allow static kids (e.g., the menubar) to move. - if (wrapper.parentNode.firstPermanentChild && wrapper.parentNode.firstPermanentChild.id == wrapper.firstChild.id) - return; - if (wrapper.parentNode.lastPermanentChild && wrapper.parentNode.lastPermanentChild.id == wrapper.firstChild.id) - return; - - // Remove the item from it's place in the toolbar. - wrapper.parentNode.removeChild(wrapper); - - // Determine which toolbar we are dropping on. - var dropToolbar = null; - if (gCurrentDragOverItem.localName == "toolbar") - dropToolbar = gCurrentDragOverItem; - else - dropToolbar = gCurrentDragOverItem.parentNode; - - // Insert the item into the toolbar. - if (gCurrentDragOverItem != dropToolbar) - dropToolbar.insertBefore(wrapper, gCurrentDragOverItem); - else - dropToolbar.appendChild(wrapper); - } else { - // The item has been dragged from the palette - - // Create a new wrapper for the item. We don't know the id yet. - var wrapper = createWrapper(""); - - // Ask the toolbar to clone the item's template, place it inside the wrapper, and insert it in the toolbar. - var newItem = toolbar.insertItem(draggedItemId, gCurrentDragOverItem == toolbar ? null : gCurrentDragOverItem, wrapper); - - // Prepare the item and wrapper to look good on the toolbar. - cleanupItemForToolbar(newItem, wrapper); - wrapper.id = "wrapper-"+newItem.id; - wrapper.flex = newItem.flex; - - // Remove the wrapper from the palette. - var currentRow = draggedPaletteWrapper.parentNode; - if (draggedItemId != "separator" && - draggedItemId != "spring" && - draggedItemId != "spacer") - { - currentRow.removeChild(draggedPaletteWrapper); - - while (currentRow) { - // Pull the first child of the next row up - // into this row. - var nextRow = currentRow.nextSibling; - - if (!nextRow) { - var last = currentRow.lastChild; - var first = currentRow.firstChild; - if (first == last) { - // Kill the row. - currentRow.parentNode.removeChild(currentRow); - break; - } - - if (last.localName == "spacer") { - var flex = last.getAttribute("flex"); - last.setAttribute("flex", ++flex); - // Reflow doesn't happen for some reason. Trigger it with a hide/show. ICK! -dwh - last.hidden = true; - last.hidden = false; - break; - } else { - // Make a spacer and give it a flex of 1. - var spacer = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", - "spacer"); - spacer.setAttribute("flex", "1"); - currentRow.appendChild(spacer); - } - break; - } - - currentRow.appendChild(nextRow.firstChild); - currentRow = currentRow.nextSibling; - } - } - } - - gCurrentDragOverItem = null; - - repositionDialog(); - gToolboxChanged = true; - }, - - _flavourSet: null, - - getSupportedFlavours: function () - { - if (!this._flavourSet) { - this._flavourSet = new FlavourSet(); - var documentId = gToolboxDocument.documentElement.id; - this._flavourSet.appendFlavour("text/toolbarwrapper-id/"+documentId); - } - return this._flavourSet; - } -} - -var paletteDNDObserver = -{ - onDragOver: function (aEvent, aFlavour, aDragSession) - { - aDragSession.canDrop = true; - }, - - onDrop: function(aEvent, aXferData, aDragSession) - { - var itemId = aXferData.data; - - var wrapper = gToolboxDocument.getElementById("wrapper-"+itemId); - if (wrapper) { - // Don't allow static kids (e.g., the menubar) to move. - if (wrapper.parentNode.firstPermanentChild && wrapper.parentNode.firstPermanentChild.id == wrapper.firstChild.id) - return; - if (wrapper.parentNode.lastPermanentChild && wrapper.parentNode.lastPermanentChild.id == wrapper.firstChild.id) - return; - - // The item was dragged out of the toolbar. - wrapper.parentNode.removeChild(wrapper); - - var wrapperType = wrapper.getAttribute("type"); - if (wrapperType != "separator" && wrapperType != "spacer" && wrapperType != "spring") { - // Find the template node in the toolbox palette - var templateNode = gToolbox.palette.firstChild; - while (templateNode) { - if (templateNode.id == itemId) - break; - templateNode = templateNode.nextSibling; - } - if (!templateNode) - return; - - // Clone the template and add it to our palette. - var paletteItem = templateNode.cloneNode(true); - appendPaletteItem(paletteItem); - } - } - - repositionDialog(); - gToolboxChanged = true; - }, - - _flavourSet: null, - - getSupportedFlavours: function () - { - if (!this._flavourSet) { - this._flavourSet = new FlavourSet(); - var documentId = gToolboxDocument.documentElement.id; - this._flavourSet.appendFlavour("text/toolbarwrapper-id/"+documentId); - } - return this._flavourSet; - } -} - diff --git a/mozilla/composer/base/content/customizeToolbar.xul b/mozilla/composer/base/content/customizeToolbar.xul deleted file mode 100644 index 733c372fa5c..00000000000 --- a/mozilla/composer/base/content/customizeToolbar.xul +++ /dev/null @@ -1,98 +0,0 @@ - - -# ***** BEGIN LICENSE BLOCK ***** -# Version: MPL 1.1/GPL 2.0/LGPL 2.1 -# -# The contents of this file are subject to the Mozilla Public License Version -# 1.1 (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# http://www.mozilla.org/MPL/ -# -# Software distributed under the License is distributed on an "AS IS" basis, -# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License -# for the specific language governing rights and limitations under the -# License. -# -# The Original Code is Mozilla.org -# -# The Initial Developer of the Original Code is -# David Hyatt. -# Portions created by the Initial Developer are Copyright (C) 2002 -# the Initial Developer. All Rights Reserved. -# -# Contributor(s): -# David Hyatt (hyatt@apple.com) -# Blake Ross (blaker@netscape.com) -# Daniel Glazman (daniel@glazman.org), on behalf of Lindows.com -# -# Alternatively, the contents of this file may be used under the terms of -# either the GNU General Public License Version 2 or later (the "GPL"), or -# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), -# in which case the provisions of the GPL or the LGPL are applicable instead -# of those above. If you wish to allow use of your version of this file only -# under the terms of either the GPL or the LGPL, and not to allow others to -# use your version of this file under the terms of the MPL, indicate your -# decision by deleting the provisions above and replace them with the notice -# and other provisions required by the GPL or the LGPL. If you do not delete -# the provisions above, a recipient may use your version of this file under -# the terms of any one of the MPL, the GPL or the LGPL. -# -# ***** END LICENSE BLOCK ***** - - - %customizeToolbarDTD; -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mozilla/composer/base/images/calendarSW.gif b/mozilla/composer/base/images/calendarSW.gif deleted file mode 100644 index 36415d21ee0..00000000000 Binary files a/mozilla/composer/base/images/calendarSW.gif and /dev/null differ diff --git a/mozilla/composer/base/locale/en-US/aboutDialog.dtd b/mozilla/composer/base/locale/en-US/aboutDialog.dtd deleted file mode 100644 index 6f7ad946dc0..00000000000 --- a/mozilla/composer/base/locale/en-US/aboutDialog.dtd +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/mozilla/composer/base/locale/en-US/editor.dtd b/mozilla/composer/base/locale/en-US/editor.dtd deleted file mode 100644 index 23d49d54766..00000000000 --- a/mozilla/composer/base/locale/en-US/editor.dtd +++ /dev/null @@ -1,62 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mozilla/composer/base/locale/en-US/editorOverlay.dtd b/mozilla/composer/base/locale/en-US/editorOverlay.dtd deleted file mode 100644 index df0c043919a..00000000000 --- a/mozilla/composer/base/locale/en-US/editorOverlay.dtd +++ /dev/null @@ -1,624 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mozilla/composer/base/locale/en-US/pref-toolbars.dtd b/mozilla/composer/base/locale/en-US/pref-toolbars.dtd deleted file mode 100644 index dfb428309ac..00000000000 --- a/mozilla/composer/base/locale/en-US/pref-toolbars.dtd +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/mozilla/composer/base/skin/aboutDialog.css b/mozilla/composer/base/skin/aboutDialog.css deleted file mode 100644 index 6bb210ddbd5..00000000000 --- a/mozilla/composer/base/skin/aboutDialog.css +++ /dev/null @@ -1,32 +0,0 @@ -#aboutDialog { - padding: 0px 0px 10px 0px; -} - -#clientBox { - background-color: #FFFFFF; -} - -#brandName { - font-weight: bold; font-size: larger; -} - -#detailsBox { - padding: 8px 10px 10px 8px; -} - -#versionField { - background-color: #FFFFFF; - -moz-appearance: none; - border: none; - font-weight: bold; -} - -#copyright { - color: blue; - text-decoration: underline; -} - -#groove { - margin-top: 0px; -} - diff --git a/mozilla/composer/base/skin/communicator.css b/mozilla/composer/base/skin/communicator.css deleted file mode 100644 index d8875d4f3e6..00000000000 --- a/mozilla/composer/base/skin/communicator.css +++ /dev/null @@ -1,78 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Joe Hewitt - * Daniel Glazman , on behalf of Lindows.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -/* ==== communicator.css ==================================================== - == Styles shared everywhere throughout the Communicator suite. - ========================================================================== */ - -@import url("chrome://global/skin/"); -@import url("chrome://communicator/content/communicator.css"); -@import url("chrome://communicator/skin/formatting.css"); - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -.toolbar-primary { - -moz-binding: url("chrome://global/content/widgets/toolbar.xml#toolbar"); -} - -/* ::::: throbber ::::: */ - -#navigator-throbber { - -moz-appearance: none; - -moz-user-focus: ignore; - margin: 0 !important; - border: none !important; - padding: 0px !important; - min-width: 0; - background-color: transparent; - list-style-image: url("chrome://editor/skin/icons/throbber-single.gif"); -} - -#navigator-throbber[busy="true"] { - list-style-image: url("chrome://editor/skin/icons/throbber-single.gif"); -} - -toolbar[iconsize="small"] #navigator-throbber, -toolbar[mode="text"] #navigator-throbber { - list-style-image: url("chrome://editor/skin/icons/throbber-small.png"); -} -toolbar[iconsize="small"] #navigator-throbber[busy="true"], -toolbar[mode="text"] #navigator-throbber[busy="true"] { - list-style-image: url("chrome://editor/skin/icons/throbber-small.gif"); -} - diff --git a/mozilla/composer/base/skin/editor.css b/mozilla/composer/base/skin/editor.css deleted file mode 100644 index eb361a502d9..00000000000 --- a/mozilla/composer/base/skin/editor.css +++ /dev/null @@ -1,44 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is Mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998-1999 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Daniel Glazman , on behalf of Lindows.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -@import url("chrome://editor/skin/"); -@import url("chrome://editor/skin/editorPrimaryToolbar.css"); -@import url("chrome://editor/skin/editorFormatToolbar.css"); -@import url("chrome://editor/skin/editorModeToolbar.css"); - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - diff --git a/mozilla/composer/base/skin/editorPrimaryToolbar.css b/mozilla/composer/base/skin/editorPrimaryToolbar.css deleted file mode 100644 index 78afc816f8d..00000000000 --- a/mozilla/composer/base/skin/editorPrimaryToolbar.css +++ /dev/null @@ -1,356 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Joe Hewitt - * Daniel Glazman , on behalf of Lindows.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* ::::: primary toolbar masthead ::::: */ - -#EditToolbar > .toolbar-holder > .toolbar-primary-icon { - background-image: url("chrome://editor/skin/icons/mast-editor.gif"); - width: 57px; -} - -.toolbar-primary-icon { - width: 57px; -} - -/* ::::: primary toolbar buttons ::::: */ - -.toolbarbutton-1 { - -moz-box-orient: vertical; -} - -.toolbarbutton-1[type="menu"] > .toolbarbutton-menu-dropmarker { - display: none; -} - -toolbar[mode="icons"] .toolbarbutton-text { - display: none; -} - -toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker, -toolbar[mode="text"] .toolbarbutton-icon { - display: none; -} - -toolbar[mode="text"] .toolbarbutton-text { - padding: 0 !important; - margin: 3px 5px !important; -} - -/* ::::: primary toolbar buttons ::::: */ - -.toolbarseparator-primary { - width: 9px !important; -} - -#newButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg.png"); -} - -#newButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-hover.png"); -} - -#newButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-active.png"); -} - -#newButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-newmsg-disabled.png"); -} - -#openButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-open.png"); -} - -#openButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-hover.png"); -} - -#openButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-active.png"); -} - -#openButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-open-disabled.png"); -} - -#saveButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-save.png"); -} - -#saveButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-hover.png"); -} - -#saveButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-active.png"); -} - -#saveButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-save-disabled.png"); -} - -#publishButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish.png"); -} - -#publishButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-hover.png"); -} - -#publishButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-active.png"); -} - -#publishButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-publish-disabled.png"); -} - -#previewButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview.png"); -} - -#previewButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-hover.png"); -} - -#previewButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-active.png"); -} - -#previewButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-preview-disabled.png"); -} - -#copyButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png"); - -moz-image-region: rect(0 32px 32px 0); -} - -#copyButton:hover { - -moz-image-region: rect(32px 32px 64px 0); -} - -#copyButton:hover:active { - -moz-image-region: rect(64px 32px 96px 0); -} - -#copyButton[disabled="true"] { - -moz-image-region: rect(96px 32px 128px 0); -} - -#cutButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png"); - -moz-image-region: rect(0 64px 32px 32px); -} - -#cutButton:hover { - -moz-image-region: rect(32px 64px 64px 32px); -} - -#cutButton:hover:active { - -moz-image-region: rect(64px 64px 96px 32px); -} - -#cutButton[disabled="true"] { - -moz-image-region: rect(96px 64px 128px 32px); -} - -#findButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png"); - -moz-image-region: rect(0 128px 32px 96px); -} - -#findButton:hover { - -moz-image-region: rect(32px 128px 64px 96px); -} - -#findButton:hover:active { - -moz-image-region: rect(64px 128px 96px 96px); -} - -#findButton[disabled="true"] { - -moz-image-region: rect(96px 128px 128px 96px); -} - -#pasteButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-ed-imap.png"); - -moz-image-region: rect(0 96px 32px 64px); -} - -#pasteButton:hover { - -moz-image-region: rect(32px 96px 64px 64px); -} - -#pasteButton:hover:active { - -moz-image-region: rect(64px 96px 96px 64px); -} - -#pasteButton[disabled="true"] { - -moz-image-region: rect(96px 96px 128px 64px); -} - -#printButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-print.png"); -} - -#printButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-hover.png"); -} - -#printButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-active.png"); -} - -#printButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-print-disabled.png"); -} - -#linkButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-link.png"); -} - -#linkButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-hover.png"); -} - -#linkButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-active.png"); -} - -#linkButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-link-disabled.png"); -} - -#imageButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-image.png"); -} - -#imageButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-hover.png"); -} - -#imageButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-active.png"); -} - -#imageButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-image-disabled.png"); -} - -#namedAnchorButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor.png"); -} - -#namedAnchorButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-hover.png"); -} - -#namedAnchorButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-active.png"); -} - -#namedAnchorButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-anchor-disabled.png"); -} - -#hlineButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline.png"); -} - -#hlineButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-hover.png"); -} - -#hlineButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-active.png"); -} - -#hlineButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-hline-disabled.png"); -} - -#tableButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-table.png"); -} - -#tableButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-hover.png"); -} - -#tableButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-active.png"); -} - -#tableButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-table-disabled.png"); -} - -#spellingButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell.png"); -} - -#spellingButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-hover.png"); -} - -#spellingButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-active.png"); -} - -#spellingButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-spell-disabled.png"); -} - -#formButton { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-form.png"); -} - -#formButton:hover { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-hover.png"); -} - -#formButton:hover:active { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-active.png"); -} - -#formButton[disabled="true"] { - list-style-image: url("chrome://editor/skin/icons/orbit-button2-form-disabled.png"); -} diff --git a/mozilla/composer/base/skin/icons/btn1.gif b/mozilla/composer/base/skin/icons/btn1.gif deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/mozilla/composer/base/skin/icons/orbit-button2-anchor-active.png b/mozilla/composer/base/skin/icons/orbit-button2-anchor-active.png deleted file mode 100644 index 216b8ea7e1b..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-anchor-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-anchor-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-anchor-disabled.png deleted file mode 100644 index 212ad6a07cb..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-anchor-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-anchor-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-anchor-hover.png deleted file mode 100644 index 73b389c0d57..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-anchor-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-anchor.png b/mozilla/composer/base/skin/icons/orbit-button2-anchor.png deleted file mode 100644 index d616bedb496..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-anchor.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-ed-imap.png b/mozilla/composer/base/skin/icons/orbit-button2-ed-imap.png deleted file mode 100644 index 81ed878056a..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-ed-imap.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-form-active.png b/mozilla/composer/base/skin/icons/orbit-button2-form-active.png deleted file mode 100644 index f78de808592..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-form-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-form-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-form-disabled.png deleted file mode 100644 index b743c0736a2..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-form-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-form-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-form-hover.png deleted file mode 100644 index 4bc0251db1c..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-form-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-form.png b/mozilla/composer/base/skin/icons/orbit-button2-form.png deleted file mode 100644 index bfc167b8dca..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-form.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-hline-active.png b/mozilla/composer/base/skin/icons/orbit-button2-hline-active.png deleted file mode 100644 index 361d52ba697..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-hline-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-hline-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-hline-disabled.png deleted file mode 100644 index 3cce5dafc8e..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-hline-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-hline-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-hline-hover.png deleted file mode 100644 index 55a7d117e61..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-hline-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-hline.png b/mozilla/composer/base/skin/icons/orbit-button2-hline.png deleted file mode 100644 index b112f1d6ec2..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-hline.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-image-active.png b/mozilla/composer/base/skin/icons/orbit-button2-image-active.png deleted file mode 100644 index 92b1c550da8..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-image-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-image-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-image-disabled.png deleted file mode 100644 index fd7989a7a86..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-image-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-image-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-image-hover.png deleted file mode 100644 index 934f71280bd..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-image-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-image.png b/mozilla/composer/base/skin/icons/orbit-button2-image.png deleted file mode 100644 index 269b485946d..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-image.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-link-active.png b/mozilla/composer/base/skin/icons/orbit-button2-link-active.png deleted file mode 100644 index a6d44fc0308..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-link-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-link-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-link-disabled.png deleted file mode 100644 index f851909bde5..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-link-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-link-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-link-hover.png deleted file mode 100644 index 047ee03257e..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-link-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-link.png b/mozilla/composer/base/skin/icons/orbit-button2-link.png deleted file mode 100644 index 40fcc473fbf..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-link.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-newmsg-active.png b/mozilla/composer/base/skin/icons/orbit-button2-newmsg-active.png deleted file mode 100644 index 5f7836b6f73..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-newmsg-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-newmsg-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-newmsg-disabled.png deleted file mode 100644 index 9b27582de30..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-newmsg-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-newmsg-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-newmsg-hover.png deleted file mode 100644 index f17a85ec36a..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-newmsg-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-newmsg.png b/mozilla/composer/base/skin/icons/orbit-button2-newmsg.png deleted file mode 100644 index 61c7b616626..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-newmsg.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-open-active.png b/mozilla/composer/base/skin/icons/orbit-button2-open-active.png deleted file mode 100644 index 900f5d07ed9..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-open-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-open-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-open-disabled.png deleted file mode 100644 index 41edb3b0ff3..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-open-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-open-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-open-hover.png deleted file mode 100644 index 0b7c3a37906..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-open-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-open.png b/mozilla/composer/base/skin/icons/orbit-button2-open.png deleted file mode 100644 index a302ef1a98c..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-open.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-preview-active.png b/mozilla/composer/base/skin/icons/orbit-button2-preview-active.png deleted file mode 100644 index 18c7dc9a237..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-preview-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-preview-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-preview-disabled.png deleted file mode 100644 index 78b1d4c6744..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-preview-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-preview-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-preview-hover.png deleted file mode 100644 index 58d400dfd2b..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-preview-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-preview.png b/mozilla/composer/base/skin/icons/orbit-button2-preview.png deleted file mode 100644 index 9e0d2f2fcaf..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-preview.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-print-active.png b/mozilla/composer/base/skin/icons/orbit-button2-print-active.png deleted file mode 100644 index 78387642e93..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-print-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-print-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-print-disabled.png deleted file mode 100644 index 20dbcf28fc2..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-print-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-print-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-print-hover.png deleted file mode 100644 index 408964aaaee..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-print-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-print.png b/mozilla/composer/base/skin/icons/orbit-button2-print.png deleted file mode 100644 index 3b6b1767833..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-print.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-publish-active.png b/mozilla/composer/base/skin/icons/orbit-button2-publish-active.png deleted file mode 100644 index bf9a86257df..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-publish-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-publish-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-publish-disabled.png deleted file mode 100644 index 79c93be214d..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-publish-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-publish-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-publish-hover.png deleted file mode 100644 index 84fe70d073d..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-publish-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-publish.png b/mozilla/composer/base/skin/icons/orbit-button2-publish.png deleted file mode 100644 index 9344d656f37..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-publish.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-save-active.png b/mozilla/composer/base/skin/icons/orbit-button2-save-active.png deleted file mode 100644 index 3f546aaac35..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-save-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-save-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-save-disabled.png deleted file mode 100644 index 0c28dc05a9a..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-save-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-save-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-save-hover.png deleted file mode 100644 index 9647a8d8f7d..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-save-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-save.png b/mozilla/composer/base/skin/icons/orbit-button2-save.png deleted file mode 100644 index c868fbcddc5..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-save.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-spell-active.png b/mozilla/composer/base/skin/icons/orbit-button2-spell-active.png deleted file mode 100644 index 5e70b40ea2a..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-spell-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-spell-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-spell-disabled.png deleted file mode 100644 index 9a43d8c0cd9..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-spell-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-spell-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-spell-hover.png deleted file mode 100644 index 293b92fe79f..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-spell-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-spell.png b/mozilla/composer/base/skin/icons/orbit-button2-spell.png deleted file mode 100644 index b6631475f9c..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-spell.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-table-active.png b/mozilla/composer/base/skin/icons/orbit-button2-table-active.png deleted file mode 100644 index bb6f6362d27..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-table-active.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-table-disabled.png b/mozilla/composer/base/skin/icons/orbit-button2-table-disabled.png deleted file mode 100644 index e078583131e..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-table-disabled.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-table-hover.png b/mozilla/composer/base/skin/icons/orbit-button2-table-hover.png deleted file mode 100644 index 0462ff582e0..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-table-hover.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/orbit-button2-table.png b/mozilla/composer/base/skin/icons/orbit-button2-table.png deleted file mode 100644 index 3ddf9282900..00000000000 Binary files a/mozilla/composer/base/skin/icons/orbit-button2-table.png and /dev/null differ diff --git a/mozilla/composer/base/skin/icons/throbber-single.gif b/mozilla/composer/base/skin/icons/throbber-single.gif deleted file mode 100644 index aa613799de6..00000000000 Binary files a/mozilla/composer/base/skin/icons/throbber-single.gif and /dev/null differ diff --git a/mozilla/composer/base/skin/toolbarbutton.css b/mozilla/composer/base/skin/toolbarbutton.css deleted file mode 100644 index 7b47da71715..00000000000 --- a/mozilla/composer/base/skin/toolbarbutton.css +++ /dev/null @@ -1,147 +0,0 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: MPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Mozilla Public License Version - * 1.1 (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * http://www.mozilla.org/MPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998-1999 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Joe Hewitt - * Daniel Glazman , on behalf of Lindows.com - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the MPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the MPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ - -/* ===== toolbarbutton.css ===================================================== - == Styles used by the XUL button element. - ======================================================================= */ - -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* ::::: toolbarbutton ::::: */ - -toolbarbutton { - -moz-appearance: toolbarbutton; - -moz-box-align: center; - -moz-box-pack: center; - margin: 0; - border: 1px solid transparent; - padding: 3px; - background-color: transparent; - color: -moz-DialogText; -} - -.toolbarbutton-icon { - margin-right: 2px; -} - -.toolbarbutton-text { - margin: 0 !important; - text-align: center; -} - -toolbarbutton:hover { - border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; -} - -toolbarbutton:hover:active, -toolbarbutton[open="true"] { - border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow; - padding: 4px 2px 2px 4px; -} - -toolbarbutton[disabled="true"], -toolbarbutton[disabled="true"]:hover, -toolbarbutton[disabled="true"]:hover:active, -toolbarbutton[disabled="true"][open="true"] { - border-color: transparent; - padding: 3px; - color: GrayText; -} - -/* ..... checked state ..... */ - -toolbarbutton[checked="true"] { - border-color: ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow !important; - padding: 4px 2px 2px 4px !important; - background-image: url("chrome://global/skin/toolbar/Lighten.png"); - color: ButtonText !important; -} - -/* ::::: toolbarbutton menu ::::: */ - -.toolbarbutton-menu-dropmarker { - list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); -} - -.toolbarbutton-menu-dropmarker[disabled="true"] { - list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); -} - -/* ::::: toolbarbutton menu-button ::::: */ - -toolbarbutton[type="menu-button"] { - -moz-box-align: stretch; - -moz-box-orient: horizontal !important; - -moz-appearance: dualbutton; -} - -toolbarbutton[type="menu-button"], -toolbarbutton[type="menu-button"]:hover, -toolbarbutton[type="menu-button"]:hover:active, -toolbarbutton[type="menu-button"][open="true"], -toolbarbutton[type="menu-button"][disabled="true"], -toolbarbutton[type="menu-button"][disabled="true"]:hover, -toolbarbutton[type="menu-button"][disabled="true"]:hover:active { - border-style: none; - padding: 0; -} - -.toolbarbutton-menubutton-button { - -moz-box-align: center; - -moz-box-pack: center; - -moz-box-orient: vertical; -} - -/* .......... dropmarker .......... */ - -.toolbarbutton-menubutton-dropmarker { - -moz-box-align: center; - padding: 0 0 1px 0; - list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); - -moz-appearance: dualbutton-dropdown; -} - -.toolbarbutton-menubutton-dropmarker[disabled="true"] { - padding: 0 0 1px 0 !important; - list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif") !important; -} - -toolbarbutton[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, -toolbarbutton[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker { - padding: 1px 0 0 0; -} diff --git a/mozilla/composer/readme.html b/mozilla/composer/readme.html index c01122408d8..4b3856fd0dc 100644 --- a/mozilla/composer/readme.html +++ b/mozilla/composer/readme.html @@ -1,60 +1,20 @@ + - - Building Standalone Composer + + + Building Standalone Composer + + -

Getting the source and -building Standalone Composer

-

UNIX, Windows (gmake)

-
    -
  1. Create a .mozconfig file in your home directory, or in the -mozilla directory, containing the following:
    -
    - ac_add_options --enable-crypto
    -ac_add_options --disable-debug
    - ac_add_options ---enable-optimize=-O2
    -ac_add_options --disable-ldap
    -ac_add_options --disable-mailnews
    -ac_add_options --disable-mathml
    -ac_add_options --disable-installer
    -ac_add_options --disable-activex
    -ac_add_options --disable-activex-scripting
    -ac_add_options --disable-tests
    -ac_add_options --disable-oji
    -ac_add_options --disable-necko-disk-cache
    -ac_add_options --disable-profilesharing
    -ac_add_options ---enable-extensions=cookie,xml-rpc,xmlextras,pref,universalchardet,webservices
    -
    -# Note: Only include icon for mac, windows and os2
    -ac_add_options --enable-image-decoders=icon,png,gif,jpeg
    -
    -
    -export MOZ_STANDALONE_COMPOSER=1
    -mk_add_options MOZ_STANDALONE_COMPOSER=1
    -
    -
    -

    Warning: -DO NOT USE --enable-optimize=-O2 -on Windows. There are bugs. Simply use --enable-optimize.

    -
  2. -
  3. Pull from CVS and build as described in the Mozilla build -instructions.
  4. -
  5. If your build breaks in mozilla/toolkit/components/console, -during some JAR packaging, you may be running into Bug #206785 -where the xul pre-processor is dying. A temporary work around is listed -in the bug, just replace MOZ_THUNDERBIRD by MOZ_STANDALONE_COMPOSER
    -
  6. -
  7. Run the composer executable that is left in -dist/bin
  8. -
-
-
+

Mozilla Composer

+ +

The new xulrunner-based Web editor