David Blue
|
c0f2470fb2
Fix the passing of the swordLibrary object to the passage class so that everything
|
5 роки тому |
David Blue
|
e146f0adad
Module presence check is now done at the select command so no need to do it here.
|
5 роки тому |
David Blue
|
01f28b32b8
Quality of life improvements, mostly spelling fixes in comments and strings.
|
5 роки тому |
David Blue
|
71a22a7ebb
Additional work moving things into the library class. Fixes several crashes.
|
5 роки тому |
David Blue
|
b8503aa861
First moves to be able to localize accepted commands!
|
5 роки тому |
David Blue
|
dcd8dc0eb8
Work towards fixing crashes on missing modules. Now having crashes with references.
|
5 роки тому |
David Blue
|
b878a15b93
Fix up the display during searches.
|
5 роки тому |
David Blue
|
463b82aca8
I was apparently just pushing search back as the argument, if provided when parsing the search command. That is fixed now to currently just send the rest of the command as one big string blob to pass as the search terms.
|
5 роки тому |
David Blue
|
3b4672e4d9
First steps to making search non-hardcoded! Providing an argument as a search term returns too many/incorrect results, but it's getting there.
|
5 роки тому |
David Blue
|
27020db5b3
Fix handling of empty command since it was being accounted for in the tokenization but not in the parsing.
|
5 роки тому |
David Blue
|
f26f32a3aa
Searching works but is still hard coded. The percent thing displays now, though.
|
5 роки тому |
David Judah's Shadow Blue
|
76cbfe4aa7
Move display of paged text into display class. Code reuse FTW!
|
5 роки тому |
David Judah's Shadow Blue
|
cde511fe46
Search now works in a hard-coded sort of way. Also debugability
|
5 роки тому |
David 'Judahs Shadow' Blue
|
5c30fe987e
More copy/paste cleanups
|
5 роки тому |
David 'Judahs Shadow' Blue
|
1130afd553
Make token references this->token to make things more explicit.
|
5 роки тому |
David 'Judahs Shadow' Blue
|
52df39014f
Cleanup some from the copy/paste to import searching. Builds now.
|
5 роки тому |
David 'Judahs Shadow' Blue
|
ad56f22b8e
Beginnings of search and some house keeping on kdevelop files. This was written previously but not commited when my computer went down.
|
5 роки тому |
David 'Judahs Shadow' Blue
|
b6826ac851
First commit in a while. Add some more corner casing to keep from crashing if you just use the list command without any arguments.
|
5 роки тому |
David 'Judah's Shadow' Blue
|
e1ef4d9506
Per discussion on sword-devel, changing the key to be derived from inside the module so it can get the versification from the module and run Apocrypha, or handle differing versification numberings.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
5923071220
Add first handling for modules of type commentary in the list. Updated module error messages to better reflect what's going on.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
e24d5a765f
Add command parsing to handle arguments for list command, if it's not a valid module type (or not provided) then assume bibles is the type to avoid mist chief
|
9 роки тому |
David 'Judah's Shadow' Blue
|
4b92a65e8e
Fix support for categories so you can actually list them.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
6537471af3
Adding code to list commentaries when we get there. Commit early, commit often.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
e0aab4247f
Making module fetching generic on the back side. Not happy about having a bunch of else if statements, but switches don't work well with strings.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
e4072bb4c4
CHange how the moduless list to make it more obvious what to do.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
dfe49a540b
Fix spacing for module listing. Can't believe I had set numBibles to 0 >_<
|
9 роки тому |
David 'Judah's Shadow' Blue
|
07f4513777
Adding descriptions to module lists. Cut out some "middle-man" processing and just return a list so we don't have to tokenize it now.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
a4d334e412
Prevent "" from being in the list of tokens rather than having to ignore them later. They seem to occur at the front and back of the lists so this also prevents double free crashes.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
b4e2b30f2a
Move the page count into the loop unwinding the text so that the last page doesn't make you press enter to get back to the prompt.
|
9 роки тому |
David 'Judah's Shadow' Blue
|
9917eb7e53
Pages are now structs with content (the page) and linecount so the spacing works correctly for pages that don't take the whole screen.
|
9 роки тому |