├── src ├── common │ ├── tests │ │ ├── data │ │ │ └── empty.xml │ │ ├── mock_prefs_common_get_use_shred.h │ │ ├── mock_prefs_common_get_flush_metadata.h │ │ └── xml_test.c │ ├── uuencode.h │ ├── passcrypt.h.in │ └── unmime.h ├── plugins │ ├── smime │ │ ├── smime.deps │ │ └── version.rc.in │ ├── pgpinline │ │ ├── pgpinline.deps │ │ ├── version.rc.in │ │ └── pgpinline.h │ ├── pgpmime │ │ ├── pgpmime.deps │ │ ├── version.rc.in │ │ └── pgpmime.h │ ├── mailmbox │ │ ├── mailmbox_gtk.deps │ │ ├── chash.c │ │ ├── chash.h │ │ ├── clist.c │ │ ├── clist.h │ │ ├── carray.c │ │ ├── carray.h │ │ └── version.rc.in │ ├── spamassassin │ │ └── spamassassin_gtk.deps │ ├── fancy │ │ └── version.rc.in │ ├── pgpcore │ │ ├── version.rc.in │ │ └── pgp_viewer.h │ ├── rssyl │ │ ├── version.rc.in │ │ ├── libfeed │ │ │ ├── tests │ │ │ │ ├── mock_procheader_date_parse.h │ │ │ │ ├── Makefile.am │ │ │ │ ├── feed_test.c │ │ │ │ └── date_test.c │ │ │ ├── date.h │ │ │ ├── parser_opml.h │ │ │ └── Makefile.am │ │ ├── tests │ │ │ └── Makefile.am │ │ ├── old_feeds.h │ │ ├── opml_export.h │ │ ├── rssyl_update_format.h │ │ └── rssyl_add_item.h │ ├── bsfilter │ │ ├── version.rc.in │ │ └── Makefile.am │ ├── fetchinfo │ │ ├── version.rc.in │ │ └── Makefile.am │ ├── vcalendar │ │ └── version.rc.in │ ├── att_remover │ │ ├── version.rc.in │ │ └── Makefile.am │ ├── attachwarner │ │ └── version.rc.in │ ├── libravatar │ │ ├── version.rc.in │ │ └── libravatar_federation.h │ ├── managesieve │ │ └── version.rc.in │ ├── notification │ │ ├── version.rc.in │ │ └── gtkhotkey │ │ │ └── x11 │ │ │ └── tomboykeybinder.h │ ├── pdf_viewer │ │ └── version.rc.in │ ├── spam_report │ │ ├── version.rc.in │ │ └── Makefile.am │ ├── tnef_parse │ │ ├── version.rc.in │ │ └── Makefile.am │ ├── address_keeper │ │ └── version.rc.in │ ├── keyword_warner │ │ └── version.rc.in │ ├── litehtml_viewer │ │ ├── version.rc.in │ │ ├── TODO │ │ └── litehtml │ │ │ ├── css_borders.cpp │ │ │ ├── el_break.cpp │ │ │ ├── el_body.cpp │ │ │ ├── litehtml.h │ │ │ ├── el_base.cpp │ │ │ ├── el_td.h │ │ │ ├── el_tr.h │ │ │ ├── el_body.h │ │ │ ├── el_div.h │ │ │ ├── el_base.h │ │ │ ├── el_font.h │ │ │ ├── el_break.h │ │ │ ├── el_para.h │ │ │ ├── el_link.h │ │ │ ├── el_title.cpp │ │ │ ├── el_title.h │ │ │ ├── el_div.cpp │ │ │ ├── num_cvt.h │ │ │ ├── el_cdata.cpp │ │ │ ├── el_para.cpp │ │ │ ├── el_cdata.h │ │ │ ├── el_anchor.h │ │ │ ├── el_comment.cpp │ │ │ ├── el_script.h │ │ │ ├── el_space.h │ │ │ ├── el_table.h │ │ │ ├── el_style.h │ │ │ ├── css_position.h │ │ │ ├── el_script.cpp │ │ │ ├── el_tr.cpp │ │ │ ├── el_anchor.cpp │ │ │ ├── el_comment.h │ │ │ ├── el_style.cpp │ │ │ ├── render_image.h │ │ │ ├── os_types.h │ │ │ ├── el_image.h │ │ │ ├── el_td.cpp │ │ │ ├── el_link.cpp │ │ │ ├── css_margins.h │ │ │ ├── css_offsets.h │ │ │ ├── el_text.h │ │ │ ├── el_before_after.h │ │ │ ├── el_space.cpp │ │ │ └── render_block_context.h │ ├── win_pgpcore.mk │ ├── python │ │ ├── examples │ │ │ ├── Makefile.am │ │ │ ├── auto │ │ │ │ └── shutdown │ │ │ └── main │ │ │ │ ├── Print-action-names │ │ │ │ └── Open-Tomboy-Notes │ │ └── nodetype.h │ ├── win_plugin.mk │ ├── newmail │ │ └── Makefile.am │ ├── acpi_notifier │ │ └── Makefile.am │ ├── clamd │ │ ├── libclamd │ │ │ └── Makefile.am │ │ └── Makefile.am │ ├── demo │ │ └── Makefile.am │ ├── Makefile.am │ ├── perl │ │ ├── Makefile.am │ │ └── tools │ │ │ └── Makefile.am │ ├── gdata │ │ ├── Makefile.am │ │ └── gdata_plugin.h │ ├── dillo │ │ └── Makefile.am │ ├── bogofilter │ │ └── Makefile.am │ └── archive │ │ └── Makefile.am ├── w32-logo.ico ├── w32-resource.rc.in ├── pixmaps │ ├── empty.xpm │ ├── clip.xpm │ ├── key.xpm │ ├── mark.xpm │ ├── clipkey.xpm │ ├── doc_index_close.xpm │ ├── spam.xpm │ ├── copied.xpm │ ├── replied.xpm │ ├── doc_index.xpm │ ├── checkbox_off.xpm │ ├── forwarded.xpm │ ├── replied_and_forwarded.xpm │ ├── inbox_open.xpm │ ├── inbox_close.xpm │ ├── inbox_close_hrm.xpm │ ├── inbox_open_hrm.xpm │ ├── tray_nomail.xpm │ ├── outbox_open_hrm.xpm │ ├── outbox_close_hrm.xpm │ ├── tray_newmarkedmail.xpm │ ├── outbox_close.xpm │ ├── outbox_open.xpm │ ├── tray_newmail.xpm │ ├── tray_unreadmarkedmail.xpm │ ├── inbox_open_mark.xpm │ ├── tray_unreadmail.xpm │ ├── inbox_close_mark.xpm │ ├── inbox_close_hrm_mark.xpm │ ├── inbox_open_hrm_mark.xpm │ ├── outbox_open_hrm_mark.xpm │ ├── tray_nomail_offline.xpm │ ├── outbox_close_hrm_mark.xpm │ ├── trash_close.xpm │ ├── trash_open.xpm │ ├── outbox_close_mark.xpm │ ├── outbox_open_mark.xpm │ ├── tray_newmarkedmail_offline.xpm │ ├── tray_unreadmarkedmail_offline.xpm │ ├── tray_newmail_offline.xpm │ ├── trash_open_hrm.xpm │ ├── tray_unreadmail_offline.xpm │ ├── trash_close_hrm.xpm │ ├── trash_close_mark.xpm │ ├── trash_open_mark.xpm │ ├── trash_open_hrm_mark.xpm │ ├── key_gpg_signed.xpm │ ├── trash_close_hrm_mark.xpm │ ├── category.xpm │ ├── complete.xpm │ ├── checkbox_on.xpm │ ├── gpg_signed.xpm │ ├── error.xpm │ ├── clip_gpg_signed.xpm │ ├── watchthread.xpm │ ├── read.xpm │ ├── addr_one.xpm │ ├── addr_two.xpm │ ├── left_arrow.xpm │ ├── right_arrow.xpm │ ├── rotate_left.xpm │ ├── rotate_right.xpm │ ├── delete_dup_btn.xpm │ ├── mark_unread.xpm │ ├── mark_allunread.xpm │ ├── locked.xpm │ ├── moved.xpm │ ├── ignorethread.xpm │ ├── first_arrow.xpm │ └── last_arrow.xpm ├── tests │ ├── mock_debug_print.h │ └── Makefile.am ├── gtk │ ├── claws-marshal.list │ ├── about.h │ ├── foldersort.h │ ├── icon_legend.h │ └── pluginwindow.h ├── mh_gtk.h ├── edittags.h ├── prefs_proxy.h ├── prefs_ext_prog.h ├── password_gtk.h ├── prefs_fonts.h ├── prefs_send.h ├── addrcustomattr.h ├── etpan │ └── Makefile.am ├── prefs_other.h ├── prefs_quote.h ├── prefs_themes.h ├── prefs_spelling.h ├── prefs_wrapping.h ├── file_checker.h ├── prefs_message.h ├── crash.h ├── export.h ├── matchertypes.h ├── prefs_summaries.h ├── import.h ├── prefs_image_viewer.h ├── prefs_logging.h ├── setup.h ├── uri_opener.h └── grouplistdialog.h ├── config └── Makefile.am ├── tools ├── uudec ├── README ├── update-po ├── vcard2xml.py ├── tb2claws-mail ├── mew2claws-mail.pl ├── kmail-mailbox2claws-mail.pl ├── check-appstream.sh ├── google_msgid.pl ├── multiwebsearch.conf ├── kdeservicemenu │ ├── claws-mail-attach-files.desktop.template │ └── claws-mail-attach-files.desktop.kde4template ├── alternative-tlds.txt ├── bash_completion │ └── claws-mail └── jhbuild │ └── README ├── po ├── hr.po ├── POTFILES.skip ├── remove-potcdate.sin └── merge-po-from-plugin.sh ├── ChangeLog.gtk1 ├── claws-mail.ico ├── claws-mail.png ├── ChangeLog.pre2.0.0 ├── manual ├── de │ ├── ack.xml │ ├── faq.xml │ ├── gpl.xml │ ├── intro.xml │ ├── account.xml │ ├── addrbook.xml │ ├── glossary.xml │ ├── handling.xml │ ├── keyboard.xml │ ├── plugins.xml │ ├── starting.xml │ └── claws-mail-manual.xml ├── fr │ ├── ack.xml │ ├── faq.xml │ ├── intro.xml │ ├── account.xml │ ├── addrbook.xml │ ├── advanced.xml │ ├── glossary.xml │ ├── handling.xml │ ├── keyboard.xml │ ├── plugins.xml │ ├── starting.xml │ ├── claws-mail-manual.xml │ └── gpl.xml ├── pl │ ├── ack.xml │ ├── faq.xml │ ├── intro.xml │ ├── account.xml │ ├── addrbook.xml │ ├── advanced.xml │ ├── glossary.xml │ ├── handling.xml │ ├── keyboard.xml │ ├── plugins.xml │ ├── starting.xml │ ├── claws-mail-manual.xml │ └── gpl.xml ├── en │ └── gpl.xml ├── it │ └── gpl.xml └── es │ └── gpl.xml ├── claws-mail-26x26.png ├── claws-mail-40x40.png ├── claws-mail-64x64.png ├── ChangeLog.2.0.0-3.0.0 ├── ChangeLog.3.0.0-3.9.0 ├── claws-mail-128x128.png ├── m4 └── README ├── doc ├── Makefile.am ├── man │ └── Makefile.am └── src │ └── readme.txt ├── claws-mail.pc.in ├── get-git-version ├── claws-features.h.in └── appdata ├── claws-mail-gdata.metainfo.xml.in ├── claws-mail-fancy.metainfo.xml.in ├── claws-mail-spam_report.metainfo.xml.in ├── claws-mail-archive.metainfo.xml.in ├── claws-mail-mailmbox.metainfo.xml.in ├── claws-mail-att_remover.metainfo.xml.in ├── claws-mail-rssyl.metainfo.xml.in ├── claws-mail-pdf_viewer.metainfo.xml.in ├── claws-mail-tnef_parse.metainfo.xml.in ├── claws-mail-acpi_notifier.metainfo.xml.in ├── claws-mail-address_keeper.metainfo.xml.in ├── claws-mail-newmail.metainfo.xml.in ├── claws-mail-clamd.metainfo.xml.in ├── claws-mail-bsfilter.metainfo.xml.in ├── claws-mail-fetchinfo.metainfo.xml.in ├── claws-mail-notification.metainfo.xml.in ├── claws-mail-pgpcore.metainfo.xml.in ├── claws-mail-perl.metainfo.xml.in ├── claws-mail-smime.metainfo.xml.in ├── claws-mail-python.metainfo.xml.in ├── claws-mail-pgpmime.metainfo.xml.in ├── claws-mail-managesieve.metainfo.xml.in ├── claws-mail-pgpinline.metainfo.xml.in ├── claws-mail-attachwarner.metainfo.xml.in ├── claws-mail-libravatar.metainfo.xml.in ├── claws-mail-vcalendar.metainfo.xml.in ├── claws-mail-bogofilter.metainfo.xml.in └── claws-mail-spamassassin.metainfo.xml.in /src/common/tests/data/empty.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: test 3 | -------------------------------------------------------------------------------- /src/plugins/smime/smime.deps: -------------------------------------------------------------------------------- 1 | pgpcore 2 | -------------------------------------------------------------------------------- /src/plugins/pgpinline/pgpinline.deps: -------------------------------------------------------------------------------- 1 | pgpcore 2 | -------------------------------------------------------------------------------- /src/plugins/pgpmime/pgpmime.deps: -------------------------------------------------------------------------------- 1 | pgpcore 2 | -------------------------------------------------------------------------------- /src/plugins/mailmbox/mailmbox_gtk.deps: -------------------------------------------------------------------------------- 1 | mailmbox 2 | -------------------------------------------------------------------------------- /src/plugins/spamassassin/spamassassin_gtk.deps: -------------------------------------------------------------------------------- 1 | spamassassin 2 | -------------------------------------------------------------------------------- /tools/uudec: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | uudecode -o - "$1" | display - 3 | -------------------------------------------------------------------------------- /po/hr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/po/hr.po -------------------------------------------------------------------------------- /tools/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/tools/README -------------------------------------------------------------------------------- /ChangeLog.gtk1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/ChangeLog.gtk1 -------------------------------------------------------------------------------- /claws-mail.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/claws-mail.ico -------------------------------------------------------------------------------- /claws-mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/claws-mail.png -------------------------------------------------------------------------------- /tools/update-po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/tools/update-po -------------------------------------------------------------------------------- /ChangeLog.pre2.0.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/ChangeLog.pre2.0.0 -------------------------------------------------------------------------------- /manual/de/ack.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/ack.xml -------------------------------------------------------------------------------- /manual/de/faq.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/faq.xml -------------------------------------------------------------------------------- /manual/de/gpl.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/gpl.xml -------------------------------------------------------------------------------- /manual/fr/ack.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/ack.xml -------------------------------------------------------------------------------- /manual/fr/faq.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/faq.xml -------------------------------------------------------------------------------- /manual/pl/ack.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/ack.xml -------------------------------------------------------------------------------- /manual/pl/faq.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/faq.xml -------------------------------------------------------------------------------- /src/w32-logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/w32-logo.ico -------------------------------------------------------------------------------- /tools/vcard2xml.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/tools/vcard2xml.py -------------------------------------------------------------------------------- /claws-mail-26x26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/claws-mail-26x26.png -------------------------------------------------------------------------------- /claws-mail-40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/claws-mail-40x40.png -------------------------------------------------------------------------------- /claws-mail-64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/claws-mail-64x64.png -------------------------------------------------------------------------------- /manual/de/intro.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/intro.xml -------------------------------------------------------------------------------- /manual/fr/intro.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/intro.xml -------------------------------------------------------------------------------- /manual/pl/intro.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/intro.xml -------------------------------------------------------------------------------- /tools/tb2claws-mail: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/tools/tb2claws-mail -------------------------------------------------------------------------------- /ChangeLog.2.0.0-3.0.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/ChangeLog.2.0.0-3.0.0 -------------------------------------------------------------------------------- /ChangeLog.3.0.0-3.9.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/ChangeLog.3.0.0-3.9.0 -------------------------------------------------------------------------------- /claws-mail-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/claws-mail-128x128.png -------------------------------------------------------------------------------- /manual/de/account.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/account.xml -------------------------------------------------------------------------------- /manual/de/addrbook.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/addrbook.xml -------------------------------------------------------------------------------- /manual/de/glossary.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/glossary.xml -------------------------------------------------------------------------------- /manual/de/handling.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/handling.xml -------------------------------------------------------------------------------- /manual/de/keyboard.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/keyboard.xml -------------------------------------------------------------------------------- /manual/de/plugins.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/plugins.xml -------------------------------------------------------------------------------- /manual/de/starting.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/starting.xml -------------------------------------------------------------------------------- /manual/fr/account.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/account.xml -------------------------------------------------------------------------------- /manual/fr/addrbook.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/addrbook.xml -------------------------------------------------------------------------------- /manual/fr/advanced.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/advanced.xml -------------------------------------------------------------------------------- /manual/fr/glossary.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/glossary.xml -------------------------------------------------------------------------------- /manual/fr/handling.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/handling.xml -------------------------------------------------------------------------------- /manual/fr/keyboard.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/keyboard.xml -------------------------------------------------------------------------------- /manual/fr/plugins.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/plugins.xml -------------------------------------------------------------------------------- /manual/fr/starting.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/starting.xml -------------------------------------------------------------------------------- /manual/pl/account.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/account.xml -------------------------------------------------------------------------------- /manual/pl/addrbook.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/addrbook.xml -------------------------------------------------------------------------------- /manual/pl/advanced.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/advanced.xml -------------------------------------------------------------------------------- /manual/pl/glossary.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/glossary.xml -------------------------------------------------------------------------------- /manual/pl/handling.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/handling.xml -------------------------------------------------------------------------------- /manual/pl/keyboard.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/keyboard.xml -------------------------------------------------------------------------------- /manual/pl/plugins.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/plugins.xml -------------------------------------------------------------------------------- /manual/pl/starting.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/starting.xml -------------------------------------------------------------------------------- /src/w32-resource.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/w32-resource.rc.in -------------------------------------------------------------------------------- /tools/mew2claws-mail.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/tools/mew2claws-mail.pl -------------------------------------------------------------------------------- /src/plugins/mailmbox/chash.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/mailmbox/chash.c -------------------------------------------------------------------------------- /src/plugins/mailmbox/chash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/mailmbox/chash.h -------------------------------------------------------------------------------- /src/plugins/mailmbox/clist.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/mailmbox/clist.c -------------------------------------------------------------------------------- /src/plugins/mailmbox/clist.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/mailmbox/clist.h -------------------------------------------------------------------------------- /src/pixmaps/empty.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * empty_xpm[] = { 3 | "1 1 1 1", 4 | " c None", 5 | " "}; 6 | -------------------------------------------------------------------------------- /src/plugins/mailmbox/carray.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/mailmbox/carray.c -------------------------------------------------------------------------------- /src/plugins/mailmbox/carray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/mailmbox/carray.h -------------------------------------------------------------------------------- /manual/de/claws-mail-manual.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/de/claws-mail-manual.xml -------------------------------------------------------------------------------- /manual/fr/claws-mail-manual.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/fr/claws-mail-manual.xml -------------------------------------------------------------------------------- /manual/pl/claws-mail-manual.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/manual/pl/claws-mail-manual.xml -------------------------------------------------------------------------------- /src/plugins/fancy/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/fancy/version.rc.in -------------------------------------------------------------------------------- /src/plugins/pgpcore/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/pgpcore/version.rc.in -------------------------------------------------------------------------------- /src/plugins/pgpmime/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/pgpmime/version.rc.in -------------------------------------------------------------------------------- /src/plugins/rssyl/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/rssyl/version.rc.in -------------------------------------------------------------------------------- /src/plugins/smime/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/smime/version.rc.in -------------------------------------------------------------------------------- /tools/kmail-mailbox2claws-mail.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/tools/kmail-mailbox2claws-mail.pl -------------------------------------------------------------------------------- /src/plugins/bsfilter/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/bsfilter/version.rc.in -------------------------------------------------------------------------------- /src/plugins/fetchinfo/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/fetchinfo/version.rc.in -------------------------------------------------------------------------------- /src/plugins/mailmbox/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/mailmbox/version.rc.in -------------------------------------------------------------------------------- /src/plugins/pgpinline/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/pgpinline/version.rc.in -------------------------------------------------------------------------------- /src/plugins/vcalendar/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/vcalendar/version.rc.in -------------------------------------------------------------------------------- /src/plugins/att_remover/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/att_remover/version.rc.in -------------------------------------------------------------------------------- /src/plugins/attachwarner/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/attachwarner/version.rc.in -------------------------------------------------------------------------------- /src/plugins/libravatar/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/libravatar/version.rc.in -------------------------------------------------------------------------------- /src/plugins/managesieve/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/managesieve/version.rc.in -------------------------------------------------------------------------------- /src/plugins/notification/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/notification/version.rc.in -------------------------------------------------------------------------------- /src/plugins/pdf_viewer/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/pdf_viewer/version.rc.in -------------------------------------------------------------------------------- /src/plugins/spam_report/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/spam_report/version.rc.in -------------------------------------------------------------------------------- /src/plugins/tnef_parse/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/tnef_parse/version.rc.in -------------------------------------------------------------------------------- /src/common/tests/mock_prefs_common_get_use_shred.h: -------------------------------------------------------------------------------- 1 | gboolean prefs_common_get_use_shred(void) 2 | { 3 | return FALSE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /src/plugins/address_keeper/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/address_keeper/version.rc.in -------------------------------------------------------------------------------- /src/plugins/keyword_warner/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/keyword_warner/version.rc.in -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/version.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tux/claws-mail/master/src/plugins/litehtml_viewer/version.rc.in -------------------------------------------------------------------------------- /src/common/tests/mock_prefs_common_get_flush_metadata.h: -------------------------------------------------------------------------------- 1 | gboolean prefs_common_get_flush_metadata(void) 2 | { 3 | return FALSE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /po/POTFILES.skip: -------------------------------------------------------------------------------- 1 | src/common/uuencode.c 2 | src/plugins/perl/perl_plugin.c 3 | src/plugins/vcalendar/libical/libical/icalyacc.c 4 | src/quote_fmt_parse.c 5 | -------------------------------------------------------------------------------- /src/tests/mock_debug_print.h: -------------------------------------------------------------------------------- 1 | void debug_print_real (const gchar *format, ...) { return; } 2 | const char *debug_srcname(const char *file) { return NULL; } 3 | -------------------------------------------------------------------------------- /src/plugins/rssyl/libfeed/tests/mock_procheader_date_parse.h: -------------------------------------------------------------------------------- 1 | time_t 2 | procheader_date_parse (gchar *dest, 3 | const gchar *src, 4 | gint len) 5 | { 6 | return 1; 7 | } 8 | -------------------------------------------------------------------------------- /tools/check-appstream.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exec 2>&1 3 | files=`find $(dirname $(readlink -f $0))/../ -regextype posix-extended -regex "^.*\.(metainfo|appdata).xml(.in)?"` 4 | appstream-util validate ${files} 5 | -------------------------------------------------------------------------------- /tools/google_msgid.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | my $browser = 'mozilla'; 3 | my $google_id = 'http://groups.google.com/groups?as_umsgid'; 4 | $_ = <>; 5 | chomp; 6 | s/<|>//eg; 7 | system("$browser '$google_id=$_' &"); 8 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/TODO: -------------------------------------------------------------------------------- 1 | - Add support for printing 2 | 3 | Images: 4 | https://developer.gnome.org/gio/unstable/GMemoryInputStream.html#g-memory-input-stream-new-from-data 5 | http://darcs.cielonegro.org/gtktwitter/gtktwitter.c 6 | -------------------------------------------------------------------------------- /src/plugins/rssyl/libfeed/date.h: -------------------------------------------------------------------------------- 1 | #ifndef __DATE_H 2 | #define __DATE_H 3 | 4 | #include 5 | #include 6 | 7 | time_t parseISO8601Date(gchar *date); 8 | gchar *createRFC822Date(const time_t *time); 9 | 10 | #endif /* __DATE_H */ 11 | -------------------------------------------------------------------------------- /m4/README: -------------------------------------------------------------------------------- 1 | If you encountered errors like: 2 | 3 | aclocal: configure.in: ??: macro `AM_SOMETHING' not found in library 4 | 5 | when executing autogen.sh, copy the corresponding m4 files in the missing/ 6 | directory into here (or install the development packages). 7 | -------------------------------------------------------------------------------- /manual/en/gpl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Gnu General Public License 4 | See http://www.gnu.org/licenses/gpl.html. 5 | 6 | 7 | -------------------------------------------------------------------------------- /manual/pl/gpl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Gnu General Public License 4 | See http://www.gnu.org/licenses/gpl.html. 5 | 6 | 7 | -------------------------------------------------------------------------------- /manual/fr/gpl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Gnu General Public License 4 | See http://www.gnu.org/licenses/gpl.html. 5 | 6 | 7 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | SUBDIRS = man 7 | 8 | .PHONY: test 9 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/css_borders.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "borders.h" 3 | 4 | litehtml::string litehtml::css_border::to_string() const 5 | { 6 | return width.to_string() + "/" + index_value(style, border_style_strings) + "/" + color.to_string(); 7 | } 8 | -------------------------------------------------------------------------------- /tools/multiwebsearch.conf: -------------------------------------------------------------------------------- 1 | cpan|http://search.cpan.org/search?mode=module&query= 2 | ddg|https://duckduckgo.com/?q= 3 | rfc|http://www.ietf.org/rfc/rfc|.txt 4 | sf|http://sourceforge.net/search/?type_of_search=soft&words= 5 | usenet|http://groups.google.com/groups?q=|&meta=site%3Dgroups 6 | -------------------------------------------------------------------------------- /src/gtk/claws-marshal.list: -------------------------------------------------------------------------------- 1 | VOID:POINTER 2 | VOID:INT,POINTER 3 | VOID:OBJECT,OBJECT 4 | VOID:INT,INT,BOXED 5 | VOID:INT,INT 6 | VOID:INT 7 | VOID:VOID 8 | VOID:VOID,VOID 9 | VOID:ENUM,FLOAT,BOOLEAN 10 | VOID:ENUM,FLOAT 11 | VOID:POINTER,INT 12 | VOID:POINTER,POINTER,POINTER 13 | VOID:ENUM 14 | -------------------------------------------------------------------------------- /manual/it/gpl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Licenza Pubblica Generale Gnu (GNU General Public License) 4 | Vedi http://www.gnu.org/licenses/gpl.html. 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_break.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_break.h" 3 | 4 | litehtml::el_break::el_break(const std::shared_ptr& doc) : html_tag(doc) 5 | { 6 | 7 | } 8 | 9 | bool litehtml::el_break::is_break() const 10 | { 11 | return true; 12 | } 13 | 14 | -------------------------------------------------------------------------------- /manual/es/gpl.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Licencia pública general de GNU (GNU General Public License) 4 | 5 | Vea http://www.gnu.org/licenses/gpl.html. 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_body.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_body.h" 3 | #include "document.h" 4 | 5 | litehtml::el_body::el_body(const std::shared_ptr& doc) : litehtml::html_tag(doc) 6 | { 7 | } 8 | 9 | bool litehtml::el_body::is_body() const 10 | { 11 | return true; 12 | } 13 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/litehtml.h: -------------------------------------------------------------------------------- 1 | #ifndef LITEHTML_H 2 | #define LITEHTML_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include 9 | #include 10 | 11 | #endif // LITEHTML_H 12 | -------------------------------------------------------------------------------- /doc/man/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | man_MANS = \ 7 | claws-mail.1 8 | 9 | EXTRA_DIST = $(man_MANS) 10 | 11 | .PHONY: test 12 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_base.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_base.h" 3 | #include "document.h" 4 | 5 | litehtml::el_base::el_base(const std::shared_ptr& doc) : html_tag(doc) 6 | { 7 | 8 | } 9 | 10 | void litehtml::el_base::parse_attributes() 11 | { 12 | get_document()->container()->set_base_url(get_attr("href")); 13 | } 14 | -------------------------------------------------------------------------------- /src/pixmaps/clip.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * clip_xpm[] = { 3 | "12 12 2 1", 4 | " c None", 5 | ". c #000000", 6 | " ... ", 7 | " . . ", 8 | " . . ", 9 | " .. .. ", 10 | " .. .. ", 11 | " .. .. ", 12 | " .. .. ", 13 | " . .. . ", 14 | " . . ", 15 | " . . ", 16 | " .... ", 17 | " "}; 18 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_td.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_TD_H 2 | #define LH_EL_TD_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_td : public html_tag 9 | { 10 | public: 11 | explicit el_td(const std::shared_ptr& doc); 12 | 13 | void parse_attributes() override; 14 | }; 15 | } 16 | 17 | #endif // LH_EL_TD_H 18 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_tr.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_TR_H 2 | #define LH_EL_TR_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_tr : public html_tag 9 | { 10 | public: 11 | explicit el_tr(const std::shared_ptr& doc); 12 | 13 | void parse_attributes() override; 14 | }; 15 | } 16 | 17 | #endif // LH_EL_TR_H 18 | -------------------------------------------------------------------------------- /src/pixmaps/key.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * key_xpm[] = { 3 | "12 12 3 1", 4 | " c None", 5 | ". c #040204", 6 | "+ c #FCFE04", 7 | " ", 8 | " ", 9 | " ", 10 | " ", 11 | " ", 12 | " ... ", 13 | " .+++.", 14 | " .....++++.", 15 | " .+++++++.+.", 16 | " .+.+.++++.", 17 | " . . .+++.", 18 | " ... "}; 19 | -------------------------------------------------------------------------------- /src/pixmaps/mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * mark_xpm[] = { 3 | "12 12 3 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #000000", 7 | " ", 8 | " .. ", 9 | " .+. ", 10 | " .++. ", 11 | " .. .+++. ", 12 | " .+. .+++. ", 13 | " .++.+++. ", 14 | " .+++++. ", 15 | " .+++. ", 16 | " .+. ", 17 | " . ", 18 | " "}; 19 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_body.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_BODY_H 2 | #define LH_EL_BODY_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_body : public html_tag 9 | { 10 | public: 11 | explicit el_body(const std::shared_ptr& doc); 12 | 13 | bool is_body() const override; 14 | }; 15 | } 16 | 17 | #endif // LH_EL_BODY_H 18 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_div.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_DIV_H 2 | #define LH_EL_DIV_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_div : public html_tag 9 | { 10 | public: 11 | explicit el_div(const std::shared_ptr& doc); 12 | 13 | void parse_attributes() override; 14 | }; 15 | } 16 | 17 | #endif // LH_EL_DIV_H 18 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_base.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_BASE_H 2 | #define LH_EL_BASE_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_base : public html_tag 9 | { 10 | public: 11 | explicit el_base(const std::shared_ptr& doc); 12 | 13 | void parse_attributes() override; 14 | }; 15 | } 16 | 17 | #endif // LH_EL_BASE_H 18 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_font.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_FONT_H 2 | #define LH_EL_FONT_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_font : public html_tag 9 | { 10 | public: 11 | explicit el_font(const std::shared_ptr& doc); 12 | 13 | void parse_attributes() override; 14 | }; 15 | } 16 | 17 | #endif // LH_EL_FONT_H 18 | -------------------------------------------------------------------------------- /src/pixmaps/clipkey.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * clipkey_xpm[] = { 3 | "12 12 3 1", 4 | " c None", 5 | ". c #040204", 6 | "+ c #FCFE04", 7 | " ... ", 8 | " . . ", 9 | " . . ", 10 | " .. .. ", 11 | " .. .. ", 12 | " .. .... ", 13 | " .. .+++.", 14 | " .....++++.", 15 | " .+++++++.+.", 16 | " .+.+.++++.", 17 | " .....+++.", 18 | " ... "}; 19 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_break.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_BREAK_H 2 | #define LH_EL_BREAK_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_break : public html_tag 9 | { 10 | public: 11 | explicit el_break(const std::shared_ptr& doc); 12 | 13 | bool is_break() const override; 14 | }; 15 | } 16 | 17 | #endif // LH_EL_BREAK_H 18 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_para.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_PARA_H 2 | #define LH_EL_PARA_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_para : public html_tag 9 | { 10 | public: 11 | explicit el_para(const std::shared_ptr& doc); 12 | 13 | void parse_attributes() override; 14 | 15 | }; 16 | } 17 | 18 | #endif // LH_EL_PARA_H 19 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_link.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_LINK_H 2 | #define LH_EL_LINK_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_link : public html_tag 9 | { 10 | public: 11 | explicit el_link(const std::shared_ptr& doc); 12 | 13 | protected: 14 | void parse_attributes() override; 15 | }; 16 | } 17 | 18 | #endif // LH_EL_LINK_H 19 | -------------------------------------------------------------------------------- /src/tests/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/tests.mk 2 | 3 | common_ldadd = \ 4 | $(GLIB_LIBS) 5 | 6 | AM_CPPFLAGS = \ 7 | $(GLIB_CFLAGS) \ 8 | -I$(top_srcdir)/src \ 9 | -I$(top_srcdir)/src/common 10 | 11 | TEST_PROGS += entity_test 12 | entity_test_SOURCES = entity_test.c 13 | entity_test_LDADD = $(common_ldadd) ../entity.o 14 | 15 | noinst_PROGRAMS = $(TEST_PROGS) 16 | 17 | .PHONY: test 18 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_title.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_title.h" 3 | #include "document.h" 4 | 5 | litehtml::el_title::el_title(const std::shared_ptr& doc) : html_tag(doc) 6 | { 7 | 8 | } 9 | 10 | void litehtml::el_title::parse_attributes() 11 | { 12 | string text; 13 | get_text(text); 14 | get_document()->container()->set_caption(text.c_str()); 15 | } 16 | 17 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_title.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_TITLE_H 2 | #define LH_EL_TITLE_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_title : public html_tag 9 | { 10 | public: 11 | explicit el_title(const std::shared_ptr& doc); 12 | 13 | protected: 14 | void parse_attributes() override; 15 | }; 16 | } 17 | 18 | #endif // LH_EL_TITLE_H 19 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_div.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_div.h" 3 | 4 | 5 | litehtml::el_div::el_div(const document::ptr& doc) : html_tag(doc) 6 | { 7 | 8 | } 9 | 10 | void litehtml::el_div::parse_attributes() 11 | { 12 | const char* str = get_attr("align"); 13 | if(str) 14 | { 15 | m_style.add_property(_text_align_, str); 16 | } 17 | html_tag::parse_attributes(); 18 | } 19 | -------------------------------------------------------------------------------- /src/plugins/rssyl/tests/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/tests.mk 2 | 3 | common_ldadd = \ 4 | $(GLIB_LIBS) 5 | 6 | AM_CPPFLAGS = \ 7 | $(GLIB_CFLAGS) \ 8 | -I.. \ 9 | -I$(top_srcdir)/src 10 | 11 | TEST_PROGS += strutils_test 12 | strutils_test_SOURCES = strutils_test.c 13 | strutils_test_LDADD = $(common_ldadd) ../rssyl_la-strutils.o 14 | 15 | noinst_PROGRAMS = $(TEST_PROGS) 16 | 17 | .PHONY: test 18 | -------------------------------------------------------------------------------- /tools/kdeservicemenu/claws-mail-attach-files.desktop.template: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Actions=AttachFiles; 3 | Comment=kde service menu for attaching files to Claws Mail 4 | Encoding=UTF8 5 | Name=Claws Mail attach files 6 | ServiceTypes=all/allfiles 7 | X-KDE-Priority=TopLevel 8 | X-KDE-Submenu=Claws Mail 9 | 10 | [Desktop Action AttachFiles] 11 | Exec=SCRIPT_PATH %F 12 | Icon=claws-mail 13 | Name=Attach File(s) 14 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/num_cvt.h: -------------------------------------------------------------------------------- 1 | #ifndef NUM_CVT_H 2 | #define NUM_CVT_H 3 | 4 | #include 5 | #include "os_types.h" 6 | 7 | namespace litehtml 8 | { 9 | namespace num_cvt 10 | { 11 | string to_latin_lower(int val); 12 | string to_latin_upper(int val); 13 | string to_greek_lower(int val); 14 | string to_roman_lower(int value); 15 | string to_roman_upper(int value); 16 | } 17 | } 18 | 19 | #endif // NUM_CVT_H -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_cdata.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_cdata.h" 3 | 4 | litehtml::el_cdata::el_cdata(const std::shared_ptr& doc) : element(doc) 5 | { 6 | //m_skip = true; 7 | } 8 | 9 | void litehtml::el_cdata::get_text( string& text ) 10 | { 11 | text += m_text; 12 | } 13 | 14 | void litehtml::el_cdata::set_data( const char* data ) 15 | { 16 | if(data) 17 | { 18 | m_text += data; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_para.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_para.h" 3 | #include "document.h" 4 | 5 | litehtml::el_para::el_para(const std::shared_ptr& doc) : html_tag(doc) 6 | { 7 | } 8 | 9 | void litehtml::el_para::parse_attributes() 10 | { 11 | const char* str = get_attr("align"); 12 | if(str) 13 | { 14 | m_style.add_property(_text_align_, str); 15 | } 16 | 17 | html_tag::parse_attributes(); 18 | } 19 | -------------------------------------------------------------------------------- /src/pixmaps/doc_index_close.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * doc_index_close_xpm[] = { 3 | "14 14 2 1", 4 | " c None", 5 | ". c #000000", 6 | " ", 7 | " ", 8 | " ... ... ", 9 | " ... ... ", 10 | " ... ... ", 11 | " ..... ", 12 | " ..... ", 13 | " ... ", 14 | " ..... ", 15 | " ..... ", 16 | " ... ... ", 17 | " ... ... ", 18 | " ... ... ", 19 | " "}; 20 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_cdata.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_CDATA_H 2 | #define LH_EL_CDATA_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_cdata : public element 9 | { 10 | string m_text; 11 | public: 12 | explicit el_cdata(const std::shared_ptr& doc); 13 | 14 | void get_text(string& text) override; 15 | void set_data(const char* data) override; 16 | }; 17 | } 18 | 19 | #endif // LH_EL_CDATA_H 20 | -------------------------------------------------------------------------------- /tools/kdeservicemenu/claws-mail-attach-files.desktop.kde4template: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Service 3 | Actions=AttachFiles; 4 | Comment=kde service menu for attaching files to Claws Mail 5 | Encoding=UTF8 6 | Name=Claws Mail attach files 7 | ServiceTypes=KonqPopupMenu/Plugin,all/allfiles 8 | X-KDE-Priority=TopLevel 9 | X-KDE-Submenu=Claws Mail 10 | 11 | [Desktop Action AttachFiles] 12 | Exec=SCRIPT_PATH %F 13 | Icon=claws-mail 14 | Name=Attach File(s) 15 | -------------------------------------------------------------------------------- /src/pixmaps/spam.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * spam_xpm[] = { 3 | "12 12 7 1", 4 | " c None", 5 | ". c #606060", 6 | "+ c #130303", 7 | "@ c #454343", 8 | "# c #000000", 9 | "$ c #0A0A0A", 10 | "% c #FFD10D", 11 | " ", 12 | " .++++. ", 13 | " @#####$@ ", 14 | " .########. ", 15 | " +##%##%##+ ", 16 | " +########+ ", 17 | " +########+ ", 18 | " +###%%###+ ", 19 | " .##%##%##. ", 20 | " @######@ ", 21 | " .++++. ", 22 | " "}; 23 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_anchor.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_ANCHOR_H 2 | #define LH_EL_ANCHOR_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_anchor : public html_tag 9 | { 10 | public: 11 | explicit el_anchor(const std::shared_ptr& doc); 12 | 13 | void on_click() override; 14 | void apply_stylesheet(const litehtml::css& stylesheet) override; 15 | }; 16 | } 17 | 18 | #endif // LH_EL_ANCHOR_H 19 | -------------------------------------------------------------------------------- /src/pixmaps/copied.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * copied_xpm[] = { 3 | "12 12 7 1", 4 | " c None", 5 | ". c #020601", 6 | "+ c #0A2307", 7 | "@ c #0A2407", 8 | "# c #3CD52C", 9 | "$ c #FFFFFF", 10 | "% c #57DB49", 11 | " ", 12 | " .+@++++@+. ", 13 | " +########@ ", 14 | " +########+ ", 15 | " +########@ ", 16 | " @#$$%%$$#@ ", 17 | " +#$$%%$$#+ ", 18 | " @########@ ", 19 | " +########@ ", 20 | " +########+ ", 21 | " .@@@@@@@@. ", 22 | " "}; 23 | -------------------------------------------------------------------------------- /src/pixmaps/replied.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * replied_xpm[] = { 3 | "12 12 7 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #FFFFFF", 7 | "@ c #990000", 8 | "# c #EFEFEF", 9 | "$ c #CCCCCC", 10 | "% c #7F0000", 11 | " ", 12 | " ", 13 | " ......... ", 14 | " .+++++++. ", 15 | " .+@@@@#$. ", 16 | " .+@@@##$. ", 17 | " .+@@@@#$. ", 18 | " .+@#@@%$. ", 19 | " .+###%%$. ", 20 | " .+$$$$$$. ", 21 | " ......... ", 22 | " "}; 23 | -------------------------------------------------------------------------------- /claws-mail.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | pkglibdir=${libdir}/@PACKAGE@ 7 | pkgincludedir=${includedir}/@PACKAGE@ 8 | plugindir=${pkglibdir}/plugins 9 | 10 | Name: Claws Mail 11 | Description: Claws Mail 12 | Version: @MAJOR_VERSION@.@MINOR_VERSION@.@MICRO_VERSION@.@EXTRA_VERSION@ 13 | 14 | Cflags: -I${pkgincludedir}/common -I${pkgincludedir}/gtk @ENCHANT_CFLAGS@ @GPGME_CFLAGS@ -I${pkgincludedir} 15 | -------------------------------------------------------------------------------- /src/pixmaps/doc_index.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * doc_index_xpm[] = { 3 | "14 14 4 1", 4 | " c None", 5 | ". c #1F0000", 6 | "+ c #4D0202", 7 | "@ c #000000", 8 | "........ ", 9 | ".++++++. ", 10 | ".+@@@@@@ ", 11 | ".+@ @ ", 12 | ".+@ @ ", 13 | ".+@ @ ", 14 | "...@@@@@ ", 15 | " @@ @@@", 16 | " @@@@@@@@@@", 17 | " @@ @@@", 18 | " @@ ", 19 | " @@ @@@", 20 | " @@@@@@@@@@", 21 | " @@@"}; 22 | -------------------------------------------------------------------------------- /src/plugins/win_pgpcore.mk: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2022 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | if OS_WIN32 7 | plugin_extra_deps += ../pgpcore/.libs/pgpcore.dll.a 8 | plugin_ldflags += -Wl,-L../pgpcore/.libs -Wl,-lpgpcore 9 | endif 10 | 11 | if CYGWIN 12 | plugin_libadd += ../pgpcore/pgpcore.la 13 | endif 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/pixmaps/checkbox_off.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * checkbox_off_xpm[] = { 3 | "13 13 6 1", 4 | " c None", 5 | ". c #9D9D9D", 6 | "+ c #E0E0E0", 7 | "@ c #DADADA", 8 | "# c #F4F4F4", 9 | "$ c #FFFFFF", 10 | " ........... ", 11 | ".++++++++++@.", 12 | ".+#########$.", 13 | ".+#########$.", 14 | ".+#########$.", 15 | ".+#########$.", 16 | ".+#########$.", 17 | ".+#########$.", 18 | ".+#########$.", 19 | ".+#########$.", 20 | ".+#########$.", 21 | ".@$$$$$$$$$$.", 22 | " ........... "}; 23 | -------------------------------------------------------------------------------- /src/pixmaps/forwarded.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * forwarded_xpm[] = { 3 | "12 12 8 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #FFFFFF", 7 | "@ c #BBC2CC", 8 | "# c #576E87", 9 | "$ c #EFEFEF", 10 | "% c #CCCCCC", 11 | "& c #314E6C", 12 | " ", 13 | " ", 14 | " ......... ", 15 | " .+++++++. ", 16 | " .+@#$$$%. ", 17 | " .+#&&$&%. ", 18 | " .+$&&&&%. ", 19 | " .+$$&&&%. ", 20 | " .+$&&&&%. ", 21 | " .+%%%%%%. ", 22 | " ......... ", 23 | " "}; 24 | -------------------------------------------------------------------------------- /get-git-version: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | if test -d .git; then 3 | git=`command -v git` 4 | if test -x "$git"; then 5 | version=`git describe --abbrev=6 --dirty --always` 6 | echo "echo $version" > ./version 7 | else 8 | echo "Error: *** git not found. See http://git-scm.com/" 9 | exit 1 10 | fi 11 | elif test -s ./version; then 12 | version=`sh -c ". ./version"` 13 | else 14 | echo "Error: *** invalid tree. Neither '.git' nor 'version' were found" 15 | exit 1 16 | fi 17 | echo -n $version 18 | -------------------------------------------------------------------------------- /src/pixmaps/replied_and_forwarded.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * replied_and_forwarded_xpm[] = { 3 | "12 12 8 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #FFFFFF", 7 | "@ c #990000", 8 | "# c #EFEFEF", 9 | "$ c #CCCCCC", 10 | "% c #990085", 11 | "& c #314E6C", 12 | " ", 13 | " ", 14 | " ......... ", 15 | " .+++++++. ", 16 | " .+@@@@#$. ", 17 | " .+@@%#&$. ", 18 | " .+@%%%&$. ", 19 | " .+@#%&&$. ", 20 | " .+#&&&&$. ", 21 | " .+$$$$$$. ", 22 | " ......... ", 23 | " "}; 24 | -------------------------------------------------------------------------------- /po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /src/plugins/rssyl/libfeed/tests/Makefile.am: -------------------------------------------------------------------------------- 1 | include $(top_srcdir)/tests.mk 2 | 3 | common_ldadd = \ 4 | $(GLIB_LIBS) \ 5 | $(EXPAT_LIBS) \ 6 | $(CURL_LIBS) 7 | 8 | AM_CPPFLAGS = \ 9 | $(GLIB_CFLAGS) \ 10 | -I.. 11 | 12 | TEST_PROGS += date_test 13 | date_test_SOURCES = date_test.c 14 | date_test_LDADD = $(common_ldadd) ../libfeed_la-date.o 15 | 16 | TEST_PROGS += feed_test 17 | feed_test_SOURCES = feed_test.c 18 | feed_test_LDADD = $(common_ldadd) ../libfeed.la 19 | 20 | noinst_PROGRAMS = $(TEST_PROGS) 21 | 22 | .PHONY: test 23 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_comment.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_comment.h" 3 | 4 | litehtml::el_comment::el_comment(const std::shared_ptr& doc) : element(doc) 5 | { 6 | //m_skip = true; 7 | } 8 | 9 | bool litehtml::el_comment::is_comment() const 10 | { 11 | return true; 12 | } 13 | 14 | void litehtml::el_comment::get_text( string& text ) 15 | { 16 | text += m_text; 17 | } 18 | 19 | void litehtml::el_comment::set_data( const char* data ) 20 | { 21 | if(data) 22 | { 23 | m_text += data; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_script.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_SCRIPT_H 2 | #define LH_EL_SCRIPT_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_script : public element 9 | { 10 | string m_text; 11 | public: 12 | explicit el_script(const std::shared_ptr& doc); 13 | 14 | void parse_attributes() override; 15 | bool appendChild(const ptr &el) override; 16 | string_id tag() const override; 17 | const char* get_tagName() const override; 18 | }; 19 | } 20 | 21 | #endif // LH_EL_SCRIPT_H 22 | -------------------------------------------------------------------------------- /claws-features.h.in: -------------------------------------------------------------------------------- 1 | #undef HAVE_DBUS_GLIB 2 | #undef HAVE_DIRENT_D_TYPE 3 | #undef HAVE_LIBCOMPFACE 4 | #undef HAVE_LIBETPAN 5 | #undef HAVE_LIBSM 6 | #undef HAVE_NETWORKMANAGER_SUPPORT 7 | #undef HAVE_STARTUP_NOTIFICATION 8 | #undef HAVE_VALGRIND 9 | #undef HAVE_SVG 10 | #undef USE_BOGOFILTER_PLUGIN 11 | #undef USE_ENCHANT 12 | #undef USE_GNUTLS 13 | #undef USE_GPGME 14 | #undef USE_JPILOT 15 | #undef USE_LDAP 16 | #undef USE_LDAP_TLS 17 | #undef USE_ALT_ADDRBOOK 18 | #undef USE_PTHREAD 19 | #undef USE_SPAMASSASSIN_PLUGIN 20 | #undef __CYGWIN__ 21 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_space.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_SPACE_H 2 | #define LH_EL_SPACE_H 3 | 4 | #include "html_tag.h" 5 | #include "el_text.h" 6 | 7 | namespace litehtml 8 | { 9 | class el_space : public el_text 10 | { 11 | public: 12 | el_space(const char* text, const std::shared_ptr& doc); 13 | 14 | bool is_white_space() const override; 15 | bool is_break() const override; 16 | bool is_space() const override; 17 | string dump_get_name() override; 18 | }; 19 | } 20 | 21 | #endif // LH_EL_SPACE_H 22 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_table.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_TABLE_H 2 | #define LH_EL_TABLE_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | struct col_info 9 | { 10 | int width; 11 | bool is_auto; 12 | }; 13 | 14 | 15 | class el_table : public html_tag 16 | { 17 | public: 18 | explicit el_table(const std::shared_ptr& doc); 19 | 20 | bool appendChild(const litehtml::element::ptr& el) override; 21 | void parse_attributes() override; 22 | }; 23 | } 24 | 25 | #endif // LH_EL_TABLE_H 26 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_style.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_STYLE_H 2 | #define LH_EL_STYLE_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_style : public element 9 | { 10 | elements_list m_children; 11 | public: 12 | explicit el_style(const std::shared_ptr& doc); 13 | 14 | void parse_attributes() override; 15 | bool appendChild(const ptr &el) override; 16 | string_id tag() const override; 17 | const char* get_tagName() const override; 18 | }; 19 | } 20 | 21 | #endif // LH_EL_STYLE_H 22 | -------------------------------------------------------------------------------- /appdata/claws-mail-gdata.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-gdata 5 | claws-mail.desktop 6 | GData 7 | <_summary>Provides an interface to Google services. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-fancy.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-fancy 5 | claws-mail.desktop 6 | Fancy 7 | <_summary>Renders HTML e-mail using the WebKit library. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-spam_report.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-spam_report 5 | claws-mail.desktop 6 | SpamReport 7 | <_summary>Reports spam to various places. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /src/plugins/python/examples/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2021 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | EXTRA_DIST = \ 7 | README.examples \ 8 | auto/shutdown \ 9 | auto/startup \ 10 | compose/Macro-Expansion \ 11 | main/Create-Tomboy-Note \ 12 | main/Mass-mail \ 13 | main/Open-Tomboy-Notes \ 14 | main/Print-action-names \ 15 | main/Recusively-mark-messages-as-read 16 | 17 | .PHONY: test 18 | -------------------------------------------------------------------------------- /tools/alternative-tlds.txt: -------------------------------------------------------------------------------- 1 | # NameCoin 2 | BIT 3 | # EmerCoin 4 | BAZAR 5 | COIN 6 | EMC 7 | LIB 8 | # Name.Space 9 | ART 10 | BOOKS 11 | CHAT 12 | DESIGN 13 | FILM 14 | HELP 15 | INC 16 | LAW 17 | MUSIC 18 | NEWS 19 | PRESS 20 | RADIO 21 | SHOP 22 | TALK 23 | UNION 24 | VIDEO 25 | WORLD 26 | ZONE 27 | # OpenNIC 28 | BBS 29 | DYN 30 | FREE 31 | FUR 32 | GEEK 33 | GOPHER 34 | INDY 35 | ING 36 | MICRO 37 | NEO 38 | NULL 39 | OSS 40 | OZ 41 | PARODY 42 | PIRATE 43 | # Tor Project 44 | ONION 45 | # GNU Name System 46 | GNU 47 | # Invisible Internet Project 48 | I2P 49 | -------------------------------------------------------------------------------- /appdata/claws-mail-archive.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-archive 5 | claws-mail.desktop 6 | Mail Archiver 7 | <_summary>Adds archiving features to Claws Mail. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-mailmbox.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-mailmbox 5 | claws-mail.desktop 6 | mailMBOX 7 | <_summary>Adds support for mailboxes in mbox format. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-att_remover.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-att_remover 5 | claws-mail.desktop 6 | AttRemover 7 | <_summary>Lets you remove attachments from emails. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-rssyl.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-rssyl 5 | claws-mail.desktop 6 | RSSyl 7 | <_summary>Read your favourite RSS 1.0, 2.0 and Atom feeds in Claws Mail. 8 | http://claws-mail.org/plugin.php?plugin=rssyl 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-pdf_viewer.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-pdf_viewer 5 | claws-mail.desktop 6 | PDF Viewer 7 | <_summary>Enables viewing PDF and PostScript attachments. 8 | http://claws-mail.org/plugin.php?plugin=pdf_viewer 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-tnef_parse.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-tnef_parse 5 | claws-mail.desktop 6 | TNEF parse 7 | <_summary>Enables reading application/ms-tnef attachments. 8 | http://claws-mail.org/plugin.php?plugin=tnef_parser 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_open.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_open_xpm[] = { 3 | "16 16 6 1", 4 | " c None", 5 | ". c #020204", 6 | "+ c #A9A9AA", 7 | "@ c #F3F3F1", 8 | "# c #636364", 9 | "$ c #920A0C", 10 | " $ ", 11 | " $$$ . ", 12 | " $$$ ..+. ", 13 | " $$$+$+@. ", 14 | " ..$$$$#@@. ", 15 | "..+++$$$+#@@. ", 16 | ".@.+$$$$@@#@@. ", 17 | ".@@.++@@@@@#@@. ", 18 | ".@@@.++@@@@@#@+.", 19 | " .@@@.+++@@@@#@.", 20 | " .@@@.++@@@@+#.", 21 | " .@@@.++@++++.", 22 | " .@@+#++++.. ", 23 | " .@@.++.. ", 24 | " .@... ", 25 | " .. "}; 26 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_close.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_close_xpm[] = { 3 | "16 16 6 1", 4 | " c None", 5 | ". c #020204", 6 | "+ c #A9A9AA", 7 | "@ c #F3F3F1", 8 | "# c #636364", 9 | "$ c #920A0C", 10 | " $ ", 11 | " $$$ . ", 12 | " $$$ ..+. ", 13 | " $$$+$+@. ", 14 | " ..$$$$#@@. ", 15 | "..+++$$$+#@@. ", 16 | ".@.+$$$$@@#@@. ", 17 | ".@@.++@@@@@#@@. ", 18 | ".@@@.++@@@@@#@+.", 19 | " .@@@.+++@@@@#@.", 20 | " .@@@.++@@@@+#.", 21 | " .@@@.++@++++.", 22 | " .@@+#++++.. ", 23 | " .@@.++.. ", 24 | " .@... ", 25 | " .. "}; 26 | -------------------------------------------------------------------------------- /appdata/claws-mail-acpi_notifier.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-acpi_notifier 5 | claws-mail.desktop 6 | AcpiNotifier 7 | <_summary>Enables mail notification via LEDs on some laptops. 8 | http://claws-mail.org/plugin.php?plugin=acpinotifier 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-address_keeper.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-address_keeper 5 | claws-mail.desktop 6 | AddressKeeper 7 | <_summary>Keeps all recipient addresses in a designated addressbook folder. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-newmail.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-newmail 5 | claws-mail.desktop 6 | NewMail 7 | <_summary>Writes a message header summary to a log file on arrival of new mail after sorting. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_close_hrm.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_close_hrm_xpm[] = { 3 | "16 16 6 1", 4 | " c None", 5 | ". c #9B0007", 6 | "+ c #050000", 7 | "@ c #FD5484", 8 | "# c #FEC9D8", 9 | "$ c #B41133", 10 | " . ", 11 | " ... + ", 12 | " ... ++@+ ", 13 | " ...@.@#+ ", 14 | " ++....$##+ ", 15 | "++@@@...@$##+ ", 16 | "+#+@....##$##+ ", 17 | "+##+@@#####$##+ ", 18 | "+###+@@#####$#@+", 19 | " +###+@@@####$#+", 20 | " +###+@@####@$+", 21 | " +###+@@#@@@@+", 22 | " +##@$@@@@++ ", 23 | " +##+@@++ ", 24 | " +#+++ ", 25 | " ++ "}; 26 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_open_hrm.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_open_hrm_xpm[] = { 3 | "16 16 6 1", 4 | " c None", 5 | ". c #9B0007", 6 | "+ c #050000", 7 | "@ c #FD5484", 8 | "# c #FEC9D8", 9 | "$ c #B41133", 10 | " . ", 11 | " ... + ", 12 | " ... ++@+ ", 13 | " ...@.@#+ ", 14 | " ++....$##+ ", 15 | "++@@@...@$##+ ", 16 | "+#+@....##$##+ ", 17 | "+##+@@#####$##+ ", 18 | "+###+@@#####$#@+", 19 | " +###+@@@####$#+", 20 | " +###+@@####@$+", 21 | " +###+@@#@@@@+", 22 | " +##@$@@@@++ ", 23 | " +##+@@++ ", 24 | " +#+++ ", 25 | " ++ "}; 26 | -------------------------------------------------------------------------------- /appdata/claws-mail-clamd.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-clamd 5 | claws-mail.desktop 6 | Clamd 7 | <_summary>Scans all messages that are received from an IMAP, LOCAL or POP account using clamd (Clam AV). 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /src/plugins/rssyl/libfeed/parser_opml.h: -------------------------------------------------------------------------------- 1 | #ifndef __PARSER_OPML 2 | #define __PARSER_OPML 3 | 4 | #include 5 | 6 | typedef void (*OPMLProcessFunc) (gchar *title, gchar *url, gint depth, 7 | gpointer data); 8 | 9 | struct _OPMLProcessCtx { 10 | XML_Parser parser; 11 | guint depth; 12 | guint prevdepth; 13 | GString *str; 14 | OPMLProcessFunc user_function; 15 | gboolean body_reached; 16 | gpointer user_data; 17 | }; 18 | 19 | typedef struct _OPMLProcessCtx OPMLProcessCtx; 20 | 21 | void opml_process(gchar *path, OPMLProcessFunc function, gpointer data); 22 | 23 | #endif /* __PARSER_OPML */ 24 | -------------------------------------------------------------------------------- /appdata/claws-mail-bsfilter.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-bsfilter 5 | claws-mail.desktop 6 | BSfilter 7 | <_summary>Check all messages that are received from an IMAP, LOCAL or POP account for spam using Bsfilter. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-fetchinfo.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-fetchinfo 5 | claws-mail.desktop 6 | Fetchinfo 7 | <_summary>Inserts headers containing: UIDL, Claws' account name, POP server, user ID and retrieval time. 8 | http://claws-mail.org/plugins.php 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-notification.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-notification 5 | claws-mail.desktop 6 | Notification 7 | <_summary>Provides various ways to notify the user of new and unread email. 8 | http://claws-mail.org/plugin.php?plugin=notification 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-pgpcore.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-pgpcore 5 | claws-mail.desktop 6 | PGP/Core 7 | <_summary>Handles core PGP functions and is a dependency of both the PGP/Inline and PGP/MIME plugins. 8 | http://claws-mail.org/plugin.php?plugin=gpg 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /src/pixmaps/tray_nomail.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_nomail_xpm[] = { 3 | "16 16 7 1", 4 | " c None", 5 | ". c #585858", 6 | "+ c #A0A0A0", 7 | "@ c #C3C3C3", 8 | "# c #DCDCDC", 9 | "$ c #FFFFFF", 10 | "% c #808080", 11 | " ", 12 | " ", 13 | " ", 14 | " ........ ", 15 | " .+@######. ", 16 | " .++@@@@@@@+. ", 17 | " .++@@@@@@@@@+. ", 18 | "....@@@@@@@@....", 19 | ".$@+.@@@@@@.++%.", 20 | ".$@+.@@@@@@.++%.", 21 | ".$@+.@@@@@@.++%.", 22 | ".$@++......+++%.", 23 | ".$@+++++++++++%.", 24 | ".$@+++++++++++%.", 25 | " .@+++++++++++. ", 26 | " ............ "}; 27 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/css_position.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_CSS_POSITION_H 2 | #define LH_CSS_POSITION_H 3 | 4 | #include "css_length.h" 5 | 6 | namespace litehtml 7 | { 8 | struct css_position 9 | { 10 | css_length x; 11 | css_length y; 12 | css_length width; 13 | css_length height; 14 | }; 15 | 16 | struct css_size 17 | { 18 | css_length width; 19 | css_length height; 20 | 21 | css_size() = default; 22 | css_size(css_length width, css_length height) : width(width), height(height) {} 23 | }; 24 | 25 | using size_vector = std::vector; 26 | } 27 | 28 | #endif // LH_CSS_POSITION_H 29 | -------------------------------------------------------------------------------- /src/plugins/rssyl/libfeed/Makefile.am: -------------------------------------------------------------------------------- 1 | if BUILD_RSSYL_PLUGIN 2 | noinst_LTLIBRARIES = libfeed.la 3 | 4 | if BUILD_TESTS 5 | include $(top_srcdir)/tests.mk 6 | SUBDIRS = . tests 7 | endif 8 | 9 | endif 10 | 11 | libfeed_la_CPPFLAGS = \ 12 | -Wall \ 13 | $(GLIB_CFLAGS) \ 14 | -I$(top_srcdir)/src 15 | 16 | libfeed_la_SOURCES = \ 17 | date.c date.h \ 18 | feed.c feed.h \ 19 | feeditem.c feeditem.h \ 20 | feeditemenclosure.c feeditemenclosure.h \ 21 | parser.c parser.h \ 22 | parser_atom10.c parser_atom10.h \ 23 | parser_opml.c parser_opml.h \ 24 | parser_rdf.c parser_rdf.h \ 25 | parser_rss20.c parser_rss20.h 26 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_open_hrm.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_open_hrm_xpm[] = { 3 | "16 16 7 1", 4 | " c None", 5 | ". c #050000", 6 | "+ c #152658", 7 | "@ c #FE3569", 8 | "# c #FEC9D8", 9 | "$ c #B21133", 10 | "% c #FE6993", 11 | " ", 12 | " . ++++", 13 | " ..@. +++", 14 | " ..@@@#. ++++", 15 | " ..@@@@$##+++ +", 16 | "..@@@@$$%$+++ ", 17 | ".#.@$$%##+++#. ", 18 | ".##.@%####+$##. ", 19 | ".###.%%#####$#@.", 20 | " .###.%%#####$#.", 21 | " .###.%%####%$.", 22 | " .###.%##%%%@.", 23 | " .##@$%%%@.. ", 24 | " .##.%@.. ", 25 | " .#... ", 26 | " .. "}; 27 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_close_hrm.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_close_hrm_xpm[] = { 3 | "16 16 7 1", 4 | " c None", 5 | ". c #050000", 6 | "+ c #152658", 7 | "@ c #FE3569", 8 | "# c #FEC9D8", 9 | "$ c #B21133", 10 | "% c #FE6993", 11 | " ", 12 | " . ++++", 13 | " ..@. +++", 14 | " ..@@@#. ++++", 15 | " ..@@@@$##+++ +", 16 | "..@@@@$$%$+++ ", 17 | ".#.@$$%##+++#. ", 18 | ".##.@%####+$##. ", 19 | ".###.%%#####$#@.", 20 | " .###.%%#####$#.", 21 | " .###.%%####%$.", 22 | " .###.%##%%%@.", 23 | " .##@$%%%@.. ", 24 | " .##.%@.. ", 25 | " .#... ", 26 | " .. "}; 27 | -------------------------------------------------------------------------------- /appdata/claws-mail-perl.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-perl 5 | claws-mail.desktop 6 | Perl 7 | <_summary>Provides a Perl interface to Claws Mail's filtering mechanism, allowing the use of 8 | full Perl power in email filters. 9 | http://claws-mail.org/plugins.php 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/pixmaps/tray_newmarkedmail.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_newmarkedmail_xpm[] = { 3 | "16 16 7 1", 4 | " c None", 5 | ". c #FF0000", 6 | "+ c #FFFFFF", 7 | "@ c #A0A0A0", 8 | "# c #DE3636", 9 | "$ c #C3C3C3", 10 | "% c #808080", 11 | " . ", 12 | " .+. ", 13 | " .+.+. ", 14 | " .+...+. ", 15 | " .+++.+++. ", 16 | " .+++++++++. ", 17 | " .++++@++@+++. ", 18 | "####++@++@++####", 19 | "#+$@#+++@++#@@%#", 20 | "#+$@#++@+++#@@%#", 21 | "#+$@#+@+++.#@@%#", 22 | "#+$@@######@@@%#", 23 | "#+$@@@@@@@@@@@%#", 24 | "#+$@@@@@@@@@@@%#", 25 | " #$@@@@@@@@@@@# ", 26 | " ############ "}; 27 | -------------------------------------------------------------------------------- /appdata/claws-mail-smime.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-smime 5 | claws-mail.desktop 6 | S/MIME 7 | <_summary>Handles S/MIME signed and encrypted mails. You can decrypt mails, verify 8 | signatures and sign and encrypt your own mails. 9 | http://claws-mail.org/plugins.php 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_close.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_close_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #020204", 6 | "+ c #99999B", 7 | "@ c #E5E5E3", 8 | "# c #024A6C", 9 | "$ c #626263", 10 | "% c #FDFDFB", 11 | "& c #B4B4B4", 12 | " ", 13 | " . ####", 14 | " ..+. ###", 15 | " ..+++%. ####", 16 | " ..++++$%%### #", 17 | "..++++$$&$### ", 18 | ".%.+$$&@@###%. ", 19 | ".%%.+&@@@@#$%%. ", 20 | ".%%%.&&@@@@@$%+.", 21 | " .%%%.&&@@@@@$@.", 22 | " .%%%.&&@@@@&$.", 23 | " .%%%.&@@&&&+.", 24 | " .%%+$&&&+.. ", 25 | " .%@.&+.. ", 26 | " .%... ", 27 | " .. "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_open.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_open_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #020204", 6 | "+ c #99999B", 7 | "@ c #E5E5E3", 8 | "# c #024A6C", 9 | "$ c #626263", 10 | "% c #FDFDFB", 11 | "& c #B4B4B4", 12 | " ", 13 | " . ####", 14 | " ..+. ###", 15 | " ..+++%. ####", 16 | " ..++++$%%### #", 17 | "..++++$$&$### ", 18 | ".%.+$$&@@###%. ", 19 | ".%%.+&@@@@#$%%. ", 20 | ".%%%.&&@@@@@$%+.", 21 | " .%%%.&&@@@@@$@.", 22 | " .%%%.&&@@@@&$.", 23 | " .%%%.&@@&&&+.", 24 | " .%%+$&&&+.. ", 25 | " .%@.&+.. ", 26 | " .%... ", 27 | " .. "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/tray_newmail.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_newmail_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #FFFFFF", 7 | "@ c #FF0000", 8 | "# c #A0A0A0", 9 | "$ c #585858", 10 | "% c #C3C3C3", 11 | "& c #808080", 12 | " . ", 13 | " .+. ", 14 | " .+@+. ", 15 | " .+@@@+. ", 16 | " .+++@+++. ", 17 | " .+++++++++. ", 18 | " .++++#++#+++. ", 19 | "$$$$++#++#++$$$$", 20 | "$+%#$+++#++$##&$", 21 | "$+%#$++#+++$##&$", 22 | "$+%#$+#+++.$##&$", 23 | "$+%##$$$$$$###&$", 24 | "$+%###########&$", 25 | "$+%###########&$", 26 | " $%###########$ ", 27 | " $$$$$$$$$$$$ "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/tray_unreadmarkedmail.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_unreadmarkedmail_xpm[] = { 3 | "16 16 7 1", 4 | " c None", 5 | ". c #FF0000", 6 | "+ c #FFFFFF", 7 | "@ c #808080", 8 | "# c #DE3636", 9 | "$ c #C3C3C3", 10 | "% c #A0A0A0", 11 | " ", 12 | " ", 13 | " .............. ", 14 | " .++++++++++++. ", 15 | " .+@@@@++++..+. ", 16 | " .+++++++++..+. ", 17 | " .++++++++++++. ", 18 | "####++@@@@++####", 19 | "#+$%#++++++#%%@#", 20 | "#+$%#+++@@+#%%@#", 21 | "#+$%#++++++#%%@#", 22 | "#+$%%######%%%@#", 23 | "#+$%%%%%%%%%%%@#", 24 | "#+$%%%%%%%%%%%@#", 25 | " #$%%%%%%%%%%%# ", 26 | " ############ "}; 27 | -------------------------------------------------------------------------------- /appdata/claws-mail-python.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-python 5 | claws-mail.desktop 6 | Python 7 | <_summary>Provides Python integration features. Code can be entered into an embedded Python 8 | console or stored in scripts. 9 | http://claws-mail.org/plugin.php?plugin=python 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_open_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_open_mark_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #920A0C", 6 | "+ c #FFFFFF", 7 | "@ c #020204", 8 | "# c #000000", 9 | "$ c #A9A9AA", 10 | "% c #F3F3F1", 11 | "& c #636364", 12 | " . ++ ", 13 | " ... @ +#+ ", 14 | " ... @@$@ +##+ ", 15 | " ..++.$%+###+ ", 16 | " @@.+#+&+###+ ", 17 | "@@$$$+##+###+ ", 18 | "@%@$.+#####+%@ ", 19 | "@%%@$$+###+&%%@ ", 20 | "@%%%@$$+#+%%&%$@", 21 | " @%%%@$$+%%%%&%@", 22 | " @%%%@$$%%%%$&@", 23 | " @%%%@$$%$$$$@", 24 | " @%%$&$$$$@@ ", 25 | " @%%@$$@@ ", 26 | " @%@@@ ", 27 | " @@ "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/tray_unreadmail.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_unreadmail_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #FFFFFF", 7 | "@ c #808080", 8 | "# c #FF0000", 9 | "$ c #585858", 10 | "% c #C3C3C3", 11 | "& c #A0A0A0", 12 | " ", 13 | " ", 14 | " .............. ", 15 | " .++++++++++++. ", 16 | " .+@@@@++++##+. ", 17 | " .+++++++++##+. ", 18 | " .++++++++++++. ", 19 | "$$$$++@@@@++$$$$", 20 | "$+%&$++++++$&&@$", 21 | "$+%&$+++@@+$&&@$", 22 | "$+%&$++++++$&&@$", 23 | "$+%&&$$$$$$&&&@$", 24 | "$+%&&&&&&&&&&&@$", 25 | "$+%&&&&&&&&&&&@$", 26 | " $%&&&&&&&&&&&$ ", 27 | " $$$$$$$$$$$$ "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_close_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_close_mark_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #920A0C", 6 | "+ c #FFFFFF", 7 | "@ c #020204", 8 | "# c #000000", 9 | "$ c #A9A9AA", 10 | "% c #F3F3F1", 11 | "& c #636364", 12 | " . ++ ", 13 | " ... @ +#+ ", 14 | " ... @@$@ +##+ ", 15 | " ..++.$%+###+ ", 16 | " @@.+#+&+###+ ", 17 | "@@$$$+##+###+ ", 18 | "@%@$.+#####+%@ ", 19 | "@%%@$$+###+&%%@ ", 20 | "@%%%@$$+#+%%&%$@", 21 | " @%%%@$$+%%%%&%@", 22 | " @%%%@$$%%%%$&@", 23 | " @%%%@$$%$$$$@", 24 | " @%%$&$$$$@@ ", 25 | " @%%@$$@@ ", 26 | " @%@@@ ", 27 | " @@ "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_close_hrm_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_close_hrm_mark_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #9B0007", 6 | "+ c #FFFFFF", 7 | "@ c #050000", 8 | "# c #000000", 9 | "$ c #FD5484", 10 | "% c #FEC9D8", 11 | "& c #B41133", 12 | " . ++", 13 | " ... @ +#+", 14 | " ... @@$@ +##+", 15 | " ...++$%@+###+", 16 | " @@..+#+%+###+ ", 17 | "@@$$$.+##+###+ ", 18 | "@%@$..+#####+@ ", 19 | "@%%@$$%+###+%%@ ", 20 | "@%%%@$$%+#+%&%$@", 21 | " @%%%@$$$+%%%&%@", 22 | " @%%%@$$%%%%$&@", 23 | " @%%%@$$%$$$$@", 24 | " @%%$&$$$$@@ ", 25 | " @%%@$$@@ ", 26 | " @%@@@ ", 27 | " @@ "}; 28 | -------------------------------------------------------------------------------- /src/pixmaps/inbox_open_hrm_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * inbox_open_hrm_mark_xpm[] = { 3 | "16 16 8 1", 4 | " c None", 5 | ". c #9B0007", 6 | "+ c #FFFFFF", 7 | "@ c #050000", 8 | "# c #000000", 9 | "$ c #FD5484", 10 | "% c #FEC9D8", 11 | "& c #B41133", 12 | " . ++", 13 | " ... @ +#+", 14 | " ... @@$@ +##+", 15 | " ...++$%@+###+", 16 | " @@..+#+%+###+ ", 17 | "@@$$$.+##+###+ ", 18 | "@%@$..+#####+@ ", 19 | "@%%@$$%+###+%%@ ", 20 | "@%%%@$$%+#+%&%$@", 21 | " @%%%@$$$+%%%&%@", 22 | " @%%%@$$%%%%$&@", 23 | " @%%%@$$%$$$$@", 24 | " @%%$&$$$$@@ ", 25 | " @%%@$$@@ ", 26 | " @%@@@ ", 27 | " @@ "}; 28 | -------------------------------------------------------------------------------- /appdata/claws-mail-pgpmime.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-pgpmime 5 | claws-mail.desktop 6 | PGP/MIME 7 | <_summary>Handles PGP/MIME signed and encrypted mails. You can decrypt mails, verify signatures, 8 | and sign and encrypt your own mails. 9 | http://claws-mail.org/plugin.php?plugin=gpg 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/plugins/rssyl/old_feeds.h: -------------------------------------------------------------------------------- 1 | #ifndef __RSSYL_OLD_FEEDS 2 | #define __RSSYL_OLD_FEEDS 3 | 4 | struct _OldRFeed { 5 | gchar *name; 6 | gchar *official_name; 7 | gchar *url; 8 | gint default_refresh_interval; 9 | gint refresh_interval; 10 | gint expired_num; 11 | gint fetch_comments; 12 | gint fetch_comments_for; 13 | gint silent_update; 14 | gint ssl_verify_peer; 15 | }; 16 | 17 | typedef struct _OldRFeed OldRFeed; 18 | 19 | GSList *rssyl_old_feed_metadata_parse(gchar *filepath); 20 | void rssyl_old_feed_metadata_free(GSList *oldfeeds); 21 | OldRFeed *rssyl_old_feed_get_by_name(GSList *oldfeeds, gchar *name); 22 | 23 | #endif /* __RSSYL_OLD_FEEDS */ 24 | -------------------------------------------------------------------------------- /appdata/claws-mail-managesieve.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-managesieve 5 | claws-mail.desktop 6 | ManageSieve 7 | <_summary>Provides an interface for managing Sieve filters on IMAP servers. Those filters are used for server-side mail filtering. 8 | http://claws-mail.org/plugin.php?plugin=managesieve 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /appdata/claws-mail-pgpinline.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-pgpinline 5 | claws-mail.desktop 6 | PGP/Inline 7 | <_summary>Handles PGP/Inline signed and encrypted mails. You can decrypt mails, verify signatures, 8 | and sign and encrypt your own mails. 9 | http://claws-mail.org/plugin.php?plugin=gpg 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_open_hrm_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_open_hrm_mark_xpm[] = { 3 | "16 16 9 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #050000", 7 | "@ c #152658", 8 | "# c #000000", 9 | "$ c #FE3569", 10 | "% c #FEC9D8", 11 | "& c #B21133", 12 | "* c #FE6993", 13 | " ..", 14 | " + @.#.", 15 | " ++$+ .##.", 16 | " ++..$%+.###.", 17 | " ++$$.#.%.###.@", 18 | "++$$$$.##.###. ", 19 | "+%+$&&.#####.+ ", 20 | "+%%+$*%.###.%%+ ", 21 | "+%%%+**%.#.%&%$+", 22 | " +%%%+**%.%%%&%+", 23 | " +%%%+**%%%%*&+", 24 | " +%%%+*%%***$+", 25 | " +%%$&***$++ ", 26 | " +%%+*$++ ", 27 | " +%+++ ", 28 | " ++ "}; 29 | -------------------------------------------------------------------------------- /src/pixmaps/tray_nomail_offline.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_nomail_offline_xpm[] = { 3 | "16 16 9 1", 4 | " c None", 5 | ". c #818181", 6 | "+ c #B7B7B7", 7 | "@ c #D1D1D1", 8 | "# c #E4E4E4", 9 | "$ c #000000", 10 | "% c #FFFFFF", 11 | "& c #6666CC", 12 | "* c #9F9F9F", 13 | " ", 14 | " ", 15 | " ", 16 | " ........ ", 17 | " .+@######. ", 18 | " .++@@@@@@@+. ", 19 | " .++@@@@@@@@@+. ", 20 | "....$$@@@@$$....", 21 | ".%@$&$$$@@$&$+*.", 22 | "$$$&&$@@@@$&&$$$", 23 | "&&&&&$$$@@$&&&&&", 24 | "$$$&&$....$&&$$$", 25 | ".%@$&$$$++$&$+*.", 26 | ".%@+$$++++$$++*.", 27 | " .@+++++++++++. ", 28 | " ............ "}; 29 | -------------------------------------------------------------------------------- /appdata/claws-mail-attachwarner.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-attachwarner 5 | claws-mail.desktop 6 | AttachWarner 7 | <_summary>Warns you when you compose a message mentioning an attachment in the message body without attaching any files to the message. 8 | http://claws-mail.org/plugin.php?plugin=attachwarner 9 | CC0-1.0 10 | GPL-3.0+ 11 | devel@lists.claws-mail.org 12 | 13 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_close_hrm_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_close_hrm_mark_xpm[] = { 3 | "16 16 9 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #050000", 7 | "@ c #152658", 8 | "# c #000000", 9 | "$ c #FE3569", 10 | "% c #FEC9D8", 11 | "& c #B21133", 12 | "* c #FE6993", 13 | " ..", 14 | " + @.#.", 15 | " ++$+ .##.", 16 | " ++..$%+.###.", 17 | " ++$$.#.%.###.@", 18 | "++$$$$.##.###. ", 19 | "+%+$&&.#####.+ ", 20 | "+%%+$*%.###.%%+ ", 21 | "+%%%+**%.#.%&%$+", 22 | " +%%%+**%.%%%&%+", 23 | " +%%%+**%%%%*&+", 24 | " +%%%+*%%***$+", 25 | " +%%$&***$++ ", 26 | " +%%+*$++ ", 27 | " +%+++ ", 28 | " ++ "}; 29 | -------------------------------------------------------------------------------- /src/pixmaps/trash_close.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_close_xpm[] = { 3 | "16 16 10 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #A1B7E7", 7 | "@ c #7B92CE", 8 | "# c #3B4766", 9 | "$ c #272A42", 10 | "% c #1B1C2E", 11 | "& c #5D6CAD", 12 | "* c #D2DEFB", 13 | "= c #52617C", 14 | " ", 15 | " ...... ", 16 | " ..++@#@@.. ", 17 | ".@+++$%@@@&. ", 18 | ".&+**@@@@&=. ", 19 | ".=&@@&&==##. ", 20 | " .%&==##$%. ", 21 | " .=%%%%%%=. ", 22 | " .=+#@#&#=.... ", 23 | " .=+#@#&#=..... ", 24 | " .=+#@#&#=..... ", 25 | " .&+#@#&#=.... ", 26 | " .&&&=&=... ", 27 | " ....... ", 28 | " ", 29 | " "}; 30 | -------------------------------------------------------------------------------- /src/pixmaps/trash_open.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_open_xpm[] = { 3 | "16 16 10 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #A1B7E7", 7 | "@ c #7B92CE", 8 | "# c #3B4766", 9 | "$ c #272A42", 10 | "% c #1B1C2E", 11 | "& c #5D6CAD", 12 | "* c #D2DEFB", 13 | "= c #52617C", 14 | " ", 15 | " ...... ", 16 | " ..++@#@@.. ", 17 | ".@+++$%@@@&. ", 18 | ".&+**@@@@&=. ", 19 | ".=&@@&&==##. ", 20 | " .%&==##$%. ", 21 | " .=%%%%%%=. ", 22 | " .=+#@#&#=.... ", 23 | " .=+#@#&#=..... ", 24 | " .=+#@#&#=..... ", 25 | " .&+#@#&#=.... ", 26 | " .&&&=&=... ", 27 | " ....... ", 28 | " ", 29 | " "}; 30 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_script.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_script.h" 3 | #include "document.h" 4 | 5 | 6 | litehtml::el_script::el_script(const std::shared_ptr& doc) : element(doc) 7 | { 8 | 9 | } 10 | 11 | void litehtml::el_script::parse_attributes() 12 | { 13 | //TODO: pass script text to document container 14 | } 15 | 16 | bool litehtml::el_script::appendChild(const ptr &el) 17 | { 18 | el->get_text(m_text); 19 | return true; 20 | } 21 | 22 | litehtml::string_id litehtml::el_script::tag() const 23 | { 24 | return _script_; 25 | } 26 | 27 | const char* litehtml::el_script::get_tagName() const 28 | { 29 | return "script"; 30 | } 31 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_tr.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_tr.h" 3 | 4 | 5 | litehtml::el_tr::el_tr(const std::shared_ptr& doc) : html_tag(doc) 6 | { 7 | 8 | } 9 | 10 | void litehtml::el_tr::parse_attributes() 11 | { 12 | const char* str = get_attr("align"); 13 | if(str) 14 | { 15 | m_style.add_property(_text_align_, str); 16 | } 17 | str = get_attr("valign"); 18 | if(str) 19 | { 20 | m_style.add_property(_vertical_align_, str); 21 | } 22 | str = get_attr("bgcolor"); 23 | if (str) 24 | { 25 | m_style.add_property(_background_color_, str, "", false, get_document()->container()); 26 | } 27 | html_tag::parse_attributes(); 28 | } 29 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_anchor.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_anchor.h" 3 | #include "document.h" 4 | 5 | litehtml::el_anchor::el_anchor(const std::shared_ptr& doc) : html_tag(doc) 6 | { 7 | } 8 | 9 | void litehtml::el_anchor::on_click() 10 | { 11 | const char* href = get_attr("href"); 12 | 13 | if(href) 14 | { 15 | get_document()->container()->on_anchor_click(href, shared_from_this()); 16 | } 17 | } 18 | 19 | void litehtml::el_anchor::apply_stylesheet( const litehtml::css& stylesheet ) 20 | { 21 | if( get_attr("href") ) 22 | { 23 | m_pseudo_classes.push_back(_link_); 24 | } 25 | html_tag::apply_stylesheet(stylesheet); 26 | } 27 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_close_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_close_mark_xpm[] = { 3 | "16 16 10 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #020204", 7 | "@ c #024A6C", 8 | "# c #000000", 9 | "$ c #99999B", 10 | "% c #FDFDFB", 11 | "& c #626263", 12 | "* c #B4B4B4", 13 | "= c #E5E5E3", 14 | " ..", 15 | " + @.#.", 16 | " ++$+ .##.", 17 | " ++..$%+.###.", 18 | " ++$$.#.%.###.@", 19 | "++$$$$.##.###. ", 20 | "+%+$&&.#####.+ ", 21 | "+%%+$*=.###.%%+ ", 22 | "+%%%+**=.#.=&%$+", 23 | " +%%%+**=.===&=+", 24 | " +%%%+**====*&+", 25 | " +%%%+*==***$+", 26 | " +%%$&***$++ ", 27 | " +%=+*$++ ", 28 | " +%+++ ", 29 | " ++ "}; 30 | -------------------------------------------------------------------------------- /src/pixmaps/outbox_open_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * outbox_open_mark_xpm[] = { 3 | "16 16 10 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #020204", 7 | "@ c #024A6C", 8 | "# c #000000", 9 | "$ c #99999B", 10 | "% c #FDFDFB", 11 | "& c #626263", 12 | "* c #B4B4B4", 13 | "= c #E5E5E3", 14 | " ..", 15 | " + @.#.", 16 | " ++$+ .##.", 17 | " ++..$%+.###.", 18 | " ++$$.#.%.###.@", 19 | "++$$$$.##.###. ", 20 | "+%+$&&.#####.+ ", 21 | "+%%+$*=.###.%%+ ", 22 | "+%%%+**=.#.=&%$+", 23 | " +%%%+**=.===&=+", 24 | " +%%%+**====*&+", 25 | " +%%%+*==***$+", 26 | " +%%$&***$++ ", 27 | " +%=+*$++ ", 28 | " +%+++ ", 29 | " ++ "}; 30 | -------------------------------------------------------------------------------- /src/pixmaps/tray_newmarkedmail_offline.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_newmarkedmail_offline_xpm[] = { 3 | "16 16 9 1", 4 | " c None", 5 | ". c #CF6F6F", 6 | "+ c #FFFFFF", 7 | "@ c #B7B7B7", 8 | "# c #C68686", 9 | "$ c #000000", 10 | "% c #D1D1D1", 11 | "& c #6666CC", 12 | "* c #9F9F9F", 13 | " . ", 14 | " .+. ", 15 | " .+.+. ", 16 | " .+...+. ", 17 | " .+++.+++. ", 18 | " .+++++++++. ", 19 | " .++++@++@+++. ", 20 | "####$$@++@$$####", 21 | "#+%$&$$$@+$&$@*#", 22 | "$$$&&$+@++$&&$$$", 23 | "&&&&&$$$++$&&&&&", 24 | "$$$&&$####$&&$$$", 25 | "#+%$&$$$@@$&$@*#", 26 | "#+%@$$@@@@$$@@*#", 27 | " #%@@@@@@@@@@@# ", 28 | " ############ "}; 29 | -------------------------------------------------------------------------------- /src/plugins/python/examples/auto/shutdown: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | # stuff that only needs to be cleaned up if claws mail is not exiting anyways 4 | if not clawsmail.is_exiting(): 5 | # cleanup menus and actions that have been added in the startup script 6 | try: 7 | ui_manager = clawsmail.get_mainwindow_ui_manager() 8 | for merge_id in mainwindow_merge_ids: 9 | ui_manager.remove_ui(merge_id) 10 | except NameError: 11 | pass 12 | try: 13 | group = clawsmail.get_mainwindow_action_group() 14 | for action in mainwindow_actions: 15 | group.remove_action(action) 16 | except NameError: 17 | pass 18 | -------------------------------------------------------------------------------- /src/pixmaps/tray_unreadmarkedmail_offline.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_unreadmarkedmail_offline_xpm[] = { 3 | "16 16 9 1", 4 | " c None", 5 | ". c #CF6F6F", 6 | "+ c #FFFFFF", 7 | "@ c #9F9F9F", 8 | "# c #C68686", 9 | "$ c #000000", 10 | "% c #D1D1D1", 11 | "& c #6666CC", 12 | "* c #B7B7B7", 13 | " ", 14 | " ", 15 | " .............. ", 16 | " .++++++++++++. ", 17 | " .+@@@@++++..+. ", 18 | " .+++++++++..+. ", 19 | " .++++++++++++. ", 20 | "####$$@@@@$$####", 21 | "#+%$&$$$++$&$*@#", 22 | "$$$&&$++@@$&&$$$", 23 | "&&&&&$$$++$&&&&&", 24 | "$$$&&$####$&&$$$", 25 | "#+%$&$$$**$&$*@#", 26 | "#+%*$$****$$**@#", 27 | " #%***********# ", 28 | " ############ "}; 29 | -------------------------------------------------------------------------------- /src/pixmaps/tray_newmail_offline.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_newmail_offline_xpm[] = { 3 | "16 16 10 1", 4 | " c None", 5 | ". c #3F3F3F", 6 | "+ c #FFFFFF", 7 | "@ c #CF6F6F", 8 | "# c #B7B7B7", 9 | "$ c #818181", 10 | "% c #000000", 11 | "& c #D1D1D1", 12 | "* c #6666CC", 13 | "= c #9F9F9F", 14 | " . ", 15 | " .+. ", 16 | " .+@+. ", 17 | " .+@@@+. ", 18 | " .+++@+++. ", 19 | " .+++++++++. ", 20 | " .++++#++#+++. ", 21 | "$$$$%%#++#%%$$$$", 22 | "$+&%*%%%#+%*%#=$", 23 | "%%%**%+#++%**%%%", 24 | "*****%%%++%*****", 25 | "%%%**%$$$$%**%%%", 26 | "$+&%*%%%##%*%#=$", 27 | "$+&#%%####%%##=$", 28 | " $&###########$ ", 29 | " $$$$$$$$$$$$ "}; 30 | -------------------------------------------------------------------------------- /appdata/claws-mail-libravatar.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-libravatar 5 | claws-mail.desktop 6 | Libravatar 7 | <_summary>Displays libravatar/gravatar profiles' images or a dynamically generated or predefined alternative. 8 | Libravatar federated user domains are also supported. 9 | http://claws-mail.org/plugin.php?plugin=libravatar 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/pixmaps/trash_open_hrm.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_open_hrm_xpm[] = { 3 | "16 16 11 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #EB6C8D", 7 | "@ c #E65F7C", 8 | "# c #852C3F", 9 | "$ c #6C1F30", 10 | "% c #5A151D", 11 | "& c #D43B6A", 12 | "* c #F1809B", 13 | "= c #752637", 14 | "- c #A93262", 15 | " ", 16 | " ...... ", 17 | " ..++@#@@.. ", 18 | ".@+++$%@@@&. ", 19 | ".&+**@@@@&=. ", 20 | ".=&@@&&==$$. ", 21 | " .#&==--$$. ", 22 | " .=$$$$$$=. ", 23 | " .=+-@-&-=.... ", 24 | " .=+-@-&-=..... ", 25 | " .=+-@-&-=..... ", 26 | " .&+-@-&-=.... ", 27 | " .&&&=&=... ", 28 | " ....... ", 29 | " ", 30 | " "}; 31 | -------------------------------------------------------------------------------- /src/pixmaps/tray_unreadmail_offline.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * tray_unreadmail_offline_xpm[] = { 3 | "16 16 10 1", 4 | " c None", 5 | ". c #3F3F3F", 6 | "+ c #FFFFFF", 7 | "@ c #9F9F9F", 8 | "# c #CF6F6F", 9 | "$ c #818181", 10 | "% c #000000", 11 | "& c #D1D1D1", 12 | "* c #6666CC", 13 | "= c #B7B7B7", 14 | " ", 15 | " ", 16 | " .............. ", 17 | " .++++++++++++. ", 18 | " .+@@@@++++##+. ", 19 | " .+++++++++##+. ", 20 | " .++++++++++++. ", 21 | "$$$$%%@@@@%%$$$$", 22 | "$+&%*%%%++%*%=@$", 23 | "%%%**%++@@%**%%%", 24 | "*****%%%++%*****", 25 | "%%%**%$$$$%**%%%", 26 | "$+&%*%%%==%*%=@$", 27 | "$+&=%%====%%==@$", 28 | " $&===========$ ", 29 | " $$$$$$$$$$$$ "}; 30 | -------------------------------------------------------------------------------- /src/pixmaps/trash_close_hrm.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_close_hrm_xpm[] = { 3 | "16 16 11 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #EB6C8D", 7 | "@ c #E65F7C", 8 | "# c #852C3F", 9 | "$ c #6C1F30", 10 | "% c #5A151D", 11 | "& c #D43B6A", 12 | "* c #F1809B", 13 | "= c #752637", 14 | "- c #A93262", 15 | " ", 16 | " ...... ", 17 | " ..++@#@@.. ", 18 | ".@+++$%@@@&. ", 19 | ".&+**@@@@&=. ", 20 | ".=&@@&&==$$. ", 21 | " .#&==--$$. ", 22 | " .=$$$$$$=. ", 23 | " .=+-@-&-=.... ", 24 | " .=+-@-&-=..... ", 25 | " .=+-@-&-=..... ", 26 | " .&+-@-&-=.... ", 27 | " .&&&=&=... ", 28 | " ....... ", 29 | " ", 30 | " "}; 31 | -------------------------------------------------------------------------------- /src/pixmaps/trash_close_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_close_mark_xpm[] = { 3 | "16 16 11 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #000000", 7 | "@ c #A1B7E7", 8 | "# c #7B92CE", 9 | "$ c #3B4766", 10 | "% c #272A42", 11 | "& c #5D6CAD", 12 | "* c #D2DEFB", 13 | "= c #52617C", 14 | "- c #1B1C2E", 15 | " ..", 16 | " ++++++ .+.", 17 | " ++@@#$##++ .++.", 18 | "+#@@@%..##&.+++.", 19 | "+&@**#.+.&.+++. ", 20 | "+=&##&.++.+++. ", 21 | " +-&==.+++++. ", 22 | " +=----.+++. ", 23 | " +=@$#$&.+.+++ ", 24 | " +=@$#$&$.+++++ ", 25 | " +=@$#$&$=+++++ ", 26 | " +&@$#$&$=++++ ", 27 | " +&&&=&=+++ ", 28 | " +++++++ ", 29 | " ", 30 | " "}; 31 | -------------------------------------------------------------------------------- /src/pixmaps/trash_open_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_open_mark_xpm[] = { 3 | "16 16 11 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #000000", 7 | "@ c #A1B7E7", 8 | "# c #7B92CE", 9 | "$ c #3B4766", 10 | "% c #272A42", 11 | "& c #5D6CAD", 12 | "* c #D2DEFB", 13 | "= c #52617C", 14 | "- c #1B1C2E", 15 | " ..", 16 | " ++++++ .+.", 17 | " ++@@#$##++ .++.", 18 | "+#@@@%..##&.+++.", 19 | "+&@**#.+.&.+++. ", 20 | "+=&##&.++.+++. ", 21 | " +-&==.+++++. ", 22 | " +=----.+++. ", 23 | " +=@$#$&.+.+++ ", 24 | " +=@$#$&$.+++++ ", 25 | " +=@$#$&$=+++++ ", 26 | " +&@$#$&$=++++ ", 27 | " +&&&=&=+++ ", 28 | " +++++++ ", 29 | " ", 30 | " "}; 31 | -------------------------------------------------------------------------------- /src/pixmaps/trash_open_hrm_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_open_hrm_mark_xpm[] = { 3 | "16 16 11 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #000000", 7 | "@ c #EB6C8D", 8 | "# c #E65F7C", 9 | "$ c #852C3F", 10 | "% c #D43B6A", 11 | "& c #F1809B", 12 | "* c #752637", 13 | "= c #6C1F30", 14 | "- c #A93262", 15 | " .. ", 16 | " ++++++ .+. ", 17 | " ++@@#$##++.++. ", 18 | "+#@@@..###.+++. ", 19 | "+%@&&.+.#.+++. ", 20 | "+*%##.++.+++. ", 21 | " +$%*.+++++. ", 22 | " +*===.+++. ", 23 | " +*@-#-.+.++++ ", 24 | " +*@-#-%.*+++++ ", 25 | " +*@-#-%-*+++++ ", 26 | " +%@-#-%-*++++ ", 27 | " +%%%*%*+++ ", 28 | " +++++++ ", 29 | " ", 30 | " "}; 31 | -------------------------------------------------------------------------------- /appdata/claws-mail-vcalendar.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-vcalendar 5 | claws-mail.desktop 6 | vCalendar 7 | <_summary>Enables vCalendar message handling like that produced by Evolution or Outlook, and 8 | handles webCal subscriptions. It provides a personal calendar and public calendar import. 9 | http://claws-mail.org/plugin.php?plugin=vcalendar 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/pixmaps/key_gpg_signed.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * key_gpg_signed_xpm[] = { 3 | "12 12 19 1", 4 | " c None", 5 | ". c #D39C0A", 6 | "+ c #E4AB0B", 7 | "@ c #DA7D25", 8 | "# c #E4B600", 9 | "$ c #E96B00", 10 | "% c #DA2D01", 11 | "& c #E9AD00", 12 | "* c #E94500", 13 | "= c #B11E04", 14 | "- c #E7BC01", 15 | "; c #E99400", 16 | "> c #E02F00", 17 | ", c #E9BD00", 18 | "' c #E97800", 19 | ") c #040204", 20 | "! c #E7C50E", 21 | "~ c #E9B802", 22 | "{ c #FCFE04", 23 | " ", 24 | " .+@ ", 25 | " #$% ", 26 | " &*= ", 27 | " -;> ", 28 | " ,'))) ", 29 | " !~){{{)", 30 | " ))))){{{{)", 31 | " ){{{{{{{){)", 32 | " ){){){{{{)", 33 | " ) ) ){{{)", 34 | " ))) "}; 35 | -------------------------------------------------------------------------------- /src/pixmaps/trash_close_hrm_mark.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * trash_close_hrm_mark_xpm[] = { 3 | "16 16 11 1", 4 | " c None", 5 | ". c #FFFFFF", 6 | "+ c #000000", 7 | "@ c #EB6C8D", 8 | "# c #E65F7C", 9 | "$ c #852C3F", 10 | "% c #D43B6A", 11 | "& c #F1809B", 12 | "* c #752637", 13 | "= c #6C1F30", 14 | "- c #A93262", 15 | " .. ", 16 | " ++++++ .+. ", 17 | " ++@@#$##++.++. ", 18 | "+#@@@..###.+++. ", 19 | "+%@&&.+.#.+++. ", 20 | "+*%##.++.+++. ", 21 | " +$%*.+++++. ", 22 | " +*===.+++. ", 23 | " +*@-#-.+.++++ ", 24 | " +*@-#-%.*+++++ ", 25 | " +*@-#-%-*+++++ ", 26 | " +%@-#-%-*++++ ", 27 | " +%%%*%*+++ ", 28 | " +++++++ ", 29 | " ", 30 | " "}; 31 | -------------------------------------------------------------------------------- /tools/bash_completion/claws-mail: -------------------------------------------------------------------------------- 1 | # claws-mail(1) completion 2 | _claws-mail() 3 | { 4 | local cur prev words cword 5 | _init_completion || return 6 | 7 | case $prev in 8 | --help|-h|--version|-v|--version-full|-V) 9 | return 10 | ;; 11 | --alternate-config-dir) 12 | COMPREPLY=( $( find . -maxdepth 2 -name clawsrc | sed 's,/clawsrc,,' ) ) 13 | return 14 | ;; 15 | --select|--status|--status-full) 16 | _filedir -d 17 | return 18 | ;; 19 | --compose-from-file|--attach) 20 | _filedir 21 | return 22 | ;; 23 | esac 24 | 25 | if [[ $cur == -* ]]; then 26 | COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) 27 | return 28 | fi 29 | } && 30 | complete -F _claws-mail claws-mail 31 | -------------------------------------------------------------------------------- /src/plugins/rssyl/libfeed/tests/feed_test.c: -------------------------------------------------------------------------------- 1 | #include "config.h" 2 | 3 | #include 4 | 5 | #include "feed.h" 6 | 7 | #include "mock_procheader_date_parse.h" 8 | 9 | #define FEED_URL "http://example.com/feed.xml" 10 | 11 | static void 12 | test_Feed_create(void) 13 | { 14 | Feed *feed = feed_new(FEED_URL); 15 | 16 | g_assert_nonnull(feed); 17 | g_assert_cmpstr(feed->url, ==, FEED_URL); 18 | g_assert_true(feed->is_valid); 19 | g_assert_true(feed->ssl_verify_peer); 20 | 21 | feed_free(feed); 22 | } 23 | 24 | int 25 | main(int argc, char *argv[]) 26 | { 27 | g_test_init(&argc, &argv, NULL); 28 | 29 | g_test_add_func("/rssyl/libfeed/Feed_create", test_Feed_create); 30 | 31 | return g_test_run(); 32 | } 33 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_comment.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_COMMENT_H 2 | #define LH_EL_COMMENT_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_comment : public element 9 | { 10 | string m_text; 11 | public: 12 | explicit el_comment(const std::shared_ptr& doc); 13 | 14 | bool is_comment() const override; 15 | void get_text(string& text) override; 16 | void set_data(const char* data) override; 17 | std::shared_ptr create_render_item(const std::shared_ptr& parent_ri) override 18 | { 19 | // Comments are not rendered 20 | return nullptr; 21 | } 22 | }; 23 | } 24 | 25 | #endif // LH_EL_COMMENT_H 26 | -------------------------------------------------------------------------------- /appdata/claws-mail-bogofilter.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-bogofilter 5 | claws-mail.desktop 6 | Bogofilter 7 | <_summary>Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL account using Bogofilter. 8 | It can optionally delete mail identified as spam or save it to a designated folder. 9 | http://claws-mail.org/plugin.php?plugin=bogofilter 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /src/plugins/win_plugin.mk: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2022 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugin_ldflags = 7 | plugin_extra_deps = 8 | plugin_libadd = 9 | 10 | if OS_WIN32 11 | 12 | %.lo : %.rc 13 | $(LIBTOOL) --mode=compile --tag=RC $(RC) -i $< -o $@ 14 | 15 | plugin_ldflags += \ 16 | -Wl,.libs/version.o \ 17 | -no-undefined 18 | plugin_extra_deps += version.lo 19 | plugin_libadd += -L$(top_builddir)/src -lclaws 20 | 21 | endif 22 | 23 | if CYGWIN 24 | plugin_ldflags += -no-undefined 25 | plugin_libadd += -L$(top_builddir)/src -lclaws-mail 26 | endif 27 | 28 | -------------------------------------------------------------------------------- /src/plugins/newmail/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugindir = $(pkglibdir)/plugins 7 | 8 | if BUILD_NEWMAIL_PLUGIN 9 | plugin_LTLIBRARIES = newmail.la 10 | endif 11 | 12 | newmail_la_SOURCES = \ 13 | newmail.c 14 | 15 | newmail_la_LDFLAGS = \ 16 | -avoid-version -module -z noexecstack 17 | 18 | newmail_la_CPPFLAGS = \ 19 | -I$(top_srcdir)/src \ 20 | -I$(top_srcdir)/src/common \ 21 | -I$(top_builddir)/src/common \ 22 | -I$(top_srcdir)/src/gtk \ 23 | $(GLIB_CFLAGS) \ 24 | $(GTK_CFLAGS) 25 | 26 | .PHONY: test 27 | -------------------------------------------------------------------------------- /appdata/claws-mail-spamassassin.metainfo.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | claws-mail-spamassassin 5 | claws-mail.desktop 6 | SpamAssassin 7 | <_summary>Enables the scanning of incoming mail received from a POP, IMAP, or LOCAL account using SpamAssassin. 8 | It can optionally delete mail identified as spam or save it to a designated folder. 9 | http://claws-mail.org/plugin.php?plugin=spamassassin 10 | CC0-1.0 11 | GPL-3.0+ 12 | devel@lists.claws-mail.org 13 | 14 | -------------------------------------------------------------------------------- /doc/src/readme.txt: -------------------------------------------------------------------------------- 1 | rfc977.txt NNTP 2 | rfc1939.txt POP3 3 | rfc2045.txt MIME 1 4 | rfc2046.txt MIME 2 5 | rfc2047.txt MIME 3 6 | rfc2048.txt MIME 4 7 | rfc2049.txt MIME 5 8 | rfc2183.txt The Content-Disposition Header Field 9 | rfc2342.txt IMAP4 Namespace 10 | rfc2359.txt IMAP4 UIDPLUS extension 11 | rfc2487.txt SMTP Service Extension for Secure SMTP over TLS 12 | rfc2554.txt SMTP Service Extension for Authentication 13 | rfc2683.txt IMAP4 Implementation Recommendations 14 | rfc2821.txt SMTP 15 | rfc2822.txt Internet Message Format 16 | rfc2980.txt Common NNTP Extensions 17 | rfc3156.txt MIME Security with OpenPGP 18 | rfc3501.txt INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1 19 | rfc5804.txt A Protocol for Remotely Managing Sieve Scripts 20 | -------------------------------------------------------------------------------- /src/pixmaps/category.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * category_xpm[] = { 3 | "16 16 16 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #2C7AD4", 7 | "@ c #3B98C5", 8 | "# c #2D5AD3", 9 | "$ c #01DFFF", 10 | "% c #BFEDE2", 11 | "& c #12BDEE", 12 | "* c #B8EADF", 13 | "= c #2ABAD6", 14 | "- c #039FFD", 15 | "; c #155DEB", 16 | "> c #271BD9", 17 | ", c #3F18C1", 18 | "' c #1F1CE1", 19 | ") c #3719C9", 20 | " ", 21 | " ", 22 | " .... ", 23 | " .+@+@. ", 24 | " .+#+#@+...... ", 25 | " .$$%$%&*%$==$.", 26 | " .=@&@&@=+=+-;.", 27 | " .$&@&@=+=+-+#.", 28 | " .=@&@=+=+-+->.", 29 | " .$&@=+=+-+-;#.", 30 | " .=@=+=+-+-;-,.", 31 | " .$=+=+-+-;-;>.", 32 | " .=';';';';)>,.", 33 | " ............ ", 34 | " ", 35 | " "}; 36 | -------------------------------------------------------------------------------- /src/pixmaps/complete.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * complete_xpm[] = { 3 | "16 16 16 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #C8D7E5", 7 | "@ c #8EA8C0", 8 | "# c #9DB8D2", 9 | "$ c #7E94AA", 10 | "% c #8299AF", 11 | "& c #D6E1EB", 12 | "* c #C4CED6", 13 | "= c #ACBED0", 14 | "- c #404040", 15 | "; c #ACB9C5", 16 | "> c #727272", 17 | ", c #889FB6", 18 | "' c #B1BFCB", 19 | ") c #98B2CC", 20 | " ", 21 | " ", 22 | " ", 23 | " .. ", 24 | " .+@. ", 25 | " .+#$. ", 26 | " .. .+#%. ", 27 | " .&&. .+#%. ", 28 | " .*#=. .+#%. ", 29 | " -=#=.&#%. ", 30 | " .;####%. ", 31 | " >,##%. ", 32 | " .')$. ", 33 | " ... ", 34 | " ", 35 | " "}; 36 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_style.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_style.h" 3 | #include "document.h" 4 | 5 | 6 | litehtml::el_style::el_style(const std::shared_ptr& doc) : element(doc) 7 | { 8 | 9 | } 10 | 11 | void litehtml::el_style::parse_attributes() 12 | { 13 | string text; 14 | 15 | for(auto& el : m_children) 16 | { 17 | el->get_text(text); 18 | } 19 | get_document()->add_stylesheet( text.c_str(), nullptr, get_attr("media") ); 20 | } 21 | 22 | bool litehtml::el_style::appendChild(const ptr &el) 23 | { 24 | m_children.push_back(el); 25 | return true; 26 | } 27 | 28 | litehtml::string_id litehtml::el_style::tag() const 29 | { 30 | return _style_; 31 | } 32 | 33 | const char* litehtml::el_style::get_tagName() const 34 | { 35 | return "style"; 36 | } 37 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/render_image.h: -------------------------------------------------------------------------------- 1 | #ifndef LITEHTML_RENDER_IMAGE_H 2 | #define LITEHTML_RENDER_IMAGE_H 3 | 4 | #include "render_item.h" 5 | 6 | namespace litehtml 7 | { 8 | class render_item_image : public render_item 9 | { 10 | protected: 11 | int calc_max_height(int image_height, int containing_block_height); 12 | int _render(int x, int y, const containing_block_context &containing_block_size, formatting_context* fmt_ctx, bool second_pass) override; 13 | 14 | public: 15 | explicit render_item_image(std::shared_ptr src_el) : render_item(std::move(src_el)) 16 | {} 17 | 18 | std::shared_ptr clone() override 19 | { 20 | return std::make_shared(src_el()); 21 | } 22 | }; 23 | } 24 | 25 | #endif //LITEHTML_RENDER_IMAGE_H 26 | -------------------------------------------------------------------------------- /src/plugins/notification/gtkhotkey/x11/tomboykeybinder.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __TOMBOY_KEY_BINDER_H__ 3 | #define __TOMBOY_KEY_BINDER_H__ 4 | 5 | #include 6 | 7 | G_BEGIN_DECLS 8 | 9 | typedef void (* TomboyBindkeyHandler) (char *keystring, gpointer user_data); 10 | 11 | void tomboy_keybinder_init (void); 12 | 13 | gboolean tomboy_keybinder_bind (const char *keystring, 14 | TomboyBindkeyHandler handler, 15 | gpointer user_data); 16 | 17 | void tomboy_keybinder_unbind (const char *keystring, 18 | TomboyBindkeyHandler handler); 19 | 20 | gboolean tomboy_keybinder_is_modifier (guint keycode); 21 | 22 | guint32 tomboy_keybinder_get_current_event_time (void); 23 | 24 | G_END_DECLS 25 | 26 | #endif /* __TOMBOY_KEY_BINDER_H__ */ 27 | 28 | -------------------------------------------------------------------------------- /src/plugins/python/examples/main/Print-action-names: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import gi 4 | gi.require_version("Gtk", "3.0") 5 | from gi.repository import Gtk 6 | 7 | action_group = clawsmail.get_mainwindow_action_group() 8 | actions = [] 9 | for action in action_group.list_actions(): 10 | actions.append(action.get_name()) 11 | actions.sort() 12 | 13 | win = Gtk.Window(title="List of actions") 14 | win.connect("destroy", Gtk.main_quit) 15 | win.set_position(Gtk.WindowPosition.CENTER) 16 | swin = Gtk.ScrolledWindow(None, None) 17 | swin.set_min_content_height(400) 18 | swin.set_min_content_width(600) 19 | buf = Gtk.TextBuffer() 20 | buf.set_text('\n'.join(actions)) 21 | view = Gtk.TextView.new_with_buffer(buf) 22 | swin.add(view) 23 | win.add(swin) 24 | win.show_all() 25 | win.present() 26 | Gtk.main() 27 | -------------------------------------------------------------------------------- /src/plugins/acpi_notifier/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugindir = $(pkglibdir)/plugins 7 | 8 | if BUILD_ACPI_NOTIFIER_PLUGIN 9 | plugin_LTLIBRARIES = acpi_notifier.la 10 | endif 11 | 12 | acpi_notifier_la_SOURCES = \ 13 | acpi_notifier.c 14 | 15 | acpi_notifier_la_LDFLAGS = \ 16 | -avoid-version -module -z noexecstack 17 | 18 | acpi_notifier_la_LIBADD = \ 19 | $(GTK_LIBS) 20 | 21 | 22 | acpi_notifier_la_CPPFLAGS = \ 23 | -I$(top_srcdir)/src \ 24 | -I$(top_srcdir)/src/common \ 25 | -I$(top_builddir)/src/common \ 26 | -I$(top_srcdir)/src/gtk \ 27 | $(GLIB_CFLAGS) \ 28 | $(GTK_CFLAGS) 29 | 30 | .PHONY: test 31 | -------------------------------------------------------------------------------- /src/plugins/clamd/libclamd/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | libclamd_plugin_la_CPPFLAGS = \ 7 | $(GLIB_CFLAGS) \ 8 | $(GTK_CFLAGS) \ 9 | -I$(top_srcdir) \ 10 | -I$(top_builddir) \ 11 | -I$(top_builddir)/src \ 12 | -I$(top_srcdir)/src \ 13 | -I$(top_srcdir)/src/common \ 14 | -I$(top_srcdir)/src/gtk 15 | 16 | if BUILD_CLAMD_PLUGIN 17 | noinst_LTLIBRARIES = libclamd-plugin.la 18 | endif 19 | 20 | libclamd_plugin_la_SOURCES = \ 21 | clamd-plugin.h \ 22 | clamd-plugin.c 23 | 24 | noinst_HEADERS = clamd-plugin.h 25 | 26 | libclamd_plugin_la_LIBADD = \ 27 | @GLIB_LIBS@ \ 28 | @GTK_LIBS@ 29 | 30 | .PHONY: test 31 | -------------------------------------------------------------------------------- /src/plugins/demo/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugindir = $(pkglibdir)/plugins 7 | 8 | if BUILD_DEMO_PLUGIN 9 | plugin_LTLIBRARIES = demo.la 10 | endif 11 | 12 | demo_la_SOURCES = \ 13 | demo.c 14 | 15 | demo_la_LDFLAGS = \ 16 | -avoid-version -module -z noexecstack 17 | 18 | if CYGWIN 19 | cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail 20 | else 21 | cygwin_export_lib = 22 | endif 23 | 24 | demo_la_LIBADD = $(cygwin_export_lib) \ 25 | $(GTK_LIBS) 26 | 27 | demo_la_CPPFLAGS = \ 28 | -I$(top_srcdir)/src \ 29 | -I$(top_builddir)/src/common \ 30 | -I$(top_srcdir)/src/common \ 31 | $(GLIB_CFLAGS) 32 | 33 | .PHONY: test 34 | -------------------------------------------------------------------------------- /src/pixmaps/checkbox_on.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * checkbox_on_xpm[] = { 3 | "13 13 25 1", 4 | " c None", 5 | ". c #9D9D9D", 6 | "+ c #E0E0E0", 7 | "@ c #DADADA", 8 | "# c #F4F4F4", 9 | "$ c #DBDBDB", 10 | "% c #FFFFFF", 11 | "& c #818181", 12 | "* c #424242", 13 | "= c #737373", 14 | "- c #C1C1C1", 15 | "; c #000000", 16 | "> c #B2B2B2", 17 | ", c #6C6C6C", 18 | "' c #909090", 19 | ") c #C8C8C8", 20 | "! c #7D7D7D", 21 | "~ c #A4A4A4", 22 | "{ c #1E1E1E", 23 | "] c #BEBEBE", 24 | "^ c #676767", 25 | "/ c #121212", 26 | "( c #444444", 27 | "_ c #DDDDDD", 28 | ": c #8A8A8A", 29 | " ........... ", 30 | ".++++++++++@.", 31 | ".+########$%.", 32 | ".+#######&*%.", 33 | ".+######=*-%.", 34 | ".+#####=;>#%.", 35 | ".+#,'#);=##%.", 36 | ".+!;;~*{]##%.", 37 | ".+#^/;;(###%.", 38 | ".+#_~/;:###%.", 39 | ".+###'*@###%.", 40 | ".@%%%%%%%%%%.", 41 | " ........... "}; 42 | -------------------------------------------------------------------------------- /src/plugins/rssyl/libfeed/tests/date_test.c: -------------------------------------------------------------------------------- 1 | #include "config.h" 2 | 3 | #include 4 | 5 | #include "date.h" 6 | 7 | 8 | static void 9 | test_createRFC822Date (void) 10 | { 11 | gchar *buf; 12 | time_t t = 0; 13 | 14 | buf = createRFC822Date(&t); 15 | if (g_test_verbose()) 16 | g_printerr("time_t %ld => '%s'\n", t, buf); 17 | g_assert_cmpstr(buf, ==, "Thu, 1 Jan 1970 00:00:00 GMT"); 18 | g_free(buf); 19 | 20 | t = 1534240471; 21 | buf = createRFC822Date(&t); 22 | if (g_test_verbose()) 23 | g_printerr("time_t %ld => '%s'\n", t, buf); 24 | g_assert_cmpstr(buf, ==, "Tue, 14 Aug 2018 09:54:31 GMT"); 25 | g_free(buf); 26 | } 27 | 28 | int 29 | main (int argc, char *argv[]) 30 | { 31 | g_test_init(&argc, &argv, NULL); 32 | 33 | g_test_add_func("/rssyl/libfeed/createRFC822Date", test_createRFC822Date); 34 | 35 | return g_test_run(); 36 | } 37 | -------------------------------------------------------------------------------- /src/plugins/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | include $(top_srcdir)/tests.mk 7 | 8 | SUBDIRS = \ 9 | acpi_notifier \ 10 | address_keeper \ 11 | archive \ 12 | att_remover \ 13 | attachwarner \ 14 | bogofilter \ 15 | bsfilter \ 16 | clamd \ 17 | demo \ 18 | dillo \ 19 | fancy \ 20 | fetchinfo \ 21 | keyword_warner \ 22 | litehtml_viewer \ 23 | libravatar \ 24 | mailmbox \ 25 | managesieve \ 26 | newmail \ 27 | notification \ 28 | pdf_viewer \ 29 | perl \ 30 | python \ 31 | pgpcore \ 32 | pgpmime \ 33 | pgpinline \ 34 | rssyl \ 35 | smime \ 36 | spamassassin \ 37 | spam_report \ 38 | tnef_parse \ 39 | vcalendar 40 | 41 | .PHONY: test 42 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/os_types.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_OS_TYPES_H 2 | #define LH_OS_TYPES_H 3 | 4 | #include 5 | #include 6 | 7 | namespace litehtml 8 | { 9 | using std::string; 10 | typedef std::uintptr_t uint_ptr; 11 | 12 | #if defined( WIN32 ) || defined( _WIN32 ) || defined( WINCE ) 13 | 14 | // noexcept appeared since Visual Studio 2015 15 | #if defined(_MSC_VER) && _MSC_VER < 1900 16 | #define noexcept 17 | #endif 18 | 19 | #define t_itoa(value, buffer, size, radix) _itoa_s(value, buffer, size, radix) 20 | #define t_snprintf(s, n, format, ...) _snprintf_s(s, _TRUNCATE, n, format, __VA_ARGS__) 21 | 22 | #else 23 | 24 | #define t_itoa(value, buffer, size, radix) snprintf(buffer, size, "%d", value) 25 | #define t_snprintf(s, n, format, ...) snprintf(s, n, format, __VA_ARGS__) 26 | 27 | #endif 28 | } 29 | 30 | #endif // LH_OS_TYPES_H 31 | -------------------------------------------------------------------------------- /src/pixmaps/gpg_signed.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * gpg_signed_xpm[] = { 3 | "12 12 28 1", 4 | " c None", 5 | ". c #D39C0A", 6 | "+ c #E4AB0B", 7 | "@ c #DA7D25", 8 | "# c #E4B600", 9 | "$ c #E96B00", 10 | "% c #DA2D01", 11 | "& c #E9AD00", 12 | "* c #E94500", 13 | "= c #B11E04", 14 | "- c #E7BC01", 15 | "; c #E99400", 16 | "> c #E02F00", 17 | ", c #E9BD00", 18 | "' c #E97800", 19 | ") c #CA2B04", 20 | "! c #E7C50E", 21 | "~ c #E9B802", 22 | "{ c #E55902", 23 | "] c #E9CE07", 24 | "^ c #E9AB06", 25 | "/ c #D64707", 26 | "( c #E9CF16", 27 | "_ c #E69E0E", 28 | ": c #C86B37", 29 | "< c #E6CF8D", 30 | "[ c #C47535", 31 | "} c #853823", 32 | " ", 33 | " .+@ ", 34 | " #$% ", 35 | " &*= ", 36 | " -;> ", 37 | " ,') ", 38 | " !~{ ", 39 | " ]^/ ", 40 | " (_: ", 41 | " <[ ", 42 | " } ", 43 | " "}; 44 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_image.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_IMAGE_H 2 | #define LH_EL_IMAGE_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | 9 | class el_image : public html_tag 10 | { 11 | string m_src; 12 | public: 13 | el_image(const document::ptr& doc); 14 | 15 | bool is_replaced() const override; 16 | void parse_attributes() override; 17 | void compute_styles(bool recursive = true) override; 18 | void draw(uint_ptr hdc, int x, int y, const position *clip, const std::shared_ptr &ri) override; 19 | void get_content_size(size& sz, int max_width) override; 20 | string dump_get_name() override; 21 | 22 | std::shared_ptr create_render_item(const std::shared_ptr& parent_ri) override; 23 | 24 | private: 25 | // int calc_max_height(int image_height); 26 | }; 27 | } 28 | 29 | #endif // LH_EL_IMAGE_H 30 | -------------------------------------------------------------------------------- /tools/jhbuild/README: -------------------------------------------------------------------------------- 1 | Building Claws Mail with JHBuild 2 | -------------------------------- 3 | 4 | Claws Mail can be built with JHBuild. This way, it's easy to do 5 | sandboxed builds, for example in order to try out different versions 6 | of low-level dependencies like gtk+ or glib without messing up a production 7 | system. It's also useful to build older dependencies that are otherwise hard 8 | to get on a more recent distribution. 9 | 10 | In order to use JHBuild for building Claws Mail, first, JHBuild itself 11 | must be built and installed, see 12 | https://developer.gnome.org/jhbuild/stable/getting-started.html 13 | 14 | JHBuild needs a configuration file, either as ~/.jhbuildrc or given with the 15 | parameter -f on the command line. You can use the file 16 | sample.jhbuildrc-claws-mail as a starting point, but you'll have to modify 17 | it to suit your local environment. 18 | -------------------------------------------------------------------------------- /src/pixmaps/error.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * error_xpm[] = { 3 | "10 10 32 1", 4 | " c None", 5 | ". c #0B0402", 6 | "+ c #331516", 7 | "@ c #261B1C", 8 | "# c #272120", 9 | "$ c #3C1D1D", 10 | "% c #4B2727", 11 | "& c #462F2F", 12 | "* c #443A3B", 13 | "= c #573435", 14 | "- c #573E3E", 15 | "; c #524647", 16 | "> c #734647", 17 | ", c #805353", 18 | "' c #786D6D", 19 | ") c #826F72", 20 | "! c #A16A6D", 21 | "~ c #947273", 22 | "{ c #9B7376", 23 | "] c #877D7D", 24 | "^ c #B07E7E", 25 | "/ c #A48887", 26 | "( c #AF9291", 27 | "_ c #BB8D8F", 28 | ": c #AF9FA1", 29 | "< c #C4A0A1", 30 | "[ c #C2A5A4", 31 | "} c #C3B4B5", 32 | "| c #D0B4B6", 33 | "1 c #D6B2B3", 34 | "2 c #E1D7D6", 35 | "3 c #EFE2E2", 36 | " #*;;&+ ", 37 | " ;:222|~% ", 38 | "@:3}23:1,+", 39 | "*2}#]]@/_%", 40 | ";23]..'|<=", 41 | "-22]..)1_=", 42 | "&[:@')+{!%", 43 | "+~1(|1{^>+", 44 | " ={__^!,% ", 45 | " $===$+ "}; 46 | -------------------------------------------------------------------------------- /src/pixmaps/clip_gpg_signed.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * clip_gpg_signed_xpm[] = { 3 | "12 12 29 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #D39C0A", 7 | "@ c #E4AB0B", 8 | "# c #DA7D25", 9 | "$ c #E4B600", 10 | "% c #E96B00", 11 | "& c #DA2D01", 12 | "* c #E9AD00", 13 | "= c #E94500", 14 | "- c #B11E04", 15 | "; c #E7BC01", 16 | "> c #E99400", 17 | ", c #E02F00", 18 | "' c #E9BD00", 19 | ") c #E97800", 20 | "! c #CA2B04", 21 | "~ c #E7C50E", 22 | "{ c #E9B802", 23 | "] c #E55902", 24 | "^ c #E9CE07", 25 | "/ c #E9AB06", 26 | "( c #D64707", 27 | "_ c #E9CF16", 28 | ": c #E69E0E", 29 | "< c #C86B37", 30 | "[ c #E6CF8D", 31 | "} c #C47535", 32 | "| c #853823", 33 | " ... ", 34 | " . .+@#", 35 | " . .$%&", 36 | " .. ..*=-", 37 | " .. .;>, ", 38 | " .. .')! ", 39 | " .. ~{] ", 40 | " . ..^/( ", 41 | " . _:< ", 42 | " . [} ", 43 | " ...| ", 44 | " "}; 45 | -------------------------------------------------------------------------------- /src/pixmaps/watchthread.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * watchthread_xpm[] = { 3 | "12 12 30 1", 4 | " c None", 5 | ". c #1B2B3C", 6 | "+ c #000000", 7 | "@ c #B6B6B6", 8 | "# c #264057", 9 | "$ c #233B51", 10 | "% c #253F56", 11 | "& c #374E63", 12 | "* c #606B76", 13 | "= c #2B2B2B", 14 | "- c #CACACA", 15 | "; c #334F68", 16 | "> c #E7E7E7", 17 | ", c #FFFFFF", 18 | "' c #314E6C", 19 | ") c #597187", 20 | "! c #262626", 21 | "~ c #DFDFDF", 22 | "{ c #F5F5F5", 23 | "] c #3B5673", 24 | "^ c #506881", 25 | "/ c #E1E1E1", 26 | "( c #A0A0A0", 27 | "_ c #F0F0F0", 28 | ": c #8091A3", 29 | "< c #3A5572", 30 | "[ c #EBEBEB", 31 | "} c #7D8EA0", 32 | "| c #303030", 33 | "1 c #1F262D", 34 | " ", 35 | " .+++++ ", 36 | " .@#$%&*= ", 37 | " +-;>,+')@! ", 38 | "+~{],,+'^/(+", 39 | " +_:'''<<~+ ", 40 | " +[}<<}[+ ", 41 | " |++1++ ", 42 | " ", 43 | " ", 44 | " ", 45 | " "}; 46 | -------------------------------------------------------------------------------- /src/plugins/python/examples/main/Open-Tomboy-Notes: -------------------------------------------------------------------------------- 1 | # -*- Mode: python -*- 2 | 3 | import re 4 | import dbus 5 | 6 | # collect message ids of all selected messages 7 | msgids = set() 8 | for msg in clawsmail.get_summaryview_selected_message_list(): 9 | msgid = msg.MessageID.replace("<", "<").replace(">", ">") 10 | msgids.add(msgid) 11 | 12 | # setup D-Bus interface object 13 | bus = dbus.SessionBus() 14 | rc = bus.get_object('org.gnome.Tomboy', '/org/gnome/Tomboy/RemoteControl') 15 | rc_iface = dbus.Interface(rc, dbus_interface='org.gnome.Tomboy.RemoteControl') 16 | 17 | # iterate over all Tomboy notes 18 | for uri in rc_iface.ListAllNotes(): 19 | contents = rc_iface.GetNoteContentsXml(uri) 20 | # Check if message id is in a link to claws mail 21 | for msgid in msgids: 22 | if re.search(r'' % msgid, contents) != None: 23 | rc_iface.DisplayNote(uri) 24 | -------------------------------------------------------------------------------- /src/pixmaps/read.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * read_xpm[] = { 3 | "15 12 29 1", 4 | " c None", 5 | ". c #161616", 6 | "+ c #4D4D4D", 7 | "@ c #F5F5F5", 8 | "# c #F4F4F4", 9 | "$ c #373737", 10 | "% c #F3F3F3", 11 | "& c #C3C3C3", 12 | "* c #EAEAEA", 13 | "= c #EBEBEB", 14 | "- c #ADADAD", 15 | "; c #424242", 16 | "> c #EFEFEF", 17 | ", c #F2F2F2", 18 | "' c #454545", 19 | ") c #4C4C4C", 20 | "! c #BEBEBE", 21 | "~ c #D7D7D7", 22 | "{ c #A3A3A3", 23 | "] c #F1F1F1", 24 | "^ c #BCBCBC", 25 | "/ c #E9E9E9", 26 | "( c #909090", 27 | "_ c #C1C1C1", 28 | ": c #DBDBDB", 29 | "< c #CECECE", 30 | "[ c #AAAAAA", 31 | "} c #D4D4D4", 32 | "| c #2D2D2D", 33 | " ", 34 | " ........... ", 35 | " .+@@@##@@##$. ", 36 | " .#+##@%#%#+&. ", 37 | " .#*+@##@#+=-. ", 38 | " .@##+@#@;>==. ", 39 | " .,@>+'#)+#,!. ", 40 | " .@%+#@+#,+~{. ", 41 | " .#+%#@]%,^$/. ", 42 | " .+{{(_^:<[}|. ", 43 | " ........... ", 44 | " "}; 45 | -------------------------------------------------------------------------------- /src/plugins/perl/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | SUBDIRS = tools 7 | 8 | plugindir = $(pkglibdir)/plugins 9 | 10 | if BUILD_PERL_PLUGIN 11 | plugin_LTLIBRARIES = perl.la 12 | endif 13 | 14 | perl_la_SOURCES = \ 15 | perl_plugin.c perl_plugin.h \ 16 | perl_gtk.c perl_gtk.h 17 | 18 | perl_la_LDFLAGS = \ 19 | -avoid-version -module -z noexecstack 20 | 21 | perl_la_LIBADD = \ 22 | $(PERL_LDFLAGS) \ 23 | $(GTK_LIBS) 24 | 25 | perl_la_CPPFLAGS = \ 26 | -I$(top_srcdir)/src \ 27 | -I$(top_srcdir)/src/common \ 28 | -I$(top_builddir)/src \ 29 | -I$(top_srcdir)/src/gtk \ 30 | $(GLIB_CFLAGS) \ 31 | $(GTK_CFLAGS) \ 32 | $(ENCHANT_CFLAGS) \ 33 | $(PERL_CFLAGS) 34 | 35 | EXTRA_DIST = cm_perl.pod 36 | 37 | 38 | .PHONY: test 39 | -------------------------------------------------------------------------------- /src/plugins/gdata/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugindir = $(pkglibdir)/plugins 7 | 8 | if BUILD_GDATA_PLUGIN 9 | plugin_LTLIBRARIES = gdata.la 10 | endif 11 | 12 | gdata_la_SOURCES = \ 13 | gdata_plugin.c \ 14 | gdata_plugin.h \ 15 | cm_gdata_contacts.c \ 16 | cm_gdata_contacts.h \ 17 | cm_gdata_prefs.c \ 18 | cm_gdata_prefs.h 19 | 20 | gdata_la_LDFLAGS = \ 21 | -avoid-version -module -z noexecstack \ 22 | $(GTK_LIBS) \ 23 | $(GDATA_LIBS) 24 | 25 | gdata_la_CPPFLAGS = \ 26 | -I$(top_builddir)/src \ 27 | -I$(top_srcdir)/src \ 28 | -I$(top_srcdir)/src/common \ 29 | -I$(top_builddir)/src/common \ 30 | -I$(top_srcdir)/src/gtk \ 31 | $(GLIB_CFLAGS) \ 32 | $(GTK_CFLAGS) \ 33 | $(ENCHANT_CFLAGS) \ 34 | $(GDATA_CFLAGS) 35 | 36 | .PHONY: test 37 | -------------------------------------------------------------------------------- /src/plugins/gdata/gdata_plugin.h: -------------------------------------------------------------------------------- 1 | /* GData plugin for Claws Mail 2 | * Copyright (C) 2011 Holger Berndt 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #ifndef GDATA_PLUGIN_H_ 19 | #define GDATA_PLUGIN_H_ 20 | 21 | void cm_gdata_update_contacts_update_timer(void); 22 | 23 | #endif /* GDATA_PLUGIN_H_ */ 24 | -------------------------------------------------------------------------------- /src/pixmaps/addr_one.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * addr_one_xpm[] = { 3 | "16 13 29 1", 4 | " c None", 5 | ". c #161616", 6 | "+ c #4D4D4D", 7 | "@ c #F5F5F5", 8 | "# c #F4F4F4", 9 | "$ c #373737", 10 | "% c #F3F3F3", 11 | "& c #C3C3C3", 12 | "* c #EAEAEA", 13 | "= c #EBEBEB", 14 | "- c #ADADAD", 15 | "; c #424242", 16 | "> c #EFEFEF", 17 | ", c #F2F2F2", 18 | "' c #454545", 19 | ") c #4C4C4C", 20 | "! c #BEBEBE", 21 | "~ c #D7D7D7", 22 | "{ c #A3A3A3", 23 | "] c #F1F1F1", 24 | "^ c #BCBCBC", 25 | "/ c #E9E9E9", 26 | "( c #909090", 27 | "_ c #C1C1C1", 28 | ": c #DBDBDB", 29 | "< c #CECECE", 30 | "[ c #AAAAAA", 31 | "} c #D4D4D4", 32 | "| c #2D2D2D", 33 | " ........... ", 34 | ".+@@@##@@##$. ", 35 | ".#+##@%#%#+&. ", 36 | ".#*+@##@#+=-. ", 37 | ".@##+@#@;>==. ", 38 | ".,@>+'#)+#,!. ", 39 | ".@%+#@+#,+~{. ", 40 | ".#+%#@]%,^$/. ", 41 | ".+{{(_^:<[}|. ", 42 | " ........... ", 43 | " ", 44 | " ", 45 | " "}; 46 | -------------------------------------------------------------------------------- /src/pixmaps/addr_two.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * addr_two_xpm[] = { 3 | "16 13 29 1", 4 | " c None", 5 | ". c #161616", 6 | "+ c #4D4D4D", 7 | "@ c #F5F5F5", 8 | "# c #F4F4F4", 9 | "$ c #373737", 10 | "% c #EAEAEA", 11 | "& c #F3F3F3", 12 | "* c #C3C3C3", 13 | "= c #F2F2F2", 14 | "- c #EBEBEB", 15 | "; c #ADADAD", 16 | "> c #424242", 17 | ", c #EFEFEF", 18 | "' c #454545", 19 | ") c #4C4C4C", 20 | "! c #BEBEBE", 21 | "~ c #A3A3A3", 22 | "{ c #D7D7D7", 23 | "] c #F1F1F1", 24 | "^ c #BCBCBC", 25 | "/ c #E9E9E9", 26 | "( c #909090", 27 | "_ c #C1C1C1", 28 | ": c #DBDBDB", 29 | "< c #CECECE", 30 | "[ c #AAAAAA", 31 | "} c #D4D4D4", 32 | "| c #2D2D2D", 33 | " ........... ", 34 | ".+@@@##@@##$. ", 35 | ".#+#........... ", 36 | ".#%.+@@@##@@##$.", 37 | ".@#.#+##@&#&#+*.", 38 | ".=@.#%+@##@#+-;.", 39 | ".@&.@##+@#@>,--.", 40 | ".#+.=@,+'#)+#=!.", 41 | ".+~.@&+#@+#=+{~.", 42 | " ...#+&#@]&=^$/.", 43 | " .+~~(_^:<[}|.", 44 | " ........... ", 45 | " "}; 46 | -------------------------------------------------------------------------------- /src/pixmaps/left_arrow.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * left_arrow_xpm[] = { 3 | "16 16 25 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #5B88B2", 7 | "@ c #5080AD", 8 | "# c #9EB8D1", 9 | "$ c #080D11", 10 | "% c #9CB7D1", 11 | "& c #A4BDD5", 12 | "* c #B6CADD", 13 | "= c #B2C7DB", 14 | "- c #AFC5DA", 15 | "; c #B5C9DC", 16 | "> c #5F8BB4", 17 | ", c #97B3CE", 18 | "' c #A0BAD3", 19 | ") c #9AB5CF", 20 | "! c #9BB6D0", 21 | "~ c #4C79A3", 22 | "{ c #95B2CE", 23 | "] c #91B0CC", 24 | "^ c #2A435B", 25 | "/ c #3F6588", 26 | "( c #49749C", 27 | "_ c #375978", 28 | ": c #456F96", 29 | " ", 30 | " ", 31 | " . ", 32 | " .. ", 33 | " .+. ", 34 | " .@#....... ", 35 | " $@%&***=-;. ", 36 | " .>,%')!%%'!. ", 37 | " .~{'%%%!))#]. ", 38 | " .^////////(. ", 39 | " .^//_____:. ", 40 | " .^/....... ", 41 | " .^. ", 42 | " .. ", 43 | " . ", 44 | " "}; 45 | -------------------------------------------------------------------------------- /src/pixmaps/right_arrow.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * right_arrow_xpm[] = { 3 | "16 16 25 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #5B88B2", 7 | "@ c #9EB8D1", 8 | "# c #5080AD", 9 | "$ c #B5C9DC", 10 | "% c #AFC5DA", 11 | "& c #B2C7DB", 12 | "* c #B6CADD", 13 | "= c #A4BDD5", 14 | "- c #9CB7D1", 15 | "; c #080D11", 16 | "> c #9BB6D0", 17 | ", c #A0BAD3", 18 | "' c #9AB5CF", 19 | ") c #97B3CE", 20 | "! c #5F8BB4", 21 | "~ c #91B0CC", 22 | "{ c #95B2CE", 23 | "] c #4C79A3", 24 | "^ c #49749C", 25 | "/ c #3F6588", 26 | "( c #2A435B", 27 | "_ c #456F96", 28 | ": c #375978", 29 | " ", 30 | " ", 31 | " . ", 32 | " .. ", 33 | " .+. ", 34 | " .......@#. ", 35 | " .$%&***=-#; ", 36 | " .>,-->',-)!. ", 37 | " .~@''>---,{]. ", 38 | " .^////////(. ", 39 | " ._::::://(. ", 40 | " ......./(. ", 41 | " .(. ", 42 | " .. ", 43 | " . ", 44 | " "}; 45 | -------------------------------------------------------------------------------- /src/pixmaps/rotate_left.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * rotate_left_xpm[] = { 3 | "16 16 25 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #5B88B2", 7 | "@ c #5080AD", 8 | "# c #9EB8D1", 9 | "$ c #080D11", 10 | "% c #9CB7D1", 11 | "& c #A4BDD5", 12 | "* c #B6CADD", 13 | "= c #B2C7DB", 14 | "- c #AFC5DA", 15 | "; c #B5C9DC", 16 | "> c #5F8BB4", 17 | ", c #97B3CE", 18 | "' c #A0BAD3", 19 | ") c #9AB5CF", 20 | "! c #9BB6D0", 21 | "~ c #4C79A3", 22 | "{ c #95B2CE", 23 | "] c #91B0CC", 24 | "^ c #2A435B", 25 | "/ c #3F6588", 26 | "( c #375978", 27 | "_ c #456F96", 28 | ": c #49749C", 29 | " . ", 30 | " .. ", 31 | " .+. ", 32 | " .@#....... ", 33 | " $@%&***=-;;. ", 34 | " .>,%')!%%'!!!. ", 35 | ".~{'%%%!))#]]!;.", 36 | " .^/////////]!;.", 37 | " .^//(((((/]!;.", 38 | " .^/...((/]!;.", 39 | " .^. .(/!!*.", 40 | " .. .(/)%*.", 41 | " . .(/)%=.", 42 | " .(/#'-.", 43 | " ._:]!;.", 44 | " ......."}; 45 | -------------------------------------------------------------------------------- /src/pixmaps/rotate_right.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * rotate_right_xpm[] = { 3 | "16 16 25 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #5B88B2", 7 | "@ c #9EB8D1", 8 | "# c #5080AD", 9 | "$ c #B5C9DC", 10 | "% c #AFC5DA", 11 | "& c #B2C7DB", 12 | "* c #B6CADD", 13 | "= c #A4BDD5", 14 | "- c #9CB7D1", 15 | "; c #080D11", 16 | "> c #9BB6D0", 17 | ", c #A0BAD3", 18 | "' c #9AB5CF", 19 | ") c #97B3CE", 20 | "! c #5F8BB4", 21 | "~ c #91B0CC", 22 | "{ c #95B2CE", 23 | "] c #4C79A3", 24 | "^ c #3F6588", 25 | "/ c #2A435B", 26 | "( c #375978", 27 | "_ c #49749C", 28 | ": c #456F96", 29 | " . ", 30 | " .. ", 31 | " .+. ", 32 | " .......@#. ", 33 | " .$$%&***=-#; ", 34 | " .>>>,-->',-)!. ", 35 | ".$>~~@''>---,{].", 36 | ".$>~^^^^^^^^^/. ", 37 | ".$>~^(((((^^/. ", 38 | ".$>~^((...^/. ", 39 | ".*>>^(. ./. ", 40 | ".*-'^(. .. ", 41 | ".&-'^(. . ", 42 | ".%,@^(. ", 43 | ".$>~_:. ", 44 | "....... "}; 45 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_td.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_td.h" 3 | 4 | 5 | litehtml::el_td::el_td(const std::shared_ptr& doc) : html_tag(doc) 6 | { 7 | 8 | } 9 | 10 | void litehtml::el_td::parse_attributes() 11 | { 12 | const char* str = get_attr("width"); 13 | if(str) 14 | { 15 | m_style.add_property(_width_, str); 16 | } 17 | str = get_attr("background"); 18 | if(str) 19 | { 20 | string url = "url('"; 21 | url += str; 22 | url += "')"; 23 | m_style.add_property(_background_image_, url); 24 | } 25 | str = get_attr("align"); 26 | if(str) 27 | { 28 | m_style.add_property(_text_align_, str); 29 | } 30 | 31 | str = get_attr("bgcolor"); 32 | if (str) 33 | { 34 | m_style.add_property(_background_color_, str, "", false, get_document()->container()); 35 | } 36 | 37 | str = get_attr("valign"); 38 | if(str) 39 | { 40 | m_style.add_property(_vertical_align_, str); 41 | } 42 | html_tag::parse_attributes(); 43 | } 44 | -------------------------------------------------------------------------------- /src/plugins/perl/tools/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | EXTRA_TOOLS = \ 7 | matcherrc2perlfilter.pl 8 | 9 | EXTRA_DIST = \ 10 | $(EXTRA_TOOLS) 11 | 12 | MAKE_EXE = chmod u+x $(EXTRA_TOOLS) 13 | 14 | all-local: 15 | for file in $(EXTRA_TOOLS); do \ 16 | if [ ! -e ${top_builddir}/src/plugins/perl/tools/$$file ]; then \ 17 | todir=${top_builddir}/src/plugins/perl/tools; \ 18 | dir=$$(dirname $$file); \ 19 | if [ ! $$dir = . ]; then \ 20 | todir=$$todir/$$dir; \ 21 | fi; \ 22 | cp ${top_srcdir}/src/plugins/perl/tools/$$file $$todir; \ 23 | fi; \ 24 | done; 25 | $(MAKE_EXE) 26 | 27 | distclean-local: 28 | if [ ! ${top_builddir} = ${top_srcdir} ]; then \ 29 | for file in $(EXTRA_TOOLS); do \ 30 | rm -f $$file; \ 31 | done; \ 32 | fi 33 | 34 | .PHONY: test 35 | -------------------------------------------------------------------------------- /src/mh_gtk.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto & the Claws Mail Team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef MH_GTK_H 21 | #define MH_GTK_H 22 | 23 | void mh_gtk_init(void); 24 | 25 | #endif /* MH_GTK_H */ 26 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_link.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "el_link.h" 3 | #include "document.h" 4 | 5 | 6 | litehtml::el_link::el_link(const std::shared_ptr& doc) : litehtml::html_tag(doc) 7 | { 8 | 9 | } 10 | 11 | void litehtml::el_link::parse_attributes() 12 | { 13 | bool processed = false; 14 | 15 | document::ptr doc = get_document(); 16 | 17 | const char* rel = get_attr("rel"); 18 | if(rel && !strcmp(rel, "stylesheet")) 19 | { 20 | const char* media = get_attr("media"); 21 | const char* href = get_attr("href"); 22 | if(href && href[0]) 23 | { 24 | string css_text; 25 | string css_baseurl; 26 | doc->container()->import_css(css_text, href, css_baseurl); 27 | if(!css_text.empty()) 28 | { 29 | doc->add_stylesheet(css_text.c_str(), css_baseurl.c_str(), media); 30 | processed = true; 31 | } 32 | } 33 | } 34 | 35 | if(!processed) 36 | { 37 | doc->container()->link(doc, shared_from_this()); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/gtk/about.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2015 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __ABOUT_H__ 20 | #define __ABOUT_H__ 21 | 22 | void about_show(void); 23 | 24 | #endif /* __ABOUT_H__ */ 25 | -------------------------------------------------------------------------------- /src/gtk/foldersort.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2004-2018 the Claws Mail Team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef FOLDERSORT_H 21 | #define FOLDERSORT_H 22 | 23 | void foldersort_open(void); 24 | 25 | #endif /* FOLDERSORT_H */ 26 | -------------------------------------------------------------------------------- /src/pixmaps/delete_dup_btn.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * delete_dup_btn_xpm[] = { 3 | "24 24 6 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #808080", 7 | "@ c #FFFFFF", 8 | "# c #FF0000", 9 | "$ c #E00000", 10 | " ", 11 | " ", 12 | " ..... ", 13 | ".+@@@+. ", 14 | ".@+@+@. ", 15 | ".@@+@@. ", 16 | ".@@@@@. ", 17 | " ..... .. ", 18 | " .#. ", 19 | " ..... ....##. ..... ", 20 | ".+@@@+. .######. .+@@@+.", 21 | ".@+@+@. .######$..@+@+@.", 22 | ".@@+@@. .######. .@@+@@.", 23 | ".@@@@@. ....##. .@@@@@.", 24 | " ..... .#. ..... ", 25 | " .. ", 26 | " ..... ", 27 | ".+@@@+. ", 28 | ".@+@+@. ", 29 | ".@@+@@. ", 30 | ".@@@@@. ", 31 | " ..... ", 32 | " ", 33 | " "}; 34 | -------------------------------------------------------------------------------- /src/plugins/clamd/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | SUBDIRS = libclamd 7 | plugindir = $(pkglibdir)/plugins 8 | 9 | if BUILD_CLAMD_PLUGIN 10 | plugin_LTLIBRARIES = clamd.la 11 | endif 12 | 13 | clamd_la_SOURCES = \ 14 | clamav_plugin.c \ 15 | clamav_plugin_gtk.c \ 16 | clamav_plugin.h 17 | 18 | clamd_la_LDFLAGS = \ 19 | -avoid-version -module -z noexecstack \ 20 | $(GTK_LIBS) \ 21 | -L$(top_builddir)/src/plugins/clamd/libclamd 22 | 23 | clamd_la_LIBADD = \ 24 | -lclamd-plugin 25 | 26 | clamd_la_CPPFLAGS = \ 27 | -I$(top_srcdir)/src/plugins/clamd/libclamd \ 28 | -I$(top_srcdir)/src \ 29 | -I$(top_srcdir)/src/common \ 30 | -I$(top_builddir)/src \ 31 | -I$(top_srcdir)/src/gtk \ 32 | $(GLIB_CFLAGS) \ 33 | $(GTK_CFLAGS) \ 34 | $(ENCHANT_CFLAGS) 35 | 36 | .PHONY: test 37 | -------------------------------------------------------------------------------- /src/plugins/dillo/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugindir = $(pkglibdir)/plugins 7 | 8 | if BUILD_DILLO_PLUGIN 9 | plugin_LTLIBRARIES = dillo.la 10 | endif 11 | 12 | dillo_la_SOURCES = \ 13 | dillo_viewer.c \ 14 | dillo_prefs.c \ 15 | dillo_prefs.h 16 | 17 | dillo_la_LDFLAGS = \ 18 | -avoid-version -module -z noexecstack 19 | 20 | if CYGWIN 21 | cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail 22 | else 23 | cygwin_export_lib = 24 | endif 25 | 26 | dillo_la_LIBADD = $(cygwin_export_lib) \ 27 | $(GTK_LIBS) 28 | 29 | dillo_la_CPPFLAGS = \ 30 | -I$(top_srcdir)/src \ 31 | -I$(top_builddir)/src \ 32 | -I$(top_srcdir)/src/common \ 33 | -I$(top_srcdir)/src/gtk \ 34 | $(GLIB_CFLAGS) \ 35 | $(GTK_CFLAGS) \ 36 | $(ENCHANT_CFLAGS) 37 | 38 | .PHONY: test 39 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/css_margins.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_CSS_MARGINS_H 2 | #define LH_CSS_MARGINS_H 3 | 4 | #include "css_length.h" 5 | 6 | namespace litehtml 7 | { 8 | struct css_margins 9 | { 10 | css_length left; 11 | css_length right; 12 | css_length top; 13 | css_length bottom; 14 | 15 | css_margins() = default; 16 | 17 | css_margins(const css_margins& val) 18 | { 19 | left = val.left; 20 | right = val.right; 21 | top = val.top; 22 | bottom = val.bottom; 23 | } 24 | 25 | css_margins& operator=(const css_margins& val) 26 | { 27 | left = val.left; 28 | right = val.right; 29 | top = val.top; 30 | bottom = val.bottom; 31 | return *this; 32 | } 33 | 34 | string to_string() const 35 | { 36 | return "left: " + left.to_string() + 37 | ", right: " + right.to_string() + 38 | ", top: " + top.to_string() + 39 | ", bottom: " + bottom.to_string(); 40 | } 41 | }; 42 | } 43 | 44 | #endif // LH_CSS_MARGINS_H 45 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/css_offsets.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_CSS_OFFSETS_H 2 | #define LH_CSS_OFFSETS_H 3 | 4 | #include "css_length.h" 5 | 6 | namespace litehtml 7 | { 8 | struct css_offsets 9 | { 10 | css_length left; 11 | css_length top; 12 | css_length right; 13 | css_length bottom; 14 | 15 | css_offsets() = default; 16 | 17 | css_offsets(const css_offsets& val) 18 | { 19 | left = val.left; 20 | top = val.top; 21 | right = val.right; 22 | bottom = val.bottom; 23 | } 24 | 25 | css_offsets& operator=(const css_offsets& val) 26 | { 27 | left = val.left; 28 | top = val.top; 29 | right = val.right; 30 | bottom = val.bottom; 31 | return *this; 32 | } 33 | 34 | string to_string() const 35 | { 36 | return "left: " + left.to_string() + 37 | ", top: " + top.to_string() + 38 | ", right: " + right.to_string() + 39 | ", bottom: " + bottom.to_string(); 40 | } 41 | }; 42 | } 43 | 44 | #endif // LH_CSS_OFFSETS_H 45 | -------------------------------------------------------------------------------- /po/merge-po-from-plugin.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$1" = "" -o "$2" = "" ]; then 3 | echo usage: $0 path/to/oldplugin/po/ ../src/plugins/newplugin 4 | exit 1 5 | fi 6 | 7 | #Check if new files are in POTFILES 8 | 9 | sources=`find $2 -name '*.[ch]'` 10 | translatedfiles=`grep -rwl '_(' $sources` 11 | for file in $translatedfiles; do 12 | file=`echo $file|sed "s/^\.\.\///"` 13 | inPOTFILESin=`grep $file POTFILES.in` 14 | inPOTFILES=`grep $file POTFILES` 15 | if [ "$inPOTFILESin" = "" ]; then 16 | echo "$file not in POTFILES.in, please add it" 17 | err=1 18 | elif [ "$inPOTFILES" = "" ]; then 19 | echo "$file not in POTFILES, please autogen.sh" 20 | err=1 21 | fi 22 | done 23 | if [ "$err" = "1" ]; then 24 | exit 1 25 | fi 26 | 27 | #update all with new files 28 | make update-po 29 | 30 | #Merge with old plugin po files 31 | for pluginpo in $1/*.po; do 32 | corepo=`basename $pluginpo` 33 | msgcat --use-first $corepo $pluginpo > $corepo.new && mv $corepo.new $corepo 34 | done; 35 | -------------------------------------------------------------------------------- /src/plugins/bogofilter/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugindir = $(pkglibdir)/plugins 7 | 8 | if BUILD_BOGOFILTER_PLUGIN 9 | plugin_LTLIBRARIES = bogofilter.la 10 | endif 11 | 12 | bogofilter_la_SOURCES = \ 13 | bogofilter.c bogofilter.h \ 14 | bogofilter_gtk.c 15 | 16 | bogofilter_la_LDFLAGS = \ 17 | -avoid-version -module -z noexecstack 18 | 19 | if CYGWIN 20 | cygwin_export_lib = -L$(top_builddir)/src -lclaws-mail 21 | else 22 | cygwin_export_lib = 23 | endif 24 | bogofilter_la_LIBADD = $(cygwin_export_lib) \ 25 | $(GTK_LIBS) 26 | 27 | bogofilter_la_CPPFLAGS = \ 28 | -I$(top_srcdir)/src \ 29 | -I$(top_srcdir)/src/common \ 30 | -I$(top_builddir)/src \ 31 | -I$(top_srcdir)/src/gtk \ 32 | $(ENCHANT_CFLAGS) \ 33 | $(GLIB_CFLAGS) \ 34 | $(GTK_CFLAGS) 35 | 36 | .PHONY: test 37 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_text.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_TEXT_H 2 | #define LH_EL_TEXT_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_text : public element 9 | { 10 | protected: 11 | string m_text; 12 | string m_transformed_text; 13 | size m_size; 14 | bool m_use_transformed; 15 | bool m_draw_spaces; 16 | public: 17 | el_text(const char* text, const document::ptr& doc); 18 | 19 | void get_text(string& text) override; 20 | void compute_styles(bool recursive) override; 21 | bool is_text() const override { return true; } 22 | 23 | void draw(uint_ptr hdc, int x, int y, const position *clip, const std::shared_ptr &ri) override; 24 | string dump_get_name() override; 25 | std::vector> dump_get_attrs() override; 26 | protected: 27 | void get_content_size(size& sz, int max_width) override; 28 | }; 29 | } 30 | 31 | #endif // LH_EL_TEXT_H 32 | -------------------------------------------------------------------------------- /src/edittags.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2007-2021 the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef __EDITTAGS_H__ 21 | #define __EDITTAGS_H__ 22 | 23 | #include 24 | 25 | void tags_window_open(GSList *msglist); 26 | #endif 27 | -------------------------------------------------------------------------------- /src/pixmaps/mark_unread.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * mark_unread_xpm[] = { 3 | "24 24 7 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #030057", 7 | "@ c #DDDCF2", 8 | "# c #CAC8EB", 9 | "$ c #B0AEE1", 10 | "% c #26219A", 11 | " ", 12 | " ", 13 | " ", 14 | " ", 15 | " ", 16 | " ", 17 | " ", 18 | " ................. ", 19 | " .+@@@@@@@@@@@###@+. ", 20 | " .#+@######$#$$$@+%. ", 21 | " .@#+@#$$$$$$$$@+%$. ", 22 | " .@$#+@#$$$$$$@+%#$. ", 23 | " .@$$#+@$$$$$@+%$#$. ", 24 | " .@$$$$+@$$$@+%$$#$. ", 25 | " .@$$$$%+@$@+%$$$$$. ", 26 | " .@$$$%@#+@+%#%$$$$. ", 27 | " .@$$%@$$#+%$$#%$$$. ", 28 | " .@$%@$$$$$$$$$#%$$. ", 29 | " .#%@$$$$$$$$$$$#%$. ", 30 | " .%#$$$$$$$$$$$$$$%. ", 31 | " ................. ", 32 | " ", 33 | " ", 34 | " "}; 35 | -------------------------------------------------------------------------------- /src/pixmaps/mark_allunread.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * mark_allunread_xpm[] = { 3 | "24 24 7 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #030057", 7 | "@ c #DDDCF2", 8 | "# c #CAC8EB", 9 | "$ c #B0AEE1", 10 | "% c #26219A", 11 | " ", 12 | " ", 13 | " ", 14 | " ", 15 | " ", 16 | " ", 17 | " ................. ", 18 | ".+@@@@@@@@@@@###@+. ", 19 | ".#+@######$#$$$@+%. ", 20 | ".@#+@#$$$$$$$$@+%$.... ", 21 | ".@$#+@#$$$$$$@+%#$.$$+. ", 22 | ".@$$#+@$$$$$@+%$#$.$+%. ", 23 | ".@$$$$+@$$$@+%$$#$.+%$. ", 24 | ".@$$$$%+@$@+%$$$$$.%#$. ", 25 | ".@$$$%@#+@+%#%$$$$.$#$. ", 26 | ".@$$%@$$#+%$$#%$$$.$#$. ", 27 | ".@$%@$$$$$$$$$#%$$.$$$. ", 28 | ".#%@$$$$$$$$$$$#%$.$$$. ", 29 | ".%#$$$$$$$$$$$$$$%.$$$. ", 30 | " .................+%$$. ", 31 | " .$%#$$$$$$$$$$$#%$. ", 32 | " .%#$$$$$$$$$$$$$$%. ", 33 | " ................. ", 34 | " "}; 35 | -------------------------------------------------------------------------------- /src/pixmaps/locked.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * locked_xpm[] = { 3 | "12 12 35 1", 4 | " c None", 5 | ". c #000000", 6 | "+ c #F3EFE0", 7 | "@ c #F4E5B3", 8 | "# c #CDB86D", 9 | "$ c #F4F0E4", 10 | "% c #F2E1A5", 11 | "& c #EED680", 12 | "* c #F9F9F9", 13 | "= c #E5EAF1", 14 | "- c #DCE3EB", 15 | "; c #DAE1E8", 16 | "> c #D7DEE6", 17 | ", c #D1D9E1", 18 | "' c #8F99A2", 19 | ") c #E3EAF1", 20 | "! c #B7C8DA", 21 | "~ c #8CA7C3", 22 | "{ c #87A2BE", 23 | "] c #829DBA", 24 | "^ c #7D98B6", 25 | "/ c #465766", 26 | "( c #E7EDF3", 27 | "_ c #B6C7D9", 28 | ": c #8AA5C1", 29 | "< c #85A0BC", 30 | "[ c #809BB8", 31 | "} c #7B96B4", 32 | "| c #445462", 33 | "1 c #ECF1F5", 34 | "2 c #AEC0D4", 35 | "3 c #88A3BF", 36 | "4 c #839EBB", 37 | "5 c #7E99B6", 38 | "6 c #7994B2", 39 | " ", 40 | " ... ", 41 | " .+@#. ", 42 | " .$.. #. ", 43 | " .%. .&. ", 44 | " ..#...#.. ", 45 | " .*=-;>,'. ", 46 | " .)!~{]^/. ", 47 | " .(_:<[}|. ", 48 | " .123456|. ", 49 | " ......... ", 50 | " "}; 51 | -------------------------------------------------------------------------------- /src/pixmaps/moved.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * moved_xpm[] = { 3 | "12 12 35 1", 4 | " c None", 5 | ". c #010106", 6 | "+ c #070723", 7 | "@ c #070724", 8 | "# c #2C2CD5", 9 | "$ c #3535D5", 10 | "% c #6363D4", 11 | "& c #4747D4", 12 | "* c #7373D6", 13 | "= c #8E8ED4", 14 | "- c #E8E8E8", 15 | "; c #8989DE", 16 | "> c #6666D7", 17 | ", c #9898D1", 18 | "' c #E2E2EB", 19 | ") c #DCDCDC", 20 | "! c #8787DB", 21 | "~ c #5656D1", 22 | "{ c #D1D1E0", 23 | "] c #EDEDED", 24 | "^ c #D0D0D0", 25 | "/ c #CECEE6", 26 | "( c #4646D3", 27 | "_ c #3A3AD5", 28 | ": c #5656D0", 29 | "< c #D0D0DE", 30 | "[ c #F0F0F0", 31 | "} c #D1D1D1", 32 | "| c #CBCBE2", 33 | "1 c #6767D8", 34 | "2 c #9898D0", 35 | "3 c #E9E9E9", 36 | "4 c #7474D7", 37 | "5 c #8D8DD4", 38 | "6 c #8A8ADE", 39 | " ", 40 | " .+@++++@+. ", 41 | " +####$%&#@ ", 42 | " +###*=-;#+ ", 43 | " +#>,'-)!#@ ", 44 | " @~{]^/(_#@ ", 45 | " +:<[}|(_#+ ", 46 | " @#12'3)!#@ ", 47 | " +###45-6#@ ", 48 | " +####$%&#+ ", 49 | " .@@@@@@@@. ", 50 | " "}; 51 | -------------------------------------------------------------------------------- /src/plugins/pgpmime/pgpmime.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PGPMIME_H 21 | #define PGPMIME_H 1 22 | 23 | void pgpmime_init(void); 24 | void pgpmime_done(void); 25 | 26 | #endif /* PGPMIME_H */ 27 | -------------------------------------------------------------------------------- /src/prefs_proxy.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2018 the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_PROXY_H 21 | #define PREFS_PROXY_H 22 | 23 | void prefs_proxy_init (void); 24 | void prefs_proxy_done (void); 25 | 26 | #endif /* PREFS_PROXY_H */ 27 | -------------------------------------------------------------------------------- /src/common/uuencode.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2024 Hiroyuki Yamamoto and the Claws Mail Team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __UUENCODE_H__ 20 | #define __UUENCODE_H__ 21 | 22 | int fromuutobits(char *, const char *); 23 | 24 | #endif /* __UUENCODE_H__ */ 25 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_before_after.h: -------------------------------------------------------------------------------- 1 | #ifndef LH_EL_BEFORE_AFTER_H 2 | #define LH_EL_BEFORE_AFTER_H 3 | 4 | #include "html_tag.h" 5 | 6 | namespace litehtml 7 | { 8 | class el_before_after_base : public html_tag 9 | { 10 | public: 11 | el_before_after_base(const std::shared_ptr& doc, bool before); 12 | 13 | void add_style(const style& style) override; 14 | private: 15 | void add_text(const string& txt); 16 | void add_function(const string& fnc, const string& params); 17 | static string convert_escape(const char* txt); 18 | }; 19 | 20 | class el_before : public el_before_after_base 21 | { 22 | public: 23 | explicit el_before(const std::shared_ptr& doc) : el_before_after_base(doc, true) 24 | { 25 | 26 | } 27 | }; 28 | 29 | class el_after : public el_before_after_base 30 | { 31 | public: 32 | explicit el_after(const std::shared_ptr& doc) : el_before_after_base(doc, false) 33 | { 34 | 35 | } 36 | }; 37 | } 38 | 39 | #endif // LH_EL_BEFORE_AFTER_H 40 | -------------------------------------------------------------------------------- /src/prefs_ext_prog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2004-2012 the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_EXT_PROG_H 21 | #define PREFS_EXT_PROG_H 22 | 23 | void prefs_ext_prog_init (void); 24 | void prefs_ext_prog_done (void); 25 | 26 | #endif /* PREFS_EXT_PROG_H */ 27 | -------------------------------------------------------------------------------- /src/password_gtk.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2016 Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef __PASSWORD_GTK_H 21 | #define __PASSWORD_GTK_H 22 | 23 | #ifndef PASSWORD_CRYPTO_OLD 24 | void primary_passphrase_change_dialog(); 25 | #endif 26 | 27 | #endif /* __PASSWORD_GTK_H */ 28 | -------------------------------------------------------------------------------- /src/prefs_fonts.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2003-2012 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_FONTS_H 21 | #define PREFS_FONTS_H 22 | 23 | void prefs_fonts_init (void); 24 | void prefs_fonts_done (void); 25 | 26 | #endif /* PREFS_FONTS_H */ 27 | -------------------------------------------------------------------------------- /src/prefs_send.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2005-2012 Colin Leroy & the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_SEND_H 21 | #define PREFS_SEND_H 22 | 23 | void prefs_send_init (void); 24 | void prefs_send_done (void); 25 | 26 | #endif /* PREFS_SEND_H */ 27 | -------------------------------------------------------------------------------- /src/addrcustomattr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2007-2012 The Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef __ADDRCUSTOMATTR_H__ 21 | #define __ADDRCUSTOMATTR_H__ 22 | 23 | void addressbook_custom_attr_edit(void); 24 | GList *addressbook_update_custom_attr_from_prefs(void); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /src/etpan/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2014 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | PLUGINDIR = $(pkglibdir)/plugins/ 7 | 8 | noinst_LTLIBRARIES = libclawsetpan.la 9 | 10 | libclawsetpan_la_SOURCES = \ 11 | etpan-thread-manager.c \ 12 | imap-thread.c \ 13 | nntp-thread.c \ 14 | etpan-ssl.c 15 | 16 | clawsetpanincludedir = $(pkgincludedir)/etpan 17 | clawsetpaninclude_HEADERS = \ 18 | etpan-thread-manager-types.h \ 19 | etpan-thread-manager.h \ 20 | etpan-errors.h \ 21 | imap-thread.h \ 22 | nntp-thread.h \ 23 | etpan-ssl.h 24 | 25 | AM_CPPFLAGS = \ 26 | -I$(top_srcdir)/src \ 27 | -I$(top_srcdir)/src/common \ 28 | -I$(top_srcdir)/src/gtk \ 29 | $(GTK_CFLAGS) \ 30 | $(LIBETPAN_CFLAGS) \ 31 | $(ENCHANT_CFLAGS) 32 | 33 | libclawsetpan_la_LIBADD = \ 34 | ../common/libclawscommon.la \ 35 | $(GTK_LIBS) \ 36 | $(LIBETPAN_LIBS) \ 37 | $(ENCHANT_LIBS) 38 | 39 | .PHONY: test 40 | -------------------------------------------------------------------------------- /src/gtk/icon_legend.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * This file Copyright (C) 2005-2012 Paul Mangan 4 | * and the Claws Mail team 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | 21 | #ifndef __ICON_LEGEND_H__ 22 | #define __ICON_LEGEND_H__ 23 | 24 | void legend_show (void); 25 | 26 | #endif /* __ICON_LEGEND_H__ */ 27 | -------------------------------------------------------------------------------- /src/plugins/archive/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2017 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | plugindir = $(pkglibdir)/plugins 7 | 8 | if BUILD_ARCHIVE_PLUGIN 9 | plugin_LTLIBRARIES = archive.la 10 | endif 11 | 12 | archive_la_SOURCES = \ 13 | libarchive_archive.c \ 14 | libarchive_archive.h \ 15 | archiver.c \ 16 | archiver.h \ 17 | archiver_gtk.c \ 18 | archiver_prefs.c \ 19 | archiver_prefs.h 20 | 21 | archive_la_LDFLAGS = \ 22 | -avoid-version -module -z noexecstack \ 23 | $(GTK_LIBS) \ 24 | $(LIBARCHIVE_LIBS) 25 | 26 | archive_la_LIBADD = \ 27 | @ARCHIVE_LIBS@ 28 | 29 | 30 | archive_la_CPPFLAGS = \ 31 | -I$(top_srcdir)/src \ 32 | -I$(top_srcdir)/src/common \ 33 | -I$(top_builddir)/src \ 34 | -I$(top_srcdir)/src/gtk \ 35 | $(GLIB_CFLAGS) \ 36 | $(GTK_CFLAGS) \ 37 | $(ENCHANT_CFLAGS) \ 38 | $(LIBARCHIVE_CFLAGS) 39 | 40 | .PHONY: test 41 | -------------------------------------------------------------------------------- /src/plugins/att_remover/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2022 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | include $(srcdir)/../win_plugin.mk 7 | 8 | IFLAGS = \ 9 | -I$(top_builddir)/src \ 10 | -I$(top_builddir)/src/common \ 11 | -I$(top_srcdir)/src \ 12 | -I$(top_srcdir)/src/common \ 13 | -I$(top_srcdir)/src/gtk 14 | 15 | plugindir = $(pkglibdir)/plugins 16 | 17 | if BUILD_ATT_REMOVER_PLUGIN 18 | plugin_LTLIBRARIES = att_remover.la 19 | endif 20 | 21 | att_remover_la_LDFLAGS = \ 22 | $(plugin_ldflags) \ 23 | -avoid-version -module -z noexecstack 24 | 25 | EXTRA_att_remover_la_DEPENDENCIES = $(plugin_extra_deps) 26 | 27 | att_remover_la_LIBADD = $(plugin_libadd) \ 28 | $(GTK_LIBS) 29 | 30 | att_remover_la_CPPFLAGS = \ 31 | $(IFLAGS) \ 32 | $(GLIB_CFLAGS) \ 33 | $(GTK_CFLAGS) \ 34 | $(ENCHANT_CFLAGS) 35 | 36 | att_remover_la_SOURCES = \ 37 | att_remover.c 38 | 39 | .PHONY: test 40 | -------------------------------------------------------------------------------- /src/plugins/python/nodetype.h: -------------------------------------------------------------------------------- 1 | /* Python plugin for Claws Mail 2 | * Copyright (C) 2009 Holger Berndt 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 3 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #ifndef NODETYPE_H 19 | #define NODETYPE_H 20 | 21 | #include 22 | #include 23 | 24 | gboolean cmpy_add_node(PyObject *module); 25 | 26 | PyObject* clawsmail_node_new(PyObject *module); 27 | 28 | #endif /* NODETYPE_H */ 29 | -------------------------------------------------------------------------------- /src/prefs_other.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2005-2012 Colin Leroy & the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_OTHER_H 21 | #define PREFS_OTHER_H 22 | 23 | void prefs_other_init (void); 24 | void prefs_other_done (void); 25 | 26 | #endif /* PREFS_OTHER_H */ 27 | -------------------------------------------------------------------------------- /src/prefs_quote.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2005-2012 Colin Leroy & the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_QUOTE_H 21 | #define PREFS_QUOTE_H 22 | 23 | void prefs_quote_init (void); 24 | void prefs_quote_done (void); 25 | 26 | #endif /* PREFS_QUOTE_H */ 27 | -------------------------------------------------------------------------------- /src/plugins/bsfilter/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2022 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | include $(srcdir)/../win_plugin.mk 7 | 8 | IFLAGS = \ 9 | -I$(top_builddir)/src \ 10 | -I$(top_srcdir)/src \ 11 | -I$(top_srcdir)/src/common \ 12 | -I$(top_srcdir)/src/gtk 13 | 14 | plugindir = $(pkglibdir)/plugins 15 | 16 | if BUILD_BSFILTER_PLUGIN 17 | plugin_LTLIBRARIES = bsfilter.la 18 | endif 19 | 20 | bsfilter_la_LDFLAGS = \ 21 | $(plugin_ldflags) \ 22 | -avoid-version -module -z noexecstack 23 | 24 | EXTRA_bsfilter_la_DEPENDENCIES = $(plugin_extra_deps) 25 | 26 | bsfilter_la_LIBADD = $(plugin_libadd) \ 27 | $(GTK_LIBS) \ 28 | $(PTHREAD_LIBS) 29 | 30 | bsfilter_la_CPPFLAGS = \ 31 | $(IFLAGS) \ 32 | $(GLIB_CFLAGS) \ 33 | $(GTK_CFLAGS) \ 34 | $(ENCHANT_CFLAGS) 35 | 36 | bsfilter_la_SOURCES = \ 37 | bsfilter.c \ 38 | bsfilter.h \ 39 | bsfilter_gtk.c 40 | 41 | .PHONY: test 42 | -------------------------------------------------------------------------------- /src/plugins/rssyl/opml_export.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2008-2023 the Claws Mail Team and Andrej Kacian 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __RSSYL_OPML 20 | #define __RSSYL_OPML 21 | 22 | #include "rssyl.h" 23 | 24 | void rssyl_opml_export(void); 25 | 26 | #endif /* __RSSYL_OPML */ 27 | -------------------------------------------------------------------------------- /src/plugins/rssyl/rssyl_update_format.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2006-2023 the Claws Mail Team and Andrej Kacian 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __RSSYL_UPDATE_FORMAT 20 | #define __RSSYL_UPDATE_FORMAT 21 | 22 | void rssyl_update_format(); 23 | 24 | #endif /* __RSSYL_UPDATE_FORMAT */ 25 | -------------------------------------------------------------------------------- /src/prefs_themes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2003-2012 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_THEMES_H 21 | #define PREFS_THEMES_H 22 | 23 | void prefs_themes_init(void); 24 | void prefs_themes_done(void); 25 | 26 | 27 | #endif /* PREFS_THEMES_H */ 28 | 29 | -------------------------------------------------------------------------------- /src/gtk/pluginwindow.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2015 Hiroyuki Yamamoto and the Claws Mail Team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef PLUGINWINDOW_H 20 | #define PLUGINWINDOW_H 1 21 | 22 | #ifdef HAVE_CONFIG_H 23 | #include "claws-features.h" 24 | #endif 25 | 26 | void pluginwindow_create(); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /src/pixmaps/ignorethread.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * ignorethread_xpm[] = { 3 | "12 12 37 1", 4 | " c None", 5 | ". c #1B2B3C", 6 | "+ c #000000", 7 | "@ c #B6B6B6", 8 | "# c #264057", 9 | "$ c #233B51", 10 | "% c #253F56", 11 | "& c #374E63", 12 | "* c #606B76", 13 | "= c #2B2B2B", 14 | "- c #CACACA", 15 | "; c #334F68", 16 | "> c #E7E7E7", 17 | ", c #FFFFFF", 18 | "' c #314E6C", 19 | ") c #597187", 20 | "! c #262626", 21 | "~ c #DFDFDF", 22 | "{ c #F5F5F5", 23 | "] c #3B5673", 24 | "^ c #506881", 25 | "/ c #E1E1E1", 26 | "( c #A0A0A0", 27 | "_ c #F0F0F0", 28 | ": c #8091A3", 29 | "< c #EC8E79", 30 | "[ c #DF421E", 31 | "} c #EBEBEB", 32 | "| c #7D8EA0", 33 | "1 c #FCF1EF", 34 | "2 c #FDFBFA", 35 | "3 c #FDF6F4", 36 | "4 c #F9DFDA", 37 | "5 c #303030", 38 | "6 c #FBECE9", 39 | "7 c #FBEAE7", 40 | "8 c #FDF9F8", 41 | " ", 42 | " .+++++ ", 43 | " .@#$%&*= ", 44 | " +-;>,+')@! ", 45 | "+~{],,+'^/(+", 46 | " +_:'<[[[[[<", 47 | " +}|[12[34[", 48 | " 5+[2,6,3[", 49 | " [[1,6[[", 50 | " [3,7,8[", 51 | " [18[34[", 52 | " <[[[[[<"}; 53 | -------------------------------------------------------------------------------- /src/prefs_spelling.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_SPELLING_H 21 | #define PREFS_SPELLING_H 22 | 23 | void prefs_spelling_init (void); 24 | void prefs_spelling_done (void); 25 | 26 | #endif /* PREFS_SPELLING_H */ 27 | -------------------------------------------------------------------------------- /src/prefs_wrapping.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2004-2012 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_WRAPPING_H 21 | #define PREFS_WRAPPING_H 22 | 23 | void prefs_wrapping_init (void); 24 | void prefs_wrapping_done (void); 25 | 26 | #endif /* PREFS_WRAPPING_H */ 27 | -------------------------------------------------------------------------------- /src/file_checker.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2013-2021 the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef __FILE_CHECKER_H__ 21 | #define __FILE_CHECKER_H__ 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | gboolean check_file_integrity(); 28 | 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /src/pixmaps/first_arrow.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * first_arrow_xpm[] = { 3 | "16 16 30 1", 4 | " c None", 5 | ". c #1D2F3F", 6 | "+ c #1D2F40", 7 | "@ c #1C2C3C", 8 | "# c #3F6588", 9 | "$ c #000000", 10 | "% c #1C2E3E", 11 | "& c #5B88B2", 12 | "* c #5080AD", 13 | "= c #9EB8D1", 14 | "- c #192937", 15 | "; c #080D11", 16 | "> c #9CB7D1", 17 | ", c #A4BDD5", 18 | "' c #B6CADD", 19 | ") c #B2C7DB", 20 | "! c #AFC5DA", 21 | "~ c #B5C9DC", 22 | "{ c #5F8BB4", 23 | "] c #97B3CE", 24 | "^ c #A0BAD3", 25 | "/ c #9AB5CF", 26 | "( c #9BB6D0", 27 | "_ c #4C79A3", 28 | ": c #95B2CE", 29 | "< c #91B0CC", 30 | "[ c #2A435B", 31 | "} c #49749C", 32 | "| c #375978", 33 | "1 c #456F96", 34 | " ", 35 | ".+ ", 36 | "@# $ ", 37 | "%# $$ ", 38 | "@# $&$ ", 39 | "@# $*=$$$$$$$ ", 40 | "-# ;*>,''')!~$ ", 41 | "%#${]>^/(>>^($ ", 42 | "@$_:^>>>(//=<$ ", 43 | "@#$[########}$ ", 44 | "@# $[##|||||1$ ", 45 | "@# $[#$$$$$$$ ", 46 | "@# $[$ ", 47 | "%# $$ ", 48 | "@% $ ", 49 | " "}; 50 | -------------------------------------------------------------------------------- /src/pixmaps/last_arrow.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char * last_arrow_xpm[] = { 3 | "16 16 30 1", 4 | " c None", 5 | ". c #1D2F40", 6 | "+ c #1D2F3F", 7 | "@ c #000000", 8 | "# c #3F6588", 9 | "$ c #1C2C3C", 10 | "% c #1C2E3E", 11 | "& c #5B88B2", 12 | "* c #9EB8D1", 13 | "= c #5080AD", 14 | "- c #B5C9DC", 15 | "; c #AFC5DA", 16 | "> c #B2C7DB", 17 | ", c #B6CADD", 18 | "' c #A4BDD5", 19 | ") c #9CB7D1", 20 | "! c #080D11", 21 | "~ c #192937", 22 | "{ c #9BB6D0", 23 | "] c #A0BAD3", 24 | "^ c #9AB5CF", 25 | "/ c #97B3CE", 26 | "( c #5F8BB4", 27 | "_ c #91B0CC", 28 | ": c #95B2CE", 29 | "< c #4C79A3", 30 | "[ c #49749C", 31 | "} c #2A435B", 32 | "| c #456F96", 33 | "1 c #375978", 34 | " ", 35 | " .+", 36 | " @ #$", 37 | " @@ #%", 38 | " @&@ #$", 39 | " @@@@@@@*=@ #$", 40 | " @-;>,,,')=! #~", 41 | " @{])){^])/(@#%", 42 | " @_*^^{)))]:<@$", 43 | " @[########}@#$", 44 | " @|11111##}@ #$", 45 | " @@@@@@@#}@ #$", 46 | " @}@ #$", 47 | " @@ #%", 48 | " @ %$", 49 | " "}; 50 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/el_space.cpp: -------------------------------------------------------------------------------- 1 | #include "html.h" 2 | #include "document.h" 3 | #include "el_space.h" 4 | 5 | litehtml::el_space::el_space(const char* text, const std::shared_ptr& doc) : el_text(text, doc) 6 | { 7 | } 8 | 9 | bool litehtml::el_space::is_white_space() const 10 | { 11 | white_space ws = css().get_white_space(); 12 | if( ws == white_space_normal || 13 | ws == white_space_nowrap || 14 | ws == white_space_pre_line ) 15 | { 16 | return true; 17 | } 18 | return false; 19 | } 20 | 21 | bool litehtml::el_space::is_break() const 22 | { 23 | white_space ws = css().get_white_space(); 24 | if( ws == white_space_pre || 25 | ws == white_space_pre_line || 26 | ws == white_space_pre_wrap) 27 | { 28 | if(m_text == "\n") 29 | { 30 | return true; 31 | } 32 | } 33 | return false; 34 | } 35 | 36 | bool litehtml::el_space::is_space() const 37 | { 38 | return true; 39 | } 40 | 41 | litehtml::string litehtml::el_space::dump_get_name() 42 | { 43 | return "space: \"" + get_escaped_string(m_text) + "\""; 44 | } 45 | -------------------------------------------------------------------------------- /src/prefs_message.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2005-2012 Colin Leroy & the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_MESSAGE_H 21 | #define PREFS_MESSAGE_H 22 | 23 | void prefs_message_init (void); 24 | void prefs_message_done (void); 25 | 26 | #endif /* PREFS_MESSAGE_H */ 27 | -------------------------------------------------------------------------------- /src/crash.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2002-2012 by the Claws Mail Team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef CRASH_H__ 21 | #define CRASH_H__ 22 | 23 | #define DEBUGGERRC "debuggerrc" 24 | 25 | void crash_install_handlers (void); 26 | void crash_main (const char *arg); 27 | 28 | #endif /* CRASH_H__ */ 29 | 30 | -------------------------------------------------------------------------------- /src/export.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef __EXPORT_H__ 21 | #define __EXPORT_H__ 22 | 23 | #include 24 | 25 | #include "folder.h" 26 | 27 | gint export_mbox(FolderItem *default_src); 28 | 29 | #endif /* __EXPORT_H__ */ 30 | -------------------------------------------------------------------------------- /src/plugins/fetchinfo/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2022 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | include $(srcdir)/../win_plugin.mk 7 | 8 | IFLAGS = \ 9 | -I$(top_builddir)/src \ 10 | -I$(top_builddir)/src/common \ 11 | -I$(top_srcdir)/src \ 12 | -I$(top_srcdir)/src/common \ 13 | -I$(top_srcdir)/src/gtk 14 | 15 | plugindir = $(pkglibdir)/plugins 16 | 17 | if BUILD_FETCHINFO_PLUGIN 18 | plugin_LTLIBRARIES = fetchinfo.la 19 | endif 20 | 21 | fetchinfo_la_LDFLAGS = \ 22 | $(plugin_ldflags) \ 23 | -avoid-version -module -z noexecstack 24 | 25 | EXTRA_fetchinfo_la_DEPENDENCIES = $(plugin_extra_deps) 26 | 27 | fetchinfo_la_LIBADD = $(plugin_libadd) \ 28 | $(GTK_LIBS) 29 | 30 | fetchinfo_la_CPPFLAGS = \ 31 | $(IFLAGS) \ 32 | $(GLIB_CFLAGS) \ 33 | $(GTK_CFLAGS) 34 | 35 | fetchinfo_la_SOURCES = \ 36 | fetchinfo_plugin.c \ 37 | fetchinfo_plugin.h \ 38 | fetchinfo_plugin_gtk.c 39 | 40 | .PHONY: test 41 | -------------------------------------------------------------------------------- /src/plugins/pgpinline/pgpinline.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Colin Leroy and 4 | * the Claws Mail team 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | 21 | #ifndef PGPINLINE_H 22 | #define PGPINLINE_H 1 23 | 24 | void pgpinline_init(void); 25 | void pgpinline_done(void); 26 | 27 | #endif /* PGPINLINE_H */ 28 | -------------------------------------------------------------------------------- /src/common/passcrypt.h.in: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail Team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #define PASSCRYPT_KEY "@PASSCRYPT_KEY@" 21 | 22 | #include 23 | 24 | void passcrypt_encrypt(gchar *password, guint len); 25 | void passcrypt_decrypt(gchar *password, guint len); 26 | -------------------------------------------------------------------------------- /src/common/unmime.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef __UNMIME_H__ 21 | #define __UNMIME_H__ 22 | 23 | #include 24 | 25 | gchar *unmime_header (const gchar *encoded_str, gboolean addr_field); 26 | 27 | #endif /* __UNMIME_H__ */ 28 | -------------------------------------------------------------------------------- /src/matchertypes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2012 the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef MATCHERTYPES_H 21 | #define MATCHERTYPES_H 22 | 23 | struct _MatcherProp; 24 | typedef struct _MatcherProp MatcherProp; 25 | 26 | struct _MatcherList; 27 | typedef struct _MatcherList MatcherList; 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /src/plugins/rssyl/rssyl_add_item.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2005-2023 the Claws Mail Team and Andrej Kacian 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __RSSYL_ADD_ITEM_H 20 | #define __RSSYL_ADD_ITEM_H 21 | 22 | void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item); 23 | 24 | #endif /* __RSSYL_ADD_ITEM_H */ 25 | -------------------------------------------------------------------------------- /src/prefs_summaries.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2005-2012 Colin Leroy & the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_SUMMARIES_H 21 | #define PREFS_SUMMARIES_H 22 | 23 | void prefs_summaries_init (void); 24 | void prefs_summaries_done (void); 25 | 26 | #endif /* PREFS_SUMMARIES_H */ 27 | -------------------------------------------------------------------------------- /src/plugins/libravatar/libravatar_federation.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 2014-2015 Ricardo Mones and the Claws Mail Team 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __LIBRAVATAR_FEDERATION_H 20 | #define __LIBRAVATAR_FEDERATION_H 21 | 22 | #include 23 | 24 | gchar *federated_url_for_address (const gchar *address); 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /src/import.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2024 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __IMPORT_H__ 20 | #define __IMPORT_H__ 21 | 22 | #include 23 | 24 | #include "folder.h" 25 | 26 | gint import_mbox(FolderItem *default_dest, const gchar* mbox_file); 27 | 28 | #endif /* __IMPORT_H__ */ 29 | -------------------------------------------------------------------------------- /src/prefs_image_viewer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail Team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef PREFS_IMAGE_VIEWER_H 21 | #define PREFS_IMAGE_VIEWER_H 22 | 23 | #include 24 | 25 | void prefs_image_viewer_init (void); 26 | void prefs_image_viewer_done (void); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /src/prefs_logging.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Tristan Chabredier and 4 | * the Claws Mail team 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | 21 | #ifndef PREFS_LOGGING_H 22 | #define PREFS_LOGGING_H 23 | 24 | void prefs_logging_init (void); 25 | void prefs_logging_done (void); 26 | 27 | #endif /* PREFS_LOGGING_H */ 28 | -------------------------------------------------------------------------------- /src/common/tests/xml_test.c: -------------------------------------------------------------------------------- 1 | #include "config.h" 2 | 3 | #include 4 | 5 | #include "xml.h" 6 | 7 | #include "mock_prefs_common_get_use_shred.h" 8 | #include "mock_prefs_common_get_flush_metadata.h" 9 | 10 | #define DATADIR "data/" 11 | 12 | static void 13 | test_xml_open_file_missing(void) 14 | { 15 | XMLFile *xf = xml_open_file(DATADIR "missing.xml"); 16 | g_assert_null(xf); 17 | } 18 | 19 | static void 20 | test_xml_open_file_empty(void) 21 | { 22 | XMLFile *xf = xml_open_file(DATADIR "empty.xml"); 23 | g_assert_nonnull(xf); 24 | g_assert_nonnull(xf->buf); 25 | g_assert_nonnull(xf->bufp); 26 | g_assert_null(xf->dtd); 27 | g_assert_null(xf->encoding); 28 | g_assert_null(xf->tag_stack); 29 | g_assert_cmpint(xf->level, ==, 0); 30 | g_assert_false(xf->is_empty_element); 31 | } 32 | 33 | int 34 | main(int argc, char *argv[]) 35 | { 36 | g_test_init(&argc, &argv, NULL); 37 | 38 | g_test_add_func("/common/xml_open_file_missing", test_xml_open_file_missing); 39 | g_test_add_func("/common/xml_open_file_empty", test_xml_open_file_empty); 40 | 41 | return g_test_run(); 42 | } 43 | -------------------------------------------------------------------------------- /src/plugins/litehtml_viewer/litehtml/render_block_context.h: -------------------------------------------------------------------------------- 1 | #ifndef LITEHTML_RENDER_BLOCK_CONTEXT_H 2 | #define LITEHTML_RENDER_BLOCK_CONTEXT_H 3 | 4 | #include "render_block.h" 5 | 6 | namespace litehtml 7 | { 8 | /** 9 | * In a block formatting context, boxes are laid out one after the other, vertically, beginning at the top of a 10 | * containing block. 11 | * https://www.w3.org/TR/CSS22/visuren.html#block-formatting 12 | */ 13 | class render_item_block_context : public render_item_block 14 | { 15 | protected: 16 | int _render_content(int x, int y, bool second_pass, const containing_block_context &self_size, formatting_context* fmt_ctx) override; 17 | 18 | public: 19 | explicit render_item_block_context(std::shared_ptr src_el) : render_item_block(std::move(src_el)) 20 | {} 21 | 22 | std::shared_ptr clone() override 23 | { 24 | return std::make_shared(src_el()); 25 | } 26 | int get_first_baseline() override; 27 | int get_last_baseline() override; 28 | }; 29 | } 30 | 31 | #endif //LITEHTML_RENDER_BLOCK_CONTEXT_H 32 | -------------------------------------------------------------------------------- /src/plugins/pgpcore/pgp_viewer.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 the Claws Mail team 4 | * This file Copyright (C) 2006 Colin Leroy 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | 21 | #ifndef PGPVIEWER_H 22 | #define PGPVIEWER_H 1 23 | 24 | void pgp_viewer_init(void); 25 | void pgp_viewer_done(void); 26 | 27 | #endif /* PGPVIEWER_H */ 28 | -------------------------------------------------------------------------------- /src/setup.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2022 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | */ 18 | 19 | #ifndef __SETUP_H__ 20 | #define __SETUP_H__ 21 | 22 | #include 23 | 24 | #include "mainwindow.h" 25 | 26 | gboolean setup_write_mailbox_path(MainWindow *mainwin, const gchar *path); 27 | 28 | #endif /* __SETUP_H__ */ 29 | -------------------------------------------------------------------------------- /src/plugins/tnef_parse/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2022 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | include $(srcdir)/../win_plugin.mk 7 | 8 | IFLAGS = \ 9 | -I$(top_builddir)/src \ 10 | -I$(top_builddir)/src/common \ 11 | -I$(top_srcdir)/src \ 12 | -I$(top_srcdir)/src/common \ 13 | -I$(top_srcdir)/src/gtk 14 | 15 | plugindir = $(pkglibdir)/plugins 16 | 17 | if BUILD_TNEF_PARSE_PLUGIN 18 | plugin_LTLIBRARIES = tnef_parse.la 19 | endif 20 | 21 | tnef_parse_la_LDFLAGS = \ 22 | $(plugin_ldflags) \ 23 | -avoid-version -module -z noexecstack 24 | 25 | EXTRA_tnef_parse_la_DEPENDENCIES = $(plugin_extra_deps) 26 | 27 | tnef_parse_la_LIBADD = $(plugin_libadd) \ 28 | $(GTK_LIBS) \ 29 | $(YTNEF_LIBS) 30 | 31 | tnef_parse_la_CPPFLAGS = \ 32 | $(IFLAGS) \ 33 | $(GLIB_CFLAGS) \ 34 | $(GTK_CFLAGS) \ 35 | $(YTNEF_CFLAGS) 36 | 37 | tnef_parse_la_SOURCES = \ 38 | tnef_dump.c \ 39 | tnef_dump.h \ 40 | tnef_parse.c 41 | 42 | .PHONY: test 43 | -------------------------------------------------------------------------------- /src/uri_opener.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Colin Leroy and 4 | * the Claws Mail team 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | 21 | #ifndef URI_OPENER_H 22 | #define URI_OPENER_H 23 | #include "mainwindow.h" 24 | 25 | void uri_opener_create (void); 26 | void uri_opener_open (MessageView *msgview, GSList *uris); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /src/grouplistdialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Claws Mail -- a GTK based, lightweight, and fast e-mail client 3 | * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 3 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program. If not, see . 17 | * 18 | */ 19 | 20 | #ifndef __GROUPLISTDIALOG_H__ 21 | #define __GROUPLISTDIALOG_H__ 22 | 23 | #include 24 | 25 | #include "folder.h" 26 | 27 | GSList *grouplist_dialog (Folder *folder); 28 | 29 | #endif /* __GROUPLISTDIALOG_H__ */ 30 | -------------------------------------------------------------------------------- /src/plugins/spam_report/Makefile.am: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2022 the Claws Mail team. 2 | # This file is part of Claws Mail package, and distributed under the 3 | # terms of the General Public License version 3 (or later). 4 | # See COPYING file for license details. 5 | 6 | include $(srcdir)/../win_plugin.mk 7 | 8 | IFLAGS = \ 9 | -I$(top_builddir)/src \ 10 | -I$(top_srcdir)/src \ 11 | -I$(top_srcdir)/src/common \ 12 | -I$(top_srcdir)/src/gtk 13 | 14 | plugindir = $(pkglibdir)/plugins 15 | 16 | if BUILD_SPAM_REPORT_PLUGIN 17 | plugin_LTLIBRARIES = spamreport.la 18 | endif 19 | 20 | spamreport_la_LDFLAGS = \ 21 | $(plugin_ldflags) \ 22 | -avoid-version -module -z noexecstack 23 | 24 | EXTRA_spamreport_la_DEPENDENCIES = $(plugin_extra_deps) 25 | 26 | spamreport_la_LIBADD = $(plugin_libadd) \ 27 | $(GTK_LIBS) \ 28 | $(CURL_LIBS) 29 | 30 | spamreport_la_CPPFLAGS = \ 31 | $(IFLAGS) \ 32 | $(GLIB_CFLAGS) \ 33 | $(CURL_CFLAGS) \ 34 | $(GTK_CFLAGS) \ 35 | $(ENCHANT_CFLAGS) 36 | 37 | spamreport_la_SOURCES = \ 38 | spam_report.c \ 39 | spam_report_prefs.c \ 40 | spam_report_prefs.h 41 | 42 | .PHONY: test 43 | --------------------------------------------------------------------------------