1 2004-04-05 Angus Leeming <leeming@lyx.org>
3 * lyxlength.[Ch] (unit_name et al.): const-correct.
5 2004-04-05 Angus Leeming <leeming@lyx.org>
16 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
18 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
20 * text3.C (getStatus): add LFUN_BEGINNINGBUF
22 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
24 * lyxfind.C: add a couple of inTexted() tests + other small fixes
25 * BufferView_pimpl.[Ch] (getStatus)
26 * BufferView.[Ch] (getStatus): add
27 * lyxfunc.C (getStatus): move lfuns handled in
28 BufferView::dispatch to te function above
29 * Cursor.C (setSelection): set selection() = true
31 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
33 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
35 2004-03-31 Angus Leeming <leeming@lyx.org>
37 * lyxfunc.C (dispatch): Fall through to the generic
38 Dialogs::show("preamble").
40 2004-03-31 Angus Leeming <leeming@lyx.org>
42 * lyxfunc.C (dispatch): Fall through to the generic
43 Dialogs::show("spellchecker").
45 2004-03-31 Angus Leeming <leeming@lyx.org>
47 * lyxfunc.C (getStatus, dispatch): changed invocation of the
50 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
60 * undo.[Ch]: s/DocumentIterator/DocIterator/g
62 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
64 * BufferView.C (setCursor, putSelectionAt): call edit to open the
65 insets where we are putting the cursor.
67 2004-03-31 Angus Leeming <leeming@lyx.org>
70 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
72 * lyxrc.[Ch] (read, write): overloaded member functions taking
73 a std::[io]stream arguments.
75 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
77 2004-03-31 Angus Leeming <leeming@lyx.org>
79 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
80 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
82 * lyxtextclass.C (load): if the text class couldn't be loaded, then
83 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
85 2004-03-31 Angus Leeming <leeming@lyx.org>
87 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
88 the LFUN_ALL_INSETS_TOGGLE code.
90 2004-03-30 Angus Leeming <leeming@lyx.org>
92 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
93 has died. Fall through to the generic Dialogs::show("document").
95 2004-03-30 Angus Leeming <leeming@lyx.org>
98 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
99 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
101 * lyxfunc.C (getStatus, dispatch): define the actions for these
102 lfuns. Little more than a cut and pste job from ControlDocument.C
104 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
106 2004-03-30 Angus Leeming <leeming@lyx.org>
109 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
110 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
112 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
113 open/closed state of ollapsable insets. Usage:
115 all-inset-toggle <state> <name>, where
116 <state> == "open" || "closed" || "toggle" and
117 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
119 * lyxtext.h, text2.C (toggleInset): removed.
121 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
122 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
123 now passes LFUN_INSET_TOGGLE to the found inset.
125 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
126 is now invoked as "all-insets-toggle toggle branch".
128 2004-03-30 Angus Leeming <leeming@lyx.org>
132 * pariterator.[Ch]: added/corrected header blurb.
134 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
136 * dociterator.[Ch]: add an inset_ member
137 (backwardPos): implemented
138 (backwardPos, forwardPos): use inset_ when the stack is empty.
139 (doc_iterator_begin, doc_iterator_end): implemented
140 * pariterator.[Ch]: adjust, add begin, end
141 * insetiterator.[Ch]: adjust, add begin, end
145 * BufferView_pimpl.C:
146 * CutAndPaste.C: adjust
148 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * buffer.C: increment file format to 232.
151 * LaTeXFeatures.C: add bibtopic package.
152 * bufferparams.[Ch]: param \use_bibtopic.
154 * lyxrc.[Ch]: add lyxrc bibtex_command
155 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
157 * buffer.C: increment file format to 231.
159 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
161 * dociterator.C: implement forwardPar
162 * iterators.[Ch]: remove, replaced by
163 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
165 * BufferView_pimpl.C:
168 * bufferview_funcs.C:
174 * Makefile.am: adjust
176 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
178 * CutAndPaste.C (pasteSelection): fix 2 crashes
179 (eraseSelection): fix a crash
180 * paragraph_funcs.C: remove a warning
182 2004-03-28 Angus Leeming <leeming@lyx.org>
185 * LyXAction.C (init): new LFUN_PRINT.
187 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
189 2004-03-27 Angus Leeming <leeming@lyx.org>
192 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
194 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
196 2004-03-27 Angus Leeming <leeming@lyx.org>
198 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
199 insetlist always contains non-null pointers to insets.
201 2004-03-26 Angus Leeming <leeming@lyx.org>
203 * src/BufferView_pimpl.C:
207 * src/output_plaintext.C:
208 * src/outputparams.h:
209 * src/paragraph_funcs.C:
213 * src/frontends/controllers/ControlErrorList.C:
214 * src/frontends/gtk/FileDialogPrivate.C:
215 * src/frontends/gtk/GPainter.C:
216 * src/frontends/gtk/GToolbar.C:
217 * src/frontends/qt2/QRef.C:
218 * src/mathed/math_scriptinset.C: squash compiler warnings.
220 2004-03-26 Angus Leeming <leeming@lyx.org>
222 * ispell.C (LaunchIspell::start):
223 * lyx_cb.C (AutoSaveBuffer::start):
224 invoke run(DontWait) rather than runNonBlocking().
226 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
228 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
230 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
232 * kbsequence.C (print): adjust
234 * kbmap.C (printKeySym): rename and change signature
235 (printKey): use LyXKeySym::print()
237 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
239 * undo.C: add using std::advance to compile for stlport
241 2004-03-24 Angus Leeming <leeming@lyx.org>
243 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
244 it leads to a crash when no buffer is present.
246 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 Martin Vermeer <martin.vermeer@hut.fi>
249 * lyxfunc.C (dispatch):
250 * bufferparams.C (readToken): use the new LColor::setColor
252 * LColor.[Ch] (setColor): new version that takes two strings as
253 argument and creates a new color entry if necessary
255 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
257 * buffer.C (makeLaTeXFile): if the main latex file that is
258 processed is usually a subdocument of some master, then pretend
259 for a while that it is actually the master
261 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
263 * buffer.C (getLabelList):
264 (getBibkeyList): use getMasterBuffer()
265 (getMasterBuffer): new method. Returns the main document in the
266 case where one is using included documents.
268 2004-03-25 André Pönitz <poenitz@gmx.net>
272 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
274 * ParagraphList_fwd.h: change ParagraphList to a std::vector
276 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
277 text*.C over here. Rename namespace CutAndPaste to lyx::cap
279 * ParameterStruct.h: merge with ParagraphParameters
281 * lyxtext.h: remove LyXText::parOffset() and getPar()
283 * text3.C: Remove all 'manual' update calls. We do now one per user
284 interaction which is completely sufficient.
288 * BufferView_pimpl.C:
291 * ParagraphParameters.[Ch]:
303 * output_docbook.[Ch]:
305 * output_linuxdoc.[Ch]:
306 * output_plaintext.[Ch]:
308 * paragraph_funcs.[Ch]:
309 * paragraph_pimpl.[Ch]:
317 * frontends/controllers/ControlDocument.C:
318 * frontends/controllers/ControlErrorList.C:
319 * frontends/controllers/ControlSpellchecker.C:
322 * insets/insetbase.h:
323 * insets/insetbibitem.C:
325 * insets/insetbranch.C:
326 * insets/insetcaption.C:
327 * insets/insetcharstyle.C:
328 * insets/insetcharstyle.h:
329 * insets/insetcollapsable.C:
330 * insets/insetcollapsable.h:
332 * insets/insetfloat.C:
333 * insets/insetfoot.C:
334 * insets/insetmarginal.C:
335 * insets/insetnote.C:
336 * insets/insetoptarg.C:
337 * insets/insettabular.C:
338 * insets/insettext.C:
339 * insets/insettext.h:
340 * insets/insetwrap.C:
341 * mathed/math_mboxinset.C:
342 * mathed/math_nestinset.C:
343 * mathed/math_scriptinset.C:
344 * mathed/math_scriptinset.h:
347 2004-03-24 Angus Leeming <leeming@lyx.org>
349 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
350 deal with any child processes that have finished but are waiting to
351 communicate this fact to the rest of LyX.
353 2004-03-24 Angus Leeming <leeming@lyx.org>
355 64-bit compile fixes.
357 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
358 (c-tor): pass lyx::pos_types rather than ints.
360 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
363 * text.C (Delete): compile fix.
364 (getPar): ensure that function declaration is the same as that in
367 2004-03-23 Angus Leeming <leeming@lyx.org>
369 * ispell.C (LaunchIspell):
370 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
371 a boost::shred_ptr rather than a std::auto_ptr.
373 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
375 * lyxfunc.C (getStatus): handle read-only buffers correctly;
376 handle LFUN_FILE_INSERT_*
378 * lyxrc.C (setDefaults, getDescription, output, read):
379 * lyxrc.h: remove ps_command
381 2004-03-22 Angus Leeming <leeming@lyx.org>
383 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
384 Ensure that error_handler is processed once only and that all data
385 is saved before attempting to output any warning messages.
387 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
389 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
391 * tabular.C (TeXRow): crash fix (from Kayvan and André)
393 2004-03-19 André Pönitz <poenitz@gmx.net>
395 * cursor.[Ch] (reset): take main text inset as argument
398 * BufferView_pimpl.C: adjust
400 * paragraph.[Ch]: fix completely broken operator=()
402 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * LColor.C (getFromLyXName): make sure that the color name is used
407 2004-03-17 Angus Leeming <leeming@lyx.org>
410 * LyXAction.C (init): remove LFUN_FORKS_KILL.
412 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
413 dialog and to kill a forked process.
415 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
417 * text2.C (setCursorFromCoordinates): fix font problem
419 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
421 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
422 bogus "rebuild cursor" code
424 2004-03-11 André Pönitz <poenitz@gmx.net>
426 * buffer.[Ch]: use InsetText instead of LyXText as container for
429 * dociterator.[Ch]: drop the BufferView * member which is not needed
430 anymore after the change to buffer.C
436 * BufferView_pimpl.[Ch]:
438 * cursor_slice.[Ch]: adjust
440 * text3.C: fix bug in mathDispatch
442 2004-03-08 André Pönitz <poenitz@gmx.net>
444 * undo.[Ch]: use 'StableDocumentIterator' as base for
447 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
450 * bufferparams.[Ch]: add jurabib support and param.
452 * LaTeX.C: add FIXME/comment.
454 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
456 * buffer.C: increment file format to 230.
458 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
460 * cursor.C (dispatch): avoid infinite loops
462 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
464 * rowpainter.C (paintSelection): fix x coordinates
466 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
468 * text.C (rowBreakPoint): fix breaking before displayed insets
470 2004-03-01 André Pönitz <poenitz@gmx.net>
472 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
474 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
478 * BufferView_pimpl.C:
486 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
492 * BufferView_pimpl.C: rename textwidth -> maxwidth,
493 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
495 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
497 * Bidi.[Ch] (computeTables): const correctness
498 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
499 fill_hfill, fill_label_hfill and x from Row
500 * lyxtext.h: prepareToPrint returns a RowMetrics
501 * rowPainter.C: adjust
502 * text.C (prepareToPrint): use width, not textWidth. adjust
503 (redoParagraphInternal, cursorX): adjust
504 * text2.C (getColumnNearX): adjust
505 (init): put a default value to the top LyXText::width
507 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
509 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
511 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
513 * lyxtext.h: add FontIterator class
515 * text.C (FontIterator, operator*, operator->, operator++): add
516 (rowBreakPoint, setRowWidth): adjust (fixing a
519 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * BufferView_pimpl.C (workAreaDispatch): allow also
522 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
524 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
526 * text.C (rowBreakPoint): fix a bug showing with very large insets
528 2004-02-25 André Pönitz <poenitz@gmx.net>
531 * cursor.[Ch]: move some mathed specific code to mathed
533 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
535 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
536 use_tempdir in preferences
537 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
539 * lyx_main.C: ensure that tempdir is valid
540 * lyxlex.h: correct typo
541 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
542 * paragraph.[Ch] (isMultiLingual): make const
543 * cursor.[Ch] (openable): make const
545 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
547 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
549 2004-02-20 André Pönitz <poenitz@gmx.net>
551 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
553 * cursor.[Ch]: prepare for localized getStatus()
559 * text3.C: streamlines the LyXText cursor movement handlers a bit.
561 2004-02-20 André Pönitz <poenitz@gmx.net>
563 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
565 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
567 * text2.C (setCursorFromCoordinates): switch to absolute coords
570 * text3.C (dispatch): adjust
572 2004-02-16 André Pönitz <poenitz@gmx.net>
574 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
577 * cursor_slice.[Ch]: remove unneeded acessor function
579 * lyxtext.h: rename rtl() to isRTL()
587 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
589 * rowpainter.C (paintSelection): coord fix
591 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
593 * Spacing.C: compile fix
595 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
597 * cursor.C (dispatch): restore current_ before returning
599 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
601 * text2.C (cursorUp, cursorDown): fix coords
604 2004-02-12 André Pönitz <poenitz@gmx.net>
609 * text3.C: add LCursor & parameter to most cursor movement functions
610 remove usage of LyXText::cursorRow() and cursorPar()
612 * cursor.[Ch]: add textRow() needed members
615 * BufferView_pimpl.C:
618 * BufferView_pimpl.C: adjust
620 2004-02-11 André Pönitz <poenitz@gmx.net>
624 * BufferView_pimpl.C: shift undo/redo handling
626 * cursor.[Ch]: fix mathed crash
629 * lyxtext.h: move selectionAsText to LCursor
637 * rowpainter.C: fix excessive drawing
639 2004-02-06 André Pönitz <poenitz@gmx.net>
642 * BufferView_pimpl.[Ch]:
643 * text3.C: move some text specific LFUN handling
645 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
647 * text3.C (checkInsetHit): adjust coords
648 * text2.C (getColumnNearX): adjust coords
649 (edit): adjust coords
650 * text.C (getRowNearY): add two asserts
652 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
655 * format.C: add using std::distance to compile on gcc 2.95/stlport
657 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
659 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
661 2004-02-04 André Pönitz <poenitz@gmx.net>
663 * BufferView.[Ch] (insertInset):
664 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
669 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
671 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
672 on the default clause of the switch
673 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
674 wasn't catched by LCursor::dispatch
676 2004-02-03 André Pönitz <poenitz@gmx.net>
679 * cursor.[Ch]: some additional asserts
681 * undo.[Ch]: remove LyXText dependency in interface
685 * lyxtext.h (firstPar, lastPar): remove dead functions
690 * paragraph.[Ch]: adjust
692 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
694 * lyxfind.C (find): fix argument order in call to ::find
696 2004-02-02 André Pönitz <poenitz@gmx.net>
698 * cursor.[Ch]: remove direct access to anchor
700 * text.C: remove findText() hack
702 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
704 * iterators.[Ch] (lockPath): remove in favour of...
705 * BufferView.[Ch] (setCursor): this addition
706 * BufferView.C (putSelectionAt): adjust
707 * undo.C (performUndoOrRedo): adjust
708 * lyxfunc.C (dispatch): adjust
710 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
712 * iterators.C (lockPath): add a missing slice
713 * undo.C (performUndoOrRedo): remove redundant positioning code
715 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
717 * vc-backend.C (scanMaster): ";" -> ';'
719 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
721 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
724 * lyxtextclass.C (compare_name): rename to...
725 (LayoutNamesEqual): ...this
727 * lyxlex_pimpl.C (compare_tags): inherit from
728 std::binary_function, put back into anon namespace
730 * lyxfind.C (MatchString): inherig from std::binary_function
731 (findChange): use empty() istead of !size()
733 * format.C (FormatNamesEqual): new functor
740 * converter.C (compare_Converter): rename to...
741 (ConverterEqual): ...this, and fixup a bit.
742 (getConverter): use it, and make function const
743 (getNumber): use it, and make function const
747 * bufferlist.C: add using boost::bind
749 * MenuBackend.C (MenuNamesEqual): new functor
750 (hasMenu): use it, and make function const
751 (hasSubmenu): use nested bind to get rid of compare_memfun.
753 2004-01-30 André Pönitz <poenitz@gmx.net>
755 * BufferView_pimpl.C:
766 * text3.C: move some of the edit(x,y) handling to the insets
767 some coordinate changes.
769 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
771 * text.C: add using statements for std::advance and std::distance
773 * paragraph.C: add using statement for std::distance
775 * lyxfind.C: add using statement for std::advance
777 * cursor.C (region): remove std:: from swap
778 (openable): use nucleus in stead of operator->
780 * BufferView.C: add using statements for std::distance and std::swap
782 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
784 * iterators.C: Remove the pimple, move the needed structures to
785 the header file. Create accessor for the positions stack.
786 (asPosIterator): remove function
788 * PosIterator.C (PosIterator): move constructors to top of file
789 (PosIterator): reimplement the constructor taking a ParIterator in
791 (setFrom): new function
792 (operator!=): inline it
794 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
796 * lyxfind.C (replaceAll): use std::advance
798 * iterators.h: inherit from std::iterator.
800 * PosIterator.C (advance, distance): remove
801 * PosIterator.h: interit from std::iterator.
803 2004-01-26 André Pönitz <poenitz@gmx.net>
806 * BufferView_pimpl.[Ch]:
810 * bufferview_funcs.C:
821 * output_plaintext.C:
823 * paragraph_funcs.[Ch]:
824 * paragraph_pimpl.[Ch]:
830 * text3.C: more IU: dumps most of the rest of the mathcursor
831 implementation into cursor.[Ch]; "globalize" a bit of it.
833 2004-01-25 Angus Leeming <leeming@lyx.org>
835 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
837 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
839 * LaTeXFeatures.h: add nice_ and nice() const
840 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
842 2004-01-20 André Pönitz <poenitz@gmx.net>
845 * BufferView_pimpl.C:
847 * bufferview_funcs.C:
860 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
861 LCursor and mathcursor parts to LCursor and InsetBase.
863 2004-01-15 André Pönitz <poenitz@gmx.net>
865 * cursor_slice.[Ch]: add a few covienience functions
867 * funcrequest.[Ch]: remove BufferView * member
869 * BufferView_pimpl.C:
876 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
878 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
880 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
881 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
883 2004-01-13 André Pönitz <poenitz@gmx.net>
886 * lyxtext.h: hide cursor and selection anchor behind accessor function
889 * BufferView_pimpl.[Ch]:
891 * bufferview_funcs.C:
901 * cursor_slice.[Ch]: some integer type changes for inset unification
903 * lyxcursor.[hC]: remove, it's CursorSlice now.
906 * BufferView_pimpl.[Ch]:
907 * bufferview_funcs.C:
913 * textcursor.[Ch]: adjust
915 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
917 * text2.C (undoSpan): add and use
918 * text.C (breakParagraph): use undoSpan (fix bug 578)
921 2004-01-08 Angus Leeming <leeming@lyx.org>
923 * BufferView_pimpl.C (MenuInsertLyXFile):
924 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
925 * lyxfunc.C (menuNew, open, doImport):
926 FileFilterList change to the FileDialog open and save functions.
928 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
930 * ShareContainer.h: make isEqual and isUnique adaptable
932 * CutAndPaste.C: make resetOwnerAndChanges adaptable
934 2004-01-07 Angus Leeming <leeming@lyx.org>
937 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
939 * BufferView_pimpl.C (dispatch): act on these LFUNs.
941 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
942 functions replacing find, replace and replaceAll.
944 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
945 LFUN_WORDFIND(FORWARD|BACKWARD).
947 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
949 * text.C (breakParagraph): remove an outdated #warning
951 2004-01-07 André Pönitz <poenitz@gmx.net>
953 * lyxfind.C: somewhat clearer logic
955 * text.C: prevent crash in cursorX on unitialized row cache
957 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
959 * lyxcursor.[Ch] (operator>): add
960 * textcursor.C (selStart, selEnd): use std::min and std::max
962 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
964 * Chktex.C: include boost/format.hpp
966 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
968 * InsetList.C: replace functor MathcIt with adaptable functor
970 (insetIterator): modify accordingly
972 * BranchList.h: move the BranchNamesEqual functor here from...
973 * BranchList.C: ... to here
975 * BranchList.C: new BranchListEqual fuctor, use it. Remove
977 (add): replace a finding loop with std::find_if.
979 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
981 * output_docbook.C: moving LatexParam functionality into
984 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
986 * buffer.C: increment format to 229.
988 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
991 * lyx_sty.[Ch]: remove minipageindent_def
997 * text3.C: remove LFUN_INSET_MINIPAGE
999 2003-12-28 Angus Leeming <leeming@lyx.org>
1001 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1003 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1005 * text2.C (setParagraph): fix off-by-one crash
1007 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1009 * output_docbook.C: header stuff for AGU
1011 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1013 * text2.C (redoCursor): remove
1016 * BufferView_pimpl.C: remove calls to redoCursor and
1017 setCursor(cursor.par(), cursor.pos()) all around
1019 2003-12-15 Angus Leeming <leeming@lyx.org>
1021 * buffer.C: up the format to 228.
1023 2003-12-15 André Pönitz <poenitz@gmx.net>
1025 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1030 * BufferView_pimpl.C:
1039 2003-12-15 Angus Leeming <leeming@lyx.org>
1041 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1042 than getFromGUIName to manipulate the color.
1044 2003-12-14 Angus Leeming <leeming@lyx.org>
1046 * BranchList.[Ch]: minimize the API.
1047 (Branch::getBranch, getColor): now return a 'const &'.
1048 (Branch::setSelected) now returns a bool set to true if the
1049 selection status changes.
1050 (BranchList::clear, size, getColor, setColor, setSelected,
1051 allBranches, allSelected, separator): removed.
1052 (BranchList::find): new functions, returning the Branch with
1054 (BranchList::add, remove): return a bool indicating that
1055 the operation was successful.
1057 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1058 new InsetBranch::isBranchSlected member function.
1060 * LColor.[Ch]: mimimize the API.
1061 (fill): renamed as addColor and made private.
1062 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1063 versions of these functions taking a string arg have been removed.
1065 * bufferparams.C (readToken):
1066 * lyxfunc.C (dispatch):
1067 * lyxrc.C (read): changes due to the altered BranchList and
1070 * factory.C (createInset, readInset): changes due to altered
1073 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1076 * lyxfunc.C: remove insetminipage. "minipage-insert"
1077 now produces a frameless minipage box inset.
1079 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1081 * textcursor.[Ch] (selStart,selEnd): add new methods
1082 remove selection::start, end, use LyXCursor::operator<
1083 * lyxcursor.[Ch] (operator<): add
1084 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1085 * BufferView.[Ch] (unsetXSel): add
1086 * text2.C (clearSelection): use unsetXSel,adjust
1089 * rowpainter.C: adjust
1090 * bufferview_funcs.C (put_selection_at): adjust
1092 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1094 * BufferView_pimpl.C: small coord. correction
1096 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1098 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1099 dragging over the splash screen.
1101 2003-12-11 Angus Leeming <leeming@lyx.org>
1103 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1104 as it is now handled in LyXText::dispatch.
1106 * text3.C (doInsertInset): remove a level of nesting.
1108 2003-12-11 Angus Leeming <leeming@lyx.org>
1110 * factory.C (createInset): changes due to the changed interface to
1111 InsetCommandMailer::string2params.
1113 2003-12-10 Angus Leeming <leeming@lyx.org>
1115 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1116 'dialog-show-new-inset <inset name>'
1118 2003-12-10 Angus Leeming <leeming@lyx.org>
1120 * buffer.C: up the format to 227.
1122 * factory.C: the box inset is now identified simply by 'Box'.
1124 2003-12-10 Angus Leeming <leeming@lyx.org>
1126 * buffer.C: up the format to 226.
1128 * factory.C: the note inset is now identified simply by 'Note'.
1130 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1132 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1133 when a pit is enough. Standarize a couple of loops.
1135 2003-12-05 Angus Leeming <leeming@lyx.org>
1137 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1138 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1139 data to the re-worked "log" dialog.
1141 2003-12-03 André Pönitz <poenitz@gmx.net>
1147 * paragraph_funcs.C:
1149 * text2.C: use Inset::getText instead of Inset::getParagraph
1151 2003-12-03 André Pönitz <poenitz@gmx.net>
1155 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1156 InsetText::read() as LyXText::read()
1158 2003-12-02 Angus Leeming <leeming@lyx.org>
1160 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1161 type. Add a comment in the implementation that the function uses
1162 the stream's bad() function rather than fail() as the std::streams
1165 2003-12-02 André Pönitz <poenitz@gmx.net>
1167 * lyxlex.[Ch]: make interface more similar to std::stream
1169 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1171 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1173 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1175 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1177 * vspace.[Ch]: remove VSpace::NONE
1179 2003-12-01 André Pönitz <poenitz@gmx.net>
1182 * lyxtext.h: move ParagraphList member to LyXText
1183 rename LyXText::ownerParagraphs to LyXText::paragraph
1186 * bufferview_funcs.C:
1196 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1198 * undo.C: fix cursor positioning
1200 2003-12-01 John Levon <levon@movementarian.org>
1202 * BufferView_pimpl.C: fix a crash on exit with
1205 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1207 * BranchList.C: fix setSelected() method.
1209 2003-11-28 André Pönitz <poenitz@gmx.net>
1211 * ParagraphParameters.[Ch]:
1212 * ParameterStruct.h: remove space above/below from Paragraph to
1215 * BufferView_pimpl.C:
1221 * paragraph_funcs.C:
1227 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1229 * factory.C: Syntax change for CharStyles
1231 2003-11-28 André Pönitz <poenitz@gmx.net>
1236 * buffer.[Ch]: move LyXText member
1238 2003-11-28 André Pönitz <poenitz@gmx.net>
1240 * BufferView.[Ch]: make LyXText * text a private member
1242 * BufferView_pimpl.C:
1253 * output_plaintext.C: cleanup
1255 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1258 * lyxtextclass.[Ch]: parametrize SGML document header
1260 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1263 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1266 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1268 * text2.C (setFont): rework using PosIterator (no more recursive)
1269 (setCharFont): no more needed
1270 (setLayout): no more selection cursors fiddling (done by redoCursor)
1271 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1272 destroy remaining ones)
1274 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1276 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1278 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1281 * text3.C: adjust + re-allow multi par depth changes
1282 * textcursor.C: simplify a bit
1284 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1290 * src/output_docbook.C:
1291 * src/output_latex.C:
1296 * src/text2.C: Introducing a number of tags parametrizing various
1297 XML formats that we may want to support
1299 2003-11-25 André Pönitz <poenitz@gmx.net>
1301 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1303 * lyxtext.h (leftMargin/rightMargin): simplify interface
1310 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1312 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1313 master file to any child files. Fixes bug 546.
1315 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1317 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1319 2003-11-24 André Pönitz <poenitz@gmx.net>
1321 * rowpainter.C: simplification
1323 * text2.C (updateCounters): remove call to redoParagraph on
1324 changed labels as this is far too expensive.
1326 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1328 * converter.C (convert): fix a crash: this function gets
1329 called with buffer == 0 from importer code.
1331 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1333 * text3.C (cursorPrevious): make sure that we do not compare
1334 iterators form different containers.
1337 * rowpainter.C (paintSelection): make sure that we do not compare
1338 iterators from different containers.
1340 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1341 iterators from different ParagraphList containers.
1344 * text2.C (LyXText): change order of initialization slightly
1345 (operator=): new function. copy all variables except cache_par_
1346 (moveUp): make sure that we do not compare iterators from
1347 different ParagraphList constainers.
1350 * text.C (firstPar): new function
1351 (lastPar): new function
1352 (endPar): new function
1354 * lyxtext.h: move things around and group public functions, public
1355 variables, private functions, private variables
1357 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1359 * factory.C: change call to InsetERT constructor to avoid
1360 additional invocation of method status
1361 * text2.C (toggleInset): remove redundant update() call
1362 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1363 instead of a Bufferview pointer
1365 2003-11-21 André Pönitz <poenitz@gmx.net>
1367 * rowpainter.C: simplification
1369 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1371 * text3.C (dispatch): make possible to extend a word/row selection
1374 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1376 * lyxtext.h: x0_,y0_ -> xo_,yo_
1377 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1378 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1379 * rowpainter.C (paintRows): paint full paragraphs
1381 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1383 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1386 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1388 * lyxtext.h: add x0_, y0_
1389 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1390 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1392 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1394 * text2.C (setCursorIntern): move the x_target update here *
1395 * text3.C: change some bv() to true/false in calls to
1396 cursorUp/Down/Right/Left
1397 * cursor.C: use helper function.
1399 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1401 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1402 * paragraph_funcs.[Ch]: correct comment
1403 * rowpainter.C: do not paint selections away from bv->cursor()
1404 Fix a long standing selection painting bug.
1405 * text3.C: generalize mouse-selection code to LyXTexts other that
1407 * textcursor.C: do not use y coords if we can use par offsets
1409 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1411 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1412 cursor position after e.g. inset insert)
1414 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1416 * lyxfind.C (replace): adjust to locking removal + some
1419 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1421 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1424 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1427 * output_docbook.C: XML sanitation: new layout
1428 parameters InnerTag and CommandDepth
1430 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1432 * BufferView_pimpl.C:
1434 * text3.C: Fix the insertion and modification of button-style
1437 2003-11-13 André Pönitz <poenitz@gmx.net>
1439 * InsetList.[Ch]: remove deleteLyXText
1441 * paragraph.[Ch]: cache beginOfBody position
1446 * text3.C: remove superfluous update() calls
1450 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1452 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1453 * BufferView.C (fitLockedInsetCursor): remove
1454 * cursor.[Ch] (getDim): add
1455 * text.C (getRowNearY): add faster version
1456 * text3.C: remove some update calls
1458 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1470 * text3.C: The Character Style /XML short element patch.
1472 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1475 * factory.C: Small step to solving 'unable to insert some insets'
1478 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1480 * cursor.[Ch] (updatePos): new function for updating the y
1481 position of the tip inset
1482 * bufferview_funcs.C (put_selection_at):
1483 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1485 2003-11-11 André Pönitz <poenitz@gmx.net>
1487 * text.C: remove big comment on invalid Paragraph pointers as it is
1490 2003-11-11 André Pönitz <poenitz@gmx.net>
1492 * text_funcs.[Ch]: merge with ...
1500 * Makefile.am: remove text_funcs.[Ch]
1502 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1504 * cursor.C (getPos): return absolute cached y coord
1506 * BufferView_pimpl.C (fitCursor): new simplistic code
1507 (workAreaDispatch): add a fitCursor call
1509 2003-11-10 André Pönitz <poenitz@gmx.net>
1512 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1514 2003-11-10 André Pönitz <poenitz@gmx.net>
1516 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1517 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1518 indicate that the cursor needs to leave an inset
1520 * lyxtext.h: remove inset locking
1522 * cursor.[Ch]: re-implement functionality provided by inset locking
1525 * BufferView_pimpl.[Ch]:
1527 * bufferview_funcs.[Ch]:
1539 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1541 * PosIterator.[Ch]: replace the stack with a vector, add inset
1543 * iterators.[C]: adjust
1545 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1547 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1549 * paragraph_funcs.C (readParToken): put the correct id in the
1550 error item, not the id of the top paragraph
1552 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1554 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1555 * bufferview_funcs.C (put_selection_at): use the above
1557 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1559 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1561 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1563 * output_linuxdoc.h:
1564 * output_plaintext.h:
1566 * output_docbook.h: add #include statements
1568 2003-11-05 José Matos <jamatos@lyx.org>
1570 * output_docbook.[Ch]:
1571 * output_latex.[Ch]:
1572 * output_linuxdoc.[Ch]:
1573 * output_plaintext.[Ch]: New files for output formats.
1574 * output.[Ch]: New file for helper functions.
1577 * paragraph_funcs.[Ch]: output functions moved to new files.
1579 * outputparams.h: rename of latexrunparams.h
1587 * paragraph_funcs.[Ch]:
1588 * paragraph_pimpl.[Ch]:
1589 * tabular.[Ch]: rename ascii to plaintext
1590 and LatexRunParams to OutputParams.
1592 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1594 * iterators.[Ch] (text): require bv argument
1595 * undo.C (recordUndo):
1596 * lyxfunc.C (dispatch):
1597 * bufferview_funcs.C (put_selection_at): adjust
1599 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1601 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1603 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1605 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1608 2003-11-04 André Pönitz <poenitz@gmx.net>
1610 * cursor.[Ch]: restructure
1613 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1615 * iterators.[Ch] (asCursor): remove
1617 * lfuns.h: remove LFUN_INSET_EDIT
1623 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1625 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1627 * lyxfind.[Ch]: complete overhaul
1628 * BufferView_pimpl.C:
1630 * paragraph.[Ch] (insert): add
1632 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1636 * text.C: remove dead spellcheck code
1638 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1640 * dispatchresult.h: add a val setter
1642 * cursor.C (dispatch): use a tempvar for data_[i]
1644 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1646 * PosIterator.[Ch]: compile fix
1648 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1650 * text.C (cursorPar): deactivate the cursor cache
1652 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1654 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1656 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * text3.C (dispatch): adjust for new DisptchResult semantics.
1660 * lyxfunc.C (dispatch): handle update when return from
1661 Cursor::dispatch, adjust for new DispatchResult semantics.
1663 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1664 DispatchResult(true) mean to not update. Add class functions for
1665 setting dispatched and update, as well as reading.
1667 * cursor.C (dispatch): don't handle update here
1669 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1671 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1672 * trans_mgr.C: adjust
1674 * paragraph_funcs.C (readParToken): exception safety
1676 * lyxvc.h: store the vcs pointer in a scoped_ptr
1679 * lyxsocket.C (serverCallback): exception safety
1681 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1683 * ispell.C (clone): make it return a auto_ptr
1685 * factory.C (createInset): exception safety
1686 (readInset): exception safety
1688 * bufferlist.C (newBuffer): exception safety
1690 * Thesaurus.C (Thesaurus): use initialization for aik_
1692 * MenuBackend.C (expandToc): exception safety.
1694 2003-11-03 André Pönitz <poenitz@gmx.net>
1698 * bufferview_funcs.C: remove getInsetFromId()
1701 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1707 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1709 * PosIterator.C (distance, advance): new
1710 * bufferview_funcs.[Ch] (put_selection_at): new
1711 * iterators.[Ch] (lockPath): new
1713 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1715 * iterators.[Ch] (asPosIterator): added
1716 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1717 * PosIterator.[Ch]: added
1719 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1723 * cursor.C (dispatch):
1724 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1726 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1727 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1728 contructor, add a class function dispatched. Remove operator>=
1730 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * debug.C: only use the default constructor for debugstream
1735 * main.C (main): include debug.h and setup the lyxerr streambuf
1738 2003-10-31 José Matos <jamatos@lyx.org>
1740 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1742 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1743 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1744 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1745 * paragraph_pimpl.C (simpleTeXSpecialC):
1746 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1747 add LatexRunParams argument.
1749 * exporter.C (Export): change call accordingly.
1751 * latexrunparams.h: add new member to take care of the other backends.
1752 2003-10-30 José Matos <jamatos@lyx.org>
1754 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1755 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1756 factorise code for paragraph output.
1758 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1761 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1763 * text3.C (dispatch):
1764 * lyxfunc.C (dispatch):
1765 * cursor.C (dispatch):
1766 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1768 * dispatchresult.h: make the dispatch_result_t ctor explicit
1770 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1773 * buffer.C: small refactoring of docbook stuff
1775 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1777 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1780 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1782 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1783 operator dispatch_result_t, and operators for == != and >=
1785 * cursor.C (dispatch): adjust for operator dispatch_result_t
1786 removal. comment out call to update
1788 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1790 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1798 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1801 * dispatchresult.h: new file, DispatchResult broken out of
1804 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1806 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1808 * text.C (rowBreakPoint): put a hack inside #if 0
1810 2003-10-28 André Pönitz <poenitz@gmx.net>
1814 * paragraph_funcs.C:
1817 * text2.C: general cleanup (lots of small stuff)
1819 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1821 * text2.C (cursorEnd): simple fix to the "end key goes to one
1822 before the end on last row" bug
1824 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1826 * text.C (backspace): fix the "zombie characters"
1828 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1830 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1832 2003-10-27 André Pönitz <poenitz@gmx.net>
1834 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1836 * factory.C: handle new InsetPagebreak, InsetLine
1838 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1839 and move handling into new InsetPagebreak, InsetLine
1841 * BufferView_pimpl.C:
1843 * ParagraphParameters.C:
1844 * ParameterStruct.h:
1849 * paragraph_funcs.C:
1850 * paragraph_pimpl.C:
1856 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1859 * lyxrow_funcs.[Ch]:
1865 * text3.C: remove lastPos uses in favour of Row::endpos
1867 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1869 * undo.C (performUndoOrRedo): fix two crashes by setting a
1870 cursor by hand and reordering some calls. Use bv->lockInset instead
1871 of inset->edit because the latter loses cursor information
1873 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1875 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1877 (rowBreakPoint): fix width. change point to point + 1.
1878 Add a missing check.
1880 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1883 * lyxfunc.C: fix (at least partly) the problems
1884 with the Nav menu and headers inside branch insets
1887 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1889 * paragraph.C (getChar): add strong asserts
1891 * lyxrow_funcs.C (lastPos): remove hideous hack
1893 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1894 (fill): adjust to that (avoid an infinite loop)
1896 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1898 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1900 2003-10-23 André Pönitz <poenitz@gmx.net>
1902 * RowList_fwd.h: change list<> to vector<> to gain speed
1903 after suggestion from Alfredo
1905 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1907 * lyxtext.h: move the bidi stuff from here...
1910 * Bidi.[Ch]: ... to here
1912 2003-10-23 André Pönitz <poenitz@gmx.net>
1915 * text.C (isLastRow, isFirstRow): new functions
1917 * paragraph.h: new width cache member
1919 * rowpainter.C: replace RowList::iterator with Row & where possible
1921 * lyxfunc.C: replace several view()->text with a single call
1923 * toc.C: fix 'unused' warning
1925 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1928 when woring with stream::pos_type
1929 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1931 2003-10-22 André Pönitz <poenitz@gmx.net>
1934 * text.C: use Row & instead of RowList::iterator
1936 * lyxrow.h: rename end() to endpos()
1942 2003-10-22 Angus Leeming <leeming@lyx.org>
1944 * buffer.[Ch] (fully_loaded): new member function, returning true
1945 only when the file has been loaded fully.
1946 Used to prevent the premature generation of previews and by the
1947 citation inset to prevent computation of the natbib-style label.
1949 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1950 templates are all set up.
1952 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1954 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1956 * text.C: fixed an "oops" in the "is a bit silly"
1959 2003-10-21 André Pönitz <poenitz@gmx.net>
1961 * FuncStatus.[Ch]: small stuff, whitespace
1963 * lyxfont.[Ch]: operator<<() for debug reasons
1967 * lyxtext.h: whitespace, spelling
1969 * paragraph.C: naming of variables
1972 * text2.C: small stuff
1975 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1977 * text.C: (1) finish off the inset display() work;
1978 (2) fix the "is a bit silly" bug (accessing char
1981 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1983 * text.C: re-introduce display() for insets, fixing the
1984 various bugs (stretch of line above, math inset
1987 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1989 * text.C (rightMargin): remove spurious semicolon
1991 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1994 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1996 * text3.C: fix one crash due to wrong cursor def
1998 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * vc-backend.C (scanMaster): make the regex static
2002 * LaTeX.C (scanAuxFile): make the regexs static
2004 * text3.C (doInsertInset, dispatch, dispatch):
2005 * text2.C (cursorUp, cursorDown):
2006 * text.C (selectNextWordToSpellcheck):
2007 * BufferView_pimpl.C (dispatch):
2008 * lyxfunc.C (dispatch): localDispatch -> dispatch
2010 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2012 * lyxsocket.C: include <cerrno>
2014 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * lyxfunc.C (dispatch): remove textcache stuff
2018 * bufferlist.C (release): remove textcache stuff
2021 * TextCache.C: delete file
2022 * TextCache.h: delete file
2024 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2026 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2027 delete of the bv_->text.
2028 (resizeCurrentBuffer): remove texcache stuff
2029 (workAreaResize): ditto
2031 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2036 2003-10-16 André Pönitz <poenitz@gmx.net>
2043 * text3.C: speed up by storing y positions per paragraph plus per-row
2044 offset instead of having a 'full' y position in the row.
2046 2003-10-15 André Pönitz <poenitz@gmx.net>
2050 * undo.[Ch]: make undo aware of inner insets
2052 2003-10-14 Angus Leeming <leeming@lyx.org>
2054 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2055 static member functions LyX::ref() and LyX::cref.
2056 (lastfiles): new accessor functions for the new lastfiles_ member var.
2057 (addLyXView, views_): add a new LyXView to the list of views_.
2058 (updateInset): loop over all LyXViews to call their own updateInset
2059 member function, returning a pointer to the Buffer owning the inset.
2061 * BufferView_pimpl.C (loadLyXFile):
2062 * MenuBackend.C (expandLastfiles):
2063 * bufferlist.C (MenuWrite, QuitLyX):
2064 lastfiles is no longer a global variable.
2065 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2067 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2068 static function. Access through LyX::cref().emergencyCleanup().
2070 2003-10-14 André Pönitz <poenitz@gmx.net>
2072 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2074 * undo.[Ch]: restoring part of 'undo in insets'
2077 * undo_funcs.[Ch]: merge with undo.[Ch]
2079 * tabular.C: small cleansing stuff
2081 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2083 * paragraph_funcs.C (readParToken): report unknown insets as error
2084 boxes. Use the outer paragraph as location (also for unknown
2087 * factory.C (readInset): do not abort on reading an unknown inset.
2088 Eat it and return 0.
2090 2003-10-13 Angus Leeming <leeming@lyx.org>
2092 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2094 * lyxrc.C: displayTranslator is now a function,
2095 declared in GraphicsTypes.h.
2097 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2099 * format.C: new placeholder $$a to pass the socket address.
2101 * bufferlist.[Ch]: new function getBufferFromTmp.
2103 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2104 files in the temporary dir.
2106 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2108 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2110 * Makefile.am: add lyxsocket.[Ch].
2112 * lyx_main.C (error_handler): handle SIGPIPE.
2114 2003-10-13 André Pönitz <poenitz@gmx.net>
2116 * BufferView_pimpl.C:
2121 * undo_funcs.[Ch]: use paroffset_type instead of
2122 ParagraphList::iterators to prevent multiple conversion
2123 (and get a more robust interface)
2125 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2129 * text3.C (dispatch): ditto
2131 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2134 move the onlyfile, use onlyfile instead of foundfile in a couple
2137 * DepTable.C (update): flush the error stream a bit more
2139 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * lyxserver.C (callback): adjust
2143 * lyxfunc.C (getStatus): add a missing brace in commented code
2144 (ensureBufferClean): reindent
2145 (dispatch): delete version taking a string
2147 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2149 * LaTeX.C (deplog): move found file handlig from here...
2150 (handleFoundFile): .. to new function here.
2151 (deplog): make sure to discover several files mentioned on the
2154 2003-10-10 André Pönitz <poenitz@gmx.net>
2161 * text3.C: fix some of the tabular crashes
2163 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2165 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2167 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2169 2003-10-09 André Pönitz <poenitz@gmx.net>
2171 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2174 * BufferView_pimpl.C:
2175 * bufferview_funcs.C:
2186 * undo_funcs.C: adjust
2188 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * text2.C (incrementItemDepth): new function, use a backtracking
2191 algorithm to discover the correct item depth.
2192 (resetEnumCounterIfNeeded): new function, use a backtracking
2193 algorithm to discover if counter reset is needed.
2194 (setCounter): use them. Simplify a bit. Add different labels for
2195 different item depths for itemize.
2197 * paragraph.C (Paragraph): remove initialization of enumdepth
2200 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2201 enumerate and itemize. Change the type of itemdepth to signed char.
2203 2003-10-08 André Pönitz <poenitz@gmx.net>
2205 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2210 * tabular.[Ch]: fix crash after 'row-insert'
2212 2003-10-08 Angus Leeming <leeming@lyx.org>
2214 Fix doxygen warnings.
2216 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2217 Remove CutAndPaste:: prefix from header file declaration.
2219 * LColor.h (fill): remove LColor:: prefix from declaration.
2221 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2222 use lyx::depth_type rather than Paragraph::depth_type so that
2223 header file and .C file match.
2225 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2227 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2228 * aspell.C: \file aspell_local.C -> \file aspell.C
2229 * gettext.C: \file gettext.C -> \file src/gettext.C
2230 * gettext.h: \file gettext.h -> \file src/gettext.h
2231 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2232 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2233 * text.C: \file text.C -> \file src/text.C
2235 * toc.C: move comment so that doxygen is not confused.
2237 2003-10-07 Angus Leeming <leeming@lyx.org>
2239 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2241 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2244 * aspell_local.h: add forgotten std::string's.
2246 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2253 * text3.C: The Box patch. Fancybox support, minipage, parbox
2255 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2261 * ParagraphParameters.h:
2271 * lyxtextclasslist.h:
2274 * paragraph_pimpl.C:
2275 * textcursor.h: add <string> and other small fixes to make Lars'
2276 std::string patch compile with STLport.
2278 2003-10-06 Angus Leeming <leeming@lyx.org>
2280 * LColor.h: Add missing #include <string>.
2282 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2284 * All most all file in all subdirs: Make <string> be the prefered
2285 way of getting to std::string, add using declarations.
2287 2003-10-06 André Pönitz <poenitz@gmx.net>
2289 * metricsinfo.C: initialize LyXFont before changing attribute.
2290 (fixes the 'math in \emph is upright' bug)
2292 2003-10-06 André Pönitz <poenitz@gmx.net>
2294 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2296 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2299 * paragraph_pimpl.C: Small fixes to build using STLport
2301 2003-10-02 André Pönitz <poenitz@gmx.net>
2304 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2306 2003-10-01 André Pönitz <poenitz@gmx.net>
2308 * factory.C: assert early
2310 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * lyx_main.C: remove the global debug object
2314 * debug.h: adjust for new debugstream
2316 * debug.C: adjust for new debugstream and keep the global debug
2319 2003-09-22 Angus Leeming <leeming@lyx.org>
2321 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2322 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2323 an incomplete class LyXFont.
2325 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2327 * factory.C: bug fix in branches
2329 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * lyxfunc.C (processKeySym): adjust
2333 (dispatch): change arg name from ev to func, adjust
2334 (sendDispatchMessage): ditto
2336 * lyx_main.C (defaultKeyBindings): adjust keybindings
2337 (deadKeyBindings): ditto
2339 * kbsequence.C (addkey): return a FuncRequest
2341 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2343 * kbmap.C (bind): take a FuncRequest as arg, adjust
2346 (defkey): change to take a FuncRequest as arg, adjust
2347 (findbinding): take a FuncRequest as arg, adjust.
2349 * funcrequest.h (operator=): added
2351 * funcrequest.C (FuncRequest): default kb_action changed from
2352 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2354 * buffer.C (dispatch): simplify
2355 (dispatch): adjust to take a FuncRequest as arg, adjust
2357 * boost.C (assertion_failed): change assertion message slightly
2359 * ToolbarBackend.C (read): simplify
2361 * MenuBackend.C (binding): adjust call to findbinding, add a
2362 message if no binding is found.
2364 (expandToc): correct by adding a empty FuncRequest
2366 * LyXAction.C: include <boost/assert.hpp>
2367 (isPseudoAction): delete function
2368 (LookupFunc): change name to...
2369 (lookupFunc): this. change return type to FuncRequest.
2370 (getActionName): take kb_action as arg, simplify
2371 (funcHasFlag): add an assert, simplify.
2373 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2375 * toc.C (action): return a FuncRequest, simplify
2377 * lyxfunc.C (processKeySym): adjust
2378 (getStatus): delete version that takes an int.
2380 (dispatch): delete version that takes action as int
2382 (sendDispatchMessage): simplify and adjust
2384 * funcrequest.C (getArg): take unsigned int as arg
2386 * ToolbarBackend.C (read): adjust
2387 (add): delete version that takes func as a string.
2388 (getIton): take a FuncRequest as arg
2390 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2393 * MenuBackend.C (MenuItem): add a new construct that only takes a
2394 Kind, simplify the constructor use for submenus.
2396 (expandLastfiles): adjust
2397 (expandDocuments): adjust
2398 (expandFormats): adjust
2399 (expandFloatListInsert): adjust
2400 (expandFloatInsert): adjust
2401 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2403 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2404 Remove class variables lyx_pseudo_map and lyx_arg_map
2406 * LyXAction.C (searchActionArg): delete function
2407 (getPseudoAction): delete function
2408 (retrieveActionArg): delete function
2409 (LookupFunc): make it return kb_action, simplify.
2410 (getActionName): simplify
2412 * factory.C (createInset): fix new bug
2414 2003-09-19 Angus Leeming <leeming@lyx.org>
2416 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2417 masterFilename_ parameter in the include inset.
2419 * factory.C (createInset): changes due to the changes to InsetInclude.
2421 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2423 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2425 2003-09-18 Angus Leeming <leeming@lyx.org>
2428 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2429 Inset::fillWithBibKeys.
2430 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2432 2003-09-18 Angus Leeming <leeming@lyx.org>
2434 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2436 (ctor): pass and store a 'Buffer const &'
2437 (buffer): new member function.
2439 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2440 '*this' to the LaTeXFeatures ctor.
2442 2003-09-18 Angus Leeming <leeming@lyx.org>
2448 * text.C: rename EnumLColor as LColor_color.
2450 2003-09-18 Angus Leeming <leeming@lyx.org>
2452 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2453 remove #include "insets/insetbase.h" from cursor.h.
2455 2003-09-18 Angus Leeming <leeming@lyx.org>
2457 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2458 InsetOld_code to remove #include "inset.h".
2460 * iterators.C: add #include "insets/inset.h"
2462 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2464 * BufferView.C: remove more locking stuff that apparently doesn't
2465 do anything sensible.
2467 2003-09-16 André Pönitz <poenitz@gmx.net>
2470 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2473 2003-09-16 Angus Leeming <leeming@lyx.org>
2475 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2477 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2480 * paragraph.h: remove #include "lyxfont.h". Forward declare
2483 2003-09-16 Angus Leeming <leeming@lyx.org>
2485 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2486 of support/textutils.h.
2487 (isWord): move the contents of support/textutils.h's IsWordChar here.
2493 * text2.C: add #include "paragraph.h".
2496 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2498 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * LaTeX.C: use namespace alias for lyx::support::os
2506 2003-09-16 Angus Leeming <leeming@lyx.org>
2509 * bufferview_funcs.C:
2512 * paragraph_pimpl.C:
2514 * text.C: add #include "LColor.h".
2516 2003-09-16 Angus Leeming <leeming@lyx.org>
2518 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2519 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2521 Store the FontBits::color variable as an int rather than as an
2522 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2525 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2526 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2527 string calls together.
2529 * lyxrc.C: add #include "LColor.h".
2531 2003-09-15 Angus Leeming <leeming@lyx.org>
2533 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2536 2003-09-15 Angus Leeming <leeming@lyx.org>
2538 * LColor.h: add an EnumLColor wrapper for LColor::color.
2540 * lyxfont.[Ch] (color, setColor, realColor):
2541 * lyxtext.h, text.C (backgroundColor):
2542 pass EnumLColor args to/from the functions, rather than LColor::color
2546 * lyxtext.h: forward declare EnumLColor.
2548 * lyx_main.C: add #include "LColor.h".
2550 2003-09-15 Angus Leeming <leeming@lyx.org>
2552 * .cvsignore: add lyx-gtk.
2554 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2559 * ParagraphParameters.C
2563 * bufferview_funcs.C
2573 * vc-backend.C: remove usage of STRCONV
2575 2003-09-15 Angus Leeming <leeming@lyx.org>
2577 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2578 explicitly define the color passed to the painter.
2580 2003-09-15 Angus Leeming <leeming@lyx.org>
2582 * bufferparams.C (BufferParams): reorder member initializers to avoid
2585 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2587 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2588 * text.C (updateRowPositions): remove an unusual nop
2590 2003-09-12 André Pönitz <poenitz@gmx.net>
2592 * BufferView_pimpl.C:
2601 * Counters.[Ch]: finish the 'automatic counters' job
2603 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2605 * aspell.C: include <boost/assert.cpp> (compile fix)
2607 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2609 * boost.C (assertion_failed): use lyx::support::abort instead of
2612 2003-09-10 Angus Leeming <leeming@lyx.org>
2614 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2615 with their _fwd progeny.
2617 2003-09-09 Angus Leeming <leeming@lyx.org>
2619 134 files throughtout the source tree: replace 'using namespace abc;'
2620 directives with the appropriate 'using abc::xyz;' declarations.
2622 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2624 * boost.C (emergencyCleanup): moved here from LAssert.c
2625 (assertion_failed): new function, called by BOOST_ASSERT
2627 * several files: change Assert to BOOST_ASSERT
2629 2003-09-09 Angus Leeming <leeming@lyx.org>
2631 * buffer.[Ch]: Add an Impl class and move Buffer's member
2632 variables into it. As a result move several header files out of
2635 Add header files to lots of .C files all over the tree as a result.
2637 2003-09-09 Angus Leeming <leeming@lyx.org>
2639 * buffer.[Ch]: make Buffer's member variables private. Add
2642 Lots of changes all over the tree as a result.
2644 2003-09-08 Angus Leeming <leeming@lyx.org>
2646 * graph.C: #include <config.h>.
2648 2003-09-08 Angus Leeming <leeming@lyx.org>
2652 * BufferView_pimpl.C:
2681 * toc.C: remove redundant using directives.
2683 2003-09-07 Angus Leeming <leeming@lyx.org>
2685 * LaTeXFeatures.h: remove #include "support/types.h".
2686 * ToolbarBackend.h: remove #include <algorithm>.
2687 * changes.h: remove #include <ctime>.
2688 * debug.h: remove #include <iosfwd>.
2689 * graph.h: remove #include "support/std_string.h".
2690 * lyx_main.h: remove #include <csignal>.
2691 * lyxlex_pimpl.h: remove #include <fstream>.
2692 * sgml.h: remove #include <algorithm>, <utility>.
2693 * toc.h: remove #include "support/std_ostream.h".
2694 Add #include <iosfwd>.
2696 2003-09-07 Angus Leeming <leeming@lyx.org>
2698 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2700 * converter.h: forward declare LatexRunParams.
2701 * encoding.h: remove #include "lyxrc.h".
2702 * lyxtext.h: remove #include "LColor.h".
2703 * lyxtextclass.h: remove #include "support/types.h".
2704 * trans.h: remove #include "tex-accent.h".
2705 * trans_mgr.h: remove #include "tex-accent.h".
2706 * insets/inset.h: remove #include "support/types.h", <vector>.
2707 * insets/insetcollapsable.h: remove #include "LColor.h".
2708 * insets/insetinclude.h: remove #include "dimension.h".
2709 * insets/insetlatexaccent.h: remove #include "dimension.h".
2710 * insets/insetoptarg.h:: remove #include "insettext.h".
2711 * insets/insettext.h: remove #include "dimension.h",
2712 <boost/shared_ptr.hpp>
2714 * insets/renderers.h: add #include "dimension.h".
2715 * insets/updatableinset.h: add #include "support/types.h".
2717 * many .C files: Associated changes.
2719 2003-09-06 Angus Leeming <leeming@lyx.org>
2721 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2722 one, inside testInvariant.
2724 * PrinterParams.C: new file.
2725 * PrinterParams.[Ch]: move the function bodies out of line.
2727 2003-09-06 Angus Leeming <leeming@lyx.org>
2729 * ParagraphParameters.h: forward declare ParameterStruct rather than
2730 including its header file.
2731 (depth): moved out-of-line.
2733 2003-09-06 Angus Leeming <leeming@lyx.org>
2735 * BufferView_pimpl.h:
2738 * lyxfunc.h: forward declare LyXKeySym rather than
2739 #include "frontends/LyXKeySym.h".
2741 * BufferView_pimpl.C:
2744 * lyxfunc.C: associated changes.
2746 2003-09-06 Angus Leeming <leeming@lyx.org>
2748 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2749 As a result, can remove the #include "insets/inset.h" from BufferView.h
2751 2003-09-06 Angus Leeming <leeming@lyx.org>
2753 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2754 As a result, can remove the #include "insets/inset.h" from BufferView.h
2756 2003-09-06 Angus Leeming <leeming@lyx.org>
2762 * bufferview_funcs.C:
2763 * BufferView_pimpl.C:
2768 * ParagraphParameters.C:
2773 * frontends/controllers/ControlDocument.C:
2774 * insets/insetcaption.C: rearrange the #includes into some sort of
2777 * buffer.h: remove #includes ErrorList.h, undo.h
2779 2003-09-06 Angus Leeming <leeming@lyx.org>
2781 * support/types.h: add a 'depth_type' typedef, used to store the
2782 nesting depth of a paragraph.
2785 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2786 defining explicitly.
2789 * paragraph_funcs.h:
2790 * ParagraphParameters.h:
2791 * sgml.h: use lyx::depth_type rather than Paragraph or
2792 ParameterStruct's depth_type.
2795 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2798 * BufferView_pimpl.C:
2800 * ParagraphParameters.C:
2803 * bufferview_funcs.C:
2810 * frontends/LyXView.C:
2811 * frontends/controllers/ControlDocument.C:
2812 * frontends/controllers/ControlErrorList.C:
2813 * insets/insetbibitem.C:
2814 * insets/insetbranch.C:
2815 * insets/insetcaption.C:
2816 * insets/insetcollapsable.C:
2817 * insets/insetenv.C:
2818 * insets/insetert.C:
2819 * insets/insetfloat.C:
2820 * insets/insetfoot.C:
2821 * insets/insetfootlike.C:
2822 * insets/insetnewline.C:
2823 * insets/insetquotes.C:
2824 * insets/insettabular.C:
2825 * insets/insettext.C:
2826 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2828 * frontends/controllers/ControlChanges.C: #include "changes.h".
2830 2003-09-06 Angus Leeming <leeming@lyx.org>
2832 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2833 than #including paragraph.h.
2836 * RowList.h: deleted. Superfluous.
2846 * insets/insettext.h: use ParagraphList_fwd.h rather than
2849 * paragraph.h: don't forward declare ParagraphList.
2852 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2853 rather than ParagraphList.h. paragraph.h is still needed for the
2854 Paragraph::depth_type parameters.
2856 * textcursor.h: enable it to compile stand-alone in light of the
2859 * bufferview_funcs.C:
2871 * frontends/controllers/ControlParagraph.C:
2872 * frontends/controllers/ControlTabular.C:
2873 * insets/insetmarginal.C:
2874 * insets/insetminipage.C:
2875 * insets/insetnote.C:
2876 * insets/insetoptarg.C: add header files needed to compile again.
2878 2003-09-06 Angus Leeming <leeming@lyx.org>
2880 * RowList_fwd.h: new file, forward-declaring Row rather than
2881 #including lyxrow.h.
2886 * insets/insettext.h: use it instead of RowList.h
2888 * bufferview_funcs.C:
2895 * text3.C: #include "RowList.h".
2897 2003-09-05 Angus Leeming <leeming@lyx.org>
2899 * factory.C (createInset):
2900 * vspace.C (c-tor): replace sscanf call with an istringstream.
2901 * ispell.C: re-add missing HP/UX headers.
2902 * lyxserver.C: re-add missing os2 headers.
2904 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2913 * text3.C: re-add missing system headers, needed for 2.95.2.
2915 2003-09-05 Angus Leeming <leeming@lyx.org>
2917 Changes most place everywhere due to the removal of using directives
2918 from support/std_sstream.h.
2920 2003-09-05 Angus Leeming <leeming@lyx.org>
2922 Replace LString.h with support/std_string.h,
2923 Lsstream.h with support/std_sstream.h,
2924 support/LIstream.h with support/std_istream.h,
2925 support/LOstream.h with support/std_ostream.h.
2927 Changes resulting throughout the tree.
2929 2003-09-05 Angus Leeming <leeming@lyx.org>
2931 * sgml.h: ensure that the header file can be compiled stand-alone.
2932 * *.C: strip out redundant #includes. (320 in total.)
2934 2003-09-04 Angus Leeming <leeming@lyx.org>
2936 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2937 here (from getPackages).
2939 * debug.[Ch]: add a new EXTERNAL tag.
2941 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2943 * text2.C (cursorEnd): simplify
2945 (getColumnNearX): adjust
2947 * text.C (computeBidiTables): adjust
2950 * rowpainter.C (paintChars): adjust
2951 (paintSelection): adjust
2952 (paintChangeBar): adjust
2955 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2957 (numberOfSeparators): adjust
2959 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2965 * text3.C: Restricts the mouse click functionality
2966 of insets like bibtex, include, toc and floatlist to the visible
2967 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2968 up the dialogs. Cursor has to be in front of the inset (i.e.
2969 start of row) for this to function.
2971 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2973 * bufferview_funcs.C (currentState): output row information
2975 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2977 * bufferview_funcs.C (currentState): output paragraph position
2979 2003-09-04 Angus Leeming <leeming@lyx.org>
2981 * FloatList.h: move out #include "Floating.h".
2982 * LaTeX.h: move out #include "DepTable.h".
2983 * LyXAction.h: move out #include "funcrequest.h".
2984 * buffer.h: move out #include "author.h", "iterators.h".
2985 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2986 * lyx_main.h: move out #include "errorlist.h".
2987 * lyxfunc.h: move out #include "FuncStatus.h".
2988 * lyxtext: move out #include "lyxcursor.h".
2989 * paragraph_pimpl.h: move out #include "counters.h".
2991 2003-09-03 Angus Leeming <leeming@lyx.org>
2993 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2994 preamble_snippets list, enabling us to add snippets to the preamble
2995 only if the snippet was not there already.
2997 2003-09-04 Angus Leeming <leeming@lyx.org>
2999 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3001 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3006 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3008 * BranchList.C: point fix, earlier forgotten
3010 2003-09-02 Angus Leeming <leeming@lyx.org>
3012 * box.C (contains): renamed from 'contained' after a fantastic
3015 2003-09-02 John Levon <levon@movementarian.org>
3021 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3023 2003-09-02 John Levon <levon@movementarian.org>
3025 * text2.C: simplification of cursorEnd(), including partial
3028 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3030 * buffer.C (readFile): add a space
3032 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3034 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3036 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * buffer.C (readFile): new function, take a filename and a
3039 ParagraphList::iterator
3041 (readFile): adjust, make it private. don't use setStream, make
3042 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3043 always contain the filename.
3045 * BufferView.C (insertLyXFile): simplify and make it work for
3048 2003-08-30 John Levon <levon@movementarian.org>
3050 * Makefile.am: fix dist (from Kayvan)
3052 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3054 * most files: change to use const Buffer refs
3056 2003-08-27 André Pönitz <poenitz@gmx.net>
3058 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3059 on top of ownerPar().
3061 2003-08-27 John Levon <levon@movementarian.org>
3063 * funcrequest.C: properly initialise POD members
3065 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3067 * lyxtext.h (top_y): move top_y from here
3072 * BufferView_pimpl.[Ch]: to here
3073 * frontends/screen.C:
3074 * insets/insettabular.C:
3075 * insets/insettext.C: adjust
3076 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3078 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3081 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3083 2003-08-26 André Pönitz <poenitz@gmx.net>
3085 * paragraph_func.[Ch] (outerPar): new function
3088 * paragraph_funcs.C:
3089 * paragraph_funcs.h:
3090 * paragraph_pimpl.C:
3091 * text2.C: remove Inset::par_owner
3093 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3098 * text2.C: eliminates the needFullRow/display() stuff
3099 altogether, putting the logic in metrics/draw in the insets.
3101 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3103 * text2.C (redoParagraphInternal, redoParagraphs):
3104 * text.C (redoParagraph): add a call to updateRowPositions at the
3105 end of each 'metrics-like' call. Remove all others.
3106 (getRow): remove the 'y-computing' version.
3107 (getRowNearY): do not compute nor return the real y. Solve the
3108 'y < 0' problem and simplify.
3110 2003-08-22 Angus Leeming <leeming@lyx.org>
3112 * *.[Ch]: clean-up of licence and author blurbs.
3113 Also move config.h out of a few .h files and into a few .C files.
3115 2003-08-22 André Pönitz <poenitz@gmx.net>
3117 * lyxrow.[Ch]: add x_ and *fill_ members
3122 * text2.C: adjust/remove prepareToPrint() calls
3124 2003-08-22 André Pönitz <poenitz@gmx.net>
3126 * lyxrow.[Ch]: add end_ member
3128 * lyxrow_funcs.C: use LyXRow::end_
3130 * lyxtext.h (singleWidth): add LyXFont parameter
3133 * text2.C: adjust LyXText::singleWidth() calls
3135 * text.C (redoParagraph): simplify row breaking logic
3138 2003-08-19 André Pönitz <poenitz@gmx.net>
3140 * funcrequest.C: initialize button_ member
3143 * rowpainter.[Ch]: interface consolidation
3145 2003-08-18 André Pönitz <poenitz@gmx.net>
3148 * BufferView_pimpl.C:
3150 * paragraph_funcs.C:
3152 * text3.C: remove LyXScreen::draw() and fitCursor calls
3154 * BranchList.h: remove spurious semicolons
3156 * MenuBackend.C: fix branchlist related crash
3158 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3166 * bufferparams.[Ch]:
3170 * text3.C: implements the 'branch inset'
3171 idea. This allows the output of various versions of a document
3172 from a single source version, selectively outputing or suppressing
3173 output of parts of the text.
3174 This implementation contains a 'branch list editor' in a separate
3175 tab of the document settings dialog. Branches are user definable
3176 and have a "display colour" to distinguish them on-screen.
3178 ColorHandler was somewhat cleaned up.
3179 (1) make possible a dynamically growing LColor list by allowing
3180 the graphic context cache to grow along (vector);
3181 (2) eliminate an IMHO unnecessary step in colour allocation.
3183 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3185 * BufferView_pimpl.C: compile fix
3187 2003-08-15 André Pönitz <poenitz@gmx.net>
3189 * rowpainter.C: remove extra metrics calls
3191 * lyxtext.h: merge the two constructors into a single one,
3192 pass reference to owner's par list
3194 * BufferView_pimpl.C:
3198 2003-08-15 André Pönitz <poenitz@gmx.net>
3200 * lyxrow_funcs.[Ch]:
3203 * paragraph_funcs.C:
3208 * text_funcs.C: split LyXText::rowlist_ into individual
3209 Paragraph::rows_ chunks
3212 * BufferView_pimpl.[Ch]:
3215 * text3.C: remove toggleSelection()
3217 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3219 * bufferlist.C: beautify two alerts (shorter text of buttons)
3220 * buffer.C: Remove redundant ' ' from message
3222 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3223 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3224 rename VALIGN_CENTER to VALIGN_MIDDLE
3226 2003-08-11 André Pönitz <poenitz@gmx.net>
3228 * lyxtext.h (getPar):
3229 * text.C: new function
3231 2003-08-11 André Pönitz <poenitz@gmx.net>
3234 * tracer.[Ch]: remove unneeded files
3236 * InsetList.[Ch]: remove resizeInsetsLyXText()
3241 * text3.C: merge insertParagraphs() and appendParagraph()
3242 remove breakAgain(), update()
3244 * BufferView_pimpl.[Ch]:
3245 * bufferview_funcs.[Ch]:
3249 * tabular.C: adjust after text & InsetList changes.
3251 2003-08-08 André Pönitz <poenitz@gmx.net>
3253 * text.C (insertChar, backspace): replace rowlist fiddling
3254 with rebreak of full par
3257 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3258 checkParagraph, updateInset): removed
3260 2003-08-07 André Pönitz <poenitz@gmx.net>
3263 * text3.C: merge some LFUN handlers, remove dead code
3265 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3267 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3269 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3271 * text2.C (DEPM): fix part of bug 1255 and 1256
3273 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3275 * BufferView_pimpl.C (workAreaDispatch): change to use
3276 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3277 that are no mouse related.
3279 2003-08-05 André Pönitz <poenitz@gmx.net>
3282 * BufferView_pimpl.[Ch]:
3283 * bufferview_funcs.C:
3285 * text3.C: rip out "deep update"
3287 * textcursor.[Ch] (last_sel_cursor): remove unused member
3289 2003-08-04 André Pönitz <poenitz@gmx.net>
3292 * BufferView_pimpl.[Ch]:
3293 * ParagraphParameters.C:
3294 * bufferview_funcs.C:
3300 * text3.C: replace "complicated" BufferView::update(...) calls with
3303 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3305 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3307 * Makefile.am (lyx_SOURCES): add paper.h
3309 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3311 * Makefile.am: move things around so that both lyx-qt and
3312 lyx-xforms can be built (according to --with-frontend). Then lyx
3313 is a symbolic link to lyx-[firstfrontend]
3315 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3317 * Always use std::endl with lyxerr
3319 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3321 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3323 2003-08-01 André Pönitz <poenitz@gmx.net>
3326 * BufferView_pimpl.[Ch]:
3328 * text3.C: merge BufferView::repaint() and BufferView::update()
3330 2003-08-01 José Matos <jamatos@lyx.org>
3332 * buffer.[Ch]: file_format is no longer a buffer data element.
3334 2003-08-01 André Pönitz <poenitz@gmx.net>
3339 * text2.C: make redoParagraph more independent of current cursor
3341 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3343 * text2.C: remove unneeded members
3345 2003-07-30 André Pönitz <poenitz@gmx.net>
3347 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3349 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3350 create a single function...
3352 * paragraph_funcs.C (moveItem): ... here.
3355 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3357 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3359 * LColor.[Ch]: Add comment and greyedout logical colors.
3361 2003-07-30 André Pönitz <poenitz@gmx.net>
3363 * tabular.C: don't use Assert too heavily. This crashes where it
3366 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3368 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3369 is disabled (bug 1232)
3371 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3373 * factory.C: limited 'arg' scope
3375 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3377 * factory.C: fixed Note submenu issues
3379 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3381 * factory.C: submenu for Note/Comment/Greyedout
3383 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3386 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3388 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3391 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3392 greyedout. Patch provided by Jürgen Spitzmüller.
3394 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3396 * kbmap.C (read): fix error message when reading bind files
3398 2003-07-29 Angus Leeming <leeming@lyx.org>
3400 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3401 certainly does not do what it purports to do. I am doing it, and
3402 us, a favour by killing it.
3404 2003-07-28 José Matos <jamatos@lyx.org>
3406 * buffer.C (readBody, do_writeFile):
3407 * paragraph.C(readParagraph): \end_document replaces \the_end.
3409 2003-07-29 André Pönitz <poenitz@gmx.net>
3412 * BufferView_pimpl.[Ch]:
3416 * textcursor.[Ch]: remove toggleToggle & Co
3418 2003-07-28 José Matos <jamatos@fep.up.pt>
3420 * buffer.C (readParagraph):
3421 * params_func (readParToken, readParagraph):
3422 * paragraph.C (write): \layout -> \begin_layout.
3424 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * lyxlex_pimpl.C (setFile): clean up slightly.
3428 * bufferparams.h: add compressed var
3430 * buffer_funcs.C (readFile): adjust for LyXLex change
3431 (newFile): ditto + simplify
3433 * buffer.C (writeFile): handle writing of compressed files
3435 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3436 Check if the file is compressed and set a bufferparm if so.
3438 * Makefile.am (lyx_LDADD): remove explicit -lz
3440 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3442 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3443 makeDocBookFile): put the real LyX version in the first line of
3447 * version.C.in: remove lyx_docversion
3449 * tabular.C (write_attribute): add a template-based version to
3450 write enums properly
3452 2003-07-28 André Pönitz <poenitz@gmx.net>
3457 * text3.C: use doubles again for x-coordinates. They are needed.
3459 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3461 * messages.C (getLocaleDir): use lyx_localedir()
3463 * lyxlex_pimpl.C (setFile): compress stuff
3465 * buffer.C (writeFile): add some compression stuff
3466 (do_writeFile): new func, dont call expliti close... will this
3469 * Makefile.am (lyx_LDADD): add -lz
3471 2003-07-28 José Matos <jamatos@fep.up.pt>
3473 * buffer.C: increment file format.
3474 * paragraph_funcs (readParagraph, readParToken):
3475 * paragraph.C (readParagraph): add \end_layout.
3477 2003-07-27 Angus Leeming <leeming@lyx.org>
3479 * Makefile.am: remove special casing for configure-time setting of
3480 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3482 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3483 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3485 2003-07-26 André Pönitz <poenitz@gmx.net>
3487 * paragraph_func.[Ch]:
3488 * paragraph.C (realizeFont): inline it whereever it is used
3493 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3496 2003-07-26 André Pönitz <poenitz@gmx.net>
3500 * text2.C: get rid of LyXText::need_break_row
3502 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * toc.[Ch]: put namespace toc inside namespace lyx
3506 * MenuBackend.C (expandToc2): adjust for lyx::toc
3509 * lyxfunc.C (dispatch): adjust for lyx::find
3511 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3512 lyx::find instead. Reorganize a bit.
3513 (LyXReplace): rename to replace
3514 (LyXFind): rename to find
3516 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3519 2003-07-26 André Pönitz <poenitz@gmx.net>
3521 * text.C (setHeightOfRow): restrict scope of temporary variable
3523 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3524 code (never has been used?)
3526 2003-07-27 Asger Alstrup <alstrup@local>
3528 * text.C (fill): Optimise algorithm to exploit that we can reuse
3529 the LyXFont for many characters.
3530 (setHeightOfRow): Same thing.
3531 (rowBreakPoint): Same thing.
3533 2003-07-26 Asger Alstrup <alstrup@local>
3535 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3537 * text.C (singleWidth): Spurious font copying in hot-spot
3538 singleWidth avoided. Reorder tests for arabic for efficiency.
3540 * text.C (fill): handle empty paragraphs better.
3542 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3545 * encoding.h: add includes
3547 * lyxrc.C: remove reading of bind files
3549 * lyx_main.C (init): setup bindings and menus only if we have a
3552 * kbmap.C (read): new method. Do the actual reading of bind
3555 * converter.C (dvipdfm_options):
3558 (output): adapt PAPER_* enums.
3560 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3562 * bufferparams.h: remove paper-related enums from there
3564 * paper.h: New file. A trivial header file to hold paper-related
3565 enums. It should later expand to contain many paper-related
3568 * lyxrc.C: declare extern displayTranslator
3570 2003-07-27 José Matos <jamatos@fep.up.pt>
3572 * tabular.[Ch] (linuxdoc): add support for tables and figures
3575 2003-07-27 José Matos <jamatos@fep.up.pt>
3577 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3578 consistency in both functions.
3579 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3581 2003-07-26 Asger Alstrup <alstrup@local>
3583 * rowpainter.C (paintRows): Change algorithm to work directly on
3584 the insets rather than asking every character in the document
3585 whether its an inset.
3587 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3589 * buffer.C (openFileWrite): factorize some code
3591 2003-07-26 Angus Leeming <leeming@lyx.org>
3594 * lyx_main.[Ch]: replace occurances of system_tempdir with
3597 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3599 * rename Inset to InsetOld
3601 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3603 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3604 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3605 which I think is a bit clearer. EDIT is gone, since it was
3606 premature optimisation, and broken for mathed anyway.
3607 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3608 with cursor positioning in insets as well (math insets still do not
3609 work, but that's a different story anyway.) It mysteriously
3610 crashes sometimes with undo in the first paragraph, but I'm fairly
3611 confident that this is a compiler bug.
3613 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3615 * paragraph.C (Paragraph): adjust for new clone return type
3617 (copyIntoMinibuffer): ditto
3619 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3621 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3622 by not having a special case, and always doing a full rebreak of
3623 the document after undo.
3625 2003-07-23 Angus Leeming <leeming@lyx.org>
3627 * factory.C (createInset): InsetExternal::setParams now takes a
3630 2003-07-23 Angus Leeming <leeming@lyx.org>
3632 * factory.C (createInset): changed interface to the external and
3633 graphics mailers' string2params functions.
3635 2003-07-23 Angus Leeming <leeming@lyx.org>
3637 * factory.C (createInset): pass a
3638 Buffer const * parameter to InsetExternalMailer's string2params.
3640 2003-07-22 John Levon <levon@movementarian.org>
3642 * Thesaurus.h: include the right aiksaurus header
3644 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3646 * MenuBackend.C (expand): check menu shortcuts unconditionally
3648 2003-07-21 Angus Leeming <leeming@lyx.org>
3650 * factory.C (createInset): pass a
3651 buffer_path parameter to InsetGraphicsMailer's string2params.
3653 2003-07-21 Angus Leeming <leeming@lyx.org>
3655 * BufferView_pimpl.C (buffer):
3658 * lyxfunc.C (dispatch):
3659 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3660 rather than the grfx shortcut.
3662 2003-07-21 André Pönitz <poenitz@gmx.net>
3664 * rowpainter.C: remove unused variables
3667 * tabular_funcs.h: move to tabular.C
3668 * Makefile.am: adjust
3670 * tabular.[Ch]: basic optical cleaning
3672 * author.h: pass references, not values
3674 2003-07-18 André Pönitz <poenitz@gmx.net>
3682 * text3.C: two-phase drawing for InsetText and InsetTabular
3683 some float -> int changes.
3685 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3687 * lyx_main.C: fix the fix
3689 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3691 * lyx_main.C: fix a crash in batch mode if no files specified
3694 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3696 * format.[Ch] (papersize): moved to BufferParams
3697 * converter.[Ch] (dvips_options): moved to BufferParams
3698 (dvipdfm_options): moved to anon namespace
3699 * bufferparams.[Ch]: added above functions.
3701 2003-07-17 André Pönitz <poenitz@gmx.net>
3705 * text2.C: don't call inset->update() anymore
3707 * metricsinfo.[Ch]: add convenience constructor
3709 2003-07-16 André Pönitz <poenitz@gmx.net>
3714 * text2.C: replace the LyXCursor::irow_ member with
3715 on-demand computation of the value
3717 2003-07-16 John Levon <levon@movementarian.org>
3719 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3721 2003-07-15 André Pönitz <poenitz@gmx.net>
3724 * text2.C: remove no more needed refresh_row
3726 2003-07-15 André Pönitz <poenitz@gmx.net>
3731 * text3.C: refresh_status tristate -> need_update bool
3733 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3735 * lyxtext.h (init): remove reinit argument (act as if always true)
3736 * text2.C: adjust to that
3738 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3740 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3741 * text3.C: use it to delete selections in some cases
3742 (bugs 441, 673, 702, 954).
3744 2003-07-14 André Pönitz <poenitz@gmx.net>
3746 * rowpainter.[Ch]: reduce interface
3748 2003-07-14 André Pönitz <poenitz@gmx.net>
3750 * BufferView_pimpl.C:
3751 * text2.C: adjust after removing unused BufferView * argument
3753 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3755 * text2.C (init): fix a crash fired on resize
3757 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3759 * buffer.[Ch]: added new closing signal
3760 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3761 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3762 BufferView::Pimpl via the closing the signal
3764 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3766 * buffer.[Ch]: take out all bv-related from buffer
3768 * BufferView_pimpl.[Ch]: connect to new signals
3769 * CutAndPaste.C: removed useless asserts
3770 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3773 * lyxfunc.C: moved view-related funciontality from vc here
3774 * paragraph.C: removed outdated comments
3777 2003-07-10 André Pönitz <poenitz@gmx.net>
3779 * BufferView_pimpl.C:
3783 * text2.C: remove InsetText::InnerCache, clean up consequences
3785 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3787 * ispell.C: fix two typos in error messages
3789 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3791 * Extend Note inset to other forms of annotation like Comment
3792 and Greyedout. Right button click gives dialog.
3794 Files modified or added (+):
3798 * ControlNote.[Ch] +
3800 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3801 frontends/controllers
3805 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3807 * aspell.C: add missing namespace lyx::support
3809 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3811 * BufferView.[Ch] (newFile): Add
3812 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3813 * LaTeX.[Ch] (message): added this signal and use it
3814 * buffer.[Ch] (busy, message): added these signals and use them
3815 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3819 * importer.C: use buffer signals instead of direct bv calling
3820 * lyx_cb.[Ch] (ShowMessage): removed
3823 * paragraph_funcs.C:
3824 * text2.C: use buffer signals
3826 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * introduce namespace lyx::graphics
3830 2003-07-02 André Pönitz <poenitz@gmx.net>
3832 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3834 2003-07-01 André Pönitz <poenitz@gmx.net>
3841 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3842 text*.C to text_func.C
3844 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * introduce namespace lyx::support
3848 2003-06-30 André Pönitz <poenitz@gmx.net>
3853 * text.C: re-enable --with-included-string
3855 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * textcursor.C: add <config.h>
3859 * text.C (getWord): remove const from word_location arg
3861 * lyxvc.C (getLogFile): fix const type order
3863 * lyxtext.h: remove const from word_location arg, add arg name
3865 * lyxlayout.h: currect type on labeltype.
3867 * importer.C: correct \file
3869 * converter.C (intToFormat): use std:: on ret val, ws changes
3871 * bufferlist.h: correct \file
3873 * buffer.C (makeLinuxDocFile): fix const type order
3874 (makeDocBookFile): ditto
3875 (fillWithBibKeys): use std:: on stdlib args.
3877 * CutAndPaste.C: fix authors.
3878 (availableSelections): use std:: on return vector
3880 2003-06-27 André Pönitz <poenitz@gmx.net>
3882 * BufferView_pimpl.C:
3883 * bufferview_funcs.C:
3891 * text3.C: remove LyXCursor::row_ member
3894 * text.C: rename fullRebreak() to partialRebreak() and implement
3895 a fullRebreak() that really bereks fully
3897 * textcursor.h: new struct for cursor-related data
3899 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3901 * lyx_main.C (LyX): get full path of document loaded on the
3904 2003-06-26 André Pönitz <poenitz@gmx.net>
3906 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3907 remove unused/broken operator>,<,>=.
3909 * text.C: remove only use of broken operator<= in an Assert().
3911 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3913 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3914 moved errorlist_.clear to showErrorList
3916 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3918 * converter.C (scanLog, runLaTeX):
3919 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3920 move the bv->showErrorList call to the callers
3921 * lyxfunc.C: i.e. here...
3923 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3924 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3925 namespace, the second to...
3926 * buffer_funcs (BufferFormat, parseErrors): added
3927 * errorlist.C (ErrorList(TeXErrors const &)): removed
3929 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3931 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3933 2003-06-24 "Garst R. Reese" <reese@isn.net>
3937 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3939 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3941 * version.C.in: change docversion to 1.4
3943 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3945 * buffer.C: fix a bug just introduced
3947 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3949 * buffer.[Ch]: added the parseError signal and use it, removed
3951 * BufferView.[Ch] (addError): moved to ...
3952 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3953 to the Buffer::parseError signal to catch (guess what) parse errors
3954 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3956 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3958 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3959 ability to create a buffer and to return an existing one from
3960 the list. Moved these functions to...
3961 * buffer_funcs.[Ch]: added
3962 * BufferView.[Ch] (loadLyXFile): added
3963 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3964 job removed from bufferlist::loadLyXFile.
3965 * buffer.C (setReadOnly): make it work without view
3966 (i.e added an if (users))
3968 2003-06-19 Angus Leeming <leeming@lyx.org>
3971 * LyXAction.C (init):
3972 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3973 with LFUN_DIALOG_SHOW <name> <data>.
3975 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3977 * CutAndPaste.C (availableSelections): small compilation fix for
3978 ancient (gcc 2.9x) compilers
3980 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * text3.C (cursorNext): add tmp var
3984 * text2.C (updateCounters): for function calling out of for clause
3985 (replaceSelectionWithString): ditto
3986 (insertStringAsParagraphs): ditto
3987 (getColumnNearX): add tmp var
3988 (setCursorFromCoordinates): add tmp var
3989 (cursorDownParagraph): add tmp var
3990 (deleteEmptyParagraphMechanism): add tmp var
3992 * text.C (insertChar): add tmp var
3994 * rowpainter.C (paintDepthBar): add tmp var
3996 * CutAndPaste.C (availableSelections): potentially check all
3997 paragraphs in a cut to fill the shown strings.
3999 2003-06-18 André Pönitz <poenitz@gmx.net>
4001 * kbmap.[Ch]: use vector<> instead of list<>
4003 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4005 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4006 pasteSelection with index
4008 * text2.C (pasteSelection): modify, call pasteSelection with index
4010 * paragraph.C (asString): reimplement version with no interval to
4011 call the one with interval.
4013 * lyxtext.h: add index arg to pasteSelection
4015 * MenuBackend.C (MenuItem): handle PasteRecent
4016 (Menu::read::Menutags): add md_pasterecent
4018 (expandPasteRecent): new function
4021 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4023 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4025 (availableSelections): new function
4027 2003-06-17 Angus Leeming <leeming@lyx.org>
4029 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4031 2003-06-17 Angus Leeming <leeming@lyx.org>
4034 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4036 * lyxfunc.C (dispatch): invoke it.
4038 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4040 * iterators.C (operator++, ParPosition): reintroduce some
4041 const_cast for the benefit of older compilers.
4043 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4045 * text3.C (dispatch): do not modify clipboard when doing
4046 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4047 LFUN_DELETE_SKIP on a selection selection
4049 2003-06-16 André Pönitz <poenitz@gmx.net>
4055 * tabular.[Ch]: IU of clone() and getLabelList();
4057 2003-06-13 André Pönitz <poenitz@gmx.net>
4059 * tabular.h: compactification
4061 2003-06-12 André Pönitz <poenitz@gmx.net>
4065 * tabular_funcs.h: some renaming plus whitespace
4067 2003-06-12 André Pönitz <poenitz@gmx.net>
4070 * BufferView_pimpl.C:
4076 * toc.C: Return a Paragraph & for ParIterator::operator*()
4078 2003-06-11 John Levon <levon@movementarian.org>
4082 * ToolbarBackend.C: add "Toolbars" section and
4085 2003-06-10 Angus Leeming <leeming@lyx.org>
4088 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4090 * lyxfunc.C (dispatch): invoke it.
4092 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4094 * main.C: protect <ios> with HAVE_IOS
4095 (main): protect sync_with_stdio with HAVE_IOS
4097 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4099 * text2.C (cutSelection): adjust
4100 (pasteSelection): adjust
4102 * messages.C: handle get of empty string
4104 * main.C (main): use sync_with_stdio(false)
4106 * lyxfunc.C (dispatch): adjust
4108 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4109 (WriteAs): remove unneeded BufferView arg.
4111 * bufferparams.h: use correct types on papersize, papersize2 and
4114 * bufferparams.C (readToken): adjust for type
4115 (writeLaTeX): add missing cases to switch.
4117 * bufferlist.C (quitWriteBuffer): adjust
4120 * buffer.C (asciiParagraph): remove some commented code.
4122 * CutAndPaste.C: remove current_view extern variable.
4123 (cutSelection): add BufferParams arg.
4124 (eraseSelection): add BufferParams arg.
4125 (pasteSelection): add Buffer const & arg
4127 2003-06-07 John Levon <levon@movementarian.org>
4130 * paragraph_funcs.C:
4131 * paragraph_pimpl.C:
4135 * paragraph.C: allow InsetERT to freely space lines,
4136 and some consolidation of code
4138 2003-06-06 José Matos <jamatos@fep.up.pt>
4140 * buffer.C (makeDocBookFile): fix bug #821
4142 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4144 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4146 2003-06-04 Angus Leeming <leeming@lyx.org>
4148 * buffer.C: bump format to 224.
4150 2003-06-05 André Pönitz <poenitz@gmx.net>
4152 * text2.C (redoParagraphs): remove two const_cast<>
4154 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4156 * ParagraphList.h: remove last remnants of NO_STD_LIST
4158 2003-06-03 Angus Leeming <leeming@lyx.org>
4160 * factory.C (createInset): small change to the way InsetExternal's params
4163 2003-06-04 André Pönitz <poenitz@gmx.net>
4165 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4167 * paragraph_pimpl.h:
4168 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4170 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4172 * undo_funcs.C: make some simple cases of undo work again
4174 2003-06-03 John Levon <levon@movementarian.org>
4176 * ispell.C: HPUX doesn't have sys/select.h
4179 2003-06-03 John Levon <levon@movementarian.org>
4181 * CutAndPaste.C: update tabular and include inset
4186 * paragraph.C: remove owningBuffer(), don't pass Buffer
4189 * factory.C: insetGraphicsParams changed
4191 2003-06-02 John Levon <levon@movementarian.org>
4197 * text3.C: remove insetparent
4199 2003-06-02 John Levon <levon@movementarian.org>
4202 * buffer.C: fix inset_iterator.end(), move out of line
4205 2003-06-01 John Levon <levon@movementarian.org>
4207 * text3.C: use a proper cut/paste when doing inset
4208 insert (from Jürgen Spitzmüller)
4210 2003-06-01 John Levon <levon@movementarian.org>
4212 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4214 2003-05-30 André Pönitz <poenitz@gmx.net>
4216 * rowpainter.C: unify second drawing phase
4218 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * trans_mgr.C: remove one case of current_view
4222 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4224 * paragraph_funcs.h: remove paragraph.h include
4226 * paragraph.h: delete NO_STD_LIST stuff
4228 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4230 * buffer.h: remove paragraph.h include
4232 * ParagraphList.C: delete file
4234 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4236 * toc.C (getTocList): adjust
4238 * paragraph_pimpl.C (validate): adjust
4240 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4242 * paragraph.C (Paragraph): adjust
4243 (getPositionOfInset): use const_iterator, adjust
4244 (bibitem): use const_iterator, adjust
4245 (setInsetOwner): adjust
4247 * iterators.C (operator++): adjust
4249 * InsetList.[Ch]: Replace selfmade iterator with standard
4250 vector::iterator also introduce const_iterator. Remove getPos,
4251 getInset and setInset from InsetTable. Adjust accordingly.
4253 * BufferView.C (lockInset): adjust
4254 (ChangeInsets): adjust
4256 * tabular.[Ch]: delete commented same_id functions
4258 2003-05-28 John Levon <levon@movementarian.org>
4260 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4262 2003-05-28 André Pönitz <poenitz@gmx.net>
4264 * metricsinfo.[Ch]: remove 'fullredraw' member
4266 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4268 * lyxtextclass.C (operator): remove caching.
4270 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * text2.C (cursorBottom): adjust
4275 (setCounter): use ParagraphList::find, adjust
4277 * text.C (workWidth): use ParagraphList::find, adjust
4279 * lyxcursor.C (LyXCursor): adjust
4281 * buffer.C (inset_iterator): adjust
4283 * ParagraphList.h: make iterator(value_type) private, make
4284 ParagraphList a friend of iterator.
4286 * ParagraphList.C (find): new function
4288 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4290 2003-05-27 André Pönitz <poenitz@gmx.net>
4292 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4294 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4296 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4298 2003-05-26 John Levon <levon@movementarian.org>
4300 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4302 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4304 * remove same_id from function signatures, adjust.
4306 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4308 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4310 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4312 * paragraph.C (Paragraph): get rid of same_ids parameter
4314 * ParagraphList.C (insert): adjust
4317 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * paragraph_funcs.C (breakParagraph): adjust
4320 (breakParagraphConservative): adjust
4322 * buffer.C (readParagraph): adjust
4324 * ParagraphList.C (insert): take a reference instead of a pointer
4327 * paragraph.[Ch] (id): new function
4329 * bufferlist.C (newFile): adjust
4331 * ParagraphList.C (ParagraphList): adjust
4333 (push_back): take a reference instead of a pointer.
4335 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4337 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4340 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4341 set else use old code.
4343 * ParagraphList.C: remove all NO_NEXT code and only compile this
4344 code of NO_STD_LIST is set.
4346 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4348 * BufferView_pimpl.C:
4358 * graphics/GraphicsConverter.C:
4359 * graphics/PreviewLoader.C: header adjustment
4361 2003-05-23 Angus Leeming <leeming@lyx.org>
4363 * LaTeXFeatures.[Ch] (useBabel): new method.
4364 * bufferparams.C (writeLaTeX): use it.
4366 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * ParagraphList.h (set): remove unused function.
4370 2003-05-23 André Pönitz <poenitz@gmx.net>
4373 * BufferView_pimpl.C:
4377 * undo_funcs.C: setUndo reworked
4379 * iterators.[Ch]: add access to topmost ParagraphList
4381 * lyxtext.[Ch] (workWidth): add a const
4383 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4385 * texrow.[Ch] (increasePos): remove function
4386 * exporter.C (export): removed unused var and outdated comment
4388 2003-05-23 Angus Leeming <leeming@lyx.org>
4390 * latexrunparams.h: rename fragile as moving_arg.
4391 * paragraph.C (simpleTeXOnePar): ditto.
4392 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4394 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4396 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4398 (textUndoOrRedo): comment out a currently unused var.
4400 * paragraph.h (NO_NEXT): enable NO_NEXT
4402 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4404 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4406 * exporter.C (Export): adjust for removeAutoInsets removal.
4408 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4410 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4412 * BufferView.[Ch] (removeAutoInsets): delete function
4414 2003-05-22 Angus Leeming <leeming@lyx.org>
4416 * latexrunparams.h: add a free_spacing variable.
4418 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4419 to pass moving_arg, as the data is stored in runparams.fragile.
4421 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4422 to Inset::latexOptional or to simpleTeXOnePar.
4424 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4425 free_spacing arg to Inset::latexOptional.
4427 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4430 2003-05-22 Angus Leeming <leeming@lyx.org>
4432 * latexrunparams.h: add fragile and use_babel variables.
4434 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4435 * buffer.C (makeLaTeXFile): store this returned value in
4436 runparams.use_babel, thus passing it to the inset::latex methods.
4438 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4439 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4441 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4442 longer has a fragile arg, as it is stored in runparams.fragile.
4444 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4445 moving_arg parameter as the data is stored in runparams.fragile.
4447 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4448 a fragile parameter as the data is stored in runparams.fragile.
4450 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4452 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4454 2003-05-22 Angus Leeming <leeming@lyx.org>
4456 * latexrunparams.h: add a 'bool nice' which defaults to false.
4458 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4459 now encapsulated within runparams.
4461 * bufferlist.C (updateIncludedTeXfiles):
4462 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4464 2003-05-22 Angus Leeming <leeming@lyx.org>
4466 * latexrunparams.h: new file containing struct LatexRunParams.
4467 * Makefile.am: add new file.
4469 * LaTeX.[Ch] (c-tor, run):
4470 * buffer.[Ch] (makeLaTeXFile):
4471 * bufferlist.[Ch] (updateIncludedTeXfiles):
4472 * converter.C (convert, scanLog):
4473 * converter.[Ch] (runLaTeX):
4474 * exporter.C (Export):
4475 * paragraph.[Ch] (simpleTeXOnePar):
4476 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4477 * paragraph_funcs.[Ch] (latexParagraphs):
4478 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4479 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4480 pass around a LatexRunParams parameter.
4482 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * paragraph.[Ch]: remove unused constructor
4486 * ParagraphList.C (erase): new function, taking two iterators
4488 2003-05-22 André Pönitz <poenitz@gmx.net>
4490 * undo_funcs.C: remove duplicated code
4492 * iterator.[Ch]: operator=
4494 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4496 * tabular.C (SetMultiColumn): ws changes
4498 * rowpainter.C (paintFirst): get rid of a ->previous
4500 * lyx_cb.C (getPossibleLabel): parlist simplification
4502 * BufferView.C (ChangeInsets): simplify slightly.
4504 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4506 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4507 * lfuns.h: new LFUN_SPACE
4508 * lyxfunc.C: protected space has a new lfun
4509 * paragraph_funcs.C: read new space insets
4511 * factory.C: handle new space insets
4513 2003-05-22 André Pönitz <poenitz@gmx.net>
4516 * BufferView_pimpl.C:
4519 * undo_funcs.C: return a ParIterator from getParFromID.
4521 * iterators.[Ch]: add two const's
4523 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * toc.C (getTocList): adjust
4527 * iterators.[Ch]: rework for parlist
4529 * buffer.C (par_iterator_begin): adjust
4530 (par_iterator_end): adjust
4532 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4534 * BufferView.C (removeAutoInsets): adjust
4535 (ChangeInsets): adjust
4537 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4539 * text.C (top_y): fix bug 1110
4541 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4543 * errorlist.[Ch]: added
4546 * BufferView_pimpl.C:
4547 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4550 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * Makefile.am: ensure that lyx is relinked upon changes to the
4553 various "convenience" libs.
4555 2003-05-20 Angus Leeming <leeming@lyx.org>
4557 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4558 files are compiled in alphabetical order again.
4560 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4562 2003-05-19 Angus Leeming <leeming@lyx.org>
4564 * gettext.[Ch]: remove "char const * _(char const *)".
4566 2003-05-19 André Pönitz <poenitz@gmx.net>
4568 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4577 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4579 2003-05-19 André Pönitz <poenitz@gmx.net>
4583 * lyxtextclass.[Ch]:
4585 * paragraph_funcs.[Ch]:
4587 * text3.C: more insetenv work
4589 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4591 * ParagraphParameters.C (params2string): small bug fixed
4593 2003-05-16 André Pönitz <poenitz@gmx.net>
4596 * bufferview_funcs.C: patch from Kornel Benko to prevent
4597 crash when _(...) is called twice in a statement
4599 2003-05-16 André Pönitz <poenitz@gmx.net>
4606 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4608 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4610 * lyx_main.C (init): remove spurious static_cast
4612 2003-05-14 André Pönitz <poenitz@gmx.net>
4614 * BufferView.C: fix format string
4616 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4618 * BufferView.[Ch] (insertErrors): removed
4619 * BufferView.[Ch] (showErrorList): added
4620 * buffer.C (runChkTeX):
4621 * converter.C (scanLog): call showErrorList instead of inserterrors
4623 2003-05-13 André Pönitz <poenitz@gmx.net>
4625 * BufferView_pimpl.C:
4627 * bufferview_func.C:
4634 * tabular_funcs.h: tostr() from its own header
4636 * ParagraphParameters.C:
4641 * text3.C: STRCONV()
4643 2003-05-12 André Pönitz <poenitz@gmx.net>
4646 * BufferView_pimpl.C:
4650 * ParagraphParameters.C:
4654 * bufferview_funcs.C:
4667 * paragraph_funcs.C:
4671 * text3.C: boost::format -> bformat all over the place
4674 2003-05-09 André Pönitz <poenitz@gmx.net>
4676 * LColor.[Ch]: Pimpl the #include <map> away
4678 2003-05-09 John Levon <levon@movementarian.org>
4680 * bufferlist.C: never remove emergency saves
4682 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * Makefile.am: better lib building
4686 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4688 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4690 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4691 (simpleTeXSpecialChars): adjust
4692 (simpleTeXSpecialChars): adjust
4693 * paragraph.C (simpleTeXOnePar): adjust
4694 * buffer.C (makeLaTeXFile): adjust
4696 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4698 * text2.C (changeDepth): parlist cleanup
4699 (getColumnNearX): ditto
4701 * rowpainter.C (getLabelFont): parlist cleanup
4703 * bufferlist.C (newFile): parlist cleanup
4705 * CutAndPaste.C (eraseSelection): parlist cleanup
4707 * BufferView_pimpl.C (trackChanges): parlist cleanup
4710 * BufferView.C (lockInset): parlist cleanup.
4711 (ChangeInsets): ditto
4713 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * CutAndPaste.h: Update file header.
4717 * CutAndPaste.C: Update file header.
4718 Store the parts cut out of the Document in a limited_stack.
4719 (copySelection): adjust
4720 (pasteSelection): new function, takes the index in the limited stack.
4721 (nrOfParagraphs): adjust
4722 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4723 simplify error inset insertion.
4724 (checkPastePossible): adjust
4726 2003-05-06 John Levon <levon@movementarian.org>
4728 * text2.C: don't cast wrap inset to float
4730 2003-05-05 André Pönitz <poenitz@gmx.net>
4733 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4735 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4736 few naked Paragraph *.
4738 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4740 * bufferparams.C: Output warning if a document with missing
4741 TeX document class is loaded
4742 * exporter.C: Disable TeX exports if the document class is missing
4745 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4746 isTeXClassAvailable()
4748 2003-05-03 John Levon <levon@movementarian.org>
4751 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4752 explicit cursor show/hide
4754 * BufferView_pimpl.h:
4755 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4756 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4758 * lyxfunc.C: hide cursor before dispatching.
4763 * text3.C: remove explicit cursor hides
4765 2003-05-02 André Pönitz <poenitz@gmx.net>
4767 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4770 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4773 * text2.C: tiny whitespace
4775 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4777 * undo_funcs.C: almost only ws changes.
4779 * ParagraphList.C (splice): just return if pl is empty.
4781 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * ParagraphList.C (splice): new function.
4785 * CutAndPaste.C (pasteSelection): use it
4787 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * CutAndPaste.C (pasteSelection): remove the last next and
4790 previous from this file.
4792 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * CutAndPaste.C (pasteSelection): more clean up, user proper
4795 ParagraphList functions for pasteing.
4797 * ParagraphList.C (insert): new function, three arg insert
4799 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * ParagraphList.C (insert): new function, three arg insert
4803 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4806 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4810 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4814 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4817 (copySelection): clean up a bit.
4818 (pasteSelection): use make_pair
4820 * ParagraphList.C (ParagraphList): implement copy constructor
4821 (operator=): implement, base on copy constructor.
4824 * paragraph.C (erase): return a bool
4826 * paragraph_pimpl.C (erasePos): remove function, move contents...
4827 (erase): ... here. Return a bool.
4828 (erase): call erase instead of erasePos.
4830 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4832 * ParagraphList.h: define PitPosPair
4833 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4834 ParagraphList, fix a bug on pasting multiple pars
4835 * text2.C: change interface to C&P
4837 2003-04-30 André Pönitz <poenitz@gmx.net>
4839 * undo_func.C: revert part of yesterday's patch 2
4841 2003-04-30 John Levon <levon@movementarian.org>
4843 * LColor.C: s/tabular/table/
4845 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4847 * text3.C (dispatch): do not convert iterator -> pointer
4848 * undo_funcs.C (setCursorParUndo): ditto
4849 * text_funcs.C (transposeChars): ditto
4851 * text2.C (setLayout): ws changes only
4853 * text.C (breakParagraph): do not convert iterator -> pointer
4855 (acceptChange): ditto
4856 (rejectChange): ditto
4861 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4864 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4866 * text3.C (gotoInset): YABG (yet another bad getChar)
4868 2003-04-29 André Pönitz <poenitz@gmx.net>
4870 * paragraph.h: make operator= private unimplemented as long as
4873 * ParagraphList.C: whitespace
4876 * paragraph_pimpl.[Ch]:
4877 * paragraph_funcs.C:
4879 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4882 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4884 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4886 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4887 * paragraph.[Ch] (erase):
4888 * paragraph_pimpl.[Ch] (erase): change return type and value
4889 * text2.C (cutSelection): some rework
4891 2003-04-28 John Levon <levon@movementarian.org>
4893 * bufferlist.C: changes for unsaved changes dialog
4895 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * bufferlist.C (newFile): set language (messages_) for new
4900 * buffer.C (readFile): ws changes only.
4902 2003-04-28 André Pönitz <poenitz@gmx.net>
4907 * BufferView_pimpl.C:
4908 * BufferView.C: getParFromID related ParagraphList::iterator changes
4910 2003-04-28 André Pönitz <poenitz@gmx.net>
4912 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4915 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * messages.C: remove one more localedir class variable.
4919 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * messages.C (getLocaleDir): singleton generation function
4923 (Messages): add a default constructor.
4925 * main.C (main): do not setup localedir here, do not call
4928 * gettext.C (_): use it.
4929 (gettext_init): delete funciton
4931 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * gettext.C (getLyXMessages): new singleton generating function.
4935 * buffer.C (updateDocLang): adjust
4937 * Makefile.am (messages.o): add target
4938 (main.o): remove target
4940 2003-04-27 John Levon <levon@movementarian.org>
4945 * lyxvc.C: specify cancel button in Alert::prompt
4947 2003-04-26 John Levon <levon@movementarian.org>
4952 * LyXAction.C: add LFUN_INSET_SETTINGS
4954 * lyxfunc.C: don't enable tabular-feature when there's
4955 just any locking inset
4957 2003-04-26 John Levon <levon@movementarian.org>
4959 * bufferlist.C: re-add Cancel to buffer close question
4961 * lyxfunc.C: fix import UI a bit
4963 2003-04-25 John Levon <levon@movementarian.org>
4965 * gettext.C: remove the broken asserts for now
4967 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * messages.C: make case where setlocale cannot comply work better.
4971 * buffer.C (updateDocLang): new function
4972 (changeLanguage): use it
4975 * text2.C (setCounter): use B_ a bit.
4977 * lyxlayout.C (Read): be sure to trim the label strings.
4979 * messages.C (Messages): fix typo in comment
4981 * buffer.C (readFile): set message_ after file is loaded.
4982 (makeDocBookFile): remove double return
4983 (changeLanguage): reset message_ upon language change.
4984 (B_): new func, use this to get translated buffer strings.
4986 * main.C: add myself and Jean Marc as authors.
4988 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * messages.[hC]: pimplify Messages, and three different pimpls to be
4991 used in different circumstances.
4993 * gettext.[Ch]: change for use with new message code.
4995 2003-04-24 André Pönitz <poenitz@gmx.net>
4997 * factory.C: support for eqref
4999 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5001 * messages.[Ch]: add missing char
5003 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5005 * messages.[Ch]: New files
5007 2003-04-18 John Levon <levon@movementarian.org>
5011 * BufferView_pimpl.C:
5015 * text2.C: remove layout-copy/paste (bug 778)
5017 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5019 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5021 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5023 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5024 if they succeed. Act accordingly.
5026 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5028 * text2.C (setCharFont): adjust
5029 (setCounter): adjust
5030 (insertStringAsLines): adjust
5032 * text.C (leftMargin): adjust
5033 (setHeightOfRow): adjust
5035 * rowpainter.C (paintFirst): adjust
5038 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5040 (isFirstInSequence): ditto
5041 (getEndLabel): ditto
5044 * paragraph.C (getParLanguage): comment out some hard stuff.
5046 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5048 (simpleDocBookOnePar): ditto
5049 (makeDocBookFile): use ParagraphList::iterator
5051 * CutAndPaste.C (pasteSelection): adjust
5053 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5055 * text2.C (getFont): adjust
5056 (getLayoutFont): adjust
5057 (getLabelFont): adjust
5059 * paragraph_funcs.C (TeXOnePar): adjust
5061 * buffer.C (simpleLinuxDocOnePar): adjust
5062 (simpleDocBookOnePar): adjust
5064 * CutAndPaste.C (pasteSelection): adjust
5066 * BufferView.C (getEncoding): adjust
5068 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5070 2003-04-16 John Levon <levon@movementarian.org>
5072 * lyxfind.C: use parlist stuff for search/changes
5074 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5076 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5078 * text2.C (deleteEmptyParagraphMechanism): adjust
5080 * text2.[Ch] (ownerParagraph): delete func (both of them
5082 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5086 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * ParagraphList.C: prepare for NO_NEXT
5090 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5092 * text2.C (getFont): adjust
5093 (getLayoutFont): adjust
5094 (getLabelFont): adjust
5096 * paragraph.C (getFont): adjust
5097 (getLabelFont): adjust
5098 (getLayoutFont): adjust
5100 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5102 2003-04-15 John Levon <levon@movementarian.org>
5106 * lyx_main.C: handle Include in .ui files
5108 2003-04-15 John Levon <levon@movementarian.org>
5110 * MenuBackend.C: make the doc files length shorter
5113 * ToolbarBackend.C: handle toolbar placement flags,
5116 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5118 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5121 * paragraph_funcs.C (TeXOnePar): adjust
5123 * paragraph.C (getLabelFont): add outerfont arg, adjust
5124 (getLayoutFont): ditto
5125 (simpleTeXOnePar): adjust
5127 * paragraph_pimpl.C (realizeFont): delete func
5129 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5131 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5132 row argument, constify cur argument.
5134 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5136 * text2.C (getFont): adjust
5137 (getLayoutFont): adjust
5138 (getLabelFont): adjust
5140 * paragraph_funcs.C (TeXOnePar): adjust
5141 (outerFont): new func...
5142 (realizeFont): ...moved out from here, changed this to facilitate
5145 * paragraph.C (getFont): take outerfont as arg, adjust
5146 (simpleTeXOnePar): add outerfont arg, adjust
5148 * buffer.C (simpleLinuxDocOnePar): adjust
5149 (simpleDocBookOnePar): adjust
5151 * CutAndPaste.C (pasteSelection): adjust
5153 * BufferView.C (getEncoding): adjust
5155 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5157 * text2.C (setCharFont): adjust
5158 (setCounter): adjust
5160 * text.C (leftMargin): adjust
5161 (setHeightOfRow): adjust
5163 * rowpainter.C (paintFirst): adjust
5166 * paragraph_pimpl.C (realizeFont): adjust
5168 * paragraph.C (isFirstInSequence): move from here...
5169 * paragraph_funcs.C (isFirstInSequence): ...to here
5171 * paragraph.C (outerHook): move from here...
5172 * paragraph_funcs.C (outerHook): ...to here
5174 * paragraph.C (depthHook): move from here...
5175 * paragraph_funcs.C (depthHook): ...to here
5177 * paragraph.C (getEndLabel): move from here...
5178 * paragraph_funcs.C (getEndLabel): ...to here
5180 * text2.C (realizeFont): move from here...
5181 * paragraph_funcs.C (realizeFont): ...to here
5183 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5187 2003-04-14 Angus Leeming <leeming@lyx.org>
5189 * LColor.[Ch]: scrap LColor mathcursor.
5191 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * lyxlex.[Ch] (text): delete function
5194 * trans.C (Load): adjust
5195 * paragraph_funcs.C (readParToken): adjust
5197 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5199 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5200 vector<char> instead of a char[].
5202 * lyxlex_pimpl.C (getString): adjust
5204 (lex): use getString
5208 * lyxlex.C (text): use pimpl_->getString()
5212 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5214 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5215 (makeFontEntriesLayoutSpecific): temp var for par.size()
5216 (setLayout): temp var for ownerParagraphs().end()
5217 (fullRebreak): temp var for rows().end()
5218 (selectionAsString): temp var for boost::next(startpit), realize
5219 that the while really is a regular for loop.
5220 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5221 setCursor in one place.
5222 (setParagraph): temp vr for ownerParagraphs().end()
5223 (updateCounters): make the while loop a for loop
5224 (cutSelection): temp var for ownerParagraphs().end()
5225 (updateInset): make the do {} while() a regular for loop
5226 (getCursorX): use temp vars
5227 (setCurrentFont): use temp vars
5228 (getColumnNearX): use temp vars
5230 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5232 * text.C (transformChar): use temp var for getChar
5233 (computeBidiTables): use temp var for row->par()
5234 (fill): move temp vars for row->par() and pit->layout() earlier in
5236 (labelFill): use temp var for row->par()
5237 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5238 asc and desc, realize that pit never changes and that firstpit is
5239 just a duplicate and not needed. Exchange rit->par() with pit in a
5241 (breakAgain): use a temp var for boost::next(rit)
5242 (breakAgainOneRow): ditto
5243 (breakParagraph): use a temp var for rows().begin()
5244 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5245 (cursorRightOneWord): use temp var for cursor.par() and
5246 cursor.pos(), remove usage of tmpcursor.
5247 (cursorLeftOneWord): use temp var for cursor.par() and
5248 cursor.pos() only set cur at end of function.
5250 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * text.C, text2.C: exchange all usage of Paragraph::next with
5253 boost::next(ParagraphList::iterator)
5255 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5257 * text2.C (cursorTop): simplify implementation
5258 (cursorBottom): ditto
5259 (setParagraph): use ParagraphList::iterator
5260 (setCurrentFont): adjust
5261 (getColumnNearX): adjust
5262 (cursorRight): adjust
5263 (cursorLeft): remove usage of Paragraph::previous
5264 (cursorUpParagraph): ditto
5265 (deleteEmptyParagraphMechanism): slight cleanup
5267 * text.C (isBoundary): take a Paragraph const & instead of a
5269 (addressBreakPoint): ditto
5270 (leftMargin): remove usage of Paragraph::previous.
5271 (setHeightOfRow): ditto
5272 (cursorLeftOneWord): ditto
5273 (selectNextWordToSpellcheck): ditto
5276 (breakParagraph): remove one usage of Paragraph::next
5277 (redoParagraph): ditto
5278 (acceptChange): ditto
5279 (insertChar): adjust
5280 (rowBreakPoint): adjust
5282 * bufferview_funcs.C (toggleAndShow): adjust
5284 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5286 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5287 methods to access it.
5289 * text.C: Added updateRowPositions to compute all row positions.
5290 Make top_y and getRowNearY() to use the cached y position
5292 2003-04-11 John Levon <levon@movementarian.org>
5294 * text.C (rowBreakPoint): reintroduce the labelEnd
5295 checks, code copied from the row fill stuff. Deep voodoo.
5297 * text.C (fill): add a comment and debugging for the
5300 2003-04-11 John Levon <levon@movementarian.org>
5302 * text.C: make sure fullrow insets get wrapped to the next line,
5303 even when they're in a manual label
5305 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5307 * text2.C (insertParagraph): make it take ParagraphList::iterator
5309 (setLayout): make it return ParagraphList::iterator
5310 (redoParagraphs): ditto
5312 (checkParagraph): ditto
5314 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5316 * text2.C: adjust several funcs.
5317 (realizeFont): take a ParagraphList::iterator as arg.
5318 (getLayoutFont): ditto
5319 (getLabelFont): ditto
5320 (setCharFont): ditto
5322 * text.C: adjust several funcs.
5324 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5326 * text.C (selectNextWordToSpellcheck): don't accidentally
5329 2003-04-10 John Levon <levon@movementarian.org>
5331 * ToolbarBackend.C (getIcon): special handling for
5334 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5336 * text2.C (cursorRight): a getChar assert fixed
5338 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5340 * text2.C (getFont): change to take a ParagraphList::iterator
5341 instead of Paragraph*
5342 Adjust several functions.
5344 * text.C (transformChar): change to take a ParagraphList::iterator
5345 instead of Paragraph*
5346 (singleWidth): ditto
5347 Adjust several functions.
5349 * rowpainter.C: adjust several functions
5350 * rowpainter.h:store a ParagraphList::iterator and not a
5354 2003-04-09 John Levon <levon@movementarian.org>
5359 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5360 and the "help" bits as well
5362 2003-04-09 John Levon <levon@movementarian.org>
5365 * ToolbarBackend.C: allow multiple toolbars
5367 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * undo_funcs.C (setCursorParUndo): adjust
5371 * text_funcs.C (transposeChars): adjust
5373 * text3.C (gotoNextInset): adjust
5376 * text2.C (setLayout): adjust
5377 (changeDepth): adjust
5379 (redoParagraphs): adjust
5380 (selectionAsString): adjust
5381 (setParagraph): adjust
5382 (insertInset): adjust
5383 (cutSelection): adjust
5384 (copySelection): adjust
5385 (pasteSelection): adjust
5386 (insertStringAsLines): adjust
5387 (updateInset): adjust
5388 (setCursor): change to take a ParagraphList::iterator parameter
5389 (setCursorIntern): change to take a ParagraphList::iterator parameter
5390 (setCurrentFont): adjust
5391 (cursorLeft): adjust
5392 (cursorRight): adjust
5393 (deleteEmptyParagraphMechanism): adjust
5395 * text.C (breakParagraph): adjust
5396 (insertChar): adjust
5397 (acceptChange): adjust
5398 (rejectChange): adjust
5399 (selectNextWordToSpellcheck): adjust
5400 (changeCase): adjust
5404 * lyxfind.C (SearchForward): adjust
5405 (SearchBackward): adjust
5406 (nextChange): adjust
5408 * lyxcursor.C (par): adjust
5410 * lyxcursor.h: store a ParagraphList::iterator instead of a
5413 * lyx_cb.C (getPossibleLabel): adjust
5415 * bufferview_funcs.C (toggleAndShow): adjust
5417 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5420 * BufferView.C (removeAutoInsets): adjust
5421 (lockedInsetStoreUndo): adjust
5423 2003-04-09 John Levon <levon@movementarian.org>
5425 * ToolbarBackend.C: try icon without argument
5426 if with argument fails
5428 2003-04-08 John Levon <levon@movementarian.org>
5431 * ToolbarBackend.C: add getIcon(), handle tooltip,
5432 and change from "Icon" to "Item".
5434 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5436 * BufferView.C (lockInset): another bad getchar crunched
5438 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5440 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5443 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5445 * lyxfind.C (searchForward, searchBackwards): bug 782
5447 2003-04-07 John Levon <levon@movementarian.org>
5449 * paragraph.C: remove dead comment
5451 * text.C: remove troublesome depth-fiddling code
5452 in leftMargin() and rightMargin() (bug 1017)
5454 * text.C: fix breaking of rows in nested lists
5457 * text2.C (updateCounters): fix up depth values
5460 2003-04-07 John Levon <levon@movementarian.org>
5462 * BufferView_pimpl.C: clear message when doc finishes resizing,
5463 and after a mouse event
5465 * lyxfunc.C: clear message after exiting inset
5467 2003-04-07 John Levon <levon@movementarian.org>
5469 * bufferview_funcs.C: show math status not outside
5470 status in the statusbar
5472 2003-04-07 John Levon <levon@movementarian.org>
5474 * lyxfunc.C: note status changed after a depth change
5476 2003-04-04 Angus Leeming <leeming@lyx.org>
5478 * LaTeX.h: move AuxInfo operator==, != out of line.
5479 Remove LaTeX virtual destructor; nothing derives from it.
5480 Move operator()() out of public area and rename it startscript().
5481 Change protected for private.
5483 2003-04-04 Angus Leeming <leeming@lyx.org>
5486 * text2.C: remove unneeded #includes.
5488 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5490 * text2.C (dEPM): fix the heigth of the next row
5492 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5494 * text.C: squashed an invalid getChar requester + some ws changes
5496 2003-04-03 John Levon <levon@movementarian.org>
5498 * bufferview_funcs.h:
5499 * bufferview_funcs.C:
5502 * text2.C: make getStatus work for the env depth lfuns
5504 2003-04-03 John Levon <levon@movementarian.org>
5506 * bufferview_funcs.h:
5507 * bufferview_funcs.C:
5510 * text2.C: parlistize decDepth(), by merging it with incDepth()
5512 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5514 * lyxrow.h: store a ParagraphList::iterator instead of a
5515 Paragraph* and adjust other class functions to suit.
5517 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5520 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5522 * text2.C (setCursor): do not anchor to cursor row for the time being
5524 2003-04-02 John Levon <levon@movementarian.org>
5531 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5533 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * paragraph.h: make ParagraphList and ParagraphList::iterator
5536 friends of Paragraph.
5538 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5540 * ParagraphList.C: Use the private next_ and previous_ from
5543 2003-04-01 John Levon <levon@movementarian.org>
5547 * Makefile.am: rename, remove defaults gunk
5550 * MenuBackend.C: remove defaults gunk
5553 * Languages.C: remove defaults gunk
5556 * lyx_main.C: error out if files couldn't be found.
5558 2003-04-02 John Levon <levon@movementarian.org>
5560 * text2.C: make incDepth() use parlist
5562 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5564 * undo_funcs.C (firstUndoParagraph): adjust
5566 * text3.C (gotoInset): adjust
5567 (dispatch): adjust, and rewrite loop.
5569 * text2.C (init): adjust, and rewrite loop.
5570 (redoParagraphs): adjust
5571 (updateInset): adjust, and rewrite loop.
5572 (deleteEmptyParagraphMechanism): adjust
5574 * tabular.C (LyXTabular): adjust
5575 (SetMultiColumn): adjust
5578 * lyxtext.[Ch] (ownerParagraph): delete function
5579 (ownerParagraphs): new function returns a ParagraphList.
5581 * BufferView.C (removeAutoInsets): adjust
5582 (insertErrors): adjust
5583 (setCursorFromRow): adjust
5585 2003-04-01 Angus Leeming <leeming@lyx.org>
5587 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5590 2003-04-02 John Levon <levon@movementarian.org>
5596 * text_funcs.C: make transposeChars a free function
5598 * lyxrow_funcs.C: remove wrong comment
5600 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * rowpainter.C: adjust
5608 * lyxrow_funcs. [Ch]: new files
5610 * lyxrow.[Ch]: remove next and previous pointers
5611 (next,previous): remove accessor functions
5612 (isParEnd): move to lyxrow_funcs
5613 (lastPos): move to lyxrow_funcs
5614 (nextRowIsAllInset): move to lyxrow_funcs
5615 (lastPrintablePos): move to lyxrow_funcs
5616 (numberOfSeparators): move to lyxrow_funcs
5617 (numberOfHfills): move to lyxrow_funcs
5618 (numberOfLabelHfills): move to lyxrow_funcs
5619 (hfillExpansion): move to lyxrow_funcs
5623 * bufferview_funcs.C (toggleAndShow): adjust
5625 * RowList.h: Remove class RowList from file leave just a
5628 * RowList.C: delete file
5630 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5633 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5635 * text3.C (cursorPrevious): adjust
5636 (cursorNext): adjust
5639 * text2.C (redoHeightOfParagraph): adjust
5640 (redoDrawingOfParagraph): adjust
5643 * text.C (breakParagraph): adjust
5644 (insertChar): adjust
5647 * rowpainter.C (RowPainter): adjust
5648 (leftMargin): simplify and adjust
5649 (most rowpainter functions): adjust.
5651 * rowpainter.h: store the row as RowList::iterator not as Row*
5653 * lyxcursor.C (row): taka RowList::iterator as arg
5656 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5659 2003-04-01 Angus Leeming <leeming@lyx.org>
5661 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5662 stuff like bool Bool.
5664 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5666 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5669 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5674 * lyxtext.h (rows): drop one version and leve a const variant that
5675 returns a RowList::iterator.
5677 2003-03-31 Angus Leeming <leeming@lyx.org>
5679 * text.C (fill): ensure that the signature is the same as that in the
5682 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5684 * text2.C (redoParagraphs): adjust
5685 (updateCounters): adjust
5686 (checkParagraph): adjust
5687 (getColumnNearX): adjust and reformat a bit.
5689 * text.C (top_y): adjust
5691 (leftMargin): adjust
5692 (prepareToPrint): adjust
5694 (getRowNearY): adjust
5696 * lyxtext.h: make rowlist_ mutable.
5698 * RowList.h: add const_iterator
5699 * RowList.C: adjust for RowList::const_iterator.
5701 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5704 2003-03-31 John Levon <levon@movementarian.org>
5707 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5709 * lyx_main.C: set default fonts from using lyx_gui funcs
5711 * exporter.C: pdf_mode moved from lyxrc
5714 * lyxfunc.C: changes from above
5716 2003-03-31 John Levon <levon@movementarian.org>
5718 * lyx_main.C: fix to the last fix
5720 2003-03-31 John Levon <levon@movementarian.org>
5722 * bufferlist.C: "Load original" -> "Load Original"
5728 * format.C: more Alert cleanups
5730 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5732 * text2.C (removeParagraph): make it take a RowList::iterator as
5734 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5735 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5737 * text.C (anchor_row): make it take a RowList::iterator as arg,
5739 (computeBidiTables): make it take a const reference to Row instead
5740 of Row pointer, adjust.
5741 (leftMargin): make it take a RowList::iterator as arg, adjust.
5742 (rowBreakPoint): adjust
5743 (breakAgainOneRow): make it take a RowList::iterator as arg,
5745 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5747 * bufferview_funcs.C (toggleAndShow): adjust
5749 2003-03-30 John Levon <levon@movementarian.org>
5753 * boost-inst.C: moved to support
5755 * several files: changes as a result
5757 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5759 * text2.C (LyXText): adjust.
5761 (removeRow): make it take a RowList::iterator as arg, adjust.
5762 (fullRebreak): adjust
5763 (deleteEmptyParagraphMechanism): adjust
5764 (clearPaint): adjust
5767 * text.C (top_y): adjust
5768 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5769 (breakAgain): make it take a RowList::iterator as arg, adjust.
5770 (breakParagraph): adjust
5771 (insertChar): adjust
5774 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5775 need_break_row, and refresh_row.
5777 * text3.C (dispatch): adjust
5779 * text2.C (checkParagraph): adjust
5781 (setCursorFromCoordinates): adjust
5783 * text.C (top_y): adjust
5785 (getRow): make it return a RowList::iterator, adjust
5786 (getRowNearY): make it return a RowList::iterator, adjust
5788 * text2.C (init): adjust
5789 (insertRow): remove function
5790 (insertParagraph): adjust
5791 (redoParagraphs): adjust
5792 (fullRebreak): adjust
5793 (updateCounters): adjust
5795 * text.C (top_y): rewrite to use RowList iterators.
5797 (setHeightOfRow): rewrite to sue RowList iterators.
5798 (appendParagraph): adjust
5799 (breakAgain): adjust
5800 (breakAgainOneRow): adjust
5801 (breakParagraph): adjust
5803 (getRowNearY): adjust, and remove commented code.
5805 * lyxtext.h (firstRow): delete function
5806 (lastRow): delete function
5807 (rows): new function (const and non-const versions.)
5808 (insertRow): delete function
5810 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5812 2003-03-29 John Levon <levon@movementarian.org>
5814 * BufferView_pimpl.C: always update scrollbar top
5815 because pasting text when we're anchored could mean we
5816 miss an update altogether
5818 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5820 * text2.C (init): use rowlist_.end() and not 0.
5821 (insertRow): change to take a RowList::iterator as arg, adjust
5823 (insertParagraph): change to take a RowList::iterator as arg,
5825 (redoParagraphs): remove some debug msgs.
5827 * text.C (appendParagraph): change to take a RowList::iterator
5828 arg, adjust for this.
5829 (breakAgain): add an assert
5830 (breakAgainOneRow): ditto
5832 2003-03-29 John Levon <levon@movementarian.org>
5834 * text2.C: do not clear selection after inc/decDepth
5837 2003-03-29 John Levon <levon@movementarian.org>
5840 * buffer.C: fix broken strerrors according to Lars
5842 2003-03-29 John Levon <levon@movementarian.org>
5844 * converters.C: more Alert cleanups
5846 2003-03-29 John Levon <levon@movementarian.org>
5848 * bufferview_funcs.C: remove pointless Alert
5850 * buffer.C: fix confusing error message when
5851 a template is chmoded 000
5853 2003-03-29 John Levon <levon@movementarian.org>
5857 * BufferView_pimpl.C: Alert fixes
5861 * tabular-old.C: remove unused table compat reading
5863 2003-03-29 John Levon <levon@movementarian.org>
5868 * lyx_cb.C: more Alert cleanups
5870 * lyxfunc.C: don't allow chktex if not latex document
5872 2003-03-29 John Levon <levon@movementarian.org>
5876 * buffer.C: warnings pushed down from support/,
5879 2003-03-29 John Levon <levon@movementarian.org>
5881 * lyxfunc.C: safety check for C-r (revert)
5883 2003-03-29 John Levon <levon@movementarian.org>
5886 * bufferlist.C: several UI fixes using Alert::prompt.
5887 Fix the pointless looping quit code. Fix stupid revert
5892 * lyx_cb.C: use Alert::prompt
5894 * lyx_main.C: remove a silly question
5896 * lyxfunc.C: remove a couple of silly questions,
5899 2003-03-28 John Levon <levon@movementarian.org>
5901 * text2.C: fix bug 974 (End on empty par)
5903 2003-03-28 John Levon <levon@movementarian.org>
5905 * BufferView_pimpl.C:
5907 * lfuns.h: remove do-nothing math greek lfuns
5909 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * lyxgluelength.h (isValidGlueLength): add default arg on
5912 parameter 2. Remove default arg from friend in class.
5914 * lyxlength.h (isValidLength): add default arg on parameter 2.
5915 Remove default arg from friend in class.
5917 * text2.C (LyXText): adjust, initialize refresh_row.
5921 (insertParagraph): adjst
5922 (redoParagraphs): adjust
5923 (fullRebreak): adjust
5924 (updateCounters): adjust
5925 (deleteEmptyParagraphMechanism): first attempt at fixing a
5928 * text.C (top_y): adjust
5929 (setHeightOfRow): adjust
5931 (getRowNearY): adjust
5933 * lyxtext.h: include RowList.h
5934 (~LyXText): not needed anymore, deleted.
5935 (firstRow): modify for RowList
5936 (lastRow): new function
5937 Delete firstrow and lastrow class variables, add a Rowlist
5938 rowlist_ class variable.
5940 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5943 * RowList.C (insert): fix case where it == begin().
5945 2003-03-26 Angus Leeming <leeming@lyx.org>
5947 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5948 the thesaurus dialog.
5950 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5952 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5954 * RowList.[Ch]: new files
5956 * ParagraphList.C (erase): handle the case where it == begin
5959 2003-03-25 John Levon <levon@movementarian.org>
5963 * aspell.C: add new aspell support
5966 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5969 2003-03-25 Angus Leeming <leeming@lyx.org>
5972 * LyXAction.C (init): new LFUN_INSET_INSERT.
5974 * BufferView_pimpl.C (dispatch): split out part of the
5975 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5977 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5980 2003-03-25 Angus Leeming <leeming@lyx.org>
5982 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5984 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5987 * text3.C: remove useless row->height(0)
5989 2003-03-25 John Levon <levon@movementarian.org>
5993 * text3.C: rename the refreshing stuff to better names
5995 2003-03-24 John Levon <levon@movementarian.org>
5997 * BufferView_pimpl.h:
5998 * BufferView_pimpl.C: update layout choice on a mouse
6001 2003-03-23 John Levon <levon@movementarian.org>
6003 * Makefile.am: fix commandtags.h reference
6005 2003-03-22 John Levon <levon@movementarian.org>
6007 * BufferView_pimpl.C:
6012 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6014 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6017 * text.C: take the rtl methods out of line
6019 2003-03-21 André Pönitz <poenitz@gmx.net>
6021 * metricsinfo.[Ch]: new files containing structures to be passed around
6022 during the two-phase-drawing...
6024 2003-03-21 André Pönitz <poenitz@gmx.net>
6026 * lyxtextclass.C: read 'environment' tag.
6028 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6030 * text2.C (removeRow): fix bug 964
6032 2003-03-20 John Levon <levon@movementarian.org>
6036 * text2.C: paint cleanups. Inset::update() dropped font
6039 2003-03-19 John Levon <levon@movementarian.org>
6041 * lyxfunc.C: only fitcursor/markDirty if available()
6043 2003-03-19 John Levon <levon@movementarian.org>
6045 * commandtags.h: rename to ...
6047 * lfuns.h: ... this, and renumber / cleanup
6049 2003-03-19 John Levon <levon@movementarian.org>
6051 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6052 fit the cursor after an lfun
6056 * BufferView_pimpl.h:
6057 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6059 * LyXAction.C: layout-character should have ReadOnly
6061 * ParagraphParameters.C:
6063 * bufferview_funcs.C:
6070 * undo_funcs.C: changes from above
6072 2003-03-18 John Levon <levon@movementarian.org>
6074 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6075 remove it from update()
6077 * lyxfunc.C: update layout choice after an lfun
6079 * text3.C: remove extra updateLayoutChoice()s
6081 2003-03-18 John Levon <levon@movementarian.org>
6083 * text.C: top_y change means full repaint, fix
6084 a drawing bug with cursor movement
6086 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6090 * text2.C: anchor row on setCursor
6092 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6094 * lyxtext.h: remove almost all mutable keywords
6097 * text3.C: remove const keywords accordingly
6099 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6103 (TeXEnvironment): ditto
6106 2003-03-17 John Levon <levon@movementarian.org>
6108 * text.C (rowBreakPoint): remove attempt to fix displayed
6109 math insets inside a manual label
6111 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * lyxtext.h: remove BufferView* as first arg from almost all class
6115 * other files: adjust.
6117 2003-03-17 John Levon <levon@movementarian.org>
6121 * text2.C: more paint cleanups
6123 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6126 * rowpainter.C: remove "smart" background painting code
6128 2003-03-16 John Levon <levon@movementarian.org>
6133 * text3.C: add helper functions for setting refresh_row/y
6135 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6137 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6138 newline inset which *can* get inserted in the pass_thru layouts.
6139 This is primarily for literate documents.
6141 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6143 * buffer.C: increment LYX_FORMAT to 223
6145 2003-03-14 André Pönitz <poenitz@gmx.net>
6147 * textclass.h: prepare for environment handling, ws changes
6148 * lyxlayout.C: read latexheader and latexfooter tags
6150 2003-03-14 John Levon <levon@movementarian.org>
6152 * text2.C: rewrite ::status() a bit
6154 2003-03-13 John Levon <levon@movementarian.org>
6156 * lyxtext.h: add some docs
6158 2003-03-13 John Levon <levon@movementarian.org>
6163 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6165 2003-03-13 John Levon <levon@movementarian.org>
6167 * text3.C: fix appendix redrawing
6169 2003-03-13 John Levon <levon@movementarian.org>
6171 * text.C (setHeightOfRow):
6173 * rowpainter.C: make appendix mark have the text
6174 "Appendix" so the user knows what it is
6177 * LColor.C: s/appendixline/appendix/ from above
6179 2003-03-13 John Levon <levon@movementarian.org>
6181 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6183 * text.C: fix a getChar(pos) bug properly
6185 2003-03-13 Angus Leeming <leeming@lyx.org>
6188 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6189 Probably only temporary. Let's see how things pan out.
6191 * BufferView.C (unlockInset):
6192 * BufferView_pimpl.C (fitCursor):
6193 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6195 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6196 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6198 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6199 new functions that convert ParagraphParameters to and from a string.
6201 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6202 BufferView::Pimpl's dispatch.
6203 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6205 2003-03-13 André Pönitz <poenitz@gmx.net>
6209 * factory.C: make it aware of InsetEnv
6211 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * text2.C (setCursor): never ask for one past last
6214 (setCursor): add some debugging messages.
6216 * text.C (singleWidth): never ask for one past last
6217 (singleWidth): ditto
6219 (rightMargin): ditto
6220 (rowBreakPoint): ditto
6221 (setHeightOfRow): ditto
6222 (prepareToPrint): ditto
6224 * rowpainter.C (paintBackground): never ask for one past last
6225 (paintText): never ask for one past last
6227 * paragraph_pimpl.C (getChar): make the assert stricter, never
6228 allow the one past last pos to be taken
6230 * paragraph.C (getChar): ws changes only
6232 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6233 (numberOfSeparators): ditto
6234 (numberOfHfills): ditto
6236 2003-03-12 John Levon <levon@movementarian.org>
6242 * paragraph_funcs.C: fix per-buffer authorlists
6244 2003-03-12 John Levon <levon@movementarian.org>
6246 * text.C: fix newline in right address
6248 2003-03-12 Angus Leeming <leeming@lyx.org>
6250 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6251 duplicate those in LyXFunc::dispatch.
6255 * ToolbarDefaults.C:
6256 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6257 Add LFUN_FONTFREE_UPDATE.
6259 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6260 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6262 * bufferview_func.[Ch]: several new functions to facilliate
6263 transfer of data to and from the character dialog.
6265 2003-03-12 John Levon <levon@movementarian.org>
6270 * paragraph_funcs.C:
6271 * paragraph_pimpl.C:
6275 * text3.C: remove META_NEWLINE in favour of an inset
6278 * rowpainter.C: remove paintNewline (done by inset)
6280 2003-03-12 John Levon <levon@movementarian.org>
6282 * paragraph_pimpl.C: complain about bad getChar()s
6283 for a while at least
6285 2003-03-12 John Levon <levon@movementarian.org>
6288 * buffer.C: move paragraph read into a separate function,
6289 a little renaming to reflect that.
6292 * bufferparams.C: remove the author_ids map, not necessary now
6295 * factory.C: moved Buffer::readInset to here
6297 * paragraph_funcs.h:
6298 * paragraph_funcs.C: readParagraph free function moved from
6301 * tabular.C: name change
6303 2003-03-12 John Levon <levon@movementarian.org>
6306 * ParagraphParameters.C: move par params input to
6309 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6310 behave like a normal read from the stream wrt reading
6311 a line vs. a \\token
6313 2003-03-12 John Levon <levon@movementarian.org>
6316 * ParagraphParameters.h:
6317 * ParagraphParameters.C: move output code to a
6320 2003-03-12 John Levon <levon@movementarian.org>
6322 * BufferView.C (insertLyXFile):
6325 * tabular.C: use a parlist iterator for creating the
6328 2003-03-12 John Levon <levon@movementarian.org>
6330 * buffer.C: make current_change static local not
6333 2003-03-12 John Levon <levon@movementarian.org>
6335 * buffer.C: fix insertStringAsLines for change tracking
6337 2003-03-12 John Levon <levon@movementarian.org>
6344 * bufferparams.C: move author list into params. Rename some
6345 functions. Move the header reading into a separate token
6346 loop. Move the header token reading into BufferParams.
6348 2003-03-12 John Levon <levon@movementarian.org>
6350 * changes.C: put debug inside lyxerr.debugging() checks
6352 2003-03-11 André Pönitz <poenitz@gmx.net>
6354 * factory.C: make it aware of InsetHFill
6356 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6358 * buffer.C (latexParagraphs): move function from here...
6359 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6362 2003-03-10 Angus Leeming <leeming@lyx.org>
6364 * LyXAction.C (init): fix bug in poplating array with multiple entries
6365 with the same LFUN (spotted by JMarc).
6367 2003-03-10 John Levon <levon@movementarian.org>
6370 * text2.C: move getColumnNearX() near its
6373 2003-03-10 John Levon <levon@movementarian.org>
6375 * text.C: fix break before a minipage
6377 2003-03-10 John Levon <levon@movementarian.org>
6379 * text.C: fix the last commit
6381 2003-03-09 John Levon <levon@movementarian.org>
6385 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6386 bug 365 (don't break before insets unless needed). Don't
6387 return a value > last under any circumstances.
6389 2003-03-09 Angus Leeming <leeming@lyx.org>
6391 * BufferView_pimpl.C (trackChanges, dispatch): call
6392 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6394 2003-03-09 Angus Leeming <leeming@lyx.org>
6396 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6397 than Dialogs::showAboutlyx().
6399 2003-03-09 Angus Leeming <leeming@lyx.org>
6401 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6402 than Dialogs::showTabularCreate().
6404 2003-03-09 John Levon <levon@movementarian.org>
6408 * text2.C: 3rd arg to nextBreakPoint was always the same.
6411 2003-03-08 John Levon <levon@movementarian.org>
6418 * text2.C: Remove the "main" bit from the "main body"
6421 2003-03-08 John Levon <levon@movementarian.org>
6423 * text.C (leftMargin): The left margin of an empty
6424 manual label paragraph should not include the label width
6427 * text.C (prepareToPrint): don't attempt to measure hfills
6428 for empty manual label paragraphs - the answer should be 0
6430 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6432 * CutAndPaste.C: remove commented code and reindent.
6434 2003-03-08 John Levon <levon@movementarian.org>
6437 * lyxfunc.C: move reloadBuffer()
6440 * BufferView.C: to here
6442 * lyxvc.C: add comment
6445 * vc-backend.C: call bv->reload() to avoid
6446 getStatus() check on MENURELOAD
6448 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6450 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6451 to an old format .dep file.
6453 2003-03-07 Angus Leeming <leeming@lyx.org>
6455 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6456 when the LFUN_MOUSE_RELEASE should have been handled by
6457 inset->localDispatch.
6459 2003-03-07 Angus Leeming <leeming@lyx.org>
6461 * BufferView_pimpl.C (dispatch):
6462 * LyXAction.C (init):
6463 * ToolbarDefaults.C (init):
6465 * lyxfunc.C (getStatus):
6466 remove LFUN_INSET_GRAPHICS.
6468 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6470 2003-03-07 Angus Leeming <leeming@lyx.org>
6473 * LyXAction.C (init):
6474 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6476 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6479 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6481 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6482 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6484 2003-03-07 Angus Leeming <leeming@lyx.org>
6486 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6489 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * ParagraphList.C (front): new function
6494 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6496 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6497 and top_row_offset_. removed var first_y.
6499 * text2.C (LyXText, removeRow):
6501 * BufferView_pimpl.C:
6502 use these methods instead of using first_y
6504 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * text2.C (pasteSelection): adjust for checkPastePossible
6508 * CutAndPaste.C: remove Paragraph * buf and replace with
6509 ParagraphList paragraphs.
6510 (DeleteBuffer): delete
6511 (cutSelection): change the tc type to textclass_type
6512 (copySelection): change the tc type to textclass_type
6513 (copySelection): adjust for ParagraphList
6514 (pasteSelection): change the tc type to textclass_type
6515 (pasteSelection): adjust for Paragraphlist
6516 (nrOfParagraphs): simplify for ParagraphList
6517 (checkPastePossible): simplify for ParagraphList
6518 (checkPastePossible): remove unused arg
6520 * ParagraphList.C (insert): handle the case where there are no
6523 * CutAndPaste.h: make CutAndPaste a namespace.
6525 * text3.C (dispatch): adjust
6527 * text.C (breakParagraph): add a ParagraphList as arg
6529 * paragraph_funcs.C (breakParagraph): change to take a
6530 BufferParams and a ParagraphList as args.
6531 (breakParagraphConservative): ditto
6532 (mergeParagraph): ditto
6533 (TeXDeeper): add a ParagraphList arg
6534 (TeXEnvironment): ditto
6537 * buffer.C (readLyXformat2): adjust
6538 (insertStringAsLines): adjust
6539 (latexParagraphs): adjust
6541 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6542 (cutSelection): adjust
6543 (pasteSelection): adjust
6545 * BufferView_pimpl.C (insertInset): adjust
6547 2003-03-05 Angus Leeming <leeming@lyx.org>
6550 * LyXAction.C (init):
6551 * BufferView_pimpl.C (dispatch):
6552 * lyxfunc.C (getStatus):
6553 remove LFUN_CHILD_INSERT.
6555 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6557 2003-03-05 Angus Leeming <leeming@lyx.org>
6560 * LyXAction.C (init):
6561 * src/factory.C (createInset):
6562 * lyxfunc.C (getStatus):
6563 * text3.C (dispatch):
6564 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6566 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6568 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * ParagraphList.C (insert): handle insert right before end()
6571 (erase): fix cases where it can be first or last paragraph.
6573 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6576 Paragraph::next and Paragraph::previous
6579 * text.C (breakParagraph): adjust
6581 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6582 BufferParams& as arg.
6583 (breakParagraph): use ParagraphList::insert
6584 (breakParagraphConservative): take a Buffer* instead of a
6585 BufferParams& as arg.
6586 (breakParagraphConservative): use ParagraphList::insert.
6588 * buffer.C (insertStringAsLines): un-const it
6589 (insertStringAsLines): adjust
6591 * ParagraphList.C (insert): new function
6593 * CutAndPaste.C (pasteSelection): adjust
6595 * text.C (backspace): adjust
6597 * tabular.C (SetMultiColumn): adjust
6599 * CutAndPaste.C (cutSelection): adjust
6600 (pasteSelection): adjust
6602 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6603 Buffer const * as arg
6605 * ParagraphList.C (erase): new function
6606 * paragraph_funcs.C (mergeParagraph): use it
6607 (mergeParagraph): make it take a Buffer* instead of a
6608 BufferParams* as arg
6610 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6612 (breakParagraphConservative): ditto
6614 * paragraph.h: remove the breakParagraph friend
6616 * paragraph.C (eraseIntern): new function
6617 (setChange): new function
6619 * paragraph_funcs.C (mergeParagraph): make it take a
6620 ParagraphList::iterator instead of a Paragraph *, adjust
6623 * paragraph.h: move an #endif so that the change tracking stuff
6624 also works in the NO_NEXT case.
6626 2003-03-04 Angus Leeming <leeming@lyx.org>
6629 * LyXAction.C: new LFUN_INSET_MODIFY.
6631 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6632 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6634 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * several files: ws changes only
6638 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6639 (TeXEnvironment): ditto
6642 * buffer.C (makeLaTeXFile): adjust
6643 (latexParagraphs): make it take ParagraphList::iterator as args
6645 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * buffer.C (latexParagraphs): adjust
6649 * paragraph.C (TeXOnePar): move function...
6650 (optArgInset): move function...
6651 (TeXEnvironment): move function...
6652 * paragraph_pimpl.C (TeXDeeper): move function...
6653 * paragraph_funcs.C: ...here
6655 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6657 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * buffer.C (readInset): remove compability code for old Figure and
6662 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6664 * buffer.C: ws changes
6667 * BufferView_pimpl.C: ditto
6670 * bufferlist.h: ditto
6674 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6676 * converter.[Ch]: split into itself +
6679 * Makefile.am: += graph.[Ch] + format.[Ch]
6686 * lyxrc.C: added #include "format.h"
6688 2003-02-27 Angus Leeming <leeming@lyx.org>
6690 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6693 * factory.C (createInset): add "label" to the factory.
6695 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6696 string and do no more.
6698 2003-02-27 Angus Leeming <leeming@lyx.org>
6701 * LyXAction.C (init):
6702 * factory.C (createInset):
6703 * BufferView_pimpl.C (dispatch):
6704 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6706 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6708 * lyxfunc.C (dispatch):
6709 * text3.C (dispatch): pass name to params2string.
6711 2003-02-26 Angus Leeming <leeming@lyx.org>
6713 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6715 Rearrange the ~includes. Strip out the unnecessary ones.
6717 * factory.C (createInset): reformat.
6718 create new insets for the various LFUN_XYZ_APPLY lfuns.
6720 2003-02-26 John Levon <levon@movementarian.org>
6723 * lyxrow.C: add isParStart,isParEnd helpers
6725 * paragraph.h: make isInserted/DeletedText take refs
6727 * paragraph_funcs.h:
6728 * paragraph_funcs.C: remove #if 0'd code
6733 * text.C: use lyxrow helpers above.
6734 Move draw and paint routines to RowPainter.
6735 Make several methods use refs not pointers.
6736 Make backgroundColor() const.
6737 Add markChangeInDraw(), isInInset().
6738 Merge changeRegionCase into changeCase.
6739 Make workWidth() shouldn't-happen code into an Assert.
6742 * rowpainter.C: new class for painting a row.
6745 * vspace.C: make inPixels take a ref
6747 2003-02-26 Angus Leeming <leeming@lyx.org>
6749 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6752 2003-02-25 John Levon <levon@movementarian.org>
6754 * ispell.C: give the forked command a more accurate name
6756 2003-02-22 John Levon <levon@movementarian.org>
6759 * toc.C: make TocItem store an id not a Paragraph *
6762 2003-02-21 Angus Leeming <leeming@lyx.org>
6764 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6765 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6766 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6767 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6768 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6769 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6771 * BufferView_pimpl.C (dispatch):
6772 * LyXAction.C (init):
6773 * factory.C (createInset):
6774 * lyxfunc.C (getStatus, dispatch):
6775 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6777 2003-02-21 Angus Leeming <leeming@lyx.org>
6779 * BufferView_pimpl.C (MenuInsertLyXFile):
6780 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6781 * lyxfunc.C (menuNew, open, doImport):
6782 no longer pass a LyXView & to fileDlg.
6784 2003-02-21 Angus Leeming <leeming@lyx.org>
6786 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6787 * LyXAction.C: change, BIBKEY to BIBITEM.
6788 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6789 Change InsetBibKey to InsetBibitem.
6790 Change BIBKEY_CODE to BIBITEM_CODE.
6791 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6792 * factory.C: replace insetbib.h with insetbibitem.h.
6793 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6794 * paragraph.C: replace insetbib.h with insetbibitem.h.
6795 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6796 Change bibkey() to bibitem().
6797 * text.C: remove insetbib.h.
6798 * text2.C: replace insetbib.h with insetbibitem.h.
6799 change bibkey() to bibitem().
6800 * text3.C: remove insetbib.h.
6801 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6803 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6805 * lyxrc.C (output): enclose user email in quotes (in case there are
6808 2003-02-18 John Levon <levon@movementarian.org>
6810 * buffer.h: add std::
6812 2003-02-17 John Levon <levon@movementarian.org>
6818 * pspell.C: reworking. Especially in ispell, a large
6819 number of clean ups and bug fixes.
6821 * lyxfunc.C: fix revert to behave sensibly
6823 2003-02-17 André Pönitz <poenitz@gmx.net>
6826 * commandtags.h: new LFUN_INSERT_BIBKEY
6836 * paragraph_func.C: remove special bibkey handling
6838 2003-02-17 John Levon <levon@movementarian.org>
6840 * text.C (Delete): fix case where delete at the end of
6841 the very first paragraph would not merge the pars
6843 2003-02-17 John Levon <levon@movementarian.org>
6845 * lyxrow.C: fix lastPrintablePos()
6847 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6849 * bufferparams.C (writeLaTeX): add a std:here
6851 * buffer.C: and remove a using directive there
6853 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6855 * buffer.C (makeLaTeXFile): move the code that generates the
6858 * bufferparams.C (writeLaTeX): ... in this new method
6860 * LaTeXFeatures.C (getEncodingSet): make const
6861 (getLanguages): make const
6863 * MenuBackend.C (binding): returns the binding associated to this
6865 (add): sets the status of each item by calling getStatus. Adds
6867 (read): add support for OptSubMenu
6868 (expand): remove extra separator at the end of expanded menu
6870 2003-02-15 John Levon <levon@movementarian.org>
6873 * BufferView_pimpl.C:
6875 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6876 inset code that had no actual effect. Remove unneeded status
6879 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6881 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6884 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6886 * text.C (drawLengthMarker): also draw an arrow marker for
6887 symbolic lengths (medskip...)
6889 2003-02-14 John Levon <levon@movementarian.org>
6892 * tabular.C: better method names
6894 2003-02-14 John Levon <levon@movementarian.org>
6896 * BufferView_pimpl.C:
6901 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6902 it's a more accurate name. Remove some pointless uses.
6904 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6906 * text2.C (LyXText): change order of initilizers to shut off
6909 2003-02-14 John Levon <levon@movementarian.org>
6911 * buffer.C: use ParIterator for getParFromID()
6915 * paragraph_pimpl.h:
6916 * paragraph_pimpl.C: remove unused getParFromID()
6918 2003-02-14 John Levon <levon@movementarian.org>
6920 * buffer.C: remove some very old #if 0'd parse code
6922 2003-02-13 John Levon <levon@movementarian.org>
6926 * text2.C: move hfillExpansion(), numberOfSeparators(),
6927 rowLast(), rowLastPrintable(), numberofHfills(),
6928 numberOfLabelHfills() ...
6931 * lyxrow.C: ... to member functions here.
6936 * text.C: remove LyXText::beginningOfMainBody(), and call
6937 p->beginningOfMainBody() directly. Move the check for
6938 LABEL_MANUAL into the latter.
6945 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6951 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6952 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6954 2003-02-13 John Levon <levon@movementarian.org>
6956 * CutAndPaste.C: remove debug
6958 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6960 * paragraph.C (asString): remove two unused variables
6962 * lyxtextclass.C (readTitleType):
6964 (LyXTextClass): handle new members titletype_ and titlename_
6966 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6968 2003-02-09 John Levon <levon@movementarian.org>
6971 * buffer.C: replace hand-coded list with a map for the dep clean
6973 2003-02-08 John Levon <levon@movementarian.org>
6975 * LaTeX.C: consolidate code into showRunMessage() helper
6977 2003-02-08 John Levon <levon@movementarian.org>
6982 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6983 and pass the size in explicitly
6985 * BufferView_pimpl.h:
6986 * BufferView_pimpl.C:
6988 * BufferView.C: add getCurrentChange()
6990 * BufferView_pimpl.h:
6991 * BufferView_pimpl.C: handle change lfuns
6993 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6994 for changes. Mark pasted paragraphs as new.
6996 * support/lyxtime.h:
6997 * support/lyxtime.C:
6998 * DepTable.C: abstract time_t as lyx::time_type
7001 * LColor.C: add colours for new text, deleted text, changebars
7003 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7004 package use "usenames" option.
7008 * LyXAction.C: add change lfuns
7012 * author.C: author handling
7015 * buffer.C: add a per-buffer author list, with first entry as
7016 current author. Handle new .lyx tokens for change tracking. Output
7017 author list to .lyx file. Output dvipost stuff to .tex preamble.
7018 Bump lyx format to 222.
7021 * bufferlist.C: add setCurrentAuthor() to reset current author details
7025 * bufferparams.C: add param for tracking
7027 * bufferview_funcs.C: output change info in minibuffer
7031 * changes.C: add change-tracking structure
7034 * debug.C: add CHANGES debug flag
7037 * lyxfind.C: add code for finding the next change piece
7040 * lyxrc.C: add user_name and user_email
7043 * lyxrow.C: add a metric for the top of the text line
7046 * text.C: implement accept/rejectChange()
7049 * text.C: paint changebars. Paint new/deleted text in the chosen
7050 colours. Strike through deleted text.
7054 * paragraph_pimpl.h:
7055 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7056 in the current change to the insert functions. Rework erase to
7057 mark text as deleted, adding an eraseIntern() and a range-based
7058 erase(). Implement per-paragraph change lookup and
7061 * paragraph_funcs.C: Fixup paste for change tracking.
7063 * tabular.C: mark added row/columns as new.
7065 * text.C: fix rowLast() to never return -1. Don't allow
7066 spellchecking of deleted text. Track transpose changes. Don't
7067 allow paragraph break or merge where appropriate.
7069 * text2.C: leave cursor at end of selection after a cut.
7071 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7073 * text.C (getLengthMarkerHeight):
7074 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7075 visible on screen too.
7077 2003-02-07 John Levon <levon@movementarian.org>
7079 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7081 2003-02-05 Angus Leeming <leeming@lyx.org>
7083 * lyxserver.C (read_ready): revert my patch of 11 September last year
7084 as it sends PC cpu through the roof. Presumably this means that
7085 the lyxserver will no longer run on an Alpha...
7087 2003-01-30 Angus Leeming <leeming@lyx.org>
7089 * factory.C (createInset): create an InsetCommandParam of type "index"
7090 and use it to 'do the right thing'.
7092 * text2.C (getStringToIndex): ensure that cursor position is always
7093 reset to the reset_cursor position.
7095 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7097 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7100 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7104 * lyxfunc.C: Output messages with identical spelling, punctuation,
7107 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7109 * MenuBackend.C (expandFormats): List only viewable export formats
7112 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7115 * lyxfunc.C (getStatus): Make sure that formats other than
7116 "fax" can also be disabled
7118 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7120 * text3.C (dispatch): put the lfuns that insert insets in 3
7121 groups, and call doInsertInset with appropriate arguments.
7122 (doInsertInset): new function, that creates an inset and inserts
7123 it according to some boolean parameters.
7125 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7127 * buffer.C (readFile): remember to pass on 'par' when calling
7128 readFile recursively.
7130 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7132 * MenuBackend.C (expandFormats): add "..." to import formats.
7134 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7136 * paragraph.C (asString): Remove XForms RTL hacks.
7138 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7139 * buffer.C: fix typo
7141 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7143 * Makefile.am (LIBS): delete var
7144 (lyx_LDADD): add @LIBS@ here instead.
7146 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7148 * Clarify the meaning of "wheel mouse jump"
7150 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7152 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7155 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7157 * importer.C (Loaders): do not preallocate 3 elements in the
7158 vector, since one ends up with 6 elements otherwise
7160 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7162 * DepTable.C (write): write the file name as last element of the
7163 .dep file (because it may contain spaces)
7164 (read): read info in the right order
7166 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7168 * paragraph_pimpl.C (simpleTeXBlanks):
7169 (simpleTeXSpecialChars):
7170 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7172 * tabular.C (latex): add some missing case statements. Reindent.
7174 * MenuBackend.C (expandToc): remove unused variable.
7176 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7185 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7188 2003-01-05 John Levon <levon@movementarian.org>
7191 * BufferView.C: add getEncoding()
7194 * kbsequence.C: do not store last keypress
7197 * lyxfunc.C: store last keypress here instead. Pass encoding
7200 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7202 * lyx_main.C (init): remove annoying error message when following
7203 symbolic links (bug #780)
7205 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7207 * text.C (insertChar):
7208 * lyxrc.C (getDescription): remove extra spaces
7210 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7212 * lyxrc.C (getDescription): remove extra spaces
7214 2002-12-20 John Levon <levon@movementarian.org>
7216 * text3.C: hack fix for page up/down across tall rows
7218 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7220 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7223 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7225 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7226 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7227 thesaurus is not compiled in
7229 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7231 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7233 2002-12-16 Angus Leeming <leeming@lyx.org>
7236 * lyx_main.C (init): remove override_x_deadkeys stuff.
7238 2002-12-12 John Levon <levon@movementarian.org>
7240 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7241 insert. Only remove shift modifier under strict
7244 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * MenuBackend.C (expandToc): fix crash.
7248 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * MenuBackend.C (expandToc): gettext on float names.
7252 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7254 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7255 implement bool empty() [bug 490]
7257 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7261 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * several files: ws changes
7265 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7267 * text2.C (setCounter): clean up a bit, use boost.format.
7268 (updateCounters): initialize par upon declaration.
7270 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7271 if the layout exists. We do not just store the layout any more.
7272 (SwitchLayoutsBetweenClasses): use boost.format
7274 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7276 * converter.C (convert): if from and to files are the same, use a
7277 temporary files as intermediary
7279 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7282 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7284 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7286 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7288 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7290 * tabular.C (asciiPrintCell): use string(size, char) instead of
7293 * sgml.C (openTag): fix order of arguments to string constructor
7296 * lyxfunc.C (dispatch): use boost.format
7298 * lots of files: change "c" -> 'c'
7300 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7302 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7304 2002-11-25 Angus Leeming <leeming@lyx.org>
7306 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7308 * lyx_main.C (init): compile fix.
7310 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7312 * lyx_cb.C (start): boost.formatify
7313 do not include <iostream>
7315 * lengthcommon.C: ws only
7317 * boost-inst.C,BoostFormat.h: add more explict instantations
7319 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * lots of files: handle USE_BOOST_FORMAT
7323 2002-11-21 John Levon <levon@movementarian.org>
7325 * pspell.C: fix compile
7327 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7329 * lyxfunc.C (dispatch): use boost::format
7333 * lyxfont.C (stateText): use boost::format
7335 * lyx_main.C (LyX): use boost::format
7337 (queryUserLyXDir): ditto
7340 (typedef boost::function): use the recommened syntax.
7342 * importer.C (Import): use boost::format
7344 * debug.C (showLevel): use boost::format
7346 * converter.C (view): use boost::format
7351 * bufferview_funcs.C (currentState): use boost::format
7353 * bufferlist.C (emergencyWrite): use boost::format
7355 * buffer.C (readLyXformat2): use boost::format
7356 (parseSingleLyXformat2Token): ditto
7358 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7360 * LaTeX.C (run): use boost::format
7362 * Chktex.C (scanLogFile): use boost::format
7364 * BufferView_pimpl.C (savePosition): use boost::format
7365 (restorePosition): ditto
7366 (MenuInsertLyXFile): ditto
7368 * BoostFormat.h: help file for explicit instation.
7370 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7372 * tabular.C (latex): Support for block alignment in fixed width
7375 2002-11-17 John Levon <levon@movementarian.org>
7377 * BufferView_pimpl.C:
7379 * lyxfunc.C: split filedialog into open/save
7381 2002-11-08 Juergen Vigna <jug@sad.it>
7383 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7384 by my last patch (hopefully).
7386 2002-11-08 John Levon <levon@movementarian.org>
7395 * toc.C: ParConstIterator, and use it (from Lars)
7397 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7399 * lyxtextclass.[Ch]: revise and add doxygen comments
7401 2002-11-07 John Levon <levon@movementarian.org>
7403 * text.C: fix progress value for spellchecker
7405 * toc.C: fix navigate menu for insetwrap inside minipage
7407 * paragraph_funcs.C: added FIXME for suspect code
7409 2002-11-07 John Levon <levon@movementarian.org>
7411 * BufferView_pimpl.C: fix redrawing of insets
7414 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7416 * text2.C (updateCounters): fix bug 668
7418 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7420 * text3.C (dispatch): Do not make the buffer dirty when moving the
7423 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * vc-backend.C: STRCONV
7428 * text2.C (setCounter): STRCONV
7430 * paragraph.C (asString): STRCONV
7432 * lyxlength.C (asString): STRCONV
7433 (asLatexString): ditto
7435 * lyxgluelength.C (asString): STRCONV
7436 (asLatexString): ditto
7438 * lyxfunc.C (dispatch): STRCONV
7441 * lyxfont.C (stateText): STRCONV
7443 * importer.C (Import): STRCONV
7445 * counters.C (labelItem): STRCONV
7446 (numberLabel): ditto
7447 (numberLabel): remove unused ostringstream o
7452 * bufferview_funcs.C (currentState): STRCONV
7454 * buffer.C (readFile): STRCONV
7455 (asciiParagraph): ditto
7456 (makeLaTeXFile): ditto
7458 * Spacing.C (writeEnvirBegin): STRCONV
7460 * LaTeXFeatures.C (getLanguages): STRCONV
7461 (getPackages): ditto
7463 (getBabelOptions): ditto
7464 (getTClassPreamble): ditto
7465 (getLyXSGMLEntities): ditto
7466 (getIncludedFiles): ditto
7470 (scanAuxFile): ditto
7473 * LString.h: add the STRCONV macros
7475 * BufferView_pimpl.C (savePosition): STRCONV
7476 (restorePosition): ditto
7477 (MenuInsertLyXFile): ditto
7479 * vc-backend.C (scanMaster): change from submatch[...] to
7482 * funcrequest.C: include config.h
7484 * factory.C: include config.h
7486 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7488 * box.C: include config.h
7490 * LaTeX.C (scanAuxFile): change from submatch[...] to
7494 2002-10-25 Angus Leeming <leeming@lyx.org>
7496 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7498 * ispell.[Ch] (setError): new method.
7499 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7500 Use setError() insetead of goto END.
7502 * lyx_cb.C (AutoSave): move out child process into new class
7505 2002-10-30 John Levon <levon@movementarian.org>
7507 * text3.C: make start appendix undoable
7509 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7511 * lyxlength.C (inPixels): Fix returned value.
7513 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7516 2002-10-24 Angus Leeming <leeming@lyx.org>
7518 * lyxgluelength.h: no need to forward declare BufferParams
7519 or BufferView, so don't.
7521 2002-10-21 John Levon <levon@movementarian.org>
7523 * BufferView.C: menuUndo ->undo, redo
7525 * BufferView.h: document, remove dead, make some methods private
7527 * paragraph_funcs.h:
7528 * paragraph_funcs.C:
7529 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7534 * sgml.C: move sgml open/close tag into sgml.C
7536 * bufferview_funcs.h: unused prototype
7539 * lyxfunc.C: remove unused
7542 * text.C: remove unused
7544 2002-10-21 John Levon <levon@movementarian.org>
7548 * BufferView_pimpl.h:
7549 * BufferView_pimpl.C: fix mouse wheel handling based on
7550 patch from Darren Freeman
7552 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7554 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7556 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7558 * lyxlength.C (inPixels): Fix hanfling of negative length.
7559 Fix LyXLength::MU case.
7561 2002-10-16 John Levon <levon@movementarian.org>
7563 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7565 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7567 * converter.C (view): add support for $$i (file name) and $$p
7568 (file path) for the viewer command. If $$i is not specified, then
7569 it is appended to the command (for compatibility with old syntax)
7571 2002-10-14 Juergen Vigna <jug@sad.it>
7573 * undo_funcs.C (textHandleUndo): alter the order in which the
7574 new undopar is added to the LyXText, as we have to set first
7575 the right prev/next and then add it as otherwise the rebuild of
7576 LyXText is not correct. Also reset the cursor to the right paragraph,
7577 with this IMO we could remove the hack in "redoParagraphs()".
7579 2002-10-09 Angus Leeming <leeming@lyx.org>
7581 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7582 to turn off an optimisation if a new inset is to be inserted.
7584 2002-10-11 André Pönitz <poenitz@gmx.net>
7586 * lyxtext.h: make some functions public to allow access
7587 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7589 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7591 * text3.C (dispatch): when changing layout, avoid an infinite loop
7594 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7596 * lyxrc.C (read): treat a viewer or converter command of "none" as
7599 * MenuBackend.C (expandFormats): for an update, also allow the
7600 formats that are not viewable
7602 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7603 script if it is newer than the lyxrc.defaults in user directory
7605 2002-10-07 André Pönitz <poenitz@gmx.net>
7607 * text.C: Vitaly Lipatov's small i18n fix
7609 2002-09-25 Angus Leeming <leeming@lyx.org>
7611 * ispell.h: doxygen fix.
7613 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7615 * buffer.h (readFile): Add a new argument to the method, to allow
7616 reading of old-format templates.
7618 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7620 * toc.C (getTocList): Get TOC from InsetWrap.
7622 2002-09-16 John Levon <levon@movementarian.org>
7624 * lyxfunc.C: check tabular for cut/copy too
7626 2002-09-12 John Levon <levon@movementarian.org>
7631 * factory.C: add header
7633 * paragraph_funcs.h:
7634 * paragraph_funcs.C: cleanup
7636 2002-09-11 John Levon <levon@movementarian.org>
7638 * PrinterParams.h: odd/even default to true
7640 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7642 * PrinterParams.h: update printer parameters for new xforms dialog
7644 2002-09-11 Angus Leeming <leeming@lyx.org>
7646 * lyxserver.C (read_ready): re-write to make it more transparent
7647 and to make it work in coherent fashion under Tru64 Unix.
7649 2002-09-11 André Pönitz <poenitz@gmx.net>
7653 * text3.C: implement LFUN_WORDSEL
7655 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7658 make floatlist_ a boost::shared_ptr<FloatList>
7660 * lyxtextclass.C: include FloatList.h
7661 (LyXTextClass): initialize floatlist_
7662 (TextClassTags): add TC_NOFLOAT
7663 (Read): match "nofloat" to TC_NOFLOAT and use it.
7664 (readFloat): modify call to floatlist_
7668 * FloatList.[Ch] (FloatList): remove commented out float
7670 (erase): new function
7672 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7674 * MenuBackend.C (expandToc): fix crash when there is no document
7677 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7679 * many files: Add insetwrap.
7681 2002-09-09 John Levon <levon@movementarian.org>
7683 * text2.C: remove confusing and awkward depth wraparound
7685 2002-09-09 John Levon <levon@movementarian.org>
7687 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7690 * buffer.C: remove getIncludeonlyList()
7693 * lyxfunc.C: remove headers
7695 2002-09-09 Juergen Vigna <jug@sad.it>
7697 * text.C (getColumnNearX): fix form Michael this is most
7698 probably a cut&paste bug.
7700 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7702 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7704 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7705 references, ws changes.
7707 * text2.C (init): update counters after init
7708 (insertParagraph): no need to set counter on idividual paragraphs.
7709 (setCounter): access the counters object in the textclass object
7710 on in the buffer object.
7711 (updateCounters): ditto
7713 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7714 shared_ptr<Counters> to avoid loading counters.h in all
7716 (LyXTextClass): initialize ctrs_
7717 (TextClassTags): add TC_COUNTER, and ...
7718 (Read): use it here.
7719 (CounterTags): new tags
7720 (readCounter): new function
7721 (counters): new funtion
7722 (defaultLayoutName): return a const reference
7724 * counters.C (Counters): remove contructor
7725 (newCounter): remove a couple of unneeded statements.
7726 (newCounter): simplify a bit.
7727 (numberLabel): some small formatting changes.
7729 * buffer.[Ch]: remove all traces of counters, move the Counters
7730 object to the LyXTextClass.
7732 2002-09-06 Alain Castera <castera@in2p3.fr>
7734 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7735 package to set the horizontal alignment on fixed width columns.
7738 * lyx_sty.h: added tabularnewline macro def.
7740 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7742 2002-09-06 John Levon <levon@movementarian.org>
7744 * LyXAction.C: tooltips for sub/superscript
7746 * MenuBackend.C: a bit more verbose
7748 * lyxfunc.C: tiny clean
7750 * undo_funcs.C: document undo_frozen
7752 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * counters.C (Counters): add missing algorithm counter.
7756 * text2.C (setCounter): lookup the counter with layouts latexname
7757 instead of by section number.
7758 (setCounter): use a hackish way to lookup the correct enum
7760 a float name->type change
7761 reset enum couners with counter name directly instead of depth value.
7763 * counters.C (Counters): remove the push_backs, change to use the
7764 float type not the float name.
7765 (labelItem): remove unused string, float name->type change
7767 * counters.h: don't include vector, loose the enums and sects vectors
7769 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7771 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7772 (Read): add float->TC_FLOAT to textclassTags
7773 (Read): and handle it in the switch
7774 (readFloat): new function
7776 * FloatList.C (FloatList): comment out the hardcoded float
7779 * lyxlayout.h: ws change.
7781 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7783 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7785 2002-09-03 Angus Leeming <leeming@lyx.org>
7787 * BufferView_pimpl.h: qualified name is not allowed in member
7788 declaration: WorkArea & Pimpl::workarea() const;
7790 * factory.C: added using std::endl directive.
7792 * text3.C: added using std::find and std::vector directives.
7794 2002-08-29 André Pönitz <poenitz@gmx.net>
7797 * text2.C: remove unused member number_of_rows
7800 * BufferView2.C: remove file, move contents to...
7801 * BufferView.C: ... here
7803 * BufferView_pimpl.C:
7804 * factory.C: move more inset creation to factory
7806 * vspace.C: avoid direct usage of LyXText, ws changes
7809 don't provide direct access to WorkArea, use two simple
7810 acessors haveSelction() and workHeight() instead
7813 2002-08-29 John Levon <levon@movementarian.org>
7815 * BufferView_pimpl.C (dispatch): do not continue when
7818 2002-08-28 André Pönitz <poenitz@gmx.net>
7820 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7823 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7825 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7827 * buffer.C: increment LYX_FORMAT to 221
7829 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7830 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7832 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7834 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7836 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7838 * factory.C (createInset): use LyXTextClass::floats
7840 * MenuBackend.C (expandFloatListInsert):
7841 (expandFloatInsert):
7844 * text2.C (setCounter):
7846 * LaTeXFeatures.C (useFloat):
7847 (getFloatDefinitions):
7849 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7851 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7852 floatlist_, with accessor floats().
7854 * FloatList.h: remove global FloatList
7856 2002-08-26 André Pönitz <poenitz@gmx.net>
7858 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7862 * BufferView_pimpl.C:
7863 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7865 2002-08-25 John Levon <levon@movementarian.org>
7867 * LyXAction.C: fix margin note description
7869 2002-08-24 John Levon <levon@movementarian.org>
7873 * bufferview_funcs.C:
7875 * undo_funcs.C: cleanups
7877 * lyxfunc.C: disable CUT/COPY when no selection
7879 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7881 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7882 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7884 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7885 Add backward compatibility to "mono", "gray" and "no".
7887 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7889 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7890 (and file_format >= 200).
7892 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7896 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7898 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7900 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7902 * BufferView_pimpl.C:
7909 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7910 inset and code to make it work with the paragraph code. The inset
7911 can be anywhere in the paragraph, but will only do the expected
7912 thing in LaTeX if the layout file contains the parameter line
7914 (or more generally, a nonzero value) for that layout.
7916 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * paragraph.h: remove the declaration of undefined counters class
7921 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7923 * text2.C (setCounter): fixed enumeration mis-count as reported by
7924 Dr. Richard Hawkins.
7926 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7928 * paragraph_funcs.h: remove some unneeded includes
7930 * text.C (backspace): pasteParagraph now in global scipe
7932 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7933 (pasteSelection): ditto
7935 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7936 * paragraph_funcs.C (pasteParagraph): ... here
7938 2002-08-20 André Pönitz <poenitz@gmx.net>
7940 * commandtags.h: new LFUNs for swapping/copying table row/colums
7943 * lyxfunc.C: support for new lfuns
7945 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * buffer.[Ch]: remove NO_COMPABILITY stuff
7950 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7952 * boost.C (throw_exception): new file, with helper function for
7953 boost compiled without exceptions.
7958 * ParameterStruct.h:
7959 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7961 * bufferlist.C (emergencyWriteAll): use boost bind
7963 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7965 * text.C: include paragraph_funcs.h
7966 (breakParagraph): breakParagraph is now in global scope
7968 * paragraph_funcs.[Ch]: new files
7970 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7973 * buffer.C: include paragraph_funcs.h
7974 (insertStringAsLines): breakParagraph is now in global scope
7976 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7979 * CutAndPaste.C: include paragraph_funcs.h
7980 (cutSelection): breakParagraphConservative is now in global scope
7981 (pasteSelection): ditto
7983 * buffer.h: declare oprator== and operator!= for
7984 Buffer::inset_iterator
7986 * bufferlist.C (emergencyWrite): don't use fmt(...)
7988 * text3.C: add using std::endl
7990 * BufferView.C (moveCursorUpdate): remove default arg
7992 2002-08-20 André Pönitz <poenitz@gmx.net>
7994 * buffer.[Ch]: move inline functions to .C
7997 * BufferView_pimpl.C:
7999 * buffer.[Ch]: use improved inset_iterator
8002 * paragraph.[Ch]: write one paragraph at a time
8004 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8006 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8007 style if style is not specified.
8009 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8011 * text2.C (setCounter): when searching for right label for a
8012 caption, make sure to recurse to parent insets (so that a caption
8013 in a minipage in a figure float works) (bug #568)
8015 2002-08-20 André Pönitz <poenitz@gmx.net>
8017 * text3.C: new file for LyXText::dispatch() and helpers
8019 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8021 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8023 2002-08-19 André Pönitz <poenitz@gmx.net>
8026 * text.C: new LyXText::dispatch()
8028 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8030 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8032 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8034 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8037 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * Makefile.am: use $(variables) instead of @substitutions@
8041 2002-08-15 André Pönitz <poenitz@gmx.net>
8044 * BufferView_pimpl.C: streamlining mathed <-> outer world
8048 * LyXAction.C: remove unused LFUN_MATH
8050 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8054 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * paragraph.C (Paragraph): reformat a bit
8057 (cutIntoMinibuffer): use builtin InsetList function instad of
8061 * buffer.C: include boost/bind.hpp, add using std::for_each
8062 (writeFileAscii): use ParagraphList iterators
8063 (validate): use for_each for validate traversal of paragraphs
8064 (getBibkeyList): use ParagraphList iterators
8065 (resizeInsets): use for_each to resizeInsetsLyXText for all
8067 (getParFromID): use ParagraphList iterators
8069 * BufferView2.C (lockInset): use paragraph list and iterators
8071 2002-08-14 John Levon <levon@movementarian.org>
8073 * lyxserver.C: remove spurious xforms include
8075 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8077 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8079 2002-08-13 André Pönitz <poenitz@gmx.net>
8082 * lyxfunc.C: further cleaning
8084 2002-08-13 André Pönitz <poenitz@gmx.net>
8086 * funcrequest.h: new constructor
8088 * funcrequest.C: move stuff here from .h
8091 * BufferView_pimpl.C:
8094 * lyxfunc.C: subsequent changes
8096 * lyxfunc.h: new view() member function
8098 * lyxfunc.C: subsequent changes
8100 2002-08-13 Angus Leeming <leeming@lyx.org>
8103 * BufferView_pimpl.C:
8111 changes due to the changed LyXView interface that now returns references
8112 to member variables not pointers.
8114 2002-08-13 Angus Leeming <leeming@lyx.org>
8116 * WordLangTuple (word, lang_code): return references to strings,
8121 * lyxtext.h: forward-declare WordLangTuple.
8126 * text.C: #include "WordLangTuple.h".
8129 * text.C: (selectNextWordToSpellcheck): constify return type.
8131 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8137 * paragraph_pimpl.h:
8140 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8142 Made updateCounter always count from start of buffer, and removed
8143 second argument (par).
8144 Reverted floats number display to '#'. Perhaps I'll try again when the
8145 code base is sanitized a bit.
8147 2002-08-12 Angus Leeming <leeming@lyx.org>
8149 * buffer.[Ch] (getLabelList): constify.
8151 2002-08-07 André Pönitz <poenitz@gmx.net>
8153 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8155 * funcrequest.h: extension to keep mouse (x,y) position
8157 2002-08-12 Juergen Vigna <jug@sad.it>
8159 * BufferView2.C (insertErrors): forbid undo when inserting error
8162 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8164 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8166 * ParagraphList.[Ch]: new files
8168 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8170 * BufferView2.C (lockInset): ParagraphList changes
8173 * bufferlist.C: ditto
8177 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8180 unused class variable counter_,
8182 * paragraph.[Ch] (getFirstCounter): delete unused function
8184 * counters.C: include LAssert.h
8185 (reset): add a new function with no arg, change other version to
8186 not have def. arg and to not allow empty arg.
8188 * text2.C (setCounter): remove empty arg from call to Counters::reset
8190 2002-08-11 John Levon <levon@movementarian.org>
8192 * Makefile.am: add WordLangTuple.h
8194 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8196 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8197 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8199 * insets/insettext.C: InsetList changes
8201 * graphics/GraphicsSupport.C (operator()): InsetList changes
8203 * toc.C (getTocList): InsetList changes
8205 * paragraph_pimpl.[Ch]: InsetList changes
8207 * paragraph.[Ch]: InsetList changes
8209 * buffer.C (inset_iterator): InsetList changes
8210 (setParagraph): ditto
8211 * buffer.h (inset_iterator): ditto
8212 * iterators.C (operator++): ditto
8213 * iterators.h: ditto
8215 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8217 * InsetList.[Ch]: new files, most InsetList handling moved out of
8220 * BufferView2.C (removeAutoInsets): InsetList changes
8222 (ChangeInsets): ditto
8224 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8226 * paragraph_pimpl.h (empty): new function
8228 * paragraph.[Ch] (empty): new function
8230 * other files: use the new Paragraph::empty function
8232 2002-08-09 John Levon <levon@movementarian.org>
8234 * lyxtext.h: remove unused refresh_height
8236 2002-08-09 John Levon <levon@movementarian.org>
8243 * paragraph.C: move sgml char escaping out of paragraph
8246 * paragraph.C: remove id setter
8250 * paragraph_pimpl.C: remove dead tex_code_break_column
8252 * bufferview_funcs.C: small cleanup
8254 * lyxfunc.C: remove dead proto
8256 * lyxtext.h: make some stuff private. Remove some dead stuff.
8258 * lyxgluelength.C: make as[LyX]String() readable
8260 2002-08-08 John Levon <levon@movementarian.org>
8265 * ToolbarDefaults.C:
8268 * toc.C: lyxaction cleanup
8270 2002-08-08 John Levon <levon@movementarian.org>
8272 * BufferView2.C: small cleanup
8275 * lyxfind.C: move unnecessary header into the .C
8277 2002-08-08 John Levon <levon@movementarian.org>
8279 * funcrequest.h: just tedious nonsense
8282 * lyx_main.C: cleanups
8285 * vspace.C: remove dead header lyx_main.h
8287 2002-08-07 Angus Leeming <leeming@lyx.org>
8290 * paragraph_pimpl.h:
8291 Forward declare class Counters in paragraph.h by moving the ctrs member
8292 variable into Paragraph::Pimpl.
8293 (counters): new method, returning a reference to pimpl_->ctrs.
8295 * text2.C: ensuing changes.
8297 2002-08-07 John Levon <levon@movementarian.org>
8299 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8301 * BufferView_pimpl.C: announce X selection on double/triple
8304 * lyx_main.C: use correct bool in batch dispatch
8306 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8308 2002-08-07 André Pönitz <poenitz@gmx.net>
8310 * funcrequest.h: new class to wrap a kb_action and its argument
8313 * BufferView_pimpl[Ch]:
8317 * lyxrc.C: subsequent changes
8320 2002-08-07 John Levon <levon@movementarian.org>
8322 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8323 document options change.
8325 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8330 * makefile.am: move counters functionality over from
8331 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8333 2002-08-06 John Levon <levon@movementarian.org>
8335 * WordLangTuple.h: new file for word + language code tuple
8346 * BufferView2.C: use WordLangTuple
8349 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8351 2002-08-06 John Levon <levon@movementarian.org>
8353 * lyx_main.C: fix cmdline batch handling
8355 2002-08-06 André Pönitz <poenitz@gmx.net>
8357 * lyxrc.C: set default for show_banner to true
8359 2002-08-06 John Levon <levon@movementarian.org>
8361 * pspell.C: fix a crash, and allow new aspell to work
8363 2002-08-06 John Levon <levon@movementarian.org>
8366 * kbmap.C: small cleanup
8369 * vspace.C: add const
8371 2002-08-05 John Levon <levon@movementarian.org>
8373 * LyXAction.C: back to tabular-insert
8375 2002-08-04 John Levon <levon@movementarian.org>
8378 * BufferView.C: cosmetic change
8380 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8390 * BufferView2.C: purge all "Lyx" not "LyX" strings
8393 * lyxcursor.C: attempt to add some documentation
8398 * ToolbarDefaults.C:
8399 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8400 merge with LFUN_TABULAR_INSERT
8407 * pspell.C: split up i/pspell implementations into separate
8408 files, many cleanups
8410 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8412 * text2.C: some cleanup
8414 * lyxfunc.C: don't check for isp_command == "none" any more, it
8415 didn't make any sense
8417 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8422 * makefile.am: move counters functionality over
8423 from text2.C/paragraph.[Ch] to counters.[Ch], and
8425 2002-08-02 John Levon <levon@movementarian.org>
8427 * buffer.C: s/lyxconvert/lyx2lyx/
8429 2002-08-02 Angus Leeming <leeming@lyx.org>
8431 * lyxlex.C: revert John's change as it breaks reading of the user
8434 2002-08-02 Angus Leeming <leeming@lyx.org>
8436 * importer.C (Import):
8437 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8438 changes due to LyXView::view() now returning a boost::shared_ptr.
8440 2002-08-02 John Levon <levon@movementarian.org>
8442 * lyxlex.C: small cleanup
8444 2002-08-02 John Levon <levon@movementarian.org>
8446 * text2.C (status): small cleanup, no logic change
8448 2002-08-01 John Levon <levon@movementarian.org>
8451 * buffer.C (writeFile): don't output alerts, caller
8455 * lyx_cb.C: from above
8457 * lyxfunc.C: allow to open non-existent files
8459 2002-07-31 John Levon <levon@movementarian.org>
8461 * lyxserver.C: don't let incidental errors get
8464 2002-07-30 John Levon <levon@movementarian.org>
8466 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8468 2002-07-30 John Levon <levon@movementarian.org>
8471 * lyxserver.C: remove I/O callback too
8473 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8475 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8478 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * many files: strip,frontStrip -> trim,ltrim,rtrim
8482 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * PrinterParams.h: remove extern containsOnly, and include
8485 support/lstrings.h instead.
8487 * LaTeX.C (scanAuxFile): modify because of strip changes
8489 * buffer.C (makeLaTeXFile): ditto
8490 * bufferparams.C (writeFile): ditt
8491 * lyxfont.C (stateText): ditto
8492 * lyxserver.C (read_ready): ditto
8493 * vc-backend.C (scanMaster): ditto
8495 * BufferView_pimpl.h: ws changes
8497 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8499 2002-07-26 André Pönitz <poenitz@gmx.net>
8501 * kb_sequence.C: remove unnedred usings
8503 2002-07-26 Juergen Vigna <jug@sad.it>
8505 * lyxfind.C (LyXReplace): we have to check better if the returned
8506 text is not of theLockingInset()->getLockingInset().
8508 2002-07-25 Juergen Vigna <jug@sad.it>
8510 * lyxfind.C (LyXReplace): don't replace if we don't get the
8513 * undo_funcs.C (createUndo): remove debugging code.
8515 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8517 * buffer.C (parseSingleLyXformat2Token): Use default placement
8518 when reading old floats.
8520 * FloatList.C (FloatList): Change the default placement of figure
8521 and tables to "tbp".
8523 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8525 * MenuBackend.C: using std::max
8527 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8529 * MenuBackend.C (expandToc):
8530 (expandToc2): code moved from xforms menu frontend. It is now
8531 generic and TOCs are transparent to menu frontends.
8533 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8535 * toc.C (getTocList): protect against buf=0
8537 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8538 Menu as first parameter. Now, this calls itself recursively to
8539 expand a whole tree (this will be useful for TOC handling)
8540 (expandFloatInsert): remove 'wide' version of floats
8542 * MenuBackend.h (submenuname): returns the name of the submenu.
8543 (submenu): returns the submenu itself, provided it has been
8544 created by MenuBackend::expand
8546 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8548 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8549 insets which have noFontChange == true. (bug #172)
8551 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8553 * BufferView_pimpl.C: add connection objects and use them...
8556 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8558 * MenuBackend.C (expandLastfiles):
8561 (expandFloatListInsert):
8562 (expandFloatInsert):
8563 (expand): split expand in parts
8565 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8567 * lyx_gui.C: use lyx_gui::exit()
8569 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8571 * LyXAction.C: show the failing pseudo action
8573 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8575 * buffer.C (readFile): Run the lyxconvert script in order to read
8578 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8582 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8584 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8588 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8590 2002-07-22 Herbert Voss <voss@lyx.org>
8593 * lyxlength.[Ch]: add support for the vertical lengths
8595 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8597 * toc.[Ch]: std:: fixes
8599 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8601 * lyxrc.C: do not include lyx_main.h
8603 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8609 * BufferView2.C: include "lyxlex.h"
8612 * bufferparams.h: do not #include "lyxlex.h"
8614 * lyxtextclasslist.C (Add): remove method
8615 (classlist): renamed to classlist_
8617 * paragraph_pimpl.C:
8621 * bufferview_funcs.C:
8626 * toc.C (getTocList): use BufferParams::getLyXTextClass
8628 * toc.C (getTocList): use InsetFloat::addToToc
8630 * toc.[Ch]: new files, containing helper functions to handle table
8633 * lyxfunc.C (dispatch): no need to remove spaces around command
8635 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8636 first command of the sequence; it is not very clever, but I do not
8637 have a better idea, actually
8639 * LyXAction.C (LookupFunc): make sure to remove space at the
8640 beginning and end of the command
8642 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8644 * MenuBackend.C (getMenubar): new method: return the menubar of
8646 (read): treat differently reading of menu and menubar (in
8647 particular, the menubar has no name now)
8648 (Menu::menubar): remove
8650 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8653 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8655 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8656 a bibitem inset in a RTL paragraph.
8658 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8660 * paragraph_pimpl.C: constify
8662 * BufferView_pimpl.C:
8664 * lyxfunc.C: fix dispatch in a nicer way
8666 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8668 * lyxfunc.C (dispatch):
8669 * BufferView_pimpl.C:
8670 * BufferView_pimpl.h:
8672 * BufferView.h: rename Dispatch() to dispatch()
8674 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8676 * lyxlayout.C (Read): honor DependsOn tag
8678 * lyxlayout.[Ch] (depends_on): new method
8680 * version.C.in: update lyx_docversion
8682 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8684 * paragraph.C (validate): remove from here...
8685 * paragraph_pimpl.C (validate): ... and move here
8686 (isTextAt): make it const
8688 * buffer.C (getLists): ws cleanup
8690 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8692 * language.C (read): Use iso8859-1 encoding in latex_lang
8693 (this prevents LyX from crashing when using iso10646-1 encoding).
8695 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8697 * text2.C (toggleInset): if cursor is inside an inset, close the
8698 inset and leave cursor _after_ it
8700 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8702 * lyxfunc.C: move minibuffer completion handling out of here
8704 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8706 * BufferView_pimpl.C:
8707 * LaTeX.C: fix dispatch calls
8709 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8711 * text.C (drawChars): Fix Arabic text rendering.
8713 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8717 * lyxfunc.C: remove message-push/pop
8721 * lyxfunc.C: rationalise some code by removing verboseDispatch
8722 in favour of a bool argument to dispatch()
8724 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8726 * lyx_main.C (init): make sure to read symlinks as absolute paths
8728 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8731 * lyxfunc.C: no need for commandshortcut to be a member
8733 2002-07-15 André Pönitz <poenitz@gmx.net>
8735 * converter.C: add support for $$s (scripts from lib/scripts dir)
8736 * lyx_main.C: white space
8738 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8742 * lyxrc.C: remove second exit confirmation
8744 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8749 * BufferView_pimpl.h:
8750 * BufferView_pimpl.C:
8751 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8753 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8755 * MenuBackend.C (expand): add numeric shortcuts to document menu
8757 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8759 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8761 * lyxfont.C (setLyXFamily):
8768 * buffer.C (asciiParagraph): use ascii_lowercase
8770 2002-07-15 Mike Fabian <mfabian@suse.de>
8772 * lyxlex_pimpl.C (search_kw):
8773 * lyxlex.C (getLongString):
8774 * converter.h (operator<):
8775 * converter.C (operator<):
8776 * buffer.C (parseSingleLyXformat2Token):
8778 * ToolbarDefaults.C (read):
8779 * MenuBackend.C (checkShortcuts):
8781 * LColor.C (getFromGUIName):
8782 (getFromLyXName): use the compare_ascii_no_case instead of
8783 compare_no_case, because in turkish, 'i' is not the lowercase
8784 version of 'I', and thus turkish locale breaks parsing of tags.
8786 2002-07-16 Angus Leeming <leeming@lyx.org>
8788 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8789 now takes a Buffer const & argument.
8791 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8793 * BufferView.C (resize): check there's a buffer to resize
8795 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8797 * lyxfunc.C: remove dead code
8800 * lyxserver.C: use lyx_guii::set_read_callback
8802 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8804 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8805 an inset in a RTL paragraph.
8807 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8809 * lyxfunc.C: repaint after a font size update
8811 2002-07-15 André Pönitz <poenitz@gmx.net>
8813 * lyxlength.C: inBP should be able to return negative values
8815 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8817 * lyxfunc.C: use lyx_gui::update_fonts()
8819 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8821 * lyxfunc.C: use lyx_gui::update_color()
8823 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8829 * lyxrc.C: remove file->new asks for name option, and let
8830 buffer-new take an argument
8832 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8834 * BufferView_pimpl.C: remove unneeded extra repaint()
8836 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8838 * LyXAction.C: allow command-sequence with NoBuffer
8840 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8842 2002-07-10 Angus Leeming <leeming@lyx.org>
8844 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8846 2002-07-09 Angus Leeming <leeming@lyx.org>
8848 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8850 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8852 * lengthcommon.h: whitespace
8854 * lyxfunc.C: update scrollbar after goto paragraph
8856 * lyxtext.h: factor out page break drawing, and fix it so
8857 page break/added space paints as selected nicely
8859 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8861 * BufferView_pimpl.C: add FIXMEs, clean up a little
8863 2002-07-09 André Pönitz <poenitz@gmx.net>
8865 * lyxfont.[Ch]: support for wasy symbols
8867 2002-07-08 André Pönitz <poenitz@gmx.net>
8869 * BufferView_pimpl.C: apply John's patch for #93.
8871 2002-07-05 Angus Leeming <leeming@lyx.org>
8873 * BufferView_pimpl.C (buffer): generate previews if desired.
8875 * LColor.h: add "preview" to the color enum.
8877 * LColor.C (LColor): add a corresponding entry to the items array.
8879 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8882 2002-07-05 Angus Leeming <leeming@lyx.org>
8884 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8885 The body of the code is now in the method that is passed an ostream &
8886 rather than a file name.
8887 Pass an additional only_preamble parameter, useful for the forthcoming
8890 2002-07-03 André Pönitz <poenitz@gmx.net>
8892 * lyxfunc.C: simplify getStatus() a bit for math stuff
8894 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8896 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8898 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8900 * text.C (changeRegionCase): do not change case of all the
8901 document when region ends at paragraph end (bug #461)
8903 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8905 * paragraph.C (startTeXParParams):
8906 (endTeXParParams): add \protect when necessary
8908 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8910 * BufferView_pimpl.C (workAreaExpose): remove warning
8912 2002-06-27 Angus Leeming <leeming@lyx.org>
8914 * Makefile.am: add lyxlayout_ptr_fwd.h.
8916 2002-06-26 André Pönitz <poenitz@gmx.net>
8918 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8920 2002-06-25 Angus Leeming <leeming@lyx.org>
8922 * lyxfunc.C (dispatch): Comment out the call to
8923 grfx::GCache::changeDisplay. The method no longer exists now that the
8924 pixmap generation part of the graphics loader has been moved into
8927 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8929 * text2.C: layout as layout
8931 * text.C: layout as layout
8933 * tabular.C (OldFormatRead): layout as layout
8935 * paragraph_pimpl.C (TeXDeeper): layout as layout
8936 (realizeFont): layout as layout
8938 * paragraph.C (writeFile): layout as layout
8939 (validate): layout as layout
8940 (getFont): layout as layout
8941 (getLabelFont): layout as layout
8942 (getLayoutFont): layout as layout
8943 (breakParagraph): layout as layout
8944 (stripLeadingSpaces): layout as layout
8945 (getEndLabel): layout as layout
8946 (getMaxDepthAfter): layout as layout
8947 (applyLayout): layout as layout
8948 (TeXOnePar): layout as layout
8949 (simpleTeXOnePar): layout as layout
8950 (TeXEnvironment): layout as layout
8951 (layout): layout as layout
8952 (layout): layout as layout
8954 * lyxtextclass.C (compare_name): new functor to work with
8955 shared_ptr, layout as layout
8956 (Read): layout as layout
8957 (hasLayout): layout as layout
8958 (operator): layout as layout
8959 (delete_layout): layout as layout
8960 (defaultLayout): layout as layout
8962 * lyxlayout_ptr_fwd.h: new file
8964 * lyxlayout.C (Read): layout as layout
8966 * lyx_cb.C (MenuInsertLabel): layout as layout
8968 * bufferlist.C (newFile): layout as layout
8970 * buffer.C (readLyXformat2): layout as layout
8971 (parseSingleLyXformat2Token): layout as layout
8972 (insertStringAsLines): layout as layout
8973 (asciiParagraph): layout as layout
8974 (latexParagraphs): layout as layout
8975 (makeLinuxDocFile): layout as layout
8976 (simpleLinuxDocOnePar): layout as layout
8977 (makeDocBookFile): layout as layout
8978 (simpleDocBookOnePar): layout as layout
8979 (getLists): layout as layout
8981 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8983 * CutAndPaste.C (cutSelection): layout as layout
8984 (pasteSelection): layout as layout
8985 (SwitchLayoutsBetweenClasses): layout as layout
8987 * BufferView_pimpl.C (Dispatch): layout as layout
8988 (smartQuote): layout as layout
8990 * BufferView2.C (unlockInset): layout as layout
8992 2002-06-24 André Pönitz <poenitz@gmx.net>
8994 * lyxfunc.C: fix #487
8996 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9000 * lyxfunc.C: remove display_shortcuts, show_banner
9002 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9004 * Buffer_pimpl.C: oops, update on resize
9006 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9013 * BufferView.C: use repaint()
9015 * BufferView_pimpl.h:
9016 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9017 as it's a clearer description. Remove superfluous
9020 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9022 * text.C: fix bug 488. Not ideal, but getting
9023 getWord() to work properly for the insets that
9024 matter is more difficult ...
9026 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9028 * BufferView_pimpl.C:
9031 * lyxfunc.C: remove the six million index lyxfuncs to just
9032 one, and DTRT (bug 458)
9034 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9038 * BufferView_pimpl.h:
9039 * BufferView_pimpl.C: clean up resize() stuff,
9040 and unnecessary updateScreen()s
9042 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9046 * BufferView_pimpl.h:
9047 * BufferView_pimpl.C:
9050 * minibuffer.C: remove focus management of workarea,
9051 not needed. Use screen's greyOut()
9053 2002-06-17 Herbert Voss <voss@lyx.org>
9055 * converter.C: (convert) do not post a message, when converting
9056 fails, let the calling function decide what to do in this case
9058 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9060 * lyxfunc.C: tidy up a little
9062 2002-06-16 <alstrup@diku.dk>
9064 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9065 Got rid of FORMS_H_LOCATION include. Now we are
9068 2002-06-15 LyX Development team <lyx@rilke>
9070 * buffer.[Ch] (sgmlOpenTag):
9071 (sgmlCloseTag): Added support for avoiding pernicious mixed
9072 content. Return number of lines written.
9075 (makeDocBookFile): Fixed calls to sgml*Tag.
9076 Simple white space clean.
9078 (simpleDocBookOnePar): Simple white space clean.
9080 * tabular.[Ch] (docBook): Renamed to docbook and got another
9081 argument to related with the pernicious mixed content.
9083 (docbookRow): Fixed calls for docbook inset method.
9085 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9087 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9088 so it's X11 independent.
9092 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9094 2002-06-15 Lyx Development team <lyx@electronia>
9096 * intl.h: Renamed getTrans to getTransManager.
9098 2002-06-14 Angus Leeming <leeming@lyx.org>
9100 * Makefile.am: nuke forgotten stl_string_fwd.h.
9102 2002-06-12 Angus Leeming <leeming@lyx.org>
9104 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9106 2002-06-13 Angus Leeming <leeming@lyx.org>
9109 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9111 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9113 * kbmap.C (getiso): add support for cyrillic and greek
9115 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9119 * BufferView_pimpl.h:
9120 * BufferView_pimpl.C: move bogus scrolling logic
9123 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9126 * BufferView_pimpl.C: view->resize() change
9128 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9130 * BufferView_pimpl.C: topCursorVisible
9133 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9137 * lyx_gui.C: move to frontends/
9141 * lyx_main.C: changes from above
9143 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9150 * lyx_main.C: minor tidy
9152 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9154 * BufferView_pimpl.h:
9155 * BufferView_pimpl.C:
9157 * BufferView.C: make painter() const,
9160 * BufferView2.C: use screen() accessor
9163 * lyx_main.C: some minor cleanup
9165 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9167 * BufferView_pimpl.h:
9168 * BufferView_pimpl.C: remove enter/leaveView,
9171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9176 * BufferView_pimpl.h:
9177 * BufferView_pimpl.C: only construct screen once,
9180 * lyxrc.C: remove pointless comment
9182 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9185 * BufferView.C: remove active() and belowMouse()
9187 * BufferView_pimpl.h:
9188 * BufferView_pimpl.C: use workarea() not workarea_,
9189 and make it use a scoped_ptr instead
9191 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9193 * lyx_gui.C: add debug message on BadWindow
9195 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9197 * sp_spell.C: fdopen is not part of the C++ standard.
9199 * paragraph.C (InsetIterator): use >= instead of ==
9201 2002-06-07 Angus Leeming <leeming@lyx.org>
9203 Fixes needed to compile with Compaq cxx 6.5.
9204 * BufferView_pimpl.C:
9211 * lyxtextclasslist.C:
9216 all c-library variables have been moved into namespace std. Wrap
9217 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9222 Add a using std::abs declaration.
9224 * kbmap.h (modifier_pair):
9225 * paragraph.h (InsetTable, InsetList):
9226 * lyxfont.h (FontBits):
9227 type definition made public.
9229 * bufferlist.C (emergencyWriteAll): the compiler complains that
9230 there is more than one possible lyx::class_fun template to choose from.
9231 I re-named the void specialisation as lyx::void_class_fun.
9233 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9235 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9236 the compiler is is unable to find tostr in write_attribute.
9238 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9240 * buffer.C (sgmlError): hide #warning
9242 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9244 * xtl/*: get rid of xtl, which is not in use anyway
9246 * LyXAction.C (init):
9247 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9248 were unimplemented xtl experimentation
9250 2002-06-04 André Pönitz <poenitz@gmx.net>
9252 * lyxfunc.C: disable array operation on simple formulae
9254 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9256 * converter.C: constify a bit
9258 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9260 * lyx_gui.C: check xforms version correctly
9262 2002-04-30 Herbert Voss <voss@lyx.org>
9264 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9267 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9269 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9270 attempt to register it with a VCS)
9272 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9274 * lyx_main.C (init): honor variables LYX_DIR_13x and
9277 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9281 * lyx_main.C: fix a crash on bad command line,
9282 and give a useful exit status on error
9284 * lyxfunc.C (doImport): allow -i lyx to work
9286 2002-03-30 André Pönitz <poenitz@gmx.net>
9288 * lyxfunc.C: mathed font changes
9290 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9305 * trans_mgr.h: srcdocs, and some minor cleanups
9307 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9309 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9310 call getFont all the time)
9312 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * switch from SigC signals to boost::signals
9316 2002-05-29 André Pönitz <poenitz@gmx.net>
9318 * paragraph_pimpl.C (getChar): don't call size() too often...
9320 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9322 * paragraph_pimpl.C (insertChar): do not try to update tables when
9323 appending (pos == size())
9325 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9326 in order to reduce drastically the number of comparisons needed to
9327 parse a large document
9329 2002-05-29 André Pönitz <poenitz@gmx.net>
9335 * textclasslist.[Ch]:
9336 * sp_ispell.h: whitespace change
9338 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9340 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9341 lyxaction directly now.
9343 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9347 * lyxvc.C: remove unused headers
9349 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9356 * undo_funcs.C: some cleanups. Use shared_ptr
9357 and a template for the undo stacks.
9359 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9361 * BufferView_pimpl.h:
9362 * BufferView_pimpl.C:
9369 * text2.C: use key_state/mouse_state
9371 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9373 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9376 * chset.C: change include order
9377 (loadFile): use boost regex and get rid of LRegex and LSubstring
9379 * Makefile.am (BOOST_LIBS): new variable
9382 * LaTeX.C: change include order.
9383 (scanAuxFile): use boost regex and get rid of LRegex and
9387 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9392 * FontInfo.C: moved to frontends/xforms/
9395 * FontLoader.C: moved into frontends for GUIIzation
9400 * lyxfunc.C: changes from above
9402 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9404 * LColor.C: remove spurious X include
9406 * BufferView_pimpl.C:
9411 * text2.C: move font metrics to frontends/
9413 2002-05-24 Juergen Vigna <jug@sad.it>
9415 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9416 setting the undo_cursor.
9418 * ParagraphParameters.h: include local includes first.
9420 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9422 * BufferView_pimpl.C:
9423 * BufferView_pimpl.h:
9427 * screen.C: move WorkArea into frontends/
9433 * BufferView2.C: move LyXScreen into frontends/
9437 * lyx_gui.C: move lyxlookup into frontends/xforms/
9439 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9442 * BufferView_pimpl.C:
9452 * bufferview_funcs.C:
9465 * vc-backend.C: move LyX/XFormsView into frontends/
9467 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9479 * text2.C: move Painter to frontends/
9481 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9483 * buffer.C: comment out some some code that depend upon lyx_format
9486 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9487 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9489 * buffer.h (NO_COMPABILITY): turn off compability
9491 * ColorHandler.C: include scoped_array.hpp
9493 * font.C: Use more specific smart_ptr header.
9496 * ShareContainer.h: ditto
9500 * BufferView_pimpl.h: ditto
9501 * ColorHandler.h: ditto
9503 * kbmap.C (defkey): change call to shared_ptr::reset
9505 2002-05-21 Juergen Vigna <jug@sad.it>
9507 * buffer.C (insertErtContents): fix to insert ert asis if it is
9508 non empty. Skip it completely if it contains only whitespaces.
9510 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9512 * BufferView_pimpl.C:
9513 * BufferView2.C: clear selection on paste (bug 393)
9515 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9517 * DepTable.C: include ctime
9519 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9521 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9523 2002-05-14 Juergen Vigna <jug@sad.it>
9525 * text.C (breakParagraph): fixed function to honor the keepempty
9526 layout in the right maner and also to permit the right breaking
9527 algorithm on empty or non empyt keepempty paragraphs.
9529 * paragraph.C (breakParagraph): we have to check also if the par
9530 is really empty (!size()) for isempty otherwise we do the wrong
9533 2002-05-10 Juergen Vigna <jug@sad.it>
9535 * buffer.[Ch] : The following are only changes to the ert
9536 compatibility read reading old LaTeX layout and font stuff and
9537 convert it to ERTInsets.
9539 * buffer.h: added isErtInset().
9541 * buffer.C (struct ErtComp): add a fromlayout bool to check
9542 if we're inside a LaTeX layout.
9543 (isErtInset): new helper function.
9544 (insertErtContents): look for other ert insets before this one
9545 and insert the contents there, so that we don't have subsequent
9546 ERT insets with nothing between them. This way we create only one
9547 inset with multiple paragraphs. Also check if we don't insert only
9548 spaces ' ' as they are ignored anyway afterwards in the .tex file
9549 so if we have only spaces we will ignore this latex part in the
9551 (parseSingleLyXformat2Token \\layout): better compatibility when
9552 reading layout-latex stuff.
9553 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9555 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9556 stuff after reading the inset only get the information back from
9559 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9561 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9563 * LaTeXFeatures.C (getBabelOptions): New method.
9565 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9567 * BufferView_pimpl.C (Dispatch): work around missing argument for
9570 2002-05-08 Juergen Vigna <jug@sad.it>
9572 * text.C (leftMargin): handle paragraph leftindent.
9574 * paragraph.C (writeFile): write the new \\leftindent tag.
9575 (validate): handle leftindent code.
9576 (TeXEnvironment): handle paragraphleftindent code again.
9578 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9580 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9581 for paragrap_extra indent code and new token \\leftindent.
9582 (latexParagraphs): handle the leftindent as environment.
9584 * ParameterStruct.h: added leftindent support.
9586 * ParagraphParameters.C (leftIndent): added support functions for
9587 the paragraph left indent.
9589 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9592 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9594 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9597 * text.C (computeBidiTables): No bidi in insetERT.
9599 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9602 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * version.C.in: pre 5
9606 2002-05-02 José Matos <jamatos@fep.up.pt>
9607 * buffer.C (makeDocBookFile): white space changes, add newline to
9609 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9611 * tabular.C (docBook): fix typo.
9613 2002-05-03 Juergen Vigna <jug@sad.it>
9615 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9616 change in LyXText as we can not be sure it was not freed.
9617 (drawOneRow): remove unused code.
9619 * text.C (drawInset): redo the calculation of the need_break_row as
9620 it could have a row which was already freed.
9621 (draw): look at the return value of drawInset and return false if
9622 it also returned false.
9623 (paintRowText): look at the return value of draw and return false if
9624 it also returned false.
9626 * lyxtext.h: added bool return type to drawInset() and draw() so that
9627 if we have a change in the row so that the rowbreak has to be redone
9628 we abort drawing as it will be called again.
9630 2002-05-02 Juergen Vigna <jug@sad.it>
9632 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9633 a change in the maintext also if we're inside an inset.
9634 (Dispatch): set the cursor again after a break line and after the
9635 screen has been updated as it could be we're in a different row.
9637 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9638 to set the cursor behind the pargraph with > size().
9639 (setCursor): check also for the same paragraph when checking where
9640 to put the cursor if we have a NFR inset.
9642 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9643 parts of layout read further up as it still was in the wrong
9646 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9648 * screen.C (drawFromTo): change sine fullRebreak always return
9651 * buffer.C (parseSingleLyXformat2Token): reindent some
9653 * BufferView_pimpl.C (update): change since fullRebreak always
9655 (Dispatch): git rid of the last hardcoded "Standard"s.
9657 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9659 * text2.[Ch] (fullRebreak): make it return void now that we always
9662 2002-04-30 Juergen Vigna <jug@sad.it>
9664 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9665 ert compatibility check for "latex" layout.
9667 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9669 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9670 minipages: use col% instead of p%, and also use the current font.
9671 (makeLaTeXFile): Fix use babel condition.
9672 (parseSingleLyXformat2Token): Correct font when reading old floats.
9674 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9676 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9677 inserting list of floats.
9679 2002-04-25 Herbert Voss <voss@lyx.org>
9681 * MenuBackend.C (expand): don't add the graphics extensions to the
9684 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9686 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9687 non-existing layout, do not complain if it was the default layout
9688 of the original class (bug #342)
9690 2002-04-24 Juergen Vigna <jug@sad.it>
9692 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9693 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9695 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9697 * buffer.C (getBibkeyList): If using \bibliography, return the
9698 option field with the reference itself. Enables us to provide natbib
9699 support when using \bibliography.
9701 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9703 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9705 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9706 natbib is provided by the LaTeX class.
9708 2002-04-23 Juergen Vigna <jug@sad.it>
9710 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9713 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9715 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9717 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9719 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9720 ensuremath around textordmasculine, textordfeminine and
9723 2002-04-19 Juergen Vigna <jug@sad.it>
9725 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9726 reinitializing the buffer otherwise row-dimensions may be wrong.
9727 (update): reset also the selection cursors if they do exits otherwise
9728 their x/y positions may be wrong.
9730 * text2.C (cursorDown): don't enter the inset if we came from a row
9731 above and are one row over the inset.
9733 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9734 really leaving an inset.
9736 2002-04-18 Juergen Vigna <jug@sad.it>
9738 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9739 of the selected paragraph does not have the selected layout also if
9742 * text2.C (setLayout): fixed bug which did not change last selected
9745 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9746 changed the read and substituted \\end_float with \\end_inset!
9748 * BufferView_pimpl.C (cursorPrevious):
9749 (cursorNext): fixed to make it work with rows heigher than the work
9750 area without moving the cursor only the draw of the row.
9751 (workAreaMotionNotify): fix jumping over high rows.
9753 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9758 2002-04-16 Juergen Vigna <jug@sad.it>
9760 * text2.C (setCursor): set also the irow().
9761 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9763 (cursorDown): support for locking an inset if the x_fix value goes
9764 inside it. That way I can transverse insets too with cursor up/down.
9766 * lyxrow.h: added irow helper function same as other (i) functions.
9768 * BufferView_pimpl.C (cursorPrevious):
9769 (cursorNext): fixed for insets!
9771 2002-04-15 Juergen Vigna <jug@sad.it>
9773 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9774 position otherwise it is wrong in some cases.
9776 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9777 inside the inset before the call.
9779 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9781 * buffer.[Ch] (getBibkeyList): make it const.
9783 2002-04-12 Juergen Vigna <jug@sad.it>
9785 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9787 * text2.C (getCursorX): new helper function
9788 (setCursor): compute also ix_
9789 (setCursorFromCoordinates): set also ix.
9791 * lyxcursor.h: added ix_ and helper functions.
9793 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9795 * buffer.C (insertStringAsLines): dont break paragraph if the this
9796 paragraph is inside an inset which does not permit it!
9798 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9799 also with no chars on this paragraph.
9800 (paintRowText): only paint stuff if it's inside the workarea!
9802 * paragraph.C (breakParagraph): honor keepempty flag and break the
9803 paragraph always below not above.
9805 * BufferView2.C (unlockInset): update the paragraph layout on inset
9806 unlock as we changed paragraph in such a case.
9808 * lyxfind.C (LyXFind): clear the former selection if not found!
9810 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9811 again called in insertChar().
9813 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9814 an inset which uses the whole row!
9815 (rightMargin): ditto.
9816 (insertChar): force a rebreak if we inserted an inset!
9818 2002-03-28 Herbert Voss <voss@lyx.org>
9820 * lyxlength.[Ch]: add inBP() to get the right PS-point
9821 units (BigPoint). With inPixels we have rounding errors
9823 2002-04-11 Juergen Vigna <jug@sad.it>
9825 * text2.C (setCursorFromCoordinates): set iy to the right value.
9826 (setCursor): add check if row->previous exists!
9828 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9829 an old float_type as this was the case in the old code!
9831 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9833 * BufferView2.C (showLockedInsetCursor): use iy
9834 (fitLockedInsetCursor): ditto
9836 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9837 locked insets as there we have the right value now.
9839 * lyxcursor.C: added iy_ variable and iy functions to set to the
9840 baseline of cursor-y of the locked inset.
9842 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9843 (setCursor): fixed for insets which need a full row.
9845 * text.C (rowLastPrintable): don't ignore the last space when before
9846 an inset which needs a full row.
9847 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9848 as last character of a row when before a inset which needs a full row.
9850 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9852 * version.C.in: update date
9854 * text2.C (fullRebreak): try to always return true and see what
9857 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9859 * MenuBackend.C (expand): use Floating::listName
9861 * FloatList.C (FloatList): add listName argument to the built-in
9864 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9865 text associated with the float.
9867 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9869 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9871 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9873 * ShareContainer.h: add a couple of missing typenames.
9875 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9877 * lyxrc.C (getDescription): use _() correctly rather than N_().
9879 2002-03-28 Herbert Voss <voss@lyx.org>
9881 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9882 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9884 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9886 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9887 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9889 2002-03-29 Juergen Vigna <jug@sad.it>
9891 * lyxfunc.C (dispatch): add a missing fitCursor call.
9893 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9894 it was scrolled by a cursor move, so return the bool status.
9896 * BufferView.C (fitCursor): return the bool flag also to the outside
9897 world as this is needed.
9899 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9901 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9902 call the edit() as it is not needed (and wrong) IMO.
9903 (workAreaButtonPress): set the screen_first variable before evt.
9904 unlock the inset as this may change screen_first and then we have
9905 a wrong y position for the click!
9907 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9909 * MenuBackend.C (expand): another translation that I missed
9911 2002-03-28 Juergen Vigna <jug@sad.it>
9913 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9915 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9917 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9919 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9921 * MenuBackend.C (expand): fix export/view/update when there is no
9924 2002-03-27 Herbert Voss <voss@lyx.org>
9926 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9929 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9931 * bufferview_funcs.C (currentState): only show paragraph number
9932 for is DEVEL_VERSION is set.
9934 * lyxfunc.C (dispatch): put warning in INFO channel
9936 * MenuBackend.C (expand): translate the name of floats
9938 * FloatList.C (FloatList): mark the float names for translation
9940 * converter.C (convert): use LibScriptSearch
9942 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9944 * MenuBackend.C (defaults): fix default menu (we might as well get
9947 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9949 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9952 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * lyxvc.C: reorder includes.
9956 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9958 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9961 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9963 * CutAndPaste.C: change layouts earlier on paste
9964 to avoid crashing when calling getFont()
9966 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9968 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9971 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9973 * WorkArea.C: remove 'Pending' debug message.
9975 * most files: ws cleanup
9977 * buffer.[Ch]: ws changes
9979 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9981 2002-03-21 Juergen Vigna <jug@sad.it>
9983 * tabular.C (SetMultiColumn): collapse also the contents of the
9984 cells and set the last border right. Added a Buffer const * param.
9986 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9988 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9991 2002-03-19 Juergen Vigna <jug@sad.it>
9993 * text2.C (clearSelection): reset also xsel_cache.
9995 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9996 where it needs to be called (John tells us to do so too :)
9997 (selectionLost): reset sel_cache.
9999 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10001 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10003 * text2.C (setCursorIntern): put debuging code in INSETS channel
10005 2002-03-19 André Pönitz <poenitz@gmx.net>
10007 * lyxfunc.C: tiny whitespace change
10009 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10011 * ToolbarDefaults.C (init):
10012 * LyXAction.C (init):
10014 * BufferView_pimpl.C (Dispatch):
10015 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10017 2002-03-19 Allan Rae <rae@lyx.org>
10019 * exporter.C (Export): removeAutoInsets before doing anything else.
10020 While I've just introduced a dependency on BufferView this really is
10021 the best place to clean the buffer otherwise you need to cleanup in
10022 a dozen places before calling export or cleanup in a dozen functions
10025 * converter.C (runLaTeX):
10026 (scanLog): Better handling of removeAutoInsets and screen updates.
10028 * lyxfunc.C (dispatch): small whitespace changes
10030 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * WorkArea.C (C_WorkAreaEvent): return a value.
10033 (event_cb): return 1 if we handled the event, 0 otherwise.
10035 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10037 2002-03-18 Juergen Vigna <jug@sad.it>
10039 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10040 (GetAdditionalWidth): ditto.
10041 (RightLine): ditto.
10044 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10045 inset if we're there actually (probably not used right now but this
10046 is the direction to go for unifying code).
10047 (paste): disable code to clear the selection.
10049 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10050 inside an InsetText and move the check further up as it is in the
10053 * text2.C (pasteSelection): set a selection over the pasted text.
10055 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10057 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10058 and libgraphics to build on Cygwin.
10060 2002-03-15 Juergen Vigna <jug@sad.it>
10062 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10063 inserting an Inset into the paragraph. I know this is not the best
10064 fix but we already use current_view in CutAndPaste so we will remove
10065 all of it's using at the same time.
10067 * buffer.C (sgmlError): deactivated function till it is rewritten in
10068 the right mode, now it can create problems.
10070 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10071 before accessing it.
10073 2002-03-14 Juergen Vigna <jug@sad.it>
10075 * undo_funcs.C (textHandleUndo): do the right thing when updating
10076 the inset after the undo/redo.
10078 * text2.C (setCursor): just some testcode for #44 not ready yet.
10080 * undo_funcs.C (textHandleUndo): set the next() and previous()
10081 pointers of the paragraph to 0 before deleting otherwise we have
10082 problems with the Paragraph::[destructor].
10084 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10085 on a paragraph insertion.
10087 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10089 * buffer.C (asciiParagraph): use += operator for char append to
10092 * paragraph.C (getFontSettings): compare >= not just >
10093 (highestFontInRange): ditto
10096 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10098 * paragraph.C: change several algorithm to be more appripriate for
10099 the problem domain. This is lookip in FontList and in the InsetList.
10101 2002-03-13 André Pönitz <poenitz@gmx.net>
10104 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10106 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10111 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10113 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10115 * Painter.C (display): anon helper function, adjust code for this
10117 (pixmap): remove function.
10119 * Painter.h: remove private display variable.
10121 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10123 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10125 * WorkArea.[Ch]: remove figinset_canvas cruft.
10127 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10129 * lyxtextclass.C (operator): add one item cache optimization.
10131 * bufferlist.h: doxy changes
10133 * bufferlist.C: ws changes
10135 * DepTable.[Ch] (ext_exist): place const in the right spot.
10137 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10139 (workAreaExpose): call resizeInsets when the with BufferView changes.
10140 (Dispatch): adjust for protectedBlank removal
10141 (specialChar): call updateInset if the insert went ok.
10143 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10144 specialChar instead.
10146 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10148 * BufferView.h: doxy change
10150 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10152 * lyxtextclass.C (operator[]): remove non-const version
10153 (defaultLayout): remove non-const version
10155 2002-03-12 Juergen Vigna <jug@sad.it>
10157 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10158 did resize the LyXText too.
10160 * buffer.C (readLyXformat2): set layout information on newly allocated
10163 * tabular.C (OldFormatRead): set layout information on the paragraph.
10165 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10167 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10169 2002-03-11 Juergen Vigna <jug@sad.it>
10171 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10173 (resizeCurrentBuffer): force also the insets to resize themselfes.
10174 (moveCursorUpdate): fixed up for InsetText.
10176 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10179 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10180 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10181 value of Dialogs::tooltipsEnabled().
10182 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10184 2002-03-08 Juergen Vigna <jug@sad.it>
10186 * BufferView_pimpl.C (updateInset): update inset inside inset also
10187 if it isn't inside theLockingInset().
10189 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10191 * buffer.C (asciiParagraph): redo some of the word and line length
10193 (getLists): look for Caption instead of caption.
10195 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10197 * buffer.C (Buffer): initialize niceFile to true
10199 (makeLinuxDocFile):
10200 (makeDocBookFile): make sure niceFile is true on exit
10202 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10204 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10206 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10208 * LyXSendto.C: remove.
10209 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10210 * lyx_gui.C: remove now-redundant comment.
10211 * ColorHandler.h: remove forward declaration of class WorkArea.
10212 * lyxfunc.C: remove #include "WorkArea.h".
10214 2002-03-07 Juergen Vigna <jug@sad.it>
10216 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10217 got moved away with the DEPM and also set the inset_owner always
10218 right which before could have been omitted.
10220 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10223 wanted layout is not found.
10225 2002-03-07 Juergen Vigna <jug@sad.it>
10227 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10229 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10231 * paragraph.C (breakParagraph): use default layout not layout of
10233 (Paragraph): clear ParagraphParameters.
10235 2002-03-06 Juergen Vigna <jug@sad.it>
10237 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10238 otherwise it would not be a valid lenght. Fixed a special case in
10239 the minipage compatibility read where we end the document with a
10242 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10243 was set as it could be 0 for InsetTexts first entry.
10245 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10247 * paragraph.C (writeFile): if layout is empty write out
10248 defaultLayoutName().
10250 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10251 file without named layout we set layout to defaultLayoutName().
10253 2002-03-06 Juergen Vigna <jug@sad.it>
10255 * CutAndPaste.C (copySelection): set layout for new paragraph.
10257 * text.C (prepareToPrint): leave ERT inset left aligned
10258 (leftMargin): don't indent paragraphs inside ERT insets
10260 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10262 * paragraph.C (breakParagraph): dont call clear do the work manually
10264 * paragraph.[Ch] (clear): remove function
10266 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10268 * paragraph.C (Paragraph): dont call clear, the work has already
10271 * lyxtextclass.C (operator): assert if n is empty
10273 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10274 work manually instead.
10276 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10278 * BufferView_pimpl.C: protect selectionLost against text == 0
10280 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * text.C (breakParagraph): fix a setting layout to '0' problem.
10284 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10286 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10287 final location of file, for the included files, and graphics.
10289 2002-03-05 Juergen Vigna <jug@sad.it>
10291 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10293 2002-03-04 Juergen Vigna <jug@sad.it>
10295 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10297 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10298 last column of multicolumn cells.
10299 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10301 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10303 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10304 file if it doesn't go to a temporary file.
10306 * buffer.C (sgmlOpenTag):
10307 (sgmlCloseTag): remove extra newline insertion.
10309 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10311 * text.C (getRowNearY): comment out debug msg
10313 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10315 * text2.C: first -> first_y
10317 * text.C (getRowNearY): add some attemts at a possible
10318 optimization, not working.
10320 * tabular.[Ch]: add BufferParams to several function so that newly
10321 created paragraph can be initialized to he default layotu for the
10324 * tabular-old.C (ReadOld): add buf->params to call of Init
10326 * screen.C: rename text->first to text->first_y
10328 * paragraph.C (breakParagraph): always set layout in the broken
10331 * lyxtextclass.C (Read): remove lowercase
10334 (delete_layout): ditto
10336 * lyxtext.h: rename first -> first_y
10338 * lyxlayout.C (Read): remove lowercase
10341 (obsoleted_by): ditto
10343 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10345 * buffer.C (insertErtContents): add params are to InsetERT
10346 (parseSingleLyXformat2Token): add code to check if a paragraphs
10347 layout really exist.
10348 (parseSingleLyXformat2Token): add params to several inset
10350 (asciiParagraph): remove lowercase, do the layout comparisons with
10353 * BufferView_pimpl.C (cursorNext): first -> first_y
10354 (resizeCurrentBuffer): first -> first_y
10355 (updateScrollbar): first -> first_y
10356 (scrollCB): first -> first_y
10357 (workAreaMotionNotify): first -> first_y
10358 (workAreaButtonPress): first -> first_y
10359 (checkInsetHit): first -> first_y
10360 (cursorPrevious): first -> first_y
10361 (cursorNext): first -> first_y
10362 (Dispatch): add buffer_->params to severl inset contructors
10364 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10366 * lyxlayout.C (Read): remove some debug info that I forgot.
10368 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10369 clean up the code slightly.
10370 (makeLinuxDocFile): ditto
10371 (makeDocBookFile): ditto
10373 * text2.C: layout as string
10375 * text.C: layout as string
10377 * paragraph_pimpl.C: layout as string
10379 * paragraph.[Ch]: layout as string
10381 * lyxtextclasslist.[Ch]: layout as string
10383 * lyxtextclass.[Ch]: layout as string
10385 * lyxtext.h: layout as string
10387 * lyxlayout.[Ch]: layout as string
10389 * lyx_cb.C: layout as string
10391 * bufferview_funcs.C: layout as string
10393 * bufferparams.C: layout as string
10395 * buffer.C: layout as string
10397 * LyXView.[Ch]: layout as string
10399 * LaTeXFeatures.[Ch]: layout as string
10401 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10403 * BufferView_pimpl.C: change current_layout to string, remove
10408 (workAreaButtonRelease): layout as string
10410 * BufferView2.C (unlockInset): adjust
10412 * vspace.C (asLatexCommand): use an explict temp variable.
10414 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10416 * Makefile.am: use FRONTEND_*
10418 2002-03-01 Juergen Vigna <jug@sad.it>
10420 * tabular.C (SetWidthOfMulticolCell): changed to something better
10421 I hope but still work in progress.
10422 (recalculateMulticolumnsOfColumn): renamed function from
10423 recalculateMulticolCells as it is more appropriate now.
10424 (SetWidthOfCell): calculate multicols better.
10426 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10428 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10430 * lyxfunc.C (processKeySym): print sequence also if it is
10431 `deleted' (complete)
10433 * kbsequence.C (print): print sequence even if it is deleted
10434 (complete would be a better word, actually).
10436 * lyxfunc.C (dispatch): print complete options after a prefix key
10438 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10440 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10442 * text2.C (setCharFont): eliminate setCharFont code duplication.
10444 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10446 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10447 LFUN_TABULAR_FEATURE (bug #177)
10449 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10451 * Makefile.am: remove figure.h
10453 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10455 * Bufferview_pimpl.C:
10467 * text2.C: remove #include "lyx_gui_misc.h".
10469 * LaTeX.C: added #include <cstdio>
10471 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10473 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10474 that the paragraph following this one can have.
10476 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10478 * vspace.C (asLatexCommand): fix bogus gcc warning
10480 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10482 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10484 * text2.C (setLayout): get rid of redundant code
10486 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10488 * text2.C (incDepth): make sure depth cannot be increased beyond
10491 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10493 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10494 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10496 * PainterBase.h (image):
10497 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10498 a LyXImage const *.
10500 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10504 * BufferView_pimpl.C:
10505 * BufferView_pimpl.h:
10525 * sp_spell.C: remove fig inset, and the crap house of
10526 cards that follows it
10528 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10533 * os2_errortable.h:
10534 * nt_defines.h: move .h into support/
10536 * vms_defines.h: remove
10538 * WorkArea.C: add space in debug output
10542 * buffer.C: add WITH_WARNINGS
10546 * bufferlist.C: s/retrive/retrieve/, add docs
10555 * chset.C: add docs
10557 * lyxgui.C: add ID to X error handler
10559 * lyxtestclass.c: fix typo
10561 2002-02-26 Juergen Vigna <jug@sad.it>
10563 * tabular_funcs.C (write_attribute): changed so that some default
10564 attributes are not written at all.
10565 (getTokenValue): set default values before trying to read the
10566 value so we have the return value always set as default if we don't
10567 find the token we search for.
10569 * tabular.C (Write): write bools as bools not as strings!
10571 2002-02-22 Juergen Vigna <jug@sad.it>
10573 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10574 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10576 * text.C (leftMargin): don't add an indent for paragraphs inside
10577 tabular cells (fix #208).
10579 2002-02-21 José Matos <jamatos@fep.up.pt>
10581 * tabular.C (docBook): fixed support for long tables.
10583 2002-02-20 Juergen Vigna <jug@sad.it>
10585 * text2.C (getFont): get the drawing font of the Inset if this
10586 paragraph is inside an inset (only important for InsetERT for now).
10588 * buffer.C (insertErtContents): use new lanugage params in ERT
10591 * CutAndPaste.C: commenting out seemingly uneeded code.
10593 2002-02-19 Allan Rae <rae@lyx.org>
10595 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10596 Iterators might be simple to use but they also get invalidated.
10597 (removeAutoInsets): renamed saved cursor tracking variables and added
10598 some comments to clarify what everything does.
10600 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10607 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10608 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10611 * vc-backend.h: remove #include "support/syscall.h"
10615 * converter.C: rearrange #includes in Lars' approved fashion.
10617 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10618 forward declare class Timeout in the header file.
10620 * XFormsView.C: changes due to the above.
10622 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10623 similar to LyXView.
10625 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10626 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10628 2002-02-18 José Matos <jamatos@fep.up.pt>
10630 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10633 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10635 * a lot of small ws changes
10636 * add a lot of using std::XXX
10637 * use std construcs some places where approp.
10638 * use some exisint stuff from lyxfunctional where approp.
10639 * Make file changes to use partial linking (lets test this now...)
10641 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10645 remove #include "support/syscontr.h" as it's redundant. Always has been.
10653 change Systemcalls::System to Systemcalls::Wait and
10654 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10655 No change of functionality, just reflects the stripped down Systemcalls
10658 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10660 * debug.[Ch]: add a GRAPHICS type to the enum.
10662 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10664 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10666 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10669 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10671 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10672 match the changes below.
10674 * text2.C (toggleInset): if there is not editable inset at cursor
10675 position, try to see if cursor is _inside_ a collapsable inset
10678 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10680 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10681 document menu has a nice checkbox
10683 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10685 * lyxlength.C (asLatexString): change PW to output as percent of
10688 * lengthcommon.C: change '%' to 't%'
10690 * lyxfunc.C (dispatch): a few comments from Martin
10692 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10696 * BufferView_pimpl.h:
10697 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10700 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * vspace.C (inPixels): fix compiler warning
10704 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10706 * lyxfunc.C (getStatus): fix status message for disabled commands.
10708 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10710 * BufferView_pimpl.C: fix crash on close buffer
10711 during selection (#227)
10713 2002-01-27 Herbert Voss <voss@lyx.org>
10715 * buffer.C: link old Figure to new graphic inset
10717 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10719 * FontLoader.C (getFontinfo): Change the latex font names in order
10720 to match the names of type1inst.
10722 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10726 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10727 (extchanged): ditto
10729 (remove_files_with_extension): ditto
10730 (remove_file): ditto
10733 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10734 document is smaller than the work area height. Do not initialize
10735 static variables to 0.
10737 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10739 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10741 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10742 LFUN_LAYOUT_PARAGRAPHS.
10744 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10745 tabular. It is possible to provide a possible cell, which will
10746 typically be the actcell from the corresponding insettabular
10748 * lyxfunc.C (getStatus): small cleanup; disable
10749 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10752 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10754 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10756 * paragraph.C (startTeXParParams):
10757 (endTeXParParams): new methods. The LaTeX code to
10758 start/end paragraph formatting
10759 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10760 empty (fixes bug #200)
10762 * vspace.C (inPixels): adapt to the change below
10763 (inPixels): [later] more cleanups (remove unused variables)
10765 * lyxlength.C (inPixels): change to use a width and a height as
10768 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10770 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10771 Replaced with \paperwidth
10773 * DepTable.C (insert): add std:: qualifier
10775 2002-01-18 Allan Rae <rae@lyx.org>
10777 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10780 * text.C (drawInset): Turned out I didn't know enough about how
10781 rebreaking worked. This fixes most of the redraw problems. I see
10782 an occasional cursor trail when a line is broken now and the cursor
10783 placement can seem out by a few pixels also after a rebreak.
10785 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * buffer.C (parseSingleLyXformat2Token): update because minipage
10788 width is now a LyXLength
10790 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10792 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10795 2002-01-17 Juergen Vigna <jug@sad.it>
10797 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10799 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10800 is set correctly and the inset is updated correctly.
10802 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10804 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10805 the beginning of the loop.
10807 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10809 * lyxrc.C: improve help for use_scalable_fonts
10811 2002-01-17 Allan Rae <rae@lyx.org>
10813 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10815 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10817 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10818 make sure to set their inset_owner to the right value (bug #171)
10820 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10823 * DepTable.C: Implement mtime checking to reduce time spent doing
10826 2002-01-16 Juergen Vigna <jug@sad.it>
10828 * tabular.C (GetAdditionalHeight): one of error fixed.
10830 * lyxrc.C (output): small fix in writing use_pspell.
10832 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10834 * sp_base.h: #include LString.h
10836 2002-01-16 Allan Rae <rae@lyx.org>
10838 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10839 Can someone check this please?
10841 * text.C (drawInset): It was possible that p.row would be removed by
10842 breakAgainOneRow upsetting a few other settings. There may be another
10843 small tweak possible by setting need_break_row = 0 when p.row has been
10844 removed but I don't know enough about the logic here.
10846 2002-01-15 Allan Rae <rae@lyx.org>
10848 * text.C (insertChar): removed conditional truism.
10850 * BufferView2.C (removeAutoInsets): More tweaks.
10851 cur_par_prev could be a stray pointer. Check for trailing empty line
10852 in case last line was cur_par and only had an error inset on it.
10854 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10859 * vc-backend.C (most methods):
10860 * exporter.C (Export):
10861 * converter.C (convert):
10863 * LyXSendto.C (SendtoApplyCB):
10864 * lyxfunc.C (dispatch):
10868 * lyx_cb.C (AutoSave):
10870 * BufferView_pimpl.C (MenuInsertLyXFile):
10871 * buffer.C (runChktex): use Buffer::filePath().
10873 * buffer.h: rename filename to filename_; rename filepath to
10874 filepath_ and make it private
10875 (filePath): new method
10877 * buffer.C (writeFile): use fileName()
10880 * lyx_main.C (init): fix starting of LyX when the binary is a
10881 link from so,ewhere else.
10883 * minibuffer.C: include <cctype> for isprint
10885 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10887 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10888 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10889 name clash with InsetCollapsable's width function.
10891 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10893 * lastfiles.C: include <iterator>
10895 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10897 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10900 * buffer.C (makeLaTeXFile): ditto.
10901 Also make loop operation more transparent.
10903 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10905 * ToolbarDefaults.C: remove trailing comma closing namespace.
10907 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10909 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10912 * trans.C (Load): comment out unused variable, allowed.
10914 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10916 * minibuffer.[Ch] (append_char): new method to recieve input from the
10917 drop-down completion browser. If a key was pressed, then recieve this
10918 char and append it to the existing string.
10919 (peek_event): modify the positioning data passed to the completion
10920 browser so that it can be placed above the minibuffer rather than below.
10921 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10923 * LyXAction.C (init): alloe error-next for readonly documents.
10925 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10928 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10930 * bufferlist.C (readFile): create the buffer _after_ checking that
10933 * lyxfunc.C (verboseDispatch): fix handling of arguments
10935 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10937 * lyxrc.C: use string::erase() instead of initializing to "".
10940 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10942 * BufferView_pimpl.h:
10943 * BufferView_pimpl.C:
10946 * text2.C: tell X when we have made a selection for copying
10948 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10950 * BufferView_pimpl.C (MenuInsertLyXFile):
10951 * lyxfunc.C (menuNew):
10953 (doImport): add shortcuts to directory buttons
10955 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10958 * lyxfunc.C (setStatusMessage):
10959 (getStatusMessage): new methods
10960 (getStatus):use setStatusMessage instead of setErrorMessage
10961 (dispatch): when function is disabled, set error message here
10962 [instead of in getStatus previously]
10964 * BufferView_pimpl.C (workAreaButtonRelease): update
10965 toolbar/menubar here too.
10967 2002-01-13 Allan Rae <rae@lyx.org>
10969 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10970 Now seems indestructible. Remaining task is to audit all other
10971 code affected by deleteEmptyParagraphMechanism. One small quirk
10972 left is that an empty document with an error in the preamble can
10973 be made to report an error but no error box appears. I don't know
10975 (removeAutoInsets): Improved comments.
10977 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10980 * Thesaurus.C: update for Aiksaurus 0.14
10982 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * text2.C (firstParagraph): removed member function, all uses
10985 replaces with ownerParagraph
10986 (redoParagraphs): here
10987 (updateInset): here
10988 (toggleAppendix): here
10989 * BufferView2.C (insertErrors): here
10990 (setCursorFromRow): here
10992 2002-01-13 Allan Rae <rae@lyx.org>
10994 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10995 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10996 There is still a way to segfault this although you may have to do this
10997 multiple times: Have an InsetERT with an unknown command in it.
10998 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10999 <down-arrow>, <Enter> again, View->DVI, BANG!
11001 * text2.C (setCursor):
11002 (deleteEmptyParagraphMechanism):
11003 * lyxtext.h (setCursor):
11004 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11005 Making use of the return value may help fix other bugs.
11007 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11009 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11011 * LyXView.C (updateMenubar): call MenuBar::update here
11012 (updateToolbar): but not here
11013 (showState): do not update toolbar/menubar
11015 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11016 should need to care about that.
11018 * lyxfunc.C (verboseDispatch): simplify a bit
11019 (getStatus): have a version which takes a pseudoaction, and
11020 another which requires a (kb_action,string).
11022 * LyXAction.C (retrieveActionArg): make it work also when action
11023 is not a pseudo-action.
11024 (getActionName): simplify a bit
11027 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11029 * lyxfunc.C (verboseDispatch): new families of methods with
11030 several ways to specify a command and a bool to indicate whether
11031 the command name and shortcut should be displayed in minibuffer
11032 (eventually, we could extend that to a finer bitmask like
11033 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11034 (dispatch): the pristine dispatch command which just, well,
11035 dispatchs! Note it still sets its result to minibuffer; I'm not
11038 * lyxfunc.h: remove setHintMessage
11040 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11042 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11044 * BufferView_pimpl.C (specialChar): delete new inset if we have
11045 not been able to insert it.
11047 * kbmap.C: revert to using int instead of kb_action, since all we
11048 are dealing with is pseudo-actions.
11050 * LyXAction.C (searchActionArg): change to return int instead of
11051 kb_action, since the result is a pseudoaction.
11053 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11055 * buffer.C (insertErtContents): Fix (partially) the font bug.
11057 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11059 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11060 as the other one is broken on my machine!
11062 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11065 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11067 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11069 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11070 reflect their actual use. Provide compatibility code for older lyxrc
11073 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11075 change names of popup font variables in line with the changes to lyxrc.C
11077 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11079 * buffer.C (asciiParagraph): avoid outputing a word twice after
11082 * lyxrc.C (getDescription): document that document_path and
11083 template_path can be empty.
11085 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11087 * LaTeXFeatures.C (getMacros):
11088 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11090 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11092 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11094 (getPackages): rename feature "floats" to "float". Use an array to
11095 iterate over 'simple' features (i.e. just a \usepackage). Add
11096 handling of "amsmath" (renamed from "amsstyle").
11098 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11100 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11103 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11105 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11106 FuncStaus::FuncStatus & FuncStaus::some_method().
11108 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11110 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11111 of the func_satus stuff. Edited and massaged in various ways by
11114 * lyxfunc.C (getStatus): use FuncStatus
11116 2002-01-08 Juergen Vigna <jug@sad.it>
11118 * text.C (nextBreakPoint): use function Inset::isChar().
11120 * paragraph.C (TeXOnePar): use function
11121 Inset::forceDefaultParagraphs.
11123 * buffer.C (latexParagraphs): use function
11124 Inset::forceDefaultParagraphs.
11126 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11128 * lyx_gui.C (init): set the style of the menu popups to
11129 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11131 2002-01-07 Juergen Vigna <jug@sad.it>
11133 * text.C (setHeightOfRow): small fix
11134 (prepareToPrint): don't look at alignment if we don't have the place
11137 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11139 * box.C: New file. Move the Box methods and functions out of box.h,
11140 following Lars' suggestion.
11142 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11144 * box.h: #include "support/LOstream.h", needed for inlined function.
11147 * lyxtextclasslist.C: added some using std declarations.
11149 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11151 * box.h: make signed dimensions to allow insets wider than
11152 the screen (bug #162)
11154 * BufferView_pimpl.C: add some insetHit debug
11156 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11158 * vc-backend.C: add FIXME
11160 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11162 * lyxfunc.C (getStatus): enable code for showing math font status
11165 2002-01-07 Juergen Vigna <jug@sad.it>
11167 * text.C (nextBreakPoint): removed debug output not needed anymore.
11169 2002-01-06 Juergen Vigna <jug@sad.it>
11171 * text.C (nextBreakPoint): fixed up this function we had this bug
11172 since ever but now hopefully we break row better.
11173 (insertChar): we have to check if an inset is the next char as it
11174 could now happen that a large inset is causing a break.
11176 2002-01-05 Juergen Vigna <jug@sad.it>
11178 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11179 if it doesn't like to be drawed.
11181 2002-01-04 Juergen Vigna <jug@sad.it>
11183 * BufferView2.C (lockInset): forgot to set a cursor.
11185 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11187 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11189 * FormMathsPanel.C:
11192 * form_maths_panel.C:
11193 * form_maths_panel.h:
11194 * form_maths_panel.fd: implemented sub- and super- buttons in math
11197 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11198 (or ^ space) to be used as in TeX (req'd by André).
11200 * lyxfunc.C: Allow ^ and _ again to be used both as
11201 super/subscript (mathed) and as themselves (in text).
11203 2002-01-03 Allan Rae <rae@lyx.org>
11205 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11206 "LyX" or the filename of the current buffer if it has one. This is a
11207 modified form of John Levon's patch.
11209 * XFormsView.C (setWindowTitle): also set icon title.
11211 * LyXView.h (setWindowTitle): signature changed.
11212 * XFormsView.h (setWindowTitle): ditto.
11214 2002-01-02 Juergen Vigna <jug@sad.it>
11216 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11218 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * screen.C (topCursorVisible): introduce a temp var for
11221 text->cursor.row(), handle the case where this row is null. (kindo
11224 * text2.C (setCursor): add a couple of asserts.
11226 * paragraph.h (inset_iterator): add -> operator
11228 * paragraph.[Ch] (autoDeleteInsets): remove member function
11230 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11231 cursor pos correctly and handle inset deletion by itself.
11232 (insertErrors): move iterator declaration out of for expression
11234 * lyxtextclass.C: add <algorithm>
11236 * Makefile.am: added the new files to sources, removed layout.C
11238 * layout.C: removed file
11240 * layout.h: remove LYX_DUMMY_LAYOUT
11242 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11246 * lyxtextclass.[Ch]:
11247 * lyxtextclasslist.[Ch]: new files
11249 * include order changes to a lot of files, also changes because of
11252 2001-12-27 Juergen Vigna <jug@sad.it>
11254 * buffer.C (asciiParagraph): more fixes.
11256 * tabular.C (ascii): make ascii export support export of only the
11257 data separated by a column-delimiter.
11258 (ascii): better support for ascii export.
11260 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11262 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11264 * tabular_funcs.C: use a "using std::getline" instead of the
11265 previous fix from Angus (necessary for cxx + lyxstring)
11267 2001-12-24 Juergen Vigna <jug@sad.it>
11269 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11271 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11272 problems. First check a minipage also if we have some ert-contents
11273 (not only on par->size(), second set the right depth of the paragraph
11274 on the relink to the root-paragraph-list!
11276 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11277 which then did not anymore update the main paragraphs on undo/redo!
11279 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11281 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11282 code. Support all font-changing funcs (even those which are not in
11283 menu currently). Support for reporting font settings in
11284 mathed (disabled until Andre provides a function on mathed's side).
11286 * func_status.h (toggle): small helper function to set toggle
11289 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11291 * tabular_funcs.C: getline -> std::getline
11293 2001-12-21 Juergen Vigna <jug@sad.it>
11295 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11296 accessed and could be 0 (I couldn't generate this but it seems
11299 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11301 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11302 * tabular_funcs.h: here and include iosfwd
11304 2001-12-20 Juergen Vigna <jug@sad.it>
11306 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11307 inside inset but undo_par was.
11309 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * Thesaurus.C: always include <config.h> in sources.
11315 * box.h: do not include <config.h> in header files
11317 * text.C (paintLastRow): remove unused variable
11319 * text.C (transformChar):
11321 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11323 * Painter.C (text):
11324 * font.C (width): rewrite to use uppercase() instead of
11327 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11329 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11331 * lyxfind.C: clean up of find failure position change
11333 2001-12-20 Juergen Vigna <jug@sad.it>
11335 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11337 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11338 (TeXRow): added to LaTeX a single tabular row.
11339 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11340 (Latex): simplified and finally good LT-h/f support.
11341 (various_functions): just small adaptions for LT-h/f support.
11343 * tabular_funcs.[hC]: added and moved here all not classfunctions
11346 2001-12-19 Juergen Vigna <jug@sad.it>
11348 * tabular.[Ch]: better support for longtabular options (not finished
11351 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11353 * text.C (paintLastRow): use the label font instead of the font of
11354 the last character to compute the size of *_BOX. This makes more
11355 sense and avoids a crash with empty paragraphs.
11356 Use Painter::rectangle to draw EMPTY_BOX.
11358 2001-12-19 Juergen Vigna <jug@sad.it>
11360 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11361 the paragraphs if the replaced paragraph is not the first one!
11362 Tried to delete not used paragraphs but does not work yet so for
11363 now it's inside #ifdef's and by default off!
11365 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * MenuBackend.C: include "lyx_main.h" instead of declaring
11368 lastfiles (actually was declared as LastFiles* instead of a
11371 2001-12-17 Juergen Vigna <jug@sad.it>
11373 * tabular.C (AppendColumn): applied John's fix
11375 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11379 * BufferView_pimpl.h:
11380 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11383 * box.h: new start of class for above
11385 * lyxfunc.C: ignore space-only minibuffer dispatches.
11386 Show the command name when it doesn't exist
11388 * minibuffer.C: don't add empty lines to the history
11390 * minibuffer.C: add a space on dropdown completion
11392 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11394 * text.C: fix line above/below drawing in insets
11396 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11398 * lyxlength.C (LyXLength): Initialize private variables.
11400 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11402 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11403 when inserting error insets.
11405 2001-12-13 Juergen Vigna <jug@sad.it>
11407 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11408 actually sometimes the before-paragraph.
11409 (setUndo): don't clear the redostack if we're not actually undoing!
11411 2001-12-06 Juergen Vigna <jug@sad.it>
11413 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11414 and fixed redoing of main paragraph, so we can use it now ;)
11416 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11418 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11420 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11423 2001-12-13 André Pönitz <poenitz@gmx.net>
11426 * undo_func.C: minor cleanup
11428 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11430 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11431 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11432 font in urw-fonts package which is marked as -urw-fontspecific and
11433 does not work (incidentally, changing the encoding in the
11434 fonts.dir of this package to -adobe-fontspecific fixes the
11437 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11438 is a crash when undoing first paragraph (Juergen, please take a
11439 look). THis does not mean the undo fix is wrong, just that it
11442 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11443 the (Paragraph*) version when needed instead of duplicating the
11446 * text.C (workWidth): use Inset::parOwner to find out where the
11447 inset has been inserted. This is a huge performance gain for large
11448 documents with lots of insets. If Inset::parOwner is not set, fall
11449 back on the brute force method
11451 * paragraph_pimpl.C (insertInset):
11452 * paragraph.C (Paragraph):
11453 (cutIntoMinibuffer): set parOwner of insets when
11454 inserting/removing them
11456 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11458 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11464 * mathed/formulabase.C:
11465 * mathed/math_cursor.[Ch]:
11466 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11469 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11471 * lyxlength.[Ch] (operator!=): new function
11473 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11475 * text.C (workWidth): use Inset::parOwner to find out where the
11476 inset has been inserted. This is a huge performance gain for large
11477 documents with lots of insets. If Inset::parOwner is not set, fall
11478 back on the brute force method
11480 * paragraph_pimpl.C (insertInset):
11481 * paragraph.C (Paragraph):
11482 (cutIntoMinibuffer): set parOwner of insets when
11483 inserting/removing them
11485 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11487 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11489 * tabular-old.C (getTokenValue):
11490 * tabular.C (getTokenValue):
11491 (write_attribute): new versions for LyXLength
11492 (everywhere): adjust the use of widths
11494 * tabular.h: change the type of widths from string to LyXLength
11496 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11498 * paragraph.C: fixed missing line number count when exporting
11499 Environments to LaTeX file
11501 * buffer.C: added informational message for checking line numbers.
11503 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11505 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11506 paragraph, do the 'double space' part, but not the 'empty
11509 * text.C (workWidth): small optimization
11510 (getLengthMarkerHeight): use minimal size for negative lengths.
11512 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11514 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11516 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11518 2001-12-11 André Pönitz <poenitz@gmx.net>
11521 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11523 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11525 * text2.C: keep selection on a setFont()
11527 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11529 * lyx_cb.C: another bv->text misuse, from insert label
11531 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11534 * kbsequence.C: re-instate nmodifier mask
11536 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11538 * lyx_main.h: make lyxGUI private.
11540 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11542 * lyxfind.C: place the cursor correctly on failed search
11544 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11546 * text.C (getLengthMarkerHeight): for small heights, the arrows
11547 are not always on top/bottom of the text
11548 (drawLengthMarker): smaller arrows; take the left margin in
11549 account; draw also vfills.
11551 (paintLastRow): remove special code for vfill and standard spaces,
11552 since everything is handled in drawLengthMarker now.
11554 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11556 * buffer.C (insertErtContents): try to handle font and language
11557 interaction a bit better.g
11559 * ColorHandler.C (updateColor): change the hash to cover the whole
11560 LColor enum, ws cleanup
11561 (getGCLinepars): ditto
11562 (getGCLinepars): only lookup in the linecache once.
11564 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11566 * iterators.C (operator++): Make the iterator more robust
11568 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11572 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11575 * text.C: better added space drawing
11577 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11580 * BufferView2.C: fix layout combo update on inset unlock
11582 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11584 * Makefile.am: don't compile unused files
11586 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11590 * LyXAction.C: remove old LFUN_LAYOUTNO
11592 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11594 * paragraph_pimpl.h:
11595 * paragraph_pimpl.C: isTextAt() doesn't need font param
11597 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11600 * lyxlex.C: little cleanup
11602 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.C: fix insertAscii for insets
11606 2001-12-05 Juergen Vigna <jug@sad.it>
11608 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11609 set the right font on the "multi" paragraph paste!
11611 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * lyxlength.C: remove out-commented code.
11619 * BufferView_pimpl:
11633 * vc-backend.C: change "while(" to "while ("
11635 * lyxlength.[Ch]: add zero function to check if length is zero or
11637 * lyxgluelength.C: use it
11639 2001-12-05 Allan Rae <rae@lyx.org>
11641 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11642 Works for 2.95.3, from what I understand of Garst's reports this should
11643 work for other g++ versions. We're screwed if the abs(int) definition
11644 changed between bugfix releases of gcc.
11646 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11648 * text.C: fix chapter label offset !
11650 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11653 * text.C: fix hfill at end of line, clean up
11655 2001-12-04 Juergen Vigna <jug@sad.it>
11657 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11658 that we force an update of the inset and it's owners if neccessary.
11660 2001-12-03 Juergen Vigna <jug@sad.it>
11662 * text.C (rowLast): simplified code
11664 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11666 * lyxfunc.C: fix show options on timeout
11668 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * screen.C (topCursorVisible): scroll half a page when the cursor
11671 reached top of bottom of screen
11673 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11675 * minibuffer.C: deactivate on loss of focus
11677 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11679 * vspace.[Ch] (operator!=): add operator.
11681 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11683 * BufferView_pimpl.C: refuse to open an inset when
11684 there's a selection.
11686 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11688 * BufferView_pimpl.C: allow to click on RHS of full row insets
11690 2001-11-30 Juergen Vigna <jug@sad.it>
11692 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11693 insets for undo reasons.
11695 2001-11-28 André Pönitz <poenitz@gmx.net>
11697 * vspace.[Ch]: cosmetical changes
11699 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11709 * kbsequence.C: part re-write of old kb code
11712 * WorkArea.C: remove Lgb_bug_find_hack
11714 2001-11-30 José Matos <jamatos@fep.up.pt>
11716 * buffer.C (makeDocBookFile): add a comment to point a hack.
11717 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11718 Fixed a double write of labels.
11720 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11723 * LaTeX.h Fixed bug in LaTeX class where it would not
11724 re-run latex if no depfiles were changed, but the .dvi was removed.
11726 2001-11-28 André Pönitz <poenitz@gmx.net>
11728 * all the files from the change on 2001/11/26:
11729 use lyx::layout_type instead of LyXTextClass::size_type
11730 use lyx::textclass_type instead of LyXTextClassList::size_type
11732 2001-11-29 Juergen Vigna <jug@sad.it>
11734 * text.C: added support for paragraph::isFreeSpacing()
11736 * buffer.C: same as above
11738 * paragraph.h: inserted isFreeSpacing() function to enable
11739 FreeSpacing inside InsetERT.
11741 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11742 of the paragraph's in the cut/copy buffer to 0!
11744 * text2.C (removeRow): remove the assert as it can!
11746 * lyxtext.h: added helper function firstRow returning firstrow and
11747 made firstrow private again.
11749 * BufferView2.C (lockInset): don't relock if we're already locked!
11751 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11752 the only paragraph.
11753 (removeRow): added Assert::(firstrow)
11755 * debug.C: forgot to add INSETTEXT here.
11757 2001-11-28 Juergen Vigna <jug@sad.it>
11759 * sp_spell.C (initialize): changed error text to more general
11760 spellchecker command use (not only ispell!)
11762 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11764 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11766 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11768 * vspace.C: initialise lyxgluelength on failure
11770 2001-11-28 Allan Rae <rae@lyx.org>
11772 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11773 declaration & definition that looks like a function declaration.
11775 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11777 * BufferView2.C (copy):
11778 (copyEnvironment): do not clear the selection when doing a copy.
11780 * text.C (paintFirstRow): compilation fix
11782 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11784 * tabular.C (Latex): correct line count when writing latex.
11786 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11788 * paragraph_pimpl.h:
11789 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11792 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11796 * LColor.C: change vfillline->added_space
11798 * text.C: add markers and text for added space
11800 * vspace.C: fix comment
11802 2001-11-28 André Pönitz <poenitz@gmx.net>
11804 * paragraph.C: whitespace changes
11805 * all the other files from the change on 2001/11/26:
11806 change *::pos_type into lyx::pos_type
11808 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11810 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11811 language of the document when inserting error insets.
11813 2001-11-26 André Pönitz <poenitz@gmx.net>
11815 * BufferView_pimpl.[Ch]:
11823 * paragraph_pimpl.[Ch]:
11826 * text2.C: reduce header dependencies, introduce type for positions
11828 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11830 * <various>: change to use Alert.h
11832 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11834 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11835 when encountering an unknown token.
11836 (readLyXformat2): Show an error message if there were unknown tokens.
11838 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11841 * BufferView_pimpl.C:
11845 * text2.C: use par->isInset()
11847 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11849 * paragraph_pimpl.h:
11850 * paragraph_pimpl.C: cleanup
11852 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11854 * text2.C (removeRow):
11855 * text.C (setHeightOfRow): remove useless (and costly) call to
11858 2001-11-20 Allan Rae <rae@lyx.org>
11860 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11861 Now need Inset*::checkInsertChar() to return true for appropriate
11862 cases so that the characters in the minibuffer will actually be
11865 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11867 * text.C: change the order of the includes.
11868 (workWidth): initialize it at once.
11869 (workWidth): make maxw unsigned
11870 (setHeightOfRow): remove unused variable (inset)
11871 (selectSelectedWord): remove unused variable (inset)
11872 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11874 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11876 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11877 server is not running.
11879 (closeConnection): add debug info when server is disabled.
11881 * ColorHandler.C (getGCForeground): send debug message to GUI
11884 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11886 * kbmap.C (bind): modify because return conventions of
11887 kb_sequence::parse have changed.
11889 * kbsequence.C (parse): only ignore spaces and not any stupid
11890 control character. This avoids tests like s[i] <= ' ', which are
11891 guaranteed to fail with 8bit characters and signed chars.
11892 Change return code to string::npos when there have been no error
11893 (0 was a bad idea when error is at first character)
11895 2001-11-14 José Matos <jamatos@fep.up.pt>
11898 * buffer.C (simpleDocBookOnePar): removed unused argument.
11900 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11902 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11903 insets which are part of a word. Paragraph::isLetter takes care of
11904 that now. Use Paragraph::isInset to identify insets.
11905 (selectSelectedWord): do not test for hyphenation break.
11907 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11908 that protected spaces are considered as spaces.
11910 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11913 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11916 * lyxserver.C: fix it. and small cleanup.
11918 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11920 * BufferView_pimpl.C: use inline helpers
11923 * LaTeXFeatures.C: fix typos
11926 * Spacing.C: move spacing_string into class
11928 * ToolbarDefaults.C: move stuff into namespace anon
11930 * layout.h: update enum
11932 * lyxfunc.C: use better debug
11934 * minibuffer.h: fix typo
11938 * WorkArea.C: add and use Debug::WORKAREA
11942 * text2.C: code re-organisation, inline helpers
11944 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11946 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11947 std::vector.empty().
11949 2001-11-09 Allan Rae <rae@lyx.org>
11951 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11952 '\n's after tables. Tabular and ERT inset work now makes this no
11955 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11958 * minibuffer.C: fix crash, improve drop-down completion
11960 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11963 * lyxserver.C: invalidate fd's when doing endPipe()
11965 2001-11-08 José Matos <jamatos@fep.up.pt>
11967 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11968 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11971 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11973 2001-11-07 José Matos <jamatos@fep.up.pt>
11976 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11979 * buffer.C (sgmlOpenTag):
11980 * buffer.C (sgmlCloseTag): removed debug info.
11982 * buffer.h (sgmlOpenTag):
11983 * buffer.h (sgmlCloseTag): made public.
11985 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11987 * buffer.C (saveParamsAsDefaults):
11988 * lyx_cb.C (MenuLayoutSave): remove
11990 * LyXAction.C (init):
11992 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11994 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11996 * buffer.C (setPaperStuff): removed from here...
11998 * bufferparams.C (setPaperStuff): ... and moved there.
12000 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12004 * XFormsView.C: add support for drop-down completion
12006 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12008 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12011 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12013 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12016 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12018 * lyx_main.C: change ref to known bugs
12020 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12022 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12023 to work around older babel problems.
12025 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12027 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12029 2001-10-24 Juergen Vigna <jug@sad.it>
12031 * tabular-old.C (ReadOld): below variable changes reflected.
12033 * tabular.[Ch]: added ltType struct for longtable header/footer
12034 defines and changed all instances where they are used. Added
12035 future support for double top/bottom rows.
12037 2001-10-24 José Matos <jamatos@fep.up.pt>
12039 * buffer.h (docbookHandleCaption):
12040 * buffer.C (docbookHandleCaption): removed unused function.
12041 (makeDocBookFile): moved docbook supported version to v4.1.
12043 2001-10-24 José Matos <jamatos@fep.up.pt>
12046 * tabular.C (docbookRow): new function to export docbook code of a row.
12047 (DocBook): now honors the longtable flags.
12049 2001-10-23 José Matos <jamatos@fep.up.pt>
12052 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12053 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12055 * buffer.C (makeLinuxDocFile):
12056 (makeDocBookFile): reworked the preamble, more clean, and with
12057 support for lyx defined entities. Changed the document declaration
12058 to be more XML friendly.
12060 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12061 if we need to output XML that should be done with a filter.
12063 2001-10-22 Juergen Vigna <jug@sad.it>
12065 * sp_pspell.h (class PSpell): add alive function needed in the
12066 controller to see if the spellchecker could be started.
12068 2001-10-22 Juergen Vigna <jug@sad.it>
12070 * buffer.C (insertStringAsLines): modify the font for inserting
12071 chars in certain conditions by calling checkInsertChar(font).
12073 2001-10-19 Juergen Vigna <jug@sad.it>
12075 * text.C (workWidth): use getRow instead of wrong algorithm.
12076 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12078 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12083 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12085 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12087 * text.C (workWidth): do not search for the exact row when
12088 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12089 optimization for big documents.
12091 2001-10-18 Juergen Vigna <jug@sad.it>
12093 * text.C (workWidth): new function with added Inset * parameter.
12095 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12097 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12099 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12100 change return type of getColumnNearX.
12103 * text.C (changeRegionCase): use uppercase/lowercase instead of
12106 (rightMargin): simplify code by factoring out the uses of
12111 (appendParagraph): use Paragraph::size_type
12113 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12115 * vspace.C (asLatexString): add a missing break
12117 2001-10-15 Herbert Voss <voss@perce.de>
12119 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12121 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12123 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12126 2001-10-10 André Pönitz <poenitz@gmx.net>
12128 * lyxfunc.C: removed greek_kb_flag.
12130 2001-10-10 Herbert Voss <voss@perce.de>
12132 * lyx_main.C: delete global string help_lyxdir.
12134 2001-10-09 Herbert Voss <voss@perce.de>
12136 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12138 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12140 * lyx_main.C: added global string help_lyxdir.
12142 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12144 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12146 * lyxrc.C (set_font_norm_type): support iso8859-4
12148 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12150 * LaTeX.C (deplog): add another regex for MikTeX
12152 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12154 * lyxrc.C (set_font_norm_type): support iso8859-3
12156 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12158 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12160 * LaTeXFeatures.C: remove special case of french and index
12162 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12163 before \begin{document}). This solves several incompatibilities.
12165 2001-10-03 Garst Reese <reese@isn.net>
12167 * lyx_cb.C: change CheckTex error msg.
12169 2001-10-03 José Matos <jamatos@fep.up.pt>
12171 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12173 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * .cvsignore: update
12177 * lyx_main.C (commandLineVersionInfo): use new style version info.
12179 * buffer.C (writeFile):
12181 (makeLinuxDocFile):
12182 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12184 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12186 * version.h: update to use stuff in version.C
12188 * version.C.in: new file. Contains version information determined
12189 at compile time. This is a merging of version.h and
12192 2001-10-03 Juergen Vigna <jug@sad.it>
12194 * BufferView_pimpl.C (update): don't change "dirty" status in
12197 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12199 * WorkArea.C (c-tor): re-position version string slightly.
12201 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12203 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12204 revert to previous code.
12206 WorkArea.[Ch]: (show, destroySplash): methods removed.
12208 WorkArea.C: rework code so that it's an amalgam of the codes before and
12209 after the splash screen was moved to WorkArea.
12211 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12214 * vspace.C (inPixels):
12217 * buffer.C (insertStringAsLines):
12218 (asciiParagraph): fix types to be large enough
12220 * lyxlex_pimpl.h: change member status from short to int
12222 * layout.h: fix type of endlabeltype
12225 * kbsequence.C (parse): change return type to string::size_type
12227 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12230 * Bullet.C (bulletSize):
12231 (bulletEntry): do not use short ints as parameters
12233 * BufferView2.C (insertLyXFile): change a char to an int.
12235 * WorkArea.C (WorkArea): remove unneeded floats in computation
12237 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12239 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12241 * paragraph.C (asString): Do not ignore newline/hfill chars when
12242 copying to the clipboard.
12244 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12246 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12247 after a multi-line inset.
12249 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12251 * paragraph.C (validate): Set NeedLyXFootnoteCode
12253 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12255 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12256 and decrease-error to decrease.
12258 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12260 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12261 it more readable (should be equivalent)
12263 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12265 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12267 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12269 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12270 of a cursor (row, etc.) after a character has been deleted
12271 (deleteEmptyParagraphMechanism): call the method above on _all_
12272 cursors held by the LyXText when a double space has been
12275 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12277 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12279 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12281 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12282 background. Use greyOut() and the new show() methods to toggle between
12283 the foreground and background. Add code to remove the splash after
12284 its initial showing.
12286 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12287 (create_forms): no longer call Dialogs::showSplash.
12289 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12291 * .cvsignore: add version_info.h
12293 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12295 * version_info.h.in: new file
12297 * Makefile.am: add version_info.h.in
12299 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12300 version_info.h instead of VERSION_INFO
12302 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12304 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12305 The ERT inset now returns string().
12307 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12309 * lyxtext.h, text.C (selectNextWord): renamed as
12310 selectNextWordToSpellcheck.
12312 * text.C (selectNextWordToSpellcheck): Modified to not select
12313 words inside an ERT inset.
12315 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12317 * lyx_cb.C (MenuLayoutSave): change a bit the question
12319 * sp_base.h: include <sys/types.h>
12321 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12323 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12325 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12327 * several files: fix typos in user-visible strings
12329 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12331 * text2.C (pasteSelection): do not set the selection, since it
12332 will be cleared later. Actually, the intent was to fix the way the
12333 selection was set, but I figured rmoving the code was just as good.
12335 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12337 * FontLoader.C (available): Check if font is available without
12340 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12342 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12344 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12346 * lyxrc.[Ch]: added display_graphics variable and associated code.
12348 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12350 * bufferparams.C (hasClassDefaults): new method. Returns true if
12351 the buffer parameters correspond to known class defaults
12353 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12355 * XFormsView.C (show): set minimum size to the main window.
12357 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12359 * text2.C (copySelection):
12361 * lyxfind.C (LyXReplace):
12362 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12363 LyXText::selectionAsString.
12365 * paragraph.C (asString): add "label" argument to the second form
12367 * text2.C (selectionAsString): add "label" argument and pass it to
12368 Paragraph::asString.
12370 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12372 * lyx_main.C (commandLineHelp): remove version information
12374 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12376 * lyx_main.C: add -version commandline option
12378 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12380 * paragraph.h: make the optional constructor arg required instead.
12381 some modifications to other files because of this.
12383 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12385 * lyxserver.C (C_LyXComm_callback): make it static
12387 * lyx_main.C (error_handler): make it static
12389 * lyx_gui.C (LyX_XErrHandler): make it static
12391 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12393 * WorkArea.C: make the extern "C" methods static.
12395 * Makefile.am (lyx_LDADD): simplify
12397 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12399 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12400 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12402 * LyXAction.C (init):
12403 * lyxfunc.C (dispatch): associated code removal.
12405 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12407 * lyxfont.h (isSymbolFont): shut off warning
12409 * text.C (setHeightOfRow):
12410 (getVisibleRow): fix crash with empty paragraphs which have a
12413 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12415 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12418 2001-09-04 José Matos <jamatos@fep.up.pt>
12421 * tabular.C (docbook): rename docBook method to docbook.
12423 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12425 * Makefile.am: add dependencies to main.o.
12427 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12429 * FontLoader.C (available): Return false if !lyxrc.use_gui
12431 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12433 * FontInfo.C (query):
12434 * converter.C (view):
12435 * importer.C (Import):
12436 * exporter.C (Export): Can not -> cannot.
12438 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12440 * BufferView_pimpl.C: allow to create index inset even if
12443 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12445 * buffer.C (getLists): replace boost::tie code with an explicit pair
12446 as boost::tie can break some compilers.
12448 * iterators.h: Added a std:: declaration to the return type of
12451 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12453 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12456 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12458 * iterators.[Ch]: New files. Provide paragraph iterators.
12460 * buffer.C (changeLanguage): Use paragraph iterators.
12461 (isMultiLingual): ditto
12463 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12465 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12467 * FontLoader.C: Support for cmr font.
12469 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12471 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12472 (available): New method.
12474 * FontInfo.C (getFontname): Use scalable fonts even when
12475 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12478 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12480 * converter.C (Formats::view): reverted! Incorrect fix.
12482 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12484 * converter.C (Formats::view): only output the -paper option
12485 if the dvi viewer is xdvi, thereby fixing bug #233429.
12487 2001-08-23 Herbert Voss <voss@perce>
12489 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12491 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12493 * Spacing.h (Spacing): Set space to Default on in the default
12496 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * vc-backend.h (RCS::versionString): add RCS to version
12499 (CVS::versionString): add CVS to version
12501 * vc-backend.C (scanMaster): do not add CVS to version.
12502 (scanMaster): do not add RCS to version
12504 * lyxvc.C (versionString): new method
12506 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12508 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12510 * Spacing.C (set): initialize fval
12512 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12514 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12517 2001-08-16 Juergen Vigna <jug@sad.it>
12519 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12521 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12523 * BufferView_pimpl.C:
12526 * text2.C: setParagraph takes linespacing now
12528 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12530 * LyxAction.C: add internal LFUN_CITATION_INSERT
12532 * LyXView.C: actually apply fix
12534 * bufferlist.C: fix open non-existent file
12536 * lyxfind.C: fix indentation
12538 * lyxfunc.C: remove unneeded assert, fix typo
12540 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12542 * MenuBackend.C: use "Floatname List"
12544 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12546 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12547 when converting LaTeX layout to insetERT.
12548 Generate a non-collapsed float when reading old float
12550 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12552 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12555 2001-08-13 Juergen Vigna <jug@sad.it>
12557 * text.C (fill): return 0 instead of 20 as this seems to be the more
12560 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12562 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12565 2001-08-13 Juergen Vigna <jug@sad.it>
12567 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12569 (SearchBackward): comment out the unlocking of the inset_owner this
12570 should not be needed!
12572 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12574 * Many files: Remove inherit_language, and add latex_language
12576 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12577 collapsible insets.
12579 2001-08-10 Juergen Vigna <jug@sad.it>
12581 * text.C (prepareToPrint): fixed hfill-width in draw!
12583 * BufferView2.C (selectLastWord): save the selection cursor as this
12584 now is cleared in the function LyXText::clearSelection!
12586 2001-08-08 Juergen Vigna <jug@sad.it>
12588 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12589 BACKSPACE type functions.
12591 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12592 is only cutted from the document but not put in the cut-buffer, where
12593 still the old stuff should be.
12595 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12597 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12599 * tabular.C (SetWidthOfCell): fixed special case where the width
12601 (LeftLine): handle '|' in align_special.
12603 (LeftAlreadyDrawed): ditto
12604 (SetWidthOfCell): ditto
12606 2001-08-07 Juergen Vigna <jug@sad.it>
12608 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12610 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12613 * lyxlex.[hC]: ditto
12615 2001-08-06 Juergen Vigna <jug@sad.it>
12617 * text.C (getVisibleRow): fix up row clearing a bit.
12619 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * minibuffer.C: make sure the X server sees the changes in the input.
12623 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12625 * paragraph.C (getFont): split into...
12626 (getLabelFont): this
12627 (getLayoutFont): and this
12628 * paragraph_pimpl.C (realizeFont): calling this
12630 * text2.C (getFont): split into...
12631 (getLayoutFont): this
12632 (getLabelFont): and this
12633 (realizeFont): all three calling this
12635 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12638 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12642 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12644 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12645 layouts from the Quote inset insertion.
12647 2001-08-03 Juergen Vigna <jug@sad.it>
12649 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12651 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12652 only if status not is already CHANGED_IN_DRAW (second level).
12654 * text.C (draw): don't set the need_break_row when inside an
12657 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12659 * buffer.C (parseSingleLyXformat2Token): handle more latex
12662 * bufferview_funcs.[hC]: change function names to
12663 begin with small char, adjust other files.
12665 2001-08-02 André Pönitz <poenitz@gmx.net>
12668 BufferView_pimpl.C: remove broken special code for math-greek
12670 2001-08-02 Juergen Vigna <jug@sad.it>
12672 * BufferView_pimpl.C (update): redone this function so that we
12673 update the text again if there was a CHANGE_IN_DRAW.
12675 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12676 (drawFromTo): added a new internal bool which is used by draw() and
12678 (general): some cursor drawing problems fixed.
12680 2001-08-01 Juergen Vigna <jug@sad.it>
12682 * lyxfind.C (LyXFind): fixed
12683 (SearchForward): ditto
12684 (SearchBackward): ditto
12686 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12687 spurius drawing of the cursor in the main area.
12689 * text2.C (status): small fix which could lead to a segfault!
12690 (clearSelection): remove unneeded BufferView param.
12692 2001-08-01 André Pönitz <poenitz@gmx.net>
12694 * lyxfunc.C: small change due to changed mathed interface
12696 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12698 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12700 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12702 * lyxfunc.c: fail gracefully if file doesn't exist
12707 * BufferView_pimpl.C: IsDirWriteable() proto changed
12709 * LyXView.C: fix updateWindowTitle() to store the last title
12711 2001-07-31 Juergen Vigna <jug@sad.it>
12713 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12714 the font (wrong since using of Paragraph::highestFontInRange).
12716 * paragraph.C (highestFontInRange): added a default_size parameter.
12718 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12719 (setHeightOfRow): reformat
12721 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12723 * converter.[hC] + affected files: move to (inital-char)lowercase
12726 * ParagraphParameters.C (ParagraphParameters): remove commented code
12728 * PainterBase.[Ch]: remove commented code
12730 * LaTeXFeatures.h: add "bool floats" for float.sty
12732 * LaTeXFeatures.C (LaTeXFeatures): init floats
12733 (require): handle float
12734 (getPackages): do it with floats
12736 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12738 * BufferView_pimpl.C (Dispatch): improve handling of
12739 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12741 * commandtags.h: #include lyxfont.h here temporarily to avoid
12744 * bufferlist.h: include LString.h here.
12746 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12748 * text2.C (getStringToIndex): new method.
12750 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12752 * *: Reduced header file dependencies all over.
12754 2001-07-30 Baruch Even <baruch@lyx.org>
12756 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12758 2001-07-29 Baruch Even <baruch@lyx.org>
12760 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12762 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * ParameterStruct.h (endif): add a default constructor to make
12765 sure that all variables is initialized.
12767 * ParagraphParameters.C (ParagraphParameters): adjust
12769 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12771 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12772 index; also, check that there is something to index, and that it
12773 does not span over several paragraphs.
12774 (doubleClick): use WHOLE_WORD_STRICT for double click.
12776 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12778 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12781 2001-07-26 Baruch Even <baruch@lyx.org>
12783 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12784 an InsetFig figure, backwards compatible reading of old figure code.
12786 2001-07-27 Juergen Vigna <jug@sad.it>
12788 * text2.C: font.realize function adaption.
12790 * text.C (draw): add a warnings lyxerr text if needed.
12792 * layout.C: font.realize function adaption.
12794 * language.C: add inherit_language and implement it's handlings
12796 * bufferview_funcs.C (StyleReset): remove language parameter from
12797 font creation (should be language_inherit now).
12799 * bufferparams.C (writeFile): handle ignore_language.
12801 * paragraph.C (getFontSettings): the language has to be resolved
12802 otherwise we have problems in LyXFont!
12804 * lyxfont.C (lyxWriteChanges): added document_language parameter
12805 (update): removed unneeded language parameter
12807 * paragraph.C (validate): fixed wrong output of color-package when
12808 using interface colors for certain fonts in certain environments,
12809 which should not seen as that on the final output.
12811 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12813 * BufferView_pimpl.C:
12818 * LyXAction.C: add thesaurus support
12821 * lyxfind.C: add "once" parameter, for thesaurus, to not
12822 move to the next match
12824 2001-07-26 Juergen Vigna <jug@sad.it>
12826 * lyxfont.C (realize): honor ignore_language too!
12829 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12831 * text.C (draw): one place more for ignore_language to not draw
12834 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12836 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12838 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12840 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12841 the minipage conversion problem.
12843 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12848 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12850 * BufferView.h: don't forward declare WorkArea
12852 * BufferView.C: don't include WorkArea.h
12854 2001-07-25 André Pönitz <poenitz@gmx.net>
12858 * lyxfunc.C: new LFUN 'math-space'
12860 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12862 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12864 * text2.C (toggleInset): call open/close
12866 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12868 * lyxfunc.C (dispatch): add debug for the disabled case
12870 * font.C (buttonText): make similar to rectText
12872 * buffer.C (readInset): comment out parsing of insetlist and
12875 * PainterBase.C (rectText): small correction
12877 * BufferView_pimpl.C: comment out insettheorem and insetlist
12878 * LyXAction.C: ditto
12879 * commandtags.h: ditto
12881 2001-07-24 Juergen Vigna <jug@sad.it>
12883 * text.C (draw): honor the ignore_language.
12885 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12887 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12889 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12892 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12894 * lyxtext.h: remove unused (and unimplemented) methods
12896 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12898 * text.C (getVisibleRow): honor background color
12901 * Painter.h: remove default color argument for fillRectangle
12903 * text.C (backgroundColor): new method
12905 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12907 * text.C (getVisibleRow): adjust
12909 * font.[Ch] (rectText): new method, metrics
12910 (buttonText): new method, metrics
12912 * PainterBase.[hC]: make rectText and buttonText always draw and take
12915 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12917 * ToolbarDefaults.C (read):
12918 * MenuBackend.C (read): allow escaping in all strings
12920 * BufferView_pimpl.C (insertAndEditInset): new method.
12921 (Dispatch): use insertAndEditInset whenever appropriate.
12923 * BufferView_pimpl.C (insertNote): removed
12925 * BufferView_pimpl.C (smartQuote): new method, moved from
12926 BufferView; if an insetquote cannot be inserted, insert a '"'
12929 * BufferView2.C: remove insertCorrectQuote();
12931 * lyxfunc.C (getStatus): Add support for all remaingin
12932 inset-insert lfuns.
12934 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12936 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12937 command (necessary to pass " as parameter of self-insert.
12939 * text.C (selectWordWhenUnderCursor):
12940 (selectWord): add word_location parameter
12941 (selectWordWhenUnderCursor): same + remove special code for word
12943 (selectNextWord): use kind() to guess type of insetspecialchar,
12946 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12947 (insertErtContents): create ert insets as collapsed.
12948 (readInset): better compatibility code for Info inset.
12950 2001-07-20 Juergen Vigna <jug@sad.it>
12952 * lyxfunc.C (dispatch): use always LyXFind now!
12954 * text2.C (init): add a reinit flag so that the LyXText can be
12955 reinited instead of deleted and reallocated (used in InsetText).
12957 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12963 2001-07-18 Juergen Vigna <jug@sad.it>
12965 * text.C (selectNextWord): handle insets inside inset by calling
12966 always the bv->text functions so that we can go up the_locking_inset!
12968 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12969 in strange locations when inside an inset!
12971 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12972 handling to include insets.
12974 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12976 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12978 * LyXAction.C (init):
12980 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12981 LIGATURE_BREAK, since the name is so stupid.
12983 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12985 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12988 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12990 * sp_form.[Ch]: remove.
12992 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12994 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12997 * src/buffer.C (readInset): ditto.
12999 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13001 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13002 menuSeparator(), endOfSentenceDot(), ldots() and
13003 hyphenationPoint(), which are therefore removed.
13004 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13006 * LyXAction.C (init):
13007 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13009 * paragraph.C (getWord): removed.
13011 * BufferView_pimpl.C (Dispatch): use last word or selection for
13012 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13014 * lyx_main.C (queryUserLyXDir): do not ask before creating
13015 user_dir, except if it has been named explicitely.
13017 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13019 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13020 a document of zero size.
13022 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13024 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13025 approriately in the c-tor and in require().
13026 (getPackages): output the appropriate LaTeX for natbib support.
13028 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13029 variables "use_natbib" and "use_numerical_citations" when reading the
13031 (readInset): read the various natbib cite commands.
13032 (validate): white-space change.
13034 * bufferparams.[Ch]: new variables "bool use_natbib" and
13035 "bool use_numerical_citations".
13036 (writeFile): output them in the LyX file.
13038 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13040 * lyxfunc.C (getStatus): add support for all the inset insertion
13043 * text2.C (insertInset):
13044 * paragraph.C (insetAllowed):
13045 * BufferView_pimpl.C (insertInset): update to take in account the
13046 renaming of insertInsetAllowed
13048 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13050 * text2.C (getInset): new method. returns inset at cursor position.
13052 * BufferView_pimpl.C (Dispatch): changes because of this.
13054 * LyXAction.C (init): rename open-stuff to inset-toggle.
13056 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13058 * text2.C (toggleInset): renamed from openStuff; use
13061 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13063 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13065 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13067 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13069 * buffer.C (readLyXformat2): Add filename to the error dialog
13071 2001-07-18 Juergen Vigna <jug@sad.it>
13073 * tabular.C (GetCellNumber): put an assert here instead of the check!
13075 2001-07-17 Juergen Vigna <jug@sad.it>
13077 * BufferView_pimpl.C (toggleSelection): adapted too.
13079 * text.C (selectNextWord): adapted for use with insets.
13080 (selectSelectedWord): ditto
13082 2001-07-17 Juergen Vigna <jug@sad.it>
13084 * sp_spell.C (PSpell): fix initialitation order.
13086 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13088 * paragraph.C: spacing
13090 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13092 * sp_spell.C: repair language selection for pspell
13094 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13096 * lyxfunc.h: change more methods to begin with lower char.
13098 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13100 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13101 for unknown layouts.
13103 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13105 * buffer.C (readLyXformat2): Generate an error dialog if there are
13108 2001-07-16 Juergen Vigna <jug@sad.it>
13110 * sp_spell.C: always compile ISpell part.
13112 * lyxrc.C: added use_pspell entry and it's handling.
13114 2001-07-13 Juergen Vigna <jug@sad.it>
13116 * sp_spell.C: removed double includes.
13118 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13120 Consistent use of Lsstream.h:
13121 * Lsstream.h: added using std::stringstream for consistencies sake.
13123 * buffer.C: removed using std::stringstream
13125 * lyxfont.C (stateText):
13126 * paragraph.C (asString):
13127 * text.C (selectNextWord, selectSelectedWord):
13128 * text2.C (setCounter):
13129 * vspace.C (asString, asLatexString):
13130 std::ostringstream -> ostringstream.
13132 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13134 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13135 * commandtags.h: add LFUN_HELP_ABOUTLYX
13136 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13138 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13140 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13142 * lyx_gui_misc.C: remove spellchecker
13143 * lyxfunc.C: showSpellchecker
13145 * sp_ispell.h: added
13146 * sp_pspell.h: added
13147 * sp_spell.C: added
13148 * sp_form.[Ch]: removed
13149 * spellchecker.[Ch]: removed
13151 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13153 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13155 (simpleTeXSpecialChars): Simply print the input character without
13156 any special translation if pass_thru is set.
13158 * layout.h: Added bool pass_thru to layout class for being able to
13159 implement pass through of a paragraph for Literate Programming.
13161 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13162 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13163 * layout.C (Read): add "passthru" to list of layout tags and add
13164 code to set the pass_thru boolean when it is read.
13166 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * trans_decl.h: remove allowed from KmodInfo
13170 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13171 remove allowed code
13174 * paragraph_pimpl.C (erase): use boost::prior
13176 * Painter.C (text): use data() instead of c_str() when length is
13178 * WorkArea.C (putClipboard): ditto
13179 * font.h (width): ditto
13181 * BufferView2.C: use it-> instead of (*it). for iterators
13183 * paragraph_pimpl.C: ditto
13184 * paragraph.C: ditto
13185 * minibuffer.C: ditto
13186 * language.C: ditto
13188 * encoding.C: ditto
13189 * counters.C: ditto
13190 * converter.C: ditto
13192 * Variables.C: ditto
13193 * TextCache.C: ditto
13194 * MenuBackend.C: ditto
13195 * LyXAction.C: ditto
13197 * FloatList.C: ditto
13198 * DepTable.C: ditto
13199 * ColorHandler.C (LyXColorHandler): ditto
13201 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13203 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13205 * text2.C (openStuff): reintroduce this method (which had been
13206 nuked in NEW_INSETS frenzy).
13208 * lyxfunc.C (Dispatch): when an action has not been handled, use
13209 its name in the error message, not its number.
13211 * paragraph.C (inInset): change method name to begin with lowercase.
13214 * text2.C: updates because of this.
13216 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13218 * ToolbarDefaults.C (add): add spaces in error message
13220 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13222 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13223 (readLyXformat2): rename return_par to first_par, use lyxlex's
13224 pushToken and remove the manual push handling.
13225 (parseSingleLyXformat2Token): add another ert comp. variable:
13226 in_tabular, rename return_par to first_par. handle newlines better
13228 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13232 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13234 * text2.C (getParFromID): removed
13236 * buffer.C (getParFromID): new method moved form lyxtext.
13237 * BufferView2.C (insertErrors): adjust
13238 (setCursorFromRow): adjust
13239 * BufferView_pimpl.C (restorePosition): adjust
13240 * lyxfunc.C (Dispatch): adjust
13241 * undo_funcs.C (textUndo): adjust
13243 (textHandleUndo): adjust
13244 (textHandleUndo): adjust
13246 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13248 * buffer.C: up' the LYX_FORMAT
13250 * lyxfont.h: turn NO_LATEX on as default
13252 * buffer.C (insertErtContents): new methods of tex style compability.
13253 (parseSingleLyXformat2Token): use it several places.
13254 * tabular.C (OldFormatRead): and here
13256 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13258 * text2.C: remove some commented code.
13261 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13262 * trans.C: changes because of the above.
13264 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13266 * text2.C (setCounter): Fix counters bug with bibliography layout.
13268 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13271 own member functions
13272 (simpleTeXSpecialChars): ditto
13274 2001-07-06 Juergen Vigna <jug@sad.it>
13276 * a lot of files: changed the access to LyXText::status and the
13277 call of undo-functions.
13279 * undo.[Ch]: added a inset_id to the undo informations.
13281 * undo_funcs.[Ch]: added and moved here all undo functions.
13283 * lyxtext.h: give the status enum a weight, made status_ a private
13284 variable and made accessor functions for it, removed the whole bunch
13285 of undo-functions as they are now in their own file, make some
13286 functions publically available. Added function ownerParagraph with
13289 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13290 made InInset() a const function, added getParFromID() function.
13292 * buffer.[Ch]: added const version for inset_iterator functions,
13293 added getInsetFromID() function.
13295 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13296 changed undo functions for new version.
13298 2001-07-05 Juergen Vigna <jug@sad.it>
13300 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13301 unknow mechanism does not call the proper constructor but only this
13302 one also if I request the other!?
13304 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13308 * text2.C (LyXText): use initialization lists.
13310 * lyxtext.h (Selection): initialize set_ and mark_
13311 (init): remove method
13313 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13315 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13317 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13319 * screen.[Ch]: change method names to begin with lowercase
13321 * BufferView_pimpl.C (updateScrollbar): simplify further and
13322 hopefully make it a bit faster.
13324 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13326 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13327 calling directly xforms functions.
13329 * Painter.C (Painter):
13330 * lyx_cb.C (MenuWrite):
13331 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13334 * lyx_gui.C: remove bogus guiruntime extern declaration.
13336 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13338 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13340 (redoDrawingOfParagraph): ditto
13341 (redoParagraphs): ditto
13342 (cutSelection): don't create a object for CutAndPaste use the
13343 static method directly
13344 (pasteSelection): ditto
13346 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13349 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13351 * modifications to some other files because of this.
13353 * Makefile.am (lyx_SOURCES): add XFormsView
13355 * XFormsView.[Ch]: new files
13357 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13358 the main window. Move the gui dependent stuff to XFormsView
13360 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13362 * tabular.C (GetCellInset): update cur_cell also in the row/col
13363 version of this function.
13365 * lyxfunc.C: no need to include figure_form.h here.
13371 * lyxvc.C: no need to include forms.h here.
13373 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13375 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13377 * lyxfunc.C (Dispatch):
13379 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13380 constructor argument.
13382 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13384 * paragraph.C (Paragraph): dont't clear, and just set layout.
13385 (makeSameLayout): use params's copy contructor.
13387 * ParagraphParameters.[Ch] (makeSame): delete method
13389 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13391 * Variables.[Ch]: fix indentation, rename set to isSet
13393 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * lyxfunc.C (Dispatch): fix typo
13397 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13399 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13402 * bufferlist.C: include assert.h for emergencyWrite().
13404 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13406 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13407 give up at last (bug #425202) !
13409 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13415 * spellchecker.C: strip spellchecker options and bring up
13416 preferences tab instead
13418 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13420 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13421 the istringstream constructor
13423 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13425 * paragraph.C (getLayout): fix return value
13427 * paragraph.h: do not declare getLayout as inline.
13429 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13431 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13433 * lyxcursor.h (operator<): new func
13434 (operator>): new func
13435 (operator>=): new func
13436 (operator<=): new func
13438 * text.C (changeCase): use selection.start and selection.end
13439 (changeRegionCase): require from to be <= to. Require par to be a
13442 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13444 2001-06-27 Juergen Vigna <jug@sad.it>
13446 * text.C (cursorLeftOneWord): changed to return the cursor and added
13447 overlay with BufferView * parameter which calls this one.
13449 (selectWord): use new getWord function.
13450 (changeCase): renamed from changeWordCase as and extended to work
13451 also on selections.
13453 * lyxtext.h: added enum word_location
13455 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13456 changeCase as this operates now also on selections.
13458 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13460 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13462 * many files: send debug output to Debug::INFO instead of
13465 * converter.C (View):
13467 (Move): send debug output to Debug::FILES instead of console.
13469 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13471 * lyxfunc.C (getStatus): use func_status
13473 * func_status.h: new header, describing the results of
13474 LyXFunc::getStatus;
13476 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13479 2001-06-25 The LyX Project <jug@sad.it>
13481 * buffer.C (sgmlOpenTag):
13483 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13485 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13487 * text2.C: remove some dead code
13489 * tabular.C (GetCellInset): store the last cell checked (gotten)
13491 * tabular.h: add the helper for the speedup
13493 * lyxtext.h: remove some dead code
13495 2001-06-26 The LyX Project <Asger>
13497 * paragraph.C: Change export to LaTeX of alignment to
13498 \begin{center} and family for better roundtrip work with reLyX.
13500 * Tune the math drawing a bit.
13502 2001-06-25 The LyX Project <Asger>
13504 * LColor.C (LColor): New color for math background. New color
13507 2001-06-25 The LyX Project <jug@sad.it>
13509 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13511 * lyxfunc.C (Open):
13512 * bufferlist.C (newFile): do not restrict to files ending with
13515 * BufferView_pimpl.C (MenuInsertLyXFile):
13517 2001-06-24 The LyX Project <jug@sad.it>
13519 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13522 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13524 * lyxtext.h: rename most methods to begin with a small char.
13525 Lots of changes because of this.
13527 * paragraph.C (Paragraph): do not call fitToSize
13528 (erase): call Pimpl::erase
13529 (insertChar): call Pimpl::insertChar
13530 (insertInset): call Pipl::insertInset
13531 (breakParagraph): do not call fitToSize
13532 (breakParagraphConservative): do not call fitToSize
13533 (fitToSize): remove method
13535 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13537 2001-06-24 The LyX Project <Asger>
13539 * Fix Qt compilation^2
13541 2001-06-24 The LyX Project <jug@sad.it>
13543 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13544 depthHook(getDepth()-1).
13547 * ParagraphParameters.h:
13548 * ParameterStruct.h: change type of depth to unsigned int ==
13549 depth_type. Many adaptations to other files before of that.
13551 2001-06-24 The LyX Project <Asger>
13553 * Fix Qt compilation.
13555 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13557 * paragraph.h: renamed several methods to begin with small letter.
13558 several changes to many parts of the code because of this.
13560 2001-06-23 The LyX Project <jug@sad.it>
13562 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13563 rewritten to discard all double spaces when KeepEmpty is off
13564 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13565 to only handle newlines but not fiddle with spaces and friends.
13567 * lyxfunc.C (MenuNew): when doing 'new from template', use
13568 template_path as default directory
13570 2001-06-23 The LyX Project <Asger>
13572 * Clean-up of header file includes all over
13573 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13575 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * paragraph.h: renamed from lyxparagraph.h
13579 2001-06-23 Asger <lyx@violet.home.sad.it>
13581 * Buffer.h: Removed Buffer::resize
13582 * BufferList.h: Removed BufferList::resize
13583 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13584 the document lazily when we change the width, or the font settings.
13586 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13588 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13590 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13592 * buffer.h: remove out of date comment
13594 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13597 * screen.C: fix "theoretical" GC leak
13599 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13601 * LaTeX.C (scanAuxFile):
13602 (deplog): remove trailing \r when reading stream (useful under
13605 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13607 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13608 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13609 and BufferView::theLockingInset(Inset*), so should use them and not
13610 access bv_->text->the_locking_inset directly.
13612 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13614 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13617 * tex-defs.h: remove old unused file
13619 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13621 * BufferView_pimpl.C: fix typo, remove minibuffer message
13622 when buffer has loaded
13624 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13626 * lyxfunc.C (Dispatch): use stringstream
13627 (MenuNew): use stringstream
13628 (Open): use stringstream
13630 * importer.C (Import): use stringstream
13632 * bufferview_funcs.C (CurrentState): use stringstream
13634 * LaTeX.C (run): use stringstream
13636 * BufferView_pimpl.C (savePosition): use stringstream
13637 (restorePosition): use stringstream
13638 (MenuInsertLyXFile): use stringstream
13640 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13653 * vspace.C: removed // -*- C++ -*- as first line.
13656 * version.h: added // -*- C++ -*- as first line.
13658 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13660 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13662 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13665 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13667 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13670 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * gettext.C: include LString.h even when --disable-nls is on.
13674 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13676 * converter.h (Get): changed argument type from int to
13677 FormatList::size_type to avoid unnecessary conversion.
13679 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13682 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * gettext.h: include LString.h even when --disable-nls is on.
13686 2001-06-07 Juergen Vigna <jug@sad.it>
13688 * text.C (BreakAgain): subst spaces with tabs.
13690 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13691 (resizeInsetsLyXText): set force on resizeLyXText.
13693 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * gettext.h (gettext_init):
13696 (locale_init): use a real definition instead of a macro
13698 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13700 * Bufferview_pimpl.C:
13702 * LColor.C: further lcolor tidies
13704 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13706 * BufferView_pimpl.C (updateScrollbar): simplify.
13708 * BufferView2.C: don't include insets/insetinfo.h, change
13709 prototype for insertInset and call the Pimpl version. let
13710 updateInset call Pimpl version.
13712 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13713 gotoInset to BufferView::Pimpl
13715 2001-06-01 Juergen Vigna <jug@sad.it>
13717 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13718 inside a LockingInset (is the update needed at all?).
13720 2001-05-31 Juergen Vigna <jug@sad.it>
13722 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13723 here not the old one otherwise how should we compare it afterwards
13726 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13731 * FontInfo.C: bring C functions into global namespace when
13734 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13736 * LString.h: make sure config.h has been loaded before LString.h.
13738 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13739 (one for each char read by EatLine!).
13741 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13744 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13747 to the same as the par we break from
13749 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13751 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13753 * MenuBackend.C (expand): also create menu entries for wide
13754 versions of the floats.
13756 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13758 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13760 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13761 frontends/Makefile.am
13767 * tabular.C (getTokenValue): add std::
13769 * tabular-old.C (getTokenValue): add std::
13770 (getTokenValue): ditto
13771 (getTokenValue): ditto
13773 * screen.C (ToggleSelection): adjust
13775 * lyxtext.h: put selection cursors inside a Selection struct.
13777 * lyxfunc.C (moveCursorUpdate): adjust
13779 * lyxfont.C (latexWriteStartChanges): add std::
13781 * lyxfind.C: adjust
13783 * font.h: delete with(char const *, LyXFont const &)
13785 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13787 * FontInfo.C (getFontname): add std::
13789 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13790 (workAreaButtonPress): adjust
13791 (tripleClick): adjust
13793 (moveCursorUpdate): adjust
13796 * BufferView2.C (gotoInset): adjust
13798 2001-05-30 Juergen Vigna <jug@sad.it>
13800 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13801 to check pspell I add this as default as I now have new pspell
13802 libraries and they seem to use this.
13804 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13806 * text2.C (CutSelection): make the cursor valid before the call to
13809 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13811 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13812 relied on 0 terminated strings and other horrors. Bug found due to
13813 the new assert in lyxstring!
13815 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13818 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13823 * lyxfunc.C (processKeySym): change method of getting to the
13826 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13827 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13828 * BufferView_pimpl.[Ch]: here as private methods.
13830 2001-05-28 Juergen Vigna <jug@sad.it>
13832 * text.C (SetHeightOfRow): added the update() call again as it is
13833 needed to initialize inset dimensions!
13835 2001-05-16 Juergen Vigna <jug@sad.it>
13837 * text2.C (SetCharFont): Add new function with BufferView * and
13838 bool toggleall parameters for setting insets internal fonts.
13839 (SetFont): Freeze the undo as we may change fonts in Insets and
13840 all this change should be inside only one Undo!
13842 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13843 setting font's in insets as for them we have the SetFont function!
13845 2001-05-15 Juergen Vigna <jug@sad.it>
13847 * text2.C (ClearSelection): to be sure we REALLY don't have any
13850 * tabular.C (TeXCellPreamble): fixed the left border problem for
13853 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13855 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13858 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13861 LFUN_BREAKPARAGRAPH.
13863 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13864 help test to "internal only", similar for LFUN_INSERT_URL
13866 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13867 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13868 auto_region_delete and deadkeys.
13870 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13873 * LColor.C: remove some dead entries, tidy a little
13875 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13877 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13879 (Dispatch): implement LFUN_ESCAPE
13881 * commandtags.h: add LFUN_ESCAPE
13883 * LyXAction.C (init): add entry for LFUN_ESCAPE
13885 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13886 Remove commented code.
13887 (insertNote): moved here
13888 (open_new_inset): moved here
13890 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13893 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13895 * kbmap.C (findbinding): clean it up and make it work correctly.
13897 * lyx_main.C (init): do not pass argc and argv as parameters
13899 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13901 * buffer.C: fix path for OS/2 & Win32
13905 * lyx_main.C: Added os:: class.
13907 * os2_defines.h: update
13909 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13911 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13912 better by trying again with reduced state.
13914 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * lyxrc.C (read): print error about invalid key sequence only when
13917 debugging (because not all latinX keysyms are known to some X
13920 * kbsequence.C (getiso): add a few std:: qualifiers
13921 (getiso): comment out extra return statement.
13923 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13925 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13927 (Dispatch): enhance the accent inset a bit. (not perfect)
13929 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13931 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13933 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13935 * bufferlist.C (emergencyWrite): fix assert() call
13937 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13939 * text.C (InsertChar): Added trivial patch to only send the "you
13940 can not do multiple spaces this way" message once during a
13943 2001-05-08 Baruch Even <baruch@lyx.org>
13945 * Makefile.am: Changed order of libraries to get LyX to link properly
13946 with the gnome frontend.
13948 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13950 * LaTeXFeatures.h: add a std:: qualifier
13952 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13954 * paragraph.C (String): use stringstream
13956 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13958 * paragraph.C (writeFile): remove footflag arg
13960 * buffer.C (makeLaTeXFile): use stringstream
13961 (latexParagraphs): remove footnot gurba
13963 * LaTeXFeatures.C (getPackages): use stringstream
13964 (getMacros): likewise
13965 (getTClassPreamble): likewise
13966 (getFloatDefinitions): new method
13968 * paragraph.C (writeFile): reindent
13971 * WorkArea.h: revert the xpos + etc changes.
13973 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13975 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13977 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13978 (pasteSelection): likewise
13979 * text2.C (CreateUndo): likewise
13981 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * minibuffer.C (peek_event): temporarily reduce the functionality
13984 of the minibuffer (to allow args on lfuns)
13986 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13987 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13989 * buffer.C (readInset): add compability reading of old float
13990 lists, add reading of new style float list.
13991 (readInset): avoid reevaluation of inscmd.getCmdName()
13992 (getLists): reindent
13994 * MenuBackend.C (MenuItem): implement parsing of
13995 md_floatlistinsert and md_floatinsert.
13996 (expand::LastFiles): move initalizaton of iterators out of loop,
13997 avoid reevaluation.
13998 (expand::Documents): introduce typdedef vector<string> Strings,
14000 (expand::ExportFormats): introduce typedef vector<Format const *>
14001 Formats, and use it.
14002 (expand): implement FloatListInsert and FloatInsert.
14004 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14005 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14006 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14008 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14010 (Dispatch::LFUN_FLOAT_LIST): implement
14012 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14014 * LaTeX.C (run): Fix problem with --export code.
14016 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14018 * BufferView.[Ch] (workarea): removed.
14019 (getClipboard) new method; wrapper for workarea()->getClipboard()
14021 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14024 * WorkArea.h (width, height, xpos, ypos): These methods all
14025 returned the dimensions of the work_area sub-area of WorkArea,
14026 resulting in a position error if the WorkArea were resized. Now
14027 return the dimensions of the entire WorkArea.
14029 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14031 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14033 * LaTeX.C (deplog): correct the syntax of regex reg1
14035 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14037 * undo.C: remove !NEW_INSETS cruft
14039 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14041 * text2.C: remove !NEW_INSETS cruft
14043 * text.C: remove !NEW_INSETS cruft
14045 * tabular.C: remove !NEW_INSETS cruft
14047 * spellchecker.C: remove !NEW_INSETS cruft
14049 * lyxtext.h: remove !NEW_INSETS cruft
14051 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14053 * lyxfunc.C: remove !NEW_INSETS cruft
14055 * lyxfind.C: remove !NEW_INSETS cruft
14057 * lyx_cb.C: remove !NEW_INSETS cruft
14059 * figureForm.C: remove !NEW_INSETS cruft
14061 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14063 * buffer.[Ch]: remove !NEW_INSETS cruft
14065 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14067 * CutAndPaste.C: remove !NEW_INSETS cruft
14069 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14071 * BufferView2.C: remove !NEW_INSETS cruft
14073 * BufferView.h: remove !NEW_INSETS cruft
14075 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14077 * Lsstream.h: include LString.h before the sstream headers to
14078 fix problem with gcc 2.95.3 and lyxstring
14080 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14082 * lyx_main.C: add using directives when needed for C functions
14083 declared in std:: namespace.
14085 2001-04-27 Juergen Vigna <jug@sad.it>
14087 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14088 (SetHeightOfRow): comment out the update call should not be needed!
14090 2001-04-13 Juergen Vigna <jug@sad.it>
14092 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14093 (LyXTabular): tried to minimize operator= operations (and realized
14094 hopfully Lars wish).
14096 2001-04-27 Juergen Vigna <jug@sad.it>
14098 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14100 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14102 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14104 * buffer.C (readInset): hack to make listof algorithm work
14106 * BufferView_pimpl.C: hack to make listof algorithm work
14108 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14110 * LyXAction.C: removed all !NEW_INSETS cruft
14111 (init): moved lfun_item in method
14113 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14115 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14117 * BufferView2.C (theLockingInset): white space.
14119 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * minibuffer.C: include <iostream>
14123 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14125 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14127 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14129 * text.[Ch] (TransposeChars): new method
14131 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14133 * call message directly through LyXView instead of through LyXFunc
14134 * BufferView2.C: adjust
14135 * BufferView_pimpl.C: adjust
14136 * FontLoader.C: adjust
14138 * bufferview_funcs.C: adjust
14139 * converter.C: adjust
14140 * figureForm.C: adjust
14141 * importer.C: adjust
14143 * lyx_gui_misc.C: adjust
14144 * lyxfunc.C: adjust
14147 + more files in subdirs
14149 * lyxparagraph.h (size): move up int file
14152 * adjust all uses of Assert to lyx::Assert.
14154 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14155 lyxfunctional in namespace lyx
14156 * layout.C (hasLayout): ditto
14159 (delete_layout): ditto
14160 (NumberOfClass): ditto
14161 * converter.C (GetFormat): ditto
14166 * bufferlist.C (getFileNames): ditto
14167 (emergencyWriteAll): ditto
14170 * MenuBackend.C (hasSubmenu): ditto
14173 * BufferView_pimpl.C (getInsetByCode): ditto
14175 2001-04-18 Juergen Vigna <jug@sad.it>
14177 * vspace.C (asLatexString): fixed the 100% problem.
14179 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14181 * lyxfunc.C (Dispatch):
14183 * minibuffer.h: add a few std:: qualifiers
14185 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14187 * minibuffer.[Ch]: reimplement so that commands is initiated and
14188 run from lyxfunc, simplified som handling, and made the completion
14189 and history code for complete. wip.
14191 * lyxfunc.C (processKeySym): call message
14192 (miniDispatch): new temporary method
14193 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14194 (LFUN_MESSAGE): implement
14195 (LFUN_MESSAGE_PUSH): implement
14196 (LFUN_MESSAGE_POP): implement
14197 (initMiniBuffer): the initial/defualt minibuffer message.
14199 * lyxfont.[Ch]: inline some more getters
14201 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14203 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14205 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14206 (AutoSave): use LFUN_MESSAGE
14207 (Reconfigure): ditto
14209 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14211 * figureForm.C: use LFUN_MESSAGE
14213 * converter.C (runLaTeX): use LFUN_MESSAGE
14215 * bufferview_funcs.C: use LFUN_MESSAGE
14217 (changeDepth): ditto
14219 * bufferparams.h: use boost::
14221 * bufferlist.h: inherit privately from noncopyable
14223 * bufferlist.C (loadLyXFile): remove some commented code.
14225 * buffer.C (runChktex): use LFUN_MESSAGE
14227 * ShareContainer.h: inherit privately from noncopyable
14229 * ParagraphParameters.[hC] (depth): inline it.
14231 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14233 (message): new method
14234 (messagePush): ditto
14235 (messagePop): ditto
14236 (show): init minibuffer
14237 (showState): direct call
14239 * LaTeX.[Ch]: inherit privately from noncopyable
14240 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14241 instead of WriteStatus.
14243 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14245 * BufferView_pimpl.C (buffer): don't init minibuffer
14246 (workAreaButtonPress): use LFUN_MESSAGE
14247 (workAreaButtonRelease): ditto
14248 (savePosition): ditto
14249 (restorePosition): ditto
14250 (MenuInsertLyXFile): ditto
14251 (workAreaExpose): don't init minibuffer
14252 (update): remove commented code, simplify
14254 * BufferView2.C (openStuff): use LFUN_MESSAGE
14255 (toggleFloat): ditto
14258 (copyEnvironment): ditto
14259 (pasteEnvironment): ditto
14264 (updateInset): remove some commented code
14266 * lastfiles.h: inherit privately from noncopyable
14269 * lyx_main.h: ditto
14271 * lyxlex_pimpl.h: ditto
14273 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14274 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14275 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14277 * LyXAction.h: inherit privately from noncopyable, add methods
14278 func_begin, func_end, returning iterators to the func map.
14280 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14281 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14282 (func_begin): new method
14283 (func_end): new method
14285 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14287 (copySelection): ditto
14288 (pasteSelection): ditto
14290 * BufferView.C: whitespace change
14291 * BufferView.h: inherit privately from noncopyable
14293 2001-04-16 Allan Rae <rae@lyx.org>
14295 * tabular-old.C (l_getline):
14296 * spellchecker.C (sc_check_word):
14297 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14298 an unrecognised preprocessor directive. So ensure they're wrapped.
14300 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14302 * src/exporter.C (Export): Give an error message when path to file
14305 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14307 * LaTeX.C (deplog): Always check that foundfile exists.
14309 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14312 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14314 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14316 * tabular.[Ch] (getLabelList): implement new method
14318 * minibuffer.h: comment ouf setTiimer
14320 * minibuffer.C (ExecutingCB): constify res
14321 (peek_event): constify s
14322 (Set): constify ntext
14323 (Init): constify nicename
14325 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14327 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14328 (savePosition): use two params to Minibuffer::Set
14329 (restorePosition): ditto
14331 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14333 * lyx_main.C: include language.h
14335 * Makefile.am (lyx_main.o): add language.h
14337 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * CutAndPaste.C: include gettext.h
14345 * lyxfont.h: remove old hack with ON and OFF.
14348 * lyxfont.h: do not include language.h...
14353 * bufferview_funcs.C:
14359 * paragraph.C: ... but do it here instead
14361 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14365 * tabular.C: small reformat
14367 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14370 (BreakParagraph): ditto
14371 (SetOnlyLayout): ditto
14374 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14377 * lastfiles.C: removed most using decl, add std:: where needed
14379 * buffer.C: ws changes
14381 * MenuBackend.C (class compare_format): put into anon namespace
14382 (expand): constify label, names, action, action2
14385 * text.C (SingleWidth): constify font
14386 (IsBoundary): constify rtl2
14387 (GetVisibleRow): constify ww
14389 * LaTeX.C (deplog): constify logfile
14391 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14393 (workAreaExpose): constify widthChange, heightChange
14395 * lyxrow.C (par): moved
14398 * lyxrow.h: as inlines here
14400 * lyxfont.h (shape): moved from lyxfont.C
14401 (emph): moved from lyxfont.C
14403 * lyxfont.C (LyXFont): use initialization list for all
14405 (shape): move to lyxfont.h as inline
14406 (emph): move to lyxfont.h as inline
14409 2001-04-04 Juergen Vigna <jug@sad.it>
14411 * vspace.C: had to include stdio.h for use of sscanf
14413 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14416 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14417 independent of xforms.
14419 2001-04-02 Juergen Vigna <jug@sad.it>
14421 * spellchecker.C: fixed namespace placing!
14423 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14425 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14426 the LyXParagraph * is 0.
14428 2001-03-29 Juergen Vigna <jug@sad.it>
14430 * vspace.C: added support for %, c%, p%, l%.
14431 (stringFromUnit): added helper function.
14432 (asLatexString): changed to give right results for the %-values.
14434 * buffer.C: convert the widthp in a width%.
14436 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14438 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14441 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14442 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14444 * lyx_cb.[Ch]: see above.
14446 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14450 * lyx.[Ch]: replaced by figure_form.[Ch].
14454 * lyxfunc.C: changed headers associated with above changes.
14456 2001-03-27 Juergen Vigna <jug@sad.it>
14458 * BufferView_pimpl.C: set the temporary cursor right!
14460 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14462 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14464 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14466 * LString.h: removed "using std::getline"!
14468 * BufferView_pimpl.C (Dispatch): changes due to changes in
14469 InsetInclude::Params.
14471 * buffer.C (tag_name): removed redundant break statements as they were
14472 producing lots of warnings with my compiler.
14474 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14476 * LString.h: add "using std::getline" when using the real <string>.
14478 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14480 * buffer.C: removed bitset usage.
14481 PAR_TAG moved to an anonymous name space.
14482 (tag_name): new funtion, also in the anonymous namespace.
14483 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14484 (makeDocBookFile): clean code. Completed transition from string arrays
14486 (SimpleDocBookOnePar): code clean.
14488 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14490 * tabular.C: add some comments.
14492 2001-03-22 Juergen Vigna <jug@sad.it>
14494 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14495 compatibility read a bit and fixed bug with minipage in different
14498 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14500 * buffer.C (pop_tag): removed.
14501 (push_tag): removed.
14502 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14503 array replaced with vector. Added support for CDATA sections.
14504 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14506 (makeDocBookFile): XML conformant declaration of CDATA section,
14507 fixed bug related to <emphasis> in the first paragraph char.
14508 (sgmlOpenTag): exclude empty tags.
14509 (sgmlCloseTag): ditto.
14511 * buffer.h (pop_tag): removed.
14512 (push_tag): removed.
14514 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14516 * language.h (Languages): added size_type and size().
14518 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14520 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14521 response on compability reading of minipages. One probliem is that
14522 the old usage of minipages was «flertydig»
14524 * several files here and in subdirs: don't use static at file
14525 scope use anon namespaces instead.
14527 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14529 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14530 LaTeX output. This is necessary for Literate document
14533 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14535 * buffer.C: insert hfill when needed.
14537 * tabular.C (l_getline): use string::erase, small whitespace change.
14539 * BufferView_pimpl.C: try the anon namespace.
14540 * WorkArea.C: ditto
14542 2001-03-16 Juergen Vigna <jug@sad.it>
14544 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14545 otherwise it won't open options-dialogs.
14547 * buffer.C: honor pextraWidth(p) on converting minipages.
14549 * tabular.C (l_getline): changed the functions to strip trailing \r.
14551 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14553 * BufferView_pimpl.C:
14554 * minibuffer..C: added "using SigC::slot" declaration.
14556 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14558 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14564 * paragraph.C: ditto
14566 * lyxtext.h: NO_PEXTRA
14568 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14570 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14571 * ParameterStruct.h: ditto
14572 * ParagraphParameters.h: ditto
14573 * lyxparagraph.h: ditto
14575 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14577 * buffer.C: add compability for minipage alignment.
14578 (latexParagraphs): remove unwanted pextra check.
14580 * several files: remove CXX_WORKING_NAMESPACES
14582 * buffer.C (pop_tag): tie is in namespace boost
14584 * BufferView.h: noncopyable is in namespace boost
14586 * lyx_main.h: ditto
14589 * lastfiles.h: ditto
14590 * bufferlist.h: ditto
14591 * ShareContainer.h: ditto
14593 * LyXAction.h: ditto
14596 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14598 * Merging changes from BRANCH_MVC back into HEAD.
14600 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14602 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14604 * BufferView_pimpl.C: change from intl.C
14608 * Makefile.am: move combox.*
14614 * intl.C: remove dialog (covered by prefs)
14616 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14618 * lyxfunc.C (Dispatch): removed redundant break statement.
14620 2001-03-14 Juergen Vigna <jug@sad.it>
14622 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14624 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14626 * buffer.C: add hack to fix compability reading of minipages.
14628 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14630 * buffer.C (getLists): Cleanup.
14632 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14634 * lyxfont.C (update): don't honor toggleall on font size.
14636 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14640 * Makefile.am: moved to frontends/xforms/
14644 * BufferView_pimpl.C: changes for moved mathpanel
14646 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14648 * gettext.h: fix gettext_init() in --disable-nls
14650 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14654 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14657 * lyx.h: strip external form
14659 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14661 * BufferView_pimpl.C: add comment, destroySplash()
14663 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14665 * BufferView_pimpl.C:
14669 * lyxfunc.C: use re-worked insetinclude
14671 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14673 * buffer.C: add using std::stringstream.
14675 * lyx_cb.C: readd using std::ios.
14677 * buffer.C: add using std::map.
14679 * BufferView_pimpl.C: add using std::vector.
14681 * ShareContainer.h: add std:: to swap.
14683 * buffer.h: add some typedefs
14684 * buffer.C (getLists): use them
14685 (getLists): renamed from getTocList.
14686 add a counter for the different float types and use it in the
14688 (getLists): use the same counter for the NEW_INSETS and the "non"
14691 * lyx_cb.h: remove unused items, includes, using etc.
14693 * ShareContainer.h: remove some commented code, add more comments
14694 and "documentation".
14696 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14698 * buffer.C (getTocList): make the list also when NEW_INSETS is
14701 * buffer.h: remove TocType
14703 * buffer.C (getTocList): change to return a map<string,
14704 vector<TocItem> >, implement for dynamic number of list.
14706 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14707 * text2.C (PasteSelection): adjust
14708 * CutAndPaste.C (pasteSelection): adjust
14710 * FloatList.C (FloatList): update from the new_insets branch.
14711 * Floating.[Ch]: ditto
14712 * LaTeXFeatures.C: ditto
14714 * lyxlex_pimpl.C: ditto
14716 * paragraph.C (Last): remove when NEW_INSETS is defined.
14718 * other file: changes because of the above.
14720 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14722 * lyxparagraph.h: rename next to next_, previous to previous_,
14723 make them private for NEW_INSETS. Rename Next() to next(),
14724 Previous() to previous().
14726 * other files: changes because of the above.
14728 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14731 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14734 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14736 * main.C (main): pass lyx_localedir to gettext_init().
14738 * gettext.h: remove locale_init and gettext_init macros
14740 * gettext.C (locale_init): new function
14741 (gettext_init): new function
14743 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14746 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14748 * Moved credits to frontends:
14749 * credits.[Ch]: removed
14750 * credits_form.[Ch]: removed
14751 * lyx_gui_misc.C: remove credits stuff
14754 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14756 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14758 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14759 unneeded destructor.
14761 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14762 a standalone pointer again.
14764 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14766 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14772 * ToolbarDefaults.C:
14781 * BufferView_pimpl.C: use new file dialog in GUII
14784 * lyx_cb.C: remove LayoutsCB to Toolbar
14786 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * ShareContainer.h (get): add std:: qualifier
14790 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * ShareContainer.h: define a proper ShareContainer::value_type
14793 type (and use typename to please compaq cxx)
14795 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14797 * lyxparagraph.h: move serveral local vars to
14798 ParameterStruct/ParagraphParameters., use ShareContainer in
14799 FontTable., make vars in FontTable private and add getter and
14802 * paragraph.C: changes because of the above.
14804 * lyxfont.h: remove copy constructor and copy assignment. (the
14805 default ones is ok), move number inside FontBits. move inlines to
14808 * lyxfont.C: add number to initializaton of statics, move several
14809 inlines here. constify several local vars. some whitespace
14810 cleanup. Dont hide outerscope variables.
14812 * Spacing.h: add two new constructors to match the set methods.
14814 * ShareContainer.h: new file, will perhaps be moved to support
14816 * ParameterStruct.h: new file
14818 * ParagraphParameters.h: new file
14820 * ParagraphParameters.C: new file
14822 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14823 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14825 * BufferView_pimpl.C: ParagraphParameter changes.
14826 * buffer.C: Likewise.
14827 * bufferview_funcs.C: Likewise.
14828 * text.C: Likewise.
14829 * text2.C: Likewise.
14831 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * lyxfind.C (LyXReplace): do not redefine default argument in
14835 (IsStringInText): ditto
14836 (SearchForward): ditto
14837 (SearchBackward): ditto
14839 2001-03-06 Juergen Vigna <jug@sad.it>
14841 * lyxfind.C (IsStringInText): put parentes around expressions.
14843 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14845 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14847 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14849 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14851 * stl_string_fwd.h: add comment
14853 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14856 * tabular.C: remove unused DocBook methods
14862 killed DO_USE_DEFAULT_LANGUAGE
14864 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14866 * lyx_gui.C: do not include language.h.
14868 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14869 arguments in function implementation.
14871 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14873 * BufferView_pimpl.C: add <ctime>
14875 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14877 * BufferView_pimpl.C: add using std::find_if
14879 2001-02-27 José Matos <jamatos@fep.up.pt>
14881 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14884 2001-02-11 José Matos <jamatos@fep.up.pt>
14886 * buffer.C (makeDocBookFile): command styles now have a parameter as
14887 "title" by default.
14889 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14891 * layout_forms.[Ch]: removed
14892 * lyx_cb.[Ch]: out character
14893 * lyx_gui.C: out character
14894 * lyx_gui_misc.C: out character
14895 * bufferview_funcs.C: : out character,
14896 added toggleall as parameter in ToggleAndShow
14898 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14900 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14902 * text2.C (SetCurrentFont): Disable number property at boundary.
14904 2001-02-26 Juergen Vigna <jug@sad.it>
14906 * lyxfunc.C (getStatus): added a string argument override function so
14907 that this is correctly called from LyXFunc::Dispatch if it contains a
14908 do_not_use_argument which is used!
14909 (Dispatch): added check for "custom" export and call appropriate func.
14911 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14913 * lyxrc.C: Add language_command_local, language_use_babel and
14914 language_global_options.
14916 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14918 * buffer.C (makeLaTeXFile): Use language_use_babel and
14919 language_global_options.
14921 2001-02-23 Juergen Vigna <jug@sad.it>
14923 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14924 which works with LyXText and putted it inside BufferView. Here now we
14925 only call for that part the BufferView::Dispatch() function.
14927 * BufferView.C (Dispatch): added.
14929 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14930 functions which needs to use a LyXText over from LyXFunc.
14931 (MenuInsertLyXFile): added
14932 (getInsetByCode): added
14933 (moveCursorUpdate): added
14934 (static TEXT): added
14936 2001-02-22 Juergen Vigna <jug@sad.it>
14938 * BufferView_pimpl.C (update): call a status update to see if LyXText
14941 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14943 * vc-backend.C (revert): implement for CVS
14944 (getLog): implement for CVS
14946 2001-02-20 Juergen Vigna <jug@sad.it>
14948 * text2.C (ClearSelection): added BufferView param for inset_owner call
14950 * lyxfunc.C (TEXT): added this function and use it instead of
14951 directly owner->view()-text of getLyXText().
14953 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14955 * src/layout_forms.C: out preamble
14956 * src/layout_forms.h: out preamble
14957 * src/lyx_cb.C: out preamble
14958 * src/lyx_cb.h: out preamble
14959 * src/lyx_gui.C: out preamble
14960 * src/lyx_gui_misc.C: out preamble
14961 * src/lyxfunc.C: connect with guii preamble
14963 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14965 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14967 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14969 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14970 whether to run bibtex.
14972 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14974 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14976 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14978 * Makefile.am (lyx_SOURCES): removed bibforms.h
14980 * vspace.h: doxygen
14982 * text.C (GetVisibleRow): make several local vars const
14984 * tabular.C: small cleanup.
14986 * lyxserver.C (callback): use compare instead of strncmp
14988 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14989 inlines to after class or to paragraph.C
14991 * lyxfont.h: remove friend operator!=
14993 * converter.h: move friend bool operator< to non friend and after
14996 * combox.h: small cleanup
14998 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14999 to inlines after class def.
15001 * buffer.C (pop_tag): use string operations instead of strcmp
15003 * bmtable.c: doxygen, small cleanup
15005 * LaTeX.h: remove friend operator==
15007 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15019 * BufferView_pimpl.C:
15020 * BufferView.[Ch]: remove cruft
15022 2001-02-14 Juergen Vigna <jug@sad.it>
15024 * lyxfunc.C: removed #if 0 unused code
15026 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15028 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15030 * text2.C (SetSelection): added a BufferView * parameter
15032 2001-02-13 Juergen Vigna <jug@sad.it>
15034 * lyxfunc.C (Dispatch): fixed protected blank problem.
15035 * BufferView2.C (protectedBlank): added LyxText * parameter.
15037 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15038 (AppendColumn): same as above for column_info.
15040 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15041 (moveCursorUpdate): use a LyXText param for support of InsetText.
15043 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15044 (tripleClick): ditto
15046 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15048 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15050 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15052 * text2.C (SetSelection): set correct update status if inset_owner
15053 (ToggleFree): ditto
15055 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15057 * tabular.C: remove some commented code.
15059 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15061 * BufferView_pimpl.C: call hideSplash()
15063 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15066 * bibforms.h: remove
15069 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15070 add LFUN_CHILD_CREATE
15072 * counters.h: fix tiny typo
15077 * lyx.C: move splash to frontends/xforms/
15079 * lyx_gui_misc.C: move Include and Bibform to frontends
15081 * lyxvc.h: clarify comment
15083 * vspace.C: tiny housekeeping
15085 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15087 * text.C (PrepareToPrint): RTL Fix.
15089 * paragraph.C (GetUChar): New method.
15090 (String): Use GetUChar.
15092 * buffer.C (asciiParagraph): Use GetUChar.
15094 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15096 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15098 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15101 * buffer.C: rename to getLogName(), handle
15102 build log / latex log nicely
15104 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15107 * MenuBackend.h: remove support for reference menuitem type.
15109 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15111 * BufferView_pimpl.C: housekeeping
15112 * BufferView_pimpl.h:
15117 * minibuffer.h: move Timeout GUI-I
15119 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15121 * lyxrc.C (read): Update converters data-structures.
15123 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15125 * LaTeX.h (operator!=): add operator != for Aux_Info
15127 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15129 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15131 * LaTeXLog.C: deleted, useful code moved to Buffer
15134 * buffer.C: new function getLatexLogName()
15140 * lyxfunc.C: use frontends for LaTeX and VC logs
15142 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15144 * LaTeX.h: yet another std:: that Allan forgot.
15146 * Variables.C (set): renamed from isset(), because this clashes
15147 with some HP-UX macros (grr).
15149 2001-02-06 Allan Rae <rae@lyx.org>
15151 * LaTeX.h: Another bug fix. Missing std:: this time.
15153 2001-02-04 Allan Rae <rae@lyx.org>
15155 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15156 floats problem. I've left it commented out because it's not quite
15157 correct. It should also test that the current object is a table or
15158 figure inset. But I haven't gotten around to figuring out how to do
15159 that. I *think* it'll be something like: "table" == inset.type()
15161 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15164 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15166 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15167 all the citation/databases/styles in the auxilary file.
15168 (run): Rerun latex if there was a babel language error.
15170 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15172 * text.C (Backspace): Preserve the font when changing newline char
15174 (BreakParagraph): If the cursor is before a space, delete the space.
15176 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15178 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15180 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15181 new argument (code).
15182 (ChangeCitationsIfUnique): New method.
15184 * paragraph.C (GetPositionOfInset): Handle bibkey.
15186 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * BufferView_pimpl.h: change type of Position::par_pos to
15189 LyXParagraph::size_type.
15191 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15193 * BufferView_pimpl.C (savePosition, restorePosition): Write
15194 messages to minibuffer.
15196 2001-01-28 José Matos <jamatos@fep.up.pt>
15198 * buffer.C (makeDocBookFile): adds support for document language.
15199 A silly restriction on the name of LatexCommand types where removed.
15200 Added support for CDATA sections, allows to chars unescaped, used
15201 among others in code, to avoid escape < and >.
15203 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15205 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15206 saved positions instrad of a stack. Furthermore, a position is
15207 stored using paragraph id/paragraph position.
15209 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15210 Remove LFUN_REF_BACK.
15212 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15214 * converter.C (dvipdfm_options): New method.
15216 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15218 * vspace.C (isValidLength): Fix for empty input string.
15220 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15222 * LyXAction.C (init): change description of LFUN_FIGURE to
15225 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * LaTeX.C: add using directive
15229 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15231 * MenuBackend.C (expand): Fix the sorting of the formats.
15233 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15235 * lyx_main.C: tiny error message fix
15237 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15239 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15240 calling fl_initialize(). This fixes the problem with ',' as
15241 decimal separator in text files.
15243 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15245 * trans.C (process): Fix the keymap bug.
15247 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15249 * LaTeX.C (scanAuxFiles): New method. Provides support for
15250 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15251 (scanLogFile) Scan for "run BibTeX" messages.
15253 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15254 OT1 font encoding. Also, load the aecompl package if the ae
15257 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15259 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * texrow.C (increasePos): turn two error messages into debug
15264 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15266 * LaTeX.C (scanAux): Handle the \@input macro.
15267 (runBibTeX): Use scanAux().
15269 * language.C (latex_options_): New field.
15271 * LaTeXFeatures.C (getMacros): Add language macros.
15273 * buffer.C (makeLaTeXFile): Small fix.
15275 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15277 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15279 * text2.C: add a using directive.
15281 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15286 * lyxfunc.C: kill LyXBell.
15288 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15290 * text.C (IsBoundary): Remove the error message
15292 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15294 * lyxrc.C (setDefaults): Correct initialization value for
15297 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15299 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15302 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15303 and GotoNextNote().
15305 * src/LyXAction.C: Added reference-next.
15307 * text.C (InsertChar): Use contains instead of strchr.
15309 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15311 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15313 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15314 alignment commands (when needed).
15316 * text.C (InsertChar): Add ':' to number separator chars.