summaryrefslogtreecommitdiff
path: root/crashrep/source/win32
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-01-22 16:07:24 -0500
committerPeter Foley <pefoley2@verizon.net>2013-01-22 21:34:33 -0500
commitdbaa34c5dbc9ff615c6a57056cd2663ede8caede (patch)
treed25b31a3c62e12f5e65c19bd150471e35b061537 /crashrep/source/win32
parent62bf434229f9f86469dea3123bc6180bd9979c2c (diff)
convert crashrep to gbuild and add to tail_build
Change-Id: I90cf6c2c5fb806855b7e4fec18c890f7bd2ff6b5
Diffstat (limited to 'crashrep/source/win32')
-rw-r--r--crashrep/source/win32/base64.cxx (renamed from crashrep/source/win32/base64.cpp)0
-rwxr-xr-xcrashrep/source/win32/crashrep.rc12
-rw-r--r--crashrep/source/win32/crashrep.ulf221
-rw-r--r--crashrep/source/win32/makefile.mk79
-rw-r--r--crashrep/source/win32/soreport.cxx (renamed from crashrep/source/win32/soreport.cpp)2
5 files changed, 233 insertions, 81 deletions
diff --git a/crashrep/source/win32/base64.cpp b/crashrep/source/win32/base64.cxx
index a0b8769f6bc5..a0b8769f6bc5 100644
--- a/crashrep/source/win32/base64.cpp
+++ b/crashrep/source/win32/base64.cxx
diff --git a/crashrep/source/win32/crashrep.rc b/crashrep/source/win32/crashrep.rc
new file mode 100755
index 000000000000..250ed92d7e85
--- /dev/null
+++ b/crashrep/source/win32/crashrep.rc
@@ -0,0 +1,12 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "crashrep_impl.rc"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/crashrep/source/win32/crashrep.ulf b/crashrep/source/win32/crashrep.ulf
new file mode 100644
index 000000000000..12ef7e75c246
--- /dev/null
+++ b/crashrep/source/win32/crashrep.ulf
@@ -0,0 +1,221 @@
+
+[%WELCOME_CAPTION%]
+en-US = "%PRODUCTNAME% %PRODUCTVERSION% Error Report"
+
+
+[%WELCOME_HEADER%]
+en-US = "Welcome to the %PRODUCTNAME% %PRODUCTVERSION% Error Report"
+
+
+[%WELCOME_BODY1%]
+en-US = "This error report tool gathers information about how %PRODUCTNAME% is working and sends it to The Document Foundation to help improve future versions.\n\n"
+
+
+[%WELCOME_BODY2%]
+en-US = "It's easy - just send the report without any further effort on your part by clicking 'Send' in the next dialog, or you can briefly describe how the error occurred and then click 'Send'. If you want to see the report, click the 'Show Report' button. No data will be sent if you click 'Do Not Send'.\n\n"
+
+
+[%WELCOME_BODY3%]
+en-US = "Customer Privacy\nThe information gathered is limited to data concerning the state of %PRODUCTNAME% %PRODUCTVERSION% when the error occurred. Other information about passwords or document contents is not collected.\n\nThe information will only be used to improve the quality of %PRODUCTNAME% and will not be shared with third parties.\nFor more information on The Document Foundation's privacy policy, visit\n"
+
+
+[%PRIVACY_URL%]
+en-US = "http://www.documentfoundation.org/privacy"
+
+
+[%NEXT_BUTTON%]
+en-US = "~Next >>"
+
+
+[%CANCEL_BUTTON%]
+en-US = "Cancel"
+
+
+[%OK_BUTTON%]
+en-US = "OK"
+
+
+[%REPORT_CAPTION%]
+en-US = "%PRODUCTNAME% %PRODUCTVERSION% Error Report"
+
+
+[%REPORT_HEADER%]
+en-US = "An error occurred while running %PRODUCTNAME% %PRODUCTVERSION%"
+
+
+[%REPORT_BODY%]
+en-US = "The %PRODUCTNAME% %PRODUCTVERSION% Error Report has gathered information that could help The Document Foundation improve %PRODUCTNAME%.\nIn the spaces below, you can enter a title for your crash report and describe the action you were trying to carry out when the error occurred. Then click 'Send'.\n"
+
+
+[%ENTER_TITLE%]
+en-US = "Which type of document (e.g. presentation) were you using when the error occurred?"
+
+
+[%ALLOW_CONTACT%]
+en-US = "~I allow The Document Foundation to contact me regarding this report."
+
+
+[%ENTER_EMAIL%]
+en-US = "Please enter your e-mail address."
+
+
+[%ENTER_DESCRIPTION%]
+en-US = "~How were you using %PRODUCTNAME% when the error occurred ?"
+
+
+[%BACK_BUTTON%]
+en-US = " << ~Back"
+
+
+[%SEND_BUTTON%]
+en-US = "S~end"
+
+
+[%DONOT_SEND_BUTTON%]
+en-US = "Do ~Not Send"
+
+
+[%SHOW_REPORT_BUTTON%]
+en-US = "Show ~Report..."
+
+
+[%SAVE_REPORT_BUTTON%]
+en-US = "~Save Report..."
+
+
+[%SAVE_REPORT_TITLE%]
+en-US = "Save Report to"
+
+
+[%ERROR_MSG_SIMPLE_MAPI%]
+en-US = "The error report could not be sent because the default e-mail program does not support MAPI.\n Please use a MAPI-compatible e-mail program."
+
+
+[%ERROR_MSG_DISK_FULL%]
+en-US = "The error report could not be temporarily saved and could therefore not be sent."
+
+
+
+[%ERROR_MSG_SENDMAIL%]
+en-US = "The error report could not be sent because 'sendmail' could not be started.\nPlease check the 'sendmail' settings."
+
+
+[%ERROR_MSG_PROXY%]
+en-US = "The error report could not be sent. Please check the proxy settings under 'Options' in the Error Report Tool."
+
+
+[%ERROR_MSG_NOCONNECT%]
+en-US = "The error report could not be sent because there is no Internet connection. Please check your Internet settings."
+
+
+[%OPTIONS_BUTTON%]
+en-US = "~Options..."
+
+
+[%OPTIONS_TITLE%]
+en-US = "Options"
+
+
+[%PROXY_SETTINGS_HEADER%]
+en-US = "Proxy settings"
+
+
+[%PROXY_SETTINGS_SYSTEM%]
+en-US = "Use ~system settings"
+
+
+[%PROXY_SETTINGS_DIRECT%]
+en-US = "Use ~direct connection to the Internet"
+
+
+[%PROXY_SETTINGS_MANUAL%]
+en-US = "Use ~manual settings"
+
+
+[%PROXY_SETTINGS_ADDRESS%]
+en-US = "HT~TP Proxy"
+
+
+[%PROXY_SETTINGS_PORT%]
+en-US = "~Port"
+
+
+[%PROXY_SETTINGS_DESCRIPTION%]
+en-US = "The %PRODUCTNAME% Error Report tool needs to be connected to the Internet to be able to send error reports.\n\nCompanies often use proxy servers in conjunction with a firewall to protect the network.\n\nIf this applies to your situation, you have to specify the address and port for the server."
+
+
+[%SENDING_REPORT_HEADER%]
+en-US = "Sending Error Report"
+
+
+[%SENDING_REPORT_STATUS%]
+en-US = "Status: Sending error report"
+
+
+[%SENDING_REPORT_STATUS_FINISHED%]
+en-US = "Status: The error report has been sent successfully."
+
+
+[%ERROR_MSG_NOEMAILADDRESS%]
+en-US = "You have marked the option 'I allow The Document Foundation to contact me regarding this report.'\nPlease enter your e-mail address."
+
+
+[%MSG_CMDLINE_USAGE%]
+en-US = "Usage:"
+
+
+[%MSG_PARAM_PROCESSID%]
+en-US = "-p <process ID>"
+
+
+[%MSG_PARAM_PROCESSID_DESCRIPTION%]
+en-US = "Assigns the %PRODUCTNAME% process ID (PID) to the Error Report Tool"
+
+
+[%MSG_PARAM_HELP_DESCRIPTION%]
+en-US = "Shows this help text.\nDetailed information can be found in the Setup Guide."
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/crashrep/source/win32/makefile.mk b/crashrep/source/win32/makefile.mk
deleted file mode 100644
index 79e02b970c3a..000000000000
--- a/crashrep/source/win32/makefile.mk
+++ /dev/null
@@ -1,79 +0,0 @@
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-# This file incorporates work covered by the following license notice:
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed
-# with this work for additional information regarding copyright
-# ownership. The ASF licenses this file to you under the Apache
-# License, Version 2.0 (the "License"); you may not use this file
-# except in compliance with the License. You may obtain a copy of
-# the License at http://www.apache.org/licenses/LICENSE-2.0 .
-#
-
-PRJ=..$/..
-
-PRJNAME=crashrep
-TARGET=soreport
-LIBTARGET=NO
-ENABLE_EXCEPTIONS=TRUE
-TARGETTYPE=GUI
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-# --- Resources ----------------------------------------------------
-
-RCFILES=$(RES)$/$(TARGET).rc
-
-# --- Files --------------------------------------------------------
-
-OBJFILES=\
- $(OBJ)$/soreport.obj\
- $(OBJ)$/base64.obj
-
-.IF "$(WITH_LANG)"!=""
-ULFDIR:=$(COMMONMISC)$/crash_res
-.ELSE # "$(WITH_LANG)"!=""
-ULFDIR:=..$/all
-.ENDIF # "$(WITH_LANG)"!=""
-LNGFILES=$(ULFDIR)$/crashrep.ulf
-
-APP1OBJS=$(OBJFILES)
-
-APP1NOSAL=TRUE
-
-APP1TARGET=$(TARGET)
-APP1RPATH=OOO
-
-STDLIB1=\
- $(SALLIB)\
- $(GDI32LIB)\
- $(COMCTL32LIB)\
- $(COMDLG32LIB)\
- $(ADVAPI32LIB)\
- $(WS2_32LIB)\
- $(SHELL32LIB)\
- $(DBGHELPLIB)\
- psapi.lib
-
-APP1NOSVRES=$(RES)$/$(TARGET).res
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-$(OBJ)$/soreport.obj: $(INCCOM)$/_version.h
-
-# Generate the native Windows resource file
-# using lngconvex.exe
-
-$(RCFILES) : $(LNGFILES) makefile.mk rcfooter.txt rcheader.txt rctemplate.txt ctrylnglist.txt
- $(LNGCONVEX) -ulf $(ULFDIR)$/crashrep.ulf -rc $(RES)$/$(TARGET).rc -rct rctemplate.txt -rch rcheader.txt -rcf rcfooter.txt
-
diff --git a/crashrep/source/win32/soreport.cpp b/crashrep/source/win32/soreport.cxx
index 0721950393c4..fc8886c542eb 100644
--- a/crashrep/source/win32/soreport.cpp
+++ b/crashrep/source/win32/soreport.cxx
@@ -66,8 +66,6 @@
#include <malloc.h>
#include <process.h>
-#include <_version.h>
-
#include "resource.h"
#include "base64.h"