You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/ui/widget
NiLuJe 32bf53cfdf
ReaderFooter: Don't duplicate a 12h clock time format option (#6973)
* ReaderFooter:
	* Honor the global twelve_hour_clock setting, instead of
	  duplicating a local one.
	  (Re #6969)

* os.date is a thin wrapper around strftime, so we might be able to get
away with some not-quite-standard extensions...

These are *definitely* supported on Linux, but are *NOT* the glibc
extension (that'd be e.g., %-I), so, hopefully, they're somewhat
portable...

They are also supported on BSD/macOS.
They are *not* supported by the MS UCRT. That means MinGW-w64, too.
This *appears* to be supported on current Bionic (it might even support
said glibc format altering extensions).

* And of course, Windows is terrible, so, make this terribly ugly to not
break it there...

* Turns out BSD also supports the dash trim format extension, so, leave
the trimming to the libc, and handle the special-casing in a way that
doesn't create stupid locals.

* Random unrelated cleanup ^^.

(https://gitter.im/koreader/koreader?at=5fd24be492aa1c4ef5d11f31)

* Update the testsuite

(Because the default used to be 24h clock).

Changed the default to 24h clock ;p.

* Explain why we don't try to fix it in Lua
3 years ago
..
container Statistics: new Calendar view (#5854) 4 years ago
bboxwidget.lua Add support for physical button for page crop (#6091) 4 years ago
bookstatuswidget.lua ReaderStatistics: Data collection improvements (#6778) 4 years ago
button.lua Reorganize bottom menu config panels (#6131) 4 years ago
buttondialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
buttondialogtitle.lua Floor dimension computations (mul/div). (#6264) 4 years ago
buttonprogresswidget.lua Use Unicode minus in ButtonProgressWidget (#6939) 4 years ago
buttontable.lua [UX] Switch ButtonTable to COLOR_GRAY (#5585) 5 years ago
checkbutton.lua Open with: add Text Editor plugin 4 years ago
checkmark.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
closebutton.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
configdialog.lua Some RTL UI fix up after #6885 (#6975) 3 years ago
confirmbox.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
datewidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
dictquicklookup.lua ReaderDictionary: Avoid an irritating refresh when dismissing the InfoMessage (#6934) 4 years ago
doublespinwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
eventlistener.lua Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 7 years ago
filechooser.lua Bump base to bring in a few fixes & cleanups (#6753) 4 years ago
fixedtextwidget.lua TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
focusmanager.lua [feat] FocusManager: wrap around horizontally (#6315) 4 years ago
footnotewidget.lua Footnote popups: allow setting an absolute font size 4 years ago
frontlightwidget.lua pocketbook: warmth lights support (#6531) 4 years ago
horizontalgroup.lua [RTL UI] update low-level widgets to handle mirroring 5 years ago
horizontalspan.lua cleanup: expand tab to 4 spaces 10 years ago
htmlboxwidget.lua use screen for UI color control 5 years ago
iconbutton.lua Fix: Unable to hold top right corner in FileManager (#5248) 5 years ago
imageviewer.lua ImageViewer: allow saving current view as an image 4 years ago
imagewidget.lua RenderImage: add renderSVGImageFile() (#6950) 4 years ago
infomessage.lua ReaderDictionary: Avoid an irritating refresh when dismissing the InfoMessage (#6934) 4 years ago
inputdialog.lua Open with: add Text Editor plugin 4 years ago
inputtext.lua [RTL UI] use auto or LTR text direction in some specific cases 5 years ago
keyboardlayoutdialog.lua Minor util & ffi/util cleanups (#6657) 4 years ago
keyvaluepage.lua Statistics: some fixes, reordering and rewording (#6194) 4 years ago
linewidget.lua [chore] Convert a couple more todos (#5267) 5 years ago
linkbox.lua Various blitting related cleanups (#4789) 5 years ago
listview.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
logindialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
menu.lua Minor util & ffi/util cleanups (#6657) 4 years ago
multiconfirmbox.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
multiinputdialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
naturallightwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
networksetting.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
notification.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
numberpickerwidget.lua Paged documents: rework zoom options (#6885) 4 years ago
opdsbrowser.lua Fix bad authentication handling in opds browser (#6942) 4 years ago
openwithdialog.lua Open with: add Text Editor plugin 4 years ago
overlapgroup.lua Statistics: new Calendar view (#5854) 4 years ago
pathchooser.lua PathChooser: fetch 'show_hidden' setting on each use (#5923) 4 years ago
physicalkeyboard.lua Various blitting related cleanups (#4789) 5 years ago
progresswidget.lua Hide non-linear fragments 4 years ago
qrmessage.lua Qrcode support (#6844) 4 years ago
qrwidget.lua Qrcode support (#6844) 4 years ago
radiobutton.lua [fix] Prevent xtext crash by not freeing TextWidget prematurely (#5616) 5 years ago
radiobuttontable.lua Open with: add Text Editor plugin 4 years ago
rectspan.lua cleanup: expand tab to 4 spaces 10 years ago
screensaverwidget.lua A few minor fixes after #4541 (#4561) 5 years ago
screenshoter.lua Screenshot: use month number instead of name (#6062) 4 years ago
scrollhtmlwidget.lua Text/HTML widgets: allow scrolling with the scrollbar 4 years ago
scrolltextwidget.lua Text/HTML widgets: allow scrolling with the scrollbar 4 years ago
sortwidget.lua SortWidget: Fix moving of items over several positions 4 years ago
spinwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
textboxwidget.lua Fix typos 4 years ago
textviewer.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
textwidget.lua Fix typos 4 years ago
timewidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
toggleswitch.lua [RTL UI] update widgets and apps for UI mirroring 5 years ago
touchmenu.lua ReaderFooter: Don't duplicate a 12h clock time format option (#6973) 3 years ago
trapwidget.lua TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
verticalgroup.lua [RTL UI] update low-level widgets to handle mirroring 5 years ago
verticalscrollbar.lua Text/HTML widgets: allow scrolling with the scrollbar 4 years ago
verticalspan.lua cleanup: expand tab to 4 spaces 10 years ago
virtualkeyboard.lua GestureDetector: add Tap interval on keyboard setting 4 years ago
widget.lua doc: fix document build 8 years ago