Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | broadway: Fix indentation | Alexander Larsson | 2012-10-01 | 1 | -22/+22 | |
| | ||||||
* | broadway: Detect binary websockets support | Alexander Larsson | 2012-10-01 | 1 | -7/+17 | |
| | ||||||
* | broadway: Centralize cmd parsing | Alexander Larsson | 2012-10-01 | 1 | -79/+75 | |
| | | | | | This clean up things, as well as prepares for new message formats such as binary websockets. | |||||
* | broadway: Initial support fro V7+ websockets | Michael Meeks | 2011-11-10 | 1 | -6/+13 | |
| | | | | | | | | | Allows more modern browsers eg. firefox 5+ to use gtk/broadway Auto-detects protocol version, and can switch between them at as you connect a different browser. This works to some extent, but seems to hang sometimes, for instance the "button box" test in testgtk never shows up. | |||||
* | [broadway] New adwaita based css for "wm" | Lapo Calamandrei | 2011-04-19 | 1 | -1/+1 | |
| | | | | Created by Lapo Calamandrei. | |||||
* | [broadway] Remove debug spew | Alexander Larsson | 2011-04-18 | 1 | -2/+2 | |
| | ||||||
* | [broadway] Stream data over websocket | Alexander Larsson | 2011-04-18 | 1 | -15/+6 | |
| | | | | | | | | | | | The zlib compressed xmlhttprequest thing was a nice hack, but it doesn't really work in production. Its not portable, doesn't have enought API (missing notification for closed sockets) and having to synchronize between two different connections in a reliable way is a pain. So, we're going everything over the websocket. This is a pure switch, but after this we want to modify the protocol to work better over the uncompressed utf8 transport of websockets. | |||||
* | [broadway] Implement wm close in browser | Alexander Larsson | 2011-04-18 | 1 | -12/+48 | |
| | ||||||
* | [broadway] Report most special keys in keypressed | Alexander Larsson | 2011-04-18 | 1 | -7/+20 | |
| | | | | | | | | Some special key keycode values as seen in keydown actually match normal keys (like "." has a keyCode 46 on keyPress, which is the same as Delete, but 190 for KeyDown). So we must match the special keys on keypress. However, some things must be checked on keydown as they are not generating keypress events. | |||||
* | [broadway] Correctly handle ungrabs in the browser side | Alexander Larsson | 2011-04-15 | 1 | -3/+9 | |
| | | | | | Always call doUngrab to get the right event, and always do this if the grabbed window is hidden or destroyed. | |||||
* | [broadway] Handle keyboard modifiers in state | Alexander Larsson | 2011-04-14 | 1 | -3/+11 | |
| | ||||||
* | [broadway] Implement keyboard event better | Alexander Larsson | 2011-04-14 | 1 | -11/+1539 | |
| | | | | | | | We're using the noVNC keyboard even handling model (and some of the code with permissions). This means we combine data from keydown and keypress to figure out the translated keysyms according to the keyboard layout at the users machine. | |||||
* | [broadway] Cancel key events after seeing them | Alexander Larsson | 2011-04-12 | 1 | -2/+4 | |
| | ||||||
* | [broadway] Fix canvas resize when resizing browser window | Alexander Larsson | 2011-04-12 | 1 | -3/+3 | |
| | | | | We always have to resize the canvas, even when its in a toplevel. | |||||
* | [broadway] Fix typo | Alexander Larsson | 2011-04-12 | 1 | -1/+1 | |
| | ||||||
* | [broadway] Combine window move and resize into one op | Alexander Larsson | 2011-04-12 | 1 | -56/+54 | |
| | | | | | This way we avoid sending a configure event for the inbetween state if we're resizeing and moving at the same time. | |||||
* | [broadway] Fix various js warnings | Alexander Larsson | 2011-04-12 | 1 | -21/+22 | |
| | ||||||
* | [broadway] Add stacktrace debugging functions | Alexander Larsson | 2011-04-12 | 1 | -0/+56 | |
| | ||||||
* | [broadway] Always send configure events from browser | Alexander Larsson | 2011-04-12 | 1 | -10/+28 | |
| | | | | | | | | | | As soon as something changes, even if it was a request from the user we send a configure event. If not we might race with a app-side generated configure event. For instance, a create + resize might create only a configure event for the create in the browser, but that may get to the app after the app-side configure event for the resize, overriding the new size. | |||||
* | [broadway] More complete handling of transient parent | Alexander Larsson | 2011-04-12 | 1 | -7/+14 | |
| | | | | We now handle any order of transient being set and windows shown/created | |||||
* | [broadway] Use mozInnerScreenX & co to get window position | Alexander Larsson | 2011-04-12 | 1 | -14/+9 | |
| | | | | | This way we don't have to rely on any event, which won't work until we get an event. | |||||
* | [broadway] Parse x/y as signed | Alexander Larsson | 2011-04-12 | 1 | -2/+2 | |
| | ||||||
* | [broadway] Update window geometry after showing window | Alexander Larsson | 2011-04-12 | 1 | -0/+3 | |
| | ||||||
* | [broadway] Don't cache surface.transientToplevel as that might change at ↵ | Alexander Larsson | 2011-04-12 | 1 | -12/+12 | |
| | | | | various times | |||||
* | [broadway] Clean up js side surface handling | Alexander Larsson | 2011-04-11 | 1 | -48/+29 | |
| | | | | | | | * Always calculate the context, don't store in surface. * Store the toplevel element (frame or canvas) for easy access. * Always use visibility hidden rathern than display none to hide windows, as this means we can always rely on dom positioning info. | |||||
* | [broadway] Restack on window show to ensure all zIndexes are right | Alexander Larsson | 2011-04-11 | 1 | -0/+2 | |
| | ||||||
* | [broadway] Store surface, not id in stackingOrder list | Alexander Larsson | 2011-04-11 | 1 | -6/+5 | |
| | ||||||
* | [broadway] Fix up frame size calculation | Alexander Larsson | 2011-04-11 | 1 | -2/+31 | |
| | | | | | Turns out that offsetTop/Left doesn't contain the border, so we need to manually add that in. | |||||
* | [broadway] Make the toplevel mode a url parameter | Alexander Larsson | 2011-04-10 | 1 | -0/+7 | |
| | ||||||
* | [broadway] Position non-popup windows ourselves | Alexander Larsson | 2011-04-10 | 1 | -4/+15 | |
| | | | | | We ignore the initial positions for non-popup windows, instead we place the windows ourselves (or in the useToplevel mode by the WM). | |||||
* | [broadway] Fix up toplevel content visibility in useToplevel mode | Alexander Larsson | 2011-04-10 | 1 | -0/+1 | |
| | | | | | surfaces.canvas may change if we move to another document, so reupdate the element to show after ensureSurfaceInDocument. | |||||
* | [broadway] Move window to top when moving | Alexander Larsson | 2011-04-10 | 1 | -2/+44 | |
| | ||||||
* | [broadway] Add some initial work for in-window frames | Alexander Larsson | 2011-04-10 | 1 | -19/+136 | |
| | | | | | The css is based on work by Jasper St Pierre: http://magcius.mecheye.net/vista/ | |||||
* | [broadway] Fix some typos in the js code | Alexander Larsson | 2011-04-10 | 1 | -2/+2 | |
| | ||||||
* | [broadway] Enable useToplevelWindow by default for now | Alexander Larsson | 2011-04-07 | 1 | -1/+1 | |
| | ||||||
* | [broadway] Fix typo in implicit grab support | Alexander Larsson | 2011-04-07 | 1 | -1/+1 | |
| | | | | | We do an implicit grab if there is no grab already, not only if there is one. | |||||
* | [broadway] Handle screen size | Alexander Larsson | 2011-04-07 | 1 | -2/+18 | |
| | | | | Without this menu placement doesn't work right | |||||
* | [broadway] Wire up the delete event | Alexander Larsson | 2011-04-07 | 1 | -0/+13 | |
| | ||||||
* | [broadway] Report right root coors in toplevel mode | Alexander Larsson | 2011-04-07 | 1 | -19/+12 | |
| | ||||||
* | [broadway] Add configure event for browser-side geometry changes | Alexander Larsson | 2011-04-07 | 1 | -20/+113 | |
| | | | | | Atm this only works for the useToplevelWindows case, but we can add a browser wm to make use of it inside the browser too. | |||||
* | [broadway] Add experimental toplevel window mode | Alexander Larsson | 2011-04-07 | 1 | -7/+142 | |
| | | | | | | | | | This mode makes each toplevel window get its own browser window, with popup windows using the browser window of their transient parent. Its not idea, as you can't get rid of all browser chrome by default, and it means popups (like menus) can't extend outside the toplevels. But, it is kinda cool. | |||||
* | [broadway] Fixup ungrab reference to old time variable | Alexander Larsson | 2011-04-07 | 1 | -5/+1 | |
| | ||||||
* | [broadway] Break out document setup into its own function | Alexander Larsson | 2011-04-07 | 1 | -15/+20 | |
| | | | | | In the future we might have more documents (one per toplevel browser window). | |||||
* | [broadway] Remove unused grab.time on browser side | Alexander Larsson | 2011-04-07 | 1 | -6/+4 | |
| | ||||||
* | [broadway] Break out all command handling to separate functions | Alexander Larsson | 2011-04-07 | 1 | -67/+107 | |
| | | | | We don't want to mix up the argument parsing with the actual implementation. | |||||
* | [broadway] Make the surface object a plain js object, not the context | Alexander Larsson | 2011-04-07 | 1 | -17/+20 | |
| | ||||||
* | [broadway] Centralize surface creation code in js | Alexander Larsson | 2011-04-07 | 1 | -7/+6 | |
| | ||||||
* | [broadway] Track window type in browser | Alexander Larsson | 2011-04-07 | 1 | -2/+5 | |
| | ||||||
* | [broadway] Track transient_for | Alexander Larsson | 2011-04-07 | 1 | -0/+8 | |
| | ||||||
* | [broadway] Remove unused query pointer message | Alexander Larsson | 2011-04-07 | 1 | -9/+0 | |
| |