0. old reports waiting for ACK =============================================

1. Upcoming release ====================================================


2. Later releases ==========================================================
- BUG: default sheet not found [report: Terry; ml: 6953]
	- recipe:
		- start sch-rnd gui
		- load bug_files/TODO/defsh.sch
		- get a default sheet not found warning or error
	- reason:
		- sch_rnd_sheet_new_() is creating a new sheet
		- default sheet search path list is set correctly and is searched
		- $(rc.path.share) is not set so the code tries to load /default-sheet.lht
- CLEANUP: memleak test: bug_files/2k.rs.xz
	- start with the file, then revert -> memleak
	- start with the file, select all resistors, copy, then undo then clear undi -> memleak
	- clear undo doesn't always work after such copies
- BUG: [report=aron]
	1. sch-rnd
	2. place a "shterm_in"
	3. copy it to buffer
	4. "buffer" -> "save buffer symbol to file"
	5. press "ok" button
	-> nothing happens (no file, no message)
- BUG: [report=aron]
	1. sch-rnd
	2. place a "shterm_in"
	3. copy it to buffer
	4. "buffer" -> "save buffer group to file"
	5. "buffer" -> "load buffer group to file"
	6. the current group in the buffer is merged with the newly loaded one producing an overlapping symbol (sheet terminal); if you place it, green circles appear (see attachment)
- BUG: [report=aron]
	1. sch-rnd
	2. place a "shterm_in"
	3. copy it to buffer
	4. "buffer" -> "save buffer group to file"
	5. edit the file (i.e. change some coordinates of a line/lines)
	6. "buffer" -> "load buffer group to file"
	7. load fails with
	-> Error loading '/tmp/x': there's already a group1 in destination sheet
- BUG: [report=aron]
	1. bug_files/aron4/
	2. sch-rnd project.lht
	3. compile (ignore errors)
	4. {w a}
	5. "net/VBAT1" should have "B1/CON-2", but it does not (instead "anon_net_7" [or equivalent] has it)
	-> Sheet terminals on charger.rs are different! But they have the same "name" attrib.
- BUG: [report=aron]
	1. bug_files/aron6/
	2. sch-rnd project.lht
	3. select "charger.rs", and "save sheet as" {f a} into a _different_ dir
	4. select "bat.rs", and {f a} into the _same_ dir as in 3. step
	5. crash
- BUG: design doc: revise which fields are optional (des3:59) [report: Terry; ml: 6961]
	- check what the code in io_lihata does
	- make everything optional that can have a safe default that's easy to understand
- librnd 4.3: look for TODO("librnd4.3:...")
- librnd4.1 API upgrade:
	- lib_plot/plot_preview.c: LIBRND41 TODOs: e->coord_per_pix is available
		-> see bug_files/TODO/sim.patch
- FEATURE: extobj syms and chart drawing [report: Vuokko]
- FEATURE: font2:
	- check calls to rnd_font_fix_v1(); don't call it if ->height is loaded; maybe not needed at all with font2, multiline is handled in librnd
	- baseline: probably a bad idea, skip it (incompatible with multiline and bbox placement, adds a random offset for term lables)
- FEATURE: BoM template language: concat'd lists:
		- use case: v1.1 should have color and tolerance in the value
		- allow creating new attributes (or rather macros) using the same template
		- create one with: %escape.sym.a.color|% %escape.sym.a.value|% %escape.sym.a.tolerance|%
		- print it as %escape.macro|(unknown)% for the value column
- FEATURE: symbol meta layer drawing: draw lines from floaters back to their parent?
- FEATURE: DRC (requires query() on the abstract model):
	- noslot or rather uniq attribute (e.g. for resistors)
	- figure if fully overlapping ports (or symbols) can be or should be detected (see: two gnd symbols on top of eachother) [report: Erich]
	- it is easy to accidentally add a footprint to a terminal on a symbol instead of the symbol itself. This is not flagged on netlist export. Should it be harder to do this, or maybe a netlist exporter could indicate if footprints associated with terminals in symbols were not included in the export? [report: Erich]
	- accidentally adding a name to a rail exports a connection in the netlist with no associated component. Perhaps this would benefit from some sort of DRC check, like the "footprint attribute put on non-symbol" issue above. [report: Erich]
	- component pcb pinnum: check if pins are numbered from 1 (or 0) without discontinuities; could catch typos in footprint creation (example: Aron's orange pi zero usb pins on edakrill) [report: aron]
	- move drc/require_graphical_conn check from compiler to DRC, see TODO#rgc
	- DRC dialog in sch_dialogs
	- DRC menu and hotkey
- BUG: csch_grp_ref_embed(), used in sym loclib paste and right click symbol context menu toref (to loclib) conversion is not undoable [report: Igor2]
- needs librnd 5.0.0 API upgrade:
	- library window "Use selected" should have a tooltip on what exactly it does (for devmap: returns name only, does not update loclib); API: close buttons can't have tooltips [report: aron]
- file format version bump cschem-sheet-v2:
	- FEATURE: implement attribute symlinks (see design doc)
		- CLEANUP: attrib code decides if an attrib is a string or array by looking at string value != NULL
			- replace this with a type enum that has str, symlink and array
			- put string value and array into an union
			- the file format needs to save an extra bit if it's a symlink
		- create hierarchic examples (parameter passdown is already implemented: cschem/param/ in the sheet ref symbol)
		- BUG: altium had a =Device or =Footprint attribute somewhere, that should be a symlink [report: aron]
	- a connection object should have x;y displacement for the graphical object to be useful (or is it a grp_ref?); at the moment we are not drawing it at all
	- text flag for &entity;
		- implement new text flag/attr for &entity; (similar to dyntext)

3. NLnet ==========================================================
- extensions:
	- attrib symlinks (see above for file format v2)
	- multiline font: switch over to librnd multiline/alignment rendering
		- implement the halign property (watch out for x mirror: start is always toward the origin)
		- {e T} for multiline edit of single line text; {e t} should also do this if text has \n's
		- propedit should get a button for invoking the same {e T} popup
		- maybe cache whether text is multiline in an unsaved struct field
		- FEATURE: text vertical alignment (add in design doc and code); same rules as in halign [report: Ade]
	- bxl symbols
		- devmap is probably impossible as slotted symbols are just drawn multiple times, once per slot
		- needs API for multiple symbols from a single file (see pcb-rnd bxl footprint load)
	- eagle xml schematics
	- eagle xml libraries (lbr)
	- high level sim:
		- sim-to-spice compilation:
			- autodetect net type from pin types
			- auto-bridge as needed for mixed mode digital+analog
			- DOC: port type attributes (e.g. analog, ttl), also consider DRC, check coraleda std 2
			- lib_sim: elect network type (default is analog)
			- API? set port attributes for bridges where needed
		- BUG: stance is set temporarily using sch_sim_set_test_bench() for the compilation only but csch_stance_set() prints the permanent setting
		- BUG: womit_no_test_bench is not really implemented, see TODO#womit
	- netlist export formats: see TODO.netlist

4. Low prio ==========================================================
- FEATURE: check feasability: use non-graphical fawk sheet as calculator
	- e.g. voltage divider of R1 and R2 with input and output voltages specified, fawk calculates value for R1 and R2
	- how to query attributes of existing things?
	- how to guarantee the data sheet is compiled after the graphical sheets?
	-> probably better to have this in a "target script"
- BUG: enable multiport_net_merge, then bug_files/multiconn0.rs; move TP2 1k or 2k to the left; more than one connection is created because the vertical ports are overlapping and when the horizontal port is connected, but it figures connections only one by one so it doesn't dare to extend existing connections [report: Igor2]
- BUG: {e t} over a non-dyntext, resize window larger: entry remains small [report: aron]
- FEATURE: consider dangling wire end indication (see pool node)
- FEATURE: support for protel format? (.asc, differerent syntax and data model from io_altium) [report: Scott]
- TODO#38: rethink grp-ref-in-grp-ref with child xforms, maybe cache=1 is a bad idea
	- problem: ref1 -> ref2 -> grp -> text; ref2 is floater; if whole ref2 is rotated, we won't update anything in ref1's central xform list
- BUG: wirenet in group should work: load symnet.rs. select terminal and adjacent vertical line using negative selection box; convert selection to symbol. connect test point 1 to wire net. export netlist. do not assume wirenet is directly under the &direct in the tree [report: Erich]
- BUG: back annotation: abstract model: abstract model UUIDs are not implemented, annotation doesn't use them; either figure persistent uuids or use CMRs [report: Igor2]
- BUG: rewrite get_prjname() in dytext render
	- figure the path of the project file
	- project name change runtime (save-as); inalidate text objects (->rtext = NULL using csch_text_dyntext_inval()) to re-render the new name
- OPTIMIZE: do not re-create views multiple times in sch_rnd_prj_conf2prj(): start 'sch-rnd A.rs B.rs' from the same dir [report: Igor2]
- CLEANUP: code dups with pcb-rnd, consider moving some code to src_3rd/rnd_inclib:
	- query
	- undodialog
	- rename csch_ symbols to sch_rnd_ in plugins/
	- act_read
	- propedit; plan to move accessors into core in pcb-rnd first:
		- move query's fields sphash to core
		- write per object read accessor API that gets an sphash key "path", similar to query and returns a type:val or type:*val
		- write a string based API around this
		- replace query code then propedit map code
		- write a per object write accessor API using the same sphash ket "path" and type:val payload, maybe undoable flag
		- replace propedit set code
		- maybe expose this in lib_vfs/ vfs_access_obj()
- librnd4.0.0:
	- remove the whole project loading plug io: project files will be handled by librnd
	- once multi is moved over:
		- extend oidpath to generate and accept sheet prefix with $uuid/
		- act_draw should be able to use it as scope
		- act_draw should be able to return oidpath with $uuid/
		- query() should be able to return/convert lists like that for scripting

6. TODO() tags ==========================================================
	- bitmap:     needed for bitmap objects
	- fungw:      may need fungw API change
	- multi:      multiple sheet support
	- hierarchic: needed for hierarchic projects
