Code Monkey home page Code Monkey logo

mieru's People

Contributors

cyrusmsk avatar disciple961 avatar funkycode avatar m4rtink avatar tempura-san avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mieru's Issues

pinch zoom not centred

when using pinch zoom, it should be centred on the point between the two zooming fingers

mouse support

  • add support for mouse
    • wheel scrolling/paging
    • on click panning

file selector not seeing new filesystem changes

Once the file selector is first opened, It doesn't see any new files and folders. Once Mieru is restarted and file selector opened again, it sees all changes.

  • something wrong with the Qt folderlist model ?

online: search results

This issue tracks the presentation of online search results

  • implement online search
    • search multiple providers at once
  • display results
    • series name
    • status (finished/completed, ongoing, etc.)
    • number of available chapters
    • resolution/quality (JPG, PNG ?)

show installation URL Qr code

  • show a Qr code with the installation URL from inside the application
    • Nokia Store
    • Apps for MeeGo + note that the AFM client needs to be installed
  • maybe short normally readable URLs

experimental: automatic chapter translation

EXPERIMENTAL

  • detect all text & its position on page
    • bounding box ?
  • translate the text using an (online ?) translation engine
  • overlay over the old text (with an opaque background)
  • storage
    • "burn" into the image ?
    • layers (tiff, djvu)?
    • external JSON file
    • per chapter or per image ?
    • l18n file compatible with Qt Linguist and Transifex ? :D

experimental: manual chapter translation

  • select a text area/bubble
    • rectangle
    • manual selection (polyline)
    • "magic wand" ?
  • write a translation for the text area
  • storage
    • "burn" into the image ?
    • layers (tiff, djvu)?
    • external JSON file
    • per chapter or per image ?
    • l18n file compatible with Qt Linguist and Transifex ? :D

add a CLI chapter source plug-in

  • add a new chapter source plug-in with a simple CLI interaface
    • specify a command that returns a list of chapter paths/urls with some additional information
    • specify a command that gets two arguments - remote path/URL and a local path - which downloads chapter from the remote URL to the given local path
    • monitoring the size of the locally created file could be used for a progress bar
  • use-case :
    • a remote server with chapter files, communication encapsulated with SSH
    • the list command returns a list of available chapters (might be based on du ?)
    • the get command downloads the chapater files using scp or rsync
  • other use cases:
    • using HTTP in place of SSH/SCP
    • running rsync on a given folder
    • update daemon and event screen update notifications
    • rsync on a whole chapter folder structure ?

upgrade donation button

  • more donation options
    • flattr
    • bitcoin - open dialog with the (selected) bit coin address & copy button & Qr Code
  • provide feedback once pressed
    • "Opening donation page. Thanks in advance !"

add more paging options

  • on screen buttons (off by default ?)
    • should only be triggered by clicking, not dragging, long press or double-click
  • possible locations
    • corners, side middle
    • probably should be configurable
  • other possible paging options (off by default)
  • swipe gestures - might clash with kinetic scrolling
  • screen clicking/double-clicking
  • proximity sensor, shutter button
  • screen edge swipe - like in terminal or Microb
  • accelerometer based (probably won't work very well)
  • bluetooth headset buttons

"keep backlight on" support

It might be useful if Mieru could suspend screen blanking.

  • should be probably off by default (so that there is less chance users will accidentally drain their battery if they let Mieru running)
  • a timeout (separate from the system one) might be also nice

manga mode (RTL reading)

  • when in manga mode, open pages aligned with they right edge aligned with the right screen edge
    • NOTE: manga works in the same manner as Japanese books, it is read top down, right to left

chapter repackaging

Mieru basically already has most of the infrastructure needed to do this. There are basically two distinct types of repackaging:

Archive conversion
This means converting from one archive type to another. There can be multiple reasons:

  • some archive types have a better compression ratio (eq. 7zip)
  • to convert a series to use a single archive type for aesthetic reasons
    How to implement this ?
  • unpack archive - pack with new format
  • incremental - extract one file at a time and add it to the new archive -> needs less temporary space
  • optionally restore modification date ?

Chapter bundling
This repackaging method would take a range of chapters and pack them to a single big file for better handling. Naming this big chapter archive might be a bit tricky though.

save current page to file

The most important question is - from where should this option be activated ? The best place is probably the quick menu or the main menu.

Save to:

  • file
  • share
  • set as desktop wallpaper (where applicable)
    Filename:
  • image file name (if available)
  • chapter name + zero padded page number (foo_035)

continuous reading mode (endless page)

  • add a new mode where pages follow each other vertically and can be easily scrolled through
    • basically like in a classical PDF reader
  • page fitting modes need to take this reading mode to account
  • when reaching the end of a chapter, display a big "load next" button under the last page
    • same thing for the first page

QML UI: bad perfomance on large images

  • images that are large (for example: 2807x2000) look weird lag while scrolling
  • there seems to be a threshold, if this threshold is reached, QML Image performance seems to degrade badly
  • possible solutions
    • find the threshold value and resize big images to fit under it ?
    • Mangareader seems to resize all images larger than 1600x1600:
      "property int maxImageDimension: 1600 // 1600 x 1600 x 2 B = 4.9 MB"
    • clipping ?
    • image tiling ?
    • Qt Graphics view based viewport ?

sepearate Core and GUI

  • remove GUI logic:
    • main class - DONE
    • manga class - DONE
    • page class - DONE
  • GUI class - DONE
    • clutter GUI - DONE
    • plain GTK GUI
    • QML GUI - DONE

tap and hold zooming

  • tap and hold
  • after a while (500ms ?, some visual feedback might be nice) vibrate and go to the zooming mode
  • in the zooming mode, moving up zooms in and moving down zooms out
  • lifting the finger returns everything back to normal

show container size

the container should be able to return its size in bytes

  • file containers return the size in of the file
  • folder containers return the size of all usable images or folder content size or both ?

N9/950 Hartmattan support

  • port Mieru to also work on Hartmattan (N9)
  • what needs to be done:
    • get a N9 / N950 for development and testing - devkit proposal submitted
    • separate GUI logic (#7) - about done
    • write Qt GUI
    • packaging
    • release thread

add update splash screen

  • if Mieru detects a package upgrade, it should display the current change-log, if available
    • needed on platforms that don't show the package changelog after upgrade
  • buttons
    • OK
    • don't show again
  • a toggle in Options to completely disable

enable setting background color

  • it should be possible to select a background color between black and white
  • i don't really see any use for more options - maybe shades of gray ?

Mieru gets stuck if the last read file was deleted

  • if the last read file was deleted, Mieru gets stuck and won't open any new files
    • restoring the file fixes this
  • check if this applies also on folder based containers
  • what should Mieru do if it can't find the las open file ?
    • the most sensible & easiest thing is to just to show the "no pages loaded" message and stand by
  • what about history ?
    • add a "remove deleted items from history" context menu option
    • show a "file/folder not found" message when accessing an unavailable item

substring grouping

  • group files/folders that have a common substring
  • eq. "my series c 01", "my series c 02", "my series c 03" should be grouped under "my series (3)"
  • like this, a folder with different series with many chapters should be much more easier to navigate

turn pages by swiping from borders

proposed by Ivgalez on TMO

  • off by default, can be enabled from options
  • conflict with system-wide swipe gesture on Harmattan
    • disable system-wide swipe when modRana is in fullscreen (menu bar is hidden)
    • is it possible to disable only horizontal system wide swipe ?
  • how to handle swipe gestures in QML ?
  • swipe from center to border between tabs on info page
    • as in the Ovi-generated RSS readers

online: online container

  • add an online container
    • provides unified online provider API
    • individual online providers subclass this container

No feedback from 'next action' when next page is corrupted

Problem:
If you have an archive with any unloadable / corrupted pages you can't browse through them and no user feedback is given.

Example:
Pages 1-4 are good page 5 is corrupt pages 6-10 are good.
When on Page 4 clicking next keeps you on Page 4 without feedback and the only way to get to page 6 is to go menu > paging > page 6.

Either clicking 'next' or selecting page 5 manually both 'appear' to do nothing at all - I suspect they 'silently fail'.

Proposed Solution:
Give a banner alert 'Couldn't load Page N'
Advance to Page N+1 on any subsequent clicks of the Next 'button'.

mieru crashing on startup n900

After working great for a few days, had a reboot this morning opening a cbz file. Post reboot mieru failed to open.

Traceback (most recent call last): File "mieru.py", line 347, in <module> mieru = Mieru() File "mieru.py", line 76, in __init__ self.platform = maemo5.Maemo5(self) File "/opt/mieru/maemo5.py", line 24, in __init__ self.rotationObject = self._startAutorotation() File "/opt/mieru/maemo5.py", line 412, in _startAutorotation rotationMode = self.mieru.get('rotationMode', self._getDefaultRotationMode()) # get last used mode File "mieru.py", line 296, in get return self.d.get(key, default) AttributeError: 'bool' object has no attribute 'get'

Would try clearing the history and running again if I knew where to look to do this (apparently not in ~/.mieru tree)

At first thought it may be related to read-only file system after a crash, but same problem exists after resolving this.

/opt/mieru/version.txt
V1.00-5 git:9afe62b

LMK if I can provide any more information

cheers

online : series detail

  • display
    • cover
    • series name
    • status
    • last update timestamp for ongoing series
    • author (clickable ?)
    • provider
    • provider website link for series (if possible)
    • chapters
  • actions
    • add to library

previous/next page caching

  • cache the previous and next page in memory
  • load pages to the cache in background
  • possible issues:
    • larger memory usage ?
    • UI responsiveness while loading pages in the background ?

online: automatic update

  • automatically update chapters from online sources if new ones are available
    • configurable in options

GML GUI: add fitting options

  • fit to original size
  • fit to screen
  • fit to width
  • fit to height
  • where to put this option ?
    • the paging pop-up menu
    • the main options menu

open a random manga

open a random manga from local or online storage

  • options:
    • local/online only
    • open on first/random page
    • open random series on first chapter (or last read page)

mark a manga or comic book as read

  • mark some container with manga/comic book as read
  • have some operations to do with mangas/comic books marked like this
    • list read mangas
    • move to some "output" folder
    • delete to make space for new chapters

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.