Menu

[r3136]: / branches / 3.x / Src / USnippetsIO.pas  Maximize  Restore  History

Download this file

731 lines (672 with data), 25.1 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 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
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
{
* USnippetsIO.pas
*
* Implements objects that can load data into the Snippets object from both the
* user and main databases. Also provides a class that can write the user
* database to storage.
*
* $Rev$
* $Date$
*
* ***** BEGIN LICENSE BLOCK *****
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
* the specific language governing rights and limitations under the License.
*
* The Original Code is USnippetsIO.pas
*
* The Initial Developer of the Original Code is Peter Johnson
* (http://www.delphidabbler.com/).
*
* Portions created by the Initial Developer are Copyright (C) 2008-2010 Peter
* Johnson. All Rights Reserved.
*
* Contributor(s)
* NONE
*
* ***** END LICENSE BLOCK *****
}
unit USnippetsIO;
interface
uses
// Project
UBaseObjects, UExceptions, USnippets;
type
{
ISnippetsLoader:
Interface to object that can load data into the Snippets object from
storage.
}
ISnippetsLoader = interface(IInterface)
['{C6AF94FC-F56F-44AE-9E79-3B0CD0BB21D4}']
procedure Load(const Routines: TRoutineList;
const Categories: TCategoryList; const SnippetsFactory: ISnippetsFactory);
{Loads data from storage and updates snippets object.
@param Routines [in] Receives information about each snippet in the
database.
@param Categories [in] Receives information about each category in the
database.
@param SnippetsFactory [in] Object used to create new categories and
snippets.
}
end;
{
ISnippetsWriter:
Interface to object that can write data from the user-defined component of
the Snippets object to storage.
}
ISnippetsWriter = interface(IInterface)
['{F46EE2E3-68A7-4877-9E04-192D15D29BB1}']
procedure Write(const Routines: TRoutineList;
const Categories: TCategoryList; const Provider: ISnippetsDataProvider);
{Writes data from Snippets object to storage.
@param Routines [in] Contains information about each snippet in the
database.
@param Categories [in] Contains information about each category in the
database.
@param Privider [in] Object used to obtain details of the data to be
written from the Snippets object
}
end;
{
TSnippetsIOFactory:
Factory class that can create instances of writer and loader objects for the
Snippets object.
}
TSnippetsIOFactory = class(TNoConstructObject)
public
class function CreateMainDBLoader: ISnippetsLoader;
{Creates an object to use to load the main database.
@return Required object instance.
}
class function CreateUserDBLoader: ISnippetsLoader;
{Creates an object to use to load the user database.
@return Required object instance.
}
class function CreateWriter: ISnippetsWriter;
{Create an object that can write user defined data from the Snippets
object to storage.
@return Required object instance.
}
end;
{
ESnippetsLoader:
Class of exception raised by snippets loader objects.
}
ESnippetsLoader = class(ECodeSnip);
implementation
uses
// Delphi
SysUtils,
// Project
UAppInfo, UConsts, UIniDataReader, UIStringList, UNulDataReader,
UReservedCategories, USnipData, USnippetIDs, UXMLDataIO;
type
{
TSnippetsLoaderClass:
Class reference to TSnippetsLoader descendants.
}
TSnippetsLoaderClass = class of TSnippetsLoader;
{
TSnippetsLoader:
Abstract base class for objects that can load data into the Snippets object
from storage.
}
TSnippetsLoader = class(TInterfacedObject, ISnippetsLoader)
strict private
fReader: IDataReader; // Object used to read data from storage
fRoutines: TRoutineList; // Receives list of snippets
fCategories: TCategoryList; // Receives list of categories
fFactory: ISnippetsFactory; // Object creates new categories and snippets
procedure LoadRoutines(const Cat: TCategory);
{Loads all snippets in a category.
@param Cat [in] Category to be loaded.
}
procedure LoadReferences(const Routine: TRoutine);
{Loads all of a snippet's references.
@param Routine [in] Snippet for which references are required.
}
procedure HandleException(const E: Exception);
{Handles exceptions generated by loader and converts ECodeSnip and
descendant exceptions into ESnippetsLoader exceptions.
@param E [in] Exception to be handled.
@except Exception always raised.
}
strict protected
function CreateReader: IDataReader; virtual; abstract;
{Creates reader object for the database. If database doesn't exist a nul
reader must be created.
@return Reader object instance.
}
function FindRoutine(const RoutineName: string;
const Routines: TRoutineList): TRoutine; virtual; abstract;
{Finds the snippet object with a specified name.
@param RoutineName [in] Name of required snippet.
@param Routines [in] List of snippets to search.
@return Reference to required snippet object or nil if snippet is not
found.
}
function IsNativeRoutine(const Routine: TRoutine): Boolean;
virtual; abstract;
{Checks if a snippet is native (belongs) to the database being read.
@param Routine [in] Snippet to test.
@return True if snippet is native, False if not.
}
function IsUserDatabase: Boolean; virtual; abstract;
{Checks if the database is the user database.
@return True if the database is the user database, False if not.
}
function ErrorMessageHeading: string; virtual; abstract;
{Returns heading to use in error messages. Should identify the database.
@return Required heading.
}
procedure LoadCategories; virtual;
{Loads all categories from storage.
}
procedure CreateCategory(const CatName: string;
const CatData: TCategoryData);
{Creates a new category and adds it to the categories list.
@param CatName [in] Name of category.
@param CatData [in] Properties of category.
}
property Categories: TCategoryList read fCategories;
{Reference to category list}
public
{ ISnippetsLoader method }
procedure Load(const Routines: TRoutineList;
const Categories: TCategoryList; const SnippetsFactory: ISnippetsFactory);
{Loads data from storage and updates snippets object.
@param Routines [in] Receives information about each snippet in the
database.
@param Categories [in] Receives information about each category in the
database.
@param SnippetsFactory [in] Object used to create new categories and
snippets.
}
end;
{
TMainSnippetsLoader:
Class that updates Snippets object with data read from main database.
}
TMainSnippetsLoader = class(TSnippetsLoader, ISnippetsLoader)
strict protected
function CreateReader: IDataReader; override;
{Creates reader object. If main database doesn't exist a nul reader is
created.
@return Reader object instance.
}
function FindRoutine(const RoutineName: string;
const Routines: TRoutineList): TRoutine; override;
{Finds the snippet object with a specified name in the main database.
@param RoutineName [in] Name of required snippet.
@param Routines [in] List of snippets to search.
@return Reference to required snippet object or nil if snippet is not
found.
}
function IsNativeRoutine(const Routine: TRoutine): Boolean; override;
{Checks if a snippet is native (belongs) to the main database.
@param Routine [in] Snippet to test.
@return True if snippet is native, False if not.
}
function IsUserDatabase: Boolean; override;
{Checks if the database is the user database.
@return False - this is not the user database.
}
function ErrorMessageHeading: string; override;
{Returns heading to use in error messages. Identifies main database.
@return Required heading.
}
end;
{
TUserSnippetsLoader:
Class that updates Snippets object with data read from user database.
}
TUserSnippetsLoader = class(TSnippetsLoader, ISnippetsLoader)
strict protected
function CreateReader: IDataReader; override;
{Creates reader object. If user database doesn't exist a nul reader is
created.
@return Reader object instance.
}
function FindRoutine(const RoutineName: string;
const Routines: TRoutineList): TRoutine; override;
{Finds the snippet object with a specified name. If snippet is not in this
(user) database the main database is searched.
@param RoutineName [in] Name of required snippet.
@param Routines [in] List of snippets to search.
@return Reference to required snippet object or nil if snippet is not
found.
}
function IsNativeRoutine(const Routine: TRoutine): Boolean; override;
{Checks if a snippet is native (belongs) to the user database.
@param Routine [in] Snippet to test.
@return True if snippet is native, False if not.
}
function IsUserDatabase: Boolean; override;
{Checks if the database is the user database.
@return True - this is the user database.
}
function ErrorMessageHeading: string; override;
{Returns heading to use in error messages. Identifies main database.
@return Required heading.
}
procedure LoadCategories; override;
{Loads all categories from storage and adds user category if not present.
}
end;
{
TSnippetsWriter:
Object used to write data from user database to storage.
}
TSnippetsWriter = class(TInterfacedObject,
ISnippetsWriter
)
strict private
fWriter: IDataWriter; // Object used to write to storage
fRoutines: TRoutineList; // List of routines to be written
fCategories: TCategoryList; // List of categories to be written
fProvider: ISnippetsDataProvider; // Object used to get data to be written
function CreateWriter: IDataWriter;
{Creates object that can write data for user-defined items from Snippets
to storage.
@return Requied writer object.
}
procedure WriteCategories;
{Writes information about categories to storage.
}
procedure WriteRoutines;
{Writes information about all snippets to storage.
}
public
{ ISnippetsWriter method }
procedure Write(const Routines: TRoutineList;
const Categories: TCategoryList;
const Provider: ISnippetsDataProvider);
{Writes data from Snippets object to storage.
@param Routines [in] Contains information about each snippet in the
database.
@param Categories [in] Contains information about each category in the
database.
@param Privider [in] Object used to obtain details of the data to be
written from the Snippets object
}
end;
{ TSnippetsIOFactory }
class function TSnippetsIOFactory.CreateMainDBLoader: ISnippetsLoader;
{Creates an object to use to load the main database.
@return Required object instance.
}
begin
Result := TMainSnippetsLoader.Create;
end;
class function TSnippetsIOFactory.CreateUserDBLoader: ISnippetsLoader;
{Creates an object to use to load the user database.
@return Required object instance.
}
begin
Result := TUserSnippetsLoader.Create;
end;
class function TSnippetsIOFactory.CreateWriter: ISnippetsWriter;
{Create an object that can write user defined data from the Snippets object to
storage.
@return Required object instance.
}
begin
Result := TSnippetsWriter.Create;
end;
{ TSnippetsLoader }
procedure TSnippetsLoader.CreateCategory(const CatName: string;
const CatData: TCategoryData);
{Creates a new category and adds it to the categories list.
@param CatName [in] Name of category.
@param CatData [in] Properties of category.
}
begin
fCategories.Add(fFactory.CreateCategory(CatName, IsUserDatabase, CatData));
end;
procedure TSnippetsLoader.HandleException(const E: Exception);
{Handles exceptions generated by loader and converts ECodeSnip and descendant
exceptions into ESnippetsLoader exceptions.
@param E [in] Exception to be handled.
@except Exception always raised.
}
begin
if E is ECodeSnip then
// add message header identifying database to existing message
raise ESnippetsLoader.Create(ErrorMessageHeading + EOL2 + E.Message)
else
raise E;
end;
procedure TSnippetsLoader.Load(const Routines: TRoutineList;
const Categories: TCategoryList; const SnippetsFactory: ISnippetsFactory);
{Loads data from storage and updates snippets object.
@param Routines [in] Receives information about each snippet in the
database.
@param Categories [in] Receives information about each category in the
database.
@param SnippetsFactory [in] Object used to create new categories and
snippets.
}
var
Category: TCategory; // a category
Routine: TRoutine; // a snippet
begin
// Create reader object that can access data storage
fReader := CreateReader;
// Record snippets and categories list in fields
// Do not clear snippet or category lists: may already contain data
fRoutines := Routines;
fCategories := Categories;
fFactory := SnippetsFactory;
try
// Load categories
LoadCategories;
// Load snippets in each category
for Category in fCategories do
LoadRoutines(Category);
// Build XRef, Depends and Units reference list of each snippet for this
// database
for Routine in fRoutines do
begin
if IsNativeRoutine(Routine) then
LoadReferences(Routine);
end;
except
on E: Exception do
HandleException(E);
end;
end;
procedure TSnippetsLoader.LoadCategories;
{Loads all categories from storage
}
var
CatNames: IStringList; // list of names of categories
CatName: string; // name of each category
Category: TCategory; // a category object
CatData: TCategoryData; // properties of a category
begin
// Get name of all categories
CatNames := fReader.GetAllCatNames;
// Loop through each category by name
for CatName in CatNames do
begin
// Check if category exists, creating it if not
Category := fCategories.Find(CatName);
if not Assigned(Category) then
begin
fReader.GetCatProps(CatName, CatData);
CreateCategory(CatName, CatData);
end;
end;
end;
procedure TSnippetsLoader.LoadReferences(const Routine: TRoutine);
{Loads all of a snippet's references.
@param Routine [in] Snippet for which references are required.
}
// ---------------------------------------------------------------------------
procedure LoadRoutineReferences(const RefList: TRoutineList;
const RefNames: IStringList);
{Creates a snippet list from names of snippets in a string list. If no
snippet with a given name is found no matching entry is added to snippet
list.
@param RefList [in] List to receive referenced snippets.
@param RefNames [in] List of snippet names.
}
var
RefName: string; // referenced snippet name
Reference: TRoutine; // referenced snippet object
begin
for RefName in RefNames do
begin
Reference := FindRoutine(RefName, fRoutines);
if Assigned(Reference) then
RefList.Add(Reference);
end;
end;
// ---------------------------------------------------------------------------
begin
LoadRoutineReferences(
Routine.Depends, fReader.GetRoutineDepends(Routine.Name)
);
LoadRoutineReferences(
Routine.XRef, fReader.GetRoutineXRefs(Routine.Name)
);
fReader.GetRoutineUnits(Routine.Name).CopyTo(Routine.Units);
end;
procedure TSnippetsLoader.LoadRoutines(const Cat: TCategory);
{Loads all snippets in a category.
@param Cat [in] Category to be loaded.
}
var
RoutineNames: IStringList; // list of names of snippets in category
RoutineProps: TSnippetData; // properties of a snippet
RoutineName: string; // each name in name list
Routine: TRoutine; // references a snippet object
begin
FillChar(RoutineProps, SizeOf(RoutineProps), 0);
// Get names of all snippets in category
RoutineNames := fReader.GetCatRoutines(Cat.Category);
// Process each snippet name in list
for RoutineName in RoutineNames do
begin
// Check if snippet exists in current database and add it to list if not
// Note: do not use FindRoutine method here
Routine := fRoutines.Find(RoutineName, IsUserDatabase);
if not Assigned(Routine) then
begin
fReader.GetRoutineProps(RoutineName, RoutineProps);
Routine := fFactory.CreateRoutine(
RoutineName, IsUserDatabase, RoutineProps
);
fRoutines.Add(Routine);
end;
// Add snippet to database only if it belongs to this database
if IsNativeRoutine(Routine) then
Cat.Routines.Add(Routine);
end;
end;
{ TMainSnippetsLoader }
function TMainSnippetsLoader.CreateReader: IDataReader;
{Creates reader object. If main database doesn't exist a nul reader is
created.
@return Reader object instance.
}
begin
Result := TIniDataReader.Create(TAppInfo.AppDataDir);
if not Result.DatabaseExists then
Result := TNulDataReader.Create;
end;
function TMainSnippetsLoader.ErrorMessageHeading: string;
{Returns heading to use in error messages. Identifies main database.
@return Required heading.
}
resourcestring
sError = 'Error loading the CodeSnip database:';
begin
Result := sError;
end;
function TMainSnippetsLoader.FindRoutine(const RoutineName: string;
const Routines: TRoutineList): TRoutine;
{Finds the snippet object with a specified name in the main database.
@param RoutineName [in] Name of required snippet.
@param Routines [in] List of snippets to search.
@return Reference to required snippet object or nil if snippet is not found.
}
begin
// We only search main database
Result := Routines.Find(RoutineName, False);
end;
function TMainSnippetsLoader.IsNativeRoutine(const Routine: TRoutine): Boolean;
{Checks if a snippet is native (belongs) to the main database.
@param Routine [in] Snippet to test.
@return True if snippet is native, False if not.
}
begin
Result := not Routine.UserDefined;
end;
function TMainSnippetsLoader.IsUserDatabase: Boolean;
{Checks if the database is the user database.
@return False - this is not the user database.
}
begin
Result := False;
end;
{ TUserSnippetsLoader }
function TUserSnippetsLoader.CreateReader: IDataReader;
{Creates reader object. If user database doesn't exist a nul reader is
created.
@return Reader object instance.
}
begin
Result := TXMLDataReader.Create(TAppInfo.UserDataDir);
if not Result.DatabaseExists then
Result := TNulDataReader.Create;
end;
function TUserSnippetsLoader.ErrorMessageHeading: string;
{Returns heading to use in error messages. Identifies main database.
@return Required heading.
}
resourcestring
sError = 'Error loading the user defined database:';
begin
Result := sError;
end;
function TUserSnippetsLoader.FindRoutine(const RoutineName: string;
const Routines: TRoutineList): TRoutine;
{Finds the snippet object with a specified name. If snippet is not in this
(user) database the main database is searched.
@param RoutineName [in] Name of required snippet.
@param Routines [in] List of snippets to search.
@return Reference to required snippet object or nil if snippet is not found.
}
begin
// Search in user database
Result := Routines.Find(RoutineName, True);
if not Assigned(Result) then
// Not in user database: try main database
Result := Routines.Find(RoutineName, False);
end;
function TUserSnippetsLoader.IsNativeRoutine(const Routine: TRoutine): Boolean;
{Checks if a snippet is native (belongs) to the user database.
@param Routine [in] Snippet to test.
@return True if snippet is native, False if not.
}
begin
Result := Routine.UserDefined;
end;
function TUserSnippetsLoader.IsUserDatabase: Boolean;
{Checks if the database is the user database.
@return True - this is the user database.
}
begin
Result := True;
end;
procedure TUserSnippetsLoader.LoadCategories;
{Loads all categories from storage and adds user and imports categories if not
present.
}
var
ResCatIdx: Integer; // loops thru all reserved categories
ResCatInfo: TReservedCategoryInfo; // info about a reserved category
begin
// Get all categories from storage
inherited;
// Add default user-defined categories if not present
for ResCatIdx := 0 to Pred(TReservedCategories.Count) do
begin
ResCatInfo := TReservedCategories.Info(ResCatIdx);
if Categories.Find(ResCatInfo.Name) = nil then
CreateCategory(ResCatInfo.Name, ResCatInfo.Data);
end;
end;
{ TSnippetsWriter }
function TSnippetsWriter.CreateWriter: IDataWriter;
{Creates object that can write data for user-defined items from Snippets to
storage.
@return Requied writer object.
}
begin
Result := TXMLDataWriter.Create(TAppInfo.UserDataDir);
end;
procedure TSnippetsWriter.Write(const Routines: TRoutineList;
const Categories: TCategoryList; const Provider: ISnippetsDataProvider);
{Writes data from Snippets object to storage.
@param Routines [in] Contains information about each snippet in the
database.
@param Categories [in] Contains information about each category in the
database.
@param Privider [in] Object used to obtain details of the data to be written
from the Snippets object
}
begin
fRoutines := Routines;
fCategories := Categories;
fProvider := Provider;
fWriter := CreateWriter;
fWriter.Initialise;
WriteCategories;
WriteRoutines;
fWriter.Finalise;
end;
procedure TSnippetsWriter.WriteCategories;
{Writes information about categories to storage.
}
var
Cat: TCategory; // loops through each category
Props: TCategoryData; // categpry properties
Routines: IStringList; // list of names of snippets in a category
begin
for Cat in fCategories do
begin
Props := fProvider.GetCategoryProps(Cat);
fWriter.WriteCatProps(Cat.Category, Props);
Routines := fProvider.GetCategoryRoutines(Cat);
fWriter.WriteCatRoutines(Cat.Category, Routines);
end;
end;
procedure TSnippetsWriter.WriteRoutines;
{Writes information about all snippets to storage.
}
// ---------------------------------------------------------------------------
function IDListToStrings(const IDList: ISnippetIDList): IStringList;
{Copies snippet names from a snippet ID list to a string list.
@param IDList [in] Snippet ID List to be copied.
@return String list containing names.
}
var
ID: TSnippetID; // each id in snippet id list
begin
Result := TIStringList.Create;
for ID in IDList do
Result.Add(ID.Name);
end;
// ---------------------------------------------------------------------------
var
Routine: TRoutine; // loops through each snippet in list
Props: TSnippetData; // snippet properties
Refs: TSnippetReferences; // snippet references
begin
for Routine in fRoutines do
begin
// Only write user-defined snippets
if Routine.UserDefined then
begin
// Get and write a snippet's properties
Props := fProvider.GetRoutineProps(Routine);
fWriter.WriteRoutineProps(Routine.Name, Props);
// Get and write a snippet's references
Refs := fProvider.GetRoutineRefs(Routine);
fWriter.WriteRoutineUnits(Routine.Name, Refs.Units);
fWriter.WriteRoutineDepends(Routine.Name, IDListToStrings(Refs.Depends));
fWriter.WriteRoutineXRefs(Routine.Name, IDListToStrings(Refs.XRef));
end;
end;
end;
end.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.