Commit Graph

40 Commits

Author SHA1 Message Date
Andrew Johnson
f5f1c51b80 make dbMalloc and dbCalloc macros 2009-04-23 21:56:22 +00:00
Andrew Johnson
b9886c7faa Cosmetic only; tabs, spaces & line-wrapping. 2009-04-15 19:28:28 +00:00
Andrew Johnson
ed4a2972d6 Long string support:
In dbStatic, split record and field search to make parsing easier.
  In dbAccess, '$' field name suffix makes field an array of DBF_CHAR.
2009-03-25 23:02:28 +00:00
Andrew Johnson
9ca9a3c2e2 Added dbGetNAliases() function, to complete the aliases API. 2009-01-19 18:57:02 +00:00
Andrew Johnson
e155dd411e Added dynamic parts of record alias implementation. 2009-01-16 20:50:40 +00:00
Andrew Johnson
a723ea357e Added record aliases. 2009-01-09 18:00:00 +00:00
Andrew Johnson
414511890d Added a dbFindDriver() routine, to look up drvet's by name. 2005-10-28 16:15:12 +00:00
Andrew Johnson
af97e702d1 Added function() keyword handling to dbd files again, works properly now.
Also moved the code from the generated app_registerRecordDeviceDriver.cpp
file to iocsh/registryCommon.*
2004-03-30 21:56:26 +00:00
Andrew Johnson
e13dafb8af dbGetInfoPointer should return void*, not const char*
Short-circuit return in dbGetInfo if no item
2003-07-18 14:58:40 +00:00
Andrew Johnson
da56d5e2b8 Added support for new variable dbd keyword, integers only so far. 2003-07-16 18:35:26 +00:00
Marty Kraimer
e808742fe1 function replaced by registrar 2003-03-21 19:41:50 +00:00
Janet B. Anderson
e90e86aadd Added compatibility define for dbDumpFldDes 2002-12-07 18:21:08 +00:00
Andrew Johnson
7d2d368033 Added support for function() statement in .dbd files 2002-09-25 18:30:46 +00:00
Marty Kraimer
01adddfd3d get rid of *Recdes* and *Fielddes* 2002-07-30 17:40:24 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Marty Kraimer
e80ea9a289 add const in may places 2001-02-06 15:19:53 +00:00
W. Eric Norum
02caca0732 Make everything in registerRecordDevicedriver.cpp `const'. This should get rid
warnings about initializing `char *' with string literals.
2001-01-11 14:59:13 +00:00
W. Eric Norum
4a2999770b Declare C linkage only where necessary. 2000-12-21 16:34:57 +00:00
Andrew Johnson
16f572b06d Added support for 'info' items in database records - named strings that
are saved & loaded in the .db file, with an API for access at runtime and
the ability to associate a void* pointer with each at runtime.

Also added a capability to dbToRecordTypeH allowing a record type's .dbd
file to add lines to the generated .h file.  The C code should be placed
inside the recordtype's braces {} and each line must start with a '%'.
This facility is not currently accessible through a dbStaticLib API.
2000-08-09 21:38:34 +00:00
Marty Kraimer
7f2867d5d0 put include in correct place 2000-02-25 22:30:01 +00:00
Jeff Hill
7dee3a3543 include shareLib.h 2000-02-10 17:35:47 +00:00
Jeff Hill
6dacae6103 changed new to pnew avoiding C++ keyword clash 1998-08-06 18:25:45 +00:00
Janet B. Anderson
073c5a48ae Added compiler specific key words to set up shareable library (DLL) for WIN32 1998-04-23 13:56:10 +00:00
Marty Kraimer
9a938f9626 added field attributes 1998-03-16 16:31:22 +00:00
Jeff Hill
0804f7fb08 api changes 1997-04-10 20:01:14 +00:00
Marty Kraimer
5268e13e74 Many changes to properly support DCT operation 1996-10-29 20:49:13 +00:00
Jim Kowalkowski
09ce70661a Modified to store records with a visibility option for graphic editors.
The ".db" file now generates "grecord" for visible records and "record" for
invisible records.
1996-10-17 00:17:30 +00:00
Marty Kraimer
2d999ed858 The form for FWDLINK PV fields does not work correctly. 1996-10-15 19:22:07 +00:00
Marty Kraimer
e906138c55 Mods for handling forms 1996-08-08 19:05:34 +00:00
Marty Kraimer
a057f79d75 various bugs fixed 1996-07-29 20:33:43 +00:00
Marty Kraimer
01402c6bbd added support for macro substitution 1996-07-10 14:46:49 +00:00
Marty Kraimer
4376d7b186 main changes is recdes => recordType 1996-06-24 13:20:20 +00:00
Marty Kraimer
5fc13933a5 remove duplicate def for dbGetString 1996-06-13 18:26:12 +00:00
Marty Kraimer
29a8aab459 dbGetPrompt was accidently removed 1996-06-13 18:20:55 +00:00
Marty Kraimer
a2939aa9c5 added dbGetDefault 1996-06-12 20:10:24 +00:00
Marty Kraimer
cdd3e932fb added check for dbPutString to DBF_STRING if string size too long 1996-05-03 14:12:35 +00:00
Marty Kraimer
28797e7a1a Changes for dynamic link modification 1996-04-22 14:33:50 +00:00
Marty Kraimer
81eac9ddec Breakpoint Tables were not working 1996-03-11 16:22:29 +00:00
Marty Kraimer
f726540476 Added dbDumpPath 1996-03-04 14:11:36 +00:00
Marty Kraimer
d205dc9b10 moved include files. .ascii=> .db; path changes 1996-01-25 21:15:09 +00:00