David Blue
|
c0f2470fb2
Fix the passing of the swordLibrary object to the passage class so that everything
|
vor 5 Jahren |
David Blue
|
e146f0adad
Module presence check is now done at the select command so no need to do it here.
|
vor 5 Jahren |
David Blue
|
01f28b32b8
Quality of life improvements, mostly spelling fixes in comments and strings.
|
vor 5 Jahren |
David Blue
|
71a22a7ebb
Additional work moving things into the library class. Fixes several crashes.
|
vor 5 Jahren |
David Blue
|
b8503aa861
First moves to be able to localize accepted commands!
|
vor 5 Jahren |
David Blue
|
dcd8dc0eb8
Work towards fixing crashes on missing modules. Now having crashes with references.
|
vor 5 Jahren |
David Blue
|
b878a15b93
Fix up the display during searches.
|
vor 5 Jahren |
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.
|
vor 5 Jahren |
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.
|
vor 5 Jahren |
David Blue
|
27020db5b3
Fix handling of empty command since it was being accounted for in the tokenization but not in the parsing.
|
vor 5 Jahren |
David Blue
|
f26f32a3aa
Searching works but is still hard coded. The percent thing displays now, though.
|
vor 5 Jahren |
David Judah's Shadow Blue
|
76cbfe4aa7
Move display of paged text into display class. Code reuse FTW!
|
vor 5 Jahren |
David Judah's Shadow Blue
|
cde511fe46
Search now works in a hard-coded sort of way. Also debugability
|
vor 5 Jahren |
David 'Judahs Shadow' Blue
|
5c30fe987e
More copy/paste cleanups
|
vor 5 Jahren |
David 'Judahs Shadow' Blue
|
1130afd553
Make token references this->token to make things more explicit.
|
vor 5 Jahren |
David 'Judahs Shadow' Blue
|
52df39014f
Cleanup some from the copy/paste to import searching. Builds now.
|
vor 5 Jahren |
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.
|
vor 5 Jahren |
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.
|
vor 5 Jahren |
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.
|
vor 9 Jahren |
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.
|
vor 9 Jahren |
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
|
vor 9 Jahren |
David 'Judah's Shadow' Blue
|
4b92a65e8e
Fix support for categories so you can actually list them.
|
vor 9 Jahren |
David 'Judah's Shadow' Blue
|
6537471af3
Adding code to list commentaries when we get there. Commit early, commit often.
|
vor 9 Jahren |
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.
|
vor 9 Jahren |
David 'Judah's Shadow' Blue
|
e4072bb4c4
CHange how the moduless list to make it more obvious what to do.
|
vor 9 Jahren |
David 'Judah's Shadow' Blue
|
dfe49a540b
Fix spacing for module listing. Can't believe I had set numBibles to 0 >_<
|
vor 9 Jahren |
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.
|
vor 9 Jahren |
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.
|
vor 9 Jahren |
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.
|
vor 9 Jahren |
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.
|
vor 9 Jahren |