• Colin Walters's avatar
    GMemoryOutputStream: Add new _resizable() constructor usable from bindings · ed5c17e1
    Colin Walters authored
    Really, the memory output stream API is too warped around the model
    where it's a fixed size buffer that you've already allocated.  Even in
    C, I find myself always wanting to use it to just accumulate data into
    an arbitrary-sized buffer it allocates.
    
    Unfortunately, it's also not usable from bindings because it's not
    common to bind g_free() and g_realloc(), but if you just pass NULL, you
    get the default of a fixed size, which is useless as per above.
    
    I am going to use this from a gjs test case, and the GSubprocess test
    cases also will use it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688931
    ed5c17e1
Name
Last commit
Last update
..
gdbus-object-manager-example Loading commit data...
schema-tests Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
actions.c Loading commit data...
appinfo-test-gnome.desktop Loading commit data...
appinfo-test-notgnome.desktop Loading commit data...
appinfo-test.c Loading commit data...
appinfo-test.desktop Loading commit data...
appinfo-test2.desktop Loading commit data...
appinfo.c Loading commit data...
async-close-output-stream.c Loading commit data...
basic-application.c Loading commit data...
buffered-input-stream.c Loading commit data...
buffered-output-stream.c Loading commit data...
cancellable.c Loading commit data...
cert-key.pem Loading commit data...
cert-list.pem Loading commit data...
cert1.pem Loading commit data...
cert2.pem Loading commit data...
cert3.pem Loading commit data...
contenttype.c Loading commit data...
contexts.c Loading commit data...
converter-stream.c Loading commit data...
data-input-stream.c Loading commit data...
data-output-stream.c Loading commit data...
de.po Loading commit data...
desktop-app-info.c Loading commit data...
echo-server.c Loading commit data...
enums.xml.template Loading commit data...
file.c Loading commit data...
fileattributematcher.c Loading commit data...
filter-cat.c Loading commit data...
filter-streams.c Loading commit data...
g-file-info.c Loading commit data...
g-file.c Loading commit data...
g-icon.c Loading commit data...
gapplication-example-actions.c Loading commit data...
gapplication-example-cmdline.c Loading commit data...
gapplication-example-cmdline2.c Loading commit data...
gapplication-example-cmdline3.c Loading commit data...
gapplication-example-dbushooks.c Loading commit data...
gapplication-example-open.c Loading commit data...
gapplication.c Loading commit data...
gdbus-addresses.c Loading commit data...
gdbus-auth.c Loading commit data...
gdbus-bz627724.c Loading commit data...
gdbus-close-pending.c Loading commit data...
gdbus-connection-flush-helper.c Loading commit data...
gdbus-connection-flush.c Loading commit data...
gdbus-connection-loss.c Loading commit data...
gdbus-connection-slow.c Loading commit data...
gdbus-connection.c Loading commit data...
gdbus-daemon.c Loading commit data...
gdbus-error.c Loading commit data...
gdbus-example-export.c Loading commit data...
gdbus-example-objectmanager-client.c Loading commit data...
gdbus-example-objectmanager-server.c Loading commit data...
gdbus-example-own-name.c Loading commit data...
gdbus-example-peer.c Loading commit data...
gdbus-example-proxy-subclass.c Loading commit data...
gdbus-example-server.c Loading commit data...
gdbus-example-subtree.c Loading commit data...
gdbus-example-unix-fd-client.c Loading commit data...
gdbus-example-watch-name.c Loading commit data...
gdbus-example-watch-proxy.c Loading commit data...
gdbus-exit-on-close.c Loading commit data...
gdbus-export.c Loading commit data...
gdbus-introspection.c Loading commit data...
gdbus-message.c Loading commit data...
gdbus-names.c Loading commit data...
gdbus-non-socket.c Loading commit data...
gdbus-peer-object-manager.c Loading commit data...
gdbus-peer.c Loading commit data...
gdbus-proxy-threads.c Loading commit data...
gdbus-proxy-well-known-name.c Loading commit data...
gdbus-proxy.c Loading commit data...
gdbus-serialization.c Loading commit data...
gdbus-sessionbus.c Loading commit data...
gdbus-sessionbus.h Loading commit data...
gdbus-test-codegen.c Loading commit data...
gdbus-tests.c Loading commit data...
gdbus-tests.h Loading commit data...
gdbus-testserver.py Loading commit data...
gdbus-threading.c Loading commit data...
gmenumodel.c Loading commit data...
gschema-compile.c Loading commit data...
gsettings.c Loading commit data...
gtesttlsbackend.c Loading commit data...
gtesttlsbackend.h Loading commit data...
gtlsconsoleinteraction.c Loading commit data...
gtlsconsoleinteraction.h Loading commit data...
httpd.c Loading commit data...
inet-address.c Loading commit data...
io-stream.c Loading commit data...
key-cert.pem Loading commit data...
key.pem Loading commit data...
key8.pem Loading commit data...
live-g-file.c Loading commit data...
live-g-file.txt Loading commit data...
memory-input-stream.c Loading commit data...
memory-output-stream.c Loading commit data...
mimeapps.c Loading commit data...
network-address.c Loading commit data...
network-monitor.c Loading commit data...
nothing.pem Loading commit data...
org.gtk.schemasourcecheck.gschema.xml Loading commit data...
org.gtk.test.gschema Loading commit data...
org.gtk.test.gschema.xml Loading commit data...
permission.c Loading commit data...
pollable.c Loading commit data...
proxy-test.c Loading commit data...
proxy.c Loading commit data...
readwrite.c Loading commit data...
resolver.c Loading commit data...
resourceplugin.c Loading commit data...
resources.c Loading commit data...
send-data.c Loading commit data...
simple-async-result.c Loading commit data...
sleepy-stream.c Loading commit data...
socket-client.c Loading commit data...
socket-common.c Loading commit data...
socket-server.c Loading commit data...
socket.c Loading commit data...
srvtarget.c Loading commit data...
task.c Loading commit data...
test-codegen.xml Loading commit data...
test-io-stream.c Loading commit data...
test-io-stream.h Loading commit data...
test-pipe-unix.c Loading commit data...
test-pipe-unix.h Loading commit data...
test.gresource.xml Loading commit data...
test1.txt Loading commit data...
test2.gresource.xml Loading commit data...
test2.txt Loading commit data...
test3.gresource.xml Loading commit data...
test3.txt Loading commit data...
test4.gresource.xml Loading commit data...
testenum.h Loading commit data...
tls-certificate.c Loading commit data...
tls-interaction.c Loading commit data...
unix-fd.c Loading commit data...
unix-streams.c Loading commit data...
vfs.c Loading commit data...
volumemonitor.c Loading commit data...
win32-streams.c Loading commit data...