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

Embedding: revenge of cargo #6175

Merged
merged 27 commits into from May 27, 2015
Merged

Commits on May 27, 2015

  1. add cef method for notifying the main loop of work available

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  2. add no_mangle to servo_test() embedding function

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  3. add new browser process interface method for main loop integration

    regular CEF requires the user to either run the cef main loop or
    poll on a function to drain events. now the engine will trigger a callback
    in some application thread which will notify it that there is work
    to be done by the browser
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  4. implement cef browser title setting callback

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  5. call compositor.window.set_page_url() on WindowEvent::LoadUrl

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  6. send ChangeUrl message from constellation on init

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  7. implement on_address_change handler for cef port

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  8. remove unused cef imports

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  9. ignore KEYEVENT_RAWKEYDOWN in cef browser events

    I'm not sure exactly what this is supposed to do and there are no docs.
    from what I've observed, nothing happens on this event
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  10. improve cef keyboard handling

    this is a rough approximation of the handling of various keycodes/syms
    within chromium. it needs work, but for my system it works okay
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  11. more accurately handle key modifiers in cef

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  12. implement cef_load_handler::on_load_start()

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  13. add CompositorMsg::LoadStart, implement cef_load_handler::on_loading_…

    …state_change()
    
    only adds the loading:true callback this time...
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  14. add navigation state data to LoadComplete messages, finish cef load s…

    …tate cbs
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  15. add back/forward/loading members to ServoCefBrowser with related brow…

    …ser methods
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  16. add error enum for chromium net errors, create window method for erro…

    …r propagation
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  17. make cef_errorcode_t a typedef for net::NetError

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  18. add embedding method for load_handler::on_load_error

    still needs error text messages I guess
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  19. force resize after sending cef_browser::on_after_created() callback

    this fixes rendering of the first frame to be at the size of the browser
    instead of the size of the initial window_info
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  20. Revert "temp re-set default url for cef while I figure out wtf is goi…

    …ng on"
    
    This reverts commit 8330eab.
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  21. handle early LoadURL messages without panicking by sending initial ur…

    …l load
    
    fixes #6126
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  22. break out cef app wakeup code into separate pub function

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  23. handle case of deleted pipeline when preparing to send load_end const…

    …ellation msg
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  24. make Opts.url an Option<> type, only emit initial url load if url exists

    this is a necessary change for embedded apps to prevent an initial about:blank
    page load from overwriting whatever the app was actually trying to load
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  25. when creating a cef browser, setup the url to load but don't load it

    cef apps will expect to enter their main loops before this happens due to
    various callbacks being hit, so it's necessary to punt this loading off until
    a later time
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  26. spawn a task for cef async browser creation to kick the main loop awake

    without this, the initial url loading message will never be sent to the
    constellation, preventing the engine from ever doing anything
    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
  27. fix glutin headless compile errors

    Mike Blumenkrantz
    Mike Blumenkrantz committed May 27, 2015
You can’t perform that action at this time.