Before this commit, in some browsers, the font-family was being set to
serif. Make use of existing CSS variables.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I50925252b2a7d01c0e445035500a7dcf1392307a
git-diff-index isn't always provided separately to the main git binary,
so we can't necessarily use that as the command. We should always be
able to use `git diff-index`, as the git binary will find files named
`git-foo` when you run command `git foo`, so this will work whether the
binary is separate or not
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: Id705855eedfd7e12c0706a9c7638e0bfb911b3fd
With *45bd9c6 merged an improved was introduced but it still didn't
fix the alignment for all cases. Example if an integrator uses a
different font stack or the user doesn't have the 1st and the 2nd
default font it would fall back to something else. These differences
in font would change how the dropdown is aligned due to line-height.
On top of that, we were not accounting for the transparent border when
aligning. Set margin-top to 4px so to offset the existent transparent
border: 4px.
*45bd9c6:
- Vertical align dropdown arrows
- 45bd9c6009
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie695fa3a4a3a7edf3ec2f15ba2565bb2079d16fa
- Added the correct bound value for updated slimmer status bar
Signed-off-by: Darshan-upadhyay1110 <darshan.upadhyay@collabora.com>
Change-Id: Ia272b3bd02710720004821f144b5408042e61d02
Set the field to the same size as the status bar labels
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5ecbac96a22797cec0beb39e0125b800439a54dc
No need to have a so tall status bar (with added padding). Instead,
make it more discreet by removing the extra padding.
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I5eafc37003ae03ce0423ef4d1248f34fee8bfbc5
Before this commit the search input field's height was resulting in a
taller height (not 22px but 22px plus anything that is added
afterwards, padding etc).
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I09e44b6589ba5ebe4986227022b33c55795939be
Also, don't show the popup for newly added sessions. Coordinates are at the origin at the time.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: Ib2cab1c2735ab734513b284e8ea84fae4549bf71
The iOS app (and presumably the Android app) do not have jails. Instead,
they read and write files directly from the user's local file system.
Also, running the iOS in trace mode is nearly unusable so move the key
"To JS" and "To Online" iOS messages to LOG_DBG and run the app with
"debug" instead of "trace" by default.
Signed-off-by: Patrick Luby <guibomacdev@gmail.com>
Change-Id: Ic8aabc09b297b15207be49c0e674e8006bcaa367
Better to opt for a more minimal icon set for the zoom controls in the
statusbar otherwise we end up remanding too much attention for what it
should be instead a secondary control set.
- Improve minus and plus svgs and use them instead of the
normal (lc_zoomout and lc_zoomin) that are used in view tab
- Create zoomreset icon to be also used only on the statusbar
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I24afe1b9e8e6098d1cb93d6d9ad246af8381609d
As event listeners are called in the order they are registered, and both
the resize listener I have moved and the one registered directly above
its new location call this._update, this._update is called *before* the
second event listener (whichever it is) gets a chance to execute. In the
old case, this causes us to request tiles for a different view level,
which at the start of the program requests tiles for a default position
and zoom level. In Android this triggers a core bug that sends us blank
tiles. These tiles are then later treated as valid for the section and
lead to a blank render.
Got all that? Good, because that confusion you feel is exactly why this
fix isn't a particularly good one! This "fix" is hacky, hard to
understand, and does it all through something I can reasonably describe
as "spooky action at a distance". The direct problem I've been working
on is fixed, but other nasty effects as well as rendering issues in core
are not. Additionally, this commit has the downside of introducing a
commit that's unfortunately challenging to understand, and possibly
quite fragile if people don't come across it before changing stuff
around here in future
Finally, I also don't know that I'm not missing something that
necessitates a different order. It's entirely possible that I have
The structure of this makes me think somewhat of a DAG - a "directed
acyclic graph" - where we have various dependencies from all over the
place and need to execute them in an order that doesn't end up munging
them... maybe that could be a nice solution to this part of the puzzle
Sadly, for now, this appears to be an improvement with far less effort
Signed-off-by: Skyler Grey <skyler.grey@collabora.com>
Change-Id: I05870f65a822a66e963407fcf461f18f5748ad1c
In the top-level README.md, fix links to
other READMEs:
* adjust the reference to the wsd one to include the
`.md` suffix as the file was renamed in commit
79b667a331
* Use the path to the actual file for the URL/target,
not just to the parent directory, as just browsing
to the containing directory when clicking on the link
text showing a specific file name is rather unexpected
Signed-off-by: Michael Weghorn <m.weghorn@posteo.de>
Change-Id: I81ceb48193bc5a7b00ceaedc6852696719fb90e6
which don't use coolmount and coolforkit, but instead use linux
mount spaces with coolforkitns instead.
That doesn't need sudo, so drop automatically calling that in
make to setcaps on coolmount + coolforkit for an easier developer
experience.
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: I6f8ddaf1053d084ec8c1f22adf830a677e80cadc
Simplify a logic too, to not check the tokens number
multiple times and generate nice error.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I613bbc63ef5d1f19acc484ba36eac887cb21e535
Adds video playback as a texture in WebGL. if there is some video
declared in the presentationInfo JSON from core and is accesible
through the public url. For such videos we create a video element
which can be then added as a texture to the WebGL and rendered on
top of the slide.
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: Ie0b003e98c566c560280e8bf2dfbcc408d7d93f7
This change adds rendering of the current slide when the image
becomes available. So rendering of the sldie is also performed
when we don't transition from one slide to the other.
To make this possible part of Transition2d code was factored
out to a new RenderContext class and the SlideRenderer is
responsible to set up the rendering...
Also change the transitions to use a class transitionParameter
instead of a bunch of mostly the same parameters used by the
transition sub-classes.
Signed-off-by: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>
Change-Id: If670baf9e6dbe273e4a68d1c9cc0c5bad7bb604d
Refactored code as typescript.
Implemented support for:
- handling of slidelayer messages according to the group they belong
to
- initial caching (store and retrieve layer info and content)
- exploiting slide and layer info for extracting the correct content
to render a slide.
- draw to a 2d canvas
- in case of solid color background, the background is drawn by the
client
Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: Idb68c58ed50ddd42f9d176241f45040ed0da0fd8
Provide support for slide information and slide layer messages.
Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I436f7e3f8eb9e89eb6050f2470f72809e6bd12b6