Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgo fixes via @amlwwalker via @SjB #186

Open
wants to merge 89 commits into
base: master
Choose a base branch
from
Open

cgo fixes via @amlwwalker via @SjB #186

wants to merge 89 commits into from

Commits on May 2, 2014

  1. New API with Run on main thread.

    Tests can use SetupTesting instead of Run.
    niemeyer committed May 2, 2014
    Configuration menu
    Copy the full SHA
    85e55c7 View commit details
    Browse the repository at this point in the history
  2. s/qml.v0/qml.v1/

    niemeyer committed May 2, 2014
    Configuration menu
    Copy the full SHA
    a664ad4 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2014

  1. Configuration menu
    Copy the full SHA
    74294f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b0d88b View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2014

  1. update README for v1 branch

    jhawk28 committed Aug 14, 2014
    Configuration menu
    Copy the full SHA
    534150a View commit details
    Browse the repository at this point in the history
  2. cdata: use g->m

    niemeyer committed Aug 14, 2014
    Configuration menu
    Copy the full SHA
    dbdeaea View commit details
    Browse the repository at this point in the history
  3. Changed examples url to match current branch

    Horacio Duran committed Aug 14, 2014
    Configuration menu
    Copy the full SHA
    f020d78 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2014

  1. cpp/capi.cpp: fix ImageProvider leak

    GoImageProvider had a memory leak where it got a pointer to a QImage,
    and never freed it. Qt already has a refcounting system in place so every
    QImage is actually a pointer to pixel data, but it relies on the destructor
    for every QImage instance to be called.
    cookieo9 committed Aug 16, 2014
    Configuration menu
    Copy the full SHA
    4457ebd View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2014

  1. update requirements for OS X

    adg committed Aug 20, 2014
    Configuration menu
    Copy the full SHA
    f84f9ae View commit details
    Browse the repository at this point in the history
  2. Merge pull request #88 from cookieo9/memfix

    Fix ImageProvider data leak in C++ logic.
    
    Fix by Carlos Castillo.
    niemeyer committed Aug 20, 2014
    Configuration menu
    Copy the full SHA
    7b344dd View commit details
    Browse the repository at this point in the history
  3. Merge pull request #87 from nf/v1

    Update requirements for OS X.
    niemeyer committed Aug 20, 2014
    Configuration menu
    Copy the full SHA
    fcf0740 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #81 from jhawk28/patch-1

    Update README for v1 branch.
    niemeyer committed Aug 20, 2014
    Configuration menu
    Copy the full SHA
    6e78849 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #82 from perrito666/v1

    Changed examples URL to match current branch.
    niemeyer committed Aug 20, 2014
    Configuration menu
    Copy the full SHA
    5f7fdd0 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2014

  1. Configuration menu
    Copy the full SHA
    4f4a7f5 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2014

  1. New GL API.

    niemeyer committed Aug 28, 2014
    Configuration menu
    Copy the full SHA
    97c4e8c View commit details
    Browse the repository at this point in the history
  2. Port GL examples to new API.

    niemeyer committed Aug 28, 2014
    Configuration menu
    Copy the full SHA
    8e569b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    539bf5a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    43aa533 View commit details
    Browse the repository at this point in the history
  5. Start introducing types for well known objects.

    Thanks to David Crawshaw for the suggestion.
    niemeyer committed Aug 28, 2014
    Configuration menu
    Copy the full SHA
    c74beaa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b8b5c15 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8c84461 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8e7aff4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a598350 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2014

  1. Configuration menu
    Copy the full SHA
    9031cc6 View commit details
    Browse the repository at this point in the history
  2. Update README to use qml.v1

    qml.v0 seems to be deprecated and doesn't work with the latest Go 1.3.1. Updating the README to reflect this.
    owenthereal committed Aug 29, 2014
    Configuration menu
    Copy the full SHA
    4432d5f View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2014

  1. Add Clampf and Clampd to glbase.

    Thanks to Ignazio Di Napoli for reporting the issue.
    niemeyer committed Sep 1, 2014
    Configuration menu
    Copy the full SHA
    265c7b0 View commit details
    Browse the repository at this point in the history
  2. Add back explicit GL linking to es2.

    Before 5.3 logic goes mainstream it cannot rely on qt to
    resolve the missing symbols.
    niemeyer committed Sep 1, 2014
    Configuration menu
    Copy the full SHA
    f59a4bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1efc244 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2014

  1. Configuration menu
    Copy the full SHA
    0792804 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00ff374 View commit details
    Browse the repository at this point in the history
  3. Simplify language.

    niemeyer committed Sep 2, 2014
    Configuration menu
    Copy the full SHA
    c9be844 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4e2a8e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df4c093 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2014

  1. Polish VertexAttribPointer.

    niemeyer committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    6a397ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7dd7202 View commit details
    Browse the repository at this point in the history
  3. Simple tweak reordering.

    niemeyer committed Sep 3, 2014
    Configuration menu
    Copy the full SHA
    45b5540 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b0feaf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5cee1b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    79bf6cb View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2014

  1. Configuration menu
    Copy the full SHA
    2233843 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f68d72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46984f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fd76df View commit details
    Browse the repository at this point in the history
  5. Fix GL test in the suite.

    niemeyer committed Sep 4, 2014
    Configuration menu
    Copy the full SHA
    2fcb6e2 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2014

  1. Make ObjectByName work with Go types too.

    Fixes #91.
    niemeyer committed Sep 5, 2014
    Configuration menu
    Copy the full SHA
    ea1e5fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0691e15 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2014

  1. Configuration menu
    Copy the full SHA
    e3d7ffd View commit details
    Browse the repository at this point in the history
  2. Fix handling of glbase.Sync.

    Fixes #97.
    niemeyer committed Sep 6, 2014
    Configuration menu
    Copy the full SHA
    a98beac View commit details
    Browse the repository at this point in the history
  3. Convert offset in VertexAttribPointer to uintptr.

    The use of the parameter to provide an array seems to be deprecated,
    but that allows people to use it nevertheless, if they really want to.
    
    Fixes #93.
    niemeyer committed Sep 6, 2014
    Configuration menu
    Copy the full SHA
    6b4ad68 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2014

  1. Workaround issue #84 (QTBUG-41193).

    Closes #84.
    niemeyer committed Sep 9, 2014
    Configuration menu
    Copy the full SHA
    b89e5bc View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2014

  1. Merge pull request #92 from jingweno/patch-1

    Update README to use qml.v1.
    niemeyer committed Sep 10, 2014
    Configuration menu
    Copy the full SHA
    cedade8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d74b65 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab659ec View commit details
    Browse the repository at this point in the history
  4. Do not reuse JS-owned wrapper values.

    JavaScript-owned wrapper values cannot be reused because the
    QML runtime may choose to destroy the value right after it
    is handed a new reference to the same value.
    
    Fixes #68.
    niemeyer committed Sep 10, 2014
    Configuration menu
    Copy the full SHA
    364da65 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2014

  1. Implement mprotect function for Windows.

    Fixes #79.
    niemeyer committed Sep 11, 2014
    Configuration menu
    Copy the full SHA
    5bad8a5 View commit details
    Browse the repository at this point in the history
  2. Fix simple naming mistake

    Geert-Johan Riemer committed Sep 11, 2014
    Configuration menu
    Copy the full SHA
    824784c View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2014

  1. mmemwin: PAGE_READ => PAGE_READONLY

    Issue #79.
    niemeyer committed Sep 12, 2014
    Configuration menu
    Copy the full SHA
    888d1e8 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2014

  1. Configuration menu
    Copy the full SHA
    b35cbc7 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2014

  1. Support bundling of resources into the binary.

    Blog post coming to better document this.
    
    Fixes #102.
    niemeyer committed Sep 26, 2014
    Configuration menu
    Copy the full SHA
    65cbb45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76a2703 View commit details
    Browse the repository at this point in the history
  3. Documentation updates.

    niemeyer committed Sep 26, 2014
    Configuration menu
    Copy the full SHA
    250377a View commit details
    Browse the repository at this point in the history
  4. Documentation spacing fixes.

    niemeyer committed Sep 26, 2014
    Configuration menu
    Copy the full SHA
    40739e1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e55ddbe View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2014

  1. Merge pull request #100 from GeertJohan/patch-1

    Fix innocuous internal naming error.
    niemeyer committed Oct 2, 2014
    Configuration menu
    Copy the full SHA
    f0a005b View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2014

  1. Move cdata logic to assembly in Go 1.4+.

    Fixes #106.
    niemeyer committed Oct 6, 2014
    Configuration menu
    Copy the full SHA
    b94596a View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2014

  1. Update setup.sh

    apt-get install ubuntu-app-launch;"upstart-app-launch" >> "ubuntu-app-launch"
    lomoalbert committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    7fdf7e3 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    Documentation updates.
    lomoalbert committed Oct 8, 2014
    Configuration menu
    Copy the full SHA
    ab36fb4 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2014

  1. Merge pull request #110 from vzever/v1

    change "upstart-app-launch" to "ubuntu-app-launch"
    niemeyer committed Oct 9, 2014
    Configuration menu
    Copy the full SHA
    871e3a7 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2014

  1. Configuration menu
    Copy the full SHA
    18fd325 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e34c23 View commit details
    Browse the repository at this point in the history
  3. Update setup.sh

    apt-get install ubuntu-app-launch;"upstart-app-launch" >> "ubuntu-app-launch"
    lomoalbert authored and niemeyer committed Oct 13, 2014
    Configuration menu
    Copy the full SHA
    b65658d View commit details
    Browse the repository at this point in the history
  4. Update README.md

    Documentation updates.
    lomoalbert authored and niemeyer committed Oct 13, 2014
    Configuration menu
    Copy the full SHA
    07cb71e View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2014

  1. Fix bug in resource packing.

    Fixes #107.
    niemeyer committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    ad9c0dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    929da27 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2014

  1. Merge pull request #105 from cristim/v1

    Ported some of the qtquickcontrols examples.
    niemeyer committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    1116cb9 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2015

  1. Make sure context.file is not null before calling strlen

    Fixes crash in ciborium
    tsdgeos committed Feb 9, 2015
    Configuration menu
    Copy the full SHA
    154c0d1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #144 from tsdgeos/v1

    Make sure context.file is not null before calling strlen.
    niemeyer committed Feb 9, 2015
    Configuration menu
    Copy the full SHA
    2ee7e5f View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2016

  1. Porting go-qml to Go 1.6

    Go 1.6 cannot have Go pointer stored into the cgo space. So instead we
    need to store all Go values in a map and pass a key to the cgo
    space. When needed the key can be used to retrieve the go value from the
    map.
    SjB committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    826359a View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2016

  1. change datatype the foldr from uintptr to C.GoRef

    Using the C.GoRef datatype instead of uintptr in
    the go code make it more clear what the variable
    contains.
    SjB committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    01021bc View commit details
    Browse the repository at this point in the history
  2. refactor valueFold.

    added methods to the type so that we can get the GoRef and register the
    fold in the lookup table, then a function to destroy the reference when
    we are done with the valueFold.
    SjB committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    2628b57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4363f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea70551 View commit details
    Browse the repository at this point in the history
  5. fix missing goRef function

    SjB committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    0309d2d View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2016

  1. fix forgotten dereferenced datap pointer.

    When unpacking a DataValue of a DTGoAddr type, we forgot to dereference the datap pointer
    that contained the GoRef.
    
    Thanks to immesys on github, for pointing out the bug.
    SjB committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    d4c4a72 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2016

  1. fixed MouseArea On Event call back refrence error

    @neclepsio on github.com found that when connecting a callback function
    on a MouseArea event the application would panic. This was cause by the
    extra derefrence on the interface of the function.
    SjB committed Jul 21, 2016
    Configuration menu
    Copy the full SHA
    f9db098 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2017

  1. adding changes to work with 1.6

    Alex Walker committed Mar 4, 2017
    Configuration menu
    Copy the full SHA
    17ea716 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2017

  1. Merge branch 'master' into go1.6-port

    Alex Walker committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    ab29fd7 View commit details
    Browse the repository at this point in the history
  2. updating readme

    Alex Walker committed Mar 16, 2017
    Configuration menu
    Copy the full SHA
    28c538d View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2018

  1. Configuration menu
    Copy the full SHA
    7d9d06b View commit details
    Browse the repository at this point in the history