v1.0.33: Update to v1.0.33 Use updated userdb code that dropped urls from registry.dstar.su, which went away. v1.0.32: Update version to v1.0.32 Use userdb option functions Oops. Fix go.mod, by removing a replace Add more gitignore entries (vim swap and macOS breadcrumbs) Add getAbbreviatedUsers v1.0.31: Update version to v1.0.31 Add more complete usage instructions v1.0.30: Update version to v1.0.30 Remove reference to freenode v1.0.29: Add a countryCounts sub-command This new command counts the users for each country in the passed users file and outputs the counts to stdout. A spelling fix to userCountries help msg v1.0.28: v1.0.28: change args to subcommand userCountries Rather than outputting to stdout, the user now has to specify an output file. v1.0.27: Update version to v1.0.27 Pick up change in the userdb module to better handle alternate capitalizations of country and state names. Switch installer to unicode This removes and "ANSI is deprecated" message. v1.0.26: Update version to v1.0.26 Update dependencies. Debugging code was preventing the windows version from running. Use an updated debug module. v1.0.25: Update version to v1.0.25 writeCodeplug: Fix writing a codeplug to radio The interface to the codeplug was previously changed to use 3 steps: preparing, erasing, writing. However dmrRadio was not updated to reflect this change. This commit fixes that problem. v1.0.24: Update version to v1.0.24 Remove ham-digital.org as a source for the userdb. Sort subcommands in main usage message generateChangelog: Include version commits v1.0.23: Update version to v1.0.23 Add sub-command: newCodeplug Creats a new codeplug for the selected model and frequence range. newCodeplug -model -freq Fix NewFlagSet names This is a cleanup that should only have cosmetic effect. v1.0.22: Version 1.0.22 Pick up library updates. Including a fix for writing to a file in the current directory. (Make sure that the temp file is created in the current directory for that case.) v1.0.21: Update version to v1.0.21 Update dependencies Fix typo in help message v1.0.20: Update version to v1.0.20 Add new commands: userCountries and filterUsers v1.0.19: Update version to v1.0.19 Update dependencies Add go.sum Update .gitignore Update go.mod to use v1.0.18 modules v1.0.18: Update version to v1.0.18 Create Makefile for dmrRadio Take the dmrRadio instructions from the editcp Makefile Adapt to changes in the userdb API Update version to v1.0.17 Split the "codeplug" repo into subdir repos We split the github.com/dalefarnsworth/codeplug repository, based on subdirectories, into 13 repositories. These files from the subdirectory dmrRadio are now found in the repository: github.com/dalefarnsworth-dmr/dmrRadio v1.0.16: userdb: Have editcp get userdb from farnsworth.org This userdb file will be updated at least daily by merging content from radioid.net, hamdigital.net, and the db maintained by pd1wp, plus a few cleanups of my own. dmrRadio is updated to do the merging to produce the userdb file used by editcp. v1.0.11: Update copyright notices to include 2019 v0.16.10: Display debugging and panic messages on Windows Debugging messages are displayed in popup windows. Panic messages are saved and displayed on the next invocation of editcp. v0.15.10: Fix copying records between codeplugs This used to fail. For example, if copying a zone, and the channels did not exist, the copy would fail. We now also copy all of the records the requested records depend on. Undo/redo of this operation does not preserve the order of the records. I'm still looking into this. I'm tempted to remove undo/redo entirely. v0.15.5: Revert several commits to regain stability I made several changes without adequate testing, resulting in instability. I will revert these commits now: commit 8e744aa70c1fc92adcf69a076dd565b305cd170b Add ability to set button definitions commit 8e10281ef0d5f2364e7361927b31657b6080cb70 Clean up some UI functions commit e0dfdc35fc500c349cc6119f8fd8cf73395265d4 Fix copying records between codeplugs commit 4d418dcaaa25219e28b8b44da72f8921b8651b49 Remove Undo/Redo. See if anyone complains I'll add those fixes in later after better testing. v0.15.2: Fix copying records between codeplugs This used to fail. For example, if copying a zone, and the channels did not exist, the copy would fail. We now also copy all of the records the requested records depend on. Undo/redo of this operation does not preserve the order of the records. I'm still looking into this. I'm tempted to remove undo/redo entirely. v0.14.7: Unabbreviate countries/states for MD-UV380 usersdb There is no benefit to abbreviating the userdb for the MD-UV380 because 100 bytes are statically allocated for each entry. So, we use full country and state names. v0.14.4: Set default values for fields. This is useful when converting from one codeplug type to another. Fields that didn't exist in the first type will now take on default values, instead of invalid ones. internal: rename functions using types, not models Several function names are no longer correct, rename them to match what they do. v0.14.0: radio: Change funcs to take io.reader/io.writer Initial support for the MD-UV380 & MD-2017 radios debug: Print dprint args with "%#v" v0.12.7: internal: remove ignoreWarnings parameter v0.12.3: usersdb: Significantly update the Users() function Too many changes to enumerate here. Sorry. Revamp userdb handling: proper merge and options When merging userdb files: instead of replacing all fields, replace only empty fields. AbbrevCountries AbbrevStates AbbrevDirections RemoveDupLastNames RemoveRepeats TitleCase RemoveMatchingFirstNames readUsers: Only read valid userdb bytes to file Rename dumpUsers to readusers. Read the first line of the user db to get the size and then only read the actual user db into the specified file. dmrRadio: Add conversion to/from text and xlsx dmrRadio: Ignore case of subCommand name v0.12.2: dmrRadio: require freqRange flag for readCodeplug To properly set the frequence range field in the .rdt header, we need to know the specific frequency range for the codeplug. v0.12.1: dmrRadio: Create new CLI program for users/plugs The radio program has been renamed to dmrRadio. When reading/writing codeplugs, it now creates/uses .rdt format instead of bin format. Added the new subcommands jsonToCodeplug and CodeplugToJSON to convert a .rdt file from/to JSON.