2 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
4 * text3.C (getStatus): add LFUN_BEGINNINGBUF
6 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
8 * lyxfind.C: add a couple of inTexted() tests + other small fixes
9 * BufferView_pimpl.[Ch] (getStatus)
10 * BufferView.[Ch] (getStatus): add
11 * lyxfunc.C (getStatus): move lfuns handled in
12 BufferView::dispatch to te function above
13 * Cursor.C (setSelection): set selection() = true
15 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
17 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
19 2004-03-31 Angus Leeming <leeming@lyx.org>
21 * lyxfunc.C (dispatch): Fall through to the generic
22 Dialogs::show("preamble").
24 2004-03-31 Angus Leeming <leeming@lyx.org>
26 * lyxfunc.C (dispatch): Fall through to the generic
27 Dialogs::show("spellchecker").
29 2004-03-31 Angus Leeming <leeming@lyx.org>
31 * lyxfunc.C (getStatus, dispatch): changed invocation of the
34 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
44 * undo.[Ch]: s/DocumentIterator/DocIterator/g
46 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
48 * BufferView.C (setCursor, putSelectionAt): call edit to open the
49 insets where we are putting the cursor.
51 2004-03-31 Angus Leeming <leeming@lyx.org>
54 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
56 * lyxrc.[Ch] (read, write): overloaded member functions taking
57 a std::[io]stream arguments.
59 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
61 2004-03-31 Angus Leeming <leeming@lyx.org>
63 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
64 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
66 * lyxtextclass.C (load): if the text class couldn't be loaded, then
67 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
69 2004-03-31 Angus Leeming <leeming@lyx.org>
71 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
72 the LFUN_ALL_INSETS_TOGGLE code.
74 2004-03-30 Angus Leeming <leeming@lyx.org>
76 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
77 has died. Fall through to the generic Dialogs::show("document").
79 2004-03-30 Angus Leeming <leeming@lyx.org>
82 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
83 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
85 * lyxfunc.C (getStatus, dispatch): define the actions for these
86 lfuns. Little more than a cut and pste job from ControlDocument.C
88 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
90 2004-03-30 Angus Leeming <leeming@lyx.org>
93 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
94 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
96 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
97 open/closed state of ollapsable insets. Usage:
99 all-inset-toggle <state> <name>, where
100 <state> == "open" || "closed" || "toggle" and
101 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
103 * lyxtext.h, text2.C (toggleInset): removed.
105 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
106 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
107 now passes LFUN_INSET_TOGGLE to the found inset.
109 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
110 is now invoked as "all-insets-toggle toggle branch".
112 2004-03-30 Angus Leeming <leeming@lyx.org>
116 * pariterator.[Ch]: added/corrected header blurb.
118 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
120 * dociterator.[Ch]: add an inset_ member
121 (backwardPos): implemented
122 (backwardPos, forwardPos): use inset_ when the stack is empty.
123 (doc_iterator_begin, doc_iterator_end): implemented
124 * pariterator.[Ch]: adjust, add begin, end
125 * insetiterator.[Ch]: adjust, add begin, end
129 * BufferView_pimpl.C:
130 * CutAndPaste.C: adjust
132 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
134 * buffer.C: increment file format to 232.
135 * LaTeXFeatures.C: add bibtopic package.
136 * bufferparams.[Ch]: param \use_bibtopic.
138 * lyxrc.[Ch]: add lyxrc bibtex_command
139 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
141 * buffer.C: increment file format to 231.
143 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
145 * dociterator.C: implement forwardPar
146 * iterators.[Ch]: remove, replaced by
147 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
149 * BufferView_pimpl.C:
152 * bufferview_funcs.C:
158 * Makefile.am: adjust
160 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
162 * CutAndPaste.C (pasteSelection): fix 2 crashes
163 (eraseSelection): fix a crash
164 * paragraph_funcs.C: remove a warning
166 2004-03-28 Angus Leeming <leeming@lyx.org>
169 * LyXAction.C (init): new LFUN_PRINT.
171 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
173 2004-03-27 Angus Leeming <leeming@lyx.org>
176 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
178 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
180 2004-03-27 Angus Leeming <leeming@lyx.org>
182 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
183 insetlist always contains non-null pointers to insets.
185 2004-03-26 Angus Leeming <leeming@lyx.org>
187 * src/BufferView_pimpl.C:
191 * src/output_plaintext.C:
192 * src/outputparams.h:
193 * src/paragraph_funcs.C:
197 * src/frontends/controllers/ControlErrorList.C:
198 * src/frontends/gtk/FileDialogPrivate.C:
199 * src/frontends/gtk/GPainter.C:
200 * src/frontends/gtk/GToolbar.C:
201 * src/frontends/qt2/QRef.C:
202 * src/mathed/math_scriptinset.C: squash compiler warnings.
204 2004-03-26 Angus Leeming <leeming@lyx.org>
206 * ispell.C (LaunchIspell::start):
207 * lyx_cb.C (AutoSaveBuffer::start):
208 invoke run(DontWait) rather than runNonBlocking().
210 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
212 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
214 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * kbsequence.C (print): adjust
218 * kbmap.C (printKeySym): rename and change signature
219 (printKey): use LyXKeySym::print()
221 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
223 * undo.C: add using std::advance to compile for stlport
225 2004-03-24 Angus Leeming <leeming@lyx.org>
227 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
228 it leads to a crash when no buffer is present.
230 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 Martin Vermeer <martin.vermeer@hut.fi>
233 * lyxfunc.C (dispatch):
234 * bufferparams.C (readToken): use the new LColor::setColor
236 * LColor.[Ch] (setColor): new version that takes two strings as
237 argument and creates a new color entry if necessary
239 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
241 * buffer.C (makeLaTeXFile): if the main latex file that is
242 processed is usually a subdocument of some master, then pretend
243 for a while that it is actually the master
245 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
247 * buffer.C (getLabelList):
248 (getBibkeyList): use getMasterBuffer()
249 (getMasterBuffer): new method. Returns the main document in the
250 case where one is using included documents.
252 2004-03-25 André Pönitz <poenitz@gmx.net>
256 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
258 * ParagraphList_fwd.h: change ParagraphList to a std::vector
260 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
261 text*.C over here. Rename namespace CutAndPaste to lyx::cap
263 * ParameterStruct.h: merge with ParagraphParameters
265 * lyxtext.h: remove LyXText::parOffset() and getPar()
267 * text3.C: Remove all 'manual' update calls. We do now one per user
268 interaction which is completely sufficient.
272 * BufferView_pimpl.C:
275 * ParagraphParameters.[Ch]:
287 * output_docbook.[Ch]:
289 * output_linuxdoc.[Ch]:
290 * output_plaintext.[Ch]:
292 * paragraph_funcs.[Ch]:
293 * paragraph_pimpl.[Ch]:
301 * frontends/controllers/ControlDocument.C:
302 * frontends/controllers/ControlErrorList.C:
303 * frontends/controllers/ControlSpellchecker.C:
306 * insets/insetbase.h:
307 * insets/insetbibitem.C:
309 * insets/insetbranch.C:
310 * insets/insetcaption.C:
311 * insets/insetcharstyle.C:
312 * insets/insetcharstyle.h:
313 * insets/insetcollapsable.C:
314 * insets/insetcollapsable.h:
316 * insets/insetfloat.C:
317 * insets/insetfoot.C:
318 * insets/insetmarginal.C:
319 * insets/insetnote.C:
320 * insets/insetoptarg.C:
321 * insets/insettabular.C:
322 * insets/insettext.C:
323 * insets/insettext.h:
324 * insets/insetwrap.C:
325 * mathed/math_mboxinset.C:
326 * mathed/math_nestinset.C:
327 * mathed/math_scriptinset.C:
328 * mathed/math_scriptinset.h:
331 2004-03-24 Angus Leeming <leeming@lyx.org>
333 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
334 deal with any child processes that have finished but are waiting to
335 communicate this fact to the rest of LyX.
337 2004-03-24 Angus Leeming <leeming@lyx.org>
339 64-bit compile fixes.
341 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
342 (c-tor): pass lyx::pos_types rather than ints.
344 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
347 * text.C (Delete): compile fix.
348 (getPar): ensure that function declaration is the same as that in
351 2004-03-23 Angus Leeming <leeming@lyx.org>
353 * ispell.C (LaunchIspell):
354 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
355 a boost::shred_ptr rather than a std::auto_ptr.
357 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * lyxfunc.C (getStatus): handle read-only buffers correctly;
360 handle LFUN_FILE_INSERT_*
362 * lyxrc.C (setDefaults, getDescription, output, read):
363 * lyxrc.h: remove ps_command
365 2004-03-22 Angus Leeming <leeming@lyx.org>
367 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
368 Ensure that error_handler is processed once only and that all data
369 is saved before attempting to output any warning messages.
371 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
373 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
375 * tabular.C (TeXRow): crash fix (from Kayvan and André)
377 2004-03-19 André Pönitz <poenitz@gmx.net>
379 * cursor.[Ch] (reset): take main text inset as argument
382 * BufferView_pimpl.C: adjust
384 * paragraph.[Ch]: fix completely broken operator=()
386 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
388 * LColor.C (getFromLyXName): make sure that the color name is used
391 2004-03-17 Angus Leeming <leeming@lyx.org>
394 * LyXAction.C (init): remove LFUN_FORKS_KILL.
396 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
397 dialog and to kill a forked process.
399 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
401 * text2.C (setCursorFromCoordinates): fix font problem
403 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
405 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
406 bogus "rebuild cursor" code
408 2004-03-11 André Pönitz <poenitz@gmx.net>
410 * buffer.[Ch]: use InsetText instead of LyXText as container for
413 * dociterator.[Ch]: drop the BufferView * member which is not needed
414 anymore after the change to buffer.C
420 * BufferView_pimpl.[Ch]:
422 * cursor_slice.[Ch]: adjust
424 * text3.C: fix bug in mathDispatch
426 2004-03-08 André Pönitz <poenitz@gmx.net>
428 * undo.[Ch]: use 'StableDocumentIterator' as base for
431 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * bufferparams.[Ch]: add jurabib support and param.
436 * LaTeX.C: add FIXME/comment.
438 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
440 * buffer.C: increment file format to 230.
442 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
444 * cursor.C (dispatch): avoid infinite loops
446 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
448 * rowpainter.C (paintSelection): fix x coordinates
450 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
452 * text.C (rowBreakPoint): fix breaking before displayed insets
454 2004-03-01 André Pönitz <poenitz@gmx.net>
456 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
458 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
462 * BufferView_pimpl.C:
470 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
476 * BufferView_pimpl.C: rename textwidth -> maxwidth,
477 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
479 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
481 * Bidi.[Ch] (computeTables): const correctness
482 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
483 fill_hfill, fill_label_hfill and x from Row
484 * lyxtext.h: prepareToPrint returns a RowMetrics
485 * rowPainter.C: adjust
486 * text.C (prepareToPrint): use width, not textWidth. adjust
487 (redoParagraphInternal, cursorX): adjust
488 * text2.C (getColumnNearX): adjust
489 (init): put a default value to the top LyXText::width
491 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
493 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
495 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
497 * lyxtext.h: add FontIterator class
499 * text.C (FontIterator, operator*, operator->, operator++): add
500 (rowBreakPoint, setRowWidth): adjust (fixing a
503 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
505 * BufferView_pimpl.C (workAreaDispatch): allow also
506 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
508 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
510 * text.C (rowBreakPoint): fix a bug showing with very large insets
512 2004-02-25 André Pönitz <poenitz@gmx.net>
515 * cursor.[Ch]: move some mathed specific code to mathed
517 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
519 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
520 use_tempdir in preferences
521 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
523 * lyx_main.C: ensure that tempdir is valid
524 * lyxlex.h: correct typo
525 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
526 * paragraph.[Ch] (isMultiLingual): make const
527 * cursor.[Ch] (openable): make const
529 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
531 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
533 2004-02-20 André Pönitz <poenitz@gmx.net>
535 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
537 * cursor.[Ch]: prepare for localized getStatus()
543 * text3.C: streamlines the LyXText cursor movement handlers a bit.
545 2004-02-20 André Pönitz <poenitz@gmx.net>
547 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
549 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
551 * text2.C (setCursorFromCoordinates): switch to absolute coords
554 * text3.C (dispatch): adjust
556 2004-02-16 André Pönitz <poenitz@gmx.net>
558 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
561 * cursor_slice.[Ch]: remove unneeded acessor function
563 * lyxtext.h: rename rtl() to isRTL()
571 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
573 * rowpainter.C (paintSelection): coord fix
575 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
577 * Spacing.C: compile fix
579 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
581 * cursor.C (dispatch): restore current_ before returning
583 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
585 * text2.C (cursorUp, cursorDown): fix coords
588 2004-02-12 André Pönitz <poenitz@gmx.net>
593 * text3.C: add LCursor & parameter to most cursor movement functions
594 remove usage of LyXText::cursorRow() and cursorPar()
596 * cursor.[Ch]: add textRow() needed members
599 * BufferView_pimpl.C:
602 * BufferView_pimpl.C: adjust
604 2004-02-11 André Pönitz <poenitz@gmx.net>
608 * BufferView_pimpl.C: shift undo/redo handling
610 * cursor.[Ch]: fix mathed crash
613 * lyxtext.h: move selectionAsText to LCursor
621 * rowpainter.C: fix excessive drawing
623 2004-02-06 André Pönitz <poenitz@gmx.net>
626 * BufferView_pimpl.[Ch]:
627 * text3.C: move some text specific LFUN handling
629 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
631 * text3.C (checkInsetHit): adjust coords
632 * text2.C (getColumnNearX): adjust coords
633 (edit): adjust coords
634 * text.C (getRowNearY): add two asserts
636 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
639 * format.C: add using std::distance to compile on gcc 2.95/stlport
641 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
643 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
645 2004-02-04 André Pönitz <poenitz@gmx.net>
647 * BufferView.[Ch] (insertInset):
648 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
653 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
655 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
656 on the default clause of the switch
657 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
658 wasn't catched by LCursor::dispatch
660 2004-02-03 André Pönitz <poenitz@gmx.net>
663 * cursor.[Ch]: some additional asserts
665 * undo.[Ch]: remove LyXText dependency in interface
669 * lyxtext.h (firstPar, lastPar): remove dead functions
674 * paragraph.[Ch]: adjust
676 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
678 * lyxfind.C (find): fix argument order in call to ::find
680 2004-02-02 André Pönitz <poenitz@gmx.net>
682 * cursor.[Ch]: remove direct access to anchor
684 * text.C: remove findText() hack
686 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
688 * iterators.[Ch] (lockPath): remove in favour of...
689 * BufferView.[Ch] (setCursor): this addition
690 * BufferView.C (putSelectionAt): adjust
691 * undo.C (performUndoOrRedo): adjust
692 * lyxfunc.C (dispatch): adjust
694 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
696 * iterators.C (lockPath): add a missing slice
697 * undo.C (performUndoOrRedo): remove redundant positioning code
699 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
701 * vc-backend.C (scanMaster): ";" -> ';'
703 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
705 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
708 * lyxtextclass.C (compare_name): rename to...
709 (LayoutNamesEqual): ...this
711 * lyxlex_pimpl.C (compare_tags): inherit from
712 std::binary_function, put back into anon namespace
714 * lyxfind.C (MatchString): inherig from std::binary_function
715 (findChange): use empty() istead of !size()
717 * format.C (FormatNamesEqual): new functor
724 * converter.C (compare_Converter): rename to...
725 (ConverterEqual): ...this, and fixup a bit.
726 (getConverter): use it, and make function const
727 (getNumber): use it, and make function const
731 * bufferlist.C: add using boost::bind
733 * MenuBackend.C (MenuNamesEqual): new functor
734 (hasMenu): use it, and make function const
735 (hasSubmenu): use nested bind to get rid of compare_memfun.
737 2004-01-30 André Pönitz <poenitz@gmx.net>
739 * BufferView_pimpl.C:
750 * text3.C: move some of the edit(x,y) handling to the insets
751 some coordinate changes.
753 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
755 * text.C: add using statements for std::advance and std::distance
757 * paragraph.C: add using statement for std::distance
759 * lyxfind.C: add using statement for std::advance
761 * cursor.C (region): remove std:: from swap
762 (openable): use nucleus in stead of operator->
764 * BufferView.C: add using statements for std::distance and std::swap
766 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
768 * iterators.C: Remove the pimple, move the needed structures to
769 the header file. Create accessor for the positions stack.
770 (asPosIterator): remove function
772 * PosIterator.C (PosIterator): move constructors to top of file
773 (PosIterator): reimplement the constructor taking a ParIterator in
775 (setFrom): new function
776 (operator!=): inline it
778 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
780 * lyxfind.C (replaceAll): use std::advance
782 * iterators.h: inherit from std::iterator.
784 * PosIterator.C (advance, distance): remove
785 * PosIterator.h: interit from std::iterator.
787 2004-01-26 André Pönitz <poenitz@gmx.net>
790 * BufferView_pimpl.[Ch]:
794 * bufferview_funcs.C:
805 * output_plaintext.C:
807 * paragraph_funcs.[Ch]:
808 * paragraph_pimpl.[Ch]:
814 * text3.C: more IU: dumps most of the rest of the mathcursor
815 implementation into cursor.[Ch]; "globalize" a bit of it.
817 2004-01-25 Angus Leeming <leeming@lyx.org>
819 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
821 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
823 * LaTeXFeatures.h: add nice_ and nice() const
824 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
826 2004-01-20 André Pönitz <poenitz@gmx.net>
829 * BufferView_pimpl.C:
831 * bufferview_funcs.C:
844 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
845 LCursor and mathcursor parts to LCursor and InsetBase.
847 2004-01-15 André Pönitz <poenitz@gmx.net>
849 * cursor_slice.[Ch]: add a few covienience functions
851 * funcrequest.[Ch]: remove BufferView * member
853 * BufferView_pimpl.C:
860 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
862 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
864 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
865 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
867 2004-01-13 André Pönitz <poenitz@gmx.net>
870 * lyxtext.h: hide cursor and selection anchor behind accessor function
873 * BufferView_pimpl.[Ch]:
875 * bufferview_funcs.C:
885 * cursor_slice.[Ch]: some integer type changes for inset unification
887 * lyxcursor.[hC]: remove, it's CursorSlice now.
890 * BufferView_pimpl.[Ch]:
891 * bufferview_funcs.C:
897 * textcursor.[Ch]: adjust
899 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
901 * text2.C (undoSpan): add and use
902 * text.C (breakParagraph): use undoSpan (fix bug 578)
905 2004-01-08 Angus Leeming <leeming@lyx.org>
907 * BufferView_pimpl.C (MenuInsertLyXFile):
908 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
909 * lyxfunc.C (menuNew, open, doImport):
910 FileFilterList change to the FileDialog open and save functions.
912 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
914 * ShareContainer.h: make isEqual and isUnique adaptable
916 * CutAndPaste.C: make resetOwnerAndChanges adaptable
918 2004-01-07 Angus Leeming <leeming@lyx.org>
921 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
923 * BufferView_pimpl.C (dispatch): act on these LFUNs.
925 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
926 functions replacing find, replace and replaceAll.
928 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
929 LFUN_WORDFIND(FORWARD|BACKWARD).
931 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
933 * text.C (breakParagraph): remove an outdated #warning
935 2004-01-07 André Pönitz <poenitz@gmx.net>
937 * lyxfind.C: somewhat clearer logic
939 * text.C: prevent crash in cursorX on unitialized row cache
941 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
943 * lyxcursor.[Ch] (operator>): add
944 * textcursor.C (selStart, selEnd): use std::min and std::max
946 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
948 * Chktex.C: include boost/format.hpp
950 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
952 * InsetList.C: replace functor MathcIt with adaptable functor
954 (insetIterator): modify accordingly
956 * BranchList.h: move the BranchNamesEqual functor here from...
957 * BranchList.C: ... to here
959 * BranchList.C: new BranchListEqual fuctor, use it. Remove
961 (add): replace a finding loop with std::find_if.
963 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
965 * output_docbook.C: moving LatexParam functionality into
968 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
970 * buffer.C: increment format to 229.
972 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
975 * lyx_sty.[Ch]: remove minipageindent_def
981 * text3.C: remove LFUN_INSET_MINIPAGE
983 2003-12-28 Angus Leeming <leeming@lyx.org>
985 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
987 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
989 * text2.C (setParagraph): fix off-by-one crash
991 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
993 * output_docbook.C: header stuff for AGU
995 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
997 * text2.C (redoCursor): remove
1000 * BufferView_pimpl.C: remove calls to redoCursor and
1001 setCursor(cursor.par(), cursor.pos()) all around
1003 2003-12-15 Angus Leeming <leeming@lyx.org>
1005 * buffer.C: up the format to 228.
1007 2003-12-15 André Pönitz <poenitz@gmx.net>
1009 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1014 * BufferView_pimpl.C:
1023 2003-12-15 Angus Leeming <leeming@lyx.org>
1025 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1026 than getFromGUIName to manipulate the color.
1028 2003-12-14 Angus Leeming <leeming@lyx.org>
1030 * BranchList.[Ch]: minimize the API.
1031 (Branch::getBranch, getColor): now return a 'const &'.
1032 (Branch::setSelected) now returns a bool set to true if the
1033 selection status changes.
1034 (BranchList::clear, size, getColor, setColor, setSelected,
1035 allBranches, allSelected, separator): removed.
1036 (BranchList::find): new functions, returning the Branch with
1038 (BranchList::add, remove): return a bool indicating that
1039 the operation was successful.
1041 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1042 new InsetBranch::isBranchSlected member function.
1044 * LColor.[Ch]: mimimize the API.
1045 (fill): renamed as addColor and made private.
1046 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1047 versions of these functions taking a string arg have been removed.
1049 * bufferparams.C (readToken):
1050 * lyxfunc.C (dispatch):
1051 * lyxrc.C (read): changes due to the altered BranchList and
1054 * factory.C (createInset, readInset): changes due to altered
1057 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1060 * lyxfunc.C: remove insetminipage. "minipage-insert"
1061 now produces a frameless minipage box inset.
1063 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1065 * textcursor.[Ch] (selStart,selEnd): add new methods
1066 remove selection::start, end, use LyXCursor::operator<
1067 * lyxcursor.[Ch] (operator<): add
1068 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1069 * BufferView.[Ch] (unsetXSel): add
1070 * text2.C (clearSelection): use unsetXSel,adjust
1073 * rowpainter.C: adjust
1074 * bufferview_funcs.C (put_selection_at): adjust
1076 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1078 * BufferView_pimpl.C: small coord. correction
1080 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1082 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1083 dragging over the splash screen.
1085 2003-12-11 Angus Leeming <leeming@lyx.org>
1087 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1088 as it is now handled in LyXText::dispatch.
1090 * text3.C (doInsertInset): remove a level of nesting.
1092 2003-12-11 Angus Leeming <leeming@lyx.org>
1094 * factory.C (createInset): changes due to the changed interface to
1095 InsetCommandMailer::string2params.
1097 2003-12-10 Angus Leeming <leeming@lyx.org>
1099 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1100 'dialog-show-new-inset <inset name>'
1102 2003-12-10 Angus Leeming <leeming@lyx.org>
1104 * buffer.C: up the format to 227.
1106 * factory.C: the box inset is now identified simply by 'Box'.
1108 2003-12-10 Angus Leeming <leeming@lyx.org>
1110 * buffer.C: up the format to 226.
1112 * factory.C: the note inset is now identified simply by 'Note'.
1114 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1116 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1117 when a pit is enough. Standarize a couple of loops.
1119 2003-12-05 Angus Leeming <leeming@lyx.org>
1121 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1122 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1123 data to the re-worked "log" dialog.
1125 2003-12-03 André Pönitz <poenitz@gmx.net>
1131 * paragraph_funcs.C:
1133 * text2.C: use Inset::getText instead of Inset::getParagraph
1135 2003-12-03 André Pönitz <poenitz@gmx.net>
1139 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1140 InsetText::read() as LyXText::read()
1142 2003-12-02 Angus Leeming <leeming@lyx.org>
1144 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1145 type. Add a comment in the implementation that the function uses
1146 the stream's bad() function rather than fail() as the std::streams
1149 2003-12-02 André Pönitz <poenitz@gmx.net>
1151 * lyxlex.[Ch]: make interface more similar to std::stream
1153 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1155 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1157 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1159 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1161 * vspace.[Ch]: remove VSpace::NONE
1163 2003-12-01 André Pönitz <poenitz@gmx.net>
1166 * lyxtext.h: move ParagraphList member to LyXText
1167 rename LyXText::ownerParagraphs to LyXText::paragraph
1170 * bufferview_funcs.C:
1180 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1182 * undo.C: fix cursor positioning
1184 2003-12-01 John Levon <levon@movementarian.org>
1186 * BufferView_pimpl.C: fix a crash on exit with
1189 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1191 * BranchList.C: fix setSelected() method.
1193 2003-11-28 André Pönitz <poenitz@gmx.net>
1195 * ParagraphParameters.[Ch]:
1196 * ParameterStruct.h: remove space above/below from Paragraph to
1199 * BufferView_pimpl.C:
1205 * paragraph_funcs.C:
1211 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1213 * factory.C: Syntax change for CharStyles
1215 2003-11-28 André Pönitz <poenitz@gmx.net>
1220 * buffer.[Ch]: move LyXText member
1222 2003-11-28 André Pönitz <poenitz@gmx.net>
1224 * BufferView.[Ch]: make LyXText * text a private member
1226 * BufferView_pimpl.C:
1237 * output_plaintext.C: cleanup
1239 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1242 * lyxtextclass.[Ch]: parametrize SGML document header
1244 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1247 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1250 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1252 * text2.C (setFont): rework using PosIterator (no more recursive)
1253 (setCharFont): no more needed
1254 (setLayout): no more selection cursors fiddling (done by redoCursor)
1255 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1256 destroy remaining ones)
1258 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1260 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1262 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1265 * text3.C: adjust + re-allow multi par depth changes
1266 * textcursor.C: simplify a bit
1268 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1274 * src/output_docbook.C:
1275 * src/output_latex.C:
1280 * src/text2.C: Introducing a number of tags parametrizing various
1281 XML formats that we may want to support
1283 2003-11-25 André Pönitz <poenitz@gmx.net>
1285 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1287 * lyxtext.h (leftMargin/rightMargin): simplify interface
1294 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1296 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1297 master file to any child files. Fixes bug 546.
1299 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1301 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1303 2003-11-24 André Pönitz <poenitz@gmx.net>
1305 * rowpainter.C: simplification
1307 * text2.C (updateCounters): remove call to redoParagraph on
1308 changed labels as this is far too expensive.
1310 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1312 * converter.C (convert): fix a crash: this function gets
1313 called with buffer == 0 from importer code.
1315 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1317 * text3.C (cursorPrevious): make sure that we do not compare
1318 iterators form different containers.
1321 * rowpainter.C (paintSelection): make sure that we do not compare
1322 iterators from different containers.
1324 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1325 iterators from different ParagraphList containers.
1328 * text2.C (LyXText): change order of initialization slightly
1329 (operator=): new function. copy all variables except cache_par_
1330 (moveUp): make sure that we do not compare iterators from
1331 different ParagraphList constainers.
1334 * text.C (firstPar): new function
1335 (lastPar): new function
1336 (endPar): new function
1338 * lyxtext.h: move things around and group public functions, public
1339 variables, private functions, private variables
1341 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1343 * factory.C: change call to InsetERT constructor to avoid
1344 additional invocation of method status
1345 * text2.C (toggleInset): remove redundant update() call
1346 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1347 instead of a Bufferview pointer
1349 2003-11-21 André Pönitz <poenitz@gmx.net>
1351 * rowpainter.C: simplification
1353 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1355 * text3.C (dispatch): make possible to extend a word/row selection
1358 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1360 * lyxtext.h: x0_,y0_ -> xo_,yo_
1361 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1362 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1363 * rowpainter.C (paintRows): paint full paragraphs
1365 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1367 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1370 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1372 * lyxtext.h: add x0_, y0_
1373 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1374 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1376 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1378 * text2.C (setCursorIntern): move the x_target update here *
1379 * text3.C: change some bv() to true/false in calls to
1380 cursorUp/Down/Right/Left
1381 * cursor.C: use helper function.
1383 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1385 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1386 * paragraph_funcs.[Ch]: correct comment
1387 * rowpainter.C: do not paint selections away from bv->cursor()
1388 Fix a long standing selection painting bug.
1389 * text3.C: generalize mouse-selection code to LyXTexts other that
1391 * textcursor.C: do not use y coords if we can use par offsets
1393 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1395 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1396 cursor position after e.g. inset insert)
1398 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1400 * lyxfind.C (replace): adjust to locking removal + some
1403 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1405 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1408 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1411 * output_docbook.C: XML sanitation: new layout
1412 parameters InnerTag and CommandDepth
1414 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1416 * BufferView_pimpl.C:
1418 * text3.C: Fix the insertion and modification of button-style
1421 2003-11-13 André Pönitz <poenitz@gmx.net>
1423 * InsetList.[Ch]: remove deleteLyXText
1425 * paragraph.[Ch]: cache beginOfBody position
1430 * text3.C: remove superfluous update() calls
1434 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1436 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1437 * BufferView.C (fitLockedInsetCursor): remove
1438 * cursor.[Ch] (getDim): add
1439 * text.C (getRowNearY): add faster version
1440 * text3.C: remove some update calls
1442 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1454 * text3.C: The Character Style /XML short element patch.
1456 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1459 * factory.C: Small step to solving 'unable to insert some insets'
1462 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1464 * cursor.[Ch] (updatePos): new function for updating the y
1465 position of the tip inset
1466 * bufferview_funcs.C (put_selection_at):
1467 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1469 2003-11-11 André Pönitz <poenitz@gmx.net>
1471 * text.C: remove big comment on invalid Paragraph pointers as it is
1474 2003-11-11 André Pönitz <poenitz@gmx.net>
1476 * text_funcs.[Ch]: merge with ...
1484 * Makefile.am: remove text_funcs.[Ch]
1486 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1488 * cursor.C (getPos): return absolute cached y coord
1490 * BufferView_pimpl.C (fitCursor): new simplistic code
1491 (workAreaDispatch): add a fitCursor call
1493 2003-11-10 André Pönitz <poenitz@gmx.net>
1496 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1498 2003-11-10 André Pönitz <poenitz@gmx.net>
1500 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1501 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1502 indicate that the cursor needs to leave an inset
1504 * lyxtext.h: remove inset locking
1506 * cursor.[Ch]: re-implement functionality provided by inset locking
1509 * BufferView_pimpl.[Ch]:
1511 * bufferview_funcs.[Ch]:
1523 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1525 * PosIterator.[Ch]: replace the stack with a vector, add inset
1527 * iterators.[C]: adjust
1529 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1531 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1533 * paragraph_funcs.C (readParToken): put the correct id in the
1534 error item, not the id of the top paragraph
1536 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1538 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1539 * bufferview_funcs.C (put_selection_at): use the above
1541 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1543 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1545 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1547 * output_linuxdoc.h:
1548 * output_plaintext.h:
1550 * output_docbook.h: add #include statements
1552 2003-11-05 José Matos <jamatos@lyx.org>
1554 * output_docbook.[Ch]:
1555 * output_latex.[Ch]:
1556 * output_linuxdoc.[Ch]:
1557 * output_plaintext.[Ch]: New files for output formats.
1558 * output.[Ch]: New file for helper functions.
1561 * paragraph_funcs.[Ch]: output functions moved to new files.
1563 * outputparams.h: rename of latexrunparams.h
1571 * paragraph_funcs.[Ch]:
1572 * paragraph_pimpl.[Ch]:
1573 * tabular.[Ch]: rename ascii to plaintext
1574 and LatexRunParams to OutputParams.
1576 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1578 * iterators.[Ch] (text): require bv argument
1579 * undo.C (recordUndo):
1580 * lyxfunc.C (dispatch):
1581 * bufferview_funcs.C (put_selection_at): adjust
1583 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1585 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1587 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1589 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1592 2003-11-04 André Pönitz <poenitz@gmx.net>
1594 * cursor.[Ch]: restructure
1597 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1599 * iterators.[Ch] (asCursor): remove
1601 * lfuns.h: remove LFUN_INSET_EDIT
1607 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1609 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1611 * lyxfind.[Ch]: complete overhaul
1612 * BufferView_pimpl.C:
1614 * paragraph.[Ch] (insert): add
1616 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1620 * text.C: remove dead spellcheck code
1622 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * dispatchresult.h: add a val setter
1626 * cursor.C (dispatch): use a tempvar for data_[i]
1628 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1630 * PosIterator.[Ch]: compile fix
1632 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1634 * text.C (cursorPar): deactivate the cursor cache
1636 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1638 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1640 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1642 * text3.C (dispatch): adjust for new DisptchResult semantics.
1644 * lyxfunc.C (dispatch): handle update when return from
1645 Cursor::dispatch, adjust for new DispatchResult semantics.
1647 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1648 DispatchResult(true) mean to not update. Add class functions for
1649 setting dispatched and update, as well as reading.
1651 * cursor.C (dispatch): don't handle update here
1653 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1655 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1656 * trans_mgr.C: adjust
1658 * paragraph_funcs.C (readParToken): exception safety
1660 * lyxvc.h: store the vcs pointer in a scoped_ptr
1663 * lyxsocket.C (serverCallback): exception safety
1665 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1667 * ispell.C (clone): make it return a auto_ptr
1669 * factory.C (createInset): exception safety
1670 (readInset): exception safety
1672 * bufferlist.C (newBuffer): exception safety
1674 * Thesaurus.C (Thesaurus): use initialization for aik_
1676 * MenuBackend.C (expandToc): exception safety.
1678 2003-11-03 André Pönitz <poenitz@gmx.net>
1682 * bufferview_funcs.C: remove getInsetFromId()
1685 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1691 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1693 * PosIterator.C (distance, advance): new
1694 * bufferview_funcs.[Ch] (put_selection_at): new
1695 * iterators.[Ch] (lockPath): new
1697 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1699 * iterators.[Ch] (asPosIterator): added
1700 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1701 * PosIterator.[Ch]: added
1703 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * cursor.C (dispatch):
1708 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1710 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1711 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1712 contructor, add a class function dispatched. Remove operator>=
1714 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1716 * debug.C: only use the default constructor for debugstream
1719 * main.C (main): include debug.h and setup the lyxerr streambuf
1722 2003-10-31 José Matos <jamatos@lyx.org>
1724 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1726 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1727 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1728 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1729 * paragraph_pimpl.C (simpleTeXSpecialC):
1730 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1731 add LatexRunParams argument.
1733 * exporter.C (Export): change call accordingly.
1735 * latexrunparams.h: add new member to take care of the other backends.
1736 2003-10-30 José Matos <jamatos@lyx.org>
1738 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1739 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1740 factorise code for paragraph output.
1742 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1745 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1747 * text3.C (dispatch):
1748 * lyxfunc.C (dispatch):
1749 * cursor.C (dispatch):
1750 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1752 * dispatchresult.h: make the dispatch_result_t ctor explicit
1754 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1757 * buffer.C: small refactoring of docbook stuff
1759 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1764 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1767 operator dispatch_result_t, and operators for == != and >=
1769 * cursor.C (dispatch): adjust for operator dispatch_result_t
1770 removal. comment out call to update
1772 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1774 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1782 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1785 * dispatchresult.h: new file, DispatchResult broken out of
1788 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1790 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1792 * text.C (rowBreakPoint): put a hack inside #if 0
1794 2003-10-28 André Pönitz <poenitz@gmx.net>
1798 * paragraph_funcs.C:
1801 * text2.C: general cleanup (lots of small stuff)
1803 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1805 * text2.C (cursorEnd): simple fix to the "end key goes to one
1806 before the end on last row" bug
1808 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1810 * text.C (backspace): fix the "zombie characters"
1812 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1814 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1816 2003-10-27 André Pönitz <poenitz@gmx.net>
1818 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1820 * factory.C: handle new InsetPagebreak, InsetLine
1822 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1823 and move handling into new InsetPagebreak, InsetLine
1825 * BufferView_pimpl.C:
1827 * ParagraphParameters.C:
1828 * ParameterStruct.h:
1833 * paragraph_funcs.C:
1834 * paragraph_pimpl.C:
1840 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1843 * lyxrow_funcs.[Ch]:
1849 * text3.C: remove lastPos uses in favour of Row::endpos
1851 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1853 * undo.C (performUndoOrRedo): fix two crashes by setting a
1854 cursor by hand and reordering some calls. Use bv->lockInset instead
1855 of inset->edit because the latter loses cursor information
1857 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1859 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1861 (rowBreakPoint): fix width. change point to point + 1.
1862 Add a missing check.
1864 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1867 * lyxfunc.C: fix (at least partly) the problems
1868 with the Nav menu and headers inside branch insets
1871 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1873 * paragraph.C (getChar): add strong asserts
1875 * lyxrow_funcs.C (lastPos): remove hideous hack
1877 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1878 (fill): adjust to that (avoid an infinite loop)
1880 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1882 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1884 2003-10-23 André Pönitz <poenitz@gmx.net>
1886 * RowList_fwd.h: change list<> to vector<> to gain speed
1887 after suggestion from Alfredo
1889 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1891 * lyxtext.h: move the bidi stuff from here...
1894 * Bidi.[Ch]: ... to here
1896 2003-10-23 André Pönitz <poenitz@gmx.net>
1899 * text.C (isLastRow, isFirstRow): new functions
1901 * paragraph.h: new width cache member
1903 * rowpainter.C: replace RowList::iterator with Row & where possible
1905 * lyxfunc.C: replace several view()->text with a single call
1907 * toc.C: fix 'unused' warning
1909 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1911 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1912 when woring with stream::pos_type
1913 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1915 2003-10-22 André Pönitz <poenitz@gmx.net>
1918 * text.C: use Row & instead of RowList::iterator
1920 * lyxrow.h: rename end() to endpos()
1926 2003-10-22 Angus Leeming <leeming@lyx.org>
1928 * buffer.[Ch] (fully_loaded): new member function, returning true
1929 only when the file has been loaded fully.
1930 Used to prevent the premature generation of previews and by the
1931 citation inset to prevent computation of the natbib-style label.
1933 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1934 templates are all set up.
1936 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1938 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1940 * text.C: fixed an "oops" in the "is a bit silly"
1943 2003-10-21 André Pönitz <poenitz@gmx.net>
1945 * FuncStatus.[Ch]: small stuff, whitespace
1947 * lyxfont.[Ch]: operator<<() for debug reasons
1951 * lyxtext.h: whitespace, spelling
1953 * paragraph.C: naming of variables
1956 * text2.C: small stuff
1959 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1961 * text.C: (1) finish off the inset display() work;
1962 (2) fix the "is a bit silly" bug (accessing char
1965 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1967 * text.C: re-introduce display() for insets, fixing the
1968 various bugs (stretch of line above, math inset
1971 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1973 * text.C (rightMargin): remove spurious semicolon
1975 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1978 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1980 * text3.C: fix one crash due to wrong cursor def
1982 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * vc-backend.C (scanMaster): make the regex static
1986 * LaTeX.C (scanAuxFile): make the regexs static
1988 * text3.C (doInsertInset, dispatch, dispatch):
1989 * text2.C (cursorUp, cursorDown):
1990 * text.C (selectNextWordToSpellcheck):
1991 * BufferView_pimpl.C (dispatch):
1992 * lyxfunc.C (dispatch): localDispatch -> dispatch
1994 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1996 * lyxsocket.C: include <cerrno>
1998 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * lyxfunc.C (dispatch): remove textcache stuff
2002 * bufferlist.C (release): remove textcache stuff
2005 * TextCache.C: delete file
2006 * TextCache.h: delete file
2008 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2010 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2011 delete of the bv_->text.
2012 (resizeCurrentBuffer): remove texcache stuff
2013 (workAreaResize): ditto
2015 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2020 2003-10-16 André Pönitz <poenitz@gmx.net>
2027 * text3.C: speed up by storing y positions per paragraph plus per-row
2028 offset instead of having a 'full' y position in the row.
2030 2003-10-15 André Pönitz <poenitz@gmx.net>
2034 * undo.[Ch]: make undo aware of inner insets
2036 2003-10-14 Angus Leeming <leeming@lyx.org>
2038 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2039 static member functions LyX::ref() and LyX::cref.
2040 (lastfiles): new accessor functions for the new lastfiles_ member var.
2041 (addLyXView, views_): add a new LyXView to the list of views_.
2042 (updateInset): loop over all LyXViews to call their own updateInset
2043 member function, returning a pointer to the Buffer owning the inset.
2045 * BufferView_pimpl.C (loadLyXFile):
2046 * MenuBackend.C (expandLastfiles):
2047 * bufferlist.C (MenuWrite, QuitLyX):
2048 lastfiles is no longer a global variable.
2049 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2051 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2052 static function. Access through LyX::cref().emergencyCleanup().
2054 2003-10-14 André Pönitz <poenitz@gmx.net>
2056 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2058 * undo.[Ch]: restoring part of 'undo in insets'
2061 * undo_funcs.[Ch]: merge with undo.[Ch]
2063 * tabular.C: small cleansing stuff
2065 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2067 * paragraph_funcs.C (readParToken): report unknown insets as error
2068 boxes. Use the outer paragraph as location (also for unknown
2071 * factory.C (readInset): do not abort on reading an unknown inset.
2072 Eat it and return 0.
2074 2003-10-13 Angus Leeming <leeming@lyx.org>
2076 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2078 * lyxrc.C: displayTranslator is now a function,
2079 declared in GraphicsTypes.h.
2081 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2083 * format.C: new placeholder $$a to pass the socket address.
2085 * bufferlist.[Ch]: new function getBufferFromTmp.
2087 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2088 files in the temporary dir.
2090 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2092 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2094 * Makefile.am: add lyxsocket.[Ch].
2096 * lyx_main.C (error_handler): handle SIGPIPE.
2098 2003-10-13 André Pönitz <poenitz@gmx.net>
2100 * BufferView_pimpl.C:
2105 * undo_funcs.[Ch]: use paroffset_type instead of
2106 ParagraphList::iterators to prevent multiple conversion
2107 (and get a more robust interface)
2109 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2111 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2113 * text3.C (dispatch): ditto
2115 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2117 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2118 move the onlyfile, use onlyfile instead of foundfile in a couple
2121 * DepTable.C (update): flush the error stream a bit more
2123 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * lyxserver.C (callback): adjust
2127 * lyxfunc.C (getStatus): add a missing brace in commented code
2128 (ensureBufferClean): reindent
2129 (dispatch): delete version taking a string
2131 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * LaTeX.C (deplog): move found file handlig from here...
2134 (handleFoundFile): .. to new function here.
2135 (deplog): make sure to discover several files mentioned on the
2138 2003-10-10 André Pönitz <poenitz@gmx.net>
2145 * text3.C: fix some of the tabular crashes
2147 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2149 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2151 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2153 2003-10-09 André Pönitz <poenitz@gmx.net>
2155 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2158 * BufferView_pimpl.C:
2159 * bufferview_funcs.C:
2170 * undo_funcs.C: adjust
2172 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * text2.C (incrementItemDepth): new function, use a backtracking
2175 algorithm to discover the correct item depth.
2176 (resetEnumCounterIfNeeded): new function, use a backtracking
2177 algorithm to discover if counter reset is needed.
2178 (setCounter): use them. Simplify a bit. Add different labels for
2179 different item depths for itemize.
2181 * paragraph.C (Paragraph): remove initialization of enumdepth
2184 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2185 enumerate and itemize. Change the type of itemdepth to signed char.
2187 2003-10-08 André Pönitz <poenitz@gmx.net>
2189 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2194 * tabular.[Ch]: fix crash after 'row-insert'
2196 2003-10-08 Angus Leeming <leeming@lyx.org>
2198 Fix doxygen warnings.
2200 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2201 Remove CutAndPaste:: prefix from header file declaration.
2203 * LColor.h (fill): remove LColor:: prefix from declaration.
2205 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2206 use lyx::depth_type rather than Paragraph::depth_type so that
2207 header file and .C file match.
2209 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2211 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2212 * aspell.C: \file aspell_local.C -> \file aspell.C
2213 * gettext.C: \file gettext.C -> \file src/gettext.C
2214 * gettext.h: \file gettext.h -> \file src/gettext.h
2215 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2216 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2217 * text.C: \file text.C -> \file src/text.C
2219 * toc.C: move comment so that doxygen is not confused.
2221 2003-10-07 Angus Leeming <leeming@lyx.org>
2223 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2225 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2228 * aspell_local.h: add forgotten std::string's.
2230 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2237 * text3.C: The Box patch. Fancybox support, minipage, parbox
2239 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2245 * ParagraphParameters.h:
2255 * lyxtextclasslist.h:
2258 * paragraph_pimpl.C:
2259 * textcursor.h: add <string> and other small fixes to make Lars'
2260 std::string patch compile with STLport.
2262 2003-10-06 Angus Leeming <leeming@lyx.org>
2264 * LColor.h: Add missing #include <string>.
2266 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2268 * All most all file in all subdirs: Make <string> be the prefered
2269 way of getting to std::string, add using declarations.
2271 2003-10-06 André Pönitz <poenitz@gmx.net>
2273 * metricsinfo.C: initialize LyXFont before changing attribute.
2274 (fixes the 'math in \emph is upright' bug)
2276 2003-10-06 André Pönitz <poenitz@gmx.net>
2278 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2280 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2283 * paragraph_pimpl.C: Small fixes to build using STLport
2285 2003-10-02 André Pönitz <poenitz@gmx.net>
2288 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2290 2003-10-01 André Pönitz <poenitz@gmx.net>
2292 * factory.C: assert early
2294 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * lyx_main.C: remove the global debug object
2298 * debug.h: adjust for new debugstream
2300 * debug.C: adjust for new debugstream and keep the global debug
2303 2003-09-22 Angus Leeming <leeming@lyx.org>
2305 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2306 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2307 an incomplete class LyXFont.
2309 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2311 * factory.C: bug fix in branches
2313 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2315 * lyxfunc.C (processKeySym): adjust
2317 (dispatch): change arg name from ev to func, adjust
2318 (sendDispatchMessage): ditto
2320 * lyx_main.C (defaultKeyBindings): adjust keybindings
2321 (deadKeyBindings): ditto
2323 * kbsequence.C (addkey): return a FuncRequest
2325 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2327 * kbmap.C (bind): take a FuncRequest as arg, adjust
2330 (defkey): change to take a FuncRequest as arg, adjust
2331 (findbinding): take a FuncRequest as arg, adjust.
2333 * funcrequest.h (operator=): added
2335 * funcrequest.C (FuncRequest): default kb_action changed from
2336 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2338 * buffer.C (dispatch): simplify
2339 (dispatch): adjust to take a FuncRequest as arg, adjust
2341 * boost.C (assertion_failed): change assertion message slightly
2343 * ToolbarBackend.C (read): simplify
2345 * MenuBackend.C (binding): adjust call to findbinding, add a
2346 message if no binding is found.
2348 (expandToc): correct by adding a empty FuncRequest
2350 * LyXAction.C: include <boost/assert.hpp>
2351 (isPseudoAction): delete function
2352 (LookupFunc): change name to...
2353 (lookupFunc): this. change return type to FuncRequest.
2354 (getActionName): take kb_action as arg, simplify
2355 (funcHasFlag): add an assert, simplify.
2357 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2359 * toc.C (action): return a FuncRequest, simplify
2361 * lyxfunc.C (processKeySym): adjust
2362 (getStatus): delete version that takes an int.
2364 (dispatch): delete version that takes action as int
2366 (sendDispatchMessage): simplify and adjust
2368 * funcrequest.C (getArg): take unsigned int as arg
2370 * ToolbarBackend.C (read): adjust
2371 (add): delete version that takes func as a string.
2372 (getIton): take a FuncRequest as arg
2374 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2377 * MenuBackend.C (MenuItem): add a new construct that only takes a
2378 Kind, simplify the constructor use for submenus.
2380 (expandLastfiles): adjust
2381 (expandDocuments): adjust
2382 (expandFormats): adjust
2383 (expandFloatListInsert): adjust
2384 (expandFloatInsert): adjust
2385 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2387 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2388 Remove class variables lyx_pseudo_map and lyx_arg_map
2390 * LyXAction.C (searchActionArg): delete function
2391 (getPseudoAction): delete function
2392 (retrieveActionArg): delete function
2393 (LookupFunc): make it return kb_action, simplify.
2394 (getActionName): simplify
2396 * factory.C (createInset): fix new bug
2398 2003-09-19 Angus Leeming <leeming@lyx.org>
2400 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2401 masterFilename_ parameter in the include inset.
2403 * factory.C (createInset): changes due to the changes to InsetInclude.
2405 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2407 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2409 2003-09-18 Angus Leeming <leeming@lyx.org>
2412 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2413 Inset::fillWithBibKeys.
2414 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2416 2003-09-18 Angus Leeming <leeming@lyx.org>
2418 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2420 (ctor): pass and store a 'Buffer const &'
2421 (buffer): new member function.
2423 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2424 '*this' to the LaTeXFeatures ctor.
2426 2003-09-18 Angus Leeming <leeming@lyx.org>
2432 * text.C: rename EnumLColor as LColor_color.
2434 2003-09-18 Angus Leeming <leeming@lyx.org>
2436 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2437 remove #include "insets/insetbase.h" from cursor.h.
2439 2003-09-18 Angus Leeming <leeming@lyx.org>
2441 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2442 InsetOld_code to remove #include "inset.h".
2444 * iterators.C: add #include "insets/inset.h"
2446 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2448 * BufferView.C: remove more locking stuff that apparently doesn't
2449 do anything sensible.
2451 2003-09-16 André Pönitz <poenitz@gmx.net>
2454 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2457 2003-09-16 Angus Leeming <leeming@lyx.org>
2459 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2461 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2464 * paragraph.h: remove #include "lyxfont.h". Forward declare
2467 2003-09-16 Angus Leeming <leeming@lyx.org>
2469 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2470 of support/textutils.h.
2471 (isWord): move the contents of support/textutils.h's IsWordChar here.
2477 * text2.C: add #include "paragraph.h".
2480 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2482 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * LaTeX.C: use namespace alias for lyx::support::os
2490 2003-09-16 Angus Leeming <leeming@lyx.org>
2493 * bufferview_funcs.C:
2496 * paragraph_pimpl.C:
2498 * text.C: add #include "LColor.h".
2500 2003-09-16 Angus Leeming <leeming@lyx.org>
2502 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2503 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2505 Store the FontBits::color variable as an int rather than as an
2506 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2509 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2510 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2511 string calls together.
2513 * lyxrc.C: add #include "LColor.h".
2515 2003-09-15 Angus Leeming <leeming@lyx.org>
2517 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2520 2003-09-15 Angus Leeming <leeming@lyx.org>
2522 * LColor.h: add an EnumLColor wrapper for LColor::color.
2524 * lyxfont.[Ch] (color, setColor, realColor):
2525 * lyxtext.h, text.C (backgroundColor):
2526 pass EnumLColor args to/from the functions, rather than LColor::color
2530 * lyxtext.h: forward declare EnumLColor.
2532 * lyx_main.C: add #include "LColor.h".
2534 2003-09-15 Angus Leeming <leeming@lyx.org>
2536 * .cvsignore: add lyx-gtk.
2538 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2543 * ParagraphParameters.C
2547 * bufferview_funcs.C
2557 * vc-backend.C: remove usage of STRCONV
2559 2003-09-15 Angus Leeming <leeming@lyx.org>
2561 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2562 explicitly define the color passed to the painter.
2564 2003-09-15 Angus Leeming <leeming@lyx.org>
2566 * bufferparams.C (BufferParams): reorder member initializers to avoid
2569 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2571 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2572 * text.C (updateRowPositions): remove an unusual nop
2574 2003-09-12 André Pönitz <poenitz@gmx.net>
2576 * BufferView_pimpl.C:
2585 * Counters.[Ch]: finish the 'automatic counters' job
2587 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2589 * aspell.C: include <boost/assert.cpp> (compile fix)
2591 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2593 * boost.C (assertion_failed): use lyx::support::abort instead of
2596 2003-09-10 Angus Leeming <leeming@lyx.org>
2598 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2599 with their _fwd progeny.
2601 2003-09-09 Angus Leeming <leeming@lyx.org>
2603 134 files throughtout the source tree: replace 'using namespace abc;'
2604 directives with the appropriate 'using abc::xyz;' declarations.
2606 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2608 * boost.C (emergencyCleanup): moved here from LAssert.c
2609 (assertion_failed): new function, called by BOOST_ASSERT
2611 * several files: change Assert to BOOST_ASSERT
2613 2003-09-09 Angus Leeming <leeming@lyx.org>
2615 * buffer.[Ch]: Add an Impl class and move Buffer's member
2616 variables into it. As a result move several header files out of
2619 Add header files to lots of .C files all over the tree as a result.
2621 2003-09-09 Angus Leeming <leeming@lyx.org>
2623 * buffer.[Ch]: make Buffer's member variables private. Add
2626 Lots of changes all over the tree as a result.
2628 2003-09-08 Angus Leeming <leeming@lyx.org>
2630 * graph.C: #include <config.h>.
2632 2003-09-08 Angus Leeming <leeming@lyx.org>
2636 * BufferView_pimpl.C:
2665 * toc.C: remove redundant using directives.
2667 2003-09-07 Angus Leeming <leeming@lyx.org>
2669 * LaTeXFeatures.h: remove #include "support/types.h".
2670 * ToolbarBackend.h: remove #include <algorithm>.
2671 * changes.h: remove #include <ctime>.
2672 * debug.h: remove #include <iosfwd>.
2673 * graph.h: remove #include "support/std_string.h".
2674 * lyx_main.h: remove #include <csignal>.
2675 * lyxlex_pimpl.h: remove #include <fstream>.
2676 * sgml.h: remove #include <algorithm>, <utility>.
2677 * toc.h: remove #include "support/std_ostream.h".
2678 Add #include <iosfwd>.
2680 2003-09-07 Angus Leeming <leeming@lyx.org>
2682 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2684 * converter.h: forward declare LatexRunParams.
2685 * encoding.h: remove #include "lyxrc.h".
2686 * lyxtext.h: remove #include "LColor.h".
2687 * lyxtextclass.h: remove #include "support/types.h".
2688 * trans.h: remove #include "tex-accent.h".
2689 * trans_mgr.h: remove #include "tex-accent.h".
2690 * insets/inset.h: remove #include "support/types.h", <vector>.
2691 * insets/insetcollapsable.h: remove #include "LColor.h".
2692 * insets/insetinclude.h: remove #include "dimension.h".
2693 * insets/insetlatexaccent.h: remove #include "dimension.h".
2694 * insets/insetoptarg.h:: remove #include "insettext.h".
2695 * insets/insettext.h: remove #include "dimension.h",
2696 <boost/shared_ptr.hpp>
2698 * insets/renderers.h: add #include "dimension.h".
2699 * insets/updatableinset.h: add #include "support/types.h".
2701 * many .C files: Associated changes.
2703 2003-09-06 Angus Leeming <leeming@lyx.org>
2705 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2706 one, inside testInvariant.
2708 * PrinterParams.C: new file.
2709 * PrinterParams.[Ch]: move the function bodies out of line.
2711 2003-09-06 Angus Leeming <leeming@lyx.org>
2713 * ParagraphParameters.h: forward declare ParameterStruct rather than
2714 including its header file.
2715 (depth): moved out-of-line.
2717 2003-09-06 Angus Leeming <leeming@lyx.org>
2719 * BufferView_pimpl.h:
2722 * lyxfunc.h: forward declare LyXKeySym rather than
2723 #include "frontends/LyXKeySym.h".
2725 * BufferView_pimpl.C:
2728 * lyxfunc.C: associated changes.
2730 2003-09-06 Angus Leeming <leeming@lyx.org>
2732 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2733 As a result, can remove the #include "insets/inset.h" from BufferView.h
2735 2003-09-06 Angus Leeming <leeming@lyx.org>
2737 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2738 As a result, can remove the #include "insets/inset.h" from BufferView.h
2740 2003-09-06 Angus Leeming <leeming@lyx.org>
2746 * bufferview_funcs.C:
2747 * BufferView_pimpl.C:
2752 * ParagraphParameters.C:
2757 * frontends/controllers/ControlDocument.C:
2758 * insets/insetcaption.C: rearrange the #includes into some sort of
2761 * buffer.h: remove #includes ErrorList.h, undo.h
2763 2003-09-06 Angus Leeming <leeming@lyx.org>
2765 * support/types.h: add a 'depth_type' typedef, used to store the
2766 nesting depth of a paragraph.
2769 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2770 defining explicitly.
2773 * paragraph_funcs.h:
2774 * ParagraphParameters.h:
2775 * sgml.h: use lyx::depth_type rather than Paragraph or
2776 ParameterStruct's depth_type.
2779 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2782 * BufferView_pimpl.C:
2784 * ParagraphParameters.C:
2787 * bufferview_funcs.C:
2794 * frontends/LyXView.C:
2795 * frontends/controllers/ControlDocument.C:
2796 * frontends/controllers/ControlErrorList.C:
2797 * insets/insetbibitem.C:
2798 * insets/insetbranch.C:
2799 * insets/insetcaption.C:
2800 * insets/insetcollapsable.C:
2801 * insets/insetenv.C:
2802 * insets/insetert.C:
2803 * insets/insetfloat.C:
2804 * insets/insetfoot.C:
2805 * insets/insetfootlike.C:
2806 * insets/insetnewline.C:
2807 * insets/insetquotes.C:
2808 * insets/insettabular.C:
2809 * insets/insettext.C:
2810 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2812 * frontends/controllers/ControlChanges.C: #include "changes.h".
2814 2003-09-06 Angus Leeming <leeming@lyx.org>
2816 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2817 than #including paragraph.h.
2820 * RowList.h: deleted. Superfluous.
2830 * insets/insettext.h: use ParagraphList_fwd.h rather than
2833 * paragraph.h: don't forward declare ParagraphList.
2836 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2837 rather than ParagraphList.h. paragraph.h is still needed for the
2838 Paragraph::depth_type parameters.
2840 * textcursor.h: enable it to compile stand-alone in light of the
2843 * bufferview_funcs.C:
2855 * frontends/controllers/ControlParagraph.C:
2856 * frontends/controllers/ControlTabular.C:
2857 * insets/insetmarginal.C:
2858 * insets/insetminipage.C:
2859 * insets/insetnote.C:
2860 * insets/insetoptarg.C: add header files needed to compile again.
2862 2003-09-06 Angus Leeming <leeming@lyx.org>
2864 * RowList_fwd.h: new file, forward-declaring Row rather than
2865 #including lyxrow.h.
2870 * insets/insettext.h: use it instead of RowList.h
2872 * bufferview_funcs.C:
2879 * text3.C: #include "RowList.h".
2881 2003-09-05 Angus Leeming <leeming@lyx.org>
2883 * factory.C (createInset):
2884 * vspace.C (c-tor): replace sscanf call with an istringstream.
2885 * ispell.C: re-add missing HP/UX headers.
2886 * lyxserver.C: re-add missing os2 headers.
2888 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2897 * text3.C: re-add missing system headers, needed for 2.95.2.
2899 2003-09-05 Angus Leeming <leeming@lyx.org>
2901 Changes most place everywhere due to the removal of using directives
2902 from support/std_sstream.h.
2904 2003-09-05 Angus Leeming <leeming@lyx.org>
2906 Replace LString.h with support/std_string.h,
2907 Lsstream.h with support/std_sstream.h,
2908 support/LIstream.h with support/std_istream.h,
2909 support/LOstream.h with support/std_ostream.h.
2911 Changes resulting throughout the tree.
2913 2003-09-05 Angus Leeming <leeming@lyx.org>
2915 * sgml.h: ensure that the header file can be compiled stand-alone.
2916 * *.C: strip out redundant #includes. (320 in total.)
2918 2003-09-04 Angus Leeming <leeming@lyx.org>
2920 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2921 here (from getPackages).
2923 * debug.[Ch]: add a new EXTERNAL tag.
2925 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2927 * text2.C (cursorEnd): simplify
2929 (getColumnNearX): adjust
2931 * text.C (computeBidiTables): adjust
2934 * rowpainter.C (paintChars): adjust
2935 (paintSelection): adjust
2936 (paintChangeBar): adjust
2939 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2941 (numberOfSeparators): adjust
2943 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2949 * text3.C: Restricts the mouse click functionality
2950 of insets like bibtex, include, toc and floatlist to the visible
2951 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2952 up the dialogs. Cursor has to be in front of the inset (i.e.
2953 start of row) for this to function.
2955 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2957 * bufferview_funcs.C (currentState): output row information
2959 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2961 * bufferview_funcs.C (currentState): output paragraph position
2963 2003-09-04 Angus Leeming <leeming@lyx.org>
2965 * FloatList.h: move out #include "Floating.h".
2966 * LaTeX.h: move out #include "DepTable.h".
2967 * LyXAction.h: move out #include "funcrequest.h".
2968 * buffer.h: move out #include "author.h", "iterators.h".
2969 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2970 * lyx_main.h: move out #include "errorlist.h".
2971 * lyxfunc.h: move out #include "FuncStatus.h".
2972 * lyxtext: move out #include "lyxcursor.h".
2973 * paragraph_pimpl.h: move out #include "counters.h".
2975 2003-09-03 Angus Leeming <leeming@lyx.org>
2977 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2978 preamble_snippets list, enabling us to add snippets to the preamble
2979 only if the snippet was not there already.
2981 2003-09-04 Angus Leeming <leeming@lyx.org>
2983 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2985 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2990 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2992 * BranchList.C: point fix, earlier forgotten
2994 2003-09-02 Angus Leeming <leeming@lyx.org>
2996 * box.C (contains): renamed from 'contained' after a fantastic
2999 2003-09-02 John Levon <levon@movementarian.org>
3005 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3007 2003-09-02 John Levon <levon@movementarian.org>
3009 * text2.C: simplification of cursorEnd(), including partial
3012 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * buffer.C (readFile): add a space
3016 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3018 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3020 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * buffer.C (readFile): new function, take a filename and a
3023 ParagraphList::iterator
3025 (readFile): adjust, make it private. don't use setStream, make
3026 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3027 always contain the filename.
3029 * BufferView.C (insertLyXFile): simplify and make it work for
3032 2003-08-30 John Levon <levon@movementarian.org>
3034 * Makefile.am: fix dist (from Kayvan)
3036 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * most files: change to use const Buffer refs
3040 2003-08-27 André Pönitz <poenitz@gmx.net>
3042 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3043 on top of ownerPar().
3045 2003-08-27 John Levon <levon@movementarian.org>
3047 * funcrequest.C: properly initialise POD members
3049 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3051 * lyxtext.h (top_y): move top_y from here
3056 * BufferView_pimpl.[Ch]: to here
3057 * frontends/screen.C:
3058 * insets/insettabular.C:
3059 * insets/insettext.C: adjust
3060 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3062 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3065 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3067 2003-08-26 André Pönitz <poenitz@gmx.net>
3069 * paragraph_func.[Ch] (outerPar): new function
3072 * paragraph_funcs.C:
3073 * paragraph_funcs.h:
3074 * paragraph_pimpl.C:
3075 * text2.C: remove Inset::par_owner
3077 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3082 * text2.C: eliminates the needFullRow/display() stuff
3083 altogether, putting the logic in metrics/draw in the insets.
3085 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3087 * text2.C (redoParagraphInternal, redoParagraphs):
3088 * text.C (redoParagraph): add a call to updateRowPositions at the
3089 end of each 'metrics-like' call. Remove all others.
3090 (getRow): remove the 'y-computing' version.
3091 (getRowNearY): do not compute nor return the real y. Solve the
3092 'y < 0' problem and simplify.
3094 2003-08-22 Angus Leeming <leeming@lyx.org>
3096 * *.[Ch]: clean-up of licence and author blurbs.
3097 Also move config.h out of a few .h files and into a few .C files.
3099 2003-08-22 André Pönitz <poenitz@gmx.net>
3101 * lyxrow.[Ch]: add x_ and *fill_ members
3106 * text2.C: adjust/remove prepareToPrint() calls
3108 2003-08-22 André Pönitz <poenitz@gmx.net>
3110 * lyxrow.[Ch]: add end_ member
3112 * lyxrow_funcs.C: use LyXRow::end_
3114 * lyxtext.h (singleWidth): add LyXFont parameter
3117 * text2.C: adjust LyXText::singleWidth() calls
3119 * text.C (redoParagraph): simplify row breaking logic
3122 2003-08-19 André Pönitz <poenitz@gmx.net>
3124 * funcrequest.C: initialize button_ member
3127 * rowpainter.[Ch]: interface consolidation
3129 2003-08-18 André Pönitz <poenitz@gmx.net>
3132 * BufferView_pimpl.C:
3134 * paragraph_funcs.C:
3136 * text3.C: remove LyXScreen::draw() and fitCursor calls
3138 * BranchList.h: remove spurious semicolons
3140 * MenuBackend.C: fix branchlist related crash
3142 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3150 * bufferparams.[Ch]:
3154 * text3.C: implements the 'branch inset'
3155 idea. This allows the output of various versions of a document
3156 from a single source version, selectively outputing or suppressing
3157 output of parts of the text.
3158 This implementation contains a 'branch list editor' in a separate
3159 tab of the document settings dialog. Branches are user definable
3160 and have a "display colour" to distinguish them on-screen.
3162 ColorHandler was somewhat cleaned up.
3163 (1) make possible a dynamically growing LColor list by allowing
3164 the graphic context cache to grow along (vector);
3165 (2) eliminate an IMHO unnecessary step in colour allocation.
3167 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3169 * BufferView_pimpl.C: compile fix
3171 2003-08-15 André Pönitz <poenitz@gmx.net>
3173 * rowpainter.C: remove extra metrics calls
3175 * lyxtext.h: merge the two constructors into a single one,
3176 pass reference to owner's par list
3178 * BufferView_pimpl.C:
3182 2003-08-15 André Pönitz <poenitz@gmx.net>
3184 * lyxrow_funcs.[Ch]:
3187 * paragraph_funcs.C:
3192 * text_funcs.C: split LyXText::rowlist_ into individual
3193 Paragraph::rows_ chunks
3196 * BufferView_pimpl.[Ch]:
3199 * text3.C: remove toggleSelection()
3201 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3203 * bufferlist.C: beautify two alerts (shorter text of buttons)
3204 * buffer.C: Remove redundant ' ' from message
3206 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3207 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3208 rename VALIGN_CENTER to VALIGN_MIDDLE
3210 2003-08-11 André Pönitz <poenitz@gmx.net>
3212 * lyxtext.h (getPar):
3213 * text.C: new function
3215 2003-08-11 André Pönitz <poenitz@gmx.net>
3218 * tracer.[Ch]: remove unneeded files
3220 * InsetList.[Ch]: remove resizeInsetsLyXText()
3225 * text3.C: merge insertParagraphs() and appendParagraph()
3226 remove breakAgain(), update()
3228 * BufferView_pimpl.[Ch]:
3229 * bufferview_funcs.[Ch]:
3233 * tabular.C: adjust after text & InsetList changes.
3235 2003-08-08 André Pönitz <poenitz@gmx.net>
3237 * text.C (insertChar, backspace): replace rowlist fiddling
3238 with rebreak of full par
3241 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3242 checkParagraph, updateInset): removed
3244 2003-08-07 André Pönitz <poenitz@gmx.net>
3247 * text3.C: merge some LFUN handlers, remove dead code
3249 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3251 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3253 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3255 * text2.C (DEPM): fix part of bug 1255 and 1256
3257 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3259 * BufferView_pimpl.C (workAreaDispatch): change to use
3260 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3261 that are no mouse related.
3263 2003-08-05 André Pönitz <poenitz@gmx.net>
3266 * BufferView_pimpl.[Ch]:
3267 * bufferview_funcs.C:
3269 * text3.C: rip out "deep update"
3271 * textcursor.[Ch] (last_sel_cursor): remove unused member
3273 2003-08-04 André Pönitz <poenitz@gmx.net>
3276 * BufferView_pimpl.[Ch]:
3277 * ParagraphParameters.C:
3278 * bufferview_funcs.C:
3284 * text3.C: replace "complicated" BufferView::update(...) calls with
3287 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3289 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3291 * Makefile.am (lyx_SOURCES): add paper.h
3293 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3295 * Makefile.am: move things around so that both lyx-qt and
3296 lyx-xforms can be built (according to --with-frontend). Then lyx
3297 is a symbolic link to lyx-[firstfrontend]
3299 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3301 * Always use std::endl with lyxerr
3303 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3305 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3307 2003-08-01 André Pönitz <poenitz@gmx.net>
3310 * BufferView_pimpl.[Ch]:
3312 * text3.C: merge BufferView::repaint() and BufferView::update()
3314 2003-08-01 José Matos <jamatos@lyx.org>
3316 * buffer.[Ch]: file_format is no longer a buffer data element.
3318 2003-08-01 André Pönitz <poenitz@gmx.net>
3323 * text2.C: make redoParagraph more independent of current cursor
3325 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3327 * text2.C: remove unneeded members
3329 2003-07-30 André Pönitz <poenitz@gmx.net>
3331 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3333 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3334 create a single function...
3336 * paragraph_funcs.C (moveItem): ... here.
3339 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3341 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3343 * LColor.[Ch]: Add comment and greyedout logical colors.
3345 2003-07-30 André Pönitz <poenitz@gmx.net>
3347 * tabular.C: don't use Assert too heavily. This crashes where it
3350 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3352 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3353 is disabled (bug 1232)
3355 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3357 * factory.C: limited 'arg' scope
3359 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3361 * factory.C: fixed Note submenu issues
3363 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3365 * factory.C: submenu for Note/Comment/Greyedout
3367 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3370 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3372 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3375 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3376 greyedout. Patch provided by Jürgen Spitzmüller.
3378 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3380 * kbmap.C (read): fix error message when reading bind files
3382 2003-07-29 Angus Leeming <leeming@lyx.org>
3384 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3385 certainly does not do what it purports to do. I am doing it, and
3386 us, a favour by killing it.
3388 2003-07-28 José Matos <jamatos@lyx.org>
3390 * buffer.C (readBody, do_writeFile):
3391 * paragraph.C(readParagraph): \end_document replaces \the_end.
3393 2003-07-29 André Pönitz <poenitz@gmx.net>
3396 * BufferView_pimpl.[Ch]:
3400 * textcursor.[Ch]: remove toggleToggle & Co
3402 2003-07-28 José Matos <jamatos@fep.up.pt>
3404 * buffer.C (readParagraph):
3405 * params_func (readParToken, readParagraph):
3406 * paragraph.C (write): \layout -> \begin_layout.
3408 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * lyxlex_pimpl.C (setFile): clean up slightly.
3412 * bufferparams.h: add compressed var
3414 * buffer_funcs.C (readFile): adjust for LyXLex change
3415 (newFile): ditto + simplify
3417 * buffer.C (writeFile): handle writing of compressed files
3419 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3420 Check if the file is compressed and set a bufferparm if so.
3422 * Makefile.am (lyx_LDADD): remove explicit -lz
3424 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3426 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3427 makeDocBookFile): put the real LyX version in the first line of
3431 * version.C.in: remove lyx_docversion
3433 * tabular.C (write_attribute): add a template-based version to
3434 write enums properly
3436 2003-07-28 André Pönitz <poenitz@gmx.net>
3441 * text3.C: use doubles again for x-coordinates. They are needed.
3443 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * messages.C (getLocaleDir): use lyx_localedir()
3447 * lyxlex_pimpl.C (setFile): compress stuff
3449 * buffer.C (writeFile): add some compression stuff
3450 (do_writeFile): new func, dont call expliti close... will this
3453 * Makefile.am (lyx_LDADD): add -lz
3455 2003-07-28 José Matos <jamatos@fep.up.pt>
3457 * buffer.C: increment file format.
3458 * paragraph_funcs (readParagraph, readParToken):
3459 * paragraph.C (readParagraph): add \end_layout.
3461 2003-07-27 Angus Leeming <leeming@lyx.org>
3463 * Makefile.am: remove special casing for configure-time setting of
3464 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3466 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3467 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3469 2003-07-26 André Pönitz <poenitz@gmx.net>
3471 * paragraph_func.[Ch]:
3472 * paragraph.C (realizeFont): inline it whereever it is used
3477 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3480 2003-07-26 André Pönitz <poenitz@gmx.net>
3484 * text2.C: get rid of LyXText::need_break_row
3486 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3488 * toc.[Ch]: put namespace toc inside namespace lyx
3490 * MenuBackend.C (expandToc2): adjust for lyx::toc
3493 * lyxfunc.C (dispatch): adjust for lyx::find
3495 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3496 lyx::find instead. Reorganize a bit.
3497 (LyXReplace): rename to replace
3498 (LyXFind): rename to find
3500 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3503 2003-07-26 André Pönitz <poenitz@gmx.net>
3505 * text.C (setHeightOfRow): restrict scope of temporary variable
3507 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3508 code (never has been used?)
3510 2003-07-27 Asger Alstrup <alstrup@local>
3512 * text.C (fill): Optimise algorithm to exploit that we can reuse
3513 the LyXFont for many characters.
3514 (setHeightOfRow): Same thing.
3515 (rowBreakPoint): Same thing.
3517 2003-07-26 Asger Alstrup <alstrup@local>
3519 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3521 * text.C (singleWidth): Spurious font copying in hot-spot
3522 singleWidth avoided. Reorder tests for arabic for efficiency.
3524 * text.C (fill): handle empty paragraphs better.
3526 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3529 * encoding.h: add includes
3531 * lyxrc.C: remove reading of bind files
3533 * lyx_main.C (init): setup bindings and menus only if we have a
3536 * kbmap.C (read): new method. Do the actual reading of bind
3539 * converter.C (dvipdfm_options):
3542 (output): adapt PAPER_* enums.
3544 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3546 * bufferparams.h: remove paper-related enums from there
3548 * paper.h: New file. A trivial header file to hold paper-related
3549 enums. It should later expand to contain many paper-related
3552 * lyxrc.C: declare extern displayTranslator
3554 2003-07-27 José Matos <jamatos@fep.up.pt>
3556 * tabular.[Ch] (linuxdoc): add support for tables and figures
3559 2003-07-27 José Matos <jamatos@fep.up.pt>
3561 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3562 consistency in both functions.
3563 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3565 2003-07-26 Asger Alstrup <alstrup@local>
3567 * rowpainter.C (paintRows): Change algorithm to work directly on
3568 the insets rather than asking every character in the document
3569 whether its an inset.
3571 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3573 * buffer.C (openFileWrite): factorize some code
3575 2003-07-26 Angus Leeming <leeming@lyx.org>
3578 * lyx_main.[Ch]: replace occurances of system_tempdir with
3581 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * rename Inset to InsetOld
3585 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3587 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3588 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3589 which I think is a bit clearer. EDIT is gone, since it was
3590 premature optimisation, and broken for mathed anyway.
3591 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3592 with cursor positioning in insets as well (math insets still do not
3593 work, but that's a different story anyway.) It mysteriously
3594 crashes sometimes with undo in the first paragraph, but I'm fairly
3595 confident that this is a compiler bug.
3597 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * paragraph.C (Paragraph): adjust for new clone return type
3601 (copyIntoMinibuffer): ditto
3603 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3605 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3606 by not having a special case, and always doing a full rebreak of
3607 the document after undo.
3609 2003-07-23 Angus Leeming <leeming@lyx.org>
3611 * factory.C (createInset): InsetExternal::setParams now takes a
3614 2003-07-23 Angus Leeming <leeming@lyx.org>
3616 * factory.C (createInset): changed interface to the external and
3617 graphics mailers' string2params functions.
3619 2003-07-23 Angus Leeming <leeming@lyx.org>
3621 * factory.C (createInset): pass a
3622 Buffer const * parameter to InsetExternalMailer's string2params.
3624 2003-07-22 John Levon <levon@movementarian.org>
3626 * Thesaurus.h: include the right aiksaurus header
3628 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3630 * MenuBackend.C (expand): check menu shortcuts unconditionally
3632 2003-07-21 Angus Leeming <leeming@lyx.org>
3634 * factory.C (createInset): pass a
3635 buffer_path parameter to InsetGraphicsMailer's string2params.
3637 2003-07-21 Angus Leeming <leeming@lyx.org>
3639 * BufferView_pimpl.C (buffer):
3642 * lyxfunc.C (dispatch):
3643 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3644 rather than the grfx shortcut.
3646 2003-07-21 André Pönitz <poenitz@gmx.net>
3648 * rowpainter.C: remove unused variables
3651 * tabular_funcs.h: move to tabular.C
3652 * Makefile.am: adjust
3654 * tabular.[Ch]: basic optical cleaning
3656 * author.h: pass references, not values
3658 2003-07-18 André Pönitz <poenitz@gmx.net>
3666 * text3.C: two-phase drawing for InsetText and InsetTabular
3667 some float -> int changes.
3669 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3671 * lyx_main.C: fix the fix
3673 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3675 * lyx_main.C: fix a crash in batch mode if no files specified
3678 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3680 * format.[Ch] (papersize): moved to BufferParams
3681 * converter.[Ch] (dvips_options): moved to BufferParams
3682 (dvipdfm_options): moved to anon namespace
3683 * bufferparams.[Ch]: added above functions.
3685 2003-07-17 André Pönitz <poenitz@gmx.net>
3689 * text2.C: don't call inset->update() anymore
3691 * metricsinfo.[Ch]: add convenience constructor
3693 2003-07-16 André Pönitz <poenitz@gmx.net>
3698 * text2.C: replace the LyXCursor::irow_ member with
3699 on-demand computation of the value
3701 2003-07-16 John Levon <levon@movementarian.org>
3703 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3705 2003-07-15 André Pönitz <poenitz@gmx.net>
3708 * text2.C: remove no more needed refresh_row
3710 2003-07-15 André Pönitz <poenitz@gmx.net>
3715 * text3.C: refresh_status tristate -> need_update bool
3717 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3719 * lyxtext.h (init): remove reinit argument (act as if always true)
3720 * text2.C: adjust to that
3722 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3724 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3725 * text3.C: use it to delete selections in some cases
3726 (bugs 441, 673, 702, 954).
3728 2003-07-14 André Pönitz <poenitz@gmx.net>
3730 * rowpainter.[Ch]: reduce interface
3732 2003-07-14 André Pönitz <poenitz@gmx.net>
3734 * BufferView_pimpl.C:
3735 * text2.C: adjust after removing unused BufferView * argument
3737 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3739 * text2.C (init): fix a crash fired on resize
3741 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3743 * buffer.[Ch]: added new closing signal
3744 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3745 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3746 BufferView::Pimpl via the closing the signal
3748 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3750 * buffer.[Ch]: take out all bv-related from buffer
3752 * BufferView_pimpl.[Ch]: connect to new signals
3753 * CutAndPaste.C: removed useless asserts
3754 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3757 * lyxfunc.C: moved view-related funciontality from vc here
3758 * paragraph.C: removed outdated comments
3761 2003-07-10 André Pönitz <poenitz@gmx.net>
3763 * BufferView_pimpl.C:
3767 * text2.C: remove InsetText::InnerCache, clean up consequences
3769 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3771 * ispell.C: fix two typos in error messages
3773 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3775 * Extend Note inset to other forms of annotation like Comment
3776 and Greyedout. Right button click gives dialog.
3778 Files modified or added (+):
3782 * ControlNote.[Ch] +
3784 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3785 frontends/controllers
3789 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3791 * aspell.C: add missing namespace lyx::support
3793 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3795 * BufferView.[Ch] (newFile): Add
3796 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3797 * LaTeX.[Ch] (message): added this signal and use it
3798 * buffer.[Ch] (busy, message): added these signals and use them
3799 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3803 * importer.C: use buffer signals instead of direct bv calling
3804 * lyx_cb.[Ch] (ShowMessage): removed
3807 * paragraph_funcs.C:
3808 * text2.C: use buffer signals
3810 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * introduce namespace lyx::graphics
3814 2003-07-02 André Pönitz <poenitz@gmx.net>
3816 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3818 2003-07-01 André Pönitz <poenitz@gmx.net>
3825 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3826 text*.C to text_func.C
3828 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * introduce namespace lyx::support
3832 2003-06-30 André Pönitz <poenitz@gmx.net>
3837 * text.C: re-enable --with-included-string
3839 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3841 * textcursor.C: add <config.h>
3843 * text.C (getWord): remove const from word_location arg
3845 * lyxvc.C (getLogFile): fix const type order
3847 * lyxtext.h: remove const from word_location arg, add arg name
3849 * lyxlayout.h: currect type on labeltype.
3851 * importer.C: correct \file
3853 * converter.C (intToFormat): use std:: on ret val, ws changes
3855 * bufferlist.h: correct \file
3857 * buffer.C (makeLinuxDocFile): fix const type order
3858 (makeDocBookFile): ditto
3859 (fillWithBibKeys): use std:: on stdlib args.
3861 * CutAndPaste.C: fix authors.
3862 (availableSelections): use std:: on return vector
3864 2003-06-27 André Pönitz <poenitz@gmx.net>
3866 * BufferView_pimpl.C:
3867 * bufferview_funcs.C:
3875 * text3.C: remove LyXCursor::row_ member
3878 * text.C: rename fullRebreak() to partialRebreak() and implement
3879 a fullRebreak() that really bereks fully
3881 * textcursor.h: new struct for cursor-related data
3883 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3885 * lyx_main.C (LyX): get full path of document loaded on the
3888 2003-06-26 André Pönitz <poenitz@gmx.net>
3890 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3891 remove unused/broken operator>,<,>=.
3893 * text.C: remove only use of broken operator<= in an Assert().
3895 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3897 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3898 moved errorlist_.clear to showErrorList
3900 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3902 * converter.C (scanLog, runLaTeX):
3903 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3904 move the bv->showErrorList call to the callers
3905 * lyxfunc.C: i.e. here...
3907 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3908 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3909 namespace, the second to...
3910 * buffer_funcs (BufferFormat, parseErrors): added
3911 * errorlist.C (ErrorList(TeXErrors const &)): removed
3913 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3915 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3917 2003-06-24 "Garst R. Reese" <reese@isn.net>
3921 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3923 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3925 * version.C.in: change docversion to 1.4
3927 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3929 * buffer.C: fix a bug just introduced
3931 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3933 * buffer.[Ch]: added the parseError signal and use it, removed
3935 * BufferView.[Ch] (addError): moved to ...
3936 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3937 to the Buffer::parseError signal to catch (guess what) parse errors
3938 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3940 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3942 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3943 ability to create a buffer and to return an existing one from
3944 the list. Moved these functions to...
3945 * buffer_funcs.[Ch]: added
3946 * BufferView.[Ch] (loadLyXFile): added
3947 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3948 job removed from bufferlist::loadLyXFile.
3949 * buffer.C (setReadOnly): make it work without view
3950 (i.e added an if (users))
3952 2003-06-19 Angus Leeming <leeming@lyx.org>
3955 * LyXAction.C (init):
3956 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3957 with LFUN_DIALOG_SHOW <name> <data>.
3959 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3961 * CutAndPaste.C (availableSelections): small compilation fix for
3962 ancient (gcc 2.9x) compilers
3964 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3966 * text3.C (cursorNext): add tmp var
3968 * text2.C (updateCounters): for function calling out of for clause
3969 (replaceSelectionWithString): ditto
3970 (insertStringAsParagraphs): ditto
3971 (getColumnNearX): add tmp var
3972 (setCursorFromCoordinates): add tmp var
3973 (cursorDownParagraph): add tmp var
3974 (deleteEmptyParagraphMechanism): add tmp var
3976 * text.C (insertChar): add tmp var
3978 * rowpainter.C (paintDepthBar): add tmp var
3980 * CutAndPaste.C (availableSelections): potentially check all
3981 paragraphs in a cut to fill the shown strings.
3983 2003-06-18 André Pönitz <poenitz@gmx.net>
3985 * kbmap.[Ch]: use vector<> instead of list<>
3987 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3989 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3990 pasteSelection with index
3992 * text2.C (pasteSelection): modify, call pasteSelection with index
3994 * paragraph.C (asString): reimplement version with no interval to
3995 call the one with interval.
3997 * lyxtext.h: add index arg to pasteSelection
3999 * MenuBackend.C (MenuItem): handle PasteRecent
4000 (Menu::read::Menutags): add md_pasterecent
4002 (expandPasteRecent): new function
4005 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4007 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4009 (availableSelections): new function
4011 2003-06-17 Angus Leeming <leeming@lyx.org>
4013 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4015 2003-06-17 Angus Leeming <leeming@lyx.org>
4018 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4020 * lyxfunc.C (dispatch): invoke it.
4022 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4024 * iterators.C (operator++, ParPosition): reintroduce some
4025 const_cast for the benefit of older compilers.
4027 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4029 * text3.C (dispatch): do not modify clipboard when doing
4030 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4031 LFUN_DELETE_SKIP on a selection selection
4033 2003-06-16 André Pönitz <poenitz@gmx.net>
4039 * tabular.[Ch]: IU of clone() and getLabelList();
4041 2003-06-13 André Pönitz <poenitz@gmx.net>
4043 * tabular.h: compactification
4045 2003-06-12 André Pönitz <poenitz@gmx.net>
4049 * tabular_funcs.h: some renaming plus whitespace
4051 2003-06-12 André Pönitz <poenitz@gmx.net>
4054 * BufferView_pimpl.C:
4060 * toc.C: Return a Paragraph & for ParIterator::operator*()
4062 2003-06-11 John Levon <levon@movementarian.org>
4066 * ToolbarBackend.C: add "Toolbars" section and
4069 2003-06-10 Angus Leeming <leeming@lyx.org>
4072 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4074 * lyxfunc.C (dispatch): invoke it.
4076 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4078 * main.C: protect <ios> with HAVE_IOS
4079 (main): protect sync_with_stdio with HAVE_IOS
4081 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4083 * text2.C (cutSelection): adjust
4084 (pasteSelection): adjust
4086 * messages.C: handle get of empty string
4088 * main.C (main): use sync_with_stdio(false)
4090 * lyxfunc.C (dispatch): adjust
4092 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4093 (WriteAs): remove unneeded BufferView arg.
4095 * bufferparams.h: use correct types on papersize, papersize2 and
4098 * bufferparams.C (readToken): adjust for type
4099 (writeLaTeX): add missing cases to switch.
4101 * bufferlist.C (quitWriteBuffer): adjust
4104 * buffer.C (asciiParagraph): remove some commented code.
4106 * CutAndPaste.C: remove current_view extern variable.
4107 (cutSelection): add BufferParams arg.
4108 (eraseSelection): add BufferParams arg.
4109 (pasteSelection): add Buffer const & arg
4111 2003-06-07 John Levon <levon@movementarian.org>
4114 * paragraph_funcs.C:
4115 * paragraph_pimpl.C:
4119 * paragraph.C: allow InsetERT to freely space lines,
4120 and some consolidation of code
4122 2003-06-06 José Matos <jamatos@fep.up.pt>
4124 * buffer.C (makeDocBookFile): fix bug #821
4126 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4128 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4130 2003-06-04 Angus Leeming <leeming@lyx.org>
4132 * buffer.C: bump format to 224.
4134 2003-06-05 André Pönitz <poenitz@gmx.net>
4136 * text2.C (redoParagraphs): remove two const_cast<>
4138 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4140 * ParagraphList.h: remove last remnants of NO_STD_LIST
4142 2003-06-03 Angus Leeming <leeming@lyx.org>
4144 * factory.C (createInset): small change to the way InsetExternal's params
4147 2003-06-04 André Pönitz <poenitz@gmx.net>
4149 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4151 * paragraph_pimpl.h:
4152 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4154 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4156 * undo_funcs.C: make some simple cases of undo work again
4158 2003-06-03 John Levon <levon@movementarian.org>
4160 * ispell.C: HPUX doesn't have sys/select.h
4163 2003-06-03 John Levon <levon@movementarian.org>
4165 * CutAndPaste.C: update tabular and include inset
4170 * paragraph.C: remove owningBuffer(), don't pass Buffer
4173 * factory.C: insetGraphicsParams changed
4175 2003-06-02 John Levon <levon@movementarian.org>
4181 * text3.C: remove insetparent
4183 2003-06-02 John Levon <levon@movementarian.org>
4186 * buffer.C: fix inset_iterator.end(), move out of line
4189 2003-06-01 John Levon <levon@movementarian.org>
4191 * text3.C: use a proper cut/paste when doing inset
4192 insert (from Jürgen Spitzmüller)
4194 2003-06-01 John Levon <levon@movementarian.org>
4196 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4198 2003-05-30 André Pönitz <poenitz@gmx.net>
4200 * rowpainter.C: unify second drawing phase
4202 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4204 * trans_mgr.C: remove one case of current_view
4206 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4208 * paragraph_funcs.h: remove paragraph.h include
4210 * paragraph.h: delete NO_STD_LIST stuff
4212 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4214 * buffer.h: remove paragraph.h include
4216 * ParagraphList.C: delete file
4218 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4220 * toc.C (getTocList): adjust
4222 * paragraph_pimpl.C (validate): adjust
4224 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4226 * paragraph.C (Paragraph): adjust
4227 (getPositionOfInset): use const_iterator, adjust
4228 (bibitem): use const_iterator, adjust
4229 (setInsetOwner): adjust
4231 * iterators.C (operator++): adjust
4233 * InsetList.[Ch]: Replace selfmade iterator with standard
4234 vector::iterator also introduce const_iterator. Remove getPos,
4235 getInset and setInset from InsetTable. Adjust accordingly.
4237 * BufferView.C (lockInset): adjust
4238 (ChangeInsets): adjust
4240 * tabular.[Ch]: delete commented same_id functions
4242 2003-05-28 John Levon <levon@movementarian.org>
4244 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4246 2003-05-28 André Pönitz <poenitz@gmx.net>
4248 * metricsinfo.[Ch]: remove 'fullredraw' member
4250 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4252 * lyxtextclass.C (operator): remove caching.
4254 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * text2.C (cursorBottom): adjust
4259 (setCounter): use ParagraphList::find, adjust
4261 * text.C (workWidth): use ParagraphList::find, adjust
4263 * lyxcursor.C (LyXCursor): adjust
4265 * buffer.C (inset_iterator): adjust
4267 * ParagraphList.h: make iterator(value_type) private, make
4268 ParagraphList a friend of iterator.
4270 * ParagraphList.C (find): new function
4272 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4274 2003-05-27 André Pönitz <poenitz@gmx.net>
4276 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4278 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4280 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4282 2003-05-26 John Levon <levon@movementarian.org>
4284 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4286 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * remove same_id from function signatures, adjust.
4290 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4292 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4294 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4296 * paragraph.C (Paragraph): get rid of same_ids parameter
4298 * ParagraphList.C (insert): adjust
4301 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * paragraph_funcs.C (breakParagraph): adjust
4304 (breakParagraphConservative): adjust
4306 * buffer.C (readParagraph): adjust
4308 * ParagraphList.C (insert): take a reference instead of a pointer
4311 * paragraph.[Ch] (id): new function
4313 * bufferlist.C (newFile): adjust
4315 * ParagraphList.C (ParagraphList): adjust
4317 (push_back): take a reference instead of a pointer.
4319 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4321 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4324 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4325 set else use old code.
4327 * ParagraphList.C: remove all NO_NEXT code and only compile this
4328 code of NO_STD_LIST is set.
4330 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4332 * BufferView_pimpl.C:
4342 * graphics/GraphicsConverter.C:
4343 * graphics/PreviewLoader.C: header adjustment
4345 2003-05-23 Angus Leeming <leeming@lyx.org>
4347 * LaTeXFeatures.[Ch] (useBabel): new method.
4348 * bufferparams.C (writeLaTeX): use it.
4350 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * ParagraphList.h (set): remove unused function.
4354 2003-05-23 André Pönitz <poenitz@gmx.net>
4357 * BufferView_pimpl.C:
4361 * undo_funcs.C: setUndo reworked
4363 * iterators.[Ch]: add access to topmost ParagraphList
4365 * lyxtext.[Ch] (workWidth): add a const
4367 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4369 * texrow.[Ch] (increasePos): remove function
4370 * exporter.C (export): removed unused var and outdated comment
4372 2003-05-23 Angus Leeming <leeming@lyx.org>
4374 * latexrunparams.h: rename fragile as moving_arg.
4375 * paragraph.C (simpleTeXOnePar): ditto.
4376 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4378 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4380 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4382 (textUndoOrRedo): comment out a currently unused var.
4384 * paragraph.h (NO_NEXT): enable NO_NEXT
4386 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4388 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4390 * exporter.C (Export): adjust for removeAutoInsets removal.
4392 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4394 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4396 * BufferView.[Ch] (removeAutoInsets): delete function
4398 2003-05-22 Angus Leeming <leeming@lyx.org>
4400 * latexrunparams.h: add a free_spacing variable.
4402 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4403 to pass moving_arg, as the data is stored in runparams.fragile.
4405 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4406 to Inset::latexOptional or to simpleTeXOnePar.
4408 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4409 free_spacing arg to Inset::latexOptional.
4411 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4414 2003-05-22 Angus Leeming <leeming@lyx.org>
4416 * latexrunparams.h: add fragile and use_babel variables.
4418 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4419 * buffer.C (makeLaTeXFile): store this returned value in
4420 runparams.use_babel, thus passing it to the inset::latex methods.
4422 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4423 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4425 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4426 longer has a fragile arg, as it is stored in runparams.fragile.
4428 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4429 moving_arg parameter as the data is stored in runparams.fragile.
4431 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4432 a fragile parameter as the data is stored in runparams.fragile.
4434 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4438 2003-05-22 Angus Leeming <leeming@lyx.org>
4440 * latexrunparams.h: add a 'bool nice' which defaults to false.
4442 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4443 now encapsulated within runparams.
4445 * bufferlist.C (updateIncludedTeXfiles):
4446 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4448 2003-05-22 Angus Leeming <leeming@lyx.org>
4450 * latexrunparams.h: new file containing struct LatexRunParams.
4451 * Makefile.am: add new file.
4453 * LaTeX.[Ch] (c-tor, run):
4454 * buffer.[Ch] (makeLaTeXFile):
4455 * bufferlist.[Ch] (updateIncludedTeXfiles):
4456 * converter.C (convert, scanLog):
4457 * converter.[Ch] (runLaTeX):
4458 * exporter.C (Export):
4459 * paragraph.[Ch] (simpleTeXOnePar):
4460 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4461 * paragraph_funcs.[Ch] (latexParagraphs):
4462 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4463 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4464 pass around a LatexRunParams parameter.
4466 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * paragraph.[Ch]: remove unused constructor
4470 * ParagraphList.C (erase): new function, taking two iterators
4472 2003-05-22 André Pönitz <poenitz@gmx.net>
4474 * undo_funcs.C: remove duplicated code
4476 * iterator.[Ch]: operator=
4478 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4480 * tabular.C (SetMultiColumn): ws changes
4482 * rowpainter.C (paintFirst): get rid of a ->previous
4484 * lyx_cb.C (getPossibleLabel): parlist simplification
4486 * BufferView.C (ChangeInsets): simplify slightly.
4488 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4490 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4491 * lfuns.h: new LFUN_SPACE
4492 * lyxfunc.C: protected space has a new lfun
4493 * paragraph_funcs.C: read new space insets
4495 * factory.C: handle new space insets
4497 2003-05-22 André Pönitz <poenitz@gmx.net>
4500 * BufferView_pimpl.C:
4503 * undo_funcs.C: return a ParIterator from getParFromID.
4505 * iterators.[Ch]: add two const's
4507 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4509 * toc.C (getTocList): adjust
4511 * iterators.[Ch]: rework for parlist
4513 * buffer.C (par_iterator_begin): adjust
4514 (par_iterator_end): adjust
4516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4518 * BufferView.C (removeAutoInsets): adjust
4519 (ChangeInsets): adjust
4521 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4523 * text.C (top_y): fix bug 1110
4525 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4527 * errorlist.[Ch]: added
4530 * BufferView_pimpl.C:
4531 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4534 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * Makefile.am: ensure that lyx is relinked upon changes to the
4537 various "convenience" libs.
4539 2003-05-20 Angus Leeming <leeming@lyx.org>
4541 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4542 files are compiled in alphabetical order again.
4544 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4546 2003-05-19 Angus Leeming <leeming@lyx.org>
4548 * gettext.[Ch]: remove "char const * _(char const *)".
4550 2003-05-19 André Pönitz <poenitz@gmx.net>
4552 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4561 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4563 2003-05-19 André Pönitz <poenitz@gmx.net>
4567 * lyxtextclass.[Ch]:
4569 * paragraph_funcs.[Ch]:
4571 * text3.C: more insetenv work
4573 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4575 * ParagraphParameters.C (params2string): small bug fixed
4577 2003-05-16 André Pönitz <poenitz@gmx.net>
4580 * bufferview_funcs.C: patch from Kornel Benko to prevent
4581 crash when _(...) is called twice in a statement
4583 2003-05-16 André Pönitz <poenitz@gmx.net>
4590 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4592 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4594 * lyx_main.C (init): remove spurious static_cast
4596 2003-05-14 André Pönitz <poenitz@gmx.net>
4598 * BufferView.C: fix format string
4600 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4602 * BufferView.[Ch] (insertErrors): removed
4603 * BufferView.[Ch] (showErrorList): added
4604 * buffer.C (runChkTeX):
4605 * converter.C (scanLog): call showErrorList instead of inserterrors
4607 2003-05-13 André Pönitz <poenitz@gmx.net>
4609 * BufferView_pimpl.C:
4611 * bufferview_func.C:
4618 * tabular_funcs.h: tostr() from its own header
4620 * ParagraphParameters.C:
4625 * text3.C: STRCONV()
4627 2003-05-12 André Pönitz <poenitz@gmx.net>
4630 * BufferView_pimpl.C:
4634 * ParagraphParameters.C:
4638 * bufferview_funcs.C:
4651 * paragraph_funcs.C:
4655 * text3.C: boost::format -> bformat all over the place
4658 2003-05-09 André Pönitz <poenitz@gmx.net>
4660 * LColor.[Ch]: Pimpl the #include <map> away
4662 2003-05-09 John Levon <levon@movementarian.org>
4664 * bufferlist.C: never remove emergency saves
4666 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4668 * Makefile.am: better lib building
4670 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4672 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4674 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4675 (simpleTeXSpecialChars): adjust
4676 (simpleTeXSpecialChars): adjust
4677 * paragraph.C (simpleTeXOnePar): adjust
4678 * buffer.C (makeLaTeXFile): adjust
4680 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4682 * text2.C (changeDepth): parlist cleanup
4683 (getColumnNearX): ditto
4685 * rowpainter.C (getLabelFont): parlist cleanup
4687 * bufferlist.C (newFile): parlist cleanup
4689 * CutAndPaste.C (eraseSelection): parlist cleanup
4691 * BufferView_pimpl.C (trackChanges): parlist cleanup
4694 * BufferView.C (lockInset): parlist cleanup.
4695 (ChangeInsets): ditto
4697 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * CutAndPaste.h: Update file header.
4701 * CutAndPaste.C: Update file header.
4702 Store the parts cut out of the Document in a limited_stack.
4703 (copySelection): adjust
4704 (pasteSelection): new function, takes the index in the limited stack.
4705 (nrOfParagraphs): adjust
4706 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4707 simplify error inset insertion.
4708 (checkPastePossible): adjust
4710 2003-05-06 John Levon <levon@movementarian.org>
4712 * text2.C: don't cast wrap inset to float
4714 2003-05-05 André Pönitz <poenitz@gmx.net>
4717 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4719 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4720 few naked Paragraph *.
4722 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4724 * bufferparams.C: Output warning if a document with missing
4725 TeX document class is loaded
4726 * exporter.C: Disable TeX exports if the document class is missing
4729 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4730 isTeXClassAvailable()
4732 2003-05-03 John Levon <levon@movementarian.org>
4735 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4736 explicit cursor show/hide
4738 * BufferView_pimpl.h:
4739 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4740 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4742 * lyxfunc.C: hide cursor before dispatching.
4747 * text3.C: remove explicit cursor hides
4749 2003-05-02 André Pönitz <poenitz@gmx.net>
4751 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4754 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4757 * text2.C: tiny whitespace
4759 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * undo_funcs.C: almost only ws changes.
4763 * ParagraphList.C (splice): just return if pl is empty.
4765 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4767 * ParagraphList.C (splice): new function.
4769 * CutAndPaste.C (pasteSelection): use it
4771 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4773 * CutAndPaste.C (pasteSelection): remove the last next and
4774 previous from this file.
4776 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * CutAndPaste.C (pasteSelection): more clean up, user proper
4779 ParagraphList functions for pasteing.
4781 * ParagraphList.C (insert): new function, three arg insert
4783 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * ParagraphList.C (insert): new function, three arg insert
4787 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4794 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4798 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4801 (copySelection): clean up a bit.
4802 (pasteSelection): use make_pair
4804 * ParagraphList.C (ParagraphList): implement copy constructor
4805 (operator=): implement, base on copy constructor.
4808 * paragraph.C (erase): return a bool
4810 * paragraph_pimpl.C (erasePos): remove function, move contents...
4811 (erase): ... here. Return a bool.
4812 (erase): call erase instead of erasePos.
4814 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4816 * ParagraphList.h: define PitPosPair
4817 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4818 ParagraphList, fix a bug on pasting multiple pars
4819 * text2.C: change interface to C&P
4821 2003-04-30 André Pönitz <poenitz@gmx.net>
4823 * undo_func.C: revert part of yesterday's patch 2
4825 2003-04-30 John Levon <levon@movementarian.org>
4827 * LColor.C: s/tabular/table/
4829 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4831 * text3.C (dispatch): do not convert iterator -> pointer
4832 * undo_funcs.C (setCursorParUndo): ditto
4833 * text_funcs.C (transposeChars): ditto
4835 * text2.C (setLayout): ws changes only
4837 * text.C (breakParagraph): do not convert iterator -> pointer
4839 (acceptChange): ditto
4840 (rejectChange): ditto
4845 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4848 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4850 * text3.C (gotoInset): YABG (yet another bad getChar)
4852 2003-04-29 André Pönitz <poenitz@gmx.net>
4854 * paragraph.h: make operator= private unimplemented as long as
4857 * ParagraphList.C: whitespace
4860 * paragraph_pimpl.[Ch]:
4861 * paragraph_funcs.C:
4863 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4866 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4868 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4870 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4871 * paragraph.[Ch] (erase):
4872 * paragraph_pimpl.[Ch] (erase): change return type and value
4873 * text2.C (cutSelection): some rework
4875 2003-04-28 John Levon <levon@movementarian.org>
4877 * bufferlist.C: changes for unsaved changes dialog
4879 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4881 * bufferlist.C (newFile): set language (messages_) for new
4884 * buffer.C (readFile): ws changes only.
4886 2003-04-28 André Pönitz <poenitz@gmx.net>
4891 * BufferView_pimpl.C:
4892 * BufferView.C: getParFromID related ParagraphList::iterator changes
4894 2003-04-28 André Pönitz <poenitz@gmx.net>
4896 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4899 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * messages.C: remove one more localedir class variable.
4903 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * messages.C (getLocaleDir): singleton generation function
4907 (Messages): add a default constructor.
4909 * main.C (main): do not setup localedir here, do not call
4912 * gettext.C (_): use it.
4913 (gettext_init): delete funciton
4915 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * gettext.C (getLyXMessages): new singleton generating function.
4919 * buffer.C (updateDocLang): adjust
4921 * Makefile.am (messages.o): add target
4922 (main.o): remove target
4924 2003-04-27 John Levon <levon@movementarian.org>
4929 * lyxvc.C: specify cancel button in Alert::prompt
4931 2003-04-26 John Levon <levon@movementarian.org>
4936 * LyXAction.C: add LFUN_INSET_SETTINGS
4938 * lyxfunc.C: don't enable tabular-feature when there's
4939 just any locking inset
4941 2003-04-26 John Levon <levon@movementarian.org>
4943 * bufferlist.C: re-add Cancel to buffer close question
4945 * lyxfunc.C: fix import UI a bit
4947 2003-04-25 John Levon <levon@movementarian.org>
4949 * gettext.C: remove the broken asserts for now
4951 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * messages.C: make case where setlocale cannot comply work better.
4955 * buffer.C (updateDocLang): new function
4956 (changeLanguage): use it
4959 * text2.C (setCounter): use B_ a bit.
4961 * lyxlayout.C (Read): be sure to trim the label strings.
4963 * messages.C (Messages): fix typo in comment
4965 * buffer.C (readFile): set message_ after file is loaded.
4966 (makeDocBookFile): remove double return
4967 (changeLanguage): reset message_ upon language change.
4968 (B_): new func, use this to get translated buffer strings.
4970 * main.C: add myself and Jean Marc as authors.
4972 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4974 * messages.[hC]: pimplify Messages, and three different pimpls to be
4975 used in different circumstances.
4977 * gettext.[Ch]: change for use with new message code.
4979 2003-04-24 André Pönitz <poenitz@gmx.net>
4981 * factory.C: support for eqref
4983 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * messages.[Ch]: add missing char
4987 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4989 * messages.[Ch]: New files
4991 2003-04-18 John Levon <levon@movementarian.org>
4995 * BufferView_pimpl.C:
4999 * text2.C: remove layout-copy/paste (bug 778)
5001 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5003 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5005 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5007 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5008 if they succeed. Act accordingly.
5010 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * text2.C (setCharFont): adjust
5013 (setCounter): adjust
5014 (insertStringAsLines): adjust
5016 * text.C (leftMargin): adjust
5017 (setHeightOfRow): adjust
5019 * rowpainter.C (paintFirst): adjust
5022 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5024 (isFirstInSequence): ditto
5025 (getEndLabel): ditto
5028 * paragraph.C (getParLanguage): comment out some hard stuff.
5030 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5032 (simpleDocBookOnePar): ditto
5033 (makeDocBookFile): use ParagraphList::iterator
5035 * CutAndPaste.C (pasteSelection): adjust
5037 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * text2.C (getFont): adjust
5040 (getLayoutFont): adjust
5041 (getLabelFont): adjust
5043 * paragraph_funcs.C (TeXOnePar): adjust
5045 * buffer.C (simpleLinuxDocOnePar): adjust
5046 (simpleDocBookOnePar): adjust
5048 * CutAndPaste.C (pasteSelection): adjust
5050 * BufferView.C (getEncoding): adjust
5052 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5054 2003-04-16 John Levon <levon@movementarian.org>
5056 * lyxfind.C: use parlist stuff for search/changes
5058 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5060 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5062 * text2.C (deleteEmptyParagraphMechanism): adjust
5064 * text2.[Ch] (ownerParagraph): delete func (both of them
5066 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5068 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5070 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5072 * ParagraphList.C: prepare for NO_NEXT
5074 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5076 * text2.C (getFont): adjust
5077 (getLayoutFont): adjust
5078 (getLabelFont): adjust
5080 * paragraph.C (getFont): adjust
5081 (getLabelFont): adjust
5082 (getLayoutFont): adjust
5084 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5086 2003-04-15 John Levon <levon@movementarian.org>
5090 * lyx_main.C: handle Include in .ui files
5092 2003-04-15 John Levon <levon@movementarian.org>
5094 * MenuBackend.C: make the doc files length shorter
5097 * ToolbarBackend.C: handle toolbar placement flags,
5100 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5102 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5105 * paragraph_funcs.C (TeXOnePar): adjust
5107 * paragraph.C (getLabelFont): add outerfont arg, adjust
5108 (getLayoutFont): ditto
5109 (simpleTeXOnePar): adjust
5111 * paragraph_pimpl.C (realizeFont): delete func
5113 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5115 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5116 row argument, constify cur argument.
5118 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5120 * text2.C (getFont): adjust
5121 (getLayoutFont): adjust
5122 (getLabelFont): adjust
5124 * paragraph_funcs.C (TeXOnePar): adjust
5125 (outerFont): new func...
5126 (realizeFont): ...moved out from here, changed this to facilitate
5129 * paragraph.C (getFont): take outerfont as arg, adjust
5130 (simpleTeXOnePar): add outerfont arg, adjust
5132 * buffer.C (simpleLinuxDocOnePar): adjust
5133 (simpleDocBookOnePar): adjust
5135 * CutAndPaste.C (pasteSelection): adjust
5137 * BufferView.C (getEncoding): adjust
5139 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * text2.C (setCharFont): adjust
5142 (setCounter): adjust
5144 * text.C (leftMargin): adjust
5145 (setHeightOfRow): adjust
5147 * rowpainter.C (paintFirst): adjust
5150 * paragraph_pimpl.C (realizeFont): adjust
5152 * paragraph.C (isFirstInSequence): move from here...
5153 * paragraph_funcs.C (isFirstInSequence): ...to here
5155 * paragraph.C (outerHook): move from here...
5156 * paragraph_funcs.C (outerHook): ...to here
5158 * paragraph.C (depthHook): move from here...
5159 * paragraph_funcs.C (depthHook): ...to here
5161 * paragraph.C (getEndLabel): move from here...
5162 * paragraph_funcs.C (getEndLabel): ...to here
5164 * text2.C (realizeFont): move from here...
5165 * paragraph_funcs.C (realizeFont): ...to here
5167 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5171 2003-04-14 Angus Leeming <leeming@lyx.org>
5173 * LColor.[Ch]: scrap LColor mathcursor.
5175 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5177 * lyxlex.[Ch] (text): delete function
5178 * trans.C (Load): adjust
5179 * paragraph_funcs.C (readParToken): adjust
5181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5184 vector<char> instead of a char[].
5186 * lyxlex_pimpl.C (getString): adjust
5188 (lex): use getString
5192 * lyxlex.C (text): use pimpl_->getString()
5196 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5198 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5199 (makeFontEntriesLayoutSpecific): temp var for par.size()
5200 (setLayout): temp var for ownerParagraphs().end()
5201 (fullRebreak): temp var for rows().end()
5202 (selectionAsString): temp var for boost::next(startpit), realize
5203 that the while really is a regular for loop.
5204 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5205 setCursor in one place.
5206 (setParagraph): temp vr for ownerParagraphs().end()
5207 (updateCounters): make the while loop a for loop
5208 (cutSelection): temp var for ownerParagraphs().end()
5209 (updateInset): make the do {} while() a regular for loop
5210 (getCursorX): use temp vars
5211 (setCurrentFont): use temp vars
5212 (getColumnNearX): use temp vars
5214 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5216 * text.C (transformChar): use temp var for getChar
5217 (computeBidiTables): use temp var for row->par()
5218 (fill): move temp vars for row->par() and pit->layout() earlier in
5220 (labelFill): use temp var for row->par()
5221 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5222 asc and desc, realize that pit never changes and that firstpit is
5223 just a duplicate and not needed. Exchange rit->par() with pit in a
5225 (breakAgain): use a temp var for boost::next(rit)
5226 (breakAgainOneRow): ditto
5227 (breakParagraph): use a temp var for rows().begin()
5228 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5229 (cursorRightOneWord): use temp var for cursor.par() and
5230 cursor.pos(), remove usage of tmpcursor.
5231 (cursorLeftOneWord): use temp var for cursor.par() and
5232 cursor.pos() only set cur at end of function.
5234 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5236 * text.C, text2.C: exchange all usage of Paragraph::next with
5237 boost::next(ParagraphList::iterator)
5239 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5241 * text2.C (cursorTop): simplify implementation
5242 (cursorBottom): ditto
5243 (setParagraph): use ParagraphList::iterator
5244 (setCurrentFont): adjust
5245 (getColumnNearX): adjust
5246 (cursorRight): adjust
5247 (cursorLeft): remove usage of Paragraph::previous
5248 (cursorUpParagraph): ditto
5249 (deleteEmptyParagraphMechanism): slight cleanup
5251 * text.C (isBoundary): take a Paragraph const & instead of a
5253 (addressBreakPoint): ditto
5254 (leftMargin): remove usage of Paragraph::previous.
5255 (setHeightOfRow): ditto
5256 (cursorLeftOneWord): ditto
5257 (selectNextWordToSpellcheck): ditto
5260 (breakParagraph): remove one usage of Paragraph::next
5261 (redoParagraph): ditto
5262 (acceptChange): ditto
5263 (insertChar): adjust
5264 (rowBreakPoint): adjust
5266 * bufferview_funcs.C (toggleAndShow): adjust
5268 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5270 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5271 methods to access it.
5273 * text.C: Added updateRowPositions to compute all row positions.
5274 Make top_y and getRowNearY() to use the cached y position
5276 2003-04-11 John Levon <levon@movementarian.org>
5278 * text.C (rowBreakPoint): reintroduce the labelEnd
5279 checks, code copied from the row fill stuff. Deep voodoo.
5281 * text.C (fill): add a comment and debugging for the
5284 2003-04-11 John Levon <levon@movementarian.org>
5286 * text.C: make sure fullrow insets get wrapped to the next line,
5287 even when they're in a manual label
5289 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5291 * text2.C (insertParagraph): make it take ParagraphList::iterator
5293 (setLayout): make it return ParagraphList::iterator
5294 (redoParagraphs): ditto
5296 (checkParagraph): ditto
5298 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5300 * text2.C: adjust several funcs.
5301 (realizeFont): take a ParagraphList::iterator as arg.
5302 (getLayoutFont): ditto
5303 (getLabelFont): ditto
5304 (setCharFont): ditto
5306 * text.C: adjust several funcs.
5308 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5310 * text.C (selectNextWordToSpellcheck): don't accidentally
5313 2003-04-10 John Levon <levon@movementarian.org>
5315 * ToolbarBackend.C (getIcon): special handling for
5318 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5320 * text2.C (cursorRight): a getChar assert fixed
5322 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5324 * text2.C (getFont): change to take a ParagraphList::iterator
5325 instead of Paragraph*
5326 Adjust several functions.
5328 * text.C (transformChar): change to take a ParagraphList::iterator
5329 instead of Paragraph*
5330 (singleWidth): ditto
5331 Adjust several functions.
5333 * rowpainter.C: adjust several functions
5334 * rowpainter.h:store a ParagraphList::iterator and not a
5338 2003-04-09 John Levon <levon@movementarian.org>
5343 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5344 and the "help" bits as well
5346 2003-04-09 John Levon <levon@movementarian.org>
5349 * ToolbarBackend.C: allow multiple toolbars
5351 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5353 * undo_funcs.C (setCursorParUndo): adjust
5355 * text_funcs.C (transposeChars): adjust
5357 * text3.C (gotoNextInset): adjust
5360 * text2.C (setLayout): adjust
5361 (changeDepth): adjust
5363 (redoParagraphs): adjust
5364 (selectionAsString): adjust
5365 (setParagraph): adjust
5366 (insertInset): adjust
5367 (cutSelection): adjust
5368 (copySelection): adjust
5369 (pasteSelection): adjust
5370 (insertStringAsLines): adjust
5371 (updateInset): adjust
5372 (setCursor): change to take a ParagraphList::iterator parameter
5373 (setCursorIntern): change to take a ParagraphList::iterator parameter
5374 (setCurrentFont): adjust
5375 (cursorLeft): adjust
5376 (cursorRight): adjust
5377 (deleteEmptyParagraphMechanism): adjust
5379 * text.C (breakParagraph): adjust
5380 (insertChar): adjust
5381 (acceptChange): adjust
5382 (rejectChange): adjust
5383 (selectNextWordToSpellcheck): adjust
5384 (changeCase): adjust
5388 * lyxfind.C (SearchForward): adjust
5389 (SearchBackward): adjust
5390 (nextChange): adjust
5392 * lyxcursor.C (par): adjust
5394 * lyxcursor.h: store a ParagraphList::iterator instead of a
5397 * lyx_cb.C (getPossibleLabel): adjust
5399 * bufferview_funcs.C (toggleAndShow): adjust
5401 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5404 * BufferView.C (removeAutoInsets): adjust
5405 (lockedInsetStoreUndo): adjust
5407 2003-04-09 John Levon <levon@movementarian.org>
5409 * ToolbarBackend.C: try icon without argument
5410 if with argument fails
5412 2003-04-08 John Levon <levon@movementarian.org>
5415 * ToolbarBackend.C: add getIcon(), handle tooltip,
5416 and change from "Icon" to "Item".
5418 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5420 * BufferView.C (lockInset): another bad getchar crunched
5422 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5424 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5427 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5429 * lyxfind.C (searchForward, searchBackwards): bug 782
5431 2003-04-07 John Levon <levon@movementarian.org>
5433 * paragraph.C: remove dead comment
5435 * text.C: remove troublesome depth-fiddling code
5436 in leftMargin() and rightMargin() (bug 1017)
5438 * text.C: fix breaking of rows in nested lists
5441 * text2.C (updateCounters): fix up depth values
5444 2003-04-07 John Levon <levon@movementarian.org>
5446 * BufferView_pimpl.C: clear message when doc finishes resizing,
5447 and after a mouse event
5449 * lyxfunc.C: clear message after exiting inset
5451 2003-04-07 John Levon <levon@movementarian.org>
5453 * bufferview_funcs.C: show math status not outside
5454 status in the statusbar
5456 2003-04-07 John Levon <levon@movementarian.org>
5458 * lyxfunc.C: note status changed after a depth change
5460 2003-04-04 Angus Leeming <leeming@lyx.org>
5462 * LaTeX.h: move AuxInfo operator==, != out of line.
5463 Remove LaTeX virtual destructor; nothing derives from it.
5464 Move operator()() out of public area and rename it startscript().
5465 Change protected for private.
5467 2003-04-04 Angus Leeming <leeming@lyx.org>
5470 * text2.C: remove unneeded #includes.
5472 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5474 * text2.C (dEPM): fix the heigth of the next row
5476 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5478 * text.C: squashed an invalid getChar requester + some ws changes
5480 2003-04-03 John Levon <levon@movementarian.org>
5482 * bufferview_funcs.h:
5483 * bufferview_funcs.C:
5486 * text2.C: make getStatus work for the env depth lfuns
5488 2003-04-03 John Levon <levon@movementarian.org>
5490 * bufferview_funcs.h:
5491 * bufferview_funcs.C:
5494 * text2.C: parlistize decDepth(), by merging it with incDepth()
5496 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * lyxrow.h: store a ParagraphList::iterator instead of a
5499 Paragraph* and adjust other class functions to suit.
5501 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5504 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5506 * text2.C (setCursor): do not anchor to cursor row for the time being
5508 2003-04-02 John Levon <levon@movementarian.org>
5515 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5517 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * paragraph.h: make ParagraphList and ParagraphList::iterator
5520 friends of Paragraph.
5522 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5524 * ParagraphList.C: Use the private next_ and previous_ from
5527 2003-04-01 John Levon <levon@movementarian.org>
5531 * Makefile.am: rename, remove defaults gunk
5534 * MenuBackend.C: remove defaults gunk
5537 * Languages.C: remove defaults gunk
5540 * lyx_main.C: error out if files couldn't be found.
5542 2003-04-02 John Levon <levon@movementarian.org>
5544 * text2.C: make incDepth() use parlist
5546 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * undo_funcs.C (firstUndoParagraph): adjust
5550 * text3.C (gotoInset): adjust
5551 (dispatch): adjust, and rewrite loop.
5553 * text2.C (init): adjust, and rewrite loop.
5554 (redoParagraphs): adjust
5555 (updateInset): adjust, and rewrite loop.
5556 (deleteEmptyParagraphMechanism): adjust
5558 * tabular.C (LyXTabular): adjust
5559 (SetMultiColumn): adjust
5562 * lyxtext.[Ch] (ownerParagraph): delete function
5563 (ownerParagraphs): new function returns a ParagraphList.
5565 * BufferView.C (removeAutoInsets): adjust
5566 (insertErrors): adjust
5567 (setCursorFromRow): adjust
5569 2003-04-01 Angus Leeming <leeming@lyx.org>
5571 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5574 2003-04-02 John Levon <levon@movementarian.org>
5580 * text_funcs.C: make transposeChars a free function
5582 * lyxrow_funcs.C: remove wrong comment
5584 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5587 * rowpainter.C: adjust
5592 * lyxrow_funcs. [Ch]: new files
5594 * lyxrow.[Ch]: remove next and previous pointers
5595 (next,previous): remove accessor functions
5596 (isParEnd): move to lyxrow_funcs
5597 (lastPos): move to lyxrow_funcs
5598 (nextRowIsAllInset): move to lyxrow_funcs
5599 (lastPrintablePos): move to lyxrow_funcs
5600 (numberOfSeparators): move to lyxrow_funcs
5601 (numberOfHfills): move to lyxrow_funcs
5602 (numberOfLabelHfills): move to lyxrow_funcs
5603 (hfillExpansion): move to lyxrow_funcs
5607 * bufferview_funcs.C (toggleAndShow): adjust
5609 * RowList.h: Remove class RowList from file leave just a
5612 * RowList.C: delete file
5614 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5617 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5619 * text3.C (cursorPrevious): adjust
5620 (cursorNext): adjust
5623 * text2.C (redoHeightOfParagraph): adjust
5624 (redoDrawingOfParagraph): adjust
5627 * text.C (breakParagraph): adjust
5628 (insertChar): adjust
5631 * rowpainter.C (RowPainter): adjust
5632 (leftMargin): simplify and adjust
5633 (most rowpainter functions): adjust.
5635 * rowpainter.h: store the row as RowList::iterator not as Row*
5637 * lyxcursor.C (row): taka RowList::iterator as arg
5640 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5643 2003-04-01 Angus Leeming <leeming@lyx.org>
5645 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5646 stuff like bool Bool.
5648 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5650 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5653 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5658 * lyxtext.h (rows): drop one version and leve a const variant that
5659 returns a RowList::iterator.
5661 2003-03-31 Angus Leeming <leeming@lyx.org>
5663 * text.C (fill): ensure that the signature is the same as that in the
5666 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5668 * text2.C (redoParagraphs): adjust
5669 (updateCounters): adjust
5670 (checkParagraph): adjust
5671 (getColumnNearX): adjust and reformat a bit.
5673 * text.C (top_y): adjust
5675 (leftMargin): adjust
5676 (prepareToPrint): adjust
5678 (getRowNearY): adjust
5680 * lyxtext.h: make rowlist_ mutable.
5682 * RowList.h: add const_iterator
5683 * RowList.C: adjust for RowList::const_iterator.
5685 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5688 2003-03-31 John Levon <levon@movementarian.org>
5691 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5693 * lyx_main.C: set default fonts from using lyx_gui funcs
5695 * exporter.C: pdf_mode moved from lyxrc
5698 * lyxfunc.C: changes from above
5700 2003-03-31 John Levon <levon@movementarian.org>
5702 * lyx_main.C: fix to the last fix
5704 2003-03-31 John Levon <levon@movementarian.org>
5706 * bufferlist.C: "Load original" -> "Load Original"
5712 * format.C: more Alert cleanups
5714 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * text2.C (removeParagraph): make it take a RowList::iterator as
5718 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5719 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5721 * text.C (anchor_row): make it take a RowList::iterator as arg,
5723 (computeBidiTables): make it take a const reference to Row instead
5724 of Row pointer, adjust.
5725 (leftMargin): make it take a RowList::iterator as arg, adjust.
5726 (rowBreakPoint): adjust
5727 (breakAgainOneRow): make it take a RowList::iterator as arg,
5729 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5731 * bufferview_funcs.C (toggleAndShow): adjust
5733 2003-03-30 John Levon <levon@movementarian.org>
5737 * boost-inst.C: moved to support
5739 * several files: changes as a result
5741 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * text2.C (LyXText): adjust.
5745 (removeRow): make it take a RowList::iterator as arg, adjust.
5746 (fullRebreak): adjust
5747 (deleteEmptyParagraphMechanism): adjust
5748 (clearPaint): adjust
5751 * text.C (top_y): adjust
5752 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5753 (breakAgain): make it take a RowList::iterator as arg, adjust.
5754 (breakParagraph): adjust
5755 (insertChar): adjust
5758 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5759 need_break_row, and refresh_row.
5761 * text3.C (dispatch): adjust
5763 * text2.C (checkParagraph): adjust
5765 (setCursorFromCoordinates): adjust
5767 * text.C (top_y): adjust
5769 (getRow): make it return a RowList::iterator, adjust
5770 (getRowNearY): make it return a RowList::iterator, adjust
5772 * text2.C (init): adjust
5773 (insertRow): remove function
5774 (insertParagraph): adjust
5775 (redoParagraphs): adjust
5776 (fullRebreak): adjust
5777 (updateCounters): adjust
5779 * text.C (top_y): rewrite to use RowList iterators.
5781 (setHeightOfRow): rewrite to sue RowList iterators.
5782 (appendParagraph): adjust
5783 (breakAgain): adjust
5784 (breakAgainOneRow): adjust
5785 (breakParagraph): adjust
5787 (getRowNearY): adjust, and remove commented code.
5789 * lyxtext.h (firstRow): delete function
5790 (lastRow): delete function
5791 (rows): new function (const and non-const versions.)
5792 (insertRow): delete function
5794 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5796 2003-03-29 John Levon <levon@movementarian.org>
5798 * BufferView_pimpl.C: always update scrollbar top
5799 because pasting text when we're anchored could mean we
5800 miss an update altogether
5802 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5804 * text2.C (init): use rowlist_.end() and not 0.
5805 (insertRow): change to take a RowList::iterator as arg, adjust
5807 (insertParagraph): change to take a RowList::iterator as arg,
5809 (redoParagraphs): remove some debug msgs.
5811 * text.C (appendParagraph): change to take a RowList::iterator
5812 arg, adjust for this.
5813 (breakAgain): add an assert
5814 (breakAgainOneRow): ditto
5816 2003-03-29 John Levon <levon@movementarian.org>
5818 * text2.C: do not clear selection after inc/decDepth
5821 2003-03-29 John Levon <levon@movementarian.org>
5824 * buffer.C: fix broken strerrors according to Lars
5826 2003-03-29 John Levon <levon@movementarian.org>
5828 * converters.C: more Alert cleanups
5830 2003-03-29 John Levon <levon@movementarian.org>
5832 * bufferview_funcs.C: remove pointless Alert
5834 * buffer.C: fix confusing error message when
5835 a template is chmoded 000
5837 2003-03-29 John Levon <levon@movementarian.org>
5841 * BufferView_pimpl.C: Alert fixes
5845 * tabular-old.C: remove unused table compat reading
5847 2003-03-29 John Levon <levon@movementarian.org>
5852 * lyx_cb.C: more Alert cleanups
5854 * lyxfunc.C: don't allow chktex if not latex document
5856 2003-03-29 John Levon <levon@movementarian.org>
5860 * buffer.C: warnings pushed down from support/,
5863 2003-03-29 John Levon <levon@movementarian.org>
5865 * lyxfunc.C: safety check for C-r (revert)
5867 2003-03-29 John Levon <levon@movementarian.org>
5870 * bufferlist.C: several UI fixes using Alert::prompt.
5871 Fix the pointless looping quit code. Fix stupid revert
5876 * lyx_cb.C: use Alert::prompt
5878 * lyx_main.C: remove a silly question
5880 * lyxfunc.C: remove a couple of silly questions,
5883 2003-03-28 John Levon <levon@movementarian.org>
5885 * text2.C: fix bug 974 (End on empty par)
5887 2003-03-28 John Levon <levon@movementarian.org>
5889 * BufferView_pimpl.C:
5891 * lfuns.h: remove do-nothing math greek lfuns
5893 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5895 * lyxgluelength.h (isValidGlueLength): add default arg on
5896 parameter 2. Remove default arg from friend in class.
5898 * lyxlength.h (isValidLength): add default arg on parameter 2.
5899 Remove default arg from friend in class.
5901 * text2.C (LyXText): adjust, initialize refresh_row.
5905 (insertParagraph): adjst
5906 (redoParagraphs): adjust
5907 (fullRebreak): adjust
5908 (updateCounters): adjust
5909 (deleteEmptyParagraphMechanism): first attempt at fixing a
5912 * text.C (top_y): adjust
5913 (setHeightOfRow): adjust
5915 (getRowNearY): adjust
5917 * lyxtext.h: include RowList.h
5918 (~LyXText): not needed anymore, deleted.
5919 (firstRow): modify for RowList
5920 (lastRow): new function
5921 Delete firstrow and lastrow class variables, add a Rowlist
5922 rowlist_ class variable.
5924 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5927 * RowList.C (insert): fix case where it == begin().
5929 2003-03-26 Angus Leeming <leeming@lyx.org>
5931 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5932 the thesaurus dialog.
5934 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5936 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5938 * RowList.[Ch]: new files
5940 * ParagraphList.C (erase): handle the case where it == begin
5943 2003-03-25 John Levon <levon@movementarian.org>
5947 * aspell.C: add new aspell support
5950 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5953 2003-03-25 Angus Leeming <leeming@lyx.org>
5956 * LyXAction.C (init): new LFUN_INSET_INSERT.
5958 * BufferView_pimpl.C (dispatch): split out part of the
5959 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5961 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5964 2003-03-25 Angus Leeming <leeming@lyx.org>
5966 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5968 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5971 * text3.C: remove useless row->height(0)
5973 2003-03-25 John Levon <levon@movementarian.org>
5977 * text3.C: rename the refreshing stuff to better names
5979 2003-03-24 John Levon <levon@movementarian.org>
5981 * BufferView_pimpl.h:
5982 * BufferView_pimpl.C: update layout choice on a mouse
5985 2003-03-23 John Levon <levon@movementarian.org>
5987 * Makefile.am: fix commandtags.h reference
5989 2003-03-22 John Levon <levon@movementarian.org>
5991 * BufferView_pimpl.C:
5996 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5998 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6001 * text.C: take the rtl methods out of line
6003 2003-03-21 André Pönitz <poenitz@gmx.net>
6005 * metricsinfo.[Ch]: new files containing structures to be passed around
6006 during the two-phase-drawing...
6008 2003-03-21 André Pönitz <poenitz@gmx.net>
6010 * lyxtextclass.C: read 'environment' tag.
6012 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6014 * text2.C (removeRow): fix bug 964
6016 2003-03-20 John Levon <levon@movementarian.org>
6020 * text2.C: paint cleanups. Inset::update() dropped font
6023 2003-03-19 John Levon <levon@movementarian.org>
6025 * lyxfunc.C: only fitcursor/markDirty if available()
6027 2003-03-19 John Levon <levon@movementarian.org>
6029 * commandtags.h: rename to ...
6031 * lfuns.h: ... this, and renumber / cleanup
6033 2003-03-19 John Levon <levon@movementarian.org>
6035 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6036 fit the cursor after an lfun
6040 * BufferView_pimpl.h:
6041 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6043 * LyXAction.C: layout-character should have ReadOnly
6045 * ParagraphParameters.C:
6047 * bufferview_funcs.C:
6054 * undo_funcs.C: changes from above
6056 2003-03-18 John Levon <levon@movementarian.org>
6058 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6059 remove it from update()
6061 * lyxfunc.C: update layout choice after an lfun
6063 * text3.C: remove extra updateLayoutChoice()s
6065 2003-03-18 John Levon <levon@movementarian.org>
6067 * text.C: top_y change means full repaint, fix
6068 a drawing bug with cursor movement
6070 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6074 * text2.C: anchor row on setCursor
6076 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6078 * lyxtext.h: remove almost all mutable keywords
6081 * text3.C: remove const keywords accordingly
6083 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6087 (TeXEnvironment): ditto
6090 2003-03-17 John Levon <levon@movementarian.org>
6092 * text.C (rowBreakPoint): remove attempt to fix displayed
6093 math insets inside a manual label
6095 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6097 * lyxtext.h: remove BufferView* as first arg from almost all class
6099 * other files: adjust.
6101 2003-03-17 John Levon <levon@movementarian.org>
6105 * text2.C: more paint cleanups
6107 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6110 * rowpainter.C: remove "smart" background painting code
6112 2003-03-16 John Levon <levon@movementarian.org>
6117 * text3.C: add helper functions for setting refresh_row/y
6119 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6121 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6122 newline inset which *can* get inserted in the pass_thru layouts.
6123 This is primarily for literate documents.
6125 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6127 * buffer.C: increment LYX_FORMAT to 223
6129 2003-03-14 André Pönitz <poenitz@gmx.net>
6131 * textclass.h: prepare for environment handling, ws changes
6132 * lyxlayout.C: read latexheader and latexfooter tags
6134 2003-03-14 John Levon <levon@movementarian.org>
6136 * text2.C: rewrite ::status() a bit
6138 2003-03-13 John Levon <levon@movementarian.org>
6140 * lyxtext.h: add some docs
6142 2003-03-13 John Levon <levon@movementarian.org>
6147 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6149 2003-03-13 John Levon <levon@movementarian.org>
6151 * text3.C: fix appendix redrawing
6153 2003-03-13 John Levon <levon@movementarian.org>
6155 * text.C (setHeightOfRow):
6157 * rowpainter.C: make appendix mark have the text
6158 "Appendix" so the user knows what it is
6161 * LColor.C: s/appendixline/appendix/ from above
6163 2003-03-13 John Levon <levon@movementarian.org>
6165 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6167 * text.C: fix a getChar(pos) bug properly
6169 2003-03-13 Angus Leeming <leeming@lyx.org>
6172 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6173 Probably only temporary. Let's see how things pan out.
6175 * BufferView.C (unlockInset):
6176 * BufferView_pimpl.C (fitCursor):
6177 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6179 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6180 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6182 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6183 new functions that convert ParagraphParameters to and from a string.
6185 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6186 BufferView::Pimpl's dispatch.
6187 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6189 2003-03-13 André Pönitz <poenitz@gmx.net>
6193 * factory.C: make it aware of InsetEnv
6195 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6197 * text2.C (setCursor): never ask for one past last
6198 (setCursor): add some debugging messages.
6200 * text.C (singleWidth): never ask for one past last
6201 (singleWidth): ditto
6203 (rightMargin): ditto
6204 (rowBreakPoint): ditto
6205 (setHeightOfRow): ditto
6206 (prepareToPrint): ditto
6208 * rowpainter.C (paintBackground): never ask for one past last
6209 (paintText): never ask for one past last
6211 * paragraph_pimpl.C (getChar): make the assert stricter, never
6212 allow the one past last pos to be taken
6214 * paragraph.C (getChar): ws changes only
6216 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6217 (numberOfSeparators): ditto
6218 (numberOfHfills): ditto
6220 2003-03-12 John Levon <levon@movementarian.org>
6226 * paragraph_funcs.C: fix per-buffer authorlists
6228 2003-03-12 John Levon <levon@movementarian.org>
6230 * text.C: fix newline in right address
6232 2003-03-12 Angus Leeming <leeming@lyx.org>
6234 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6235 duplicate those in LyXFunc::dispatch.
6239 * ToolbarDefaults.C:
6240 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6241 Add LFUN_FONTFREE_UPDATE.
6243 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6244 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6246 * bufferview_func.[Ch]: several new functions to facilliate
6247 transfer of data to and from the character dialog.
6249 2003-03-12 John Levon <levon@movementarian.org>
6254 * paragraph_funcs.C:
6255 * paragraph_pimpl.C:
6259 * text3.C: remove META_NEWLINE in favour of an inset
6262 * rowpainter.C: remove paintNewline (done by inset)
6264 2003-03-12 John Levon <levon@movementarian.org>
6266 * paragraph_pimpl.C: complain about bad getChar()s
6267 for a while at least
6269 2003-03-12 John Levon <levon@movementarian.org>
6272 * buffer.C: move paragraph read into a separate function,
6273 a little renaming to reflect that.
6276 * bufferparams.C: remove the author_ids map, not necessary now
6279 * factory.C: moved Buffer::readInset to here
6281 * paragraph_funcs.h:
6282 * paragraph_funcs.C: readParagraph free function moved from
6285 * tabular.C: name change
6287 2003-03-12 John Levon <levon@movementarian.org>
6290 * ParagraphParameters.C: move par params input to
6293 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6294 behave like a normal read from the stream wrt reading
6295 a line vs. a \\token
6297 2003-03-12 John Levon <levon@movementarian.org>
6300 * ParagraphParameters.h:
6301 * ParagraphParameters.C: move output code to a
6304 2003-03-12 John Levon <levon@movementarian.org>
6306 * BufferView.C (insertLyXFile):
6309 * tabular.C: use a parlist iterator for creating the
6312 2003-03-12 John Levon <levon@movementarian.org>
6314 * buffer.C: make current_change static local not
6317 2003-03-12 John Levon <levon@movementarian.org>
6319 * buffer.C: fix insertStringAsLines for change tracking
6321 2003-03-12 John Levon <levon@movementarian.org>
6328 * bufferparams.C: move author list into params. Rename some
6329 functions. Move the header reading into a separate token
6330 loop. Move the header token reading into BufferParams.
6332 2003-03-12 John Levon <levon@movementarian.org>
6334 * changes.C: put debug inside lyxerr.debugging() checks
6336 2003-03-11 André Pönitz <poenitz@gmx.net>
6338 * factory.C: make it aware of InsetHFill
6340 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6342 * buffer.C (latexParagraphs): move function from here...
6343 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6346 2003-03-10 Angus Leeming <leeming@lyx.org>
6348 * LyXAction.C (init): fix bug in poplating array with multiple entries
6349 with the same LFUN (spotted by JMarc).
6351 2003-03-10 John Levon <levon@movementarian.org>
6354 * text2.C: move getColumnNearX() near its
6357 2003-03-10 John Levon <levon@movementarian.org>
6359 * text.C: fix break before a minipage
6361 2003-03-10 John Levon <levon@movementarian.org>
6363 * text.C: fix the last commit
6365 2003-03-09 John Levon <levon@movementarian.org>
6369 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6370 bug 365 (don't break before insets unless needed). Don't
6371 return a value > last under any circumstances.
6373 2003-03-09 Angus Leeming <leeming@lyx.org>
6375 * BufferView_pimpl.C (trackChanges, dispatch): call
6376 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6378 2003-03-09 Angus Leeming <leeming@lyx.org>
6380 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6381 than Dialogs::showAboutlyx().
6383 2003-03-09 Angus Leeming <leeming@lyx.org>
6385 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6386 than Dialogs::showTabularCreate().
6388 2003-03-09 John Levon <levon@movementarian.org>
6392 * text2.C: 3rd arg to nextBreakPoint was always the same.
6395 2003-03-08 John Levon <levon@movementarian.org>
6402 * text2.C: Remove the "main" bit from the "main body"
6405 2003-03-08 John Levon <levon@movementarian.org>
6407 * text.C (leftMargin): The left margin of an empty
6408 manual label paragraph should not include the label width
6411 * text.C (prepareToPrint): don't attempt to measure hfills
6412 for empty manual label paragraphs - the answer should be 0
6414 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * CutAndPaste.C: remove commented code and reindent.
6418 2003-03-08 John Levon <levon@movementarian.org>
6421 * lyxfunc.C: move reloadBuffer()
6424 * BufferView.C: to here
6426 * lyxvc.C: add comment
6429 * vc-backend.C: call bv->reload() to avoid
6430 getStatus() check on MENURELOAD
6432 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6434 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6435 to an old format .dep file.
6437 2003-03-07 Angus Leeming <leeming@lyx.org>
6439 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6440 when the LFUN_MOUSE_RELEASE should have been handled by
6441 inset->localDispatch.
6443 2003-03-07 Angus Leeming <leeming@lyx.org>
6445 * BufferView_pimpl.C (dispatch):
6446 * LyXAction.C (init):
6447 * ToolbarDefaults.C (init):
6449 * lyxfunc.C (getStatus):
6450 remove LFUN_INSET_GRAPHICS.
6452 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6454 2003-03-07 Angus Leeming <leeming@lyx.org>
6457 * LyXAction.C (init):
6458 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6460 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6463 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6465 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6466 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6468 2003-03-07 Angus Leeming <leeming@lyx.org>
6470 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6473 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * ParagraphList.C (front): new function
6478 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6480 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6481 and top_row_offset_. removed var first_y.
6483 * text2.C (LyXText, removeRow):
6485 * BufferView_pimpl.C:
6486 use these methods instead of using first_y
6488 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * text2.C (pasteSelection): adjust for checkPastePossible
6492 * CutAndPaste.C: remove Paragraph * buf and replace with
6493 ParagraphList paragraphs.
6494 (DeleteBuffer): delete
6495 (cutSelection): change the tc type to textclass_type
6496 (copySelection): change the tc type to textclass_type
6497 (copySelection): adjust for ParagraphList
6498 (pasteSelection): change the tc type to textclass_type
6499 (pasteSelection): adjust for Paragraphlist
6500 (nrOfParagraphs): simplify for ParagraphList
6501 (checkPastePossible): simplify for ParagraphList
6502 (checkPastePossible): remove unused arg
6504 * ParagraphList.C (insert): handle the case where there are no
6507 * CutAndPaste.h: make CutAndPaste a namespace.
6509 * text3.C (dispatch): adjust
6511 * text.C (breakParagraph): add a ParagraphList as arg
6513 * paragraph_funcs.C (breakParagraph): change to take a
6514 BufferParams and a ParagraphList as args.
6515 (breakParagraphConservative): ditto
6516 (mergeParagraph): ditto
6517 (TeXDeeper): add a ParagraphList arg
6518 (TeXEnvironment): ditto
6521 * buffer.C (readLyXformat2): adjust
6522 (insertStringAsLines): adjust
6523 (latexParagraphs): adjust
6525 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6526 (cutSelection): adjust
6527 (pasteSelection): adjust
6529 * BufferView_pimpl.C (insertInset): adjust
6531 2003-03-05 Angus Leeming <leeming@lyx.org>
6534 * LyXAction.C (init):
6535 * BufferView_pimpl.C (dispatch):
6536 * lyxfunc.C (getStatus):
6537 remove LFUN_CHILD_INSERT.
6539 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6541 2003-03-05 Angus Leeming <leeming@lyx.org>
6544 * LyXAction.C (init):
6545 * src/factory.C (createInset):
6546 * lyxfunc.C (getStatus):
6547 * text3.C (dispatch):
6548 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6550 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6552 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * ParagraphList.C (insert): handle insert right before end()
6555 (erase): fix cases where it can be first or last paragraph.
6557 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6560 Paragraph::next and Paragraph::previous
6563 * text.C (breakParagraph): adjust
6565 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6566 BufferParams& as arg.
6567 (breakParagraph): use ParagraphList::insert
6568 (breakParagraphConservative): take a Buffer* instead of a
6569 BufferParams& as arg.
6570 (breakParagraphConservative): use ParagraphList::insert.
6572 * buffer.C (insertStringAsLines): un-const it
6573 (insertStringAsLines): adjust
6575 * ParagraphList.C (insert): new function
6577 * CutAndPaste.C (pasteSelection): adjust
6579 * text.C (backspace): adjust
6581 * tabular.C (SetMultiColumn): adjust
6583 * CutAndPaste.C (cutSelection): adjust
6584 (pasteSelection): adjust
6586 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6587 Buffer const * as arg
6589 * ParagraphList.C (erase): new function
6590 * paragraph_funcs.C (mergeParagraph): use it
6591 (mergeParagraph): make it take a Buffer* instead of a
6592 BufferParams* as arg
6594 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6596 (breakParagraphConservative): ditto
6598 * paragraph.h: remove the breakParagraph friend
6600 * paragraph.C (eraseIntern): new function
6601 (setChange): new function
6603 * paragraph_funcs.C (mergeParagraph): make it take a
6604 ParagraphList::iterator instead of a Paragraph *, adjust
6607 * paragraph.h: move an #endif so that the change tracking stuff
6608 also works in the NO_NEXT case.
6610 2003-03-04 Angus Leeming <leeming@lyx.org>
6613 * LyXAction.C: new LFUN_INSET_MODIFY.
6615 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6616 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6618 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * several files: ws changes only
6622 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6623 (TeXEnvironment): ditto
6626 * buffer.C (makeLaTeXFile): adjust
6627 (latexParagraphs): make it take ParagraphList::iterator as args
6629 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6631 * buffer.C (latexParagraphs): adjust
6633 * paragraph.C (TeXOnePar): move function...
6634 (optArgInset): move function...
6635 (TeXEnvironment): move function...
6636 * paragraph_pimpl.C (TeXDeeper): move function...
6637 * paragraph_funcs.C: ...here
6639 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6641 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6643 * buffer.C (readInset): remove compability code for old Figure and
6646 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6648 * buffer.C: ws changes
6651 * BufferView_pimpl.C: ditto
6654 * bufferlist.h: ditto
6658 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6660 * converter.[Ch]: split into itself +
6663 * Makefile.am: += graph.[Ch] + format.[Ch]
6670 * lyxrc.C: added #include "format.h"
6672 2003-02-27 Angus Leeming <leeming@lyx.org>
6674 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6677 * factory.C (createInset): add "label" to the factory.
6679 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6680 string and do no more.
6682 2003-02-27 Angus Leeming <leeming@lyx.org>
6685 * LyXAction.C (init):
6686 * factory.C (createInset):
6687 * BufferView_pimpl.C (dispatch):
6688 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6690 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6692 * lyxfunc.C (dispatch):
6693 * text3.C (dispatch): pass name to params2string.
6695 2003-02-26 Angus Leeming <leeming@lyx.org>
6697 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6699 Rearrange the ~includes. Strip out the unnecessary ones.
6701 * factory.C (createInset): reformat.
6702 create new insets for the various LFUN_XYZ_APPLY lfuns.
6704 2003-02-26 John Levon <levon@movementarian.org>
6707 * lyxrow.C: add isParStart,isParEnd helpers
6709 * paragraph.h: make isInserted/DeletedText take refs
6711 * paragraph_funcs.h:
6712 * paragraph_funcs.C: remove #if 0'd code
6717 * text.C: use lyxrow helpers above.
6718 Move draw and paint routines to RowPainter.
6719 Make several methods use refs not pointers.
6720 Make backgroundColor() const.
6721 Add markChangeInDraw(), isInInset().
6722 Merge changeRegionCase into changeCase.
6723 Make workWidth() shouldn't-happen code into an Assert.
6726 * rowpainter.C: new class for painting a row.
6729 * vspace.C: make inPixels take a ref
6731 2003-02-26 Angus Leeming <leeming@lyx.org>
6733 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6736 2003-02-25 John Levon <levon@movementarian.org>
6738 * ispell.C: give the forked command a more accurate name
6740 2003-02-22 John Levon <levon@movementarian.org>
6743 * toc.C: make TocItem store an id not a Paragraph *
6746 2003-02-21 Angus Leeming <leeming@lyx.org>
6748 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6749 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6750 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6751 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6752 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6753 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6755 * BufferView_pimpl.C (dispatch):
6756 * LyXAction.C (init):
6757 * factory.C (createInset):
6758 * lyxfunc.C (getStatus, dispatch):
6759 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6761 2003-02-21 Angus Leeming <leeming@lyx.org>
6763 * BufferView_pimpl.C (MenuInsertLyXFile):
6764 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6765 * lyxfunc.C (menuNew, open, doImport):
6766 no longer pass a LyXView & to fileDlg.
6768 2003-02-21 Angus Leeming <leeming@lyx.org>
6770 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6771 * LyXAction.C: change, BIBKEY to BIBITEM.
6772 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6773 Change InsetBibKey to InsetBibitem.
6774 Change BIBKEY_CODE to BIBITEM_CODE.
6775 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6776 * factory.C: replace insetbib.h with insetbibitem.h.
6777 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6778 * paragraph.C: replace insetbib.h with insetbibitem.h.
6779 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6780 Change bibkey() to bibitem().
6781 * text.C: remove insetbib.h.
6782 * text2.C: replace insetbib.h with insetbibitem.h.
6783 change bibkey() to bibitem().
6784 * text3.C: remove insetbib.h.
6785 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6787 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6789 * lyxrc.C (output): enclose user email in quotes (in case there are
6792 2003-02-18 John Levon <levon@movementarian.org>
6794 * buffer.h: add std::
6796 2003-02-17 John Levon <levon@movementarian.org>
6802 * pspell.C: reworking. Especially in ispell, a large
6803 number of clean ups and bug fixes.
6805 * lyxfunc.C: fix revert to behave sensibly
6807 2003-02-17 André Pönitz <poenitz@gmx.net>
6810 * commandtags.h: new LFUN_INSERT_BIBKEY
6820 * paragraph_func.C: remove special bibkey handling
6822 2003-02-17 John Levon <levon@movementarian.org>
6824 * text.C (Delete): fix case where delete at the end of
6825 the very first paragraph would not merge the pars
6827 2003-02-17 John Levon <levon@movementarian.org>
6829 * lyxrow.C: fix lastPrintablePos()
6831 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6833 * bufferparams.C (writeLaTeX): add a std:here
6835 * buffer.C: and remove a using directive there
6837 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6839 * buffer.C (makeLaTeXFile): move the code that generates the
6842 * bufferparams.C (writeLaTeX): ... in this new method
6844 * LaTeXFeatures.C (getEncodingSet): make const
6845 (getLanguages): make const
6847 * MenuBackend.C (binding): returns the binding associated to this
6849 (add): sets the status of each item by calling getStatus. Adds
6851 (read): add support for OptSubMenu
6852 (expand): remove extra separator at the end of expanded menu
6854 2003-02-15 John Levon <levon@movementarian.org>
6857 * BufferView_pimpl.C:
6859 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6860 inset code that had no actual effect. Remove unneeded status
6863 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6865 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6868 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6870 * text.C (drawLengthMarker): also draw an arrow marker for
6871 symbolic lengths (medskip...)
6873 2003-02-14 John Levon <levon@movementarian.org>
6876 * tabular.C: better method names
6878 2003-02-14 John Levon <levon@movementarian.org>
6880 * BufferView_pimpl.C:
6885 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6886 it's a more accurate name. Remove some pointless uses.
6888 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6890 * text2.C (LyXText): change order of initilizers to shut off
6893 2003-02-14 John Levon <levon@movementarian.org>
6895 * buffer.C: use ParIterator for getParFromID()
6899 * paragraph_pimpl.h:
6900 * paragraph_pimpl.C: remove unused getParFromID()
6902 2003-02-14 John Levon <levon@movementarian.org>
6904 * buffer.C: remove some very old #if 0'd parse code
6906 2003-02-13 John Levon <levon@movementarian.org>
6910 * text2.C: move hfillExpansion(), numberOfSeparators(),
6911 rowLast(), rowLastPrintable(), numberofHfills(),
6912 numberOfLabelHfills() ...
6915 * lyxrow.C: ... to member functions here.
6920 * text.C: remove LyXText::beginningOfMainBody(), and call
6921 p->beginningOfMainBody() directly. Move the check for
6922 LABEL_MANUAL into the latter.
6929 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6935 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6936 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6938 2003-02-13 John Levon <levon@movementarian.org>
6940 * CutAndPaste.C: remove debug
6942 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6944 * paragraph.C (asString): remove two unused variables
6946 * lyxtextclass.C (readTitleType):
6948 (LyXTextClass): handle new members titletype_ and titlename_
6950 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6952 2003-02-09 John Levon <levon@movementarian.org>
6955 * buffer.C: replace hand-coded list with a map for the dep clean
6957 2003-02-08 John Levon <levon@movementarian.org>
6959 * LaTeX.C: consolidate code into showRunMessage() helper
6961 2003-02-08 John Levon <levon@movementarian.org>
6966 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6967 and pass the size in explicitly
6969 * BufferView_pimpl.h:
6970 * BufferView_pimpl.C:
6972 * BufferView.C: add getCurrentChange()
6974 * BufferView_pimpl.h:
6975 * BufferView_pimpl.C: handle change lfuns
6977 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6978 for changes. Mark pasted paragraphs as new.
6980 * support/lyxtime.h:
6981 * support/lyxtime.C:
6982 * DepTable.C: abstract time_t as lyx::time_type
6985 * LColor.C: add colours for new text, deleted text, changebars
6987 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6988 package use "usenames" option.
6992 * LyXAction.C: add change lfuns
6996 * author.C: author handling
6999 * buffer.C: add a per-buffer author list, with first entry as
7000 current author. Handle new .lyx tokens for change tracking. Output
7001 author list to .lyx file. Output dvipost stuff to .tex preamble.
7002 Bump lyx format to 222.
7005 * bufferlist.C: add setCurrentAuthor() to reset current author details
7009 * bufferparams.C: add param for tracking
7011 * bufferview_funcs.C: output change info in minibuffer
7015 * changes.C: add change-tracking structure
7018 * debug.C: add CHANGES debug flag
7021 * lyxfind.C: add code for finding the next change piece
7024 * lyxrc.C: add user_name and user_email
7027 * lyxrow.C: add a metric for the top of the text line
7030 * text.C: implement accept/rejectChange()
7033 * text.C: paint changebars. Paint new/deleted text in the chosen
7034 colours. Strike through deleted text.
7038 * paragraph_pimpl.h:
7039 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7040 in the current change to the insert functions. Rework erase to
7041 mark text as deleted, adding an eraseIntern() and a range-based
7042 erase(). Implement per-paragraph change lookup and
7045 * paragraph_funcs.C: Fixup paste for change tracking.
7047 * tabular.C: mark added row/columns as new.
7049 * text.C: fix rowLast() to never return -1. Don't allow
7050 spellchecking of deleted text. Track transpose changes. Don't
7051 allow paragraph break or merge where appropriate.
7053 * text2.C: leave cursor at end of selection after a cut.
7055 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7057 * text.C (getLengthMarkerHeight):
7058 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7059 visible on screen too.
7061 2003-02-07 John Levon <levon@movementarian.org>
7063 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7065 2003-02-05 Angus Leeming <leeming@lyx.org>
7067 * lyxserver.C (read_ready): revert my patch of 11 September last year
7068 as it sends PC cpu through the roof. Presumably this means that
7069 the lyxserver will no longer run on an Alpha...
7071 2003-01-30 Angus Leeming <leeming@lyx.org>
7073 * factory.C (createInset): create an InsetCommandParam of type "index"
7074 and use it to 'do the right thing'.
7076 * text2.C (getStringToIndex): ensure that cursor position is always
7077 reset to the reset_cursor position.
7079 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7081 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7084 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7088 * lyxfunc.C: Output messages with identical spelling, punctuation,
7091 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7093 * MenuBackend.C (expandFormats): List only viewable export formats
7096 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7099 * lyxfunc.C (getStatus): Make sure that formats other than
7100 "fax" can also be disabled
7102 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7104 * text3.C (dispatch): put the lfuns that insert insets in 3
7105 groups, and call doInsertInset with appropriate arguments.
7106 (doInsertInset): new function, that creates an inset and inserts
7107 it according to some boolean parameters.
7109 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7111 * buffer.C (readFile): remember to pass on 'par' when calling
7112 readFile recursively.
7114 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7116 * MenuBackend.C (expandFormats): add "..." to import formats.
7118 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7120 * paragraph.C (asString): Remove XForms RTL hacks.
7122 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7123 * buffer.C: fix typo
7125 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * Makefile.am (LIBS): delete var
7128 (lyx_LDADD): add @LIBS@ here instead.
7130 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7132 * Clarify the meaning of "wheel mouse jump"
7134 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7136 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7139 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7141 * importer.C (Loaders): do not preallocate 3 elements in the
7142 vector, since one ends up with 6 elements otherwise
7144 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7146 * DepTable.C (write): write the file name as last element of the
7147 .dep file (because it may contain spaces)
7148 (read): read info in the right order
7150 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7152 * paragraph_pimpl.C (simpleTeXBlanks):
7153 (simpleTeXSpecialChars):
7154 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7156 * tabular.C (latex): add some missing case statements. Reindent.
7158 * MenuBackend.C (expandToc): remove unused variable.
7160 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7169 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7172 2003-01-05 John Levon <levon@movementarian.org>
7175 * BufferView.C: add getEncoding()
7178 * kbsequence.C: do not store last keypress
7181 * lyxfunc.C: store last keypress here instead. Pass encoding
7184 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7186 * lyx_main.C (init): remove annoying error message when following
7187 symbolic links (bug #780)
7189 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7191 * text.C (insertChar):
7192 * lyxrc.C (getDescription): remove extra spaces
7194 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7196 * lyxrc.C (getDescription): remove extra spaces
7198 2002-12-20 John Levon <levon@movementarian.org>
7200 * text3.C: hack fix for page up/down across tall rows
7202 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7204 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7207 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7209 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7210 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7211 thesaurus is not compiled in
7213 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7215 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7217 2002-12-16 Angus Leeming <leeming@lyx.org>
7220 * lyx_main.C (init): remove override_x_deadkeys stuff.
7222 2002-12-12 John Levon <levon@movementarian.org>
7224 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7225 insert. Only remove shift modifier under strict
7228 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * MenuBackend.C (expandToc): fix crash.
7232 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7234 * MenuBackend.C (expandToc): gettext on float names.
7236 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7238 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7239 implement bool empty() [bug 490]
7241 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7243 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7245 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7247 * several files: ws changes
7249 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * text2.C (setCounter): clean up a bit, use boost.format.
7252 (updateCounters): initialize par upon declaration.
7254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7255 if the layout exists. We do not just store the layout any more.
7256 (SwitchLayoutsBetweenClasses): use boost.format
7258 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7260 * converter.C (convert): if from and to files are the same, use a
7261 temporary files as intermediary
7263 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7266 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7268 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7270 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7272 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * tabular.C (asciiPrintCell): use string(size, char) instead of
7277 * sgml.C (openTag): fix order of arguments to string constructor
7280 * lyxfunc.C (dispatch): use boost.format
7282 * lots of files: change "c" -> 'c'
7284 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7286 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7288 2002-11-25 Angus Leeming <leeming@lyx.org>
7290 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7292 * lyx_main.C (init): compile fix.
7294 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * lyx_cb.C (start): boost.formatify
7297 do not include <iostream>
7299 * lengthcommon.C: ws only
7301 * boost-inst.C,BoostFormat.h: add more explict instantations
7303 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7305 * lots of files: handle USE_BOOST_FORMAT
7307 2002-11-21 John Levon <levon@movementarian.org>
7309 * pspell.C: fix compile
7311 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7313 * lyxfunc.C (dispatch): use boost::format
7317 * lyxfont.C (stateText): use boost::format
7319 * lyx_main.C (LyX): use boost::format
7321 (queryUserLyXDir): ditto
7324 (typedef boost::function): use the recommened syntax.
7326 * importer.C (Import): use boost::format
7328 * debug.C (showLevel): use boost::format
7330 * converter.C (view): use boost::format
7335 * bufferview_funcs.C (currentState): use boost::format
7337 * bufferlist.C (emergencyWrite): use boost::format
7339 * buffer.C (readLyXformat2): use boost::format
7340 (parseSingleLyXformat2Token): ditto
7342 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7344 * LaTeX.C (run): use boost::format
7346 * Chktex.C (scanLogFile): use boost::format
7348 * BufferView_pimpl.C (savePosition): use boost::format
7349 (restorePosition): ditto
7350 (MenuInsertLyXFile): ditto
7352 * BoostFormat.h: help file for explicit instation.
7354 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7356 * tabular.C (latex): Support for block alignment in fixed width
7359 2002-11-17 John Levon <levon@movementarian.org>
7361 * BufferView_pimpl.C:
7363 * lyxfunc.C: split filedialog into open/save
7365 2002-11-08 Juergen Vigna <jug@sad.it>
7367 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7368 by my last patch (hopefully).
7370 2002-11-08 John Levon <levon@movementarian.org>
7379 * toc.C: ParConstIterator, and use it (from Lars)
7381 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7383 * lyxtextclass.[Ch]: revise and add doxygen comments
7385 2002-11-07 John Levon <levon@movementarian.org>
7387 * text.C: fix progress value for spellchecker
7389 * toc.C: fix navigate menu for insetwrap inside minipage
7391 * paragraph_funcs.C: added FIXME for suspect code
7393 2002-11-07 John Levon <levon@movementarian.org>
7395 * BufferView_pimpl.C: fix redrawing of insets
7398 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7400 * text2.C (updateCounters): fix bug 668
7402 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7404 * text3.C (dispatch): Do not make the buffer dirty when moving the
7407 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7409 * vc-backend.C: STRCONV
7412 * text2.C (setCounter): STRCONV
7414 * paragraph.C (asString): STRCONV
7416 * lyxlength.C (asString): STRCONV
7417 (asLatexString): ditto
7419 * lyxgluelength.C (asString): STRCONV
7420 (asLatexString): ditto
7422 * lyxfunc.C (dispatch): STRCONV
7425 * lyxfont.C (stateText): STRCONV
7427 * importer.C (Import): STRCONV
7429 * counters.C (labelItem): STRCONV
7430 (numberLabel): ditto
7431 (numberLabel): remove unused ostringstream o
7436 * bufferview_funcs.C (currentState): STRCONV
7438 * buffer.C (readFile): STRCONV
7439 (asciiParagraph): ditto
7440 (makeLaTeXFile): ditto
7442 * Spacing.C (writeEnvirBegin): STRCONV
7444 * LaTeXFeatures.C (getLanguages): STRCONV
7445 (getPackages): ditto
7447 (getBabelOptions): ditto
7448 (getTClassPreamble): ditto
7449 (getLyXSGMLEntities): ditto
7450 (getIncludedFiles): ditto
7454 (scanAuxFile): ditto
7457 * LString.h: add the STRCONV macros
7459 * BufferView_pimpl.C (savePosition): STRCONV
7460 (restorePosition): ditto
7461 (MenuInsertLyXFile): ditto
7463 * vc-backend.C (scanMaster): change from submatch[...] to
7466 * funcrequest.C: include config.h
7468 * factory.C: include config.h
7470 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7472 * box.C: include config.h
7474 * LaTeX.C (scanAuxFile): change from submatch[...] to
7478 2002-10-25 Angus Leeming <leeming@lyx.org>
7480 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7482 * ispell.[Ch] (setError): new method.
7483 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7484 Use setError() insetead of goto END.
7486 * lyx_cb.C (AutoSave): move out child process into new class
7489 2002-10-30 John Levon <levon@movementarian.org>
7491 * text3.C: make start appendix undoable
7493 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7495 * lyxlength.C (inPixels): Fix returned value.
7497 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7500 2002-10-24 Angus Leeming <leeming@lyx.org>
7502 * lyxgluelength.h: no need to forward declare BufferParams
7503 or BufferView, so don't.
7505 2002-10-21 John Levon <levon@movementarian.org>
7507 * BufferView.C: menuUndo ->undo, redo
7509 * BufferView.h: document, remove dead, make some methods private
7511 * paragraph_funcs.h:
7512 * paragraph_funcs.C:
7513 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7518 * sgml.C: move sgml open/close tag into sgml.C
7520 * bufferview_funcs.h: unused prototype
7523 * lyxfunc.C: remove unused
7526 * text.C: remove unused
7528 2002-10-21 John Levon <levon@movementarian.org>
7532 * BufferView_pimpl.h:
7533 * BufferView_pimpl.C: fix mouse wheel handling based on
7534 patch from Darren Freeman
7536 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7538 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7540 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7542 * lyxlength.C (inPixels): Fix hanfling of negative length.
7543 Fix LyXLength::MU case.
7545 2002-10-16 John Levon <levon@movementarian.org>
7547 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7549 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7551 * converter.C (view): add support for $$i (file name) and $$p
7552 (file path) for the viewer command. If $$i is not specified, then
7553 it is appended to the command (for compatibility with old syntax)
7555 2002-10-14 Juergen Vigna <jug@sad.it>
7557 * undo_funcs.C (textHandleUndo): alter the order in which the
7558 new undopar is added to the LyXText, as we have to set first
7559 the right prev/next and then add it as otherwise the rebuild of
7560 LyXText is not correct. Also reset the cursor to the right paragraph,
7561 with this IMO we could remove the hack in "redoParagraphs()".
7563 2002-10-09 Angus Leeming <leeming@lyx.org>
7565 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7566 to turn off an optimisation if a new inset is to be inserted.
7568 2002-10-11 André Pönitz <poenitz@gmx.net>
7570 * lyxtext.h: make some functions public to allow access
7571 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7573 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7575 * text3.C (dispatch): when changing layout, avoid an infinite loop
7578 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7580 * lyxrc.C (read): treat a viewer or converter command of "none" as
7583 * MenuBackend.C (expandFormats): for an update, also allow the
7584 formats that are not viewable
7586 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7587 script if it is newer than the lyxrc.defaults in user directory
7589 2002-10-07 André Pönitz <poenitz@gmx.net>
7591 * text.C: Vitaly Lipatov's small i18n fix
7593 2002-09-25 Angus Leeming <leeming@lyx.org>
7595 * ispell.h: doxygen fix.
7597 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7599 * buffer.h (readFile): Add a new argument to the method, to allow
7600 reading of old-format templates.
7602 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7604 * toc.C (getTocList): Get TOC from InsetWrap.
7606 2002-09-16 John Levon <levon@movementarian.org>
7608 * lyxfunc.C: check tabular for cut/copy too
7610 2002-09-12 John Levon <levon@movementarian.org>
7615 * factory.C: add header
7617 * paragraph_funcs.h:
7618 * paragraph_funcs.C: cleanup
7620 2002-09-11 John Levon <levon@movementarian.org>
7622 * PrinterParams.h: odd/even default to true
7624 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7626 * PrinterParams.h: update printer parameters for new xforms dialog
7628 2002-09-11 Angus Leeming <leeming@lyx.org>
7630 * lyxserver.C (read_ready): re-write to make it more transparent
7631 and to make it work in coherent fashion under Tru64 Unix.
7633 2002-09-11 André Pönitz <poenitz@gmx.net>
7637 * text3.C: implement LFUN_WORDSEL
7639 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7641 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7642 make floatlist_ a boost::shared_ptr<FloatList>
7644 * lyxtextclass.C: include FloatList.h
7645 (LyXTextClass): initialize floatlist_
7646 (TextClassTags): add TC_NOFLOAT
7647 (Read): match "nofloat" to TC_NOFLOAT and use it.
7648 (readFloat): modify call to floatlist_
7652 * FloatList.[Ch] (FloatList): remove commented out float
7654 (erase): new function
7656 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7658 * MenuBackend.C (expandToc): fix crash when there is no document
7661 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7663 * many files: Add insetwrap.
7665 2002-09-09 John Levon <levon@movementarian.org>
7667 * text2.C: remove confusing and awkward depth wraparound
7669 2002-09-09 John Levon <levon@movementarian.org>
7671 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7674 * buffer.C: remove getIncludeonlyList()
7677 * lyxfunc.C: remove headers
7679 2002-09-09 Juergen Vigna <jug@sad.it>
7681 * text.C (getColumnNearX): fix form Michael this is most
7682 probably a cut&paste bug.
7684 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7686 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7688 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7689 references, ws changes.
7691 * text2.C (init): update counters after init
7692 (insertParagraph): no need to set counter on idividual paragraphs.
7693 (setCounter): access the counters object in the textclass object
7694 on in the buffer object.
7695 (updateCounters): ditto
7697 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7698 shared_ptr<Counters> to avoid loading counters.h in all
7700 (LyXTextClass): initialize ctrs_
7701 (TextClassTags): add TC_COUNTER, and ...
7702 (Read): use it here.
7703 (CounterTags): new tags
7704 (readCounter): new function
7705 (counters): new funtion
7706 (defaultLayoutName): return a const reference
7708 * counters.C (Counters): remove contructor
7709 (newCounter): remove a couple of unneeded statements.
7710 (newCounter): simplify a bit.
7711 (numberLabel): some small formatting changes.
7713 * buffer.[Ch]: remove all traces of counters, move the Counters
7714 object to the LyXTextClass.
7716 2002-09-06 Alain Castera <castera@in2p3.fr>
7718 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7719 package to set the horizontal alignment on fixed width columns.
7722 * lyx_sty.h: added tabularnewline macro def.
7724 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7726 2002-09-06 John Levon <levon@movementarian.org>
7728 * LyXAction.C: tooltips for sub/superscript
7730 * MenuBackend.C: a bit more verbose
7732 * lyxfunc.C: tiny clean
7734 * undo_funcs.C: document undo_frozen
7736 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7738 * counters.C (Counters): add missing algorithm counter.
7740 * text2.C (setCounter): lookup the counter with layouts latexname
7741 instead of by section number.
7742 (setCounter): use a hackish way to lookup the correct enum
7744 a float name->type change
7745 reset enum couners with counter name directly instead of depth value.
7747 * counters.C (Counters): remove the push_backs, change to use the
7748 float type not the float name.
7749 (labelItem): remove unused string, float name->type change
7751 * counters.h: don't include vector, loose the enums and sects vectors
7753 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7755 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7756 (Read): add float->TC_FLOAT to textclassTags
7757 (Read): and handle it in the switch
7758 (readFloat): new function
7760 * FloatList.C (FloatList): comment out the hardcoded float
7763 * lyxlayout.h: ws change.
7765 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7767 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7769 2002-09-03 Angus Leeming <leeming@lyx.org>
7771 * BufferView_pimpl.h: qualified name is not allowed in member
7772 declaration: WorkArea & Pimpl::workarea() const;
7774 * factory.C: added using std::endl directive.
7776 * text3.C: added using std::find and std::vector directives.
7778 2002-08-29 André Pönitz <poenitz@gmx.net>
7781 * text2.C: remove unused member number_of_rows
7784 * BufferView2.C: remove file, move contents to...
7785 * BufferView.C: ... here
7787 * BufferView_pimpl.C:
7788 * factory.C: move more inset creation to factory
7790 * vspace.C: avoid direct usage of LyXText, ws changes
7793 don't provide direct access to WorkArea, use two simple
7794 acessors haveSelction() and workHeight() instead
7797 2002-08-29 John Levon <levon@movementarian.org>
7799 * BufferView_pimpl.C (dispatch): do not continue when
7802 2002-08-28 André Pönitz <poenitz@gmx.net>
7804 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7807 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7809 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7811 * buffer.C: increment LYX_FORMAT to 221
7813 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7814 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7816 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7818 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7820 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7822 * factory.C (createInset): use LyXTextClass::floats
7824 * MenuBackend.C (expandFloatListInsert):
7825 (expandFloatInsert):
7828 * text2.C (setCounter):
7830 * LaTeXFeatures.C (useFloat):
7831 (getFloatDefinitions):
7833 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7835 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7836 floatlist_, with accessor floats().
7838 * FloatList.h: remove global FloatList
7840 2002-08-26 André Pönitz <poenitz@gmx.net>
7842 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7846 * BufferView_pimpl.C:
7847 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7849 2002-08-25 John Levon <levon@movementarian.org>
7851 * LyXAction.C: fix margin note description
7853 2002-08-24 John Levon <levon@movementarian.org>
7857 * bufferview_funcs.C:
7859 * undo_funcs.C: cleanups
7861 * lyxfunc.C: disable CUT/COPY when no selection
7863 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7865 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7866 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7868 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7869 Add backward compatibility to "mono", "gray" and "no".
7871 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7873 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7874 (and file_format >= 200).
7876 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7878 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7880 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7882 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7884 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7886 * BufferView_pimpl.C:
7893 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7894 inset and code to make it work with the paragraph code. The inset
7895 can be anywhere in the paragraph, but will only do the expected
7896 thing in LaTeX if the layout file contains the parameter line
7898 (or more generally, a nonzero value) for that layout.
7900 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * paragraph.h: remove the declaration of undefined counters class
7905 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7907 * text2.C (setCounter): fixed enumeration mis-count as reported by
7908 Dr. Richard Hawkins.
7910 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7912 * paragraph_funcs.h: remove some unneeded includes
7914 * text.C (backspace): pasteParagraph now in global scipe
7916 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7917 (pasteSelection): ditto
7919 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7920 * paragraph_funcs.C (pasteParagraph): ... here
7922 2002-08-20 André Pönitz <poenitz@gmx.net>
7924 * commandtags.h: new LFUNs for swapping/copying table row/colums
7927 * lyxfunc.C: support for new lfuns
7929 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7932 * buffer.[Ch]: remove NO_COMPABILITY stuff
7934 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7936 * boost.C (throw_exception): new file, with helper function for
7937 boost compiled without exceptions.
7942 * ParameterStruct.h:
7943 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7945 * bufferlist.C (emergencyWriteAll): use boost bind
7947 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7949 * text.C: include paragraph_funcs.h
7950 (breakParagraph): breakParagraph is now in global scope
7952 * paragraph_funcs.[Ch]: new files
7954 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7957 * buffer.C: include paragraph_funcs.h
7958 (insertStringAsLines): breakParagraph is now in global scope
7960 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7963 * CutAndPaste.C: include paragraph_funcs.h
7964 (cutSelection): breakParagraphConservative is now in global scope
7965 (pasteSelection): ditto
7967 * buffer.h: declare oprator== and operator!= for
7968 Buffer::inset_iterator
7970 * bufferlist.C (emergencyWrite): don't use fmt(...)
7972 * text3.C: add using std::endl
7974 * BufferView.C (moveCursorUpdate): remove default arg
7976 2002-08-20 André Pönitz <poenitz@gmx.net>
7978 * buffer.[Ch]: move inline functions to .C
7981 * BufferView_pimpl.C:
7983 * buffer.[Ch]: use improved inset_iterator
7986 * paragraph.[Ch]: write one paragraph at a time
7988 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7990 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7991 style if style is not specified.
7993 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7995 * text2.C (setCounter): when searching for right label for a
7996 caption, make sure to recurse to parent insets (so that a caption
7997 in a minipage in a figure float works) (bug #568)
7999 2002-08-20 André Pönitz <poenitz@gmx.net>
8001 * text3.C: new file for LyXText::dispatch() and helpers
8003 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8005 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8007 2002-08-19 André Pönitz <poenitz@gmx.net>
8010 * text.C: new LyXText::dispatch()
8012 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8014 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8016 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8018 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8021 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8023 * Makefile.am: use $(variables) instead of @substitutions@
8025 2002-08-15 André Pönitz <poenitz@gmx.net>
8028 * BufferView_pimpl.C: streamlining mathed <-> outer world
8032 * LyXAction.C: remove unused LFUN_MATH
8034 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8038 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * paragraph.C (Paragraph): reformat a bit
8041 (cutIntoMinibuffer): use builtin InsetList function instad of
8045 * buffer.C: include boost/bind.hpp, add using std::for_each
8046 (writeFileAscii): use ParagraphList iterators
8047 (validate): use for_each for validate traversal of paragraphs
8048 (getBibkeyList): use ParagraphList iterators
8049 (resizeInsets): use for_each to resizeInsetsLyXText for all
8051 (getParFromID): use ParagraphList iterators
8053 * BufferView2.C (lockInset): use paragraph list and iterators
8055 2002-08-14 John Levon <levon@movementarian.org>
8057 * lyxserver.C: remove spurious xforms include
8059 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8061 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8063 2002-08-13 André Pönitz <poenitz@gmx.net>
8066 * lyxfunc.C: further cleaning
8068 2002-08-13 André Pönitz <poenitz@gmx.net>
8070 * funcrequest.h: new constructor
8072 * funcrequest.C: move stuff here from .h
8075 * BufferView_pimpl.C:
8078 * lyxfunc.C: subsequent changes
8080 * lyxfunc.h: new view() member function
8082 * lyxfunc.C: subsequent changes
8084 2002-08-13 Angus Leeming <leeming@lyx.org>
8087 * BufferView_pimpl.C:
8095 changes due to the changed LyXView interface that now returns references
8096 to member variables not pointers.
8098 2002-08-13 Angus Leeming <leeming@lyx.org>
8100 * WordLangTuple (word, lang_code): return references to strings,
8105 * lyxtext.h: forward-declare WordLangTuple.
8110 * text.C: #include "WordLangTuple.h".
8113 * text.C: (selectNextWordToSpellcheck): constify return type.
8115 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8121 * paragraph_pimpl.h:
8124 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8126 Made updateCounter always count from start of buffer, and removed
8127 second argument (par).
8128 Reverted floats number display to '#'. Perhaps I'll try again when the
8129 code base is sanitized a bit.
8131 2002-08-12 Angus Leeming <leeming@lyx.org>
8133 * buffer.[Ch] (getLabelList): constify.
8135 2002-08-07 André Pönitz <poenitz@gmx.net>
8137 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8139 * funcrequest.h: extension to keep mouse (x,y) position
8141 2002-08-12 Juergen Vigna <jug@sad.it>
8143 * BufferView2.C (insertErrors): forbid undo when inserting error
8146 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8148 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * ParagraphList.[Ch]: new files
8152 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8154 * BufferView2.C (lockInset): ParagraphList changes
8157 * bufferlist.C: ditto
8161 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8164 unused class variable counter_,
8166 * paragraph.[Ch] (getFirstCounter): delete unused function
8168 * counters.C: include LAssert.h
8169 (reset): add a new function with no arg, change other version to
8170 not have def. arg and to not allow empty arg.
8172 * text2.C (setCounter): remove empty arg from call to Counters::reset
8174 2002-08-11 John Levon <levon@movementarian.org>
8176 * Makefile.am: add WordLangTuple.h
8178 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8180 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8181 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8183 * insets/insettext.C: InsetList changes
8185 * graphics/GraphicsSupport.C (operator()): InsetList changes
8187 * toc.C (getTocList): InsetList changes
8189 * paragraph_pimpl.[Ch]: InsetList changes
8191 * paragraph.[Ch]: InsetList changes
8193 * buffer.C (inset_iterator): InsetList changes
8194 (setParagraph): ditto
8195 * buffer.h (inset_iterator): ditto
8196 * iterators.C (operator++): ditto
8197 * iterators.h: ditto
8199 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8201 * InsetList.[Ch]: new files, most InsetList handling moved out of
8204 * BufferView2.C (removeAutoInsets): InsetList changes
8206 (ChangeInsets): ditto
8208 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8210 * paragraph_pimpl.h (empty): new function
8212 * paragraph.[Ch] (empty): new function
8214 * other files: use the new Paragraph::empty function
8216 2002-08-09 John Levon <levon@movementarian.org>
8218 * lyxtext.h: remove unused refresh_height
8220 2002-08-09 John Levon <levon@movementarian.org>
8227 * paragraph.C: move sgml char escaping out of paragraph
8230 * paragraph.C: remove id setter
8234 * paragraph_pimpl.C: remove dead tex_code_break_column
8236 * bufferview_funcs.C: small cleanup
8238 * lyxfunc.C: remove dead proto
8240 * lyxtext.h: make some stuff private. Remove some dead stuff.
8242 * lyxgluelength.C: make as[LyX]String() readable
8244 2002-08-08 John Levon <levon@movementarian.org>
8249 * ToolbarDefaults.C:
8252 * toc.C: lyxaction cleanup
8254 2002-08-08 John Levon <levon@movementarian.org>
8256 * BufferView2.C: small cleanup
8259 * lyxfind.C: move unnecessary header into the .C
8261 2002-08-08 John Levon <levon@movementarian.org>
8263 * funcrequest.h: just tedious nonsense
8266 * lyx_main.C: cleanups
8269 * vspace.C: remove dead header lyx_main.h
8271 2002-08-07 Angus Leeming <leeming@lyx.org>
8274 * paragraph_pimpl.h:
8275 Forward declare class Counters in paragraph.h by moving the ctrs member
8276 variable into Paragraph::Pimpl.
8277 (counters): new method, returning a reference to pimpl_->ctrs.
8279 * text2.C: ensuing changes.
8281 2002-08-07 John Levon <levon@movementarian.org>
8283 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8285 * BufferView_pimpl.C: announce X selection on double/triple
8288 * lyx_main.C: use correct bool in batch dispatch
8290 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8292 2002-08-07 André Pönitz <poenitz@gmx.net>
8294 * funcrequest.h: new class to wrap a kb_action and its argument
8297 * BufferView_pimpl[Ch]:
8301 * lyxrc.C: subsequent changes
8304 2002-08-07 John Levon <levon@movementarian.org>
8306 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8307 document options change.
8309 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8314 * makefile.am: move counters functionality over from
8315 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8317 2002-08-06 John Levon <levon@movementarian.org>
8319 * WordLangTuple.h: new file for word + language code tuple
8330 * BufferView2.C: use WordLangTuple
8333 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8335 2002-08-06 John Levon <levon@movementarian.org>
8337 * lyx_main.C: fix cmdline batch handling
8339 2002-08-06 André Pönitz <poenitz@gmx.net>
8341 * lyxrc.C: set default for show_banner to true
8343 2002-08-06 John Levon <levon@movementarian.org>
8345 * pspell.C: fix a crash, and allow new aspell to work
8347 2002-08-06 John Levon <levon@movementarian.org>
8350 * kbmap.C: small cleanup
8353 * vspace.C: add const
8355 2002-08-05 John Levon <levon@movementarian.org>
8357 * LyXAction.C: back to tabular-insert
8359 2002-08-04 John Levon <levon@movementarian.org>
8362 * BufferView.C: cosmetic change
8364 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8374 * BufferView2.C: purge all "Lyx" not "LyX" strings
8377 * lyxcursor.C: attempt to add some documentation
8382 * ToolbarDefaults.C:
8383 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8384 merge with LFUN_TABULAR_INSERT
8391 * pspell.C: split up i/pspell implementations into separate
8392 files, many cleanups
8394 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8396 * text2.C: some cleanup
8398 * lyxfunc.C: don't check for isp_command == "none" any more, it
8399 didn't make any sense
8401 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8406 * makefile.am: move counters functionality over
8407 from text2.C/paragraph.[Ch] to counters.[Ch], and
8409 2002-08-02 John Levon <levon@movementarian.org>
8411 * buffer.C: s/lyxconvert/lyx2lyx/
8413 2002-08-02 Angus Leeming <leeming@lyx.org>
8415 * lyxlex.C: revert John's change as it breaks reading of the user
8418 2002-08-02 Angus Leeming <leeming@lyx.org>
8420 * importer.C (Import):
8421 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8422 changes due to LyXView::view() now returning a boost::shared_ptr.
8424 2002-08-02 John Levon <levon@movementarian.org>
8426 * lyxlex.C: small cleanup
8428 2002-08-02 John Levon <levon@movementarian.org>
8430 * text2.C (status): small cleanup, no logic change
8432 2002-08-01 John Levon <levon@movementarian.org>
8435 * buffer.C (writeFile): don't output alerts, caller
8439 * lyx_cb.C: from above
8441 * lyxfunc.C: allow to open non-existent files
8443 2002-07-31 John Levon <levon@movementarian.org>
8445 * lyxserver.C: don't let incidental errors get
8448 2002-07-30 John Levon <levon@movementarian.org>
8450 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8452 2002-07-30 John Levon <levon@movementarian.org>
8455 * lyxserver.C: remove I/O callback too
8457 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8462 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8464 * many files: strip,frontStrip -> trim,ltrim,rtrim
8466 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8468 * PrinterParams.h: remove extern containsOnly, and include
8469 support/lstrings.h instead.
8471 * LaTeX.C (scanAuxFile): modify because of strip changes
8473 * buffer.C (makeLaTeXFile): ditto
8474 * bufferparams.C (writeFile): ditt
8475 * lyxfont.C (stateText): ditto
8476 * lyxserver.C (read_ready): ditto
8477 * vc-backend.C (scanMaster): ditto
8479 * BufferView_pimpl.h: ws changes
8481 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8483 2002-07-26 André Pönitz <poenitz@gmx.net>
8485 * kb_sequence.C: remove unnedred usings
8487 2002-07-26 Juergen Vigna <jug@sad.it>
8489 * lyxfind.C (LyXReplace): we have to check better if the returned
8490 text is not of theLockingInset()->getLockingInset().
8492 2002-07-25 Juergen Vigna <jug@sad.it>
8494 * lyxfind.C (LyXReplace): don't replace if we don't get the
8497 * undo_funcs.C (createUndo): remove debugging code.
8499 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8501 * buffer.C (parseSingleLyXformat2Token): Use default placement
8502 when reading old floats.
8504 * FloatList.C (FloatList): Change the default placement of figure
8505 and tables to "tbp".
8507 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8509 * MenuBackend.C: using std::max
8511 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8513 * MenuBackend.C (expandToc):
8514 (expandToc2): code moved from xforms menu frontend. It is now
8515 generic and TOCs are transparent to menu frontends.
8517 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8519 * toc.C (getTocList): protect against buf=0
8521 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8522 Menu as first parameter. Now, this calls itself recursively to
8523 expand a whole tree (this will be useful for TOC handling)
8524 (expandFloatInsert): remove 'wide' version of floats
8526 * MenuBackend.h (submenuname): returns the name of the submenu.
8527 (submenu): returns the submenu itself, provided it has been
8528 created by MenuBackend::expand
8530 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8532 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8533 insets which have noFontChange == true. (bug #172)
8535 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8537 * BufferView_pimpl.C: add connection objects and use them...
8540 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8542 * MenuBackend.C (expandLastfiles):
8545 (expandFloatListInsert):
8546 (expandFloatInsert):
8547 (expand): split expand in parts
8549 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8551 * lyx_gui.C: use lyx_gui::exit()
8553 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8555 * LyXAction.C: show the failing pseudo action
8557 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8559 * buffer.C (readFile): Run the lyxconvert script in order to read
8562 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8566 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8568 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8572 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8574 2002-07-22 Herbert Voss <voss@lyx.org>
8577 * lyxlength.[Ch]: add support for the vertical lengths
8579 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8581 * toc.[Ch]: std:: fixes
8583 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8585 * lyxrc.C: do not include lyx_main.h
8587 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8593 * BufferView2.C: include "lyxlex.h"
8596 * bufferparams.h: do not #include "lyxlex.h"
8598 * lyxtextclasslist.C (Add): remove method
8599 (classlist): renamed to classlist_
8601 * paragraph_pimpl.C:
8605 * bufferview_funcs.C:
8610 * toc.C (getTocList): use BufferParams::getLyXTextClass
8612 * toc.C (getTocList): use InsetFloat::addToToc
8614 * toc.[Ch]: new files, containing helper functions to handle table
8617 * lyxfunc.C (dispatch): no need to remove spaces around command
8619 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8620 first command of the sequence; it is not very clever, but I do not
8621 have a better idea, actually
8623 * LyXAction.C (LookupFunc): make sure to remove space at the
8624 beginning and end of the command
8626 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8628 * MenuBackend.C (getMenubar): new method: return the menubar of
8630 (read): treat differently reading of menu and menubar (in
8631 particular, the menubar has no name now)
8632 (Menu::menubar): remove
8634 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8637 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8639 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8640 a bibitem inset in a RTL paragraph.
8642 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8644 * paragraph_pimpl.C: constify
8646 * BufferView_pimpl.C:
8648 * lyxfunc.C: fix dispatch in a nicer way
8650 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8652 * lyxfunc.C (dispatch):
8653 * BufferView_pimpl.C:
8654 * BufferView_pimpl.h:
8656 * BufferView.h: rename Dispatch() to dispatch()
8658 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8660 * lyxlayout.C (Read): honor DependsOn tag
8662 * lyxlayout.[Ch] (depends_on): new method
8664 * version.C.in: update lyx_docversion
8666 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8668 * paragraph.C (validate): remove from here...
8669 * paragraph_pimpl.C (validate): ... and move here
8670 (isTextAt): make it const
8672 * buffer.C (getLists): ws cleanup
8674 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8676 * language.C (read): Use iso8859-1 encoding in latex_lang
8677 (this prevents LyX from crashing when using iso10646-1 encoding).
8679 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8681 * text2.C (toggleInset): if cursor is inside an inset, close the
8682 inset and leave cursor _after_ it
8684 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8686 * lyxfunc.C: move minibuffer completion handling out of here
8688 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8690 * BufferView_pimpl.C:
8691 * LaTeX.C: fix dispatch calls
8693 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8695 * text.C (drawChars): Fix Arabic text rendering.
8697 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8701 * lyxfunc.C: remove message-push/pop
8705 * lyxfunc.C: rationalise some code by removing verboseDispatch
8706 in favour of a bool argument to dispatch()
8708 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8710 * lyx_main.C (init): make sure to read symlinks as absolute paths
8712 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8715 * lyxfunc.C: no need for commandshortcut to be a member
8717 2002-07-15 André Pönitz <poenitz@gmx.net>
8719 * converter.C: add support for $$s (scripts from lib/scripts dir)
8720 * lyx_main.C: white space
8722 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8726 * lyxrc.C: remove second exit confirmation
8728 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8733 * BufferView_pimpl.h:
8734 * BufferView_pimpl.C:
8735 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8737 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8739 * MenuBackend.C (expand): add numeric shortcuts to document menu
8741 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8743 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8745 * lyxfont.C (setLyXFamily):
8752 * buffer.C (asciiParagraph): use ascii_lowercase
8754 2002-07-15 Mike Fabian <mfabian@suse.de>
8756 * lyxlex_pimpl.C (search_kw):
8757 * lyxlex.C (getLongString):
8758 * converter.h (operator<):
8759 * converter.C (operator<):
8760 * buffer.C (parseSingleLyXformat2Token):
8762 * ToolbarDefaults.C (read):
8763 * MenuBackend.C (checkShortcuts):
8765 * LColor.C (getFromGUIName):
8766 (getFromLyXName): use the compare_ascii_no_case instead of
8767 compare_no_case, because in turkish, 'i' is not the lowercase
8768 version of 'I', and thus turkish locale breaks parsing of tags.
8770 2002-07-16 Angus Leeming <leeming@lyx.org>
8772 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8773 now takes a Buffer const & argument.
8775 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8777 * BufferView.C (resize): check there's a buffer to resize
8779 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8781 * lyxfunc.C: remove dead code
8784 * lyxserver.C: use lyx_guii::set_read_callback
8786 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8788 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8789 an inset in a RTL paragraph.
8791 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8793 * lyxfunc.C: repaint after a font size update
8795 2002-07-15 André Pönitz <poenitz@gmx.net>
8797 * lyxlength.C: inBP should be able to return negative values
8799 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8801 * lyxfunc.C: use lyx_gui::update_fonts()
8803 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8805 * lyxfunc.C: use lyx_gui::update_color()
8807 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8813 * lyxrc.C: remove file->new asks for name option, and let
8814 buffer-new take an argument
8816 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8818 * BufferView_pimpl.C: remove unneeded extra repaint()
8820 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8822 * LyXAction.C: allow command-sequence with NoBuffer
8824 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8826 2002-07-10 Angus Leeming <leeming@lyx.org>
8828 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8830 2002-07-09 Angus Leeming <leeming@lyx.org>
8832 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8834 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8836 * lengthcommon.h: whitespace
8838 * lyxfunc.C: update scrollbar after goto paragraph
8840 * lyxtext.h: factor out page break drawing, and fix it so
8841 page break/added space paints as selected nicely
8843 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8845 * BufferView_pimpl.C: add FIXMEs, clean up a little
8847 2002-07-09 André Pönitz <poenitz@gmx.net>
8849 * lyxfont.[Ch]: support for wasy symbols
8851 2002-07-08 André Pönitz <poenitz@gmx.net>
8853 * BufferView_pimpl.C: apply John's patch for #93.
8855 2002-07-05 Angus Leeming <leeming@lyx.org>
8857 * BufferView_pimpl.C (buffer): generate previews if desired.
8859 * LColor.h: add "preview" to the color enum.
8861 * LColor.C (LColor): add a corresponding entry to the items array.
8863 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8866 2002-07-05 Angus Leeming <leeming@lyx.org>
8868 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8869 The body of the code is now in the method that is passed an ostream &
8870 rather than a file name.
8871 Pass an additional only_preamble parameter, useful for the forthcoming
8874 2002-07-03 André Pönitz <poenitz@gmx.net>
8876 * lyxfunc.C: simplify getStatus() a bit for math stuff
8878 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8882 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8884 * text.C (changeRegionCase): do not change case of all the
8885 document when region ends at paragraph end (bug #461)
8887 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8889 * paragraph.C (startTeXParParams):
8890 (endTeXParParams): add \protect when necessary
8892 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8894 * BufferView_pimpl.C (workAreaExpose): remove warning
8896 2002-06-27 Angus Leeming <leeming@lyx.org>
8898 * Makefile.am: add lyxlayout_ptr_fwd.h.
8900 2002-06-26 André Pönitz <poenitz@gmx.net>
8902 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8904 2002-06-25 Angus Leeming <leeming@lyx.org>
8906 * lyxfunc.C (dispatch): Comment out the call to
8907 grfx::GCache::changeDisplay. The method no longer exists now that the
8908 pixmap generation part of the graphics loader has been moved into
8911 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8913 * text2.C: layout as layout
8915 * text.C: layout as layout
8917 * tabular.C (OldFormatRead): layout as layout
8919 * paragraph_pimpl.C (TeXDeeper): layout as layout
8920 (realizeFont): layout as layout
8922 * paragraph.C (writeFile): layout as layout
8923 (validate): layout as layout
8924 (getFont): layout as layout
8925 (getLabelFont): layout as layout
8926 (getLayoutFont): layout as layout
8927 (breakParagraph): layout as layout
8928 (stripLeadingSpaces): layout as layout
8929 (getEndLabel): layout as layout
8930 (getMaxDepthAfter): layout as layout
8931 (applyLayout): layout as layout
8932 (TeXOnePar): layout as layout
8933 (simpleTeXOnePar): layout as layout
8934 (TeXEnvironment): layout as layout
8935 (layout): layout as layout
8936 (layout): layout as layout
8938 * lyxtextclass.C (compare_name): new functor to work with
8939 shared_ptr, layout as layout
8940 (Read): layout as layout
8941 (hasLayout): layout as layout
8942 (operator): layout as layout
8943 (delete_layout): layout as layout
8944 (defaultLayout): layout as layout
8946 * lyxlayout_ptr_fwd.h: new file
8948 * lyxlayout.C (Read): layout as layout
8950 * lyx_cb.C (MenuInsertLabel): layout as layout
8952 * bufferlist.C (newFile): layout as layout
8954 * buffer.C (readLyXformat2): layout as layout
8955 (parseSingleLyXformat2Token): layout as layout
8956 (insertStringAsLines): layout as layout
8957 (asciiParagraph): layout as layout
8958 (latexParagraphs): layout as layout
8959 (makeLinuxDocFile): layout as layout
8960 (simpleLinuxDocOnePar): layout as layout
8961 (makeDocBookFile): layout as layout
8962 (simpleDocBookOnePar): layout as layout
8963 (getLists): layout as layout
8965 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8967 * CutAndPaste.C (cutSelection): layout as layout
8968 (pasteSelection): layout as layout
8969 (SwitchLayoutsBetweenClasses): layout as layout
8971 * BufferView_pimpl.C (Dispatch): layout as layout
8972 (smartQuote): layout as layout
8974 * BufferView2.C (unlockInset): layout as layout
8976 2002-06-24 André Pönitz <poenitz@gmx.net>
8978 * lyxfunc.C: fix #487
8980 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8984 * lyxfunc.C: remove display_shortcuts, show_banner
8986 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8988 * Buffer_pimpl.C: oops, update on resize
8990 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8997 * BufferView.C: use repaint()
8999 * BufferView_pimpl.h:
9000 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9001 as it's a clearer description. Remove superfluous
9004 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9006 * text.C: fix bug 488. Not ideal, but getting
9007 getWord() to work properly for the insets that
9008 matter is more difficult ...
9010 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9012 * BufferView_pimpl.C:
9015 * lyxfunc.C: remove the six million index lyxfuncs to just
9016 one, and DTRT (bug 458)
9018 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9022 * BufferView_pimpl.h:
9023 * BufferView_pimpl.C: clean up resize() stuff,
9024 and unnecessary updateScreen()s
9026 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9030 * BufferView_pimpl.h:
9031 * BufferView_pimpl.C:
9034 * minibuffer.C: remove focus management of workarea,
9035 not needed. Use screen's greyOut()
9037 2002-06-17 Herbert Voss <voss@lyx.org>
9039 * converter.C: (convert) do not post a message, when converting
9040 fails, let the calling function decide what to do in this case
9042 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9044 * lyxfunc.C: tidy up a little
9046 2002-06-16 <alstrup@diku.dk>
9048 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9049 Got rid of FORMS_H_LOCATION include. Now we are
9052 2002-06-15 LyX Development team <lyx@rilke>
9054 * buffer.[Ch] (sgmlOpenTag):
9055 (sgmlCloseTag): Added support for avoiding pernicious mixed
9056 content. Return number of lines written.
9059 (makeDocBookFile): Fixed calls to sgml*Tag.
9060 Simple white space clean.
9062 (simpleDocBookOnePar): Simple white space clean.
9064 * tabular.[Ch] (docBook): Renamed to docbook and got another
9065 argument to related with the pernicious mixed content.
9067 (docbookRow): Fixed calls for docbook inset method.
9069 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9071 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9072 so it's X11 independent.
9076 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9078 2002-06-15 Lyx Development team <lyx@electronia>
9080 * intl.h: Renamed getTrans to getTransManager.
9082 2002-06-14 Angus Leeming <leeming@lyx.org>
9084 * Makefile.am: nuke forgotten stl_string_fwd.h.
9086 2002-06-12 Angus Leeming <leeming@lyx.org>
9088 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9090 2002-06-13 Angus Leeming <leeming@lyx.org>
9093 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9095 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9097 * kbmap.C (getiso): add support for cyrillic and greek
9099 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9103 * BufferView_pimpl.h:
9104 * BufferView_pimpl.C: move bogus scrolling logic
9107 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9110 * BufferView_pimpl.C: view->resize() change
9112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9114 * BufferView_pimpl.C: topCursorVisible
9117 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9121 * lyx_gui.C: move to frontends/
9125 * lyx_main.C: changes from above
9127 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9134 * lyx_main.C: minor tidy
9136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9138 * BufferView_pimpl.h:
9139 * BufferView_pimpl.C:
9141 * BufferView.C: make painter() const,
9144 * BufferView2.C: use screen() accessor
9147 * lyx_main.C: some minor cleanup
9149 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9151 * BufferView_pimpl.h:
9152 * BufferView_pimpl.C: remove enter/leaveView,
9155 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9160 * BufferView_pimpl.h:
9161 * BufferView_pimpl.C: only construct screen once,
9164 * lyxrc.C: remove pointless comment
9166 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9169 * BufferView.C: remove active() and belowMouse()
9171 * BufferView_pimpl.h:
9172 * BufferView_pimpl.C: use workarea() not workarea_,
9173 and make it use a scoped_ptr instead
9175 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9177 * lyx_gui.C: add debug message on BadWindow
9179 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9181 * sp_spell.C: fdopen is not part of the C++ standard.
9183 * paragraph.C (InsetIterator): use >= instead of ==
9185 2002-06-07 Angus Leeming <leeming@lyx.org>
9187 Fixes needed to compile with Compaq cxx 6.5.
9188 * BufferView_pimpl.C:
9195 * lyxtextclasslist.C:
9200 all c-library variables have been moved into namespace std. Wrap
9201 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9206 Add a using std::abs declaration.
9208 * kbmap.h (modifier_pair):
9209 * paragraph.h (InsetTable, InsetList):
9210 * lyxfont.h (FontBits):
9211 type definition made public.
9213 * bufferlist.C (emergencyWriteAll): the compiler complains that
9214 there is more than one possible lyx::class_fun template to choose from.
9215 I re-named the void specialisation as lyx::void_class_fun.
9217 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9219 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9220 the compiler is is unable to find tostr in write_attribute.
9222 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * buffer.C (sgmlError): hide #warning
9226 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * xtl/*: get rid of xtl, which is not in use anyway
9230 * LyXAction.C (init):
9231 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9232 were unimplemented xtl experimentation
9234 2002-06-04 André Pönitz <poenitz@gmx.net>
9236 * lyxfunc.C: disable array operation on simple formulae
9238 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9240 * converter.C: constify a bit
9242 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9244 * lyx_gui.C: check xforms version correctly
9246 2002-04-30 Herbert Voss <voss@lyx.org>
9248 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9251 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9253 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9254 attempt to register it with a VCS)
9256 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9258 * lyx_main.C (init): honor variables LYX_DIR_13x and
9261 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9265 * lyx_main.C: fix a crash on bad command line,
9266 and give a useful exit status on error
9268 * lyxfunc.C (doImport): allow -i lyx to work
9270 2002-03-30 André Pönitz <poenitz@gmx.net>
9272 * lyxfunc.C: mathed font changes
9274 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9289 * trans_mgr.h: srcdocs, and some minor cleanups
9291 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9293 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9294 call getFont all the time)
9296 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * switch from SigC signals to boost::signals
9300 2002-05-29 André Pönitz <poenitz@gmx.net>
9302 * paragraph_pimpl.C (getChar): don't call size() too often...
9304 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9306 * paragraph_pimpl.C (insertChar): do not try to update tables when
9307 appending (pos == size())
9309 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9310 in order to reduce drastically the number of comparisons needed to
9311 parse a large document
9313 2002-05-29 André Pönitz <poenitz@gmx.net>
9319 * textclasslist.[Ch]:
9320 * sp_ispell.h: whitespace change
9322 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9324 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9325 lyxaction directly now.
9327 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9331 * lyxvc.C: remove unused headers
9333 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9340 * undo_funcs.C: some cleanups. Use shared_ptr
9341 and a template for the undo stacks.
9343 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9345 * BufferView_pimpl.h:
9346 * BufferView_pimpl.C:
9353 * text2.C: use key_state/mouse_state
9355 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9357 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9360 * chset.C: change include order
9361 (loadFile): use boost regex and get rid of LRegex and LSubstring
9363 * Makefile.am (BOOST_LIBS): new variable
9366 * LaTeX.C: change include order.
9367 (scanAuxFile): use boost regex and get rid of LRegex and
9371 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9376 * FontInfo.C: moved to frontends/xforms/
9379 * FontLoader.C: moved into frontends for GUIIzation
9384 * lyxfunc.C: changes from above
9386 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9388 * LColor.C: remove spurious X include
9390 * BufferView_pimpl.C:
9395 * text2.C: move font metrics to frontends/
9397 2002-05-24 Juergen Vigna <jug@sad.it>
9399 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9400 setting the undo_cursor.
9402 * ParagraphParameters.h: include local includes first.
9404 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9406 * BufferView_pimpl.C:
9407 * BufferView_pimpl.h:
9411 * screen.C: move WorkArea into frontends/
9417 * BufferView2.C: move LyXScreen into frontends/
9421 * lyx_gui.C: move lyxlookup into frontends/xforms/
9423 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9426 * BufferView_pimpl.C:
9436 * bufferview_funcs.C:
9449 * vc-backend.C: move LyX/XFormsView into frontends/
9451 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9463 * text2.C: move Painter to frontends/
9465 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * buffer.C: comment out some some code that depend upon lyx_format
9470 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9471 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9473 * buffer.h (NO_COMPABILITY): turn off compability
9475 * ColorHandler.C: include scoped_array.hpp
9477 * font.C: Use more specific smart_ptr header.
9480 * ShareContainer.h: ditto
9484 * BufferView_pimpl.h: ditto
9485 * ColorHandler.h: ditto
9487 * kbmap.C (defkey): change call to shared_ptr::reset
9489 2002-05-21 Juergen Vigna <jug@sad.it>
9491 * buffer.C (insertErtContents): fix to insert ert asis if it is
9492 non empty. Skip it completely if it contains only whitespaces.
9494 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9496 * BufferView_pimpl.C:
9497 * BufferView2.C: clear selection on paste (bug 393)
9499 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * DepTable.C: include ctime
9503 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9505 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9507 2002-05-14 Juergen Vigna <jug@sad.it>
9509 * text.C (breakParagraph): fixed function to honor the keepempty
9510 layout in the right maner and also to permit the right breaking
9511 algorithm on empty or non empyt keepempty paragraphs.
9513 * paragraph.C (breakParagraph): we have to check also if the par
9514 is really empty (!size()) for isempty otherwise we do the wrong
9517 2002-05-10 Juergen Vigna <jug@sad.it>
9519 * buffer.[Ch] : The following are only changes to the ert
9520 compatibility read reading old LaTeX layout and font stuff and
9521 convert it to ERTInsets.
9523 * buffer.h: added isErtInset().
9525 * buffer.C (struct ErtComp): add a fromlayout bool to check
9526 if we're inside a LaTeX layout.
9527 (isErtInset): new helper function.
9528 (insertErtContents): look for other ert insets before this one
9529 and insert the contents there, so that we don't have subsequent
9530 ERT insets with nothing between them. This way we create only one
9531 inset with multiple paragraphs. Also check if we don't insert only
9532 spaces ' ' as they are ignored anyway afterwards in the .tex file
9533 so if we have only spaces we will ignore this latex part in the
9535 (parseSingleLyXformat2Token \\layout): better compatibility when
9536 reading layout-latex stuff.
9537 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9539 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9540 stuff after reading the inset only get the information back from
9543 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9545 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9547 * LaTeXFeatures.C (getBabelOptions): New method.
9549 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9551 * BufferView_pimpl.C (Dispatch): work around missing argument for
9554 2002-05-08 Juergen Vigna <jug@sad.it>
9556 * text.C (leftMargin): handle paragraph leftindent.
9558 * paragraph.C (writeFile): write the new \\leftindent tag.
9559 (validate): handle leftindent code.
9560 (TeXEnvironment): handle paragraphleftindent code again.
9562 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9564 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9565 for paragrap_extra indent code and new token \\leftindent.
9566 (latexParagraphs): handle the leftindent as environment.
9568 * ParameterStruct.h: added leftindent support.
9570 * ParagraphParameters.C (leftIndent): added support functions for
9571 the paragraph left indent.
9573 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9576 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9578 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9581 * text.C (computeBidiTables): No bidi in insetERT.
9583 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9586 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9588 * version.C.in: pre 5
9590 2002-05-02 José Matos <jamatos@fep.up.pt>
9591 * buffer.C (makeDocBookFile): white space changes, add newline to
9593 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9595 * tabular.C (docBook): fix typo.
9597 2002-05-03 Juergen Vigna <jug@sad.it>
9599 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9600 change in LyXText as we can not be sure it was not freed.
9601 (drawOneRow): remove unused code.
9603 * text.C (drawInset): redo the calculation of the need_break_row as
9604 it could have a row which was already freed.
9605 (draw): look at the return value of drawInset and return false if
9606 it also returned false.
9607 (paintRowText): look at the return value of draw and return false if
9608 it also returned false.
9610 * lyxtext.h: added bool return type to drawInset() and draw() so that
9611 if we have a change in the row so that the rowbreak has to be redone
9612 we abort drawing as it will be called again.
9614 2002-05-02 Juergen Vigna <jug@sad.it>
9616 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9617 a change in the maintext also if we're inside an inset.
9618 (Dispatch): set the cursor again after a break line and after the
9619 screen has been updated as it could be we're in a different row.
9621 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9622 to set the cursor behind the pargraph with > size().
9623 (setCursor): check also for the same paragraph when checking where
9624 to put the cursor if we have a NFR inset.
9626 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9627 parts of layout read further up as it still was in the wrong
9630 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9632 * screen.C (drawFromTo): change sine fullRebreak always return
9635 * buffer.C (parseSingleLyXformat2Token): reindent some
9637 * BufferView_pimpl.C (update): change since fullRebreak always
9639 (Dispatch): git rid of the last hardcoded "Standard"s.
9641 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9643 * text2.[Ch] (fullRebreak): make it return void now that we always
9646 2002-04-30 Juergen Vigna <jug@sad.it>
9648 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9649 ert compatibility check for "latex" layout.
9651 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9653 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9654 minipages: use col% instead of p%, and also use the current font.
9655 (makeLaTeXFile): Fix use babel condition.
9656 (parseSingleLyXformat2Token): Correct font when reading old floats.
9658 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9660 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9661 inserting list of floats.
9663 2002-04-25 Herbert Voss <voss@lyx.org>
9665 * MenuBackend.C (expand): don't add the graphics extensions to the
9668 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9670 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9671 non-existing layout, do not complain if it was the default layout
9672 of the original class (bug #342)
9674 2002-04-24 Juergen Vigna <jug@sad.it>
9676 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9677 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9679 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9681 * buffer.C (getBibkeyList): If using \bibliography, return the
9682 option field with the reference itself. Enables us to provide natbib
9683 support when using \bibliography.
9685 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9687 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9689 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9690 natbib is provided by the LaTeX class.
9692 2002-04-23 Juergen Vigna <jug@sad.it>
9694 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9697 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9699 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9701 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9703 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9704 ensuremath around textordmasculine, textordfeminine and
9707 2002-04-19 Juergen Vigna <jug@sad.it>
9709 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9710 reinitializing the buffer otherwise row-dimensions may be wrong.
9711 (update): reset also the selection cursors if they do exits otherwise
9712 their x/y positions may be wrong.
9714 * text2.C (cursorDown): don't enter the inset if we came from a row
9715 above and are one row over the inset.
9717 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9718 really leaving an inset.
9720 2002-04-18 Juergen Vigna <jug@sad.it>
9722 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9723 of the selected paragraph does not have the selected layout also if
9726 * text2.C (setLayout): fixed bug which did not change last selected
9729 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9730 changed the read and substituted \\end_float with \\end_inset!
9732 * BufferView_pimpl.C (cursorPrevious):
9733 (cursorNext): fixed to make it work with rows heigher than the work
9734 area without moving the cursor only the draw of the row.
9735 (workAreaMotionNotify): fix jumping over high rows.
9737 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9739 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9742 2002-04-16 Juergen Vigna <jug@sad.it>
9744 * text2.C (setCursor): set also the irow().
9745 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9747 (cursorDown): support for locking an inset if the x_fix value goes
9748 inside it. That way I can transverse insets too with cursor up/down.
9750 * lyxrow.h: added irow helper function same as other (i) functions.
9752 * BufferView_pimpl.C (cursorPrevious):
9753 (cursorNext): fixed for insets!
9755 2002-04-15 Juergen Vigna <jug@sad.it>
9757 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9758 position otherwise it is wrong in some cases.
9760 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9761 inside the inset before the call.
9763 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9765 * buffer.[Ch] (getBibkeyList): make it const.
9767 2002-04-12 Juergen Vigna <jug@sad.it>
9769 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9771 * text2.C (getCursorX): new helper function
9772 (setCursor): compute also ix_
9773 (setCursorFromCoordinates): set also ix.
9775 * lyxcursor.h: added ix_ and helper functions.
9777 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9779 * buffer.C (insertStringAsLines): dont break paragraph if the this
9780 paragraph is inside an inset which does not permit it!
9782 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9783 also with no chars on this paragraph.
9784 (paintRowText): only paint stuff if it's inside the workarea!
9786 * paragraph.C (breakParagraph): honor keepempty flag and break the
9787 paragraph always below not above.
9789 * BufferView2.C (unlockInset): update the paragraph layout on inset
9790 unlock as we changed paragraph in such a case.
9792 * lyxfind.C (LyXFind): clear the former selection if not found!
9794 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9795 again called in insertChar().
9797 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9798 an inset which uses the whole row!
9799 (rightMargin): ditto.
9800 (insertChar): force a rebreak if we inserted an inset!
9802 2002-03-28 Herbert Voss <voss@lyx.org>
9804 * lyxlength.[Ch]: add inBP() to get the right PS-point
9805 units (BigPoint). With inPixels we have rounding errors
9807 2002-04-11 Juergen Vigna <jug@sad.it>
9809 * text2.C (setCursorFromCoordinates): set iy to the right value.
9810 (setCursor): add check if row->previous exists!
9812 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9813 an old float_type as this was the case in the old code!
9815 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9817 * BufferView2.C (showLockedInsetCursor): use iy
9818 (fitLockedInsetCursor): ditto
9820 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9821 locked insets as there we have the right value now.
9823 * lyxcursor.C: added iy_ variable and iy functions to set to the
9824 baseline of cursor-y of the locked inset.
9826 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9827 (setCursor): fixed for insets which need a full row.
9829 * text.C (rowLastPrintable): don't ignore the last space when before
9830 an inset which needs a full row.
9831 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9832 as last character of a row when before a inset which needs a full row.
9834 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9836 * version.C.in: update date
9838 * text2.C (fullRebreak): try to always return true and see what
9841 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9843 * MenuBackend.C (expand): use Floating::listName
9845 * FloatList.C (FloatList): add listName argument to the built-in
9848 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9849 text associated with the float.
9851 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9853 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9855 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9857 * ShareContainer.h: add a couple of missing typenames.
9859 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9861 * lyxrc.C (getDescription): use _() correctly rather than N_().
9863 2002-03-28 Herbert Voss <voss@lyx.org>
9865 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9866 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9868 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9871 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9873 2002-03-29 Juergen Vigna <jug@sad.it>
9875 * lyxfunc.C (dispatch): add a missing fitCursor call.
9877 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9878 it was scrolled by a cursor move, so return the bool status.
9880 * BufferView.C (fitCursor): return the bool flag also to the outside
9881 world as this is needed.
9883 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9885 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9886 call the edit() as it is not needed (and wrong) IMO.
9887 (workAreaButtonPress): set the screen_first variable before evt.
9888 unlock the inset as this may change screen_first and then we have
9889 a wrong y position for the click!
9891 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9893 * MenuBackend.C (expand): another translation that I missed
9895 2002-03-28 Juergen Vigna <jug@sad.it>
9897 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9899 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9901 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9905 * MenuBackend.C (expand): fix export/view/update when there is no
9908 2002-03-27 Herbert Voss <voss@lyx.org>
9910 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9913 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9915 * bufferview_funcs.C (currentState): only show paragraph number
9916 for is DEVEL_VERSION is set.
9918 * lyxfunc.C (dispatch): put warning in INFO channel
9920 * MenuBackend.C (expand): translate the name of floats
9922 * FloatList.C (FloatList): mark the float names for translation
9924 * converter.C (convert): use LibScriptSearch
9926 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9928 * MenuBackend.C (defaults): fix default menu (we might as well get
9931 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9933 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9936 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * lyxvc.C: reorder includes.
9940 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9942 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9945 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9947 * CutAndPaste.C: change layouts earlier on paste
9948 to avoid crashing when calling getFont()
9950 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9952 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9955 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9957 * WorkArea.C: remove 'Pending' debug message.
9959 * most files: ws cleanup
9961 * buffer.[Ch]: ws changes
9963 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9965 2002-03-21 Juergen Vigna <jug@sad.it>
9967 * tabular.C (SetMultiColumn): collapse also the contents of the
9968 cells and set the last border right. Added a Buffer const * param.
9970 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9972 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9975 2002-03-19 Juergen Vigna <jug@sad.it>
9977 * text2.C (clearSelection): reset also xsel_cache.
9979 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9980 where it needs to be called (John tells us to do so too :)
9981 (selectionLost): reset sel_cache.
9983 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9985 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9987 * text2.C (setCursorIntern): put debuging code in INSETS channel
9989 2002-03-19 André Pönitz <poenitz@gmx.net>
9991 * lyxfunc.C: tiny whitespace change
9993 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9995 * ToolbarDefaults.C (init):
9996 * LyXAction.C (init):
9998 * BufferView_pimpl.C (Dispatch):
9999 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10001 2002-03-19 Allan Rae <rae@lyx.org>
10003 * exporter.C (Export): removeAutoInsets before doing anything else.
10004 While I've just introduced a dependency on BufferView this really is
10005 the best place to clean the buffer otherwise you need to cleanup in
10006 a dozen places before calling export or cleanup in a dozen functions
10009 * converter.C (runLaTeX):
10010 (scanLog): Better handling of removeAutoInsets and screen updates.
10012 * lyxfunc.C (dispatch): small whitespace changes
10014 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10016 * WorkArea.C (C_WorkAreaEvent): return a value.
10017 (event_cb): return 1 if we handled the event, 0 otherwise.
10019 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10021 2002-03-18 Juergen Vigna <jug@sad.it>
10023 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10024 (GetAdditionalWidth): ditto.
10025 (RightLine): ditto.
10028 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10029 inset if we're there actually (probably not used right now but this
10030 is the direction to go for unifying code).
10031 (paste): disable code to clear the selection.
10033 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10034 inside an InsetText and move the check further up as it is in the
10037 * text2.C (pasteSelection): set a selection over the pasted text.
10039 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10041 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10042 and libgraphics to build on Cygwin.
10044 2002-03-15 Juergen Vigna <jug@sad.it>
10046 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10047 inserting an Inset into the paragraph. I know this is not the best
10048 fix but we already use current_view in CutAndPaste so we will remove
10049 all of it's using at the same time.
10051 * buffer.C (sgmlError): deactivated function till it is rewritten in
10052 the right mode, now it can create problems.
10054 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10055 before accessing it.
10057 2002-03-14 Juergen Vigna <jug@sad.it>
10059 * undo_funcs.C (textHandleUndo): do the right thing when updating
10060 the inset after the undo/redo.
10062 * text2.C (setCursor): just some testcode for #44 not ready yet.
10064 * undo_funcs.C (textHandleUndo): set the next() and previous()
10065 pointers of the paragraph to 0 before deleting otherwise we have
10066 problems with the Paragraph::[destructor].
10068 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10069 on a paragraph insertion.
10071 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * buffer.C (asciiParagraph): use += operator for char append to
10076 * paragraph.C (getFontSettings): compare >= not just >
10077 (highestFontInRange): ditto
10080 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10082 * paragraph.C: change several algorithm to be more appripriate for
10083 the problem domain. This is lookip in FontList and in the InsetList.
10085 2002-03-13 André Pönitz <poenitz@gmx.net>
10088 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10090 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10095 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10097 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10099 * Painter.C (display): anon helper function, adjust code for this
10101 (pixmap): remove function.
10103 * Painter.h: remove private display variable.
10105 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10107 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10109 * WorkArea.[Ch]: remove figinset_canvas cruft.
10111 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * lyxtextclass.C (operator): add one item cache optimization.
10115 * bufferlist.h: doxy changes
10117 * bufferlist.C: ws changes
10119 * DepTable.[Ch] (ext_exist): place const in the right spot.
10121 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10123 (workAreaExpose): call resizeInsets when the with BufferView changes.
10124 (Dispatch): adjust for protectedBlank removal
10125 (specialChar): call updateInset if the insert went ok.
10127 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10128 specialChar instead.
10130 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10132 * BufferView.h: doxy change
10134 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10136 * lyxtextclass.C (operator[]): remove non-const version
10137 (defaultLayout): remove non-const version
10139 2002-03-12 Juergen Vigna <jug@sad.it>
10141 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10142 did resize the LyXText too.
10144 * buffer.C (readLyXformat2): set layout information on newly allocated
10147 * tabular.C (OldFormatRead): set layout information on the paragraph.
10149 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10151 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10153 2002-03-11 Juergen Vigna <jug@sad.it>
10155 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10157 (resizeCurrentBuffer): force also the insets to resize themselfes.
10158 (moveCursorUpdate): fixed up for InsetText.
10160 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10163 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10164 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10165 value of Dialogs::tooltipsEnabled().
10166 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10168 2002-03-08 Juergen Vigna <jug@sad.it>
10170 * BufferView_pimpl.C (updateInset): update inset inside inset also
10171 if it isn't inside theLockingInset().
10173 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * buffer.C (asciiParagraph): redo some of the word and line length
10177 (getLists): look for Caption instead of caption.
10179 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10181 * buffer.C (Buffer): initialize niceFile to true
10183 (makeLinuxDocFile):
10184 (makeDocBookFile): make sure niceFile is true on exit
10186 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10190 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10192 * LyXSendto.C: remove.
10193 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10194 * lyx_gui.C: remove now-redundant comment.
10195 * ColorHandler.h: remove forward declaration of class WorkArea.
10196 * lyxfunc.C: remove #include "WorkArea.h".
10198 2002-03-07 Juergen Vigna <jug@sad.it>
10200 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10201 got moved away with the DEPM and also set the inset_owner always
10202 right which before could have been omitted.
10204 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10207 wanted layout is not found.
10209 2002-03-07 Juergen Vigna <jug@sad.it>
10211 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10213 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10215 * paragraph.C (breakParagraph): use default layout not layout of
10217 (Paragraph): clear ParagraphParameters.
10219 2002-03-06 Juergen Vigna <jug@sad.it>
10221 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10222 otherwise it would not be a valid lenght. Fixed a special case in
10223 the minipage compatibility read where we end the document with a
10226 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10227 was set as it could be 0 for InsetTexts first entry.
10229 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10231 * paragraph.C (writeFile): if layout is empty write out
10232 defaultLayoutName().
10234 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10235 file without named layout we set layout to defaultLayoutName().
10237 2002-03-06 Juergen Vigna <jug@sad.it>
10239 * CutAndPaste.C (copySelection): set layout for new paragraph.
10241 * text.C (prepareToPrint): leave ERT inset left aligned
10242 (leftMargin): don't indent paragraphs inside ERT insets
10244 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10246 * paragraph.C (breakParagraph): dont call clear do the work manually
10248 * paragraph.[Ch] (clear): remove function
10250 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10252 * paragraph.C (Paragraph): dont call clear, the work has already
10255 * lyxtextclass.C (operator): assert if n is empty
10257 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10258 work manually instead.
10260 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10262 * BufferView_pimpl.C: protect selectionLost against text == 0
10264 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10266 * text.C (breakParagraph): fix a setting layout to '0' problem.
10268 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10270 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10271 final location of file, for the included files, and graphics.
10273 2002-03-05 Juergen Vigna <jug@sad.it>
10275 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10277 2002-03-04 Juergen Vigna <jug@sad.it>
10279 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10281 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10282 last column of multicolumn cells.
10283 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10285 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10287 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10288 file if it doesn't go to a temporary file.
10290 * buffer.C (sgmlOpenTag):
10291 (sgmlCloseTag): remove extra newline insertion.
10293 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10295 * text.C (getRowNearY): comment out debug msg
10297 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10299 * text2.C: first -> first_y
10301 * text.C (getRowNearY): add some attemts at a possible
10302 optimization, not working.
10304 * tabular.[Ch]: add BufferParams to several function so that newly
10305 created paragraph can be initialized to he default layotu for the
10308 * tabular-old.C (ReadOld): add buf->params to call of Init
10310 * screen.C: rename text->first to text->first_y
10312 * paragraph.C (breakParagraph): always set layout in the broken
10315 * lyxtextclass.C (Read): remove lowercase
10318 (delete_layout): ditto
10320 * lyxtext.h: rename first -> first_y
10322 * lyxlayout.C (Read): remove lowercase
10325 (obsoleted_by): ditto
10327 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10329 * buffer.C (insertErtContents): add params are to InsetERT
10330 (parseSingleLyXformat2Token): add code to check if a paragraphs
10331 layout really exist.
10332 (parseSingleLyXformat2Token): add params to several inset
10334 (asciiParagraph): remove lowercase, do the layout comparisons with
10337 * BufferView_pimpl.C (cursorNext): first -> first_y
10338 (resizeCurrentBuffer): first -> first_y
10339 (updateScrollbar): first -> first_y
10340 (scrollCB): first -> first_y
10341 (workAreaMotionNotify): first -> first_y
10342 (workAreaButtonPress): first -> first_y
10343 (checkInsetHit): first -> first_y
10344 (cursorPrevious): first -> first_y
10345 (cursorNext): first -> first_y
10346 (Dispatch): add buffer_->params to severl inset contructors
10348 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10350 * lyxlayout.C (Read): remove some debug info that I forgot.
10352 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10353 clean up the code slightly.
10354 (makeLinuxDocFile): ditto
10355 (makeDocBookFile): ditto
10357 * text2.C: layout as string
10359 * text.C: layout as string
10361 * paragraph_pimpl.C: layout as string
10363 * paragraph.[Ch]: layout as string
10365 * lyxtextclasslist.[Ch]: layout as string
10367 * lyxtextclass.[Ch]: layout as string
10369 * lyxtext.h: layout as string
10371 * lyxlayout.[Ch]: layout as string
10373 * lyx_cb.C: layout as string
10375 * bufferview_funcs.C: layout as string
10377 * bufferparams.C: layout as string
10379 * buffer.C: layout as string
10381 * LyXView.[Ch]: layout as string
10383 * LaTeXFeatures.[Ch]: layout as string
10385 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10387 * BufferView_pimpl.C: change current_layout to string, remove
10392 (workAreaButtonRelease): layout as string
10394 * BufferView2.C (unlockInset): adjust
10396 * vspace.C (asLatexCommand): use an explict temp variable.
10398 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10400 * Makefile.am: use FRONTEND_*
10402 2002-03-01 Juergen Vigna <jug@sad.it>
10404 * tabular.C (SetWidthOfMulticolCell): changed to something better
10405 I hope but still work in progress.
10406 (recalculateMulticolumnsOfColumn): renamed function from
10407 recalculateMulticolCells as it is more appropriate now.
10408 (SetWidthOfCell): calculate multicols better.
10410 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10414 * lyxfunc.C (processKeySym): print sequence also if it is
10415 `deleted' (complete)
10417 * kbsequence.C (print): print sequence even if it is deleted
10418 (complete would be a better word, actually).
10420 * lyxfunc.C (dispatch): print complete options after a prefix key
10422 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10424 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10426 * text2.C (setCharFont): eliminate setCharFont code duplication.
10428 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10430 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10431 LFUN_TABULAR_FEATURE (bug #177)
10433 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10435 * Makefile.am: remove figure.h
10437 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10439 * Bufferview_pimpl.C:
10451 * text2.C: remove #include "lyx_gui_misc.h".
10453 * LaTeX.C: added #include <cstdio>
10455 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10457 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10458 that the paragraph following this one can have.
10460 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10462 * vspace.C (asLatexCommand): fix bogus gcc warning
10464 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10466 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10468 * text2.C (setLayout): get rid of redundant code
10470 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10472 * text2.C (incDepth): make sure depth cannot be increased beyond
10475 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10477 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10478 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10480 * PainterBase.h (image):
10481 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10482 a LyXImage const *.
10484 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10488 * BufferView_pimpl.C:
10489 * BufferView_pimpl.h:
10509 * sp_spell.C: remove fig inset, and the crap house of
10510 cards that follows it
10512 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10517 * os2_errortable.h:
10518 * nt_defines.h: move .h into support/
10520 * vms_defines.h: remove
10522 * WorkArea.C: add space in debug output
10526 * buffer.C: add WITH_WARNINGS
10530 * bufferlist.C: s/retrive/retrieve/, add docs
10539 * chset.C: add docs
10541 * lyxgui.C: add ID to X error handler
10543 * lyxtestclass.c: fix typo
10545 2002-02-26 Juergen Vigna <jug@sad.it>
10547 * tabular_funcs.C (write_attribute): changed so that some default
10548 attributes are not written at all.
10549 (getTokenValue): set default values before trying to read the
10550 value so we have the return value always set as default if we don't
10551 find the token we search for.
10553 * tabular.C (Write): write bools as bools not as strings!
10555 2002-02-22 Juergen Vigna <jug@sad.it>
10557 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10558 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10560 * text.C (leftMargin): don't add an indent for paragraphs inside
10561 tabular cells (fix #208).
10563 2002-02-21 José Matos <jamatos@fep.up.pt>
10565 * tabular.C (docBook): fixed support for long tables.
10567 2002-02-20 Juergen Vigna <jug@sad.it>
10569 * text2.C (getFont): get the drawing font of the Inset if this
10570 paragraph is inside an inset (only important for InsetERT for now).
10572 * buffer.C (insertErtContents): use new lanugage params in ERT
10575 * CutAndPaste.C: commenting out seemingly uneeded code.
10577 2002-02-19 Allan Rae <rae@lyx.org>
10579 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10580 Iterators might be simple to use but they also get invalidated.
10581 (removeAutoInsets): renamed saved cursor tracking variables and added
10582 some comments to clarify what everything does.
10584 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10591 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10592 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10595 * vc-backend.h: remove #include "support/syscall.h"
10599 * converter.C: rearrange #includes in Lars' approved fashion.
10601 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10602 forward declare class Timeout in the header file.
10604 * XFormsView.C: changes due to the above.
10606 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10607 similar to LyXView.
10609 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10610 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10612 2002-02-18 José Matos <jamatos@fep.up.pt>
10614 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10617 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10619 * a lot of small ws changes
10620 * add a lot of using std::XXX
10621 * use std construcs some places where approp.
10622 * use some exisint stuff from lyxfunctional where approp.
10623 * Make file changes to use partial linking (lets test this now...)
10625 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10629 remove #include "support/syscontr.h" as it's redundant. Always has been.
10637 change Systemcalls::System to Systemcalls::Wait and
10638 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10639 No change of functionality, just reflects the stripped down Systemcalls
10642 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10644 * debug.[Ch]: add a GRAPHICS type to the enum.
10646 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10648 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10650 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10653 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10655 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10656 match the changes below.
10658 * text2.C (toggleInset): if there is not editable inset at cursor
10659 position, try to see if cursor is _inside_ a collapsable inset
10662 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10664 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10665 document menu has a nice checkbox
10667 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10669 * lyxlength.C (asLatexString): change PW to output as percent of
10672 * lengthcommon.C: change '%' to 't%'
10674 * lyxfunc.C (dispatch): a few comments from Martin
10676 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10680 * BufferView_pimpl.h:
10681 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10684 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * vspace.C (inPixels): fix compiler warning
10688 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10690 * lyxfunc.C (getStatus): fix status message for disabled commands.
10692 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10694 * BufferView_pimpl.C: fix crash on close buffer
10695 during selection (#227)
10697 2002-01-27 Herbert Voss <voss@lyx.org>
10699 * buffer.C: link old Figure to new graphic inset
10701 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10703 * FontLoader.C (getFontinfo): Change the latex font names in order
10704 to match the names of type1inst.
10706 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10708 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10710 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10711 (extchanged): ditto
10713 (remove_files_with_extension): ditto
10714 (remove_file): ditto
10717 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10718 document is smaller than the work area height. Do not initialize
10719 static variables to 0.
10721 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10723 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10725 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10726 LFUN_LAYOUT_PARAGRAPHS.
10728 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10729 tabular. It is possible to provide a possible cell, which will
10730 typically be the actcell from the corresponding insettabular
10732 * lyxfunc.C (getStatus): small cleanup; disable
10733 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10736 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10738 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10740 * paragraph.C (startTeXParParams):
10741 (endTeXParParams): new methods. The LaTeX code to
10742 start/end paragraph formatting
10743 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10744 empty (fixes bug #200)
10746 * vspace.C (inPixels): adapt to the change below
10747 (inPixels): [later] more cleanups (remove unused variables)
10749 * lyxlength.C (inPixels): change to use a width and a height as
10752 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10754 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10755 Replaced with \paperwidth
10757 * DepTable.C (insert): add std:: qualifier
10759 2002-01-18 Allan Rae <rae@lyx.org>
10761 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10764 * text.C (drawInset): Turned out I didn't know enough about how
10765 rebreaking worked. This fixes most of the redraw problems. I see
10766 an occasional cursor trail when a line is broken now and the cursor
10767 placement can seem out by a few pixels also after a rebreak.
10769 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10771 * buffer.C (parseSingleLyXformat2Token): update because minipage
10772 width is now a LyXLength
10774 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10776 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10779 2002-01-17 Juergen Vigna <jug@sad.it>
10781 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10783 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10784 is set correctly and the inset is updated correctly.
10786 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10788 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10789 the beginning of the loop.
10791 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10793 * lyxrc.C: improve help for use_scalable_fonts
10795 2002-01-17 Allan Rae <rae@lyx.org>
10797 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10799 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10801 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10802 make sure to set their inset_owner to the right value (bug #171)
10804 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10807 * DepTable.C: Implement mtime checking to reduce time spent doing
10810 2002-01-16 Juergen Vigna <jug@sad.it>
10812 * tabular.C (GetAdditionalHeight): one of error fixed.
10814 * lyxrc.C (output): small fix in writing use_pspell.
10816 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10818 * sp_base.h: #include LString.h
10820 2002-01-16 Allan Rae <rae@lyx.org>
10822 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10823 Can someone check this please?
10825 * text.C (drawInset): It was possible that p.row would be removed by
10826 breakAgainOneRow upsetting a few other settings. There may be another
10827 small tweak possible by setting need_break_row = 0 when p.row has been
10828 removed but I don't know enough about the logic here.
10830 2002-01-15 Allan Rae <rae@lyx.org>
10832 * text.C (insertChar): removed conditional truism.
10834 * BufferView2.C (removeAutoInsets): More tweaks.
10835 cur_par_prev could be a stray pointer. Check for trailing empty line
10836 in case last line was cur_par and only had an error inset on it.
10838 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10840 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10843 * vc-backend.C (most methods):
10844 * exporter.C (Export):
10845 * converter.C (convert):
10847 * LyXSendto.C (SendtoApplyCB):
10848 * lyxfunc.C (dispatch):
10852 * lyx_cb.C (AutoSave):
10854 * BufferView_pimpl.C (MenuInsertLyXFile):
10855 * buffer.C (runChktex): use Buffer::filePath().
10857 * buffer.h: rename filename to filename_; rename filepath to
10858 filepath_ and make it private
10859 (filePath): new method
10861 * buffer.C (writeFile): use fileName()
10864 * lyx_main.C (init): fix starting of LyX when the binary is a
10865 link from so,ewhere else.
10867 * minibuffer.C: include <cctype> for isprint
10869 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10871 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10872 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10873 name clash with InsetCollapsable's width function.
10875 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10877 * lastfiles.C: include <iterator>
10879 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10881 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10884 * buffer.C (makeLaTeXFile): ditto.
10885 Also make loop operation more transparent.
10887 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10889 * ToolbarDefaults.C: remove trailing comma closing namespace.
10891 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10893 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10896 * trans.C (Load): comment out unused variable, allowed.
10898 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10900 * minibuffer.[Ch] (append_char): new method to recieve input from the
10901 drop-down completion browser. If a key was pressed, then recieve this
10902 char and append it to the existing string.
10903 (peek_event): modify the positioning data passed to the completion
10904 browser so that it can be placed above the minibuffer rather than below.
10905 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10907 * LyXAction.C (init): alloe error-next for readonly documents.
10909 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10912 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10914 * bufferlist.C (readFile): create the buffer _after_ checking that
10917 * lyxfunc.C (verboseDispatch): fix handling of arguments
10919 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10921 * lyxrc.C: use string::erase() instead of initializing to "".
10924 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10926 * BufferView_pimpl.h:
10927 * BufferView_pimpl.C:
10930 * text2.C: tell X when we have made a selection for copying
10932 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10934 * BufferView_pimpl.C (MenuInsertLyXFile):
10935 * lyxfunc.C (menuNew):
10937 (doImport): add shortcuts to directory buttons
10939 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10942 * lyxfunc.C (setStatusMessage):
10943 (getStatusMessage): new methods
10944 (getStatus):use setStatusMessage instead of setErrorMessage
10945 (dispatch): when function is disabled, set error message here
10946 [instead of in getStatus previously]
10948 * BufferView_pimpl.C (workAreaButtonRelease): update
10949 toolbar/menubar here too.
10951 2002-01-13 Allan Rae <rae@lyx.org>
10953 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10954 Now seems indestructible. Remaining task is to audit all other
10955 code affected by deleteEmptyParagraphMechanism. One small quirk
10956 left is that an empty document with an error in the preamble can
10957 be made to report an error but no error box appears. I don't know
10959 (removeAutoInsets): Improved comments.
10961 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10964 * Thesaurus.C: update for Aiksaurus 0.14
10966 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10968 * text2.C (firstParagraph): removed member function, all uses
10969 replaces with ownerParagraph
10970 (redoParagraphs): here
10971 (updateInset): here
10972 (toggleAppendix): here
10973 * BufferView2.C (insertErrors): here
10974 (setCursorFromRow): here
10976 2002-01-13 Allan Rae <rae@lyx.org>
10978 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10979 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10980 There is still a way to segfault this although you may have to do this
10981 multiple times: Have an InsetERT with an unknown command in it.
10982 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10983 <down-arrow>, <Enter> again, View->DVI, BANG!
10985 * text2.C (setCursor):
10986 (deleteEmptyParagraphMechanism):
10987 * lyxtext.h (setCursor):
10988 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10989 Making use of the return value may help fix other bugs.
10991 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10993 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10995 * LyXView.C (updateMenubar): call MenuBar::update here
10996 (updateToolbar): but not here
10997 (showState): do not update toolbar/menubar
10999 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11000 should need to care about that.
11002 * lyxfunc.C (verboseDispatch): simplify a bit
11003 (getStatus): have a version which takes a pseudoaction, and
11004 another which requires a (kb_action,string).
11006 * LyXAction.C (retrieveActionArg): make it work also when action
11007 is not a pseudo-action.
11008 (getActionName): simplify a bit
11011 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11013 * lyxfunc.C (verboseDispatch): new families of methods with
11014 several ways to specify a command and a bool to indicate whether
11015 the command name and shortcut should be displayed in minibuffer
11016 (eventually, we could extend that to a finer bitmask like
11017 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11018 (dispatch): the pristine dispatch command which just, well,
11019 dispatchs! Note it still sets its result to minibuffer; I'm not
11022 * lyxfunc.h: remove setHintMessage
11024 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11026 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11028 * BufferView_pimpl.C (specialChar): delete new inset if we have
11029 not been able to insert it.
11031 * kbmap.C: revert to using int instead of kb_action, since all we
11032 are dealing with is pseudo-actions.
11034 * LyXAction.C (searchActionArg): change to return int instead of
11035 kb_action, since the result is a pseudoaction.
11037 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11039 * buffer.C (insertErtContents): Fix (partially) the font bug.
11041 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11043 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11044 as the other one is broken on my machine!
11046 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11049 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11051 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11053 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11054 reflect their actual use. Provide compatibility code for older lyxrc
11057 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11059 change names of popup font variables in line with the changes to lyxrc.C
11061 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11063 * buffer.C (asciiParagraph): avoid outputing a word twice after
11066 * lyxrc.C (getDescription): document that document_path and
11067 template_path can be empty.
11069 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11071 * LaTeXFeatures.C (getMacros):
11072 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11074 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11076 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11078 (getPackages): rename feature "floats" to "float". Use an array to
11079 iterate over 'simple' features (i.e. just a \usepackage). Add
11080 handling of "amsmath" (renamed from "amsstyle").
11082 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11084 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11087 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11089 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11090 FuncStaus::FuncStatus & FuncStaus::some_method().
11092 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11094 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11095 of the func_satus stuff. Edited and massaged in various ways by
11098 * lyxfunc.C (getStatus): use FuncStatus
11100 2002-01-08 Juergen Vigna <jug@sad.it>
11102 * text.C (nextBreakPoint): use function Inset::isChar().
11104 * paragraph.C (TeXOnePar): use function
11105 Inset::forceDefaultParagraphs.
11107 * buffer.C (latexParagraphs): use function
11108 Inset::forceDefaultParagraphs.
11110 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11112 * lyx_gui.C (init): set the style of the menu popups to
11113 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11115 2002-01-07 Juergen Vigna <jug@sad.it>
11117 * text.C (setHeightOfRow): small fix
11118 (prepareToPrint): don't look at alignment if we don't have the place
11121 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11123 * box.C: New file. Move the Box methods and functions out of box.h,
11124 following Lars' suggestion.
11126 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11128 * box.h: #include "support/LOstream.h", needed for inlined function.
11131 * lyxtextclasslist.C: added some using std declarations.
11133 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11135 * box.h: make signed dimensions to allow insets wider than
11136 the screen (bug #162)
11138 * BufferView_pimpl.C: add some insetHit debug
11140 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11142 * vc-backend.C: add FIXME
11144 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11146 * lyxfunc.C (getStatus): enable code for showing math font status
11149 2002-01-07 Juergen Vigna <jug@sad.it>
11151 * text.C (nextBreakPoint): removed debug output not needed anymore.
11153 2002-01-06 Juergen Vigna <jug@sad.it>
11155 * text.C (nextBreakPoint): fixed up this function we had this bug
11156 since ever but now hopefully we break row better.
11157 (insertChar): we have to check if an inset is the next char as it
11158 could now happen that a large inset is causing a break.
11160 2002-01-05 Juergen Vigna <jug@sad.it>
11162 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11163 if it doesn't like to be drawed.
11165 2002-01-04 Juergen Vigna <jug@sad.it>
11167 * BufferView2.C (lockInset): forgot to set a cursor.
11169 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11171 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11173 * FormMathsPanel.C:
11176 * form_maths_panel.C:
11177 * form_maths_panel.h:
11178 * form_maths_panel.fd: implemented sub- and super- buttons in math
11181 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11182 (or ^ space) to be used as in TeX (req'd by André).
11184 * lyxfunc.C: Allow ^ and _ again to be used both as
11185 super/subscript (mathed) and as themselves (in text).
11187 2002-01-03 Allan Rae <rae@lyx.org>
11189 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11190 "LyX" or the filename of the current buffer if it has one. This is a
11191 modified form of John Levon's patch.
11193 * XFormsView.C (setWindowTitle): also set icon title.
11195 * LyXView.h (setWindowTitle): signature changed.
11196 * XFormsView.h (setWindowTitle): ditto.
11198 2002-01-02 Juergen Vigna <jug@sad.it>
11200 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11202 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * screen.C (topCursorVisible): introduce a temp var for
11205 text->cursor.row(), handle the case where this row is null. (kindo
11208 * text2.C (setCursor): add a couple of asserts.
11210 * paragraph.h (inset_iterator): add -> operator
11212 * paragraph.[Ch] (autoDeleteInsets): remove member function
11214 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11215 cursor pos correctly and handle inset deletion by itself.
11216 (insertErrors): move iterator declaration out of for expression
11218 * lyxtextclass.C: add <algorithm>
11220 * Makefile.am: added the new files to sources, removed layout.C
11222 * layout.C: removed file
11224 * layout.h: remove LYX_DUMMY_LAYOUT
11226 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11230 * lyxtextclass.[Ch]:
11231 * lyxtextclasslist.[Ch]: new files
11233 * include order changes to a lot of files, also changes because of
11236 2001-12-27 Juergen Vigna <jug@sad.it>
11238 * buffer.C (asciiParagraph): more fixes.
11240 * tabular.C (ascii): make ascii export support export of only the
11241 data separated by a column-delimiter.
11242 (ascii): better support for ascii export.
11244 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11246 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11248 * tabular_funcs.C: use a "using std::getline" instead of the
11249 previous fix from Angus (necessary for cxx + lyxstring)
11251 2001-12-24 Juergen Vigna <jug@sad.it>
11253 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11255 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11256 problems. First check a minipage also if we have some ert-contents
11257 (not only on par->size(), second set the right depth of the paragraph
11258 on the relink to the root-paragraph-list!
11260 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11261 which then did not anymore update the main paragraphs on undo/redo!
11263 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11265 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11266 code. Support all font-changing funcs (even those which are not in
11267 menu currently). Support for reporting font settings in
11268 mathed (disabled until Andre provides a function on mathed's side).
11270 * func_status.h (toggle): small helper function to set toggle
11273 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11275 * tabular_funcs.C: getline -> std::getline
11277 2001-12-21 Juergen Vigna <jug@sad.it>
11279 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11280 accessed and could be 0 (I couldn't generate this but it seems
11283 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11285 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11286 * tabular_funcs.h: here and include iosfwd
11288 2001-12-20 Juergen Vigna <jug@sad.it>
11290 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11291 inside inset but undo_par was.
11293 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11295 * Thesaurus.C: always include <config.h> in sources.
11299 * box.h: do not include <config.h> in header files
11301 * text.C (paintLastRow): remove unused variable
11303 * text.C (transformChar):
11305 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11307 * Painter.C (text):
11308 * font.C (width): rewrite to use uppercase() instead of
11311 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11313 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11315 * lyxfind.C: clean up of find failure position change
11317 2001-12-20 Juergen Vigna <jug@sad.it>
11319 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11321 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11322 (TeXRow): added to LaTeX a single tabular row.
11323 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11324 (Latex): simplified and finally good LT-h/f support.
11325 (various_functions): just small adaptions for LT-h/f support.
11327 * tabular_funcs.[hC]: added and moved here all not classfunctions
11330 2001-12-19 Juergen Vigna <jug@sad.it>
11332 * tabular.[Ch]: better support for longtabular options (not finished
11335 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * text.C (paintLastRow): use the label font instead of the font of
11338 the last character to compute the size of *_BOX. This makes more
11339 sense and avoids a crash with empty paragraphs.
11340 Use Painter::rectangle to draw EMPTY_BOX.
11342 2001-12-19 Juergen Vigna <jug@sad.it>
11344 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11345 the paragraphs if the replaced paragraph is not the first one!
11346 Tried to delete not used paragraphs but does not work yet so for
11347 now it's inside #ifdef's and by default off!
11349 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * MenuBackend.C: include "lyx_main.h" instead of declaring
11352 lastfiles (actually was declared as LastFiles* instead of a
11355 2001-12-17 Juergen Vigna <jug@sad.it>
11357 * tabular.C (AppendColumn): applied John's fix
11359 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11363 * BufferView_pimpl.h:
11364 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11367 * box.h: new start of class for above
11369 * lyxfunc.C: ignore space-only minibuffer dispatches.
11370 Show the command name when it doesn't exist
11372 * minibuffer.C: don't add empty lines to the history
11374 * minibuffer.C: add a space on dropdown completion
11376 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11378 * text.C: fix line above/below drawing in insets
11380 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * lyxlength.C (LyXLength): Initialize private variables.
11384 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11386 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11387 when inserting error insets.
11389 2001-12-13 Juergen Vigna <jug@sad.it>
11391 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11392 actually sometimes the before-paragraph.
11393 (setUndo): don't clear the redostack if we're not actually undoing!
11395 2001-12-06 Juergen Vigna <jug@sad.it>
11397 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11398 and fixed redoing of main paragraph, so we can use it now ;)
11400 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11402 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11404 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11407 2001-12-13 André Pönitz <poenitz@gmx.net>
11410 * undo_func.C: minor cleanup
11412 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11414 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11415 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11416 font in urw-fonts package which is marked as -urw-fontspecific and
11417 does not work (incidentally, changing the encoding in the
11418 fonts.dir of this package to -adobe-fontspecific fixes the
11421 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11422 is a crash when undoing first paragraph (Juergen, please take a
11423 look). THis does not mean the undo fix is wrong, just that it
11426 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11427 the (Paragraph*) version when needed instead of duplicating the
11430 * text.C (workWidth): use Inset::parOwner to find out where the
11431 inset has been inserted. This is a huge performance gain for large
11432 documents with lots of insets. If Inset::parOwner is not set, fall
11433 back on the brute force method
11435 * paragraph_pimpl.C (insertInset):
11436 * paragraph.C (Paragraph):
11437 (cutIntoMinibuffer): set parOwner of insets when
11438 inserting/removing them
11440 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11442 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11448 * mathed/formulabase.C:
11449 * mathed/math_cursor.[Ch]:
11450 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11453 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * lyxlength.[Ch] (operator!=): new function
11457 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11459 * text.C (workWidth): use Inset::parOwner to find out where the
11460 inset has been inserted. This is a huge performance gain for large
11461 documents with lots of insets. If Inset::parOwner is not set, fall
11462 back on the brute force method
11464 * paragraph_pimpl.C (insertInset):
11465 * paragraph.C (Paragraph):
11466 (cutIntoMinibuffer): set parOwner of insets when
11467 inserting/removing them
11469 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11471 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11473 * tabular-old.C (getTokenValue):
11474 * tabular.C (getTokenValue):
11475 (write_attribute): new versions for LyXLength
11476 (everywhere): adjust the use of widths
11478 * tabular.h: change the type of widths from string to LyXLength
11480 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11482 * paragraph.C: fixed missing line number count when exporting
11483 Environments to LaTeX file
11485 * buffer.C: added informational message for checking line numbers.
11487 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11489 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11490 paragraph, do the 'double space' part, but not the 'empty
11493 * text.C (workWidth): small optimization
11494 (getLengthMarkerHeight): use minimal size for negative lengths.
11496 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11498 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11500 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11502 2001-12-11 André Pönitz <poenitz@gmx.net>
11505 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11507 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11509 * text2.C: keep selection on a setFont()
11511 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11513 * lyx_cb.C: another bv->text misuse, from insert label
11515 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11518 * kbsequence.C: re-instate nmodifier mask
11520 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11522 * lyx_main.h: make lyxGUI private.
11524 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11526 * lyxfind.C: place the cursor correctly on failed search
11528 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * text.C (getLengthMarkerHeight): for small heights, the arrows
11531 are not always on top/bottom of the text
11532 (drawLengthMarker): smaller arrows; take the left margin in
11533 account; draw also vfills.
11535 (paintLastRow): remove special code for vfill and standard spaces,
11536 since everything is handled in drawLengthMarker now.
11538 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11540 * buffer.C (insertErtContents): try to handle font and language
11541 interaction a bit better.g
11543 * ColorHandler.C (updateColor): change the hash to cover the whole
11544 LColor enum, ws cleanup
11545 (getGCLinepars): ditto
11546 (getGCLinepars): only lookup in the linecache once.
11548 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11550 * iterators.C (operator++): Make the iterator more robust
11552 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11554 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11556 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11559 * text.C: better added space drawing
11561 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11564 * BufferView2.C: fix layout combo update on inset unlock
11566 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11568 * Makefile.am: don't compile unused files
11570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11574 * LyXAction.C: remove old LFUN_LAYOUTNO
11576 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11578 * paragraph_pimpl.h:
11579 * paragraph_pimpl.C: isTextAt() doesn't need font param
11581 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11584 * lyxlex.C: little cleanup
11586 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11588 * BufferView_pimpl.C: fix insertAscii for insets
11590 2001-12-05 Juergen Vigna <jug@sad.it>
11592 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11593 set the right font on the "multi" paragraph paste!
11595 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11601 * lyxlength.C: remove out-commented code.
11603 * BufferView_pimpl:
11617 * vc-backend.C: change "while(" to "while ("
11619 * lyxlength.[Ch]: add zero function to check if length is zero or
11621 * lyxgluelength.C: use it
11623 2001-12-05 Allan Rae <rae@lyx.org>
11625 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11626 Works for 2.95.3, from what I understand of Garst's reports this should
11627 work for other g++ versions. We're screwed if the abs(int) definition
11628 changed between bugfix releases of gcc.
11630 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11632 * text.C: fix chapter label offset !
11634 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11637 * text.C: fix hfill at end of line, clean up
11639 2001-12-04 Juergen Vigna <jug@sad.it>
11641 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11642 that we force an update of the inset and it's owners if neccessary.
11644 2001-12-03 Juergen Vigna <jug@sad.it>
11646 * text.C (rowLast): simplified code
11648 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11650 * lyxfunc.C: fix show options on timeout
11652 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * screen.C (topCursorVisible): scroll half a page when the cursor
11655 reached top of bottom of screen
11657 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11659 * minibuffer.C: deactivate on loss of focus
11661 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11663 * vspace.[Ch] (operator!=): add operator.
11665 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11667 * BufferView_pimpl.C: refuse to open an inset when
11668 there's a selection.
11670 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11672 * BufferView_pimpl.C: allow to click on RHS of full row insets
11674 2001-11-30 Juergen Vigna <jug@sad.it>
11676 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11677 insets for undo reasons.
11679 2001-11-28 André Pönitz <poenitz@gmx.net>
11681 * vspace.[Ch]: cosmetical changes
11683 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11693 * kbsequence.C: part re-write of old kb code
11696 * WorkArea.C: remove Lgb_bug_find_hack
11698 2001-11-30 José Matos <jamatos@fep.up.pt>
11700 * buffer.C (makeDocBookFile): add a comment to point a hack.
11701 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11702 Fixed a double write of labels.
11704 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11707 * LaTeX.h Fixed bug in LaTeX class where it would not
11708 re-run latex if no depfiles were changed, but the .dvi was removed.
11710 2001-11-28 André Pönitz <poenitz@gmx.net>
11712 * all the files from the change on 2001/11/26:
11713 use lyx::layout_type instead of LyXTextClass::size_type
11714 use lyx::textclass_type instead of LyXTextClassList::size_type
11716 2001-11-29 Juergen Vigna <jug@sad.it>
11718 * text.C: added support for paragraph::isFreeSpacing()
11720 * buffer.C: same as above
11722 * paragraph.h: inserted isFreeSpacing() function to enable
11723 FreeSpacing inside InsetERT.
11725 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11726 of the paragraph's in the cut/copy buffer to 0!
11728 * text2.C (removeRow): remove the assert as it can!
11730 * lyxtext.h: added helper function firstRow returning firstrow and
11731 made firstrow private again.
11733 * BufferView2.C (lockInset): don't relock if we're already locked!
11735 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11736 the only paragraph.
11737 (removeRow): added Assert::(firstrow)
11739 * debug.C: forgot to add INSETTEXT here.
11741 2001-11-28 Juergen Vigna <jug@sad.it>
11743 * sp_spell.C (initialize): changed error text to more general
11744 spellchecker command use (not only ispell!)
11746 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11748 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11750 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11752 * vspace.C: initialise lyxgluelength on failure
11754 2001-11-28 Allan Rae <rae@lyx.org>
11756 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11757 declaration & definition that looks like a function declaration.
11759 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11761 * BufferView2.C (copy):
11762 (copyEnvironment): do not clear the selection when doing a copy.
11764 * text.C (paintFirstRow): compilation fix
11766 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11768 * tabular.C (Latex): correct line count when writing latex.
11770 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11772 * paragraph_pimpl.h:
11773 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11776 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11780 * LColor.C: change vfillline->added_space
11782 * text.C: add markers and text for added space
11784 * vspace.C: fix comment
11786 2001-11-28 André Pönitz <poenitz@gmx.net>
11788 * paragraph.C: whitespace changes
11789 * all the other files from the change on 2001/11/26:
11790 change *::pos_type into lyx::pos_type
11792 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11794 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11795 language of the document when inserting error insets.
11797 2001-11-26 André Pönitz <poenitz@gmx.net>
11799 * BufferView_pimpl.[Ch]:
11807 * paragraph_pimpl.[Ch]:
11810 * text2.C: reduce header dependencies, introduce type for positions
11812 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11814 * <various>: change to use Alert.h
11816 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11818 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11819 when encountering an unknown token.
11820 (readLyXformat2): Show an error message if there were unknown tokens.
11822 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11825 * BufferView_pimpl.C:
11829 * text2.C: use par->isInset()
11831 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11833 * paragraph_pimpl.h:
11834 * paragraph_pimpl.C: cleanup
11836 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11838 * text2.C (removeRow):
11839 * text.C (setHeightOfRow): remove useless (and costly) call to
11842 2001-11-20 Allan Rae <rae@lyx.org>
11844 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11845 Now need Inset*::checkInsertChar() to return true for appropriate
11846 cases so that the characters in the minibuffer will actually be
11849 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * text.C: change the order of the includes.
11852 (workWidth): initialize it at once.
11853 (workWidth): make maxw unsigned
11854 (setHeightOfRow): remove unused variable (inset)
11855 (selectSelectedWord): remove unused variable (inset)
11856 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11858 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11860 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11861 server is not running.
11863 (closeConnection): add debug info when server is disabled.
11865 * ColorHandler.C (getGCForeground): send debug message to GUI
11868 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11870 * kbmap.C (bind): modify because return conventions of
11871 kb_sequence::parse have changed.
11873 * kbsequence.C (parse): only ignore spaces and not any stupid
11874 control character. This avoids tests like s[i] <= ' ', which are
11875 guaranteed to fail with 8bit characters and signed chars.
11876 Change return code to string::npos when there have been no error
11877 (0 was a bad idea when error is at first character)
11879 2001-11-14 José Matos <jamatos@fep.up.pt>
11882 * buffer.C (simpleDocBookOnePar): removed unused argument.
11884 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11886 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11887 insets which are part of a word. Paragraph::isLetter takes care of
11888 that now. Use Paragraph::isInset to identify insets.
11889 (selectSelectedWord): do not test for hyphenation break.
11891 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11892 that protected spaces are considered as spaces.
11894 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11897 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11900 * lyxserver.C: fix it. and small cleanup.
11902 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11904 * BufferView_pimpl.C: use inline helpers
11907 * LaTeXFeatures.C: fix typos
11910 * Spacing.C: move spacing_string into class
11912 * ToolbarDefaults.C: move stuff into namespace anon
11914 * layout.h: update enum
11916 * lyxfunc.C: use better debug
11918 * minibuffer.h: fix typo
11922 * WorkArea.C: add and use Debug::WORKAREA
11926 * text2.C: code re-organisation, inline helpers
11928 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11930 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11931 std::vector.empty().
11933 2001-11-09 Allan Rae <rae@lyx.org>
11935 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11936 '\n's after tables. Tabular and ERT inset work now makes this no
11939 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11942 * minibuffer.C: fix crash, improve drop-down completion
11944 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11947 * lyxserver.C: invalidate fd's when doing endPipe()
11949 2001-11-08 José Matos <jamatos@fep.up.pt>
11951 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11952 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11955 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11957 2001-11-07 José Matos <jamatos@fep.up.pt>
11960 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11963 * buffer.C (sgmlOpenTag):
11964 * buffer.C (sgmlCloseTag): removed debug info.
11966 * buffer.h (sgmlOpenTag):
11967 * buffer.h (sgmlCloseTag): made public.
11969 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11971 * buffer.C (saveParamsAsDefaults):
11972 * lyx_cb.C (MenuLayoutSave): remove
11974 * LyXAction.C (init):
11976 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11978 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11980 * buffer.C (setPaperStuff): removed from here...
11982 * bufferparams.C (setPaperStuff): ... and moved there.
11984 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11988 * XFormsView.C: add support for drop-down completion
11990 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11992 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11995 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11997 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12000 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12002 * lyx_main.C: change ref to known bugs
12004 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12006 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12007 to work around older babel problems.
12009 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12011 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12013 2001-10-24 Juergen Vigna <jug@sad.it>
12015 * tabular-old.C (ReadOld): below variable changes reflected.
12017 * tabular.[Ch]: added ltType struct for longtable header/footer
12018 defines and changed all instances where they are used. Added
12019 future support for double top/bottom rows.
12021 2001-10-24 José Matos <jamatos@fep.up.pt>
12023 * buffer.h (docbookHandleCaption):
12024 * buffer.C (docbookHandleCaption): removed unused function.
12025 (makeDocBookFile): moved docbook supported version to v4.1.
12027 2001-10-24 José Matos <jamatos@fep.up.pt>
12030 * tabular.C (docbookRow): new function to export docbook code of a row.
12031 (DocBook): now honors the longtable flags.
12033 2001-10-23 José Matos <jamatos@fep.up.pt>
12036 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12037 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12039 * buffer.C (makeLinuxDocFile):
12040 (makeDocBookFile): reworked the preamble, more clean, and with
12041 support for lyx defined entities. Changed the document declaration
12042 to be more XML friendly.
12044 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12045 if we need to output XML that should be done with a filter.
12047 2001-10-22 Juergen Vigna <jug@sad.it>
12049 * sp_pspell.h (class PSpell): add alive function needed in the
12050 controller to see if the spellchecker could be started.
12052 2001-10-22 Juergen Vigna <jug@sad.it>
12054 * buffer.C (insertStringAsLines): modify the font for inserting
12055 chars in certain conditions by calling checkInsertChar(font).
12057 2001-10-19 Juergen Vigna <jug@sad.it>
12059 * text.C (workWidth): use getRow instead of wrong algorithm.
12060 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12062 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12067 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12069 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12071 * text.C (workWidth): do not search for the exact row when
12072 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12073 optimization for big documents.
12075 2001-10-18 Juergen Vigna <jug@sad.it>
12077 * text.C (workWidth): new function with added Inset * parameter.
12079 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12081 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12083 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12084 change return type of getColumnNearX.
12087 * text.C (changeRegionCase): use uppercase/lowercase instead of
12090 (rightMargin): simplify code by factoring out the uses of
12095 (appendParagraph): use Paragraph::size_type
12097 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12099 * vspace.C (asLatexString): add a missing break
12101 2001-10-15 Herbert Voss <voss@perce.de>
12103 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12105 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12107 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12110 2001-10-10 André Pönitz <poenitz@gmx.net>
12112 * lyxfunc.C: removed greek_kb_flag.
12114 2001-10-10 Herbert Voss <voss@perce.de>
12116 * lyx_main.C: delete global string help_lyxdir.
12118 2001-10-09 Herbert Voss <voss@perce.de>
12120 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12122 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12124 * lyx_main.C: added global string help_lyxdir.
12126 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12128 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12130 * lyxrc.C (set_font_norm_type): support iso8859-4
12132 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12134 * LaTeX.C (deplog): add another regex for MikTeX
12136 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12138 * lyxrc.C (set_font_norm_type): support iso8859-3
12140 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12142 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12144 * LaTeXFeatures.C: remove special case of french and index
12146 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12147 before \begin{document}). This solves several incompatibilities.
12149 2001-10-03 Garst Reese <reese@isn.net>
12151 * lyx_cb.C: change CheckTex error msg.
12153 2001-10-03 José Matos <jamatos@fep.up.pt>
12155 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12157 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12159 * .cvsignore: update
12161 * lyx_main.C (commandLineVersionInfo): use new style version info.
12163 * buffer.C (writeFile):
12165 (makeLinuxDocFile):
12166 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12168 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12170 * version.h: update to use stuff in version.C
12172 * version.C.in: new file. Contains version information determined
12173 at compile time. This is a merging of version.h and
12176 2001-10-03 Juergen Vigna <jug@sad.it>
12178 * BufferView_pimpl.C (update): don't change "dirty" status in
12181 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12183 * WorkArea.C (c-tor): re-position version string slightly.
12185 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12187 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12188 revert to previous code.
12190 WorkArea.[Ch]: (show, destroySplash): methods removed.
12192 WorkArea.C: rework code so that it's an amalgam of the codes before and
12193 after the splash screen was moved to WorkArea.
12195 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12198 * vspace.C (inPixels):
12201 * buffer.C (insertStringAsLines):
12202 (asciiParagraph): fix types to be large enough
12204 * lyxlex_pimpl.h: change member status from short to int
12206 * layout.h: fix type of endlabeltype
12209 * kbsequence.C (parse): change return type to string::size_type
12211 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12214 * Bullet.C (bulletSize):
12215 (bulletEntry): do not use short ints as parameters
12217 * BufferView2.C (insertLyXFile): change a char to an int.
12219 * WorkArea.C (WorkArea): remove unneeded floats in computation
12221 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12223 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12225 * paragraph.C (asString): Do not ignore newline/hfill chars when
12226 copying to the clipboard.
12228 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12230 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12231 after a multi-line inset.
12233 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12235 * paragraph.C (validate): Set NeedLyXFootnoteCode
12237 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12239 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12240 and decrease-error to decrease.
12242 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12244 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12245 it more readable (should be equivalent)
12247 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12249 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12251 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12253 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12254 of a cursor (row, etc.) after a character has been deleted
12255 (deleteEmptyParagraphMechanism): call the method above on _all_
12256 cursors held by the LyXText when a double space has been
12259 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12261 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12263 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12265 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12266 background. Use greyOut() and the new show() methods to toggle between
12267 the foreground and background. Add code to remove the splash after
12268 its initial showing.
12270 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12271 (create_forms): no longer call Dialogs::showSplash.
12273 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12275 * .cvsignore: add version_info.h
12277 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12279 * version_info.h.in: new file
12281 * Makefile.am: add version_info.h.in
12283 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12284 version_info.h instead of VERSION_INFO
12286 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12288 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12289 The ERT inset now returns string().
12291 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12293 * lyxtext.h, text.C (selectNextWord): renamed as
12294 selectNextWordToSpellcheck.
12296 * text.C (selectNextWordToSpellcheck): Modified to not select
12297 words inside an ERT inset.
12299 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12301 * lyx_cb.C (MenuLayoutSave): change a bit the question
12303 * sp_base.h: include <sys/types.h>
12305 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12307 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12309 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12311 * several files: fix typos in user-visible strings
12313 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * text2.C (pasteSelection): do not set the selection, since it
12316 will be cleared later. Actually, the intent was to fix the way the
12317 selection was set, but I figured rmoving the code was just as good.
12319 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12321 * FontLoader.C (available): Check if font is available without
12324 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12326 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12328 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12330 * lyxrc.[Ch]: added display_graphics variable and associated code.
12332 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12334 * bufferparams.C (hasClassDefaults): new method. Returns true if
12335 the buffer parameters correspond to known class defaults
12337 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12339 * XFormsView.C (show): set minimum size to the main window.
12341 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12343 * text2.C (copySelection):
12345 * lyxfind.C (LyXReplace):
12346 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12347 LyXText::selectionAsString.
12349 * paragraph.C (asString): add "label" argument to the second form
12351 * text2.C (selectionAsString): add "label" argument and pass it to
12352 Paragraph::asString.
12354 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12356 * lyx_main.C (commandLineHelp): remove version information
12358 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12360 * lyx_main.C: add -version commandline option
12362 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12364 * paragraph.h: make the optional constructor arg required instead.
12365 some modifications to other files because of this.
12367 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12369 * lyxserver.C (C_LyXComm_callback): make it static
12371 * lyx_main.C (error_handler): make it static
12373 * lyx_gui.C (LyX_XErrHandler): make it static
12375 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12377 * WorkArea.C: make the extern "C" methods static.
12379 * Makefile.am (lyx_LDADD): simplify
12381 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12383 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12384 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12386 * LyXAction.C (init):
12387 * lyxfunc.C (dispatch): associated code removal.
12389 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12391 * lyxfont.h (isSymbolFont): shut off warning
12393 * text.C (setHeightOfRow):
12394 (getVisibleRow): fix crash with empty paragraphs which have a
12397 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12399 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12402 2001-09-04 José Matos <jamatos@fep.up.pt>
12405 * tabular.C (docbook): rename docBook method to docbook.
12407 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12409 * Makefile.am: add dependencies to main.o.
12411 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12413 * FontLoader.C (available): Return false if !lyxrc.use_gui
12415 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12417 * FontInfo.C (query):
12418 * converter.C (view):
12419 * importer.C (Import):
12420 * exporter.C (Export): Can not -> cannot.
12422 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12424 * BufferView_pimpl.C: allow to create index inset even if
12427 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12429 * buffer.C (getLists): replace boost::tie code with an explicit pair
12430 as boost::tie can break some compilers.
12432 * iterators.h: Added a std:: declaration to the return type of
12435 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12437 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12440 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12442 * iterators.[Ch]: New files. Provide paragraph iterators.
12444 * buffer.C (changeLanguage): Use paragraph iterators.
12445 (isMultiLingual): ditto
12447 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12449 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12451 * FontLoader.C: Support for cmr font.
12453 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12455 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12456 (available): New method.
12458 * FontInfo.C (getFontname): Use scalable fonts even when
12459 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12462 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12464 * converter.C (Formats::view): reverted! Incorrect fix.
12466 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12468 * converter.C (Formats::view): only output the -paper option
12469 if the dvi viewer is xdvi, thereby fixing bug #233429.
12471 2001-08-23 Herbert Voss <voss@perce>
12473 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12475 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12477 * Spacing.h (Spacing): Set space to Default on in the default
12480 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12482 * vc-backend.h (RCS::versionString): add RCS to version
12483 (CVS::versionString): add CVS to version
12485 * vc-backend.C (scanMaster): do not add CVS to version.
12486 (scanMaster): do not add RCS to version
12488 * lyxvc.C (versionString): new method
12490 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12492 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * Spacing.C (set): initialize fval
12496 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12498 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12501 2001-08-16 Juergen Vigna <jug@sad.it>
12503 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12505 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12507 * BufferView_pimpl.C:
12510 * text2.C: setParagraph takes linespacing now
12512 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12514 * LyxAction.C: add internal LFUN_CITATION_INSERT
12516 * LyXView.C: actually apply fix
12518 * bufferlist.C: fix open non-existent file
12520 * lyxfind.C: fix indentation
12522 * lyxfunc.C: remove unneeded assert, fix typo
12524 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12526 * MenuBackend.C: use "Floatname List"
12528 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12530 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12531 when converting LaTeX layout to insetERT.
12532 Generate a non-collapsed float when reading old float
12534 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12536 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12539 2001-08-13 Juergen Vigna <jug@sad.it>
12541 * text.C (fill): return 0 instead of 20 as this seems to be the more
12544 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12546 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12549 2001-08-13 Juergen Vigna <jug@sad.it>
12551 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12553 (SearchBackward): comment out the unlocking of the inset_owner this
12554 should not be needed!
12556 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12558 * Many files: Remove inherit_language, and add latex_language
12560 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12561 collapsible insets.
12563 2001-08-10 Juergen Vigna <jug@sad.it>
12565 * text.C (prepareToPrint): fixed hfill-width in draw!
12567 * BufferView2.C (selectLastWord): save the selection cursor as this
12568 now is cleared in the function LyXText::clearSelection!
12570 2001-08-08 Juergen Vigna <jug@sad.it>
12572 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12573 BACKSPACE type functions.
12575 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12576 is only cutted from the document but not put in the cut-buffer, where
12577 still the old stuff should be.
12579 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12581 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12583 * tabular.C (SetWidthOfCell): fixed special case where the width
12585 (LeftLine): handle '|' in align_special.
12587 (LeftAlreadyDrawed): ditto
12588 (SetWidthOfCell): ditto
12590 2001-08-07 Juergen Vigna <jug@sad.it>
12592 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12594 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12596 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12597 * lyxlex.[hC]: ditto
12599 2001-08-06 Juergen Vigna <jug@sad.it>
12601 * text.C (getVisibleRow): fix up row clearing a bit.
12603 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12605 * minibuffer.C: make sure the X server sees the changes in the input.
12607 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12609 * paragraph.C (getFont): split into...
12610 (getLabelFont): this
12611 (getLayoutFont): and this
12612 * paragraph_pimpl.C (realizeFont): calling this
12614 * text2.C (getFont): split into...
12615 (getLayoutFont): this
12616 (getLabelFont): and this
12617 (realizeFont): all three calling this
12619 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12622 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12624 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12626 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12628 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12629 layouts from the Quote inset insertion.
12631 2001-08-03 Juergen Vigna <jug@sad.it>
12633 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12635 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12636 only if status not is already CHANGED_IN_DRAW (second level).
12638 * text.C (draw): don't set the need_break_row when inside an
12641 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12643 * buffer.C (parseSingleLyXformat2Token): handle more latex
12646 * bufferview_funcs.[hC]: change function names to
12647 begin with small char, adjust other files.
12649 2001-08-02 André Pönitz <poenitz@gmx.net>
12652 BufferView_pimpl.C: remove broken special code for math-greek
12654 2001-08-02 Juergen Vigna <jug@sad.it>
12656 * BufferView_pimpl.C (update): redone this function so that we
12657 update the text again if there was a CHANGE_IN_DRAW.
12659 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12660 (drawFromTo): added a new internal bool which is used by draw() and
12662 (general): some cursor drawing problems fixed.
12664 2001-08-01 Juergen Vigna <jug@sad.it>
12666 * lyxfind.C (LyXFind): fixed
12667 (SearchForward): ditto
12668 (SearchBackward): ditto
12670 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12671 spurius drawing of the cursor in the main area.
12673 * text2.C (status): small fix which could lead to a segfault!
12674 (clearSelection): remove unneeded BufferView param.
12676 2001-08-01 André Pönitz <poenitz@gmx.net>
12678 * lyxfunc.C: small change due to changed mathed interface
12680 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12682 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12684 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12686 * lyxfunc.c: fail gracefully if file doesn't exist
12691 * BufferView_pimpl.C: IsDirWriteable() proto changed
12693 * LyXView.C: fix updateWindowTitle() to store the last title
12695 2001-07-31 Juergen Vigna <jug@sad.it>
12697 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12698 the font (wrong since using of Paragraph::highestFontInRange).
12700 * paragraph.C (highestFontInRange): added a default_size parameter.
12702 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12703 (setHeightOfRow): reformat
12705 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12707 * converter.[hC] + affected files: move to (inital-char)lowercase
12710 * ParagraphParameters.C (ParagraphParameters): remove commented code
12712 * PainterBase.[Ch]: remove commented code
12714 * LaTeXFeatures.h: add "bool floats" for float.sty
12716 * LaTeXFeatures.C (LaTeXFeatures): init floats
12717 (require): handle float
12718 (getPackages): do it with floats
12720 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12722 * BufferView_pimpl.C (Dispatch): improve handling of
12723 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12725 * commandtags.h: #include lyxfont.h here temporarily to avoid
12728 * bufferlist.h: include LString.h here.
12730 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12732 * text2.C (getStringToIndex): new method.
12734 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12736 * *: Reduced header file dependencies all over.
12738 2001-07-30 Baruch Even <baruch@lyx.org>
12740 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12742 2001-07-29 Baruch Even <baruch@lyx.org>
12744 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12746 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12748 * ParameterStruct.h (endif): add a default constructor to make
12749 sure that all variables is initialized.
12751 * ParagraphParameters.C (ParagraphParameters): adjust
12753 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12755 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12756 index; also, check that there is something to index, and that it
12757 does not span over several paragraphs.
12758 (doubleClick): use WHOLE_WORD_STRICT for double click.
12760 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12762 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12765 2001-07-26 Baruch Even <baruch@lyx.org>
12767 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12768 an InsetFig figure, backwards compatible reading of old figure code.
12770 2001-07-27 Juergen Vigna <jug@sad.it>
12772 * text2.C: font.realize function adaption.
12774 * text.C (draw): add a warnings lyxerr text if needed.
12776 * layout.C: font.realize function adaption.
12778 * language.C: add inherit_language and implement it's handlings
12780 * bufferview_funcs.C (StyleReset): remove language parameter from
12781 font creation (should be language_inherit now).
12783 * bufferparams.C (writeFile): handle ignore_language.
12785 * paragraph.C (getFontSettings): the language has to be resolved
12786 otherwise we have problems in LyXFont!
12788 * lyxfont.C (lyxWriteChanges): added document_language parameter
12789 (update): removed unneeded language parameter
12791 * paragraph.C (validate): fixed wrong output of color-package when
12792 using interface colors for certain fonts in certain environments,
12793 which should not seen as that on the final output.
12795 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12797 * BufferView_pimpl.C:
12802 * LyXAction.C: add thesaurus support
12805 * lyxfind.C: add "once" parameter, for thesaurus, to not
12806 move to the next match
12808 2001-07-26 Juergen Vigna <jug@sad.it>
12810 * lyxfont.C (realize): honor ignore_language too!
12813 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12815 * text.C (draw): one place more for ignore_language to not draw
12818 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12820 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12822 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12825 the minipage conversion problem.
12827 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12829 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12832 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12834 * BufferView.h: don't forward declare WorkArea
12836 * BufferView.C: don't include WorkArea.h
12838 2001-07-25 André Pönitz <poenitz@gmx.net>
12842 * lyxfunc.C: new LFUN 'math-space'
12844 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12846 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12848 * text2.C (toggleInset): call open/close
12850 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12852 * lyxfunc.C (dispatch): add debug for the disabled case
12854 * font.C (buttonText): make similar to rectText
12856 * buffer.C (readInset): comment out parsing of insetlist and
12859 * PainterBase.C (rectText): small correction
12861 * BufferView_pimpl.C: comment out insettheorem and insetlist
12862 * LyXAction.C: ditto
12863 * commandtags.h: ditto
12865 2001-07-24 Juergen Vigna <jug@sad.it>
12867 * text.C (draw): honor the ignore_language.
12869 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12871 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12873 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12876 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12878 * lyxtext.h: remove unused (and unimplemented) methods
12880 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12882 * text.C (getVisibleRow): honor background color
12885 * Painter.h: remove default color argument for fillRectangle
12887 * text.C (backgroundColor): new method
12889 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12891 * text.C (getVisibleRow): adjust
12893 * font.[Ch] (rectText): new method, metrics
12894 (buttonText): new method, metrics
12896 * PainterBase.[hC]: make rectText and buttonText always draw and take
12899 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12901 * ToolbarDefaults.C (read):
12902 * MenuBackend.C (read): allow escaping in all strings
12904 * BufferView_pimpl.C (insertAndEditInset): new method.
12905 (Dispatch): use insertAndEditInset whenever appropriate.
12907 * BufferView_pimpl.C (insertNote): removed
12909 * BufferView_pimpl.C (smartQuote): new method, moved from
12910 BufferView; if an insetquote cannot be inserted, insert a '"'
12913 * BufferView2.C: remove insertCorrectQuote();
12915 * lyxfunc.C (getStatus): Add support for all remaingin
12916 inset-insert lfuns.
12918 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12920 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12921 command (necessary to pass " as parameter of self-insert.
12923 * text.C (selectWordWhenUnderCursor):
12924 (selectWord): add word_location parameter
12925 (selectWordWhenUnderCursor): same + remove special code for word
12927 (selectNextWord): use kind() to guess type of insetspecialchar,
12930 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12931 (insertErtContents): create ert insets as collapsed.
12932 (readInset): better compatibility code for Info inset.
12934 2001-07-20 Juergen Vigna <jug@sad.it>
12936 * lyxfunc.C (dispatch): use always LyXFind now!
12938 * text2.C (init): add a reinit flag so that the LyXText can be
12939 reinited instead of deleted and reallocated (used in InsetText).
12941 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12947 2001-07-18 Juergen Vigna <jug@sad.it>
12949 * text.C (selectNextWord): handle insets inside inset by calling
12950 always the bv->text functions so that we can go up the_locking_inset!
12952 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12953 in strange locations when inside an inset!
12955 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12956 handling to include insets.
12958 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12960 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12962 * LyXAction.C (init):
12964 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12965 LIGATURE_BREAK, since the name is so stupid.
12967 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12969 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12972 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12974 * sp_form.[Ch]: remove.
12976 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12978 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12981 * src/buffer.C (readInset): ditto.
12983 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12985 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12986 menuSeparator(), endOfSentenceDot(), ldots() and
12987 hyphenationPoint(), which are therefore removed.
12988 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12990 * LyXAction.C (init):
12991 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12993 * paragraph.C (getWord): removed.
12995 * BufferView_pimpl.C (Dispatch): use last word or selection for
12996 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12998 * lyx_main.C (queryUserLyXDir): do not ask before creating
12999 user_dir, except if it has been named explicitely.
13001 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13003 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13004 a document of zero size.
13006 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13008 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13009 approriately in the c-tor and in require().
13010 (getPackages): output the appropriate LaTeX for natbib support.
13012 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13013 variables "use_natbib" and "use_numerical_citations" when reading the
13015 (readInset): read the various natbib cite commands.
13016 (validate): white-space change.
13018 * bufferparams.[Ch]: new variables "bool use_natbib" and
13019 "bool use_numerical_citations".
13020 (writeFile): output them in the LyX file.
13022 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13024 * lyxfunc.C (getStatus): add support for all the inset insertion
13027 * text2.C (insertInset):
13028 * paragraph.C (insetAllowed):
13029 * BufferView_pimpl.C (insertInset): update to take in account the
13030 renaming of insertInsetAllowed
13032 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13034 * text2.C (getInset): new method. returns inset at cursor position.
13036 * BufferView_pimpl.C (Dispatch): changes because of this.
13038 * LyXAction.C (init): rename open-stuff to inset-toggle.
13040 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13042 * text2.C (toggleInset): renamed from openStuff; use
13045 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13047 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13049 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13051 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13053 * buffer.C (readLyXformat2): Add filename to the error dialog
13055 2001-07-18 Juergen Vigna <jug@sad.it>
13057 * tabular.C (GetCellNumber): put an assert here instead of the check!
13059 2001-07-17 Juergen Vigna <jug@sad.it>
13061 * BufferView_pimpl.C (toggleSelection): adapted too.
13063 * text.C (selectNextWord): adapted for use with insets.
13064 (selectSelectedWord): ditto
13066 2001-07-17 Juergen Vigna <jug@sad.it>
13068 * sp_spell.C (PSpell): fix initialitation order.
13070 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * paragraph.C: spacing
13074 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13076 * sp_spell.C: repair language selection for pspell
13078 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13080 * lyxfunc.h: change more methods to begin with lower char.
13082 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13084 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13085 for unknown layouts.
13087 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13089 * buffer.C (readLyXformat2): Generate an error dialog if there are
13092 2001-07-16 Juergen Vigna <jug@sad.it>
13094 * sp_spell.C: always compile ISpell part.
13096 * lyxrc.C: added use_pspell entry and it's handling.
13098 2001-07-13 Juergen Vigna <jug@sad.it>
13100 * sp_spell.C: removed double includes.
13102 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13104 Consistent use of Lsstream.h:
13105 * Lsstream.h: added using std::stringstream for consistencies sake.
13107 * buffer.C: removed using std::stringstream
13109 * lyxfont.C (stateText):
13110 * paragraph.C (asString):
13111 * text.C (selectNextWord, selectSelectedWord):
13112 * text2.C (setCounter):
13113 * vspace.C (asString, asLatexString):
13114 std::ostringstream -> ostringstream.
13116 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13118 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13119 * commandtags.h: add LFUN_HELP_ABOUTLYX
13120 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13122 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13124 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13126 * lyx_gui_misc.C: remove spellchecker
13127 * lyxfunc.C: showSpellchecker
13129 * sp_ispell.h: added
13130 * sp_pspell.h: added
13131 * sp_spell.C: added
13132 * sp_form.[Ch]: removed
13133 * spellchecker.[Ch]: removed
13135 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13137 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13139 (simpleTeXSpecialChars): Simply print the input character without
13140 any special translation if pass_thru is set.
13142 * layout.h: Added bool pass_thru to layout class for being able to
13143 implement pass through of a paragraph for Literate Programming.
13145 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13146 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13147 * layout.C (Read): add "passthru" to list of layout tags and add
13148 code to set the pass_thru boolean when it is read.
13150 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13152 * trans_decl.h: remove allowed from KmodInfo
13154 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13155 remove allowed code
13158 * paragraph_pimpl.C (erase): use boost::prior
13160 * Painter.C (text): use data() instead of c_str() when length is
13162 * WorkArea.C (putClipboard): ditto
13163 * font.h (width): ditto
13165 * BufferView2.C: use it-> instead of (*it). for iterators
13167 * paragraph_pimpl.C: ditto
13168 * paragraph.C: ditto
13169 * minibuffer.C: ditto
13170 * language.C: ditto
13172 * encoding.C: ditto
13173 * counters.C: ditto
13174 * converter.C: ditto
13176 * Variables.C: ditto
13177 * TextCache.C: ditto
13178 * MenuBackend.C: ditto
13179 * LyXAction.C: ditto
13181 * FloatList.C: ditto
13182 * DepTable.C: ditto
13183 * ColorHandler.C (LyXColorHandler): ditto
13185 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13189 * text2.C (openStuff): reintroduce this method (which had been
13190 nuked in NEW_INSETS frenzy).
13192 * lyxfunc.C (Dispatch): when an action has not been handled, use
13193 its name in the error message, not its number.
13195 * paragraph.C (inInset): change method name to begin with lowercase.
13198 * text2.C: updates because of this.
13200 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13202 * ToolbarDefaults.C (add): add spaces in error message
13204 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13206 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13207 (readLyXformat2): rename return_par to first_par, use lyxlex's
13208 pushToken and remove the manual push handling.
13209 (parseSingleLyXformat2Token): add another ert comp. variable:
13210 in_tabular, rename return_par to first_par. handle newlines better
13212 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13216 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13218 * text2.C (getParFromID): removed
13220 * buffer.C (getParFromID): new method moved form lyxtext.
13221 * BufferView2.C (insertErrors): adjust
13222 (setCursorFromRow): adjust
13223 * BufferView_pimpl.C (restorePosition): adjust
13224 * lyxfunc.C (Dispatch): adjust
13225 * undo_funcs.C (textUndo): adjust
13227 (textHandleUndo): adjust
13228 (textHandleUndo): adjust
13230 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13232 * buffer.C: up' the LYX_FORMAT
13234 * lyxfont.h: turn NO_LATEX on as default
13236 * buffer.C (insertErtContents): new methods of tex style compability.
13237 (parseSingleLyXformat2Token): use it several places.
13238 * tabular.C (OldFormatRead): and here
13240 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13242 * text2.C: remove some commented code.
13245 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13246 * trans.C: changes because of the above.
13248 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13250 * text2.C (setCounter): Fix counters bug with bibliography layout.
13252 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13254 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13255 own member functions
13256 (simpleTeXSpecialChars): ditto
13258 2001-07-06 Juergen Vigna <jug@sad.it>
13260 * a lot of files: changed the access to LyXText::status and the
13261 call of undo-functions.
13263 * undo.[Ch]: added a inset_id to the undo informations.
13265 * undo_funcs.[Ch]: added and moved here all undo functions.
13267 * lyxtext.h: give the status enum a weight, made status_ a private
13268 variable and made accessor functions for it, removed the whole bunch
13269 of undo-functions as they are now in their own file, make some
13270 functions publically available. Added function ownerParagraph with
13273 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13274 made InInset() a const function, added getParFromID() function.
13276 * buffer.[Ch]: added const version for inset_iterator functions,
13277 added getInsetFromID() function.
13279 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13280 changed undo functions for new version.
13282 2001-07-05 Juergen Vigna <jug@sad.it>
13284 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13285 unknow mechanism does not call the proper constructor but only this
13286 one also if I request the other!?
13288 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13290 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13292 * text2.C (LyXText): use initialization lists.
13294 * lyxtext.h (Selection): initialize set_ and mark_
13295 (init): remove method
13297 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13299 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13301 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13303 * screen.[Ch]: change method names to begin with lowercase
13305 * BufferView_pimpl.C (updateScrollbar): simplify further and
13306 hopefully make it a bit faster.
13308 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13310 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13311 calling directly xforms functions.
13313 * Painter.C (Painter):
13314 * lyx_cb.C (MenuWrite):
13315 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13318 * lyx_gui.C: remove bogus guiruntime extern declaration.
13320 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13322 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13324 (redoDrawingOfParagraph): ditto
13325 (redoParagraphs): ditto
13326 (cutSelection): don't create a object for CutAndPaste use the
13327 static method directly
13328 (pasteSelection): ditto
13330 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13333 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13335 * modifications to some other files because of this.
13337 * Makefile.am (lyx_SOURCES): add XFormsView
13339 * XFormsView.[Ch]: new files
13341 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13342 the main window. Move the gui dependent stuff to XFormsView
13344 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13346 * tabular.C (GetCellInset): update cur_cell also in the row/col
13347 version of this function.
13349 * lyxfunc.C: no need to include figure_form.h here.
13355 * lyxvc.C: no need to include forms.h here.
13357 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13361 * lyxfunc.C (Dispatch):
13363 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13364 constructor argument.
13366 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * paragraph.C (Paragraph): dont't clear, and just set layout.
13369 (makeSameLayout): use params's copy contructor.
13371 * ParagraphParameters.[Ch] (makeSame): delete method
13373 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13375 * Variables.[Ch]: fix indentation, rename set to isSet
13377 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13379 * lyxfunc.C (Dispatch): fix typo
13381 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13383 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13386 * bufferlist.C: include assert.h for emergencyWrite().
13388 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13390 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13391 give up at last (bug #425202) !
13393 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13399 * spellchecker.C: strip spellchecker options and bring up
13400 preferences tab instead
13402 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13404 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13405 the istringstream constructor
13407 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * paragraph.C (getLayout): fix return value
13411 * paragraph.h: do not declare getLayout as inline.
13413 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13415 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13417 * lyxcursor.h (operator<): new func
13418 (operator>): new func
13419 (operator>=): new func
13420 (operator<=): new func
13422 * text.C (changeCase): use selection.start and selection.end
13423 (changeRegionCase): require from to be <= to. Require par to be a
13426 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13428 2001-06-27 Juergen Vigna <jug@sad.it>
13430 * text.C (cursorLeftOneWord): changed to return the cursor and added
13431 overlay with BufferView * parameter which calls this one.
13433 (selectWord): use new getWord function.
13434 (changeCase): renamed from changeWordCase as and extended to work
13435 also on selections.
13437 * lyxtext.h: added enum word_location
13439 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13440 changeCase as this operates now also on selections.
13442 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13444 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13446 * many files: send debug output to Debug::INFO instead of
13449 * converter.C (View):
13451 (Move): send debug output to Debug::FILES instead of console.
13453 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13455 * lyxfunc.C (getStatus): use func_status
13457 * func_status.h: new header, describing the results of
13458 LyXFunc::getStatus;
13460 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13463 2001-06-25 The LyX Project <jug@sad.it>
13465 * buffer.C (sgmlOpenTag):
13467 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13469 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * text2.C: remove some dead code
13473 * tabular.C (GetCellInset): store the last cell checked (gotten)
13475 * tabular.h: add the helper for the speedup
13477 * lyxtext.h: remove some dead code
13479 2001-06-26 The LyX Project <Asger>
13481 * paragraph.C: Change export to LaTeX of alignment to
13482 \begin{center} and family for better roundtrip work with reLyX.
13484 * Tune the math drawing a bit.
13486 2001-06-25 The LyX Project <Asger>
13488 * LColor.C (LColor): New color for math background. New color
13491 2001-06-25 The LyX Project <jug@sad.it>
13493 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13495 * lyxfunc.C (Open):
13496 * bufferlist.C (newFile): do not restrict to files ending with
13499 * BufferView_pimpl.C (MenuInsertLyXFile):
13501 2001-06-24 The LyX Project <jug@sad.it>
13503 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13506 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13508 * lyxtext.h: rename most methods to begin with a small char.
13509 Lots of changes because of this.
13511 * paragraph.C (Paragraph): do not call fitToSize
13512 (erase): call Pimpl::erase
13513 (insertChar): call Pimpl::insertChar
13514 (insertInset): call Pipl::insertInset
13515 (breakParagraph): do not call fitToSize
13516 (breakParagraphConservative): do not call fitToSize
13517 (fitToSize): remove method
13519 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13521 2001-06-24 The LyX Project <Asger>
13523 * Fix Qt compilation^2
13525 2001-06-24 The LyX Project <jug@sad.it>
13527 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13528 depthHook(getDepth()-1).
13531 * ParagraphParameters.h:
13532 * ParameterStruct.h: change type of depth to unsigned int ==
13533 depth_type. Many adaptations to other files before of that.
13535 2001-06-24 The LyX Project <Asger>
13537 * Fix Qt compilation.
13539 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13541 * paragraph.h: renamed several methods to begin with small letter.
13542 several changes to many parts of the code because of this.
13544 2001-06-23 The LyX Project <jug@sad.it>
13546 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13547 rewritten to discard all double spaces when KeepEmpty is off
13548 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13549 to only handle newlines but not fiddle with spaces and friends.
13551 * lyxfunc.C (MenuNew): when doing 'new from template', use
13552 template_path as default directory
13554 2001-06-23 The LyX Project <Asger>
13556 * Clean-up of header file includes all over
13557 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13559 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13561 * paragraph.h: renamed from lyxparagraph.h
13563 2001-06-23 Asger <lyx@violet.home.sad.it>
13565 * Buffer.h: Removed Buffer::resize
13566 * BufferList.h: Removed BufferList::resize
13567 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13568 the document lazily when we change the width, or the font settings.
13570 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13572 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13574 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13576 * buffer.h: remove out of date comment
13578 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13581 * screen.C: fix "theoretical" GC leak
13583 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13585 * LaTeX.C (scanAuxFile):
13586 (deplog): remove trailing \r when reading stream (useful under
13589 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13591 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13592 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13593 and BufferView::theLockingInset(Inset*), so should use them and not
13594 access bv_->text->the_locking_inset directly.
13596 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13598 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13601 * tex-defs.h: remove old unused file
13603 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13605 * BufferView_pimpl.C: fix typo, remove minibuffer message
13606 when buffer has loaded
13608 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13610 * lyxfunc.C (Dispatch): use stringstream
13611 (MenuNew): use stringstream
13612 (Open): use stringstream
13614 * importer.C (Import): use stringstream
13616 * bufferview_funcs.C (CurrentState): use stringstream
13618 * LaTeX.C (run): use stringstream
13620 * BufferView_pimpl.C (savePosition): use stringstream
13621 (restorePosition): use stringstream
13622 (MenuInsertLyXFile): use stringstream
13624 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13637 * vspace.C: removed // -*- C++ -*- as first line.
13640 * version.h: added // -*- C++ -*- as first line.
13642 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13644 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13646 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13649 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13651 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13654 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13656 * gettext.C: include LString.h even when --disable-nls is on.
13658 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13660 * converter.h (Get): changed argument type from int to
13661 FormatList::size_type to avoid unnecessary conversion.
13663 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13666 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * gettext.h: include LString.h even when --disable-nls is on.
13670 2001-06-07 Juergen Vigna <jug@sad.it>
13672 * text.C (BreakAgain): subst spaces with tabs.
13674 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13675 (resizeInsetsLyXText): set force on resizeLyXText.
13677 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13679 * gettext.h (gettext_init):
13680 (locale_init): use a real definition instead of a macro
13682 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13684 * Bufferview_pimpl.C:
13686 * LColor.C: further lcolor tidies
13688 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13690 * BufferView_pimpl.C (updateScrollbar): simplify.
13692 * BufferView2.C: don't include insets/insetinfo.h, change
13693 prototype for insertInset and call the Pimpl version. let
13694 updateInset call Pimpl version.
13696 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13697 gotoInset to BufferView::Pimpl
13699 2001-06-01 Juergen Vigna <jug@sad.it>
13701 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13702 inside a LockingInset (is the update needed at all?).
13704 2001-05-31 Juergen Vigna <jug@sad.it>
13706 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13707 here not the old one otherwise how should we compare it afterwards
13710 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13715 * FontInfo.C: bring C functions into global namespace when
13718 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13720 * LString.h: make sure config.h has been loaded before LString.h.
13722 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13723 (one for each char read by EatLine!).
13725 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13728 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13730 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13731 to the same as the par we break from
13733 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13735 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13737 * MenuBackend.C (expand): also create menu entries for wide
13738 versions of the floats.
13740 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13742 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13744 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13745 frontends/Makefile.am
13751 * tabular.C (getTokenValue): add std::
13753 * tabular-old.C (getTokenValue): add std::
13754 (getTokenValue): ditto
13755 (getTokenValue): ditto
13757 * screen.C (ToggleSelection): adjust
13759 * lyxtext.h: put selection cursors inside a Selection struct.
13761 * lyxfunc.C (moveCursorUpdate): adjust
13763 * lyxfont.C (latexWriteStartChanges): add std::
13765 * lyxfind.C: adjust
13767 * font.h: delete with(char const *, LyXFont const &)
13769 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13771 * FontInfo.C (getFontname): add std::
13773 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13774 (workAreaButtonPress): adjust
13775 (tripleClick): adjust
13777 (moveCursorUpdate): adjust
13780 * BufferView2.C (gotoInset): adjust
13782 2001-05-30 Juergen Vigna <jug@sad.it>
13784 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13785 to check pspell I add this as default as I now have new pspell
13786 libraries and they seem to use this.
13788 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13790 * text2.C (CutSelection): make the cursor valid before the call to
13793 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13795 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13796 relied on 0 terminated strings and other horrors. Bug found due to
13797 the new assert in lyxstring!
13799 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13802 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13807 * lyxfunc.C (processKeySym): change method of getting to the
13810 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13811 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13812 * BufferView_pimpl.[Ch]: here as private methods.
13814 2001-05-28 Juergen Vigna <jug@sad.it>
13816 * text.C (SetHeightOfRow): added the update() call again as it is
13817 needed to initialize inset dimensions!
13819 2001-05-16 Juergen Vigna <jug@sad.it>
13821 * text2.C (SetCharFont): Add new function with BufferView * and
13822 bool toggleall parameters for setting insets internal fonts.
13823 (SetFont): Freeze the undo as we may change fonts in Insets and
13824 all this change should be inside only one Undo!
13826 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13827 setting font's in insets as for them we have the SetFont function!
13829 2001-05-15 Juergen Vigna <jug@sad.it>
13831 * text2.C (ClearSelection): to be sure we REALLY don't have any
13834 * tabular.C (TeXCellPreamble): fixed the left border problem for
13837 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13839 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13842 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13844 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13845 LFUN_BREAKPARAGRAPH.
13847 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13848 help test to "internal only", similar for LFUN_INSERT_URL
13850 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13851 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13852 auto_region_delete and deadkeys.
13854 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13857 * LColor.C: remove some dead entries, tidy a little
13859 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13861 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13863 (Dispatch): implement LFUN_ESCAPE
13865 * commandtags.h: add LFUN_ESCAPE
13867 * LyXAction.C (init): add entry for LFUN_ESCAPE
13869 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13870 Remove commented code.
13871 (insertNote): moved here
13872 (open_new_inset): moved here
13874 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13877 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13879 * kbmap.C (findbinding): clean it up and make it work correctly.
13881 * lyx_main.C (init): do not pass argc and argv as parameters
13883 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13885 * buffer.C: fix path for OS/2 & Win32
13889 * lyx_main.C: Added os:: class.
13891 * os2_defines.h: update
13893 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13895 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13896 better by trying again with reduced state.
13898 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13900 * lyxrc.C (read): print error about invalid key sequence only when
13901 debugging (because not all latinX keysyms are known to some X
13904 * kbsequence.C (getiso): add a few std:: qualifiers
13905 (getiso): comment out extra return statement.
13907 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13909 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13911 (Dispatch): enhance the accent inset a bit. (not perfect)
13913 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13917 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13919 * bufferlist.C (emergencyWrite): fix assert() call
13921 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13923 * text.C (InsertChar): Added trivial patch to only send the "you
13924 can not do multiple spaces this way" message once during a
13927 2001-05-08 Baruch Even <baruch@lyx.org>
13929 * Makefile.am: Changed order of libraries to get LyX to link properly
13930 with the gnome frontend.
13932 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13934 * LaTeXFeatures.h: add a std:: qualifier
13936 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * paragraph.C (String): use stringstream
13940 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13942 * paragraph.C (writeFile): remove footflag arg
13944 * buffer.C (makeLaTeXFile): use stringstream
13945 (latexParagraphs): remove footnot gurba
13947 * LaTeXFeatures.C (getPackages): use stringstream
13948 (getMacros): likewise
13949 (getTClassPreamble): likewise
13950 (getFloatDefinitions): new method
13952 * paragraph.C (writeFile): reindent
13955 * WorkArea.h: revert the xpos + etc changes.
13957 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13959 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13961 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13962 (pasteSelection): likewise
13963 * text2.C (CreateUndo): likewise
13965 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13967 * minibuffer.C (peek_event): temporarily reduce the functionality
13968 of the minibuffer (to allow args on lfuns)
13970 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13971 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13973 * buffer.C (readInset): add compability reading of old float
13974 lists, add reading of new style float list.
13975 (readInset): avoid reevaluation of inscmd.getCmdName()
13976 (getLists): reindent
13978 * MenuBackend.C (MenuItem): implement parsing of
13979 md_floatlistinsert and md_floatinsert.
13980 (expand::LastFiles): move initalizaton of iterators out of loop,
13981 avoid reevaluation.
13982 (expand::Documents): introduce typdedef vector<string> Strings,
13984 (expand::ExportFormats): introduce typedef vector<Format const *>
13985 Formats, and use it.
13986 (expand): implement FloatListInsert and FloatInsert.
13988 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13989 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13990 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13992 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13994 (Dispatch::LFUN_FLOAT_LIST): implement
13996 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13998 * LaTeX.C (run): Fix problem with --export code.
14000 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14002 * BufferView.[Ch] (workarea): removed.
14003 (getClipboard) new method; wrapper for workarea()->getClipboard()
14005 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14008 * WorkArea.h (width, height, xpos, ypos): These methods all
14009 returned the dimensions of the work_area sub-area of WorkArea,
14010 resulting in a position error if the WorkArea were resized. Now
14011 return the dimensions of the entire WorkArea.
14013 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14015 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14017 * LaTeX.C (deplog): correct the syntax of regex reg1
14019 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14021 * undo.C: remove !NEW_INSETS cruft
14023 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14025 * text2.C: remove !NEW_INSETS cruft
14027 * text.C: remove !NEW_INSETS cruft
14029 * tabular.C: remove !NEW_INSETS cruft
14031 * spellchecker.C: remove !NEW_INSETS cruft
14033 * lyxtext.h: remove !NEW_INSETS cruft
14035 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14037 * lyxfunc.C: remove !NEW_INSETS cruft
14039 * lyxfind.C: remove !NEW_INSETS cruft
14041 * lyx_cb.C: remove !NEW_INSETS cruft
14043 * figureForm.C: remove !NEW_INSETS cruft
14045 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14047 * buffer.[Ch]: remove !NEW_INSETS cruft
14049 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14051 * CutAndPaste.C: remove !NEW_INSETS cruft
14053 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14055 * BufferView2.C: remove !NEW_INSETS cruft
14057 * BufferView.h: remove !NEW_INSETS cruft
14059 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14061 * Lsstream.h: include LString.h before the sstream headers to
14062 fix problem with gcc 2.95.3 and lyxstring
14064 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14066 * lyx_main.C: add using directives when needed for C functions
14067 declared in std:: namespace.
14069 2001-04-27 Juergen Vigna <jug@sad.it>
14071 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14072 (SetHeightOfRow): comment out the update call should not be needed!
14074 2001-04-13 Juergen Vigna <jug@sad.it>
14076 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14077 (LyXTabular): tried to minimize operator= operations (and realized
14078 hopfully Lars wish).
14080 2001-04-27 Juergen Vigna <jug@sad.it>
14082 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14084 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14086 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14088 * buffer.C (readInset): hack to make listof algorithm work
14090 * BufferView_pimpl.C: hack to make listof algorithm work
14092 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14094 * LyXAction.C: removed all !NEW_INSETS cruft
14095 (init): moved lfun_item in method
14097 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14099 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14101 * BufferView2.C (theLockingInset): white space.
14103 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14105 * minibuffer.C: include <iostream>
14107 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14109 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14111 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14113 * text.[Ch] (TransposeChars): new method
14115 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14117 * call message directly through LyXView instead of through LyXFunc
14118 * BufferView2.C: adjust
14119 * BufferView_pimpl.C: adjust
14120 * FontLoader.C: adjust
14122 * bufferview_funcs.C: adjust
14123 * converter.C: adjust
14124 * figureForm.C: adjust
14125 * importer.C: adjust
14127 * lyx_gui_misc.C: adjust
14128 * lyxfunc.C: adjust
14131 + more files in subdirs
14133 * lyxparagraph.h (size): move up int file
14136 * adjust all uses of Assert to lyx::Assert.
14138 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14139 lyxfunctional in namespace lyx
14140 * layout.C (hasLayout): ditto
14143 (delete_layout): ditto
14144 (NumberOfClass): ditto
14145 * converter.C (GetFormat): ditto
14150 * bufferlist.C (getFileNames): ditto
14151 (emergencyWriteAll): ditto
14154 * MenuBackend.C (hasSubmenu): ditto
14157 * BufferView_pimpl.C (getInsetByCode): ditto
14159 2001-04-18 Juergen Vigna <jug@sad.it>
14161 * vspace.C (asLatexString): fixed the 100% problem.
14163 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14165 * lyxfunc.C (Dispatch):
14167 * minibuffer.h: add a few std:: qualifiers
14169 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14171 * minibuffer.[Ch]: reimplement so that commands is initiated and
14172 run from lyxfunc, simplified som handling, and made the completion
14173 and history code for complete. wip.
14175 * lyxfunc.C (processKeySym): call message
14176 (miniDispatch): new temporary method
14177 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14178 (LFUN_MESSAGE): implement
14179 (LFUN_MESSAGE_PUSH): implement
14180 (LFUN_MESSAGE_POP): implement
14181 (initMiniBuffer): the initial/defualt minibuffer message.
14183 * lyxfont.[Ch]: inline some more getters
14185 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14187 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14189 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14190 (AutoSave): use LFUN_MESSAGE
14191 (Reconfigure): ditto
14193 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14195 * figureForm.C: use LFUN_MESSAGE
14197 * converter.C (runLaTeX): use LFUN_MESSAGE
14199 * bufferview_funcs.C: use LFUN_MESSAGE
14201 (changeDepth): ditto
14203 * bufferparams.h: use boost::
14205 * bufferlist.h: inherit privately from noncopyable
14207 * bufferlist.C (loadLyXFile): remove some commented code.
14209 * buffer.C (runChktex): use LFUN_MESSAGE
14211 * ShareContainer.h: inherit privately from noncopyable
14213 * ParagraphParameters.[hC] (depth): inline it.
14215 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14217 (message): new method
14218 (messagePush): ditto
14219 (messagePop): ditto
14220 (show): init minibuffer
14221 (showState): direct call
14223 * LaTeX.[Ch]: inherit privately from noncopyable
14224 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14225 instead of WriteStatus.
14227 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14229 * BufferView_pimpl.C (buffer): don't init minibuffer
14230 (workAreaButtonPress): use LFUN_MESSAGE
14231 (workAreaButtonRelease): ditto
14232 (savePosition): ditto
14233 (restorePosition): ditto
14234 (MenuInsertLyXFile): ditto
14235 (workAreaExpose): don't init minibuffer
14236 (update): remove commented code, simplify
14238 * BufferView2.C (openStuff): use LFUN_MESSAGE
14239 (toggleFloat): ditto
14242 (copyEnvironment): ditto
14243 (pasteEnvironment): ditto
14248 (updateInset): remove some commented code
14250 * lastfiles.h: inherit privately from noncopyable
14253 * lyx_main.h: ditto
14255 * lyxlex_pimpl.h: ditto
14257 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14258 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14259 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14261 * LyXAction.h: inherit privately from noncopyable, add methods
14262 func_begin, func_end, returning iterators to the func map.
14264 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14265 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14266 (func_begin): new method
14267 (func_end): new method
14269 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14271 (copySelection): ditto
14272 (pasteSelection): ditto
14274 * BufferView.C: whitespace change
14275 * BufferView.h: inherit privately from noncopyable
14277 2001-04-16 Allan Rae <rae@lyx.org>
14279 * tabular-old.C (l_getline):
14280 * spellchecker.C (sc_check_word):
14281 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14282 an unrecognised preprocessor directive. So ensure they're wrapped.
14284 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14286 * src/exporter.C (Export): Give an error message when path to file
14289 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14291 * LaTeX.C (deplog): Always check that foundfile exists.
14293 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14298 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14300 * tabular.[Ch] (getLabelList): implement new method
14302 * minibuffer.h: comment ouf setTiimer
14304 * minibuffer.C (ExecutingCB): constify res
14305 (peek_event): constify s
14306 (Set): constify ntext
14307 (Init): constify nicename
14309 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14311 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14312 (savePosition): use two params to Minibuffer::Set
14313 (restorePosition): ditto
14315 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14317 * lyx_main.C: include language.h
14319 * Makefile.am (lyx_main.o): add language.h
14321 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * CutAndPaste.C: include gettext.h
14329 * lyxfont.h: remove old hack with ON and OFF.
14332 * lyxfont.h: do not include language.h...
14337 * bufferview_funcs.C:
14343 * paragraph.C: ... but do it here instead
14345 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14347 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14349 * tabular.C: small reformat
14351 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14354 (BreakParagraph): ditto
14355 (SetOnlyLayout): ditto
14358 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14361 * lastfiles.C: removed most using decl, add std:: where needed
14363 * buffer.C: ws changes
14365 * MenuBackend.C (class compare_format): put into anon namespace
14366 (expand): constify label, names, action, action2
14369 * text.C (SingleWidth): constify font
14370 (IsBoundary): constify rtl2
14371 (GetVisibleRow): constify ww
14373 * LaTeX.C (deplog): constify logfile
14375 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14377 (workAreaExpose): constify widthChange, heightChange
14379 * lyxrow.C (par): moved
14382 * lyxrow.h: as inlines here
14384 * lyxfont.h (shape): moved from lyxfont.C
14385 (emph): moved from lyxfont.C
14387 * lyxfont.C (LyXFont): use initialization list for all
14389 (shape): move to lyxfont.h as inline
14390 (emph): move to lyxfont.h as inline
14393 2001-04-04 Juergen Vigna <jug@sad.it>
14395 * vspace.C: had to include stdio.h for use of sscanf
14397 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14400 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14401 independent of xforms.
14403 2001-04-02 Juergen Vigna <jug@sad.it>
14405 * spellchecker.C: fixed namespace placing!
14407 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14409 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14410 the LyXParagraph * is 0.
14412 2001-03-29 Juergen Vigna <jug@sad.it>
14414 * vspace.C: added support for %, c%, p%, l%.
14415 (stringFromUnit): added helper function.
14416 (asLatexString): changed to give right results for the %-values.
14418 * buffer.C: convert the widthp in a width%.
14420 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14422 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14425 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14426 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14428 * lyx_cb.[Ch]: see above.
14430 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14434 * lyx.[Ch]: replaced by figure_form.[Ch].
14438 * lyxfunc.C: changed headers associated with above changes.
14440 2001-03-27 Juergen Vigna <jug@sad.it>
14442 * BufferView_pimpl.C: set the temporary cursor right!
14444 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14446 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14448 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14450 * LString.h: removed "using std::getline"!
14452 * BufferView_pimpl.C (Dispatch): changes due to changes in
14453 InsetInclude::Params.
14455 * buffer.C (tag_name): removed redundant break statements as they were
14456 producing lots of warnings with my compiler.
14458 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * LString.h: add "using std::getline" when using the real <string>.
14462 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14464 * buffer.C: removed bitset usage.
14465 PAR_TAG moved to an anonymous name space.
14466 (tag_name): new funtion, also in the anonymous namespace.
14467 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14468 (makeDocBookFile): clean code. Completed transition from string arrays
14470 (SimpleDocBookOnePar): code clean.
14472 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14474 * tabular.C: add some comments.
14476 2001-03-22 Juergen Vigna <jug@sad.it>
14478 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14479 compatibility read a bit and fixed bug with minipage in different
14482 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14484 * buffer.C (pop_tag): removed.
14485 (push_tag): removed.
14486 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14487 array replaced with vector. Added support for CDATA sections.
14488 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14490 (makeDocBookFile): XML conformant declaration of CDATA section,
14491 fixed bug related to <emphasis> in the first paragraph char.
14492 (sgmlOpenTag): exclude empty tags.
14493 (sgmlCloseTag): ditto.
14495 * buffer.h (pop_tag): removed.
14496 (push_tag): removed.
14498 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14500 * language.h (Languages): added size_type and size().
14502 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14504 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14505 response on compability reading of minipages. One probliem is that
14506 the old usage of minipages was «flertydig»
14508 * several files here and in subdirs: don't use static at file
14509 scope use anon namespaces instead.
14511 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14513 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14514 LaTeX output. This is necessary for Literate document
14517 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14519 * buffer.C: insert hfill when needed.
14521 * tabular.C (l_getline): use string::erase, small whitespace change.
14523 * BufferView_pimpl.C: try the anon namespace.
14524 * WorkArea.C: ditto
14526 2001-03-16 Juergen Vigna <jug@sad.it>
14528 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14529 otherwise it won't open options-dialogs.
14531 * buffer.C: honor pextraWidth(p) on converting minipages.
14533 * tabular.C (l_getline): changed the functions to strip trailing \r.
14535 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14537 * BufferView_pimpl.C:
14538 * minibuffer..C: added "using SigC::slot" declaration.
14540 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14542 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14548 * paragraph.C: ditto
14550 * lyxtext.h: NO_PEXTRA
14552 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14554 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14555 * ParameterStruct.h: ditto
14556 * ParagraphParameters.h: ditto
14557 * lyxparagraph.h: ditto
14559 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14561 * buffer.C: add compability for minipage alignment.
14562 (latexParagraphs): remove unwanted pextra check.
14564 * several files: remove CXX_WORKING_NAMESPACES
14566 * buffer.C (pop_tag): tie is in namespace boost
14568 * BufferView.h: noncopyable is in namespace boost
14570 * lyx_main.h: ditto
14573 * lastfiles.h: ditto
14574 * bufferlist.h: ditto
14575 * ShareContainer.h: ditto
14577 * LyXAction.h: ditto
14580 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14582 * Merging changes from BRANCH_MVC back into HEAD.
14584 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14586 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14588 * BufferView_pimpl.C: change from intl.C
14592 * Makefile.am: move combox.*
14598 * intl.C: remove dialog (covered by prefs)
14600 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14602 * lyxfunc.C (Dispatch): removed redundant break statement.
14604 2001-03-14 Juergen Vigna <jug@sad.it>
14606 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14608 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14610 * buffer.C: add hack to fix compability reading of minipages.
14612 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14614 * buffer.C (getLists): Cleanup.
14616 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * lyxfont.C (update): don't honor toggleall on font size.
14620 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14624 * Makefile.am: moved to frontends/xforms/
14628 * BufferView_pimpl.C: changes for moved mathpanel
14630 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14632 * gettext.h: fix gettext_init() in --disable-nls
14634 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14636 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14638 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14641 * lyx.h: strip external form
14643 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14645 * BufferView_pimpl.C: add comment, destroySplash()
14647 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14649 * BufferView_pimpl.C:
14653 * lyxfunc.C: use re-worked insetinclude
14655 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14657 * buffer.C: add using std::stringstream.
14659 * lyx_cb.C: readd using std::ios.
14661 * buffer.C: add using std::map.
14663 * BufferView_pimpl.C: add using std::vector.
14665 * ShareContainer.h: add std:: to swap.
14667 * buffer.h: add some typedefs
14668 * buffer.C (getLists): use them
14669 (getLists): renamed from getTocList.
14670 add a counter for the different float types and use it in the
14672 (getLists): use the same counter for the NEW_INSETS and the "non"
14675 * lyx_cb.h: remove unused items, includes, using etc.
14677 * ShareContainer.h: remove some commented code, add more comments
14678 and "documentation".
14680 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14682 * buffer.C (getTocList): make the list also when NEW_INSETS is
14685 * buffer.h: remove TocType
14687 * buffer.C (getTocList): change to return a map<string,
14688 vector<TocItem> >, implement for dynamic number of list.
14690 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14691 * text2.C (PasteSelection): adjust
14692 * CutAndPaste.C (pasteSelection): adjust
14694 * FloatList.C (FloatList): update from the new_insets branch.
14695 * Floating.[Ch]: ditto
14696 * LaTeXFeatures.C: ditto
14698 * lyxlex_pimpl.C: ditto
14700 * paragraph.C (Last): remove when NEW_INSETS is defined.
14702 * other file: changes because of the above.
14704 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14706 * lyxparagraph.h: rename next to next_, previous to previous_,
14707 make them private for NEW_INSETS. Rename Next() to next(),
14708 Previous() to previous().
14710 * other files: changes because of the above.
14712 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14715 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14718 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14720 * main.C (main): pass lyx_localedir to gettext_init().
14722 * gettext.h: remove locale_init and gettext_init macros
14724 * gettext.C (locale_init): new function
14725 (gettext_init): new function
14727 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14730 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14732 * Moved credits to frontends:
14733 * credits.[Ch]: removed
14734 * credits_form.[Ch]: removed
14735 * lyx_gui_misc.C: remove credits stuff
14738 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14740 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14742 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14743 unneeded destructor.
14745 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14746 a standalone pointer again.
14748 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14750 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14756 * ToolbarDefaults.C:
14765 * BufferView_pimpl.C: use new file dialog in GUII
14768 * lyx_cb.C: remove LayoutsCB to Toolbar
14770 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * ShareContainer.h (get): add std:: qualifier
14774 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * ShareContainer.h: define a proper ShareContainer::value_type
14777 type (and use typename to please compaq cxx)
14779 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14781 * lyxparagraph.h: move serveral local vars to
14782 ParameterStruct/ParagraphParameters., use ShareContainer in
14783 FontTable., make vars in FontTable private and add getter and
14786 * paragraph.C: changes because of the above.
14788 * lyxfont.h: remove copy constructor and copy assignment. (the
14789 default ones is ok), move number inside FontBits. move inlines to
14792 * lyxfont.C: add number to initializaton of statics, move several
14793 inlines here. constify several local vars. some whitespace
14794 cleanup. Dont hide outerscope variables.
14796 * Spacing.h: add two new constructors to match the set methods.
14798 * ShareContainer.h: new file, will perhaps be moved to support
14800 * ParameterStruct.h: new file
14802 * ParagraphParameters.h: new file
14804 * ParagraphParameters.C: new file
14806 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14807 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14809 * BufferView_pimpl.C: ParagraphParameter changes.
14810 * buffer.C: Likewise.
14811 * bufferview_funcs.C: Likewise.
14812 * text.C: Likewise.
14813 * text2.C: Likewise.
14815 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * lyxfind.C (LyXReplace): do not redefine default argument in
14819 (IsStringInText): ditto
14820 (SearchForward): ditto
14821 (SearchBackward): ditto
14823 2001-03-06 Juergen Vigna <jug@sad.it>
14825 * lyxfind.C (IsStringInText): put parentes around expressions.
14827 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14829 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14831 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14833 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14835 * stl_string_fwd.h: add comment
14837 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14840 * tabular.C: remove unused DocBook methods
14846 killed DO_USE_DEFAULT_LANGUAGE
14848 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14850 * lyx_gui.C: do not include language.h.
14852 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14853 arguments in function implementation.
14855 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14857 * BufferView_pimpl.C: add <ctime>
14859 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14861 * BufferView_pimpl.C: add using std::find_if
14863 2001-02-27 José Matos <jamatos@fep.up.pt>
14865 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14868 2001-02-11 José Matos <jamatos@fep.up.pt>
14870 * buffer.C (makeDocBookFile): command styles now have a parameter as
14871 "title" by default.
14873 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14875 * layout_forms.[Ch]: removed
14876 * lyx_cb.[Ch]: out character
14877 * lyx_gui.C: out character
14878 * lyx_gui_misc.C: out character
14879 * bufferview_funcs.C: : out character,
14880 added toggleall as parameter in ToggleAndShow
14882 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14884 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14886 * text2.C (SetCurrentFont): Disable number property at boundary.
14888 2001-02-26 Juergen Vigna <jug@sad.it>
14890 * lyxfunc.C (getStatus): added a string argument override function so
14891 that this is correctly called from LyXFunc::Dispatch if it contains a
14892 do_not_use_argument which is used!
14893 (Dispatch): added check for "custom" export and call appropriate func.
14895 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14897 * lyxrc.C: Add language_command_local, language_use_babel and
14898 language_global_options.
14900 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14902 * buffer.C (makeLaTeXFile): Use language_use_babel and
14903 language_global_options.
14905 2001-02-23 Juergen Vigna <jug@sad.it>
14907 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14908 which works with LyXText and putted it inside BufferView. Here now we
14909 only call for that part the BufferView::Dispatch() function.
14911 * BufferView.C (Dispatch): added.
14913 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14914 functions which needs to use a LyXText over from LyXFunc.
14915 (MenuInsertLyXFile): added
14916 (getInsetByCode): added
14917 (moveCursorUpdate): added
14918 (static TEXT): added
14920 2001-02-22 Juergen Vigna <jug@sad.it>
14922 * BufferView_pimpl.C (update): call a status update to see if LyXText
14925 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14927 * vc-backend.C (revert): implement for CVS
14928 (getLog): implement for CVS
14930 2001-02-20 Juergen Vigna <jug@sad.it>
14932 * text2.C (ClearSelection): added BufferView param for inset_owner call
14934 * lyxfunc.C (TEXT): added this function and use it instead of
14935 directly owner->view()-text of getLyXText().
14937 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14939 * src/layout_forms.C: out preamble
14940 * src/layout_forms.h: out preamble
14941 * src/lyx_cb.C: out preamble
14942 * src/lyx_cb.h: out preamble
14943 * src/lyx_gui.C: out preamble
14944 * src/lyx_gui_misc.C: out preamble
14945 * src/lyxfunc.C: connect with guii preamble
14947 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14949 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14951 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14953 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14954 whether to run bibtex.
14956 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14958 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14960 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14962 * Makefile.am (lyx_SOURCES): removed bibforms.h
14964 * vspace.h: doxygen
14966 * text.C (GetVisibleRow): make several local vars const
14968 * tabular.C: small cleanup.
14970 * lyxserver.C (callback): use compare instead of strncmp
14972 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14973 inlines to after class or to paragraph.C
14975 * lyxfont.h: remove friend operator!=
14977 * converter.h: move friend bool operator< to non friend and after
14980 * combox.h: small cleanup
14982 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14983 to inlines after class def.
14985 * buffer.C (pop_tag): use string operations instead of strcmp
14987 * bmtable.c: doxygen, small cleanup
14989 * LaTeX.h: remove friend operator==
14991 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15003 * BufferView_pimpl.C:
15004 * BufferView.[Ch]: remove cruft
15006 2001-02-14 Juergen Vigna <jug@sad.it>
15008 * lyxfunc.C: removed #if 0 unused code
15010 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15012 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15014 * text2.C (SetSelection): added a BufferView * parameter
15016 2001-02-13 Juergen Vigna <jug@sad.it>
15018 * lyxfunc.C (Dispatch): fixed protected blank problem.
15019 * BufferView2.C (protectedBlank): added LyxText * parameter.
15021 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15022 (AppendColumn): same as above for column_info.
15024 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15025 (moveCursorUpdate): use a LyXText param for support of InsetText.
15027 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15028 (tripleClick): ditto
15030 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15032 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15034 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15036 * text2.C (SetSelection): set correct update status if inset_owner
15037 (ToggleFree): ditto
15039 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15041 * tabular.C: remove some commented code.
15043 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15045 * BufferView_pimpl.C: call hideSplash()
15047 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15050 * bibforms.h: remove
15053 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15054 add LFUN_CHILD_CREATE
15056 * counters.h: fix tiny typo
15061 * lyx.C: move splash to frontends/xforms/
15063 * lyx_gui_misc.C: move Include and Bibform to frontends
15065 * lyxvc.h: clarify comment
15067 * vspace.C: tiny housekeeping
15069 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15071 * text.C (PrepareToPrint): RTL Fix.
15073 * paragraph.C (GetUChar): New method.
15074 (String): Use GetUChar.
15076 * buffer.C (asciiParagraph): Use GetUChar.
15078 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15080 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15082 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15085 * buffer.C: rename to getLogName(), handle
15086 build log / latex log nicely
15088 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * MenuBackend.h: remove support for reference menuitem type.
15093 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15095 * BufferView_pimpl.C: housekeeping
15096 * BufferView_pimpl.h:
15101 * minibuffer.h: move Timeout GUI-I
15103 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15105 * lyxrc.C (read): Update converters data-structures.
15107 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15109 * LaTeX.h (operator!=): add operator != for Aux_Info
15111 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15113 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15115 * LaTeXLog.C: deleted, useful code moved to Buffer
15118 * buffer.C: new function getLatexLogName()
15124 * lyxfunc.C: use frontends for LaTeX and VC logs
15126 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15128 * LaTeX.h: yet another std:: that Allan forgot.
15130 * Variables.C (set): renamed from isset(), because this clashes
15131 with some HP-UX macros (grr).
15133 2001-02-06 Allan Rae <rae@lyx.org>
15135 * LaTeX.h: Another bug fix. Missing std:: this time.
15137 2001-02-04 Allan Rae <rae@lyx.org>
15139 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15140 floats problem. I've left it commented out because it's not quite
15141 correct. It should also test that the current object is a table or
15142 figure inset. But I haven't gotten around to figuring out how to do
15143 that. I *think* it'll be something like: "table" == inset.type()
15145 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15148 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15150 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15151 all the citation/databases/styles in the auxilary file.
15152 (run): Rerun latex if there was a babel language error.
15154 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15156 * text.C (Backspace): Preserve the font when changing newline char
15158 (BreakParagraph): If the cursor is before a space, delete the space.
15160 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15162 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15164 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15165 new argument (code).
15166 (ChangeCitationsIfUnique): New method.
15168 * paragraph.C (GetPositionOfInset): Handle bibkey.
15170 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * BufferView_pimpl.h: change type of Position::par_pos to
15173 LyXParagraph::size_type.
15175 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15177 * BufferView_pimpl.C (savePosition, restorePosition): Write
15178 messages to minibuffer.
15180 2001-01-28 José Matos <jamatos@fep.up.pt>
15182 * buffer.C (makeDocBookFile): adds support for document language.
15183 A silly restriction on the name of LatexCommand types where removed.
15184 Added support for CDATA sections, allows to chars unescaped, used
15185 among others in code, to avoid escape < and >.
15187 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15189 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15190 saved positions instrad of a stack. Furthermore, a position is
15191 stored using paragraph id/paragraph position.
15193 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15194 Remove LFUN_REF_BACK.
15196 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15198 * converter.C (dvipdfm_options): New method.
15200 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15202 * vspace.C (isValidLength): Fix for empty input string.
15204 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15206 * LyXAction.C (init): change description of LFUN_FIGURE to
15209 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15211 * LaTeX.C: add using directive
15213 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15215 * MenuBackend.C (expand): Fix the sorting of the formats.
15217 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15219 * lyx_main.C: tiny error message fix
15221 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15224 calling fl_initialize(). This fixes the problem with ',' as
15225 decimal separator in text files.
15227 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15229 * trans.C (process): Fix the keymap bug.
15231 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15233 * LaTeX.C (scanAuxFiles): New method. Provides support for
15234 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15235 (scanLogFile) Scan for "run BibTeX" messages.
15237 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15238 OT1 font encoding. Also, load the aecompl package if the ae
15241 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15243 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15245 * texrow.C (increasePos): turn two error messages into debug
15248 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15250 * LaTeX.C (scanAux): Handle the \@input macro.
15251 (runBibTeX): Use scanAux().
15253 * language.C (latex_options_): New field.
15255 * LaTeXFeatures.C (getMacros): Add language macros.
15257 * buffer.C (makeLaTeXFile): Small fix.
15259 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15263 * text2.C: add a using directive.
15265 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15270 * lyxfunc.C: kill LyXBell.
15272 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15274 * text.C (IsBoundary): Remove the error message
15276 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15278 * lyxrc.C (setDefaults): Correct initialization value for
15281 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15283 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15286 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15287 and GotoNextNote().
15289 * src/LyXAction.C: Added reference-next.
15291 * text.C (InsertChar): Use contains instead of strchr.
15293 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15295 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15297 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15298 alignment commands (when needed).
15300 * text.C (InsertChar): Add ':' to number separator chars.