Age | Commit message (Collapse) | Author | Files | Lines |
|
looks like the last one according to:
grep -E "\w[ ]{2,}\w" snippets.js
Change-Id: Ice7ee3c8c82f0d9f7a3eef83dcc49d4689ef2a0f
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/166214
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Juan José González <juanjosegzl@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I8e0a9ccd45270cd10fcd10fdd1d9a6b4745f8f3d
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/162051
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
I am adding the endpoint first before the client using it, to prevent what happend with the render endpoint returning 404.
Change-Id: I118b4adacf026ef85781f9e8d91d9cfdd00719f5
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/162050
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I069863ec421e2a77a0f302318e84c9dffd794f02
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161730
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Reorganized some code, moved js to folder, and rendering code to a file to be included
Overview:
api/helpers.php: utility functions I plan to use with API endpoints
api/xhp_to_xml.php: first endpoint, receives xhpdoc xml and return formatted html inside a json response
index.html: mostly formatting and add JS code to detect "rendering mode" to call the new endpoint asynchronously. Planning to do this exclusively async in future commits
renderer.php: I moved the existing code in index.html to its own file for the purpose of encapsulate it and rewrite it more easily
Change-Id: I95d46f5256419383b6a2e3d791781f60c9d4361e
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161723
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I10f893a455b6788526bf11a6de72fde99a1e69fc
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161248
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I0ee978a36947eca46d1ddf8434554883098e15fc
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161247
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Bring some classes and settings from recent CSS in help/default.css
Change-Id: I9287c1570e4e76c9eb5bc19f248d6db3a7cb6a45
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161246
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
empty preview message.
A couple of screenshots
https://s3.us-west-1.amazonaws.com/juanjosegzl.com/images/xhpeditorempty+message.png
https://s3.us-west-1.amazonaws.com/juanjosegzl.com/images/xhpeditorrender.png
Change-Id: If0790ac728cf4f5ea8725a4c691d75b6a36fc607
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161208
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Move CSS and icons font locally
Change-Id: I4e485eb52e2b6e2ad24851eb3db87a44fbbf8a2e
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161040
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I5b0aac5382b337e470b550f451942f12330f276d
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/161163
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
Change-Id: If36ea157bdb67923cae1237d97a416b9b8b10635
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/159637
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: If4ba3fd9e7e3503b3d562c9be00c6754b618d7bb
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/144448
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
|
|
xml-lang is IMPLIED in the DTD and is not required anymore
Change-Id: I15bce30027a5d36b6d148fb84709bfdd7380a691
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/143627
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I5f15caf4fb85db5a982b8febafb324b976b4744f
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/142833
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
- codemirror to rlease 5.65
- icon replacement table
Change-Id: I67379476661bb4de514a433e59affe02cfab8801
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/129606
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
In XHP editor, clicking Characters - <menuitem> will add an additional blank space at the end of the snippet.
This is an issue while editing XHP files because when you click this option, it adds this blank space and occasionally makes XHP files have " " (two consecutive blank spaces).
Change-Id: Ib7a9b235a8476bcbfce844009e9951101c07a4c5
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/128078
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I78c81c378e26a862446befa6f6a1f46ad13bf08d
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/125012
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ie974339e17f5d81533d84e31c98ec49e2efb23f2
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/116790
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I205847fafb376663662216531769da256152101b
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/116789
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ia9d7f4be314614bcb2c580f1a8e1eaa8f2a806ec
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/105080
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I2195dba51ce026e94cda19cbb1e6ae22f3555c5e
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/96748
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I9abeaa6e92cc69602d3ed41cf7ed30af962bd6e4
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/96747
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I6bce115d3b6d041a4c08c2b79b7b17ec4dce762f
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/96742
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Convert http:// URLs to https:// when there is a 301-redirect from the
former to the latter. There is no reason to leak data here :-)
* Our own (sub-)domains: .libreoffice.org, .documentfoundation.org
* .google.com
* License headers: mozilla.org, gnu.org, apache.org
This commit also upgrades git:// URLs (whether hosted at TDF or at
FreeDesktop) to https://git.libreoffice.org . And same thing for
GitHub-hosted repos.
Change-Id: Ia129eb1448a5263153c4b7cc1d03699052540ba2
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88818
Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org>
Tested-by: Guilhem Moulin <guilhem@libreoffice.org>
|
|
Change-Id: Iffa4b084935fd5899244da40ecd07afb812d3986
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88935
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I7cab61c03d83919a4681b0f63d6b7207b97393f3
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88896
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Block stacks when display size is smaller than 800px
Change-Id: Iad66b3f1e7215c07490d01fe69eb3a4884db8f58
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88482
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ic34a555cb4332017d4ebbf42f6ad1a3387f58775
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88480
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
This is work in progress
Change-Id: I8610e810b65593c15cb5da42c470e17c6afc0532
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88479
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Move codemirror to a folder to ease maintenance/update
Change-Id: Id1ec9451cc49bd305f53406dcfff8978bd639016
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/88472
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ia3e9e8f7ab2da99a9dd812cdceda8f66f1112c9d
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87314
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I9656a051b0fbbdcfbdcf70266cce476533da2e94
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87205
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I0dbdab15d07bf0ef097c0713d2f1e8f3ade3954b
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87203
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I8247696e99da7d6398c4ec80f9cbfa3257d30da4
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87159
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
- Fix autocomplete
- add search feature
- Add closetags
- add jumptoline ...
Change-Id: I4c59dc05484ba60522235509586d2a187eeb4d37
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/87103
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I5129a1bcbf0b88c90464643a549c2813521bfc1b
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86921
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
- split CSS into editor and renderpage (DisplayArea)
- touching CodeMirror addons (WIP)
Change-Id: Ie47c30a17a7105f75a006b0b4c74bd804cc84a1c
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86916
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I45da5bda3bd2e51367cb0cd7f61610174ba0317b
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86898
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Ie1e44b9bc81aa628460a3c52dadecc11f85f372b
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86851
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
- Add css-only dropdown menu from W3C
- Add Help for XHP ref and editor commands
- Fix header divs on top to display when scrollng
- Refactor large chunks of page elemets display
Change-Id: Ie173c492a72b9f49200303d99b30544bdfc0d53e
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86636
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Allow to keep the appl and sys selectors visible when scrolling
the rendered page.
Change-Id: I5579523b73f6bd734bcae2854e788ad760abb954
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86628
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I9658ea4a0a63c96f5367bfb1bba282834c0b742b
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86351
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
- place codemirror config in proper javascript file
- refactor snippets buttons
- add codemirror niceties (WIP)
Change-Id: I6b0afd1a120026e5952823d370d5f7827b3c6fe5
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86271
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I14d87d2e348a795286bd08d36015bac38c88a9ba
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86242
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
- close bracket at right place
- improve icontable snippet
- add image paragraph
- better switch layout
- better switchinline layout
Change-Id: Ib1f57d0ba35937a5b81427d180d0c5a53769ecaa
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86228
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: Id850e1091b0c45bc57506364690f1e45e6f169b8
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86224
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Add check of duplicated id for
- paragraph,
- headings ('-6)
-and notes, tips, warning
Change-Id: I10049bda08f03cc940d1678253fbee8f80996d11
Reviewed-on: https://gerrit.libreoffice.org/c/dev-tools/+/86221
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
* changed switch selector to radio
* offload index.php of chuncks of HTML
* Implement check DTD (after stackoverflow)
* added companion snippets.php for aux functions
Change-Id: I54bd08f1316227d1b3f1e597cb9a043ca5f4e9c5
Reviewed-on: https://gerrit.libreoffice.org/85291
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|
|
Change-Id: I8051258b12d1deafce87cd3b00f68ed801830702
Reviewed-on: https://gerrit.libreoffice.org/84848
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
|