1. For the upcoming release ===============================================================================
	- polybool2 arc:
		- revise pa_ calls like rnd_pline_isect_circ(), they may assume straight line edges
		- bug01*: inf loop on mapping (minimal input: 3 lines)
		- offset2 round:
			- off_rnd_03*: segf
			- off_rnd_05a: segf
			- off_rnd_05full: inf loop
			- off_rnd_04d: wrong output
			- off_rnd_04full: assert
			- off_rnd_05as: hole
	- librnd 4.4.0 API upgrade:
		- gcc-15 (new scconfig node):
			- upgrade apps to use /local/APP/c99flags when /local/APP/c89flags is not used
	- miniboxtk:
		- {w a}: text vertical alignment is wrong; maybe the mbtk tabbed test is easier to debug
		- adt creating invalid widgets: on gtk no window is open, on mbtk there's a ghost window
		- modal dialog: still lets {w m} in the main window
		- implement DAD widgets and adt tests:
			- tree
			- preview
			- color
		- implement adt tests and/or re-test compound:
			- color
			- integer
			- real
			- coord
			- unit
			- subdialog (docked only?)
	- dad():
		- there is no binding for text widget


2. For later releases ===============================================================================
	- BUG: main .so files not depending on each other properly (e.g. poly on core, most of the .so files on -3rd) [report: s-kro]
	- CLEANUP/BUG: rnd_hid_parse_command_line() at the end when copying back filenames:
		- try with sch-rnd -x ps with 10+ filenames
		- it is not really copying back from argv[0] but appending at the end
		- where filename[i] is set argv is also modified
		- test what happens with pcb-rnd and camv-rnd, why we have this at all
	- BUG: {z e} in camv-rnd for bug_files/negcoord.gbr doesn't do the right thing because vertical negative coords [report: hzeller]
	- BUG: gtk4 {tab} jumpyness [report: hzeller]
		- local experimental patch in cancer:gtk4, lib_gtk4_common, gtkc_widget_window_origin
		- instead of finding top window through parent, pass on gctx->wtop_window
	- implement pixmap export: bitmap object export in png, ps, eps, svg (for osm-rnd)
	- BUG: shift+arrow key in act_Cursor() does strange things both in pcb-rnd and sch-rnd [report: Vuokko]
	- BUG: start pcb-rnd, set lib_hid_common/toolbar/icons_per_page to 0 in preferences -> the paging buttons disappear but not all icons appear until restart [report: Evan]
	- BUG: perma scripts are initialized too late
		- sch-rnd postproc scripts won't run when invoked with ./sch-rnd a.rs
		- plugins are all loaded and initialied but permascripts are loaded only in interactive main loop
		- can't easily change this without breaking existing scripts that depend on GUI availability
		- can add a new flag in scripts.lht to load a script earlier
			- "earlier" should be a new event probably, that runs after loading all plugins and doing all initialization but before loading anything
			- check if we have GUI for editing permascript; if so, add this there too
		- sch-rnd doc: trunk/doc/user/07_io/alien/index.html: look for <!--TODO#1--> and update it (from which version of librnd it works and how)

3. Long term ===============================================================================
	- API deletion and renames (5.0.0)
		- rename rnd_w32_*: more generic, for ./configure --floating-fhs (binpack)
		- remove the old poly lib
		- DAD close buttons can't have tooltips (for sch-rnd)
			- need to add an optional tooltip field at the _end_ of rnd_hid_dad_buttons_t
		- CLEANUP/BUG: remove -Dinline= from scconfig/, it breaks on mac: configure camv-rnd without --debug, it will yield multiple symbols in link (itwas for old versions of genht vs. c89)
			- see bug_files/TODO/inline.patch
			- requires API change because apps depend on -Dinline too
			- remove --debug on mac from INSTALL and mac.txt
		- lib_exp_text/draw_svg.h: add colorspace in init()
		- remove old font support
			- remove xform compatibility .h from font, it's been moved to core
			- maybe remove the whole old font/
			- remove font2 rnd_font_fix_v1() - used by sch-rnd with font v1
			- remove font2 rnd_font_draw_string_justify() - used by sch-rnd with font v1
		- add spares (missing spares):
			- add spares to rnd_conf.h main structs else it's impossible to add new conf items
			- need to add spares in rnd_hid_dad_buttons_t
			- DAD: add spares in rnd_dad_retovr_t
		- spare write back:
			- rnd_app_t in hidlib.h
			- attr_dlg_widget_focus in hid.h
			- widget_focus in rnd_hid_compound_t in hid_dad.h
			- coord_per_pix in rnd_hid_expose_ctx_s in hid.h
			- rnd_hid_tree_t in hid_dad.h: hid_get_selected_multi_cb()
			- lib_exp_text/draw_svg.h: rnd_svg_t
			- lib_exp_text/draw_ps.h: rnd_ps_t
			- lib_exp_text/draw_eps.h: rnd_eps_t
			- lib_exp_pixmap/draw_pixmap.h: rnd_drwpx_t
			- hid/hid_dad_spin.h: rnd_hid_dad_spin_t
		- osm-rnd: TODO#fy5: we seem to have the wrong y values in gtk top window viewbox when flip_y==1
	- script bindings for creating new conf nodes [report: Majenko]
		- probably needs a new subtree next to plugins/
		- remove all nodes registered on script unload
		- what if two scripts try to register the same path?

4. Low prio ===============================================================================
	- BUG: use new rtree iterator (api2.h, search2.h) to avoid stacking problems
	- lesstif (would be removed anyway)
		- BUG: hid_lesstif potential bug: bug_files/TODO/lesstif.txt [report: Fuz]
		- multi preview widget: implement gtk's r34242, r34773
		- lesstif: vertical text, truncated text support
		- implement gtk's tree view multi select API
	- polybool: (probably WONTFIX as polybool2 works much better)
		- gixed6: nowhere to go
		- gixed7: infloop
		- bf fails on OSX (repro can reproduce it): infinite loop? happens only with -O3
			- happens in pcb-rnd make test RTT too, had to disable polybool in ./configure
		- finish self intersecting holes: sih_*
		- olap_spiral: buggy input not detected
	- replace libgd:
		- librnd:
			- import_pixmap_gd:
				gdImageGetPixel, gdImageRed, gdImageGreenm, gdImageBlue, gdImageAlpha
				gdImageCreateFromPng, gdImageCreateFromJpeg, gdImageCreateFromGif
			- lib_exp_pixmap:
				- uses brushed line and arc draw only, for cap (could be special cased without brush)
				- gd uses a standard line drawing algo and copies brush onto each line pixel (expensive)
				gdBrushed, gdImageArc, gdImageColorAllocate, gdImageColorAllocateAlpha
				gdImageColorResolve, gdImageColorTransparent, gdImageCreate
				gdImageDestroy, gdImageFilledEllipse, gdImageFilledPolygon,
				gdImageFilledRectangle, gdImageGetPixel, gdImageGif, gdImageJpeg
				gdImagePaletteCopy, gdImagePng, gdImageSX, gdImageSY, gdImageSetBrush
				gdImageSetPixel, gdImageSetResolution, gdImageSetThickness
		- pcb-rnd: export_png for photo mode:
			gdImageColorAllocate, gdImageColorResolve, gdImageColorResolveAlpha
			gdImageCreate, gdImageDestroy, gdImageFillToBorder, gdImageSetPixel
			gdImageFilledRectangle, gdImageGetPixel, gdImageSX, gdImageSY
