Skip to content

Commit 0a70050

Browse files
author
delphidabbler
committed
Merge branch 'feature/remove-donate' into develop
2 parents f5b142c + b25046a commit 0a70050

21 files changed

+17
-493
lines changed

Docs/ReadMe.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -356,20 +356,6 @@ report bugs for those versions. You should update the program first and only
356356
report the bug if it is still present.
357357

358358

359-
Make a Donation
360-
================================================================================
361-
362-
CodeSnip is free to use and there is no requirement to pay anything for it. You
363-
get a fully working version of the program whether you make a donation or not.
364-
365-
Having said that, it takes time and money to maintain CodeSnip and the online
366-
database. So if you wish to make a contribution it will be most welcome.
367-
368-
Payment in pounds sterling can be made via this address -
369-
http://delphidabbler.com/url/donate-cs - which redirects to a secure PayPal
370-
page.
371-
372-
373359
Feedback
374360
================================================================================
375361

Src/CodeSnip.dpr

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ uses
105105
FmDBUpdateDlg in 'FmDBUpdateDlg.pas' {DBUpdateDlg},
106106
FmDeleteCategoryDlg in 'FmDeleteCategoryDlg.pas' {DeleteCategoryDlg},
107107
FmDependenciesDlg in 'FmDependenciesDlg.pas' {DependenciesDlg},
108-
FmDonateDlg in 'FmDonateDlg.pas' {DonateDlg},
109108
FmDuplicateSnippetDlg in 'FmDuplicateSnippetDlg.pas' {DuplicateSnippetDlg},
110109
FmEasterEgg in 'FmEasterEgg.pas' {EasterEggForm},
111110
FmFavouritesDlg in 'FmFavouritesDlg.pas' {FavouritesDlg},
@@ -290,7 +289,6 @@ uses
290289
UOverviewTreeState in 'UOverviewTreeState.pas',
291290
UPageSetupDialogEx in 'UPageSetupDialogEx.pas',
292291
UPageSetupDlgMgr in 'UPageSetupDlgMgr.pas',
293-
UPaypalDonateAction in 'UPaypalDonateAction.pas',
294292
UPipe in 'UPipe.pas',
295293
UPreferences in 'UPreferences.pas',
296294
UPrintDocuments in 'UPrintDocuments.pas',

Src/CodeSnip.dproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@
154154
<DCCReference Include="FmDependenciesDlg.pas">
155155
<Form>DependenciesDlg</Form>
156156
</DCCReference>
157-
<DCCReference Include="FmDonateDlg.pas">
158-
<Form>DonateDlg</Form>
159-
</DCCReference>
160157
<DCCReference Include="FmDuplicateSnippetDlg.pas">
161158
<Form>DuplicateSnippetDlg</Form>
162159
</DCCReference>
@@ -491,7 +488,6 @@
491488
<DCCReference Include="UOverviewTreeState.pas"/>
492489
<DCCReference Include="UPageSetupDialogEx.pas"/>
493490
<DCCReference Include="UPageSetupDlgMgr.pas"/>
494-
<DCCReference Include="UPaypalDonateAction.pas"/>
495491
<DCCReference Include="UPipe.pas"/>
496492
<DCCReference Include="UPreferences.pas"/>
497493
<DCCReference Include="UPrintDocuments.pas"/>

Src/CodeSnip.todo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{TODO -cUI : Remove unused tool bar button in main window}
2-
{TODO -cWeb : Remove donate box & related notes - problem doing direct link to paypalwith giving away email address}
2+
33
{TODO -cDocs : Remove remaining $Rev$ and $Date$ SVN placeholders}
44

55
{TODO -cDocs : Update License.html to replace references to SVN with Git}

Src/ExternalObj.ridl

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
[
1414
uuid(DA95AEFB-3FB5-4A9E-9F9D-A53DD05CA7D4),
15-
version(12.0),
15+
version(13.0),
1616
helpstring("CodeSnip DOM External Object Extender Type Library"),
1717
custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 117441012),
1818
custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1219706147)
@@ -24,19 +24,19 @@ library ExternalObj
2424
importlib("stdole2.tlb");
2525

2626
/*
27-
* V12 interface of extension to browser DOM's "external" object.
27+
* V13 interface of extension to browser DOM's "external" object.
2828
*/
29-
interface IWBExternal12;
29+
interface IWBExternal13;
3030

3131

3232
[
3333
uuid(BA971829-ED4D-4092-BCAE-4B5DB1A2D74A),
34-
version(12.0),
34+
version(13.0),
3535
helpstring("DOM external object extender"),
3636
dual,
3737
oleautomation
3838
]
39-
interface IWBExternal12: IDispatch
39+
interface IWBExternal13: IDispatch
4040
{
4141
/*
4242
* Update database from internet.
@@ -66,12 +66,6 @@ library ExternalObj
6666
[id(0x0000006C)]
6767
HRESULT _stdcall EditSnippet([in] BSTR SnippetName);
6868

69-
/*
70-
* Displays Donate dialog box.
71-
*/
72-
[id(0x0000006D)]
73-
HRESULT _stdcall Donate(void);
74-
7569
/*
7670
* Display identified category.
7771
* @param CatID [in] ID of category to display.

Src/FmDonateDlg.dfm

Lines changed: 0 additions & 61 deletions
This file was deleted.

Src/FmDonateDlg.pas

Lines changed: 0 additions & 142 deletions
This file was deleted.

Src/FmMain.dfm

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -690,13 +690,6 @@ inherited MainForm: TMainForm
690690
OnExecute = actCopyInfoExecute
691691
OnUpdate = actCopyInfoUpdate
692692
end
693-
object actDonate: TAction
694-
Category = 'Help'
695-
Caption = 'Donate...'
696-
Hint = 'Donate|Make a PayPal donation to support CodeSnip development'
697-
ImageIndex = 23
698-
OnExecute = actDonateExecute
699-
end
700693
object actViewDependencies: TAction
701694
Category = 'View'
702695
Caption = 'Dependencies...'
@@ -1191,9 +1184,6 @@ inherited MainForm: TMainForm
11911184
object miSpacer5: TMenuItem
11921185
Caption = '-'
11931186
end
1194-
object miDonate: TMenuItem
1195-
Action = actDonate
1196-
end
11971187
object miAbout: TMenuItem
11981188
Action = actAbout
11991189
end

Src/FmMain.pas

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ TMainForm = class(THelpAwareForm)
4747
actCopySource: TAction;
4848
actDeleteCategory: TAction;
4949
actDeleteSnippet: TAction;
50-
actDonate: TAction;
5150
actDuplicateSnippet: TAction;
5251
actEditSnippet: TAction;
5352
actExit: TFileExit;
@@ -119,7 +118,6 @@ TMainForm = class(THelpAwareForm)
119118
miDatabase: TMenuItem;
120119
miDeleteCategory: TMenuItem;
121120
miDeleteSnippet: TMenuItem;
122-
miDonate: TMenuItem;
123121
miDuplicateSnippet: TMenuItem;
124122
miEdit: TMenuItem;
125123
miEditSnippet: TMenuItem;
@@ -280,8 +278,6 @@ TMainForm = class(THelpAwareForm)
280278
/// <summary>Attempts to delete the current user defined snippet from the
281279
/// database.</summary>
282280
procedure actDeleteSnippetExecute(Sender: TObject);
283-
/// <summary>Displays Donate dialogue box.</summary>
284-
procedure actDonateExecute(Sender: TObject);
285281
/// <summary>Displays a dialogue box that can be used to duplicate the
286282
/// selected snippet.</summary>
287283
procedure actDuplicateSnippetExecute(Sender: TObject);
@@ -710,11 +706,6 @@ procedure TMainForm.actDeleteSnippetExecute(Sender: TObject);
710706
// display update is handled by snippets change event handler
711707
end;
712708

713-
procedure TMainForm.actDonateExecute(Sender: TObject);
714-
begin
715-
fDialogMgr.ShowDonateDlg
716-
end;
717-
718709
procedure TMainForm.actDuplicateSnippetExecute(Sender: TObject);
719710
begin
720711
TUserDBMgr.DuplicateSnippet(fMainDisplayMgr.CurrentView);
@@ -1382,7 +1373,6 @@ procedure TMainForm.InitForm;
13821373
Self, ActEditSnippetByNameExecute
13831374
)
13841375
);
1385-
SetDonateAction(actDonate);
13861376
SetNewSnippetAction(actAddSnippet);
13871377
SetNewsAction(actBlog);
13881378
// SetCheckForUpdatesAction(actProgramUpdates);

Src/HTML.hrc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ Res\Scripts\3rdParty\jquery.cycle.lite.js
2525
# compiler error log
2626
Res\HTML\dlg-comperror-tplt.html
2727

28-
# donate dialogue
29-
Res\HTML\dlg-donate.html
30-
3128
# active text preview dialogueue
3229
Res\HTML\dlg-activetext-preview-tplt.html
3330

@@ -131,6 +128,3 @@ Res\Img\Egg\play-btn.png
131128
Res\Img\Egg\play-btn-hover.png
132129
Res\Img\Egg\doggy-pics.png
133130
Res\Img\Egg\blue-paper.png
134-
135-
# donate dialogue - � sign image
136-
Res\Img\pound-sign.png

0 commit comments

Comments
 (0)