2 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
4 * BufferView.C (setCursor, putSelectionAt): call edit to open the
5 insets where we are putting the cursor.
6 * ControlSpellchecker.C (isLetter, nextWord): check for inTextEd,
9 2004-03-31 Angus Leeming <leeming@lyx.org>
12 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
14 * lyxrc.[Ch] (read, write): overloaded member functions taking
15 a std::[io]stream arguments.
17 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
19 2004-03-31 Angus Leeming <leeming@lyx.org>
21 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
22 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
24 * lyxtextclass.C (load): if the text class couldn't be loaded, then
25 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
27 2004-03-31 Angus Leeming <leeming@lyx.org>
29 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
30 the LFUN_ALL_INSETS_TOGGLE code.
32 2004-03-30 Angus Leeming <leeming@lyx.org>
34 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
35 has died. Fall through to the generic Dialogs::show("document").
37 2004-03-30 Angus Leeming <leeming@lyx.org>
40 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
41 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
43 * lyxfunc.C (getStatus, dispatch): define the actions for these
44 lfuns. Little more than a cut and pste job from ControlDocument.C
46 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
48 2004-03-30 Angus Leeming <leeming@lyx.org>
51 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
52 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
54 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
55 open/closed state of ollapsable insets. Usage:
57 all-inset-toggle <state> <name>, where
58 <state> == "open" || "closed" || "toggle" and
59 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
61 * lyxtext.h, text2.C (toggleInset): removed.
63 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
64 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
65 now passes LFUN_INSET_TOGGLE to the found inset.
67 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
68 is now invoked as "all-insets-toggle toggle branch".
70 2004-03-30 Angus Leeming <leeming@lyx.org>
74 * pariterator.[Ch]: added/corrected header blurb.
76 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
78 * dociterator.[Ch]: add an inset_ member
79 (backwardPos): implemented
80 (backwardPos, forwardPos): use inset_ when the stack is empty.
81 (doc_iterator_begin, doc_iterator_end): implemented
82 * pariterator.[Ch]: adjust, add begin, end
83 * insetiterator.[Ch]: adjust, add begin, end
88 * CutAndPaste.C: adjust
90 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
92 * buffer.C: increment file format to 232.
93 * LaTeXFeatures.C: add bibtopic package.
94 * bufferparams.[Ch]: param \use_bibtopic.
96 * lyxrc.[Ch]: add lyxrc bibtex_command
97 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
99 * buffer.C: increment file format to 231.
101 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
103 * dociterator.C: implement forwardPar
104 * iterators.[Ch]: remove, replaced by
105 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
107 * BufferView_pimpl.C:
110 * bufferview_funcs.C:
116 * Makefile.am: adjust
118 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
120 * CutAndPaste.C (pasteSelection): fix 2 crashes
121 (eraseSelection): fix a crash
122 * paragraph_funcs.C: remove a warning
124 2004-03-28 Angus Leeming <leeming@lyx.org>
127 * LyXAction.C (init): new LFUN_PRINT.
129 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
131 2004-03-27 Angus Leeming <leeming@lyx.org>
134 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
136 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
138 2004-03-27 Angus Leeming <leeming@lyx.org>
140 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
141 insetlist always contains non-null pointers to insets.
143 2004-03-26 Angus Leeming <leeming@lyx.org>
145 * src/BufferView_pimpl.C:
149 * src/output_plaintext.C:
150 * src/outputparams.h:
151 * src/paragraph_funcs.C:
155 * src/frontends/controllers/ControlErrorList.C:
156 * src/frontends/gtk/FileDialogPrivate.C:
157 * src/frontends/gtk/GPainter.C:
158 * src/frontends/gtk/GToolbar.C:
159 * src/frontends/qt2/QRef.C:
160 * src/mathed/math_scriptinset.C: squash compiler warnings.
162 2004-03-26 Angus Leeming <leeming@lyx.org>
164 * ispell.C (LaunchIspell::start):
165 * lyx_cb.C (AutoSaveBuffer::start):
166 invoke run(DontWait) rather than runNonBlocking().
168 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
170 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
172 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
174 * kbsequence.C (print): adjust
176 * kbmap.C (printKeySym): rename and change signature
177 (printKey): use LyXKeySym::print()
179 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
181 * undo.C: add using std::advance to compile for stlport
183 2004-03-24 Angus Leeming <leeming@lyx.org>
185 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
186 it leads to a crash when no buffer is present.
188 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 Martin Vermeer <martin.vermeer@hut.fi>
191 * lyxfunc.C (dispatch):
192 * bufferparams.C (readToken): use the new LColor::setColor
194 * LColor.[Ch] (setColor): new version that takes two strings as
195 argument and creates a new color entry if necessary
197 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
199 * buffer.C (makeLaTeXFile): if the main latex file that is
200 processed is usually a subdocument of some master, then pretend
201 for a while that it is actually the master
203 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
205 * buffer.C (getLabelList):
206 (getBibkeyList): use getMasterBuffer()
207 (getMasterBuffer): new method. Returns the main document in the
208 case where one is using included documents.
210 2004-03-25 André Pönitz <poenitz@gmx.net>
214 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
216 * ParagraphList_fwd.h: change ParagraphList to a std::vector
218 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
219 text*.C over here. Rename namespace CutAndPaste to lyx::cap
221 * ParameterStruct.h: merge with ParagraphParameters
223 * lyxtext.h: remove LyXText::parOffset() and getPar()
225 * text3.C: Remove all 'manual' update calls. We do now one per user
226 interaction which is completely sufficient.
230 * BufferView_pimpl.C:
233 * ParagraphParameters.[Ch]:
245 * output_docbook.[Ch]:
247 * output_linuxdoc.[Ch]:
248 * output_plaintext.[Ch]:
250 * paragraph_funcs.[Ch]:
251 * paragraph_pimpl.[Ch]:
259 * frontends/controllers/ControlDocument.C:
260 * frontends/controllers/ControlErrorList.C:
261 * frontends/controllers/ControlSpellchecker.C:
264 * insets/insetbase.h:
265 * insets/insetbibitem.C:
267 * insets/insetbranch.C:
268 * insets/insetcaption.C:
269 * insets/insetcharstyle.C:
270 * insets/insetcharstyle.h:
271 * insets/insetcollapsable.C:
272 * insets/insetcollapsable.h:
274 * insets/insetfloat.C:
275 * insets/insetfoot.C:
276 * insets/insetmarginal.C:
277 * insets/insetnote.C:
278 * insets/insetoptarg.C:
279 * insets/insettabular.C:
280 * insets/insettext.C:
281 * insets/insettext.h:
282 * insets/insetwrap.C:
283 * mathed/math_mboxinset.C:
284 * mathed/math_nestinset.C:
285 * mathed/math_scriptinset.C:
286 * mathed/math_scriptinset.h:
289 2004-03-24 Angus Leeming <leeming@lyx.org>
291 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
292 deal with any child processes that have finished but are waiting to
293 communicate this fact to the rest of LyX.
295 2004-03-24 Angus Leeming <leeming@lyx.org>
297 64-bit compile fixes.
299 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
300 (c-tor): pass lyx::pos_types rather than ints.
302 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
305 * text.C (Delete): compile fix.
306 (getPar): ensure that function declaration is the same as that in
309 2004-03-23 Angus Leeming <leeming@lyx.org>
311 * ispell.C (LaunchIspell):
312 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
313 a boost::shred_ptr rather than a std::auto_ptr.
315 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
317 * lyxfunc.C (getStatus): handle read-only buffers correctly;
318 handle LFUN_FILE_INSERT_*
320 * lyxrc.C (setDefaults, getDescription, output, read):
321 * lyxrc.h: remove ps_command
323 2004-03-22 Angus Leeming <leeming@lyx.org>
325 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
326 Ensure that error_handler is processed once only and that all data
327 is saved before attempting to output any warning messages.
329 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
331 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
333 * tabular.C (TeXRow): crash fix (from Kayvan and André)
335 2004-03-19 André Pönitz <poenitz@gmx.net>
337 * cursor.[Ch] (reset): take main text inset as argument
340 * BufferView_pimpl.C: adjust
342 * paragraph.[Ch]: fix completely broken operator=()
344 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * LColor.C (getFromLyXName): make sure that the color name is used
349 2004-03-17 Angus Leeming <leeming@lyx.org>
352 * LyXAction.C (init): remove LFUN_FORKS_KILL.
354 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
355 dialog and to kill a forked process.
357 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
359 * text2.C (setCursorFromCoordinates): fix font problem
361 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
363 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
364 bogus "rebuild cursor" code
366 2004-03-11 André Pönitz <poenitz@gmx.net>
368 * buffer.[Ch]: use InsetText instead of LyXText as container for
371 * dociterator.[Ch]: drop the BufferView * member which is not needed
372 anymore after the change to buffer.C
378 * BufferView_pimpl.[Ch]:
380 * cursor_slice.[Ch]: adjust
382 * text3.C: fix bug in mathDispatch
384 2004-03-08 André Pönitz <poenitz@gmx.net>
386 * undo.[Ch]: use 'StableDocumentIterator' as base for
389 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
392 * bufferparams.[Ch]: add jurabib support and param.
394 * LaTeX.C: add FIXME/comment.
396 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
398 * buffer.C: increment file format to 230.
400 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
402 * cursor.C (dispatch): avoid infinite loops
404 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
406 * rowpainter.C (paintSelection): fix x coordinates
408 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
410 * text.C (rowBreakPoint): fix breaking before displayed insets
412 2004-03-01 André Pönitz <poenitz@gmx.net>
414 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
416 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
420 * BufferView_pimpl.C:
428 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
434 * BufferView_pimpl.C: rename textwidth -> maxwidth,
435 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
437 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
439 * Bidi.[Ch] (computeTables): const correctness
440 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
441 fill_hfill, fill_label_hfill and x from Row
442 * lyxtext.h: prepareToPrint returns a RowMetrics
443 * rowPainter.C: adjust
444 * text.C (prepareToPrint): use width, not textWidth. adjust
445 (redoParagraphInternal, cursorX): adjust
446 * text2.C (getColumnNearX): adjust
447 (init): put a default value to the top LyXText::width
449 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
451 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
453 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
455 * lyxtext.h: add FontIterator class
457 * text.C (FontIterator, operator*, operator->, operator++): add
458 (rowBreakPoint, setRowWidth): adjust (fixing a
461 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
463 * BufferView_pimpl.C (workAreaDispatch): allow also
464 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
466 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
468 * text.C (rowBreakPoint): fix a bug showing with very large insets
470 2004-02-25 André Pönitz <poenitz@gmx.net>
473 * cursor.[Ch]: move some mathed specific code to mathed
475 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
477 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
478 use_tempdir in preferences
479 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
481 * lyx_main.C: ensure that tempdir is valid
482 * lyxlex.h: correct typo
483 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
484 * paragraph.[Ch] (isMultiLingual): make const
485 * cursor.[Ch] (openable): make const
487 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
489 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
491 2004-02-20 André Pönitz <poenitz@gmx.net>
493 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
495 * cursor.[Ch]: prepare for localized getStatus()
501 * text3.C: streamlines the LyXText cursor movement handlers a bit.
503 2004-02-20 André Pönitz <poenitz@gmx.net>
505 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
507 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
509 * text2.C (setCursorFromCoordinates): switch to absolute coords
512 * text3.C (dispatch): adjust
514 2004-02-16 André Pönitz <poenitz@gmx.net>
516 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
519 * cursor_slice.[Ch]: remove unneeded acessor function
521 * lyxtext.h: rename rtl() to isRTL()
529 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
531 * rowpainter.C (paintSelection): coord fix
533 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
535 * Spacing.C: compile fix
537 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
539 * cursor.C (dispatch): restore current_ before returning
541 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
543 * text2.C (cursorUp, cursorDown): fix coords
546 2004-02-12 André Pönitz <poenitz@gmx.net>
551 * text3.C: add LCursor & parameter to most cursor movement functions
552 remove usage of LyXText::cursorRow() and cursorPar()
554 * cursor.[Ch]: add textRow() needed members
557 * BufferView_pimpl.C:
560 * BufferView_pimpl.C: adjust
562 2004-02-11 André Pönitz <poenitz@gmx.net>
566 * BufferView_pimpl.C: shift undo/redo handling
568 * cursor.[Ch]: fix mathed crash
571 * lyxtext.h: move selectionAsText to LCursor
579 * rowpainter.C: fix excessive drawing
581 2004-02-06 André Pönitz <poenitz@gmx.net>
584 * BufferView_pimpl.[Ch]:
585 * text3.C: move some text specific LFUN handling
587 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
589 * text3.C (checkInsetHit): adjust coords
590 * text2.C (getColumnNearX): adjust coords
591 (edit): adjust coords
592 * text.C (getRowNearY): add two asserts
594 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
597 * format.C: add using std::distance to compile on gcc 2.95/stlport
599 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
601 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
603 2004-02-04 André Pönitz <poenitz@gmx.net>
605 * BufferView.[Ch] (insertInset):
606 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
611 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
613 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
614 on the default clause of the switch
615 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
616 wasn't catched by LCursor::dispatch
618 2004-02-03 André Pönitz <poenitz@gmx.net>
621 * cursor.[Ch]: some additional asserts
623 * undo.[Ch]: remove LyXText dependency in interface
627 * lyxtext.h (firstPar, lastPar): remove dead functions
632 * paragraph.[Ch]: adjust
634 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
636 * lyxfind.C (find): fix argument order in call to ::find
638 2004-02-02 André Pönitz <poenitz@gmx.net>
640 * cursor.[Ch]: remove direct access to anchor
642 * text.C: remove findText() hack
644 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
646 * iterators.[Ch] (lockPath): remove in favour of...
647 * BufferView.[Ch] (setCursor): this addition
648 * BufferView.C (putSelectionAt): adjust
649 * undo.C (performUndoOrRedo): adjust
650 * lyxfunc.C (dispatch): adjust
652 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
654 * iterators.C (lockPath): add a missing slice
655 * undo.C (performUndoOrRedo): remove redundant positioning code
657 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
659 * vc-backend.C (scanMaster): ";" -> ';'
661 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
663 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
666 * lyxtextclass.C (compare_name): rename to...
667 (LayoutNamesEqual): ...this
669 * lyxlex_pimpl.C (compare_tags): inherit from
670 std::binary_function, put back into anon namespace
672 * lyxfind.C (MatchString): inherig from std::binary_function
673 (findChange): use empty() istead of !size()
675 * format.C (FormatNamesEqual): new functor
682 * converter.C (compare_Converter): rename to...
683 (ConverterEqual): ...this, and fixup a bit.
684 (getConverter): use it, and make function const
685 (getNumber): use it, and make function const
689 * bufferlist.C: add using boost::bind
691 * MenuBackend.C (MenuNamesEqual): new functor
692 (hasMenu): use it, and make function const
693 (hasSubmenu): use nested bind to get rid of compare_memfun.
695 2004-01-30 André Pönitz <poenitz@gmx.net>
697 * BufferView_pimpl.C:
708 * text3.C: move some of the edit(x,y) handling to the insets
709 some coordinate changes.
711 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
713 * text.C: add using statements for std::advance and std::distance
715 * paragraph.C: add using statement for std::distance
717 * lyxfind.C: add using statement for std::advance
719 * cursor.C (region): remove std:: from swap
720 (openable): use nucleus in stead of operator->
722 * BufferView.C: add using statements for std::distance and std::swap
724 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
726 * iterators.C: Remove the pimple, move the needed structures to
727 the header file. Create accessor for the positions stack.
728 (asPosIterator): remove function
730 * PosIterator.C (PosIterator): move constructors to top of file
731 (PosIterator): reimplement the constructor taking a ParIterator in
733 (setFrom): new function
734 (operator!=): inline it
736 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
738 * lyxfind.C (replaceAll): use std::advance
740 * iterators.h: inherit from std::iterator.
742 * PosIterator.C (advance, distance): remove
743 * PosIterator.h: interit from std::iterator.
745 2004-01-26 André Pönitz <poenitz@gmx.net>
748 * BufferView_pimpl.[Ch]:
752 * bufferview_funcs.C:
763 * output_plaintext.C:
765 * paragraph_funcs.[Ch]:
766 * paragraph_pimpl.[Ch]:
772 * text3.C: more IU: dumps most of the rest of the mathcursor
773 implementation into cursor.[Ch]; "globalize" a bit of it.
775 2004-01-25 Angus Leeming <leeming@lyx.org>
777 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
779 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
781 * LaTeXFeatures.h: add nice_ and nice() const
782 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
784 2004-01-20 André Pönitz <poenitz@gmx.net>
787 * BufferView_pimpl.C:
789 * bufferview_funcs.C:
802 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
803 LCursor and mathcursor parts to LCursor and InsetBase.
805 2004-01-15 André Pönitz <poenitz@gmx.net>
807 * cursor_slice.[Ch]: add a few covienience functions
809 * funcrequest.[Ch]: remove BufferView * member
811 * BufferView_pimpl.C:
818 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
820 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
822 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
823 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
825 2004-01-13 André Pönitz <poenitz@gmx.net>
828 * lyxtext.h: hide cursor and selection anchor behind accessor function
831 * BufferView_pimpl.[Ch]:
833 * bufferview_funcs.C:
843 * cursor_slice.[Ch]: some integer type changes for inset unification
845 * lyxcursor.[hC]: remove, it's CursorSlice now.
848 * BufferView_pimpl.[Ch]:
849 * bufferview_funcs.C:
855 * textcursor.[Ch]: adjust
857 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
859 * text2.C (undoSpan): add and use
860 * text.C (breakParagraph): use undoSpan (fix bug 578)
863 2004-01-08 Angus Leeming <leeming@lyx.org>
865 * BufferView_pimpl.C (MenuInsertLyXFile):
866 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
867 * lyxfunc.C (menuNew, open, doImport):
868 FileFilterList change to the FileDialog open and save functions.
870 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
872 * ShareContainer.h: make isEqual and isUnique adaptable
874 * CutAndPaste.C: make resetOwnerAndChanges adaptable
876 2004-01-07 Angus Leeming <leeming@lyx.org>
879 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
881 * BufferView_pimpl.C (dispatch): act on these LFUNs.
883 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
884 functions replacing find, replace and replaceAll.
886 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
887 LFUN_WORDFIND(FORWARD|BACKWARD).
889 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
891 * text.C (breakParagraph): remove an outdated #warning
893 2004-01-07 André Pönitz <poenitz@gmx.net>
895 * lyxfind.C: somewhat clearer logic
897 * text.C: prevent crash in cursorX on unitialized row cache
899 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
901 * lyxcursor.[Ch] (operator>): add
902 * textcursor.C (selStart, selEnd): use std::min and std::max
904 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
906 * Chktex.C: include boost/format.hpp
908 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
910 * InsetList.C: replace functor MathcIt with adaptable functor
912 (insetIterator): modify accordingly
914 * BranchList.h: move the BranchNamesEqual functor here from...
915 * BranchList.C: ... to here
917 * BranchList.C: new BranchListEqual fuctor, use it. Remove
919 (add): replace a finding loop with std::find_if.
921 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
923 * output_docbook.C: moving LatexParam functionality into
926 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
928 * buffer.C: increment format to 229.
930 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
933 * lyx_sty.[Ch]: remove minipageindent_def
939 * text3.C: remove LFUN_INSET_MINIPAGE
941 2003-12-28 Angus Leeming <leeming@lyx.org>
943 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
945 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
947 * text2.C (setParagraph): fix off-by-one crash
949 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
951 * output_docbook.C: header stuff for AGU
953 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
955 * text2.C (redoCursor): remove
958 * BufferView_pimpl.C: remove calls to redoCursor and
959 setCursor(cursor.par(), cursor.pos()) all around
961 2003-12-15 Angus Leeming <leeming@lyx.org>
963 * buffer.C: up the format to 228.
965 2003-12-15 André Pönitz <poenitz@gmx.net>
967 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
972 * BufferView_pimpl.C:
981 2003-12-15 Angus Leeming <leeming@lyx.org>
983 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
984 than getFromGUIName to manipulate the color.
986 2003-12-14 Angus Leeming <leeming@lyx.org>
988 * BranchList.[Ch]: minimize the API.
989 (Branch::getBranch, getColor): now return a 'const &'.
990 (Branch::setSelected) now returns a bool set to true if the
991 selection status changes.
992 (BranchList::clear, size, getColor, setColor, setSelected,
993 allBranches, allSelected, separator): removed.
994 (BranchList::find): new functions, returning the Branch with
996 (BranchList::add, remove): return a bool indicating that
997 the operation was successful.
999 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1000 new InsetBranch::isBranchSlected member function.
1002 * LColor.[Ch]: mimimize the API.
1003 (fill): renamed as addColor and made private.
1004 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1005 versions of these functions taking a string arg have been removed.
1007 * bufferparams.C (readToken):
1008 * lyxfunc.C (dispatch):
1009 * lyxrc.C (read): changes due to the altered BranchList and
1012 * factory.C (createInset, readInset): changes due to altered
1015 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1018 * lyxfunc.C: remove insetminipage. "minipage-insert"
1019 now produces a frameless minipage box inset.
1021 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1023 * textcursor.[Ch] (selStart,selEnd): add new methods
1024 remove selection::start, end, use LyXCursor::operator<
1025 * lyxcursor.[Ch] (operator<): add
1026 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1027 * BufferView.[Ch] (unsetXSel): add
1028 * text2.C (clearSelection): use unsetXSel,adjust
1031 * rowpainter.C: adjust
1032 * bufferview_funcs.C (put_selection_at): adjust
1034 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1036 * BufferView_pimpl.C: small coord. correction
1038 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1040 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1041 dragging over the splash screen.
1043 2003-12-11 Angus Leeming <leeming@lyx.org>
1045 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1046 as it is now handled in LyXText::dispatch.
1048 * text3.C (doInsertInset): remove a level of nesting.
1050 2003-12-11 Angus Leeming <leeming@lyx.org>
1052 * factory.C (createInset): changes due to the changed interface to
1053 InsetCommandMailer::string2params.
1055 2003-12-10 Angus Leeming <leeming@lyx.org>
1057 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1058 'dialog-show-new-inset <inset name>'
1060 2003-12-10 Angus Leeming <leeming@lyx.org>
1062 * buffer.C: up the format to 227.
1064 * factory.C: the box inset is now identified simply by 'Box'.
1066 2003-12-10 Angus Leeming <leeming@lyx.org>
1068 * buffer.C: up the format to 226.
1070 * factory.C: the note inset is now identified simply by 'Note'.
1072 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1074 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1075 when a pit is enough. Standarize a couple of loops.
1077 2003-12-05 Angus Leeming <leeming@lyx.org>
1079 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1080 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1081 data to the re-worked "log" dialog.
1083 2003-12-03 André Pönitz <poenitz@gmx.net>
1089 * paragraph_funcs.C:
1091 * text2.C: use Inset::getText instead of Inset::getParagraph
1093 2003-12-03 André Pönitz <poenitz@gmx.net>
1097 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1098 InsetText::read() as LyXText::read()
1100 2003-12-02 Angus Leeming <leeming@lyx.org>
1102 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1103 type. Add a comment in the implementation that the function uses
1104 the stream's bad() function rather than fail() as the std::streams
1107 2003-12-02 André Pönitz <poenitz@gmx.net>
1109 * lyxlex.[Ch]: make interface more similar to std::stream
1111 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1113 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1115 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1117 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1119 * vspace.[Ch]: remove VSpace::NONE
1121 2003-12-01 André Pönitz <poenitz@gmx.net>
1124 * lyxtext.h: move ParagraphList member to LyXText
1125 rename LyXText::ownerParagraphs to LyXText::paragraph
1128 * bufferview_funcs.C:
1138 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1140 * undo.C: fix cursor positioning
1142 2003-12-01 John Levon <levon@movementarian.org>
1144 * BufferView_pimpl.C: fix a crash on exit with
1147 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1149 * BranchList.C: fix setSelected() method.
1151 2003-11-28 André Pönitz <poenitz@gmx.net>
1153 * ParagraphParameters.[Ch]:
1154 * ParameterStruct.h: remove space above/below from Paragraph to
1157 * BufferView_pimpl.C:
1163 * paragraph_funcs.C:
1169 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1171 * factory.C: Syntax change for CharStyles
1173 2003-11-28 André Pönitz <poenitz@gmx.net>
1178 * buffer.[Ch]: move LyXText member
1180 2003-11-28 André Pönitz <poenitz@gmx.net>
1182 * BufferView.[Ch]: make LyXText * text a private member
1184 * BufferView_pimpl.C:
1195 * output_plaintext.C: cleanup
1197 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1200 * lyxtextclass.[Ch]: parametrize SGML document header
1202 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1205 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1208 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1210 * text2.C (setFont): rework using PosIterator (no more recursive)
1211 (setCharFont): no more needed
1212 (setLayout): no more selection cursors fiddling (done by redoCursor)
1213 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1214 destroy remaining ones)
1216 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1218 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1220 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1223 * text3.C: adjust + re-allow multi par depth changes
1224 * textcursor.C: simplify a bit
1226 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1232 * src/output_docbook.C:
1233 * src/output_latex.C:
1238 * src/text2.C: Introducing a number of tags parametrizing various
1239 XML formats that we may want to support
1241 2003-11-25 André Pönitz <poenitz@gmx.net>
1243 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1245 * lyxtext.h (leftMargin/rightMargin): simplify interface
1252 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1254 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1255 master file to any child files. Fixes bug 546.
1257 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1259 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1261 2003-11-24 André Pönitz <poenitz@gmx.net>
1263 * rowpainter.C: simplification
1265 * text2.C (updateCounters): remove call to redoParagraph on
1266 changed labels as this is far too expensive.
1268 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1270 * converter.C (convert): fix a crash: this function gets
1271 called with buffer == 0 from importer code.
1273 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1275 * text3.C (cursorPrevious): make sure that we do not compare
1276 iterators form different containers.
1279 * rowpainter.C (paintSelection): make sure that we do not compare
1280 iterators from different containers.
1282 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1283 iterators from different ParagraphList containers.
1286 * text2.C (LyXText): change order of initialization slightly
1287 (operator=): new function. copy all variables except cache_par_
1288 (moveUp): make sure that we do not compare iterators from
1289 different ParagraphList constainers.
1292 * text.C (firstPar): new function
1293 (lastPar): new function
1294 (endPar): new function
1296 * lyxtext.h: move things around and group public functions, public
1297 variables, private functions, private variables
1299 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1301 * factory.C: change call to InsetERT constructor to avoid
1302 additional invocation of method status
1303 * text2.C (toggleInset): remove redundant update() call
1304 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1305 instead of a Bufferview pointer
1307 2003-11-21 André Pönitz <poenitz@gmx.net>
1309 * rowpainter.C: simplification
1311 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1313 * text3.C (dispatch): make possible to extend a word/row selection
1316 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1318 * lyxtext.h: x0_,y0_ -> xo_,yo_
1319 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1320 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1321 * rowpainter.C (paintRows): paint full paragraphs
1323 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1325 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1328 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1330 * lyxtext.h: add x0_, y0_
1331 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1332 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1334 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1336 * text2.C (setCursorIntern): move the x_target update here *
1337 * text3.C: change some bv() to true/false in calls to
1338 cursorUp/Down/Right/Left
1339 * cursor.C: use helper function.
1341 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1343 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1344 * paragraph_funcs.[Ch]: correct comment
1345 * rowpainter.C: do not paint selections away from bv->cursor()
1346 Fix a long standing selection painting bug.
1347 * text3.C: generalize mouse-selection code to LyXTexts other that
1349 * textcursor.C: do not use y coords if we can use par offsets
1351 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1353 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1354 cursor position after e.g. inset insert)
1356 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1358 * lyxfind.C (replace): adjust to locking removal + some
1361 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1363 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1366 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1369 * output_docbook.C: XML sanitation: new layout
1370 parameters InnerTag and CommandDepth
1372 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1374 * BufferView_pimpl.C:
1376 * text3.C: Fix the insertion and modification of button-style
1379 2003-11-13 André Pönitz <poenitz@gmx.net>
1381 * InsetList.[Ch]: remove deleteLyXText
1383 * paragraph.[Ch]: cache beginOfBody position
1388 * text3.C: remove superfluous update() calls
1392 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1394 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1395 * BufferView.C (fitLockedInsetCursor): remove
1396 * cursor.[Ch] (getDim): add
1397 * text.C (getRowNearY): add faster version
1398 * text3.C: remove some update calls
1400 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1412 * text3.C: The Character Style /XML short element patch.
1414 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1417 * factory.C: Small step to solving 'unable to insert some insets'
1420 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1422 * cursor.[Ch] (updatePos): new function for updating the y
1423 position of the tip inset
1424 * bufferview_funcs.C (put_selection_at):
1425 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1427 2003-11-11 André Pönitz <poenitz@gmx.net>
1429 * text.C: remove big comment on invalid Paragraph pointers as it is
1432 2003-11-11 André Pönitz <poenitz@gmx.net>
1434 * text_funcs.[Ch]: merge with ...
1442 * Makefile.am: remove text_funcs.[Ch]
1444 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1446 * cursor.C (getPos): return absolute cached y coord
1448 * BufferView_pimpl.C (fitCursor): new simplistic code
1449 (workAreaDispatch): add a fitCursor call
1451 2003-11-10 André Pönitz <poenitz@gmx.net>
1454 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1456 2003-11-10 André Pönitz <poenitz@gmx.net>
1458 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1459 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1460 indicate that the cursor needs to leave an inset
1462 * lyxtext.h: remove inset locking
1464 * cursor.[Ch]: re-implement functionality provided by inset locking
1467 * BufferView_pimpl.[Ch]:
1469 * bufferview_funcs.[Ch]:
1481 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1483 * PosIterator.[Ch]: replace the stack with a vector, add inset
1485 * iterators.[C]: adjust
1487 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1489 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1491 * paragraph_funcs.C (readParToken): put the correct id in the
1492 error item, not the id of the top paragraph
1494 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1496 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1497 * bufferview_funcs.C (put_selection_at): use the above
1499 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1501 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1503 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1505 * output_linuxdoc.h:
1506 * output_plaintext.h:
1508 * output_docbook.h: add #include statements
1510 2003-11-05 José Matos <jamatos@lyx.org>
1512 * output_docbook.[Ch]:
1513 * output_latex.[Ch]:
1514 * output_linuxdoc.[Ch]:
1515 * output_plaintext.[Ch]: New files for output formats.
1516 * output.[Ch]: New file for helper functions.
1519 * paragraph_funcs.[Ch]: output functions moved to new files.
1521 * outputparams.h: rename of latexrunparams.h
1529 * paragraph_funcs.[Ch]:
1530 * paragraph_pimpl.[Ch]:
1531 * tabular.[Ch]: rename ascii to plaintext
1532 and LatexRunParams to OutputParams.
1534 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1536 * iterators.[Ch] (text): require bv argument
1537 * undo.C (recordUndo):
1538 * lyxfunc.C (dispatch):
1539 * bufferview_funcs.C (put_selection_at): adjust
1541 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1543 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1545 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1547 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1550 2003-11-04 André Pönitz <poenitz@gmx.net>
1552 * cursor.[Ch]: restructure
1555 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1557 * iterators.[Ch] (asCursor): remove
1559 * lfuns.h: remove LFUN_INSET_EDIT
1565 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1567 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1569 * lyxfind.[Ch]: complete overhaul
1570 * BufferView_pimpl.C:
1572 * paragraph.[Ch] (insert): add
1574 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1578 * text.C: remove dead spellcheck code
1580 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * dispatchresult.h: add a val setter
1584 * cursor.C (dispatch): use a tempvar for data_[i]
1586 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1588 * PosIterator.[Ch]: compile fix
1590 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1592 * text.C (cursorPar): deactivate the cursor cache
1594 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1596 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1598 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * text3.C (dispatch): adjust for new DisptchResult semantics.
1602 * lyxfunc.C (dispatch): handle update when return from
1603 Cursor::dispatch, adjust for new DispatchResult semantics.
1605 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1606 DispatchResult(true) mean to not update. Add class functions for
1607 setting dispatched and update, as well as reading.
1609 * cursor.C (dispatch): don't handle update here
1611 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1613 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1614 * trans_mgr.C: adjust
1616 * paragraph_funcs.C (readParToken): exception safety
1618 * lyxvc.h: store the vcs pointer in a scoped_ptr
1621 * lyxsocket.C (serverCallback): exception safety
1623 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1625 * ispell.C (clone): make it return a auto_ptr
1627 * factory.C (createInset): exception safety
1628 (readInset): exception safety
1630 * bufferlist.C (newBuffer): exception safety
1632 * Thesaurus.C (Thesaurus): use initialization for aik_
1634 * MenuBackend.C (expandToc): exception safety.
1636 2003-11-03 André Pönitz <poenitz@gmx.net>
1640 * bufferview_funcs.C: remove getInsetFromId()
1643 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1649 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1651 * PosIterator.C (distance, advance): new
1652 * bufferview_funcs.[Ch] (put_selection_at): new
1653 * iterators.[Ch] (lockPath): new
1655 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1657 * iterators.[Ch] (asPosIterator): added
1658 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1659 * PosIterator.[Ch]: added
1661 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1665 * cursor.C (dispatch):
1666 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1668 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1669 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1670 contructor, add a class function dispatched. Remove operator>=
1672 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * debug.C: only use the default constructor for debugstream
1677 * main.C (main): include debug.h and setup the lyxerr streambuf
1680 2003-10-31 José Matos <jamatos@lyx.org>
1682 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1684 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1685 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1686 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1687 * paragraph_pimpl.C (simpleTeXSpecialC):
1688 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1689 add LatexRunParams argument.
1691 * exporter.C (Export): change call accordingly.
1693 * latexrunparams.h: add new member to take care of the other backends.
1694 2003-10-30 José Matos <jamatos@lyx.org>
1696 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1697 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1698 factorise code for paragraph output.
1700 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1703 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1705 * text3.C (dispatch):
1706 * lyxfunc.C (dispatch):
1707 * cursor.C (dispatch):
1708 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1710 * dispatchresult.h: make the dispatch_result_t ctor explicit
1712 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1715 * buffer.C: small refactoring of docbook stuff
1717 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1719 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1722 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1724 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1725 operator dispatch_result_t, and operators for == != and >=
1727 * cursor.C (dispatch): adjust for operator dispatch_result_t
1728 removal. comment out call to update
1730 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1732 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1743 * dispatchresult.h: new file, DispatchResult broken out of
1746 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1748 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1750 * text.C (rowBreakPoint): put a hack inside #if 0
1752 2003-10-28 André Pönitz <poenitz@gmx.net>
1756 * paragraph_funcs.C:
1759 * text2.C: general cleanup (lots of small stuff)
1761 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1763 * text2.C (cursorEnd): simple fix to the "end key goes to one
1764 before the end on last row" bug
1766 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1768 * text.C (backspace): fix the "zombie characters"
1770 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1772 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1774 2003-10-27 André Pönitz <poenitz@gmx.net>
1776 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1778 * factory.C: handle new InsetPagebreak, InsetLine
1780 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1781 and move handling into new InsetPagebreak, InsetLine
1783 * BufferView_pimpl.C:
1785 * ParagraphParameters.C:
1786 * ParameterStruct.h:
1791 * paragraph_funcs.C:
1792 * paragraph_pimpl.C:
1798 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1801 * lyxrow_funcs.[Ch]:
1807 * text3.C: remove lastPos uses in favour of Row::endpos
1809 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1811 * undo.C (performUndoOrRedo): fix two crashes by setting a
1812 cursor by hand and reordering some calls. Use bv->lockInset instead
1813 of inset->edit because the latter loses cursor information
1815 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1817 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1819 (rowBreakPoint): fix width. change point to point + 1.
1820 Add a missing check.
1822 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1825 * lyxfunc.C: fix (at least partly) the problems
1826 with the Nav menu and headers inside branch insets
1829 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1831 * paragraph.C (getChar): add strong asserts
1833 * lyxrow_funcs.C (lastPos): remove hideous hack
1835 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1836 (fill): adjust to that (avoid an infinite loop)
1838 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1840 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1842 2003-10-23 André Pönitz <poenitz@gmx.net>
1844 * RowList_fwd.h: change list<> to vector<> to gain speed
1845 after suggestion from Alfredo
1847 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1849 * lyxtext.h: move the bidi stuff from here...
1852 * Bidi.[Ch]: ... to here
1854 2003-10-23 André Pönitz <poenitz@gmx.net>
1857 * text.C (isLastRow, isFirstRow): new functions
1859 * paragraph.h: new width cache member
1861 * rowpainter.C: replace RowList::iterator with Row & where possible
1863 * lyxfunc.C: replace several view()->text with a single call
1865 * toc.C: fix 'unused' warning
1867 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1869 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1870 when woring with stream::pos_type
1871 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1873 2003-10-22 André Pönitz <poenitz@gmx.net>
1876 * text.C: use Row & instead of RowList::iterator
1878 * lyxrow.h: rename end() to endpos()
1884 2003-10-22 Angus Leeming <leeming@lyx.org>
1886 * buffer.[Ch] (fully_loaded): new member function, returning true
1887 only when the file has been loaded fully.
1888 Used to prevent the premature generation of previews and by the
1889 citation inset to prevent computation of the natbib-style label.
1891 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1892 templates are all set up.
1894 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1896 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1898 * text.C: fixed an "oops" in the "is a bit silly"
1901 2003-10-21 André Pönitz <poenitz@gmx.net>
1903 * FuncStatus.[Ch]: small stuff, whitespace
1905 * lyxfont.[Ch]: operator<<() for debug reasons
1909 * lyxtext.h: whitespace, spelling
1911 * paragraph.C: naming of variables
1914 * text2.C: small stuff
1917 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1919 * text.C: (1) finish off the inset display() work;
1920 (2) fix the "is a bit silly" bug (accessing char
1923 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1925 * text.C: re-introduce display() for insets, fixing the
1926 various bugs (stretch of line above, math inset
1929 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1931 * text.C (rightMargin): remove spurious semicolon
1933 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1936 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
1938 * text3.C: fix one crash due to wrong cursor def
1940 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * vc-backend.C (scanMaster): make the regex static
1944 * LaTeX.C (scanAuxFile): make the regexs static
1946 * text3.C (doInsertInset, dispatch, dispatch):
1947 * text2.C (cursorUp, cursorDown):
1948 * text.C (selectNextWordToSpellcheck):
1949 * BufferView_pimpl.C (dispatch):
1950 * lyxfunc.C (dispatch): localDispatch -> dispatch
1952 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1954 * lyxsocket.C: include <cerrno>
1956 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1958 * lyxfunc.C (dispatch): remove textcache stuff
1960 * bufferlist.C (release): remove textcache stuff
1963 * TextCache.C: delete file
1964 * TextCache.h: delete file
1966 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1968 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1969 delete of the bv_->text.
1970 (resizeCurrentBuffer): remove texcache stuff
1971 (workAreaResize): ditto
1973 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1975 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1978 2003-10-16 André Pönitz <poenitz@gmx.net>
1985 * text3.C: speed up by storing y positions per paragraph plus per-row
1986 offset instead of having a 'full' y position in the row.
1988 2003-10-15 André Pönitz <poenitz@gmx.net>
1992 * undo.[Ch]: make undo aware of inner insets
1994 2003-10-14 Angus Leeming <leeming@lyx.org>
1996 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1997 static member functions LyX::ref() and LyX::cref.
1998 (lastfiles): new accessor functions for the new lastfiles_ member var.
1999 (addLyXView, views_): add a new LyXView to the list of views_.
2000 (updateInset): loop over all LyXViews to call their own updateInset
2001 member function, returning a pointer to the Buffer owning the inset.
2003 * BufferView_pimpl.C (loadLyXFile):
2004 * MenuBackend.C (expandLastfiles):
2005 * bufferlist.C (MenuWrite, QuitLyX):
2006 lastfiles is no longer a global variable.
2007 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2009 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2010 static function. Access through LyX::cref().emergencyCleanup().
2012 2003-10-14 André Pönitz <poenitz@gmx.net>
2014 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2016 * undo.[Ch]: restoring part of 'undo in insets'
2019 * undo_funcs.[Ch]: merge with undo.[Ch]
2021 * tabular.C: small cleansing stuff
2023 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2025 * paragraph_funcs.C (readParToken): report unknown insets as error
2026 boxes. Use the outer paragraph as location (also for unknown
2029 * factory.C (readInset): do not abort on reading an unknown inset.
2030 Eat it and return 0.
2032 2003-10-13 Angus Leeming <leeming@lyx.org>
2034 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2036 * lyxrc.C: displayTranslator is now a function,
2037 declared in GraphicsTypes.h.
2039 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2041 * format.C: new placeholder $$a to pass the socket address.
2043 * bufferlist.[Ch]: new function getBufferFromTmp.
2045 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2046 files in the temporary dir.
2048 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2050 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2052 * Makefile.am: add lyxsocket.[Ch].
2054 * lyx_main.C (error_handler): handle SIGPIPE.
2056 2003-10-13 André Pönitz <poenitz@gmx.net>
2058 * BufferView_pimpl.C:
2063 * undo_funcs.[Ch]: use paroffset_type instead of
2064 ParagraphList::iterators to prevent multiple conversion
2065 (and get a more robust interface)
2067 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2071 * text3.C (dispatch): ditto
2073 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2076 move the onlyfile, use onlyfile instead of foundfile in a couple
2079 * DepTable.C (update): flush the error stream a bit more
2081 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * lyxserver.C (callback): adjust
2085 * lyxfunc.C (getStatus): add a missing brace in commented code
2086 (ensureBufferClean): reindent
2087 (dispatch): delete version taking a string
2089 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2091 * LaTeX.C (deplog): move found file handlig from here...
2092 (handleFoundFile): .. to new function here.
2093 (deplog): make sure to discover several files mentioned on the
2096 2003-10-10 André Pönitz <poenitz@gmx.net>
2103 * text3.C: fix some of the tabular crashes
2105 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2107 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2109 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2111 2003-10-09 André Pönitz <poenitz@gmx.net>
2113 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2116 * BufferView_pimpl.C:
2117 * bufferview_funcs.C:
2128 * undo_funcs.C: adjust
2130 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * text2.C (incrementItemDepth): new function, use a backtracking
2133 algorithm to discover the correct item depth.
2134 (resetEnumCounterIfNeeded): new function, use a backtracking
2135 algorithm to discover if counter reset is needed.
2136 (setCounter): use them. Simplify a bit. Add different labels for
2137 different item depths for itemize.
2139 * paragraph.C (Paragraph): remove initialization of enumdepth
2142 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2143 enumerate and itemize. Change the type of itemdepth to signed char.
2145 2003-10-08 André Pönitz <poenitz@gmx.net>
2147 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2152 * tabular.[Ch]: fix crash after 'row-insert'
2154 2003-10-08 Angus Leeming <leeming@lyx.org>
2156 Fix doxygen warnings.
2158 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2159 Remove CutAndPaste:: prefix from header file declaration.
2161 * LColor.h (fill): remove LColor:: prefix from declaration.
2163 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2164 use lyx::depth_type rather than Paragraph::depth_type so that
2165 header file and .C file match.
2167 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2169 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2170 * aspell.C: \file aspell_local.C -> \file aspell.C
2171 * gettext.C: \file gettext.C -> \file src/gettext.C
2172 * gettext.h: \file gettext.h -> \file src/gettext.h
2173 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2174 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2175 * text.C: \file text.C -> \file src/text.C
2177 * toc.C: move comment so that doxygen is not confused.
2179 2003-10-07 Angus Leeming <leeming@lyx.org>
2181 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2183 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2186 * aspell_local.h: add forgotten std::string's.
2188 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2195 * text3.C: The Box patch. Fancybox support, minipage, parbox
2197 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2203 * ParagraphParameters.h:
2213 * lyxtextclasslist.h:
2216 * paragraph_pimpl.C:
2217 * textcursor.h: add <string> and other small fixes to make Lars'
2218 std::string patch compile with STLport.
2220 2003-10-06 Angus Leeming <leeming@lyx.org>
2222 * LColor.h: Add missing #include <string>.
2224 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2226 * All most all file in all subdirs: Make <string> be the prefered
2227 way of getting to std::string, add using declarations.
2229 2003-10-06 André Pönitz <poenitz@gmx.net>
2231 * metricsinfo.C: initialize LyXFont before changing attribute.
2232 (fixes the 'math in \emph is upright' bug)
2234 2003-10-06 André Pönitz <poenitz@gmx.net>
2236 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2238 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2241 * paragraph_pimpl.C: Small fixes to build using STLport
2243 2003-10-02 André Pönitz <poenitz@gmx.net>
2246 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2248 2003-10-01 André Pönitz <poenitz@gmx.net>
2250 * factory.C: assert early
2252 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * lyx_main.C: remove the global debug object
2256 * debug.h: adjust for new debugstream
2258 * debug.C: adjust for new debugstream and keep the global debug
2261 2003-09-22 Angus Leeming <leeming@lyx.org>
2263 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2264 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2265 an incomplete class LyXFont.
2267 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2269 * factory.C: bug fix in branches
2271 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2273 * lyxfunc.C (processKeySym): adjust
2275 (dispatch): change arg name from ev to func, adjust
2276 (sendDispatchMessage): ditto
2278 * lyx_main.C (defaultKeyBindings): adjust keybindings
2279 (deadKeyBindings): ditto
2281 * kbsequence.C (addkey): return a FuncRequest
2283 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2285 * kbmap.C (bind): take a FuncRequest as arg, adjust
2288 (defkey): change to take a FuncRequest as arg, adjust
2289 (findbinding): take a FuncRequest as arg, adjust.
2291 * funcrequest.h (operator=): added
2293 * funcrequest.C (FuncRequest): default kb_action changed from
2294 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2296 * buffer.C (dispatch): simplify
2297 (dispatch): adjust to take a FuncRequest as arg, adjust
2299 * boost.C (assertion_failed): change assertion message slightly
2301 * ToolbarBackend.C (read): simplify
2303 * MenuBackend.C (binding): adjust call to findbinding, add a
2304 message if no binding is found.
2306 (expandToc): correct by adding a empty FuncRequest
2308 * LyXAction.C: include <boost/assert.hpp>
2309 (isPseudoAction): delete function
2310 (LookupFunc): change name to...
2311 (lookupFunc): this. change return type to FuncRequest.
2312 (getActionName): take kb_action as arg, simplify
2313 (funcHasFlag): add an assert, simplify.
2315 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2317 * toc.C (action): return a FuncRequest, simplify
2319 * lyxfunc.C (processKeySym): adjust
2320 (getStatus): delete version that takes an int.
2322 (dispatch): delete version that takes action as int
2324 (sendDispatchMessage): simplify and adjust
2326 * funcrequest.C (getArg): take unsigned int as arg
2328 * ToolbarBackend.C (read): adjust
2329 (add): delete version that takes func as a string.
2330 (getIton): take a FuncRequest as arg
2332 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2335 * MenuBackend.C (MenuItem): add a new construct that only takes a
2336 Kind, simplify the constructor use for submenus.
2338 (expandLastfiles): adjust
2339 (expandDocuments): adjust
2340 (expandFormats): adjust
2341 (expandFloatListInsert): adjust
2342 (expandFloatInsert): adjust
2343 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2345 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2346 Remove class variables lyx_pseudo_map and lyx_arg_map
2348 * LyXAction.C (searchActionArg): delete function
2349 (getPseudoAction): delete function
2350 (retrieveActionArg): delete function
2351 (LookupFunc): make it return kb_action, simplify.
2352 (getActionName): simplify
2354 * factory.C (createInset): fix new bug
2356 2003-09-19 Angus Leeming <leeming@lyx.org>
2358 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2359 masterFilename_ parameter in the include inset.
2361 * factory.C (createInset): changes due to the changes to InsetInclude.
2363 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2365 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2367 2003-09-18 Angus Leeming <leeming@lyx.org>
2370 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2371 Inset::fillWithBibKeys.
2372 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2374 2003-09-18 Angus Leeming <leeming@lyx.org>
2376 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2378 (ctor): pass and store a 'Buffer const &'
2379 (buffer): new member function.
2381 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2382 '*this' to the LaTeXFeatures ctor.
2384 2003-09-18 Angus Leeming <leeming@lyx.org>
2390 * text.C: rename EnumLColor as LColor_color.
2392 2003-09-18 Angus Leeming <leeming@lyx.org>
2394 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2395 remove #include "insets/insetbase.h" from cursor.h.
2397 2003-09-18 Angus Leeming <leeming@lyx.org>
2399 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2400 InsetOld_code to remove #include "inset.h".
2402 * iterators.C: add #include "insets/inset.h"
2404 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2406 * BufferView.C: remove more locking stuff that apparently doesn't
2407 do anything sensible.
2409 2003-09-16 André Pönitz <poenitz@gmx.net>
2412 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2415 2003-09-16 Angus Leeming <leeming@lyx.org>
2417 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2419 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2422 * paragraph.h: remove #include "lyxfont.h". Forward declare
2425 2003-09-16 Angus Leeming <leeming@lyx.org>
2427 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2428 of support/textutils.h.
2429 (isWord): move the contents of support/textutils.h's IsWordChar here.
2435 * text2.C: add #include "paragraph.h".
2438 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2440 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2446 * LaTeX.C: use namespace alias for lyx::support::os
2448 2003-09-16 Angus Leeming <leeming@lyx.org>
2451 * bufferview_funcs.C:
2454 * paragraph_pimpl.C:
2456 * text.C: add #include "LColor.h".
2458 2003-09-16 Angus Leeming <leeming@lyx.org>
2460 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2461 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2463 Store the FontBits::color variable as an int rather than as an
2464 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2467 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2468 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2469 string calls together.
2471 * lyxrc.C: add #include "LColor.h".
2473 2003-09-15 Angus Leeming <leeming@lyx.org>
2475 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2478 2003-09-15 Angus Leeming <leeming@lyx.org>
2480 * LColor.h: add an EnumLColor wrapper for LColor::color.
2482 * lyxfont.[Ch] (color, setColor, realColor):
2483 * lyxtext.h, text.C (backgroundColor):
2484 pass EnumLColor args to/from the functions, rather than LColor::color
2488 * lyxtext.h: forward declare EnumLColor.
2490 * lyx_main.C: add #include "LColor.h".
2492 2003-09-15 Angus Leeming <leeming@lyx.org>
2494 * .cvsignore: add lyx-gtk.
2496 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * ParagraphParameters.C
2505 * bufferview_funcs.C
2515 * vc-backend.C: remove usage of STRCONV
2517 2003-09-15 Angus Leeming <leeming@lyx.org>
2519 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2520 explicitly define the color passed to the painter.
2522 2003-09-15 Angus Leeming <leeming@lyx.org>
2524 * bufferparams.C (BufferParams): reorder member initializers to avoid
2527 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2529 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2530 * text.C (updateRowPositions): remove an unusual nop
2532 2003-09-12 André Pönitz <poenitz@gmx.net>
2534 * BufferView_pimpl.C:
2543 * Counters.[Ch]: finish the 'automatic counters' job
2545 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2547 * aspell.C: include <boost/assert.cpp> (compile fix)
2549 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2551 * boost.C (assertion_failed): use lyx::support::abort instead of
2554 2003-09-10 Angus Leeming <leeming@lyx.org>
2556 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2557 with their _fwd progeny.
2559 2003-09-09 Angus Leeming <leeming@lyx.org>
2561 134 files throughtout the source tree: replace 'using namespace abc;'
2562 directives with the appropriate 'using abc::xyz;' declarations.
2564 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2566 * boost.C (emergencyCleanup): moved here from LAssert.c
2567 (assertion_failed): new function, called by BOOST_ASSERT
2569 * several files: change Assert to BOOST_ASSERT
2571 2003-09-09 Angus Leeming <leeming@lyx.org>
2573 * buffer.[Ch]: Add an Impl class and move Buffer's member
2574 variables into it. As a result move several header files out of
2577 Add header files to lots of .C files all over the tree as a result.
2579 2003-09-09 Angus Leeming <leeming@lyx.org>
2581 * buffer.[Ch]: make Buffer's member variables private. Add
2584 Lots of changes all over the tree as a result.
2586 2003-09-08 Angus Leeming <leeming@lyx.org>
2588 * graph.C: #include <config.h>.
2590 2003-09-08 Angus Leeming <leeming@lyx.org>
2594 * BufferView_pimpl.C:
2623 * toc.C: remove redundant using directives.
2625 2003-09-07 Angus Leeming <leeming@lyx.org>
2627 * LaTeXFeatures.h: remove #include "support/types.h".
2628 * ToolbarBackend.h: remove #include <algorithm>.
2629 * changes.h: remove #include <ctime>.
2630 * debug.h: remove #include <iosfwd>.
2631 * graph.h: remove #include "support/std_string.h".
2632 * lyx_main.h: remove #include <csignal>.
2633 * lyxlex_pimpl.h: remove #include <fstream>.
2634 * sgml.h: remove #include <algorithm>, <utility>.
2635 * toc.h: remove #include "support/std_ostream.h".
2636 Add #include <iosfwd>.
2638 2003-09-07 Angus Leeming <leeming@lyx.org>
2640 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2642 * converter.h: forward declare LatexRunParams.
2643 * encoding.h: remove #include "lyxrc.h".
2644 * lyxtext.h: remove #include "LColor.h".
2645 * lyxtextclass.h: remove #include "support/types.h".
2646 * trans.h: remove #include "tex-accent.h".
2647 * trans_mgr.h: remove #include "tex-accent.h".
2648 * insets/inset.h: remove #include "support/types.h", <vector>.
2649 * insets/insetcollapsable.h: remove #include "LColor.h".
2650 * insets/insetinclude.h: remove #include "dimension.h".
2651 * insets/insetlatexaccent.h: remove #include "dimension.h".
2652 * insets/insetoptarg.h:: remove #include "insettext.h".
2653 * insets/insettext.h: remove #include "dimension.h",
2654 <boost/shared_ptr.hpp>
2656 * insets/renderers.h: add #include "dimension.h".
2657 * insets/updatableinset.h: add #include "support/types.h".
2659 * many .C files: Associated changes.
2661 2003-09-06 Angus Leeming <leeming@lyx.org>
2663 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2664 one, inside testInvariant.
2666 * PrinterParams.C: new file.
2667 * PrinterParams.[Ch]: move the function bodies out of line.
2669 2003-09-06 Angus Leeming <leeming@lyx.org>
2671 * ParagraphParameters.h: forward declare ParameterStruct rather than
2672 including its header file.
2673 (depth): moved out-of-line.
2675 2003-09-06 Angus Leeming <leeming@lyx.org>
2677 * BufferView_pimpl.h:
2680 * lyxfunc.h: forward declare LyXKeySym rather than
2681 #include "frontends/LyXKeySym.h".
2683 * BufferView_pimpl.C:
2686 * lyxfunc.C: associated changes.
2688 2003-09-06 Angus Leeming <leeming@lyx.org>
2690 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2691 As a result, can remove the #include "insets/inset.h" from BufferView.h
2693 2003-09-06 Angus Leeming <leeming@lyx.org>
2695 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2696 As a result, can remove the #include "insets/inset.h" from BufferView.h
2698 2003-09-06 Angus Leeming <leeming@lyx.org>
2704 * bufferview_funcs.C:
2705 * BufferView_pimpl.C:
2710 * ParagraphParameters.C:
2715 * frontends/controllers/ControlDocument.C:
2716 * insets/insetcaption.C: rearrange the #includes into some sort of
2719 * buffer.h: remove #includes ErrorList.h, undo.h
2721 2003-09-06 Angus Leeming <leeming@lyx.org>
2723 * support/types.h: add a 'depth_type' typedef, used to store the
2724 nesting depth of a paragraph.
2727 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2728 defining explicitly.
2731 * paragraph_funcs.h:
2732 * ParagraphParameters.h:
2733 * sgml.h: use lyx::depth_type rather than Paragraph or
2734 ParameterStruct's depth_type.
2737 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2740 * BufferView_pimpl.C:
2742 * ParagraphParameters.C:
2745 * bufferview_funcs.C:
2752 * frontends/LyXView.C:
2753 * frontends/controllers/ControlDocument.C:
2754 * frontends/controllers/ControlErrorList.C:
2755 * insets/insetbibitem.C:
2756 * insets/insetbranch.C:
2757 * insets/insetcaption.C:
2758 * insets/insetcollapsable.C:
2759 * insets/insetenv.C:
2760 * insets/insetert.C:
2761 * insets/insetfloat.C:
2762 * insets/insetfoot.C:
2763 * insets/insetfootlike.C:
2764 * insets/insetnewline.C:
2765 * insets/insetquotes.C:
2766 * insets/insettabular.C:
2767 * insets/insettext.C:
2768 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2770 * frontends/controllers/ControlChanges.C: #include "changes.h".
2772 2003-09-06 Angus Leeming <leeming@lyx.org>
2774 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2775 than #including paragraph.h.
2778 * RowList.h: deleted. Superfluous.
2788 * insets/insettext.h: use ParagraphList_fwd.h rather than
2791 * paragraph.h: don't forward declare ParagraphList.
2794 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2795 rather than ParagraphList.h. paragraph.h is still needed for the
2796 Paragraph::depth_type parameters.
2798 * textcursor.h: enable it to compile stand-alone in light of the
2801 * bufferview_funcs.C:
2813 * frontends/controllers/ControlParagraph.C:
2814 * frontends/controllers/ControlTabular.C:
2815 * insets/insetmarginal.C:
2816 * insets/insetminipage.C:
2817 * insets/insetnote.C:
2818 * insets/insetoptarg.C: add header files needed to compile again.
2820 2003-09-06 Angus Leeming <leeming@lyx.org>
2822 * RowList_fwd.h: new file, forward-declaring Row rather than
2823 #including lyxrow.h.
2828 * insets/insettext.h: use it instead of RowList.h
2830 * bufferview_funcs.C:
2837 * text3.C: #include "RowList.h".
2839 2003-09-05 Angus Leeming <leeming@lyx.org>
2841 * factory.C (createInset):
2842 * vspace.C (c-tor): replace sscanf call with an istringstream.
2843 * ispell.C: re-add missing HP/UX headers.
2844 * lyxserver.C: re-add missing os2 headers.
2846 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2855 * text3.C: re-add missing system headers, needed for 2.95.2.
2857 2003-09-05 Angus Leeming <leeming@lyx.org>
2859 Changes most place everywhere due to the removal of using directives
2860 from support/std_sstream.h.
2862 2003-09-05 Angus Leeming <leeming@lyx.org>
2864 Replace LString.h with support/std_string.h,
2865 Lsstream.h with support/std_sstream.h,
2866 support/LIstream.h with support/std_istream.h,
2867 support/LOstream.h with support/std_ostream.h.
2869 Changes resulting throughout the tree.
2871 2003-09-05 Angus Leeming <leeming@lyx.org>
2873 * sgml.h: ensure that the header file can be compiled stand-alone.
2874 * *.C: strip out redundant #includes. (320 in total.)
2876 2003-09-04 Angus Leeming <leeming@lyx.org>
2878 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2879 here (from getPackages).
2881 * debug.[Ch]: add a new EXTERNAL tag.
2883 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2885 * text2.C (cursorEnd): simplify
2887 (getColumnNearX): adjust
2889 * text.C (computeBidiTables): adjust
2892 * rowpainter.C (paintChars): adjust
2893 (paintSelection): adjust
2894 (paintChangeBar): adjust
2897 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2899 (numberOfSeparators): adjust
2901 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2907 * text3.C: Restricts the mouse click functionality
2908 of insets like bibtex, include, toc and floatlist to the visible
2909 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2910 up the dialogs. Cursor has to be in front of the inset (i.e.
2911 start of row) for this to function.
2913 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2915 * bufferview_funcs.C (currentState): output row information
2917 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2919 * bufferview_funcs.C (currentState): output paragraph position
2921 2003-09-04 Angus Leeming <leeming@lyx.org>
2923 * FloatList.h: move out #include "Floating.h".
2924 * LaTeX.h: move out #include "DepTable.h".
2925 * LyXAction.h: move out #include "funcrequest.h".
2926 * buffer.h: move out #include "author.h", "iterators.h".
2927 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2928 * lyx_main.h: move out #include "errorlist.h".
2929 * lyxfunc.h: move out #include "FuncStatus.h".
2930 * lyxtext: move out #include "lyxcursor.h".
2931 * paragraph_pimpl.h: move out #include "counters.h".
2933 2003-09-03 Angus Leeming <leeming@lyx.org>
2935 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2936 preamble_snippets list, enabling us to add snippets to the preamble
2937 only if the snippet was not there already.
2939 2003-09-04 Angus Leeming <leeming@lyx.org>
2941 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2943 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * lyxfunc.C (dispatch): if fitCursor did something be sure to
2948 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2950 * BranchList.C: point fix, earlier forgotten
2952 2003-09-02 Angus Leeming <leeming@lyx.org>
2954 * box.C (contains): renamed from 'contained' after a fantastic
2957 2003-09-02 John Levon <levon@movementarian.org>
2963 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2965 2003-09-02 John Levon <levon@movementarian.org>
2967 * text2.C: simplification of cursorEnd(), including partial
2970 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2972 * buffer.C (readFile): add a space
2974 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
2976 * BufferView_pimpl.C (update): remove bogus fitCursor() call
2978 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * buffer.C (readFile): new function, take a filename and a
2981 ParagraphList::iterator
2983 (readFile): adjust, make it private. don't use setStream, make
2984 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2985 always contain the filename.
2987 * BufferView.C (insertLyXFile): simplify and make it work for
2990 2003-08-30 John Levon <levon@movementarian.org>
2992 * Makefile.am: fix dist (from Kayvan)
2994 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * most files: change to use const Buffer refs
2998 2003-08-27 André Pönitz <poenitz@gmx.net>
3000 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3001 on top of ownerPar().
3003 2003-08-27 John Levon <levon@movementarian.org>
3005 * funcrequest.C: properly initialise POD members
3007 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3009 * lyxtext.h (top_y): move top_y from here
3014 * BufferView_pimpl.[Ch]: to here
3015 * frontends/screen.C:
3016 * insets/insettabular.C:
3017 * insets/insettext.C: adjust
3018 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3020 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3023 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3025 2003-08-26 André Pönitz <poenitz@gmx.net>
3027 * paragraph_func.[Ch] (outerPar): new function
3030 * paragraph_funcs.C:
3031 * paragraph_funcs.h:
3032 * paragraph_pimpl.C:
3033 * text2.C: remove Inset::par_owner
3035 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3040 * text2.C: eliminates the needFullRow/display() stuff
3041 altogether, putting the logic in metrics/draw in the insets.
3043 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3045 * text2.C (redoParagraphInternal, redoParagraphs):
3046 * text.C (redoParagraph): add a call to updateRowPositions at the
3047 end of each 'metrics-like' call. Remove all others.
3048 (getRow): remove the 'y-computing' version.
3049 (getRowNearY): do not compute nor return the real y. Solve the
3050 'y < 0' problem and simplify.
3052 2003-08-22 Angus Leeming <leeming@lyx.org>
3054 * *.[Ch]: clean-up of licence and author blurbs.
3055 Also move config.h out of a few .h files and into a few .C files.
3057 2003-08-22 André Pönitz <poenitz@gmx.net>
3059 * lyxrow.[Ch]: add x_ and *fill_ members
3064 * text2.C: adjust/remove prepareToPrint() calls
3066 2003-08-22 André Pönitz <poenitz@gmx.net>
3068 * lyxrow.[Ch]: add end_ member
3070 * lyxrow_funcs.C: use LyXRow::end_
3072 * lyxtext.h (singleWidth): add LyXFont parameter
3075 * text2.C: adjust LyXText::singleWidth() calls
3077 * text.C (redoParagraph): simplify row breaking logic
3080 2003-08-19 André Pönitz <poenitz@gmx.net>
3082 * funcrequest.C: initialize button_ member
3085 * rowpainter.[Ch]: interface consolidation
3087 2003-08-18 André Pönitz <poenitz@gmx.net>
3090 * BufferView_pimpl.C:
3092 * paragraph_funcs.C:
3094 * text3.C: remove LyXScreen::draw() and fitCursor calls
3096 * BranchList.h: remove spurious semicolons
3098 * MenuBackend.C: fix branchlist related crash
3100 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3108 * bufferparams.[Ch]:
3112 * text3.C: implements the 'branch inset'
3113 idea. This allows the output of various versions of a document
3114 from a single source version, selectively outputing or suppressing
3115 output of parts of the text.
3116 This implementation contains a 'branch list editor' in a separate
3117 tab of the document settings dialog. Branches are user definable
3118 and have a "display colour" to distinguish them on-screen.
3120 ColorHandler was somewhat cleaned up.
3121 (1) make possible a dynamically growing LColor list by allowing
3122 the graphic context cache to grow along (vector);
3123 (2) eliminate an IMHO unnecessary step in colour allocation.
3125 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3127 * BufferView_pimpl.C: compile fix
3129 2003-08-15 André Pönitz <poenitz@gmx.net>
3131 * rowpainter.C: remove extra metrics calls
3133 * lyxtext.h: merge the two constructors into a single one,
3134 pass reference to owner's par list
3136 * BufferView_pimpl.C:
3140 2003-08-15 André Pönitz <poenitz@gmx.net>
3142 * lyxrow_funcs.[Ch]:
3145 * paragraph_funcs.C:
3150 * text_funcs.C: split LyXText::rowlist_ into individual
3151 Paragraph::rows_ chunks
3154 * BufferView_pimpl.[Ch]:
3157 * text3.C: remove toggleSelection()
3159 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3161 * bufferlist.C: beautify two alerts (shorter text of buttons)
3162 * buffer.C: Remove redundant ' ' from message
3164 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3165 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3166 rename VALIGN_CENTER to VALIGN_MIDDLE
3168 2003-08-11 André Pönitz <poenitz@gmx.net>
3170 * lyxtext.h (getPar):
3171 * text.C: new function
3173 2003-08-11 André Pönitz <poenitz@gmx.net>
3176 * tracer.[Ch]: remove unneeded files
3178 * InsetList.[Ch]: remove resizeInsetsLyXText()
3183 * text3.C: merge insertParagraphs() and appendParagraph()
3184 remove breakAgain(), update()
3186 * BufferView_pimpl.[Ch]:
3187 * bufferview_funcs.[Ch]:
3191 * tabular.C: adjust after text & InsetList changes.
3193 2003-08-08 André Pönitz <poenitz@gmx.net>
3195 * text.C (insertChar, backspace): replace rowlist fiddling
3196 with rebreak of full par
3199 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3200 checkParagraph, updateInset): removed
3202 2003-08-07 André Pönitz <poenitz@gmx.net>
3205 * text3.C: merge some LFUN handlers, remove dead code
3207 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3209 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3211 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3213 * text2.C (DEPM): fix part of bug 1255 and 1256
3215 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3217 * BufferView_pimpl.C (workAreaDispatch): change to use
3218 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3219 that are no mouse related.
3221 2003-08-05 André Pönitz <poenitz@gmx.net>
3224 * BufferView_pimpl.[Ch]:
3225 * bufferview_funcs.C:
3227 * text3.C: rip out "deep update"
3229 * textcursor.[Ch] (last_sel_cursor): remove unused member
3231 2003-08-04 André Pönitz <poenitz@gmx.net>
3234 * BufferView_pimpl.[Ch]:
3235 * ParagraphParameters.C:
3236 * bufferview_funcs.C:
3242 * text3.C: replace "complicated" BufferView::update(...) calls with
3245 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3247 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3249 * Makefile.am (lyx_SOURCES): add paper.h
3251 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3253 * Makefile.am: move things around so that both lyx-qt and
3254 lyx-xforms can be built (according to --with-frontend). Then lyx
3255 is a symbolic link to lyx-[firstfrontend]
3257 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3259 * Always use std::endl with lyxerr
3261 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3263 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3265 2003-08-01 André Pönitz <poenitz@gmx.net>
3268 * BufferView_pimpl.[Ch]:
3270 * text3.C: merge BufferView::repaint() and BufferView::update()
3272 2003-08-01 José Matos <jamatos@lyx.org>
3274 * buffer.[Ch]: file_format is no longer a buffer data element.
3276 2003-08-01 André Pönitz <poenitz@gmx.net>
3281 * text2.C: make redoParagraph more independent of current cursor
3283 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3285 * text2.C: remove unneeded members
3287 2003-07-30 André Pönitz <poenitz@gmx.net>
3289 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3291 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3292 create a single function...
3294 * paragraph_funcs.C (moveItem): ... here.
3297 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3299 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3301 * LColor.[Ch]: Add comment and greyedout logical colors.
3303 2003-07-30 André Pönitz <poenitz@gmx.net>
3305 * tabular.C: don't use Assert too heavily. This crashes where it
3308 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3310 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3311 is disabled (bug 1232)
3313 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3315 * factory.C: limited 'arg' scope
3317 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3319 * factory.C: fixed Note submenu issues
3321 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3323 * factory.C: submenu for Note/Comment/Greyedout
3325 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3328 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3330 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3333 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3334 greyedout. Patch provided by Jürgen Spitzmüller.
3336 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3338 * kbmap.C (read): fix error message when reading bind files
3340 2003-07-29 Angus Leeming <leeming@lyx.org>
3342 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3343 certainly does not do what it purports to do. I am doing it, and
3344 us, a favour by killing it.
3346 2003-07-28 José Matos <jamatos@lyx.org>
3348 * buffer.C (readBody, do_writeFile):
3349 * paragraph.C(readParagraph): \end_document replaces \the_end.
3351 2003-07-29 André Pönitz <poenitz@gmx.net>
3354 * BufferView_pimpl.[Ch]:
3358 * textcursor.[Ch]: remove toggleToggle & Co
3360 2003-07-28 José Matos <jamatos@fep.up.pt>
3362 * buffer.C (readParagraph):
3363 * params_func (readParToken, readParagraph):
3364 * paragraph.C (write): \layout -> \begin_layout.
3366 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * lyxlex_pimpl.C (setFile): clean up slightly.
3370 * bufferparams.h: add compressed var
3372 * buffer_funcs.C (readFile): adjust for LyXLex change
3373 (newFile): ditto + simplify
3375 * buffer.C (writeFile): handle writing of compressed files
3377 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3378 Check if the file is compressed and set a bufferparm if so.
3380 * Makefile.am (lyx_LDADD): remove explicit -lz
3382 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3384 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3385 makeDocBookFile): put the real LyX version in the first line of
3389 * version.C.in: remove lyx_docversion
3391 * tabular.C (write_attribute): add a template-based version to
3392 write enums properly
3394 2003-07-28 André Pönitz <poenitz@gmx.net>
3399 * text3.C: use doubles again for x-coordinates. They are needed.
3401 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * messages.C (getLocaleDir): use lyx_localedir()
3405 * lyxlex_pimpl.C (setFile): compress stuff
3407 * buffer.C (writeFile): add some compression stuff
3408 (do_writeFile): new func, dont call expliti close... will this
3411 * Makefile.am (lyx_LDADD): add -lz
3413 2003-07-28 José Matos <jamatos@fep.up.pt>
3415 * buffer.C: increment file format.
3416 * paragraph_funcs (readParagraph, readParToken):
3417 * paragraph.C (readParagraph): add \end_layout.
3419 2003-07-27 Angus Leeming <leeming@lyx.org>
3421 * Makefile.am: remove special casing for configure-time setting of
3422 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3424 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3425 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3427 2003-07-26 André Pönitz <poenitz@gmx.net>
3429 * paragraph_func.[Ch]:
3430 * paragraph.C (realizeFont): inline it whereever it is used
3435 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3438 2003-07-26 André Pönitz <poenitz@gmx.net>
3442 * text2.C: get rid of LyXText::need_break_row
3444 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * toc.[Ch]: put namespace toc inside namespace lyx
3448 * MenuBackend.C (expandToc2): adjust for lyx::toc
3451 * lyxfunc.C (dispatch): adjust for lyx::find
3453 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3454 lyx::find instead. Reorganize a bit.
3455 (LyXReplace): rename to replace
3456 (LyXFind): rename to find
3458 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3461 2003-07-26 André Pönitz <poenitz@gmx.net>
3463 * text.C (setHeightOfRow): restrict scope of temporary variable
3465 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3466 code (never has been used?)
3468 2003-07-27 Asger Alstrup <alstrup@local>
3470 * text.C (fill): Optimise algorithm to exploit that we can reuse
3471 the LyXFont for many characters.
3472 (setHeightOfRow): Same thing.
3473 (rowBreakPoint): Same thing.
3475 2003-07-26 Asger Alstrup <alstrup@local>
3477 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3479 * text.C (singleWidth): Spurious font copying in hot-spot
3480 singleWidth avoided. Reorder tests for arabic for efficiency.
3482 * text.C (fill): handle empty paragraphs better.
3484 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3487 * encoding.h: add includes
3489 * lyxrc.C: remove reading of bind files
3491 * lyx_main.C (init): setup bindings and menus only if we have a
3494 * kbmap.C (read): new method. Do the actual reading of bind
3497 * converter.C (dvipdfm_options):
3500 (output): adapt PAPER_* enums.
3502 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3504 * bufferparams.h: remove paper-related enums from there
3506 * paper.h: New file. A trivial header file to hold paper-related
3507 enums. It should later expand to contain many paper-related
3510 * lyxrc.C: declare extern displayTranslator
3512 2003-07-27 José Matos <jamatos@fep.up.pt>
3514 * tabular.[Ch] (linuxdoc): add support for tables and figures
3517 2003-07-27 José Matos <jamatos@fep.up.pt>
3519 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3520 consistency in both functions.
3521 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3523 2003-07-26 Asger Alstrup <alstrup@local>
3525 * rowpainter.C (paintRows): Change algorithm to work directly on
3526 the insets rather than asking every character in the document
3527 whether its an inset.
3529 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3531 * buffer.C (openFileWrite): factorize some code
3533 2003-07-26 Angus Leeming <leeming@lyx.org>
3536 * lyx_main.[Ch]: replace occurances of system_tempdir with
3539 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3541 * rename Inset to InsetOld
3543 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3545 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3546 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3547 which I think is a bit clearer. EDIT is gone, since it was
3548 premature optimisation, and broken for mathed anyway.
3549 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3550 with cursor positioning in insets as well (math insets still do not
3551 work, but that's a different story anyway.) It mysteriously
3552 crashes sometimes with undo in the first paragraph, but I'm fairly
3553 confident that this is a compiler bug.
3555 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3557 * paragraph.C (Paragraph): adjust for new clone return type
3559 (copyIntoMinibuffer): ditto
3561 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3563 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3564 by not having a special case, and always doing a full rebreak of
3565 the document after undo.
3567 2003-07-23 Angus Leeming <leeming@lyx.org>
3569 * factory.C (createInset): InsetExternal::setParams now takes a
3572 2003-07-23 Angus Leeming <leeming@lyx.org>
3574 * factory.C (createInset): changed interface to the external and
3575 graphics mailers' string2params functions.
3577 2003-07-23 Angus Leeming <leeming@lyx.org>
3579 * factory.C (createInset): pass a
3580 Buffer const * parameter to InsetExternalMailer's string2params.
3582 2003-07-22 John Levon <levon@movementarian.org>
3584 * Thesaurus.h: include the right aiksaurus header
3586 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3588 * MenuBackend.C (expand): check menu shortcuts unconditionally
3590 2003-07-21 Angus Leeming <leeming@lyx.org>
3592 * factory.C (createInset): pass a
3593 buffer_path parameter to InsetGraphicsMailer's string2params.
3595 2003-07-21 Angus Leeming <leeming@lyx.org>
3597 * BufferView_pimpl.C (buffer):
3600 * lyxfunc.C (dispatch):
3601 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3602 rather than the grfx shortcut.
3604 2003-07-21 André Pönitz <poenitz@gmx.net>
3606 * rowpainter.C: remove unused variables
3609 * tabular_funcs.h: move to tabular.C
3610 * Makefile.am: adjust
3612 * tabular.[Ch]: basic optical cleaning
3614 * author.h: pass references, not values
3616 2003-07-18 André Pönitz <poenitz@gmx.net>
3624 * text3.C: two-phase drawing for InsetText and InsetTabular
3625 some float -> int changes.
3627 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3629 * lyx_main.C: fix the fix
3631 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3633 * lyx_main.C: fix a crash in batch mode if no files specified
3636 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3638 * format.[Ch] (papersize): moved to BufferParams
3639 * converter.[Ch] (dvips_options): moved to BufferParams
3640 (dvipdfm_options): moved to anon namespace
3641 * bufferparams.[Ch]: added above functions.
3643 2003-07-17 André Pönitz <poenitz@gmx.net>
3647 * text2.C: don't call inset->update() anymore
3649 * metricsinfo.[Ch]: add convenience constructor
3651 2003-07-16 André Pönitz <poenitz@gmx.net>
3656 * text2.C: replace the LyXCursor::irow_ member with
3657 on-demand computation of the value
3659 2003-07-16 John Levon <levon@movementarian.org>
3661 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3663 2003-07-15 André Pönitz <poenitz@gmx.net>
3666 * text2.C: remove no more needed refresh_row
3668 2003-07-15 André Pönitz <poenitz@gmx.net>
3673 * text3.C: refresh_status tristate -> need_update bool
3675 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3677 * lyxtext.h (init): remove reinit argument (act as if always true)
3678 * text2.C: adjust to that
3680 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3682 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3683 * text3.C: use it to delete selections in some cases
3684 (bugs 441, 673, 702, 954).
3686 2003-07-14 André Pönitz <poenitz@gmx.net>
3688 * rowpainter.[Ch]: reduce interface
3690 2003-07-14 André Pönitz <poenitz@gmx.net>
3692 * BufferView_pimpl.C:
3693 * text2.C: adjust after removing unused BufferView * argument
3695 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3697 * text2.C (init): fix a crash fired on resize
3699 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3701 * buffer.[Ch]: added new closing signal
3702 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3703 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3704 BufferView::Pimpl via the closing the signal
3706 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3708 * buffer.[Ch]: take out all bv-related from buffer
3710 * BufferView_pimpl.[Ch]: connect to new signals
3711 * CutAndPaste.C: removed useless asserts
3712 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3715 * lyxfunc.C: moved view-related funciontality from vc here
3716 * paragraph.C: removed outdated comments
3719 2003-07-10 André Pönitz <poenitz@gmx.net>
3721 * BufferView_pimpl.C:
3725 * text2.C: remove InsetText::InnerCache, clean up consequences
3727 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3729 * ispell.C: fix two typos in error messages
3731 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3733 * Extend Note inset to other forms of annotation like Comment
3734 and Greyedout. Right button click gives dialog.
3736 Files modified or added (+):
3740 * ControlNote.[Ch] +
3742 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3743 frontends/controllers
3747 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3749 * aspell.C: add missing namespace lyx::support
3751 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3753 * BufferView.[Ch] (newFile): Add
3754 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3755 * LaTeX.[Ch] (message): added this signal and use it
3756 * buffer.[Ch] (busy, message): added these signals and use them
3757 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3761 * importer.C: use buffer signals instead of direct bv calling
3762 * lyx_cb.[Ch] (ShowMessage): removed
3765 * paragraph_funcs.C:
3766 * text2.C: use buffer signals
3768 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * introduce namespace lyx::graphics
3772 2003-07-02 André Pönitz <poenitz@gmx.net>
3774 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3776 2003-07-01 André Pönitz <poenitz@gmx.net>
3783 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3784 text*.C to text_func.C
3786 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * introduce namespace lyx::support
3790 2003-06-30 André Pönitz <poenitz@gmx.net>
3795 * text.C: re-enable --with-included-string
3797 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3799 * textcursor.C: add <config.h>
3801 * text.C (getWord): remove const from word_location arg
3803 * lyxvc.C (getLogFile): fix const type order
3805 * lyxtext.h: remove const from word_location arg, add arg name
3807 * lyxlayout.h: currect type on labeltype.
3809 * importer.C: correct \file
3811 * converter.C (intToFormat): use std:: on ret val, ws changes
3813 * bufferlist.h: correct \file
3815 * buffer.C (makeLinuxDocFile): fix const type order
3816 (makeDocBookFile): ditto
3817 (fillWithBibKeys): use std:: on stdlib args.
3819 * CutAndPaste.C: fix authors.
3820 (availableSelections): use std:: on return vector
3822 2003-06-27 André Pönitz <poenitz@gmx.net>
3824 * BufferView_pimpl.C:
3825 * bufferview_funcs.C:
3833 * text3.C: remove LyXCursor::row_ member
3836 * text.C: rename fullRebreak() to partialRebreak() and implement
3837 a fullRebreak() that really bereks fully
3839 * textcursor.h: new struct for cursor-related data
3841 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3843 * lyx_main.C (LyX): get full path of document loaded on the
3846 2003-06-26 André Pönitz <poenitz@gmx.net>
3848 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3849 remove unused/broken operator>,<,>=.
3851 * text.C: remove only use of broken operator<= in an Assert().
3853 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3855 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3856 moved errorlist_.clear to showErrorList
3858 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3860 * converter.C (scanLog, runLaTeX):
3861 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3862 move the bv->showErrorList call to the callers
3863 * lyxfunc.C: i.e. here...
3865 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3866 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3867 namespace, the second to...
3868 * buffer_funcs (BufferFormat, parseErrors): added
3869 * errorlist.C (ErrorList(TeXErrors const &)): removed
3871 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3873 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3875 2003-06-24 "Garst R. Reese" <reese@isn.net>
3879 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3881 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3883 * version.C.in: change docversion to 1.4
3885 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3887 * buffer.C: fix a bug just introduced
3889 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3891 * buffer.[Ch]: added the parseError signal and use it, removed
3893 * BufferView.[Ch] (addError): moved to ...
3894 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3895 to the Buffer::parseError signal to catch (guess what) parse errors
3896 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3898 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3900 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3901 ability to create a buffer and to return an existing one from
3902 the list. Moved these functions to...
3903 * buffer_funcs.[Ch]: added
3904 * BufferView.[Ch] (loadLyXFile): added
3905 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3906 job removed from bufferlist::loadLyXFile.
3907 * buffer.C (setReadOnly): make it work without view
3908 (i.e added an if (users))
3910 2003-06-19 Angus Leeming <leeming@lyx.org>
3913 * LyXAction.C (init):
3914 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3915 with LFUN_DIALOG_SHOW <name> <data>.
3917 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3919 * CutAndPaste.C (availableSelections): small compilation fix for
3920 ancient (gcc 2.9x) compilers
3922 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * text3.C (cursorNext): add tmp var
3926 * text2.C (updateCounters): for function calling out of for clause
3927 (replaceSelectionWithString): ditto
3928 (insertStringAsParagraphs): ditto
3929 (getColumnNearX): add tmp var
3930 (setCursorFromCoordinates): add tmp var
3931 (cursorDownParagraph): add tmp var
3932 (deleteEmptyParagraphMechanism): add tmp var
3934 * text.C (insertChar): add tmp var
3936 * rowpainter.C (paintDepthBar): add tmp var
3938 * CutAndPaste.C (availableSelections): potentially check all
3939 paragraphs in a cut to fill the shown strings.
3941 2003-06-18 André Pönitz <poenitz@gmx.net>
3943 * kbmap.[Ch]: use vector<> instead of list<>
3945 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3947 * text3.C (dispatch): handle arg to LFUN_PASTE, call
3948 pasteSelection with index
3950 * text2.C (pasteSelection): modify, call pasteSelection with index
3952 * paragraph.C (asString): reimplement version with no interval to
3953 call the one with interval.
3955 * lyxtext.h: add index arg to pasteSelection
3957 * MenuBackend.C (MenuItem): handle PasteRecent
3958 (Menu::read::Menutags): add md_pasterecent
3960 (expandPasteRecent): new function
3963 * MenuBackend.h: add PasteRecent to MenuItem::Kind
3965 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3967 (availableSelections): new function
3969 2003-06-17 Angus Leeming <leeming@lyx.org>
3971 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3973 2003-06-17 Angus Leeming <leeming@lyx.org>
3976 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3978 * lyxfunc.C (dispatch): invoke it.
3980 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3982 * iterators.C (operator++, ParPosition): reintroduce some
3983 const_cast for the benefit of older compilers.
3985 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3987 * text3.C (dispatch): do not modify clipboard when doing
3988 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3989 LFUN_DELETE_SKIP on a selection selection
3991 2003-06-16 André Pönitz <poenitz@gmx.net>
3997 * tabular.[Ch]: IU of clone() and getLabelList();
3999 2003-06-13 André Pönitz <poenitz@gmx.net>
4001 * tabular.h: compactification
4003 2003-06-12 André Pönitz <poenitz@gmx.net>
4007 * tabular_funcs.h: some renaming plus whitespace
4009 2003-06-12 André Pönitz <poenitz@gmx.net>
4012 * BufferView_pimpl.C:
4018 * toc.C: Return a Paragraph & for ParIterator::operator*()
4020 2003-06-11 John Levon <levon@movementarian.org>
4024 * ToolbarBackend.C: add "Toolbars" section and
4027 2003-06-10 Angus Leeming <leeming@lyx.org>
4030 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4032 * lyxfunc.C (dispatch): invoke it.
4034 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * main.C: protect <ios> with HAVE_IOS
4037 (main): protect sync_with_stdio with HAVE_IOS
4039 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4041 * text2.C (cutSelection): adjust
4042 (pasteSelection): adjust
4044 * messages.C: handle get of empty string
4046 * main.C (main): use sync_with_stdio(false)
4048 * lyxfunc.C (dispatch): adjust
4050 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4051 (WriteAs): remove unneeded BufferView arg.
4053 * bufferparams.h: use correct types on papersize, papersize2 and
4056 * bufferparams.C (readToken): adjust for type
4057 (writeLaTeX): add missing cases to switch.
4059 * bufferlist.C (quitWriteBuffer): adjust
4062 * buffer.C (asciiParagraph): remove some commented code.
4064 * CutAndPaste.C: remove current_view extern variable.
4065 (cutSelection): add BufferParams arg.
4066 (eraseSelection): add BufferParams arg.
4067 (pasteSelection): add Buffer const & arg
4069 2003-06-07 John Levon <levon@movementarian.org>
4072 * paragraph_funcs.C:
4073 * paragraph_pimpl.C:
4077 * paragraph.C: allow InsetERT to freely space lines,
4078 and some consolidation of code
4080 2003-06-06 José Matos <jamatos@fep.up.pt>
4082 * buffer.C (makeDocBookFile): fix bug #821
4084 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4086 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4088 2003-06-04 Angus Leeming <leeming@lyx.org>
4090 * buffer.C: bump format to 224.
4092 2003-06-05 André Pönitz <poenitz@gmx.net>
4094 * text2.C (redoParagraphs): remove two const_cast<>
4096 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4098 * ParagraphList.h: remove last remnants of NO_STD_LIST
4100 2003-06-03 Angus Leeming <leeming@lyx.org>
4102 * factory.C (createInset): small change to the way InsetExternal's params
4105 2003-06-04 André Pönitz <poenitz@gmx.net>
4107 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4109 * paragraph_pimpl.h:
4110 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4112 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4114 * undo_funcs.C: make some simple cases of undo work again
4116 2003-06-03 John Levon <levon@movementarian.org>
4118 * ispell.C: HPUX doesn't have sys/select.h
4121 2003-06-03 John Levon <levon@movementarian.org>
4123 * CutAndPaste.C: update tabular and include inset
4128 * paragraph.C: remove owningBuffer(), don't pass Buffer
4131 * factory.C: insetGraphicsParams changed
4133 2003-06-02 John Levon <levon@movementarian.org>
4139 * text3.C: remove insetparent
4141 2003-06-02 John Levon <levon@movementarian.org>
4144 * buffer.C: fix inset_iterator.end(), move out of line
4147 2003-06-01 John Levon <levon@movementarian.org>
4149 * text3.C: use a proper cut/paste when doing inset
4150 insert (from Jürgen Spitzmüller)
4152 2003-06-01 John Levon <levon@movementarian.org>
4154 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4156 2003-05-30 André Pönitz <poenitz@gmx.net>
4158 * rowpainter.C: unify second drawing phase
4160 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4162 * trans_mgr.C: remove one case of current_view
4164 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4166 * paragraph_funcs.h: remove paragraph.h include
4168 * paragraph.h: delete NO_STD_LIST stuff
4170 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4172 * buffer.h: remove paragraph.h include
4174 * ParagraphList.C: delete file
4176 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4178 * toc.C (getTocList): adjust
4180 * paragraph_pimpl.C (validate): adjust
4182 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4184 * paragraph.C (Paragraph): adjust
4185 (getPositionOfInset): use const_iterator, adjust
4186 (bibitem): use const_iterator, adjust
4187 (setInsetOwner): adjust
4189 * iterators.C (operator++): adjust
4191 * InsetList.[Ch]: Replace selfmade iterator with standard
4192 vector::iterator also introduce const_iterator. Remove getPos,
4193 getInset and setInset from InsetTable. Adjust accordingly.
4195 * BufferView.C (lockInset): adjust
4196 (ChangeInsets): adjust
4198 * tabular.[Ch]: delete commented same_id functions
4200 2003-05-28 John Levon <levon@movementarian.org>
4202 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4204 2003-05-28 André Pönitz <poenitz@gmx.net>
4206 * metricsinfo.[Ch]: remove 'fullredraw' member
4208 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4210 * lyxtextclass.C (operator): remove caching.
4212 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * text2.C (cursorBottom): adjust
4217 (setCounter): use ParagraphList::find, adjust
4219 * text.C (workWidth): use ParagraphList::find, adjust
4221 * lyxcursor.C (LyXCursor): adjust
4223 * buffer.C (inset_iterator): adjust
4225 * ParagraphList.h: make iterator(value_type) private, make
4226 ParagraphList a friend of iterator.
4228 * ParagraphList.C (find): new function
4230 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4232 2003-05-27 André Pönitz <poenitz@gmx.net>
4234 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4236 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4238 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4240 2003-05-26 John Levon <levon@movementarian.org>
4242 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4244 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4246 * remove same_id from function signatures, adjust.
4248 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4252 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4254 * paragraph.C (Paragraph): get rid of same_ids parameter
4256 * ParagraphList.C (insert): adjust
4259 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4261 * paragraph_funcs.C (breakParagraph): adjust
4262 (breakParagraphConservative): adjust
4264 * buffer.C (readParagraph): adjust
4266 * ParagraphList.C (insert): take a reference instead of a pointer
4269 * paragraph.[Ch] (id): new function
4271 * bufferlist.C (newFile): adjust
4273 * ParagraphList.C (ParagraphList): adjust
4275 (push_back): take a reference instead of a pointer.
4277 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4279 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4282 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4283 set else use old code.
4285 * ParagraphList.C: remove all NO_NEXT code and only compile this
4286 code of NO_STD_LIST is set.
4288 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4290 * BufferView_pimpl.C:
4300 * graphics/GraphicsConverter.C:
4301 * graphics/PreviewLoader.C: header adjustment
4303 2003-05-23 Angus Leeming <leeming@lyx.org>
4305 * LaTeXFeatures.[Ch] (useBabel): new method.
4306 * bufferparams.C (writeLaTeX): use it.
4308 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * ParagraphList.h (set): remove unused function.
4312 2003-05-23 André Pönitz <poenitz@gmx.net>
4315 * BufferView_pimpl.C:
4319 * undo_funcs.C: setUndo reworked
4321 * iterators.[Ch]: add access to topmost ParagraphList
4323 * lyxtext.[Ch] (workWidth): add a const
4325 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4327 * texrow.[Ch] (increasePos): remove function
4328 * exporter.C (export): removed unused var and outdated comment
4330 2003-05-23 Angus Leeming <leeming@lyx.org>
4332 * latexrunparams.h: rename fragile as moving_arg.
4333 * paragraph.C (simpleTeXOnePar): ditto.
4334 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4336 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4340 (textUndoOrRedo): comment out a currently unused var.
4342 * paragraph.h (NO_NEXT): enable NO_NEXT
4344 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4346 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4348 * exporter.C (Export): adjust for removeAutoInsets removal.
4350 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4352 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4354 * BufferView.[Ch] (removeAutoInsets): delete function
4356 2003-05-22 Angus Leeming <leeming@lyx.org>
4358 * latexrunparams.h: add a free_spacing variable.
4360 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4361 to pass moving_arg, as the data is stored in runparams.fragile.
4363 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4364 to Inset::latexOptional or to simpleTeXOnePar.
4366 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4367 free_spacing arg to Inset::latexOptional.
4369 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4372 2003-05-22 Angus Leeming <leeming@lyx.org>
4374 * latexrunparams.h: add fragile and use_babel variables.
4376 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4377 * buffer.C (makeLaTeXFile): store this returned value in
4378 runparams.use_babel, thus passing it to the inset::latex methods.
4380 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4381 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4383 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4384 longer has a fragile arg, as it is stored in runparams.fragile.
4386 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4387 moving_arg parameter as the data is stored in runparams.fragile.
4389 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4390 a fragile parameter as the data is stored in runparams.fragile.
4392 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4394 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4396 2003-05-22 Angus Leeming <leeming@lyx.org>
4398 * latexrunparams.h: add a 'bool nice' which defaults to false.
4400 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4401 now encapsulated within runparams.
4403 * bufferlist.C (updateIncludedTeXfiles):
4404 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4406 2003-05-22 Angus Leeming <leeming@lyx.org>
4408 * latexrunparams.h: new file containing struct LatexRunParams.
4409 * Makefile.am: add new file.
4411 * LaTeX.[Ch] (c-tor, run):
4412 * buffer.[Ch] (makeLaTeXFile):
4413 * bufferlist.[Ch] (updateIncludedTeXfiles):
4414 * converter.C (convert, scanLog):
4415 * converter.[Ch] (runLaTeX):
4416 * exporter.C (Export):
4417 * paragraph.[Ch] (simpleTeXOnePar):
4418 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4419 * paragraph_funcs.[Ch] (latexParagraphs):
4420 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4421 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4422 pass around a LatexRunParams parameter.
4424 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * paragraph.[Ch]: remove unused constructor
4428 * ParagraphList.C (erase): new function, taking two iterators
4430 2003-05-22 André Pönitz <poenitz@gmx.net>
4432 * undo_funcs.C: remove duplicated code
4434 * iterator.[Ch]: operator=
4436 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4438 * tabular.C (SetMultiColumn): ws changes
4440 * rowpainter.C (paintFirst): get rid of a ->previous
4442 * lyx_cb.C (getPossibleLabel): parlist simplification
4444 * BufferView.C (ChangeInsets): simplify slightly.
4446 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4448 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4449 * lfuns.h: new LFUN_SPACE
4450 * lyxfunc.C: protected space has a new lfun
4451 * paragraph_funcs.C: read new space insets
4453 * factory.C: handle new space insets
4455 2003-05-22 André Pönitz <poenitz@gmx.net>
4458 * BufferView_pimpl.C:
4461 * undo_funcs.C: return a ParIterator from getParFromID.
4463 * iterators.[Ch]: add two const's
4465 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * toc.C (getTocList): adjust
4469 * iterators.[Ch]: rework for parlist
4471 * buffer.C (par_iterator_begin): adjust
4472 (par_iterator_end): adjust
4474 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4476 * BufferView.C (removeAutoInsets): adjust
4477 (ChangeInsets): adjust
4479 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4481 * text.C (top_y): fix bug 1110
4483 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4485 * errorlist.[Ch]: added
4488 * BufferView_pimpl.C:
4489 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4492 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * Makefile.am: ensure that lyx is relinked upon changes to the
4495 various "convenience" libs.
4497 2003-05-20 Angus Leeming <leeming@lyx.org>
4499 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4500 files are compiled in alphabetical order again.
4502 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4504 2003-05-19 Angus Leeming <leeming@lyx.org>
4506 * gettext.[Ch]: remove "char const * _(char const *)".
4508 2003-05-19 André Pönitz <poenitz@gmx.net>
4510 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4519 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4521 2003-05-19 André Pönitz <poenitz@gmx.net>
4525 * lyxtextclass.[Ch]:
4527 * paragraph_funcs.[Ch]:
4529 * text3.C: more insetenv work
4531 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4533 * ParagraphParameters.C (params2string): small bug fixed
4535 2003-05-16 André Pönitz <poenitz@gmx.net>
4538 * bufferview_funcs.C: patch from Kornel Benko to prevent
4539 crash when _(...) is called twice in a statement
4541 2003-05-16 André Pönitz <poenitz@gmx.net>
4548 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4550 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4552 * lyx_main.C (init): remove spurious static_cast
4554 2003-05-14 André Pönitz <poenitz@gmx.net>
4556 * BufferView.C: fix format string
4558 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4560 * BufferView.[Ch] (insertErrors): removed
4561 * BufferView.[Ch] (showErrorList): added
4562 * buffer.C (runChkTeX):
4563 * converter.C (scanLog): call showErrorList instead of inserterrors
4565 2003-05-13 André Pönitz <poenitz@gmx.net>
4567 * BufferView_pimpl.C:
4569 * bufferview_func.C:
4576 * tabular_funcs.h: tostr() from its own header
4578 * ParagraphParameters.C:
4583 * text3.C: STRCONV()
4585 2003-05-12 André Pönitz <poenitz@gmx.net>
4588 * BufferView_pimpl.C:
4592 * ParagraphParameters.C:
4596 * bufferview_funcs.C:
4609 * paragraph_funcs.C:
4613 * text3.C: boost::format -> bformat all over the place
4616 2003-05-09 André Pönitz <poenitz@gmx.net>
4618 * LColor.[Ch]: Pimpl the #include <map> away
4620 2003-05-09 John Levon <levon@movementarian.org>
4622 * bufferlist.C: never remove emergency saves
4624 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4626 * Makefile.am: better lib building
4628 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4630 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4632 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4633 (simpleTeXSpecialChars): adjust
4634 (simpleTeXSpecialChars): adjust
4635 * paragraph.C (simpleTeXOnePar): adjust
4636 * buffer.C (makeLaTeXFile): adjust
4638 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4640 * text2.C (changeDepth): parlist cleanup
4641 (getColumnNearX): ditto
4643 * rowpainter.C (getLabelFont): parlist cleanup
4645 * bufferlist.C (newFile): parlist cleanup
4647 * CutAndPaste.C (eraseSelection): parlist cleanup
4649 * BufferView_pimpl.C (trackChanges): parlist cleanup
4652 * BufferView.C (lockInset): parlist cleanup.
4653 (ChangeInsets): ditto
4655 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4657 * CutAndPaste.h: Update file header.
4659 * CutAndPaste.C: Update file header.
4660 Store the parts cut out of the Document in a limited_stack.
4661 (copySelection): adjust
4662 (pasteSelection): new function, takes the index in the limited stack.
4663 (nrOfParagraphs): adjust
4664 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4665 simplify error inset insertion.
4666 (checkPastePossible): adjust
4668 2003-05-06 John Levon <levon@movementarian.org>
4670 * text2.C: don't cast wrap inset to float
4672 2003-05-05 André Pönitz <poenitz@gmx.net>
4675 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4677 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4678 few naked Paragraph *.
4680 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4682 * bufferparams.C: Output warning if a document with missing
4683 TeX document class is loaded
4684 * exporter.C: Disable TeX exports if the document class is missing
4687 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4688 isTeXClassAvailable()
4690 2003-05-03 John Levon <levon@movementarian.org>
4693 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4694 explicit cursor show/hide
4696 * BufferView_pimpl.h:
4697 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4698 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4700 * lyxfunc.C: hide cursor before dispatching.
4705 * text3.C: remove explicit cursor hides
4707 2003-05-02 André Pönitz <poenitz@gmx.net>
4709 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4712 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4715 * text2.C: tiny whitespace
4717 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4719 * undo_funcs.C: almost only ws changes.
4721 * ParagraphList.C (splice): just return if pl is empty.
4723 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * ParagraphList.C (splice): new function.
4727 * CutAndPaste.C (pasteSelection): use it
4729 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4731 * CutAndPaste.C (pasteSelection): remove the last next and
4732 previous from this file.
4734 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4736 * CutAndPaste.C (pasteSelection): more clean up, user proper
4737 ParagraphList functions for pasteing.
4739 * ParagraphList.C (insert): new function, three arg insert
4741 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * ParagraphList.C (insert): new function, three arg insert
4745 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4748 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4750 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4752 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4754 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4756 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4758 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4759 (copySelection): clean up a bit.
4760 (pasteSelection): use make_pair
4762 * ParagraphList.C (ParagraphList): implement copy constructor
4763 (operator=): implement, base on copy constructor.
4766 * paragraph.C (erase): return a bool
4768 * paragraph_pimpl.C (erasePos): remove function, move contents...
4769 (erase): ... here. Return a bool.
4770 (erase): call erase instead of erasePos.
4772 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4774 * ParagraphList.h: define PitPosPair
4775 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4776 ParagraphList, fix a bug on pasting multiple pars
4777 * text2.C: change interface to C&P
4779 2003-04-30 André Pönitz <poenitz@gmx.net>
4781 * undo_func.C: revert part of yesterday's patch 2
4783 2003-04-30 John Levon <levon@movementarian.org>
4785 * LColor.C: s/tabular/table/
4787 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4789 * text3.C (dispatch): do not convert iterator -> pointer
4790 * undo_funcs.C (setCursorParUndo): ditto
4791 * text_funcs.C (transposeChars): ditto
4793 * text2.C (setLayout): ws changes only
4795 * text.C (breakParagraph): do not convert iterator -> pointer
4797 (acceptChange): ditto
4798 (rejectChange): ditto
4803 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4806 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4808 * text3.C (gotoInset): YABG (yet another bad getChar)
4810 2003-04-29 André Pönitz <poenitz@gmx.net>
4812 * paragraph.h: make operator= private unimplemented as long as
4815 * ParagraphList.C: whitespace
4818 * paragraph_pimpl.[Ch]:
4819 * paragraph_funcs.C:
4821 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4824 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4826 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4828 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4829 * paragraph.[Ch] (erase):
4830 * paragraph_pimpl.[Ch] (erase): change return type and value
4831 * text2.C (cutSelection): some rework
4833 2003-04-28 John Levon <levon@movementarian.org>
4835 * bufferlist.C: changes for unsaved changes dialog
4837 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * bufferlist.C (newFile): set language (messages_) for new
4842 * buffer.C (readFile): ws changes only.
4844 2003-04-28 André Pönitz <poenitz@gmx.net>
4849 * BufferView_pimpl.C:
4850 * BufferView.C: getParFromID related ParagraphList::iterator changes
4852 2003-04-28 André Pönitz <poenitz@gmx.net>
4854 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4857 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4859 * messages.C: remove one more localedir class variable.
4861 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * messages.C (getLocaleDir): singleton generation function
4865 (Messages): add a default constructor.
4867 * main.C (main): do not setup localedir here, do not call
4870 * gettext.C (_): use it.
4871 (gettext_init): delete funciton
4873 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4875 * gettext.C (getLyXMessages): new singleton generating function.
4877 * buffer.C (updateDocLang): adjust
4879 * Makefile.am (messages.o): add target
4880 (main.o): remove target
4882 2003-04-27 John Levon <levon@movementarian.org>
4887 * lyxvc.C: specify cancel button in Alert::prompt
4889 2003-04-26 John Levon <levon@movementarian.org>
4894 * LyXAction.C: add LFUN_INSET_SETTINGS
4896 * lyxfunc.C: don't enable tabular-feature when there's
4897 just any locking inset
4899 2003-04-26 John Levon <levon@movementarian.org>
4901 * bufferlist.C: re-add Cancel to buffer close question
4903 * lyxfunc.C: fix import UI a bit
4905 2003-04-25 John Levon <levon@movementarian.org>
4907 * gettext.C: remove the broken asserts for now
4909 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4911 * messages.C: make case where setlocale cannot comply work better.
4913 * buffer.C (updateDocLang): new function
4914 (changeLanguage): use it
4917 * text2.C (setCounter): use B_ a bit.
4919 * lyxlayout.C (Read): be sure to trim the label strings.
4921 * messages.C (Messages): fix typo in comment
4923 * buffer.C (readFile): set message_ after file is loaded.
4924 (makeDocBookFile): remove double return
4925 (changeLanguage): reset message_ upon language change.
4926 (B_): new func, use this to get translated buffer strings.
4928 * main.C: add myself and Jean Marc as authors.
4930 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * messages.[hC]: pimplify Messages, and three different pimpls to be
4933 used in different circumstances.
4935 * gettext.[Ch]: change for use with new message code.
4937 2003-04-24 André Pönitz <poenitz@gmx.net>
4939 * factory.C: support for eqref
4941 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * messages.[Ch]: add missing char
4945 * Makefile.am (lyx_SOURCES): add messages.[Ch]
4947 * messages.[Ch]: New files
4949 2003-04-18 John Levon <levon@movementarian.org>
4953 * BufferView_pimpl.C:
4957 * text2.C: remove layout-copy/paste (bug 778)
4959 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4961 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4963 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
4965 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4966 if they succeed. Act accordingly.
4968 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * text2.C (setCharFont): adjust
4971 (setCounter): adjust
4972 (insertStringAsLines): adjust
4974 * text.C (leftMargin): adjust
4975 (setHeightOfRow): adjust
4977 * rowpainter.C (paintFirst): adjust
4980 * paragraph_funcs.C (depthHook): ParagraphList::iterators
4982 (isFirstInSequence): ditto
4983 (getEndLabel): ditto
4986 * paragraph.C (getParLanguage): comment out some hard stuff.
4988 * buffer.C (insertStringAsLines): take a ParagraphList as arg
4990 (simpleDocBookOnePar): ditto
4991 (makeDocBookFile): use ParagraphList::iterator
4993 * CutAndPaste.C (pasteSelection): adjust
4995 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * text2.C (getFont): adjust
4998 (getLayoutFont): adjust
4999 (getLabelFont): adjust
5001 * paragraph_funcs.C (TeXOnePar): adjust
5003 * buffer.C (simpleLinuxDocOnePar): adjust
5004 (simpleDocBookOnePar): adjust
5006 * CutAndPaste.C (pasteSelection): adjust
5008 * BufferView.C (getEncoding): adjust
5010 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5012 2003-04-16 John Levon <levon@movementarian.org>
5014 * lyxfind.C: use parlist stuff for search/changes
5016 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5020 * text2.C (deleteEmptyParagraphMechanism): adjust
5022 * text2.[Ch] (ownerParagraph): delete func (both of them
5024 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5028 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * ParagraphList.C: prepare for NO_NEXT
5032 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * text2.C (getFont): adjust
5035 (getLayoutFont): adjust
5036 (getLabelFont): adjust
5038 * paragraph.C (getFont): adjust
5039 (getLabelFont): adjust
5040 (getLayoutFont): adjust
5042 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5044 2003-04-15 John Levon <levon@movementarian.org>
5048 * lyx_main.C: handle Include in .ui files
5050 2003-04-15 John Levon <levon@movementarian.org>
5052 * MenuBackend.C: make the doc files length shorter
5055 * ToolbarBackend.C: handle toolbar placement flags,
5058 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5060 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5063 * paragraph_funcs.C (TeXOnePar): adjust
5065 * paragraph.C (getLabelFont): add outerfont arg, adjust
5066 (getLayoutFont): ditto
5067 (simpleTeXOnePar): adjust
5069 * paragraph_pimpl.C (realizeFont): delete func
5071 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5073 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5074 row argument, constify cur argument.
5076 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5078 * text2.C (getFont): adjust
5079 (getLayoutFont): adjust
5080 (getLabelFont): adjust
5082 * paragraph_funcs.C (TeXOnePar): adjust
5083 (outerFont): new func...
5084 (realizeFont): ...moved out from here, changed this to facilitate
5087 * paragraph.C (getFont): take outerfont as arg, adjust
5088 (simpleTeXOnePar): add outerfont arg, adjust
5090 * buffer.C (simpleLinuxDocOnePar): adjust
5091 (simpleDocBookOnePar): adjust
5093 * CutAndPaste.C (pasteSelection): adjust
5095 * BufferView.C (getEncoding): adjust
5097 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * text2.C (setCharFont): adjust
5100 (setCounter): adjust
5102 * text.C (leftMargin): adjust
5103 (setHeightOfRow): adjust
5105 * rowpainter.C (paintFirst): adjust
5108 * paragraph_pimpl.C (realizeFont): adjust
5110 * paragraph.C (isFirstInSequence): move from here...
5111 * paragraph_funcs.C (isFirstInSequence): ...to here
5113 * paragraph.C (outerHook): move from here...
5114 * paragraph_funcs.C (outerHook): ...to here
5116 * paragraph.C (depthHook): move from here...
5117 * paragraph_funcs.C (depthHook): ...to here
5119 * paragraph.C (getEndLabel): move from here...
5120 * paragraph_funcs.C (getEndLabel): ...to here
5122 * text2.C (realizeFont): move from here...
5123 * paragraph_funcs.C (realizeFont): ...to here
5125 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5129 2003-04-14 Angus Leeming <leeming@lyx.org>
5131 * LColor.[Ch]: scrap LColor mathcursor.
5133 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * lyxlex.[Ch] (text): delete function
5136 * trans.C (Load): adjust
5137 * paragraph_funcs.C (readParToken): adjust
5139 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5142 vector<char> instead of a char[].
5144 * lyxlex_pimpl.C (getString): adjust
5146 (lex): use getString
5150 * lyxlex.C (text): use pimpl_->getString()
5154 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5157 (makeFontEntriesLayoutSpecific): temp var for par.size()
5158 (setLayout): temp var for ownerParagraphs().end()
5159 (fullRebreak): temp var for rows().end()
5160 (selectionAsString): temp var for boost::next(startpit), realize
5161 that the while really is a regular for loop.
5162 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5163 setCursor in one place.
5164 (setParagraph): temp vr for ownerParagraphs().end()
5165 (updateCounters): make the while loop a for loop
5166 (cutSelection): temp var for ownerParagraphs().end()
5167 (updateInset): make the do {} while() a regular for loop
5168 (getCursorX): use temp vars
5169 (setCurrentFont): use temp vars
5170 (getColumnNearX): use temp vars
5172 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5174 * text.C (transformChar): use temp var for getChar
5175 (computeBidiTables): use temp var for row->par()
5176 (fill): move temp vars for row->par() and pit->layout() earlier in
5178 (labelFill): use temp var for row->par()
5179 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5180 asc and desc, realize that pit never changes and that firstpit is
5181 just a duplicate and not needed. Exchange rit->par() with pit in a
5183 (breakAgain): use a temp var for boost::next(rit)
5184 (breakAgainOneRow): ditto
5185 (breakParagraph): use a temp var for rows().begin()
5186 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5187 (cursorRightOneWord): use temp var for cursor.par() and
5188 cursor.pos(), remove usage of tmpcursor.
5189 (cursorLeftOneWord): use temp var for cursor.par() and
5190 cursor.pos() only set cur at end of function.
5192 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * text.C, text2.C: exchange all usage of Paragraph::next with
5195 boost::next(ParagraphList::iterator)
5197 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5199 * text2.C (cursorTop): simplify implementation
5200 (cursorBottom): ditto
5201 (setParagraph): use ParagraphList::iterator
5202 (setCurrentFont): adjust
5203 (getColumnNearX): adjust
5204 (cursorRight): adjust
5205 (cursorLeft): remove usage of Paragraph::previous
5206 (cursorUpParagraph): ditto
5207 (deleteEmptyParagraphMechanism): slight cleanup
5209 * text.C (isBoundary): take a Paragraph const & instead of a
5211 (addressBreakPoint): ditto
5212 (leftMargin): remove usage of Paragraph::previous.
5213 (setHeightOfRow): ditto
5214 (cursorLeftOneWord): ditto
5215 (selectNextWordToSpellcheck): ditto
5218 (breakParagraph): remove one usage of Paragraph::next
5219 (redoParagraph): ditto
5220 (acceptChange): ditto
5221 (insertChar): adjust
5222 (rowBreakPoint): adjust
5224 * bufferview_funcs.C (toggleAndShow): adjust
5226 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5228 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5229 methods to access it.
5231 * text.C: Added updateRowPositions to compute all row positions.
5232 Make top_y and getRowNearY() to use the cached y position
5234 2003-04-11 John Levon <levon@movementarian.org>
5236 * text.C (rowBreakPoint): reintroduce the labelEnd
5237 checks, code copied from the row fill stuff. Deep voodoo.
5239 * text.C (fill): add a comment and debugging for the
5242 2003-04-11 John Levon <levon@movementarian.org>
5244 * text.C: make sure fullrow insets get wrapped to the next line,
5245 even when they're in a manual label
5247 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5249 * text2.C (insertParagraph): make it take ParagraphList::iterator
5251 (setLayout): make it return ParagraphList::iterator
5252 (redoParagraphs): ditto
5254 (checkParagraph): ditto
5256 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5258 * text2.C: adjust several funcs.
5259 (realizeFont): take a ParagraphList::iterator as arg.
5260 (getLayoutFont): ditto
5261 (getLabelFont): ditto
5262 (setCharFont): ditto
5264 * text.C: adjust several funcs.
5266 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5268 * text.C (selectNextWordToSpellcheck): don't accidentally
5271 2003-04-10 John Levon <levon@movementarian.org>
5273 * ToolbarBackend.C (getIcon): special handling for
5276 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5278 * text2.C (cursorRight): a getChar assert fixed
5280 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * text2.C (getFont): change to take a ParagraphList::iterator
5283 instead of Paragraph*
5284 Adjust several functions.
5286 * text.C (transformChar): change to take a ParagraphList::iterator
5287 instead of Paragraph*
5288 (singleWidth): ditto
5289 Adjust several functions.
5291 * rowpainter.C: adjust several functions
5292 * rowpainter.h:store a ParagraphList::iterator and not a
5296 2003-04-09 John Levon <levon@movementarian.org>
5301 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5302 and the "help" bits as well
5304 2003-04-09 John Levon <levon@movementarian.org>
5307 * ToolbarBackend.C: allow multiple toolbars
5309 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * undo_funcs.C (setCursorParUndo): adjust
5313 * text_funcs.C (transposeChars): adjust
5315 * text3.C (gotoNextInset): adjust
5318 * text2.C (setLayout): adjust
5319 (changeDepth): adjust
5321 (redoParagraphs): adjust
5322 (selectionAsString): adjust
5323 (setParagraph): adjust
5324 (insertInset): adjust
5325 (cutSelection): adjust
5326 (copySelection): adjust
5327 (pasteSelection): adjust
5328 (insertStringAsLines): adjust
5329 (updateInset): adjust
5330 (setCursor): change to take a ParagraphList::iterator parameter
5331 (setCursorIntern): change to take a ParagraphList::iterator parameter
5332 (setCurrentFont): adjust
5333 (cursorLeft): adjust
5334 (cursorRight): adjust
5335 (deleteEmptyParagraphMechanism): adjust
5337 * text.C (breakParagraph): adjust
5338 (insertChar): adjust
5339 (acceptChange): adjust
5340 (rejectChange): adjust
5341 (selectNextWordToSpellcheck): adjust
5342 (changeCase): adjust
5346 * lyxfind.C (SearchForward): adjust
5347 (SearchBackward): adjust
5348 (nextChange): adjust
5350 * lyxcursor.C (par): adjust
5352 * lyxcursor.h: store a ParagraphList::iterator instead of a
5355 * lyx_cb.C (getPossibleLabel): adjust
5357 * bufferview_funcs.C (toggleAndShow): adjust
5359 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5362 * BufferView.C (removeAutoInsets): adjust
5363 (lockedInsetStoreUndo): adjust
5365 2003-04-09 John Levon <levon@movementarian.org>
5367 * ToolbarBackend.C: try icon without argument
5368 if with argument fails
5370 2003-04-08 John Levon <levon@movementarian.org>
5373 * ToolbarBackend.C: add getIcon(), handle tooltip,
5374 and change from "Icon" to "Item".
5376 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5378 * BufferView.C (lockInset): another bad getchar crunched
5380 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5382 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5385 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5387 * lyxfind.C (searchForward, searchBackwards): bug 782
5389 2003-04-07 John Levon <levon@movementarian.org>
5391 * paragraph.C: remove dead comment
5393 * text.C: remove troublesome depth-fiddling code
5394 in leftMargin() and rightMargin() (bug 1017)
5396 * text.C: fix breaking of rows in nested lists
5399 * text2.C (updateCounters): fix up depth values
5402 2003-04-07 John Levon <levon@movementarian.org>
5404 * BufferView_pimpl.C: clear message when doc finishes resizing,
5405 and after a mouse event
5407 * lyxfunc.C: clear message after exiting inset
5409 2003-04-07 John Levon <levon@movementarian.org>
5411 * bufferview_funcs.C: show math status not outside
5412 status in the statusbar
5414 2003-04-07 John Levon <levon@movementarian.org>
5416 * lyxfunc.C: note status changed after a depth change
5418 2003-04-04 Angus Leeming <leeming@lyx.org>
5420 * LaTeX.h: move AuxInfo operator==, != out of line.
5421 Remove LaTeX virtual destructor; nothing derives from it.
5422 Move operator()() out of public area and rename it startscript().
5423 Change protected for private.
5425 2003-04-04 Angus Leeming <leeming@lyx.org>
5428 * text2.C: remove unneeded #includes.
5430 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5432 * text2.C (dEPM): fix the heigth of the next row
5434 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5436 * text.C: squashed an invalid getChar requester + some ws changes
5438 2003-04-03 John Levon <levon@movementarian.org>
5440 * bufferview_funcs.h:
5441 * bufferview_funcs.C:
5444 * text2.C: make getStatus work for the env depth lfuns
5446 2003-04-03 John Levon <levon@movementarian.org>
5448 * bufferview_funcs.h:
5449 * bufferview_funcs.C:
5452 * text2.C: parlistize decDepth(), by merging it with incDepth()
5454 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5456 * lyxrow.h: store a ParagraphList::iterator instead of a
5457 Paragraph* and adjust other class functions to suit.
5459 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5462 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5464 * text2.C (setCursor): do not anchor to cursor row for the time being
5466 2003-04-02 John Levon <levon@movementarian.org>
5473 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5475 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * paragraph.h: make ParagraphList and ParagraphList::iterator
5478 friends of Paragraph.
5480 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5482 * ParagraphList.C: Use the private next_ and previous_ from
5485 2003-04-01 John Levon <levon@movementarian.org>
5489 * Makefile.am: rename, remove defaults gunk
5492 * MenuBackend.C: remove defaults gunk
5495 * Languages.C: remove defaults gunk
5498 * lyx_main.C: error out if files couldn't be found.
5500 2003-04-02 John Levon <levon@movementarian.org>
5502 * text2.C: make incDepth() use parlist
5504 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5506 * undo_funcs.C (firstUndoParagraph): adjust
5508 * text3.C (gotoInset): adjust
5509 (dispatch): adjust, and rewrite loop.
5511 * text2.C (init): adjust, and rewrite loop.
5512 (redoParagraphs): adjust
5513 (updateInset): adjust, and rewrite loop.
5514 (deleteEmptyParagraphMechanism): adjust
5516 * tabular.C (LyXTabular): adjust
5517 (SetMultiColumn): adjust
5520 * lyxtext.[Ch] (ownerParagraph): delete function
5521 (ownerParagraphs): new function returns a ParagraphList.
5523 * BufferView.C (removeAutoInsets): adjust
5524 (insertErrors): adjust
5525 (setCursorFromRow): adjust
5527 2003-04-01 Angus Leeming <leeming@lyx.org>
5529 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5532 2003-04-02 John Levon <levon@movementarian.org>
5538 * text_funcs.C: make transposeChars a free function
5540 * lyxrow_funcs.C: remove wrong comment
5542 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * rowpainter.C: adjust
5550 * lyxrow_funcs. [Ch]: new files
5552 * lyxrow.[Ch]: remove next and previous pointers
5553 (next,previous): remove accessor functions
5554 (isParEnd): move to lyxrow_funcs
5555 (lastPos): move to lyxrow_funcs
5556 (nextRowIsAllInset): move to lyxrow_funcs
5557 (lastPrintablePos): move to lyxrow_funcs
5558 (numberOfSeparators): move to lyxrow_funcs
5559 (numberOfHfills): move to lyxrow_funcs
5560 (numberOfLabelHfills): move to lyxrow_funcs
5561 (hfillExpansion): move to lyxrow_funcs
5565 * bufferview_funcs.C (toggleAndShow): adjust
5567 * RowList.h: Remove class RowList from file leave just a
5570 * RowList.C: delete file
5572 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5575 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * text3.C (cursorPrevious): adjust
5578 (cursorNext): adjust
5581 * text2.C (redoHeightOfParagraph): adjust
5582 (redoDrawingOfParagraph): adjust
5585 * text.C (breakParagraph): adjust
5586 (insertChar): adjust
5589 * rowpainter.C (RowPainter): adjust
5590 (leftMargin): simplify and adjust
5591 (most rowpainter functions): adjust.
5593 * rowpainter.h: store the row as RowList::iterator not as Row*
5595 * lyxcursor.C (row): taka RowList::iterator as arg
5598 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5601 2003-04-01 Angus Leeming <leeming@lyx.org>
5603 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5604 stuff like bool Bool.
5606 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5608 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5611 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5613 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5616 * lyxtext.h (rows): drop one version and leve a const variant that
5617 returns a RowList::iterator.
5619 2003-03-31 Angus Leeming <leeming@lyx.org>
5621 * text.C (fill): ensure that the signature is the same as that in the
5624 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * text2.C (redoParagraphs): adjust
5627 (updateCounters): adjust
5628 (checkParagraph): adjust
5629 (getColumnNearX): adjust and reformat a bit.
5631 * text.C (top_y): adjust
5633 (leftMargin): adjust
5634 (prepareToPrint): adjust
5636 (getRowNearY): adjust
5638 * lyxtext.h: make rowlist_ mutable.
5640 * RowList.h: add const_iterator
5641 * RowList.C: adjust for RowList::const_iterator.
5643 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5646 2003-03-31 John Levon <levon@movementarian.org>
5649 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5651 * lyx_main.C: set default fonts from using lyx_gui funcs
5653 * exporter.C: pdf_mode moved from lyxrc
5656 * lyxfunc.C: changes from above
5658 2003-03-31 John Levon <levon@movementarian.org>
5660 * lyx_main.C: fix to the last fix
5662 2003-03-31 John Levon <levon@movementarian.org>
5664 * bufferlist.C: "Load original" -> "Load Original"
5670 * format.C: more Alert cleanups
5672 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * text2.C (removeParagraph): make it take a RowList::iterator as
5676 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5677 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5679 * text.C (anchor_row): make it take a RowList::iterator as arg,
5681 (computeBidiTables): make it take a const reference to Row instead
5682 of Row pointer, adjust.
5683 (leftMargin): make it take a RowList::iterator as arg, adjust.
5684 (rowBreakPoint): adjust
5685 (breakAgainOneRow): make it take a RowList::iterator as arg,
5687 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5689 * bufferview_funcs.C (toggleAndShow): adjust
5691 2003-03-30 John Levon <levon@movementarian.org>
5695 * boost-inst.C: moved to support
5697 * several files: changes as a result
5699 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * text2.C (LyXText): adjust.
5703 (removeRow): make it take a RowList::iterator as arg, adjust.
5704 (fullRebreak): adjust
5705 (deleteEmptyParagraphMechanism): adjust
5706 (clearPaint): adjust
5709 * text.C (top_y): adjust
5710 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5711 (breakAgain): make it take a RowList::iterator as arg, adjust.
5712 (breakParagraph): adjust
5713 (insertChar): adjust
5716 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5717 need_break_row, and refresh_row.
5719 * text3.C (dispatch): adjust
5721 * text2.C (checkParagraph): adjust
5723 (setCursorFromCoordinates): adjust
5725 * text.C (top_y): adjust
5727 (getRow): make it return a RowList::iterator, adjust
5728 (getRowNearY): make it return a RowList::iterator, adjust
5730 * text2.C (init): adjust
5731 (insertRow): remove function
5732 (insertParagraph): adjust
5733 (redoParagraphs): adjust
5734 (fullRebreak): adjust
5735 (updateCounters): adjust
5737 * text.C (top_y): rewrite to use RowList iterators.
5739 (setHeightOfRow): rewrite to sue RowList iterators.
5740 (appendParagraph): adjust
5741 (breakAgain): adjust
5742 (breakAgainOneRow): adjust
5743 (breakParagraph): adjust
5745 (getRowNearY): adjust, and remove commented code.
5747 * lyxtext.h (firstRow): delete function
5748 (lastRow): delete function
5749 (rows): new function (const and non-const versions.)
5750 (insertRow): delete function
5752 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5754 2003-03-29 John Levon <levon@movementarian.org>
5756 * BufferView_pimpl.C: always update scrollbar top
5757 because pasting text when we're anchored could mean we
5758 miss an update altogether
5760 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5762 * text2.C (init): use rowlist_.end() and not 0.
5763 (insertRow): change to take a RowList::iterator as arg, adjust
5765 (insertParagraph): change to take a RowList::iterator as arg,
5767 (redoParagraphs): remove some debug msgs.
5769 * text.C (appendParagraph): change to take a RowList::iterator
5770 arg, adjust for this.
5771 (breakAgain): add an assert
5772 (breakAgainOneRow): ditto
5774 2003-03-29 John Levon <levon@movementarian.org>
5776 * text2.C: do not clear selection after inc/decDepth
5779 2003-03-29 John Levon <levon@movementarian.org>
5782 * buffer.C: fix broken strerrors according to Lars
5784 2003-03-29 John Levon <levon@movementarian.org>
5786 * converters.C: more Alert cleanups
5788 2003-03-29 John Levon <levon@movementarian.org>
5790 * bufferview_funcs.C: remove pointless Alert
5792 * buffer.C: fix confusing error message when
5793 a template is chmoded 000
5795 2003-03-29 John Levon <levon@movementarian.org>
5799 * BufferView_pimpl.C: Alert fixes
5803 * tabular-old.C: remove unused table compat reading
5805 2003-03-29 John Levon <levon@movementarian.org>
5810 * lyx_cb.C: more Alert cleanups
5812 * lyxfunc.C: don't allow chktex if not latex document
5814 2003-03-29 John Levon <levon@movementarian.org>
5818 * buffer.C: warnings pushed down from support/,
5821 2003-03-29 John Levon <levon@movementarian.org>
5823 * lyxfunc.C: safety check for C-r (revert)
5825 2003-03-29 John Levon <levon@movementarian.org>
5828 * bufferlist.C: several UI fixes using Alert::prompt.
5829 Fix the pointless looping quit code. Fix stupid revert
5834 * lyx_cb.C: use Alert::prompt
5836 * lyx_main.C: remove a silly question
5838 * lyxfunc.C: remove a couple of silly questions,
5841 2003-03-28 John Levon <levon@movementarian.org>
5843 * text2.C: fix bug 974 (End on empty par)
5845 2003-03-28 John Levon <levon@movementarian.org>
5847 * BufferView_pimpl.C:
5849 * lfuns.h: remove do-nothing math greek lfuns
5851 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5853 * lyxgluelength.h (isValidGlueLength): add default arg on
5854 parameter 2. Remove default arg from friend in class.
5856 * lyxlength.h (isValidLength): add default arg on parameter 2.
5857 Remove default arg from friend in class.
5859 * text2.C (LyXText): adjust, initialize refresh_row.
5863 (insertParagraph): adjst
5864 (redoParagraphs): adjust
5865 (fullRebreak): adjust
5866 (updateCounters): adjust
5867 (deleteEmptyParagraphMechanism): first attempt at fixing a
5870 * text.C (top_y): adjust
5871 (setHeightOfRow): adjust
5873 (getRowNearY): adjust
5875 * lyxtext.h: include RowList.h
5876 (~LyXText): not needed anymore, deleted.
5877 (firstRow): modify for RowList
5878 (lastRow): new function
5879 Delete firstrow and lastrow class variables, add a Rowlist
5880 rowlist_ class variable.
5882 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5885 * RowList.C (insert): fix case where it == begin().
5887 2003-03-26 Angus Leeming <leeming@lyx.org>
5889 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5890 the thesaurus dialog.
5892 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5896 * RowList.[Ch]: new files
5898 * ParagraphList.C (erase): handle the case where it == begin
5901 2003-03-25 John Levon <levon@movementarian.org>
5905 * aspell.C: add new aspell support
5908 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5911 2003-03-25 Angus Leeming <leeming@lyx.org>
5914 * LyXAction.C (init): new LFUN_INSET_INSERT.
5916 * BufferView_pimpl.C (dispatch): split out part of the
5917 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5919 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5922 2003-03-25 Angus Leeming <leeming@lyx.org>
5924 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5926 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5929 * text3.C: remove useless row->height(0)
5931 2003-03-25 John Levon <levon@movementarian.org>
5935 * text3.C: rename the refreshing stuff to better names
5937 2003-03-24 John Levon <levon@movementarian.org>
5939 * BufferView_pimpl.h:
5940 * BufferView_pimpl.C: update layout choice on a mouse
5943 2003-03-23 John Levon <levon@movementarian.org>
5945 * Makefile.am: fix commandtags.h reference
5947 2003-03-22 John Levon <levon@movementarian.org>
5949 * BufferView_pimpl.C:
5954 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5956 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
5959 * text.C: take the rtl methods out of line
5961 2003-03-21 André Pönitz <poenitz@gmx.net>
5963 * metricsinfo.[Ch]: new files containing structures to be passed around
5964 during the two-phase-drawing...
5966 2003-03-21 André Pönitz <poenitz@gmx.net>
5968 * lyxtextclass.C: read 'environment' tag.
5970 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
5972 * text2.C (removeRow): fix bug 964
5974 2003-03-20 John Levon <levon@movementarian.org>
5978 * text2.C: paint cleanups. Inset::update() dropped font
5981 2003-03-19 John Levon <levon@movementarian.org>
5983 * lyxfunc.C: only fitcursor/markDirty if available()
5985 2003-03-19 John Levon <levon@movementarian.org>
5987 * commandtags.h: rename to ...
5989 * lfuns.h: ... this, and renumber / cleanup
5991 2003-03-19 John Levon <levon@movementarian.org>
5993 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5994 fit the cursor after an lfun
5998 * BufferView_pimpl.h:
5999 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6001 * LyXAction.C: layout-character should have ReadOnly
6003 * ParagraphParameters.C:
6005 * bufferview_funcs.C:
6012 * undo_funcs.C: changes from above
6014 2003-03-18 John Levon <levon@movementarian.org>
6016 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6017 remove it from update()
6019 * lyxfunc.C: update layout choice after an lfun
6021 * text3.C: remove extra updateLayoutChoice()s
6023 2003-03-18 John Levon <levon@movementarian.org>
6025 * text.C: top_y change means full repaint, fix
6026 a drawing bug with cursor movement
6028 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6032 * text2.C: anchor row on setCursor
6034 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6036 * lyxtext.h: remove almost all mutable keywords
6039 * text3.C: remove const keywords accordingly
6041 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6043 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6045 (TeXEnvironment): ditto
6048 2003-03-17 John Levon <levon@movementarian.org>
6050 * text.C (rowBreakPoint): remove attempt to fix displayed
6051 math insets inside a manual label
6053 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6055 * lyxtext.h: remove BufferView* as first arg from almost all class
6057 * other files: adjust.
6059 2003-03-17 John Levon <levon@movementarian.org>
6063 * text2.C: more paint cleanups
6065 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6068 * rowpainter.C: remove "smart" background painting code
6070 2003-03-16 John Levon <levon@movementarian.org>
6075 * text3.C: add helper functions for setting refresh_row/y
6077 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6079 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6080 newline inset which *can* get inserted in the pass_thru layouts.
6081 This is primarily for literate documents.
6083 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6085 * buffer.C: increment LYX_FORMAT to 223
6087 2003-03-14 André Pönitz <poenitz@gmx.net>
6089 * textclass.h: prepare for environment handling, ws changes
6090 * lyxlayout.C: read latexheader and latexfooter tags
6092 2003-03-14 John Levon <levon@movementarian.org>
6094 * text2.C: rewrite ::status() a bit
6096 2003-03-13 John Levon <levon@movementarian.org>
6098 * lyxtext.h: add some docs
6100 2003-03-13 John Levon <levon@movementarian.org>
6105 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6107 2003-03-13 John Levon <levon@movementarian.org>
6109 * text3.C: fix appendix redrawing
6111 2003-03-13 John Levon <levon@movementarian.org>
6113 * text.C (setHeightOfRow):
6115 * rowpainter.C: make appendix mark have the text
6116 "Appendix" so the user knows what it is
6119 * LColor.C: s/appendixline/appendix/ from above
6121 2003-03-13 John Levon <levon@movementarian.org>
6123 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6125 * text.C: fix a getChar(pos) bug properly
6127 2003-03-13 Angus Leeming <leeming@lyx.org>
6130 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6131 Probably only temporary. Let's see how things pan out.
6133 * BufferView.C (unlockInset):
6134 * BufferView_pimpl.C (fitCursor):
6135 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6137 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6138 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6140 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6141 new functions that convert ParagraphParameters to and from a string.
6143 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6144 BufferView::Pimpl's dispatch.
6145 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6147 2003-03-13 André Pönitz <poenitz@gmx.net>
6151 * factory.C: make it aware of InsetEnv
6153 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * text2.C (setCursor): never ask for one past last
6156 (setCursor): add some debugging messages.
6158 * text.C (singleWidth): never ask for one past last
6159 (singleWidth): ditto
6161 (rightMargin): ditto
6162 (rowBreakPoint): ditto
6163 (setHeightOfRow): ditto
6164 (prepareToPrint): ditto
6166 * rowpainter.C (paintBackground): never ask for one past last
6167 (paintText): never ask for one past last
6169 * paragraph_pimpl.C (getChar): make the assert stricter, never
6170 allow the one past last pos to be taken
6172 * paragraph.C (getChar): ws changes only
6174 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6175 (numberOfSeparators): ditto
6176 (numberOfHfills): ditto
6178 2003-03-12 John Levon <levon@movementarian.org>
6184 * paragraph_funcs.C: fix per-buffer authorlists
6186 2003-03-12 John Levon <levon@movementarian.org>
6188 * text.C: fix newline in right address
6190 2003-03-12 Angus Leeming <leeming@lyx.org>
6192 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6193 duplicate those in LyXFunc::dispatch.
6197 * ToolbarDefaults.C:
6198 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6199 Add LFUN_FONTFREE_UPDATE.
6201 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6202 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6204 * bufferview_func.[Ch]: several new functions to facilliate
6205 transfer of data to and from the character dialog.
6207 2003-03-12 John Levon <levon@movementarian.org>
6212 * paragraph_funcs.C:
6213 * paragraph_pimpl.C:
6217 * text3.C: remove META_NEWLINE in favour of an inset
6220 * rowpainter.C: remove paintNewline (done by inset)
6222 2003-03-12 John Levon <levon@movementarian.org>
6224 * paragraph_pimpl.C: complain about bad getChar()s
6225 for a while at least
6227 2003-03-12 John Levon <levon@movementarian.org>
6230 * buffer.C: move paragraph read into a separate function,
6231 a little renaming to reflect that.
6234 * bufferparams.C: remove the author_ids map, not necessary now
6237 * factory.C: moved Buffer::readInset to here
6239 * paragraph_funcs.h:
6240 * paragraph_funcs.C: readParagraph free function moved from
6243 * tabular.C: name change
6245 2003-03-12 John Levon <levon@movementarian.org>
6248 * ParagraphParameters.C: move par params input to
6251 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6252 behave like a normal read from the stream wrt reading
6253 a line vs. a \\token
6255 2003-03-12 John Levon <levon@movementarian.org>
6258 * ParagraphParameters.h:
6259 * ParagraphParameters.C: move output code to a
6262 2003-03-12 John Levon <levon@movementarian.org>
6264 * BufferView.C (insertLyXFile):
6267 * tabular.C: use a parlist iterator for creating the
6270 2003-03-12 John Levon <levon@movementarian.org>
6272 * buffer.C: make current_change static local not
6275 2003-03-12 John Levon <levon@movementarian.org>
6277 * buffer.C: fix insertStringAsLines for change tracking
6279 2003-03-12 John Levon <levon@movementarian.org>
6286 * bufferparams.C: move author list into params. Rename some
6287 functions. Move the header reading into a separate token
6288 loop. Move the header token reading into BufferParams.
6290 2003-03-12 John Levon <levon@movementarian.org>
6292 * changes.C: put debug inside lyxerr.debugging() checks
6294 2003-03-11 André Pönitz <poenitz@gmx.net>
6296 * factory.C: make it aware of InsetHFill
6298 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6300 * buffer.C (latexParagraphs): move function from here...
6301 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6304 2003-03-10 Angus Leeming <leeming@lyx.org>
6306 * LyXAction.C (init): fix bug in poplating array with multiple entries
6307 with the same LFUN (spotted by JMarc).
6309 2003-03-10 John Levon <levon@movementarian.org>
6312 * text2.C: move getColumnNearX() near its
6315 2003-03-10 John Levon <levon@movementarian.org>
6317 * text.C: fix break before a minipage
6319 2003-03-10 John Levon <levon@movementarian.org>
6321 * text.C: fix the last commit
6323 2003-03-09 John Levon <levon@movementarian.org>
6327 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6328 bug 365 (don't break before insets unless needed). Don't
6329 return a value > last under any circumstances.
6331 2003-03-09 Angus Leeming <leeming@lyx.org>
6333 * BufferView_pimpl.C (trackChanges, dispatch): call
6334 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6336 2003-03-09 Angus Leeming <leeming@lyx.org>
6338 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6339 than Dialogs::showAboutlyx().
6341 2003-03-09 Angus Leeming <leeming@lyx.org>
6343 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6344 than Dialogs::showTabularCreate().
6346 2003-03-09 John Levon <levon@movementarian.org>
6350 * text2.C: 3rd arg to nextBreakPoint was always the same.
6353 2003-03-08 John Levon <levon@movementarian.org>
6360 * text2.C: Remove the "main" bit from the "main body"
6363 2003-03-08 John Levon <levon@movementarian.org>
6365 * text.C (leftMargin): The left margin of an empty
6366 manual label paragraph should not include the label width
6369 * text.C (prepareToPrint): don't attempt to measure hfills
6370 for empty manual label paragraphs - the answer should be 0
6372 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6374 * CutAndPaste.C: remove commented code and reindent.
6376 2003-03-08 John Levon <levon@movementarian.org>
6379 * lyxfunc.C: move reloadBuffer()
6382 * BufferView.C: to here
6384 * lyxvc.C: add comment
6387 * vc-backend.C: call bv->reload() to avoid
6388 getStatus() check on MENURELOAD
6390 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6392 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6393 to an old format .dep file.
6395 2003-03-07 Angus Leeming <leeming@lyx.org>
6397 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6398 when the LFUN_MOUSE_RELEASE should have been handled by
6399 inset->localDispatch.
6401 2003-03-07 Angus Leeming <leeming@lyx.org>
6403 * BufferView_pimpl.C (dispatch):
6404 * LyXAction.C (init):
6405 * ToolbarDefaults.C (init):
6407 * lyxfunc.C (getStatus):
6408 remove LFUN_INSET_GRAPHICS.
6410 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6412 2003-03-07 Angus Leeming <leeming@lyx.org>
6415 * LyXAction.C (init):
6416 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6418 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6421 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6423 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6424 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6426 2003-03-07 Angus Leeming <leeming@lyx.org>
6428 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6431 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6433 * ParagraphList.C (front): new function
6436 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6438 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6439 and top_row_offset_. removed var first_y.
6441 * text2.C (LyXText, removeRow):
6443 * BufferView_pimpl.C:
6444 use these methods instead of using first_y
6446 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * text2.C (pasteSelection): adjust for checkPastePossible
6450 * CutAndPaste.C: remove Paragraph * buf and replace with
6451 ParagraphList paragraphs.
6452 (DeleteBuffer): delete
6453 (cutSelection): change the tc type to textclass_type
6454 (copySelection): change the tc type to textclass_type
6455 (copySelection): adjust for ParagraphList
6456 (pasteSelection): change the tc type to textclass_type
6457 (pasteSelection): adjust for Paragraphlist
6458 (nrOfParagraphs): simplify for ParagraphList
6459 (checkPastePossible): simplify for ParagraphList
6460 (checkPastePossible): remove unused arg
6462 * ParagraphList.C (insert): handle the case where there are no
6465 * CutAndPaste.h: make CutAndPaste a namespace.
6467 * text3.C (dispatch): adjust
6469 * text.C (breakParagraph): add a ParagraphList as arg
6471 * paragraph_funcs.C (breakParagraph): change to take a
6472 BufferParams and a ParagraphList as args.
6473 (breakParagraphConservative): ditto
6474 (mergeParagraph): ditto
6475 (TeXDeeper): add a ParagraphList arg
6476 (TeXEnvironment): ditto
6479 * buffer.C (readLyXformat2): adjust
6480 (insertStringAsLines): adjust
6481 (latexParagraphs): adjust
6483 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6484 (cutSelection): adjust
6485 (pasteSelection): adjust
6487 * BufferView_pimpl.C (insertInset): adjust
6489 2003-03-05 Angus Leeming <leeming@lyx.org>
6492 * LyXAction.C (init):
6493 * BufferView_pimpl.C (dispatch):
6494 * lyxfunc.C (getStatus):
6495 remove LFUN_CHILD_INSERT.
6497 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6499 2003-03-05 Angus Leeming <leeming@lyx.org>
6502 * LyXAction.C (init):
6503 * src/factory.C (createInset):
6504 * lyxfunc.C (getStatus):
6505 * text3.C (dispatch):
6506 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6508 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6510 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * ParagraphList.C (insert): handle insert right before end()
6513 (erase): fix cases where it can be first or last paragraph.
6515 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6518 Paragraph::next and Paragraph::previous
6521 * text.C (breakParagraph): adjust
6523 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6524 BufferParams& as arg.
6525 (breakParagraph): use ParagraphList::insert
6526 (breakParagraphConservative): take a Buffer* instead of a
6527 BufferParams& as arg.
6528 (breakParagraphConservative): use ParagraphList::insert.
6530 * buffer.C (insertStringAsLines): un-const it
6531 (insertStringAsLines): adjust
6533 * ParagraphList.C (insert): new function
6535 * CutAndPaste.C (pasteSelection): adjust
6537 * text.C (backspace): adjust
6539 * tabular.C (SetMultiColumn): adjust
6541 * CutAndPaste.C (cutSelection): adjust
6542 (pasteSelection): adjust
6544 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6545 Buffer const * as arg
6547 * ParagraphList.C (erase): new function
6548 * paragraph_funcs.C (mergeParagraph): use it
6549 (mergeParagraph): make it take a Buffer* instead of a
6550 BufferParams* as arg
6552 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6554 (breakParagraphConservative): ditto
6556 * paragraph.h: remove the breakParagraph friend
6558 * paragraph.C (eraseIntern): new function
6559 (setChange): new function
6561 * paragraph_funcs.C (mergeParagraph): make it take a
6562 ParagraphList::iterator instead of a Paragraph *, adjust
6565 * paragraph.h: move an #endif so that the change tracking stuff
6566 also works in the NO_NEXT case.
6568 2003-03-04 Angus Leeming <leeming@lyx.org>
6571 * LyXAction.C: new LFUN_INSET_MODIFY.
6573 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6574 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6576 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6578 * several files: ws changes only
6580 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6581 (TeXEnvironment): ditto
6584 * buffer.C (makeLaTeXFile): adjust
6585 (latexParagraphs): make it take ParagraphList::iterator as args
6587 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6589 * buffer.C (latexParagraphs): adjust
6591 * paragraph.C (TeXOnePar): move function...
6592 (optArgInset): move function...
6593 (TeXEnvironment): move function...
6594 * paragraph_pimpl.C (TeXDeeper): move function...
6595 * paragraph_funcs.C: ...here
6597 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6599 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6601 * buffer.C (readInset): remove compability code for old Figure and
6604 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * buffer.C: ws changes
6609 * BufferView_pimpl.C: ditto
6612 * bufferlist.h: ditto
6616 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6618 * converter.[Ch]: split into itself +
6621 * Makefile.am: += graph.[Ch] + format.[Ch]
6628 * lyxrc.C: added #include "format.h"
6630 2003-02-27 Angus Leeming <leeming@lyx.org>
6632 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6635 * factory.C (createInset): add "label" to the factory.
6637 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6638 string and do no more.
6640 2003-02-27 Angus Leeming <leeming@lyx.org>
6643 * LyXAction.C (init):
6644 * factory.C (createInset):
6645 * BufferView_pimpl.C (dispatch):
6646 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6648 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6650 * lyxfunc.C (dispatch):
6651 * text3.C (dispatch): pass name to params2string.
6653 2003-02-26 Angus Leeming <leeming@lyx.org>
6655 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6657 Rearrange the ~includes. Strip out the unnecessary ones.
6659 * factory.C (createInset): reformat.
6660 create new insets for the various LFUN_XYZ_APPLY lfuns.
6662 2003-02-26 John Levon <levon@movementarian.org>
6665 * lyxrow.C: add isParStart,isParEnd helpers
6667 * paragraph.h: make isInserted/DeletedText take refs
6669 * paragraph_funcs.h:
6670 * paragraph_funcs.C: remove #if 0'd code
6675 * text.C: use lyxrow helpers above.
6676 Move draw and paint routines to RowPainter.
6677 Make several methods use refs not pointers.
6678 Make backgroundColor() const.
6679 Add markChangeInDraw(), isInInset().
6680 Merge changeRegionCase into changeCase.
6681 Make workWidth() shouldn't-happen code into an Assert.
6684 * rowpainter.C: new class for painting a row.
6687 * vspace.C: make inPixels take a ref
6689 2003-02-26 Angus Leeming <leeming@lyx.org>
6691 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6694 2003-02-25 John Levon <levon@movementarian.org>
6696 * ispell.C: give the forked command a more accurate name
6698 2003-02-22 John Levon <levon@movementarian.org>
6701 * toc.C: make TocItem store an id not a Paragraph *
6704 2003-02-21 Angus Leeming <leeming@lyx.org>
6706 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6707 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6708 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6709 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6710 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6711 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6713 * BufferView_pimpl.C (dispatch):
6714 * LyXAction.C (init):
6715 * factory.C (createInset):
6716 * lyxfunc.C (getStatus, dispatch):
6717 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6719 2003-02-21 Angus Leeming <leeming@lyx.org>
6721 * BufferView_pimpl.C (MenuInsertLyXFile):
6722 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6723 * lyxfunc.C (menuNew, open, doImport):
6724 no longer pass a LyXView & to fileDlg.
6726 2003-02-21 Angus Leeming <leeming@lyx.org>
6728 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6729 * LyXAction.C: change, BIBKEY to BIBITEM.
6730 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6731 Change InsetBibKey to InsetBibitem.
6732 Change BIBKEY_CODE to BIBITEM_CODE.
6733 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6734 * factory.C: replace insetbib.h with insetbibitem.h.
6735 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6736 * paragraph.C: replace insetbib.h with insetbibitem.h.
6737 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6738 Change bibkey() to bibitem().
6739 * text.C: remove insetbib.h.
6740 * text2.C: replace insetbib.h with insetbibitem.h.
6741 change bibkey() to bibitem().
6742 * text3.C: remove insetbib.h.
6743 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6745 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6747 * lyxrc.C (output): enclose user email in quotes (in case there are
6750 2003-02-18 John Levon <levon@movementarian.org>
6752 * buffer.h: add std::
6754 2003-02-17 John Levon <levon@movementarian.org>
6760 * pspell.C: reworking. Especially in ispell, a large
6761 number of clean ups and bug fixes.
6763 * lyxfunc.C: fix revert to behave sensibly
6765 2003-02-17 André Pönitz <poenitz@gmx.net>
6768 * commandtags.h: new LFUN_INSERT_BIBKEY
6778 * paragraph_func.C: remove special bibkey handling
6780 2003-02-17 John Levon <levon@movementarian.org>
6782 * text.C (Delete): fix case where delete at the end of
6783 the very first paragraph would not merge the pars
6785 2003-02-17 John Levon <levon@movementarian.org>
6787 * lyxrow.C: fix lastPrintablePos()
6789 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6791 * bufferparams.C (writeLaTeX): add a std:here
6793 * buffer.C: and remove a using directive there
6795 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6797 * buffer.C (makeLaTeXFile): move the code that generates the
6800 * bufferparams.C (writeLaTeX): ... in this new method
6802 * LaTeXFeatures.C (getEncodingSet): make const
6803 (getLanguages): make const
6805 * MenuBackend.C (binding): returns the binding associated to this
6807 (add): sets the status of each item by calling getStatus. Adds
6809 (read): add support for OptSubMenu
6810 (expand): remove extra separator at the end of expanded menu
6812 2003-02-15 John Levon <levon@movementarian.org>
6815 * BufferView_pimpl.C:
6817 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6818 inset code that had no actual effect. Remove unneeded status
6821 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6823 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6826 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6828 * text.C (drawLengthMarker): also draw an arrow marker for
6829 symbolic lengths (medskip...)
6831 2003-02-14 John Levon <levon@movementarian.org>
6834 * tabular.C: better method names
6836 2003-02-14 John Levon <levon@movementarian.org>
6838 * BufferView_pimpl.C:
6843 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6844 it's a more accurate name. Remove some pointless uses.
6846 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6848 * text2.C (LyXText): change order of initilizers to shut off
6851 2003-02-14 John Levon <levon@movementarian.org>
6853 * buffer.C: use ParIterator for getParFromID()
6857 * paragraph_pimpl.h:
6858 * paragraph_pimpl.C: remove unused getParFromID()
6860 2003-02-14 John Levon <levon@movementarian.org>
6862 * buffer.C: remove some very old #if 0'd parse code
6864 2003-02-13 John Levon <levon@movementarian.org>
6868 * text2.C: move hfillExpansion(), numberOfSeparators(),
6869 rowLast(), rowLastPrintable(), numberofHfills(),
6870 numberOfLabelHfills() ...
6873 * lyxrow.C: ... to member functions here.
6878 * text.C: remove LyXText::beginningOfMainBody(), and call
6879 p->beginningOfMainBody() directly. Move the check for
6880 LABEL_MANUAL into the latter.
6887 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6893 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6894 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6896 2003-02-13 John Levon <levon@movementarian.org>
6898 * CutAndPaste.C: remove debug
6900 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6902 * paragraph.C (asString): remove two unused variables
6904 * lyxtextclass.C (readTitleType):
6906 (LyXTextClass): handle new members titletype_ and titlename_
6908 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6910 2003-02-09 John Levon <levon@movementarian.org>
6913 * buffer.C: replace hand-coded list with a map for the dep clean
6915 2003-02-08 John Levon <levon@movementarian.org>
6917 * LaTeX.C: consolidate code into showRunMessage() helper
6919 2003-02-08 John Levon <levon@movementarian.org>
6924 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6925 and pass the size in explicitly
6927 * BufferView_pimpl.h:
6928 * BufferView_pimpl.C:
6930 * BufferView.C: add getCurrentChange()
6932 * BufferView_pimpl.h:
6933 * BufferView_pimpl.C: handle change lfuns
6935 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6936 for changes. Mark pasted paragraphs as new.
6938 * support/lyxtime.h:
6939 * support/lyxtime.C:
6940 * DepTable.C: abstract time_t as lyx::time_type
6943 * LColor.C: add colours for new text, deleted text, changebars
6945 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6946 package use "usenames" option.
6950 * LyXAction.C: add change lfuns
6954 * author.C: author handling
6957 * buffer.C: add a per-buffer author list, with first entry as
6958 current author. Handle new .lyx tokens for change tracking. Output
6959 author list to .lyx file. Output dvipost stuff to .tex preamble.
6960 Bump lyx format to 222.
6963 * bufferlist.C: add setCurrentAuthor() to reset current author details
6967 * bufferparams.C: add param for tracking
6969 * bufferview_funcs.C: output change info in minibuffer
6973 * changes.C: add change-tracking structure
6976 * debug.C: add CHANGES debug flag
6979 * lyxfind.C: add code for finding the next change piece
6982 * lyxrc.C: add user_name and user_email
6985 * lyxrow.C: add a metric for the top of the text line
6988 * text.C: implement accept/rejectChange()
6991 * text.C: paint changebars. Paint new/deleted text in the chosen
6992 colours. Strike through deleted text.
6996 * paragraph_pimpl.h:
6997 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6998 in the current change to the insert functions. Rework erase to
6999 mark text as deleted, adding an eraseIntern() and a range-based
7000 erase(). Implement per-paragraph change lookup and
7003 * paragraph_funcs.C: Fixup paste for change tracking.
7005 * tabular.C: mark added row/columns as new.
7007 * text.C: fix rowLast() to never return -1. Don't allow
7008 spellchecking of deleted text. Track transpose changes. Don't
7009 allow paragraph break or merge where appropriate.
7011 * text2.C: leave cursor at end of selection after a cut.
7013 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7015 * text.C (getLengthMarkerHeight):
7016 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7017 visible on screen too.
7019 2003-02-07 John Levon <levon@movementarian.org>
7021 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7023 2003-02-05 Angus Leeming <leeming@lyx.org>
7025 * lyxserver.C (read_ready): revert my patch of 11 September last year
7026 as it sends PC cpu through the roof. Presumably this means that
7027 the lyxserver will no longer run on an Alpha...
7029 2003-01-30 Angus Leeming <leeming@lyx.org>
7031 * factory.C (createInset): create an InsetCommandParam of type "index"
7032 and use it to 'do the right thing'.
7034 * text2.C (getStringToIndex): ensure that cursor position is always
7035 reset to the reset_cursor position.
7037 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7039 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7042 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7046 * lyxfunc.C: Output messages with identical spelling, punctuation,
7049 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7051 * MenuBackend.C (expandFormats): List only viewable export formats
7054 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7057 * lyxfunc.C (getStatus): Make sure that formats other than
7058 "fax" can also be disabled
7060 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7062 * text3.C (dispatch): put the lfuns that insert insets in 3
7063 groups, and call doInsertInset with appropriate arguments.
7064 (doInsertInset): new function, that creates an inset and inserts
7065 it according to some boolean parameters.
7067 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * buffer.C (readFile): remember to pass on 'par' when calling
7070 readFile recursively.
7072 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7074 * MenuBackend.C (expandFormats): add "..." to import formats.
7076 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7078 * paragraph.C (asString): Remove XForms RTL hacks.
7080 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7081 * buffer.C: fix typo
7083 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * Makefile.am (LIBS): delete var
7086 (lyx_LDADD): add @LIBS@ here instead.
7088 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7090 * Clarify the meaning of "wheel mouse jump"
7092 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7094 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7097 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7099 * importer.C (Loaders): do not preallocate 3 elements in the
7100 vector, since one ends up with 6 elements otherwise
7102 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7104 * DepTable.C (write): write the file name as last element of the
7105 .dep file (because it may contain spaces)
7106 (read): read info in the right order
7108 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7110 * paragraph_pimpl.C (simpleTeXBlanks):
7111 (simpleTeXSpecialChars):
7112 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7114 * tabular.C (latex): add some missing case statements. Reindent.
7116 * MenuBackend.C (expandToc): remove unused variable.
7118 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7127 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7130 2003-01-05 John Levon <levon@movementarian.org>
7133 * BufferView.C: add getEncoding()
7136 * kbsequence.C: do not store last keypress
7139 * lyxfunc.C: store last keypress here instead. Pass encoding
7142 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7144 * lyx_main.C (init): remove annoying error message when following
7145 symbolic links (bug #780)
7147 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7149 * text.C (insertChar):
7150 * lyxrc.C (getDescription): remove extra spaces
7152 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7154 * lyxrc.C (getDescription): remove extra spaces
7156 2002-12-20 John Levon <levon@movementarian.org>
7158 * text3.C: hack fix for page up/down across tall rows
7160 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7162 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7165 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7167 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7168 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7169 thesaurus is not compiled in
7171 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7173 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7175 2002-12-16 Angus Leeming <leeming@lyx.org>
7178 * lyx_main.C (init): remove override_x_deadkeys stuff.
7180 2002-12-12 John Levon <levon@movementarian.org>
7182 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7183 insert. Only remove shift modifier under strict
7186 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7188 * MenuBackend.C (expandToc): fix crash.
7190 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * MenuBackend.C (expandToc): gettext on float names.
7194 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7196 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7197 implement bool empty() [bug 490]
7199 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7203 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7205 * several files: ws changes
7207 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7209 * text2.C (setCounter): clean up a bit, use boost.format.
7210 (updateCounters): initialize par upon declaration.
7212 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7213 if the layout exists. We do not just store the layout any more.
7214 (SwitchLayoutsBetweenClasses): use boost.format
7216 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7218 * converter.C (convert): if from and to files are the same, use a
7219 temporary files as intermediary
7221 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7224 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7226 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7228 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7230 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7232 * tabular.C (asciiPrintCell): use string(size, char) instead of
7235 * sgml.C (openTag): fix order of arguments to string constructor
7238 * lyxfunc.C (dispatch): use boost.format
7240 * lots of files: change "c" -> 'c'
7242 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7244 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7246 2002-11-25 Angus Leeming <leeming@lyx.org>
7248 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7250 * lyx_main.C (init): compile fix.
7252 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * lyx_cb.C (start): boost.formatify
7255 do not include <iostream>
7257 * lengthcommon.C: ws only
7259 * boost-inst.C,BoostFormat.h: add more explict instantations
7261 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7263 * lots of files: handle USE_BOOST_FORMAT
7265 2002-11-21 John Levon <levon@movementarian.org>
7267 * pspell.C: fix compile
7269 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7271 * lyxfunc.C (dispatch): use boost::format
7275 * lyxfont.C (stateText): use boost::format
7277 * lyx_main.C (LyX): use boost::format
7279 (queryUserLyXDir): ditto
7282 (typedef boost::function): use the recommened syntax.
7284 * importer.C (Import): use boost::format
7286 * debug.C (showLevel): use boost::format
7288 * converter.C (view): use boost::format
7293 * bufferview_funcs.C (currentState): use boost::format
7295 * bufferlist.C (emergencyWrite): use boost::format
7297 * buffer.C (readLyXformat2): use boost::format
7298 (parseSingleLyXformat2Token): ditto
7300 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7302 * LaTeX.C (run): use boost::format
7304 * Chktex.C (scanLogFile): use boost::format
7306 * BufferView_pimpl.C (savePosition): use boost::format
7307 (restorePosition): ditto
7308 (MenuInsertLyXFile): ditto
7310 * BoostFormat.h: help file for explicit instation.
7312 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7314 * tabular.C (latex): Support for block alignment in fixed width
7317 2002-11-17 John Levon <levon@movementarian.org>
7319 * BufferView_pimpl.C:
7321 * lyxfunc.C: split filedialog into open/save
7323 2002-11-08 Juergen Vigna <jug@sad.it>
7325 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7326 by my last patch (hopefully).
7328 2002-11-08 John Levon <levon@movementarian.org>
7337 * toc.C: ParConstIterator, and use it (from Lars)
7339 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7341 * lyxtextclass.[Ch]: revise and add doxygen comments
7343 2002-11-07 John Levon <levon@movementarian.org>
7345 * text.C: fix progress value for spellchecker
7347 * toc.C: fix navigate menu for insetwrap inside minipage
7349 * paragraph_funcs.C: added FIXME for suspect code
7351 2002-11-07 John Levon <levon@movementarian.org>
7353 * BufferView_pimpl.C: fix redrawing of insets
7356 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7358 * text2.C (updateCounters): fix bug 668
7360 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7362 * text3.C (dispatch): Do not make the buffer dirty when moving the
7365 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7367 * vc-backend.C: STRCONV
7370 * text2.C (setCounter): STRCONV
7372 * paragraph.C (asString): STRCONV
7374 * lyxlength.C (asString): STRCONV
7375 (asLatexString): ditto
7377 * lyxgluelength.C (asString): STRCONV
7378 (asLatexString): ditto
7380 * lyxfunc.C (dispatch): STRCONV
7383 * lyxfont.C (stateText): STRCONV
7385 * importer.C (Import): STRCONV
7387 * counters.C (labelItem): STRCONV
7388 (numberLabel): ditto
7389 (numberLabel): remove unused ostringstream o
7394 * bufferview_funcs.C (currentState): STRCONV
7396 * buffer.C (readFile): STRCONV
7397 (asciiParagraph): ditto
7398 (makeLaTeXFile): ditto
7400 * Spacing.C (writeEnvirBegin): STRCONV
7402 * LaTeXFeatures.C (getLanguages): STRCONV
7403 (getPackages): ditto
7405 (getBabelOptions): ditto
7406 (getTClassPreamble): ditto
7407 (getLyXSGMLEntities): ditto
7408 (getIncludedFiles): ditto
7412 (scanAuxFile): ditto
7415 * LString.h: add the STRCONV macros
7417 * BufferView_pimpl.C (savePosition): STRCONV
7418 (restorePosition): ditto
7419 (MenuInsertLyXFile): ditto
7421 * vc-backend.C (scanMaster): change from submatch[...] to
7424 * funcrequest.C: include config.h
7426 * factory.C: include config.h
7428 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7430 * box.C: include config.h
7432 * LaTeX.C (scanAuxFile): change from submatch[...] to
7436 2002-10-25 Angus Leeming <leeming@lyx.org>
7438 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7440 * ispell.[Ch] (setError): new method.
7441 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7442 Use setError() insetead of goto END.
7444 * lyx_cb.C (AutoSave): move out child process into new class
7447 2002-10-30 John Levon <levon@movementarian.org>
7449 * text3.C: make start appendix undoable
7451 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7453 * lyxlength.C (inPixels): Fix returned value.
7455 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7458 2002-10-24 Angus Leeming <leeming@lyx.org>
7460 * lyxgluelength.h: no need to forward declare BufferParams
7461 or BufferView, so don't.
7463 2002-10-21 John Levon <levon@movementarian.org>
7465 * BufferView.C: menuUndo ->undo, redo
7467 * BufferView.h: document, remove dead, make some methods private
7469 * paragraph_funcs.h:
7470 * paragraph_funcs.C:
7471 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7476 * sgml.C: move sgml open/close tag into sgml.C
7478 * bufferview_funcs.h: unused prototype
7481 * lyxfunc.C: remove unused
7484 * text.C: remove unused
7486 2002-10-21 John Levon <levon@movementarian.org>
7490 * BufferView_pimpl.h:
7491 * BufferView_pimpl.C: fix mouse wheel handling based on
7492 patch from Darren Freeman
7494 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7496 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7498 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7500 * lyxlength.C (inPixels): Fix hanfling of negative length.
7501 Fix LyXLength::MU case.
7503 2002-10-16 John Levon <levon@movementarian.org>
7505 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7507 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7509 * converter.C (view): add support for $$i (file name) and $$p
7510 (file path) for the viewer command. If $$i is not specified, then
7511 it is appended to the command (for compatibility with old syntax)
7513 2002-10-14 Juergen Vigna <jug@sad.it>
7515 * undo_funcs.C (textHandleUndo): alter the order in which the
7516 new undopar is added to the LyXText, as we have to set first
7517 the right prev/next and then add it as otherwise the rebuild of
7518 LyXText is not correct. Also reset the cursor to the right paragraph,
7519 with this IMO we could remove the hack in "redoParagraphs()".
7521 2002-10-09 Angus Leeming <leeming@lyx.org>
7523 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7524 to turn off an optimisation if a new inset is to be inserted.
7526 2002-10-11 André Pönitz <poenitz@gmx.net>
7528 * lyxtext.h: make some functions public to allow access
7529 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7531 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7533 * text3.C (dispatch): when changing layout, avoid an infinite loop
7536 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7538 * lyxrc.C (read): treat a viewer or converter command of "none" as
7541 * MenuBackend.C (expandFormats): for an update, also allow the
7542 formats that are not viewable
7544 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7545 script if it is newer than the lyxrc.defaults in user directory
7547 2002-10-07 André Pönitz <poenitz@gmx.net>
7549 * text.C: Vitaly Lipatov's small i18n fix
7551 2002-09-25 Angus Leeming <leeming@lyx.org>
7553 * ispell.h: doxygen fix.
7555 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7557 * buffer.h (readFile): Add a new argument to the method, to allow
7558 reading of old-format templates.
7560 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7562 * toc.C (getTocList): Get TOC from InsetWrap.
7564 2002-09-16 John Levon <levon@movementarian.org>
7566 * lyxfunc.C: check tabular for cut/copy too
7568 2002-09-12 John Levon <levon@movementarian.org>
7573 * factory.C: add header
7575 * paragraph_funcs.h:
7576 * paragraph_funcs.C: cleanup
7578 2002-09-11 John Levon <levon@movementarian.org>
7580 * PrinterParams.h: odd/even default to true
7582 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7584 * PrinterParams.h: update printer parameters for new xforms dialog
7586 2002-09-11 Angus Leeming <leeming@lyx.org>
7588 * lyxserver.C (read_ready): re-write to make it more transparent
7589 and to make it work in coherent fashion under Tru64 Unix.
7591 2002-09-11 André Pönitz <poenitz@gmx.net>
7595 * text3.C: implement LFUN_WORDSEL
7597 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7600 make floatlist_ a boost::shared_ptr<FloatList>
7602 * lyxtextclass.C: include FloatList.h
7603 (LyXTextClass): initialize floatlist_
7604 (TextClassTags): add TC_NOFLOAT
7605 (Read): match "nofloat" to TC_NOFLOAT and use it.
7606 (readFloat): modify call to floatlist_
7610 * FloatList.[Ch] (FloatList): remove commented out float
7612 (erase): new function
7614 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7616 * MenuBackend.C (expandToc): fix crash when there is no document
7619 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7621 * many files: Add insetwrap.
7623 2002-09-09 John Levon <levon@movementarian.org>
7625 * text2.C: remove confusing and awkward depth wraparound
7627 2002-09-09 John Levon <levon@movementarian.org>
7629 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7632 * buffer.C: remove getIncludeonlyList()
7635 * lyxfunc.C: remove headers
7637 2002-09-09 Juergen Vigna <jug@sad.it>
7639 * text.C (getColumnNearX): fix form Michael this is most
7640 probably a cut&paste bug.
7642 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7644 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7646 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7647 references, ws changes.
7649 * text2.C (init): update counters after init
7650 (insertParagraph): no need to set counter on idividual paragraphs.
7651 (setCounter): access the counters object in the textclass object
7652 on in the buffer object.
7653 (updateCounters): ditto
7655 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7656 shared_ptr<Counters> to avoid loading counters.h in all
7658 (LyXTextClass): initialize ctrs_
7659 (TextClassTags): add TC_COUNTER, and ...
7660 (Read): use it here.
7661 (CounterTags): new tags
7662 (readCounter): new function
7663 (counters): new funtion
7664 (defaultLayoutName): return a const reference
7666 * counters.C (Counters): remove contructor
7667 (newCounter): remove a couple of unneeded statements.
7668 (newCounter): simplify a bit.
7669 (numberLabel): some small formatting changes.
7671 * buffer.[Ch]: remove all traces of counters, move the Counters
7672 object to the LyXTextClass.
7674 2002-09-06 Alain Castera <castera@in2p3.fr>
7676 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7677 package to set the horizontal alignment on fixed width columns.
7680 * lyx_sty.h: added tabularnewline macro def.
7682 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7684 2002-09-06 John Levon <levon@movementarian.org>
7686 * LyXAction.C: tooltips for sub/superscript
7688 * MenuBackend.C: a bit more verbose
7690 * lyxfunc.C: tiny clean
7692 * undo_funcs.C: document undo_frozen
7694 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7696 * counters.C (Counters): add missing algorithm counter.
7698 * text2.C (setCounter): lookup the counter with layouts latexname
7699 instead of by section number.
7700 (setCounter): use a hackish way to lookup the correct enum
7702 a float name->type change
7703 reset enum couners with counter name directly instead of depth value.
7705 * counters.C (Counters): remove the push_backs, change to use the
7706 float type not the float name.
7707 (labelItem): remove unused string, float name->type change
7709 * counters.h: don't include vector, loose the enums and sects vectors
7711 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7713 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7714 (Read): add float->TC_FLOAT to textclassTags
7715 (Read): and handle it in the switch
7716 (readFloat): new function
7718 * FloatList.C (FloatList): comment out the hardcoded float
7721 * lyxlayout.h: ws change.
7723 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7725 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7727 2002-09-03 Angus Leeming <leeming@lyx.org>
7729 * BufferView_pimpl.h: qualified name is not allowed in member
7730 declaration: WorkArea & Pimpl::workarea() const;
7732 * factory.C: added using std::endl directive.
7734 * text3.C: added using std::find and std::vector directives.
7736 2002-08-29 André Pönitz <poenitz@gmx.net>
7739 * text2.C: remove unused member number_of_rows
7742 * BufferView2.C: remove file, move contents to...
7743 * BufferView.C: ... here
7745 * BufferView_pimpl.C:
7746 * factory.C: move more inset creation to factory
7748 * vspace.C: avoid direct usage of LyXText, ws changes
7751 don't provide direct access to WorkArea, use two simple
7752 acessors haveSelction() and workHeight() instead
7755 2002-08-29 John Levon <levon@movementarian.org>
7757 * BufferView_pimpl.C (dispatch): do not continue when
7760 2002-08-28 André Pönitz <poenitz@gmx.net>
7762 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7765 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7767 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7769 * buffer.C: increment LYX_FORMAT to 221
7771 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7772 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7774 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7776 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7778 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7780 * factory.C (createInset): use LyXTextClass::floats
7782 * MenuBackend.C (expandFloatListInsert):
7783 (expandFloatInsert):
7786 * text2.C (setCounter):
7788 * LaTeXFeatures.C (useFloat):
7789 (getFloatDefinitions):
7791 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7793 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7794 floatlist_, with accessor floats().
7796 * FloatList.h: remove global FloatList
7798 2002-08-26 André Pönitz <poenitz@gmx.net>
7800 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7804 * BufferView_pimpl.C:
7805 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7807 2002-08-25 John Levon <levon@movementarian.org>
7809 * LyXAction.C: fix margin note description
7811 2002-08-24 John Levon <levon@movementarian.org>
7815 * bufferview_funcs.C:
7817 * undo_funcs.C: cleanups
7819 * lyxfunc.C: disable CUT/COPY when no selection
7821 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7823 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7824 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7826 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7827 Add backward compatibility to "mono", "gray" and "no".
7829 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7831 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7832 (and file_format >= 200).
7834 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7836 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7838 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7840 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7842 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7844 * BufferView_pimpl.C:
7851 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7852 inset and code to make it work with the paragraph code. The inset
7853 can be anywhere in the paragraph, but will only do the expected
7854 thing in LaTeX if the layout file contains the parameter line
7856 (or more generally, a nonzero value) for that layout.
7858 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * paragraph.h: remove the declaration of undefined counters class
7863 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7865 * text2.C (setCounter): fixed enumeration mis-count as reported by
7866 Dr. Richard Hawkins.
7868 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7870 * paragraph_funcs.h: remove some unneeded includes
7872 * text.C (backspace): pasteParagraph now in global scipe
7874 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7875 (pasteSelection): ditto
7877 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7878 * paragraph_funcs.C (pasteParagraph): ... here
7880 2002-08-20 André Pönitz <poenitz@gmx.net>
7882 * commandtags.h: new LFUNs for swapping/copying table row/colums
7885 * lyxfunc.C: support for new lfuns
7887 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7890 * buffer.[Ch]: remove NO_COMPABILITY stuff
7892 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7894 * boost.C (throw_exception): new file, with helper function for
7895 boost compiled without exceptions.
7900 * ParameterStruct.h:
7901 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7903 * bufferlist.C (emergencyWriteAll): use boost bind
7905 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7907 * text.C: include paragraph_funcs.h
7908 (breakParagraph): breakParagraph is now in global scope
7910 * paragraph_funcs.[Ch]: new files
7912 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7915 * buffer.C: include paragraph_funcs.h
7916 (insertStringAsLines): breakParagraph is now in global scope
7918 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7921 * CutAndPaste.C: include paragraph_funcs.h
7922 (cutSelection): breakParagraphConservative is now in global scope
7923 (pasteSelection): ditto
7925 * buffer.h: declare oprator== and operator!= for
7926 Buffer::inset_iterator
7928 * bufferlist.C (emergencyWrite): don't use fmt(...)
7930 * text3.C: add using std::endl
7932 * BufferView.C (moveCursorUpdate): remove default arg
7934 2002-08-20 André Pönitz <poenitz@gmx.net>
7936 * buffer.[Ch]: move inline functions to .C
7939 * BufferView_pimpl.C:
7941 * buffer.[Ch]: use improved inset_iterator
7944 * paragraph.[Ch]: write one paragraph at a time
7946 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
7948 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7949 style if style is not specified.
7951 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7953 * text2.C (setCounter): when searching for right label for a
7954 caption, make sure to recurse to parent insets (so that a caption
7955 in a minipage in a figure float works) (bug #568)
7957 2002-08-20 André Pönitz <poenitz@gmx.net>
7959 * text3.C: new file for LyXText::dispatch() and helpers
7961 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7963 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7965 2002-08-19 André Pönitz <poenitz@gmx.net>
7968 * text.C: new LyXText::dispatch()
7970 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7972 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
7974 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7976 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7979 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7981 * Makefile.am: use $(variables) instead of @substitutions@
7983 2002-08-15 André Pönitz <poenitz@gmx.net>
7986 * BufferView_pimpl.C: streamlining mathed <-> outer world
7990 * LyXAction.C: remove unused LFUN_MATH
7992 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * paragraph.[Ch]: add some NO_NEXT ifdefs.
7996 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7998 * paragraph.C (Paragraph): reformat a bit
7999 (cutIntoMinibuffer): use builtin InsetList function instad of
8003 * buffer.C: include boost/bind.hpp, add using std::for_each
8004 (writeFileAscii): use ParagraphList iterators
8005 (validate): use for_each for validate traversal of paragraphs
8006 (getBibkeyList): use ParagraphList iterators
8007 (resizeInsets): use for_each to resizeInsetsLyXText for all
8009 (getParFromID): use ParagraphList iterators
8011 * BufferView2.C (lockInset): use paragraph list and iterators
8013 2002-08-14 John Levon <levon@movementarian.org>
8015 * lyxserver.C: remove spurious xforms include
8017 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8019 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8021 2002-08-13 André Pönitz <poenitz@gmx.net>
8024 * lyxfunc.C: further cleaning
8026 2002-08-13 André Pönitz <poenitz@gmx.net>
8028 * funcrequest.h: new constructor
8030 * funcrequest.C: move stuff here from .h
8033 * BufferView_pimpl.C:
8036 * lyxfunc.C: subsequent changes
8038 * lyxfunc.h: new view() member function
8040 * lyxfunc.C: subsequent changes
8042 2002-08-13 Angus Leeming <leeming@lyx.org>
8045 * BufferView_pimpl.C:
8053 changes due to the changed LyXView interface that now returns references
8054 to member variables not pointers.
8056 2002-08-13 Angus Leeming <leeming@lyx.org>
8058 * WordLangTuple (word, lang_code): return references to strings,
8063 * lyxtext.h: forward-declare WordLangTuple.
8068 * text.C: #include "WordLangTuple.h".
8071 * text.C: (selectNextWordToSpellcheck): constify return type.
8073 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8079 * paragraph_pimpl.h:
8082 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8084 Made updateCounter always count from start of buffer, and removed
8085 second argument (par).
8086 Reverted floats number display to '#'. Perhaps I'll try again when the
8087 code base is sanitized a bit.
8089 2002-08-12 Angus Leeming <leeming@lyx.org>
8091 * buffer.[Ch] (getLabelList): constify.
8093 2002-08-07 André Pönitz <poenitz@gmx.net>
8095 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8097 * funcrequest.h: extension to keep mouse (x,y) position
8099 2002-08-12 Juergen Vigna <jug@sad.it>
8101 * BufferView2.C (insertErrors): forbid undo when inserting error
8104 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8106 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8108 * ParagraphList.[Ch]: new files
8110 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8112 * BufferView2.C (lockInset): ParagraphList changes
8115 * bufferlist.C: ditto
8119 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8121 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8122 unused class variable counter_,
8124 * paragraph.[Ch] (getFirstCounter): delete unused function
8126 * counters.C: include LAssert.h
8127 (reset): add a new function with no arg, change other version to
8128 not have def. arg and to not allow empty arg.
8130 * text2.C (setCounter): remove empty arg from call to Counters::reset
8132 2002-08-11 John Levon <levon@movementarian.org>
8134 * Makefile.am: add WordLangTuple.h
8136 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8138 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8139 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8141 * insets/insettext.C: InsetList changes
8143 * graphics/GraphicsSupport.C (operator()): InsetList changes
8145 * toc.C (getTocList): InsetList changes
8147 * paragraph_pimpl.[Ch]: InsetList changes
8149 * paragraph.[Ch]: InsetList changes
8151 * buffer.C (inset_iterator): InsetList changes
8152 (setParagraph): ditto
8153 * buffer.h (inset_iterator): ditto
8154 * iterators.C (operator++): ditto
8155 * iterators.h: ditto
8157 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8159 * InsetList.[Ch]: new files, most InsetList handling moved out of
8162 * BufferView2.C (removeAutoInsets): InsetList changes
8164 (ChangeInsets): ditto
8166 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8168 * paragraph_pimpl.h (empty): new function
8170 * paragraph.[Ch] (empty): new function
8172 * other files: use the new Paragraph::empty function
8174 2002-08-09 John Levon <levon@movementarian.org>
8176 * lyxtext.h: remove unused refresh_height
8178 2002-08-09 John Levon <levon@movementarian.org>
8185 * paragraph.C: move sgml char escaping out of paragraph
8188 * paragraph.C: remove id setter
8192 * paragraph_pimpl.C: remove dead tex_code_break_column
8194 * bufferview_funcs.C: small cleanup
8196 * lyxfunc.C: remove dead proto
8198 * lyxtext.h: make some stuff private. Remove some dead stuff.
8200 * lyxgluelength.C: make as[LyX]String() readable
8202 2002-08-08 John Levon <levon@movementarian.org>
8207 * ToolbarDefaults.C:
8210 * toc.C: lyxaction cleanup
8212 2002-08-08 John Levon <levon@movementarian.org>
8214 * BufferView2.C: small cleanup
8217 * lyxfind.C: move unnecessary header into the .C
8219 2002-08-08 John Levon <levon@movementarian.org>
8221 * funcrequest.h: just tedious nonsense
8224 * lyx_main.C: cleanups
8227 * vspace.C: remove dead header lyx_main.h
8229 2002-08-07 Angus Leeming <leeming@lyx.org>
8232 * paragraph_pimpl.h:
8233 Forward declare class Counters in paragraph.h by moving the ctrs member
8234 variable into Paragraph::Pimpl.
8235 (counters): new method, returning a reference to pimpl_->ctrs.
8237 * text2.C: ensuing changes.
8239 2002-08-07 John Levon <levon@movementarian.org>
8241 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8243 * BufferView_pimpl.C: announce X selection on double/triple
8246 * lyx_main.C: use correct bool in batch dispatch
8248 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8250 2002-08-07 André Pönitz <poenitz@gmx.net>
8252 * funcrequest.h: new class to wrap a kb_action and its argument
8255 * BufferView_pimpl[Ch]:
8259 * lyxrc.C: subsequent changes
8262 2002-08-07 John Levon <levon@movementarian.org>
8264 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8265 document options change.
8267 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8272 * makefile.am: move counters functionality over from
8273 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8275 2002-08-06 John Levon <levon@movementarian.org>
8277 * WordLangTuple.h: new file for word + language code tuple
8288 * BufferView2.C: use WordLangTuple
8291 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8293 2002-08-06 John Levon <levon@movementarian.org>
8295 * lyx_main.C: fix cmdline batch handling
8297 2002-08-06 André Pönitz <poenitz@gmx.net>
8299 * lyxrc.C: set default for show_banner to true
8301 2002-08-06 John Levon <levon@movementarian.org>
8303 * pspell.C: fix a crash, and allow new aspell to work
8305 2002-08-06 John Levon <levon@movementarian.org>
8308 * kbmap.C: small cleanup
8311 * vspace.C: add const
8313 2002-08-05 John Levon <levon@movementarian.org>
8315 * LyXAction.C: back to tabular-insert
8317 2002-08-04 John Levon <levon@movementarian.org>
8320 * BufferView.C: cosmetic change
8322 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8332 * BufferView2.C: purge all "Lyx" not "LyX" strings
8335 * lyxcursor.C: attempt to add some documentation
8340 * ToolbarDefaults.C:
8341 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8342 merge with LFUN_TABULAR_INSERT
8349 * pspell.C: split up i/pspell implementations into separate
8350 files, many cleanups
8352 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8354 * text2.C: some cleanup
8356 * lyxfunc.C: don't check for isp_command == "none" any more, it
8357 didn't make any sense
8359 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8364 * makefile.am: move counters functionality over
8365 from text2.C/paragraph.[Ch] to counters.[Ch], and
8367 2002-08-02 John Levon <levon@movementarian.org>
8369 * buffer.C: s/lyxconvert/lyx2lyx/
8371 2002-08-02 Angus Leeming <leeming@lyx.org>
8373 * lyxlex.C: revert John's change as it breaks reading of the user
8376 2002-08-02 Angus Leeming <leeming@lyx.org>
8378 * importer.C (Import):
8379 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8380 changes due to LyXView::view() now returning a boost::shared_ptr.
8382 2002-08-02 John Levon <levon@movementarian.org>
8384 * lyxlex.C: small cleanup
8386 2002-08-02 John Levon <levon@movementarian.org>
8388 * text2.C (status): small cleanup, no logic change
8390 2002-08-01 John Levon <levon@movementarian.org>
8393 * buffer.C (writeFile): don't output alerts, caller
8397 * lyx_cb.C: from above
8399 * lyxfunc.C: allow to open non-existent files
8401 2002-07-31 John Levon <levon@movementarian.org>
8403 * lyxserver.C: don't let incidental errors get
8406 2002-07-30 John Levon <levon@movementarian.org>
8408 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8410 2002-07-30 John Levon <levon@movementarian.org>
8413 * lyxserver.C: remove I/O callback too
8415 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8417 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8420 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8422 * many files: strip,frontStrip -> trim,ltrim,rtrim
8424 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * PrinterParams.h: remove extern containsOnly, and include
8427 support/lstrings.h instead.
8429 * LaTeX.C (scanAuxFile): modify because of strip changes
8431 * buffer.C (makeLaTeXFile): ditto
8432 * bufferparams.C (writeFile): ditt
8433 * lyxfont.C (stateText): ditto
8434 * lyxserver.C (read_ready): ditto
8435 * vc-backend.C (scanMaster): ditto
8437 * BufferView_pimpl.h: ws changes
8439 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8441 2002-07-26 André Pönitz <poenitz@gmx.net>
8443 * kb_sequence.C: remove unnedred usings
8445 2002-07-26 Juergen Vigna <jug@sad.it>
8447 * lyxfind.C (LyXReplace): we have to check better if the returned
8448 text is not of theLockingInset()->getLockingInset().
8450 2002-07-25 Juergen Vigna <jug@sad.it>
8452 * lyxfind.C (LyXReplace): don't replace if we don't get the
8455 * undo_funcs.C (createUndo): remove debugging code.
8457 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8459 * buffer.C (parseSingleLyXformat2Token): Use default placement
8460 when reading old floats.
8462 * FloatList.C (FloatList): Change the default placement of figure
8463 and tables to "tbp".
8465 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8467 * MenuBackend.C: using std::max
8469 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8471 * MenuBackend.C (expandToc):
8472 (expandToc2): code moved from xforms menu frontend. It is now
8473 generic and TOCs are transparent to menu frontends.
8475 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8477 * toc.C (getTocList): protect against buf=0
8479 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8480 Menu as first parameter. Now, this calls itself recursively to
8481 expand a whole tree (this will be useful for TOC handling)
8482 (expandFloatInsert): remove 'wide' version of floats
8484 * MenuBackend.h (submenuname): returns the name of the submenu.
8485 (submenu): returns the submenu itself, provided it has been
8486 created by MenuBackend::expand
8488 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8490 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8491 insets which have noFontChange == true. (bug #172)
8493 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8495 * BufferView_pimpl.C: add connection objects and use them...
8498 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8500 * MenuBackend.C (expandLastfiles):
8503 (expandFloatListInsert):
8504 (expandFloatInsert):
8505 (expand): split expand in parts
8507 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8509 * lyx_gui.C: use lyx_gui::exit()
8511 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8513 * LyXAction.C: show the failing pseudo action
8515 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8517 * buffer.C (readFile): Run the lyxconvert script in order to read
8520 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8524 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8526 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8530 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8532 2002-07-22 Herbert Voss <voss@lyx.org>
8535 * lyxlength.[Ch]: add support for the vertical lengths
8537 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8539 * toc.[Ch]: std:: fixes
8541 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8543 * lyxrc.C: do not include lyx_main.h
8545 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8551 * BufferView2.C: include "lyxlex.h"
8554 * bufferparams.h: do not #include "lyxlex.h"
8556 * lyxtextclasslist.C (Add): remove method
8557 (classlist): renamed to classlist_
8559 * paragraph_pimpl.C:
8563 * bufferview_funcs.C:
8568 * toc.C (getTocList): use BufferParams::getLyXTextClass
8570 * toc.C (getTocList): use InsetFloat::addToToc
8572 * toc.[Ch]: new files, containing helper functions to handle table
8575 * lyxfunc.C (dispatch): no need to remove spaces around command
8577 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8578 first command of the sequence; it is not very clever, but I do not
8579 have a better idea, actually
8581 * LyXAction.C (LookupFunc): make sure to remove space at the
8582 beginning and end of the command
8584 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8586 * MenuBackend.C (getMenubar): new method: return the menubar of
8588 (read): treat differently reading of menu and menubar (in
8589 particular, the menubar has no name now)
8590 (Menu::menubar): remove
8592 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8595 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8597 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8598 a bibitem inset in a RTL paragraph.
8600 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8602 * paragraph_pimpl.C: constify
8604 * BufferView_pimpl.C:
8606 * lyxfunc.C: fix dispatch in a nicer way
8608 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8610 * lyxfunc.C (dispatch):
8611 * BufferView_pimpl.C:
8612 * BufferView_pimpl.h:
8614 * BufferView.h: rename Dispatch() to dispatch()
8616 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8618 * lyxlayout.C (Read): honor DependsOn tag
8620 * lyxlayout.[Ch] (depends_on): new method
8622 * version.C.in: update lyx_docversion
8624 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8626 * paragraph.C (validate): remove from here...
8627 * paragraph_pimpl.C (validate): ... and move here
8628 (isTextAt): make it const
8630 * buffer.C (getLists): ws cleanup
8632 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8634 * language.C (read): Use iso8859-1 encoding in latex_lang
8635 (this prevents LyX from crashing when using iso10646-1 encoding).
8637 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8639 * text2.C (toggleInset): if cursor is inside an inset, close the
8640 inset and leave cursor _after_ it
8642 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8644 * lyxfunc.C: move minibuffer completion handling out of here
8646 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8648 * BufferView_pimpl.C:
8649 * LaTeX.C: fix dispatch calls
8651 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8653 * text.C (drawChars): Fix Arabic text rendering.
8655 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8659 * lyxfunc.C: remove message-push/pop
8663 * lyxfunc.C: rationalise some code by removing verboseDispatch
8664 in favour of a bool argument to dispatch()
8666 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8668 * lyx_main.C (init): make sure to read symlinks as absolute paths
8670 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8673 * lyxfunc.C: no need for commandshortcut to be a member
8675 2002-07-15 André Pönitz <poenitz@gmx.net>
8677 * converter.C: add support for $$s (scripts from lib/scripts dir)
8678 * lyx_main.C: white space
8680 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8684 * lyxrc.C: remove second exit confirmation
8686 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8691 * BufferView_pimpl.h:
8692 * BufferView_pimpl.C:
8693 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8695 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8697 * MenuBackend.C (expand): add numeric shortcuts to document menu
8699 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8701 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8703 * lyxfont.C (setLyXFamily):
8710 * buffer.C (asciiParagraph): use ascii_lowercase
8712 2002-07-15 Mike Fabian <mfabian@suse.de>
8714 * lyxlex_pimpl.C (search_kw):
8715 * lyxlex.C (getLongString):
8716 * converter.h (operator<):
8717 * converter.C (operator<):
8718 * buffer.C (parseSingleLyXformat2Token):
8720 * ToolbarDefaults.C (read):
8721 * MenuBackend.C (checkShortcuts):
8723 * LColor.C (getFromGUIName):
8724 (getFromLyXName): use the compare_ascii_no_case instead of
8725 compare_no_case, because in turkish, 'i' is not the lowercase
8726 version of 'I', and thus turkish locale breaks parsing of tags.
8728 2002-07-16 Angus Leeming <leeming@lyx.org>
8730 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8731 now takes a Buffer const & argument.
8733 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8735 * BufferView.C (resize): check there's a buffer to resize
8737 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8739 * lyxfunc.C: remove dead code
8742 * lyxserver.C: use lyx_guii::set_read_callback
8744 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8746 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8747 an inset in a RTL paragraph.
8749 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8751 * lyxfunc.C: repaint after a font size update
8753 2002-07-15 André Pönitz <poenitz@gmx.net>
8755 * lyxlength.C: inBP should be able to return negative values
8757 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8759 * lyxfunc.C: use lyx_gui::update_fonts()
8761 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8763 * lyxfunc.C: use lyx_gui::update_color()
8765 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8771 * lyxrc.C: remove file->new asks for name option, and let
8772 buffer-new take an argument
8774 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8776 * BufferView_pimpl.C: remove unneeded extra repaint()
8778 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8780 * LyXAction.C: allow command-sequence with NoBuffer
8782 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8784 2002-07-10 Angus Leeming <leeming@lyx.org>
8786 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8788 2002-07-09 Angus Leeming <leeming@lyx.org>
8790 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8792 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8794 * lengthcommon.h: whitespace
8796 * lyxfunc.C: update scrollbar after goto paragraph
8798 * lyxtext.h: factor out page break drawing, and fix it so
8799 page break/added space paints as selected nicely
8801 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8803 * BufferView_pimpl.C: add FIXMEs, clean up a little
8805 2002-07-09 André Pönitz <poenitz@gmx.net>
8807 * lyxfont.[Ch]: support for wasy symbols
8809 2002-07-08 André Pönitz <poenitz@gmx.net>
8811 * BufferView_pimpl.C: apply John's patch for #93.
8813 2002-07-05 Angus Leeming <leeming@lyx.org>
8815 * BufferView_pimpl.C (buffer): generate previews if desired.
8817 * LColor.h: add "preview" to the color enum.
8819 * LColor.C (LColor): add a corresponding entry to the items array.
8821 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8824 2002-07-05 Angus Leeming <leeming@lyx.org>
8826 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8827 The body of the code is now in the method that is passed an ostream &
8828 rather than a file name.
8829 Pass an additional only_preamble parameter, useful for the forthcoming
8832 2002-07-03 André Pönitz <poenitz@gmx.net>
8834 * lyxfunc.C: simplify getStatus() a bit for math stuff
8836 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8838 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8840 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8842 * text.C (changeRegionCase): do not change case of all the
8843 document when region ends at paragraph end (bug #461)
8845 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8847 * paragraph.C (startTeXParParams):
8848 (endTeXParParams): add \protect when necessary
8850 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8852 * BufferView_pimpl.C (workAreaExpose): remove warning
8854 2002-06-27 Angus Leeming <leeming@lyx.org>
8856 * Makefile.am: add lyxlayout_ptr_fwd.h.
8858 2002-06-26 André Pönitz <poenitz@gmx.net>
8860 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8862 2002-06-25 Angus Leeming <leeming@lyx.org>
8864 * lyxfunc.C (dispatch): Comment out the call to
8865 grfx::GCache::changeDisplay. The method no longer exists now that the
8866 pixmap generation part of the graphics loader has been moved into
8869 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * text2.C: layout as layout
8873 * text.C: layout as layout
8875 * tabular.C (OldFormatRead): layout as layout
8877 * paragraph_pimpl.C (TeXDeeper): layout as layout
8878 (realizeFont): layout as layout
8880 * paragraph.C (writeFile): layout as layout
8881 (validate): layout as layout
8882 (getFont): layout as layout
8883 (getLabelFont): layout as layout
8884 (getLayoutFont): layout as layout
8885 (breakParagraph): layout as layout
8886 (stripLeadingSpaces): layout as layout
8887 (getEndLabel): layout as layout
8888 (getMaxDepthAfter): layout as layout
8889 (applyLayout): layout as layout
8890 (TeXOnePar): layout as layout
8891 (simpleTeXOnePar): layout as layout
8892 (TeXEnvironment): layout as layout
8893 (layout): layout as layout
8894 (layout): layout as layout
8896 * lyxtextclass.C (compare_name): new functor to work with
8897 shared_ptr, layout as layout
8898 (Read): layout as layout
8899 (hasLayout): layout as layout
8900 (operator): layout as layout
8901 (delete_layout): layout as layout
8902 (defaultLayout): layout as layout
8904 * lyxlayout_ptr_fwd.h: new file
8906 * lyxlayout.C (Read): layout as layout
8908 * lyx_cb.C (MenuInsertLabel): layout as layout
8910 * bufferlist.C (newFile): layout as layout
8912 * buffer.C (readLyXformat2): layout as layout
8913 (parseSingleLyXformat2Token): layout as layout
8914 (insertStringAsLines): layout as layout
8915 (asciiParagraph): layout as layout
8916 (latexParagraphs): layout as layout
8917 (makeLinuxDocFile): layout as layout
8918 (simpleLinuxDocOnePar): layout as layout
8919 (makeDocBookFile): layout as layout
8920 (simpleDocBookOnePar): layout as layout
8921 (getLists): layout as layout
8923 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8925 * CutAndPaste.C (cutSelection): layout as layout
8926 (pasteSelection): layout as layout
8927 (SwitchLayoutsBetweenClasses): layout as layout
8929 * BufferView_pimpl.C (Dispatch): layout as layout
8930 (smartQuote): layout as layout
8932 * BufferView2.C (unlockInset): layout as layout
8934 2002-06-24 André Pönitz <poenitz@gmx.net>
8936 * lyxfunc.C: fix #487
8938 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8942 * lyxfunc.C: remove display_shortcuts, show_banner
8944 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8946 * Buffer_pimpl.C: oops, update on resize
8948 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8955 * BufferView.C: use repaint()
8957 * BufferView_pimpl.h:
8958 * BufferView_pimpl.C: s/updateScreen()/repaint()/
8959 as it's a clearer description. Remove superfluous
8962 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
8964 * text.C: fix bug 488. Not ideal, but getting
8965 getWord() to work properly for the insets that
8966 matter is more difficult ...
8968 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8970 * BufferView_pimpl.C:
8973 * lyxfunc.C: remove the six million index lyxfuncs to just
8974 one, and DTRT (bug 458)
8976 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8980 * BufferView_pimpl.h:
8981 * BufferView_pimpl.C: clean up resize() stuff,
8982 and unnecessary updateScreen()s
8984 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
8988 * BufferView_pimpl.h:
8989 * BufferView_pimpl.C:
8992 * minibuffer.C: remove focus management of workarea,
8993 not needed. Use screen's greyOut()
8995 2002-06-17 Herbert Voss <voss@lyx.org>
8997 * converter.C: (convert) do not post a message, when converting
8998 fails, let the calling function decide what to do in this case
9000 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9002 * lyxfunc.C: tidy up a little
9004 2002-06-16 <alstrup@diku.dk>
9006 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9007 Got rid of FORMS_H_LOCATION include. Now we are
9010 2002-06-15 LyX Development team <lyx@rilke>
9012 * buffer.[Ch] (sgmlOpenTag):
9013 (sgmlCloseTag): Added support for avoiding pernicious mixed
9014 content. Return number of lines written.
9017 (makeDocBookFile): Fixed calls to sgml*Tag.
9018 Simple white space clean.
9020 (simpleDocBookOnePar): Simple white space clean.
9022 * tabular.[Ch] (docBook): Renamed to docbook and got another
9023 argument to related with the pernicious mixed content.
9025 (docbookRow): Fixed calls for docbook inset method.
9027 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9029 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9030 so it's X11 independent.
9034 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9036 2002-06-15 Lyx Development team <lyx@electronia>
9038 * intl.h: Renamed getTrans to getTransManager.
9040 2002-06-14 Angus Leeming <leeming@lyx.org>
9042 * Makefile.am: nuke forgotten stl_string_fwd.h.
9044 2002-06-12 Angus Leeming <leeming@lyx.org>
9046 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9048 2002-06-13 Angus Leeming <leeming@lyx.org>
9051 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9053 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9055 * kbmap.C (getiso): add support for cyrillic and greek
9057 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9061 * BufferView_pimpl.h:
9062 * BufferView_pimpl.C: move bogus scrolling logic
9065 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9068 * BufferView_pimpl.C: view->resize() change
9070 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9072 * BufferView_pimpl.C: topCursorVisible
9075 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9079 * lyx_gui.C: move to frontends/
9083 * lyx_main.C: changes from above
9085 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9092 * lyx_main.C: minor tidy
9094 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9096 * BufferView_pimpl.h:
9097 * BufferView_pimpl.C:
9099 * BufferView.C: make painter() const,
9102 * BufferView2.C: use screen() accessor
9105 * lyx_main.C: some minor cleanup
9107 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9109 * BufferView_pimpl.h:
9110 * BufferView_pimpl.C: remove enter/leaveView,
9113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9118 * BufferView_pimpl.h:
9119 * BufferView_pimpl.C: only construct screen once,
9122 * lyxrc.C: remove pointless comment
9124 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9127 * BufferView.C: remove active() and belowMouse()
9129 * BufferView_pimpl.h:
9130 * BufferView_pimpl.C: use workarea() not workarea_,
9131 and make it use a scoped_ptr instead
9133 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9135 * lyx_gui.C: add debug message on BadWindow
9137 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9139 * sp_spell.C: fdopen is not part of the C++ standard.
9141 * paragraph.C (InsetIterator): use >= instead of ==
9143 2002-06-07 Angus Leeming <leeming@lyx.org>
9145 Fixes needed to compile with Compaq cxx 6.5.
9146 * BufferView_pimpl.C:
9153 * lyxtextclasslist.C:
9158 all c-library variables have been moved into namespace std. Wrap
9159 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9164 Add a using std::abs declaration.
9166 * kbmap.h (modifier_pair):
9167 * paragraph.h (InsetTable, InsetList):
9168 * lyxfont.h (FontBits):
9169 type definition made public.
9171 * bufferlist.C (emergencyWriteAll): the compiler complains that
9172 there is more than one possible lyx::class_fun template to choose from.
9173 I re-named the void specialisation as lyx::void_class_fun.
9175 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9177 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9178 the compiler is is unable to find tostr in write_attribute.
9180 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9182 * buffer.C (sgmlError): hide #warning
9184 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9186 * xtl/*: get rid of xtl, which is not in use anyway
9188 * LyXAction.C (init):
9189 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9190 were unimplemented xtl experimentation
9192 2002-06-04 André Pönitz <poenitz@gmx.net>
9194 * lyxfunc.C: disable array operation on simple formulae
9196 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9198 * converter.C: constify a bit
9200 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9202 * lyx_gui.C: check xforms version correctly
9204 2002-04-30 Herbert Voss <voss@lyx.org>
9206 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9209 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9211 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9212 attempt to register it with a VCS)
9214 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * lyx_main.C (init): honor variables LYX_DIR_13x and
9219 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9223 * lyx_main.C: fix a crash on bad command line,
9224 and give a useful exit status on error
9226 * lyxfunc.C (doImport): allow -i lyx to work
9228 2002-03-30 André Pönitz <poenitz@gmx.net>
9230 * lyxfunc.C: mathed font changes
9232 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9247 * trans_mgr.h: srcdocs, and some minor cleanups
9249 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9251 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9252 call getFont all the time)
9254 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9256 * switch from SigC signals to boost::signals
9258 2002-05-29 André Pönitz <poenitz@gmx.net>
9260 * paragraph_pimpl.C (getChar): don't call size() too often...
9262 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9264 * paragraph_pimpl.C (insertChar): do not try to update tables when
9265 appending (pos == size())
9267 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9268 in order to reduce drastically the number of comparisons needed to
9269 parse a large document
9271 2002-05-29 André Pönitz <poenitz@gmx.net>
9277 * textclasslist.[Ch]:
9278 * sp_ispell.h: whitespace change
9280 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9282 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9283 lyxaction directly now.
9285 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9289 * lyxvc.C: remove unused headers
9291 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9298 * undo_funcs.C: some cleanups. Use shared_ptr
9299 and a template for the undo stacks.
9301 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9303 * BufferView_pimpl.h:
9304 * BufferView_pimpl.C:
9311 * text2.C: use key_state/mouse_state
9313 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9315 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9318 * chset.C: change include order
9319 (loadFile): use boost regex and get rid of LRegex and LSubstring
9321 * Makefile.am (BOOST_LIBS): new variable
9324 * LaTeX.C: change include order.
9325 (scanAuxFile): use boost regex and get rid of LRegex and
9329 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9334 * FontInfo.C: moved to frontends/xforms/
9337 * FontLoader.C: moved into frontends for GUIIzation
9342 * lyxfunc.C: changes from above
9344 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9346 * LColor.C: remove spurious X include
9348 * BufferView_pimpl.C:
9353 * text2.C: move font metrics to frontends/
9355 2002-05-24 Juergen Vigna <jug@sad.it>
9357 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9358 setting the undo_cursor.
9360 * ParagraphParameters.h: include local includes first.
9362 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9364 * BufferView_pimpl.C:
9365 * BufferView_pimpl.h:
9369 * screen.C: move WorkArea into frontends/
9375 * BufferView2.C: move LyXScreen into frontends/
9379 * lyx_gui.C: move lyxlookup into frontends/xforms/
9381 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9384 * BufferView_pimpl.C:
9394 * bufferview_funcs.C:
9407 * vc-backend.C: move LyX/XFormsView into frontends/
9409 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9421 * text2.C: move Painter to frontends/
9423 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9425 * buffer.C: comment out some some code that depend upon lyx_format
9428 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9429 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9431 * buffer.h (NO_COMPABILITY): turn off compability
9433 * ColorHandler.C: include scoped_array.hpp
9435 * font.C: Use more specific smart_ptr header.
9438 * ShareContainer.h: ditto
9442 * BufferView_pimpl.h: ditto
9443 * ColorHandler.h: ditto
9445 * kbmap.C (defkey): change call to shared_ptr::reset
9447 2002-05-21 Juergen Vigna <jug@sad.it>
9449 * buffer.C (insertErtContents): fix to insert ert asis if it is
9450 non empty. Skip it completely if it contains only whitespaces.
9452 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9454 * BufferView_pimpl.C:
9455 * BufferView2.C: clear selection on paste (bug 393)
9457 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * DepTable.C: include ctime
9461 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9463 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9465 2002-05-14 Juergen Vigna <jug@sad.it>
9467 * text.C (breakParagraph): fixed function to honor the keepempty
9468 layout in the right maner and also to permit the right breaking
9469 algorithm on empty or non empyt keepempty paragraphs.
9471 * paragraph.C (breakParagraph): we have to check also if the par
9472 is really empty (!size()) for isempty otherwise we do the wrong
9475 2002-05-10 Juergen Vigna <jug@sad.it>
9477 * buffer.[Ch] : The following are only changes to the ert
9478 compatibility read reading old LaTeX layout and font stuff and
9479 convert it to ERTInsets.
9481 * buffer.h: added isErtInset().
9483 * buffer.C (struct ErtComp): add a fromlayout bool to check
9484 if we're inside a LaTeX layout.
9485 (isErtInset): new helper function.
9486 (insertErtContents): look for other ert insets before this one
9487 and insert the contents there, so that we don't have subsequent
9488 ERT insets with nothing between them. This way we create only one
9489 inset with multiple paragraphs. Also check if we don't insert only
9490 spaces ' ' as they are ignored anyway afterwards in the .tex file
9491 so if we have only spaces we will ignore this latex part in the
9493 (parseSingleLyXformat2Token \\layout): better compatibility when
9494 reading layout-latex stuff.
9495 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9497 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9498 stuff after reading the inset only get the information back from
9501 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9503 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9505 * LaTeXFeatures.C (getBabelOptions): New method.
9507 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9509 * BufferView_pimpl.C (Dispatch): work around missing argument for
9512 2002-05-08 Juergen Vigna <jug@sad.it>
9514 * text.C (leftMargin): handle paragraph leftindent.
9516 * paragraph.C (writeFile): write the new \\leftindent tag.
9517 (validate): handle leftindent code.
9518 (TeXEnvironment): handle paragraphleftindent code again.
9520 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9522 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9523 for paragrap_extra indent code and new token \\leftindent.
9524 (latexParagraphs): handle the leftindent as environment.
9526 * ParameterStruct.h: added leftindent support.
9528 * ParagraphParameters.C (leftIndent): added support functions for
9529 the paragraph left indent.
9531 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9534 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9536 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9539 * text.C (computeBidiTables): No bidi in insetERT.
9541 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9544 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9546 * version.C.in: pre 5
9548 2002-05-02 José Matos <jamatos@fep.up.pt>
9549 * buffer.C (makeDocBookFile): white space changes, add newline to
9551 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9553 * tabular.C (docBook): fix typo.
9555 2002-05-03 Juergen Vigna <jug@sad.it>
9557 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9558 change in LyXText as we can not be sure it was not freed.
9559 (drawOneRow): remove unused code.
9561 * text.C (drawInset): redo the calculation of the need_break_row as
9562 it could have a row which was already freed.
9563 (draw): look at the return value of drawInset and return false if
9564 it also returned false.
9565 (paintRowText): look at the return value of draw and return false if
9566 it also returned false.
9568 * lyxtext.h: added bool return type to drawInset() and draw() so that
9569 if we have a change in the row so that the rowbreak has to be redone
9570 we abort drawing as it will be called again.
9572 2002-05-02 Juergen Vigna <jug@sad.it>
9574 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9575 a change in the maintext also if we're inside an inset.
9576 (Dispatch): set the cursor again after a break line and after the
9577 screen has been updated as it could be we're in a different row.
9579 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9580 to set the cursor behind the pargraph with > size().
9581 (setCursor): check also for the same paragraph when checking where
9582 to put the cursor if we have a NFR inset.
9584 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9585 parts of layout read further up as it still was in the wrong
9588 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * screen.C (drawFromTo): change sine fullRebreak always return
9593 * buffer.C (parseSingleLyXformat2Token): reindent some
9595 * BufferView_pimpl.C (update): change since fullRebreak always
9597 (Dispatch): git rid of the last hardcoded "Standard"s.
9599 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9601 * text2.[Ch] (fullRebreak): make it return void now that we always
9604 2002-04-30 Juergen Vigna <jug@sad.it>
9606 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9607 ert compatibility check for "latex" layout.
9609 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9611 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9612 minipages: use col% instead of p%, and also use the current font.
9613 (makeLaTeXFile): Fix use babel condition.
9614 (parseSingleLyXformat2Token): Correct font when reading old floats.
9616 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9618 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9619 inserting list of floats.
9621 2002-04-25 Herbert Voss <voss@lyx.org>
9623 * MenuBackend.C (expand): don't add the graphics extensions to the
9626 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9628 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9629 non-existing layout, do not complain if it was the default layout
9630 of the original class (bug #342)
9632 2002-04-24 Juergen Vigna <jug@sad.it>
9634 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9635 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9637 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9639 * buffer.C (getBibkeyList): If using \bibliography, return the
9640 option field with the reference itself. Enables us to provide natbib
9641 support when using \bibliography.
9643 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9645 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9647 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9648 natbib is provided by the LaTeX class.
9650 2002-04-23 Juergen Vigna <jug@sad.it>
9652 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9655 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9657 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9659 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9661 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9662 ensuremath around textordmasculine, textordfeminine and
9665 2002-04-19 Juergen Vigna <jug@sad.it>
9667 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9668 reinitializing the buffer otherwise row-dimensions may be wrong.
9669 (update): reset also the selection cursors if they do exits otherwise
9670 their x/y positions may be wrong.
9672 * text2.C (cursorDown): don't enter the inset if we came from a row
9673 above and are one row over the inset.
9675 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9676 really leaving an inset.
9678 2002-04-18 Juergen Vigna <jug@sad.it>
9680 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9681 of the selected paragraph does not have the selected layout also if
9684 * text2.C (setLayout): fixed bug which did not change last selected
9687 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9688 changed the read and substituted \\end_float with \\end_inset!
9690 * BufferView_pimpl.C (cursorPrevious):
9691 (cursorNext): fixed to make it work with rows heigher than the work
9692 area without moving the cursor only the draw of the row.
9693 (workAreaMotionNotify): fix jumping over high rows.
9695 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9697 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9700 2002-04-16 Juergen Vigna <jug@sad.it>
9702 * text2.C (setCursor): set also the irow().
9703 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9705 (cursorDown): support for locking an inset if the x_fix value goes
9706 inside it. That way I can transverse insets too with cursor up/down.
9708 * lyxrow.h: added irow helper function same as other (i) functions.
9710 * BufferView_pimpl.C (cursorPrevious):
9711 (cursorNext): fixed for insets!
9713 2002-04-15 Juergen Vigna <jug@sad.it>
9715 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9716 position otherwise it is wrong in some cases.
9718 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9719 inside the inset before the call.
9721 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9723 * buffer.[Ch] (getBibkeyList): make it const.
9725 2002-04-12 Juergen Vigna <jug@sad.it>
9727 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9729 * text2.C (getCursorX): new helper function
9730 (setCursor): compute also ix_
9731 (setCursorFromCoordinates): set also ix.
9733 * lyxcursor.h: added ix_ and helper functions.
9735 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9737 * buffer.C (insertStringAsLines): dont break paragraph if the this
9738 paragraph is inside an inset which does not permit it!
9740 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9741 also with no chars on this paragraph.
9742 (paintRowText): only paint stuff if it's inside the workarea!
9744 * paragraph.C (breakParagraph): honor keepempty flag and break the
9745 paragraph always below not above.
9747 * BufferView2.C (unlockInset): update the paragraph layout on inset
9748 unlock as we changed paragraph in such a case.
9750 * lyxfind.C (LyXFind): clear the former selection if not found!
9752 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9753 again called in insertChar().
9755 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9756 an inset which uses the whole row!
9757 (rightMargin): ditto.
9758 (insertChar): force a rebreak if we inserted an inset!
9760 2002-03-28 Herbert Voss <voss@lyx.org>
9762 * lyxlength.[Ch]: add inBP() to get the right PS-point
9763 units (BigPoint). With inPixels we have rounding errors
9765 2002-04-11 Juergen Vigna <jug@sad.it>
9767 * text2.C (setCursorFromCoordinates): set iy to the right value.
9768 (setCursor): add check if row->previous exists!
9770 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9771 an old float_type as this was the case in the old code!
9773 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9775 * BufferView2.C (showLockedInsetCursor): use iy
9776 (fitLockedInsetCursor): ditto
9778 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9779 locked insets as there we have the right value now.
9781 * lyxcursor.C: added iy_ variable and iy functions to set to the
9782 baseline of cursor-y of the locked inset.
9784 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9785 (setCursor): fixed for insets which need a full row.
9787 * text.C (rowLastPrintable): don't ignore the last space when before
9788 an inset which needs a full row.
9789 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9790 as last character of a row when before a inset which needs a full row.
9792 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9794 * version.C.in: update date
9796 * text2.C (fullRebreak): try to always return true and see what
9799 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9801 * MenuBackend.C (expand): use Floating::listName
9803 * FloatList.C (FloatList): add listName argument to the built-in
9806 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9807 text associated with the float.
9809 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9811 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9813 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * ShareContainer.h: add a couple of missing typenames.
9817 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9819 * lyxrc.C (getDescription): use _() correctly rather than N_().
9821 2002-03-28 Herbert Voss <voss@lyx.org>
9823 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9824 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9826 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9829 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9831 2002-03-29 Juergen Vigna <jug@sad.it>
9833 * lyxfunc.C (dispatch): add a missing fitCursor call.
9835 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9836 it was scrolled by a cursor move, so return the bool status.
9838 * BufferView.C (fitCursor): return the bool flag also to the outside
9839 world as this is needed.
9841 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9843 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9844 call the edit() as it is not needed (and wrong) IMO.
9845 (workAreaButtonPress): set the screen_first variable before evt.
9846 unlock the inset as this may change screen_first and then we have
9847 a wrong y position for the click!
9849 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9851 * MenuBackend.C (expand): another translation that I missed
9853 2002-03-28 Juergen Vigna <jug@sad.it>
9855 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9857 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9859 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9861 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9863 * MenuBackend.C (expand): fix export/view/update when there is no
9866 2002-03-27 Herbert Voss <voss@lyx.org>
9868 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9871 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9873 * bufferview_funcs.C (currentState): only show paragraph number
9874 for is DEVEL_VERSION is set.
9876 * lyxfunc.C (dispatch): put warning in INFO channel
9878 * MenuBackend.C (expand): translate the name of floats
9880 * FloatList.C (FloatList): mark the float names for translation
9882 * converter.C (convert): use LibScriptSearch
9884 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9886 * MenuBackend.C (defaults): fix default menu (we might as well get
9889 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9891 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9894 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9896 * lyxvc.C: reorder includes.
9898 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9900 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9903 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9905 * CutAndPaste.C: change layouts earlier on paste
9906 to avoid crashing when calling getFont()
9908 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9910 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9913 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * WorkArea.C: remove 'Pending' debug message.
9917 * most files: ws cleanup
9919 * buffer.[Ch]: ws changes
9921 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9923 2002-03-21 Juergen Vigna <jug@sad.it>
9925 * tabular.C (SetMultiColumn): collapse also the contents of the
9926 cells and set the last border right. Added a Buffer const * param.
9928 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9930 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9933 2002-03-19 Juergen Vigna <jug@sad.it>
9935 * text2.C (clearSelection): reset also xsel_cache.
9937 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9938 where it needs to be called (John tells us to do so too :)
9939 (selectionLost): reset sel_cache.
9941 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9943 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9945 * text2.C (setCursorIntern): put debuging code in INSETS channel
9947 2002-03-19 André Pönitz <poenitz@gmx.net>
9949 * lyxfunc.C: tiny whitespace change
9951 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9953 * ToolbarDefaults.C (init):
9954 * LyXAction.C (init):
9956 * BufferView_pimpl.C (Dispatch):
9957 * lyxfunc.C (dispatch): remove LFUN_DEPTH
9959 2002-03-19 Allan Rae <rae@lyx.org>
9961 * exporter.C (Export): removeAutoInsets before doing anything else.
9962 While I've just introduced a dependency on BufferView this really is
9963 the best place to clean the buffer otherwise you need to cleanup in
9964 a dozen places before calling export or cleanup in a dozen functions
9967 * converter.C (runLaTeX):
9968 (scanLog): Better handling of removeAutoInsets and screen updates.
9970 * lyxfunc.C (dispatch): small whitespace changes
9972 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * WorkArea.C (C_WorkAreaEvent): return a value.
9975 (event_cb): return 1 if we handled the event, 0 otherwise.
9977 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9979 2002-03-18 Juergen Vigna <jug@sad.it>
9981 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9982 (GetAdditionalWidth): ditto.
9986 * BufferView2.C (copy): use getLyXText() so that we do it inside an
9987 inset if we're there actually (probably not used right now but this
9988 is the direction to go for unifying code).
9989 (paste): disable code to clear the selection.
9991 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9992 inside an InsetText and move the check further up as it is in the
9995 * text2.C (pasteSelection): set a selection over the pasted text.
9997 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
9999 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10000 and libgraphics to build on Cygwin.
10002 2002-03-15 Juergen Vigna <jug@sad.it>
10004 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10005 inserting an Inset into the paragraph. I know this is not the best
10006 fix but we already use current_view in CutAndPaste so we will remove
10007 all of it's using at the same time.
10009 * buffer.C (sgmlError): deactivated function till it is rewritten in
10010 the right mode, now it can create problems.
10012 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10013 before accessing it.
10015 2002-03-14 Juergen Vigna <jug@sad.it>
10017 * undo_funcs.C (textHandleUndo): do the right thing when updating
10018 the inset after the undo/redo.
10020 * text2.C (setCursor): just some testcode for #44 not ready yet.
10022 * undo_funcs.C (textHandleUndo): set the next() and previous()
10023 pointers of the paragraph to 0 before deleting otherwise we have
10024 problems with the Paragraph::[destructor].
10026 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10027 on a paragraph insertion.
10029 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10031 * buffer.C (asciiParagraph): use += operator for char append to
10034 * paragraph.C (getFontSettings): compare >= not just >
10035 (highestFontInRange): ditto
10038 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * paragraph.C: change several algorithm to be more appripriate for
10041 the problem domain. This is lookip in FontList and in the InsetList.
10043 2002-03-13 André Pönitz <poenitz@gmx.net>
10046 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10048 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10053 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10055 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10057 * Painter.C (display): anon helper function, adjust code for this
10059 (pixmap): remove function.
10061 * Painter.h: remove private display variable.
10063 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10065 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10067 * WorkArea.[Ch]: remove figinset_canvas cruft.
10069 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10071 * lyxtextclass.C (operator): add one item cache optimization.
10073 * bufferlist.h: doxy changes
10075 * bufferlist.C: ws changes
10077 * DepTable.[Ch] (ext_exist): place const in the right spot.
10079 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10081 (workAreaExpose): call resizeInsets when the with BufferView changes.
10082 (Dispatch): adjust for protectedBlank removal
10083 (specialChar): call updateInset if the insert went ok.
10085 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10086 specialChar instead.
10088 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10090 * BufferView.h: doxy change
10092 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10094 * lyxtextclass.C (operator[]): remove non-const version
10095 (defaultLayout): remove non-const version
10097 2002-03-12 Juergen Vigna <jug@sad.it>
10099 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10100 did resize the LyXText too.
10102 * buffer.C (readLyXformat2): set layout information on newly allocated
10105 * tabular.C (OldFormatRead): set layout information on the paragraph.
10107 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10109 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10111 2002-03-11 Juergen Vigna <jug@sad.it>
10113 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10115 (resizeCurrentBuffer): force also the insets to resize themselfes.
10116 (moveCursorUpdate): fixed up for InsetText.
10118 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10121 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10122 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10123 value of Dialogs::tooltipsEnabled().
10124 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10126 2002-03-08 Juergen Vigna <jug@sad.it>
10128 * BufferView_pimpl.C (updateInset): update inset inside inset also
10129 if it isn't inside theLockingInset().
10131 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10133 * buffer.C (asciiParagraph): redo some of the word and line length
10135 (getLists): look for Caption instead of caption.
10137 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10139 * buffer.C (Buffer): initialize niceFile to true
10141 (makeLinuxDocFile):
10142 (makeDocBookFile): make sure niceFile is true on exit
10144 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10146 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10148 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10150 * LyXSendto.C: remove.
10151 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10152 * lyx_gui.C: remove now-redundant comment.
10153 * ColorHandler.h: remove forward declaration of class WorkArea.
10154 * lyxfunc.C: remove #include "WorkArea.h".
10156 2002-03-07 Juergen Vigna <jug@sad.it>
10158 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10159 got moved away with the DEPM and also set the inset_owner always
10160 right which before could have been omitted.
10162 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10164 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10165 wanted layout is not found.
10167 2002-03-07 Juergen Vigna <jug@sad.it>
10169 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10171 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10173 * paragraph.C (breakParagraph): use default layout not layout of
10175 (Paragraph): clear ParagraphParameters.
10177 2002-03-06 Juergen Vigna <jug@sad.it>
10179 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10180 otherwise it would not be a valid lenght. Fixed a special case in
10181 the minipage compatibility read where we end the document with a
10184 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10185 was set as it could be 0 for InsetTexts first entry.
10187 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10189 * paragraph.C (writeFile): if layout is empty write out
10190 defaultLayoutName().
10192 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10193 file without named layout we set layout to defaultLayoutName().
10195 2002-03-06 Juergen Vigna <jug@sad.it>
10197 * CutAndPaste.C (copySelection): set layout for new paragraph.
10199 * text.C (prepareToPrint): leave ERT inset left aligned
10200 (leftMargin): don't indent paragraphs inside ERT insets
10202 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10204 * paragraph.C (breakParagraph): dont call clear do the work manually
10206 * paragraph.[Ch] (clear): remove function
10208 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10210 * paragraph.C (Paragraph): dont call clear, the work has already
10213 * lyxtextclass.C (operator): assert if n is empty
10215 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10216 work manually instead.
10218 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10220 * BufferView_pimpl.C: protect selectionLost against text == 0
10222 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * text.C (breakParagraph): fix a setting layout to '0' problem.
10226 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10228 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10229 final location of file, for the included files, and graphics.
10231 2002-03-05 Juergen Vigna <jug@sad.it>
10233 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10235 2002-03-04 Juergen Vigna <jug@sad.it>
10237 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10239 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10240 last column of multicolumn cells.
10241 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10243 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10245 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10246 file if it doesn't go to a temporary file.
10248 * buffer.C (sgmlOpenTag):
10249 (sgmlCloseTag): remove extra newline insertion.
10251 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10253 * text.C (getRowNearY): comment out debug msg
10255 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10257 * text2.C: first -> first_y
10259 * text.C (getRowNearY): add some attemts at a possible
10260 optimization, not working.
10262 * tabular.[Ch]: add BufferParams to several function so that newly
10263 created paragraph can be initialized to he default layotu for the
10266 * tabular-old.C (ReadOld): add buf->params to call of Init
10268 * screen.C: rename text->first to text->first_y
10270 * paragraph.C (breakParagraph): always set layout in the broken
10273 * lyxtextclass.C (Read): remove lowercase
10276 (delete_layout): ditto
10278 * lyxtext.h: rename first -> first_y
10280 * lyxlayout.C (Read): remove lowercase
10283 (obsoleted_by): ditto
10285 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10287 * buffer.C (insertErtContents): add params are to InsetERT
10288 (parseSingleLyXformat2Token): add code to check if a paragraphs
10289 layout really exist.
10290 (parseSingleLyXformat2Token): add params to several inset
10292 (asciiParagraph): remove lowercase, do the layout comparisons with
10295 * BufferView_pimpl.C (cursorNext): first -> first_y
10296 (resizeCurrentBuffer): first -> first_y
10297 (updateScrollbar): first -> first_y
10298 (scrollCB): first -> first_y
10299 (workAreaMotionNotify): first -> first_y
10300 (workAreaButtonPress): first -> first_y
10301 (checkInsetHit): first -> first_y
10302 (cursorPrevious): first -> first_y
10303 (cursorNext): first -> first_y
10304 (Dispatch): add buffer_->params to severl inset contructors
10306 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10308 * lyxlayout.C (Read): remove some debug info that I forgot.
10310 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10311 clean up the code slightly.
10312 (makeLinuxDocFile): ditto
10313 (makeDocBookFile): ditto
10315 * text2.C: layout as string
10317 * text.C: layout as string
10319 * paragraph_pimpl.C: layout as string
10321 * paragraph.[Ch]: layout as string
10323 * lyxtextclasslist.[Ch]: layout as string
10325 * lyxtextclass.[Ch]: layout as string
10327 * lyxtext.h: layout as string
10329 * lyxlayout.[Ch]: layout as string
10331 * lyx_cb.C: layout as string
10333 * bufferview_funcs.C: layout as string
10335 * bufferparams.C: layout as string
10337 * buffer.C: layout as string
10339 * LyXView.[Ch]: layout as string
10341 * LaTeXFeatures.[Ch]: layout as string
10343 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10345 * BufferView_pimpl.C: change current_layout to string, remove
10350 (workAreaButtonRelease): layout as string
10352 * BufferView2.C (unlockInset): adjust
10354 * vspace.C (asLatexCommand): use an explict temp variable.
10356 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10358 * Makefile.am: use FRONTEND_*
10360 2002-03-01 Juergen Vigna <jug@sad.it>
10362 * tabular.C (SetWidthOfMulticolCell): changed to something better
10363 I hope but still work in progress.
10364 (recalculateMulticolumnsOfColumn): renamed function from
10365 recalculateMulticolCells as it is more appropriate now.
10366 (SetWidthOfCell): calculate multicols better.
10368 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10372 * lyxfunc.C (processKeySym): print sequence also if it is
10373 `deleted' (complete)
10375 * kbsequence.C (print): print sequence even if it is deleted
10376 (complete would be a better word, actually).
10378 * lyxfunc.C (dispatch): print complete options after a prefix key
10380 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10382 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10384 * text2.C (setCharFont): eliminate setCharFont code duplication.
10386 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10388 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10389 LFUN_TABULAR_FEATURE (bug #177)
10391 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10393 * Makefile.am: remove figure.h
10395 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10397 * Bufferview_pimpl.C:
10409 * text2.C: remove #include "lyx_gui_misc.h".
10411 * LaTeX.C: added #include <cstdio>
10413 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10416 that the paragraph following this one can have.
10418 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10420 * vspace.C (asLatexCommand): fix bogus gcc warning
10422 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10424 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10426 * text2.C (setLayout): get rid of redundant code
10428 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10430 * text2.C (incDepth): make sure depth cannot be increased beyond
10433 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10435 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10436 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10438 * PainterBase.h (image):
10439 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10440 a LyXImage const *.
10442 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10446 * BufferView_pimpl.C:
10447 * BufferView_pimpl.h:
10467 * sp_spell.C: remove fig inset, and the crap house of
10468 cards that follows it
10470 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10475 * os2_errortable.h:
10476 * nt_defines.h: move .h into support/
10478 * vms_defines.h: remove
10480 * WorkArea.C: add space in debug output
10484 * buffer.C: add WITH_WARNINGS
10488 * bufferlist.C: s/retrive/retrieve/, add docs
10497 * chset.C: add docs
10499 * lyxgui.C: add ID to X error handler
10501 * lyxtestclass.c: fix typo
10503 2002-02-26 Juergen Vigna <jug@sad.it>
10505 * tabular_funcs.C (write_attribute): changed so that some default
10506 attributes are not written at all.
10507 (getTokenValue): set default values before trying to read the
10508 value so we have the return value always set as default if we don't
10509 find the token we search for.
10511 * tabular.C (Write): write bools as bools not as strings!
10513 2002-02-22 Juergen Vigna <jug@sad.it>
10515 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10516 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10518 * text.C (leftMargin): don't add an indent for paragraphs inside
10519 tabular cells (fix #208).
10521 2002-02-21 José Matos <jamatos@fep.up.pt>
10523 * tabular.C (docBook): fixed support for long tables.
10525 2002-02-20 Juergen Vigna <jug@sad.it>
10527 * text2.C (getFont): get the drawing font of the Inset if this
10528 paragraph is inside an inset (only important for InsetERT for now).
10530 * buffer.C (insertErtContents): use new lanugage params in ERT
10533 * CutAndPaste.C: commenting out seemingly uneeded code.
10535 2002-02-19 Allan Rae <rae@lyx.org>
10537 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10538 Iterators might be simple to use but they also get invalidated.
10539 (removeAutoInsets): renamed saved cursor tracking variables and added
10540 some comments to clarify what everything does.
10542 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10549 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10550 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10553 * vc-backend.h: remove #include "support/syscall.h"
10557 * converter.C: rearrange #includes in Lars' approved fashion.
10559 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10560 forward declare class Timeout in the header file.
10562 * XFormsView.C: changes due to the above.
10564 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10565 similar to LyXView.
10567 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10568 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10570 2002-02-18 José Matos <jamatos@fep.up.pt>
10572 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10575 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10577 * a lot of small ws changes
10578 * add a lot of using std::XXX
10579 * use std construcs some places where approp.
10580 * use some exisint stuff from lyxfunctional where approp.
10581 * Make file changes to use partial linking (lets test this now...)
10583 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10587 remove #include "support/syscontr.h" as it's redundant. Always has been.
10595 change Systemcalls::System to Systemcalls::Wait and
10596 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10597 No change of functionality, just reflects the stripped down Systemcalls
10600 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10602 * debug.[Ch]: add a GRAPHICS type to the enum.
10604 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10606 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10608 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10611 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10614 match the changes below.
10616 * text2.C (toggleInset): if there is not editable inset at cursor
10617 position, try to see if cursor is _inside_ a collapsable inset
10620 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10622 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10623 document menu has a nice checkbox
10625 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * lyxlength.C (asLatexString): change PW to output as percent of
10630 * lengthcommon.C: change '%' to 't%'
10632 * lyxfunc.C (dispatch): a few comments from Martin
10634 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10638 * BufferView_pimpl.h:
10639 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10642 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * vspace.C (inPixels): fix compiler warning
10646 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10648 * lyxfunc.C (getStatus): fix status message for disabled commands.
10650 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10652 * BufferView_pimpl.C: fix crash on close buffer
10653 during selection (#227)
10655 2002-01-27 Herbert Voss <voss@lyx.org>
10657 * buffer.C: link old Figure to new graphic inset
10659 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10661 * FontLoader.C (getFontinfo): Change the latex font names in order
10662 to match the names of type1inst.
10664 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10666 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10668 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10669 (extchanged): ditto
10671 (remove_files_with_extension): ditto
10672 (remove_file): ditto
10675 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10676 document is smaller than the work area height. Do not initialize
10677 static variables to 0.
10679 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10681 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10683 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10684 LFUN_LAYOUT_PARAGRAPHS.
10686 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10687 tabular. It is possible to provide a possible cell, which will
10688 typically be the actcell from the corresponding insettabular
10690 * lyxfunc.C (getStatus): small cleanup; disable
10691 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10694 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10698 * paragraph.C (startTeXParParams):
10699 (endTeXParParams): new methods. The LaTeX code to
10700 start/end paragraph formatting
10701 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10702 empty (fixes bug #200)
10704 * vspace.C (inPixels): adapt to the change below
10705 (inPixels): [later] more cleanups (remove unused variables)
10707 * lyxlength.C (inPixels): change to use a width and a height as
10710 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10712 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10713 Replaced with \paperwidth
10715 * DepTable.C (insert): add std:: qualifier
10717 2002-01-18 Allan Rae <rae@lyx.org>
10719 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10722 * text.C (drawInset): Turned out I didn't know enough about how
10723 rebreaking worked. This fixes most of the redraw problems. I see
10724 an occasional cursor trail when a line is broken now and the cursor
10725 placement can seem out by a few pixels also after a rebreak.
10727 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10729 * buffer.C (parseSingleLyXformat2Token): update because minipage
10730 width is now a LyXLength
10732 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10734 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10737 2002-01-17 Juergen Vigna <jug@sad.it>
10739 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10741 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10742 is set correctly and the inset is updated correctly.
10744 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10747 the beginning of the loop.
10749 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10751 * lyxrc.C: improve help for use_scalable_fonts
10753 2002-01-17 Allan Rae <rae@lyx.org>
10755 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10757 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10759 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10760 make sure to set their inset_owner to the right value (bug #171)
10762 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10765 * DepTable.C: Implement mtime checking to reduce time spent doing
10768 2002-01-16 Juergen Vigna <jug@sad.it>
10770 * tabular.C (GetAdditionalHeight): one of error fixed.
10772 * lyxrc.C (output): small fix in writing use_pspell.
10774 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10776 * sp_base.h: #include LString.h
10778 2002-01-16 Allan Rae <rae@lyx.org>
10780 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10781 Can someone check this please?
10783 * text.C (drawInset): It was possible that p.row would be removed by
10784 breakAgainOneRow upsetting a few other settings. There may be another
10785 small tweak possible by setting need_break_row = 0 when p.row has been
10786 removed but I don't know enough about the logic here.
10788 2002-01-15 Allan Rae <rae@lyx.org>
10790 * text.C (insertChar): removed conditional truism.
10792 * BufferView2.C (removeAutoInsets): More tweaks.
10793 cur_par_prev could be a stray pointer. Check for trailing empty line
10794 in case last line was cur_par and only had an error inset on it.
10796 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10798 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10801 * vc-backend.C (most methods):
10802 * exporter.C (Export):
10803 * converter.C (convert):
10805 * LyXSendto.C (SendtoApplyCB):
10806 * lyxfunc.C (dispatch):
10810 * lyx_cb.C (AutoSave):
10812 * BufferView_pimpl.C (MenuInsertLyXFile):
10813 * buffer.C (runChktex): use Buffer::filePath().
10815 * buffer.h: rename filename to filename_; rename filepath to
10816 filepath_ and make it private
10817 (filePath): new method
10819 * buffer.C (writeFile): use fileName()
10822 * lyx_main.C (init): fix starting of LyX when the binary is a
10823 link from so,ewhere else.
10825 * minibuffer.C: include <cctype> for isprint
10827 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10829 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10830 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10831 name clash with InsetCollapsable's width function.
10833 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10835 * lastfiles.C: include <iterator>
10837 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10839 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10842 * buffer.C (makeLaTeXFile): ditto.
10843 Also make loop operation more transparent.
10845 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10847 * ToolbarDefaults.C: remove trailing comma closing namespace.
10849 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10851 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10854 * trans.C (Load): comment out unused variable, allowed.
10856 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10858 * minibuffer.[Ch] (append_char): new method to recieve input from the
10859 drop-down completion browser. If a key was pressed, then recieve this
10860 char and append it to the existing string.
10861 (peek_event): modify the positioning data passed to the completion
10862 browser so that it can be placed above the minibuffer rather than below.
10863 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10865 * LyXAction.C (init): alloe error-next for readonly documents.
10867 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10870 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10872 * bufferlist.C (readFile): create the buffer _after_ checking that
10875 * lyxfunc.C (verboseDispatch): fix handling of arguments
10877 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10879 * lyxrc.C: use string::erase() instead of initializing to "".
10882 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10884 * BufferView_pimpl.h:
10885 * BufferView_pimpl.C:
10888 * text2.C: tell X when we have made a selection for copying
10890 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10892 * BufferView_pimpl.C (MenuInsertLyXFile):
10893 * lyxfunc.C (menuNew):
10895 (doImport): add shortcuts to directory buttons
10897 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10900 * lyxfunc.C (setStatusMessage):
10901 (getStatusMessage): new methods
10902 (getStatus):use setStatusMessage instead of setErrorMessage
10903 (dispatch): when function is disabled, set error message here
10904 [instead of in getStatus previously]
10906 * BufferView_pimpl.C (workAreaButtonRelease): update
10907 toolbar/menubar here too.
10909 2002-01-13 Allan Rae <rae@lyx.org>
10911 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10912 Now seems indestructible. Remaining task is to audit all other
10913 code affected by deleteEmptyParagraphMechanism. One small quirk
10914 left is that an empty document with an error in the preamble can
10915 be made to report an error but no error box appears. I don't know
10917 (removeAutoInsets): Improved comments.
10919 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10922 * Thesaurus.C: update for Aiksaurus 0.14
10924 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * text2.C (firstParagraph): removed member function, all uses
10927 replaces with ownerParagraph
10928 (redoParagraphs): here
10929 (updateInset): here
10930 (toggleAppendix): here
10931 * BufferView2.C (insertErrors): here
10932 (setCursorFromRow): here
10934 2002-01-13 Allan Rae <rae@lyx.org>
10936 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10937 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10938 There is still a way to segfault this although you may have to do this
10939 multiple times: Have an InsetERT with an unknown command in it.
10940 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10941 <down-arrow>, <Enter> again, View->DVI, BANG!
10943 * text2.C (setCursor):
10944 (deleteEmptyParagraphMechanism):
10945 * lyxtext.h (setCursor):
10946 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10947 Making use of the return value may help fix other bugs.
10949 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10951 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10953 * LyXView.C (updateMenubar): call MenuBar::update here
10954 (updateToolbar): but not here
10955 (showState): do not update toolbar/menubar
10957 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10958 should need to care about that.
10960 * lyxfunc.C (verboseDispatch): simplify a bit
10961 (getStatus): have a version which takes a pseudoaction, and
10962 another which requires a (kb_action,string).
10964 * LyXAction.C (retrieveActionArg): make it work also when action
10965 is not a pseudo-action.
10966 (getActionName): simplify a bit
10969 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10971 * lyxfunc.C (verboseDispatch): new families of methods with
10972 several ways to specify a command and a bool to indicate whether
10973 the command name and shortcut should be displayed in minibuffer
10974 (eventually, we could extend that to a finer bitmask like
10975 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10976 (dispatch): the pristine dispatch command which just, well,
10977 dispatchs! Note it still sets its result to minibuffer; I'm not
10980 * lyxfunc.h: remove setHintMessage
10982 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10984 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10986 * BufferView_pimpl.C (specialChar): delete new inset if we have
10987 not been able to insert it.
10989 * kbmap.C: revert to using int instead of kb_action, since all we
10990 are dealing with is pseudo-actions.
10992 * LyXAction.C (searchActionArg): change to return int instead of
10993 kb_action, since the result is a pseudoaction.
10995 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
10997 * buffer.C (insertErtContents): Fix (partially) the font bug.
10999 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11001 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11002 as the other one is broken on my machine!
11004 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11007 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11009 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11011 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11012 reflect their actual use. Provide compatibility code for older lyxrc
11015 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11017 change names of popup font variables in line with the changes to lyxrc.C
11019 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11021 * buffer.C (asciiParagraph): avoid outputing a word twice after
11024 * lyxrc.C (getDescription): document that document_path and
11025 template_path can be empty.
11027 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11029 * LaTeXFeatures.C (getMacros):
11030 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11032 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11034 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11036 (getPackages): rename feature "floats" to "float". Use an array to
11037 iterate over 'simple' features (i.e. just a \usepackage). Add
11038 handling of "amsmath" (renamed from "amsstyle").
11040 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11042 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11045 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11047 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11048 FuncStaus::FuncStatus & FuncStaus::some_method().
11050 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11052 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11053 of the func_satus stuff. Edited and massaged in various ways by
11056 * lyxfunc.C (getStatus): use FuncStatus
11058 2002-01-08 Juergen Vigna <jug@sad.it>
11060 * text.C (nextBreakPoint): use function Inset::isChar().
11062 * paragraph.C (TeXOnePar): use function
11063 Inset::forceDefaultParagraphs.
11065 * buffer.C (latexParagraphs): use function
11066 Inset::forceDefaultParagraphs.
11068 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11070 * lyx_gui.C (init): set the style of the menu popups to
11071 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11073 2002-01-07 Juergen Vigna <jug@sad.it>
11075 * text.C (setHeightOfRow): small fix
11076 (prepareToPrint): don't look at alignment if we don't have the place
11079 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11081 * box.C: New file. Move the Box methods and functions out of box.h,
11082 following Lars' suggestion.
11084 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11086 * box.h: #include "support/LOstream.h", needed for inlined function.
11089 * lyxtextclasslist.C: added some using std declarations.
11091 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11093 * box.h: make signed dimensions to allow insets wider than
11094 the screen (bug #162)
11096 * BufferView_pimpl.C: add some insetHit debug
11098 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11100 * vc-backend.C: add FIXME
11102 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11104 * lyxfunc.C (getStatus): enable code for showing math font status
11107 2002-01-07 Juergen Vigna <jug@sad.it>
11109 * text.C (nextBreakPoint): removed debug output not needed anymore.
11111 2002-01-06 Juergen Vigna <jug@sad.it>
11113 * text.C (nextBreakPoint): fixed up this function we had this bug
11114 since ever but now hopefully we break row better.
11115 (insertChar): we have to check if an inset is the next char as it
11116 could now happen that a large inset is causing a break.
11118 2002-01-05 Juergen Vigna <jug@sad.it>
11120 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11121 if it doesn't like to be drawed.
11123 2002-01-04 Juergen Vigna <jug@sad.it>
11125 * BufferView2.C (lockInset): forgot to set a cursor.
11127 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11129 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11131 * FormMathsPanel.C:
11134 * form_maths_panel.C:
11135 * form_maths_panel.h:
11136 * form_maths_panel.fd: implemented sub- and super- buttons in math
11139 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11140 (or ^ space) to be used as in TeX (req'd by André).
11142 * lyxfunc.C: Allow ^ and _ again to be used both as
11143 super/subscript (mathed) and as themselves (in text).
11145 2002-01-03 Allan Rae <rae@lyx.org>
11147 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11148 "LyX" or the filename of the current buffer if it has one. This is a
11149 modified form of John Levon's patch.
11151 * XFormsView.C (setWindowTitle): also set icon title.
11153 * LyXView.h (setWindowTitle): signature changed.
11154 * XFormsView.h (setWindowTitle): ditto.
11156 2002-01-02 Juergen Vigna <jug@sad.it>
11158 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11160 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * screen.C (topCursorVisible): introduce a temp var for
11163 text->cursor.row(), handle the case where this row is null. (kindo
11166 * text2.C (setCursor): add a couple of asserts.
11168 * paragraph.h (inset_iterator): add -> operator
11170 * paragraph.[Ch] (autoDeleteInsets): remove member function
11172 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11173 cursor pos correctly and handle inset deletion by itself.
11174 (insertErrors): move iterator declaration out of for expression
11176 * lyxtextclass.C: add <algorithm>
11178 * Makefile.am: added the new files to sources, removed layout.C
11180 * layout.C: removed file
11182 * layout.h: remove LYX_DUMMY_LAYOUT
11184 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11188 * lyxtextclass.[Ch]:
11189 * lyxtextclasslist.[Ch]: new files
11191 * include order changes to a lot of files, also changes because of
11194 2001-12-27 Juergen Vigna <jug@sad.it>
11196 * buffer.C (asciiParagraph): more fixes.
11198 * tabular.C (ascii): make ascii export support export of only the
11199 data separated by a column-delimiter.
11200 (ascii): better support for ascii export.
11202 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11204 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11206 * tabular_funcs.C: use a "using std::getline" instead of the
11207 previous fix from Angus (necessary for cxx + lyxstring)
11209 2001-12-24 Juergen Vigna <jug@sad.it>
11211 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11213 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11214 problems. First check a minipage also if we have some ert-contents
11215 (not only on par->size(), second set the right depth of the paragraph
11216 on the relink to the root-paragraph-list!
11218 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11219 which then did not anymore update the main paragraphs on undo/redo!
11221 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11223 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11224 code. Support all font-changing funcs (even those which are not in
11225 menu currently). Support for reporting font settings in
11226 mathed (disabled until Andre provides a function on mathed's side).
11228 * func_status.h (toggle): small helper function to set toggle
11231 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11233 * tabular_funcs.C: getline -> std::getline
11235 2001-12-21 Juergen Vigna <jug@sad.it>
11237 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11238 accessed and could be 0 (I couldn't generate this but it seems
11241 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11243 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11244 * tabular_funcs.h: here and include iosfwd
11246 2001-12-20 Juergen Vigna <jug@sad.it>
11248 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11249 inside inset but undo_par was.
11251 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11253 * Thesaurus.C: always include <config.h> in sources.
11257 * box.h: do not include <config.h> in header files
11259 * text.C (paintLastRow): remove unused variable
11261 * text.C (transformChar):
11263 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11265 * Painter.C (text):
11266 * font.C (width): rewrite to use uppercase() instead of
11269 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11271 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11273 * lyxfind.C: clean up of find failure position change
11275 2001-12-20 Juergen Vigna <jug@sad.it>
11277 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11279 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11280 (TeXRow): added to LaTeX a single tabular row.
11281 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11282 (Latex): simplified and finally good LT-h/f support.
11283 (various_functions): just small adaptions for LT-h/f support.
11285 * tabular_funcs.[hC]: added and moved here all not classfunctions
11288 2001-12-19 Juergen Vigna <jug@sad.it>
11290 * tabular.[Ch]: better support for longtabular options (not finished
11293 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11295 * text.C (paintLastRow): use the label font instead of the font of
11296 the last character to compute the size of *_BOX. This makes more
11297 sense and avoids a crash with empty paragraphs.
11298 Use Painter::rectangle to draw EMPTY_BOX.
11300 2001-12-19 Juergen Vigna <jug@sad.it>
11302 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11303 the paragraphs if the replaced paragraph is not the first one!
11304 Tried to delete not used paragraphs but does not work yet so for
11305 now it's inside #ifdef's and by default off!
11307 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * MenuBackend.C: include "lyx_main.h" instead of declaring
11310 lastfiles (actually was declared as LastFiles* instead of a
11313 2001-12-17 Juergen Vigna <jug@sad.it>
11315 * tabular.C (AppendColumn): applied John's fix
11317 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11321 * BufferView_pimpl.h:
11322 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11325 * box.h: new start of class for above
11327 * lyxfunc.C: ignore space-only minibuffer dispatches.
11328 Show the command name when it doesn't exist
11330 * minibuffer.C: don't add empty lines to the history
11332 * minibuffer.C: add a space on dropdown completion
11334 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11336 * text.C: fix line above/below drawing in insets
11338 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * lyxlength.C (LyXLength): Initialize private variables.
11342 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11345 when inserting error insets.
11347 2001-12-13 Juergen Vigna <jug@sad.it>
11349 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11350 actually sometimes the before-paragraph.
11351 (setUndo): don't clear the redostack if we're not actually undoing!
11353 2001-12-06 Juergen Vigna <jug@sad.it>
11355 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11356 and fixed redoing of main paragraph, so we can use it now ;)
11358 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11360 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11365 2001-12-13 André Pönitz <poenitz@gmx.net>
11368 * undo_func.C: minor cleanup
11370 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11372 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11373 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11374 font in urw-fonts package which is marked as -urw-fontspecific and
11375 does not work (incidentally, changing the encoding in the
11376 fonts.dir of this package to -adobe-fontspecific fixes the
11379 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11380 is a crash when undoing first paragraph (Juergen, please take a
11381 look). THis does not mean the undo fix is wrong, just that it
11384 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11385 the (Paragraph*) version when needed instead of duplicating the
11388 * text.C (workWidth): use Inset::parOwner to find out where the
11389 inset has been inserted. This is a huge performance gain for large
11390 documents with lots of insets. If Inset::parOwner is not set, fall
11391 back on the brute force method
11393 * paragraph_pimpl.C (insertInset):
11394 * paragraph.C (Paragraph):
11395 (cutIntoMinibuffer): set parOwner of insets when
11396 inserting/removing them
11398 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11400 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11406 * mathed/formulabase.C:
11407 * mathed/math_cursor.[Ch]:
11408 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11411 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11413 * lyxlength.[Ch] (operator!=): new function
11415 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11417 * text.C (workWidth): use Inset::parOwner to find out where the
11418 inset has been inserted. This is a huge performance gain for large
11419 documents with lots of insets. If Inset::parOwner is not set, fall
11420 back on the brute force method
11422 * paragraph_pimpl.C (insertInset):
11423 * paragraph.C (Paragraph):
11424 (cutIntoMinibuffer): set parOwner of insets when
11425 inserting/removing them
11427 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11429 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * tabular-old.C (getTokenValue):
11432 * tabular.C (getTokenValue):
11433 (write_attribute): new versions for LyXLength
11434 (everywhere): adjust the use of widths
11436 * tabular.h: change the type of widths from string to LyXLength
11438 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11440 * paragraph.C: fixed missing line number count when exporting
11441 Environments to LaTeX file
11443 * buffer.C: added informational message for checking line numbers.
11445 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11447 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11448 paragraph, do the 'double space' part, but not the 'empty
11451 * text.C (workWidth): small optimization
11452 (getLengthMarkerHeight): use minimal size for negative lengths.
11454 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11456 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11458 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11460 2001-12-11 André Pönitz <poenitz@gmx.net>
11463 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11465 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11467 * text2.C: keep selection on a setFont()
11469 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11471 * lyx_cb.C: another bv->text misuse, from insert label
11473 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11476 * kbsequence.C: re-instate nmodifier mask
11478 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11480 * lyx_main.h: make lyxGUI private.
11482 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11484 * lyxfind.C: place the cursor correctly on failed search
11486 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11488 * text.C (getLengthMarkerHeight): for small heights, the arrows
11489 are not always on top/bottom of the text
11490 (drawLengthMarker): smaller arrows; take the left margin in
11491 account; draw also vfills.
11493 (paintLastRow): remove special code for vfill and standard spaces,
11494 since everything is handled in drawLengthMarker now.
11496 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * buffer.C (insertErtContents): try to handle font and language
11499 interaction a bit better.g
11501 * ColorHandler.C (updateColor): change the hash to cover the whole
11502 LColor enum, ws cleanup
11503 (getGCLinepars): ditto
11504 (getGCLinepars): only lookup in the linecache once.
11506 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11508 * iterators.C (operator++): Make the iterator more robust
11510 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11514 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11517 * text.C: better added space drawing
11519 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11522 * BufferView2.C: fix layout combo update on inset unlock
11524 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11526 * Makefile.am: don't compile unused files
11528 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11532 * LyXAction.C: remove old LFUN_LAYOUTNO
11534 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11536 * paragraph_pimpl.h:
11537 * paragraph_pimpl.C: isTextAt() doesn't need font param
11539 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11542 * lyxlex.C: little cleanup
11544 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11546 * BufferView_pimpl.C: fix insertAscii for insets
11548 2001-12-05 Juergen Vigna <jug@sad.it>
11550 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11551 set the right font on the "multi" paragraph paste!
11553 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11559 * lyxlength.C: remove out-commented code.
11561 * BufferView_pimpl:
11575 * vc-backend.C: change "while(" to "while ("
11577 * lyxlength.[Ch]: add zero function to check if length is zero or
11579 * lyxgluelength.C: use it
11581 2001-12-05 Allan Rae <rae@lyx.org>
11583 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11584 Works for 2.95.3, from what I understand of Garst's reports this should
11585 work for other g++ versions. We're screwed if the abs(int) definition
11586 changed between bugfix releases of gcc.
11588 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11590 * text.C: fix chapter label offset !
11592 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11595 * text.C: fix hfill at end of line, clean up
11597 2001-12-04 Juergen Vigna <jug@sad.it>
11599 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11600 that we force an update of the inset and it's owners if neccessary.
11602 2001-12-03 Juergen Vigna <jug@sad.it>
11604 * text.C (rowLast): simplified code
11606 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11608 * lyxfunc.C: fix show options on timeout
11610 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11612 * screen.C (topCursorVisible): scroll half a page when the cursor
11613 reached top of bottom of screen
11615 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11617 * minibuffer.C: deactivate on loss of focus
11619 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11621 * vspace.[Ch] (operator!=): add operator.
11623 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11625 * BufferView_pimpl.C: refuse to open an inset when
11626 there's a selection.
11628 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11630 * BufferView_pimpl.C: allow to click on RHS of full row insets
11632 2001-11-30 Juergen Vigna <jug@sad.it>
11634 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11635 insets for undo reasons.
11637 2001-11-28 André Pönitz <poenitz@gmx.net>
11639 * vspace.[Ch]: cosmetical changes
11641 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11651 * kbsequence.C: part re-write of old kb code
11654 * WorkArea.C: remove Lgb_bug_find_hack
11656 2001-11-30 José Matos <jamatos@fep.up.pt>
11658 * buffer.C (makeDocBookFile): add a comment to point a hack.
11659 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11660 Fixed a double write of labels.
11662 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11665 * LaTeX.h Fixed bug in LaTeX class where it would not
11666 re-run latex if no depfiles were changed, but the .dvi was removed.
11668 2001-11-28 André Pönitz <poenitz@gmx.net>
11670 * all the files from the change on 2001/11/26:
11671 use lyx::layout_type instead of LyXTextClass::size_type
11672 use lyx::textclass_type instead of LyXTextClassList::size_type
11674 2001-11-29 Juergen Vigna <jug@sad.it>
11676 * text.C: added support for paragraph::isFreeSpacing()
11678 * buffer.C: same as above
11680 * paragraph.h: inserted isFreeSpacing() function to enable
11681 FreeSpacing inside InsetERT.
11683 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11684 of the paragraph's in the cut/copy buffer to 0!
11686 * text2.C (removeRow): remove the assert as it can!
11688 * lyxtext.h: added helper function firstRow returning firstrow and
11689 made firstrow private again.
11691 * BufferView2.C (lockInset): don't relock if we're already locked!
11693 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11694 the only paragraph.
11695 (removeRow): added Assert::(firstrow)
11697 * debug.C: forgot to add INSETTEXT here.
11699 2001-11-28 Juergen Vigna <jug@sad.it>
11701 * sp_spell.C (initialize): changed error text to more general
11702 spellchecker command use (not only ispell!)
11704 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11706 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11708 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11710 * vspace.C: initialise lyxgluelength on failure
11712 2001-11-28 Allan Rae <rae@lyx.org>
11714 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11715 declaration & definition that looks like a function declaration.
11717 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11719 * BufferView2.C (copy):
11720 (copyEnvironment): do not clear the selection when doing a copy.
11722 * text.C (paintFirstRow): compilation fix
11724 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11726 * tabular.C (Latex): correct line count when writing latex.
11728 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11730 * paragraph_pimpl.h:
11731 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11734 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11738 * LColor.C: change vfillline->added_space
11740 * text.C: add markers and text for added space
11742 * vspace.C: fix comment
11744 2001-11-28 André Pönitz <poenitz@gmx.net>
11746 * paragraph.C: whitespace changes
11747 * all the other files from the change on 2001/11/26:
11748 change *::pos_type into lyx::pos_type
11750 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11752 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11753 language of the document when inserting error insets.
11755 2001-11-26 André Pönitz <poenitz@gmx.net>
11757 * BufferView_pimpl.[Ch]:
11765 * paragraph_pimpl.[Ch]:
11768 * text2.C: reduce header dependencies, introduce type for positions
11770 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11772 * <various>: change to use Alert.h
11774 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11776 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11777 when encountering an unknown token.
11778 (readLyXformat2): Show an error message if there were unknown tokens.
11780 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11783 * BufferView_pimpl.C:
11787 * text2.C: use par->isInset()
11789 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11791 * paragraph_pimpl.h:
11792 * paragraph_pimpl.C: cleanup
11794 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11796 * text2.C (removeRow):
11797 * text.C (setHeightOfRow): remove useless (and costly) call to
11800 2001-11-20 Allan Rae <rae@lyx.org>
11802 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11803 Now need Inset*::checkInsertChar() to return true for appropriate
11804 cases so that the characters in the minibuffer will actually be
11807 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11809 * text.C: change the order of the includes.
11810 (workWidth): initialize it at once.
11811 (workWidth): make maxw unsigned
11812 (setHeightOfRow): remove unused variable (inset)
11813 (selectSelectedWord): remove unused variable (inset)
11814 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11816 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11818 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11819 server is not running.
11821 (closeConnection): add debug info when server is disabled.
11823 * ColorHandler.C (getGCForeground): send debug message to GUI
11826 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11828 * kbmap.C (bind): modify because return conventions of
11829 kb_sequence::parse have changed.
11831 * kbsequence.C (parse): only ignore spaces and not any stupid
11832 control character. This avoids tests like s[i] <= ' ', which are
11833 guaranteed to fail with 8bit characters and signed chars.
11834 Change return code to string::npos when there have been no error
11835 (0 was a bad idea when error is at first character)
11837 2001-11-14 José Matos <jamatos@fep.up.pt>
11840 * buffer.C (simpleDocBookOnePar): removed unused argument.
11842 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11844 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11845 insets which are part of a word. Paragraph::isLetter takes care of
11846 that now. Use Paragraph::isInset to identify insets.
11847 (selectSelectedWord): do not test for hyphenation break.
11849 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11850 that protected spaces are considered as spaces.
11852 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11855 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11858 * lyxserver.C: fix it. and small cleanup.
11860 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11862 * BufferView_pimpl.C: use inline helpers
11865 * LaTeXFeatures.C: fix typos
11868 * Spacing.C: move spacing_string into class
11870 * ToolbarDefaults.C: move stuff into namespace anon
11872 * layout.h: update enum
11874 * lyxfunc.C: use better debug
11876 * minibuffer.h: fix typo
11880 * WorkArea.C: add and use Debug::WORKAREA
11884 * text2.C: code re-organisation, inline helpers
11886 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11888 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11889 std::vector.empty().
11891 2001-11-09 Allan Rae <rae@lyx.org>
11893 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11894 '\n's after tables. Tabular and ERT inset work now makes this no
11897 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11900 * minibuffer.C: fix crash, improve drop-down completion
11902 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11905 * lyxserver.C: invalidate fd's when doing endPipe()
11907 2001-11-08 José Matos <jamatos@fep.up.pt>
11909 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11910 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11913 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11915 2001-11-07 José Matos <jamatos@fep.up.pt>
11918 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11921 * buffer.C (sgmlOpenTag):
11922 * buffer.C (sgmlCloseTag): removed debug info.
11924 * buffer.h (sgmlOpenTag):
11925 * buffer.h (sgmlCloseTag): made public.
11927 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11929 * buffer.C (saveParamsAsDefaults):
11930 * lyx_cb.C (MenuLayoutSave): remove
11932 * LyXAction.C (init):
11934 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11936 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11938 * buffer.C (setPaperStuff): removed from here...
11940 * bufferparams.C (setPaperStuff): ... and moved there.
11942 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
11946 * XFormsView.C: add support for drop-down completion
11948 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
11950 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11953 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11955 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11958 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
11960 * lyx_main.C: change ref to known bugs
11962 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
11964 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11965 to work around older babel problems.
11967 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11969 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11971 2001-10-24 Juergen Vigna <jug@sad.it>
11973 * tabular-old.C (ReadOld): below variable changes reflected.
11975 * tabular.[Ch]: added ltType struct for longtable header/footer
11976 defines and changed all instances where they are used. Added
11977 future support for double top/bottom rows.
11979 2001-10-24 José Matos <jamatos@fep.up.pt>
11981 * buffer.h (docbookHandleCaption):
11982 * buffer.C (docbookHandleCaption): removed unused function.
11983 (makeDocBookFile): moved docbook supported version to v4.1.
11985 2001-10-24 José Matos <jamatos@fep.up.pt>
11988 * tabular.C (docbookRow): new function to export docbook code of a row.
11989 (DocBook): now honors the longtable flags.
11991 2001-10-23 José Matos <jamatos@fep.up.pt>
11994 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11995 of the lyx defined sgml entities used in a docbook/linuxdoc document.
11997 * buffer.C (makeLinuxDocFile):
11998 (makeDocBookFile): reworked the preamble, more clean, and with
11999 support for lyx defined entities. Changed the document declaration
12000 to be more XML friendly.
12002 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12003 if we need to output XML that should be done with a filter.
12005 2001-10-22 Juergen Vigna <jug@sad.it>
12007 * sp_pspell.h (class PSpell): add alive function needed in the
12008 controller to see if the spellchecker could be started.
12010 2001-10-22 Juergen Vigna <jug@sad.it>
12012 * buffer.C (insertStringAsLines): modify the font for inserting
12013 chars in certain conditions by calling checkInsertChar(font).
12015 2001-10-19 Juergen Vigna <jug@sad.it>
12017 * text.C (workWidth): use getRow instead of wrong algorithm.
12018 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12020 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12025 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12027 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12029 * text.C (workWidth): do not search for the exact row when
12030 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12031 optimization for big documents.
12033 2001-10-18 Juergen Vigna <jug@sad.it>
12035 * text.C (workWidth): new function with added Inset * parameter.
12037 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12039 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12041 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12042 change return type of getColumnNearX.
12045 * text.C (changeRegionCase): use uppercase/lowercase instead of
12048 (rightMargin): simplify code by factoring out the uses of
12053 (appendParagraph): use Paragraph::size_type
12055 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12057 * vspace.C (asLatexString): add a missing break
12059 2001-10-15 Herbert Voss <voss@perce.de>
12061 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12063 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12065 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12068 2001-10-10 André Pönitz <poenitz@gmx.net>
12070 * lyxfunc.C: removed greek_kb_flag.
12072 2001-10-10 Herbert Voss <voss@perce.de>
12074 * lyx_main.C: delete global string help_lyxdir.
12076 2001-10-09 Herbert Voss <voss@perce.de>
12078 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12080 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12082 * lyx_main.C: added global string help_lyxdir.
12084 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12086 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12088 * lyxrc.C (set_font_norm_type): support iso8859-4
12090 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12092 * LaTeX.C (deplog): add another regex for MikTeX
12094 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12096 * lyxrc.C (set_font_norm_type): support iso8859-3
12098 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12100 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12102 * LaTeXFeatures.C: remove special case of french and index
12104 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12105 before \begin{document}). This solves several incompatibilities.
12107 2001-10-03 Garst Reese <reese@isn.net>
12109 * lyx_cb.C: change CheckTex error msg.
12111 2001-10-03 José Matos <jamatos@fep.up.pt>
12113 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12115 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12117 * .cvsignore: update
12119 * lyx_main.C (commandLineVersionInfo): use new style version info.
12121 * buffer.C (writeFile):
12123 (makeLinuxDocFile):
12124 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12126 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12128 * version.h: update to use stuff in version.C
12130 * version.C.in: new file. Contains version information determined
12131 at compile time. This is a merging of version.h and
12134 2001-10-03 Juergen Vigna <jug@sad.it>
12136 * BufferView_pimpl.C (update): don't change "dirty" status in
12139 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12141 * WorkArea.C (c-tor): re-position version string slightly.
12143 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12145 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12146 revert to previous code.
12148 WorkArea.[Ch]: (show, destroySplash): methods removed.
12150 WorkArea.C: rework code so that it's an amalgam of the codes before and
12151 after the splash screen was moved to WorkArea.
12153 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12156 * vspace.C (inPixels):
12159 * buffer.C (insertStringAsLines):
12160 (asciiParagraph): fix types to be large enough
12162 * lyxlex_pimpl.h: change member status from short to int
12164 * layout.h: fix type of endlabeltype
12167 * kbsequence.C (parse): change return type to string::size_type
12169 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12172 * Bullet.C (bulletSize):
12173 (bulletEntry): do not use short ints as parameters
12175 * BufferView2.C (insertLyXFile): change a char to an int.
12177 * WorkArea.C (WorkArea): remove unneeded floats in computation
12179 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12181 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12183 * paragraph.C (asString): Do not ignore newline/hfill chars when
12184 copying to the clipboard.
12186 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12188 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12189 after a multi-line inset.
12191 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12193 * paragraph.C (validate): Set NeedLyXFootnoteCode
12195 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12197 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12198 and decrease-error to decrease.
12200 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12202 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12203 it more readable (should be equivalent)
12205 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12207 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12209 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12211 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12212 of a cursor (row, etc.) after a character has been deleted
12213 (deleteEmptyParagraphMechanism): call the method above on _all_
12214 cursors held by the LyXText when a double space has been
12217 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12219 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12221 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12223 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12224 background. Use greyOut() and the new show() methods to toggle between
12225 the foreground and background. Add code to remove the splash after
12226 its initial showing.
12228 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12229 (create_forms): no longer call Dialogs::showSplash.
12231 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12233 * .cvsignore: add version_info.h
12235 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12237 * version_info.h.in: new file
12239 * Makefile.am: add version_info.h.in
12241 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12242 version_info.h instead of VERSION_INFO
12244 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12246 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12247 The ERT inset now returns string().
12249 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12251 * lyxtext.h, text.C (selectNextWord): renamed as
12252 selectNextWordToSpellcheck.
12254 * text.C (selectNextWordToSpellcheck): Modified to not select
12255 words inside an ERT inset.
12257 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12259 * lyx_cb.C (MenuLayoutSave): change a bit the question
12261 * sp_base.h: include <sys/types.h>
12263 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12265 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12267 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12269 * several files: fix typos in user-visible strings
12271 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12273 * text2.C (pasteSelection): do not set the selection, since it
12274 will be cleared later. Actually, the intent was to fix the way the
12275 selection was set, but I figured rmoving the code was just as good.
12277 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12279 * FontLoader.C (available): Check if font is available without
12282 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12284 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12286 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12288 * lyxrc.[Ch]: added display_graphics variable and associated code.
12290 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12292 * bufferparams.C (hasClassDefaults): new method. Returns true if
12293 the buffer parameters correspond to known class defaults
12295 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12297 * XFormsView.C (show): set minimum size to the main window.
12299 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12301 * text2.C (copySelection):
12303 * lyxfind.C (LyXReplace):
12304 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12305 LyXText::selectionAsString.
12307 * paragraph.C (asString): add "label" argument to the second form
12309 * text2.C (selectionAsString): add "label" argument and pass it to
12310 Paragraph::asString.
12312 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12314 * lyx_main.C (commandLineHelp): remove version information
12316 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12318 * lyx_main.C: add -version commandline option
12320 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12322 * paragraph.h: make the optional constructor arg required instead.
12323 some modifications to other files because of this.
12325 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12327 * lyxserver.C (C_LyXComm_callback): make it static
12329 * lyx_main.C (error_handler): make it static
12331 * lyx_gui.C (LyX_XErrHandler): make it static
12333 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12335 * WorkArea.C: make the extern "C" methods static.
12337 * Makefile.am (lyx_LDADD): simplify
12339 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12341 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12342 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12344 * LyXAction.C (init):
12345 * lyxfunc.C (dispatch): associated code removal.
12347 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12349 * lyxfont.h (isSymbolFont): shut off warning
12351 * text.C (setHeightOfRow):
12352 (getVisibleRow): fix crash with empty paragraphs which have a
12355 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12357 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12360 2001-09-04 José Matos <jamatos@fep.up.pt>
12363 * tabular.C (docbook): rename docBook method to docbook.
12365 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12367 * Makefile.am: add dependencies to main.o.
12369 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12371 * FontLoader.C (available): Return false if !lyxrc.use_gui
12373 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12375 * FontInfo.C (query):
12376 * converter.C (view):
12377 * importer.C (Import):
12378 * exporter.C (Export): Can not -> cannot.
12380 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12382 * BufferView_pimpl.C: allow to create index inset even if
12385 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12387 * buffer.C (getLists): replace boost::tie code with an explicit pair
12388 as boost::tie can break some compilers.
12390 * iterators.h: Added a std:: declaration to the return type of
12393 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12395 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12398 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12400 * iterators.[Ch]: New files. Provide paragraph iterators.
12402 * buffer.C (changeLanguage): Use paragraph iterators.
12403 (isMultiLingual): ditto
12405 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12407 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12409 * FontLoader.C: Support for cmr font.
12411 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12413 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12414 (available): New method.
12416 * FontInfo.C (getFontname): Use scalable fonts even when
12417 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12420 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12422 * converter.C (Formats::view): reverted! Incorrect fix.
12424 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12426 * converter.C (Formats::view): only output the -paper option
12427 if the dvi viewer is xdvi, thereby fixing bug #233429.
12429 2001-08-23 Herbert Voss <voss@perce>
12431 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12433 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12435 * Spacing.h (Spacing): Set space to Default on in the default
12438 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12440 * vc-backend.h (RCS::versionString): add RCS to version
12441 (CVS::versionString): add CVS to version
12443 * vc-backend.C (scanMaster): do not add CVS to version.
12444 (scanMaster): do not add RCS to version
12446 * lyxvc.C (versionString): new method
12448 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12450 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12452 * Spacing.C (set): initialize fval
12454 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12456 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12459 2001-08-16 Juergen Vigna <jug@sad.it>
12461 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12463 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12465 * BufferView_pimpl.C:
12468 * text2.C: setParagraph takes linespacing now
12470 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12472 * LyxAction.C: add internal LFUN_CITATION_INSERT
12474 * LyXView.C: actually apply fix
12476 * bufferlist.C: fix open non-existent file
12478 * lyxfind.C: fix indentation
12480 * lyxfunc.C: remove unneeded assert, fix typo
12482 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12484 * MenuBackend.C: use "Floatname List"
12486 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12488 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12489 when converting LaTeX layout to insetERT.
12490 Generate a non-collapsed float when reading old float
12492 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12494 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12497 2001-08-13 Juergen Vigna <jug@sad.it>
12499 * text.C (fill): return 0 instead of 20 as this seems to be the more
12502 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12504 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12507 2001-08-13 Juergen Vigna <jug@sad.it>
12509 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12511 (SearchBackward): comment out the unlocking of the inset_owner this
12512 should not be needed!
12514 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12516 * Many files: Remove inherit_language, and add latex_language
12518 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12519 collapsible insets.
12521 2001-08-10 Juergen Vigna <jug@sad.it>
12523 * text.C (prepareToPrint): fixed hfill-width in draw!
12525 * BufferView2.C (selectLastWord): save the selection cursor as this
12526 now is cleared in the function LyXText::clearSelection!
12528 2001-08-08 Juergen Vigna <jug@sad.it>
12530 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12531 BACKSPACE type functions.
12533 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12534 is only cutted from the document but not put in the cut-buffer, where
12535 still the old stuff should be.
12537 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12539 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12541 * tabular.C (SetWidthOfCell): fixed special case where the width
12543 (LeftLine): handle '|' in align_special.
12545 (LeftAlreadyDrawed): ditto
12546 (SetWidthOfCell): ditto
12548 2001-08-07 Juergen Vigna <jug@sad.it>
12550 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12552 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12555 * lyxlex.[hC]: ditto
12557 2001-08-06 Juergen Vigna <jug@sad.it>
12559 * text.C (getVisibleRow): fix up row clearing a bit.
12561 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12563 * minibuffer.C: make sure the X server sees the changes in the input.
12565 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12567 * paragraph.C (getFont): split into...
12568 (getLabelFont): this
12569 (getLayoutFont): and this
12570 * paragraph_pimpl.C (realizeFont): calling this
12572 * text2.C (getFont): split into...
12573 (getLayoutFont): this
12574 (getLabelFont): and this
12575 (realizeFont): all three calling this
12577 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12580 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12582 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12584 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12586 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12587 layouts from the Quote inset insertion.
12589 2001-08-03 Juergen Vigna <jug@sad.it>
12591 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12593 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12594 only if status not is already CHANGED_IN_DRAW (second level).
12596 * text.C (draw): don't set the need_break_row when inside an
12599 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12601 * buffer.C (parseSingleLyXformat2Token): handle more latex
12604 * bufferview_funcs.[hC]: change function names to
12605 begin with small char, adjust other files.
12607 2001-08-02 André Pönitz <poenitz@gmx.net>
12610 BufferView_pimpl.C: remove broken special code for math-greek
12612 2001-08-02 Juergen Vigna <jug@sad.it>
12614 * BufferView_pimpl.C (update): redone this function so that we
12615 update the text again if there was a CHANGE_IN_DRAW.
12617 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12618 (drawFromTo): added a new internal bool which is used by draw() and
12620 (general): some cursor drawing problems fixed.
12622 2001-08-01 Juergen Vigna <jug@sad.it>
12624 * lyxfind.C (LyXFind): fixed
12625 (SearchForward): ditto
12626 (SearchBackward): ditto
12628 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12629 spurius drawing of the cursor in the main area.
12631 * text2.C (status): small fix which could lead to a segfault!
12632 (clearSelection): remove unneeded BufferView param.
12634 2001-08-01 André Pönitz <poenitz@gmx.net>
12636 * lyxfunc.C: small change due to changed mathed interface
12638 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12640 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12642 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12644 * lyxfunc.c: fail gracefully if file doesn't exist
12649 * BufferView_pimpl.C: IsDirWriteable() proto changed
12651 * LyXView.C: fix updateWindowTitle() to store the last title
12653 2001-07-31 Juergen Vigna <jug@sad.it>
12655 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12656 the font (wrong since using of Paragraph::highestFontInRange).
12658 * paragraph.C (highestFontInRange): added a default_size parameter.
12660 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12661 (setHeightOfRow): reformat
12663 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12665 * converter.[hC] + affected files: move to (inital-char)lowercase
12668 * ParagraphParameters.C (ParagraphParameters): remove commented code
12670 * PainterBase.[Ch]: remove commented code
12672 * LaTeXFeatures.h: add "bool floats" for float.sty
12674 * LaTeXFeatures.C (LaTeXFeatures): init floats
12675 (require): handle float
12676 (getPackages): do it with floats
12678 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12680 * BufferView_pimpl.C (Dispatch): improve handling of
12681 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12683 * commandtags.h: #include lyxfont.h here temporarily to avoid
12686 * bufferlist.h: include LString.h here.
12688 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12690 * text2.C (getStringToIndex): new method.
12692 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12694 * *: Reduced header file dependencies all over.
12696 2001-07-30 Baruch Even <baruch@lyx.org>
12698 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12700 2001-07-29 Baruch Even <baruch@lyx.org>
12702 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12704 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12706 * ParameterStruct.h (endif): add a default constructor to make
12707 sure that all variables is initialized.
12709 * ParagraphParameters.C (ParagraphParameters): adjust
12711 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12713 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12714 index; also, check that there is something to index, and that it
12715 does not span over several paragraphs.
12716 (doubleClick): use WHOLE_WORD_STRICT for double click.
12718 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12720 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12723 2001-07-26 Baruch Even <baruch@lyx.org>
12725 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12726 an InsetFig figure, backwards compatible reading of old figure code.
12728 2001-07-27 Juergen Vigna <jug@sad.it>
12730 * text2.C: font.realize function adaption.
12732 * text.C (draw): add a warnings lyxerr text if needed.
12734 * layout.C: font.realize function adaption.
12736 * language.C: add inherit_language and implement it's handlings
12738 * bufferview_funcs.C (StyleReset): remove language parameter from
12739 font creation (should be language_inherit now).
12741 * bufferparams.C (writeFile): handle ignore_language.
12743 * paragraph.C (getFontSettings): the language has to be resolved
12744 otherwise we have problems in LyXFont!
12746 * lyxfont.C (lyxWriteChanges): added document_language parameter
12747 (update): removed unneeded language parameter
12749 * paragraph.C (validate): fixed wrong output of color-package when
12750 using interface colors for certain fonts in certain environments,
12751 which should not seen as that on the final output.
12753 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12755 * BufferView_pimpl.C:
12760 * LyXAction.C: add thesaurus support
12763 * lyxfind.C: add "once" parameter, for thesaurus, to not
12764 move to the next match
12766 2001-07-26 Juergen Vigna <jug@sad.it>
12768 * lyxfont.C (realize): honor ignore_language too!
12771 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12773 * text.C (draw): one place more for ignore_language to not draw
12776 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12778 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12780 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12783 the minipage conversion problem.
12785 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12787 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12790 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * BufferView.h: don't forward declare WorkArea
12794 * BufferView.C: don't include WorkArea.h
12796 2001-07-25 André Pönitz <poenitz@gmx.net>
12800 * lyxfunc.C: new LFUN 'math-space'
12802 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12804 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12806 * text2.C (toggleInset): call open/close
12808 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * lyxfunc.C (dispatch): add debug for the disabled case
12812 * font.C (buttonText): make similar to rectText
12814 * buffer.C (readInset): comment out parsing of insetlist and
12817 * PainterBase.C (rectText): small correction
12819 * BufferView_pimpl.C: comment out insettheorem and insetlist
12820 * LyXAction.C: ditto
12821 * commandtags.h: ditto
12823 2001-07-24 Juergen Vigna <jug@sad.it>
12825 * text.C (draw): honor the ignore_language.
12827 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12829 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12831 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12834 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12836 * lyxtext.h: remove unused (and unimplemented) methods
12838 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12840 * text.C (getVisibleRow): honor background color
12843 * Painter.h: remove default color argument for fillRectangle
12845 * text.C (backgroundColor): new method
12847 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12849 * text.C (getVisibleRow): adjust
12851 * font.[Ch] (rectText): new method, metrics
12852 (buttonText): new method, metrics
12854 * PainterBase.[hC]: make rectText and buttonText always draw and take
12857 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12859 * ToolbarDefaults.C (read):
12860 * MenuBackend.C (read): allow escaping in all strings
12862 * BufferView_pimpl.C (insertAndEditInset): new method.
12863 (Dispatch): use insertAndEditInset whenever appropriate.
12865 * BufferView_pimpl.C (insertNote): removed
12867 * BufferView_pimpl.C (smartQuote): new method, moved from
12868 BufferView; if an insetquote cannot be inserted, insert a '"'
12871 * BufferView2.C: remove insertCorrectQuote();
12873 * lyxfunc.C (getStatus): Add support for all remaingin
12874 inset-insert lfuns.
12876 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12878 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12879 command (necessary to pass " as parameter of self-insert.
12881 * text.C (selectWordWhenUnderCursor):
12882 (selectWord): add word_location parameter
12883 (selectWordWhenUnderCursor): same + remove special code for word
12885 (selectNextWord): use kind() to guess type of insetspecialchar,
12888 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12889 (insertErtContents): create ert insets as collapsed.
12890 (readInset): better compatibility code for Info inset.
12892 2001-07-20 Juergen Vigna <jug@sad.it>
12894 * lyxfunc.C (dispatch): use always LyXFind now!
12896 * text2.C (init): add a reinit flag so that the LyXText can be
12897 reinited instead of deleted and reallocated (used in InsetText).
12899 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12905 2001-07-18 Juergen Vigna <jug@sad.it>
12907 * text.C (selectNextWord): handle insets inside inset by calling
12908 always the bv->text functions so that we can go up the_locking_inset!
12910 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12911 in strange locations when inside an inset!
12913 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12914 handling to include insets.
12916 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12918 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12920 * LyXAction.C (init):
12922 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12923 LIGATURE_BREAK, since the name is so stupid.
12925 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12927 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12930 * FontLoader.C: remove FORMS_H_LOCATION cruft.
12932 * sp_form.[Ch]: remove.
12934 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12936 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12939 * src/buffer.C (readInset): ditto.
12941 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12943 * BufferView_pimpl.C (specialChar): new method. Obsoletes
12944 menuSeparator(), endOfSentenceDot(), ldots() and
12945 hyphenationPoint(), which are therefore removed.
12946 (Dispatch): handle LFUN_HYPHENATION_BREAK.
12948 * LyXAction.C (init):
12949 * commandtags.h: add LFUN_HYPHENATION_BREAK.
12951 * paragraph.C (getWord): removed.
12953 * BufferView_pimpl.C (Dispatch): use last word or selection for
12954 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12956 * lyx_main.C (queryUserLyXDir): do not ask before creating
12957 user_dir, except if it has been named explicitely.
12959 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12961 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12962 a document of zero size.
12964 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
12966 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12967 approriately in the c-tor and in require().
12968 (getPackages): output the appropriate LaTeX for natbib support.
12970 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12971 variables "use_natbib" and "use_numerical_citations" when reading the
12973 (readInset): read the various natbib cite commands.
12974 (validate): white-space change.
12976 * bufferparams.[Ch]: new variables "bool use_natbib" and
12977 "bool use_numerical_citations".
12978 (writeFile): output them in the LyX file.
12980 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12982 * lyxfunc.C (getStatus): add support for all the inset insertion
12985 * text2.C (insertInset):
12986 * paragraph.C (insetAllowed):
12987 * BufferView_pimpl.C (insertInset): update to take in account the
12988 renaming of insertInsetAllowed
12990 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12992 * text2.C (getInset): new method. returns inset at cursor position.
12994 * BufferView_pimpl.C (Dispatch): changes because of this.
12996 * LyXAction.C (init): rename open-stuff to inset-toggle.
12998 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13000 * text2.C (toggleInset): renamed from openStuff; use
13003 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13005 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13007 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13009 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13011 * buffer.C (readLyXformat2): Add filename to the error dialog
13013 2001-07-18 Juergen Vigna <jug@sad.it>
13015 * tabular.C (GetCellNumber): put an assert here instead of the check!
13017 2001-07-17 Juergen Vigna <jug@sad.it>
13019 * BufferView_pimpl.C (toggleSelection): adapted too.
13021 * text.C (selectNextWord): adapted for use with insets.
13022 (selectSelectedWord): ditto
13024 2001-07-17 Juergen Vigna <jug@sad.it>
13026 * sp_spell.C (PSpell): fix initialitation order.
13028 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13030 * paragraph.C: spacing
13032 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13034 * sp_spell.C: repair language selection for pspell
13036 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13038 * lyxfunc.h: change more methods to begin with lower char.
13040 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13042 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13043 for unknown layouts.
13045 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13047 * buffer.C (readLyXformat2): Generate an error dialog if there are
13050 2001-07-16 Juergen Vigna <jug@sad.it>
13052 * sp_spell.C: always compile ISpell part.
13054 * lyxrc.C: added use_pspell entry and it's handling.
13056 2001-07-13 Juergen Vigna <jug@sad.it>
13058 * sp_spell.C: removed double includes.
13060 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13062 Consistent use of Lsstream.h:
13063 * Lsstream.h: added using std::stringstream for consistencies sake.
13065 * buffer.C: removed using std::stringstream
13067 * lyxfont.C (stateText):
13068 * paragraph.C (asString):
13069 * text.C (selectNextWord, selectSelectedWord):
13070 * text2.C (setCounter):
13071 * vspace.C (asString, asLatexString):
13072 std::ostringstream -> ostringstream.
13074 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13076 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13077 * commandtags.h: add LFUN_HELP_ABOUTLYX
13078 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13080 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13082 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13084 * lyx_gui_misc.C: remove spellchecker
13085 * lyxfunc.C: showSpellchecker
13087 * sp_ispell.h: added
13088 * sp_pspell.h: added
13089 * sp_spell.C: added
13090 * sp_form.[Ch]: removed
13091 * spellchecker.[Ch]: removed
13093 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13095 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13097 (simpleTeXSpecialChars): Simply print the input character without
13098 any special translation if pass_thru is set.
13100 * layout.h: Added bool pass_thru to layout class for being able to
13101 implement pass through of a paragraph for Literate Programming.
13103 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13104 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13105 * layout.C (Read): add "passthru" to list of layout tags and add
13106 code to set the pass_thru boolean when it is read.
13108 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * trans_decl.h: remove allowed from KmodInfo
13112 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13113 remove allowed code
13116 * paragraph_pimpl.C (erase): use boost::prior
13118 * Painter.C (text): use data() instead of c_str() when length is
13120 * WorkArea.C (putClipboard): ditto
13121 * font.h (width): ditto
13123 * BufferView2.C: use it-> instead of (*it). for iterators
13125 * paragraph_pimpl.C: ditto
13126 * paragraph.C: ditto
13127 * minibuffer.C: ditto
13128 * language.C: ditto
13130 * encoding.C: ditto
13131 * counters.C: ditto
13132 * converter.C: ditto
13134 * Variables.C: ditto
13135 * TextCache.C: ditto
13136 * MenuBackend.C: ditto
13137 * LyXAction.C: ditto
13139 * FloatList.C: ditto
13140 * DepTable.C: ditto
13141 * ColorHandler.C (LyXColorHandler): ditto
13143 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13147 * text2.C (openStuff): reintroduce this method (which had been
13148 nuked in NEW_INSETS frenzy).
13150 * lyxfunc.C (Dispatch): when an action has not been handled, use
13151 its name in the error message, not its number.
13153 * paragraph.C (inInset): change method name to begin with lowercase.
13156 * text2.C: updates because of this.
13158 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13160 * ToolbarDefaults.C (add): add spaces in error message
13162 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13164 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13165 (readLyXformat2): rename return_par to first_par, use lyxlex's
13166 pushToken and remove the manual push handling.
13167 (parseSingleLyXformat2Token): add another ert comp. variable:
13168 in_tabular, rename return_par to first_par. handle newlines better
13170 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13174 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13176 * text2.C (getParFromID): removed
13178 * buffer.C (getParFromID): new method moved form lyxtext.
13179 * BufferView2.C (insertErrors): adjust
13180 (setCursorFromRow): adjust
13181 * BufferView_pimpl.C (restorePosition): adjust
13182 * lyxfunc.C (Dispatch): adjust
13183 * undo_funcs.C (textUndo): adjust
13185 (textHandleUndo): adjust
13186 (textHandleUndo): adjust
13188 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13190 * buffer.C: up' the LYX_FORMAT
13192 * lyxfont.h: turn NO_LATEX on as default
13194 * buffer.C (insertErtContents): new methods of tex style compability.
13195 (parseSingleLyXformat2Token): use it several places.
13196 * tabular.C (OldFormatRead): and here
13198 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13200 * text2.C: remove some commented code.
13203 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13204 * trans.C: changes because of the above.
13206 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13208 * text2.C (setCounter): Fix counters bug with bibliography layout.
13210 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13213 own member functions
13214 (simpleTeXSpecialChars): ditto
13216 2001-07-06 Juergen Vigna <jug@sad.it>
13218 * a lot of files: changed the access to LyXText::status and the
13219 call of undo-functions.
13221 * undo.[Ch]: added a inset_id to the undo informations.
13223 * undo_funcs.[Ch]: added and moved here all undo functions.
13225 * lyxtext.h: give the status enum a weight, made status_ a private
13226 variable and made accessor functions for it, removed the whole bunch
13227 of undo-functions as they are now in their own file, make some
13228 functions publically available. Added function ownerParagraph with
13231 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13232 made InInset() a const function, added getParFromID() function.
13234 * buffer.[Ch]: added const version for inset_iterator functions,
13235 added getInsetFromID() function.
13237 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13238 changed undo functions for new version.
13240 2001-07-05 Juergen Vigna <jug@sad.it>
13242 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13243 unknow mechanism does not call the proper constructor but only this
13244 one also if I request the other!?
13246 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13248 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13250 * text2.C (LyXText): use initialization lists.
13252 * lyxtext.h (Selection): initialize set_ and mark_
13253 (init): remove method
13255 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13257 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13259 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13261 * screen.[Ch]: change method names to begin with lowercase
13263 * BufferView_pimpl.C (updateScrollbar): simplify further and
13264 hopefully make it a bit faster.
13266 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13268 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13269 calling directly xforms functions.
13271 * Painter.C (Painter):
13272 * lyx_cb.C (MenuWrite):
13273 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13276 * lyx_gui.C: remove bogus guiruntime extern declaration.
13278 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13280 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13282 (redoDrawingOfParagraph): ditto
13283 (redoParagraphs): ditto
13284 (cutSelection): don't create a object for CutAndPaste use the
13285 static method directly
13286 (pasteSelection): ditto
13288 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13291 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13293 * modifications to some other files because of this.
13295 * Makefile.am (lyx_SOURCES): add XFormsView
13297 * XFormsView.[Ch]: new files
13299 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13300 the main window. Move the gui dependent stuff to XFormsView
13302 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * tabular.C (GetCellInset): update cur_cell also in the row/col
13305 version of this function.
13307 * lyxfunc.C: no need to include figure_form.h here.
13313 * lyxvc.C: no need to include forms.h here.
13315 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13319 * lyxfunc.C (Dispatch):
13321 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13322 constructor argument.
13324 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13326 * paragraph.C (Paragraph): dont't clear, and just set layout.
13327 (makeSameLayout): use params's copy contructor.
13329 * ParagraphParameters.[Ch] (makeSame): delete method
13331 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13333 * Variables.[Ch]: fix indentation, rename set to isSet
13335 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * lyxfunc.C (Dispatch): fix typo
13339 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13344 * bufferlist.C: include assert.h for emergencyWrite().
13346 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13348 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13349 give up at last (bug #425202) !
13351 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13357 * spellchecker.C: strip spellchecker options and bring up
13358 preferences tab instead
13360 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13362 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13363 the istringstream constructor
13365 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * paragraph.C (getLayout): fix return value
13369 * paragraph.h: do not declare getLayout as inline.
13371 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13373 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13375 * lyxcursor.h (operator<): new func
13376 (operator>): new func
13377 (operator>=): new func
13378 (operator<=): new func
13380 * text.C (changeCase): use selection.start and selection.end
13381 (changeRegionCase): require from to be <= to. Require par to be a
13384 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13386 2001-06-27 Juergen Vigna <jug@sad.it>
13388 * text.C (cursorLeftOneWord): changed to return the cursor and added
13389 overlay with BufferView * parameter which calls this one.
13391 (selectWord): use new getWord function.
13392 (changeCase): renamed from changeWordCase as and extended to work
13393 also on selections.
13395 * lyxtext.h: added enum word_location
13397 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13398 changeCase as this operates now also on selections.
13400 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13402 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13404 * many files: send debug output to Debug::INFO instead of
13407 * converter.C (View):
13409 (Move): send debug output to Debug::FILES instead of console.
13411 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13413 * lyxfunc.C (getStatus): use func_status
13415 * func_status.h: new header, describing the results of
13416 LyXFunc::getStatus;
13418 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13421 2001-06-25 The LyX Project <jug@sad.it>
13423 * buffer.C (sgmlOpenTag):
13425 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13427 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13429 * text2.C: remove some dead code
13431 * tabular.C (GetCellInset): store the last cell checked (gotten)
13433 * tabular.h: add the helper for the speedup
13435 * lyxtext.h: remove some dead code
13437 2001-06-26 The LyX Project <Asger>
13439 * paragraph.C: Change export to LaTeX of alignment to
13440 \begin{center} and family for better roundtrip work with reLyX.
13442 * Tune the math drawing a bit.
13444 2001-06-25 The LyX Project <Asger>
13446 * LColor.C (LColor): New color for math background. New color
13449 2001-06-25 The LyX Project <jug@sad.it>
13451 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13453 * lyxfunc.C (Open):
13454 * bufferlist.C (newFile): do not restrict to files ending with
13457 * BufferView_pimpl.C (MenuInsertLyXFile):
13459 2001-06-24 The LyX Project <jug@sad.it>
13461 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13464 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13466 * lyxtext.h: rename most methods to begin with a small char.
13467 Lots of changes because of this.
13469 * paragraph.C (Paragraph): do not call fitToSize
13470 (erase): call Pimpl::erase
13471 (insertChar): call Pimpl::insertChar
13472 (insertInset): call Pipl::insertInset
13473 (breakParagraph): do not call fitToSize
13474 (breakParagraphConservative): do not call fitToSize
13475 (fitToSize): remove method
13477 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13479 2001-06-24 The LyX Project <Asger>
13481 * Fix Qt compilation^2
13483 2001-06-24 The LyX Project <jug@sad.it>
13485 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13486 depthHook(getDepth()-1).
13489 * ParagraphParameters.h:
13490 * ParameterStruct.h: change type of depth to unsigned int ==
13491 depth_type. Many adaptations to other files before of that.
13493 2001-06-24 The LyX Project <Asger>
13495 * Fix Qt compilation.
13497 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13499 * paragraph.h: renamed several methods to begin with small letter.
13500 several changes to many parts of the code because of this.
13502 2001-06-23 The LyX Project <jug@sad.it>
13504 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13505 rewritten to discard all double spaces when KeepEmpty is off
13506 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13507 to only handle newlines but not fiddle with spaces and friends.
13509 * lyxfunc.C (MenuNew): when doing 'new from template', use
13510 template_path as default directory
13512 2001-06-23 The LyX Project <Asger>
13514 * Clean-up of header file includes all over
13515 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13517 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13519 * paragraph.h: renamed from lyxparagraph.h
13521 2001-06-23 Asger <lyx@violet.home.sad.it>
13523 * Buffer.h: Removed Buffer::resize
13524 * BufferList.h: Removed BufferList::resize
13525 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13526 the document lazily when we change the width, or the font settings.
13528 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13530 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13532 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13534 * buffer.h: remove out of date comment
13536 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13539 * screen.C: fix "theoretical" GC leak
13541 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * LaTeX.C (scanAuxFile):
13544 (deplog): remove trailing \r when reading stream (useful under
13547 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13549 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13550 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13551 and BufferView::theLockingInset(Inset*), so should use them and not
13552 access bv_->text->the_locking_inset directly.
13554 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13556 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13559 * tex-defs.h: remove old unused file
13561 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13563 * BufferView_pimpl.C: fix typo, remove minibuffer message
13564 when buffer has loaded
13566 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13568 * lyxfunc.C (Dispatch): use stringstream
13569 (MenuNew): use stringstream
13570 (Open): use stringstream
13572 * importer.C (Import): use stringstream
13574 * bufferview_funcs.C (CurrentState): use stringstream
13576 * LaTeX.C (run): use stringstream
13578 * BufferView_pimpl.C (savePosition): use stringstream
13579 (restorePosition): use stringstream
13580 (MenuInsertLyXFile): use stringstream
13582 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13595 * vspace.C: removed // -*- C++ -*- as first line.
13598 * version.h: added // -*- C++ -*- as first line.
13600 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13602 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13604 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13607 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13609 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13612 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13614 * gettext.C: include LString.h even when --disable-nls is on.
13616 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13618 * converter.h (Get): changed argument type from int to
13619 FormatList::size_type to avoid unnecessary conversion.
13621 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13624 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13626 * gettext.h: include LString.h even when --disable-nls is on.
13628 2001-06-07 Juergen Vigna <jug@sad.it>
13630 * text.C (BreakAgain): subst spaces with tabs.
13632 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13633 (resizeInsetsLyXText): set force on resizeLyXText.
13635 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * gettext.h (gettext_init):
13638 (locale_init): use a real definition instead of a macro
13640 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13642 * Bufferview_pimpl.C:
13644 * LColor.C: further lcolor tidies
13646 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * BufferView_pimpl.C (updateScrollbar): simplify.
13650 * BufferView2.C: don't include insets/insetinfo.h, change
13651 prototype for insertInset and call the Pimpl version. let
13652 updateInset call Pimpl version.
13654 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13655 gotoInset to BufferView::Pimpl
13657 2001-06-01 Juergen Vigna <jug@sad.it>
13659 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13660 inside a LockingInset (is the update needed at all?).
13662 2001-05-31 Juergen Vigna <jug@sad.it>
13664 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13665 here not the old one otherwise how should we compare it afterwards
13668 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13673 * FontInfo.C: bring C functions into global namespace when
13676 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13678 * LString.h: make sure config.h has been loaded before LString.h.
13680 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13681 (one for each char read by EatLine!).
13683 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13686 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13688 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13689 to the same as the par we break from
13691 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13693 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13695 * MenuBackend.C (expand): also create menu entries for wide
13696 versions of the floats.
13698 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13700 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13702 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13703 frontends/Makefile.am
13709 * tabular.C (getTokenValue): add std::
13711 * tabular-old.C (getTokenValue): add std::
13712 (getTokenValue): ditto
13713 (getTokenValue): ditto
13715 * screen.C (ToggleSelection): adjust
13717 * lyxtext.h: put selection cursors inside a Selection struct.
13719 * lyxfunc.C (moveCursorUpdate): adjust
13721 * lyxfont.C (latexWriteStartChanges): add std::
13723 * lyxfind.C: adjust
13725 * font.h: delete with(char const *, LyXFont const &)
13727 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13729 * FontInfo.C (getFontname): add std::
13731 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13732 (workAreaButtonPress): adjust
13733 (tripleClick): adjust
13735 (moveCursorUpdate): adjust
13738 * BufferView2.C (gotoInset): adjust
13740 2001-05-30 Juergen Vigna <jug@sad.it>
13742 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13743 to check pspell I add this as default as I now have new pspell
13744 libraries and they seem to use this.
13746 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13748 * text2.C (CutSelection): make the cursor valid before the call to
13751 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13754 relied on 0 terminated strings and other horrors. Bug found due to
13755 the new assert in lyxstring!
13757 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13760 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13765 * lyxfunc.C (processKeySym): change method of getting to the
13768 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13769 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13770 * BufferView_pimpl.[Ch]: here as private methods.
13772 2001-05-28 Juergen Vigna <jug@sad.it>
13774 * text.C (SetHeightOfRow): added the update() call again as it is
13775 needed to initialize inset dimensions!
13777 2001-05-16 Juergen Vigna <jug@sad.it>
13779 * text2.C (SetCharFont): Add new function with BufferView * and
13780 bool toggleall parameters for setting insets internal fonts.
13781 (SetFont): Freeze the undo as we may change fonts in Insets and
13782 all this change should be inside only one Undo!
13784 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13785 setting font's in insets as for them we have the SetFont function!
13787 2001-05-15 Juergen Vigna <jug@sad.it>
13789 * text2.C (ClearSelection): to be sure we REALLY don't have any
13792 * tabular.C (TeXCellPreamble): fixed the left border problem for
13795 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13797 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13800 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13803 LFUN_BREAKPARAGRAPH.
13805 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13806 help test to "internal only", similar for LFUN_INSERT_URL
13808 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13809 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13810 auto_region_delete and deadkeys.
13812 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13815 * LColor.C: remove some dead entries, tidy a little
13817 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13819 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13821 (Dispatch): implement LFUN_ESCAPE
13823 * commandtags.h: add LFUN_ESCAPE
13825 * LyXAction.C (init): add entry for LFUN_ESCAPE
13827 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13828 Remove commented code.
13829 (insertNote): moved here
13830 (open_new_inset): moved here
13832 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13835 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13837 * kbmap.C (findbinding): clean it up and make it work correctly.
13839 * lyx_main.C (init): do not pass argc and argv as parameters
13841 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13843 * buffer.C: fix path for OS/2 & Win32
13847 * lyx_main.C: Added os:: class.
13849 * os2_defines.h: update
13851 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13853 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13854 better by trying again with reduced state.
13856 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13858 * lyxrc.C (read): print error about invalid key sequence only when
13859 debugging (because not all latinX keysyms are known to some X
13862 * kbsequence.C (getiso): add a few std:: qualifiers
13863 (getiso): comment out extra return statement.
13865 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13867 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13869 (Dispatch): enhance the accent inset a bit. (not perfect)
13871 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13875 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13877 * bufferlist.C (emergencyWrite): fix assert() call
13879 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13881 * text.C (InsertChar): Added trivial patch to only send the "you
13882 can not do multiple spaces this way" message once during a
13885 2001-05-08 Baruch Even <baruch@lyx.org>
13887 * Makefile.am: Changed order of libraries to get LyX to link properly
13888 with the gnome frontend.
13890 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13892 * LaTeXFeatures.h: add a std:: qualifier
13894 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * paragraph.C (String): use stringstream
13898 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13900 * paragraph.C (writeFile): remove footflag arg
13902 * buffer.C (makeLaTeXFile): use stringstream
13903 (latexParagraphs): remove footnot gurba
13905 * LaTeXFeatures.C (getPackages): use stringstream
13906 (getMacros): likewise
13907 (getTClassPreamble): likewise
13908 (getFloatDefinitions): new method
13910 * paragraph.C (writeFile): reindent
13913 * WorkArea.h: revert the xpos + etc changes.
13915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13917 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13919 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13920 (pasteSelection): likewise
13921 * text2.C (CreateUndo): likewise
13923 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13925 * minibuffer.C (peek_event): temporarily reduce the functionality
13926 of the minibuffer (to allow args on lfuns)
13928 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13929 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13931 * buffer.C (readInset): add compability reading of old float
13932 lists, add reading of new style float list.
13933 (readInset): avoid reevaluation of inscmd.getCmdName()
13934 (getLists): reindent
13936 * MenuBackend.C (MenuItem): implement parsing of
13937 md_floatlistinsert and md_floatinsert.
13938 (expand::LastFiles): move initalizaton of iterators out of loop,
13939 avoid reevaluation.
13940 (expand::Documents): introduce typdedef vector<string> Strings,
13942 (expand::ExportFormats): introduce typedef vector<Format const *>
13943 Formats, and use it.
13944 (expand): implement FloatListInsert and FloatInsert.
13946 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13947 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13948 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13950 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13952 (Dispatch::LFUN_FLOAT_LIST): implement
13954 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13956 * LaTeX.C (run): Fix problem with --export code.
13958 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
13960 * BufferView.[Ch] (workarea): removed.
13961 (getClipboard) new method; wrapper for workarea()->getClipboard()
13963 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13966 * WorkArea.h (width, height, xpos, ypos): These methods all
13967 returned the dimensions of the work_area sub-area of WorkArea,
13968 resulting in a position error if the WorkArea were resized. Now
13969 return the dimensions of the entire WorkArea.
13971 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13973 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13975 * LaTeX.C (deplog): correct the syntax of regex reg1
13977 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * undo.C: remove !NEW_INSETS cruft
13981 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * text2.C: remove !NEW_INSETS cruft
13985 * text.C: remove !NEW_INSETS cruft
13987 * tabular.C: remove !NEW_INSETS cruft
13989 * spellchecker.C: remove !NEW_INSETS cruft
13991 * lyxtext.h: remove !NEW_INSETS cruft
13993 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13995 * lyxfunc.C: remove !NEW_INSETS cruft
13997 * lyxfind.C: remove !NEW_INSETS cruft
13999 * lyx_cb.C: remove !NEW_INSETS cruft
14001 * figureForm.C: remove !NEW_INSETS cruft
14003 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14005 * buffer.[Ch]: remove !NEW_INSETS cruft
14007 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14009 * CutAndPaste.C: remove !NEW_INSETS cruft
14011 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14013 * BufferView2.C: remove !NEW_INSETS cruft
14015 * BufferView.h: remove !NEW_INSETS cruft
14017 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14019 * Lsstream.h: include LString.h before the sstream headers to
14020 fix problem with gcc 2.95.3 and lyxstring
14022 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14024 * lyx_main.C: add using directives when needed for C functions
14025 declared in std:: namespace.
14027 2001-04-27 Juergen Vigna <jug@sad.it>
14029 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14030 (SetHeightOfRow): comment out the update call should not be needed!
14032 2001-04-13 Juergen Vigna <jug@sad.it>
14034 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14035 (LyXTabular): tried to minimize operator= operations (and realized
14036 hopfully Lars wish).
14038 2001-04-27 Juergen Vigna <jug@sad.it>
14040 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14042 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14044 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14046 * buffer.C (readInset): hack to make listof algorithm work
14048 * BufferView_pimpl.C: hack to make listof algorithm work
14050 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * LyXAction.C: removed all !NEW_INSETS cruft
14053 (init): moved lfun_item in method
14055 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14057 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14059 * BufferView2.C (theLockingInset): white space.
14061 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14063 * minibuffer.C: include <iostream>
14065 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14067 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14069 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14071 * text.[Ch] (TransposeChars): new method
14073 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14075 * call message directly through LyXView instead of through LyXFunc
14076 * BufferView2.C: adjust
14077 * BufferView_pimpl.C: adjust
14078 * FontLoader.C: adjust
14080 * bufferview_funcs.C: adjust
14081 * converter.C: adjust
14082 * figureForm.C: adjust
14083 * importer.C: adjust
14085 * lyx_gui_misc.C: adjust
14086 * lyxfunc.C: adjust
14089 + more files in subdirs
14091 * lyxparagraph.h (size): move up int file
14094 * adjust all uses of Assert to lyx::Assert.
14096 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14097 lyxfunctional in namespace lyx
14098 * layout.C (hasLayout): ditto
14101 (delete_layout): ditto
14102 (NumberOfClass): ditto
14103 * converter.C (GetFormat): ditto
14108 * bufferlist.C (getFileNames): ditto
14109 (emergencyWriteAll): ditto
14112 * MenuBackend.C (hasSubmenu): ditto
14115 * BufferView_pimpl.C (getInsetByCode): ditto
14117 2001-04-18 Juergen Vigna <jug@sad.it>
14119 * vspace.C (asLatexString): fixed the 100% problem.
14121 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14123 * lyxfunc.C (Dispatch):
14125 * minibuffer.h: add a few std:: qualifiers
14127 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14129 * minibuffer.[Ch]: reimplement so that commands is initiated and
14130 run from lyxfunc, simplified som handling, and made the completion
14131 and history code for complete. wip.
14133 * lyxfunc.C (processKeySym): call message
14134 (miniDispatch): new temporary method
14135 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14136 (LFUN_MESSAGE): implement
14137 (LFUN_MESSAGE_PUSH): implement
14138 (LFUN_MESSAGE_POP): implement
14139 (initMiniBuffer): the initial/defualt minibuffer message.
14141 * lyxfont.[Ch]: inline some more getters
14143 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14145 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14147 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14148 (AutoSave): use LFUN_MESSAGE
14149 (Reconfigure): ditto
14151 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14153 * figureForm.C: use LFUN_MESSAGE
14155 * converter.C (runLaTeX): use LFUN_MESSAGE
14157 * bufferview_funcs.C: use LFUN_MESSAGE
14159 (changeDepth): ditto
14161 * bufferparams.h: use boost::
14163 * bufferlist.h: inherit privately from noncopyable
14165 * bufferlist.C (loadLyXFile): remove some commented code.
14167 * buffer.C (runChktex): use LFUN_MESSAGE
14169 * ShareContainer.h: inherit privately from noncopyable
14171 * ParagraphParameters.[hC] (depth): inline it.
14173 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14175 (message): new method
14176 (messagePush): ditto
14177 (messagePop): ditto
14178 (show): init minibuffer
14179 (showState): direct call
14181 * LaTeX.[Ch]: inherit privately from noncopyable
14182 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14183 instead of WriteStatus.
14185 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14187 * BufferView_pimpl.C (buffer): don't init minibuffer
14188 (workAreaButtonPress): use LFUN_MESSAGE
14189 (workAreaButtonRelease): ditto
14190 (savePosition): ditto
14191 (restorePosition): ditto
14192 (MenuInsertLyXFile): ditto
14193 (workAreaExpose): don't init minibuffer
14194 (update): remove commented code, simplify
14196 * BufferView2.C (openStuff): use LFUN_MESSAGE
14197 (toggleFloat): ditto
14200 (copyEnvironment): ditto
14201 (pasteEnvironment): ditto
14206 (updateInset): remove some commented code
14208 * lastfiles.h: inherit privately from noncopyable
14211 * lyx_main.h: ditto
14213 * lyxlex_pimpl.h: ditto
14215 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14216 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14217 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14219 * LyXAction.h: inherit privately from noncopyable, add methods
14220 func_begin, func_end, returning iterators to the func map.
14222 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14223 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14224 (func_begin): new method
14225 (func_end): new method
14227 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14229 (copySelection): ditto
14230 (pasteSelection): ditto
14232 * BufferView.C: whitespace change
14233 * BufferView.h: inherit privately from noncopyable
14235 2001-04-16 Allan Rae <rae@lyx.org>
14237 * tabular-old.C (l_getline):
14238 * spellchecker.C (sc_check_word):
14239 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14240 an unrecognised preprocessor directive. So ensure they're wrapped.
14242 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14244 * src/exporter.C (Export): Give an error message when path to file
14247 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14249 * LaTeX.C (deplog): Always check that foundfile exists.
14251 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14254 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14256 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * tabular.[Ch] (getLabelList): implement new method
14260 * minibuffer.h: comment ouf setTiimer
14262 * minibuffer.C (ExecutingCB): constify res
14263 (peek_event): constify s
14264 (Set): constify ntext
14265 (Init): constify nicename
14267 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14269 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14270 (savePosition): use two params to Minibuffer::Set
14271 (restorePosition): ditto
14273 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * lyx_main.C: include language.h
14277 * Makefile.am (lyx_main.o): add language.h
14279 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14285 * CutAndPaste.C: include gettext.h
14287 * lyxfont.h: remove old hack with ON and OFF.
14290 * lyxfont.h: do not include language.h...
14295 * bufferview_funcs.C:
14301 * paragraph.C: ... but do it here instead
14303 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14305 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14307 * tabular.C: small reformat
14309 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14312 (BreakParagraph): ditto
14313 (SetOnlyLayout): ditto
14316 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14319 * lastfiles.C: removed most using decl, add std:: where needed
14321 * buffer.C: ws changes
14323 * MenuBackend.C (class compare_format): put into anon namespace
14324 (expand): constify label, names, action, action2
14327 * text.C (SingleWidth): constify font
14328 (IsBoundary): constify rtl2
14329 (GetVisibleRow): constify ww
14331 * LaTeX.C (deplog): constify logfile
14333 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14335 (workAreaExpose): constify widthChange, heightChange
14337 * lyxrow.C (par): moved
14340 * lyxrow.h: as inlines here
14342 * lyxfont.h (shape): moved from lyxfont.C
14343 (emph): moved from lyxfont.C
14345 * lyxfont.C (LyXFont): use initialization list for all
14347 (shape): move to lyxfont.h as inline
14348 (emph): move to lyxfont.h as inline
14351 2001-04-04 Juergen Vigna <jug@sad.it>
14353 * vspace.C: had to include stdio.h for use of sscanf
14355 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14358 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14359 independent of xforms.
14361 2001-04-02 Juergen Vigna <jug@sad.it>
14363 * spellchecker.C: fixed namespace placing!
14365 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14367 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14368 the LyXParagraph * is 0.
14370 2001-03-29 Juergen Vigna <jug@sad.it>
14372 * vspace.C: added support for %, c%, p%, l%.
14373 (stringFromUnit): added helper function.
14374 (asLatexString): changed to give right results for the %-values.
14376 * buffer.C: convert the widthp in a width%.
14378 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14380 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14383 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14384 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14386 * lyx_cb.[Ch]: see above.
14388 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14392 * lyx.[Ch]: replaced by figure_form.[Ch].
14396 * lyxfunc.C: changed headers associated with above changes.
14398 2001-03-27 Juergen Vigna <jug@sad.it>
14400 * BufferView_pimpl.C: set the temporary cursor right!
14402 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14404 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14406 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14408 * LString.h: removed "using std::getline"!
14410 * BufferView_pimpl.C (Dispatch): changes due to changes in
14411 InsetInclude::Params.
14413 * buffer.C (tag_name): removed redundant break statements as they were
14414 producing lots of warnings with my compiler.
14416 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14418 * LString.h: add "using std::getline" when using the real <string>.
14420 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14422 * buffer.C: removed bitset usage.
14423 PAR_TAG moved to an anonymous name space.
14424 (tag_name): new funtion, also in the anonymous namespace.
14425 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14426 (makeDocBookFile): clean code. Completed transition from string arrays
14428 (SimpleDocBookOnePar): code clean.
14430 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14432 * tabular.C: add some comments.
14434 2001-03-22 Juergen Vigna <jug@sad.it>
14436 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14437 compatibility read a bit and fixed bug with minipage in different
14440 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14442 * buffer.C (pop_tag): removed.
14443 (push_tag): removed.
14444 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14445 array replaced with vector. Added support for CDATA sections.
14446 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14448 (makeDocBookFile): XML conformant declaration of CDATA section,
14449 fixed bug related to <emphasis> in the first paragraph char.
14450 (sgmlOpenTag): exclude empty tags.
14451 (sgmlCloseTag): ditto.
14453 * buffer.h (pop_tag): removed.
14454 (push_tag): removed.
14456 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14458 * language.h (Languages): added size_type and size().
14460 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14462 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14463 response on compability reading of minipages. One probliem is that
14464 the old usage of minipages was «flertydig»
14466 * several files here and in subdirs: don't use static at file
14467 scope use anon namespaces instead.
14469 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14471 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14472 LaTeX output. This is necessary for Literate document
14475 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14477 * buffer.C: insert hfill when needed.
14479 * tabular.C (l_getline): use string::erase, small whitespace change.
14481 * BufferView_pimpl.C: try the anon namespace.
14482 * WorkArea.C: ditto
14484 2001-03-16 Juergen Vigna <jug@sad.it>
14486 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14487 otherwise it won't open options-dialogs.
14489 * buffer.C: honor pextraWidth(p) on converting minipages.
14491 * tabular.C (l_getline): changed the functions to strip trailing \r.
14493 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14495 * BufferView_pimpl.C:
14496 * minibuffer..C: added "using SigC::slot" declaration.
14498 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14500 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14506 * paragraph.C: ditto
14508 * lyxtext.h: NO_PEXTRA
14510 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14512 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14513 * ParameterStruct.h: ditto
14514 * ParagraphParameters.h: ditto
14515 * lyxparagraph.h: ditto
14517 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14519 * buffer.C: add compability for minipage alignment.
14520 (latexParagraphs): remove unwanted pextra check.
14522 * several files: remove CXX_WORKING_NAMESPACES
14524 * buffer.C (pop_tag): tie is in namespace boost
14526 * BufferView.h: noncopyable is in namespace boost
14528 * lyx_main.h: ditto
14531 * lastfiles.h: ditto
14532 * bufferlist.h: ditto
14533 * ShareContainer.h: ditto
14535 * LyXAction.h: ditto
14538 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14540 * Merging changes from BRANCH_MVC back into HEAD.
14542 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14544 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14546 * BufferView_pimpl.C: change from intl.C
14550 * Makefile.am: move combox.*
14556 * intl.C: remove dialog (covered by prefs)
14558 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14560 * lyxfunc.C (Dispatch): removed redundant break statement.
14562 2001-03-14 Juergen Vigna <jug@sad.it>
14564 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14566 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14568 * buffer.C: add hack to fix compability reading of minipages.
14570 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14572 * buffer.C (getLists): Cleanup.
14574 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14576 * lyxfont.C (update): don't honor toggleall on font size.
14578 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14582 * Makefile.am: moved to frontends/xforms/
14586 * BufferView_pimpl.C: changes for moved mathpanel
14588 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14590 * gettext.h: fix gettext_init() in --disable-nls
14592 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14594 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14596 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14599 * lyx.h: strip external form
14601 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14603 * BufferView_pimpl.C: add comment, destroySplash()
14605 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14607 * BufferView_pimpl.C:
14611 * lyxfunc.C: use re-worked insetinclude
14613 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14615 * buffer.C: add using std::stringstream.
14617 * lyx_cb.C: readd using std::ios.
14619 * buffer.C: add using std::map.
14621 * BufferView_pimpl.C: add using std::vector.
14623 * ShareContainer.h: add std:: to swap.
14625 * buffer.h: add some typedefs
14626 * buffer.C (getLists): use them
14627 (getLists): renamed from getTocList.
14628 add a counter for the different float types and use it in the
14630 (getLists): use the same counter for the NEW_INSETS and the "non"
14633 * lyx_cb.h: remove unused items, includes, using etc.
14635 * ShareContainer.h: remove some commented code, add more comments
14636 and "documentation".
14638 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14640 * buffer.C (getTocList): make the list also when NEW_INSETS is
14643 * buffer.h: remove TocType
14645 * buffer.C (getTocList): change to return a map<string,
14646 vector<TocItem> >, implement for dynamic number of list.
14648 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14649 * text2.C (PasteSelection): adjust
14650 * CutAndPaste.C (pasteSelection): adjust
14652 * FloatList.C (FloatList): update from the new_insets branch.
14653 * Floating.[Ch]: ditto
14654 * LaTeXFeatures.C: ditto
14656 * lyxlex_pimpl.C: ditto
14658 * paragraph.C (Last): remove when NEW_INSETS is defined.
14660 * other file: changes because of the above.
14662 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14664 * lyxparagraph.h: rename next to next_, previous to previous_,
14665 make them private for NEW_INSETS. Rename Next() to next(),
14666 Previous() to previous().
14668 * other files: changes because of the above.
14670 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14673 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14676 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14678 * main.C (main): pass lyx_localedir to gettext_init().
14680 * gettext.h: remove locale_init and gettext_init macros
14682 * gettext.C (locale_init): new function
14683 (gettext_init): new function
14685 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14688 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14690 * Moved credits to frontends:
14691 * credits.[Ch]: removed
14692 * credits_form.[Ch]: removed
14693 * lyx_gui_misc.C: remove credits stuff
14696 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14698 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14700 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14701 unneeded destructor.
14703 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14704 a standalone pointer again.
14706 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14708 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14714 * ToolbarDefaults.C:
14723 * BufferView_pimpl.C: use new file dialog in GUII
14726 * lyx_cb.C: remove LayoutsCB to Toolbar
14728 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14730 * ShareContainer.h (get): add std:: qualifier
14732 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * ShareContainer.h: define a proper ShareContainer::value_type
14735 type (and use typename to please compaq cxx)
14737 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14739 * lyxparagraph.h: move serveral local vars to
14740 ParameterStruct/ParagraphParameters., use ShareContainer in
14741 FontTable., make vars in FontTable private and add getter and
14744 * paragraph.C: changes because of the above.
14746 * lyxfont.h: remove copy constructor and copy assignment. (the
14747 default ones is ok), move number inside FontBits. move inlines to
14750 * lyxfont.C: add number to initializaton of statics, move several
14751 inlines here. constify several local vars. some whitespace
14752 cleanup. Dont hide outerscope variables.
14754 * Spacing.h: add two new constructors to match the set methods.
14756 * ShareContainer.h: new file, will perhaps be moved to support
14758 * ParameterStruct.h: new file
14760 * ParagraphParameters.h: new file
14762 * ParagraphParameters.C: new file
14764 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14765 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14767 * BufferView_pimpl.C: ParagraphParameter changes.
14768 * buffer.C: Likewise.
14769 * bufferview_funcs.C: Likewise.
14770 * text.C: Likewise.
14771 * text2.C: Likewise.
14773 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14775 * lyxfind.C (LyXReplace): do not redefine default argument in
14777 (IsStringInText): ditto
14778 (SearchForward): ditto
14779 (SearchBackward): ditto
14781 2001-03-06 Juergen Vigna <jug@sad.it>
14783 * lyxfind.C (IsStringInText): put parentes around expressions.
14785 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14787 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14789 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14791 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14793 * stl_string_fwd.h: add comment
14795 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14798 * tabular.C: remove unused DocBook methods
14804 killed DO_USE_DEFAULT_LANGUAGE
14806 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * lyx_gui.C: do not include language.h.
14810 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14811 arguments in function implementation.
14813 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14815 * BufferView_pimpl.C: add <ctime>
14817 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14819 * BufferView_pimpl.C: add using std::find_if
14821 2001-02-27 José Matos <jamatos@fep.up.pt>
14823 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14826 2001-02-11 José Matos <jamatos@fep.up.pt>
14828 * buffer.C (makeDocBookFile): command styles now have a parameter as
14829 "title" by default.
14831 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14833 * layout_forms.[Ch]: removed
14834 * lyx_cb.[Ch]: out character
14835 * lyx_gui.C: out character
14836 * lyx_gui_misc.C: out character
14837 * bufferview_funcs.C: : out character,
14838 added toggleall as parameter in ToggleAndShow
14840 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14842 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14844 * text2.C (SetCurrentFont): Disable number property at boundary.
14846 2001-02-26 Juergen Vigna <jug@sad.it>
14848 * lyxfunc.C (getStatus): added a string argument override function so
14849 that this is correctly called from LyXFunc::Dispatch if it contains a
14850 do_not_use_argument which is used!
14851 (Dispatch): added check for "custom" export and call appropriate func.
14853 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14855 * lyxrc.C: Add language_command_local, language_use_babel and
14856 language_global_options.
14858 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14860 * buffer.C (makeLaTeXFile): Use language_use_babel and
14861 language_global_options.
14863 2001-02-23 Juergen Vigna <jug@sad.it>
14865 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14866 which works with LyXText and putted it inside BufferView. Here now we
14867 only call for that part the BufferView::Dispatch() function.
14869 * BufferView.C (Dispatch): added.
14871 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14872 functions which needs to use a LyXText over from LyXFunc.
14873 (MenuInsertLyXFile): added
14874 (getInsetByCode): added
14875 (moveCursorUpdate): added
14876 (static TEXT): added
14878 2001-02-22 Juergen Vigna <jug@sad.it>
14880 * BufferView_pimpl.C (update): call a status update to see if LyXText
14883 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14885 * vc-backend.C (revert): implement for CVS
14886 (getLog): implement for CVS
14888 2001-02-20 Juergen Vigna <jug@sad.it>
14890 * text2.C (ClearSelection): added BufferView param for inset_owner call
14892 * lyxfunc.C (TEXT): added this function and use it instead of
14893 directly owner->view()-text of getLyXText().
14895 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14897 * src/layout_forms.C: out preamble
14898 * src/layout_forms.h: out preamble
14899 * src/lyx_cb.C: out preamble
14900 * src/lyx_cb.h: out preamble
14901 * src/lyx_gui.C: out preamble
14902 * src/lyx_gui_misc.C: out preamble
14903 * src/lyxfunc.C: connect with guii preamble
14905 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14907 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14909 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14911 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14912 whether to run bibtex.
14914 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14916 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14918 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14920 * Makefile.am (lyx_SOURCES): removed bibforms.h
14922 * vspace.h: doxygen
14924 * text.C (GetVisibleRow): make several local vars const
14926 * tabular.C: small cleanup.
14928 * lyxserver.C (callback): use compare instead of strncmp
14930 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14931 inlines to after class or to paragraph.C
14933 * lyxfont.h: remove friend operator!=
14935 * converter.h: move friend bool operator< to non friend and after
14938 * combox.h: small cleanup
14940 * buffer.h: doxygen, remove unused constructor, move inclas inlies
14941 to inlines after class def.
14943 * buffer.C (pop_tag): use string operations instead of strcmp
14945 * bmtable.c: doxygen, small cleanup
14947 * LaTeX.h: remove friend operator==
14949 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
14961 * BufferView_pimpl.C:
14962 * BufferView.[Ch]: remove cruft
14964 2001-02-14 Juergen Vigna <jug@sad.it>
14966 * lyxfunc.C: removed #if 0 unused code
14968 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14970 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14972 * text2.C (SetSelection): added a BufferView * parameter
14974 2001-02-13 Juergen Vigna <jug@sad.it>
14976 * lyxfunc.C (Dispatch): fixed protected blank problem.
14977 * BufferView2.C (protectedBlank): added LyxText * parameter.
14979 * tabular.C (AppendRow): forgot to set row_info of newly added row.
14980 (AppendColumn): same as above for column_info.
14982 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14983 (moveCursorUpdate): use a LyXText param for support of InsetText.
14985 * BufferView_pimpl.C (doubleClick): added support for InsetText.
14986 (tripleClick): ditto
14988 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14990 * BufferView_pimpl.C (update): added LyXText param to honor insets.
14992 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14994 * text2.C (SetSelection): set correct update status if inset_owner
14995 (ToggleFree): ditto
14997 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
14999 * tabular.C: remove some commented code.
15001 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15003 * BufferView_pimpl.C: call hideSplash()
15005 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15008 * bibforms.h: remove
15011 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15012 add LFUN_CHILD_CREATE
15014 * counters.h: fix tiny typo
15019 * lyx.C: move splash to frontends/xforms/
15021 * lyx_gui_misc.C: move Include and Bibform to frontends
15023 * lyxvc.h: clarify comment
15025 * vspace.C: tiny housekeeping
15027 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15029 * text.C (PrepareToPrint): RTL Fix.
15031 * paragraph.C (GetUChar): New method.
15032 (String): Use GetUChar.
15034 * buffer.C (asciiParagraph): Use GetUChar.
15036 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15038 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15040 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15043 * buffer.C: rename to getLogName(), handle
15044 build log / latex log nicely
15046 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15049 * MenuBackend.h: remove support for reference menuitem type.
15051 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15053 * BufferView_pimpl.C: housekeeping
15054 * BufferView_pimpl.h:
15059 * minibuffer.h: move Timeout GUI-I
15061 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15063 * lyxrc.C (read): Update converters data-structures.
15065 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15067 * LaTeX.h (operator!=): add operator != for Aux_Info
15069 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15071 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15073 * LaTeXLog.C: deleted, useful code moved to Buffer
15076 * buffer.C: new function getLatexLogName()
15082 * lyxfunc.C: use frontends for LaTeX and VC logs
15084 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15086 * LaTeX.h: yet another std:: that Allan forgot.
15088 * Variables.C (set): renamed from isset(), because this clashes
15089 with some HP-UX macros (grr).
15091 2001-02-06 Allan Rae <rae@lyx.org>
15093 * LaTeX.h: Another bug fix. Missing std:: this time.
15095 2001-02-04 Allan Rae <rae@lyx.org>
15097 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15098 floats problem. I've left it commented out because it's not quite
15099 correct. It should also test that the current object is a table or
15100 figure inset. But I haven't gotten around to figuring out how to do
15101 that. I *think* it'll be something like: "table" == inset.type()
15103 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15106 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15108 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15109 all the citation/databases/styles in the auxilary file.
15110 (run): Rerun latex if there was a babel language error.
15112 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15114 * text.C (Backspace): Preserve the font when changing newline char
15116 (BreakParagraph): If the cursor is before a space, delete the space.
15118 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15120 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15122 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15123 new argument (code).
15124 (ChangeCitationsIfUnique): New method.
15126 * paragraph.C (GetPositionOfInset): Handle bibkey.
15128 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15130 * BufferView_pimpl.h: change type of Position::par_pos to
15131 LyXParagraph::size_type.
15133 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15135 * BufferView_pimpl.C (savePosition, restorePosition): Write
15136 messages to minibuffer.
15138 2001-01-28 José Matos <jamatos@fep.up.pt>
15140 * buffer.C (makeDocBookFile): adds support for document language.
15141 A silly restriction on the name of LatexCommand types where removed.
15142 Added support for CDATA sections, allows to chars unescaped, used
15143 among others in code, to avoid escape < and >.
15145 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15147 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15148 saved positions instrad of a stack. Furthermore, a position is
15149 stored using paragraph id/paragraph position.
15151 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15152 Remove LFUN_REF_BACK.
15154 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15156 * converter.C (dvipdfm_options): New method.
15158 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15160 * vspace.C (isValidLength): Fix for empty input string.
15162 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15164 * LyXAction.C (init): change description of LFUN_FIGURE to
15167 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15169 * LaTeX.C: add using directive
15171 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15173 * MenuBackend.C (expand): Fix the sorting of the formats.
15175 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15177 * lyx_main.C: tiny error message fix
15179 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15181 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15182 calling fl_initialize(). This fixes the problem with ',' as
15183 decimal separator in text files.
15185 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15187 * trans.C (process): Fix the keymap bug.
15189 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15191 * LaTeX.C (scanAuxFiles): New method. Provides support for
15192 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15193 (scanLogFile) Scan for "run BibTeX" messages.
15195 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15196 OT1 font encoding. Also, load the aecompl package if the ae
15199 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15201 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15203 * texrow.C (increasePos): turn two error messages into debug
15206 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15208 * LaTeX.C (scanAux): Handle the \@input macro.
15209 (runBibTeX): Use scanAux().
15211 * language.C (latex_options_): New field.
15213 * LaTeXFeatures.C (getMacros): Add language macros.
15215 * buffer.C (makeLaTeXFile): Small fix.
15217 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15219 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15221 * text2.C: add a using directive.
15223 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15228 * lyxfunc.C: kill LyXBell.
15230 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15232 * text.C (IsBoundary): Remove the error message
15234 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15236 * lyxrc.C (setDefaults): Correct initialization value for
15239 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15241 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15244 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15245 and GotoNextNote().
15247 * src/LyXAction.C: Added reference-next.
15249 * text.C (InsertChar): Use contains instead of strchr.
15251 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15253 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15255 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15256 alignment commands (when needed).
15258 * text.C (InsertChar): Add ':' to number separator chars.