|
|
Thread Tools | Search this Thread |
03-15-2016, 06:26 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kindle
|
How to delete features from Calibre and add them back[reverse engineering]
Hi , i want to delete all advanced features from Calibre source code
then be able to launch it and see something like this: [Image violates Posting Guidelines for size - MODERATOR] That is, no features - just plain basic add book. Then i want to add code and see how it connects to what. I want to learn the control flow and architecture. UPDATE: sorry , i made it to 590x590 pixels. here is the image: Last edited by erjcan; 03-15-2016 at 07:20 AM. |
03-15-2016, 06:39 AM | #2 |
Grand Sorcerer
Posts: 44,742
Karma: 55645321
Join Date: Jan 2007
Location: Peru
Device: Kindle: Oasis 3, Voyage WiFi; Kobo: Libra 2, Aura One
|
Moderator Notice
erjcan: Please take a few moments to read our Posting Guidelines, in particular the part about the maximum image size allowed (600x600 pixels). Images that violate those guidelines will be deleted. It is every member's responsibility to read our Posting Guidelines and follow them. Thanks. |
Advert | |
|
03-15-2016, 07:37 AM | #3 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
03-16-2016, 12:12 AM | #4 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kindle
|
Quote:
|
|
03-16-2016, 12:23 AM | #5 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
And if they did, what would that tell you?
... The manual does clearly state that the gui is initialized in src/calibre/gui2/main.py and src/calibre/gui2/ui.py So... go explore there. |
Advert | |
|
03-17-2016, 04:18 AM | #6 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kindle
|
Quote:
not much help found here on my topic. I hope i will contribute instead when done with this. nice video tutorial for other people. |
|
03-17-2016, 10:29 AM | #7 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
So then why don't you just ask, does anyone have suggestions for where to start?
|
03-18-2016, 12:47 AM | #8 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kindle
|
does anyone have suggestions to where to start?
|
03-18-2016, 02:03 AM | #9 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well if all you want to do is hide parts of the calibre user interface, you can do that from Preferences->Toolbars and by clicking the buttons in the lower right corner. I have no idea why you'd want to do that in code.
|
03-24-2016, 06:24 AM | #10 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: kindle
|
Quote:
hey kovid! its great to see the guru answering questions. I want to know exactly which part of python code is responsible to what. This is why i m asking. Also, my final goal is to build my own "homie" little library without all the cool features of Calibre. this is my first open source project trial. stackoverflow gives advice to work on projects, software that I enjoy using. so i decided to jump start on huge Calibre's codebase. Now i m confused as to what is what. so this is why i m asking! |
|
03-24-2016, 07:13 AM | #11 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid large codebases are not that simple, there is no "one" place where each feature is defined. Everything you see is the result of interactions of large numbers of subsystems.
|
03-24-2016, 08:19 AM | #12 |
Grand Sorcerer
Posts: 11,739
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The best way to proceed is to give yourself a task then work through the code to implement it. Some examples:
Most of us will answer specific questions about how something works or what some API does. Most of us won't answer something like "where do I change the code to do X?" Finding where something happens and what triggers it is your challenge. |
Tags |
control flow, reverse coding |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reverse Engineering Whispersync | Fmstrat | Kindle Developer's Corner | 3 | 01-02-2013 03:59 PM |
Reverse Engineering Built-In Plugins | Agama | Plugins | 6 | 01-10-2012 05:35 PM |
KDK Reverse Engineering - For Those who Cannot wait... | DairyKnight | Kindle Developer's Corner | 0 | 05-14-2010 12:29 AM |
Reverse-engineering the .IMP format | nrapallo | IMP | 23 | 02-12-2009 01:44 PM |
Introduction to Reverse Engineering Software | Colin Dunstan | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 05-25-2004 11:31 AM |