* lazy loading (don't try and load the image until a request to draw it
is received).
* asynchronous conversion to a loadable format.
* asynchronous loading if the image loader supports it (it doesn't).
* "simple" cropping, rotating and scaling (in that order) of the image
on the LyX screen.
* display in color, grayscale or monochrome.
We also have a forked calls dialog, although it isn't very exciting
yet because only the graphics cache makes use of the forked call controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3591 a592a061-630c-0410-9148-cb99ea01b6c8
I'm committing all the little, but uncontroversial, changes that have
built up in my tree. This will result in an almost total recompilation for
you all but will mean that things are less painfull when the other changes
go in!
* Rename files syscall.[Ch] as systemcall.[Ch].
* Rename class Systemcalls as class Systemcall as one instance of the class
represents a single child process. Remove the default constructor too.
* Add a running() method to class Timeout. Results in recompilation of almost
the entire tree because pretty well everything depends on LyXView.h which
#includes "frontends/Timeout.h", so...
* Make the Timeout instances in classes LyXView and minibuffer pointers,
allowing us to forward declare class Timeout.
* Add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to commandtags.h in anticipation
of something wonderful!
* Add a signal showForks to Dialogs.h, again anticipating some real code.
* wrap the structs firster, seconder in frontends/controllers/helper_funcs.h
in a namespace to prevent a clash with similarly named structs in
support/lyxalgo.h
As you see, lots of irritating bits and pieces which don't make much sense in
themselves but do in light of the other changes I've got here.
I'll post the big changes to the list for proper perusal.
Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3566 a592a061-630c-0410-9148-cb99ea01b6c8
this patch strips down syscall.[Ch] so it now contains only the system
call interface. This interface is very, very simple! At the same time
I've taken the opportunity to remove syscontr.[Ch] and syssingleton.C,
again because they aren't used.
The rest of the changes are due to the change of name in the
Systemcall::Starttype enum. System is now Wait, and SystemDontWait is DontWait
Paves the way for resurrecting a proper forked calls controller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3553 a592a061-630c-0410-9148-cb99ea01b6c8
Ok, Ok, I know this touches a lot of files, but the benefits are worth the
huge re-compilation now. Trust me. Would I lie to you?
Actually, this also fixes a bug in ControlInset, so you'd have had to
recompile 31 files anyway. Happy now?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3391 a592a061-630c-0410-9148-cb99ea01b6c8
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
Add a couple of isOK() calls to xforms_helpers functions and remove those
FIXMEs!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3307 a592a061-630c-0410-9148-cb99ea01b6c8
* Use it to exit gracefully if the speller cannot be launched when
spellchecking.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2801 a592a061-630c-0410-9148-cb99ea01b6c8
* Used in the citation and reference dialogs to only update the choices and
browsers when absolutely necessary.
* Renamed the widgets in the reference dialog in standard style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2797 a592a061-630c-0410-9148-cb99ea01b6c8
for the citation dialog which disconnects. Should be much more intuitive
behaviour again.
Non-inset dialogs (eg preamble): connect() on show, enabling the dialog to
act on an updateBufferDependent signal. Change buffer and the preamble
will update! (rather embarrassed that this bug crept in!)
Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2735 a592a061-630c-0410-9148-cb99ea01b6c8
set all options to "reset", close the dialog, re-open it ->
the options are set incorrectly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2687 a592a061-630c-0410-9148-cb99ea01b6c8
* Baruch's second graphics patch,
* A few things to get stuff to compile on my machine --- Lars see the ChangeLog
in controllers; how do you get things to compile without a != operator?
Surely compilation dies in ControlInset, included in ControlFloat,
ControlMinipage.
Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2389 a592a061-630c-0410-9148-cb99ea01b6c8
Kayvan's footnote patch
Added a "Buffer const *" parameter to InsetButton::getScreenLabel and all
daughter classes. Labels can now be tuned to suit, although non are yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2375 a592a061-630c-0410-9148-cb99ea01b6c8
cosmetic name changes to existing signals.
updateParagraph signal emitted from BufferView::fitCursor().
Add crude machinery to deal with it in the xforms Paragraph dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2130 a592a061-630c-0410-9148-cb99ea01b6c8
contents of the character dialog even if the dialog is hidden.
I think that the functionality of the character dialog/Font button on the
toolbar is now as it was in 1.1.6. Oh, but we now have a working button
controller that the GUI's get for free...
Keep up the bug reports!
Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2114 a592a061-630c-0410-9148-cb99ea01b6c8
IGNORE.
Also fix crash when Font button on toolbar is pressed and the Character dialog
has not yet been shown for the first time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2106 a592a061-630c-0410-9148-cb99ea01b6c8
not refreshed every time Restore,Apply,Ok,Cancel are pressed. Has the real
advantage that the GUI's can control the widgets more accurately, since the
ButtonController cannot.
Demonstrated with some small change to the Paragraph dialog: enabling the
align buttons is now dependent on the AlignPossible entry in the Layout.
Also apply a small bug fix to getVectorFromString in helper_funcs.C
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2087 a592a061-630c-0410-9148-cb99ea01b6c8
pointer problem as last time. The good news is, I think that's them all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2013 a592a061-630c-0410-9148-cb99ea01b6c8