Summary: 213 instances, 195 unique Text Count // TODO: add the DrawContext from the lifecycle event? 1 // TODO: use a resolution-independent unit such as DIPs or Millimetres? 1 // - Windows: TODO: implement and document this. 2 // TODO: adjust d.Dot.X for any ligatures? 1 // TODO: app-specific OpenGL, if available, should be part of the effects 1 // TODO: source a formal description of "intrinsic aspect ratio" 1 // TODO: we work in whole pixels but flex calculations are done in 1 widget.NewLabel("TODO: Menu"), 1 // TODO: implement a back buffer. 2 // TODO Content §9.2.3.B, C, D 1 //TODO: do we want the rest of the values from the end event? 1 // TODO: scrolling, such as when images are larger than the window. 1 // TODO: how does RunWindow's caller inject or process events (whether general 1 //TODO: should we do more than just log it? 1 // TODO: move the rest of these codes to constants in key.go 1 // TODO: 2 // TODO: add a clip rectangle? 1 // TODO: measure the height of each box, if we allow rich text (i.e. more 1 // TODO: should we be able to make a shiny.Texture before having a 1 //TODO: choose between stdout and stderr based on the event 1 // TODO §9.4.8.1, no concept of inline-axis yet 1 // TODO: mark somehow that a graphic (such as a back arrow) should be flipped 1 // TODO: if every package that uses package screen should basically 1 // TODO: does shiny use this at all? 1 // TODO: does the order of these lifecycle and size events matter? Should 1 // TODO: figure out what to say about the responsibility for users of this 2 // TODO: this is not entirely correct. The error value could be 1 // TODO: LatestSizeEvent? 1 // TODO: select instead of poll. Note that knowing whether to call 1 // TODO: view multiple images. 1 // TODO: should draw.Src be draw.Over? 1 // TODO: transparency in [0x0000, 0xffff]? 1 BasisPx int // TODO use unit package? 1 // TODO: On a trackpad, a scroll can be a drawn-out affair with a 2 // TODO: other OnXxxEvent methods? 1 panic("TODO: is falling back on the U+FFFD glyph the responsibility of the caller or the Face?") 1 // TODO: implement a back buffer, and copy or flip that here to the front 1 // TODO: accept N and Ni independently? 1 // TODO: Improve the main function. 1 // TODO: rename Buffer to Image, to be less confusing with a Window's back and 1 // TODO: be able to specify the draw operator: Src instead of Over. 1 // TODO: issue warning for "" cases above? 2 // TODO: check if this (and below) works when src2dst[0] < 0. 2 // TODO: shapes (circles, rects) and strokes? Or can we assume that authoring 1 // TODO: use the size of the monitor as a bound for texture size. 2 // TODO: Set board size. 1 // TODO: also implement Drawer? If so, merge the Uploader and Drawer 1 // TODO: move Border into the standard library's package image? 1 // TODO requires introducing inline-axis concept 1 // TODO: include the mouse Button and key Modifiers? 1 var scale = flag.Int("scale", 35, "`percent` to scale images (TODO: a poor design)") 1 // TODO: implement velocity. 1 // TODO: adjust if dp is outside dst bounds, or sr is outside buffer bounds. 1 // TODO: Is it much faster to use a range loop for this scan? 1 // TODO: identify vulnerability with ? 1 // TODO: if the measured size differs from the actual size, specify a 1 //TODO: decide if we should be calling h.tb.Fail() 1 // TODO: when is face released? Should we just unconditionally call 1 // TODO: is findBuffer and the s.buffers field unused? Delete? 1 // TODO: propagate keyboard / mouse / touch events. 1 // TODO: do we need to synchronize with seeing a size event for 1 // TODO: avoid creating a label at all in this case. 1 // TODO: is this necessary? 1 // TODO: handle horizontal scrolling 2 // TODO: can a theme change at runtime, or can it be set only once, at 1 // TODO: check constant values: large values aren't representable by some types. 1 // TODO: pass down width/height hints? 1 // TODO: is this right? Closing a window via the top-left red button 1 defer _DeleteObject(bitmap) // TODO handle error? 1 // TODO: delete the framebuffer, texture, and gl.Context. 1 // TODO: Document all the incompatibilities we don't check for. 1 // TODO: show that two-non-empty dotjoin can happen, by using an anon struct as a field type 1 MaxSize *image.Point // TODO use unit.Value 1 // TODO: test exported alias refers to something in another package -- does correspondence work then? 1 // TODO: add a "Metrics(FontFaceOptions) font.Metrics" method? 1 // TODO: do we want to allow contraction of stacks before comparison? 1 // TODO: initialize this somewhere else we can better handle the error. 1 // TODO: scrolling, although should that be the responsibility of this 1 // TODO: key events to navigate through the icons. Also add a search-by-name 1 // TODO: what if client has its own db 2 // TODO: allow multiple font faces, i.e. rich text? 1 // TODO: do we (or will we )have a useful notion of Content in the 1 panic(fmt.Sprintf("execCmd faild for cmd.id=%d: %v", c.id, c.err)) // TODO handle errors 1 // TODO: Use these? 1 xkMenu: key.CodeRightGUI, // TODO: CodeRightGUI or CodeMenu?? 1 render(m, b) // TODO: Connect this to paint events. 1 // TODO: make the body's sheet scrollable. 1 // TODO: fullscreen, icon, cursorHidden? 1 // TODO: if modVersion == "", try vcs to get the version? 1 // TODO: include font.Hinting and font.Stretch typed fields? 1 // TODO: use this. 1 // TODO: change this to true, after manual testing on OS X. 1 panic("TODO: degenerate split left, possibly adjusting the Line's firstB??") 1 // TODO: give an overview and some example code. 1 //TODO: use GetModifierMapping to figure out which modifier is the numlock modifier. 1 // TODO: consider supporing target.Is(err). This would allow 1 // TODO: this might be correct. Some GL objects can be shared 1 // TODO: run a compaction if the free-list is too large? 3 MinSize image.Point // TODO use unit.Value 1 0, // TODO: this isn't right. 1 // TODO: call Mark(node.MarkNeedsPaint)? 1 // TODO: padding, alignment. 1 // TODO: change this to true, after manual testing on Win32. 2 widget.NewLabel("TODO: status"), 1 // TODO: create a bunch of standard widgets: buttons, labels, etc. 1 panic(err) // TODO handle error 3 // TODO: check if this (and below) works when src2dst[4] < 0. 2 //TODO: push back the fun raw 1 // TODO: ??? 1 // TODO: cursors + editing (not just viewing) text, key + mouse events, 1 // TODO: don't assume that there is only one window, and hence only 1 // TODO: Add labels more efficiently: compare cap(ev.Labels) to the total number to add, 1 // TODO: actually parse the "trust-settings-export" output and apply the full 1 //TODO: this causes a lot of shuffling, should we use a growing ring buffer? compaction? 1 // TODO: explicit or finalizer cleanup? 1 // TODO: include font size? If so, directly as "12pt" or indirectly as an enum 1 // being clicked. (TODO: document how this actually cleans up 1 // TODO: scrolling. 1 // TODO: should a mouse.Event have a separate MouseModifiers field, for 2 // TODO: hinting? 1 // TODO: make cache thread-safe 1 // TODO: is a font.Metrics.Height actually useful in practice?? 1 // TODO: test swap corresponding types (e.g. u1 <-> u2 and u2 <-> u1) 1 // TODO: define modCacheDir using cmd/go/internal/cfg.GOMODCACHE 1 AlignItemBaseline // TODO requires introducing inline-axis concept 1 // TODO: Velocity. 1 // TODO: add commentary about the Measure / Layout / Paint model, and about 1 // TODO: specify image format (Alpha or Gray, not just RGBA) for NewBuffer 1 // TODO: do we care about "\n" vs "\r" vs "\r\n"? We only recognize "\n" for 1 // TODO: call w.lifecycler.SetDead and w.lifecycler.SendEvent, a la 1 // TODO: don't report removed/changed methods for both value and pointer method sets? 1 // TODO: padding, to match a Text widget? 1 // TODO: re-layout the newP paragraph. 1 // TODO: CODE COVERAGE 1 // TODO: catch windowDidMiniaturize? 1 // TODO: multi-button / multi-touch gestures such as pinch, rotate and tilt? 1 // TODO: cache GetKeyboardLayout result, update on WM_INPUTLANGCHANGE 1 // TODO: tear down the s.run goroutine? It's probably not worth the 1 // TODO: keep a texture around for this purpose? 1 // TODO: get a method label in here somehow. 1 // TODO: Avoid some 64-bit ops to make it more efficient on 32-bit machines. 2 //TODO: do we want other grouping strategies? 1 // TODO: must also check that if any methods were added or removed, every exposed 1 // TODO Measure 1 pcg.high = seed // TODO: What is right? 1 // TODO: handle touch events, not just mouse events. 1 // TODO: when re-calculating p, l, b and k, be more efficient than a linear 1 // TODO: Provide more functionality. 1 // TODO: scaler (nearest neighbor vs linear)? 1 // TODO: LatestLifecycleEvent? Is that still worth it if the 1 // TODO: should padding (and/or margin and border) be a universal concept and 1 // TODO: this call to Viewport is not right, but is very hard to 1 // TODO: better error message 1 // TODO: add a clip rectangle? Or rely on the RGBA.SubImage method to pass 1 // TODO: should draw.Over be configurable? 1 // TODO: a "Velocity Point" field. See 1 // TODO key.CodeRightGUI 1 // TODO: draw an optional border, whose color depends on whether w has the 1 // TODO: can we compile these programs eagerly instead of lazily? 1 // TODO: draw the widget texture directly into the window framebuffer. 1 // TODO: how do widgets signal that they need repaint or relayout? 1 // TODO: share code with eglErrString 1 panic(fmt.Sprintf("glwidget: %v", err)) // TODO: return error? 1 // TODO: have a Downloader interface? Not every graphical app needs to be 1 // TODO: check that xgb is safe to use concurrently from multiple goroutines. 1 // TODO: find a way to use checkCompatibleObjectSets for this. 1 // TODO: match all whitespace, not just ' '? 1 // TODO: determine somehow if there's an external paint event in the queue, 1 // TODO: make a standard widget.Button. 1 // TODO: mask and maskPoint, not just src and srcRect. 1 // TODO: Delete the field below (and the useLifecycler constant), and use 1 // TODO: should SetMaxWidth take an int number of pixels instead of a 1 // TODO: should we allow to limit the queue size? 1 // TODO: re-layout the new c.p paragraph, if we saw '\n'. 1 // TODO: add more here, after collecting data on the common 1 //TODO: this needs to be more complicated, v decreases with increasing severity 1 //TODO: we can change this to a much faster test 1 // TODO: move this out of an internal directory, either under 1 // TODO: make it optional that a Buffer's contents is preserved after 1 // TODO: add tests for trace confidence computation involving std libs. 1 // TODO: gamma correction / non-linear color interpolation? 1 // TODO: the paint.Event should have External: true. 1 // TODO: some mechanism to process, filter and inject events. Perhaps a 1 // TODO: add messages for such cases too? 1 // TODO: can we use GL_UNPACK_ROW_LENGTH with glPixelStorei for stride in 1 // TODO: note that we may miss correspondences because we bail early when we compare a signature (e.g. when lengths differ; we could do up to the shorter) 1 // TODO: use the golang.org/x/exp/shiny/driver/internal/lifecycler package 1 // TODO: if you add an unexported method to an exposed interface, you have to check that 1 // TODO: define modCacheDir using something similar to cmd/go/internal/cfg.GOMODCACHE? 1 // TODO: is it the font face's responsibility to track line spacing, as 1 // TODO: detect FFV 1 (File Format Version 1), as opposed to the FFV 0 1 //TODO: some actual research into what this arbritray optimization number should be 1 //TODO: rewrite this using the new target/prototype stuff 1 // TODO: should insert and remove call Mark(MarkNeedsMeasureLayout | MarkNeedsPaint)? 1 // TODO: can we optimize using the information on findings already reported? 1