* 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
Citation and Texinfo dialogs.
Remove all the horrible #if FL_REVISION < 89 cruft from FormBase and
put it in a little wrapper class Tooltips. For now use the 0.88 code for
all versions of xforms as I can't see an easy way of changing the tooltip
on the fly with fl_set_object_helper.
To use, call setTooltipHandler for each widget, add a choice widget to
the dialog together with 4 lines of code to set/get the level of verbosity.
Finally, and two methods, getMinimalTooltip and getVerboseTooltip to return
the tooltip.
What could be easier? Please try this out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3496 a592a061-630c-0410-9148-cb99ea01b6c8
his one-line fix to updateWidgetsFromLengthString,
a tiny bug fix of my own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3480 a592a061-630c-0410-9148-cb99ea01b6c8
* InsetGraphics::updateInset will interogate lyxrc.display_graphics if
params.display == DEFAULT.
* Ensure that the "default" display is read to and written from file correctly.
Next to do: pass a GraphicsParams struct to the GraphicsCache when adding
an image rather tahn just the filename and use this to decide exactly
how to display the image. Will therefore be able to strip out the
lyxrc stuff from ImageLoader et al.
Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3476 a592a061-630c-0410-9148-cb99ea01b6c8