1 2004-05-04 Angus Leeming <leeming@lyx.org>
12 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
14 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
16 * text3.C (getStatus): add LFUN_BEGINNINGBUF
18 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
20 * lyxfind.C: add a couple of inTexted() tests + other small fixes
21 * BufferView_pimpl.[Ch] (getStatus)
22 * BufferView.[Ch] (getStatus): add
23 * lyxfunc.C (getStatus): move lfuns handled in
24 BufferView::dispatch to te function above
25 * Cursor.C (setSelection): set selection() = true
27 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
29 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
31 2004-03-31 Angus Leeming <leeming@lyx.org>
33 * lyxfunc.C (dispatch): Fall through to the generic
34 Dialogs::show("preamble").
36 2004-03-31 Angus Leeming <leeming@lyx.org>
38 * lyxfunc.C (dispatch): Fall through to the generic
39 Dialogs::show("spellchecker").
41 2004-03-31 Angus Leeming <leeming@lyx.org>
43 * lyxfunc.C (getStatus, dispatch): changed invocation of the
46 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
56 * undo.[Ch]: s/DocumentIterator/DocIterator/g
58 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
60 * BufferView.C (setCursor, putSelectionAt): call edit to open the
61 insets where we are putting the cursor.
63 2004-03-31 Angus Leeming <leeming@lyx.org>
66 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
68 * lyxrc.[Ch] (read, write): overloaded member functions taking
69 a std::[io]stream arguments.
71 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
73 2004-03-31 Angus Leeming <leeming@lyx.org>
75 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
76 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
78 * lyxtextclass.C (load): if the text class couldn't be loaded, then
79 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
81 2004-03-31 Angus Leeming <leeming@lyx.org>
83 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
84 the LFUN_ALL_INSETS_TOGGLE code.
86 2004-03-30 Angus Leeming <leeming@lyx.org>
88 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
89 has died. Fall through to the generic Dialogs::show("document").
91 2004-03-30 Angus Leeming <leeming@lyx.org>
94 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
95 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
97 * lyxfunc.C (getStatus, dispatch): define the actions for these
98 lfuns. Little more than a cut and pste job from ControlDocument.C
100 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
102 2004-03-30 Angus Leeming <leeming@lyx.org>
105 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
106 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
108 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
109 open/closed state of ollapsable insets. Usage:
111 all-inset-toggle <state> <name>, where
112 <state> == "open" || "closed" || "toggle" and
113 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
115 * lyxtext.h, text2.C (toggleInset): removed.
117 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
118 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
119 now passes LFUN_INSET_TOGGLE to the found inset.
121 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
122 is now invoked as "all-insets-toggle toggle branch".
124 2004-03-30 Angus Leeming <leeming@lyx.org>
128 * pariterator.[Ch]: added/corrected header blurb.
130 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
132 * dociterator.[Ch]: add an inset_ member
133 (backwardPos): implemented
134 (backwardPos, forwardPos): use inset_ when the stack is empty.
135 (doc_iterator_begin, doc_iterator_end): implemented
136 * pariterator.[Ch]: adjust, add begin, end
137 * insetiterator.[Ch]: adjust, add begin, end
141 * BufferView_pimpl.C:
142 * CutAndPaste.C: adjust
144 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
146 * buffer.C: increment file format to 232.
147 * LaTeXFeatures.C: add bibtopic package.
148 * bufferparams.[Ch]: param \use_bibtopic.
150 * lyxrc.[Ch]: add lyxrc bibtex_command
151 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
153 * buffer.C: increment file format to 231.
155 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
157 * dociterator.C: implement forwardPar
158 * iterators.[Ch]: remove, replaced by
159 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
161 * BufferView_pimpl.C:
164 * bufferview_funcs.C:
170 * Makefile.am: adjust
172 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
174 * CutAndPaste.C (pasteSelection): fix 2 crashes
175 (eraseSelection): fix a crash
176 * paragraph_funcs.C: remove a warning
178 2004-03-28 Angus Leeming <leeming@lyx.org>
181 * LyXAction.C (init): new LFUN_PRINT.
183 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
185 2004-03-27 Angus Leeming <leeming@lyx.org>
188 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
190 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
192 2004-03-27 Angus Leeming <leeming@lyx.org>
194 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
195 insetlist always contains non-null pointers to insets.
197 2004-03-26 Angus Leeming <leeming@lyx.org>
199 * src/BufferView_pimpl.C:
203 * src/output_plaintext.C:
204 * src/outputparams.h:
205 * src/paragraph_funcs.C:
209 * src/frontends/controllers/ControlErrorList.C:
210 * src/frontends/gtk/FileDialogPrivate.C:
211 * src/frontends/gtk/GPainter.C:
212 * src/frontends/gtk/GToolbar.C:
213 * src/frontends/qt2/QRef.C:
214 * src/mathed/math_scriptinset.C: squash compiler warnings.
216 2004-03-26 Angus Leeming <leeming@lyx.org>
218 * ispell.C (LaunchIspell::start):
219 * lyx_cb.C (AutoSaveBuffer::start):
220 invoke run(DontWait) rather than runNonBlocking().
222 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
224 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
226 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * kbsequence.C (print): adjust
230 * kbmap.C (printKeySym): rename and change signature
231 (printKey): use LyXKeySym::print()
233 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
235 * undo.C: add using std::advance to compile for stlport
237 2004-03-24 Angus Leeming <leeming@lyx.org>
239 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
240 it leads to a crash when no buffer is present.
242 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 Martin Vermeer <martin.vermeer@hut.fi>
245 * lyxfunc.C (dispatch):
246 * bufferparams.C (readToken): use the new LColor::setColor
248 * LColor.[Ch] (setColor): new version that takes two strings as
249 argument and creates a new color entry if necessary
251 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
253 * buffer.C (makeLaTeXFile): if the main latex file that is
254 processed is usually a subdocument of some master, then pretend
255 for a while that it is actually the master
257 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
259 * buffer.C (getLabelList):
260 (getBibkeyList): use getMasterBuffer()
261 (getMasterBuffer): new method. Returns the main document in the
262 case where one is using included documents.
264 2004-03-25 André Pönitz <poenitz@gmx.net>
268 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
270 * ParagraphList_fwd.h: change ParagraphList to a std::vector
272 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
273 text*.C over here. Rename namespace CutAndPaste to lyx::cap
275 * ParameterStruct.h: merge with ParagraphParameters
277 * lyxtext.h: remove LyXText::parOffset() and getPar()
279 * text3.C: Remove all 'manual' update calls. We do now one per user
280 interaction which is completely sufficient.
284 * BufferView_pimpl.C:
287 * ParagraphParameters.[Ch]:
299 * output_docbook.[Ch]:
301 * output_linuxdoc.[Ch]:
302 * output_plaintext.[Ch]:
304 * paragraph_funcs.[Ch]:
305 * paragraph_pimpl.[Ch]:
313 * frontends/controllers/ControlDocument.C:
314 * frontends/controllers/ControlErrorList.C:
315 * frontends/controllers/ControlSpellchecker.C:
318 * insets/insetbase.h:
319 * insets/insetbibitem.C:
321 * insets/insetbranch.C:
322 * insets/insetcaption.C:
323 * insets/insetcharstyle.C:
324 * insets/insetcharstyle.h:
325 * insets/insetcollapsable.C:
326 * insets/insetcollapsable.h:
328 * insets/insetfloat.C:
329 * insets/insetfoot.C:
330 * insets/insetmarginal.C:
331 * insets/insetnote.C:
332 * insets/insetoptarg.C:
333 * insets/insettabular.C:
334 * insets/insettext.C:
335 * insets/insettext.h:
336 * insets/insetwrap.C:
337 * mathed/math_mboxinset.C:
338 * mathed/math_nestinset.C:
339 * mathed/math_scriptinset.C:
340 * mathed/math_scriptinset.h:
343 2004-03-24 Angus Leeming <leeming@lyx.org>
345 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
346 deal with any child processes that have finished but are waiting to
347 communicate this fact to the rest of LyX.
349 2004-03-24 Angus Leeming <leeming@lyx.org>
351 64-bit compile fixes.
353 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
354 (c-tor): pass lyx::pos_types rather than ints.
356 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
359 * text.C (Delete): compile fix.
360 (getPar): ensure that function declaration is the same as that in
363 2004-03-23 Angus Leeming <leeming@lyx.org>
365 * ispell.C (LaunchIspell):
366 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
367 a boost::shred_ptr rather than a std::auto_ptr.
369 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
371 * lyxfunc.C (getStatus): handle read-only buffers correctly;
372 handle LFUN_FILE_INSERT_*
374 * lyxrc.C (setDefaults, getDescription, output, read):
375 * lyxrc.h: remove ps_command
377 2004-03-22 Angus Leeming <leeming@lyx.org>
379 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
380 Ensure that error_handler is processed once only and that all data
381 is saved before attempting to output any warning messages.
383 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
385 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
387 * tabular.C (TeXRow): crash fix (from Kayvan and André)
389 2004-03-19 André Pönitz <poenitz@gmx.net>
391 * cursor.[Ch] (reset): take main text inset as argument
394 * BufferView_pimpl.C: adjust
396 * paragraph.[Ch]: fix completely broken operator=()
398 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * LColor.C (getFromLyXName): make sure that the color name is used
403 2004-03-17 Angus Leeming <leeming@lyx.org>
406 * LyXAction.C (init): remove LFUN_FORKS_KILL.
408 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
409 dialog and to kill a forked process.
411 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
413 * text2.C (setCursorFromCoordinates): fix font problem
415 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
417 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
418 bogus "rebuild cursor" code
420 2004-03-11 André Pönitz <poenitz@gmx.net>
422 * buffer.[Ch]: use InsetText instead of LyXText as container for
425 * dociterator.[Ch]: drop the BufferView * member which is not needed
426 anymore after the change to buffer.C
432 * BufferView_pimpl.[Ch]:
434 * cursor_slice.[Ch]: adjust
436 * text3.C: fix bug in mathDispatch
438 2004-03-08 André Pönitz <poenitz@gmx.net>
440 * undo.[Ch]: use 'StableDocumentIterator' as base for
443 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
446 * bufferparams.[Ch]: add jurabib support and param.
448 * LaTeX.C: add FIXME/comment.
450 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
452 * buffer.C: increment file format to 230.
454 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
456 * cursor.C (dispatch): avoid infinite loops
458 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
460 * rowpainter.C (paintSelection): fix x coordinates
462 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
464 * text.C (rowBreakPoint): fix breaking before displayed insets
466 2004-03-01 André Pönitz <poenitz@gmx.net>
468 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
470 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
474 * BufferView_pimpl.C:
482 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
488 * BufferView_pimpl.C: rename textwidth -> maxwidth,
489 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
491 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
493 * Bidi.[Ch] (computeTables): const correctness
494 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
495 fill_hfill, fill_label_hfill and x from Row
496 * lyxtext.h: prepareToPrint returns a RowMetrics
497 * rowPainter.C: adjust
498 * text.C (prepareToPrint): use width, not textWidth. adjust
499 (redoParagraphInternal, cursorX): adjust
500 * text2.C (getColumnNearX): adjust
501 (init): put a default value to the top LyXText::width
503 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
505 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
507 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
509 * lyxtext.h: add FontIterator class
511 * text.C (FontIterator, operator*, operator->, operator++): add
512 (rowBreakPoint, setRowWidth): adjust (fixing a
515 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * BufferView_pimpl.C (workAreaDispatch): allow also
518 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
520 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
522 * text.C (rowBreakPoint): fix a bug showing with very large insets
524 2004-02-25 André Pönitz <poenitz@gmx.net>
527 * cursor.[Ch]: move some mathed specific code to mathed
529 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
531 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
532 use_tempdir in preferences
533 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
535 * lyx_main.C: ensure that tempdir is valid
536 * lyxlex.h: correct typo
537 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
538 * paragraph.[Ch] (isMultiLingual): make const
539 * cursor.[Ch] (openable): make const
541 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
543 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
545 2004-02-20 André Pönitz <poenitz@gmx.net>
547 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
549 * cursor.[Ch]: prepare for localized getStatus()
555 * text3.C: streamlines the LyXText cursor movement handlers a bit.
557 2004-02-20 André Pönitz <poenitz@gmx.net>
559 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
561 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
563 * text2.C (setCursorFromCoordinates): switch to absolute coords
566 * text3.C (dispatch): adjust
568 2004-02-16 André Pönitz <poenitz@gmx.net>
570 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
573 * cursor_slice.[Ch]: remove unneeded acessor function
575 * lyxtext.h: rename rtl() to isRTL()
583 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
585 * rowpainter.C (paintSelection): coord fix
587 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
589 * Spacing.C: compile fix
591 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
593 * cursor.C (dispatch): restore current_ before returning
595 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
597 * text2.C (cursorUp, cursorDown): fix coords
600 2004-02-12 André Pönitz <poenitz@gmx.net>
605 * text3.C: add LCursor & parameter to most cursor movement functions
606 remove usage of LyXText::cursorRow() and cursorPar()
608 * cursor.[Ch]: add textRow() needed members
611 * BufferView_pimpl.C:
614 * BufferView_pimpl.C: adjust
616 2004-02-11 André Pönitz <poenitz@gmx.net>
620 * BufferView_pimpl.C: shift undo/redo handling
622 * cursor.[Ch]: fix mathed crash
625 * lyxtext.h: move selectionAsText to LCursor
633 * rowpainter.C: fix excessive drawing
635 2004-02-06 André Pönitz <poenitz@gmx.net>
638 * BufferView_pimpl.[Ch]:
639 * text3.C: move some text specific LFUN handling
641 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
643 * text3.C (checkInsetHit): adjust coords
644 * text2.C (getColumnNearX): adjust coords
645 (edit): adjust coords
646 * text.C (getRowNearY): add two asserts
648 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
651 * format.C: add using std::distance to compile on gcc 2.95/stlport
653 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
655 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
657 2004-02-04 André Pönitz <poenitz@gmx.net>
659 * BufferView.[Ch] (insertInset):
660 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
665 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
667 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
668 on the default clause of the switch
669 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
670 wasn't catched by LCursor::dispatch
672 2004-02-03 André Pönitz <poenitz@gmx.net>
675 * cursor.[Ch]: some additional asserts
677 * undo.[Ch]: remove LyXText dependency in interface
681 * lyxtext.h (firstPar, lastPar): remove dead functions
686 * paragraph.[Ch]: adjust
688 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
690 * lyxfind.C (find): fix argument order in call to ::find
692 2004-02-02 André Pönitz <poenitz@gmx.net>
694 * cursor.[Ch]: remove direct access to anchor
696 * text.C: remove findText() hack
698 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
700 * iterators.[Ch] (lockPath): remove in favour of...
701 * BufferView.[Ch] (setCursor): this addition
702 * BufferView.C (putSelectionAt): adjust
703 * undo.C (performUndoOrRedo): adjust
704 * lyxfunc.C (dispatch): adjust
706 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
708 * iterators.C (lockPath): add a missing slice
709 * undo.C (performUndoOrRedo): remove redundant positioning code
711 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
713 * vc-backend.C (scanMaster): ";" -> ';'
715 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
717 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
720 * lyxtextclass.C (compare_name): rename to...
721 (LayoutNamesEqual): ...this
723 * lyxlex_pimpl.C (compare_tags): inherit from
724 std::binary_function, put back into anon namespace
726 * lyxfind.C (MatchString): inherig from std::binary_function
727 (findChange): use empty() istead of !size()
729 * format.C (FormatNamesEqual): new functor
736 * converter.C (compare_Converter): rename to...
737 (ConverterEqual): ...this, and fixup a bit.
738 (getConverter): use it, and make function const
739 (getNumber): use it, and make function const
743 * bufferlist.C: add using boost::bind
745 * MenuBackend.C (MenuNamesEqual): new functor
746 (hasMenu): use it, and make function const
747 (hasSubmenu): use nested bind to get rid of compare_memfun.
749 2004-01-30 André Pönitz <poenitz@gmx.net>
751 * BufferView_pimpl.C:
762 * text3.C: move some of the edit(x,y) handling to the insets
763 some coordinate changes.
765 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
767 * text.C: add using statements for std::advance and std::distance
769 * paragraph.C: add using statement for std::distance
771 * lyxfind.C: add using statement for std::advance
773 * cursor.C (region): remove std:: from swap
774 (openable): use nucleus in stead of operator->
776 * BufferView.C: add using statements for std::distance and std::swap
778 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
780 * iterators.C: Remove the pimple, move the needed structures to
781 the header file. Create accessor for the positions stack.
782 (asPosIterator): remove function
784 * PosIterator.C (PosIterator): move constructors to top of file
785 (PosIterator): reimplement the constructor taking a ParIterator in
787 (setFrom): new function
788 (operator!=): inline it
790 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
792 * lyxfind.C (replaceAll): use std::advance
794 * iterators.h: inherit from std::iterator.
796 * PosIterator.C (advance, distance): remove
797 * PosIterator.h: interit from std::iterator.
799 2004-01-26 André Pönitz <poenitz@gmx.net>
802 * BufferView_pimpl.[Ch]:
806 * bufferview_funcs.C:
817 * output_plaintext.C:
819 * paragraph_funcs.[Ch]:
820 * paragraph_pimpl.[Ch]:
826 * text3.C: more IU: dumps most of the rest of the mathcursor
827 implementation into cursor.[Ch]; "globalize" a bit of it.
829 2004-01-25 Angus Leeming <leeming@lyx.org>
831 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
833 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
835 * LaTeXFeatures.h: add nice_ and nice() const
836 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
838 2004-01-20 André Pönitz <poenitz@gmx.net>
841 * BufferView_pimpl.C:
843 * bufferview_funcs.C:
856 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
857 LCursor and mathcursor parts to LCursor and InsetBase.
859 2004-01-15 André Pönitz <poenitz@gmx.net>
861 * cursor_slice.[Ch]: add a few covienience functions
863 * funcrequest.[Ch]: remove BufferView * member
865 * BufferView_pimpl.C:
872 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
874 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
876 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
877 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
879 2004-01-13 André Pönitz <poenitz@gmx.net>
882 * lyxtext.h: hide cursor and selection anchor behind accessor function
885 * BufferView_pimpl.[Ch]:
887 * bufferview_funcs.C:
897 * cursor_slice.[Ch]: some integer type changes for inset unification
899 * lyxcursor.[hC]: remove, it's CursorSlice now.
902 * BufferView_pimpl.[Ch]:
903 * bufferview_funcs.C:
909 * textcursor.[Ch]: adjust
911 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
913 * text2.C (undoSpan): add and use
914 * text.C (breakParagraph): use undoSpan (fix bug 578)
917 2004-01-08 Angus Leeming <leeming@lyx.org>
919 * BufferView_pimpl.C (MenuInsertLyXFile):
920 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
921 * lyxfunc.C (menuNew, open, doImport):
922 FileFilterList change to the FileDialog open and save functions.
924 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
926 * ShareContainer.h: make isEqual and isUnique adaptable
928 * CutAndPaste.C: make resetOwnerAndChanges adaptable
930 2004-01-07 Angus Leeming <leeming@lyx.org>
933 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
935 * BufferView_pimpl.C (dispatch): act on these LFUNs.
937 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
938 functions replacing find, replace and replaceAll.
940 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
941 LFUN_WORDFIND(FORWARD|BACKWARD).
943 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
945 * text.C (breakParagraph): remove an outdated #warning
947 2004-01-07 André Pönitz <poenitz@gmx.net>
949 * lyxfind.C: somewhat clearer logic
951 * text.C: prevent crash in cursorX on unitialized row cache
953 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
955 * lyxcursor.[Ch] (operator>): add
956 * textcursor.C (selStart, selEnd): use std::min and std::max
958 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
960 * Chktex.C: include boost/format.hpp
962 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
964 * InsetList.C: replace functor MathcIt with adaptable functor
966 (insetIterator): modify accordingly
968 * BranchList.h: move the BranchNamesEqual functor here from...
969 * BranchList.C: ... to here
971 * BranchList.C: new BranchListEqual fuctor, use it. Remove
973 (add): replace a finding loop with std::find_if.
975 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
977 * output_docbook.C: moving LatexParam functionality into
980 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
982 * buffer.C: increment format to 229.
984 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
987 * lyx_sty.[Ch]: remove minipageindent_def
993 * text3.C: remove LFUN_INSET_MINIPAGE
995 2003-12-28 Angus Leeming <leeming@lyx.org>
997 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
999 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1001 * text2.C (setParagraph): fix off-by-one crash
1003 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1005 * output_docbook.C: header stuff for AGU
1007 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1009 * text2.C (redoCursor): remove
1012 * BufferView_pimpl.C: remove calls to redoCursor and
1013 setCursor(cursor.par(), cursor.pos()) all around
1015 2003-12-15 Angus Leeming <leeming@lyx.org>
1017 * buffer.C: up the format to 228.
1019 2003-12-15 André Pönitz <poenitz@gmx.net>
1021 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1026 * BufferView_pimpl.C:
1035 2003-12-15 Angus Leeming <leeming@lyx.org>
1037 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1038 than getFromGUIName to manipulate the color.
1040 2003-12-14 Angus Leeming <leeming@lyx.org>
1042 * BranchList.[Ch]: minimize the API.
1043 (Branch::getBranch, getColor): now return a 'const &'.
1044 (Branch::setSelected) now returns a bool set to true if the
1045 selection status changes.
1046 (BranchList::clear, size, getColor, setColor, setSelected,
1047 allBranches, allSelected, separator): removed.
1048 (BranchList::find): new functions, returning the Branch with
1050 (BranchList::add, remove): return a bool indicating that
1051 the operation was successful.
1053 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1054 new InsetBranch::isBranchSlected member function.
1056 * LColor.[Ch]: mimimize the API.
1057 (fill): renamed as addColor and made private.
1058 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1059 versions of these functions taking a string arg have been removed.
1061 * bufferparams.C (readToken):
1062 * lyxfunc.C (dispatch):
1063 * lyxrc.C (read): changes due to the altered BranchList and
1066 * factory.C (createInset, readInset): changes due to altered
1069 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1072 * lyxfunc.C: remove insetminipage. "minipage-insert"
1073 now produces a frameless minipage box inset.
1075 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1077 * textcursor.[Ch] (selStart,selEnd): add new methods
1078 remove selection::start, end, use LyXCursor::operator<
1079 * lyxcursor.[Ch] (operator<): add
1080 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1081 * BufferView.[Ch] (unsetXSel): add
1082 * text2.C (clearSelection): use unsetXSel,adjust
1085 * rowpainter.C: adjust
1086 * bufferview_funcs.C (put_selection_at): adjust
1088 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1090 * BufferView_pimpl.C: small coord. correction
1092 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1094 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1095 dragging over the splash screen.
1097 2003-12-11 Angus Leeming <leeming@lyx.org>
1099 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1100 as it is now handled in LyXText::dispatch.
1102 * text3.C (doInsertInset): remove a level of nesting.
1104 2003-12-11 Angus Leeming <leeming@lyx.org>
1106 * factory.C (createInset): changes due to the changed interface to
1107 InsetCommandMailer::string2params.
1109 2003-12-10 Angus Leeming <leeming@lyx.org>
1111 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1112 'dialog-show-new-inset <inset name>'
1114 2003-12-10 Angus Leeming <leeming@lyx.org>
1116 * buffer.C: up the format to 227.
1118 * factory.C: the box inset is now identified simply by 'Box'.
1120 2003-12-10 Angus Leeming <leeming@lyx.org>
1122 * buffer.C: up the format to 226.
1124 * factory.C: the note inset is now identified simply by 'Note'.
1126 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1128 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1129 when a pit is enough. Standarize a couple of loops.
1131 2003-12-05 Angus Leeming <leeming@lyx.org>
1133 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1134 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1135 data to the re-worked "log" dialog.
1137 2003-12-03 André Pönitz <poenitz@gmx.net>
1143 * paragraph_funcs.C:
1145 * text2.C: use Inset::getText instead of Inset::getParagraph
1147 2003-12-03 André Pönitz <poenitz@gmx.net>
1151 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1152 InsetText::read() as LyXText::read()
1154 2003-12-02 Angus Leeming <leeming@lyx.org>
1156 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1157 type. Add a comment in the implementation that the function uses
1158 the stream's bad() function rather than fail() as the std::streams
1161 2003-12-02 André Pönitz <poenitz@gmx.net>
1163 * lyxlex.[Ch]: make interface more similar to std::stream
1165 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1167 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1169 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1171 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1173 * vspace.[Ch]: remove VSpace::NONE
1175 2003-12-01 André Pönitz <poenitz@gmx.net>
1178 * lyxtext.h: move ParagraphList member to LyXText
1179 rename LyXText::ownerParagraphs to LyXText::paragraph
1182 * bufferview_funcs.C:
1192 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1194 * undo.C: fix cursor positioning
1196 2003-12-01 John Levon <levon@movementarian.org>
1198 * BufferView_pimpl.C: fix a crash on exit with
1201 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1203 * BranchList.C: fix setSelected() method.
1205 2003-11-28 André Pönitz <poenitz@gmx.net>
1207 * ParagraphParameters.[Ch]:
1208 * ParameterStruct.h: remove space above/below from Paragraph to
1211 * BufferView_pimpl.C:
1217 * paragraph_funcs.C:
1223 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1225 * factory.C: Syntax change for CharStyles
1227 2003-11-28 André Pönitz <poenitz@gmx.net>
1232 * buffer.[Ch]: move LyXText member
1234 2003-11-28 André Pönitz <poenitz@gmx.net>
1236 * BufferView.[Ch]: make LyXText * text a private member
1238 * BufferView_pimpl.C:
1249 * output_plaintext.C: cleanup
1251 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1254 * lyxtextclass.[Ch]: parametrize SGML document header
1256 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1259 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1262 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1264 * text2.C (setFont): rework using PosIterator (no more recursive)
1265 (setCharFont): no more needed
1266 (setLayout): no more selection cursors fiddling (done by redoCursor)
1267 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1268 destroy remaining ones)
1270 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1272 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1274 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1277 * text3.C: adjust + re-allow multi par depth changes
1278 * textcursor.C: simplify a bit
1280 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1286 * src/output_docbook.C:
1287 * src/output_latex.C:
1292 * src/text2.C: Introducing a number of tags parametrizing various
1293 XML formats that we may want to support
1295 2003-11-25 André Pönitz <poenitz@gmx.net>
1297 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1299 * lyxtext.h (leftMargin/rightMargin): simplify interface
1306 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1308 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1309 master file to any child files. Fixes bug 546.
1311 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1313 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1315 2003-11-24 André Pönitz <poenitz@gmx.net>
1317 * rowpainter.C: simplification
1319 * text2.C (updateCounters): remove call to redoParagraph on
1320 changed labels as this is far too expensive.
1322 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1324 * converter.C (convert): fix a crash: this function gets
1325 called with buffer == 0 from importer code.
1327 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1329 * text3.C (cursorPrevious): make sure that we do not compare
1330 iterators form different containers.
1333 * rowpainter.C (paintSelection): make sure that we do not compare
1334 iterators from different containers.
1336 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1337 iterators from different ParagraphList containers.
1340 * text2.C (LyXText): change order of initialization slightly
1341 (operator=): new function. copy all variables except cache_par_
1342 (moveUp): make sure that we do not compare iterators from
1343 different ParagraphList constainers.
1346 * text.C (firstPar): new function
1347 (lastPar): new function
1348 (endPar): new function
1350 * lyxtext.h: move things around and group public functions, public
1351 variables, private functions, private variables
1353 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1355 * factory.C: change call to InsetERT constructor to avoid
1356 additional invocation of method status
1357 * text2.C (toggleInset): remove redundant update() call
1358 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1359 instead of a Bufferview pointer
1361 2003-11-21 André Pönitz <poenitz@gmx.net>
1363 * rowpainter.C: simplification
1365 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1367 * text3.C (dispatch): make possible to extend a word/row selection
1370 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1372 * lyxtext.h: x0_,y0_ -> xo_,yo_
1373 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1374 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1375 * rowpainter.C (paintRows): paint full paragraphs
1377 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1379 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1382 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1384 * lyxtext.h: add x0_, y0_
1385 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1386 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1388 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1390 * text2.C (setCursorIntern): move the x_target update here *
1391 * text3.C: change some bv() to true/false in calls to
1392 cursorUp/Down/Right/Left
1393 * cursor.C: use helper function.
1395 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1397 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1398 * paragraph_funcs.[Ch]: correct comment
1399 * rowpainter.C: do not paint selections away from bv->cursor()
1400 Fix a long standing selection painting bug.
1401 * text3.C: generalize mouse-selection code to LyXTexts other that
1403 * textcursor.C: do not use y coords if we can use par offsets
1405 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1407 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1408 cursor position after e.g. inset insert)
1410 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1412 * lyxfind.C (replace): adjust to locking removal + some
1415 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1417 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1420 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1423 * output_docbook.C: XML sanitation: new layout
1424 parameters InnerTag and CommandDepth
1426 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1428 * BufferView_pimpl.C:
1430 * text3.C: Fix the insertion and modification of button-style
1433 2003-11-13 André Pönitz <poenitz@gmx.net>
1435 * InsetList.[Ch]: remove deleteLyXText
1437 * paragraph.[Ch]: cache beginOfBody position
1442 * text3.C: remove superfluous update() calls
1446 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1448 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1449 * BufferView.C (fitLockedInsetCursor): remove
1450 * cursor.[Ch] (getDim): add
1451 * text.C (getRowNearY): add faster version
1452 * text3.C: remove some update calls
1454 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1466 * text3.C: The Character Style /XML short element patch.
1468 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1471 * factory.C: Small step to solving 'unable to insert some insets'
1474 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1476 * cursor.[Ch] (updatePos): new function for updating the y
1477 position of the tip inset
1478 * bufferview_funcs.C (put_selection_at):
1479 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1481 2003-11-11 André Pönitz <poenitz@gmx.net>
1483 * text.C: remove big comment on invalid Paragraph pointers as it is
1486 2003-11-11 André Pönitz <poenitz@gmx.net>
1488 * text_funcs.[Ch]: merge with ...
1496 * Makefile.am: remove text_funcs.[Ch]
1498 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1500 * cursor.C (getPos): return absolute cached y coord
1502 * BufferView_pimpl.C (fitCursor): new simplistic code
1503 (workAreaDispatch): add a fitCursor call
1505 2003-11-10 André Pönitz <poenitz@gmx.net>
1508 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1510 2003-11-10 André Pönitz <poenitz@gmx.net>
1512 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1513 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1514 indicate that the cursor needs to leave an inset
1516 * lyxtext.h: remove inset locking
1518 * cursor.[Ch]: re-implement functionality provided by inset locking
1521 * BufferView_pimpl.[Ch]:
1523 * bufferview_funcs.[Ch]:
1535 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1537 * PosIterator.[Ch]: replace the stack with a vector, add inset
1539 * iterators.[C]: adjust
1541 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1543 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1545 * paragraph_funcs.C (readParToken): put the correct id in the
1546 error item, not the id of the top paragraph
1548 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1550 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1551 * bufferview_funcs.C (put_selection_at): use the above
1553 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1555 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1557 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1559 * output_linuxdoc.h:
1560 * output_plaintext.h:
1562 * output_docbook.h: add #include statements
1564 2003-11-05 José Matos <jamatos@lyx.org>
1566 * output_docbook.[Ch]:
1567 * output_latex.[Ch]:
1568 * output_linuxdoc.[Ch]:
1569 * output_plaintext.[Ch]: New files for output formats.
1570 * output.[Ch]: New file for helper functions.
1573 * paragraph_funcs.[Ch]: output functions moved to new files.
1575 * outputparams.h: rename of latexrunparams.h
1583 * paragraph_funcs.[Ch]:
1584 * paragraph_pimpl.[Ch]:
1585 * tabular.[Ch]: rename ascii to plaintext
1586 and LatexRunParams to OutputParams.
1588 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1590 * iterators.[Ch] (text): require bv argument
1591 * undo.C (recordUndo):
1592 * lyxfunc.C (dispatch):
1593 * bufferview_funcs.C (put_selection_at): adjust
1595 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1597 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1599 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1601 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1604 2003-11-04 André Pönitz <poenitz@gmx.net>
1606 * cursor.[Ch]: restructure
1609 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1611 * iterators.[Ch] (asCursor): remove
1613 * lfuns.h: remove LFUN_INSET_EDIT
1619 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1621 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1623 * lyxfind.[Ch]: complete overhaul
1624 * BufferView_pimpl.C:
1626 * paragraph.[Ch] (insert): add
1628 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1632 * text.C: remove dead spellcheck code
1634 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1636 * dispatchresult.h: add a val setter
1638 * cursor.C (dispatch): use a tempvar for data_[i]
1640 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1642 * PosIterator.[Ch]: compile fix
1644 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1646 * text.C (cursorPar): deactivate the cursor cache
1648 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1650 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1652 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * text3.C (dispatch): adjust for new DisptchResult semantics.
1656 * lyxfunc.C (dispatch): handle update when return from
1657 Cursor::dispatch, adjust for new DispatchResult semantics.
1659 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1660 DispatchResult(true) mean to not update. Add class functions for
1661 setting dispatched and update, as well as reading.
1663 * cursor.C (dispatch): don't handle update here
1665 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1668 * trans_mgr.C: adjust
1670 * paragraph_funcs.C (readParToken): exception safety
1672 * lyxvc.h: store the vcs pointer in a scoped_ptr
1675 * lyxsocket.C (serverCallback): exception safety
1677 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1679 * ispell.C (clone): make it return a auto_ptr
1681 * factory.C (createInset): exception safety
1682 (readInset): exception safety
1684 * bufferlist.C (newBuffer): exception safety
1686 * Thesaurus.C (Thesaurus): use initialization for aik_
1688 * MenuBackend.C (expandToc): exception safety.
1690 2003-11-03 André Pönitz <poenitz@gmx.net>
1694 * bufferview_funcs.C: remove getInsetFromId()
1697 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1703 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1705 * PosIterator.C (distance, advance): new
1706 * bufferview_funcs.[Ch] (put_selection_at): new
1707 * iterators.[Ch] (lockPath): new
1709 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1711 * iterators.[Ch] (asPosIterator): added
1712 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1713 * PosIterator.[Ch]: added
1715 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * cursor.C (dispatch):
1720 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1722 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1723 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1724 contructor, add a class function dispatched. Remove operator>=
1726 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1728 * debug.C: only use the default constructor for debugstream
1731 * main.C (main): include debug.h and setup the lyxerr streambuf
1734 2003-10-31 José Matos <jamatos@lyx.org>
1736 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1738 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1739 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1740 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1741 * paragraph_pimpl.C (simpleTeXSpecialC):
1742 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1743 add LatexRunParams argument.
1745 * exporter.C (Export): change call accordingly.
1747 * latexrunparams.h: add new member to take care of the other backends.
1748 2003-10-30 José Matos <jamatos@lyx.org>
1750 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1751 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1752 factorise code for paragraph output.
1754 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1757 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1759 * text3.C (dispatch):
1760 * lyxfunc.C (dispatch):
1761 * cursor.C (dispatch):
1762 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1764 * dispatchresult.h: make the dispatch_result_t ctor explicit
1766 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1769 * buffer.C: small refactoring of docbook stuff
1771 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1773 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1776 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1779 operator dispatch_result_t, and operators for == != and >=
1781 * cursor.C (dispatch): adjust for operator dispatch_result_t
1782 removal. comment out call to update
1784 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1786 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1794 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1797 * dispatchresult.h: new file, DispatchResult broken out of
1800 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1802 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1804 * text.C (rowBreakPoint): put a hack inside #if 0
1806 2003-10-28 André Pönitz <poenitz@gmx.net>
1810 * paragraph_funcs.C:
1813 * text2.C: general cleanup (lots of small stuff)
1815 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1817 * text2.C (cursorEnd): simple fix to the "end key goes to one
1818 before the end on last row" bug
1820 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1822 * text.C (backspace): fix the "zombie characters"
1824 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1826 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1828 2003-10-27 André Pönitz <poenitz@gmx.net>
1830 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1832 * factory.C: handle new InsetPagebreak, InsetLine
1834 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1835 and move handling into new InsetPagebreak, InsetLine
1837 * BufferView_pimpl.C:
1839 * ParagraphParameters.C:
1840 * ParameterStruct.h:
1845 * paragraph_funcs.C:
1846 * paragraph_pimpl.C:
1852 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1855 * lyxrow_funcs.[Ch]:
1861 * text3.C: remove lastPos uses in favour of Row::endpos
1863 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1865 * undo.C (performUndoOrRedo): fix two crashes by setting a
1866 cursor by hand and reordering some calls. Use bv->lockInset instead
1867 of inset->edit because the latter loses cursor information
1869 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1871 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1873 (rowBreakPoint): fix width. change point to point + 1.
1874 Add a missing check.
1876 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1879 * lyxfunc.C: fix (at least partly) the problems
1880 with the Nav menu and headers inside branch insets
1883 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1885 * paragraph.C (getChar): add strong asserts
1887 * lyxrow_funcs.C (lastPos): remove hideous hack
1889 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1890 (fill): adjust to that (avoid an infinite loop)
1892 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1894 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1896 2003-10-23 André Pönitz <poenitz@gmx.net>
1898 * RowList_fwd.h: change list<> to vector<> to gain speed
1899 after suggestion from Alfredo
1901 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1903 * lyxtext.h: move the bidi stuff from here...
1906 * Bidi.[Ch]: ... to here
1908 2003-10-23 André Pönitz <poenitz@gmx.net>
1911 * text.C (isLastRow, isFirstRow): new functions
1913 * paragraph.h: new width cache member
1915 * rowpainter.C: replace RowList::iterator with Row & where possible
1917 * lyxfunc.C: replace several view()->text with a single call
1919 * toc.C: fix 'unused' warning
1921 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1924 when woring with stream::pos_type
1925 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1927 2003-10-22 André Pönitz <poenitz@gmx.net>
1930 * text.C: use Row & instead of RowList::iterator
1932 * lyxrow.h: rename end() to endpos()
1938 2003-10-22 Angus Leeming <leeming@lyx.org>
1940 * buffer.[Ch] (fully_loaded): new member function, returning true
1941 only when the file has been loaded fully.
1942 Used to prevent the premature generation of previews and by the
1943 citation inset to prevent computation of the natbib-style label.
1945 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1946 templates are all set up.
1948 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1950 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1952 * text.C: fixed an "oops" in the "is a bit silly"
1955 2003-10-21 André Pönitz <poenitz@gmx.net>
1957 * FuncStatus.[Ch]: small stuff, whitespace
1959 * lyxfont.[Ch]: operator<<() for debug reasons
1963 * lyxtext.h: whitespace, spelling
1965 * paragraph.C: naming of variables
1968 * text2.C: small stuff
1971 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1973 * text.C: (1) finish off the inset display() work;
1974 (2) fix the "is a bit silly" bug (accessing char
1977 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1979 * text.C: re-introduce display() for insets, fixing the
1980 various bugs (stretch of line above, math inset
1983 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1985 * text.C (rightMargin): remove spurious semicolon
1987 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1990 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1992 * text3.C: fix one crash due to wrong cursor def
1994 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1996 * vc-backend.C (scanMaster): make the regex static
1998 * LaTeX.C (scanAuxFile): make the regexs static
2000 * text3.C (doInsertInset, dispatch, dispatch):
2001 * text2.C (cursorUp, cursorDown):
2002 * text.C (selectNextWordToSpellcheck):
2003 * BufferView_pimpl.C (dispatch):
2004 * lyxfunc.C (dispatch): localDispatch -> dispatch
2006 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * lyxsocket.C: include <cerrno>
2010 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * lyxfunc.C (dispatch): remove textcache stuff
2014 * bufferlist.C (release): remove textcache stuff
2017 * TextCache.C: delete file
2018 * TextCache.h: delete file
2020 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2022 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2023 delete of the bv_->text.
2024 (resizeCurrentBuffer): remove texcache stuff
2025 (workAreaResize): ditto
2027 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2032 2003-10-16 André Pönitz <poenitz@gmx.net>
2039 * text3.C: speed up by storing y positions per paragraph plus per-row
2040 offset instead of having a 'full' y position in the row.
2042 2003-10-15 André Pönitz <poenitz@gmx.net>
2046 * undo.[Ch]: make undo aware of inner insets
2048 2003-10-14 Angus Leeming <leeming@lyx.org>
2050 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2051 static member functions LyX::ref() and LyX::cref.
2052 (lastfiles): new accessor functions for the new lastfiles_ member var.
2053 (addLyXView, views_): add a new LyXView to the list of views_.
2054 (updateInset): loop over all LyXViews to call their own updateInset
2055 member function, returning a pointer to the Buffer owning the inset.
2057 * BufferView_pimpl.C (loadLyXFile):
2058 * MenuBackend.C (expandLastfiles):
2059 * bufferlist.C (MenuWrite, QuitLyX):
2060 lastfiles is no longer a global variable.
2061 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2063 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2064 static function. Access through LyX::cref().emergencyCleanup().
2066 2003-10-14 André Pönitz <poenitz@gmx.net>
2068 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2070 * undo.[Ch]: restoring part of 'undo in insets'
2073 * undo_funcs.[Ch]: merge with undo.[Ch]
2075 * tabular.C: small cleansing stuff
2077 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2079 * paragraph_funcs.C (readParToken): report unknown insets as error
2080 boxes. Use the outer paragraph as location (also for unknown
2083 * factory.C (readInset): do not abort on reading an unknown inset.
2084 Eat it and return 0.
2086 2003-10-13 Angus Leeming <leeming@lyx.org>
2088 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2090 * lyxrc.C: displayTranslator is now a function,
2091 declared in GraphicsTypes.h.
2093 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2095 * format.C: new placeholder $$a to pass the socket address.
2097 * bufferlist.[Ch]: new function getBufferFromTmp.
2099 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2100 files in the temporary dir.
2102 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2104 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2106 * Makefile.am: add lyxsocket.[Ch].
2108 * lyx_main.C (error_handler): handle SIGPIPE.
2110 2003-10-13 André Pönitz <poenitz@gmx.net>
2112 * BufferView_pimpl.C:
2117 * undo_funcs.[Ch]: use paroffset_type instead of
2118 ParagraphList::iterators to prevent multiple conversion
2119 (and get a more robust interface)
2121 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2123 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2125 * text3.C (dispatch): ditto
2127 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2130 move the onlyfile, use onlyfile instead of foundfile in a couple
2133 * DepTable.C (update): flush the error stream a bit more
2135 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2137 * lyxserver.C (callback): adjust
2139 * lyxfunc.C (getStatus): add a missing brace in commented code
2140 (ensureBufferClean): reindent
2141 (dispatch): delete version taking a string
2143 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2145 * LaTeX.C (deplog): move found file handlig from here...
2146 (handleFoundFile): .. to new function here.
2147 (deplog): make sure to discover several files mentioned on the
2150 2003-10-10 André Pönitz <poenitz@gmx.net>
2157 * text3.C: fix some of the tabular crashes
2159 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2161 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2163 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2165 2003-10-09 André Pönitz <poenitz@gmx.net>
2167 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2170 * BufferView_pimpl.C:
2171 * bufferview_funcs.C:
2182 * undo_funcs.C: adjust
2184 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2186 * text2.C (incrementItemDepth): new function, use a backtracking
2187 algorithm to discover the correct item depth.
2188 (resetEnumCounterIfNeeded): new function, use a backtracking
2189 algorithm to discover if counter reset is needed.
2190 (setCounter): use them. Simplify a bit. Add different labels for
2191 different item depths for itemize.
2193 * paragraph.C (Paragraph): remove initialization of enumdepth
2196 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2197 enumerate and itemize. Change the type of itemdepth to signed char.
2199 2003-10-08 André Pönitz <poenitz@gmx.net>
2201 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2206 * tabular.[Ch]: fix crash after 'row-insert'
2208 2003-10-08 Angus Leeming <leeming@lyx.org>
2210 Fix doxygen warnings.
2212 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2213 Remove CutAndPaste:: prefix from header file declaration.
2215 * LColor.h (fill): remove LColor:: prefix from declaration.
2217 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2218 use lyx::depth_type rather than Paragraph::depth_type so that
2219 header file and .C file match.
2221 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2223 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2224 * aspell.C: \file aspell_local.C -> \file aspell.C
2225 * gettext.C: \file gettext.C -> \file src/gettext.C
2226 * gettext.h: \file gettext.h -> \file src/gettext.h
2227 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2228 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2229 * text.C: \file text.C -> \file src/text.C
2231 * toc.C: move comment so that doxygen is not confused.
2233 2003-10-07 Angus Leeming <leeming@lyx.org>
2235 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2237 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2240 * aspell_local.h: add forgotten std::string's.
2242 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2249 * text3.C: The Box patch. Fancybox support, minipage, parbox
2251 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2257 * ParagraphParameters.h:
2267 * lyxtextclasslist.h:
2270 * paragraph_pimpl.C:
2271 * textcursor.h: add <string> and other small fixes to make Lars'
2272 std::string patch compile with STLport.
2274 2003-10-06 Angus Leeming <leeming@lyx.org>
2276 * LColor.h: Add missing #include <string>.
2278 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * All most all file in all subdirs: Make <string> be the prefered
2281 way of getting to std::string, add using declarations.
2283 2003-10-06 André Pönitz <poenitz@gmx.net>
2285 * metricsinfo.C: initialize LyXFont before changing attribute.
2286 (fixes the 'math in \emph is upright' bug)
2288 2003-10-06 André Pönitz <poenitz@gmx.net>
2290 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2292 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2295 * paragraph_pimpl.C: Small fixes to build using STLport
2297 2003-10-02 André Pönitz <poenitz@gmx.net>
2300 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2302 2003-10-01 André Pönitz <poenitz@gmx.net>
2304 * factory.C: assert early
2306 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * lyx_main.C: remove the global debug object
2310 * debug.h: adjust for new debugstream
2312 * debug.C: adjust for new debugstream and keep the global debug
2315 2003-09-22 Angus Leeming <leeming@lyx.org>
2317 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2318 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2319 an incomplete class LyXFont.
2321 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2323 * factory.C: bug fix in branches
2325 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2327 * lyxfunc.C (processKeySym): adjust
2329 (dispatch): change arg name from ev to func, adjust
2330 (sendDispatchMessage): ditto
2332 * lyx_main.C (defaultKeyBindings): adjust keybindings
2333 (deadKeyBindings): ditto
2335 * kbsequence.C (addkey): return a FuncRequest
2337 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2339 * kbmap.C (bind): take a FuncRequest as arg, adjust
2342 (defkey): change to take a FuncRequest as arg, adjust
2343 (findbinding): take a FuncRequest as arg, adjust.
2345 * funcrequest.h (operator=): added
2347 * funcrequest.C (FuncRequest): default kb_action changed from
2348 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2350 * buffer.C (dispatch): simplify
2351 (dispatch): adjust to take a FuncRequest as arg, adjust
2353 * boost.C (assertion_failed): change assertion message slightly
2355 * ToolbarBackend.C (read): simplify
2357 * MenuBackend.C (binding): adjust call to findbinding, add a
2358 message if no binding is found.
2360 (expandToc): correct by adding a empty FuncRequest
2362 * LyXAction.C: include <boost/assert.hpp>
2363 (isPseudoAction): delete function
2364 (LookupFunc): change name to...
2365 (lookupFunc): this. change return type to FuncRequest.
2366 (getActionName): take kb_action as arg, simplify
2367 (funcHasFlag): add an assert, simplify.
2369 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * toc.C (action): return a FuncRequest, simplify
2373 * lyxfunc.C (processKeySym): adjust
2374 (getStatus): delete version that takes an int.
2376 (dispatch): delete version that takes action as int
2378 (sendDispatchMessage): simplify and adjust
2380 * funcrequest.C (getArg): take unsigned int as arg
2382 * ToolbarBackend.C (read): adjust
2383 (add): delete version that takes func as a string.
2384 (getIton): take a FuncRequest as arg
2386 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2389 * MenuBackend.C (MenuItem): add a new construct that only takes a
2390 Kind, simplify the constructor use for submenus.
2392 (expandLastfiles): adjust
2393 (expandDocuments): adjust
2394 (expandFormats): adjust
2395 (expandFloatListInsert): adjust
2396 (expandFloatInsert): adjust
2397 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2399 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2400 Remove class variables lyx_pseudo_map and lyx_arg_map
2402 * LyXAction.C (searchActionArg): delete function
2403 (getPseudoAction): delete function
2404 (retrieveActionArg): delete function
2405 (LookupFunc): make it return kb_action, simplify.
2406 (getActionName): simplify
2408 * factory.C (createInset): fix new bug
2410 2003-09-19 Angus Leeming <leeming@lyx.org>
2412 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2413 masterFilename_ parameter in the include inset.
2415 * factory.C (createInset): changes due to the changes to InsetInclude.
2417 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2419 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2421 2003-09-18 Angus Leeming <leeming@lyx.org>
2424 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2425 Inset::fillWithBibKeys.
2426 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2428 2003-09-18 Angus Leeming <leeming@lyx.org>
2430 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2432 (ctor): pass and store a 'Buffer const &'
2433 (buffer): new member function.
2435 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2436 '*this' to the LaTeXFeatures ctor.
2438 2003-09-18 Angus Leeming <leeming@lyx.org>
2444 * text.C: rename EnumLColor as LColor_color.
2446 2003-09-18 Angus Leeming <leeming@lyx.org>
2448 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2449 remove #include "insets/insetbase.h" from cursor.h.
2451 2003-09-18 Angus Leeming <leeming@lyx.org>
2453 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2454 InsetOld_code to remove #include "inset.h".
2456 * iterators.C: add #include "insets/inset.h"
2458 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2460 * BufferView.C: remove more locking stuff that apparently doesn't
2461 do anything sensible.
2463 2003-09-16 André Pönitz <poenitz@gmx.net>
2466 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2469 2003-09-16 Angus Leeming <leeming@lyx.org>
2471 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2473 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2476 * paragraph.h: remove #include "lyxfont.h". Forward declare
2479 2003-09-16 Angus Leeming <leeming@lyx.org>
2481 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2482 of support/textutils.h.
2483 (isWord): move the contents of support/textutils.h's IsWordChar here.
2489 * text2.C: add #include "paragraph.h".
2492 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2494 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * LaTeX.C: use namespace alias for lyx::support::os
2502 2003-09-16 Angus Leeming <leeming@lyx.org>
2505 * bufferview_funcs.C:
2508 * paragraph_pimpl.C:
2510 * text.C: add #include "LColor.h".
2512 2003-09-16 Angus Leeming <leeming@lyx.org>
2514 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2515 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2517 Store the FontBits::color variable as an int rather than as an
2518 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2521 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2522 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2523 string calls together.
2525 * lyxrc.C: add #include "LColor.h".
2527 2003-09-15 Angus Leeming <leeming@lyx.org>
2529 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2532 2003-09-15 Angus Leeming <leeming@lyx.org>
2534 * LColor.h: add an EnumLColor wrapper for LColor::color.
2536 * lyxfont.[Ch] (color, setColor, realColor):
2537 * lyxtext.h, text.C (backgroundColor):
2538 pass EnumLColor args to/from the functions, rather than LColor::color
2542 * lyxtext.h: forward declare EnumLColor.
2544 * lyx_main.C: add #include "LColor.h".
2546 2003-09-15 Angus Leeming <leeming@lyx.org>
2548 * .cvsignore: add lyx-gtk.
2550 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * ParagraphParameters.C
2559 * bufferview_funcs.C
2569 * vc-backend.C: remove usage of STRCONV
2571 2003-09-15 Angus Leeming <leeming@lyx.org>
2573 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2574 explicitly define the color passed to the painter.
2576 2003-09-15 Angus Leeming <leeming@lyx.org>
2578 * bufferparams.C (BufferParams): reorder member initializers to avoid
2581 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2583 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2584 * text.C (updateRowPositions): remove an unusual nop
2586 2003-09-12 André Pönitz <poenitz@gmx.net>
2588 * BufferView_pimpl.C:
2597 * Counters.[Ch]: finish the 'automatic counters' job
2599 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2601 * aspell.C: include <boost/assert.cpp> (compile fix)
2603 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2605 * boost.C (assertion_failed): use lyx::support::abort instead of
2608 2003-09-10 Angus Leeming <leeming@lyx.org>
2610 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2611 with their _fwd progeny.
2613 2003-09-09 Angus Leeming <leeming@lyx.org>
2615 134 files throughtout the source tree: replace 'using namespace abc;'
2616 directives with the appropriate 'using abc::xyz;' declarations.
2618 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2620 * boost.C (emergencyCleanup): moved here from LAssert.c
2621 (assertion_failed): new function, called by BOOST_ASSERT
2623 * several files: change Assert to BOOST_ASSERT
2625 2003-09-09 Angus Leeming <leeming@lyx.org>
2627 * buffer.[Ch]: Add an Impl class and move Buffer's member
2628 variables into it. As a result move several header files out of
2631 Add header files to lots of .C files all over the tree as a result.
2633 2003-09-09 Angus Leeming <leeming@lyx.org>
2635 * buffer.[Ch]: make Buffer's member variables private. Add
2638 Lots of changes all over the tree as a result.
2640 2003-09-08 Angus Leeming <leeming@lyx.org>
2642 * graph.C: #include <config.h>.
2644 2003-09-08 Angus Leeming <leeming@lyx.org>
2648 * BufferView_pimpl.C:
2677 * toc.C: remove redundant using directives.
2679 2003-09-07 Angus Leeming <leeming@lyx.org>
2681 * LaTeXFeatures.h: remove #include "support/types.h".
2682 * ToolbarBackend.h: remove #include <algorithm>.
2683 * changes.h: remove #include <ctime>.
2684 * debug.h: remove #include <iosfwd>.
2685 * graph.h: remove #include "support/std_string.h".
2686 * lyx_main.h: remove #include <csignal>.
2687 * lyxlex_pimpl.h: remove #include <fstream>.
2688 * sgml.h: remove #include <algorithm>, <utility>.
2689 * toc.h: remove #include "support/std_ostream.h".
2690 Add #include <iosfwd>.
2692 2003-09-07 Angus Leeming <leeming@lyx.org>
2694 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2696 * converter.h: forward declare LatexRunParams.
2697 * encoding.h: remove #include "lyxrc.h".
2698 * lyxtext.h: remove #include "LColor.h".
2699 * lyxtextclass.h: remove #include "support/types.h".
2700 * trans.h: remove #include "tex-accent.h".
2701 * trans_mgr.h: remove #include "tex-accent.h".
2702 * insets/inset.h: remove #include "support/types.h", <vector>.
2703 * insets/insetcollapsable.h: remove #include "LColor.h".
2704 * insets/insetinclude.h: remove #include "dimension.h".
2705 * insets/insetlatexaccent.h: remove #include "dimension.h".
2706 * insets/insetoptarg.h:: remove #include "insettext.h".
2707 * insets/insettext.h: remove #include "dimension.h",
2708 <boost/shared_ptr.hpp>
2710 * insets/renderers.h: add #include "dimension.h".
2711 * insets/updatableinset.h: add #include "support/types.h".
2713 * many .C files: Associated changes.
2715 2003-09-06 Angus Leeming <leeming@lyx.org>
2717 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2718 one, inside testInvariant.
2720 * PrinterParams.C: new file.
2721 * PrinterParams.[Ch]: move the function bodies out of line.
2723 2003-09-06 Angus Leeming <leeming@lyx.org>
2725 * ParagraphParameters.h: forward declare ParameterStruct rather than
2726 including its header file.
2727 (depth): moved out-of-line.
2729 2003-09-06 Angus Leeming <leeming@lyx.org>
2731 * BufferView_pimpl.h:
2734 * lyxfunc.h: forward declare LyXKeySym rather than
2735 #include "frontends/LyXKeySym.h".
2737 * BufferView_pimpl.C:
2740 * lyxfunc.C: associated changes.
2742 2003-09-06 Angus Leeming <leeming@lyx.org>
2744 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2745 As a result, can remove the #include "insets/inset.h" from BufferView.h
2747 2003-09-06 Angus Leeming <leeming@lyx.org>
2749 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2750 As a result, can remove the #include "insets/inset.h" from BufferView.h
2752 2003-09-06 Angus Leeming <leeming@lyx.org>
2758 * bufferview_funcs.C:
2759 * BufferView_pimpl.C:
2764 * ParagraphParameters.C:
2769 * frontends/controllers/ControlDocument.C:
2770 * insets/insetcaption.C: rearrange the #includes into some sort of
2773 * buffer.h: remove #includes ErrorList.h, undo.h
2775 2003-09-06 Angus Leeming <leeming@lyx.org>
2777 * support/types.h: add a 'depth_type' typedef, used to store the
2778 nesting depth of a paragraph.
2781 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2782 defining explicitly.
2785 * paragraph_funcs.h:
2786 * ParagraphParameters.h:
2787 * sgml.h: use lyx::depth_type rather than Paragraph or
2788 ParameterStruct's depth_type.
2791 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2794 * BufferView_pimpl.C:
2796 * ParagraphParameters.C:
2799 * bufferview_funcs.C:
2806 * frontends/LyXView.C:
2807 * frontends/controllers/ControlDocument.C:
2808 * frontends/controllers/ControlErrorList.C:
2809 * insets/insetbibitem.C:
2810 * insets/insetbranch.C:
2811 * insets/insetcaption.C:
2812 * insets/insetcollapsable.C:
2813 * insets/insetenv.C:
2814 * insets/insetert.C:
2815 * insets/insetfloat.C:
2816 * insets/insetfoot.C:
2817 * insets/insetfootlike.C:
2818 * insets/insetnewline.C:
2819 * insets/insetquotes.C:
2820 * insets/insettabular.C:
2821 * insets/insettext.C:
2822 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2824 * frontends/controllers/ControlChanges.C: #include "changes.h".
2826 2003-09-06 Angus Leeming <leeming@lyx.org>
2828 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2829 than #including paragraph.h.
2832 * RowList.h: deleted. Superfluous.
2842 * insets/insettext.h: use ParagraphList_fwd.h rather than
2845 * paragraph.h: don't forward declare ParagraphList.
2848 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2849 rather than ParagraphList.h. paragraph.h is still needed for the
2850 Paragraph::depth_type parameters.
2852 * textcursor.h: enable it to compile stand-alone in light of the
2855 * bufferview_funcs.C:
2867 * frontends/controllers/ControlParagraph.C:
2868 * frontends/controllers/ControlTabular.C:
2869 * insets/insetmarginal.C:
2870 * insets/insetminipage.C:
2871 * insets/insetnote.C:
2872 * insets/insetoptarg.C: add header files needed to compile again.
2874 2003-09-06 Angus Leeming <leeming@lyx.org>
2876 * RowList_fwd.h: new file, forward-declaring Row rather than
2877 #including lyxrow.h.
2882 * insets/insettext.h: use it instead of RowList.h
2884 * bufferview_funcs.C:
2891 * text3.C: #include "RowList.h".
2893 2003-09-05 Angus Leeming <leeming@lyx.org>
2895 * factory.C (createInset):
2896 * vspace.C (c-tor): replace sscanf call with an istringstream.
2897 * ispell.C: re-add missing HP/UX headers.
2898 * lyxserver.C: re-add missing os2 headers.
2900 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2909 * text3.C: re-add missing system headers, needed for 2.95.2.
2911 2003-09-05 Angus Leeming <leeming@lyx.org>
2913 Changes most place everywhere due to the removal of using directives
2914 from support/std_sstream.h.
2916 2003-09-05 Angus Leeming <leeming@lyx.org>
2918 Replace LString.h with support/std_string.h,
2919 Lsstream.h with support/std_sstream.h,
2920 support/LIstream.h with support/std_istream.h,
2921 support/LOstream.h with support/std_ostream.h.
2923 Changes resulting throughout the tree.
2925 2003-09-05 Angus Leeming <leeming@lyx.org>
2927 * sgml.h: ensure that the header file can be compiled stand-alone.
2928 * *.C: strip out redundant #includes. (320 in total.)
2930 2003-09-04 Angus Leeming <leeming@lyx.org>
2932 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2933 here (from getPackages).
2935 * debug.[Ch]: add a new EXTERNAL tag.
2937 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2939 * text2.C (cursorEnd): simplify
2941 (getColumnNearX): adjust
2943 * text.C (computeBidiTables): adjust
2946 * rowpainter.C (paintChars): adjust
2947 (paintSelection): adjust
2948 (paintChangeBar): adjust
2951 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2953 (numberOfSeparators): adjust
2955 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2961 * text3.C: Restricts the mouse click functionality
2962 of insets like bibtex, include, toc and floatlist to the visible
2963 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2964 up the dialogs. Cursor has to be in front of the inset (i.e.
2965 start of row) for this to function.
2967 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2969 * bufferview_funcs.C (currentState): output row information
2971 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2973 * bufferview_funcs.C (currentState): output paragraph position
2975 2003-09-04 Angus Leeming <leeming@lyx.org>
2977 * FloatList.h: move out #include "Floating.h".
2978 * LaTeX.h: move out #include "DepTable.h".
2979 * LyXAction.h: move out #include "funcrequest.h".
2980 * buffer.h: move out #include "author.h", "iterators.h".
2981 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2982 * lyx_main.h: move out #include "errorlist.h".
2983 * lyxfunc.h: move out #include "FuncStatus.h".
2984 * lyxtext: move out #include "lyxcursor.h".
2985 * paragraph_pimpl.h: move out #include "counters.h".
2987 2003-09-03 Angus Leeming <leeming@lyx.org>
2989 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2990 preamble_snippets list, enabling us to add snippets to the preamble
2991 only if the snippet was not there already.
2993 2003-09-04 Angus Leeming <leeming@lyx.org>
2995 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2997 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3002 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3004 * BranchList.C: point fix, earlier forgotten
3006 2003-09-02 Angus Leeming <leeming@lyx.org>
3008 * box.C (contains): renamed from 'contained' after a fantastic
3011 2003-09-02 John Levon <levon@movementarian.org>
3017 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3019 2003-09-02 John Levon <levon@movementarian.org>
3021 * text2.C: simplification of cursorEnd(), including partial
3024 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * buffer.C (readFile): add a space
3028 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3030 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3032 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * buffer.C (readFile): new function, take a filename and a
3035 ParagraphList::iterator
3037 (readFile): adjust, make it private. don't use setStream, make
3038 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3039 always contain the filename.
3041 * BufferView.C (insertLyXFile): simplify and make it work for
3044 2003-08-30 John Levon <levon@movementarian.org>
3046 * Makefile.am: fix dist (from Kayvan)
3048 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3050 * most files: change to use const Buffer refs
3052 2003-08-27 André Pönitz <poenitz@gmx.net>
3054 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3055 on top of ownerPar().
3057 2003-08-27 John Levon <levon@movementarian.org>
3059 * funcrequest.C: properly initialise POD members
3061 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3063 * lyxtext.h (top_y): move top_y from here
3068 * BufferView_pimpl.[Ch]: to here
3069 * frontends/screen.C:
3070 * insets/insettabular.C:
3071 * insets/insettext.C: adjust
3072 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3074 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3077 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3079 2003-08-26 André Pönitz <poenitz@gmx.net>
3081 * paragraph_func.[Ch] (outerPar): new function
3084 * paragraph_funcs.C:
3085 * paragraph_funcs.h:
3086 * paragraph_pimpl.C:
3087 * text2.C: remove Inset::par_owner
3089 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3094 * text2.C: eliminates the needFullRow/display() stuff
3095 altogether, putting the logic in metrics/draw in the insets.
3097 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3099 * text2.C (redoParagraphInternal, redoParagraphs):
3100 * text.C (redoParagraph): add a call to updateRowPositions at the
3101 end of each 'metrics-like' call. Remove all others.
3102 (getRow): remove the 'y-computing' version.
3103 (getRowNearY): do not compute nor return the real y. Solve the
3104 'y < 0' problem and simplify.
3106 2003-08-22 Angus Leeming <leeming@lyx.org>
3108 * *.[Ch]: clean-up of licence and author blurbs.
3109 Also move config.h out of a few .h files and into a few .C files.
3111 2003-08-22 André Pönitz <poenitz@gmx.net>
3113 * lyxrow.[Ch]: add x_ and *fill_ members
3118 * text2.C: adjust/remove prepareToPrint() calls
3120 2003-08-22 André Pönitz <poenitz@gmx.net>
3122 * lyxrow.[Ch]: add end_ member
3124 * lyxrow_funcs.C: use LyXRow::end_
3126 * lyxtext.h (singleWidth): add LyXFont parameter
3129 * text2.C: adjust LyXText::singleWidth() calls
3131 * text.C (redoParagraph): simplify row breaking logic
3134 2003-08-19 André Pönitz <poenitz@gmx.net>
3136 * funcrequest.C: initialize button_ member
3139 * rowpainter.[Ch]: interface consolidation
3141 2003-08-18 André Pönitz <poenitz@gmx.net>
3144 * BufferView_pimpl.C:
3146 * paragraph_funcs.C:
3148 * text3.C: remove LyXScreen::draw() and fitCursor calls
3150 * BranchList.h: remove spurious semicolons
3152 * MenuBackend.C: fix branchlist related crash
3154 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3162 * bufferparams.[Ch]:
3166 * text3.C: implements the 'branch inset'
3167 idea. This allows the output of various versions of a document
3168 from a single source version, selectively outputing or suppressing
3169 output of parts of the text.
3170 This implementation contains a 'branch list editor' in a separate
3171 tab of the document settings dialog. Branches are user definable
3172 and have a "display colour" to distinguish them on-screen.
3174 ColorHandler was somewhat cleaned up.
3175 (1) make possible a dynamically growing LColor list by allowing
3176 the graphic context cache to grow along (vector);
3177 (2) eliminate an IMHO unnecessary step in colour allocation.
3179 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3181 * BufferView_pimpl.C: compile fix
3183 2003-08-15 André Pönitz <poenitz@gmx.net>
3185 * rowpainter.C: remove extra metrics calls
3187 * lyxtext.h: merge the two constructors into a single one,
3188 pass reference to owner's par list
3190 * BufferView_pimpl.C:
3194 2003-08-15 André Pönitz <poenitz@gmx.net>
3196 * lyxrow_funcs.[Ch]:
3199 * paragraph_funcs.C:
3204 * text_funcs.C: split LyXText::rowlist_ into individual
3205 Paragraph::rows_ chunks
3208 * BufferView_pimpl.[Ch]:
3211 * text3.C: remove toggleSelection()
3213 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3215 * bufferlist.C: beautify two alerts (shorter text of buttons)
3216 * buffer.C: Remove redundant ' ' from message
3218 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3219 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3220 rename VALIGN_CENTER to VALIGN_MIDDLE
3222 2003-08-11 André Pönitz <poenitz@gmx.net>
3224 * lyxtext.h (getPar):
3225 * text.C: new function
3227 2003-08-11 André Pönitz <poenitz@gmx.net>
3230 * tracer.[Ch]: remove unneeded files
3232 * InsetList.[Ch]: remove resizeInsetsLyXText()
3237 * text3.C: merge insertParagraphs() and appendParagraph()
3238 remove breakAgain(), update()
3240 * BufferView_pimpl.[Ch]:
3241 * bufferview_funcs.[Ch]:
3245 * tabular.C: adjust after text & InsetList changes.
3247 2003-08-08 André Pönitz <poenitz@gmx.net>
3249 * text.C (insertChar, backspace): replace rowlist fiddling
3250 with rebreak of full par
3253 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3254 checkParagraph, updateInset): removed
3256 2003-08-07 André Pönitz <poenitz@gmx.net>
3259 * text3.C: merge some LFUN handlers, remove dead code
3261 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3263 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3265 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3267 * text2.C (DEPM): fix part of bug 1255 and 1256
3269 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3271 * BufferView_pimpl.C (workAreaDispatch): change to use
3272 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3273 that are no mouse related.
3275 2003-08-05 André Pönitz <poenitz@gmx.net>
3278 * BufferView_pimpl.[Ch]:
3279 * bufferview_funcs.C:
3281 * text3.C: rip out "deep update"
3283 * textcursor.[Ch] (last_sel_cursor): remove unused member
3285 2003-08-04 André Pönitz <poenitz@gmx.net>
3288 * BufferView_pimpl.[Ch]:
3289 * ParagraphParameters.C:
3290 * bufferview_funcs.C:
3296 * text3.C: replace "complicated" BufferView::update(...) calls with
3299 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3301 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3303 * Makefile.am (lyx_SOURCES): add paper.h
3305 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3307 * Makefile.am: move things around so that both lyx-qt and
3308 lyx-xforms can be built (according to --with-frontend). Then lyx
3309 is a symbolic link to lyx-[firstfrontend]
3311 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3313 * Always use std::endl with lyxerr
3315 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3317 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3319 2003-08-01 André Pönitz <poenitz@gmx.net>
3322 * BufferView_pimpl.[Ch]:
3324 * text3.C: merge BufferView::repaint() and BufferView::update()
3326 2003-08-01 José Matos <jamatos@lyx.org>
3328 * buffer.[Ch]: file_format is no longer a buffer data element.
3330 2003-08-01 André Pönitz <poenitz@gmx.net>
3335 * text2.C: make redoParagraph more independent of current cursor
3337 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3339 * text2.C: remove unneeded members
3341 2003-07-30 André Pönitz <poenitz@gmx.net>
3343 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3345 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3346 create a single function...
3348 * paragraph_funcs.C (moveItem): ... here.
3351 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3353 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3355 * LColor.[Ch]: Add comment and greyedout logical colors.
3357 2003-07-30 André Pönitz <poenitz@gmx.net>
3359 * tabular.C: don't use Assert too heavily. This crashes where it
3362 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3364 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3365 is disabled (bug 1232)
3367 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3369 * factory.C: limited 'arg' scope
3371 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3373 * factory.C: fixed Note submenu issues
3375 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3377 * factory.C: submenu for Note/Comment/Greyedout
3379 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3382 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3384 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3387 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3388 greyedout. Patch provided by Jürgen Spitzmüller.
3390 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3392 * kbmap.C (read): fix error message when reading bind files
3394 2003-07-29 Angus Leeming <leeming@lyx.org>
3396 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3397 certainly does not do what it purports to do. I am doing it, and
3398 us, a favour by killing it.
3400 2003-07-28 José Matos <jamatos@lyx.org>
3402 * buffer.C (readBody, do_writeFile):
3403 * paragraph.C(readParagraph): \end_document replaces \the_end.
3405 2003-07-29 André Pönitz <poenitz@gmx.net>
3408 * BufferView_pimpl.[Ch]:
3412 * textcursor.[Ch]: remove toggleToggle & Co
3414 2003-07-28 José Matos <jamatos@fep.up.pt>
3416 * buffer.C (readParagraph):
3417 * params_func (readParToken, readParagraph):
3418 * paragraph.C (write): \layout -> \begin_layout.
3420 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3422 * lyxlex_pimpl.C (setFile): clean up slightly.
3424 * bufferparams.h: add compressed var
3426 * buffer_funcs.C (readFile): adjust for LyXLex change
3427 (newFile): ditto + simplify
3429 * buffer.C (writeFile): handle writing of compressed files
3431 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3432 Check if the file is compressed and set a bufferparm if so.
3434 * Makefile.am (lyx_LDADD): remove explicit -lz
3436 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3438 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3439 makeDocBookFile): put the real LyX version in the first line of
3443 * version.C.in: remove lyx_docversion
3445 * tabular.C (write_attribute): add a template-based version to
3446 write enums properly
3448 2003-07-28 André Pönitz <poenitz@gmx.net>
3453 * text3.C: use doubles again for x-coordinates. They are needed.
3455 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * messages.C (getLocaleDir): use lyx_localedir()
3459 * lyxlex_pimpl.C (setFile): compress stuff
3461 * buffer.C (writeFile): add some compression stuff
3462 (do_writeFile): new func, dont call expliti close... will this
3465 * Makefile.am (lyx_LDADD): add -lz
3467 2003-07-28 José Matos <jamatos@fep.up.pt>
3469 * buffer.C: increment file format.
3470 * paragraph_funcs (readParagraph, readParToken):
3471 * paragraph.C (readParagraph): add \end_layout.
3473 2003-07-27 Angus Leeming <leeming@lyx.org>
3475 * Makefile.am: remove special casing for configure-time setting of
3476 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3478 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3479 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3481 2003-07-26 André Pönitz <poenitz@gmx.net>
3483 * paragraph_func.[Ch]:
3484 * paragraph.C (realizeFont): inline it whereever it is used
3489 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3492 2003-07-26 André Pönitz <poenitz@gmx.net>
3496 * text2.C: get rid of LyXText::need_break_row
3498 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3500 * toc.[Ch]: put namespace toc inside namespace lyx
3502 * MenuBackend.C (expandToc2): adjust for lyx::toc
3505 * lyxfunc.C (dispatch): adjust for lyx::find
3507 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3508 lyx::find instead. Reorganize a bit.
3509 (LyXReplace): rename to replace
3510 (LyXFind): rename to find
3512 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3515 2003-07-26 André Pönitz <poenitz@gmx.net>
3517 * text.C (setHeightOfRow): restrict scope of temporary variable
3519 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3520 code (never has been used?)
3522 2003-07-27 Asger Alstrup <alstrup@local>
3524 * text.C (fill): Optimise algorithm to exploit that we can reuse
3525 the LyXFont for many characters.
3526 (setHeightOfRow): Same thing.
3527 (rowBreakPoint): Same thing.
3529 2003-07-26 Asger Alstrup <alstrup@local>
3531 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3533 * text.C (singleWidth): Spurious font copying in hot-spot
3534 singleWidth avoided. Reorder tests for arabic for efficiency.
3536 * text.C (fill): handle empty paragraphs better.
3538 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3541 * encoding.h: add includes
3543 * lyxrc.C: remove reading of bind files
3545 * lyx_main.C (init): setup bindings and menus only if we have a
3548 * kbmap.C (read): new method. Do the actual reading of bind
3551 * converter.C (dvipdfm_options):
3554 (output): adapt PAPER_* enums.
3556 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3558 * bufferparams.h: remove paper-related enums from there
3560 * paper.h: New file. A trivial header file to hold paper-related
3561 enums. It should later expand to contain many paper-related
3564 * lyxrc.C: declare extern displayTranslator
3566 2003-07-27 José Matos <jamatos@fep.up.pt>
3568 * tabular.[Ch] (linuxdoc): add support for tables and figures
3571 2003-07-27 José Matos <jamatos@fep.up.pt>
3573 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3574 consistency in both functions.
3575 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3577 2003-07-26 Asger Alstrup <alstrup@local>
3579 * rowpainter.C (paintRows): Change algorithm to work directly on
3580 the insets rather than asking every character in the document
3581 whether its an inset.
3583 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3585 * buffer.C (openFileWrite): factorize some code
3587 2003-07-26 Angus Leeming <leeming@lyx.org>
3590 * lyx_main.[Ch]: replace occurances of system_tempdir with
3593 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * rename Inset to InsetOld
3597 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3599 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3600 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3601 which I think is a bit clearer. EDIT is gone, since it was
3602 premature optimisation, and broken for mathed anyway.
3603 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3604 with cursor positioning in insets as well (math insets still do not
3605 work, but that's a different story anyway.) It mysteriously
3606 crashes sometimes with undo in the first paragraph, but I'm fairly
3607 confident that this is a compiler bug.
3609 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * paragraph.C (Paragraph): adjust for new clone return type
3613 (copyIntoMinibuffer): ditto
3615 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3617 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3618 by not having a special case, and always doing a full rebreak of
3619 the document after undo.
3621 2003-07-23 Angus Leeming <leeming@lyx.org>
3623 * factory.C (createInset): InsetExternal::setParams now takes a
3626 2003-07-23 Angus Leeming <leeming@lyx.org>
3628 * factory.C (createInset): changed interface to the external and
3629 graphics mailers' string2params functions.
3631 2003-07-23 Angus Leeming <leeming@lyx.org>
3633 * factory.C (createInset): pass a
3634 Buffer const * parameter to InsetExternalMailer's string2params.
3636 2003-07-22 John Levon <levon@movementarian.org>
3638 * Thesaurus.h: include the right aiksaurus header
3640 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3642 * MenuBackend.C (expand): check menu shortcuts unconditionally
3644 2003-07-21 Angus Leeming <leeming@lyx.org>
3646 * factory.C (createInset): pass a
3647 buffer_path parameter to InsetGraphicsMailer's string2params.
3649 2003-07-21 Angus Leeming <leeming@lyx.org>
3651 * BufferView_pimpl.C (buffer):
3654 * lyxfunc.C (dispatch):
3655 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3656 rather than the grfx shortcut.
3658 2003-07-21 André Pönitz <poenitz@gmx.net>
3660 * rowpainter.C: remove unused variables
3663 * tabular_funcs.h: move to tabular.C
3664 * Makefile.am: adjust
3666 * tabular.[Ch]: basic optical cleaning
3668 * author.h: pass references, not values
3670 2003-07-18 André Pönitz <poenitz@gmx.net>
3678 * text3.C: two-phase drawing for InsetText and InsetTabular
3679 some float -> int changes.
3681 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3683 * lyx_main.C: fix the fix
3685 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3687 * lyx_main.C: fix a crash in batch mode if no files specified
3690 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3692 * format.[Ch] (papersize): moved to BufferParams
3693 * converter.[Ch] (dvips_options): moved to BufferParams
3694 (dvipdfm_options): moved to anon namespace
3695 * bufferparams.[Ch]: added above functions.
3697 2003-07-17 André Pönitz <poenitz@gmx.net>
3701 * text2.C: don't call inset->update() anymore
3703 * metricsinfo.[Ch]: add convenience constructor
3705 2003-07-16 André Pönitz <poenitz@gmx.net>
3710 * text2.C: replace the LyXCursor::irow_ member with
3711 on-demand computation of the value
3713 2003-07-16 John Levon <levon@movementarian.org>
3715 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3717 2003-07-15 André Pönitz <poenitz@gmx.net>
3720 * text2.C: remove no more needed refresh_row
3722 2003-07-15 André Pönitz <poenitz@gmx.net>
3727 * text3.C: refresh_status tristate -> need_update bool
3729 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3731 * lyxtext.h (init): remove reinit argument (act as if always true)
3732 * text2.C: adjust to that
3734 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3736 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3737 * text3.C: use it to delete selections in some cases
3738 (bugs 441, 673, 702, 954).
3740 2003-07-14 André Pönitz <poenitz@gmx.net>
3742 * rowpainter.[Ch]: reduce interface
3744 2003-07-14 André Pönitz <poenitz@gmx.net>
3746 * BufferView_pimpl.C:
3747 * text2.C: adjust after removing unused BufferView * argument
3749 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3751 * text2.C (init): fix a crash fired on resize
3753 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3755 * buffer.[Ch]: added new closing signal
3756 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3757 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3758 BufferView::Pimpl via the closing the signal
3760 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3762 * buffer.[Ch]: take out all bv-related from buffer
3764 * BufferView_pimpl.[Ch]: connect to new signals
3765 * CutAndPaste.C: removed useless asserts
3766 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3769 * lyxfunc.C: moved view-related funciontality from vc here
3770 * paragraph.C: removed outdated comments
3773 2003-07-10 André Pönitz <poenitz@gmx.net>
3775 * BufferView_pimpl.C:
3779 * text2.C: remove InsetText::InnerCache, clean up consequences
3781 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3783 * ispell.C: fix two typos in error messages
3785 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3787 * Extend Note inset to other forms of annotation like Comment
3788 and Greyedout. Right button click gives dialog.
3790 Files modified or added (+):
3794 * ControlNote.[Ch] +
3796 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3797 frontends/controllers
3801 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3803 * aspell.C: add missing namespace lyx::support
3805 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3807 * BufferView.[Ch] (newFile): Add
3808 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3809 * LaTeX.[Ch] (message): added this signal and use it
3810 * buffer.[Ch] (busy, message): added these signals and use them
3811 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3815 * importer.C: use buffer signals instead of direct bv calling
3816 * lyx_cb.[Ch] (ShowMessage): removed
3819 * paragraph_funcs.C:
3820 * text2.C: use buffer signals
3822 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * introduce namespace lyx::graphics
3826 2003-07-02 André Pönitz <poenitz@gmx.net>
3828 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3830 2003-07-01 André Pönitz <poenitz@gmx.net>
3837 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3838 text*.C to text_func.C
3840 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * introduce namespace lyx::support
3844 2003-06-30 André Pönitz <poenitz@gmx.net>
3849 * text.C: re-enable --with-included-string
3851 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * textcursor.C: add <config.h>
3855 * text.C (getWord): remove const from word_location arg
3857 * lyxvc.C (getLogFile): fix const type order
3859 * lyxtext.h: remove const from word_location arg, add arg name
3861 * lyxlayout.h: currect type on labeltype.
3863 * importer.C: correct \file
3865 * converter.C (intToFormat): use std:: on ret val, ws changes
3867 * bufferlist.h: correct \file
3869 * buffer.C (makeLinuxDocFile): fix const type order
3870 (makeDocBookFile): ditto
3871 (fillWithBibKeys): use std:: on stdlib args.
3873 * CutAndPaste.C: fix authors.
3874 (availableSelections): use std:: on return vector
3876 2003-06-27 André Pönitz <poenitz@gmx.net>
3878 * BufferView_pimpl.C:
3879 * bufferview_funcs.C:
3887 * text3.C: remove LyXCursor::row_ member
3890 * text.C: rename fullRebreak() to partialRebreak() and implement
3891 a fullRebreak() that really bereks fully
3893 * textcursor.h: new struct for cursor-related data
3895 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3897 * lyx_main.C (LyX): get full path of document loaded on the
3900 2003-06-26 André Pönitz <poenitz@gmx.net>
3902 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3903 remove unused/broken operator>,<,>=.
3905 * text.C: remove only use of broken operator<= in an Assert().
3907 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3909 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3910 moved errorlist_.clear to showErrorList
3912 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3914 * converter.C (scanLog, runLaTeX):
3915 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3916 move the bv->showErrorList call to the callers
3917 * lyxfunc.C: i.e. here...
3919 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3920 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3921 namespace, the second to...
3922 * buffer_funcs (BufferFormat, parseErrors): added
3923 * errorlist.C (ErrorList(TeXErrors const &)): removed
3925 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3927 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3929 2003-06-24 "Garst R. Reese" <reese@isn.net>
3933 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3935 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3937 * version.C.in: change docversion to 1.4
3939 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3941 * buffer.C: fix a bug just introduced
3943 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3945 * buffer.[Ch]: added the parseError signal and use it, removed
3947 * BufferView.[Ch] (addError): moved to ...
3948 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3949 to the Buffer::parseError signal to catch (guess what) parse errors
3950 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3952 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3954 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3955 ability to create a buffer and to return an existing one from
3956 the list. Moved these functions to...
3957 * buffer_funcs.[Ch]: added
3958 * BufferView.[Ch] (loadLyXFile): added
3959 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3960 job removed from bufferlist::loadLyXFile.
3961 * buffer.C (setReadOnly): make it work without view
3962 (i.e added an if (users))
3964 2003-06-19 Angus Leeming <leeming@lyx.org>
3967 * LyXAction.C (init):
3968 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3969 with LFUN_DIALOG_SHOW <name> <data>.
3971 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3973 * CutAndPaste.C (availableSelections): small compilation fix for
3974 ancient (gcc 2.9x) compilers
3976 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * text3.C (cursorNext): add tmp var
3980 * text2.C (updateCounters): for function calling out of for clause
3981 (replaceSelectionWithString): ditto
3982 (insertStringAsParagraphs): ditto
3983 (getColumnNearX): add tmp var
3984 (setCursorFromCoordinates): add tmp var
3985 (cursorDownParagraph): add tmp var
3986 (deleteEmptyParagraphMechanism): add tmp var
3988 * text.C (insertChar): add tmp var
3990 * rowpainter.C (paintDepthBar): add tmp var
3992 * CutAndPaste.C (availableSelections): potentially check all
3993 paragraphs in a cut to fill the shown strings.
3995 2003-06-18 André Pönitz <poenitz@gmx.net>
3997 * kbmap.[Ch]: use vector<> instead of list<>
3999 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4001 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4002 pasteSelection with index
4004 * text2.C (pasteSelection): modify, call pasteSelection with index
4006 * paragraph.C (asString): reimplement version with no interval to
4007 call the one with interval.
4009 * lyxtext.h: add index arg to pasteSelection
4011 * MenuBackend.C (MenuItem): handle PasteRecent
4012 (Menu::read::Menutags): add md_pasterecent
4014 (expandPasteRecent): new function
4017 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4019 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4021 (availableSelections): new function
4023 2003-06-17 Angus Leeming <leeming@lyx.org>
4025 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4027 2003-06-17 Angus Leeming <leeming@lyx.org>
4030 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4032 * lyxfunc.C (dispatch): invoke it.
4034 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4036 * iterators.C (operator++, ParPosition): reintroduce some
4037 const_cast for the benefit of older compilers.
4039 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4041 * text3.C (dispatch): do not modify clipboard when doing
4042 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4043 LFUN_DELETE_SKIP on a selection selection
4045 2003-06-16 André Pönitz <poenitz@gmx.net>
4051 * tabular.[Ch]: IU of clone() and getLabelList();
4053 2003-06-13 André Pönitz <poenitz@gmx.net>
4055 * tabular.h: compactification
4057 2003-06-12 André Pönitz <poenitz@gmx.net>
4061 * tabular_funcs.h: some renaming plus whitespace
4063 2003-06-12 André Pönitz <poenitz@gmx.net>
4066 * BufferView_pimpl.C:
4072 * toc.C: Return a Paragraph & for ParIterator::operator*()
4074 2003-06-11 John Levon <levon@movementarian.org>
4078 * ToolbarBackend.C: add "Toolbars" section and
4081 2003-06-10 Angus Leeming <leeming@lyx.org>
4084 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4086 * lyxfunc.C (dispatch): invoke it.
4088 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4090 * main.C: protect <ios> with HAVE_IOS
4091 (main): protect sync_with_stdio with HAVE_IOS
4093 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4095 * text2.C (cutSelection): adjust
4096 (pasteSelection): adjust
4098 * messages.C: handle get of empty string
4100 * main.C (main): use sync_with_stdio(false)
4102 * lyxfunc.C (dispatch): adjust
4104 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4105 (WriteAs): remove unneeded BufferView arg.
4107 * bufferparams.h: use correct types on papersize, papersize2 and
4110 * bufferparams.C (readToken): adjust for type
4111 (writeLaTeX): add missing cases to switch.
4113 * bufferlist.C (quitWriteBuffer): adjust
4116 * buffer.C (asciiParagraph): remove some commented code.
4118 * CutAndPaste.C: remove current_view extern variable.
4119 (cutSelection): add BufferParams arg.
4120 (eraseSelection): add BufferParams arg.
4121 (pasteSelection): add Buffer const & arg
4123 2003-06-07 John Levon <levon@movementarian.org>
4126 * paragraph_funcs.C:
4127 * paragraph_pimpl.C:
4131 * paragraph.C: allow InsetERT to freely space lines,
4132 and some consolidation of code
4134 2003-06-06 José Matos <jamatos@fep.up.pt>
4136 * buffer.C (makeDocBookFile): fix bug #821
4138 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4140 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4142 2003-06-04 Angus Leeming <leeming@lyx.org>
4144 * buffer.C: bump format to 224.
4146 2003-06-05 André Pönitz <poenitz@gmx.net>
4148 * text2.C (redoParagraphs): remove two const_cast<>
4150 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4152 * ParagraphList.h: remove last remnants of NO_STD_LIST
4154 2003-06-03 Angus Leeming <leeming@lyx.org>
4156 * factory.C (createInset): small change to the way InsetExternal's params
4159 2003-06-04 André Pönitz <poenitz@gmx.net>
4161 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4163 * paragraph_pimpl.h:
4164 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4166 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4168 * undo_funcs.C: make some simple cases of undo work again
4170 2003-06-03 John Levon <levon@movementarian.org>
4172 * ispell.C: HPUX doesn't have sys/select.h
4175 2003-06-03 John Levon <levon@movementarian.org>
4177 * CutAndPaste.C: update tabular and include inset
4182 * paragraph.C: remove owningBuffer(), don't pass Buffer
4185 * factory.C: insetGraphicsParams changed
4187 2003-06-02 John Levon <levon@movementarian.org>
4193 * text3.C: remove insetparent
4195 2003-06-02 John Levon <levon@movementarian.org>
4198 * buffer.C: fix inset_iterator.end(), move out of line
4201 2003-06-01 John Levon <levon@movementarian.org>
4203 * text3.C: use a proper cut/paste when doing inset
4204 insert (from Jürgen Spitzmüller)
4206 2003-06-01 John Levon <levon@movementarian.org>
4208 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4210 2003-05-30 André Pönitz <poenitz@gmx.net>
4212 * rowpainter.C: unify second drawing phase
4214 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * trans_mgr.C: remove one case of current_view
4218 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4220 * paragraph_funcs.h: remove paragraph.h include
4222 * paragraph.h: delete NO_STD_LIST stuff
4224 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4226 * buffer.h: remove paragraph.h include
4228 * ParagraphList.C: delete file
4230 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4232 * toc.C (getTocList): adjust
4234 * paragraph_pimpl.C (validate): adjust
4236 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4238 * paragraph.C (Paragraph): adjust
4239 (getPositionOfInset): use const_iterator, adjust
4240 (bibitem): use const_iterator, adjust
4241 (setInsetOwner): adjust
4243 * iterators.C (operator++): adjust
4245 * InsetList.[Ch]: Replace selfmade iterator with standard
4246 vector::iterator also introduce const_iterator. Remove getPos,
4247 getInset and setInset from InsetTable. Adjust accordingly.
4249 * BufferView.C (lockInset): adjust
4250 (ChangeInsets): adjust
4252 * tabular.[Ch]: delete commented same_id functions
4254 2003-05-28 John Levon <levon@movementarian.org>
4256 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4258 2003-05-28 André Pönitz <poenitz@gmx.net>
4260 * metricsinfo.[Ch]: remove 'fullredraw' member
4262 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4264 * lyxtextclass.C (operator): remove caching.
4266 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4270 * text2.C (cursorBottom): adjust
4271 (setCounter): use ParagraphList::find, adjust
4273 * text.C (workWidth): use ParagraphList::find, adjust
4275 * lyxcursor.C (LyXCursor): adjust
4277 * buffer.C (inset_iterator): adjust
4279 * ParagraphList.h: make iterator(value_type) private, make
4280 ParagraphList a friend of iterator.
4282 * ParagraphList.C (find): new function
4284 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4286 2003-05-27 André Pönitz <poenitz@gmx.net>
4288 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4290 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4292 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4294 2003-05-26 John Levon <levon@movementarian.org>
4296 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4298 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * remove same_id from function signatures, adjust.
4302 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4306 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4308 * paragraph.C (Paragraph): get rid of same_ids parameter
4310 * ParagraphList.C (insert): adjust
4313 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * paragraph_funcs.C (breakParagraph): adjust
4316 (breakParagraphConservative): adjust
4318 * buffer.C (readParagraph): adjust
4320 * ParagraphList.C (insert): take a reference instead of a pointer
4323 * paragraph.[Ch] (id): new function
4325 * bufferlist.C (newFile): adjust
4327 * ParagraphList.C (ParagraphList): adjust
4329 (push_back): take a reference instead of a pointer.
4331 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4333 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4336 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4337 set else use old code.
4339 * ParagraphList.C: remove all NO_NEXT code and only compile this
4340 code of NO_STD_LIST is set.
4342 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4344 * BufferView_pimpl.C:
4354 * graphics/GraphicsConverter.C:
4355 * graphics/PreviewLoader.C: header adjustment
4357 2003-05-23 Angus Leeming <leeming@lyx.org>
4359 * LaTeXFeatures.[Ch] (useBabel): new method.
4360 * bufferparams.C (writeLaTeX): use it.
4362 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * ParagraphList.h (set): remove unused function.
4366 2003-05-23 André Pönitz <poenitz@gmx.net>
4369 * BufferView_pimpl.C:
4373 * undo_funcs.C: setUndo reworked
4375 * iterators.[Ch]: add access to topmost ParagraphList
4377 * lyxtext.[Ch] (workWidth): add a const
4379 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4381 * texrow.[Ch] (increasePos): remove function
4382 * exporter.C (export): removed unused var and outdated comment
4384 2003-05-23 Angus Leeming <leeming@lyx.org>
4386 * latexrunparams.h: rename fragile as moving_arg.
4387 * paragraph.C (simpleTeXOnePar): ditto.
4388 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4390 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4392 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4394 (textUndoOrRedo): comment out a currently unused var.
4396 * paragraph.h (NO_NEXT): enable NO_NEXT
4398 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4400 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4402 * exporter.C (Export): adjust for removeAutoInsets removal.
4404 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4406 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4408 * BufferView.[Ch] (removeAutoInsets): delete function
4410 2003-05-22 Angus Leeming <leeming@lyx.org>
4412 * latexrunparams.h: add a free_spacing variable.
4414 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4415 to pass moving_arg, as the data is stored in runparams.fragile.
4417 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4418 to Inset::latexOptional or to simpleTeXOnePar.
4420 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4421 free_spacing arg to Inset::latexOptional.
4423 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4426 2003-05-22 Angus Leeming <leeming@lyx.org>
4428 * latexrunparams.h: add fragile and use_babel variables.
4430 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4431 * buffer.C (makeLaTeXFile): store this returned value in
4432 runparams.use_babel, thus passing it to the inset::latex methods.
4434 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4435 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4437 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4438 longer has a fragile arg, as it is stored in runparams.fragile.
4440 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4441 moving_arg parameter as the data is stored in runparams.fragile.
4443 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4444 a fragile parameter as the data is stored in runparams.fragile.
4446 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4448 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4450 2003-05-22 Angus Leeming <leeming@lyx.org>
4452 * latexrunparams.h: add a 'bool nice' which defaults to false.
4454 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4455 now encapsulated within runparams.
4457 * bufferlist.C (updateIncludedTeXfiles):
4458 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4460 2003-05-22 Angus Leeming <leeming@lyx.org>
4462 * latexrunparams.h: new file containing struct LatexRunParams.
4463 * Makefile.am: add new file.
4465 * LaTeX.[Ch] (c-tor, run):
4466 * buffer.[Ch] (makeLaTeXFile):
4467 * bufferlist.[Ch] (updateIncludedTeXfiles):
4468 * converter.C (convert, scanLog):
4469 * converter.[Ch] (runLaTeX):
4470 * exporter.C (Export):
4471 * paragraph.[Ch] (simpleTeXOnePar):
4472 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4473 * paragraph_funcs.[Ch] (latexParagraphs):
4474 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4475 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4476 pass around a LatexRunParams parameter.
4478 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * paragraph.[Ch]: remove unused constructor
4482 * ParagraphList.C (erase): new function, taking two iterators
4484 2003-05-22 André Pönitz <poenitz@gmx.net>
4486 * undo_funcs.C: remove duplicated code
4488 * iterator.[Ch]: operator=
4490 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4492 * tabular.C (SetMultiColumn): ws changes
4494 * rowpainter.C (paintFirst): get rid of a ->previous
4496 * lyx_cb.C (getPossibleLabel): parlist simplification
4498 * BufferView.C (ChangeInsets): simplify slightly.
4500 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4502 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4503 * lfuns.h: new LFUN_SPACE
4504 * lyxfunc.C: protected space has a new lfun
4505 * paragraph_funcs.C: read new space insets
4507 * factory.C: handle new space insets
4509 2003-05-22 André Pönitz <poenitz@gmx.net>
4512 * BufferView_pimpl.C:
4515 * undo_funcs.C: return a ParIterator from getParFromID.
4517 * iterators.[Ch]: add two const's
4519 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4521 * toc.C (getTocList): adjust
4523 * iterators.[Ch]: rework for parlist
4525 * buffer.C (par_iterator_begin): adjust
4526 (par_iterator_end): adjust
4528 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4530 * BufferView.C (removeAutoInsets): adjust
4531 (ChangeInsets): adjust
4533 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4535 * text.C (top_y): fix bug 1110
4537 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4539 * errorlist.[Ch]: added
4542 * BufferView_pimpl.C:
4543 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4546 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4548 * Makefile.am: ensure that lyx is relinked upon changes to the
4549 various "convenience" libs.
4551 2003-05-20 Angus Leeming <leeming@lyx.org>
4553 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4554 files are compiled in alphabetical order again.
4556 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4558 2003-05-19 Angus Leeming <leeming@lyx.org>
4560 * gettext.[Ch]: remove "char const * _(char const *)".
4562 2003-05-19 André Pönitz <poenitz@gmx.net>
4564 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4573 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4575 2003-05-19 André Pönitz <poenitz@gmx.net>
4579 * lyxtextclass.[Ch]:
4581 * paragraph_funcs.[Ch]:
4583 * text3.C: more insetenv work
4585 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4587 * ParagraphParameters.C (params2string): small bug fixed
4589 2003-05-16 André Pönitz <poenitz@gmx.net>
4592 * bufferview_funcs.C: patch from Kornel Benko to prevent
4593 crash when _(...) is called twice in a statement
4595 2003-05-16 André Pönitz <poenitz@gmx.net>
4602 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4604 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4606 * lyx_main.C (init): remove spurious static_cast
4608 2003-05-14 André Pönitz <poenitz@gmx.net>
4610 * BufferView.C: fix format string
4612 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4614 * BufferView.[Ch] (insertErrors): removed
4615 * BufferView.[Ch] (showErrorList): added
4616 * buffer.C (runChkTeX):
4617 * converter.C (scanLog): call showErrorList instead of inserterrors
4619 2003-05-13 André Pönitz <poenitz@gmx.net>
4621 * BufferView_pimpl.C:
4623 * bufferview_func.C:
4630 * tabular_funcs.h: tostr() from its own header
4632 * ParagraphParameters.C:
4637 * text3.C: STRCONV()
4639 2003-05-12 André Pönitz <poenitz@gmx.net>
4642 * BufferView_pimpl.C:
4646 * ParagraphParameters.C:
4650 * bufferview_funcs.C:
4663 * paragraph_funcs.C:
4667 * text3.C: boost::format -> bformat all over the place
4670 2003-05-09 André Pönitz <poenitz@gmx.net>
4672 * LColor.[Ch]: Pimpl the #include <map> away
4674 2003-05-09 John Levon <levon@movementarian.org>
4676 * bufferlist.C: never remove emergency saves
4678 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4680 * Makefile.am: better lib building
4682 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4686 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4687 (simpleTeXSpecialChars): adjust
4688 (simpleTeXSpecialChars): adjust
4689 * paragraph.C (simpleTeXOnePar): adjust
4690 * buffer.C (makeLaTeXFile): adjust
4692 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4694 * text2.C (changeDepth): parlist cleanup
4695 (getColumnNearX): ditto
4697 * rowpainter.C (getLabelFont): parlist cleanup
4699 * bufferlist.C (newFile): parlist cleanup
4701 * CutAndPaste.C (eraseSelection): parlist cleanup
4703 * BufferView_pimpl.C (trackChanges): parlist cleanup
4706 * BufferView.C (lockInset): parlist cleanup.
4707 (ChangeInsets): ditto
4709 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4711 * CutAndPaste.h: Update file header.
4713 * CutAndPaste.C: Update file header.
4714 Store the parts cut out of the Document in a limited_stack.
4715 (copySelection): adjust
4716 (pasteSelection): new function, takes the index in the limited stack.
4717 (nrOfParagraphs): adjust
4718 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4719 simplify error inset insertion.
4720 (checkPastePossible): adjust
4722 2003-05-06 John Levon <levon@movementarian.org>
4724 * text2.C: don't cast wrap inset to float
4726 2003-05-05 André Pönitz <poenitz@gmx.net>
4729 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4731 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4732 few naked Paragraph *.
4734 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4736 * bufferparams.C: Output warning if a document with missing
4737 TeX document class is loaded
4738 * exporter.C: Disable TeX exports if the document class is missing
4741 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4742 isTeXClassAvailable()
4744 2003-05-03 John Levon <levon@movementarian.org>
4747 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4748 explicit cursor show/hide
4750 * BufferView_pimpl.h:
4751 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4752 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4754 * lyxfunc.C: hide cursor before dispatching.
4759 * text3.C: remove explicit cursor hides
4761 2003-05-02 André Pönitz <poenitz@gmx.net>
4763 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4766 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4769 * text2.C: tiny whitespace
4771 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * undo_funcs.C: almost only ws changes.
4775 * ParagraphList.C (splice): just return if pl is empty.
4777 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * ParagraphList.C (splice): new function.
4781 * CutAndPaste.C (pasteSelection): use it
4783 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * CutAndPaste.C (pasteSelection): remove the last next and
4786 previous from this file.
4788 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4790 * CutAndPaste.C (pasteSelection): more clean up, user proper
4791 ParagraphList functions for pasteing.
4793 * ParagraphList.C (insert): new function, three arg insert
4795 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4797 * ParagraphList.C (insert): new function, three arg insert
4799 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4802 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4806 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4810 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4813 (copySelection): clean up a bit.
4814 (pasteSelection): use make_pair
4816 * ParagraphList.C (ParagraphList): implement copy constructor
4817 (operator=): implement, base on copy constructor.
4820 * paragraph.C (erase): return a bool
4822 * paragraph_pimpl.C (erasePos): remove function, move contents...
4823 (erase): ... here. Return a bool.
4824 (erase): call erase instead of erasePos.
4826 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4828 * ParagraphList.h: define PitPosPair
4829 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4830 ParagraphList, fix a bug on pasting multiple pars
4831 * text2.C: change interface to C&P
4833 2003-04-30 André Pönitz <poenitz@gmx.net>
4835 * undo_func.C: revert part of yesterday's patch 2
4837 2003-04-30 John Levon <levon@movementarian.org>
4839 * LColor.C: s/tabular/table/
4841 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4843 * text3.C (dispatch): do not convert iterator -> pointer
4844 * undo_funcs.C (setCursorParUndo): ditto
4845 * text_funcs.C (transposeChars): ditto
4847 * text2.C (setLayout): ws changes only
4849 * text.C (breakParagraph): do not convert iterator -> pointer
4851 (acceptChange): ditto
4852 (rejectChange): ditto
4857 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4860 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4862 * text3.C (gotoInset): YABG (yet another bad getChar)
4864 2003-04-29 André Pönitz <poenitz@gmx.net>
4866 * paragraph.h: make operator= private unimplemented as long as
4869 * ParagraphList.C: whitespace
4872 * paragraph_pimpl.[Ch]:
4873 * paragraph_funcs.C:
4875 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4878 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4880 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4882 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4883 * paragraph.[Ch] (erase):
4884 * paragraph_pimpl.[Ch] (erase): change return type and value
4885 * text2.C (cutSelection): some rework
4887 2003-04-28 John Levon <levon@movementarian.org>
4889 * bufferlist.C: changes for unsaved changes dialog
4891 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * bufferlist.C (newFile): set language (messages_) for new
4896 * buffer.C (readFile): ws changes only.
4898 2003-04-28 André Pönitz <poenitz@gmx.net>
4903 * BufferView_pimpl.C:
4904 * BufferView.C: getParFromID related ParagraphList::iterator changes
4906 2003-04-28 André Pönitz <poenitz@gmx.net>
4908 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4911 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4913 * messages.C: remove one more localedir class variable.
4915 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * messages.C (getLocaleDir): singleton generation function
4919 (Messages): add a default constructor.
4921 * main.C (main): do not setup localedir here, do not call
4924 * gettext.C (_): use it.
4925 (gettext_init): delete funciton
4927 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * gettext.C (getLyXMessages): new singleton generating function.
4931 * buffer.C (updateDocLang): adjust
4933 * Makefile.am (messages.o): add target
4934 (main.o): remove target
4936 2003-04-27 John Levon <levon@movementarian.org>
4941 * lyxvc.C: specify cancel button in Alert::prompt
4943 2003-04-26 John Levon <levon@movementarian.org>
4948 * LyXAction.C: add LFUN_INSET_SETTINGS
4950 * lyxfunc.C: don't enable tabular-feature when there's
4951 just any locking inset
4953 2003-04-26 John Levon <levon@movementarian.org>
4955 * bufferlist.C: re-add Cancel to buffer close question
4957 * lyxfunc.C: fix import UI a bit
4959 2003-04-25 John Levon <levon@movementarian.org>
4961 * gettext.C: remove the broken asserts for now
4963 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4965 * messages.C: make case where setlocale cannot comply work better.
4967 * buffer.C (updateDocLang): new function
4968 (changeLanguage): use it
4971 * text2.C (setCounter): use B_ a bit.
4973 * lyxlayout.C (Read): be sure to trim the label strings.
4975 * messages.C (Messages): fix typo in comment
4977 * buffer.C (readFile): set message_ after file is loaded.
4978 (makeDocBookFile): remove double return
4979 (changeLanguage): reset message_ upon language change.
4980 (B_): new func, use this to get translated buffer strings.
4982 * main.C: add myself and Jean Marc as authors.
4984 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * messages.[hC]: pimplify Messages, and three different pimpls to be
4987 used in different circumstances.
4989 * gettext.[Ch]: change for use with new message code.
4991 2003-04-24 André Pönitz <poenitz@gmx.net>
4993 * factory.C: support for eqref
4995 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * messages.[Ch]: add missing char
4999 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5001 * messages.[Ch]: New files
5003 2003-04-18 John Levon <levon@movementarian.org>
5007 * BufferView_pimpl.C:
5011 * text2.C: remove layout-copy/paste (bug 778)
5013 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5015 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5017 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5019 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5020 if they succeed. Act accordingly.
5022 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5024 * text2.C (setCharFont): adjust
5025 (setCounter): adjust
5026 (insertStringAsLines): adjust
5028 * text.C (leftMargin): adjust
5029 (setHeightOfRow): adjust
5031 * rowpainter.C (paintFirst): adjust
5034 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5036 (isFirstInSequence): ditto
5037 (getEndLabel): ditto
5040 * paragraph.C (getParLanguage): comment out some hard stuff.
5042 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5044 (simpleDocBookOnePar): ditto
5045 (makeDocBookFile): use ParagraphList::iterator
5047 * CutAndPaste.C (pasteSelection): adjust
5049 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5051 * text2.C (getFont): adjust
5052 (getLayoutFont): adjust
5053 (getLabelFont): adjust
5055 * paragraph_funcs.C (TeXOnePar): adjust
5057 * buffer.C (simpleLinuxDocOnePar): adjust
5058 (simpleDocBookOnePar): adjust
5060 * CutAndPaste.C (pasteSelection): adjust
5062 * BufferView.C (getEncoding): adjust
5064 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5066 2003-04-16 John Levon <levon@movementarian.org>
5068 * lyxfind.C: use parlist stuff for search/changes
5070 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5072 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5074 * text2.C (deleteEmptyParagraphMechanism): adjust
5076 * text2.[Ch] (ownerParagraph): delete func (both of them
5078 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5082 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * ParagraphList.C: prepare for NO_NEXT
5086 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * text2.C (getFont): adjust
5089 (getLayoutFont): adjust
5090 (getLabelFont): adjust
5092 * paragraph.C (getFont): adjust
5093 (getLabelFont): adjust
5094 (getLayoutFont): adjust
5096 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5098 2003-04-15 John Levon <levon@movementarian.org>
5102 * lyx_main.C: handle Include in .ui files
5104 2003-04-15 John Levon <levon@movementarian.org>
5106 * MenuBackend.C: make the doc files length shorter
5109 * ToolbarBackend.C: handle toolbar placement flags,
5112 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5114 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5117 * paragraph_funcs.C (TeXOnePar): adjust
5119 * paragraph.C (getLabelFont): add outerfont arg, adjust
5120 (getLayoutFont): ditto
5121 (simpleTeXOnePar): adjust
5123 * paragraph_pimpl.C (realizeFont): delete func
5125 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5127 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5128 row argument, constify cur argument.
5130 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * text2.C (getFont): adjust
5133 (getLayoutFont): adjust
5134 (getLabelFont): adjust
5136 * paragraph_funcs.C (TeXOnePar): adjust
5137 (outerFont): new func...
5138 (realizeFont): ...moved out from here, changed this to facilitate
5141 * paragraph.C (getFont): take outerfont as arg, adjust
5142 (simpleTeXOnePar): add outerfont arg, adjust
5144 * buffer.C (simpleLinuxDocOnePar): adjust
5145 (simpleDocBookOnePar): adjust
5147 * CutAndPaste.C (pasteSelection): adjust
5149 * BufferView.C (getEncoding): adjust
5151 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * text2.C (setCharFont): adjust
5154 (setCounter): adjust
5156 * text.C (leftMargin): adjust
5157 (setHeightOfRow): adjust
5159 * rowpainter.C (paintFirst): adjust
5162 * paragraph_pimpl.C (realizeFont): adjust
5164 * paragraph.C (isFirstInSequence): move from here...
5165 * paragraph_funcs.C (isFirstInSequence): ...to here
5167 * paragraph.C (outerHook): move from here...
5168 * paragraph_funcs.C (outerHook): ...to here
5170 * paragraph.C (depthHook): move from here...
5171 * paragraph_funcs.C (depthHook): ...to here
5173 * paragraph.C (getEndLabel): move from here...
5174 * paragraph_funcs.C (getEndLabel): ...to here
5176 * text2.C (realizeFont): move from here...
5177 * paragraph_funcs.C (realizeFont): ...to here
5179 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5181 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5183 2003-04-14 Angus Leeming <leeming@lyx.org>
5185 * LColor.[Ch]: scrap LColor mathcursor.
5187 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5189 * lyxlex.[Ch] (text): delete function
5190 * trans.C (Load): adjust
5191 * paragraph_funcs.C (readParToken): adjust
5193 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5195 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5196 vector<char> instead of a char[].
5198 * lyxlex_pimpl.C (getString): adjust
5200 (lex): use getString
5204 * lyxlex.C (text): use pimpl_->getString()
5208 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5211 (makeFontEntriesLayoutSpecific): temp var for par.size()
5212 (setLayout): temp var for ownerParagraphs().end()
5213 (fullRebreak): temp var for rows().end()
5214 (selectionAsString): temp var for boost::next(startpit), realize
5215 that the while really is a regular for loop.
5216 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5217 setCursor in one place.
5218 (setParagraph): temp vr for ownerParagraphs().end()
5219 (updateCounters): make the while loop a for loop
5220 (cutSelection): temp var for ownerParagraphs().end()
5221 (updateInset): make the do {} while() a regular for loop
5222 (getCursorX): use temp vars
5223 (setCurrentFont): use temp vars
5224 (getColumnNearX): use temp vars
5226 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5228 * text.C (transformChar): use temp var for getChar
5229 (computeBidiTables): use temp var for row->par()
5230 (fill): move temp vars for row->par() and pit->layout() earlier in
5232 (labelFill): use temp var for row->par()
5233 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5234 asc and desc, realize that pit never changes and that firstpit is
5235 just a duplicate and not needed. Exchange rit->par() with pit in a
5237 (breakAgain): use a temp var for boost::next(rit)
5238 (breakAgainOneRow): ditto
5239 (breakParagraph): use a temp var for rows().begin()
5240 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5241 (cursorRightOneWord): use temp var for cursor.par() and
5242 cursor.pos(), remove usage of tmpcursor.
5243 (cursorLeftOneWord): use temp var for cursor.par() and
5244 cursor.pos() only set cur at end of function.
5246 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * text.C, text2.C: exchange all usage of Paragraph::next with
5249 boost::next(ParagraphList::iterator)
5251 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5253 * text2.C (cursorTop): simplify implementation
5254 (cursorBottom): ditto
5255 (setParagraph): use ParagraphList::iterator
5256 (setCurrentFont): adjust
5257 (getColumnNearX): adjust
5258 (cursorRight): adjust
5259 (cursorLeft): remove usage of Paragraph::previous
5260 (cursorUpParagraph): ditto
5261 (deleteEmptyParagraphMechanism): slight cleanup
5263 * text.C (isBoundary): take a Paragraph const & instead of a
5265 (addressBreakPoint): ditto
5266 (leftMargin): remove usage of Paragraph::previous.
5267 (setHeightOfRow): ditto
5268 (cursorLeftOneWord): ditto
5269 (selectNextWordToSpellcheck): ditto
5272 (breakParagraph): remove one usage of Paragraph::next
5273 (redoParagraph): ditto
5274 (acceptChange): ditto
5275 (insertChar): adjust
5276 (rowBreakPoint): adjust
5278 * bufferview_funcs.C (toggleAndShow): adjust
5280 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5282 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5283 methods to access it.
5285 * text.C: Added updateRowPositions to compute all row positions.
5286 Make top_y and getRowNearY() to use the cached y position
5288 2003-04-11 John Levon <levon@movementarian.org>
5290 * text.C (rowBreakPoint): reintroduce the labelEnd
5291 checks, code copied from the row fill stuff. Deep voodoo.
5293 * text.C (fill): add a comment and debugging for the
5296 2003-04-11 John Levon <levon@movementarian.org>
5298 * text.C: make sure fullrow insets get wrapped to the next line,
5299 even when they're in a manual label
5301 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5303 * text2.C (insertParagraph): make it take ParagraphList::iterator
5305 (setLayout): make it return ParagraphList::iterator
5306 (redoParagraphs): ditto
5308 (checkParagraph): ditto
5310 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5312 * text2.C: adjust several funcs.
5313 (realizeFont): take a ParagraphList::iterator as arg.
5314 (getLayoutFont): ditto
5315 (getLabelFont): ditto
5316 (setCharFont): ditto
5318 * text.C: adjust several funcs.
5320 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5322 * text.C (selectNextWordToSpellcheck): don't accidentally
5325 2003-04-10 John Levon <levon@movementarian.org>
5327 * ToolbarBackend.C (getIcon): special handling for
5330 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5332 * text2.C (cursorRight): a getChar assert fixed
5334 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5336 * text2.C (getFont): change to take a ParagraphList::iterator
5337 instead of Paragraph*
5338 Adjust several functions.
5340 * text.C (transformChar): change to take a ParagraphList::iterator
5341 instead of Paragraph*
5342 (singleWidth): ditto
5343 Adjust several functions.
5345 * rowpainter.C: adjust several functions
5346 * rowpainter.h:store a ParagraphList::iterator and not a
5350 2003-04-09 John Levon <levon@movementarian.org>
5355 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5356 and the "help" bits as well
5358 2003-04-09 John Levon <levon@movementarian.org>
5361 * ToolbarBackend.C: allow multiple toolbars
5363 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5365 * undo_funcs.C (setCursorParUndo): adjust
5367 * text_funcs.C (transposeChars): adjust
5369 * text3.C (gotoNextInset): adjust
5372 * text2.C (setLayout): adjust
5373 (changeDepth): adjust
5375 (redoParagraphs): adjust
5376 (selectionAsString): adjust
5377 (setParagraph): adjust
5378 (insertInset): adjust
5379 (cutSelection): adjust
5380 (copySelection): adjust
5381 (pasteSelection): adjust
5382 (insertStringAsLines): adjust
5383 (updateInset): adjust
5384 (setCursor): change to take a ParagraphList::iterator parameter
5385 (setCursorIntern): change to take a ParagraphList::iterator parameter
5386 (setCurrentFont): adjust
5387 (cursorLeft): adjust
5388 (cursorRight): adjust
5389 (deleteEmptyParagraphMechanism): adjust
5391 * text.C (breakParagraph): adjust
5392 (insertChar): adjust
5393 (acceptChange): adjust
5394 (rejectChange): adjust
5395 (selectNextWordToSpellcheck): adjust
5396 (changeCase): adjust
5400 * lyxfind.C (SearchForward): adjust
5401 (SearchBackward): adjust
5402 (nextChange): adjust
5404 * lyxcursor.C (par): adjust
5406 * lyxcursor.h: store a ParagraphList::iterator instead of a
5409 * lyx_cb.C (getPossibleLabel): adjust
5411 * bufferview_funcs.C (toggleAndShow): adjust
5413 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5416 * BufferView.C (removeAutoInsets): adjust
5417 (lockedInsetStoreUndo): adjust
5419 2003-04-09 John Levon <levon@movementarian.org>
5421 * ToolbarBackend.C: try icon without argument
5422 if with argument fails
5424 2003-04-08 John Levon <levon@movementarian.org>
5427 * ToolbarBackend.C: add getIcon(), handle tooltip,
5428 and change from "Icon" to "Item".
5430 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5432 * BufferView.C (lockInset): another bad getchar crunched
5434 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5436 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5439 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5441 * lyxfind.C (searchForward, searchBackwards): bug 782
5443 2003-04-07 John Levon <levon@movementarian.org>
5445 * paragraph.C: remove dead comment
5447 * text.C: remove troublesome depth-fiddling code
5448 in leftMargin() and rightMargin() (bug 1017)
5450 * text.C: fix breaking of rows in nested lists
5453 * text2.C (updateCounters): fix up depth values
5456 2003-04-07 John Levon <levon@movementarian.org>
5458 * BufferView_pimpl.C: clear message when doc finishes resizing,
5459 and after a mouse event
5461 * lyxfunc.C: clear message after exiting inset
5463 2003-04-07 John Levon <levon@movementarian.org>
5465 * bufferview_funcs.C: show math status not outside
5466 status in the statusbar
5468 2003-04-07 John Levon <levon@movementarian.org>
5470 * lyxfunc.C: note status changed after a depth change
5472 2003-04-04 Angus Leeming <leeming@lyx.org>
5474 * LaTeX.h: move AuxInfo operator==, != out of line.
5475 Remove LaTeX virtual destructor; nothing derives from it.
5476 Move operator()() out of public area and rename it startscript().
5477 Change protected for private.
5479 2003-04-04 Angus Leeming <leeming@lyx.org>
5482 * text2.C: remove unneeded #includes.
5484 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5486 * text2.C (dEPM): fix the heigth of the next row
5488 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5490 * text.C: squashed an invalid getChar requester + some ws changes
5492 2003-04-03 John Levon <levon@movementarian.org>
5494 * bufferview_funcs.h:
5495 * bufferview_funcs.C:
5498 * text2.C: make getStatus work for the env depth lfuns
5500 2003-04-03 John Levon <levon@movementarian.org>
5502 * bufferview_funcs.h:
5503 * bufferview_funcs.C:
5506 * text2.C: parlistize decDepth(), by merging it with incDepth()
5508 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5510 * lyxrow.h: store a ParagraphList::iterator instead of a
5511 Paragraph* and adjust other class functions to suit.
5513 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5516 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5518 * text2.C (setCursor): do not anchor to cursor row for the time being
5520 2003-04-02 John Levon <levon@movementarian.org>
5527 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5529 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5531 * paragraph.h: make ParagraphList and ParagraphList::iterator
5532 friends of Paragraph.
5534 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5536 * ParagraphList.C: Use the private next_ and previous_ from
5539 2003-04-01 John Levon <levon@movementarian.org>
5543 * Makefile.am: rename, remove defaults gunk
5546 * MenuBackend.C: remove defaults gunk
5549 * Languages.C: remove defaults gunk
5552 * lyx_main.C: error out if files couldn't be found.
5554 2003-04-02 John Levon <levon@movementarian.org>
5556 * text2.C: make incDepth() use parlist
5558 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5560 * undo_funcs.C (firstUndoParagraph): adjust
5562 * text3.C (gotoInset): adjust
5563 (dispatch): adjust, and rewrite loop.
5565 * text2.C (init): adjust, and rewrite loop.
5566 (redoParagraphs): adjust
5567 (updateInset): adjust, and rewrite loop.
5568 (deleteEmptyParagraphMechanism): adjust
5570 * tabular.C (LyXTabular): adjust
5571 (SetMultiColumn): adjust
5574 * lyxtext.[Ch] (ownerParagraph): delete function
5575 (ownerParagraphs): new function returns a ParagraphList.
5577 * BufferView.C (removeAutoInsets): adjust
5578 (insertErrors): adjust
5579 (setCursorFromRow): adjust
5581 2003-04-01 Angus Leeming <leeming@lyx.org>
5583 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5586 2003-04-02 John Levon <levon@movementarian.org>
5592 * text_funcs.C: make transposeChars a free function
5594 * lyxrow_funcs.C: remove wrong comment
5596 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5599 * rowpainter.C: adjust
5604 * lyxrow_funcs. [Ch]: new files
5606 * lyxrow.[Ch]: remove next and previous pointers
5607 (next,previous): remove accessor functions
5608 (isParEnd): move to lyxrow_funcs
5609 (lastPos): move to lyxrow_funcs
5610 (nextRowIsAllInset): move to lyxrow_funcs
5611 (lastPrintablePos): move to lyxrow_funcs
5612 (numberOfSeparators): move to lyxrow_funcs
5613 (numberOfHfills): move to lyxrow_funcs
5614 (numberOfLabelHfills): move to lyxrow_funcs
5615 (hfillExpansion): move to lyxrow_funcs
5619 * bufferview_funcs.C (toggleAndShow): adjust
5621 * RowList.h: Remove class RowList from file leave just a
5624 * RowList.C: delete file
5626 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5629 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5631 * text3.C (cursorPrevious): adjust
5632 (cursorNext): adjust
5635 * text2.C (redoHeightOfParagraph): adjust
5636 (redoDrawingOfParagraph): adjust
5639 * text.C (breakParagraph): adjust
5640 (insertChar): adjust
5643 * rowpainter.C (RowPainter): adjust
5644 (leftMargin): simplify and adjust
5645 (most rowpainter functions): adjust.
5647 * rowpainter.h: store the row as RowList::iterator not as Row*
5649 * lyxcursor.C (row): taka RowList::iterator as arg
5652 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5655 2003-04-01 Angus Leeming <leeming@lyx.org>
5657 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5658 stuff like bool Bool.
5660 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5662 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5665 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5670 * lyxtext.h (rows): drop one version and leve a const variant that
5671 returns a RowList::iterator.
5673 2003-03-31 Angus Leeming <leeming@lyx.org>
5675 * text.C (fill): ensure that the signature is the same as that in the
5678 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5680 * text2.C (redoParagraphs): adjust
5681 (updateCounters): adjust
5682 (checkParagraph): adjust
5683 (getColumnNearX): adjust and reformat a bit.
5685 * text.C (top_y): adjust
5687 (leftMargin): adjust
5688 (prepareToPrint): adjust
5690 (getRowNearY): adjust
5692 * lyxtext.h: make rowlist_ mutable.
5694 * RowList.h: add const_iterator
5695 * RowList.C: adjust for RowList::const_iterator.
5697 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5700 2003-03-31 John Levon <levon@movementarian.org>
5703 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5705 * lyx_main.C: set default fonts from using lyx_gui funcs
5707 * exporter.C: pdf_mode moved from lyxrc
5710 * lyxfunc.C: changes from above
5712 2003-03-31 John Levon <levon@movementarian.org>
5714 * lyx_main.C: fix to the last fix
5716 2003-03-31 John Levon <levon@movementarian.org>
5718 * bufferlist.C: "Load original" -> "Load Original"
5724 * format.C: more Alert cleanups
5726 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5728 * text2.C (removeParagraph): make it take a RowList::iterator as
5730 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5731 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5733 * text.C (anchor_row): make it take a RowList::iterator as arg,
5735 (computeBidiTables): make it take a const reference to Row instead
5736 of Row pointer, adjust.
5737 (leftMargin): make it take a RowList::iterator as arg, adjust.
5738 (rowBreakPoint): adjust
5739 (breakAgainOneRow): make it take a RowList::iterator as arg,
5741 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5743 * bufferview_funcs.C (toggleAndShow): adjust
5745 2003-03-30 John Levon <levon@movementarian.org>
5749 * boost-inst.C: moved to support
5751 * several files: changes as a result
5753 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * text2.C (LyXText): adjust.
5757 (removeRow): make it take a RowList::iterator as arg, adjust.
5758 (fullRebreak): adjust
5759 (deleteEmptyParagraphMechanism): adjust
5760 (clearPaint): adjust
5763 * text.C (top_y): adjust
5764 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5765 (breakAgain): make it take a RowList::iterator as arg, adjust.
5766 (breakParagraph): adjust
5767 (insertChar): adjust
5770 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5771 need_break_row, and refresh_row.
5773 * text3.C (dispatch): adjust
5775 * text2.C (checkParagraph): adjust
5777 (setCursorFromCoordinates): adjust
5779 * text.C (top_y): adjust
5781 (getRow): make it return a RowList::iterator, adjust
5782 (getRowNearY): make it return a RowList::iterator, adjust
5784 * text2.C (init): adjust
5785 (insertRow): remove function
5786 (insertParagraph): adjust
5787 (redoParagraphs): adjust
5788 (fullRebreak): adjust
5789 (updateCounters): adjust
5791 * text.C (top_y): rewrite to use RowList iterators.
5793 (setHeightOfRow): rewrite to sue RowList iterators.
5794 (appendParagraph): adjust
5795 (breakAgain): adjust
5796 (breakAgainOneRow): adjust
5797 (breakParagraph): adjust
5799 (getRowNearY): adjust, and remove commented code.
5801 * lyxtext.h (firstRow): delete function
5802 (lastRow): delete function
5803 (rows): new function (const and non-const versions.)
5804 (insertRow): delete function
5806 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5808 2003-03-29 John Levon <levon@movementarian.org>
5810 * BufferView_pimpl.C: always update scrollbar top
5811 because pasting text when we're anchored could mean we
5812 miss an update altogether
5814 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5816 * text2.C (init): use rowlist_.end() and not 0.
5817 (insertRow): change to take a RowList::iterator as arg, adjust
5819 (insertParagraph): change to take a RowList::iterator as arg,
5821 (redoParagraphs): remove some debug msgs.
5823 * text.C (appendParagraph): change to take a RowList::iterator
5824 arg, adjust for this.
5825 (breakAgain): add an assert
5826 (breakAgainOneRow): ditto
5828 2003-03-29 John Levon <levon@movementarian.org>
5830 * text2.C: do not clear selection after inc/decDepth
5833 2003-03-29 John Levon <levon@movementarian.org>
5836 * buffer.C: fix broken strerrors according to Lars
5838 2003-03-29 John Levon <levon@movementarian.org>
5840 * converters.C: more Alert cleanups
5842 2003-03-29 John Levon <levon@movementarian.org>
5844 * bufferview_funcs.C: remove pointless Alert
5846 * buffer.C: fix confusing error message when
5847 a template is chmoded 000
5849 2003-03-29 John Levon <levon@movementarian.org>
5853 * BufferView_pimpl.C: Alert fixes
5857 * tabular-old.C: remove unused table compat reading
5859 2003-03-29 John Levon <levon@movementarian.org>
5864 * lyx_cb.C: more Alert cleanups
5866 * lyxfunc.C: don't allow chktex if not latex document
5868 2003-03-29 John Levon <levon@movementarian.org>
5872 * buffer.C: warnings pushed down from support/,
5875 2003-03-29 John Levon <levon@movementarian.org>
5877 * lyxfunc.C: safety check for C-r (revert)
5879 2003-03-29 John Levon <levon@movementarian.org>
5882 * bufferlist.C: several UI fixes using Alert::prompt.
5883 Fix the pointless looping quit code. Fix stupid revert
5888 * lyx_cb.C: use Alert::prompt
5890 * lyx_main.C: remove a silly question
5892 * lyxfunc.C: remove a couple of silly questions,
5895 2003-03-28 John Levon <levon@movementarian.org>
5897 * text2.C: fix bug 974 (End on empty par)
5899 2003-03-28 John Levon <levon@movementarian.org>
5901 * BufferView_pimpl.C:
5903 * lfuns.h: remove do-nothing math greek lfuns
5905 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5907 * lyxgluelength.h (isValidGlueLength): add default arg on
5908 parameter 2. Remove default arg from friend in class.
5910 * lyxlength.h (isValidLength): add default arg on parameter 2.
5911 Remove default arg from friend in class.
5913 * text2.C (LyXText): adjust, initialize refresh_row.
5917 (insertParagraph): adjst
5918 (redoParagraphs): adjust
5919 (fullRebreak): adjust
5920 (updateCounters): adjust
5921 (deleteEmptyParagraphMechanism): first attempt at fixing a
5924 * text.C (top_y): adjust
5925 (setHeightOfRow): adjust
5927 (getRowNearY): adjust
5929 * lyxtext.h: include RowList.h
5930 (~LyXText): not needed anymore, deleted.
5931 (firstRow): modify for RowList
5932 (lastRow): new function
5933 Delete firstrow and lastrow class variables, add a Rowlist
5934 rowlist_ class variable.
5936 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5939 * RowList.C (insert): fix case where it == begin().
5941 2003-03-26 Angus Leeming <leeming@lyx.org>
5943 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5944 the thesaurus dialog.
5946 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5948 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5950 * RowList.[Ch]: new files
5952 * ParagraphList.C (erase): handle the case where it == begin
5955 2003-03-25 John Levon <levon@movementarian.org>
5959 * aspell.C: add new aspell support
5962 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5965 2003-03-25 Angus Leeming <leeming@lyx.org>
5968 * LyXAction.C (init): new LFUN_INSET_INSERT.
5970 * BufferView_pimpl.C (dispatch): split out part of the
5971 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5973 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5976 2003-03-25 Angus Leeming <leeming@lyx.org>
5978 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5980 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5983 * text3.C: remove useless row->height(0)
5985 2003-03-25 John Levon <levon@movementarian.org>
5989 * text3.C: rename the refreshing stuff to better names
5991 2003-03-24 John Levon <levon@movementarian.org>
5993 * BufferView_pimpl.h:
5994 * BufferView_pimpl.C: update layout choice on a mouse
5997 2003-03-23 John Levon <levon@movementarian.org>
5999 * Makefile.am: fix commandtags.h reference
6001 2003-03-22 John Levon <levon@movementarian.org>
6003 * BufferView_pimpl.C:
6008 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6010 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6013 * text.C: take the rtl methods out of line
6015 2003-03-21 André Pönitz <poenitz@gmx.net>
6017 * metricsinfo.[Ch]: new files containing structures to be passed around
6018 during the two-phase-drawing...
6020 2003-03-21 André Pönitz <poenitz@gmx.net>
6022 * lyxtextclass.C: read 'environment' tag.
6024 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6026 * text2.C (removeRow): fix bug 964
6028 2003-03-20 John Levon <levon@movementarian.org>
6032 * text2.C: paint cleanups. Inset::update() dropped font
6035 2003-03-19 John Levon <levon@movementarian.org>
6037 * lyxfunc.C: only fitcursor/markDirty if available()
6039 2003-03-19 John Levon <levon@movementarian.org>
6041 * commandtags.h: rename to ...
6043 * lfuns.h: ... this, and renumber / cleanup
6045 2003-03-19 John Levon <levon@movementarian.org>
6047 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6048 fit the cursor after an lfun
6052 * BufferView_pimpl.h:
6053 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6055 * LyXAction.C: layout-character should have ReadOnly
6057 * ParagraphParameters.C:
6059 * bufferview_funcs.C:
6066 * undo_funcs.C: changes from above
6068 2003-03-18 John Levon <levon@movementarian.org>
6070 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6071 remove it from update()
6073 * lyxfunc.C: update layout choice after an lfun
6075 * text3.C: remove extra updateLayoutChoice()s
6077 2003-03-18 John Levon <levon@movementarian.org>
6079 * text.C: top_y change means full repaint, fix
6080 a drawing bug with cursor movement
6082 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6086 * text2.C: anchor row on setCursor
6088 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6090 * lyxtext.h: remove almost all mutable keywords
6093 * text3.C: remove const keywords accordingly
6095 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6099 (TeXEnvironment): ditto
6102 2003-03-17 John Levon <levon@movementarian.org>
6104 * text.C (rowBreakPoint): remove attempt to fix displayed
6105 math insets inside a manual label
6107 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6109 * lyxtext.h: remove BufferView* as first arg from almost all class
6111 * other files: adjust.
6113 2003-03-17 John Levon <levon@movementarian.org>
6117 * text2.C: more paint cleanups
6119 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6122 * rowpainter.C: remove "smart" background painting code
6124 2003-03-16 John Levon <levon@movementarian.org>
6129 * text3.C: add helper functions for setting refresh_row/y
6131 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6133 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6134 newline inset which *can* get inserted in the pass_thru layouts.
6135 This is primarily for literate documents.
6137 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6139 * buffer.C: increment LYX_FORMAT to 223
6141 2003-03-14 André Pönitz <poenitz@gmx.net>
6143 * textclass.h: prepare for environment handling, ws changes
6144 * lyxlayout.C: read latexheader and latexfooter tags
6146 2003-03-14 John Levon <levon@movementarian.org>
6148 * text2.C: rewrite ::status() a bit
6150 2003-03-13 John Levon <levon@movementarian.org>
6152 * lyxtext.h: add some docs
6154 2003-03-13 John Levon <levon@movementarian.org>
6159 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6161 2003-03-13 John Levon <levon@movementarian.org>
6163 * text3.C: fix appendix redrawing
6165 2003-03-13 John Levon <levon@movementarian.org>
6167 * text.C (setHeightOfRow):
6169 * rowpainter.C: make appendix mark have the text
6170 "Appendix" so the user knows what it is
6173 * LColor.C: s/appendixline/appendix/ from above
6175 2003-03-13 John Levon <levon@movementarian.org>
6177 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6179 * text.C: fix a getChar(pos) bug properly
6181 2003-03-13 Angus Leeming <leeming@lyx.org>
6184 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6185 Probably only temporary. Let's see how things pan out.
6187 * BufferView.C (unlockInset):
6188 * BufferView_pimpl.C (fitCursor):
6189 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6191 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6192 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6194 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6195 new functions that convert ParagraphParameters to and from a string.
6197 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6198 BufferView::Pimpl's dispatch.
6199 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6201 2003-03-13 André Pönitz <poenitz@gmx.net>
6205 * factory.C: make it aware of InsetEnv
6207 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6209 * text2.C (setCursor): never ask for one past last
6210 (setCursor): add some debugging messages.
6212 * text.C (singleWidth): never ask for one past last
6213 (singleWidth): ditto
6215 (rightMargin): ditto
6216 (rowBreakPoint): ditto
6217 (setHeightOfRow): ditto
6218 (prepareToPrint): ditto
6220 * rowpainter.C (paintBackground): never ask for one past last
6221 (paintText): never ask for one past last
6223 * paragraph_pimpl.C (getChar): make the assert stricter, never
6224 allow the one past last pos to be taken
6226 * paragraph.C (getChar): ws changes only
6228 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6229 (numberOfSeparators): ditto
6230 (numberOfHfills): ditto
6232 2003-03-12 John Levon <levon@movementarian.org>
6238 * paragraph_funcs.C: fix per-buffer authorlists
6240 2003-03-12 John Levon <levon@movementarian.org>
6242 * text.C: fix newline in right address
6244 2003-03-12 Angus Leeming <leeming@lyx.org>
6246 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6247 duplicate those in LyXFunc::dispatch.
6251 * ToolbarDefaults.C:
6252 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6253 Add LFUN_FONTFREE_UPDATE.
6255 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6256 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6258 * bufferview_func.[Ch]: several new functions to facilliate
6259 transfer of data to and from the character dialog.
6261 2003-03-12 John Levon <levon@movementarian.org>
6266 * paragraph_funcs.C:
6267 * paragraph_pimpl.C:
6271 * text3.C: remove META_NEWLINE in favour of an inset
6274 * rowpainter.C: remove paintNewline (done by inset)
6276 2003-03-12 John Levon <levon@movementarian.org>
6278 * paragraph_pimpl.C: complain about bad getChar()s
6279 for a while at least
6281 2003-03-12 John Levon <levon@movementarian.org>
6284 * buffer.C: move paragraph read into a separate function,
6285 a little renaming to reflect that.
6288 * bufferparams.C: remove the author_ids map, not necessary now
6291 * factory.C: moved Buffer::readInset to here
6293 * paragraph_funcs.h:
6294 * paragraph_funcs.C: readParagraph free function moved from
6297 * tabular.C: name change
6299 2003-03-12 John Levon <levon@movementarian.org>
6302 * ParagraphParameters.C: move par params input to
6305 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6306 behave like a normal read from the stream wrt reading
6307 a line vs. a \\token
6309 2003-03-12 John Levon <levon@movementarian.org>
6312 * ParagraphParameters.h:
6313 * ParagraphParameters.C: move output code to a
6316 2003-03-12 John Levon <levon@movementarian.org>
6318 * BufferView.C (insertLyXFile):
6321 * tabular.C: use a parlist iterator for creating the
6324 2003-03-12 John Levon <levon@movementarian.org>
6326 * buffer.C: make current_change static local not
6329 2003-03-12 John Levon <levon@movementarian.org>
6331 * buffer.C: fix insertStringAsLines for change tracking
6333 2003-03-12 John Levon <levon@movementarian.org>
6340 * bufferparams.C: move author list into params. Rename some
6341 functions. Move the header reading into a separate token
6342 loop. Move the header token reading into BufferParams.
6344 2003-03-12 John Levon <levon@movementarian.org>
6346 * changes.C: put debug inside lyxerr.debugging() checks
6348 2003-03-11 André Pönitz <poenitz@gmx.net>
6350 * factory.C: make it aware of InsetHFill
6352 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6354 * buffer.C (latexParagraphs): move function from here...
6355 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6358 2003-03-10 Angus Leeming <leeming@lyx.org>
6360 * LyXAction.C (init): fix bug in poplating array with multiple entries
6361 with the same LFUN (spotted by JMarc).
6363 2003-03-10 John Levon <levon@movementarian.org>
6366 * text2.C: move getColumnNearX() near its
6369 2003-03-10 John Levon <levon@movementarian.org>
6371 * text.C: fix break before a minipage
6373 2003-03-10 John Levon <levon@movementarian.org>
6375 * text.C: fix the last commit
6377 2003-03-09 John Levon <levon@movementarian.org>
6381 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6382 bug 365 (don't break before insets unless needed). Don't
6383 return a value > last under any circumstances.
6385 2003-03-09 Angus Leeming <leeming@lyx.org>
6387 * BufferView_pimpl.C (trackChanges, dispatch): call
6388 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6390 2003-03-09 Angus Leeming <leeming@lyx.org>
6392 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6393 than Dialogs::showAboutlyx().
6395 2003-03-09 Angus Leeming <leeming@lyx.org>
6397 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6398 than Dialogs::showTabularCreate().
6400 2003-03-09 John Levon <levon@movementarian.org>
6404 * text2.C: 3rd arg to nextBreakPoint was always the same.
6407 2003-03-08 John Levon <levon@movementarian.org>
6414 * text2.C: Remove the "main" bit from the "main body"
6417 2003-03-08 John Levon <levon@movementarian.org>
6419 * text.C (leftMargin): The left margin of an empty
6420 manual label paragraph should not include the label width
6423 * text.C (prepareToPrint): don't attempt to measure hfills
6424 for empty manual label paragraphs - the answer should be 0
6426 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * CutAndPaste.C: remove commented code and reindent.
6430 2003-03-08 John Levon <levon@movementarian.org>
6433 * lyxfunc.C: move reloadBuffer()
6436 * BufferView.C: to here
6438 * lyxvc.C: add comment
6441 * vc-backend.C: call bv->reload() to avoid
6442 getStatus() check on MENURELOAD
6444 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6446 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6447 to an old format .dep file.
6449 2003-03-07 Angus Leeming <leeming@lyx.org>
6451 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6452 when the LFUN_MOUSE_RELEASE should have been handled by
6453 inset->localDispatch.
6455 2003-03-07 Angus Leeming <leeming@lyx.org>
6457 * BufferView_pimpl.C (dispatch):
6458 * LyXAction.C (init):
6459 * ToolbarDefaults.C (init):
6461 * lyxfunc.C (getStatus):
6462 remove LFUN_INSET_GRAPHICS.
6464 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6466 2003-03-07 Angus Leeming <leeming@lyx.org>
6469 * LyXAction.C (init):
6470 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6472 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6475 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6477 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6478 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6480 2003-03-07 Angus Leeming <leeming@lyx.org>
6482 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6485 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * ParagraphList.C (front): new function
6490 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6492 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6493 and top_row_offset_. removed var first_y.
6495 * text2.C (LyXText, removeRow):
6497 * BufferView_pimpl.C:
6498 use these methods instead of using first_y
6500 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * text2.C (pasteSelection): adjust for checkPastePossible
6504 * CutAndPaste.C: remove Paragraph * buf and replace with
6505 ParagraphList paragraphs.
6506 (DeleteBuffer): delete
6507 (cutSelection): change the tc type to textclass_type
6508 (copySelection): change the tc type to textclass_type
6509 (copySelection): adjust for ParagraphList
6510 (pasteSelection): change the tc type to textclass_type
6511 (pasteSelection): adjust for Paragraphlist
6512 (nrOfParagraphs): simplify for ParagraphList
6513 (checkPastePossible): simplify for ParagraphList
6514 (checkPastePossible): remove unused arg
6516 * ParagraphList.C (insert): handle the case where there are no
6519 * CutAndPaste.h: make CutAndPaste a namespace.
6521 * text3.C (dispatch): adjust
6523 * text.C (breakParagraph): add a ParagraphList as arg
6525 * paragraph_funcs.C (breakParagraph): change to take a
6526 BufferParams and a ParagraphList as args.
6527 (breakParagraphConservative): ditto
6528 (mergeParagraph): ditto
6529 (TeXDeeper): add a ParagraphList arg
6530 (TeXEnvironment): ditto
6533 * buffer.C (readLyXformat2): adjust
6534 (insertStringAsLines): adjust
6535 (latexParagraphs): adjust
6537 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6538 (cutSelection): adjust
6539 (pasteSelection): adjust
6541 * BufferView_pimpl.C (insertInset): adjust
6543 2003-03-05 Angus Leeming <leeming@lyx.org>
6546 * LyXAction.C (init):
6547 * BufferView_pimpl.C (dispatch):
6548 * lyxfunc.C (getStatus):
6549 remove LFUN_CHILD_INSERT.
6551 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6553 2003-03-05 Angus Leeming <leeming@lyx.org>
6556 * LyXAction.C (init):
6557 * src/factory.C (createInset):
6558 * lyxfunc.C (getStatus):
6559 * text3.C (dispatch):
6560 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6562 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6564 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6566 * ParagraphList.C (insert): handle insert right before end()
6567 (erase): fix cases where it can be first or last paragraph.
6569 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6572 Paragraph::next and Paragraph::previous
6575 * text.C (breakParagraph): adjust
6577 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6578 BufferParams& as arg.
6579 (breakParagraph): use ParagraphList::insert
6580 (breakParagraphConservative): take a Buffer* instead of a
6581 BufferParams& as arg.
6582 (breakParagraphConservative): use ParagraphList::insert.
6584 * buffer.C (insertStringAsLines): un-const it
6585 (insertStringAsLines): adjust
6587 * ParagraphList.C (insert): new function
6589 * CutAndPaste.C (pasteSelection): adjust
6591 * text.C (backspace): adjust
6593 * tabular.C (SetMultiColumn): adjust
6595 * CutAndPaste.C (cutSelection): adjust
6596 (pasteSelection): adjust
6598 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6599 Buffer const * as arg
6601 * ParagraphList.C (erase): new function
6602 * paragraph_funcs.C (mergeParagraph): use it
6603 (mergeParagraph): make it take a Buffer* instead of a
6604 BufferParams* as arg
6606 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6608 (breakParagraphConservative): ditto
6610 * paragraph.h: remove the breakParagraph friend
6612 * paragraph.C (eraseIntern): new function
6613 (setChange): new function
6615 * paragraph_funcs.C (mergeParagraph): make it take a
6616 ParagraphList::iterator instead of a Paragraph *, adjust
6619 * paragraph.h: move an #endif so that the change tracking stuff
6620 also works in the NO_NEXT case.
6622 2003-03-04 Angus Leeming <leeming@lyx.org>
6625 * LyXAction.C: new LFUN_INSET_MODIFY.
6627 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6628 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6630 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * several files: ws changes only
6634 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6635 (TeXEnvironment): ditto
6638 * buffer.C (makeLaTeXFile): adjust
6639 (latexParagraphs): make it take ParagraphList::iterator as args
6641 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6643 * buffer.C (latexParagraphs): adjust
6645 * paragraph.C (TeXOnePar): move function...
6646 (optArgInset): move function...
6647 (TeXEnvironment): move function...
6648 * paragraph_pimpl.C (TeXDeeper): move function...
6649 * paragraph_funcs.C: ...here
6651 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6653 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6655 * buffer.C (readInset): remove compability code for old Figure and
6658 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6660 * buffer.C: ws changes
6663 * BufferView_pimpl.C: ditto
6666 * bufferlist.h: ditto
6670 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6672 * converter.[Ch]: split into itself +
6675 * Makefile.am: += graph.[Ch] + format.[Ch]
6682 * lyxrc.C: added #include "format.h"
6684 2003-02-27 Angus Leeming <leeming@lyx.org>
6686 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6689 * factory.C (createInset): add "label" to the factory.
6691 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6692 string and do no more.
6694 2003-02-27 Angus Leeming <leeming@lyx.org>
6697 * LyXAction.C (init):
6698 * factory.C (createInset):
6699 * BufferView_pimpl.C (dispatch):
6700 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6702 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6704 * lyxfunc.C (dispatch):
6705 * text3.C (dispatch): pass name to params2string.
6707 2003-02-26 Angus Leeming <leeming@lyx.org>
6709 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6711 Rearrange the ~includes. Strip out the unnecessary ones.
6713 * factory.C (createInset): reformat.
6714 create new insets for the various LFUN_XYZ_APPLY lfuns.
6716 2003-02-26 John Levon <levon@movementarian.org>
6719 * lyxrow.C: add isParStart,isParEnd helpers
6721 * paragraph.h: make isInserted/DeletedText take refs
6723 * paragraph_funcs.h:
6724 * paragraph_funcs.C: remove #if 0'd code
6729 * text.C: use lyxrow helpers above.
6730 Move draw and paint routines to RowPainter.
6731 Make several methods use refs not pointers.
6732 Make backgroundColor() const.
6733 Add markChangeInDraw(), isInInset().
6734 Merge changeRegionCase into changeCase.
6735 Make workWidth() shouldn't-happen code into an Assert.
6738 * rowpainter.C: new class for painting a row.
6741 * vspace.C: make inPixels take a ref
6743 2003-02-26 Angus Leeming <leeming@lyx.org>
6745 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6748 2003-02-25 John Levon <levon@movementarian.org>
6750 * ispell.C: give the forked command a more accurate name
6752 2003-02-22 John Levon <levon@movementarian.org>
6755 * toc.C: make TocItem store an id not a Paragraph *
6758 2003-02-21 Angus Leeming <leeming@lyx.org>
6760 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6761 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6762 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6763 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6764 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6765 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6767 * BufferView_pimpl.C (dispatch):
6768 * LyXAction.C (init):
6769 * factory.C (createInset):
6770 * lyxfunc.C (getStatus, dispatch):
6771 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6773 2003-02-21 Angus Leeming <leeming@lyx.org>
6775 * BufferView_pimpl.C (MenuInsertLyXFile):
6776 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6777 * lyxfunc.C (menuNew, open, doImport):
6778 no longer pass a LyXView & to fileDlg.
6780 2003-02-21 Angus Leeming <leeming@lyx.org>
6782 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6783 * LyXAction.C: change, BIBKEY to BIBITEM.
6784 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6785 Change InsetBibKey to InsetBibitem.
6786 Change BIBKEY_CODE to BIBITEM_CODE.
6787 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6788 * factory.C: replace insetbib.h with insetbibitem.h.
6789 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6790 * paragraph.C: replace insetbib.h with insetbibitem.h.
6791 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6792 Change bibkey() to bibitem().
6793 * text.C: remove insetbib.h.
6794 * text2.C: replace insetbib.h with insetbibitem.h.
6795 change bibkey() to bibitem().
6796 * text3.C: remove insetbib.h.
6797 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6799 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6801 * lyxrc.C (output): enclose user email in quotes (in case there are
6804 2003-02-18 John Levon <levon@movementarian.org>
6806 * buffer.h: add std::
6808 2003-02-17 John Levon <levon@movementarian.org>
6814 * pspell.C: reworking. Especially in ispell, a large
6815 number of clean ups and bug fixes.
6817 * lyxfunc.C: fix revert to behave sensibly
6819 2003-02-17 André Pönitz <poenitz@gmx.net>
6822 * commandtags.h: new LFUN_INSERT_BIBKEY
6832 * paragraph_func.C: remove special bibkey handling
6834 2003-02-17 John Levon <levon@movementarian.org>
6836 * text.C (Delete): fix case where delete at the end of
6837 the very first paragraph would not merge the pars
6839 2003-02-17 John Levon <levon@movementarian.org>
6841 * lyxrow.C: fix lastPrintablePos()
6843 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6845 * bufferparams.C (writeLaTeX): add a std:here
6847 * buffer.C: and remove a using directive there
6849 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6851 * buffer.C (makeLaTeXFile): move the code that generates the
6854 * bufferparams.C (writeLaTeX): ... in this new method
6856 * LaTeXFeatures.C (getEncodingSet): make const
6857 (getLanguages): make const
6859 * MenuBackend.C (binding): returns the binding associated to this
6861 (add): sets the status of each item by calling getStatus. Adds
6863 (read): add support for OptSubMenu
6864 (expand): remove extra separator at the end of expanded menu
6866 2003-02-15 John Levon <levon@movementarian.org>
6869 * BufferView_pimpl.C:
6871 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6872 inset code that had no actual effect. Remove unneeded status
6875 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6877 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6880 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6882 * text.C (drawLengthMarker): also draw an arrow marker for
6883 symbolic lengths (medskip...)
6885 2003-02-14 John Levon <levon@movementarian.org>
6888 * tabular.C: better method names
6890 2003-02-14 John Levon <levon@movementarian.org>
6892 * BufferView_pimpl.C:
6897 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6898 it's a more accurate name. Remove some pointless uses.
6900 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6902 * text2.C (LyXText): change order of initilizers to shut off
6905 2003-02-14 John Levon <levon@movementarian.org>
6907 * buffer.C: use ParIterator for getParFromID()
6911 * paragraph_pimpl.h:
6912 * paragraph_pimpl.C: remove unused getParFromID()
6914 2003-02-14 John Levon <levon@movementarian.org>
6916 * buffer.C: remove some very old #if 0'd parse code
6918 2003-02-13 John Levon <levon@movementarian.org>
6922 * text2.C: move hfillExpansion(), numberOfSeparators(),
6923 rowLast(), rowLastPrintable(), numberofHfills(),
6924 numberOfLabelHfills() ...
6927 * lyxrow.C: ... to member functions here.
6932 * text.C: remove LyXText::beginningOfMainBody(), and call
6933 p->beginningOfMainBody() directly. Move the check for
6934 LABEL_MANUAL into the latter.
6941 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6947 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6948 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6950 2003-02-13 John Levon <levon@movementarian.org>
6952 * CutAndPaste.C: remove debug
6954 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * paragraph.C (asString): remove two unused variables
6958 * lyxtextclass.C (readTitleType):
6960 (LyXTextClass): handle new members titletype_ and titlename_
6962 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6964 2003-02-09 John Levon <levon@movementarian.org>
6967 * buffer.C: replace hand-coded list with a map for the dep clean
6969 2003-02-08 John Levon <levon@movementarian.org>
6971 * LaTeX.C: consolidate code into showRunMessage() helper
6973 2003-02-08 John Levon <levon@movementarian.org>
6978 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6979 and pass the size in explicitly
6981 * BufferView_pimpl.h:
6982 * BufferView_pimpl.C:
6984 * BufferView.C: add getCurrentChange()
6986 * BufferView_pimpl.h:
6987 * BufferView_pimpl.C: handle change lfuns
6989 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6990 for changes. Mark pasted paragraphs as new.
6992 * support/lyxtime.h:
6993 * support/lyxtime.C:
6994 * DepTable.C: abstract time_t as lyx::time_type
6997 * LColor.C: add colours for new text, deleted text, changebars
6999 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7000 package use "usenames" option.
7004 * LyXAction.C: add change lfuns
7008 * author.C: author handling
7011 * buffer.C: add a per-buffer author list, with first entry as
7012 current author. Handle new .lyx tokens for change tracking. Output
7013 author list to .lyx file. Output dvipost stuff to .tex preamble.
7014 Bump lyx format to 222.
7017 * bufferlist.C: add setCurrentAuthor() to reset current author details
7021 * bufferparams.C: add param for tracking
7023 * bufferview_funcs.C: output change info in minibuffer
7027 * changes.C: add change-tracking structure
7030 * debug.C: add CHANGES debug flag
7033 * lyxfind.C: add code for finding the next change piece
7036 * lyxrc.C: add user_name and user_email
7039 * lyxrow.C: add a metric for the top of the text line
7042 * text.C: implement accept/rejectChange()
7045 * text.C: paint changebars. Paint new/deleted text in the chosen
7046 colours. Strike through deleted text.
7050 * paragraph_pimpl.h:
7051 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7052 in the current change to the insert functions. Rework erase to
7053 mark text as deleted, adding an eraseIntern() and a range-based
7054 erase(). Implement per-paragraph change lookup and
7057 * paragraph_funcs.C: Fixup paste for change tracking.
7059 * tabular.C: mark added row/columns as new.
7061 * text.C: fix rowLast() to never return -1. Don't allow
7062 spellchecking of deleted text. Track transpose changes. Don't
7063 allow paragraph break or merge where appropriate.
7065 * text2.C: leave cursor at end of selection after a cut.
7067 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7069 * text.C (getLengthMarkerHeight):
7070 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7071 visible on screen too.
7073 2003-02-07 John Levon <levon@movementarian.org>
7075 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7077 2003-02-05 Angus Leeming <leeming@lyx.org>
7079 * lyxserver.C (read_ready): revert my patch of 11 September last year
7080 as it sends PC cpu through the roof. Presumably this means that
7081 the lyxserver will no longer run on an Alpha...
7083 2003-01-30 Angus Leeming <leeming@lyx.org>
7085 * factory.C (createInset): create an InsetCommandParam of type "index"
7086 and use it to 'do the right thing'.
7088 * text2.C (getStringToIndex): ensure that cursor position is always
7089 reset to the reset_cursor position.
7091 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7093 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7096 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7100 * lyxfunc.C: Output messages with identical spelling, punctuation,
7103 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7105 * MenuBackend.C (expandFormats): List only viewable export formats
7108 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7111 * lyxfunc.C (getStatus): Make sure that formats other than
7112 "fax" can also be disabled
7114 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7116 * text3.C (dispatch): put the lfuns that insert insets in 3
7117 groups, and call doInsertInset with appropriate arguments.
7118 (doInsertInset): new function, that creates an inset and inserts
7119 it according to some boolean parameters.
7121 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * buffer.C (readFile): remember to pass on 'par' when calling
7124 readFile recursively.
7126 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7128 * MenuBackend.C (expandFormats): add "..." to import formats.
7130 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7132 * paragraph.C (asString): Remove XForms RTL hacks.
7134 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7135 * buffer.C: fix typo
7137 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * Makefile.am (LIBS): delete var
7140 (lyx_LDADD): add @LIBS@ here instead.
7142 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7144 * Clarify the meaning of "wheel mouse jump"
7146 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7148 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7151 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7153 * importer.C (Loaders): do not preallocate 3 elements in the
7154 vector, since one ends up with 6 elements otherwise
7156 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7158 * DepTable.C (write): write the file name as last element of the
7159 .dep file (because it may contain spaces)
7160 (read): read info in the right order
7162 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7164 * paragraph_pimpl.C (simpleTeXBlanks):
7165 (simpleTeXSpecialChars):
7166 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7168 * tabular.C (latex): add some missing case statements. Reindent.
7170 * MenuBackend.C (expandToc): remove unused variable.
7172 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7181 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7184 2003-01-05 John Levon <levon@movementarian.org>
7187 * BufferView.C: add getEncoding()
7190 * kbsequence.C: do not store last keypress
7193 * lyxfunc.C: store last keypress here instead. Pass encoding
7196 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7198 * lyx_main.C (init): remove annoying error message when following
7199 symbolic links (bug #780)
7201 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7203 * text.C (insertChar):
7204 * lyxrc.C (getDescription): remove extra spaces
7206 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7208 * lyxrc.C (getDescription): remove extra spaces
7210 2002-12-20 John Levon <levon@movementarian.org>
7212 * text3.C: hack fix for page up/down across tall rows
7214 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7216 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7219 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7221 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7222 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7223 thesaurus is not compiled in
7225 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7227 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7229 2002-12-16 Angus Leeming <leeming@lyx.org>
7232 * lyx_main.C (init): remove override_x_deadkeys stuff.
7234 2002-12-12 John Levon <levon@movementarian.org>
7236 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7237 insert. Only remove shift modifier under strict
7240 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7242 * MenuBackend.C (expandToc): fix crash.
7244 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * MenuBackend.C (expandToc): gettext on float names.
7248 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7250 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7251 implement bool empty() [bug 490]
7253 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7255 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7257 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * several files: ws changes
7261 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * text2.C (setCounter): clean up a bit, use boost.format.
7264 (updateCounters): initialize par upon declaration.
7266 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7267 if the layout exists. We do not just store the layout any more.
7268 (SwitchLayoutsBetweenClasses): use boost.format
7270 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7272 * converter.C (convert): if from and to files are the same, use a
7273 temporary files as intermediary
7275 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7278 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7280 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7282 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7284 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7286 * tabular.C (asciiPrintCell): use string(size, char) instead of
7289 * sgml.C (openTag): fix order of arguments to string constructor
7292 * lyxfunc.C (dispatch): use boost.format
7294 * lots of files: change "c" -> 'c'
7296 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7298 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7300 2002-11-25 Angus Leeming <leeming@lyx.org>
7302 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7304 * lyx_main.C (init): compile fix.
7306 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7308 * lyx_cb.C (start): boost.formatify
7309 do not include <iostream>
7311 * lengthcommon.C: ws only
7313 * boost-inst.C,BoostFormat.h: add more explict instantations
7315 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7317 * lots of files: handle USE_BOOST_FORMAT
7319 2002-11-21 John Levon <levon@movementarian.org>
7321 * pspell.C: fix compile
7323 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7325 * lyxfunc.C (dispatch): use boost::format
7329 * lyxfont.C (stateText): use boost::format
7331 * lyx_main.C (LyX): use boost::format
7333 (queryUserLyXDir): ditto
7336 (typedef boost::function): use the recommened syntax.
7338 * importer.C (Import): use boost::format
7340 * debug.C (showLevel): use boost::format
7342 * converter.C (view): use boost::format
7347 * bufferview_funcs.C (currentState): use boost::format
7349 * bufferlist.C (emergencyWrite): use boost::format
7351 * buffer.C (readLyXformat2): use boost::format
7352 (parseSingleLyXformat2Token): ditto
7354 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7356 * LaTeX.C (run): use boost::format
7358 * Chktex.C (scanLogFile): use boost::format
7360 * BufferView_pimpl.C (savePosition): use boost::format
7361 (restorePosition): ditto
7362 (MenuInsertLyXFile): ditto
7364 * BoostFormat.h: help file for explicit instation.
7366 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7368 * tabular.C (latex): Support for block alignment in fixed width
7371 2002-11-17 John Levon <levon@movementarian.org>
7373 * BufferView_pimpl.C:
7375 * lyxfunc.C: split filedialog into open/save
7377 2002-11-08 Juergen Vigna <jug@sad.it>
7379 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7380 by my last patch (hopefully).
7382 2002-11-08 John Levon <levon@movementarian.org>
7391 * toc.C: ParConstIterator, and use it (from Lars)
7393 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7395 * lyxtextclass.[Ch]: revise and add doxygen comments
7397 2002-11-07 John Levon <levon@movementarian.org>
7399 * text.C: fix progress value for spellchecker
7401 * toc.C: fix navigate menu for insetwrap inside minipage
7403 * paragraph_funcs.C: added FIXME for suspect code
7405 2002-11-07 John Levon <levon@movementarian.org>
7407 * BufferView_pimpl.C: fix redrawing of insets
7410 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7412 * text2.C (updateCounters): fix bug 668
7414 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7416 * text3.C (dispatch): Do not make the buffer dirty when moving the
7419 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * vc-backend.C: STRCONV
7424 * text2.C (setCounter): STRCONV
7426 * paragraph.C (asString): STRCONV
7428 * lyxlength.C (asString): STRCONV
7429 (asLatexString): ditto
7431 * lyxgluelength.C (asString): STRCONV
7432 (asLatexString): ditto
7434 * lyxfunc.C (dispatch): STRCONV
7437 * lyxfont.C (stateText): STRCONV
7439 * importer.C (Import): STRCONV
7441 * counters.C (labelItem): STRCONV
7442 (numberLabel): ditto
7443 (numberLabel): remove unused ostringstream o
7448 * bufferview_funcs.C (currentState): STRCONV
7450 * buffer.C (readFile): STRCONV
7451 (asciiParagraph): ditto
7452 (makeLaTeXFile): ditto
7454 * Spacing.C (writeEnvirBegin): STRCONV
7456 * LaTeXFeatures.C (getLanguages): STRCONV
7457 (getPackages): ditto
7459 (getBabelOptions): ditto
7460 (getTClassPreamble): ditto
7461 (getLyXSGMLEntities): ditto
7462 (getIncludedFiles): ditto
7466 (scanAuxFile): ditto
7469 * LString.h: add the STRCONV macros
7471 * BufferView_pimpl.C (savePosition): STRCONV
7472 (restorePosition): ditto
7473 (MenuInsertLyXFile): ditto
7475 * vc-backend.C (scanMaster): change from submatch[...] to
7478 * funcrequest.C: include config.h
7480 * factory.C: include config.h
7482 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7484 * box.C: include config.h
7486 * LaTeX.C (scanAuxFile): change from submatch[...] to
7490 2002-10-25 Angus Leeming <leeming@lyx.org>
7492 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7494 * ispell.[Ch] (setError): new method.
7495 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7496 Use setError() insetead of goto END.
7498 * lyx_cb.C (AutoSave): move out child process into new class
7501 2002-10-30 John Levon <levon@movementarian.org>
7503 * text3.C: make start appendix undoable
7505 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7507 * lyxlength.C (inPixels): Fix returned value.
7509 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7512 2002-10-24 Angus Leeming <leeming@lyx.org>
7514 * lyxgluelength.h: no need to forward declare BufferParams
7515 or BufferView, so don't.
7517 2002-10-21 John Levon <levon@movementarian.org>
7519 * BufferView.C: menuUndo ->undo, redo
7521 * BufferView.h: document, remove dead, make some methods private
7523 * paragraph_funcs.h:
7524 * paragraph_funcs.C:
7525 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7530 * sgml.C: move sgml open/close tag into sgml.C
7532 * bufferview_funcs.h: unused prototype
7535 * lyxfunc.C: remove unused
7538 * text.C: remove unused
7540 2002-10-21 John Levon <levon@movementarian.org>
7544 * BufferView_pimpl.h:
7545 * BufferView_pimpl.C: fix mouse wheel handling based on
7546 patch from Darren Freeman
7548 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7550 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7552 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7554 * lyxlength.C (inPixels): Fix hanfling of negative length.
7555 Fix LyXLength::MU case.
7557 2002-10-16 John Levon <levon@movementarian.org>
7559 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7561 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7563 * converter.C (view): add support for $$i (file name) and $$p
7564 (file path) for the viewer command. If $$i is not specified, then
7565 it is appended to the command (for compatibility with old syntax)
7567 2002-10-14 Juergen Vigna <jug@sad.it>
7569 * undo_funcs.C (textHandleUndo): alter the order in which the
7570 new undopar is added to the LyXText, as we have to set first
7571 the right prev/next and then add it as otherwise the rebuild of
7572 LyXText is not correct. Also reset the cursor to the right paragraph,
7573 with this IMO we could remove the hack in "redoParagraphs()".
7575 2002-10-09 Angus Leeming <leeming@lyx.org>
7577 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7578 to turn off an optimisation if a new inset is to be inserted.
7580 2002-10-11 André Pönitz <poenitz@gmx.net>
7582 * lyxtext.h: make some functions public to allow access
7583 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7585 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7587 * text3.C (dispatch): when changing layout, avoid an infinite loop
7590 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7592 * lyxrc.C (read): treat a viewer or converter command of "none" as
7595 * MenuBackend.C (expandFormats): for an update, also allow the
7596 formats that are not viewable
7598 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7599 script if it is newer than the lyxrc.defaults in user directory
7601 2002-10-07 André Pönitz <poenitz@gmx.net>
7603 * text.C: Vitaly Lipatov's small i18n fix
7605 2002-09-25 Angus Leeming <leeming@lyx.org>
7607 * ispell.h: doxygen fix.
7609 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7611 * buffer.h (readFile): Add a new argument to the method, to allow
7612 reading of old-format templates.
7614 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7616 * toc.C (getTocList): Get TOC from InsetWrap.
7618 2002-09-16 John Levon <levon@movementarian.org>
7620 * lyxfunc.C: check tabular for cut/copy too
7622 2002-09-12 John Levon <levon@movementarian.org>
7627 * factory.C: add header
7629 * paragraph_funcs.h:
7630 * paragraph_funcs.C: cleanup
7632 2002-09-11 John Levon <levon@movementarian.org>
7634 * PrinterParams.h: odd/even default to true
7636 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7638 * PrinterParams.h: update printer parameters for new xforms dialog
7640 2002-09-11 Angus Leeming <leeming@lyx.org>
7642 * lyxserver.C (read_ready): re-write to make it more transparent
7643 and to make it work in coherent fashion under Tru64 Unix.
7645 2002-09-11 André Pönitz <poenitz@gmx.net>
7649 * text3.C: implement LFUN_WORDSEL
7651 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7653 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7654 make floatlist_ a boost::shared_ptr<FloatList>
7656 * lyxtextclass.C: include FloatList.h
7657 (LyXTextClass): initialize floatlist_
7658 (TextClassTags): add TC_NOFLOAT
7659 (Read): match "nofloat" to TC_NOFLOAT and use it.
7660 (readFloat): modify call to floatlist_
7664 * FloatList.[Ch] (FloatList): remove commented out float
7666 (erase): new function
7668 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7670 * MenuBackend.C (expandToc): fix crash when there is no document
7673 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7675 * many files: Add insetwrap.
7677 2002-09-09 John Levon <levon@movementarian.org>
7679 * text2.C: remove confusing and awkward depth wraparound
7681 2002-09-09 John Levon <levon@movementarian.org>
7683 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7686 * buffer.C: remove getIncludeonlyList()
7689 * lyxfunc.C: remove headers
7691 2002-09-09 Juergen Vigna <jug@sad.it>
7693 * text.C (getColumnNearX): fix form Michael this is most
7694 probably a cut&paste bug.
7696 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7700 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7701 references, ws changes.
7703 * text2.C (init): update counters after init
7704 (insertParagraph): no need to set counter on idividual paragraphs.
7705 (setCounter): access the counters object in the textclass object
7706 on in the buffer object.
7707 (updateCounters): ditto
7709 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7710 shared_ptr<Counters> to avoid loading counters.h in all
7712 (LyXTextClass): initialize ctrs_
7713 (TextClassTags): add TC_COUNTER, and ...
7714 (Read): use it here.
7715 (CounterTags): new tags
7716 (readCounter): new function
7717 (counters): new funtion
7718 (defaultLayoutName): return a const reference
7720 * counters.C (Counters): remove contructor
7721 (newCounter): remove a couple of unneeded statements.
7722 (newCounter): simplify a bit.
7723 (numberLabel): some small formatting changes.
7725 * buffer.[Ch]: remove all traces of counters, move the Counters
7726 object to the LyXTextClass.
7728 2002-09-06 Alain Castera <castera@in2p3.fr>
7730 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7731 package to set the horizontal alignment on fixed width columns.
7734 * lyx_sty.h: added tabularnewline macro def.
7736 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7738 2002-09-06 John Levon <levon@movementarian.org>
7740 * LyXAction.C: tooltips for sub/superscript
7742 * MenuBackend.C: a bit more verbose
7744 * lyxfunc.C: tiny clean
7746 * undo_funcs.C: document undo_frozen
7748 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * counters.C (Counters): add missing algorithm counter.
7752 * text2.C (setCounter): lookup the counter with layouts latexname
7753 instead of by section number.
7754 (setCounter): use a hackish way to lookup the correct enum
7756 a float name->type change
7757 reset enum couners with counter name directly instead of depth value.
7759 * counters.C (Counters): remove the push_backs, change to use the
7760 float type not the float name.
7761 (labelItem): remove unused string, float name->type change
7763 * counters.h: don't include vector, loose the enums and sects vectors
7765 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7768 (Read): add float->TC_FLOAT to textclassTags
7769 (Read): and handle it in the switch
7770 (readFloat): new function
7772 * FloatList.C (FloatList): comment out the hardcoded float
7775 * lyxlayout.h: ws change.
7777 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7779 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7781 2002-09-03 Angus Leeming <leeming@lyx.org>
7783 * BufferView_pimpl.h: qualified name is not allowed in member
7784 declaration: WorkArea & Pimpl::workarea() const;
7786 * factory.C: added using std::endl directive.
7788 * text3.C: added using std::find and std::vector directives.
7790 2002-08-29 André Pönitz <poenitz@gmx.net>
7793 * text2.C: remove unused member number_of_rows
7796 * BufferView2.C: remove file, move contents to...
7797 * BufferView.C: ... here
7799 * BufferView_pimpl.C:
7800 * factory.C: move more inset creation to factory
7802 * vspace.C: avoid direct usage of LyXText, ws changes
7805 don't provide direct access to WorkArea, use two simple
7806 acessors haveSelction() and workHeight() instead
7809 2002-08-29 John Levon <levon@movementarian.org>
7811 * BufferView_pimpl.C (dispatch): do not continue when
7814 2002-08-28 André Pönitz <poenitz@gmx.net>
7816 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7819 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7821 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7823 * buffer.C: increment LYX_FORMAT to 221
7825 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7826 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7828 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7830 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7832 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7834 * factory.C (createInset): use LyXTextClass::floats
7836 * MenuBackend.C (expandFloatListInsert):
7837 (expandFloatInsert):
7840 * text2.C (setCounter):
7842 * LaTeXFeatures.C (useFloat):
7843 (getFloatDefinitions):
7845 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7847 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7848 floatlist_, with accessor floats().
7850 * FloatList.h: remove global FloatList
7852 2002-08-26 André Pönitz <poenitz@gmx.net>
7854 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7858 * BufferView_pimpl.C:
7859 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7861 2002-08-25 John Levon <levon@movementarian.org>
7863 * LyXAction.C: fix margin note description
7865 2002-08-24 John Levon <levon@movementarian.org>
7869 * bufferview_funcs.C:
7871 * undo_funcs.C: cleanups
7873 * lyxfunc.C: disable CUT/COPY when no selection
7875 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7877 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7878 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7880 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7881 Add backward compatibility to "mono", "gray" and "no".
7883 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7885 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7886 (and file_format >= 200).
7888 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7890 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7892 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7896 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7898 * BufferView_pimpl.C:
7905 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7906 inset and code to make it work with the paragraph code. The inset
7907 can be anywhere in the paragraph, but will only do the expected
7908 thing in LaTeX if the layout file contains the parameter line
7910 (or more generally, a nonzero value) for that layout.
7912 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * paragraph.h: remove the declaration of undefined counters class
7917 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7919 * text2.C (setCounter): fixed enumeration mis-count as reported by
7920 Dr. Richard Hawkins.
7922 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7924 * paragraph_funcs.h: remove some unneeded includes
7926 * text.C (backspace): pasteParagraph now in global scipe
7928 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7929 (pasteSelection): ditto
7931 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7932 * paragraph_funcs.C (pasteParagraph): ... here
7934 2002-08-20 André Pönitz <poenitz@gmx.net>
7936 * commandtags.h: new LFUNs for swapping/copying table row/colums
7939 * lyxfunc.C: support for new lfuns
7941 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7944 * buffer.[Ch]: remove NO_COMPABILITY stuff
7946 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * boost.C (throw_exception): new file, with helper function for
7949 boost compiled without exceptions.
7954 * ParameterStruct.h:
7955 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7957 * bufferlist.C (emergencyWriteAll): use boost bind
7959 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7961 * text.C: include paragraph_funcs.h
7962 (breakParagraph): breakParagraph is now in global scope
7964 * paragraph_funcs.[Ch]: new files
7966 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7969 * buffer.C: include paragraph_funcs.h
7970 (insertStringAsLines): breakParagraph is now in global scope
7972 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7975 * CutAndPaste.C: include paragraph_funcs.h
7976 (cutSelection): breakParagraphConservative is now in global scope
7977 (pasteSelection): ditto
7979 * buffer.h: declare oprator== and operator!= for
7980 Buffer::inset_iterator
7982 * bufferlist.C (emergencyWrite): don't use fmt(...)
7984 * text3.C: add using std::endl
7986 * BufferView.C (moveCursorUpdate): remove default arg
7988 2002-08-20 André Pönitz <poenitz@gmx.net>
7990 * buffer.[Ch]: move inline functions to .C
7993 * BufferView_pimpl.C:
7995 * buffer.[Ch]: use improved inset_iterator
7998 * paragraph.[Ch]: write one paragraph at a time
8000 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8002 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8003 style if style is not specified.
8005 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8007 * text2.C (setCounter): when searching for right label for a
8008 caption, make sure to recurse to parent insets (so that a caption
8009 in a minipage in a figure float works) (bug #568)
8011 2002-08-20 André Pönitz <poenitz@gmx.net>
8013 * text3.C: new file for LyXText::dispatch() and helpers
8015 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8017 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8019 2002-08-19 André Pönitz <poenitz@gmx.net>
8022 * text.C: new LyXText::dispatch()
8024 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8026 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8028 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8030 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8033 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8035 * Makefile.am: use $(variables) instead of @substitutions@
8037 2002-08-15 André Pönitz <poenitz@gmx.net>
8040 * BufferView_pimpl.C: streamlining mathed <-> outer world
8044 * LyXAction.C: remove unused LFUN_MATH
8046 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8050 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * paragraph.C (Paragraph): reformat a bit
8053 (cutIntoMinibuffer): use builtin InsetList function instad of
8057 * buffer.C: include boost/bind.hpp, add using std::for_each
8058 (writeFileAscii): use ParagraphList iterators
8059 (validate): use for_each for validate traversal of paragraphs
8060 (getBibkeyList): use ParagraphList iterators
8061 (resizeInsets): use for_each to resizeInsetsLyXText for all
8063 (getParFromID): use ParagraphList iterators
8065 * BufferView2.C (lockInset): use paragraph list and iterators
8067 2002-08-14 John Levon <levon@movementarian.org>
8069 * lyxserver.C: remove spurious xforms include
8071 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8073 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8075 2002-08-13 André Pönitz <poenitz@gmx.net>
8078 * lyxfunc.C: further cleaning
8080 2002-08-13 André Pönitz <poenitz@gmx.net>
8082 * funcrequest.h: new constructor
8084 * funcrequest.C: move stuff here from .h
8087 * BufferView_pimpl.C:
8090 * lyxfunc.C: subsequent changes
8092 * lyxfunc.h: new view() member function
8094 * lyxfunc.C: subsequent changes
8096 2002-08-13 Angus Leeming <leeming@lyx.org>
8099 * BufferView_pimpl.C:
8107 changes due to the changed LyXView interface that now returns references
8108 to member variables not pointers.
8110 2002-08-13 Angus Leeming <leeming@lyx.org>
8112 * WordLangTuple (word, lang_code): return references to strings,
8117 * lyxtext.h: forward-declare WordLangTuple.
8122 * text.C: #include "WordLangTuple.h".
8125 * text.C: (selectNextWordToSpellcheck): constify return type.
8127 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8133 * paragraph_pimpl.h:
8136 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8138 Made updateCounter always count from start of buffer, and removed
8139 second argument (par).
8140 Reverted floats number display to '#'. Perhaps I'll try again when the
8141 code base is sanitized a bit.
8143 2002-08-12 Angus Leeming <leeming@lyx.org>
8145 * buffer.[Ch] (getLabelList): constify.
8147 2002-08-07 André Pönitz <poenitz@gmx.net>
8149 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8151 * funcrequest.h: extension to keep mouse (x,y) position
8153 2002-08-12 Juergen Vigna <jug@sad.it>
8155 * BufferView2.C (insertErrors): forbid undo when inserting error
8158 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8160 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8162 * ParagraphList.[Ch]: new files
8164 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8166 * BufferView2.C (lockInset): ParagraphList changes
8169 * bufferlist.C: ditto
8173 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8176 unused class variable counter_,
8178 * paragraph.[Ch] (getFirstCounter): delete unused function
8180 * counters.C: include LAssert.h
8181 (reset): add a new function with no arg, change other version to
8182 not have def. arg and to not allow empty arg.
8184 * text2.C (setCounter): remove empty arg from call to Counters::reset
8186 2002-08-11 John Levon <levon@movementarian.org>
8188 * Makefile.am: add WordLangTuple.h
8190 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8193 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8195 * insets/insettext.C: InsetList changes
8197 * graphics/GraphicsSupport.C (operator()): InsetList changes
8199 * toc.C (getTocList): InsetList changes
8201 * paragraph_pimpl.[Ch]: InsetList changes
8203 * paragraph.[Ch]: InsetList changes
8205 * buffer.C (inset_iterator): InsetList changes
8206 (setParagraph): ditto
8207 * buffer.h (inset_iterator): ditto
8208 * iterators.C (operator++): ditto
8209 * iterators.h: ditto
8211 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8213 * InsetList.[Ch]: new files, most InsetList handling moved out of
8216 * BufferView2.C (removeAutoInsets): InsetList changes
8218 (ChangeInsets): ditto
8220 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8222 * paragraph_pimpl.h (empty): new function
8224 * paragraph.[Ch] (empty): new function
8226 * other files: use the new Paragraph::empty function
8228 2002-08-09 John Levon <levon@movementarian.org>
8230 * lyxtext.h: remove unused refresh_height
8232 2002-08-09 John Levon <levon@movementarian.org>
8239 * paragraph.C: move sgml char escaping out of paragraph
8242 * paragraph.C: remove id setter
8246 * paragraph_pimpl.C: remove dead tex_code_break_column
8248 * bufferview_funcs.C: small cleanup
8250 * lyxfunc.C: remove dead proto
8252 * lyxtext.h: make some stuff private. Remove some dead stuff.
8254 * lyxgluelength.C: make as[LyX]String() readable
8256 2002-08-08 John Levon <levon@movementarian.org>
8261 * ToolbarDefaults.C:
8264 * toc.C: lyxaction cleanup
8266 2002-08-08 John Levon <levon@movementarian.org>
8268 * BufferView2.C: small cleanup
8271 * lyxfind.C: move unnecessary header into the .C
8273 2002-08-08 John Levon <levon@movementarian.org>
8275 * funcrequest.h: just tedious nonsense
8278 * lyx_main.C: cleanups
8281 * vspace.C: remove dead header lyx_main.h
8283 2002-08-07 Angus Leeming <leeming@lyx.org>
8286 * paragraph_pimpl.h:
8287 Forward declare class Counters in paragraph.h by moving the ctrs member
8288 variable into Paragraph::Pimpl.
8289 (counters): new method, returning a reference to pimpl_->ctrs.
8291 * text2.C: ensuing changes.
8293 2002-08-07 John Levon <levon@movementarian.org>
8295 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8297 * BufferView_pimpl.C: announce X selection on double/triple
8300 * lyx_main.C: use correct bool in batch dispatch
8302 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8304 2002-08-07 André Pönitz <poenitz@gmx.net>
8306 * funcrequest.h: new class to wrap a kb_action and its argument
8309 * BufferView_pimpl[Ch]:
8313 * lyxrc.C: subsequent changes
8316 2002-08-07 John Levon <levon@movementarian.org>
8318 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8319 document options change.
8321 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8326 * makefile.am: move counters functionality over from
8327 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8329 2002-08-06 John Levon <levon@movementarian.org>
8331 * WordLangTuple.h: new file for word + language code tuple
8342 * BufferView2.C: use WordLangTuple
8345 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8347 2002-08-06 John Levon <levon@movementarian.org>
8349 * lyx_main.C: fix cmdline batch handling
8351 2002-08-06 André Pönitz <poenitz@gmx.net>
8353 * lyxrc.C: set default for show_banner to true
8355 2002-08-06 John Levon <levon@movementarian.org>
8357 * pspell.C: fix a crash, and allow new aspell to work
8359 2002-08-06 John Levon <levon@movementarian.org>
8362 * kbmap.C: small cleanup
8365 * vspace.C: add const
8367 2002-08-05 John Levon <levon@movementarian.org>
8369 * LyXAction.C: back to tabular-insert
8371 2002-08-04 John Levon <levon@movementarian.org>
8374 * BufferView.C: cosmetic change
8376 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8386 * BufferView2.C: purge all "Lyx" not "LyX" strings
8389 * lyxcursor.C: attempt to add some documentation
8394 * ToolbarDefaults.C:
8395 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8396 merge with LFUN_TABULAR_INSERT
8403 * pspell.C: split up i/pspell implementations into separate
8404 files, many cleanups
8406 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8408 * text2.C: some cleanup
8410 * lyxfunc.C: don't check for isp_command == "none" any more, it
8411 didn't make any sense
8413 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8418 * makefile.am: move counters functionality over
8419 from text2.C/paragraph.[Ch] to counters.[Ch], and
8421 2002-08-02 John Levon <levon@movementarian.org>
8423 * buffer.C: s/lyxconvert/lyx2lyx/
8425 2002-08-02 Angus Leeming <leeming@lyx.org>
8427 * lyxlex.C: revert John's change as it breaks reading of the user
8430 2002-08-02 Angus Leeming <leeming@lyx.org>
8432 * importer.C (Import):
8433 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8434 changes due to LyXView::view() now returning a boost::shared_ptr.
8436 2002-08-02 John Levon <levon@movementarian.org>
8438 * lyxlex.C: small cleanup
8440 2002-08-02 John Levon <levon@movementarian.org>
8442 * text2.C (status): small cleanup, no logic change
8444 2002-08-01 John Levon <levon@movementarian.org>
8447 * buffer.C (writeFile): don't output alerts, caller
8451 * lyx_cb.C: from above
8453 * lyxfunc.C: allow to open non-existent files
8455 2002-07-31 John Levon <levon@movementarian.org>
8457 * lyxserver.C: don't let incidental errors get
8460 2002-07-30 John Levon <levon@movementarian.org>
8462 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8464 2002-07-30 John Levon <levon@movementarian.org>
8467 * lyxserver.C: remove I/O callback too
8469 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8471 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8474 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8476 * many files: strip,frontStrip -> trim,ltrim,rtrim
8478 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * PrinterParams.h: remove extern containsOnly, and include
8481 support/lstrings.h instead.
8483 * LaTeX.C (scanAuxFile): modify because of strip changes
8485 * buffer.C (makeLaTeXFile): ditto
8486 * bufferparams.C (writeFile): ditt
8487 * lyxfont.C (stateText): ditto
8488 * lyxserver.C (read_ready): ditto
8489 * vc-backend.C (scanMaster): ditto
8491 * BufferView_pimpl.h: ws changes
8493 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8495 2002-07-26 André Pönitz <poenitz@gmx.net>
8497 * kb_sequence.C: remove unnedred usings
8499 2002-07-26 Juergen Vigna <jug@sad.it>
8501 * lyxfind.C (LyXReplace): we have to check better if the returned
8502 text is not of theLockingInset()->getLockingInset().
8504 2002-07-25 Juergen Vigna <jug@sad.it>
8506 * lyxfind.C (LyXReplace): don't replace if we don't get the
8509 * undo_funcs.C (createUndo): remove debugging code.
8511 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8513 * buffer.C (parseSingleLyXformat2Token): Use default placement
8514 when reading old floats.
8516 * FloatList.C (FloatList): Change the default placement of figure
8517 and tables to "tbp".
8519 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8521 * MenuBackend.C: using std::max
8523 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * MenuBackend.C (expandToc):
8526 (expandToc2): code moved from xforms menu frontend. It is now
8527 generic and TOCs are transparent to menu frontends.
8529 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8531 * toc.C (getTocList): protect against buf=0
8533 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8534 Menu as first parameter. Now, this calls itself recursively to
8535 expand a whole tree (this will be useful for TOC handling)
8536 (expandFloatInsert): remove 'wide' version of floats
8538 * MenuBackend.h (submenuname): returns the name of the submenu.
8539 (submenu): returns the submenu itself, provided it has been
8540 created by MenuBackend::expand
8542 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8544 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8545 insets which have noFontChange == true. (bug #172)
8547 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8549 * BufferView_pimpl.C: add connection objects and use them...
8552 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8554 * MenuBackend.C (expandLastfiles):
8557 (expandFloatListInsert):
8558 (expandFloatInsert):
8559 (expand): split expand in parts
8561 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8563 * lyx_gui.C: use lyx_gui::exit()
8565 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8567 * LyXAction.C: show the failing pseudo action
8569 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8571 * buffer.C (readFile): Run the lyxconvert script in order to read
8574 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8578 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8580 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8584 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8586 2002-07-22 Herbert Voss <voss@lyx.org>
8589 * lyxlength.[Ch]: add support for the vertical lengths
8591 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8593 * toc.[Ch]: std:: fixes
8595 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8597 * lyxrc.C: do not include lyx_main.h
8599 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8605 * BufferView2.C: include "lyxlex.h"
8608 * bufferparams.h: do not #include "lyxlex.h"
8610 * lyxtextclasslist.C (Add): remove method
8611 (classlist): renamed to classlist_
8613 * paragraph_pimpl.C:
8617 * bufferview_funcs.C:
8622 * toc.C (getTocList): use BufferParams::getLyXTextClass
8624 * toc.C (getTocList): use InsetFloat::addToToc
8626 * toc.[Ch]: new files, containing helper functions to handle table
8629 * lyxfunc.C (dispatch): no need to remove spaces around command
8631 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8632 first command of the sequence; it is not very clever, but I do not
8633 have a better idea, actually
8635 * LyXAction.C (LookupFunc): make sure to remove space at the
8636 beginning and end of the command
8638 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8640 * MenuBackend.C (getMenubar): new method: return the menubar of
8642 (read): treat differently reading of menu and menubar (in
8643 particular, the menubar has no name now)
8644 (Menu::menubar): remove
8646 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8649 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8651 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8652 a bibitem inset in a RTL paragraph.
8654 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8656 * paragraph_pimpl.C: constify
8658 * BufferView_pimpl.C:
8660 * lyxfunc.C: fix dispatch in a nicer way
8662 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8664 * lyxfunc.C (dispatch):
8665 * BufferView_pimpl.C:
8666 * BufferView_pimpl.h:
8668 * BufferView.h: rename Dispatch() to dispatch()
8670 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8672 * lyxlayout.C (Read): honor DependsOn tag
8674 * lyxlayout.[Ch] (depends_on): new method
8676 * version.C.in: update lyx_docversion
8678 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8680 * paragraph.C (validate): remove from here...
8681 * paragraph_pimpl.C (validate): ... and move here
8682 (isTextAt): make it const
8684 * buffer.C (getLists): ws cleanup
8686 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8688 * language.C (read): Use iso8859-1 encoding in latex_lang
8689 (this prevents LyX from crashing when using iso10646-1 encoding).
8691 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8693 * text2.C (toggleInset): if cursor is inside an inset, close the
8694 inset and leave cursor _after_ it
8696 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8698 * lyxfunc.C: move minibuffer completion handling out of here
8700 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8702 * BufferView_pimpl.C:
8703 * LaTeX.C: fix dispatch calls
8705 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8707 * text.C (drawChars): Fix Arabic text rendering.
8709 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8713 * lyxfunc.C: remove message-push/pop
8717 * lyxfunc.C: rationalise some code by removing verboseDispatch
8718 in favour of a bool argument to dispatch()
8720 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8722 * lyx_main.C (init): make sure to read symlinks as absolute paths
8724 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8727 * lyxfunc.C: no need for commandshortcut to be a member
8729 2002-07-15 André Pönitz <poenitz@gmx.net>
8731 * converter.C: add support for $$s (scripts from lib/scripts dir)
8732 * lyx_main.C: white space
8734 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8738 * lyxrc.C: remove second exit confirmation
8740 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8745 * BufferView_pimpl.h:
8746 * BufferView_pimpl.C:
8747 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8749 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8751 * MenuBackend.C (expand): add numeric shortcuts to document menu
8753 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8755 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8757 * lyxfont.C (setLyXFamily):
8764 * buffer.C (asciiParagraph): use ascii_lowercase
8766 2002-07-15 Mike Fabian <mfabian@suse.de>
8768 * lyxlex_pimpl.C (search_kw):
8769 * lyxlex.C (getLongString):
8770 * converter.h (operator<):
8771 * converter.C (operator<):
8772 * buffer.C (parseSingleLyXformat2Token):
8774 * ToolbarDefaults.C (read):
8775 * MenuBackend.C (checkShortcuts):
8777 * LColor.C (getFromGUIName):
8778 (getFromLyXName): use the compare_ascii_no_case instead of
8779 compare_no_case, because in turkish, 'i' is not the lowercase
8780 version of 'I', and thus turkish locale breaks parsing of tags.
8782 2002-07-16 Angus Leeming <leeming@lyx.org>
8784 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8785 now takes a Buffer const & argument.
8787 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8789 * BufferView.C (resize): check there's a buffer to resize
8791 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8793 * lyxfunc.C: remove dead code
8796 * lyxserver.C: use lyx_guii::set_read_callback
8798 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8800 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8801 an inset in a RTL paragraph.
8803 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8805 * lyxfunc.C: repaint after a font size update
8807 2002-07-15 André Pönitz <poenitz@gmx.net>
8809 * lyxlength.C: inBP should be able to return negative values
8811 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8813 * lyxfunc.C: use lyx_gui::update_fonts()
8815 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8817 * lyxfunc.C: use lyx_gui::update_color()
8819 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8825 * lyxrc.C: remove file->new asks for name option, and let
8826 buffer-new take an argument
8828 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8830 * BufferView_pimpl.C: remove unneeded extra repaint()
8832 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8834 * LyXAction.C: allow command-sequence with NoBuffer
8836 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8838 2002-07-10 Angus Leeming <leeming@lyx.org>
8840 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8842 2002-07-09 Angus Leeming <leeming@lyx.org>
8844 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8846 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8848 * lengthcommon.h: whitespace
8850 * lyxfunc.C: update scrollbar after goto paragraph
8852 * lyxtext.h: factor out page break drawing, and fix it so
8853 page break/added space paints as selected nicely
8855 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8857 * BufferView_pimpl.C: add FIXMEs, clean up a little
8859 2002-07-09 André Pönitz <poenitz@gmx.net>
8861 * lyxfont.[Ch]: support for wasy symbols
8863 2002-07-08 André Pönitz <poenitz@gmx.net>
8865 * BufferView_pimpl.C: apply John's patch for #93.
8867 2002-07-05 Angus Leeming <leeming@lyx.org>
8869 * BufferView_pimpl.C (buffer): generate previews if desired.
8871 * LColor.h: add "preview" to the color enum.
8873 * LColor.C (LColor): add a corresponding entry to the items array.
8875 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8878 2002-07-05 Angus Leeming <leeming@lyx.org>
8880 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8881 The body of the code is now in the method that is passed an ostream &
8882 rather than a file name.
8883 Pass an additional only_preamble parameter, useful for the forthcoming
8886 2002-07-03 André Pönitz <poenitz@gmx.net>
8888 * lyxfunc.C: simplify getStatus() a bit for math stuff
8890 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8892 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8894 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8896 * text.C (changeRegionCase): do not change case of all the
8897 document when region ends at paragraph end (bug #461)
8899 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8901 * paragraph.C (startTeXParParams):
8902 (endTeXParParams): add \protect when necessary
8904 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8906 * BufferView_pimpl.C (workAreaExpose): remove warning
8908 2002-06-27 Angus Leeming <leeming@lyx.org>
8910 * Makefile.am: add lyxlayout_ptr_fwd.h.
8912 2002-06-26 André Pönitz <poenitz@gmx.net>
8914 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8916 2002-06-25 Angus Leeming <leeming@lyx.org>
8918 * lyxfunc.C (dispatch): Comment out the call to
8919 grfx::GCache::changeDisplay. The method no longer exists now that the
8920 pixmap generation part of the graphics loader has been moved into
8923 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8925 * text2.C: layout as layout
8927 * text.C: layout as layout
8929 * tabular.C (OldFormatRead): layout as layout
8931 * paragraph_pimpl.C (TeXDeeper): layout as layout
8932 (realizeFont): layout as layout
8934 * paragraph.C (writeFile): layout as layout
8935 (validate): layout as layout
8936 (getFont): layout as layout
8937 (getLabelFont): layout as layout
8938 (getLayoutFont): layout as layout
8939 (breakParagraph): layout as layout
8940 (stripLeadingSpaces): layout as layout
8941 (getEndLabel): layout as layout
8942 (getMaxDepthAfter): layout as layout
8943 (applyLayout): layout as layout
8944 (TeXOnePar): layout as layout
8945 (simpleTeXOnePar): layout as layout
8946 (TeXEnvironment): layout as layout
8947 (layout): layout as layout
8948 (layout): layout as layout
8950 * lyxtextclass.C (compare_name): new functor to work with
8951 shared_ptr, layout as layout
8952 (Read): layout as layout
8953 (hasLayout): layout as layout
8954 (operator): layout as layout
8955 (delete_layout): layout as layout
8956 (defaultLayout): layout as layout
8958 * lyxlayout_ptr_fwd.h: new file
8960 * lyxlayout.C (Read): layout as layout
8962 * lyx_cb.C (MenuInsertLabel): layout as layout
8964 * bufferlist.C (newFile): layout as layout
8966 * buffer.C (readLyXformat2): layout as layout
8967 (parseSingleLyXformat2Token): layout as layout
8968 (insertStringAsLines): layout as layout
8969 (asciiParagraph): layout as layout
8970 (latexParagraphs): layout as layout
8971 (makeLinuxDocFile): layout as layout
8972 (simpleLinuxDocOnePar): layout as layout
8973 (makeDocBookFile): layout as layout
8974 (simpleDocBookOnePar): layout as layout
8975 (getLists): layout as layout
8977 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8979 * CutAndPaste.C (cutSelection): layout as layout
8980 (pasteSelection): layout as layout
8981 (SwitchLayoutsBetweenClasses): layout as layout
8983 * BufferView_pimpl.C (Dispatch): layout as layout
8984 (smartQuote): layout as layout
8986 * BufferView2.C (unlockInset): layout as layout
8988 2002-06-24 André Pönitz <poenitz@gmx.net>
8990 * lyxfunc.C: fix #487
8992 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8996 * lyxfunc.C: remove display_shortcuts, show_banner
8998 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9000 * Buffer_pimpl.C: oops, update on resize
9002 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9009 * BufferView.C: use repaint()
9011 * BufferView_pimpl.h:
9012 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9013 as it's a clearer description. Remove superfluous
9016 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9018 * text.C: fix bug 488. Not ideal, but getting
9019 getWord() to work properly for the insets that
9020 matter is more difficult ...
9022 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9024 * BufferView_pimpl.C:
9027 * lyxfunc.C: remove the six million index lyxfuncs to just
9028 one, and DTRT (bug 458)
9030 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9034 * BufferView_pimpl.h:
9035 * BufferView_pimpl.C: clean up resize() stuff,
9036 and unnecessary updateScreen()s
9038 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9042 * BufferView_pimpl.h:
9043 * BufferView_pimpl.C:
9046 * minibuffer.C: remove focus management of workarea,
9047 not needed. Use screen's greyOut()
9049 2002-06-17 Herbert Voss <voss@lyx.org>
9051 * converter.C: (convert) do not post a message, when converting
9052 fails, let the calling function decide what to do in this case
9054 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9056 * lyxfunc.C: tidy up a little
9058 2002-06-16 <alstrup@diku.dk>
9060 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9061 Got rid of FORMS_H_LOCATION include. Now we are
9064 2002-06-15 LyX Development team <lyx@rilke>
9066 * buffer.[Ch] (sgmlOpenTag):
9067 (sgmlCloseTag): Added support for avoiding pernicious mixed
9068 content. Return number of lines written.
9071 (makeDocBookFile): Fixed calls to sgml*Tag.
9072 Simple white space clean.
9074 (simpleDocBookOnePar): Simple white space clean.
9076 * tabular.[Ch] (docBook): Renamed to docbook and got another
9077 argument to related with the pernicious mixed content.
9079 (docbookRow): Fixed calls for docbook inset method.
9081 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9083 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9084 so it's X11 independent.
9088 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9090 2002-06-15 Lyx Development team <lyx@electronia>
9092 * intl.h: Renamed getTrans to getTransManager.
9094 2002-06-14 Angus Leeming <leeming@lyx.org>
9096 * Makefile.am: nuke forgotten stl_string_fwd.h.
9098 2002-06-12 Angus Leeming <leeming@lyx.org>
9100 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9102 2002-06-13 Angus Leeming <leeming@lyx.org>
9105 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9107 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9109 * kbmap.C (getiso): add support for cyrillic and greek
9111 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9115 * BufferView_pimpl.h:
9116 * BufferView_pimpl.C: move bogus scrolling logic
9119 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9122 * BufferView_pimpl.C: view->resize() change
9124 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9126 * BufferView_pimpl.C: topCursorVisible
9129 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9133 * lyx_gui.C: move to frontends/
9137 * lyx_main.C: changes from above
9139 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9146 * lyx_main.C: minor tidy
9148 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9150 * BufferView_pimpl.h:
9151 * BufferView_pimpl.C:
9153 * BufferView.C: make painter() const,
9156 * BufferView2.C: use screen() accessor
9159 * lyx_main.C: some minor cleanup
9161 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9163 * BufferView_pimpl.h:
9164 * BufferView_pimpl.C: remove enter/leaveView,
9167 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9172 * BufferView_pimpl.h:
9173 * BufferView_pimpl.C: only construct screen once,
9176 * lyxrc.C: remove pointless comment
9178 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9181 * BufferView.C: remove active() and belowMouse()
9183 * BufferView_pimpl.h:
9184 * BufferView_pimpl.C: use workarea() not workarea_,
9185 and make it use a scoped_ptr instead
9187 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9189 * lyx_gui.C: add debug message on BadWindow
9191 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9193 * sp_spell.C: fdopen is not part of the C++ standard.
9195 * paragraph.C (InsetIterator): use >= instead of ==
9197 2002-06-07 Angus Leeming <leeming@lyx.org>
9199 Fixes needed to compile with Compaq cxx 6.5.
9200 * BufferView_pimpl.C:
9207 * lyxtextclasslist.C:
9212 all c-library variables have been moved into namespace std. Wrap
9213 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9218 Add a using std::abs declaration.
9220 * kbmap.h (modifier_pair):
9221 * paragraph.h (InsetTable, InsetList):
9222 * lyxfont.h (FontBits):
9223 type definition made public.
9225 * bufferlist.C (emergencyWriteAll): the compiler complains that
9226 there is more than one possible lyx::class_fun template to choose from.
9227 I re-named the void specialisation as lyx::void_class_fun.
9229 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9231 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9232 the compiler is is unable to find tostr in write_attribute.
9234 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9236 * buffer.C (sgmlError): hide #warning
9238 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9240 * xtl/*: get rid of xtl, which is not in use anyway
9242 * LyXAction.C (init):
9243 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9244 were unimplemented xtl experimentation
9246 2002-06-04 André Pönitz <poenitz@gmx.net>
9248 * lyxfunc.C: disable array operation on simple formulae
9250 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9252 * converter.C: constify a bit
9254 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9256 * lyx_gui.C: check xforms version correctly
9258 2002-04-30 Herbert Voss <voss@lyx.org>
9260 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9263 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9265 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9266 attempt to register it with a VCS)
9268 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9270 * lyx_main.C (init): honor variables LYX_DIR_13x and
9273 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9277 * lyx_main.C: fix a crash on bad command line,
9278 and give a useful exit status on error
9280 * lyxfunc.C (doImport): allow -i lyx to work
9282 2002-03-30 André Pönitz <poenitz@gmx.net>
9284 * lyxfunc.C: mathed font changes
9286 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9301 * trans_mgr.h: srcdocs, and some minor cleanups
9303 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9305 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9306 call getFont all the time)
9308 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9310 * switch from SigC signals to boost::signals
9312 2002-05-29 André Pönitz <poenitz@gmx.net>
9314 * paragraph_pimpl.C (getChar): don't call size() too often...
9316 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9318 * paragraph_pimpl.C (insertChar): do not try to update tables when
9319 appending (pos == size())
9321 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9322 in order to reduce drastically the number of comparisons needed to
9323 parse a large document
9325 2002-05-29 André Pönitz <poenitz@gmx.net>
9331 * textclasslist.[Ch]:
9332 * sp_ispell.h: whitespace change
9334 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9336 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9337 lyxaction directly now.
9339 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9343 * lyxvc.C: remove unused headers
9345 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9352 * undo_funcs.C: some cleanups. Use shared_ptr
9353 and a template for the undo stacks.
9355 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9357 * BufferView_pimpl.h:
9358 * BufferView_pimpl.C:
9365 * text2.C: use key_state/mouse_state
9367 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9369 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9372 * chset.C: change include order
9373 (loadFile): use boost regex and get rid of LRegex and LSubstring
9375 * Makefile.am (BOOST_LIBS): new variable
9378 * LaTeX.C: change include order.
9379 (scanAuxFile): use boost regex and get rid of LRegex and
9383 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9388 * FontInfo.C: moved to frontends/xforms/
9391 * FontLoader.C: moved into frontends for GUIIzation
9396 * lyxfunc.C: changes from above
9398 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9400 * LColor.C: remove spurious X include
9402 * BufferView_pimpl.C:
9407 * text2.C: move font metrics to frontends/
9409 2002-05-24 Juergen Vigna <jug@sad.it>
9411 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9412 setting the undo_cursor.
9414 * ParagraphParameters.h: include local includes first.
9416 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9418 * BufferView_pimpl.C:
9419 * BufferView_pimpl.h:
9423 * screen.C: move WorkArea into frontends/
9429 * BufferView2.C: move LyXScreen into frontends/
9433 * lyx_gui.C: move lyxlookup into frontends/xforms/
9435 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9438 * BufferView_pimpl.C:
9448 * bufferview_funcs.C:
9461 * vc-backend.C: move LyX/XFormsView into frontends/
9463 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9475 * text2.C: move Painter to frontends/
9477 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9479 * buffer.C: comment out some some code that depend upon lyx_format
9482 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9483 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9485 * buffer.h (NO_COMPABILITY): turn off compability
9487 * ColorHandler.C: include scoped_array.hpp
9489 * font.C: Use more specific smart_ptr header.
9492 * ShareContainer.h: ditto
9496 * BufferView_pimpl.h: ditto
9497 * ColorHandler.h: ditto
9499 * kbmap.C (defkey): change call to shared_ptr::reset
9501 2002-05-21 Juergen Vigna <jug@sad.it>
9503 * buffer.C (insertErtContents): fix to insert ert asis if it is
9504 non empty. Skip it completely if it contains only whitespaces.
9506 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9508 * BufferView_pimpl.C:
9509 * BufferView2.C: clear selection on paste (bug 393)
9511 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9513 * DepTable.C: include ctime
9515 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9517 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9519 2002-05-14 Juergen Vigna <jug@sad.it>
9521 * text.C (breakParagraph): fixed function to honor the keepempty
9522 layout in the right maner and also to permit the right breaking
9523 algorithm on empty or non empyt keepempty paragraphs.
9525 * paragraph.C (breakParagraph): we have to check also if the par
9526 is really empty (!size()) for isempty otherwise we do the wrong
9529 2002-05-10 Juergen Vigna <jug@sad.it>
9531 * buffer.[Ch] : The following are only changes to the ert
9532 compatibility read reading old LaTeX layout and font stuff and
9533 convert it to ERTInsets.
9535 * buffer.h: added isErtInset().
9537 * buffer.C (struct ErtComp): add a fromlayout bool to check
9538 if we're inside a LaTeX layout.
9539 (isErtInset): new helper function.
9540 (insertErtContents): look for other ert insets before this one
9541 and insert the contents there, so that we don't have subsequent
9542 ERT insets with nothing between them. This way we create only one
9543 inset with multiple paragraphs. Also check if we don't insert only
9544 spaces ' ' as they are ignored anyway afterwards in the .tex file
9545 so if we have only spaces we will ignore this latex part in the
9547 (parseSingleLyXformat2Token \\layout): better compatibility when
9548 reading layout-latex stuff.
9549 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9551 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9552 stuff after reading the inset only get the information back from
9555 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9557 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9559 * LaTeXFeatures.C (getBabelOptions): New method.
9561 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * BufferView_pimpl.C (Dispatch): work around missing argument for
9566 2002-05-08 Juergen Vigna <jug@sad.it>
9568 * text.C (leftMargin): handle paragraph leftindent.
9570 * paragraph.C (writeFile): write the new \\leftindent tag.
9571 (validate): handle leftindent code.
9572 (TeXEnvironment): handle paragraphleftindent code again.
9574 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9576 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9577 for paragrap_extra indent code and new token \\leftindent.
9578 (latexParagraphs): handle the leftindent as environment.
9580 * ParameterStruct.h: added leftindent support.
9582 * ParagraphParameters.C (leftIndent): added support functions for
9583 the paragraph left indent.
9585 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9588 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9590 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9593 * text.C (computeBidiTables): No bidi in insetERT.
9595 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9598 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9600 * version.C.in: pre 5
9602 2002-05-02 José Matos <jamatos@fep.up.pt>
9603 * buffer.C (makeDocBookFile): white space changes, add newline to
9605 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9607 * tabular.C (docBook): fix typo.
9609 2002-05-03 Juergen Vigna <jug@sad.it>
9611 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9612 change in LyXText as we can not be sure it was not freed.
9613 (drawOneRow): remove unused code.
9615 * text.C (drawInset): redo the calculation of the need_break_row as
9616 it could have a row which was already freed.
9617 (draw): look at the return value of drawInset and return false if
9618 it also returned false.
9619 (paintRowText): look at the return value of draw and return false if
9620 it also returned false.
9622 * lyxtext.h: added bool return type to drawInset() and draw() so that
9623 if we have a change in the row so that the rowbreak has to be redone
9624 we abort drawing as it will be called again.
9626 2002-05-02 Juergen Vigna <jug@sad.it>
9628 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9629 a change in the maintext also if we're inside an inset.
9630 (Dispatch): set the cursor again after a break line and after the
9631 screen has been updated as it could be we're in a different row.
9633 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9634 to set the cursor behind the pargraph with > size().
9635 (setCursor): check also for the same paragraph when checking where
9636 to put the cursor if we have a NFR inset.
9638 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9639 parts of layout read further up as it still was in the wrong
9642 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9644 * screen.C (drawFromTo): change sine fullRebreak always return
9647 * buffer.C (parseSingleLyXformat2Token): reindent some
9649 * BufferView_pimpl.C (update): change since fullRebreak always
9651 (Dispatch): git rid of the last hardcoded "Standard"s.
9653 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9655 * text2.[Ch] (fullRebreak): make it return void now that we always
9658 2002-04-30 Juergen Vigna <jug@sad.it>
9660 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9661 ert compatibility check for "latex" layout.
9663 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9665 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9666 minipages: use col% instead of p%, and also use the current font.
9667 (makeLaTeXFile): Fix use babel condition.
9668 (parseSingleLyXformat2Token): Correct font when reading old floats.
9670 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9672 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9673 inserting list of floats.
9675 2002-04-25 Herbert Voss <voss@lyx.org>
9677 * MenuBackend.C (expand): don't add the graphics extensions to the
9680 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9682 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9683 non-existing layout, do not complain if it was the default layout
9684 of the original class (bug #342)
9686 2002-04-24 Juergen Vigna <jug@sad.it>
9688 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9689 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9691 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9693 * buffer.C (getBibkeyList): If using \bibliography, return the
9694 option field with the reference itself. Enables us to provide natbib
9695 support when using \bibliography.
9697 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9699 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9701 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9702 natbib is provided by the LaTeX class.
9704 2002-04-23 Juergen Vigna <jug@sad.it>
9706 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9709 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9711 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9713 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9715 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9716 ensuremath around textordmasculine, textordfeminine and
9719 2002-04-19 Juergen Vigna <jug@sad.it>
9721 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9722 reinitializing the buffer otherwise row-dimensions may be wrong.
9723 (update): reset also the selection cursors if they do exits otherwise
9724 their x/y positions may be wrong.
9726 * text2.C (cursorDown): don't enter the inset if we came from a row
9727 above and are one row over the inset.
9729 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9730 really leaving an inset.
9732 2002-04-18 Juergen Vigna <jug@sad.it>
9734 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9735 of the selected paragraph does not have the selected layout also if
9738 * text2.C (setLayout): fixed bug which did not change last selected
9741 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9742 changed the read and substituted \\end_float with \\end_inset!
9744 * BufferView_pimpl.C (cursorPrevious):
9745 (cursorNext): fixed to make it work with rows heigher than the work
9746 area without moving the cursor only the draw of the row.
9747 (workAreaMotionNotify): fix jumping over high rows.
9749 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9751 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9754 2002-04-16 Juergen Vigna <jug@sad.it>
9756 * text2.C (setCursor): set also the irow().
9757 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9759 (cursorDown): support for locking an inset if the x_fix value goes
9760 inside it. That way I can transverse insets too with cursor up/down.
9762 * lyxrow.h: added irow helper function same as other (i) functions.
9764 * BufferView_pimpl.C (cursorPrevious):
9765 (cursorNext): fixed for insets!
9767 2002-04-15 Juergen Vigna <jug@sad.it>
9769 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9770 position otherwise it is wrong in some cases.
9772 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9773 inside the inset before the call.
9775 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9777 * buffer.[Ch] (getBibkeyList): make it const.
9779 2002-04-12 Juergen Vigna <jug@sad.it>
9781 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9783 * text2.C (getCursorX): new helper function
9784 (setCursor): compute also ix_
9785 (setCursorFromCoordinates): set also ix.
9787 * lyxcursor.h: added ix_ and helper functions.
9789 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9791 * buffer.C (insertStringAsLines): dont break paragraph if the this
9792 paragraph is inside an inset which does not permit it!
9794 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9795 also with no chars on this paragraph.
9796 (paintRowText): only paint stuff if it's inside the workarea!
9798 * paragraph.C (breakParagraph): honor keepempty flag and break the
9799 paragraph always below not above.
9801 * BufferView2.C (unlockInset): update the paragraph layout on inset
9802 unlock as we changed paragraph in such a case.
9804 * lyxfind.C (LyXFind): clear the former selection if not found!
9806 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9807 again called in insertChar().
9809 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9810 an inset which uses the whole row!
9811 (rightMargin): ditto.
9812 (insertChar): force a rebreak if we inserted an inset!
9814 2002-03-28 Herbert Voss <voss@lyx.org>
9816 * lyxlength.[Ch]: add inBP() to get the right PS-point
9817 units (BigPoint). With inPixels we have rounding errors
9819 2002-04-11 Juergen Vigna <jug@sad.it>
9821 * text2.C (setCursorFromCoordinates): set iy to the right value.
9822 (setCursor): add check if row->previous exists!
9824 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9825 an old float_type as this was the case in the old code!
9827 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9829 * BufferView2.C (showLockedInsetCursor): use iy
9830 (fitLockedInsetCursor): ditto
9832 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9833 locked insets as there we have the right value now.
9835 * lyxcursor.C: added iy_ variable and iy functions to set to the
9836 baseline of cursor-y of the locked inset.
9838 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9839 (setCursor): fixed for insets which need a full row.
9841 * text.C (rowLastPrintable): don't ignore the last space when before
9842 an inset which needs a full row.
9843 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9844 as last character of a row when before a inset which needs a full row.
9846 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9848 * version.C.in: update date
9850 * text2.C (fullRebreak): try to always return true and see what
9853 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * MenuBackend.C (expand): use Floating::listName
9857 * FloatList.C (FloatList): add listName argument to the built-in
9860 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9861 text associated with the float.
9863 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9865 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9867 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9869 * ShareContainer.h: add a couple of missing typenames.
9871 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9873 * lyxrc.C (getDescription): use _() correctly rather than N_().
9875 2002-03-28 Herbert Voss <voss@lyx.org>
9877 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9878 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9880 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9882 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9883 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9885 2002-03-29 Juergen Vigna <jug@sad.it>
9887 * lyxfunc.C (dispatch): add a missing fitCursor call.
9889 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9890 it was scrolled by a cursor move, so return the bool status.
9892 * BufferView.C (fitCursor): return the bool flag also to the outside
9893 world as this is needed.
9895 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9897 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9898 call the edit() as it is not needed (and wrong) IMO.
9899 (workAreaButtonPress): set the screen_first variable before evt.
9900 unlock the inset as this may change screen_first and then we have
9901 a wrong y position for the click!
9903 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9905 * MenuBackend.C (expand): another translation that I missed
9907 2002-03-28 Juergen Vigna <jug@sad.it>
9909 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9911 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9913 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9915 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9917 * MenuBackend.C (expand): fix export/view/update when there is no
9920 2002-03-27 Herbert Voss <voss@lyx.org>
9922 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9925 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * bufferview_funcs.C (currentState): only show paragraph number
9928 for is DEVEL_VERSION is set.
9930 * lyxfunc.C (dispatch): put warning in INFO channel
9932 * MenuBackend.C (expand): translate the name of floats
9934 * FloatList.C (FloatList): mark the float names for translation
9936 * converter.C (convert): use LibScriptSearch
9938 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * MenuBackend.C (defaults): fix default menu (we might as well get
9943 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9945 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9948 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9950 * lyxvc.C: reorder includes.
9952 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9954 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9957 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9959 * CutAndPaste.C: change layouts earlier on paste
9960 to avoid crashing when calling getFont()
9962 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9964 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9967 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9969 * WorkArea.C: remove 'Pending' debug message.
9971 * most files: ws cleanup
9973 * buffer.[Ch]: ws changes
9975 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9977 2002-03-21 Juergen Vigna <jug@sad.it>
9979 * tabular.C (SetMultiColumn): collapse also the contents of the
9980 cells and set the last border right. Added a Buffer const * param.
9982 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9984 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9987 2002-03-19 Juergen Vigna <jug@sad.it>
9989 * text2.C (clearSelection): reset also xsel_cache.
9991 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9992 where it needs to be called (John tells us to do so too :)
9993 (selectionLost): reset sel_cache.
9995 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9997 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9999 * text2.C (setCursorIntern): put debuging code in INSETS channel
10001 2002-03-19 André Pönitz <poenitz@gmx.net>
10003 * lyxfunc.C: tiny whitespace change
10005 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10007 * ToolbarDefaults.C (init):
10008 * LyXAction.C (init):
10010 * BufferView_pimpl.C (Dispatch):
10011 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10013 2002-03-19 Allan Rae <rae@lyx.org>
10015 * exporter.C (Export): removeAutoInsets before doing anything else.
10016 While I've just introduced a dependency on BufferView this really is
10017 the best place to clean the buffer otherwise you need to cleanup in
10018 a dozen places before calling export or cleanup in a dozen functions
10021 * converter.C (runLaTeX):
10022 (scanLog): Better handling of removeAutoInsets and screen updates.
10024 * lyxfunc.C (dispatch): small whitespace changes
10026 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * WorkArea.C (C_WorkAreaEvent): return a value.
10029 (event_cb): return 1 if we handled the event, 0 otherwise.
10031 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10033 2002-03-18 Juergen Vigna <jug@sad.it>
10035 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10036 (GetAdditionalWidth): ditto.
10037 (RightLine): ditto.
10040 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10041 inset if we're there actually (probably not used right now but this
10042 is the direction to go for unifying code).
10043 (paste): disable code to clear the selection.
10045 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10046 inside an InsetText and move the check further up as it is in the
10049 * text2.C (pasteSelection): set a selection over the pasted text.
10051 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10053 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10054 and libgraphics to build on Cygwin.
10056 2002-03-15 Juergen Vigna <jug@sad.it>
10058 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10059 inserting an Inset into the paragraph. I know this is not the best
10060 fix but we already use current_view in CutAndPaste so we will remove
10061 all of it's using at the same time.
10063 * buffer.C (sgmlError): deactivated function till it is rewritten in
10064 the right mode, now it can create problems.
10066 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10067 before accessing it.
10069 2002-03-14 Juergen Vigna <jug@sad.it>
10071 * undo_funcs.C (textHandleUndo): do the right thing when updating
10072 the inset after the undo/redo.
10074 * text2.C (setCursor): just some testcode for #44 not ready yet.
10076 * undo_funcs.C (textHandleUndo): set the next() and previous()
10077 pointers of the paragraph to 0 before deleting otherwise we have
10078 problems with the Paragraph::[destructor].
10080 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10081 on a paragraph insertion.
10083 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10085 * buffer.C (asciiParagraph): use += operator for char append to
10088 * paragraph.C (getFontSettings): compare >= not just >
10089 (highestFontInRange): ditto
10092 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10094 * paragraph.C: change several algorithm to be more appripriate for
10095 the problem domain. This is lookip in FontList and in the InsetList.
10097 2002-03-13 André Pönitz <poenitz@gmx.net>
10100 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10102 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10107 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10109 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10111 * Painter.C (display): anon helper function, adjust code for this
10113 (pixmap): remove function.
10115 * Painter.h: remove private display variable.
10117 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10119 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10121 * WorkArea.[Ch]: remove figinset_canvas cruft.
10123 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * lyxtextclass.C (operator): add one item cache optimization.
10127 * bufferlist.h: doxy changes
10129 * bufferlist.C: ws changes
10131 * DepTable.[Ch] (ext_exist): place const in the right spot.
10133 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10135 (workAreaExpose): call resizeInsets when the with BufferView changes.
10136 (Dispatch): adjust for protectedBlank removal
10137 (specialChar): call updateInset if the insert went ok.
10139 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10140 specialChar instead.
10142 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10144 * BufferView.h: doxy change
10146 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10148 * lyxtextclass.C (operator[]): remove non-const version
10149 (defaultLayout): remove non-const version
10151 2002-03-12 Juergen Vigna <jug@sad.it>
10153 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10154 did resize the LyXText too.
10156 * buffer.C (readLyXformat2): set layout information on newly allocated
10159 * tabular.C (OldFormatRead): set layout information on the paragraph.
10161 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10163 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10165 2002-03-11 Juergen Vigna <jug@sad.it>
10167 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10169 (resizeCurrentBuffer): force also the insets to resize themselfes.
10170 (moveCursorUpdate): fixed up for InsetText.
10172 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10175 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10176 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10177 value of Dialogs::tooltipsEnabled().
10178 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10180 2002-03-08 Juergen Vigna <jug@sad.it>
10182 * BufferView_pimpl.C (updateInset): update inset inside inset also
10183 if it isn't inside theLockingInset().
10185 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10187 * buffer.C (asciiParagraph): redo some of the word and line length
10189 (getLists): look for Caption instead of caption.
10191 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10193 * buffer.C (Buffer): initialize niceFile to true
10195 (makeLinuxDocFile):
10196 (makeDocBookFile): make sure niceFile is true on exit
10198 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10200 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10202 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10204 * LyXSendto.C: remove.
10205 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10206 * lyx_gui.C: remove now-redundant comment.
10207 * ColorHandler.h: remove forward declaration of class WorkArea.
10208 * lyxfunc.C: remove #include "WorkArea.h".
10210 2002-03-07 Juergen Vigna <jug@sad.it>
10212 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10213 got moved away with the DEPM and also set the inset_owner always
10214 right which before could have been omitted.
10216 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10219 wanted layout is not found.
10221 2002-03-07 Juergen Vigna <jug@sad.it>
10223 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10225 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10227 * paragraph.C (breakParagraph): use default layout not layout of
10229 (Paragraph): clear ParagraphParameters.
10231 2002-03-06 Juergen Vigna <jug@sad.it>
10233 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10234 otherwise it would not be a valid lenght. Fixed a special case in
10235 the minipage compatibility read where we end the document with a
10238 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10239 was set as it could be 0 for InsetTexts first entry.
10241 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10243 * paragraph.C (writeFile): if layout is empty write out
10244 defaultLayoutName().
10246 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10247 file without named layout we set layout to defaultLayoutName().
10249 2002-03-06 Juergen Vigna <jug@sad.it>
10251 * CutAndPaste.C (copySelection): set layout for new paragraph.
10253 * text.C (prepareToPrint): leave ERT inset left aligned
10254 (leftMargin): don't indent paragraphs inside ERT insets
10256 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10258 * paragraph.C (breakParagraph): dont call clear do the work manually
10260 * paragraph.[Ch] (clear): remove function
10262 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * paragraph.C (Paragraph): dont call clear, the work has already
10267 * lyxtextclass.C (operator): assert if n is empty
10269 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10270 work manually instead.
10272 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10274 * BufferView_pimpl.C: protect selectionLost against text == 0
10276 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10278 * text.C (breakParagraph): fix a setting layout to '0' problem.
10280 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10282 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10283 final location of file, for the included files, and graphics.
10285 2002-03-05 Juergen Vigna <jug@sad.it>
10287 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10289 2002-03-04 Juergen Vigna <jug@sad.it>
10291 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10293 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10294 last column of multicolumn cells.
10295 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10297 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10299 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10300 file if it doesn't go to a temporary file.
10302 * buffer.C (sgmlOpenTag):
10303 (sgmlCloseTag): remove extra newline insertion.
10305 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * text.C (getRowNearY): comment out debug msg
10309 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10311 * text2.C: first -> first_y
10313 * text.C (getRowNearY): add some attemts at a possible
10314 optimization, not working.
10316 * tabular.[Ch]: add BufferParams to several function so that newly
10317 created paragraph can be initialized to he default layotu for the
10320 * tabular-old.C (ReadOld): add buf->params to call of Init
10322 * screen.C: rename text->first to text->first_y
10324 * paragraph.C (breakParagraph): always set layout in the broken
10327 * lyxtextclass.C (Read): remove lowercase
10330 (delete_layout): ditto
10332 * lyxtext.h: rename first -> first_y
10334 * lyxlayout.C (Read): remove lowercase
10337 (obsoleted_by): ditto
10339 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10341 * buffer.C (insertErtContents): add params are to InsetERT
10342 (parseSingleLyXformat2Token): add code to check if a paragraphs
10343 layout really exist.
10344 (parseSingleLyXformat2Token): add params to several inset
10346 (asciiParagraph): remove lowercase, do the layout comparisons with
10349 * BufferView_pimpl.C (cursorNext): first -> first_y
10350 (resizeCurrentBuffer): first -> first_y
10351 (updateScrollbar): first -> first_y
10352 (scrollCB): first -> first_y
10353 (workAreaMotionNotify): first -> first_y
10354 (workAreaButtonPress): first -> first_y
10355 (checkInsetHit): first -> first_y
10356 (cursorPrevious): first -> first_y
10357 (cursorNext): first -> first_y
10358 (Dispatch): add buffer_->params to severl inset contructors
10360 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10362 * lyxlayout.C (Read): remove some debug info that I forgot.
10364 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10365 clean up the code slightly.
10366 (makeLinuxDocFile): ditto
10367 (makeDocBookFile): ditto
10369 * text2.C: layout as string
10371 * text.C: layout as string
10373 * paragraph_pimpl.C: layout as string
10375 * paragraph.[Ch]: layout as string
10377 * lyxtextclasslist.[Ch]: layout as string
10379 * lyxtextclass.[Ch]: layout as string
10381 * lyxtext.h: layout as string
10383 * lyxlayout.[Ch]: layout as string
10385 * lyx_cb.C: layout as string
10387 * bufferview_funcs.C: layout as string
10389 * bufferparams.C: layout as string
10391 * buffer.C: layout as string
10393 * LyXView.[Ch]: layout as string
10395 * LaTeXFeatures.[Ch]: layout as string
10397 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10399 * BufferView_pimpl.C: change current_layout to string, remove
10404 (workAreaButtonRelease): layout as string
10406 * BufferView2.C (unlockInset): adjust
10408 * vspace.C (asLatexCommand): use an explict temp variable.
10410 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10412 * Makefile.am: use FRONTEND_*
10414 2002-03-01 Juergen Vigna <jug@sad.it>
10416 * tabular.C (SetWidthOfMulticolCell): changed to something better
10417 I hope but still work in progress.
10418 (recalculateMulticolumnsOfColumn): renamed function from
10419 recalculateMulticolCells as it is more appropriate now.
10420 (SetWidthOfCell): calculate multicols better.
10422 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10426 * lyxfunc.C (processKeySym): print sequence also if it is
10427 `deleted' (complete)
10429 * kbsequence.C (print): print sequence even if it is deleted
10430 (complete would be a better word, actually).
10432 * lyxfunc.C (dispatch): print complete options after a prefix key
10434 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10436 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10438 * text2.C (setCharFont): eliminate setCharFont code duplication.
10440 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10442 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10443 LFUN_TABULAR_FEATURE (bug #177)
10445 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10447 * Makefile.am: remove figure.h
10449 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10451 * Bufferview_pimpl.C:
10463 * text2.C: remove #include "lyx_gui_misc.h".
10465 * LaTeX.C: added #include <cstdio>
10467 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10469 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10470 that the paragraph following this one can have.
10472 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10474 * vspace.C (asLatexCommand): fix bogus gcc warning
10476 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10478 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10480 * text2.C (setLayout): get rid of redundant code
10482 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10484 * text2.C (incDepth): make sure depth cannot be increased beyond
10487 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10489 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10490 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10492 * PainterBase.h (image):
10493 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10494 a LyXImage const *.
10496 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10500 * BufferView_pimpl.C:
10501 * BufferView_pimpl.h:
10521 * sp_spell.C: remove fig inset, and the crap house of
10522 cards that follows it
10524 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10529 * os2_errortable.h:
10530 * nt_defines.h: move .h into support/
10532 * vms_defines.h: remove
10534 * WorkArea.C: add space in debug output
10538 * buffer.C: add WITH_WARNINGS
10542 * bufferlist.C: s/retrive/retrieve/, add docs
10551 * chset.C: add docs
10553 * lyxgui.C: add ID to X error handler
10555 * lyxtestclass.c: fix typo
10557 2002-02-26 Juergen Vigna <jug@sad.it>
10559 * tabular_funcs.C (write_attribute): changed so that some default
10560 attributes are not written at all.
10561 (getTokenValue): set default values before trying to read the
10562 value so we have the return value always set as default if we don't
10563 find the token we search for.
10565 * tabular.C (Write): write bools as bools not as strings!
10567 2002-02-22 Juergen Vigna <jug@sad.it>
10569 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10570 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10572 * text.C (leftMargin): don't add an indent for paragraphs inside
10573 tabular cells (fix #208).
10575 2002-02-21 José Matos <jamatos@fep.up.pt>
10577 * tabular.C (docBook): fixed support for long tables.
10579 2002-02-20 Juergen Vigna <jug@sad.it>
10581 * text2.C (getFont): get the drawing font of the Inset if this
10582 paragraph is inside an inset (only important for InsetERT for now).
10584 * buffer.C (insertErtContents): use new lanugage params in ERT
10587 * CutAndPaste.C: commenting out seemingly uneeded code.
10589 2002-02-19 Allan Rae <rae@lyx.org>
10591 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10592 Iterators might be simple to use but they also get invalidated.
10593 (removeAutoInsets): renamed saved cursor tracking variables and added
10594 some comments to clarify what everything does.
10596 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10603 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10604 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10607 * vc-backend.h: remove #include "support/syscall.h"
10611 * converter.C: rearrange #includes in Lars' approved fashion.
10613 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10614 forward declare class Timeout in the header file.
10616 * XFormsView.C: changes due to the above.
10618 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10619 similar to LyXView.
10621 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10622 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10624 2002-02-18 José Matos <jamatos@fep.up.pt>
10626 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10629 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10631 * a lot of small ws changes
10632 * add a lot of using std::XXX
10633 * use std construcs some places where approp.
10634 * use some exisint stuff from lyxfunctional where approp.
10635 * Make file changes to use partial linking (lets test this now...)
10637 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10641 remove #include "support/syscontr.h" as it's redundant. Always has been.
10649 change Systemcalls::System to Systemcalls::Wait and
10650 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10651 No change of functionality, just reflects the stripped down Systemcalls
10654 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10656 * debug.[Ch]: add a GRAPHICS type to the enum.
10658 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10660 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10662 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10665 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10667 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10668 match the changes below.
10670 * text2.C (toggleInset): if there is not editable inset at cursor
10671 position, try to see if cursor is _inside_ a collapsable inset
10674 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10676 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10677 document menu has a nice checkbox
10679 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10681 * lyxlength.C (asLatexString): change PW to output as percent of
10684 * lengthcommon.C: change '%' to 't%'
10686 * lyxfunc.C (dispatch): a few comments from Martin
10688 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10692 * BufferView_pimpl.h:
10693 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10696 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * vspace.C (inPixels): fix compiler warning
10700 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * lyxfunc.C (getStatus): fix status message for disabled commands.
10704 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10706 * BufferView_pimpl.C: fix crash on close buffer
10707 during selection (#227)
10709 2002-01-27 Herbert Voss <voss@lyx.org>
10711 * buffer.C: link old Figure to new graphic inset
10713 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10715 * FontLoader.C (getFontinfo): Change the latex font names in order
10716 to match the names of type1inst.
10718 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10720 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10722 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10723 (extchanged): ditto
10725 (remove_files_with_extension): ditto
10726 (remove_file): ditto
10729 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10730 document is smaller than the work area height. Do not initialize
10731 static variables to 0.
10733 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10735 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10737 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10738 LFUN_LAYOUT_PARAGRAPHS.
10740 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10741 tabular. It is possible to provide a possible cell, which will
10742 typically be the actcell from the corresponding insettabular
10744 * lyxfunc.C (getStatus): small cleanup; disable
10745 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10748 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10750 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10752 * paragraph.C (startTeXParParams):
10753 (endTeXParParams): new methods. The LaTeX code to
10754 start/end paragraph formatting
10755 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10756 empty (fixes bug #200)
10758 * vspace.C (inPixels): adapt to the change below
10759 (inPixels): [later] more cleanups (remove unused variables)
10761 * lyxlength.C (inPixels): change to use a width and a height as
10764 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10766 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10767 Replaced with \paperwidth
10769 * DepTable.C (insert): add std:: qualifier
10771 2002-01-18 Allan Rae <rae@lyx.org>
10773 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10776 * text.C (drawInset): Turned out I didn't know enough about how
10777 rebreaking worked. This fixes most of the redraw problems. I see
10778 an occasional cursor trail when a line is broken now and the cursor
10779 placement can seem out by a few pixels also after a rebreak.
10781 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10783 * buffer.C (parseSingleLyXformat2Token): update because minipage
10784 width is now a LyXLength
10786 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10788 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10791 2002-01-17 Juergen Vigna <jug@sad.it>
10793 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10795 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10796 is set correctly and the inset is updated correctly.
10798 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10800 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10801 the beginning of the loop.
10803 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10805 * lyxrc.C: improve help for use_scalable_fonts
10807 2002-01-17 Allan Rae <rae@lyx.org>
10809 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10811 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10813 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10814 make sure to set their inset_owner to the right value (bug #171)
10816 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10819 * DepTable.C: Implement mtime checking to reduce time spent doing
10822 2002-01-16 Juergen Vigna <jug@sad.it>
10824 * tabular.C (GetAdditionalHeight): one of error fixed.
10826 * lyxrc.C (output): small fix in writing use_pspell.
10828 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10830 * sp_base.h: #include LString.h
10832 2002-01-16 Allan Rae <rae@lyx.org>
10834 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10835 Can someone check this please?
10837 * text.C (drawInset): It was possible that p.row would be removed by
10838 breakAgainOneRow upsetting a few other settings. There may be another
10839 small tweak possible by setting need_break_row = 0 when p.row has been
10840 removed but I don't know enough about the logic here.
10842 2002-01-15 Allan Rae <rae@lyx.org>
10844 * text.C (insertChar): removed conditional truism.
10846 * BufferView2.C (removeAutoInsets): More tweaks.
10847 cur_par_prev could be a stray pointer. Check for trailing empty line
10848 in case last line was cur_par and only had an error inset on it.
10850 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10852 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10855 * vc-backend.C (most methods):
10856 * exporter.C (Export):
10857 * converter.C (convert):
10859 * LyXSendto.C (SendtoApplyCB):
10860 * lyxfunc.C (dispatch):
10864 * lyx_cb.C (AutoSave):
10866 * BufferView_pimpl.C (MenuInsertLyXFile):
10867 * buffer.C (runChktex): use Buffer::filePath().
10869 * buffer.h: rename filename to filename_; rename filepath to
10870 filepath_ and make it private
10871 (filePath): new method
10873 * buffer.C (writeFile): use fileName()
10876 * lyx_main.C (init): fix starting of LyX when the binary is a
10877 link from so,ewhere else.
10879 * minibuffer.C: include <cctype> for isprint
10881 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10883 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10884 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10885 name clash with InsetCollapsable's width function.
10887 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * lastfiles.C: include <iterator>
10891 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10893 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10896 * buffer.C (makeLaTeXFile): ditto.
10897 Also make loop operation more transparent.
10899 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10901 * ToolbarDefaults.C: remove trailing comma closing namespace.
10903 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10905 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10908 * trans.C (Load): comment out unused variable, allowed.
10910 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10912 * minibuffer.[Ch] (append_char): new method to recieve input from the
10913 drop-down completion browser. If a key was pressed, then recieve this
10914 char and append it to the existing string.
10915 (peek_event): modify the positioning data passed to the completion
10916 browser so that it can be placed above the minibuffer rather than below.
10917 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10919 * LyXAction.C (init): alloe error-next for readonly documents.
10921 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10924 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10926 * bufferlist.C (readFile): create the buffer _after_ checking that
10929 * lyxfunc.C (verboseDispatch): fix handling of arguments
10931 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10933 * lyxrc.C: use string::erase() instead of initializing to "".
10936 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10938 * BufferView_pimpl.h:
10939 * BufferView_pimpl.C:
10942 * text2.C: tell X when we have made a selection for copying
10944 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10946 * BufferView_pimpl.C (MenuInsertLyXFile):
10947 * lyxfunc.C (menuNew):
10949 (doImport): add shortcuts to directory buttons
10951 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10954 * lyxfunc.C (setStatusMessage):
10955 (getStatusMessage): new methods
10956 (getStatus):use setStatusMessage instead of setErrorMessage
10957 (dispatch): when function is disabled, set error message here
10958 [instead of in getStatus previously]
10960 * BufferView_pimpl.C (workAreaButtonRelease): update
10961 toolbar/menubar here too.
10963 2002-01-13 Allan Rae <rae@lyx.org>
10965 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10966 Now seems indestructible. Remaining task is to audit all other
10967 code affected by deleteEmptyParagraphMechanism. One small quirk
10968 left is that an empty document with an error in the preamble can
10969 be made to report an error but no error box appears. I don't know
10971 (removeAutoInsets): Improved comments.
10973 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10976 * Thesaurus.C: update for Aiksaurus 0.14
10978 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10980 * text2.C (firstParagraph): removed member function, all uses
10981 replaces with ownerParagraph
10982 (redoParagraphs): here
10983 (updateInset): here
10984 (toggleAppendix): here
10985 * BufferView2.C (insertErrors): here
10986 (setCursorFromRow): here
10988 2002-01-13 Allan Rae <rae@lyx.org>
10990 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10991 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10992 There is still a way to segfault this although you may have to do this
10993 multiple times: Have an InsetERT with an unknown command in it.
10994 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10995 <down-arrow>, <Enter> again, View->DVI, BANG!
10997 * text2.C (setCursor):
10998 (deleteEmptyParagraphMechanism):
10999 * lyxtext.h (setCursor):
11000 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11001 Making use of the return value may help fix other bugs.
11003 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11005 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11007 * LyXView.C (updateMenubar): call MenuBar::update here
11008 (updateToolbar): but not here
11009 (showState): do not update toolbar/menubar
11011 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11012 should need to care about that.
11014 * lyxfunc.C (verboseDispatch): simplify a bit
11015 (getStatus): have a version which takes a pseudoaction, and
11016 another which requires a (kb_action,string).
11018 * LyXAction.C (retrieveActionArg): make it work also when action
11019 is not a pseudo-action.
11020 (getActionName): simplify a bit
11023 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11025 * lyxfunc.C (verboseDispatch): new families of methods with
11026 several ways to specify a command and a bool to indicate whether
11027 the command name and shortcut should be displayed in minibuffer
11028 (eventually, we could extend that to a finer bitmask like
11029 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11030 (dispatch): the pristine dispatch command which just, well,
11031 dispatchs! Note it still sets its result to minibuffer; I'm not
11034 * lyxfunc.h: remove setHintMessage
11036 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11038 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11040 * BufferView_pimpl.C (specialChar): delete new inset if we have
11041 not been able to insert it.
11043 * kbmap.C: revert to using int instead of kb_action, since all we
11044 are dealing with is pseudo-actions.
11046 * LyXAction.C (searchActionArg): change to return int instead of
11047 kb_action, since the result is a pseudoaction.
11049 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11051 * buffer.C (insertErtContents): Fix (partially) the font bug.
11053 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11055 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11056 as the other one is broken on my machine!
11058 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11061 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11063 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11065 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11066 reflect their actual use. Provide compatibility code for older lyxrc
11069 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11071 change names of popup font variables in line with the changes to lyxrc.C
11073 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * buffer.C (asciiParagraph): avoid outputing a word twice after
11078 * lyxrc.C (getDescription): document that document_path and
11079 template_path can be empty.
11081 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * LaTeXFeatures.C (getMacros):
11084 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11086 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11088 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11090 (getPackages): rename feature "floats" to "float". Use an array to
11091 iterate over 'simple' features (i.e. just a \usepackage). Add
11092 handling of "amsmath" (renamed from "amsstyle").
11094 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11096 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11099 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11101 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11102 FuncStaus::FuncStatus & FuncStaus::some_method().
11104 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11106 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11107 of the func_satus stuff. Edited and massaged in various ways by
11110 * lyxfunc.C (getStatus): use FuncStatus
11112 2002-01-08 Juergen Vigna <jug@sad.it>
11114 * text.C (nextBreakPoint): use function Inset::isChar().
11116 * paragraph.C (TeXOnePar): use function
11117 Inset::forceDefaultParagraphs.
11119 * buffer.C (latexParagraphs): use function
11120 Inset::forceDefaultParagraphs.
11122 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11124 * lyx_gui.C (init): set the style of the menu popups to
11125 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11127 2002-01-07 Juergen Vigna <jug@sad.it>
11129 * text.C (setHeightOfRow): small fix
11130 (prepareToPrint): don't look at alignment if we don't have the place
11133 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11135 * box.C: New file. Move the Box methods and functions out of box.h,
11136 following Lars' suggestion.
11138 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11140 * box.h: #include "support/LOstream.h", needed for inlined function.
11143 * lyxtextclasslist.C: added some using std declarations.
11145 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11147 * box.h: make signed dimensions to allow insets wider than
11148 the screen (bug #162)
11150 * BufferView_pimpl.C: add some insetHit debug
11152 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11154 * vc-backend.C: add FIXME
11156 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11158 * lyxfunc.C (getStatus): enable code for showing math font status
11161 2002-01-07 Juergen Vigna <jug@sad.it>
11163 * text.C (nextBreakPoint): removed debug output not needed anymore.
11165 2002-01-06 Juergen Vigna <jug@sad.it>
11167 * text.C (nextBreakPoint): fixed up this function we had this bug
11168 since ever but now hopefully we break row better.
11169 (insertChar): we have to check if an inset is the next char as it
11170 could now happen that a large inset is causing a break.
11172 2002-01-05 Juergen Vigna <jug@sad.it>
11174 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11175 if it doesn't like to be drawed.
11177 2002-01-04 Juergen Vigna <jug@sad.it>
11179 * BufferView2.C (lockInset): forgot to set a cursor.
11181 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11183 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11185 * FormMathsPanel.C:
11188 * form_maths_panel.C:
11189 * form_maths_panel.h:
11190 * form_maths_panel.fd: implemented sub- and super- buttons in math
11193 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11194 (or ^ space) to be used as in TeX (req'd by André).
11196 * lyxfunc.C: Allow ^ and _ again to be used both as
11197 super/subscript (mathed) and as themselves (in text).
11199 2002-01-03 Allan Rae <rae@lyx.org>
11201 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11202 "LyX" or the filename of the current buffer if it has one. This is a
11203 modified form of John Levon's patch.
11205 * XFormsView.C (setWindowTitle): also set icon title.
11207 * LyXView.h (setWindowTitle): signature changed.
11208 * XFormsView.h (setWindowTitle): ditto.
11210 2002-01-02 Juergen Vigna <jug@sad.it>
11212 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11214 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11216 * screen.C (topCursorVisible): introduce a temp var for
11217 text->cursor.row(), handle the case where this row is null. (kindo
11220 * text2.C (setCursor): add a couple of asserts.
11222 * paragraph.h (inset_iterator): add -> operator
11224 * paragraph.[Ch] (autoDeleteInsets): remove member function
11226 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11227 cursor pos correctly and handle inset deletion by itself.
11228 (insertErrors): move iterator declaration out of for expression
11230 * lyxtextclass.C: add <algorithm>
11232 * Makefile.am: added the new files to sources, removed layout.C
11234 * layout.C: removed file
11236 * layout.h: remove LYX_DUMMY_LAYOUT
11238 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11242 * lyxtextclass.[Ch]:
11243 * lyxtextclasslist.[Ch]: new files
11245 * include order changes to a lot of files, also changes because of
11248 2001-12-27 Juergen Vigna <jug@sad.it>
11250 * buffer.C (asciiParagraph): more fixes.
11252 * tabular.C (ascii): make ascii export support export of only the
11253 data separated by a column-delimiter.
11254 (ascii): better support for ascii export.
11256 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11258 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11260 * tabular_funcs.C: use a "using std::getline" instead of the
11261 previous fix from Angus (necessary for cxx + lyxstring)
11263 2001-12-24 Juergen Vigna <jug@sad.it>
11265 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11267 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11268 problems. First check a minipage also if we have some ert-contents
11269 (not only on par->size(), second set the right depth of the paragraph
11270 on the relink to the root-paragraph-list!
11272 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11273 which then did not anymore update the main paragraphs on undo/redo!
11275 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11277 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11278 code. Support all font-changing funcs (even those which are not in
11279 menu currently). Support for reporting font settings in
11280 mathed (disabled until Andre provides a function on mathed's side).
11282 * func_status.h (toggle): small helper function to set toggle
11285 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11287 * tabular_funcs.C: getline -> std::getline
11289 2001-12-21 Juergen Vigna <jug@sad.it>
11291 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11292 accessed and could be 0 (I couldn't generate this but it seems
11295 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11297 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11298 * tabular_funcs.h: here and include iosfwd
11300 2001-12-20 Juergen Vigna <jug@sad.it>
11302 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11303 inside inset but undo_par was.
11305 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11307 * Thesaurus.C: always include <config.h> in sources.
11311 * box.h: do not include <config.h> in header files
11313 * text.C (paintLastRow): remove unused variable
11315 * text.C (transformChar):
11317 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11319 * Painter.C (text):
11320 * font.C (width): rewrite to use uppercase() instead of
11323 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11325 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11327 * lyxfind.C: clean up of find failure position change
11329 2001-12-20 Juergen Vigna <jug@sad.it>
11331 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11333 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11334 (TeXRow): added to LaTeX a single tabular row.
11335 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11336 (Latex): simplified and finally good LT-h/f support.
11337 (various_functions): just small adaptions for LT-h/f support.
11339 * tabular_funcs.[hC]: added and moved here all not classfunctions
11342 2001-12-19 Juergen Vigna <jug@sad.it>
11344 * tabular.[Ch]: better support for longtabular options (not finished
11347 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11349 * text.C (paintLastRow): use the label font instead of the font of
11350 the last character to compute the size of *_BOX. This makes more
11351 sense and avoids a crash with empty paragraphs.
11352 Use Painter::rectangle to draw EMPTY_BOX.
11354 2001-12-19 Juergen Vigna <jug@sad.it>
11356 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11357 the paragraphs if the replaced paragraph is not the first one!
11358 Tried to delete not used paragraphs but does not work yet so for
11359 now it's inside #ifdef's and by default off!
11361 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11363 * MenuBackend.C: include "lyx_main.h" instead of declaring
11364 lastfiles (actually was declared as LastFiles* instead of a
11367 2001-12-17 Juergen Vigna <jug@sad.it>
11369 * tabular.C (AppendColumn): applied John's fix
11371 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11375 * BufferView_pimpl.h:
11376 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11379 * box.h: new start of class for above
11381 * lyxfunc.C: ignore space-only minibuffer dispatches.
11382 Show the command name when it doesn't exist
11384 * minibuffer.C: don't add empty lines to the history
11386 * minibuffer.C: add a space on dropdown completion
11388 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11390 * text.C: fix line above/below drawing in insets
11392 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11394 * lyxlength.C (LyXLength): Initialize private variables.
11396 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11398 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11399 when inserting error insets.
11401 2001-12-13 Juergen Vigna <jug@sad.it>
11403 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11404 actually sometimes the before-paragraph.
11405 (setUndo): don't clear the redostack if we're not actually undoing!
11407 2001-12-06 Juergen Vigna <jug@sad.it>
11409 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11410 and fixed redoing of main paragraph, so we can use it now ;)
11412 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11414 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11416 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11419 2001-12-13 André Pönitz <poenitz@gmx.net>
11422 * undo_func.C: minor cleanup
11424 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11427 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11428 font in urw-fonts package which is marked as -urw-fontspecific and
11429 does not work (incidentally, changing the encoding in the
11430 fonts.dir of this package to -adobe-fontspecific fixes the
11433 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11434 is a crash when undoing first paragraph (Juergen, please take a
11435 look). THis does not mean the undo fix is wrong, just that it
11438 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11439 the (Paragraph*) version when needed instead of duplicating the
11442 * text.C (workWidth): use Inset::parOwner to find out where the
11443 inset has been inserted. This is a huge performance gain for large
11444 documents with lots of insets. If Inset::parOwner is not set, fall
11445 back on the brute force method
11447 * paragraph_pimpl.C (insertInset):
11448 * paragraph.C (Paragraph):
11449 (cutIntoMinibuffer): set parOwner of insets when
11450 inserting/removing them
11452 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11454 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11460 * mathed/formulabase.C:
11461 * mathed/math_cursor.[Ch]:
11462 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11465 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11467 * lyxlength.[Ch] (operator!=): new function
11469 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11471 * text.C (workWidth): use Inset::parOwner to find out where the
11472 inset has been inserted. This is a huge performance gain for large
11473 documents with lots of insets. If Inset::parOwner is not set, fall
11474 back on the brute force method
11476 * paragraph_pimpl.C (insertInset):
11477 * paragraph.C (Paragraph):
11478 (cutIntoMinibuffer): set parOwner of insets when
11479 inserting/removing them
11481 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11483 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11485 * tabular-old.C (getTokenValue):
11486 * tabular.C (getTokenValue):
11487 (write_attribute): new versions for LyXLength
11488 (everywhere): adjust the use of widths
11490 * tabular.h: change the type of widths from string to LyXLength
11492 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11494 * paragraph.C: fixed missing line number count when exporting
11495 Environments to LaTeX file
11497 * buffer.C: added informational message for checking line numbers.
11499 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11501 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11502 paragraph, do the 'double space' part, but not the 'empty
11505 * text.C (workWidth): small optimization
11506 (getLengthMarkerHeight): use minimal size for negative lengths.
11508 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11510 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11512 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11514 2001-12-11 André Pönitz <poenitz@gmx.net>
11517 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11519 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11521 * text2.C: keep selection on a setFont()
11523 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11525 * lyx_cb.C: another bv->text misuse, from insert label
11527 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11530 * kbsequence.C: re-instate nmodifier mask
11532 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11534 * lyx_main.h: make lyxGUI private.
11536 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11538 * lyxfind.C: place the cursor correctly on failed search
11540 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11542 * text.C (getLengthMarkerHeight): for small heights, the arrows
11543 are not always on top/bottom of the text
11544 (drawLengthMarker): smaller arrows; take the left margin in
11545 account; draw also vfills.
11547 (paintLastRow): remove special code for vfill and standard spaces,
11548 since everything is handled in drawLengthMarker now.
11550 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11552 * buffer.C (insertErtContents): try to handle font and language
11553 interaction a bit better.g
11555 * ColorHandler.C (updateColor): change the hash to cover the whole
11556 LColor enum, ws cleanup
11557 (getGCLinepars): ditto
11558 (getGCLinepars): only lookup in the linecache once.
11560 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11562 * iterators.C (operator++): Make the iterator more robust
11564 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11566 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11568 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11571 * text.C: better added space drawing
11573 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11576 * BufferView2.C: fix layout combo update on inset unlock
11578 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11580 * Makefile.am: don't compile unused files
11582 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11586 * LyXAction.C: remove old LFUN_LAYOUTNO
11588 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11590 * paragraph_pimpl.h:
11591 * paragraph_pimpl.C: isTextAt() doesn't need font param
11593 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11596 * lyxlex.C: little cleanup
11598 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11600 * BufferView_pimpl.C: fix insertAscii for insets
11602 2001-12-05 Juergen Vigna <jug@sad.it>
11604 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11605 set the right font on the "multi" paragraph paste!
11607 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * lyxlength.C: remove out-commented code.
11615 * BufferView_pimpl:
11629 * vc-backend.C: change "while(" to "while ("
11631 * lyxlength.[Ch]: add zero function to check if length is zero or
11633 * lyxgluelength.C: use it
11635 2001-12-05 Allan Rae <rae@lyx.org>
11637 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11638 Works for 2.95.3, from what I understand of Garst's reports this should
11639 work for other g++ versions. We're screwed if the abs(int) definition
11640 changed between bugfix releases of gcc.
11642 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11644 * text.C: fix chapter label offset !
11646 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11649 * text.C: fix hfill at end of line, clean up
11651 2001-12-04 Juergen Vigna <jug@sad.it>
11653 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11654 that we force an update of the inset and it's owners if neccessary.
11656 2001-12-03 Juergen Vigna <jug@sad.it>
11658 * text.C (rowLast): simplified code
11660 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11662 * lyxfunc.C: fix show options on timeout
11664 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11666 * screen.C (topCursorVisible): scroll half a page when the cursor
11667 reached top of bottom of screen
11669 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11671 * minibuffer.C: deactivate on loss of focus
11673 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11675 * vspace.[Ch] (operator!=): add operator.
11677 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11679 * BufferView_pimpl.C: refuse to open an inset when
11680 there's a selection.
11682 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11684 * BufferView_pimpl.C: allow to click on RHS of full row insets
11686 2001-11-30 Juergen Vigna <jug@sad.it>
11688 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11689 insets for undo reasons.
11691 2001-11-28 André Pönitz <poenitz@gmx.net>
11693 * vspace.[Ch]: cosmetical changes
11695 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11705 * kbsequence.C: part re-write of old kb code
11708 * WorkArea.C: remove Lgb_bug_find_hack
11710 2001-11-30 José Matos <jamatos@fep.up.pt>
11712 * buffer.C (makeDocBookFile): add a comment to point a hack.
11713 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11714 Fixed a double write of labels.
11716 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11719 * LaTeX.h Fixed bug in LaTeX class where it would not
11720 re-run latex if no depfiles were changed, but the .dvi was removed.
11722 2001-11-28 André Pönitz <poenitz@gmx.net>
11724 * all the files from the change on 2001/11/26:
11725 use lyx::layout_type instead of LyXTextClass::size_type
11726 use lyx::textclass_type instead of LyXTextClassList::size_type
11728 2001-11-29 Juergen Vigna <jug@sad.it>
11730 * text.C: added support for paragraph::isFreeSpacing()
11732 * buffer.C: same as above
11734 * paragraph.h: inserted isFreeSpacing() function to enable
11735 FreeSpacing inside InsetERT.
11737 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11738 of the paragraph's in the cut/copy buffer to 0!
11740 * text2.C (removeRow): remove the assert as it can!
11742 * lyxtext.h: added helper function firstRow returning firstrow and
11743 made firstrow private again.
11745 * BufferView2.C (lockInset): don't relock if we're already locked!
11747 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11748 the only paragraph.
11749 (removeRow): added Assert::(firstrow)
11751 * debug.C: forgot to add INSETTEXT here.
11753 2001-11-28 Juergen Vigna <jug@sad.it>
11755 * sp_spell.C (initialize): changed error text to more general
11756 spellchecker command use (not only ispell!)
11758 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11760 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11762 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11764 * vspace.C: initialise lyxgluelength on failure
11766 2001-11-28 Allan Rae <rae@lyx.org>
11768 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11769 declaration & definition that looks like a function declaration.
11771 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11773 * BufferView2.C (copy):
11774 (copyEnvironment): do not clear the selection when doing a copy.
11776 * text.C (paintFirstRow): compilation fix
11778 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11780 * tabular.C (Latex): correct line count when writing latex.
11782 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11784 * paragraph_pimpl.h:
11785 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11788 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11792 * LColor.C: change vfillline->added_space
11794 * text.C: add markers and text for added space
11796 * vspace.C: fix comment
11798 2001-11-28 André Pönitz <poenitz@gmx.net>
11800 * paragraph.C: whitespace changes
11801 * all the other files from the change on 2001/11/26:
11802 change *::pos_type into lyx::pos_type
11804 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11806 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11807 language of the document when inserting error insets.
11809 2001-11-26 André Pönitz <poenitz@gmx.net>
11811 * BufferView_pimpl.[Ch]:
11819 * paragraph_pimpl.[Ch]:
11822 * text2.C: reduce header dependencies, introduce type for positions
11824 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11826 * <various>: change to use Alert.h
11828 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11830 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11831 when encountering an unknown token.
11832 (readLyXformat2): Show an error message if there were unknown tokens.
11834 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11837 * BufferView_pimpl.C:
11841 * text2.C: use par->isInset()
11843 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11845 * paragraph_pimpl.h:
11846 * paragraph_pimpl.C: cleanup
11848 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11850 * text2.C (removeRow):
11851 * text.C (setHeightOfRow): remove useless (and costly) call to
11854 2001-11-20 Allan Rae <rae@lyx.org>
11856 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11857 Now need Inset*::checkInsertChar() to return true for appropriate
11858 cases so that the characters in the minibuffer will actually be
11861 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11863 * text.C: change the order of the includes.
11864 (workWidth): initialize it at once.
11865 (workWidth): make maxw unsigned
11866 (setHeightOfRow): remove unused variable (inset)
11867 (selectSelectedWord): remove unused variable (inset)
11868 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11870 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11872 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11873 server is not running.
11875 (closeConnection): add debug info when server is disabled.
11877 * ColorHandler.C (getGCForeground): send debug message to GUI
11880 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11882 * kbmap.C (bind): modify because return conventions of
11883 kb_sequence::parse have changed.
11885 * kbsequence.C (parse): only ignore spaces and not any stupid
11886 control character. This avoids tests like s[i] <= ' ', which are
11887 guaranteed to fail with 8bit characters and signed chars.
11888 Change return code to string::npos when there have been no error
11889 (0 was a bad idea when error is at first character)
11891 2001-11-14 José Matos <jamatos@fep.up.pt>
11894 * buffer.C (simpleDocBookOnePar): removed unused argument.
11896 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11898 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11899 insets which are part of a word. Paragraph::isLetter takes care of
11900 that now. Use Paragraph::isInset to identify insets.
11901 (selectSelectedWord): do not test for hyphenation break.
11903 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11904 that protected spaces are considered as spaces.
11906 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11909 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11912 * lyxserver.C: fix it. and small cleanup.
11914 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11916 * BufferView_pimpl.C: use inline helpers
11919 * LaTeXFeatures.C: fix typos
11922 * Spacing.C: move spacing_string into class
11924 * ToolbarDefaults.C: move stuff into namespace anon
11926 * layout.h: update enum
11928 * lyxfunc.C: use better debug
11930 * minibuffer.h: fix typo
11934 * WorkArea.C: add and use Debug::WORKAREA
11938 * text2.C: code re-organisation, inline helpers
11940 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11942 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11943 std::vector.empty().
11945 2001-11-09 Allan Rae <rae@lyx.org>
11947 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11948 '\n's after tables. Tabular and ERT inset work now makes this no
11951 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11954 * minibuffer.C: fix crash, improve drop-down completion
11956 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11959 * lyxserver.C: invalidate fd's when doing endPipe()
11961 2001-11-08 José Matos <jamatos@fep.up.pt>
11963 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11964 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11967 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11969 2001-11-07 José Matos <jamatos@fep.up.pt>
11972 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11975 * buffer.C (sgmlOpenTag):
11976 * buffer.C (sgmlCloseTag): removed debug info.
11978 * buffer.h (sgmlOpenTag):
11979 * buffer.h (sgmlCloseTag): made public.
11981 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11983 * buffer.C (saveParamsAsDefaults):
11984 * lyx_cb.C (MenuLayoutSave): remove
11986 * LyXAction.C (init):
11988 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11990 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11992 * buffer.C (setPaperStuff): removed from here...
11994 * bufferparams.C (setPaperStuff): ... and moved there.
11996 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12000 * XFormsView.C: add support for drop-down completion
12002 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12004 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12007 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12009 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12012 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12014 * lyx_main.C: change ref to known bugs
12016 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12018 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12019 to work around older babel problems.
12021 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12023 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12025 2001-10-24 Juergen Vigna <jug@sad.it>
12027 * tabular-old.C (ReadOld): below variable changes reflected.
12029 * tabular.[Ch]: added ltType struct for longtable header/footer
12030 defines and changed all instances where they are used. Added
12031 future support for double top/bottom rows.
12033 2001-10-24 José Matos <jamatos@fep.up.pt>
12035 * buffer.h (docbookHandleCaption):
12036 * buffer.C (docbookHandleCaption): removed unused function.
12037 (makeDocBookFile): moved docbook supported version to v4.1.
12039 2001-10-24 José Matos <jamatos@fep.up.pt>
12042 * tabular.C (docbookRow): new function to export docbook code of a row.
12043 (DocBook): now honors the longtable flags.
12045 2001-10-23 José Matos <jamatos@fep.up.pt>
12048 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12049 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12051 * buffer.C (makeLinuxDocFile):
12052 (makeDocBookFile): reworked the preamble, more clean, and with
12053 support for lyx defined entities. Changed the document declaration
12054 to be more XML friendly.
12056 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12057 if we need to output XML that should be done with a filter.
12059 2001-10-22 Juergen Vigna <jug@sad.it>
12061 * sp_pspell.h (class PSpell): add alive function needed in the
12062 controller to see if the spellchecker could be started.
12064 2001-10-22 Juergen Vigna <jug@sad.it>
12066 * buffer.C (insertStringAsLines): modify the font for inserting
12067 chars in certain conditions by calling checkInsertChar(font).
12069 2001-10-19 Juergen Vigna <jug@sad.it>
12071 * text.C (workWidth): use getRow instead of wrong algorithm.
12072 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12074 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12079 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12081 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12083 * text.C (workWidth): do not search for the exact row when
12084 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12085 optimization for big documents.
12087 2001-10-18 Juergen Vigna <jug@sad.it>
12089 * text.C (workWidth): new function with added Inset * parameter.
12091 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12093 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12095 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12096 change return type of getColumnNearX.
12099 * text.C (changeRegionCase): use uppercase/lowercase instead of
12102 (rightMargin): simplify code by factoring out the uses of
12107 (appendParagraph): use Paragraph::size_type
12109 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12111 * vspace.C (asLatexString): add a missing break
12113 2001-10-15 Herbert Voss <voss@perce.de>
12115 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12117 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12119 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12122 2001-10-10 André Pönitz <poenitz@gmx.net>
12124 * lyxfunc.C: removed greek_kb_flag.
12126 2001-10-10 Herbert Voss <voss@perce.de>
12128 * lyx_main.C: delete global string help_lyxdir.
12130 2001-10-09 Herbert Voss <voss@perce.de>
12132 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12134 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12136 * lyx_main.C: added global string help_lyxdir.
12138 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12140 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12142 * lyxrc.C (set_font_norm_type): support iso8859-4
12144 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12146 * LaTeX.C (deplog): add another regex for MikTeX
12148 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12150 * lyxrc.C (set_font_norm_type): support iso8859-3
12152 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12154 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12156 * LaTeXFeatures.C: remove special case of french and index
12158 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12159 before \begin{document}). This solves several incompatibilities.
12161 2001-10-03 Garst Reese <reese@isn.net>
12163 * lyx_cb.C: change CheckTex error msg.
12165 2001-10-03 José Matos <jamatos@fep.up.pt>
12167 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12169 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12171 * .cvsignore: update
12173 * lyx_main.C (commandLineVersionInfo): use new style version info.
12175 * buffer.C (writeFile):
12177 (makeLinuxDocFile):
12178 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12180 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12182 * version.h: update to use stuff in version.C
12184 * version.C.in: new file. Contains version information determined
12185 at compile time. This is a merging of version.h and
12188 2001-10-03 Juergen Vigna <jug@sad.it>
12190 * BufferView_pimpl.C (update): don't change "dirty" status in
12193 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12195 * WorkArea.C (c-tor): re-position version string slightly.
12197 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12199 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12200 revert to previous code.
12202 WorkArea.[Ch]: (show, destroySplash): methods removed.
12204 WorkArea.C: rework code so that it's an amalgam of the codes before and
12205 after the splash screen was moved to WorkArea.
12207 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12210 * vspace.C (inPixels):
12213 * buffer.C (insertStringAsLines):
12214 (asciiParagraph): fix types to be large enough
12216 * lyxlex_pimpl.h: change member status from short to int
12218 * layout.h: fix type of endlabeltype
12221 * kbsequence.C (parse): change return type to string::size_type
12223 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12226 * Bullet.C (bulletSize):
12227 (bulletEntry): do not use short ints as parameters
12229 * BufferView2.C (insertLyXFile): change a char to an int.
12231 * WorkArea.C (WorkArea): remove unneeded floats in computation
12233 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12235 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12237 * paragraph.C (asString): Do not ignore newline/hfill chars when
12238 copying to the clipboard.
12240 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12242 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12243 after a multi-line inset.
12245 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12247 * paragraph.C (validate): Set NeedLyXFootnoteCode
12249 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12251 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12252 and decrease-error to decrease.
12254 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12256 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12257 it more readable (should be equivalent)
12259 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12261 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12263 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12266 of a cursor (row, etc.) after a character has been deleted
12267 (deleteEmptyParagraphMechanism): call the method above on _all_
12268 cursors held by the LyXText when a double space has been
12271 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12273 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12275 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12277 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12278 background. Use greyOut() and the new show() methods to toggle between
12279 the foreground and background. Add code to remove the splash after
12280 its initial showing.
12282 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12283 (create_forms): no longer call Dialogs::showSplash.
12285 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * .cvsignore: add version_info.h
12289 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12291 * version_info.h.in: new file
12293 * Makefile.am: add version_info.h.in
12295 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12296 version_info.h instead of VERSION_INFO
12298 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12300 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12301 The ERT inset now returns string().
12303 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12305 * lyxtext.h, text.C (selectNextWord): renamed as
12306 selectNextWordToSpellcheck.
12308 * text.C (selectNextWordToSpellcheck): Modified to not select
12309 words inside an ERT inset.
12311 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12313 * lyx_cb.C (MenuLayoutSave): change a bit the question
12315 * sp_base.h: include <sys/types.h>
12317 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12319 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12321 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12323 * several files: fix typos in user-visible strings
12325 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12327 * text2.C (pasteSelection): do not set the selection, since it
12328 will be cleared later. Actually, the intent was to fix the way the
12329 selection was set, but I figured rmoving the code was just as good.
12331 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12333 * FontLoader.C (available): Check if font is available without
12336 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12338 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12340 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12342 * lyxrc.[Ch]: added display_graphics variable and associated code.
12344 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12346 * bufferparams.C (hasClassDefaults): new method. Returns true if
12347 the buffer parameters correspond to known class defaults
12349 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12351 * XFormsView.C (show): set minimum size to the main window.
12353 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12355 * text2.C (copySelection):
12357 * lyxfind.C (LyXReplace):
12358 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12359 LyXText::selectionAsString.
12361 * paragraph.C (asString): add "label" argument to the second form
12363 * text2.C (selectionAsString): add "label" argument and pass it to
12364 Paragraph::asString.
12366 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12368 * lyx_main.C (commandLineHelp): remove version information
12370 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12372 * lyx_main.C: add -version commandline option
12374 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12376 * paragraph.h: make the optional constructor arg required instead.
12377 some modifications to other files because of this.
12379 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12381 * lyxserver.C (C_LyXComm_callback): make it static
12383 * lyx_main.C (error_handler): make it static
12385 * lyx_gui.C (LyX_XErrHandler): make it static
12387 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12389 * WorkArea.C: make the extern "C" methods static.
12391 * Makefile.am (lyx_LDADD): simplify
12393 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12395 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12396 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12398 * LyXAction.C (init):
12399 * lyxfunc.C (dispatch): associated code removal.
12401 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12403 * lyxfont.h (isSymbolFont): shut off warning
12405 * text.C (setHeightOfRow):
12406 (getVisibleRow): fix crash with empty paragraphs which have a
12409 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12411 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12414 2001-09-04 José Matos <jamatos@fep.up.pt>
12417 * tabular.C (docbook): rename docBook method to docbook.
12419 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12421 * Makefile.am: add dependencies to main.o.
12423 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12425 * FontLoader.C (available): Return false if !lyxrc.use_gui
12427 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12429 * FontInfo.C (query):
12430 * converter.C (view):
12431 * importer.C (Import):
12432 * exporter.C (Export): Can not -> cannot.
12434 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12436 * BufferView_pimpl.C: allow to create index inset even if
12439 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12441 * buffer.C (getLists): replace boost::tie code with an explicit pair
12442 as boost::tie can break some compilers.
12444 * iterators.h: Added a std:: declaration to the return type of
12447 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12449 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12452 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12454 * iterators.[Ch]: New files. Provide paragraph iterators.
12456 * buffer.C (changeLanguage): Use paragraph iterators.
12457 (isMultiLingual): ditto
12459 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12461 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12463 * FontLoader.C: Support for cmr font.
12465 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12467 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12468 (available): New method.
12470 * FontInfo.C (getFontname): Use scalable fonts even when
12471 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12474 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12476 * converter.C (Formats::view): reverted! Incorrect fix.
12478 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12480 * converter.C (Formats::view): only output the -paper option
12481 if the dvi viewer is xdvi, thereby fixing bug #233429.
12483 2001-08-23 Herbert Voss <voss@perce>
12485 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12487 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12489 * Spacing.h (Spacing): Set space to Default on in the default
12492 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * vc-backend.h (RCS::versionString): add RCS to version
12495 (CVS::versionString): add CVS to version
12497 * vc-backend.C (scanMaster): do not add CVS to version.
12498 (scanMaster): do not add RCS to version
12500 * lyxvc.C (versionString): new method
12502 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12504 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * Spacing.C (set): initialize fval
12508 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12510 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12513 2001-08-16 Juergen Vigna <jug@sad.it>
12515 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12517 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12519 * BufferView_pimpl.C:
12522 * text2.C: setParagraph takes linespacing now
12524 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12526 * LyxAction.C: add internal LFUN_CITATION_INSERT
12528 * LyXView.C: actually apply fix
12530 * bufferlist.C: fix open non-existent file
12532 * lyxfind.C: fix indentation
12534 * lyxfunc.C: remove unneeded assert, fix typo
12536 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12538 * MenuBackend.C: use "Floatname List"
12540 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12542 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12543 when converting LaTeX layout to insetERT.
12544 Generate a non-collapsed float when reading old float
12546 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12548 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12551 2001-08-13 Juergen Vigna <jug@sad.it>
12553 * text.C (fill): return 0 instead of 20 as this seems to be the more
12556 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12558 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12561 2001-08-13 Juergen Vigna <jug@sad.it>
12563 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12565 (SearchBackward): comment out the unlocking of the inset_owner this
12566 should not be needed!
12568 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12570 * Many files: Remove inherit_language, and add latex_language
12572 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12573 collapsible insets.
12575 2001-08-10 Juergen Vigna <jug@sad.it>
12577 * text.C (prepareToPrint): fixed hfill-width in draw!
12579 * BufferView2.C (selectLastWord): save the selection cursor as this
12580 now is cleared in the function LyXText::clearSelection!
12582 2001-08-08 Juergen Vigna <jug@sad.it>
12584 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12585 BACKSPACE type functions.
12587 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12588 is only cutted from the document but not put in the cut-buffer, where
12589 still the old stuff should be.
12591 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12593 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12595 * tabular.C (SetWidthOfCell): fixed special case where the width
12597 (LeftLine): handle '|' in align_special.
12599 (LeftAlreadyDrawed): ditto
12600 (SetWidthOfCell): ditto
12602 2001-08-07 Juergen Vigna <jug@sad.it>
12604 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12606 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12608 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12609 * lyxlex.[hC]: ditto
12611 2001-08-06 Juergen Vigna <jug@sad.it>
12613 * text.C (getVisibleRow): fix up row clearing a bit.
12615 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12617 * minibuffer.C: make sure the X server sees the changes in the input.
12619 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * paragraph.C (getFont): split into...
12622 (getLabelFont): this
12623 (getLayoutFont): and this
12624 * paragraph_pimpl.C (realizeFont): calling this
12626 * text2.C (getFont): split into...
12627 (getLayoutFont): this
12628 (getLabelFont): and this
12629 (realizeFont): all three calling this
12631 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12634 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12636 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12638 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12640 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12641 layouts from the Quote inset insertion.
12643 2001-08-03 Juergen Vigna <jug@sad.it>
12645 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12647 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12648 only if status not is already CHANGED_IN_DRAW (second level).
12650 * text.C (draw): don't set the need_break_row when inside an
12653 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * buffer.C (parseSingleLyXformat2Token): handle more latex
12658 * bufferview_funcs.[hC]: change function names to
12659 begin with small char, adjust other files.
12661 2001-08-02 André Pönitz <poenitz@gmx.net>
12664 BufferView_pimpl.C: remove broken special code for math-greek
12666 2001-08-02 Juergen Vigna <jug@sad.it>
12668 * BufferView_pimpl.C (update): redone this function so that we
12669 update the text again if there was a CHANGE_IN_DRAW.
12671 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12672 (drawFromTo): added a new internal bool which is used by draw() and
12674 (general): some cursor drawing problems fixed.
12676 2001-08-01 Juergen Vigna <jug@sad.it>
12678 * lyxfind.C (LyXFind): fixed
12679 (SearchForward): ditto
12680 (SearchBackward): ditto
12682 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12683 spurius drawing of the cursor in the main area.
12685 * text2.C (status): small fix which could lead to a segfault!
12686 (clearSelection): remove unneeded BufferView param.
12688 2001-08-01 André Pönitz <poenitz@gmx.net>
12690 * lyxfunc.C: small change due to changed mathed interface
12692 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12694 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12696 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12698 * lyxfunc.c: fail gracefully if file doesn't exist
12703 * BufferView_pimpl.C: IsDirWriteable() proto changed
12705 * LyXView.C: fix updateWindowTitle() to store the last title
12707 2001-07-31 Juergen Vigna <jug@sad.it>
12709 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12710 the font (wrong since using of Paragraph::highestFontInRange).
12712 * paragraph.C (highestFontInRange): added a default_size parameter.
12714 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12715 (setHeightOfRow): reformat
12717 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12719 * converter.[hC] + affected files: move to (inital-char)lowercase
12722 * ParagraphParameters.C (ParagraphParameters): remove commented code
12724 * PainterBase.[Ch]: remove commented code
12726 * LaTeXFeatures.h: add "bool floats" for float.sty
12728 * LaTeXFeatures.C (LaTeXFeatures): init floats
12729 (require): handle float
12730 (getPackages): do it with floats
12732 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12734 * BufferView_pimpl.C (Dispatch): improve handling of
12735 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12737 * commandtags.h: #include lyxfont.h here temporarily to avoid
12740 * bufferlist.h: include LString.h here.
12742 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12744 * text2.C (getStringToIndex): new method.
12746 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12748 * *: Reduced header file dependencies all over.
12750 2001-07-30 Baruch Even <baruch@lyx.org>
12752 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12754 2001-07-29 Baruch Even <baruch@lyx.org>
12756 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12758 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12760 * ParameterStruct.h (endif): add a default constructor to make
12761 sure that all variables is initialized.
12763 * ParagraphParameters.C (ParagraphParameters): adjust
12765 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12767 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12768 index; also, check that there is something to index, and that it
12769 does not span over several paragraphs.
12770 (doubleClick): use WHOLE_WORD_STRICT for double click.
12772 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12774 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12777 2001-07-26 Baruch Even <baruch@lyx.org>
12779 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12780 an InsetFig figure, backwards compatible reading of old figure code.
12782 2001-07-27 Juergen Vigna <jug@sad.it>
12784 * text2.C: font.realize function adaption.
12786 * text.C (draw): add a warnings lyxerr text if needed.
12788 * layout.C: font.realize function adaption.
12790 * language.C: add inherit_language and implement it's handlings
12792 * bufferview_funcs.C (StyleReset): remove language parameter from
12793 font creation (should be language_inherit now).
12795 * bufferparams.C (writeFile): handle ignore_language.
12797 * paragraph.C (getFontSettings): the language has to be resolved
12798 otherwise we have problems in LyXFont!
12800 * lyxfont.C (lyxWriteChanges): added document_language parameter
12801 (update): removed unneeded language parameter
12803 * paragraph.C (validate): fixed wrong output of color-package when
12804 using interface colors for certain fonts in certain environments,
12805 which should not seen as that on the final output.
12807 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12809 * BufferView_pimpl.C:
12814 * LyXAction.C: add thesaurus support
12817 * lyxfind.C: add "once" parameter, for thesaurus, to not
12818 move to the next match
12820 2001-07-26 Juergen Vigna <jug@sad.it>
12822 * lyxfont.C (realize): honor ignore_language too!
12825 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12827 * text.C (draw): one place more for ignore_language to not draw
12830 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12832 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12834 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12837 the minipage conversion problem.
12839 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12841 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12844 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12846 * BufferView.h: don't forward declare WorkArea
12848 * BufferView.C: don't include WorkArea.h
12850 2001-07-25 André Pönitz <poenitz@gmx.net>
12854 * lyxfunc.C: new LFUN 'math-space'
12856 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12858 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * text2.C (toggleInset): call open/close
12862 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * lyxfunc.C (dispatch): add debug for the disabled case
12866 * font.C (buttonText): make similar to rectText
12868 * buffer.C (readInset): comment out parsing of insetlist and
12871 * PainterBase.C (rectText): small correction
12873 * BufferView_pimpl.C: comment out insettheorem and insetlist
12874 * LyXAction.C: ditto
12875 * commandtags.h: ditto
12877 2001-07-24 Juergen Vigna <jug@sad.it>
12879 * text.C (draw): honor the ignore_language.
12881 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12883 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12885 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12888 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12890 * lyxtext.h: remove unused (and unimplemented) methods
12892 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12894 * text.C (getVisibleRow): honor background color
12897 * Painter.h: remove default color argument for fillRectangle
12899 * text.C (backgroundColor): new method
12901 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12903 * text.C (getVisibleRow): adjust
12905 * font.[Ch] (rectText): new method, metrics
12906 (buttonText): new method, metrics
12908 * PainterBase.[hC]: make rectText and buttonText always draw and take
12911 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12913 * ToolbarDefaults.C (read):
12914 * MenuBackend.C (read): allow escaping in all strings
12916 * BufferView_pimpl.C (insertAndEditInset): new method.
12917 (Dispatch): use insertAndEditInset whenever appropriate.
12919 * BufferView_pimpl.C (insertNote): removed
12921 * BufferView_pimpl.C (smartQuote): new method, moved from
12922 BufferView; if an insetquote cannot be inserted, insert a '"'
12925 * BufferView2.C: remove insertCorrectQuote();
12927 * lyxfunc.C (getStatus): Add support for all remaingin
12928 inset-insert lfuns.
12930 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12932 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12933 command (necessary to pass " as parameter of self-insert.
12935 * text.C (selectWordWhenUnderCursor):
12936 (selectWord): add word_location parameter
12937 (selectWordWhenUnderCursor): same + remove special code for word
12939 (selectNextWord): use kind() to guess type of insetspecialchar,
12942 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12943 (insertErtContents): create ert insets as collapsed.
12944 (readInset): better compatibility code for Info inset.
12946 2001-07-20 Juergen Vigna <jug@sad.it>
12948 * lyxfunc.C (dispatch): use always LyXFind now!
12950 * text2.C (init): add a reinit flag so that the LyXText can be
12951 reinited instead of deleted and reallocated (used in InsetText).
12953 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12959 2001-07-18 Juergen Vigna <jug@sad.it>
12961 * text.C (selectNextWord): handle insets inside inset by calling
12962 always the bv->text functions so that we can go up the_locking_inset!
12964 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12965 in strange locations when inside an inset!
12967 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12968 handling to include insets.
12970 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12972 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12974 * LyXAction.C (init):
12976 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12977 LIGATURE_BREAK, since the name is so stupid.
12979 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12981 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12984 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12986 * sp_form.[Ch]: remove.
12988 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12990 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12993 * src/buffer.C (readInset): ditto.
12995 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12997 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12998 menuSeparator(), endOfSentenceDot(), ldots() and
12999 hyphenationPoint(), which are therefore removed.
13000 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13002 * LyXAction.C (init):
13003 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13005 * paragraph.C (getWord): removed.
13007 * BufferView_pimpl.C (Dispatch): use last word or selection for
13008 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13010 * lyx_main.C (queryUserLyXDir): do not ask before creating
13011 user_dir, except if it has been named explicitely.
13013 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13015 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13016 a document of zero size.
13018 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13020 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13021 approriately in the c-tor and in require().
13022 (getPackages): output the appropriate LaTeX for natbib support.
13024 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13025 variables "use_natbib" and "use_numerical_citations" when reading the
13027 (readInset): read the various natbib cite commands.
13028 (validate): white-space change.
13030 * bufferparams.[Ch]: new variables "bool use_natbib" and
13031 "bool use_numerical_citations".
13032 (writeFile): output them in the LyX file.
13034 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13036 * lyxfunc.C (getStatus): add support for all the inset insertion
13039 * text2.C (insertInset):
13040 * paragraph.C (insetAllowed):
13041 * BufferView_pimpl.C (insertInset): update to take in account the
13042 renaming of insertInsetAllowed
13044 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13046 * text2.C (getInset): new method. returns inset at cursor position.
13048 * BufferView_pimpl.C (Dispatch): changes because of this.
13050 * LyXAction.C (init): rename open-stuff to inset-toggle.
13052 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13054 * text2.C (toggleInset): renamed from openStuff; use
13057 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13059 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13061 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13063 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13065 * buffer.C (readLyXformat2): Add filename to the error dialog
13067 2001-07-18 Juergen Vigna <jug@sad.it>
13069 * tabular.C (GetCellNumber): put an assert here instead of the check!
13071 2001-07-17 Juergen Vigna <jug@sad.it>
13073 * BufferView_pimpl.C (toggleSelection): adapted too.
13075 * text.C (selectNextWord): adapted for use with insets.
13076 (selectSelectedWord): ditto
13078 2001-07-17 Juergen Vigna <jug@sad.it>
13080 * sp_spell.C (PSpell): fix initialitation order.
13082 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13084 * paragraph.C: spacing
13086 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13088 * sp_spell.C: repair language selection for pspell
13090 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13092 * lyxfunc.h: change more methods to begin with lower char.
13094 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13096 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13097 for unknown layouts.
13099 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13101 * buffer.C (readLyXformat2): Generate an error dialog if there are
13104 2001-07-16 Juergen Vigna <jug@sad.it>
13106 * sp_spell.C: always compile ISpell part.
13108 * lyxrc.C: added use_pspell entry and it's handling.
13110 2001-07-13 Juergen Vigna <jug@sad.it>
13112 * sp_spell.C: removed double includes.
13114 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13116 Consistent use of Lsstream.h:
13117 * Lsstream.h: added using std::stringstream for consistencies sake.
13119 * buffer.C: removed using std::stringstream
13121 * lyxfont.C (stateText):
13122 * paragraph.C (asString):
13123 * text.C (selectNextWord, selectSelectedWord):
13124 * text2.C (setCounter):
13125 * vspace.C (asString, asLatexString):
13126 std::ostringstream -> ostringstream.
13128 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13130 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13131 * commandtags.h: add LFUN_HELP_ABOUTLYX
13132 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13134 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13136 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13138 * lyx_gui_misc.C: remove spellchecker
13139 * lyxfunc.C: showSpellchecker
13141 * sp_ispell.h: added
13142 * sp_pspell.h: added
13143 * sp_spell.C: added
13144 * sp_form.[Ch]: removed
13145 * spellchecker.[Ch]: removed
13147 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13149 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13151 (simpleTeXSpecialChars): Simply print the input character without
13152 any special translation if pass_thru is set.
13154 * layout.h: Added bool pass_thru to layout class for being able to
13155 implement pass through of a paragraph for Literate Programming.
13157 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13158 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13159 * layout.C (Read): add "passthru" to list of layout tags and add
13160 code to set the pass_thru boolean when it is read.
13162 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * trans_decl.h: remove allowed from KmodInfo
13166 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13167 remove allowed code
13170 * paragraph_pimpl.C (erase): use boost::prior
13172 * Painter.C (text): use data() instead of c_str() when length is
13174 * WorkArea.C (putClipboard): ditto
13175 * font.h (width): ditto
13177 * BufferView2.C: use it-> instead of (*it). for iterators
13179 * paragraph_pimpl.C: ditto
13180 * paragraph.C: ditto
13181 * minibuffer.C: ditto
13182 * language.C: ditto
13184 * encoding.C: ditto
13185 * counters.C: ditto
13186 * converter.C: ditto
13188 * Variables.C: ditto
13189 * TextCache.C: ditto
13190 * MenuBackend.C: ditto
13191 * LyXAction.C: ditto
13193 * FloatList.C: ditto
13194 * DepTable.C: ditto
13195 * ColorHandler.C (LyXColorHandler): ditto
13197 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13201 * text2.C (openStuff): reintroduce this method (which had been
13202 nuked in NEW_INSETS frenzy).
13204 * lyxfunc.C (Dispatch): when an action has not been handled, use
13205 its name in the error message, not its number.
13207 * paragraph.C (inInset): change method name to begin with lowercase.
13210 * text2.C: updates because of this.
13212 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * ToolbarDefaults.C (add): add spaces in error message
13216 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13218 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13219 (readLyXformat2): rename return_par to first_par, use lyxlex's
13220 pushToken and remove the manual push handling.
13221 (parseSingleLyXformat2Token): add another ert comp. variable:
13222 in_tabular, rename return_par to first_par. handle newlines better
13224 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13226 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13228 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13230 * text2.C (getParFromID): removed
13232 * buffer.C (getParFromID): new method moved form lyxtext.
13233 * BufferView2.C (insertErrors): adjust
13234 (setCursorFromRow): adjust
13235 * BufferView_pimpl.C (restorePosition): adjust
13236 * lyxfunc.C (Dispatch): adjust
13237 * undo_funcs.C (textUndo): adjust
13239 (textHandleUndo): adjust
13240 (textHandleUndo): adjust
13242 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * buffer.C: up' the LYX_FORMAT
13246 * lyxfont.h: turn NO_LATEX on as default
13248 * buffer.C (insertErtContents): new methods of tex style compability.
13249 (parseSingleLyXformat2Token): use it several places.
13250 * tabular.C (OldFormatRead): and here
13252 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13254 * text2.C: remove some commented code.
13257 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13258 * trans.C: changes because of the above.
13260 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13262 * text2.C (setCounter): Fix counters bug with bibliography layout.
13264 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13266 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13267 own member functions
13268 (simpleTeXSpecialChars): ditto
13270 2001-07-06 Juergen Vigna <jug@sad.it>
13272 * a lot of files: changed the access to LyXText::status and the
13273 call of undo-functions.
13275 * undo.[Ch]: added a inset_id to the undo informations.
13277 * undo_funcs.[Ch]: added and moved here all undo functions.
13279 * lyxtext.h: give the status enum a weight, made status_ a private
13280 variable and made accessor functions for it, removed the whole bunch
13281 of undo-functions as they are now in their own file, make some
13282 functions publically available. Added function ownerParagraph with
13285 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13286 made InInset() a const function, added getParFromID() function.
13288 * buffer.[Ch]: added const version for inset_iterator functions,
13289 added getInsetFromID() function.
13291 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13292 changed undo functions for new version.
13294 2001-07-05 Juergen Vigna <jug@sad.it>
13296 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13297 unknow mechanism does not call the proper constructor but only this
13298 one also if I request the other!?
13300 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13302 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13304 * text2.C (LyXText): use initialization lists.
13306 * lyxtext.h (Selection): initialize set_ and mark_
13307 (init): remove method
13309 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13311 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13313 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13315 * screen.[Ch]: change method names to begin with lowercase
13317 * BufferView_pimpl.C (updateScrollbar): simplify further and
13318 hopefully make it a bit faster.
13320 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13323 calling directly xforms functions.
13325 * Painter.C (Painter):
13326 * lyx_cb.C (MenuWrite):
13327 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13330 * lyx_gui.C: remove bogus guiruntime extern declaration.
13332 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13334 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13336 (redoDrawingOfParagraph): ditto
13337 (redoParagraphs): ditto
13338 (cutSelection): don't create a object for CutAndPaste use the
13339 static method directly
13340 (pasteSelection): ditto
13342 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13345 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13347 * modifications to some other files because of this.
13349 * Makefile.am (lyx_SOURCES): add XFormsView
13351 * XFormsView.[Ch]: new files
13353 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13354 the main window. Move the gui dependent stuff to XFormsView
13356 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13358 * tabular.C (GetCellInset): update cur_cell also in the row/col
13359 version of this function.
13361 * lyxfunc.C: no need to include figure_form.h here.
13367 * lyxvc.C: no need to include forms.h here.
13369 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13371 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13373 * lyxfunc.C (Dispatch):
13375 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13376 constructor argument.
13378 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13380 * paragraph.C (Paragraph): dont't clear, and just set layout.
13381 (makeSameLayout): use params's copy contructor.
13383 * ParagraphParameters.[Ch] (makeSame): delete method
13385 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13387 * Variables.[Ch]: fix indentation, rename set to isSet
13389 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * lyxfunc.C (Dispatch): fix typo
13393 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13395 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13398 * bufferlist.C: include assert.h for emergencyWrite().
13400 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13402 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13403 give up at last (bug #425202) !
13405 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13411 * spellchecker.C: strip spellchecker options and bring up
13412 preferences tab instead
13414 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13416 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13417 the istringstream constructor
13419 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13421 * paragraph.C (getLayout): fix return value
13423 * paragraph.h: do not declare getLayout as inline.
13425 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13427 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * lyxcursor.h (operator<): new func
13430 (operator>): new func
13431 (operator>=): new func
13432 (operator<=): new func
13434 * text.C (changeCase): use selection.start and selection.end
13435 (changeRegionCase): require from to be <= to. Require par to be a
13438 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13440 2001-06-27 Juergen Vigna <jug@sad.it>
13442 * text.C (cursorLeftOneWord): changed to return the cursor and added
13443 overlay with BufferView * parameter which calls this one.
13445 (selectWord): use new getWord function.
13446 (changeCase): renamed from changeWordCase as and extended to work
13447 also on selections.
13449 * lyxtext.h: added enum word_location
13451 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13452 changeCase as this operates now also on selections.
13454 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13456 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13458 * many files: send debug output to Debug::INFO instead of
13461 * converter.C (View):
13463 (Move): send debug output to Debug::FILES instead of console.
13465 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13467 * lyxfunc.C (getStatus): use func_status
13469 * func_status.h: new header, describing the results of
13470 LyXFunc::getStatus;
13472 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13475 2001-06-25 The LyX Project <jug@sad.it>
13477 * buffer.C (sgmlOpenTag):
13479 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13481 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13483 * text2.C: remove some dead code
13485 * tabular.C (GetCellInset): store the last cell checked (gotten)
13487 * tabular.h: add the helper for the speedup
13489 * lyxtext.h: remove some dead code
13491 2001-06-26 The LyX Project <Asger>
13493 * paragraph.C: Change export to LaTeX of alignment to
13494 \begin{center} and family for better roundtrip work with reLyX.
13496 * Tune the math drawing a bit.
13498 2001-06-25 The LyX Project <Asger>
13500 * LColor.C (LColor): New color for math background. New color
13503 2001-06-25 The LyX Project <jug@sad.it>
13505 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13507 * lyxfunc.C (Open):
13508 * bufferlist.C (newFile): do not restrict to files ending with
13511 * BufferView_pimpl.C (MenuInsertLyXFile):
13513 2001-06-24 The LyX Project <jug@sad.it>
13515 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13518 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * lyxtext.h: rename most methods to begin with a small char.
13521 Lots of changes because of this.
13523 * paragraph.C (Paragraph): do not call fitToSize
13524 (erase): call Pimpl::erase
13525 (insertChar): call Pimpl::insertChar
13526 (insertInset): call Pipl::insertInset
13527 (breakParagraph): do not call fitToSize
13528 (breakParagraphConservative): do not call fitToSize
13529 (fitToSize): remove method
13531 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13533 2001-06-24 The LyX Project <Asger>
13535 * Fix Qt compilation^2
13537 2001-06-24 The LyX Project <jug@sad.it>
13539 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13540 depthHook(getDepth()-1).
13543 * ParagraphParameters.h:
13544 * ParameterStruct.h: change type of depth to unsigned int ==
13545 depth_type. Many adaptations to other files before of that.
13547 2001-06-24 The LyX Project <Asger>
13549 * Fix Qt compilation.
13551 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13553 * paragraph.h: renamed several methods to begin with small letter.
13554 several changes to many parts of the code because of this.
13556 2001-06-23 The LyX Project <jug@sad.it>
13558 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13559 rewritten to discard all double spaces when KeepEmpty is off
13560 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13561 to only handle newlines but not fiddle with spaces and friends.
13563 * lyxfunc.C (MenuNew): when doing 'new from template', use
13564 template_path as default directory
13566 2001-06-23 The LyX Project <Asger>
13568 * Clean-up of header file includes all over
13569 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13571 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13573 * paragraph.h: renamed from lyxparagraph.h
13575 2001-06-23 Asger <lyx@violet.home.sad.it>
13577 * Buffer.h: Removed Buffer::resize
13578 * BufferList.h: Removed BufferList::resize
13579 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13580 the document lazily when we change the width, or the font settings.
13582 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13584 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13586 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13588 * buffer.h: remove out of date comment
13590 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13593 * screen.C: fix "theoretical" GC leak
13595 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13597 * LaTeX.C (scanAuxFile):
13598 (deplog): remove trailing \r when reading stream (useful under
13601 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13603 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13604 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13605 and BufferView::theLockingInset(Inset*), so should use them and not
13606 access bv_->text->the_locking_inset directly.
13608 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13610 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13613 * tex-defs.h: remove old unused file
13615 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13617 * BufferView_pimpl.C: fix typo, remove minibuffer message
13618 when buffer has loaded
13620 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13622 * lyxfunc.C (Dispatch): use stringstream
13623 (MenuNew): use stringstream
13624 (Open): use stringstream
13626 * importer.C (Import): use stringstream
13628 * bufferview_funcs.C (CurrentState): use stringstream
13630 * LaTeX.C (run): use stringstream
13632 * BufferView_pimpl.C (savePosition): use stringstream
13633 (restorePosition): use stringstream
13634 (MenuInsertLyXFile): use stringstream
13636 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13649 * vspace.C: removed // -*- C++ -*- as first line.
13652 * version.h: added // -*- C++ -*- as first line.
13654 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13656 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13658 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13661 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13666 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * gettext.C: include LString.h even when --disable-nls is on.
13670 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13672 * converter.h (Get): changed argument type from int to
13673 FormatList::size_type to avoid unnecessary conversion.
13675 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13678 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * gettext.h: include LString.h even when --disable-nls is on.
13682 2001-06-07 Juergen Vigna <jug@sad.it>
13684 * text.C (BreakAgain): subst spaces with tabs.
13686 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13687 (resizeInsetsLyXText): set force on resizeLyXText.
13689 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13691 * gettext.h (gettext_init):
13692 (locale_init): use a real definition instead of a macro
13694 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13696 * Bufferview_pimpl.C:
13698 * LColor.C: further lcolor tidies
13700 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13702 * BufferView_pimpl.C (updateScrollbar): simplify.
13704 * BufferView2.C: don't include insets/insetinfo.h, change
13705 prototype for insertInset and call the Pimpl version. let
13706 updateInset call Pimpl version.
13708 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13709 gotoInset to BufferView::Pimpl
13711 2001-06-01 Juergen Vigna <jug@sad.it>
13713 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13714 inside a LockingInset (is the update needed at all?).
13716 2001-05-31 Juergen Vigna <jug@sad.it>
13718 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13719 here not the old one otherwise how should we compare it afterwards
13722 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * FontInfo.C: bring C functions into global namespace when
13730 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13732 * LString.h: make sure config.h has been loaded before LString.h.
13734 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13735 (one for each char read by EatLine!).
13737 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13740 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13742 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13743 to the same as the par we break from
13745 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13747 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13749 * MenuBackend.C (expand): also create menu entries for wide
13750 versions of the floats.
13752 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13754 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13756 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13757 frontends/Makefile.am
13763 * tabular.C (getTokenValue): add std::
13765 * tabular-old.C (getTokenValue): add std::
13766 (getTokenValue): ditto
13767 (getTokenValue): ditto
13769 * screen.C (ToggleSelection): adjust
13771 * lyxtext.h: put selection cursors inside a Selection struct.
13773 * lyxfunc.C (moveCursorUpdate): adjust
13775 * lyxfont.C (latexWriteStartChanges): add std::
13777 * lyxfind.C: adjust
13779 * font.h: delete with(char const *, LyXFont const &)
13781 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13783 * FontInfo.C (getFontname): add std::
13785 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13786 (workAreaButtonPress): adjust
13787 (tripleClick): adjust
13789 (moveCursorUpdate): adjust
13792 * BufferView2.C (gotoInset): adjust
13794 2001-05-30 Juergen Vigna <jug@sad.it>
13796 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13797 to check pspell I add this as default as I now have new pspell
13798 libraries and they seem to use this.
13800 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * text2.C (CutSelection): make the cursor valid before the call to
13805 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13807 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13808 relied on 0 terminated strings and other horrors. Bug found due to
13809 the new assert in lyxstring!
13811 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13814 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13819 * lyxfunc.C (processKeySym): change method of getting to the
13822 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13823 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13824 * BufferView_pimpl.[Ch]: here as private methods.
13826 2001-05-28 Juergen Vigna <jug@sad.it>
13828 * text.C (SetHeightOfRow): added the update() call again as it is
13829 needed to initialize inset dimensions!
13831 2001-05-16 Juergen Vigna <jug@sad.it>
13833 * text2.C (SetCharFont): Add new function with BufferView * and
13834 bool toggleall parameters for setting insets internal fonts.
13835 (SetFont): Freeze the undo as we may change fonts in Insets and
13836 all this change should be inside only one Undo!
13838 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13839 setting font's in insets as for them we have the SetFont function!
13841 2001-05-15 Juergen Vigna <jug@sad.it>
13843 * text2.C (ClearSelection): to be sure we REALLY don't have any
13846 * tabular.C (TeXCellPreamble): fixed the left border problem for
13849 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13851 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13854 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13856 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13857 LFUN_BREAKPARAGRAPH.
13859 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13860 help test to "internal only", similar for LFUN_INSERT_URL
13862 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13863 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13864 auto_region_delete and deadkeys.
13866 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13869 * LColor.C: remove some dead entries, tidy a little
13871 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13875 (Dispatch): implement LFUN_ESCAPE
13877 * commandtags.h: add LFUN_ESCAPE
13879 * LyXAction.C (init): add entry for LFUN_ESCAPE
13881 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13882 Remove commented code.
13883 (insertNote): moved here
13884 (open_new_inset): moved here
13886 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13889 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * kbmap.C (findbinding): clean it up and make it work correctly.
13893 * lyx_main.C (init): do not pass argc and argv as parameters
13895 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13897 * buffer.C: fix path for OS/2 & Win32
13901 * lyx_main.C: Added os:: class.
13903 * os2_defines.h: update
13905 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13907 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13908 better by trying again with reduced state.
13910 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13912 * lyxrc.C (read): print error about invalid key sequence only when
13913 debugging (because not all latinX keysyms are known to some X
13916 * kbsequence.C (getiso): add a few std:: qualifiers
13917 (getiso): comment out extra return statement.
13919 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13921 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13923 (Dispatch): enhance the accent inset a bit. (not perfect)
13925 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13927 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13929 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * bufferlist.C (emergencyWrite): fix assert() call
13933 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13935 * text.C (InsertChar): Added trivial patch to only send the "you
13936 can not do multiple spaces this way" message once during a
13939 2001-05-08 Baruch Even <baruch@lyx.org>
13941 * Makefile.am: Changed order of libraries to get LyX to link properly
13942 with the gnome frontend.
13944 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13946 * LaTeXFeatures.h: add a std:: qualifier
13948 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13950 * paragraph.C (String): use stringstream
13952 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13954 * paragraph.C (writeFile): remove footflag arg
13956 * buffer.C (makeLaTeXFile): use stringstream
13957 (latexParagraphs): remove footnot gurba
13959 * LaTeXFeatures.C (getPackages): use stringstream
13960 (getMacros): likewise
13961 (getTClassPreamble): likewise
13962 (getFloatDefinitions): new method
13964 * paragraph.C (writeFile): reindent
13967 * WorkArea.h: revert the xpos + etc changes.
13969 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13971 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13973 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13974 (pasteSelection): likewise
13975 * text2.C (CreateUndo): likewise
13977 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * minibuffer.C (peek_event): temporarily reduce the functionality
13980 of the minibuffer (to allow args on lfuns)
13982 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13983 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13985 * buffer.C (readInset): add compability reading of old float
13986 lists, add reading of new style float list.
13987 (readInset): avoid reevaluation of inscmd.getCmdName()
13988 (getLists): reindent
13990 * MenuBackend.C (MenuItem): implement parsing of
13991 md_floatlistinsert and md_floatinsert.
13992 (expand::LastFiles): move initalizaton of iterators out of loop,
13993 avoid reevaluation.
13994 (expand::Documents): introduce typdedef vector<string> Strings,
13996 (expand::ExportFormats): introduce typedef vector<Format const *>
13997 Formats, and use it.
13998 (expand): implement FloatListInsert and FloatInsert.
14000 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14001 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14002 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14004 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14006 (Dispatch::LFUN_FLOAT_LIST): implement
14008 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14010 * LaTeX.C (run): Fix problem with --export code.
14012 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14014 * BufferView.[Ch] (workarea): removed.
14015 (getClipboard) new method; wrapper for workarea()->getClipboard()
14017 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14020 * WorkArea.h (width, height, xpos, ypos): These methods all
14021 returned the dimensions of the work_area sub-area of WorkArea,
14022 resulting in a position error if the WorkArea were resized. Now
14023 return the dimensions of the entire WorkArea.
14025 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14027 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14029 * LaTeX.C (deplog): correct the syntax of regex reg1
14031 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14033 * undo.C: remove !NEW_INSETS cruft
14035 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14037 * text2.C: remove !NEW_INSETS cruft
14039 * text.C: remove !NEW_INSETS cruft
14041 * tabular.C: remove !NEW_INSETS cruft
14043 * spellchecker.C: remove !NEW_INSETS cruft
14045 * lyxtext.h: remove !NEW_INSETS cruft
14047 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14049 * lyxfunc.C: remove !NEW_INSETS cruft
14051 * lyxfind.C: remove !NEW_INSETS cruft
14053 * lyx_cb.C: remove !NEW_INSETS cruft
14055 * figureForm.C: remove !NEW_INSETS cruft
14057 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14059 * buffer.[Ch]: remove !NEW_INSETS cruft
14061 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14063 * CutAndPaste.C: remove !NEW_INSETS cruft
14065 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14067 * BufferView2.C: remove !NEW_INSETS cruft
14069 * BufferView.h: remove !NEW_INSETS cruft
14071 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14073 * Lsstream.h: include LString.h before the sstream headers to
14074 fix problem with gcc 2.95.3 and lyxstring
14076 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14078 * lyx_main.C: add using directives when needed for C functions
14079 declared in std:: namespace.
14081 2001-04-27 Juergen Vigna <jug@sad.it>
14083 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14084 (SetHeightOfRow): comment out the update call should not be needed!
14086 2001-04-13 Juergen Vigna <jug@sad.it>
14088 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14089 (LyXTabular): tried to minimize operator= operations (and realized
14090 hopfully Lars wish).
14092 2001-04-27 Juergen Vigna <jug@sad.it>
14094 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14096 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14098 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14100 * buffer.C (readInset): hack to make listof algorithm work
14102 * BufferView_pimpl.C: hack to make listof algorithm work
14104 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14106 * LyXAction.C: removed all !NEW_INSETS cruft
14107 (init): moved lfun_item in method
14109 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14111 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14113 * BufferView2.C (theLockingInset): white space.
14115 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14117 * minibuffer.C: include <iostream>
14119 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14121 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14123 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14125 * text.[Ch] (TransposeChars): new method
14127 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14129 * call message directly through LyXView instead of through LyXFunc
14130 * BufferView2.C: adjust
14131 * BufferView_pimpl.C: adjust
14132 * FontLoader.C: adjust
14134 * bufferview_funcs.C: adjust
14135 * converter.C: adjust
14136 * figureForm.C: adjust
14137 * importer.C: adjust
14139 * lyx_gui_misc.C: adjust
14140 * lyxfunc.C: adjust
14143 + more files in subdirs
14145 * lyxparagraph.h (size): move up int file
14148 * adjust all uses of Assert to lyx::Assert.
14150 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14151 lyxfunctional in namespace lyx
14152 * layout.C (hasLayout): ditto
14155 (delete_layout): ditto
14156 (NumberOfClass): ditto
14157 * converter.C (GetFormat): ditto
14162 * bufferlist.C (getFileNames): ditto
14163 (emergencyWriteAll): ditto
14166 * MenuBackend.C (hasSubmenu): ditto
14169 * BufferView_pimpl.C (getInsetByCode): ditto
14171 2001-04-18 Juergen Vigna <jug@sad.it>
14173 * vspace.C (asLatexString): fixed the 100% problem.
14175 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14177 * lyxfunc.C (Dispatch):
14179 * minibuffer.h: add a few std:: qualifiers
14181 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14183 * minibuffer.[Ch]: reimplement so that commands is initiated and
14184 run from lyxfunc, simplified som handling, and made the completion
14185 and history code for complete. wip.
14187 * lyxfunc.C (processKeySym): call message
14188 (miniDispatch): new temporary method
14189 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14190 (LFUN_MESSAGE): implement
14191 (LFUN_MESSAGE_PUSH): implement
14192 (LFUN_MESSAGE_POP): implement
14193 (initMiniBuffer): the initial/defualt minibuffer message.
14195 * lyxfont.[Ch]: inline some more getters
14197 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14199 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14201 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14202 (AutoSave): use LFUN_MESSAGE
14203 (Reconfigure): ditto
14205 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14207 * figureForm.C: use LFUN_MESSAGE
14209 * converter.C (runLaTeX): use LFUN_MESSAGE
14211 * bufferview_funcs.C: use LFUN_MESSAGE
14213 (changeDepth): ditto
14215 * bufferparams.h: use boost::
14217 * bufferlist.h: inherit privately from noncopyable
14219 * bufferlist.C (loadLyXFile): remove some commented code.
14221 * buffer.C (runChktex): use LFUN_MESSAGE
14223 * ShareContainer.h: inherit privately from noncopyable
14225 * ParagraphParameters.[hC] (depth): inline it.
14227 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14229 (message): new method
14230 (messagePush): ditto
14231 (messagePop): ditto
14232 (show): init minibuffer
14233 (showState): direct call
14235 * LaTeX.[Ch]: inherit privately from noncopyable
14236 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14237 instead of WriteStatus.
14239 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14241 * BufferView_pimpl.C (buffer): don't init minibuffer
14242 (workAreaButtonPress): use LFUN_MESSAGE
14243 (workAreaButtonRelease): ditto
14244 (savePosition): ditto
14245 (restorePosition): ditto
14246 (MenuInsertLyXFile): ditto
14247 (workAreaExpose): don't init minibuffer
14248 (update): remove commented code, simplify
14250 * BufferView2.C (openStuff): use LFUN_MESSAGE
14251 (toggleFloat): ditto
14254 (copyEnvironment): ditto
14255 (pasteEnvironment): ditto
14260 (updateInset): remove some commented code
14262 * lastfiles.h: inherit privately from noncopyable
14265 * lyx_main.h: ditto
14267 * lyxlex_pimpl.h: ditto
14269 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14270 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14271 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14273 * LyXAction.h: inherit privately from noncopyable, add methods
14274 func_begin, func_end, returning iterators to the func map.
14276 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14277 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14278 (func_begin): new method
14279 (func_end): new method
14281 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14283 (copySelection): ditto
14284 (pasteSelection): ditto
14286 * BufferView.C: whitespace change
14287 * BufferView.h: inherit privately from noncopyable
14289 2001-04-16 Allan Rae <rae@lyx.org>
14291 * tabular-old.C (l_getline):
14292 * spellchecker.C (sc_check_word):
14293 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14294 an unrecognised preprocessor directive. So ensure they're wrapped.
14296 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14298 * src/exporter.C (Export): Give an error message when path to file
14301 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14303 * LaTeX.C (deplog): Always check that foundfile exists.
14305 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14310 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * tabular.[Ch] (getLabelList): implement new method
14314 * minibuffer.h: comment ouf setTiimer
14316 * minibuffer.C (ExecutingCB): constify res
14317 (peek_event): constify s
14318 (Set): constify ntext
14319 (Init): constify nicename
14321 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14323 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14324 (savePosition): use two params to Minibuffer::Set
14325 (restorePosition): ditto
14327 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14329 * lyx_main.C: include language.h
14331 * Makefile.am (lyx_main.o): add language.h
14333 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14339 * CutAndPaste.C: include gettext.h
14341 * lyxfont.h: remove old hack with ON and OFF.
14344 * lyxfont.h: do not include language.h...
14349 * bufferview_funcs.C:
14355 * paragraph.C: ... but do it here instead
14357 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14359 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14361 * tabular.C: small reformat
14363 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14366 (BreakParagraph): ditto
14367 (SetOnlyLayout): ditto
14370 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14373 * lastfiles.C: removed most using decl, add std:: where needed
14375 * buffer.C: ws changes
14377 * MenuBackend.C (class compare_format): put into anon namespace
14378 (expand): constify label, names, action, action2
14381 * text.C (SingleWidth): constify font
14382 (IsBoundary): constify rtl2
14383 (GetVisibleRow): constify ww
14385 * LaTeX.C (deplog): constify logfile
14387 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14389 (workAreaExpose): constify widthChange, heightChange
14391 * lyxrow.C (par): moved
14394 * lyxrow.h: as inlines here
14396 * lyxfont.h (shape): moved from lyxfont.C
14397 (emph): moved from lyxfont.C
14399 * lyxfont.C (LyXFont): use initialization list for all
14401 (shape): move to lyxfont.h as inline
14402 (emph): move to lyxfont.h as inline
14405 2001-04-04 Juergen Vigna <jug@sad.it>
14407 * vspace.C: had to include stdio.h for use of sscanf
14409 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14412 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14413 independent of xforms.
14415 2001-04-02 Juergen Vigna <jug@sad.it>
14417 * spellchecker.C: fixed namespace placing!
14419 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14421 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14422 the LyXParagraph * is 0.
14424 2001-03-29 Juergen Vigna <jug@sad.it>
14426 * vspace.C: added support for %, c%, p%, l%.
14427 (stringFromUnit): added helper function.
14428 (asLatexString): changed to give right results for the %-values.
14430 * buffer.C: convert the widthp in a width%.
14432 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14434 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14437 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14438 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14440 * lyx_cb.[Ch]: see above.
14442 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14446 * lyx.[Ch]: replaced by figure_form.[Ch].
14450 * lyxfunc.C: changed headers associated with above changes.
14452 2001-03-27 Juergen Vigna <jug@sad.it>
14454 * BufferView_pimpl.C: set the temporary cursor right!
14456 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14458 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14460 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14462 * LString.h: removed "using std::getline"!
14464 * BufferView_pimpl.C (Dispatch): changes due to changes in
14465 InsetInclude::Params.
14467 * buffer.C (tag_name): removed redundant break statements as they were
14468 producing lots of warnings with my compiler.
14470 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14472 * LString.h: add "using std::getline" when using the real <string>.
14474 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14476 * buffer.C: removed bitset usage.
14477 PAR_TAG moved to an anonymous name space.
14478 (tag_name): new funtion, also in the anonymous namespace.
14479 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14480 (makeDocBookFile): clean code. Completed transition from string arrays
14482 (SimpleDocBookOnePar): code clean.
14484 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14486 * tabular.C: add some comments.
14488 2001-03-22 Juergen Vigna <jug@sad.it>
14490 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14491 compatibility read a bit and fixed bug with minipage in different
14494 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14496 * buffer.C (pop_tag): removed.
14497 (push_tag): removed.
14498 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14499 array replaced with vector. Added support for CDATA sections.
14500 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14502 (makeDocBookFile): XML conformant declaration of CDATA section,
14503 fixed bug related to <emphasis> in the first paragraph char.
14504 (sgmlOpenTag): exclude empty tags.
14505 (sgmlCloseTag): ditto.
14507 * buffer.h (pop_tag): removed.
14508 (push_tag): removed.
14510 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14512 * language.h (Languages): added size_type and size().
14514 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14516 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14517 response on compability reading of minipages. One probliem is that
14518 the old usage of minipages was «flertydig»
14520 * several files here and in subdirs: don't use static at file
14521 scope use anon namespaces instead.
14523 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14525 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14526 LaTeX output. This is necessary for Literate document
14529 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14531 * buffer.C: insert hfill when needed.
14533 * tabular.C (l_getline): use string::erase, small whitespace change.
14535 * BufferView_pimpl.C: try the anon namespace.
14536 * WorkArea.C: ditto
14538 2001-03-16 Juergen Vigna <jug@sad.it>
14540 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14541 otherwise it won't open options-dialogs.
14543 * buffer.C: honor pextraWidth(p) on converting minipages.
14545 * tabular.C (l_getline): changed the functions to strip trailing \r.
14547 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14549 * BufferView_pimpl.C:
14550 * minibuffer..C: added "using SigC::slot" declaration.
14552 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14554 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14560 * paragraph.C: ditto
14562 * lyxtext.h: NO_PEXTRA
14564 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14566 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14567 * ParameterStruct.h: ditto
14568 * ParagraphParameters.h: ditto
14569 * lyxparagraph.h: ditto
14571 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14573 * buffer.C: add compability for minipage alignment.
14574 (latexParagraphs): remove unwanted pextra check.
14576 * several files: remove CXX_WORKING_NAMESPACES
14578 * buffer.C (pop_tag): tie is in namespace boost
14580 * BufferView.h: noncopyable is in namespace boost
14582 * lyx_main.h: ditto
14585 * lastfiles.h: ditto
14586 * bufferlist.h: ditto
14587 * ShareContainer.h: ditto
14589 * LyXAction.h: ditto
14592 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14594 * Merging changes from BRANCH_MVC back into HEAD.
14596 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14598 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14600 * BufferView_pimpl.C: change from intl.C
14604 * Makefile.am: move combox.*
14610 * intl.C: remove dialog (covered by prefs)
14612 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14614 * lyxfunc.C (Dispatch): removed redundant break statement.
14616 2001-03-14 Juergen Vigna <jug@sad.it>
14618 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14620 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14622 * buffer.C: add hack to fix compability reading of minipages.
14624 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14626 * buffer.C (getLists): Cleanup.
14628 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14630 * lyxfont.C (update): don't honor toggleall on font size.
14632 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14636 * Makefile.am: moved to frontends/xforms/
14640 * BufferView_pimpl.C: changes for moved mathpanel
14642 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14644 * gettext.h: fix gettext_init() in --disable-nls
14646 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14648 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14650 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14653 * lyx.h: strip external form
14655 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14657 * BufferView_pimpl.C: add comment, destroySplash()
14659 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14661 * BufferView_pimpl.C:
14665 * lyxfunc.C: use re-worked insetinclude
14667 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14669 * buffer.C: add using std::stringstream.
14671 * lyx_cb.C: readd using std::ios.
14673 * buffer.C: add using std::map.
14675 * BufferView_pimpl.C: add using std::vector.
14677 * ShareContainer.h: add std:: to swap.
14679 * buffer.h: add some typedefs
14680 * buffer.C (getLists): use them
14681 (getLists): renamed from getTocList.
14682 add a counter for the different float types and use it in the
14684 (getLists): use the same counter for the NEW_INSETS and the "non"
14687 * lyx_cb.h: remove unused items, includes, using etc.
14689 * ShareContainer.h: remove some commented code, add more comments
14690 and "documentation".
14692 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14694 * buffer.C (getTocList): make the list also when NEW_INSETS is
14697 * buffer.h: remove TocType
14699 * buffer.C (getTocList): change to return a map<string,
14700 vector<TocItem> >, implement for dynamic number of list.
14702 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14703 * text2.C (PasteSelection): adjust
14704 * CutAndPaste.C (pasteSelection): adjust
14706 * FloatList.C (FloatList): update from the new_insets branch.
14707 * Floating.[Ch]: ditto
14708 * LaTeXFeatures.C: ditto
14710 * lyxlex_pimpl.C: ditto
14712 * paragraph.C (Last): remove when NEW_INSETS is defined.
14714 * other file: changes because of the above.
14716 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14718 * lyxparagraph.h: rename next to next_, previous to previous_,
14719 make them private for NEW_INSETS. Rename Next() to next(),
14720 Previous() to previous().
14722 * other files: changes because of the above.
14724 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14727 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14730 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14732 * main.C (main): pass lyx_localedir to gettext_init().
14734 * gettext.h: remove locale_init and gettext_init macros
14736 * gettext.C (locale_init): new function
14737 (gettext_init): new function
14739 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14742 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14744 * Moved credits to frontends:
14745 * credits.[Ch]: removed
14746 * credits_form.[Ch]: removed
14747 * lyx_gui_misc.C: remove credits stuff
14750 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14752 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14754 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14755 unneeded destructor.
14757 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14758 a standalone pointer again.
14760 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14762 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14768 * ToolbarDefaults.C:
14777 * BufferView_pimpl.C: use new file dialog in GUII
14780 * lyx_cb.C: remove LayoutsCB to Toolbar
14782 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14784 * ShareContainer.h (get): add std:: qualifier
14786 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * ShareContainer.h: define a proper ShareContainer::value_type
14789 type (and use typename to please compaq cxx)
14791 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14793 * lyxparagraph.h: move serveral local vars to
14794 ParameterStruct/ParagraphParameters., use ShareContainer in
14795 FontTable., make vars in FontTable private and add getter and
14798 * paragraph.C: changes because of the above.
14800 * lyxfont.h: remove copy constructor and copy assignment. (the
14801 default ones is ok), move number inside FontBits. move inlines to
14804 * lyxfont.C: add number to initializaton of statics, move several
14805 inlines here. constify several local vars. some whitespace
14806 cleanup. Dont hide outerscope variables.
14808 * Spacing.h: add two new constructors to match the set methods.
14810 * ShareContainer.h: new file, will perhaps be moved to support
14812 * ParameterStruct.h: new file
14814 * ParagraphParameters.h: new file
14816 * ParagraphParameters.C: new file
14818 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14819 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14821 * BufferView_pimpl.C: ParagraphParameter changes.
14822 * buffer.C: Likewise.
14823 * bufferview_funcs.C: Likewise.
14824 * text.C: Likewise.
14825 * text2.C: Likewise.
14827 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14829 * lyxfind.C (LyXReplace): do not redefine default argument in
14831 (IsStringInText): ditto
14832 (SearchForward): ditto
14833 (SearchBackward): ditto
14835 2001-03-06 Juergen Vigna <jug@sad.it>
14837 * lyxfind.C (IsStringInText): put parentes around expressions.
14839 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14841 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14843 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14845 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14847 * stl_string_fwd.h: add comment
14849 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14852 * tabular.C: remove unused DocBook methods
14858 killed DO_USE_DEFAULT_LANGUAGE
14860 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14862 * lyx_gui.C: do not include language.h.
14864 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14865 arguments in function implementation.
14867 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14869 * BufferView_pimpl.C: add <ctime>
14871 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14873 * BufferView_pimpl.C: add using std::find_if
14875 2001-02-27 José Matos <jamatos@fep.up.pt>
14877 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14880 2001-02-11 José Matos <jamatos@fep.up.pt>
14882 * buffer.C (makeDocBookFile): command styles now have a parameter as
14883 "title" by default.
14885 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14887 * layout_forms.[Ch]: removed
14888 * lyx_cb.[Ch]: out character
14889 * lyx_gui.C: out character
14890 * lyx_gui_misc.C: out character
14891 * bufferview_funcs.C: : out character,
14892 added toggleall as parameter in ToggleAndShow
14894 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14896 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14898 * text2.C (SetCurrentFont): Disable number property at boundary.
14900 2001-02-26 Juergen Vigna <jug@sad.it>
14902 * lyxfunc.C (getStatus): added a string argument override function so
14903 that this is correctly called from LyXFunc::Dispatch if it contains a
14904 do_not_use_argument which is used!
14905 (Dispatch): added check for "custom" export and call appropriate func.
14907 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14909 * lyxrc.C: Add language_command_local, language_use_babel and
14910 language_global_options.
14912 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14914 * buffer.C (makeLaTeXFile): Use language_use_babel and
14915 language_global_options.
14917 2001-02-23 Juergen Vigna <jug@sad.it>
14919 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14920 which works with LyXText and putted it inside BufferView. Here now we
14921 only call for that part the BufferView::Dispatch() function.
14923 * BufferView.C (Dispatch): added.
14925 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14926 functions which needs to use a LyXText over from LyXFunc.
14927 (MenuInsertLyXFile): added
14928 (getInsetByCode): added
14929 (moveCursorUpdate): added
14930 (static TEXT): added
14932 2001-02-22 Juergen Vigna <jug@sad.it>
14934 * BufferView_pimpl.C (update): call a status update to see if LyXText
14937 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14939 * vc-backend.C (revert): implement for CVS
14940 (getLog): implement for CVS
14942 2001-02-20 Juergen Vigna <jug@sad.it>
14944 * text2.C (ClearSelection): added BufferView param for inset_owner call
14946 * lyxfunc.C (TEXT): added this function and use it instead of
14947 directly owner->view()-text of getLyXText().
14949 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14951 * src/layout_forms.C: out preamble
14952 * src/layout_forms.h: out preamble
14953 * src/lyx_cb.C: out preamble
14954 * src/lyx_cb.h: out preamble
14955 * src/lyx_gui.C: out preamble
14956 * src/lyx_gui_misc.C: out preamble
14957 * src/lyxfunc.C: connect with guii preamble
14959 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14961 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14963 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14965 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14966 whether to run bibtex.
14968 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14970 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14972 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14974 * Makefile.am (lyx_SOURCES): removed bibforms.h
14976 * vspace.h: doxygen
14978 * text.C (GetVisibleRow): make several local vars const
14980 * tabular.C: small cleanup.
14982 * lyxserver.C (callback): use compare instead of strncmp
14984 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14985 inlines to after class or to paragraph.C
14987 * lyxfont.h: remove friend operator!=
14989 * converter.h: move friend bool operator< to non friend and after
14992 * combox.h: small cleanup
14994 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14995 to inlines after class def.
14997 * buffer.C (pop_tag): use string operations instead of strcmp
14999 * bmtable.c: doxygen, small cleanup
15001 * LaTeX.h: remove friend operator==
15003 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15015 * BufferView_pimpl.C:
15016 * BufferView.[Ch]: remove cruft
15018 2001-02-14 Juergen Vigna <jug@sad.it>
15020 * lyxfunc.C: removed #if 0 unused code
15022 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15024 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15026 * text2.C (SetSelection): added a BufferView * parameter
15028 2001-02-13 Juergen Vigna <jug@sad.it>
15030 * lyxfunc.C (Dispatch): fixed protected blank problem.
15031 * BufferView2.C (protectedBlank): added LyxText * parameter.
15033 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15034 (AppendColumn): same as above for column_info.
15036 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15037 (moveCursorUpdate): use a LyXText param for support of InsetText.
15039 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15040 (tripleClick): ditto
15042 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15044 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15046 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15048 * text2.C (SetSelection): set correct update status if inset_owner
15049 (ToggleFree): ditto
15051 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15053 * tabular.C: remove some commented code.
15055 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15057 * BufferView_pimpl.C: call hideSplash()
15059 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15062 * bibforms.h: remove
15065 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15066 add LFUN_CHILD_CREATE
15068 * counters.h: fix tiny typo
15073 * lyx.C: move splash to frontends/xforms/
15075 * lyx_gui_misc.C: move Include and Bibform to frontends
15077 * lyxvc.h: clarify comment
15079 * vspace.C: tiny housekeeping
15081 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15083 * text.C (PrepareToPrint): RTL Fix.
15085 * paragraph.C (GetUChar): New method.
15086 (String): Use GetUChar.
15088 * buffer.C (asciiParagraph): Use GetUChar.
15090 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15092 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15094 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15097 * buffer.C: rename to getLogName(), handle
15098 build log / latex log nicely
15100 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15103 * MenuBackend.h: remove support for reference menuitem type.
15105 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15107 * BufferView_pimpl.C: housekeeping
15108 * BufferView_pimpl.h:
15113 * minibuffer.h: move Timeout GUI-I
15115 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15117 * lyxrc.C (read): Update converters data-structures.
15119 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15121 * LaTeX.h (operator!=): add operator != for Aux_Info
15123 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15125 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15127 * LaTeXLog.C: deleted, useful code moved to Buffer
15130 * buffer.C: new function getLatexLogName()
15136 * lyxfunc.C: use frontends for LaTeX and VC logs
15138 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15140 * LaTeX.h: yet another std:: that Allan forgot.
15142 * Variables.C (set): renamed from isset(), because this clashes
15143 with some HP-UX macros (grr).
15145 2001-02-06 Allan Rae <rae@lyx.org>
15147 * LaTeX.h: Another bug fix. Missing std:: this time.
15149 2001-02-04 Allan Rae <rae@lyx.org>
15151 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15152 floats problem. I've left it commented out because it's not quite
15153 correct. It should also test that the current object is a table or
15154 figure inset. But I haven't gotten around to figuring out how to do
15155 that. I *think* it'll be something like: "table" == inset.type()
15157 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15160 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15162 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15163 all the citation/databases/styles in the auxilary file.
15164 (run): Rerun latex if there was a babel language error.
15166 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15168 * text.C (Backspace): Preserve the font when changing newline char
15170 (BreakParagraph): If the cursor is before a space, delete the space.
15172 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15174 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15176 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15177 new argument (code).
15178 (ChangeCitationsIfUnique): New method.
15180 * paragraph.C (GetPositionOfInset): Handle bibkey.
15182 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15184 * BufferView_pimpl.h: change type of Position::par_pos to
15185 LyXParagraph::size_type.
15187 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15189 * BufferView_pimpl.C (savePosition, restorePosition): Write
15190 messages to minibuffer.
15192 2001-01-28 José Matos <jamatos@fep.up.pt>
15194 * buffer.C (makeDocBookFile): adds support for document language.
15195 A silly restriction on the name of LatexCommand types where removed.
15196 Added support for CDATA sections, allows to chars unescaped, used
15197 among others in code, to avoid escape < and >.
15199 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15201 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15202 saved positions instrad of a stack. Furthermore, a position is
15203 stored using paragraph id/paragraph position.
15205 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15206 Remove LFUN_REF_BACK.
15208 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15210 * converter.C (dvipdfm_options): New method.
15212 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15214 * vspace.C (isValidLength): Fix for empty input string.
15216 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15218 * LyXAction.C (init): change description of LFUN_FIGURE to
15221 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * LaTeX.C: add using directive
15225 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15227 * MenuBackend.C (expand): Fix the sorting of the formats.
15229 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15231 * lyx_main.C: tiny error message fix
15233 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15235 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15236 calling fl_initialize(). This fixes the problem with ',' as
15237 decimal separator in text files.
15239 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15241 * trans.C (process): Fix the keymap bug.
15243 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15245 * LaTeX.C (scanAuxFiles): New method. Provides support for
15246 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15247 (scanLogFile) Scan for "run BibTeX" messages.
15249 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15250 OT1 font encoding. Also, load the aecompl package if the ae
15253 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15255 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15257 * texrow.C (increasePos): turn two error messages into debug
15260 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15262 * LaTeX.C (scanAux): Handle the \@input macro.
15263 (runBibTeX): Use scanAux().
15265 * language.C (latex_options_): New field.
15267 * LaTeXFeatures.C (getMacros): Add language macros.
15269 * buffer.C (makeLaTeXFile): Small fix.
15271 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15273 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15275 * text2.C: add a using directive.
15277 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15282 * lyxfunc.C: kill LyXBell.
15284 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15286 * text.C (IsBoundary): Remove the error message
15288 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15290 * lyxrc.C (setDefaults): Correct initialization value for
15293 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15295 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15298 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15299 and GotoNextNote().
15301 * src/LyXAction.C: Added reference-next.
15303 * text.C (InsertChar): Use contains instead of strchr.
15305 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15307 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15309 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15310 alignment commands (when needed).
15312 * text.C (InsertChar): Add ':' to number separator chars.