Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .cursor/commands/doc-rebuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,21 +313,13 @@ Even `std::byte` imposes a semantic opinion. POSIX uses `void*` for semantic neu
- Scatter/gather operations (multiple buffers in one syscall)
- Custom allocators and memory-mapped buffers
- Integration with any user-defined buffer type
- **Dynamic Buffers** (`buffers/dynamic.adoc`)
- The producer/consumer model
- The `DynamicBuffer` concept: `prepare(n)`, `commit(n)`, `data()`, `consume(n)`
- Capacity management: `size()`, `max_size()`, `capacity()`
- `DynamicBufferParam` for safe coroutine parameter passing
- Implementations: `flat_dynamic_buffer`, `circular_dynamic_buffer`, `vector_dynamic_buffer`, `string_dynamic_buffer`

**Reference headers**:

- `<capy/buffers.hpp>`
- `<capy/buffers/const_buffer.hpp>`, `<capy/buffers/mutable_buffer.hpp>`
- `<capy/buffers/make_buffer.hpp>`
- `<capy/buffers/buffer_copy.hpp>`, `<capy/buffers/consuming_buffers.hpp>`
- `<capy/concept/dynamic_buffer.hpp>`
- `<capy/flat_dynamic_buffer.hpp>`, `<capy/circular_dynamic_buffer.hpp>`

### 6. Stream Concepts (Sixth Section)

Expand Down Expand Up @@ -361,7 +353,6 @@ Generate content based on public API and agent-guide.md. **Key structure**: For
- **Example**: Compression pipeline — source provides compressed data, sink receives decompressed
- **Transfer Algorithms** (`streams/algorithms.adoc`)
- `read(stream, buffers)` — loops `read_some` until full or error
- `read(source, dynamic_buffer)` — loops until EOF
- `write(stream, buffers)` — loops `write_some` until all written
- `push_to(BufferSource, WriteSink/WriteStream)` — caller-owns-buffers transfer
- `pull_from(ReadSource/ReadStream, BufferSink)` — callee-owns-buffers transfer
Expand Down Expand Up @@ -428,9 +419,6 @@ Generate examples that showcase Capy features. Examples should progress from sim
- Multiple operations in parallel with `when_all`
- First-wins pattern with `when_any`
- Shows: `when_all`, `when_any`, concurrent composition
- **Custom Dynamic Buffer** (`examples/custom-dynamic-buffer.adoc`)
- Implementing `DynamicBuffer` for a custom allocation strategy
- Shows: concept modeling, `prepare`/`commit`/`consume` pattern
- **Echo Server with Corosio** (`examples/echo-server-corosio.adoc`)
- Complete echo server using Corosio sockets
- Demonstrates Capy + Corosio integration
Expand Down
2 changes: 0 additions & 2 deletions doc/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
** xref:5.buffers/5c.sequences.adoc[Buffer Sequences]
** xref:5.buffers/5d.system-io.adoc[System I/O Integration]
** xref:5.buffers/5e.algorithms.adoc[Buffer Algorithms]
** xref:5.buffers/5f.dynamic.adoc[Dynamic Buffers]
* xref:6.streams/6.intro.adoc[Stream Concepts]
** xref:6.streams/6a.overview.adoc[Overview]
** xref:6.streams/6b.streams.adoc[Streams (Partial I/O)]
Expand All @@ -48,7 +47,6 @@
** xref:8.examples/8e.type-erased-echo.adoc[Type-Erased Echo]
** xref:8.examples/8f.timeout-cancellation.adoc[Timeout with Cancellation]
** xref:8.examples/8g.parallel-fetch.adoc[Parallel Fetch]
** xref:8.examples/8h.custom-dynamic-buffer.adoc[Custom Dynamic Buffer]
** xref:8.examples/8i.echo-server-corosio.adoc[Echo Server with Corosio]
** xref:8.examples/8j.stream-pipeline.adoc[Stream Pipeline]
** xref:8.examples/8k.strand-serialization.adoc[Strand Serialization]
Expand Down
Loading
Loading