{"head":"4019898213bdc3f111546cf80d00a4cc0e9f15b1","size":6,"push_id":46861532,"commits":[{"sha":"7e7ad1f58b636caa75466dbccbe49d84e380adb9","author":{"name":"Ben Dean-Kawamura","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@pculture.org"},"url":"https://api.github.com/repos/geoffl/miro/commits/7e7ad1f58b636caa75466dbccbe49d84e380adb9","message":"Adding back the threads_enter() / threads_leave() call\n\nThis fixes a startup problem I was seeing, but will wasn't."},{"sha":"92c39fea2d520c6fdcca9e922dd82c7a26d469db","author":{"name":"Ben Dean-Kawamura","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@pculture.org"},"url":"https://api.github.com/repos/geoffl/miro/commits/92c39fea2d520c6fdcca9e922dd82c7a26d469db","message":"Refactored pygtkhacks a bit.\n\nChanged get_gtk_widget() to get_c_gobject().  This makes it more general,\nsince it can work with any GObject.  We usually cast the result anyway so\nthere's no real difference for GtkWidgets."},{"sha":"01e02c476c3729b5d38a9fd7c6060d647434d7ce","author":{"name":"Ben Dean-Kawamura","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@pculture.org"},"url":"https://api.github.com/repos/geoffl/miro/commits/01e02c476c3729b5d38a9fd7c6060d647434d7ce","message":"Make gstreamer work better on windows.\n\nThis changeset uses gdk_window_ensure_native() to give us a native HWND to\npass to gstreamer.  Before we were passing a client-side window to gstreamer\nwhich confused it and made it take up the whole window area.\n\nEvents don't seem to be working correctly.  Both double-click and motion\nevents aren't firing on windows.\n\nI also added a pygtkhacks function to calculate where inside a native window a\nclient-side window is, but it's not used yet.  I think it will be useful for\nmaking XULRunner work again, and we may even end up using it for gstreamer as\nwell."},{"sha":"db764f6d40262e64e71b2d7e89067f15342d770d","author":{"name":"Ben Dean-Kawamura","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@pculture.org"},"url":"https://api.github.com/repos/geoffl/miro/commits/db764f6d40262e64e71b2d7e89067f15342d770d","message":"Moved gstreamer code to portable\n\nMade a miro.frontends.widgets.gst package that contains portable gstreamer\ncode.  Split up the renderer and sniffer code.\n\nMade a portable make_file_url() method, that works on both linux and windows.\nThis was almost the only difference between the gstreamer code on both\nplatforms.\n\nThe gst package still has some GTK-specific bits to it.  I plan to remove\nthese soon."},{"sha":"866cb02dab819e679e6be0d943a282926f838d8d","author":{"name":"Ben Dean-Kawamura","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@pculture.org"},"url":"https://api.github.com/repos/geoffl/miro/commits/866cb02dab819e679e6be0d943a282926f838d8d","message":"Refactored how we embed gstreamer.\n\nPut the code that handles embedding gstreamer inside 1 platform-specific\nclass.  This is in preparation of overhauling the windows version.\n\nI also tried to generally clean up the code.  We now clean up VideoWidget\nproperly, so we don't have to keep around a global singleton for it.\nSimplified the Renderer interface.  Now all the renderer care's about is a\nwindow id to pass it it's imagesink.  It doesn't need to connect to the\nexpose/destroy signals."},{"sha":"4019898213bdc3f111546cf80d00a4cc0e9f15b1","author":{"name":"Ben Dean-Kawamura","email":"73675debcd8a436be48ec22211dcf44fe0df0a64@pculture.org"},"url":"https://api.github.com/repos/geoffl/miro/commits/4019898213bdc3f111546cf80d00a4cc0e9f15b1","message":"Fixed window that embeds gstreamer on windows.\n\nStopped using GDKWindows and started just making a native window ourselves.\nAdded a C extension module that handles the Win32 functions.  Made the\nextension module somewhat re-usable.  I think we might start using it for\nXULRunner as well.\n\nThis fixes motion events, double-click events, and seems more stable to me."}],"ref":"refs/heads/windowsoverhaul","legacy":{"head":"4019898213bdc3f111546cf80d00a4cc0e9f15b1","size":6,"push_id":46861532,"shas":[["7e7ad1f58b636caa75466dbccbe49d84e380adb9","ben@pculture.org","Adding back the threads_enter() / threads_leave() call\n\nThis fixes a startup problem I was seeing, but will wasn't.","Ben Dean-Kawamura"],["92c39fea2d520c6fdcca9e922dd82c7a26d469db","ben@pculture.org","Refactored pygtkhacks a bit.\n\nChanged get_gtk_widget() to get_c_gobject().  This makes it more general,\nsince it can work with any GObject.  We usually cast the result anyway so\nthere's no real difference for GtkWidgets.","Ben Dean-Kawamura"],["01e02c476c3729b5d38a9fd7c6060d647434d7ce","ben@pculture.org","Make gstreamer work better on windows.\n\nThis changeset uses gdk_window_ensure_native() to give us a native HWND to\npass to gstreamer.  Before we were passing a client-side window to gstreamer\nwhich confused it and made it take up the whole window area.\n\nEvents don't seem to be working correctly.  Both double-click and motion\nevents aren't firing on windows.\n\nI also added a pygtkhacks function to calculate where inside a native window a\nclient-side window is, but it's not used yet.  I think it will be useful for\nmaking XULRunner work again, and we may even end up using it for gstreamer as\nwell.","Ben Dean-Kawamura"],["db764f6d40262e64e71b2d7e89067f15342d770d","ben@pculture.org","Moved gstreamer code to portable\n\nMade a miro.frontends.widgets.gst package that contains portable gstreamer\ncode.  Split up the renderer and sniffer code.\n\nMade a portable make_file_url() method, that works on both linux and windows.\nThis was almost the only difference between the gstreamer code on both\nplatforms.\n\nThe gst package still has some GTK-specific bits to it.  I plan to remove\nthese soon.","Ben Dean-Kawamura"],["866cb02dab819e679e6be0d943a282926f838d8d","ben@pculture.org","Refactored how we embed gstreamer.\n\nPut the code that handles embedding gstreamer inside 1 platform-specific\nclass.  This is in preparation of overhauling the windows version.\n\nI also tried to generally clean up the code.  We now clean up VideoWidget\nproperly, so we don't have to keep around a global singleton for it.\nSimplified the Renderer interface.  Now all the renderer care's about is a\nwindow id to pass it it's imagesink.  It doesn't need to connect to the\nexpose/destroy signals.","Ben Dean-Kawamura"],["4019898213bdc3f111546cf80d00a4cc0e9f15b1","ben@pculture.org","Fixed window that embeds gstreamer on windows.\n\nStopped using GDKWindows and started just making a native window ourselves.\nAdded a C extension module that handles the Win32 functions.  Made the\nextension module somewhat re-usable.  I think we might start using it for\nXULRunner as well.\n\nThis fixes motion events, double-click events, and seems more stable to me.","Ben Dean-Kawamura"]],"ref":"refs/heads/windowsoverhaul"}}