1 2004-04-05 Angus Leeming <leeming@lyx.org>
3 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
4 to enable the frontends to export changes to lyxrc correctly.
6 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
8 2004-04-05 André Pönitz <poenitz@gmx.net>
10 * cursor.[Ch] (valign, halign...): remove unneeded functions
12 2004-04-05 Angus Leeming <leeming@lyx.org>
14 * lyxlength.[Ch] (unit_name et al.): const-correct.
16 2004-04-05 Angus Leeming <leeming@lyx.org>
27 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
29 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
31 * text3.C (getStatus): add LFUN_BEGINNINGBUF
33 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
35 * lyxfind.C: add a couple of inTexted() tests + other small fixes
36 * BufferView_pimpl.[Ch] (getStatus)
37 * BufferView.[Ch] (getStatus): add
38 * lyxfunc.C (getStatus): move lfuns handled in
39 BufferView::dispatch to te function above
40 * Cursor.C (setSelection): set selection() = true
42 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
44 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
46 2004-03-31 Angus Leeming <leeming@lyx.org>
48 * lyxfunc.C (dispatch): Fall through to the generic
49 Dialogs::show("preamble").
51 2004-03-31 Angus Leeming <leeming@lyx.org>
53 * lyxfunc.C (dispatch): Fall through to the generic
54 Dialogs::show("spellchecker").
56 2004-03-31 Angus Leeming <leeming@lyx.org>
58 * lyxfunc.C (getStatus, dispatch): changed invocation of the
61 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
71 * undo.[Ch]: s/DocumentIterator/DocIterator/g
73 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
75 * BufferView.C (setCursor, putSelectionAt): call edit to open the
76 insets where we are putting the cursor.
78 2004-03-31 Angus Leeming <leeming@lyx.org>
81 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
83 * lyxrc.[Ch] (read, write): overloaded member functions taking
84 a std::[io]stream arguments.
86 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
88 2004-03-31 Angus Leeming <leeming@lyx.org>
90 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
91 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
93 * lyxtextclass.C (load): if the text class couldn't be loaded, then
94 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
96 2004-03-31 Angus Leeming <leeming@lyx.org>
98 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
99 the LFUN_ALL_INSETS_TOGGLE code.
101 2004-03-30 Angus Leeming <leeming@lyx.org>
103 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
104 has died. Fall through to the generic Dialogs::show("document").
106 2004-03-30 Angus Leeming <leeming@lyx.org>
109 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
110 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
112 * lyxfunc.C (getStatus, dispatch): define the actions for these
113 lfuns. Little more than a cut and pste job from ControlDocument.C
115 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
117 2004-03-30 Angus Leeming <leeming@lyx.org>
120 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
121 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
123 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
124 open/closed state of ollapsable insets. Usage:
126 all-inset-toggle <state> <name>, where
127 <state> == "open" || "closed" || "toggle" and
128 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
130 * lyxtext.h, text2.C (toggleInset): removed.
132 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
133 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
134 now passes LFUN_INSET_TOGGLE to the found inset.
136 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
137 is now invoked as "all-insets-toggle toggle branch".
139 2004-03-30 Angus Leeming <leeming@lyx.org>
143 * pariterator.[Ch]: added/corrected header blurb.
145 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
147 * dociterator.[Ch]: add an inset_ member
148 (backwardPos): implemented
149 (backwardPos, forwardPos): use inset_ when the stack is empty.
150 (doc_iterator_begin, doc_iterator_end): implemented
151 * pariterator.[Ch]: adjust, add begin, end
152 * insetiterator.[Ch]: adjust, add begin, end
156 * BufferView_pimpl.C:
157 * CutAndPaste.C: adjust
159 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
161 * buffer.C: increment file format to 232.
162 * LaTeXFeatures.C: add bibtopic package.
163 * bufferparams.[Ch]: param \use_bibtopic.
165 * lyxrc.[Ch]: add lyxrc bibtex_command
166 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
168 * buffer.C: increment file format to 231.
170 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
172 * dociterator.C: implement forwardPar
173 * iterators.[Ch]: remove, replaced by
174 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
176 * BufferView_pimpl.C:
179 * bufferview_funcs.C:
185 * Makefile.am: adjust
187 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
189 * CutAndPaste.C (pasteSelection): fix 2 crashes
190 (eraseSelection): fix a crash
191 * paragraph_funcs.C: remove a warning
193 2004-03-28 Angus Leeming <leeming@lyx.org>
196 * LyXAction.C (init): new LFUN_PRINT.
198 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
200 2004-03-27 Angus Leeming <leeming@lyx.org>
203 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
205 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
207 2004-03-27 Angus Leeming <leeming@lyx.org>
209 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
210 insetlist always contains non-null pointers to insets.
212 2004-03-26 Angus Leeming <leeming@lyx.org>
214 * src/BufferView_pimpl.C:
218 * src/output_plaintext.C:
219 * src/outputparams.h:
220 * src/paragraph_funcs.C:
224 * src/frontends/controllers/ControlErrorList.C:
225 * src/frontends/gtk/FileDialogPrivate.C:
226 * src/frontends/gtk/GPainter.C:
227 * src/frontends/gtk/GToolbar.C:
228 * src/frontends/qt2/QRef.C:
229 * src/mathed/math_scriptinset.C: squash compiler warnings.
231 2004-03-26 Angus Leeming <leeming@lyx.org>
233 * ispell.C (LaunchIspell::start):
234 * lyx_cb.C (AutoSaveBuffer::start):
235 invoke run(DontWait) rather than runNonBlocking().
237 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
239 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
241 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * kbsequence.C (print): adjust
245 * kbmap.C (printKeySym): rename and change signature
246 (printKey): use LyXKeySym::print()
248 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
250 * undo.C: add using std::advance to compile for stlport
252 2004-03-24 Angus Leeming <leeming@lyx.org>
254 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
255 it leads to a crash when no buffer is present.
257 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 Martin Vermeer <martin.vermeer@hut.fi>
260 * lyxfunc.C (dispatch):
261 * bufferparams.C (readToken): use the new LColor::setColor
263 * LColor.[Ch] (setColor): new version that takes two strings as
264 argument and creates a new color entry if necessary
266 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
268 * buffer.C (makeLaTeXFile): if the main latex file that is
269 processed is usually a subdocument of some master, then pretend
270 for a while that it is actually the master
272 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
274 * buffer.C (getLabelList):
275 (getBibkeyList): use getMasterBuffer()
276 (getMasterBuffer): new method. Returns the main document in the
277 case where one is using included documents.
279 2004-03-25 André Pönitz <poenitz@gmx.net>
283 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
285 * ParagraphList_fwd.h: change ParagraphList to a std::vector
287 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
288 text*.C over here. Rename namespace CutAndPaste to lyx::cap
290 * ParameterStruct.h: merge with ParagraphParameters
292 * lyxtext.h: remove LyXText::parOffset() and getPar()
294 * text3.C: Remove all 'manual' update calls. We do now one per user
295 interaction which is completely sufficient.
299 * BufferView_pimpl.C:
302 * ParagraphParameters.[Ch]:
314 * output_docbook.[Ch]:
316 * output_linuxdoc.[Ch]:
317 * output_plaintext.[Ch]:
319 * paragraph_funcs.[Ch]:
320 * paragraph_pimpl.[Ch]:
328 * frontends/controllers/ControlDocument.C:
329 * frontends/controllers/ControlErrorList.C:
330 * frontends/controllers/ControlSpellchecker.C:
333 * insets/insetbase.h:
334 * insets/insetbibitem.C:
336 * insets/insetbranch.C:
337 * insets/insetcaption.C:
338 * insets/insetcharstyle.C:
339 * insets/insetcharstyle.h:
340 * insets/insetcollapsable.C:
341 * insets/insetcollapsable.h:
343 * insets/insetfloat.C:
344 * insets/insetfoot.C:
345 * insets/insetmarginal.C:
346 * insets/insetnote.C:
347 * insets/insetoptarg.C:
348 * insets/insettabular.C:
349 * insets/insettext.C:
350 * insets/insettext.h:
351 * insets/insetwrap.C:
352 * mathed/math_mboxinset.C:
353 * mathed/math_nestinset.C:
354 * mathed/math_scriptinset.C:
355 * mathed/math_scriptinset.h:
358 2004-03-24 Angus Leeming <leeming@lyx.org>
360 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
361 deal with any child processes that have finished but are waiting to
362 communicate this fact to the rest of LyX.
364 2004-03-24 Angus Leeming <leeming@lyx.org>
366 64-bit compile fixes.
368 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
369 (c-tor): pass lyx::pos_types rather than ints.
371 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
374 * text.C (Delete): compile fix.
375 (getPar): ensure that function declaration is the same as that in
378 2004-03-23 Angus Leeming <leeming@lyx.org>
380 * ispell.C (LaunchIspell):
381 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
382 a boost::shred_ptr rather than a std::auto_ptr.
384 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
386 * lyxfunc.C (getStatus): handle read-only buffers correctly;
387 handle LFUN_FILE_INSERT_*
389 * lyxrc.C (setDefaults, getDescription, output, read):
390 * lyxrc.h: remove ps_command
392 2004-03-22 Angus Leeming <leeming@lyx.org>
394 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
395 Ensure that error_handler is processed once only and that all data
396 is saved before attempting to output any warning messages.
398 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
400 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
402 * tabular.C (TeXRow): crash fix (from Kayvan and André)
404 2004-03-19 André Pönitz <poenitz@gmx.net>
406 * cursor.[Ch] (reset): take main text inset as argument
409 * BufferView_pimpl.C: adjust
411 * paragraph.[Ch]: fix completely broken operator=()
413 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * LColor.C (getFromLyXName): make sure that the color name is used
418 2004-03-17 Angus Leeming <leeming@lyx.org>
421 * LyXAction.C (init): remove LFUN_FORKS_KILL.
423 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
424 dialog and to kill a forked process.
426 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
428 * text2.C (setCursorFromCoordinates): fix font problem
430 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
432 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
433 bogus "rebuild cursor" code
435 2004-03-11 André Pönitz <poenitz@gmx.net>
437 * buffer.[Ch]: use InsetText instead of LyXText as container for
440 * dociterator.[Ch]: drop the BufferView * member which is not needed
441 anymore after the change to buffer.C
447 * BufferView_pimpl.[Ch]:
449 * cursor_slice.[Ch]: adjust
451 * text3.C: fix bug in mathDispatch
453 2004-03-08 André Pönitz <poenitz@gmx.net>
455 * undo.[Ch]: use 'StableDocumentIterator' as base for
458 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
461 * bufferparams.[Ch]: add jurabib support and param.
463 * LaTeX.C: add FIXME/comment.
465 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
467 * buffer.C: increment file format to 230.
469 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
471 * cursor.C (dispatch): avoid infinite loops
473 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
475 * rowpainter.C (paintSelection): fix x coordinates
477 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
479 * text.C (rowBreakPoint): fix breaking before displayed insets
481 2004-03-01 André Pönitz <poenitz@gmx.net>
483 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
485 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
489 * BufferView_pimpl.C:
497 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
503 * BufferView_pimpl.C: rename textwidth -> maxwidth,
504 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
506 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
508 * Bidi.[Ch] (computeTables): const correctness
509 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
510 fill_hfill, fill_label_hfill and x from Row
511 * lyxtext.h: prepareToPrint returns a RowMetrics
512 * rowPainter.C: adjust
513 * text.C (prepareToPrint): use width, not textWidth. adjust
514 (redoParagraphInternal, cursorX): adjust
515 * text2.C (getColumnNearX): adjust
516 (init): put a default value to the top LyXText::width
518 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
520 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
522 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
524 * lyxtext.h: add FontIterator class
526 * text.C (FontIterator, operator*, operator->, operator++): add
527 (rowBreakPoint, setRowWidth): adjust (fixing a
530 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
532 * BufferView_pimpl.C (workAreaDispatch): allow also
533 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
535 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
537 * text.C (rowBreakPoint): fix a bug showing with very large insets
539 2004-02-25 André Pönitz <poenitz@gmx.net>
542 * cursor.[Ch]: move some mathed specific code to mathed
544 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
546 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
547 use_tempdir in preferences
548 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
550 * lyx_main.C: ensure that tempdir is valid
551 * lyxlex.h: correct typo
552 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
553 * paragraph.[Ch] (isMultiLingual): make const
554 * cursor.[Ch] (openable): make const
556 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
558 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
560 2004-02-20 André Pönitz <poenitz@gmx.net>
562 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
564 * cursor.[Ch]: prepare for localized getStatus()
570 * text3.C: streamlines the LyXText cursor movement handlers a bit.
572 2004-02-20 André Pönitz <poenitz@gmx.net>
574 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
576 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
578 * text2.C (setCursorFromCoordinates): switch to absolute coords
581 * text3.C (dispatch): adjust
583 2004-02-16 André Pönitz <poenitz@gmx.net>
585 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
588 * cursor_slice.[Ch]: remove unneeded acessor function
590 * lyxtext.h: rename rtl() to isRTL()
598 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
600 * rowpainter.C (paintSelection): coord fix
602 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
604 * Spacing.C: compile fix
606 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
608 * cursor.C (dispatch): restore current_ before returning
610 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
612 * text2.C (cursorUp, cursorDown): fix coords
615 2004-02-12 André Pönitz <poenitz@gmx.net>
620 * text3.C: add LCursor & parameter to most cursor movement functions
621 remove usage of LyXText::cursorRow() and cursorPar()
623 * cursor.[Ch]: add textRow() needed members
626 * BufferView_pimpl.C:
629 * BufferView_pimpl.C: adjust
631 2004-02-11 André Pönitz <poenitz@gmx.net>
635 * BufferView_pimpl.C: shift undo/redo handling
637 * cursor.[Ch]: fix mathed crash
640 * lyxtext.h: move selectionAsText to LCursor
648 * rowpainter.C: fix excessive drawing
650 2004-02-06 André Pönitz <poenitz@gmx.net>
653 * BufferView_pimpl.[Ch]:
654 * text3.C: move some text specific LFUN handling
656 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
658 * text3.C (checkInsetHit): adjust coords
659 * text2.C (getColumnNearX): adjust coords
660 (edit): adjust coords
661 * text.C (getRowNearY): add two asserts
663 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
666 * format.C: add using std::distance to compile on gcc 2.95/stlport
668 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
670 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
672 2004-02-04 André Pönitz <poenitz@gmx.net>
674 * BufferView.[Ch] (insertInset):
675 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
680 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
682 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
683 on the default clause of the switch
684 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
685 wasn't catched by LCursor::dispatch
687 2004-02-03 André Pönitz <poenitz@gmx.net>
690 * cursor.[Ch]: some additional asserts
692 * undo.[Ch]: remove LyXText dependency in interface
696 * lyxtext.h (firstPar, lastPar): remove dead functions
701 * paragraph.[Ch]: adjust
703 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
705 * lyxfind.C (find): fix argument order in call to ::find
707 2004-02-02 André Pönitz <poenitz@gmx.net>
709 * cursor.[Ch]: remove direct access to anchor
711 * text.C: remove findText() hack
713 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
715 * iterators.[Ch] (lockPath): remove in favour of...
716 * BufferView.[Ch] (setCursor): this addition
717 * BufferView.C (putSelectionAt): adjust
718 * undo.C (performUndoOrRedo): adjust
719 * lyxfunc.C (dispatch): adjust
721 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
723 * iterators.C (lockPath): add a missing slice
724 * undo.C (performUndoOrRedo): remove redundant positioning code
726 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
728 * vc-backend.C (scanMaster): ";" -> ';'
730 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
732 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
735 * lyxtextclass.C (compare_name): rename to...
736 (LayoutNamesEqual): ...this
738 * lyxlex_pimpl.C (compare_tags): inherit from
739 std::binary_function, put back into anon namespace
741 * lyxfind.C (MatchString): inherig from std::binary_function
742 (findChange): use empty() istead of !size()
744 * format.C (FormatNamesEqual): new functor
751 * converter.C (compare_Converter): rename to...
752 (ConverterEqual): ...this, and fixup a bit.
753 (getConverter): use it, and make function const
754 (getNumber): use it, and make function const
758 * bufferlist.C: add using boost::bind
760 * MenuBackend.C (MenuNamesEqual): new functor
761 (hasMenu): use it, and make function const
762 (hasSubmenu): use nested bind to get rid of compare_memfun.
764 2004-01-30 André Pönitz <poenitz@gmx.net>
766 * BufferView_pimpl.C:
777 * text3.C: move some of the edit(x,y) handling to the insets
778 some coordinate changes.
780 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
782 * text.C: add using statements for std::advance and std::distance
784 * paragraph.C: add using statement for std::distance
786 * lyxfind.C: add using statement for std::advance
788 * cursor.C (region): remove std:: from swap
789 (openable): use nucleus in stead of operator->
791 * BufferView.C: add using statements for std::distance and std::swap
793 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
795 * iterators.C: Remove the pimple, move the needed structures to
796 the header file. Create accessor for the positions stack.
797 (asPosIterator): remove function
799 * PosIterator.C (PosIterator): move constructors to top of file
800 (PosIterator): reimplement the constructor taking a ParIterator in
802 (setFrom): new function
803 (operator!=): inline it
805 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
807 * lyxfind.C (replaceAll): use std::advance
809 * iterators.h: inherit from std::iterator.
811 * PosIterator.C (advance, distance): remove
812 * PosIterator.h: interit from std::iterator.
814 2004-01-26 André Pönitz <poenitz@gmx.net>
817 * BufferView_pimpl.[Ch]:
821 * bufferview_funcs.C:
832 * output_plaintext.C:
834 * paragraph_funcs.[Ch]:
835 * paragraph_pimpl.[Ch]:
841 * text3.C: more IU: dumps most of the rest of the mathcursor
842 implementation into cursor.[Ch]; "globalize" a bit of it.
844 2004-01-25 Angus Leeming <leeming@lyx.org>
846 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
848 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
850 * LaTeXFeatures.h: add nice_ and nice() const
851 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
853 2004-01-20 André Pönitz <poenitz@gmx.net>
856 * BufferView_pimpl.C:
858 * bufferview_funcs.C:
871 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
872 LCursor and mathcursor parts to LCursor and InsetBase.
874 2004-01-15 André Pönitz <poenitz@gmx.net>
876 * cursor_slice.[Ch]: add a few covienience functions
878 * funcrequest.[Ch]: remove BufferView * member
880 * BufferView_pimpl.C:
887 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
889 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
891 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
892 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
894 2004-01-13 André Pönitz <poenitz@gmx.net>
897 * lyxtext.h: hide cursor and selection anchor behind accessor function
900 * BufferView_pimpl.[Ch]:
902 * bufferview_funcs.C:
912 * cursor_slice.[Ch]: some integer type changes for inset unification
914 * lyxcursor.[hC]: remove, it's CursorSlice now.
917 * BufferView_pimpl.[Ch]:
918 * bufferview_funcs.C:
924 * textcursor.[Ch]: adjust
926 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
928 * text2.C (undoSpan): add and use
929 * text.C (breakParagraph): use undoSpan (fix bug 578)
932 2004-01-08 Angus Leeming <leeming@lyx.org>
934 * BufferView_pimpl.C (MenuInsertLyXFile):
935 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
936 * lyxfunc.C (menuNew, open, doImport):
937 FileFilterList change to the FileDialog open and save functions.
939 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
941 * ShareContainer.h: make isEqual and isUnique adaptable
943 * CutAndPaste.C: make resetOwnerAndChanges adaptable
945 2004-01-07 Angus Leeming <leeming@lyx.org>
948 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
950 * BufferView_pimpl.C (dispatch): act on these LFUNs.
952 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
953 functions replacing find, replace and replaceAll.
955 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
956 LFUN_WORDFIND(FORWARD|BACKWARD).
958 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
960 * text.C (breakParagraph): remove an outdated #warning
962 2004-01-07 André Pönitz <poenitz@gmx.net>
964 * lyxfind.C: somewhat clearer logic
966 * text.C: prevent crash in cursorX on unitialized row cache
968 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
970 * lyxcursor.[Ch] (operator>): add
971 * textcursor.C (selStart, selEnd): use std::min and std::max
973 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
975 * Chktex.C: include boost/format.hpp
977 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
979 * InsetList.C: replace functor MathcIt with adaptable functor
981 (insetIterator): modify accordingly
983 * BranchList.h: move the BranchNamesEqual functor here from...
984 * BranchList.C: ... to here
986 * BranchList.C: new BranchListEqual fuctor, use it. Remove
988 (add): replace a finding loop with std::find_if.
990 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
992 * output_docbook.C: moving LatexParam functionality into
995 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
997 * buffer.C: increment format to 229.
999 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1002 * lyx_sty.[Ch]: remove minipageindent_def
1008 * text3.C: remove LFUN_INSET_MINIPAGE
1010 2003-12-28 Angus Leeming <leeming@lyx.org>
1012 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1014 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1016 * text2.C (setParagraph): fix off-by-one crash
1018 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1020 * output_docbook.C: header stuff for AGU
1022 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1024 * text2.C (redoCursor): remove
1027 * BufferView_pimpl.C: remove calls to redoCursor and
1028 setCursor(cursor.par(), cursor.pos()) all around
1030 2003-12-15 Angus Leeming <leeming@lyx.org>
1032 * buffer.C: up the format to 228.
1034 2003-12-15 André Pönitz <poenitz@gmx.net>
1036 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1041 * BufferView_pimpl.C:
1050 2003-12-15 Angus Leeming <leeming@lyx.org>
1052 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1053 than getFromGUIName to manipulate the color.
1055 2003-12-14 Angus Leeming <leeming@lyx.org>
1057 * BranchList.[Ch]: minimize the API.
1058 (Branch::getBranch, getColor): now return a 'const &'.
1059 (Branch::setSelected) now returns a bool set to true if the
1060 selection status changes.
1061 (BranchList::clear, size, getColor, setColor, setSelected,
1062 allBranches, allSelected, separator): removed.
1063 (BranchList::find): new functions, returning the Branch with
1065 (BranchList::add, remove): return a bool indicating that
1066 the operation was successful.
1068 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1069 new InsetBranch::isBranchSlected member function.
1071 * LColor.[Ch]: mimimize the API.
1072 (fill): renamed as addColor and made private.
1073 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1074 versions of these functions taking a string arg have been removed.
1076 * bufferparams.C (readToken):
1077 * lyxfunc.C (dispatch):
1078 * lyxrc.C (read): changes due to the altered BranchList and
1081 * factory.C (createInset, readInset): changes due to altered
1084 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1087 * lyxfunc.C: remove insetminipage. "minipage-insert"
1088 now produces a frameless minipage box inset.
1090 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1092 * textcursor.[Ch] (selStart,selEnd): add new methods
1093 remove selection::start, end, use LyXCursor::operator<
1094 * lyxcursor.[Ch] (operator<): add
1095 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1096 * BufferView.[Ch] (unsetXSel): add
1097 * text2.C (clearSelection): use unsetXSel,adjust
1100 * rowpainter.C: adjust
1101 * bufferview_funcs.C (put_selection_at): adjust
1103 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1105 * BufferView_pimpl.C: small coord. correction
1107 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1109 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1110 dragging over the splash screen.
1112 2003-12-11 Angus Leeming <leeming@lyx.org>
1114 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1115 as it is now handled in LyXText::dispatch.
1117 * text3.C (doInsertInset): remove a level of nesting.
1119 2003-12-11 Angus Leeming <leeming@lyx.org>
1121 * factory.C (createInset): changes due to the changed interface to
1122 InsetCommandMailer::string2params.
1124 2003-12-10 Angus Leeming <leeming@lyx.org>
1126 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1127 'dialog-show-new-inset <inset name>'
1129 2003-12-10 Angus Leeming <leeming@lyx.org>
1131 * buffer.C: up the format to 227.
1133 * factory.C: the box inset is now identified simply by 'Box'.
1135 2003-12-10 Angus Leeming <leeming@lyx.org>
1137 * buffer.C: up the format to 226.
1139 * factory.C: the note inset is now identified simply by 'Note'.
1141 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1143 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1144 when a pit is enough. Standarize a couple of loops.
1146 2003-12-05 Angus Leeming <leeming@lyx.org>
1148 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1149 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1150 data to the re-worked "log" dialog.
1152 2003-12-03 André Pönitz <poenitz@gmx.net>
1158 * paragraph_funcs.C:
1160 * text2.C: use Inset::getText instead of Inset::getParagraph
1162 2003-12-03 André Pönitz <poenitz@gmx.net>
1166 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1167 InsetText::read() as LyXText::read()
1169 2003-12-02 Angus Leeming <leeming@lyx.org>
1171 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1172 type. Add a comment in the implementation that the function uses
1173 the stream's bad() function rather than fail() as the std::streams
1176 2003-12-02 André Pönitz <poenitz@gmx.net>
1178 * lyxlex.[Ch]: make interface more similar to std::stream
1180 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1182 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
1184 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1186 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
1188 * vspace.[Ch]: remove VSpace::NONE
1190 2003-12-01 André Pönitz <poenitz@gmx.net>
1193 * lyxtext.h: move ParagraphList member to LyXText
1194 rename LyXText::ownerParagraphs to LyXText::paragraph
1197 * bufferview_funcs.C:
1207 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1209 * undo.C: fix cursor positioning
1211 2003-12-01 John Levon <levon@movementarian.org>
1213 * BufferView_pimpl.C: fix a crash on exit with
1216 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
1218 * BranchList.C: fix setSelected() method.
1220 2003-11-28 André Pönitz <poenitz@gmx.net>
1222 * ParagraphParameters.[Ch]:
1223 * ParameterStruct.h: remove space above/below from Paragraph to
1226 * BufferView_pimpl.C:
1232 * paragraph_funcs.C:
1238 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
1240 * factory.C: Syntax change for CharStyles
1242 2003-11-28 André Pönitz <poenitz@gmx.net>
1247 * buffer.[Ch]: move LyXText member
1249 2003-11-28 André Pönitz <poenitz@gmx.net>
1251 * BufferView.[Ch]: make LyXText * text a private member
1253 * BufferView_pimpl.C:
1264 * output_plaintext.C: cleanup
1266 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1269 * lyxtextclass.[Ch]: parametrize SGML document header
1271 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
1274 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1277 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
1279 * text2.C (setFont): rework using PosIterator (no more recursive)
1280 (setCharFont): no more needed
1281 (setLayout): no more selection cursors fiddling (done by redoCursor)
1282 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1283 destroy remaining ones)
1285 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
1287 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1289 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1292 * text3.C: adjust + re-allow multi par depth changes
1293 * textcursor.C: simplify a bit
1295 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
1301 * src/output_docbook.C:
1302 * src/output_latex.C:
1307 * src/text2.C: Introducing a number of tags parametrizing various
1308 XML formats that we may want to support
1310 2003-11-25 André Pönitz <poenitz@gmx.net>
1312 * InsetList.[Ch] (begein, end): inline as suggested by profiler
1314 * lyxtext.h (leftMargin/rightMargin): simplify interface
1321 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1323 * lyxfunc.C (dispatch): propogate the bibtex databases from the
1324 master file to any child files. Fixes bug 546.
1326 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1328 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1330 2003-11-24 André Pönitz <poenitz@gmx.net>
1332 * rowpainter.C: simplification
1334 * text2.C (updateCounters): remove call to redoParagraph on
1335 changed labels as this is far too expensive.
1337 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
1339 * converter.C (convert): fix a crash: this function gets
1340 called with buffer == 0 from importer code.
1342 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1344 * text3.C (cursorPrevious): make sure that we do not compare
1345 iterators form different containers.
1348 * rowpainter.C (paintSelection): make sure that we do not compare
1349 iterators from different containers.
1351 * text3.C (dispatch): [PRIOR] make sure that we do not compare
1352 iterators from different ParagraphList containers.
1355 * text2.C (LyXText): change order of initialization slightly
1356 (operator=): new function. copy all variables except cache_par_
1357 (moveUp): make sure that we do not compare iterators from
1358 different ParagraphList constainers.
1361 * text.C (firstPar): new function
1362 (lastPar): new function
1363 (endPar): new function
1365 * lyxtext.h: move things around and group public functions, public
1366 variables, private functions, private variables
1368 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
1370 * factory.C: change call to InsetERT constructor to avoid
1371 additional invocation of method status
1372 * text2.C (toggleInset): remove redundant update() call
1373 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1374 instead of a Bufferview pointer
1376 2003-11-21 André Pönitz <poenitz@gmx.net>
1378 * rowpainter.C: simplification
1380 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1382 * text3.C (dispatch): make possible to extend a word/row selection
1385 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
1387 * lyxtext.h: x0_,y0_ -> xo_,yo_
1388 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1389 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1390 * rowpainter.C (paintRows): paint full paragraphs
1392 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1394 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1397 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
1399 * lyxtext.h: add x0_, y0_
1400 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1401 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1403 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
1405 * text2.C (setCursorIntern): move the x_target update here *
1406 * text3.C: change some bv() to true/false in calls to
1407 cursorUp/Down/Right/Left
1408 * cursor.C: use helper function.
1410 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1412 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1413 * paragraph_funcs.[Ch]: correct comment
1414 * rowpainter.C: do not paint selections away from bv->cursor()
1415 Fix a long standing selection painting bug.
1416 * text3.C: generalize mouse-selection code to LyXTexts other that
1418 * textcursor.C: do not use y coords if we can use par offsets
1420 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
1422 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1423 cursor position after e.g. inset insert)
1425 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
1427 * lyxfind.C (replace): adjust to locking removal + some
1430 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
1432 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1435 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
1438 * output_docbook.C: XML sanitation: new layout
1439 parameters InnerTag and CommandDepth
1441 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
1443 * BufferView_pimpl.C:
1445 * text3.C: Fix the insertion and modification of button-style
1448 2003-11-13 André Pönitz <poenitz@gmx.net>
1450 * InsetList.[Ch]: remove deleteLyXText
1452 * paragraph.[Ch]: cache beginOfBody position
1457 * text3.C: remove superfluous update() calls
1461 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
1463 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1464 * BufferView.C (fitLockedInsetCursor): remove
1465 * cursor.[Ch] (getDim): add
1466 * text.C (getRowNearY): add faster version
1467 * text3.C: remove some update calls
1469 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
1481 * text3.C: The Character Style /XML short element patch.
1483 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
1486 * factory.C: Small step to solving 'unable to insert some insets'
1489 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
1491 * cursor.[Ch] (updatePos): new function for updating the y
1492 position of the tip inset
1493 * bufferview_funcs.C (put_selection_at):
1494 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1496 2003-11-11 André Pönitz <poenitz@gmx.net>
1498 * text.C: remove big comment on invalid Paragraph pointers as it is
1501 2003-11-11 André Pönitz <poenitz@gmx.net>
1503 * text_funcs.[Ch]: merge with ...
1511 * Makefile.am: remove text_funcs.[Ch]
1513 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
1515 * cursor.C (getPos): return absolute cached y coord
1517 * BufferView_pimpl.C (fitCursor): new simplistic code
1518 (workAreaDispatch): add a fitCursor call
1520 2003-11-10 André Pönitz <poenitz@gmx.net>
1523 * BufferView_pimpl.[Ch]: merge update() and updateInset()
1525 2003-11-10 André Pönitz <poenitz@gmx.net>
1527 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1528 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1529 indicate that the cursor needs to leave an inset
1531 * lyxtext.h: remove inset locking
1533 * cursor.[Ch]: re-implement functionality provided by inset locking
1536 * BufferView_pimpl.[Ch]:
1538 * bufferview_funcs.[Ch]:
1550 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
1552 * PosIterator.[Ch]: replace the stack with a vector, add inset
1554 * iterators.[C]: adjust
1556 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1558 * lyxfind.C (replaceAll): mark the buffer dirty if something was
1560 * paragraph_funcs.C (readParToken): put the correct id in the
1561 error item, not the id of the top paragraph
1563 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
1565 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1566 * bufferview_funcs.C (put_selection_at): use the above
1568 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1570 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1572 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1574 * output_linuxdoc.h:
1575 * output_plaintext.h:
1577 * output_docbook.h: add #include statements
1579 2003-11-05 José Matos <jamatos@lyx.org>
1581 * output_docbook.[Ch]:
1582 * output_latex.[Ch]:
1583 * output_linuxdoc.[Ch]:
1584 * output_plaintext.[Ch]: New files for output formats.
1585 * output.[Ch]: New file for helper functions.
1588 * paragraph_funcs.[Ch]: output functions moved to new files.
1590 * outputparams.h: rename of latexrunparams.h
1598 * paragraph_funcs.[Ch]:
1599 * paragraph_pimpl.[Ch]:
1600 * tabular.[Ch]: rename ascii to plaintext
1601 and LatexRunParams to OutputParams.
1603 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1605 * iterators.[Ch] (text): require bv argument
1606 * undo.C (recordUndo):
1607 * lyxfunc.C (dispatch):
1608 * bufferview_funcs.C (put_selection_at): adjust
1610 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
1612 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1614 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
1616 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1619 2003-11-04 André Pönitz <poenitz@gmx.net>
1621 * cursor.[Ch]: restructure
1624 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1626 * iterators.[Ch] (asCursor): remove
1628 * lfuns.h: remove LFUN_INSET_EDIT
1634 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1636 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1638 * lyxfind.[Ch]: complete overhaul
1639 * BufferView_pimpl.C:
1641 * paragraph.[Ch] (insert): add
1643 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1647 * text.C: remove dead spellcheck code
1649 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1651 * dispatchresult.h: add a val setter
1653 * cursor.C (dispatch): use a tempvar for data_[i]
1655 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1657 * PosIterator.[Ch]: compile fix
1659 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
1661 * text.C (cursorPar): deactivate the cursor cache
1663 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1665 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1667 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1669 * text3.C (dispatch): adjust for new DisptchResult semantics.
1671 * lyxfunc.C (dispatch): handle update when return from
1672 Cursor::dispatch, adjust for new DispatchResult semantics.
1674 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1675 DispatchResult(true) mean to not update. Add class functions for
1676 setting dispatched and update, as well as reading.
1678 * cursor.C (dispatch): don't handle update here
1680 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1683 * trans_mgr.C: adjust
1685 * paragraph_funcs.C (readParToken): exception safety
1687 * lyxvc.h: store the vcs pointer in a scoped_ptr
1690 * lyxsocket.C (serverCallback): exception safety
1692 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1694 * ispell.C (clone): make it return a auto_ptr
1696 * factory.C (createInset): exception safety
1697 (readInset): exception safety
1699 * bufferlist.C (newBuffer): exception safety
1701 * Thesaurus.C (Thesaurus): use initialization for aik_
1703 * MenuBackend.C (expandToc): exception safety.
1705 2003-11-03 André Pönitz <poenitz@gmx.net>
1709 * bufferview_funcs.C: remove getInsetFromId()
1712 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1718 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
1720 * PosIterator.C (distance, advance): new
1721 * bufferview_funcs.[Ch] (put_selection_at): new
1722 * iterators.[Ch] (lockPath): new
1724 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
1726 * iterators.[Ch] (asPosIterator): added
1727 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1728 * PosIterator.[Ch]: added
1730 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * cursor.C (dispatch):
1735 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1737 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1738 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1739 contructor, add a class function dispatched. Remove operator>=
1741 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1743 * debug.C: only use the default constructor for debugstream
1746 * main.C (main): include debug.h and setup the lyxerr streambuf
1749 2003-10-31 José Matos <jamatos@lyx.org>
1751 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1753 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1754 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1755 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1756 * paragraph_pimpl.C (simpleTeXSpecialC):
1757 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1758 add LatexRunParams argument.
1760 * exporter.C (Export): change call accordingly.
1762 * latexrunparams.h: add new member to take care of the other backends.
1763 2003-10-30 José Matos <jamatos@lyx.org>
1765 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1766 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1767 factorise code for paragraph output.
1769 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1772 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * text3.C (dispatch):
1775 * lyxfunc.C (dispatch):
1776 * cursor.C (dispatch):
1777 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1779 * dispatchresult.h: make the dispatch_result_t ctor explicit
1781 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1784 * buffer.C: small refactoring of docbook stuff
1786 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1788 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1791 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1794 operator dispatch_result_t, and operators for == != and >=
1796 * cursor.C (dispatch): adjust for operator dispatch_result_t
1797 removal. comment out call to update
1799 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1801 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1809 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1812 * dispatchresult.h: new file, DispatchResult broken out of
1815 * Makefile.am (lyx_SOURCES): add dispatchresult.h
1817 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1819 * text.C (rowBreakPoint): put a hack inside #if 0
1821 2003-10-28 André Pönitz <poenitz@gmx.net>
1825 * paragraph_funcs.C:
1828 * text2.C: general cleanup (lots of small stuff)
1830 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
1832 * text2.C (cursorEnd): simple fix to the "end key goes to one
1833 before the end on last row" bug
1835 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1837 * text.C (backspace): fix the "zombie characters"
1839 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1841 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1843 2003-10-27 André Pönitz <poenitz@gmx.net>
1845 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1847 * factory.C: handle new InsetPagebreak, InsetLine
1849 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1850 and move handling into new InsetPagebreak, InsetLine
1852 * BufferView_pimpl.C:
1854 * ParagraphParameters.C:
1855 * ParameterStruct.h:
1860 * paragraph_funcs.C:
1861 * paragraph_pimpl.C:
1867 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1870 * lyxrow_funcs.[Ch]:
1876 * text3.C: remove lastPos uses in favour of Row::endpos
1878 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
1880 * undo.C (performUndoOrRedo): fix two crashes by setting a
1881 cursor by hand and reordering some calls. Use bv->lockInset instead
1882 of inset->edit because the latter loses cursor information
1884 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
1886 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1888 (rowBreakPoint): fix width. change point to point + 1.
1889 Add a missing check.
1891 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
1894 * lyxfunc.C: fix (at least partly) the problems
1895 with the Nav menu and headers inside branch insets
1898 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
1900 * paragraph.C (getChar): add strong asserts
1902 * lyxrow_funcs.C (lastPos): remove hideous hack
1904 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1905 (fill): adjust to that (avoid an infinite loop)
1907 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1909 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1911 2003-10-23 André Pönitz <poenitz@gmx.net>
1913 * RowList_fwd.h: change list<> to vector<> to gain speed
1914 after suggestion from Alfredo
1916 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
1918 * lyxtext.h: move the bidi stuff from here...
1921 * Bidi.[Ch]: ... to here
1923 2003-10-23 André Pönitz <poenitz@gmx.net>
1926 * text.C (isLastRow, isFirstRow): new functions
1928 * paragraph.h: new width cache member
1930 * rowpainter.C: replace RowList::iterator with Row & where possible
1932 * lyxfunc.C: replace several view()->text with a single call
1934 * toc.C: fix 'unused' warning
1936 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1938 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1939 when woring with stream::pos_type
1940 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1942 2003-10-22 André Pönitz <poenitz@gmx.net>
1945 * text.C: use Row & instead of RowList::iterator
1947 * lyxrow.h: rename end() to endpos()
1953 2003-10-22 Angus Leeming <leeming@lyx.org>
1955 * buffer.[Ch] (fully_loaded): new member function, returning true
1956 only when the file has been loaded fully.
1957 Used to prevent the premature generation of previews and by the
1958 citation inset to prevent computation of the natbib-style label.
1960 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1961 templates are all set up.
1963 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1965 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
1967 * text.C: fixed an "oops" in the "is a bit silly"
1970 2003-10-21 André Pönitz <poenitz@gmx.net>
1972 * FuncStatus.[Ch]: small stuff, whitespace
1974 * lyxfont.[Ch]: operator<<() for debug reasons
1978 * lyxtext.h: whitespace, spelling
1980 * paragraph.C: naming of variables
1983 * text2.C: small stuff
1986 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1988 * text.C: (1) finish off the inset display() work;
1989 (2) fix the "is a bit silly" bug (accessing char
1992 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1994 * text.C: re-introduce display() for insets, fixing the
1995 various bugs (stretch of line above, math inset
1998 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2000 * text.C (rightMargin): remove spurious semicolon
2002 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2005 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2007 * text3.C: fix one crash due to wrong cursor def
2009 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2011 * vc-backend.C (scanMaster): make the regex static
2013 * LaTeX.C (scanAuxFile): make the regexs static
2015 * text3.C (doInsertInset, dispatch, dispatch):
2016 * text2.C (cursorUp, cursorDown):
2017 * text.C (selectNextWordToSpellcheck):
2018 * BufferView_pimpl.C (dispatch):
2019 * lyxfunc.C (dispatch): localDispatch -> dispatch
2021 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 * lyxsocket.C: include <cerrno>
2025 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2027 * lyxfunc.C (dispatch): remove textcache stuff
2029 * bufferlist.C (release): remove textcache stuff
2032 * TextCache.C: delete file
2033 * TextCache.h: delete file
2035 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2037 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2038 delete of the bv_->text.
2039 (resizeCurrentBuffer): remove texcache stuff
2040 (workAreaResize): ditto
2042 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2047 2003-10-16 André Pönitz <poenitz@gmx.net>
2054 * text3.C: speed up by storing y positions per paragraph plus per-row
2055 offset instead of having a 'full' y position in the row.
2057 2003-10-15 André Pönitz <poenitz@gmx.net>
2061 * undo.[Ch]: make undo aware of inner insets
2063 2003-10-14 Angus Leeming <leeming@lyx.org>
2065 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2066 static member functions LyX::ref() and LyX::cref.
2067 (lastfiles): new accessor functions for the new lastfiles_ member var.
2068 (addLyXView, views_): add a new LyXView to the list of views_.
2069 (updateInset): loop over all LyXViews to call their own updateInset
2070 member function, returning a pointer to the Buffer owning the inset.
2072 * BufferView_pimpl.C (loadLyXFile):
2073 * MenuBackend.C (expandLastfiles):
2074 * bufferlist.C (MenuWrite, QuitLyX):
2075 lastfiles is no longer a global variable.
2076 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2078 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2079 static function. Access through LyX::cref().emergencyCleanup().
2081 2003-10-14 André Pönitz <poenitz@gmx.net>
2083 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2085 * undo.[Ch]: restoring part of 'undo in insets'
2088 * undo_funcs.[Ch]: merge with undo.[Ch]
2090 * tabular.C: small cleansing stuff
2092 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2094 * paragraph_funcs.C (readParToken): report unknown insets as error
2095 boxes. Use the outer paragraph as location (also for unknown
2098 * factory.C (readInset): do not abort on reading an unknown inset.
2099 Eat it and return 0.
2101 2003-10-13 Angus Leeming <leeming@lyx.org>
2103 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2105 * lyxrc.C: displayTranslator is now a function,
2106 declared in GraphicsTypes.h.
2108 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2110 * format.C: new placeholder $$a to pass the socket address.
2112 * bufferlist.[Ch]: new function getBufferFromTmp.
2114 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2115 files in the temporary dir.
2117 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2119 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2121 * Makefile.am: add lyxsocket.[Ch].
2123 * lyx_main.C (error_handler): handle SIGPIPE.
2125 2003-10-13 André Pönitz <poenitz@gmx.net>
2127 * BufferView_pimpl.C:
2132 * undo_funcs.[Ch]: use paroffset_type instead of
2133 ParagraphList::iterators to prevent multiple conversion
2134 (and get a more robust interface)
2136 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2140 * text3.C (dispatch): ditto
2142 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2145 move the onlyfile, use onlyfile instead of foundfile in a couple
2148 * DepTable.C (update): flush the error stream a bit more
2150 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * lyxserver.C (callback): adjust
2154 * lyxfunc.C (getStatus): add a missing brace in commented code
2155 (ensureBufferClean): reindent
2156 (dispatch): delete version taking a string
2158 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * LaTeX.C (deplog): move found file handlig from here...
2161 (handleFoundFile): .. to new function here.
2162 (deplog): make sure to discover several files mentioned on the
2165 2003-10-10 André Pönitz <poenitz@gmx.net>
2172 * text3.C: fix some of the tabular crashes
2174 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2176 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2178 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2180 2003-10-09 André Pönitz <poenitz@gmx.net>
2182 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2185 * BufferView_pimpl.C:
2186 * bufferview_funcs.C:
2197 * undo_funcs.C: adjust
2199 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2201 * text2.C (incrementItemDepth): new function, use a backtracking
2202 algorithm to discover the correct item depth.
2203 (resetEnumCounterIfNeeded): new function, use a backtracking
2204 algorithm to discover if counter reset is needed.
2205 (setCounter): use them. Simplify a bit. Add different labels for
2206 different item depths for itemize.
2208 * paragraph.C (Paragraph): remove initialization of enumdepth
2211 * paragraph.h: get rid of enumdepth, and use itemdepth both for
2212 enumerate and itemize. Change the type of itemdepth to signed char.
2214 2003-10-08 André Pönitz <poenitz@gmx.net>
2216 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2221 * tabular.[Ch]: fix crash after 'row-insert'
2223 2003-10-08 Angus Leeming <leeming@lyx.org>
2225 Fix doxygen warnings.
2227 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2228 Remove CutAndPaste:: prefix from header file declaration.
2230 * LColor.h (fill): remove LColor:: prefix from declaration.
2232 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2233 use lyx::depth_type rather than Paragraph::depth_type so that
2234 header file and .C file match.
2236 * converter.h (intToFormat): remove Converters:: prefix from declaration.
2238 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2239 * aspell.C: \file aspell_local.C -> \file aspell.C
2240 * gettext.C: \file gettext.C -> \file src/gettext.C
2241 * gettext.h: \file gettext.h -> \file src/gettext.h
2242 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2243 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2244 * text.C: \file text.C -> \file src/text.C
2246 * toc.C: move comment so that doxygen is not confused.
2248 2003-10-07 Angus Leeming <leeming@lyx.org>
2250 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2252 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2255 * aspell_local.h: add forgotten std::string's.
2257 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2264 * text3.C: The Box patch. Fancybox support, minipage, parbox
2266 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
2272 * ParagraphParameters.h:
2282 * lyxtextclasslist.h:
2285 * paragraph_pimpl.C:
2286 * textcursor.h: add <string> and other small fixes to make Lars'
2287 std::string patch compile with STLport.
2289 2003-10-06 Angus Leeming <leeming@lyx.org>
2291 * LColor.h: Add missing #include <string>.
2293 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2295 * All most all file in all subdirs: Make <string> be the prefered
2296 way of getting to std::string, add using declarations.
2298 2003-10-06 André Pönitz <poenitz@gmx.net>
2300 * metricsinfo.C: initialize LyXFont before changing attribute.
2301 (fixes the 'math in \emph is upright' bug)
2303 2003-10-06 André Pönitz <poenitz@gmx.net>
2305 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2307 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
2310 * paragraph_pimpl.C: Small fixes to build using STLport
2312 2003-10-02 André Pönitz <poenitz@gmx.net>
2315 * text3.C: move handling of LFUN_DEPTH *; fix #1360
2317 2003-10-01 André Pönitz <poenitz@gmx.net>
2319 * factory.C: assert early
2321 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * lyx_main.C: remove the global debug object
2325 * debug.h: adjust for new debugstream
2327 * debug.C: adjust for new debugstream and keep the global debug
2330 2003-09-22 Angus Leeming <leeming@lyx.org>
2332 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2333 of g++ which otherwise complain that the scoped_ptr destructor can't delete
2334 an incomplete class LyXFont.
2336 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
2338 * factory.C: bug fix in branches
2340 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2342 * lyxfunc.C (processKeySym): adjust
2344 (dispatch): change arg name from ev to func, adjust
2345 (sendDispatchMessage): ditto
2347 * lyx_main.C (defaultKeyBindings): adjust keybindings
2348 (deadKeyBindings): ditto
2350 * kbsequence.C (addkey): return a FuncRequest
2352 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2354 * kbmap.C (bind): take a FuncRequest as arg, adjust
2357 (defkey): change to take a FuncRequest as arg, adjust
2358 (findbinding): take a FuncRequest as arg, adjust.
2360 * funcrequest.h (operator=): added
2362 * funcrequest.C (FuncRequest): default kb_action changed from
2363 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2365 * buffer.C (dispatch): simplify
2366 (dispatch): adjust to take a FuncRequest as arg, adjust
2368 * boost.C (assertion_failed): change assertion message slightly
2370 * ToolbarBackend.C (read): simplify
2372 * MenuBackend.C (binding): adjust call to findbinding, add a
2373 message if no binding is found.
2375 (expandToc): correct by adding a empty FuncRequest
2377 * LyXAction.C: include <boost/assert.hpp>
2378 (isPseudoAction): delete function
2379 (LookupFunc): change name to...
2380 (lookupFunc): this. change return type to FuncRequest.
2381 (getActionName): take kb_action as arg, simplify
2382 (funcHasFlag): add an assert, simplify.
2384 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2386 * toc.C (action): return a FuncRequest, simplify
2388 * lyxfunc.C (processKeySym): adjust
2389 (getStatus): delete version that takes an int.
2391 (dispatch): delete version that takes action as int
2393 (sendDispatchMessage): simplify and adjust
2395 * funcrequest.C (getArg): take unsigned int as arg
2397 * ToolbarBackend.C (read): adjust
2398 (add): delete version that takes func as a string.
2399 (getIton): take a FuncRequest as arg
2401 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2404 * MenuBackend.C (MenuItem): add a new construct that only takes a
2405 Kind, simplify the constructor use for submenus.
2407 (expandLastfiles): adjust
2408 (expandDocuments): adjust
2409 (expandFormats): adjust
2410 (expandFloatListInsert): adjust
2411 (expandFloatInsert): adjust
2412 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2414 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2415 Remove class variables lyx_pseudo_map and lyx_arg_map
2417 * LyXAction.C (searchActionArg): delete function
2418 (getPseudoAction): delete function
2419 (retrieveActionArg): delete function
2420 (LookupFunc): make it return kb_action, simplify.
2421 (getActionName): simplify
2423 * factory.C (createInset): fix new bug
2425 2003-09-19 Angus Leeming <leeming@lyx.org>
2427 * CutAndPaste.C (pasteSelection): remove fudge used to set the
2428 masterFilename_ parameter in the include inset.
2430 * factory.C (createInset): changes due to the changes to InsetInclude.
2432 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2434 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2436 2003-09-18 Angus Leeming <leeming@lyx.org>
2439 * BufferView.C: pass the buffer when calling Inset::getLabelList,
2440 Inset::fillWithBibKeys.
2441 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2443 2003-09-18 Angus Leeming <leeming@lyx.org>
2445 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2447 (ctor): pass and store a 'Buffer const &'
2448 (buffer): new member function.
2450 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2451 '*this' to the LaTeXFeatures ctor.
2453 2003-09-18 Angus Leeming <leeming@lyx.org>
2459 * text.C: rename EnumLColor as LColor_color.
2461 2003-09-18 Angus Leeming <leeming@lyx.org>
2463 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2464 remove #include "insets/insetbase.h" from cursor.h.
2466 2003-09-18 Angus Leeming <leeming@lyx.org>
2468 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2469 InsetOld_code to remove #include "inset.h".
2471 * iterators.C: add #include "insets/inset.h"
2473 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
2475 * BufferView.C: remove more locking stuff that apparently doesn't
2476 do anything sensible.
2478 2003-09-16 André Pönitz <poenitz@gmx.net>
2481 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2484 2003-09-16 Angus Leeming <leeming@lyx.org>
2486 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2488 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2491 * paragraph.h: remove #include "lyxfont.h". Forward declare
2494 2003-09-16 Angus Leeming <leeming@lyx.org>
2496 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2497 of support/textutils.h.
2498 (isWord): move the contents of support/textutils.h's IsWordChar here.
2504 * text2.C: add #include "paragraph.h".
2507 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2509 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2515 * LaTeX.C: use namespace alias for lyx::support::os
2517 2003-09-16 Angus Leeming <leeming@lyx.org>
2520 * bufferview_funcs.C:
2523 * paragraph_pimpl.C:
2525 * text.C: add #include "LColor.h".
2527 2003-09-16 Angus Leeming <leeming@lyx.org>
2529 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2530 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2532 Store the FontBits::color variable as an int rather than as an
2533 LColor::colorso that we can move LColor.h out of the lyxfont.h header
2536 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2537 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2538 string calls together.
2540 * lyxrc.C: add #include "LColor.h".
2542 2003-09-15 Angus Leeming <leeming@lyx.org>
2544 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2547 2003-09-15 Angus Leeming <leeming@lyx.org>
2549 * LColor.h: add an EnumLColor wrapper for LColor::color.
2551 * lyxfont.[Ch] (color, setColor, realColor):
2552 * lyxtext.h, text.C (backgroundColor):
2553 pass EnumLColor args to/from the functions, rather than LColor::color
2557 * lyxtext.h: forward declare EnumLColor.
2559 * lyx_main.C: add #include "LColor.h".
2561 2003-09-15 Angus Leeming <leeming@lyx.org>
2563 * .cvsignore: add lyx-gtk.
2565 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2570 * ParagraphParameters.C
2574 * bufferview_funcs.C
2584 * vc-backend.C: remove usage of STRCONV
2586 2003-09-15 Angus Leeming <leeming@lyx.org>
2588 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2589 explicitly define the color passed to the painter.
2591 2003-09-15 Angus Leeming <leeming@lyx.org>
2593 * bufferparams.C (BufferParams): reorder member initializers to avoid
2596 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
2598 * CutAndPaste.C (pasteSelection): remove an outdated #warning
2599 * text.C (updateRowPositions): remove an unusual nop
2601 2003-09-12 André Pönitz <poenitz@gmx.net>
2603 * BufferView_pimpl.C:
2612 * Counters.[Ch]: finish the 'automatic counters' job
2614 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2616 * aspell.C: include <boost/assert.cpp> (compile fix)
2618 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2620 * boost.C (assertion_failed): use lyx::support::abort instead of
2623 2003-09-10 Angus Leeming <leeming@lyx.org>
2625 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2626 with their _fwd progeny.
2628 2003-09-09 Angus Leeming <leeming@lyx.org>
2630 134 files throughtout the source tree: replace 'using namespace abc;'
2631 directives with the appropriate 'using abc::xyz;' declarations.
2633 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2635 * boost.C (emergencyCleanup): moved here from LAssert.c
2636 (assertion_failed): new function, called by BOOST_ASSERT
2638 * several files: change Assert to BOOST_ASSERT
2640 2003-09-09 Angus Leeming <leeming@lyx.org>
2642 * buffer.[Ch]: Add an Impl class and move Buffer's member
2643 variables into it. As a result move several header files out of
2646 Add header files to lots of .C files all over the tree as a result.
2648 2003-09-09 Angus Leeming <leeming@lyx.org>
2650 * buffer.[Ch]: make Buffer's member variables private. Add
2653 Lots of changes all over the tree as a result.
2655 2003-09-08 Angus Leeming <leeming@lyx.org>
2657 * graph.C: #include <config.h>.
2659 2003-09-08 Angus Leeming <leeming@lyx.org>
2663 * BufferView_pimpl.C:
2692 * toc.C: remove redundant using directives.
2694 2003-09-07 Angus Leeming <leeming@lyx.org>
2696 * LaTeXFeatures.h: remove #include "support/types.h".
2697 * ToolbarBackend.h: remove #include <algorithm>.
2698 * changes.h: remove #include <ctime>.
2699 * debug.h: remove #include <iosfwd>.
2700 * graph.h: remove #include "support/std_string.h".
2701 * lyx_main.h: remove #include <csignal>.
2702 * lyxlex_pimpl.h: remove #include <fstream>.
2703 * sgml.h: remove #include <algorithm>, <utility>.
2704 * toc.h: remove #include "support/std_ostream.h".
2705 Add #include <iosfwd>.
2707 2003-09-07 Angus Leeming <leeming@lyx.org>
2709 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2711 * converter.h: forward declare LatexRunParams.
2712 * encoding.h: remove #include "lyxrc.h".
2713 * lyxtext.h: remove #include "LColor.h".
2714 * lyxtextclass.h: remove #include "support/types.h".
2715 * trans.h: remove #include "tex-accent.h".
2716 * trans_mgr.h: remove #include "tex-accent.h".
2717 * insets/inset.h: remove #include "support/types.h", <vector>.
2718 * insets/insetcollapsable.h: remove #include "LColor.h".
2719 * insets/insetinclude.h: remove #include "dimension.h".
2720 * insets/insetlatexaccent.h: remove #include "dimension.h".
2721 * insets/insetoptarg.h:: remove #include "insettext.h".
2722 * insets/insettext.h: remove #include "dimension.h",
2723 <boost/shared_ptr.hpp>
2725 * insets/renderers.h: add #include "dimension.h".
2726 * insets/updatableinset.h: add #include "support/types.h".
2728 * many .C files: Associated changes.
2730 2003-09-06 Angus Leeming <leeming@lyx.org>
2732 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2733 one, inside testInvariant.
2735 * PrinterParams.C: new file.
2736 * PrinterParams.[Ch]: move the function bodies out of line.
2738 2003-09-06 Angus Leeming <leeming@lyx.org>
2740 * ParagraphParameters.h: forward declare ParameterStruct rather than
2741 including its header file.
2742 (depth): moved out-of-line.
2744 2003-09-06 Angus Leeming <leeming@lyx.org>
2746 * BufferView_pimpl.h:
2749 * lyxfunc.h: forward declare LyXKeySym rather than
2750 #include "frontends/LyXKeySym.h".
2752 * BufferView_pimpl.C:
2755 * lyxfunc.C: associated changes.
2757 2003-09-06 Angus Leeming <leeming@lyx.org>
2759 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2760 As a result, can remove the #include "insets/inset.h" from BufferView.h
2762 2003-09-06 Angus Leeming <leeming@lyx.org>
2764 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2765 As a result, can remove the #include "insets/inset.h" from BufferView.h
2767 2003-09-06 Angus Leeming <leeming@lyx.org>
2773 * bufferview_funcs.C:
2774 * BufferView_pimpl.C:
2779 * ParagraphParameters.C:
2784 * frontends/controllers/ControlDocument.C:
2785 * insets/insetcaption.C: rearrange the #includes into some sort of
2788 * buffer.h: remove #includes ErrorList.h, undo.h
2790 2003-09-06 Angus Leeming <leeming@lyx.org>
2792 * support/types.h: add a 'depth_type' typedef, used to store the
2793 nesting depth of a paragraph.
2796 * ParameterStruct.h: use this lyx::depth_type typedef rather than
2797 defining explicitly.
2800 * paragraph_funcs.h:
2801 * ParagraphParameters.h:
2802 * sgml.h: use lyx::depth_type rather than Paragraph or
2803 ParameterStruct's depth_type.
2806 * paragraph_funcs.h: no need to #include paragraph.h anymore.
2809 * BufferView_pimpl.C:
2811 * ParagraphParameters.C:
2814 * bufferview_funcs.C:
2821 * frontends/LyXView.C:
2822 * frontends/controllers/ControlDocument.C:
2823 * frontends/controllers/ControlErrorList.C:
2824 * insets/insetbibitem.C:
2825 * insets/insetbranch.C:
2826 * insets/insetcaption.C:
2827 * insets/insetcollapsable.C:
2828 * insets/insetenv.C:
2829 * insets/insetert.C:
2830 * insets/insetfloat.C:
2831 * insets/insetfoot.C:
2832 * insets/insetfootlike.C:
2833 * insets/insetnewline.C:
2834 * insets/insetquotes.C:
2835 * insets/insettabular.C:
2836 * insets/insettext.C:
2837 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2839 * frontends/controllers/ControlChanges.C: #include "changes.h".
2841 2003-09-06 Angus Leeming <leeming@lyx.org>
2843 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2844 than #including paragraph.h.
2847 * RowList.h: deleted. Superfluous.
2857 * insets/insettext.h: use ParagraphList_fwd.h rather than
2860 * paragraph.h: don't forward declare ParagraphList.
2863 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2864 rather than ParagraphList.h. paragraph.h is still needed for the
2865 Paragraph::depth_type parameters.
2867 * textcursor.h: enable it to compile stand-alone in light of the
2870 * bufferview_funcs.C:
2882 * frontends/controllers/ControlParagraph.C:
2883 * frontends/controllers/ControlTabular.C:
2884 * insets/insetmarginal.C:
2885 * insets/insetminipage.C:
2886 * insets/insetnote.C:
2887 * insets/insetoptarg.C: add header files needed to compile again.
2889 2003-09-06 Angus Leeming <leeming@lyx.org>
2891 * RowList_fwd.h: new file, forward-declaring Row rather than
2892 #including lyxrow.h.
2897 * insets/insettext.h: use it instead of RowList.h
2899 * bufferview_funcs.C:
2906 * text3.C: #include "RowList.h".
2908 2003-09-05 Angus Leeming <leeming@lyx.org>
2910 * factory.C (createInset):
2911 * vspace.C (c-tor): replace sscanf call with an istringstream.
2912 * ispell.C: re-add missing HP/UX headers.
2913 * lyxserver.C: re-add missing os2 headers.
2915 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
2924 * text3.C: re-add missing system headers, needed for 2.95.2.
2926 2003-09-05 Angus Leeming <leeming@lyx.org>
2928 Changes most place everywhere due to the removal of using directives
2929 from support/std_sstream.h.
2931 2003-09-05 Angus Leeming <leeming@lyx.org>
2933 Replace LString.h with support/std_string.h,
2934 Lsstream.h with support/std_sstream.h,
2935 support/LIstream.h with support/std_istream.h,
2936 support/LOstream.h with support/std_ostream.h.
2938 Changes resulting throughout the tree.
2940 2003-09-05 Angus Leeming <leeming@lyx.org>
2942 * sgml.h: ensure that the header file can be compiled stand-alone.
2943 * *.C: strip out redundant #includes. (320 in total.)
2945 2003-09-04 Angus Leeming <leeming@lyx.org>
2947 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2948 here (from getPackages).
2950 * debug.[Ch]: add a new EXTERNAL tag.
2952 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2954 * text2.C (cursorEnd): simplify
2956 (getColumnNearX): adjust
2958 * text.C (computeBidiTables): adjust
2961 * rowpainter.C (paintChars): adjust
2962 (paintSelection): adjust
2963 (paintChangeBar): adjust
2966 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2968 (numberOfSeparators): adjust
2970 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
2976 * text3.C: Restricts the mouse click functionality
2977 of insets like bibtex, include, toc and floatlist to the visible
2978 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2979 up the dialogs. Cursor has to be in front of the inset (i.e.
2980 start of row) for this to function.
2982 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2984 * bufferview_funcs.C (currentState): output row information
2986 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
2988 * bufferview_funcs.C (currentState): output paragraph position
2990 2003-09-04 Angus Leeming <leeming@lyx.org>
2992 * FloatList.h: move out #include "Floating.h".
2993 * LaTeX.h: move out #include "DepTable.h".
2994 * LyXAction.h: move out #include "funcrequest.h".
2995 * buffer.h: move out #include "author.h", "iterators.h".
2996 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2997 * lyx_main.h: move out #include "errorlist.h".
2998 * lyxfunc.h: move out #include "FuncStatus.h".
2999 * lyxtext: move out #include "lyxcursor.h".
3000 * paragraph_pimpl.h: move out #include "counters.h".
3002 2003-09-03 Angus Leeming <leeming@lyx.org>
3004 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3005 preamble_snippets list, enabling us to add snippets to the preamble
3006 only if the snippet was not there already.
3008 2003-09-04 Angus Leeming <leeming@lyx.org>
3010 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3012 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3014 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3017 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3019 * BranchList.C: point fix, earlier forgotten
3021 2003-09-02 Angus Leeming <leeming@lyx.org>
3023 * box.C (contains): renamed from 'contained' after a fantastic
3026 2003-09-02 John Levon <levon@movementarian.org>
3032 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3034 2003-09-02 John Levon <levon@movementarian.org>
3036 * text2.C: simplification of cursorEnd(), including partial
3039 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * buffer.C (readFile): add a space
3043 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3045 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3047 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * buffer.C (readFile): new function, take a filename and a
3050 ParagraphList::iterator
3052 (readFile): adjust, make it private. don't use setStream, make
3053 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3054 always contain the filename.
3056 * BufferView.C (insertLyXFile): simplify and make it work for
3059 2003-08-30 John Levon <levon@movementarian.org>
3061 * Makefile.am: fix dist (from Kayvan)
3063 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * most files: change to use const Buffer refs
3067 2003-08-27 André Pönitz <poenitz@gmx.net>
3069 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3070 on top of ownerPar().
3072 2003-08-27 John Levon <levon@movementarian.org>
3074 * funcrequest.C: properly initialise POD members
3076 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3078 * lyxtext.h (top_y): move top_y from here
3083 * BufferView_pimpl.[Ch]: to here
3084 * frontends/screen.C:
3085 * insets/insettabular.C:
3086 * insets/insettext.C: adjust
3087 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3089 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3092 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3094 2003-08-26 André Pönitz <poenitz@gmx.net>
3096 * paragraph_func.[Ch] (outerPar): new function
3099 * paragraph_funcs.C:
3100 * paragraph_funcs.h:
3101 * paragraph_pimpl.C:
3102 * text2.C: remove Inset::par_owner
3104 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3109 * text2.C: eliminates the needFullRow/display() stuff
3110 altogether, putting the logic in metrics/draw in the insets.
3112 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3114 * text2.C (redoParagraphInternal, redoParagraphs):
3115 * text.C (redoParagraph): add a call to updateRowPositions at the
3116 end of each 'metrics-like' call. Remove all others.
3117 (getRow): remove the 'y-computing' version.
3118 (getRowNearY): do not compute nor return the real y. Solve the
3119 'y < 0' problem and simplify.
3121 2003-08-22 Angus Leeming <leeming@lyx.org>
3123 * *.[Ch]: clean-up of licence and author blurbs.
3124 Also move config.h out of a few .h files and into a few .C files.
3126 2003-08-22 André Pönitz <poenitz@gmx.net>
3128 * lyxrow.[Ch]: add x_ and *fill_ members
3133 * text2.C: adjust/remove prepareToPrint() calls
3135 2003-08-22 André Pönitz <poenitz@gmx.net>
3137 * lyxrow.[Ch]: add end_ member
3139 * lyxrow_funcs.C: use LyXRow::end_
3141 * lyxtext.h (singleWidth): add LyXFont parameter
3144 * text2.C: adjust LyXText::singleWidth() calls
3146 * text.C (redoParagraph): simplify row breaking logic
3149 2003-08-19 André Pönitz <poenitz@gmx.net>
3151 * funcrequest.C: initialize button_ member
3154 * rowpainter.[Ch]: interface consolidation
3156 2003-08-18 André Pönitz <poenitz@gmx.net>
3159 * BufferView_pimpl.C:
3161 * paragraph_funcs.C:
3163 * text3.C: remove LyXScreen::draw() and fitCursor calls
3165 * BranchList.h: remove spurious semicolons
3167 * MenuBackend.C: fix branchlist related crash
3169 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3177 * bufferparams.[Ch]:
3181 * text3.C: implements the 'branch inset'
3182 idea. This allows the output of various versions of a document
3183 from a single source version, selectively outputing or suppressing
3184 output of parts of the text.
3185 This implementation contains a 'branch list editor' in a separate
3186 tab of the document settings dialog. Branches are user definable
3187 and have a "display colour" to distinguish them on-screen.
3189 ColorHandler was somewhat cleaned up.
3190 (1) make possible a dynamically growing LColor list by allowing
3191 the graphic context cache to grow along (vector);
3192 (2) eliminate an IMHO unnecessary step in colour allocation.
3194 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
3196 * BufferView_pimpl.C: compile fix
3198 2003-08-15 André Pönitz <poenitz@gmx.net>
3200 * rowpainter.C: remove extra metrics calls
3202 * lyxtext.h: merge the two constructors into a single one,
3203 pass reference to owner's par list
3205 * BufferView_pimpl.C:
3209 2003-08-15 André Pönitz <poenitz@gmx.net>
3211 * lyxrow_funcs.[Ch]:
3214 * paragraph_funcs.C:
3219 * text_funcs.C: split LyXText::rowlist_ into individual
3220 Paragraph::rows_ chunks
3223 * BufferView_pimpl.[Ch]:
3226 * text3.C: remove toggleSelection()
3228 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
3230 * bufferlist.C: beautify two alerts (shorter text of buttons)
3231 * buffer.C: Remove redundant ' ' from message
3233 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3234 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3235 rename VALIGN_CENTER to VALIGN_MIDDLE
3237 2003-08-11 André Pönitz <poenitz@gmx.net>
3239 * lyxtext.h (getPar):
3240 * text.C: new function
3242 2003-08-11 André Pönitz <poenitz@gmx.net>
3245 * tracer.[Ch]: remove unneeded files
3247 * InsetList.[Ch]: remove resizeInsetsLyXText()
3252 * text3.C: merge insertParagraphs() and appendParagraph()
3253 remove breakAgain(), update()
3255 * BufferView_pimpl.[Ch]:
3256 * bufferview_funcs.[Ch]:
3260 * tabular.C: adjust after text & InsetList changes.
3262 2003-08-08 André Pönitz <poenitz@gmx.net>
3264 * text.C (insertChar, backspace): replace rowlist fiddling
3265 with rebreak of full par
3268 * text.C (breakAgainOneRow, redoHeightOfParagraph,
3269 checkParagraph, updateInset): removed
3271 2003-08-07 André Pönitz <poenitz@gmx.net>
3274 * text3.C: merge some LFUN handlers, remove dead code
3276 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3278 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3280 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
3282 * text2.C (DEPM): fix part of bug 1255 and 1256
3284 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3286 * BufferView_pimpl.C (workAreaDispatch): change to use
3287 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3288 that are no mouse related.
3290 2003-08-05 André Pönitz <poenitz@gmx.net>
3293 * BufferView_pimpl.[Ch]:
3294 * bufferview_funcs.C:
3296 * text3.C: rip out "deep update"
3298 * textcursor.[Ch] (last_sel_cursor): remove unused member
3300 2003-08-04 André Pönitz <poenitz@gmx.net>
3303 * BufferView_pimpl.[Ch]:
3304 * ParagraphParameters.C:
3305 * bufferview_funcs.C:
3311 * text3.C: replace "complicated" BufferView::update(...) calls with
3314 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3316 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
3318 * Makefile.am (lyx_SOURCES): add paper.h
3320 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3322 * Makefile.am: move things around so that both lyx-qt and
3323 lyx-xforms can be built (according to --with-frontend). Then lyx
3324 is a symbolic link to lyx-[firstfrontend]
3326 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
3328 * Always use std::endl with lyxerr
3330 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
3332 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3334 2003-08-01 André Pönitz <poenitz@gmx.net>
3337 * BufferView_pimpl.[Ch]:
3339 * text3.C: merge BufferView::repaint() and BufferView::update()
3341 2003-08-01 José Matos <jamatos@lyx.org>
3343 * buffer.[Ch]: file_format is no longer a buffer data element.
3345 2003-08-01 André Pönitz <poenitz@gmx.net>
3350 * text2.C: make redoParagraph more independent of current cursor
3352 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3354 * text2.C: remove unneeded members
3356 2003-07-30 André Pönitz <poenitz@gmx.net>
3358 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3360 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3361 create a single function...
3363 * paragraph_funcs.C (moveItem): ... here.
3366 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3368 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3370 * LColor.[Ch]: Add comment and greyedout logical colors.
3372 2003-07-30 André Pönitz <poenitz@gmx.net>
3374 * tabular.C: don't use Assert too heavily. This crashes where it
3377 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
3379 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3380 is disabled (bug 1232)
3382 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3384 * factory.C: limited 'arg' scope
3386 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3388 * factory.C: fixed Note submenu issues
3390 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
3392 * factory.C: submenu for Note/Comment/Greyedout
3394 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
3397 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3399 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
3402 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3403 greyedout. Patch provided by Jürgen Spitzmüller.
3405 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3407 * kbmap.C (read): fix error message when reading bind files
3409 2003-07-29 Angus Leeming <leeming@lyx.org>
3411 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3412 certainly does not do what it purports to do. I am doing it, and
3413 us, a favour by killing it.
3415 2003-07-28 José Matos <jamatos@lyx.org>
3417 * buffer.C (readBody, do_writeFile):
3418 * paragraph.C(readParagraph): \end_document replaces \the_end.
3420 2003-07-29 André Pönitz <poenitz@gmx.net>
3423 * BufferView_pimpl.[Ch]:
3427 * textcursor.[Ch]: remove toggleToggle & Co
3429 2003-07-28 José Matos <jamatos@fep.up.pt>
3431 * buffer.C (readParagraph):
3432 * params_func (readParToken, readParagraph):
3433 * paragraph.C (write): \layout -> \begin_layout.
3435 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3437 * lyxlex_pimpl.C (setFile): clean up slightly.
3439 * bufferparams.h: add compressed var
3441 * buffer_funcs.C (readFile): adjust for LyXLex change
3442 (newFile): ditto + simplify
3444 * buffer.C (writeFile): handle writing of compressed files
3446 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3447 Check if the file is compressed and set a bufferparm if so.
3449 * Makefile.am (lyx_LDADD): remove explicit -lz
3451 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3453 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3454 makeDocBookFile): put the real LyX version in the first line of
3458 * version.C.in: remove lyx_docversion
3460 * tabular.C (write_attribute): add a template-based version to
3461 write enums properly
3463 2003-07-28 André Pönitz <poenitz@gmx.net>
3468 * text3.C: use doubles again for x-coordinates. They are needed.
3470 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * messages.C (getLocaleDir): use lyx_localedir()
3474 * lyxlex_pimpl.C (setFile): compress stuff
3476 * buffer.C (writeFile): add some compression stuff
3477 (do_writeFile): new func, dont call expliti close... will this
3480 * Makefile.am (lyx_LDADD): add -lz
3482 2003-07-28 José Matos <jamatos@fep.up.pt>
3484 * buffer.C: increment file format.
3485 * paragraph_funcs (readParagraph, readParToken):
3486 * paragraph.C (readParagraph): add \end_layout.
3488 2003-07-27 Angus Leeming <leeming@lyx.org>
3490 * Makefile.am: remove special casing for configure-time setting of
3491 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3493 * lyx_main.C (init): remove all Jean-Marc's magic setting of
3494 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3496 2003-07-26 André Pönitz <poenitz@gmx.net>
3498 * paragraph_func.[Ch]:
3499 * paragraph.C (realizeFont): inline it whereever it is used
3504 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3507 2003-07-26 André Pönitz <poenitz@gmx.net>
3511 * text2.C: get rid of LyXText::need_break_row
3513 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * toc.[Ch]: put namespace toc inside namespace lyx
3517 * MenuBackend.C (expandToc2): adjust for lyx::toc
3520 * lyxfunc.C (dispatch): adjust for lyx::find
3522 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3523 lyx::find instead. Reorganize a bit.
3524 (LyXReplace): rename to replace
3525 (LyXFind): rename to find
3527 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3530 2003-07-26 André Pönitz <poenitz@gmx.net>
3532 * text.C (setHeightOfRow): restrict scope of temporary variable
3534 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
3535 code (never has been used?)
3537 2003-07-27 Asger Alstrup <alstrup@local>
3539 * text.C (fill): Optimise algorithm to exploit that we can reuse
3540 the LyXFont for many characters.
3541 (setHeightOfRow): Same thing.
3542 (rowBreakPoint): Same thing.
3544 2003-07-26 Asger Alstrup <alstrup@local>
3546 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3548 * text.C (singleWidth): Spurious font copying in hot-spot
3549 singleWidth avoided. Reorder tests for arabic for efficiency.
3551 * text.C (fill): handle empty paragraphs better.
3553 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3556 * encoding.h: add includes
3558 * lyxrc.C: remove reading of bind files
3560 * lyx_main.C (init): setup bindings and menus only if we have a
3563 * kbmap.C (read): new method. Do the actual reading of bind
3566 * converter.C (dvipdfm_options):
3569 (output): adapt PAPER_* enums.
3571 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3573 * bufferparams.h: remove paper-related enums from there
3575 * paper.h: New file. A trivial header file to hold paper-related
3576 enums. It should later expand to contain many paper-related
3579 * lyxrc.C: declare extern displayTranslator
3581 2003-07-27 José Matos <jamatos@fep.up.pt>
3583 * tabular.[Ch] (linuxdoc): add support for tables and figures
3586 2003-07-27 José Matos <jamatos@fep.up.pt>
3588 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3589 consistency in both functions.
3590 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3592 2003-07-26 Asger Alstrup <alstrup@local>
3594 * rowpainter.C (paintRows): Change algorithm to work directly on
3595 the insets rather than asking every character in the document
3596 whether its an inset.
3598 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
3600 * buffer.C (openFileWrite): factorize some code
3602 2003-07-26 Angus Leeming <leeming@lyx.org>
3605 * lyx_main.[Ch]: replace occurances of system_tempdir with
3608 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * rename Inset to InsetOld
3612 2003-07-25 Asger Alstrup <alstrup@diku.dk>
3614 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3615 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3616 which I think is a bit clearer. EDIT is gone, since it was
3617 premature optimisation, and broken for mathed anyway.
3618 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3619 with cursor positioning in insets as well (math insets still do not
3620 work, but that's a different story anyway.) It mysteriously
3621 crashes sometimes with undo in the first paragraph, but I'm fairly
3622 confident that this is a compiler bug.
3624 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * paragraph.C (Paragraph): adjust for new clone return type
3628 (copyIntoMinibuffer): ditto
3630 2003-07-25 Asger Alstrup <alstrup@lyx.org>
3632 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3633 by not having a special case, and always doing a full rebreak of
3634 the document after undo.
3636 2003-07-23 Angus Leeming <leeming@lyx.org>
3638 * factory.C (createInset): InsetExternal::setParams now takes a
3641 2003-07-23 Angus Leeming <leeming@lyx.org>
3643 * factory.C (createInset): changed interface to the external and
3644 graphics mailers' string2params functions.
3646 2003-07-23 Angus Leeming <leeming@lyx.org>
3648 * factory.C (createInset): pass a
3649 Buffer const * parameter to InsetExternalMailer's string2params.
3651 2003-07-22 John Levon <levon@movementarian.org>
3653 * Thesaurus.h: include the right aiksaurus header
3655 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3657 * MenuBackend.C (expand): check menu shortcuts unconditionally
3659 2003-07-21 Angus Leeming <leeming@lyx.org>
3661 * factory.C (createInset): pass a
3662 buffer_path parameter to InsetGraphicsMailer's string2params.
3664 2003-07-21 Angus Leeming <leeming@lyx.org>
3666 * BufferView_pimpl.C (buffer):
3669 * lyxfunc.C (dispatch):
3670 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3671 rather than the grfx shortcut.
3673 2003-07-21 André Pönitz <poenitz@gmx.net>
3675 * rowpainter.C: remove unused variables
3678 * tabular_funcs.h: move to tabular.C
3679 * Makefile.am: adjust
3681 * tabular.[Ch]: basic optical cleaning
3683 * author.h: pass references, not values
3685 2003-07-18 André Pönitz <poenitz@gmx.net>
3693 * text3.C: two-phase drawing for InsetText and InsetTabular
3694 some float -> int changes.
3696 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3698 * lyx_main.C: fix the fix
3700 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
3702 * lyx_main.C: fix a crash in batch mode if no files specified
3705 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
3707 * format.[Ch] (papersize): moved to BufferParams
3708 * converter.[Ch] (dvips_options): moved to BufferParams
3709 (dvipdfm_options): moved to anon namespace
3710 * bufferparams.[Ch]: added above functions.
3712 2003-07-17 André Pönitz <poenitz@gmx.net>
3716 * text2.C: don't call inset->update() anymore
3718 * metricsinfo.[Ch]: add convenience constructor
3720 2003-07-16 André Pönitz <poenitz@gmx.net>
3725 * text2.C: replace the LyXCursor::irow_ member with
3726 on-demand computation of the value
3728 2003-07-16 John Levon <levon@movementarian.org>
3730 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3732 2003-07-15 André Pönitz <poenitz@gmx.net>
3735 * text2.C: remove no more needed refresh_row
3737 2003-07-15 André Pönitz <poenitz@gmx.net>
3742 * text3.C: refresh_status tristate -> need_update bool
3744 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3746 * lyxtext.h (init): remove reinit argument (act as if always true)
3747 * text2.C: adjust to that
3749 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3751 * bufferview_funcs.[Ch]: introduce function replaceSelection()
3752 * text3.C: use it to delete selections in some cases
3753 (bugs 441, 673, 702, 954).
3755 2003-07-14 André Pönitz <poenitz@gmx.net>
3757 * rowpainter.[Ch]: reduce interface
3759 2003-07-14 André Pönitz <poenitz@gmx.net>
3761 * BufferView_pimpl.C:
3762 * text2.C: adjust after removing unused BufferView * argument
3764 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
3766 * text2.C (init): fix a crash fired on resize
3768 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
3770 * buffer.[Ch]: added new closing signal
3771 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3772 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3773 BufferView::Pimpl via the closing the signal
3775 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
3777 * buffer.[Ch]: take out all bv-related from buffer
3779 * BufferView_pimpl.[Ch]: connect to new signals
3780 * CutAndPaste.C: removed useless asserts
3781 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3784 * lyxfunc.C: moved view-related funciontality from vc here
3785 * paragraph.C: removed outdated comments
3788 2003-07-10 André Pönitz <poenitz@gmx.net>
3790 * BufferView_pimpl.C:
3794 * text2.C: remove InsetText::InnerCache, clean up consequences
3796 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3798 * ispell.C: fix two typos in error messages
3800 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
3802 * Extend Note inset to other forms of annotation like Comment
3803 and Greyedout. Right button click gives dialog.
3805 Files modified or added (+):
3809 * ControlNote.[Ch] +
3811 * Makefile.am in frontends/xforms, frontends/xforms/forms,
3812 frontends/controllers
3816 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3818 * aspell.C: add missing namespace lyx::support
3820 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
3822 * BufferView.[Ch] (newFile): Add
3823 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3824 * LaTeX.[Ch] (message): added this signal and use it
3825 * buffer.[Ch] (busy, message): added these signals and use them
3826 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3830 * importer.C: use buffer signals instead of direct bv calling
3831 * lyx_cb.[Ch] (ShowMessage): removed
3834 * paragraph_funcs.C:
3835 * text2.C: use buffer signals
3837 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3839 * introduce namespace lyx::graphics
3841 2003-07-02 André Pönitz <poenitz@gmx.net>
3843 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3845 2003-07-01 André Pönitz <poenitz@gmx.net>
3852 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3853 text*.C to text_func.C
3855 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * introduce namespace lyx::support
3859 2003-06-30 André Pönitz <poenitz@gmx.net>
3864 * text.C: re-enable --with-included-string
3866 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3868 * textcursor.C: add <config.h>
3870 * text.C (getWord): remove const from word_location arg
3872 * lyxvc.C (getLogFile): fix const type order
3874 * lyxtext.h: remove const from word_location arg, add arg name
3876 * lyxlayout.h: currect type on labeltype.
3878 * importer.C: correct \file
3880 * converter.C (intToFormat): use std:: on ret val, ws changes
3882 * bufferlist.h: correct \file
3884 * buffer.C (makeLinuxDocFile): fix const type order
3885 (makeDocBookFile): ditto
3886 (fillWithBibKeys): use std:: on stdlib args.
3888 * CutAndPaste.C: fix authors.
3889 (availableSelections): use std:: on return vector
3891 2003-06-27 André Pönitz <poenitz@gmx.net>
3893 * BufferView_pimpl.C:
3894 * bufferview_funcs.C:
3902 * text3.C: remove LyXCursor::row_ member
3905 * text.C: rename fullRebreak() to partialRebreak() and implement
3906 a fullRebreak() that really bereks fully
3908 * textcursor.h: new struct for cursor-related data
3910 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
3912 * lyx_main.C (LyX): get full path of document loaded on the
3915 2003-06-26 André Pönitz <poenitz@gmx.net>
3917 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3918 remove unused/broken operator>,<,>=.
3920 * text.C: remove only use of broken operator<= in an Assert().
3922 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3924 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3925 moved errorlist_.clear to showErrorList
3927 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
3929 * converter.C (scanLog, runLaTeX):
3930 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3931 move the bv->showErrorList call to the callers
3932 * lyxfunc.C: i.e. here...
3934 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3935 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3936 namespace, the second to...
3937 * buffer_funcs (BufferFormat, parseErrors): added
3938 * errorlist.C (ErrorList(TeXErrors const &)): removed
3940 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3942 * ToolbarBackend.C (getIcon): complain when icon cannot be found
3944 2003-06-24 "Garst R. Reese" <reese@isn.net>
3948 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3950 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3952 * version.C.in: change docversion to 1.4
3954 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
3956 * buffer.C: fix a bug just introduced
3958 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3960 * buffer.[Ch]: added the parseError signal and use it, removed
3962 * BufferView.[Ch] (addError): moved to ...
3963 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3964 to the Buffer::parseError signal to catch (guess what) parse errors
3965 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3967 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
3969 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3970 ability to create a buffer and to return an existing one from
3971 the list. Moved these functions to...
3972 * buffer_funcs.[Ch]: added
3973 * BufferView.[Ch] (loadLyXFile): added
3974 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3975 job removed from bufferlist::loadLyXFile.
3976 * buffer.C (setReadOnly): make it work without view
3977 (i.e added an if (users))
3979 2003-06-19 Angus Leeming <leeming@lyx.org>
3982 * LyXAction.C (init):
3983 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3984 with LFUN_DIALOG_SHOW <name> <data>.
3986 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3988 * CutAndPaste.C (availableSelections): small compilation fix for
3989 ancient (gcc 2.9x) compilers
3991 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * text3.C (cursorNext): add tmp var
3995 * text2.C (updateCounters): for function calling out of for clause
3996 (replaceSelectionWithString): ditto
3997 (insertStringAsParagraphs): ditto
3998 (getColumnNearX): add tmp var
3999 (setCursorFromCoordinates): add tmp var
4000 (cursorDownParagraph): add tmp var
4001 (deleteEmptyParagraphMechanism): add tmp var
4003 * text.C (insertChar): add tmp var
4005 * rowpainter.C (paintDepthBar): add tmp var
4007 * CutAndPaste.C (availableSelections): potentially check all
4008 paragraphs in a cut to fill the shown strings.
4010 2003-06-18 André Pönitz <poenitz@gmx.net>
4012 * kbmap.[Ch]: use vector<> instead of list<>
4014 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4016 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4017 pasteSelection with index
4019 * text2.C (pasteSelection): modify, call pasteSelection with index
4021 * paragraph.C (asString): reimplement version with no interval to
4022 call the one with interval.
4024 * lyxtext.h: add index arg to pasteSelection
4026 * MenuBackend.C (MenuItem): handle PasteRecent
4027 (Menu::read::Menutags): add md_pasterecent
4029 (expandPasteRecent): new function
4032 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4034 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4036 (availableSelections): new function
4038 2003-06-17 Angus Leeming <leeming@lyx.org>
4040 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4042 2003-06-17 Angus Leeming <leeming@lyx.org>
4045 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4047 * lyxfunc.C (dispatch): invoke it.
4049 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4051 * iterators.C (operator++, ParPosition): reintroduce some
4052 const_cast for the benefit of older compilers.
4054 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4056 * text3.C (dispatch): do not modify clipboard when doing
4057 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4058 LFUN_DELETE_SKIP on a selection selection
4060 2003-06-16 André Pönitz <poenitz@gmx.net>
4066 * tabular.[Ch]: IU of clone() and getLabelList();
4068 2003-06-13 André Pönitz <poenitz@gmx.net>
4070 * tabular.h: compactification
4072 2003-06-12 André Pönitz <poenitz@gmx.net>
4076 * tabular_funcs.h: some renaming plus whitespace
4078 2003-06-12 André Pönitz <poenitz@gmx.net>
4081 * BufferView_pimpl.C:
4087 * toc.C: Return a Paragraph & for ParIterator::operator*()
4089 2003-06-11 John Levon <levon@movementarian.org>
4093 * ToolbarBackend.C: add "Toolbars" section and
4096 2003-06-10 Angus Leeming <leeming@lyx.org>
4099 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4101 * lyxfunc.C (dispatch): invoke it.
4103 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4105 * main.C: protect <ios> with HAVE_IOS
4106 (main): protect sync_with_stdio with HAVE_IOS
4108 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4110 * text2.C (cutSelection): adjust
4111 (pasteSelection): adjust
4113 * messages.C: handle get of empty string
4115 * main.C (main): use sync_with_stdio(false)
4117 * lyxfunc.C (dispatch): adjust
4119 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4120 (WriteAs): remove unneeded BufferView arg.
4122 * bufferparams.h: use correct types on papersize, papersize2 and
4125 * bufferparams.C (readToken): adjust for type
4126 (writeLaTeX): add missing cases to switch.
4128 * bufferlist.C (quitWriteBuffer): adjust
4131 * buffer.C (asciiParagraph): remove some commented code.
4133 * CutAndPaste.C: remove current_view extern variable.
4134 (cutSelection): add BufferParams arg.
4135 (eraseSelection): add BufferParams arg.
4136 (pasteSelection): add Buffer const & arg
4138 2003-06-07 John Levon <levon@movementarian.org>
4141 * paragraph_funcs.C:
4142 * paragraph_pimpl.C:
4146 * paragraph.C: allow InsetERT to freely space lines,
4147 and some consolidation of code
4149 2003-06-06 José Matos <jamatos@fep.up.pt>
4151 * buffer.C (makeDocBookFile): fix bug #821
4153 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4155 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4157 2003-06-04 Angus Leeming <leeming@lyx.org>
4159 * buffer.C: bump format to 224.
4161 2003-06-05 André Pönitz <poenitz@gmx.net>
4163 * text2.C (redoParagraphs): remove two const_cast<>
4165 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4167 * ParagraphList.h: remove last remnants of NO_STD_LIST
4169 2003-06-03 Angus Leeming <leeming@lyx.org>
4171 * factory.C (createInset): small change to the way InsetExternal's params
4174 2003-06-04 André Pönitz <poenitz@gmx.net>
4176 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4178 * paragraph_pimpl.h:
4179 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4181 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4183 * undo_funcs.C: make some simple cases of undo work again
4185 2003-06-03 John Levon <levon@movementarian.org>
4187 * ispell.C: HPUX doesn't have sys/select.h
4190 2003-06-03 John Levon <levon@movementarian.org>
4192 * CutAndPaste.C: update tabular and include inset
4197 * paragraph.C: remove owningBuffer(), don't pass Buffer
4200 * factory.C: insetGraphicsParams changed
4202 2003-06-02 John Levon <levon@movementarian.org>
4208 * text3.C: remove insetparent
4210 2003-06-02 John Levon <levon@movementarian.org>
4213 * buffer.C: fix inset_iterator.end(), move out of line
4216 2003-06-01 John Levon <levon@movementarian.org>
4218 * text3.C: use a proper cut/paste when doing inset
4219 insert (from Jürgen Spitzmüller)
4221 2003-06-01 John Levon <levon@movementarian.org>
4223 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4225 2003-05-30 André Pönitz <poenitz@gmx.net>
4227 * rowpainter.C: unify second drawing phase
4229 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4231 * trans_mgr.C: remove one case of current_view
4233 * text2.C (cursorBottom): delete NO_STD_LIST stuff
4235 * paragraph_funcs.h: remove paragraph.h include
4237 * paragraph.h: delete NO_STD_LIST stuff
4239 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4241 * buffer.h: remove paragraph.h include
4243 * ParagraphList.C: delete file
4245 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4247 * toc.C (getTocList): adjust
4249 * paragraph_pimpl.C (validate): adjust
4251 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4253 * paragraph.C (Paragraph): adjust
4254 (getPositionOfInset): use const_iterator, adjust
4255 (bibitem): use const_iterator, adjust
4256 (setInsetOwner): adjust
4258 * iterators.C (operator++): adjust
4260 * InsetList.[Ch]: Replace selfmade iterator with standard
4261 vector::iterator also introduce const_iterator. Remove getPos,
4262 getInset and setInset from InsetTable. Adjust accordingly.
4264 * BufferView.C (lockInset): adjust
4265 (ChangeInsets): adjust
4267 * tabular.[Ch]: delete commented same_id functions
4269 2003-05-28 John Levon <levon@movementarian.org>
4271 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4273 2003-05-28 André Pönitz <poenitz@gmx.net>
4275 * metricsinfo.[Ch]: remove 'fullredraw' member
4277 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
4279 * lyxtextclass.C (operator): remove caching.
4281 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4285 * text2.C (cursorBottom): adjust
4286 (setCounter): use ParagraphList::find, adjust
4288 * text.C (workWidth): use ParagraphList::find, adjust
4290 * lyxcursor.C (LyXCursor): adjust
4292 * buffer.C (inset_iterator): adjust
4294 * ParagraphList.h: make iterator(value_type) private, make
4295 ParagraphList a friend of iterator.
4297 * ParagraphList.C (find): new function
4299 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4301 2003-05-27 André Pönitz <poenitz@gmx.net>
4303 * dimension.[Ch]: a -> asc, d -> des, w -> wid
4305 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4307 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4309 2003-05-26 John Levon <levon@movementarian.org>
4311 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4313 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4315 * remove same_id from function signatures, adjust.
4317 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * undo_funcs.C (createUndo): use the id functions directly, adjust.
4321 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4323 * paragraph.C (Paragraph): get rid of same_ids parameter
4325 * ParagraphList.C (insert): adjust
4328 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * paragraph_funcs.C (breakParagraph): adjust
4331 (breakParagraphConservative): adjust
4333 * buffer.C (readParagraph): adjust
4335 * ParagraphList.C (insert): take a reference instead of a pointer
4338 * paragraph.[Ch] (id): new function
4340 * bufferlist.C (newFile): adjust
4342 * ParagraphList.C (ParagraphList): adjust
4344 (push_back): take a reference instead of a pointer.
4346 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4348 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4351 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4352 set else use old code.
4354 * ParagraphList.C: remove all NO_NEXT code and only compile this
4355 code of NO_STD_LIST is set.
4357 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4359 * BufferView_pimpl.C:
4369 * graphics/GraphicsConverter.C:
4370 * graphics/PreviewLoader.C: header adjustment
4372 2003-05-23 Angus Leeming <leeming@lyx.org>
4374 * LaTeXFeatures.[Ch] (useBabel): new method.
4375 * bufferparams.C (writeLaTeX): use it.
4377 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4379 * ParagraphList.h (set): remove unused function.
4381 2003-05-23 André Pönitz <poenitz@gmx.net>
4384 * BufferView_pimpl.C:
4388 * undo_funcs.C: setUndo reworked
4390 * iterators.[Ch]: add access to topmost ParagraphList
4392 * lyxtext.[Ch] (workWidth): add a const
4394 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
4396 * texrow.[Ch] (increasePos): remove function
4397 * exporter.C (export): removed unused var and outdated comment
4399 2003-05-23 Angus Leeming <leeming@lyx.org>
4401 * latexrunparams.h: rename fragile as moving_arg.
4402 * paragraph.C (simpleTeXOnePar): ditto.
4403 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4405 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4409 (textUndoOrRedo): comment out a currently unused var.
4411 * paragraph.h (NO_NEXT): enable NO_NEXT
4413 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4415 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4417 * exporter.C (Export): adjust for removeAutoInsets removal.
4419 * buffer.C (runChktex): adjust for removeAutoInsets removal.
4421 * LyXAction.C (init): remove LFUN_REMOVEERRORS
4423 * BufferView.[Ch] (removeAutoInsets): delete function
4425 2003-05-22 Angus Leeming <leeming@lyx.org>
4427 * latexrunparams.h: add a free_spacing variable.
4429 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4430 to pass moving_arg, as the data is stored in runparams.fragile.
4432 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4433 to Inset::latexOptional or to simpleTeXOnePar.
4435 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4436 free_spacing arg to Inset::latexOptional.
4438 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4441 2003-05-22 Angus Leeming <leeming@lyx.org>
4443 * latexrunparams.h: add fragile and use_babel variables.
4445 * bufferparams.[Ch] (writeLaTeX): return use_babel.
4446 * buffer.C (makeLaTeXFile): store this returned value in
4447 runparams.use_babel, thus passing it to the inset::latex methods.
4449 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4450 simpleTeXSpecialChars as it is now stored in runparams.fragile.
4452 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4453 longer has a fragile arg, as it is stored in runparams.fragile.
4455 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4456 moving_arg parameter as the data is stored in runparams.fragile.
4458 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4459 a fragile parameter as the data is stored in runparams.fragile.
4461 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4463 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4465 2003-05-22 Angus Leeming <leeming@lyx.org>
4467 * latexrunparams.h: add a 'bool nice' which defaults to false.
4469 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4470 now encapsulated within runparams.
4472 * bufferlist.C (updateIncludedTeXfiles):
4473 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4475 2003-05-22 Angus Leeming <leeming@lyx.org>
4477 * latexrunparams.h: new file containing struct LatexRunParams.
4478 * Makefile.am: add new file.
4480 * LaTeX.[Ch] (c-tor, run):
4481 * buffer.[Ch] (makeLaTeXFile):
4482 * bufferlist.[Ch] (updateIncludedTeXfiles):
4483 * converter.C (convert, scanLog):
4484 * converter.[Ch] (runLaTeX):
4485 * exporter.C (Export):
4486 * paragraph.[Ch] (simpleTeXOnePar):
4487 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4488 * paragraph_funcs.[Ch] (latexParagraphs):
4489 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4490 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4491 pass around a LatexRunParams parameter.
4493 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * paragraph.[Ch]: remove unused constructor
4497 * ParagraphList.C (erase): new function, taking two iterators
4499 2003-05-22 André Pönitz <poenitz@gmx.net>
4501 * undo_funcs.C: remove duplicated code
4503 * iterator.[Ch]: operator=
4505 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * tabular.C (SetMultiColumn): ws changes
4509 * rowpainter.C (paintFirst): get rid of a ->previous
4511 * lyx_cb.C (getPossibleLabel): parlist simplification
4513 * BufferView.C (ChangeInsets): simplify slightly.
4515 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4517 * LyXAction.C: new lfun space-insert, kill protected-space-insert
4518 * lfuns.h: new LFUN_SPACE
4519 * lyxfunc.C: protected space has a new lfun
4520 * paragraph_funcs.C: read new space insets
4522 * factory.C: handle new space insets
4524 2003-05-22 André Pönitz <poenitz@gmx.net>
4527 * BufferView_pimpl.C:
4530 * undo_funcs.C: return a ParIterator from getParFromID.
4532 * iterators.[Ch]: add two const's
4534 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * toc.C (getTocList): adjust
4538 * iterators.[Ch]: rework for parlist
4540 * buffer.C (par_iterator_begin): adjust
4541 (par_iterator_end): adjust
4543 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4545 * BufferView.C (removeAutoInsets): adjust
4546 (ChangeInsets): adjust
4548 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
4550 * text.C (top_y): fix bug 1110
4552 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
4554 * errorlist.[Ch]: added
4557 * BufferView_pimpl.C:
4558 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4561 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * Makefile.am: ensure that lyx is relinked upon changes to the
4564 various "convenience" libs.
4566 2003-05-20 Angus Leeming <leeming@lyx.org>
4568 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4569 files are compiled in alphabetical order again.
4571 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4573 2003-05-19 Angus Leeming <leeming@lyx.org>
4575 * gettext.[Ch]: remove "char const * _(char const *)".
4577 2003-05-19 André Pönitz <poenitz@gmx.net>
4579 * dimension.[Ch]: promote from mathed/dimension.[Ch]
4588 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4590 2003-05-19 André Pönitz <poenitz@gmx.net>
4594 * lyxtextclass.[Ch]:
4596 * paragraph_funcs.[Ch]:
4598 * text3.C: more insetenv work
4600 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
4602 * ParagraphParameters.C (params2string): small bug fixed
4604 2003-05-16 André Pönitz <poenitz@gmx.net>
4607 * bufferview_funcs.C: patch from Kornel Benko to prevent
4608 crash when _(...) is called twice in a statement
4610 2003-05-16 André Pönitz <poenitz@gmx.net>
4617 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4619 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
4621 * lyx_main.C (init): remove spurious static_cast
4623 2003-05-14 André Pönitz <poenitz@gmx.net>
4625 * BufferView.C: fix format string
4627 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
4629 * BufferView.[Ch] (insertErrors): removed
4630 * BufferView.[Ch] (showErrorList): added
4631 * buffer.C (runChkTeX):
4632 * converter.C (scanLog): call showErrorList instead of inserterrors
4634 2003-05-13 André Pönitz <poenitz@gmx.net>
4636 * BufferView_pimpl.C:
4638 * bufferview_func.C:
4645 * tabular_funcs.h: tostr() from its own header
4647 * ParagraphParameters.C:
4652 * text3.C: STRCONV()
4654 2003-05-12 André Pönitz <poenitz@gmx.net>
4657 * BufferView_pimpl.C:
4661 * ParagraphParameters.C:
4665 * bufferview_funcs.C:
4678 * paragraph_funcs.C:
4682 * text3.C: boost::format -> bformat all over the place
4685 2003-05-09 André Pönitz <poenitz@gmx.net>
4687 * LColor.[Ch]: Pimpl the #include <map> away
4689 2003-05-09 John Levon <levon@movementarian.org>
4691 * bufferlist.C: never remove emergency saves
4693 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * Makefile.am: better lib building
4697 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * texrow.[Ch]: remove dependency on Paragraph and just store a id
4701 * paragraph_pimpl.C (simpleTeXBlanks): adjust
4702 (simpleTeXSpecialChars): adjust
4703 (simpleTeXSpecialChars): adjust
4704 * paragraph.C (simpleTeXOnePar): adjust
4705 * buffer.C (makeLaTeXFile): adjust
4707 * Makefile.am (BOOST_LIBS): allow boost as system lib.
4709 * text2.C (changeDepth): parlist cleanup
4710 (getColumnNearX): ditto
4712 * rowpainter.C (getLabelFont): parlist cleanup
4714 * bufferlist.C (newFile): parlist cleanup
4716 * CutAndPaste.C (eraseSelection): parlist cleanup
4718 * BufferView_pimpl.C (trackChanges): parlist cleanup
4721 * BufferView.C (lockInset): parlist cleanup.
4722 (ChangeInsets): ditto
4724 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4726 * CutAndPaste.h: Update file header.
4728 * CutAndPaste.C: Update file header.
4729 Store the parts cut out of the Document in a limited_stack.
4730 (copySelection): adjust
4731 (pasteSelection): new function, takes the index in the limited stack.
4732 (nrOfParagraphs): adjust
4733 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4734 simplify error inset insertion.
4735 (checkPastePossible): adjust
4737 2003-05-06 John Levon <levon@movementarian.org>
4739 * text2.C: don't cast wrap inset to float
4741 2003-05-05 André Pönitz <poenitz@gmx.net>
4744 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4746 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4747 few naked Paragraph *.
4749 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
4751 * bufferparams.C: Output warning if a document with missing
4752 TeX document class is loaded
4753 * exporter.C: Disable TeX exports if the document class is missing
4756 * lyxtextclasslist.C: Handle new textclass.lst format; new method
4757 isTeXClassAvailable()
4759 2003-05-03 John Levon <levon@movementarian.org>
4762 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4763 explicit cursor show/hide
4765 * BufferView_pimpl.h:
4766 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4767 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4769 * lyxfunc.C: hide cursor before dispatching.
4774 * text3.C: remove explicit cursor hides
4776 2003-05-02 André Pönitz <poenitz@gmx.net>
4778 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4781 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4784 * text2.C: tiny whitespace
4786 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * undo_funcs.C: almost only ws changes.
4790 * ParagraphList.C (splice): just return if pl is empty.
4792 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * ParagraphList.C (splice): new function.
4796 * CutAndPaste.C (pasteSelection): use it
4798 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * CutAndPaste.C (pasteSelection): remove the last next and
4801 previous from this file.
4803 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4805 * CutAndPaste.C (pasteSelection): more clean up, user proper
4806 ParagraphList functions for pasteing.
4808 * ParagraphList.C (insert): new function, three arg insert
4810 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * ParagraphList.C (insert): new function, three arg insert
4814 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4817 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4819 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4821 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * CutAndPaste.C (pasteSelection): remove some unneeded code.
4825 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4827 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4828 (copySelection): clean up a bit.
4829 (pasteSelection): use make_pair
4831 * ParagraphList.C (ParagraphList): implement copy constructor
4832 (operator=): implement, base on copy constructor.
4835 * paragraph.C (erase): return a bool
4837 * paragraph_pimpl.C (erasePos): remove function, move contents...
4838 (erase): ... here. Return a bool.
4839 (erase): call erase instead of erasePos.
4841 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
4843 * ParagraphList.h: define PitPosPair
4844 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4845 ParagraphList, fix a bug on pasting multiple pars
4846 * text2.C: change interface to C&P
4848 2003-04-30 André Pönitz <poenitz@gmx.net>
4850 * undo_func.C: revert part of yesterday's patch 2
4852 2003-04-30 John Levon <levon@movementarian.org>
4854 * LColor.C: s/tabular/table/
4856 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
4858 * text3.C (dispatch): do not convert iterator -> pointer
4859 * undo_funcs.C (setCursorParUndo): ditto
4860 * text_funcs.C (transposeChars): ditto
4862 * text2.C (setLayout): ws changes only
4864 * text.C (breakParagraph): do not convert iterator -> pointer
4866 (acceptChange): ditto
4867 (rejectChange): ditto
4872 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4875 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4877 * text3.C (gotoInset): YABG (yet another bad getChar)
4879 2003-04-29 André Pönitz <poenitz@gmx.net>
4881 * paragraph.h: make operator= private unimplemented as long as
4884 * ParagraphList.C: whitespace
4887 * paragraph_pimpl.[Ch]:
4888 * paragraph_funcs.C:
4890 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
4893 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4895 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
4897 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4898 * paragraph.[Ch] (erase):
4899 * paragraph_pimpl.[Ch] (erase): change return type and value
4900 * text2.C (cutSelection): some rework
4902 2003-04-28 John Levon <levon@movementarian.org>
4904 * bufferlist.C: changes for unsaved changes dialog
4906 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4908 * bufferlist.C (newFile): set language (messages_) for new
4911 * buffer.C (readFile): ws changes only.
4913 2003-04-28 André Pönitz <poenitz@gmx.net>
4918 * BufferView_pimpl.C:
4919 * BufferView.C: getParFromID related ParagraphList::iterator changes
4921 2003-04-28 André Pönitz <poenitz@gmx.net>
4923 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4926 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * messages.C: remove one more localedir class variable.
4930 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4932 * messages.C (getLocaleDir): singleton generation function
4934 (Messages): add a default constructor.
4936 * main.C (main): do not setup localedir here, do not call
4939 * gettext.C (_): use it.
4940 (gettext_init): delete funciton
4942 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4944 * gettext.C (getLyXMessages): new singleton generating function.
4946 * buffer.C (updateDocLang): adjust
4948 * Makefile.am (messages.o): add target
4949 (main.o): remove target
4951 2003-04-27 John Levon <levon@movementarian.org>
4956 * lyxvc.C: specify cancel button in Alert::prompt
4958 2003-04-26 John Levon <levon@movementarian.org>
4963 * LyXAction.C: add LFUN_INSET_SETTINGS
4965 * lyxfunc.C: don't enable tabular-feature when there's
4966 just any locking inset
4968 2003-04-26 John Levon <levon@movementarian.org>
4970 * bufferlist.C: re-add Cancel to buffer close question
4972 * lyxfunc.C: fix import UI a bit
4974 2003-04-25 John Levon <levon@movementarian.org>
4976 * gettext.C: remove the broken asserts for now
4978 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * messages.C: make case where setlocale cannot comply work better.
4982 * buffer.C (updateDocLang): new function
4983 (changeLanguage): use it
4986 * text2.C (setCounter): use B_ a bit.
4988 * lyxlayout.C (Read): be sure to trim the label strings.
4990 * messages.C (Messages): fix typo in comment
4992 * buffer.C (readFile): set message_ after file is loaded.
4993 (makeDocBookFile): remove double return
4994 (changeLanguage): reset message_ upon language change.
4995 (B_): new func, use this to get translated buffer strings.
4997 * main.C: add myself and Jean Marc as authors.
4999 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5001 * messages.[hC]: pimplify Messages, and three different pimpls to be
5002 used in different circumstances.
5004 * gettext.[Ch]: change for use with new message code.
5006 2003-04-24 André Pönitz <poenitz@gmx.net>
5008 * factory.C: support for eqref
5010 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5012 * messages.[Ch]: add missing char
5014 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5016 * messages.[Ch]: New files
5018 2003-04-18 John Levon <levon@movementarian.org>
5022 * BufferView_pimpl.C:
5026 * text2.C: remove layout-copy/paste (bug 778)
5028 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5030 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5032 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5034 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5035 if they succeed. Act accordingly.
5037 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5039 * text2.C (setCharFont): adjust
5040 (setCounter): adjust
5041 (insertStringAsLines): adjust
5043 * text.C (leftMargin): adjust
5044 (setHeightOfRow): adjust
5046 * rowpainter.C (paintFirst): adjust
5049 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5051 (isFirstInSequence): ditto
5052 (getEndLabel): ditto
5055 * paragraph.C (getParLanguage): comment out some hard stuff.
5057 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5059 (simpleDocBookOnePar): ditto
5060 (makeDocBookFile): use ParagraphList::iterator
5062 * CutAndPaste.C (pasteSelection): adjust
5064 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5066 * text2.C (getFont): adjust
5067 (getLayoutFont): adjust
5068 (getLabelFont): adjust
5070 * paragraph_funcs.C (TeXOnePar): adjust
5072 * buffer.C (simpleLinuxDocOnePar): adjust
5073 (simpleDocBookOnePar): adjust
5075 * CutAndPaste.C (pasteSelection): adjust
5077 * BufferView.C (getEncoding): adjust
5079 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5081 2003-04-16 John Levon <levon@movementarian.org>
5083 * lyxfind.C: use parlist stuff for search/changes
5085 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5089 * text2.C (deleteEmptyParagraphMechanism): adjust
5091 * text2.[Ch] (ownerParagraph): delete func (both of them
5093 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5095 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5097 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * ParagraphList.C: prepare for NO_NEXT
5101 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * text2.C (getFont): adjust
5104 (getLayoutFont): adjust
5105 (getLabelFont): adjust
5107 * paragraph.C (getFont): adjust
5108 (getLabelFont): adjust
5109 (getLayoutFont): adjust
5111 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5113 2003-04-15 John Levon <levon@movementarian.org>
5117 * lyx_main.C: handle Include in .ui files
5119 2003-04-15 John Levon <levon@movementarian.org>
5121 * MenuBackend.C: make the doc files length shorter
5124 * ToolbarBackend.C: handle toolbar placement flags,
5127 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5132 * paragraph_funcs.C (TeXOnePar): adjust
5134 * paragraph.C (getLabelFont): add outerfont arg, adjust
5135 (getLayoutFont): ditto
5136 (simpleTeXOnePar): adjust
5138 * paragraph_pimpl.C (realizeFont): delete func
5140 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5142 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5143 row argument, constify cur argument.
5145 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5147 * text2.C (getFont): adjust
5148 (getLayoutFont): adjust
5149 (getLabelFont): adjust
5151 * paragraph_funcs.C (TeXOnePar): adjust
5152 (outerFont): new func...
5153 (realizeFont): ...moved out from here, changed this to facilitate
5156 * paragraph.C (getFont): take outerfont as arg, adjust
5157 (simpleTeXOnePar): add outerfont arg, adjust
5159 * buffer.C (simpleLinuxDocOnePar): adjust
5160 (simpleDocBookOnePar): adjust
5162 * CutAndPaste.C (pasteSelection): adjust
5164 * BufferView.C (getEncoding): adjust
5166 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5168 * text2.C (setCharFont): adjust
5169 (setCounter): adjust
5171 * text.C (leftMargin): adjust
5172 (setHeightOfRow): adjust
5174 * rowpainter.C (paintFirst): adjust
5177 * paragraph_pimpl.C (realizeFont): adjust
5179 * paragraph.C (isFirstInSequence): move from here...
5180 * paragraph_funcs.C (isFirstInSequence): ...to here
5182 * paragraph.C (outerHook): move from here...
5183 * paragraph_funcs.C (outerHook): ...to here
5185 * paragraph.C (depthHook): move from here...
5186 * paragraph_funcs.C (depthHook): ...to here
5188 * paragraph.C (getEndLabel): move from here...
5189 * paragraph_funcs.C (getEndLabel): ...to here
5191 * text2.C (realizeFont): move from here...
5192 * paragraph_funcs.C (realizeFont): ...to here
5194 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5196 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5198 2003-04-14 Angus Leeming <leeming@lyx.org>
5200 * LColor.[Ch]: scrap LColor mathcursor.
5202 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5204 * lyxlex.[Ch] (text): delete function
5205 * trans.C (Load): adjust
5206 * paragraph_funcs.C (readParToken): adjust
5208 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5211 vector<char> instead of a char[].
5213 * lyxlex_pimpl.C (getString): adjust
5215 (lex): use getString
5219 * lyxlex.C (text): use pimpl_->getString()
5223 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5225 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5226 (makeFontEntriesLayoutSpecific): temp var for par.size()
5227 (setLayout): temp var for ownerParagraphs().end()
5228 (fullRebreak): temp var for rows().end()
5229 (selectionAsString): temp var for boost::next(startpit), realize
5230 that the while really is a regular for loop.
5231 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5232 setCursor in one place.
5233 (setParagraph): temp vr for ownerParagraphs().end()
5234 (updateCounters): make the while loop a for loop
5235 (cutSelection): temp var for ownerParagraphs().end()
5236 (updateInset): make the do {} while() a regular for loop
5237 (getCursorX): use temp vars
5238 (setCurrentFont): use temp vars
5239 (getColumnNearX): use temp vars
5241 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * text.C (transformChar): use temp var for getChar
5244 (computeBidiTables): use temp var for row->par()
5245 (fill): move temp vars for row->par() and pit->layout() earlier in
5247 (labelFill): use temp var for row->par()
5248 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5249 asc and desc, realize that pit never changes and that firstpit is
5250 just a duplicate and not needed. Exchange rit->par() with pit in a
5252 (breakAgain): use a temp var for boost::next(rit)
5253 (breakAgainOneRow): ditto
5254 (breakParagraph): use a temp var for rows().begin()
5255 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5256 (cursorRightOneWord): use temp var for cursor.par() and
5257 cursor.pos(), remove usage of tmpcursor.
5258 (cursorLeftOneWord): use temp var for cursor.par() and
5259 cursor.pos() only set cur at end of function.
5261 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
5263 * text.C, text2.C: exchange all usage of Paragraph::next with
5264 boost::next(ParagraphList::iterator)
5266 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5268 * text2.C (cursorTop): simplify implementation
5269 (cursorBottom): ditto
5270 (setParagraph): use ParagraphList::iterator
5271 (setCurrentFont): adjust
5272 (getColumnNearX): adjust
5273 (cursorRight): adjust
5274 (cursorLeft): remove usage of Paragraph::previous
5275 (cursorUpParagraph): ditto
5276 (deleteEmptyParagraphMechanism): slight cleanup
5278 * text.C (isBoundary): take a Paragraph const & instead of a
5280 (addressBreakPoint): ditto
5281 (leftMargin): remove usage of Paragraph::previous.
5282 (setHeightOfRow): ditto
5283 (cursorLeftOneWord): ditto
5284 (selectNextWordToSpellcheck): ditto
5287 (breakParagraph): remove one usage of Paragraph::next
5288 (redoParagraph): ditto
5289 (acceptChange): ditto
5290 (insertChar): adjust
5291 (rowBreakPoint): adjust
5293 * bufferview_funcs.C (toggleAndShow): adjust
5295 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
5297 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5298 methods to access it.
5300 * text.C: Added updateRowPositions to compute all row positions.
5301 Make top_y and getRowNearY() to use the cached y position
5303 2003-04-11 John Levon <levon@movementarian.org>
5305 * text.C (rowBreakPoint): reintroduce the labelEnd
5306 checks, code copied from the row fill stuff. Deep voodoo.
5308 * text.C (fill): add a comment and debugging for the
5311 2003-04-11 John Levon <levon@movementarian.org>
5313 * text.C: make sure fullrow insets get wrapped to the next line,
5314 even when they're in a manual label
5316 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5318 * text2.C (insertParagraph): make it take ParagraphList::iterator
5320 (setLayout): make it return ParagraphList::iterator
5321 (redoParagraphs): ditto
5323 (checkParagraph): ditto
5325 * text.C (getRow): make getrow take ParagraphList::iterator as arg
5327 * text2.C: adjust several funcs.
5328 (realizeFont): take a ParagraphList::iterator as arg.
5329 (getLayoutFont): ditto
5330 (getLabelFont): ditto
5331 (setCharFont): ditto
5333 * text.C: adjust several funcs.
5335 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5337 * text.C (selectNextWordToSpellcheck): don't accidentally
5340 2003-04-10 John Levon <levon@movementarian.org>
5342 * ToolbarBackend.C (getIcon): special handling for
5345 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
5347 * text2.C (cursorRight): a getChar assert fixed
5349 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5351 * text2.C (getFont): change to take a ParagraphList::iterator
5352 instead of Paragraph*
5353 Adjust several functions.
5355 * text.C (transformChar): change to take a ParagraphList::iterator
5356 instead of Paragraph*
5357 (singleWidth): ditto
5358 Adjust several functions.
5360 * rowpainter.C: adjust several functions
5361 * rowpainter.h:store a ParagraphList::iterator and not a
5365 2003-04-09 John Levon <levon@movementarian.org>
5370 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5371 and the "help" bits as well
5373 2003-04-09 John Levon <levon@movementarian.org>
5376 * ToolbarBackend.C: allow multiple toolbars
5378 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * undo_funcs.C (setCursorParUndo): adjust
5382 * text_funcs.C (transposeChars): adjust
5384 * text3.C (gotoNextInset): adjust
5387 * text2.C (setLayout): adjust
5388 (changeDepth): adjust
5390 (redoParagraphs): adjust
5391 (selectionAsString): adjust
5392 (setParagraph): adjust
5393 (insertInset): adjust
5394 (cutSelection): adjust
5395 (copySelection): adjust
5396 (pasteSelection): adjust
5397 (insertStringAsLines): adjust
5398 (updateInset): adjust
5399 (setCursor): change to take a ParagraphList::iterator parameter
5400 (setCursorIntern): change to take a ParagraphList::iterator parameter
5401 (setCurrentFont): adjust
5402 (cursorLeft): adjust
5403 (cursorRight): adjust
5404 (deleteEmptyParagraphMechanism): adjust
5406 * text.C (breakParagraph): adjust
5407 (insertChar): adjust
5408 (acceptChange): adjust
5409 (rejectChange): adjust
5410 (selectNextWordToSpellcheck): adjust
5411 (changeCase): adjust
5415 * lyxfind.C (SearchForward): adjust
5416 (SearchBackward): adjust
5417 (nextChange): adjust
5419 * lyxcursor.C (par): adjust
5421 * lyxcursor.h: store a ParagraphList::iterator instead of a
5424 * lyx_cb.C (getPossibleLabel): adjust
5426 * bufferview_funcs.C (toggleAndShow): adjust
5428 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5431 * BufferView.C (removeAutoInsets): adjust
5432 (lockedInsetStoreUndo): adjust
5434 2003-04-09 John Levon <levon@movementarian.org>
5436 * ToolbarBackend.C: try icon without argument
5437 if with argument fails
5439 2003-04-08 John Levon <levon@movementarian.org>
5442 * ToolbarBackend.C: add getIcon(), handle tooltip,
5443 and change from "Icon" to "Item".
5445 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5447 * BufferView.C (lockInset): another bad getchar crunched
5449 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
5451 * text2.C (changeDepth): do not setUndo on test_only (make undo work
5454 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
5456 * lyxfind.C (searchForward, searchBackwards): bug 782
5458 2003-04-07 John Levon <levon@movementarian.org>
5460 * paragraph.C: remove dead comment
5462 * text.C: remove troublesome depth-fiddling code
5463 in leftMargin() and rightMargin() (bug 1017)
5465 * text.C: fix breaking of rows in nested lists
5468 * text2.C (updateCounters): fix up depth values
5471 2003-04-07 John Levon <levon@movementarian.org>
5473 * BufferView_pimpl.C: clear message when doc finishes resizing,
5474 and after a mouse event
5476 * lyxfunc.C: clear message after exiting inset
5478 2003-04-07 John Levon <levon@movementarian.org>
5480 * bufferview_funcs.C: show math status not outside
5481 status in the statusbar
5483 2003-04-07 John Levon <levon@movementarian.org>
5485 * lyxfunc.C: note status changed after a depth change
5487 2003-04-04 Angus Leeming <leeming@lyx.org>
5489 * LaTeX.h: move AuxInfo operator==, != out of line.
5490 Remove LaTeX virtual destructor; nothing derives from it.
5491 Move operator()() out of public area and rename it startscript().
5492 Change protected for private.
5494 2003-04-04 Angus Leeming <leeming@lyx.org>
5497 * text2.C: remove unneeded #includes.
5499 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5501 * text2.C (dEPM): fix the heigth of the next row
5503 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
5505 * text.C: squashed an invalid getChar requester + some ws changes
5507 2003-04-03 John Levon <levon@movementarian.org>
5509 * bufferview_funcs.h:
5510 * bufferview_funcs.C:
5513 * text2.C: make getStatus work for the env depth lfuns
5515 2003-04-03 John Levon <levon@movementarian.org>
5517 * bufferview_funcs.h:
5518 * bufferview_funcs.C:
5521 * text2.C: parlistize decDepth(), by merging it with incDepth()
5523 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * lyxrow.h: store a ParagraphList::iterator instead of a
5526 Paragraph* and adjust other class functions to suit.
5528 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5531 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5533 * text2.C (setCursor): do not anchor to cursor row for the time being
5535 2003-04-02 John Levon <levon@movementarian.org>
5542 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5544 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * paragraph.h: make ParagraphList and ParagraphList::iterator
5547 friends of Paragraph.
5549 * buffer.C (makeLinuxDocFile): move towards ParagraphList
5551 * ParagraphList.C: Use the private next_ and previous_ from
5554 2003-04-01 John Levon <levon@movementarian.org>
5558 * Makefile.am: rename, remove defaults gunk
5561 * MenuBackend.C: remove defaults gunk
5564 * Languages.C: remove defaults gunk
5567 * lyx_main.C: error out if files couldn't be found.
5569 2003-04-02 John Levon <levon@movementarian.org>
5571 * text2.C: make incDepth() use parlist
5573 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * undo_funcs.C (firstUndoParagraph): adjust
5577 * text3.C (gotoInset): adjust
5578 (dispatch): adjust, and rewrite loop.
5580 * text2.C (init): adjust, and rewrite loop.
5581 (redoParagraphs): adjust
5582 (updateInset): adjust, and rewrite loop.
5583 (deleteEmptyParagraphMechanism): adjust
5585 * tabular.C (LyXTabular): adjust
5586 (SetMultiColumn): adjust
5589 * lyxtext.[Ch] (ownerParagraph): delete function
5590 (ownerParagraphs): new function returns a ParagraphList.
5592 * BufferView.C (removeAutoInsets): adjust
5593 (insertErrors): adjust
5594 (setCursorFromRow): adjust
5596 2003-04-01 Angus Leeming <leeming@lyx.org>
5598 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5601 2003-04-02 John Levon <levon@movementarian.org>
5607 * text_funcs.C: make transposeChars a free function
5609 * lyxrow_funcs.C: remove wrong comment
5611 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5614 * rowpainter.C: adjust
5619 * lyxrow_funcs. [Ch]: new files
5621 * lyxrow.[Ch]: remove next and previous pointers
5622 (next,previous): remove accessor functions
5623 (isParEnd): move to lyxrow_funcs
5624 (lastPos): move to lyxrow_funcs
5625 (nextRowIsAllInset): move to lyxrow_funcs
5626 (lastPrintablePos): move to lyxrow_funcs
5627 (numberOfSeparators): move to lyxrow_funcs
5628 (numberOfHfills): move to lyxrow_funcs
5629 (numberOfLabelHfills): move to lyxrow_funcs
5630 (hfillExpansion): move to lyxrow_funcs
5634 * bufferview_funcs.C (toggleAndShow): adjust
5636 * RowList.h: Remove class RowList from file leave just a
5639 * RowList.C: delete file
5641 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5644 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5646 * text3.C (cursorPrevious): adjust
5647 (cursorNext): adjust
5650 * text2.C (redoHeightOfParagraph): adjust
5651 (redoDrawingOfParagraph): adjust
5654 * text.C (breakParagraph): adjust
5655 (insertChar): adjust
5658 * rowpainter.C (RowPainter): adjust
5659 (leftMargin): simplify and adjust
5660 (most rowpainter functions): adjust.
5662 * rowpainter.h: store the row as RowList::iterator not as Row*
5664 * lyxcursor.C (row): taka RowList::iterator as arg
5667 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5670 2003-04-01 Angus Leeming <leeming@lyx.org>
5672 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5673 stuff like bool Bool.
5675 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
5677 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5680 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5682 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5685 * lyxtext.h (rows): drop one version and leve a const variant that
5686 returns a RowList::iterator.
5688 2003-03-31 Angus Leeming <leeming@lyx.org>
5690 * text.C (fill): ensure that the signature is the same as that in the
5693 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * text2.C (redoParagraphs): adjust
5696 (updateCounters): adjust
5697 (checkParagraph): adjust
5698 (getColumnNearX): adjust and reformat a bit.
5700 * text.C (top_y): adjust
5702 (leftMargin): adjust
5703 (prepareToPrint): adjust
5705 (getRowNearY): adjust
5707 * lyxtext.h: make rowlist_ mutable.
5709 * RowList.h: add const_iterator
5710 * RowList.C: adjust for RowList::const_iterator.
5712 * text2.C (getCursorX): make it take a RowList::iterator as arg,
5715 2003-03-31 John Levon <levon@movementarian.org>
5718 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5720 * lyx_main.C: set default fonts from using lyx_gui funcs
5722 * exporter.C: pdf_mode moved from lyxrc
5725 * lyxfunc.C: changes from above
5727 2003-03-31 John Levon <levon@movementarian.org>
5729 * lyx_main.C: fix to the last fix
5731 2003-03-31 John Levon <levon@movementarian.org>
5733 * bufferlist.C: "Load original" -> "Load Original"
5739 * format.C: more Alert cleanups
5741 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5743 * text2.C (removeParagraph): make it take a RowList::iterator as
5745 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5746 (postRowPaint): make it take a RowList::iterator as arg, adjust.
5748 * text.C (anchor_row): make it take a RowList::iterator as arg,
5750 (computeBidiTables): make it take a const reference to Row instead
5751 of Row pointer, adjust.
5752 (leftMargin): make it take a RowList::iterator as arg, adjust.
5753 (rowBreakPoint): adjust
5754 (breakAgainOneRow): make it take a RowList::iterator as arg,
5756 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5758 * bufferview_funcs.C (toggleAndShow): adjust
5760 2003-03-30 John Levon <levon@movementarian.org>
5764 * boost-inst.C: moved to support
5766 * several files: changes as a result
5768 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * text2.C (LyXText): adjust.
5772 (removeRow): make it take a RowList::iterator as arg, adjust.
5773 (fullRebreak): adjust
5774 (deleteEmptyParagraphMechanism): adjust
5775 (clearPaint): adjust
5778 * text.C (top_y): adjust
5779 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5780 (breakAgain): make it take a RowList::iterator as arg, adjust.
5781 (breakParagraph): adjust
5782 (insertChar): adjust
5785 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5786 need_break_row, and refresh_row.
5788 * text3.C (dispatch): adjust
5790 * text2.C (checkParagraph): adjust
5792 (setCursorFromCoordinates): adjust
5794 * text.C (top_y): adjust
5796 (getRow): make it return a RowList::iterator, adjust
5797 (getRowNearY): make it return a RowList::iterator, adjust
5799 * text2.C (init): adjust
5800 (insertRow): remove function
5801 (insertParagraph): adjust
5802 (redoParagraphs): adjust
5803 (fullRebreak): adjust
5804 (updateCounters): adjust
5806 * text.C (top_y): rewrite to use RowList iterators.
5808 (setHeightOfRow): rewrite to sue RowList iterators.
5809 (appendParagraph): adjust
5810 (breakAgain): adjust
5811 (breakAgainOneRow): adjust
5812 (breakParagraph): adjust
5814 (getRowNearY): adjust, and remove commented code.
5816 * lyxtext.h (firstRow): delete function
5817 (lastRow): delete function
5818 (rows): new function (const and non-const versions.)
5819 (insertRow): delete function
5821 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5823 2003-03-29 John Levon <levon@movementarian.org>
5825 * BufferView_pimpl.C: always update scrollbar top
5826 because pasting text when we're anchored could mean we
5827 miss an update altogether
5829 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5831 * text2.C (init): use rowlist_.end() and not 0.
5832 (insertRow): change to take a RowList::iterator as arg, adjust
5834 (insertParagraph): change to take a RowList::iterator as arg,
5836 (redoParagraphs): remove some debug msgs.
5838 * text.C (appendParagraph): change to take a RowList::iterator
5839 arg, adjust for this.
5840 (breakAgain): add an assert
5841 (breakAgainOneRow): ditto
5843 2003-03-29 John Levon <levon@movementarian.org>
5845 * text2.C: do not clear selection after inc/decDepth
5848 2003-03-29 John Levon <levon@movementarian.org>
5851 * buffer.C: fix broken strerrors according to Lars
5853 2003-03-29 John Levon <levon@movementarian.org>
5855 * converters.C: more Alert cleanups
5857 2003-03-29 John Levon <levon@movementarian.org>
5859 * bufferview_funcs.C: remove pointless Alert
5861 * buffer.C: fix confusing error message when
5862 a template is chmoded 000
5864 2003-03-29 John Levon <levon@movementarian.org>
5868 * BufferView_pimpl.C: Alert fixes
5872 * tabular-old.C: remove unused table compat reading
5874 2003-03-29 John Levon <levon@movementarian.org>
5879 * lyx_cb.C: more Alert cleanups
5881 * lyxfunc.C: don't allow chktex if not latex document
5883 2003-03-29 John Levon <levon@movementarian.org>
5887 * buffer.C: warnings pushed down from support/,
5890 2003-03-29 John Levon <levon@movementarian.org>
5892 * lyxfunc.C: safety check for C-r (revert)
5894 2003-03-29 John Levon <levon@movementarian.org>
5897 * bufferlist.C: several UI fixes using Alert::prompt.
5898 Fix the pointless looping quit code. Fix stupid revert
5903 * lyx_cb.C: use Alert::prompt
5905 * lyx_main.C: remove a silly question
5907 * lyxfunc.C: remove a couple of silly questions,
5910 2003-03-28 John Levon <levon@movementarian.org>
5912 * text2.C: fix bug 974 (End on empty par)
5914 2003-03-28 John Levon <levon@movementarian.org>
5916 * BufferView_pimpl.C:
5918 * lfuns.h: remove do-nothing math greek lfuns
5920 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5922 * lyxgluelength.h (isValidGlueLength): add default arg on
5923 parameter 2. Remove default arg from friend in class.
5925 * lyxlength.h (isValidLength): add default arg on parameter 2.
5926 Remove default arg from friend in class.
5928 * text2.C (LyXText): adjust, initialize refresh_row.
5932 (insertParagraph): adjst
5933 (redoParagraphs): adjust
5934 (fullRebreak): adjust
5935 (updateCounters): adjust
5936 (deleteEmptyParagraphMechanism): first attempt at fixing a
5939 * text.C (top_y): adjust
5940 (setHeightOfRow): adjust
5942 (getRowNearY): adjust
5944 * lyxtext.h: include RowList.h
5945 (~LyXText): not needed anymore, deleted.
5946 (firstRow): modify for RowList
5947 (lastRow): new function
5948 Delete firstrow and lastrow class variables, add a Rowlist
5949 rowlist_ class variable.
5951 * lyxrow.C (lastPos): use empty() and not !size() to check if a
5954 * RowList.C (insert): fix case where it == begin().
5956 2003-03-26 Angus Leeming <leeming@lyx.org>
5958 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5959 the thesaurus dialog.
5961 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5965 * RowList.[Ch]: new files
5967 * ParagraphList.C (erase): handle the case where it == begin
5970 2003-03-25 John Levon <levon@movementarian.org>
5974 * aspell.C: add new aspell support
5977 * lyxrc.C: Make use_pspell be use_spell_lib. Always
5980 2003-03-25 Angus Leeming <leeming@lyx.org>
5983 * LyXAction.C (init): new LFUN_INSET_INSERT.
5985 * BufferView_pimpl.C (dispatch): split out part of the
5986 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5988 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5991 2003-03-25 Angus Leeming <leeming@lyx.org>
5993 * lyxfunc.C (dispatch): changes to the Dialogs interface.
5995 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
5998 * text3.C: remove useless row->height(0)
6000 2003-03-25 John Levon <levon@movementarian.org>
6004 * text3.C: rename the refreshing stuff to better names
6006 2003-03-24 John Levon <levon@movementarian.org>
6008 * BufferView_pimpl.h:
6009 * BufferView_pimpl.C: update layout choice on a mouse
6012 2003-03-23 John Levon <levon@movementarian.org>
6014 * Makefile.am: fix commandtags.h reference
6016 2003-03-22 John Levon <levon@movementarian.org>
6018 * BufferView_pimpl.C:
6023 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6025 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6028 * text.C: take the rtl methods out of line
6030 2003-03-21 André Pönitz <poenitz@gmx.net>
6032 * metricsinfo.[Ch]: new files containing structures to be passed around
6033 during the two-phase-drawing...
6035 2003-03-21 André Pönitz <poenitz@gmx.net>
6037 * lyxtextclass.C: read 'environment' tag.
6039 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6041 * text2.C (removeRow): fix bug 964
6043 2003-03-20 John Levon <levon@movementarian.org>
6047 * text2.C: paint cleanups. Inset::update() dropped font
6050 2003-03-19 John Levon <levon@movementarian.org>
6052 * lyxfunc.C: only fitcursor/markDirty if available()
6054 2003-03-19 John Levon <levon@movementarian.org>
6056 * commandtags.h: rename to ...
6058 * lfuns.h: ... this, and renumber / cleanup
6060 2003-03-19 John Levon <levon@movementarian.org>
6062 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6063 fit the cursor after an lfun
6067 * BufferView_pimpl.h:
6068 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6070 * LyXAction.C: layout-character should have ReadOnly
6072 * ParagraphParameters.C:
6074 * bufferview_funcs.C:
6081 * undo_funcs.C: changes from above
6083 2003-03-18 John Levon <levon@movementarian.org>
6085 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6086 remove it from update()
6088 * lyxfunc.C: update layout choice after an lfun
6090 * text3.C: remove extra updateLayoutChoice()s
6092 2003-03-18 John Levon <levon@movementarian.org>
6094 * text.C: top_y change means full repaint, fix
6095 a drawing bug with cursor movement
6097 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6101 * text2.C: anchor row on setCursor
6103 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6105 * lyxtext.h: remove almost all mutable keywords
6108 * text3.C: remove const keywords accordingly
6110 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6114 (TeXEnvironment): ditto
6117 2003-03-17 John Levon <levon@movementarian.org>
6119 * text.C (rowBreakPoint): remove attempt to fix displayed
6120 math insets inside a manual label
6122 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * lyxtext.h: remove BufferView* as first arg from almost all class
6126 * other files: adjust.
6128 2003-03-17 John Levon <levon@movementarian.org>
6132 * text2.C: more paint cleanups
6134 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6137 * rowpainter.C: remove "smart" background painting code
6139 2003-03-16 John Levon <levon@movementarian.org>
6144 * text3.C: add helper functions for setting refresh_row/y
6146 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6148 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6149 newline inset which *can* get inserted in the pass_thru layouts.
6150 This is primarily for literate documents.
6152 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6154 * buffer.C: increment LYX_FORMAT to 223
6156 2003-03-14 André Pönitz <poenitz@gmx.net>
6158 * textclass.h: prepare for environment handling, ws changes
6159 * lyxlayout.C: read latexheader and latexfooter tags
6161 2003-03-14 John Levon <levon@movementarian.org>
6163 * text2.C: rewrite ::status() a bit
6165 2003-03-13 John Levon <levon@movementarian.org>
6167 * lyxtext.h: add some docs
6169 2003-03-13 John Levon <levon@movementarian.org>
6174 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6176 2003-03-13 John Levon <levon@movementarian.org>
6178 * text3.C: fix appendix redrawing
6180 2003-03-13 John Levon <levon@movementarian.org>
6182 * text.C (setHeightOfRow):
6184 * rowpainter.C: make appendix mark have the text
6185 "Appendix" so the user knows what it is
6188 * LColor.C: s/appendixline/appendix/ from above
6190 2003-03-13 John Levon <levon@movementarian.org>
6192 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6194 * text.C: fix a getChar(pos) bug properly
6196 2003-03-13 Angus Leeming <leeming@lyx.org>
6199 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6200 Probably only temporary. Let's see how things pan out.
6202 * BufferView.C (unlockInset):
6203 * BufferView_pimpl.C (fitCursor):
6204 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6206 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6207 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6209 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6210 new functions that convert ParagraphParameters to and from a string.
6212 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6213 BufferView::Pimpl's dispatch.
6214 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6216 2003-03-13 André Pönitz <poenitz@gmx.net>
6220 * factory.C: make it aware of InsetEnv
6222 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * text2.C (setCursor): never ask for one past last
6225 (setCursor): add some debugging messages.
6227 * text.C (singleWidth): never ask for one past last
6228 (singleWidth): ditto
6230 (rightMargin): ditto
6231 (rowBreakPoint): ditto
6232 (setHeightOfRow): ditto
6233 (prepareToPrint): ditto
6235 * rowpainter.C (paintBackground): never ask for one past last
6236 (paintText): never ask for one past last
6238 * paragraph_pimpl.C (getChar): make the assert stricter, never
6239 allow the one past last pos to be taken
6241 * paragraph.C (getChar): ws changes only
6243 * lyxrow.C (nextRowIsAllInset): never ask for one past last
6244 (numberOfSeparators): ditto
6245 (numberOfHfills): ditto
6247 2003-03-12 John Levon <levon@movementarian.org>
6253 * paragraph_funcs.C: fix per-buffer authorlists
6255 2003-03-12 John Levon <levon@movementarian.org>
6257 * text.C: fix newline in right address
6259 2003-03-12 Angus Leeming <leeming@lyx.org>
6261 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6262 duplicate those in LyXFunc::dispatch.
6266 * ToolbarDefaults.C:
6267 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6268 Add LFUN_FONTFREE_UPDATE.
6270 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6271 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6273 * bufferview_func.[Ch]: several new functions to facilliate
6274 transfer of data to and from the character dialog.
6276 2003-03-12 John Levon <levon@movementarian.org>
6281 * paragraph_funcs.C:
6282 * paragraph_pimpl.C:
6286 * text3.C: remove META_NEWLINE in favour of an inset
6289 * rowpainter.C: remove paintNewline (done by inset)
6291 2003-03-12 John Levon <levon@movementarian.org>
6293 * paragraph_pimpl.C: complain about bad getChar()s
6294 for a while at least
6296 2003-03-12 John Levon <levon@movementarian.org>
6299 * buffer.C: move paragraph read into a separate function,
6300 a little renaming to reflect that.
6303 * bufferparams.C: remove the author_ids map, not necessary now
6306 * factory.C: moved Buffer::readInset to here
6308 * paragraph_funcs.h:
6309 * paragraph_funcs.C: readParagraph free function moved from
6312 * tabular.C: name change
6314 2003-03-12 John Levon <levon@movementarian.org>
6317 * ParagraphParameters.C: move par params input to
6320 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6321 behave like a normal read from the stream wrt reading
6322 a line vs. a \\token
6324 2003-03-12 John Levon <levon@movementarian.org>
6327 * ParagraphParameters.h:
6328 * ParagraphParameters.C: move output code to a
6331 2003-03-12 John Levon <levon@movementarian.org>
6333 * BufferView.C (insertLyXFile):
6336 * tabular.C: use a parlist iterator for creating the
6339 2003-03-12 John Levon <levon@movementarian.org>
6341 * buffer.C: make current_change static local not
6344 2003-03-12 John Levon <levon@movementarian.org>
6346 * buffer.C: fix insertStringAsLines for change tracking
6348 2003-03-12 John Levon <levon@movementarian.org>
6355 * bufferparams.C: move author list into params. Rename some
6356 functions. Move the header reading into a separate token
6357 loop. Move the header token reading into BufferParams.
6359 2003-03-12 John Levon <levon@movementarian.org>
6361 * changes.C: put debug inside lyxerr.debugging() checks
6363 2003-03-11 André Pönitz <poenitz@gmx.net>
6365 * factory.C: make it aware of InsetHFill
6367 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6369 * buffer.C (latexParagraphs): move function from here...
6370 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6373 2003-03-10 Angus Leeming <leeming@lyx.org>
6375 * LyXAction.C (init): fix bug in poplating array with multiple entries
6376 with the same LFUN (spotted by JMarc).
6378 2003-03-10 John Levon <levon@movementarian.org>
6381 * text2.C: move getColumnNearX() near its
6384 2003-03-10 John Levon <levon@movementarian.org>
6386 * text.C: fix break before a minipage
6388 2003-03-10 John Levon <levon@movementarian.org>
6390 * text.C: fix the last commit
6392 2003-03-09 John Levon <levon@movementarian.org>
6396 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6397 bug 365 (don't break before insets unless needed). Don't
6398 return a value > last under any circumstances.
6400 2003-03-09 Angus Leeming <leeming@lyx.org>
6402 * BufferView_pimpl.C (trackChanges, dispatch): call
6403 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6405 2003-03-09 Angus Leeming <leeming@lyx.org>
6407 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6408 than Dialogs::showAboutlyx().
6410 2003-03-09 Angus Leeming <leeming@lyx.org>
6412 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6413 than Dialogs::showTabularCreate().
6415 2003-03-09 John Levon <levon@movementarian.org>
6419 * text2.C: 3rd arg to nextBreakPoint was always the same.
6422 2003-03-08 John Levon <levon@movementarian.org>
6429 * text2.C: Remove the "main" bit from the "main body"
6432 2003-03-08 John Levon <levon@movementarian.org>
6434 * text.C (leftMargin): The left margin of an empty
6435 manual label paragraph should not include the label width
6438 * text.C (prepareToPrint): don't attempt to measure hfills
6439 for empty manual label paragraphs - the answer should be 0
6441 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * CutAndPaste.C: remove commented code and reindent.
6445 2003-03-08 John Levon <levon@movementarian.org>
6448 * lyxfunc.C: move reloadBuffer()
6451 * BufferView.C: to here
6453 * lyxvc.C: add comment
6456 * vc-backend.C: call bv->reload() to avoid
6457 getStatus() check on MENURELOAD
6459 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
6461 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6462 to an old format .dep file.
6464 2003-03-07 Angus Leeming <leeming@lyx.org>
6466 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6467 when the LFUN_MOUSE_RELEASE should have been handled by
6468 inset->localDispatch.
6470 2003-03-07 Angus Leeming <leeming@lyx.org>
6472 * BufferView_pimpl.C (dispatch):
6473 * LyXAction.C (init):
6474 * ToolbarDefaults.C (init):
6476 * lyxfunc.C (getStatus):
6477 remove LFUN_INSET_GRAPHICS.
6479 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6481 2003-03-07 Angus Leeming <leeming@lyx.org>
6484 * LyXAction.C (init):
6485 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6487 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6490 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6492 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6493 localDispatch method LFUN_INSET_DIALOG_UPDATE.
6495 2003-03-07 Angus Leeming <leeming@lyx.org>
6497 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6500 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6502 * ParagraphList.C (front): new function
6505 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
6507 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6508 and top_row_offset_. removed var first_y.
6510 * text2.C (LyXText, removeRow):
6512 * BufferView_pimpl.C:
6513 use these methods instead of using first_y
6515 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * text2.C (pasteSelection): adjust for checkPastePossible
6519 * CutAndPaste.C: remove Paragraph * buf and replace with
6520 ParagraphList paragraphs.
6521 (DeleteBuffer): delete
6522 (cutSelection): change the tc type to textclass_type
6523 (copySelection): change the tc type to textclass_type
6524 (copySelection): adjust for ParagraphList
6525 (pasteSelection): change the tc type to textclass_type
6526 (pasteSelection): adjust for Paragraphlist
6527 (nrOfParagraphs): simplify for ParagraphList
6528 (checkPastePossible): simplify for ParagraphList
6529 (checkPastePossible): remove unused arg
6531 * ParagraphList.C (insert): handle the case where there are no
6534 * CutAndPaste.h: make CutAndPaste a namespace.
6536 * text3.C (dispatch): adjust
6538 * text.C (breakParagraph): add a ParagraphList as arg
6540 * paragraph_funcs.C (breakParagraph): change to take a
6541 BufferParams and a ParagraphList as args.
6542 (breakParagraphConservative): ditto
6543 (mergeParagraph): ditto
6544 (TeXDeeper): add a ParagraphList arg
6545 (TeXEnvironment): ditto
6548 * buffer.C (readLyXformat2): adjust
6549 (insertStringAsLines): adjust
6550 (latexParagraphs): adjust
6552 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6553 (cutSelection): adjust
6554 (pasteSelection): adjust
6556 * BufferView_pimpl.C (insertInset): adjust
6558 2003-03-05 Angus Leeming <leeming@lyx.org>
6561 * LyXAction.C (init):
6562 * BufferView_pimpl.C (dispatch):
6563 * lyxfunc.C (getStatus):
6564 remove LFUN_CHILD_INSERT.
6566 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6568 2003-03-05 Angus Leeming <leeming@lyx.org>
6571 * LyXAction.C (init):
6572 * src/factory.C (createInset):
6573 * lyxfunc.C (getStatus):
6574 * text3.C (dispatch):
6575 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6577 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6579 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * ParagraphList.C (insert): handle insert right before end()
6582 (erase): fix cases where it can be first or last paragraph.
6584 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * paragraph_funcs.C (TeXEnvironment): remove all usage of
6587 Paragraph::next and Paragraph::previous
6590 * text.C (breakParagraph): adjust
6592 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6593 BufferParams& as arg.
6594 (breakParagraph): use ParagraphList::insert
6595 (breakParagraphConservative): take a Buffer* instead of a
6596 BufferParams& as arg.
6597 (breakParagraphConservative): use ParagraphList::insert.
6599 * buffer.C (insertStringAsLines): un-const it
6600 (insertStringAsLines): adjust
6602 * ParagraphList.C (insert): new function
6604 * CutAndPaste.C (pasteSelection): adjust
6606 * text.C (backspace): adjust
6608 * tabular.C (SetMultiColumn): adjust
6610 * CutAndPaste.C (cutSelection): adjust
6611 (pasteSelection): adjust
6613 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6614 Buffer const * as arg
6616 * ParagraphList.C (erase): new function
6617 * paragraph_funcs.C (mergeParagraph): use it
6618 (mergeParagraph): make it take a Buffer* instead of a
6619 BufferParams* as arg
6621 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6623 (breakParagraphConservative): ditto
6625 * paragraph.h: remove the breakParagraph friend
6627 * paragraph.C (eraseIntern): new function
6628 (setChange): new function
6630 * paragraph_funcs.C (mergeParagraph): make it take a
6631 ParagraphList::iterator instead of a Paragraph *, adjust
6634 * paragraph.h: move an #endif so that the change tracking stuff
6635 also works in the NO_NEXT case.
6637 2003-03-04 Angus Leeming <leeming@lyx.org>
6640 * LyXAction.C: new LFUN_INSET_MODIFY.
6642 * BufferView_pimpl.C (dispatch): if an inset is found to be open
6643 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6645 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * several files: ws changes only
6649 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6650 (TeXEnvironment): ditto
6653 * buffer.C (makeLaTeXFile): adjust
6654 (latexParagraphs): make it take ParagraphList::iterator as args
6656 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * buffer.C (latexParagraphs): adjust
6660 * paragraph.C (TeXOnePar): move function...
6661 (optArgInset): move function...
6662 (TeXEnvironment): move function...
6663 * paragraph_pimpl.C (TeXDeeper): move function...
6664 * paragraph_funcs.C: ...here
6666 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6668 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6670 * buffer.C (readInset): remove compability code for old Figure and
6673 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * buffer.C: ws changes
6678 * BufferView_pimpl.C: ditto
6681 * bufferlist.h: ditto
6685 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
6687 * converter.[Ch]: split into itself +
6690 * Makefile.am: += graph.[Ch] + format.[Ch]
6697 * lyxrc.C: added #include "format.h"
6699 2003-02-27 Angus Leeming <leeming@lyx.org>
6701 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6704 * factory.C (createInset): add "label" to the factory.
6706 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6707 string and do no more.
6709 2003-02-27 Angus Leeming <leeming@lyx.org>
6712 * LyXAction.C (init):
6713 * factory.C (createInset):
6714 * BufferView_pimpl.C (dispatch):
6715 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6717 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6719 * lyxfunc.C (dispatch):
6720 * text3.C (dispatch): pass name to params2string.
6722 2003-02-26 Angus Leeming <leeming@lyx.org>
6724 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6726 Rearrange the ~includes. Strip out the unnecessary ones.
6728 * factory.C (createInset): reformat.
6729 create new insets for the various LFUN_XYZ_APPLY lfuns.
6731 2003-02-26 John Levon <levon@movementarian.org>
6734 * lyxrow.C: add isParStart,isParEnd helpers
6736 * paragraph.h: make isInserted/DeletedText take refs
6738 * paragraph_funcs.h:
6739 * paragraph_funcs.C: remove #if 0'd code
6744 * text.C: use lyxrow helpers above.
6745 Move draw and paint routines to RowPainter.
6746 Make several methods use refs not pointers.
6747 Make backgroundColor() const.
6748 Add markChangeInDraw(), isInInset().
6749 Merge changeRegionCase into changeCase.
6750 Make workWidth() shouldn't-happen code into an Assert.
6753 * rowpainter.C: new class for painting a row.
6756 * vspace.C: make inPixels take a ref
6758 2003-02-26 Angus Leeming <leeming@lyx.org>
6760 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6763 2003-02-25 John Levon <levon@movementarian.org>
6765 * ispell.C: give the forked command a more accurate name
6767 2003-02-22 John Levon <levon@movementarian.org>
6770 * toc.C: make TocItem store an id not a Paragraph *
6773 2003-02-21 Angus Leeming <leeming@lyx.org>
6775 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6776 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6777 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6778 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6779 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6780 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6782 * BufferView_pimpl.C (dispatch):
6783 * LyXAction.C (init):
6784 * factory.C (createInset):
6785 * lyxfunc.C (getStatus, dispatch):
6786 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6788 2003-02-21 Angus Leeming <leeming@lyx.org>
6790 * BufferView_pimpl.C (MenuInsertLyXFile):
6791 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6792 * lyxfunc.C (menuNew, open, doImport):
6793 no longer pass a LyXView & to fileDlg.
6795 2003-02-21 Angus Leeming <leeming@lyx.org>
6797 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6798 * LyXAction.C: change, BIBKEY to BIBITEM.
6799 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6800 Change InsetBibKey to InsetBibitem.
6801 Change BIBKEY_CODE to BIBITEM_CODE.
6802 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6803 * factory.C: replace insetbib.h with insetbibitem.h.
6804 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6805 * paragraph.C: replace insetbib.h with insetbibitem.h.
6806 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6807 Change bibkey() to bibitem().
6808 * text.C: remove insetbib.h.
6809 * text2.C: replace insetbib.h with insetbibitem.h.
6810 change bibkey() to bibitem().
6811 * text3.C: remove insetbib.h.
6812 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6814 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6816 * lyxrc.C (output): enclose user email in quotes (in case there are
6819 2003-02-18 John Levon <levon@movementarian.org>
6821 * buffer.h: add std::
6823 2003-02-17 John Levon <levon@movementarian.org>
6829 * pspell.C: reworking. Especially in ispell, a large
6830 number of clean ups and bug fixes.
6832 * lyxfunc.C: fix revert to behave sensibly
6834 2003-02-17 André Pönitz <poenitz@gmx.net>
6837 * commandtags.h: new LFUN_INSERT_BIBKEY
6847 * paragraph_func.C: remove special bibkey handling
6849 2003-02-17 John Levon <levon@movementarian.org>
6851 * text.C (Delete): fix case where delete at the end of
6852 the very first paragraph would not merge the pars
6854 2003-02-17 John Levon <levon@movementarian.org>
6856 * lyxrow.C: fix lastPrintablePos()
6858 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6860 * bufferparams.C (writeLaTeX): add a std:here
6862 * buffer.C: and remove a using directive there
6864 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6866 * buffer.C (makeLaTeXFile): move the code that generates the
6869 * bufferparams.C (writeLaTeX): ... in this new method
6871 * LaTeXFeatures.C (getEncodingSet): make const
6872 (getLanguages): make const
6874 * MenuBackend.C (binding): returns the binding associated to this
6876 (add): sets the status of each item by calling getStatus. Adds
6878 (read): add support for OptSubMenu
6879 (expand): remove extra separator at the end of expanded menu
6881 2003-02-15 John Levon <levon@movementarian.org>
6884 * BufferView_pimpl.C:
6886 * bufferlist.C: remove pointless BufferStorage bloat. Remove
6887 inset code that had no actual effect. Remove unneeded status
6890 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6892 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6895 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
6897 * text.C (drawLengthMarker): also draw an arrow marker for
6898 symbolic lengths (medskip...)
6900 2003-02-14 John Levon <levon@movementarian.org>
6903 * tabular.C: better method names
6905 2003-02-14 John Levon <levon@movementarian.org>
6907 * BufferView_pimpl.C:
6912 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6913 it's a more accurate name. Remove some pointless uses.
6915 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6917 * text2.C (LyXText): change order of initilizers to shut off
6920 2003-02-14 John Levon <levon@movementarian.org>
6922 * buffer.C: use ParIterator for getParFromID()
6926 * paragraph_pimpl.h:
6927 * paragraph_pimpl.C: remove unused getParFromID()
6929 2003-02-14 John Levon <levon@movementarian.org>
6931 * buffer.C: remove some very old #if 0'd parse code
6933 2003-02-13 John Levon <levon@movementarian.org>
6937 * text2.C: move hfillExpansion(), numberOfSeparators(),
6938 rowLast(), rowLastPrintable(), numberofHfills(),
6939 numberOfLabelHfills() ...
6942 * lyxrow.C: ... to member functions here.
6947 * text.C: remove LyXText::beginningOfMainBody(), and call
6948 p->beginningOfMainBody() directly. Move the check for
6949 LABEL_MANUAL into the latter.
6956 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6962 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6963 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6965 2003-02-13 John Levon <levon@movementarian.org>
6967 * CutAndPaste.C: remove debug
6969 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6971 * paragraph.C (asString): remove two unused variables
6973 * lyxtextclass.C (readTitleType):
6975 (LyXTextClass): handle new members titletype_ and titlename_
6977 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6979 2003-02-09 John Levon <levon@movementarian.org>
6982 * buffer.C: replace hand-coded list with a map for the dep clean
6984 2003-02-08 John Levon <levon@movementarian.org>
6986 * LaTeX.C: consolidate code into showRunMessage() helper
6988 2003-02-08 John Levon <levon@movementarian.org>
6993 * BufferView.C: change setSelectionOverString() to setSelectionRange()
6994 and pass the size in explicitly
6996 * BufferView_pimpl.h:
6997 * BufferView_pimpl.C:
6999 * BufferView.C: add getCurrentChange()
7001 * BufferView_pimpl.h:
7002 * BufferView_pimpl.C: handle change lfuns
7004 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7005 for changes. Mark pasted paragraphs as new.
7007 * support/lyxtime.h:
7008 * support/lyxtime.C:
7009 * DepTable.C: abstract time_t as lyx::time_type
7012 * LColor.C: add colours for new text, deleted text, changebars
7014 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7015 package use "usenames" option.
7019 * LyXAction.C: add change lfuns
7023 * author.C: author handling
7026 * buffer.C: add a per-buffer author list, with first entry as
7027 current author. Handle new .lyx tokens for change tracking. Output
7028 author list to .lyx file. Output dvipost stuff to .tex preamble.
7029 Bump lyx format to 222.
7032 * bufferlist.C: add setCurrentAuthor() to reset current author details
7036 * bufferparams.C: add param for tracking
7038 * bufferview_funcs.C: output change info in minibuffer
7042 * changes.C: add change-tracking structure
7045 * debug.C: add CHANGES debug flag
7048 * lyxfind.C: add code for finding the next change piece
7051 * lyxrc.C: add user_name and user_email
7054 * lyxrow.C: add a metric for the top of the text line
7057 * text.C: implement accept/rejectChange()
7060 * text.C: paint changebars. Paint new/deleted text in the chosen
7061 colours. Strike through deleted text.
7065 * paragraph_pimpl.h:
7066 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7067 in the current change to the insert functions. Rework erase to
7068 mark text as deleted, adding an eraseIntern() and a range-based
7069 erase(). Implement per-paragraph change lookup and
7072 * paragraph_funcs.C: Fixup paste for change tracking.
7074 * tabular.C: mark added row/columns as new.
7076 * text.C: fix rowLast() to never return -1. Don't allow
7077 spellchecking of deleted text. Track transpose changes. Don't
7078 allow paragraph break or merge where appropriate.
7080 * text2.C: leave cursor at end of selection after a cut.
7082 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7084 * text.C (getLengthMarkerHeight):
7085 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7086 visible on screen too.
7088 2003-02-07 John Levon <levon@movementarian.org>
7090 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7092 2003-02-05 Angus Leeming <leeming@lyx.org>
7094 * lyxserver.C (read_ready): revert my patch of 11 September last year
7095 as it sends PC cpu through the roof. Presumably this means that
7096 the lyxserver will no longer run on an Alpha...
7098 2003-01-30 Angus Leeming <leeming@lyx.org>
7100 * factory.C (createInset): create an InsetCommandParam of type "index"
7101 and use it to 'do the right thing'.
7103 * text2.C (getStringToIndex): ensure that cursor position is always
7104 reset to the reset_cursor position.
7106 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7108 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7111 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7115 * lyxfunc.C: Output messages with identical spelling, punctuation,
7118 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7120 * MenuBackend.C (expandFormats): List only viewable export formats
7123 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7126 * lyxfunc.C (getStatus): Make sure that formats other than
7127 "fax" can also be disabled
7129 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7131 * text3.C (dispatch): put the lfuns that insert insets in 3
7132 groups, and call doInsertInset with appropriate arguments.
7133 (doInsertInset): new function, that creates an inset and inserts
7134 it according to some boolean parameters.
7136 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * buffer.C (readFile): remember to pass on 'par' when calling
7139 readFile recursively.
7141 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7143 * MenuBackend.C (expandFormats): add "..." to import formats.
7145 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7147 * paragraph.C (asString): Remove XForms RTL hacks.
7149 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7150 * buffer.C: fix typo
7152 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * Makefile.am (LIBS): delete var
7155 (lyx_LDADD): add @LIBS@ here instead.
7157 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7159 * Clarify the meaning of "wheel mouse jump"
7161 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7163 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7166 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7168 * importer.C (Loaders): do not preallocate 3 elements in the
7169 vector, since one ends up with 6 elements otherwise
7171 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7173 * DepTable.C (write): write the file name as last element of the
7174 .dep file (because it may contain spaces)
7175 (read): read info in the right order
7177 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7179 * paragraph_pimpl.C (simpleTeXBlanks):
7180 (simpleTeXSpecialChars):
7181 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7183 * tabular.C (latex): add some missing case statements. Reindent.
7185 * MenuBackend.C (expandToc): remove unused variable.
7187 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
7196 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7199 2003-01-05 John Levon <levon@movementarian.org>
7202 * BufferView.C: add getEncoding()
7205 * kbsequence.C: do not store last keypress
7208 * lyxfunc.C: store last keypress here instead. Pass encoding
7211 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7213 * lyx_main.C (init): remove annoying error message when following
7214 symbolic links (bug #780)
7216 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7218 * text.C (insertChar):
7219 * lyxrc.C (getDescription): remove extra spaces
7221 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7223 * lyxrc.C (getDescription): remove extra spaces
7225 2002-12-20 John Levon <levon@movementarian.org>
7227 * text3.C: hack fix for page up/down across tall rows
7229 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7231 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7234 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7236 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7237 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7238 thesaurus is not compiled in
7240 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
7242 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
7244 2002-12-16 Angus Leeming <leeming@lyx.org>
7247 * lyx_main.C (init): remove override_x_deadkeys stuff.
7249 2002-12-12 John Levon <levon@movementarian.org>
7251 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7252 insert. Only remove shift modifier under strict
7255 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * MenuBackend.C (expandToc): fix crash.
7259 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * MenuBackend.C (expandToc): gettext on float names.
7263 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
7265 * lyxlength.[Ch]: set default unit to UNIT_NONE,
7266 implement bool empty() [bug 490]
7268 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7272 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * several files: ws changes
7276 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7278 * text2.C (setCounter): clean up a bit, use boost.format.
7279 (updateCounters): initialize par upon declaration.
7281 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7282 if the layout exists. We do not just store the layout any more.
7283 (SwitchLayoutsBetweenClasses): use boost.format
7285 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7287 * converter.C (convert): if from and to files are the same, use a
7288 temporary files as intermediary
7290 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7293 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7295 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
7297 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7299 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7301 * tabular.C (asciiPrintCell): use string(size, char) instead of
7304 * sgml.C (openTag): fix order of arguments to string constructor
7307 * lyxfunc.C (dispatch): use boost.format
7309 * lots of files: change "c" -> 'c'
7311 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
7313 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7315 2002-11-25 Angus Leeming <leeming@lyx.org>
7317 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7319 * lyx_main.C (init): compile fix.
7321 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7323 * lyx_cb.C (start): boost.formatify
7324 do not include <iostream>
7326 * lengthcommon.C: ws only
7328 * boost-inst.C,BoostFormat.h: add more explict instantations
7330 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * lots of files: handle USE_BOOST_FORMAT
7334 2002-11-21 John Levon <levon@movementarian.org>
7336 * pspell.C: fix compile
7338 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7340 * lyxfunc.C (dispatch): use boost::format
7344 * lyxfont.C (stateText): use boost::format
7346 * lyx_main.C (LyX): use boost::format
7348 (queryUserLyXDir): ditto
7351 (typedef boost::function): use the recommened syntax.
7353 * importer.C (Import): use boost::format
7355 * debug.C (showLevel): use boost::format
7357 * converter.C (view): use boost::format
7362 * bufferview_funcs.C (currentState): use boost::format
7364 * bufferlist.C (emergencyWrite): use boost::format
7366 * buffer.C (readLyXformat2): use boost::format
7367 (parseSingleLyXformat2Token): ditto
7369 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7371 * LaTeX.C (run): use boost::format
7373 * Chktex.C (scanLogFile): use boost::format
7375 * BufferView_pimpl.C (savePosition): use boost::format
7376 (restorePosition): ditto
7377 (MenuInsertLyXFile): ditto
7379 * BoostFormat.h: help file for explicit instation.
7381 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
7383 * tabular.C (latex): Support for block alignment in fixed width
7386 2002-11-17 John Levon <levon@movementarian.org>
7388 * BufferView_pimpl.C:
7390 * lyxfunc.C: split filedialog into open/save
7392 2002-11-08 Juergen Vigna <jug@sad.it>
7394 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7395 by my last patch (hopefully).
7397 2002-11-08 John Levon <levon@movementarian.org>
7406 * toc.C: ParConstIterator, and use it (from Lars)
7408 2002-11-07 Ben Stanley <bds02@uow.edu.au>
7410 * lyxtextclass.[Ch]: revise and add doxygen comments
7412 2002-11-07 John Levon <levon@movementarian.org>
7414 * text.C: fix progress value for spellchecker
7416 * toc.C: fix navigate menu for insetwrap inside minipage
7418 * paragraph_funcs.C: added FIXME for suspect code
7420 2002-11-07 John Levon <levon@movementarian.org>
7422 * BufferView_pimpl.C: fix redrawing of insets
7425 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7427 * text2.C (updateCounters): fix bug 668
7429 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
7431 * text3.C (dispatch): Do not make the buffer dirty when moving the
7434 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7436 * vc-backend.C: STRCONV
7439 * text2.C (setCounter): STRCONV
7441 * paragraph.C (asString): STRCONV
7443 * lyxlength.C (asString): STRCONV
7444 (asLatexString): ditto
7446 * lyxgluelength.C (asString): STRCONV
7447 (asLatexString): ditto
7449 * lyxfunc.C (dispatch): STRCONV
7452 * lyxfont.C (stateText): STRCONV
7454 * importer.C (Import): STRCONV
7456 * counters.C (labelItem): STRCONV
7457 (numberLabel): ditto
7458 (numberLabel): remove unused ostringstream o
7463 * bufferview_funcs.C (currentState): STRCONV
7465 * buffer.C (readFile): STRCONV
7466 (asciiParagraph): ditto
7467 (makeLaTeXFile): ditto
7469 * Spacing.C (writeEnvirBegin): STRCONV
7471 * LaTeXFeatures.C (getLanguages): STRCONV
7472 (getPackages): ditto
7474 (getBabelOptions): ditto
7475 (getTClassPreamble): ditto
7476 (getLyXSGMLEntities): ditto
7477 (getIncludedFiles): ditto
7481 (scanAuxFile): ditto
7484 * LString.h: add the STRCONV macros
7486 * BufferView_pimpl.C (savePosition): STRCONV
7487 (restorePosition): ditto
7488 (MenuInsertLyXFile): ditto
7490 * vc-backend.C (scanMaster): change from submatch[...] to
7493 * funcrequest.C: include config.h
7495 * factory.C: include config.h
7497 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7499 * box.C: include config.h
7501 * LaTeX.C (scanAuxFile): change from submatch[...] to
7505 2002-10-25 Angus Leeming <leeming@lyx.org>
7507 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7509 * ispell.[Ch] (setError): new method.
7510 * ispell.C (c-tor): move out child process into new class LaunchIspell.
7511 Use setError() insetead of goto END.
7513 * lyx_cb.C (AutoSave): move out child process into new class
7516 2002-10-30 John Levon <levon@movementarian.org>
7518 * text3.C: make start appendix undoable
7520 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
7522 * lyxlength.C (inPixels): Fix returned value.
7524 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7527 2002-10-24 Angus Leeming <leeming@lyx.org>
7529 * lyxgluelength.h: no need to forward declare BufferParams
7530 or BufferView, so don't.
7532 2002-10-21 John Levon <levon@movementarian.org>
7534 * BufferView.C: menuUndo ->undo, redo
7536 * BufferView.h: document, remove dead, make some methods private
7538 * paragraph_funcs.h:
7539 * paragraph_funcs.C:
7540 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7545 * sgml.C: move sgml open/close tag into sgml.C
7547 * bufferview_funcs.h: unused prototype
7550 * lyxfunc.C: remove unused
7553 * text.C: remove unused
7555 2002-10-21 John Levon <levon@movementarian.org>
7559 * BufferView_pimpl.h:
7560 * BufferView_pimpl.C: fix mouse wheel handling based on
7561 patch from Darren Freeman
7563 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
7565 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7567 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
7569 * lyxlength.C (inPixels): Fix hanfling of negative length.
7570 Fix LyXLength::MU case.
7572 2002-10-16 John Levon <levon@movementarian.org>
7574 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7576 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7578 * converter.C (view): add support for $$i (file name) and $$p
7579 (file path) for the viewer command. If $$i is not specified, then
7580 it is appended to the command (for compatibility with old syntax)
7582 2002-10-14 Juergen Vigna <jug@sad.it>
7584 * undo_funcs.C (textHandleUndo): alter the order in which the
7585 new undopar is added to the LyXText, as we have to set first
7586 the right prev/next and then add it as otherwise the rebuild of
7587 LyXText is not correct. Also reset the cursor to the right paragraph,
7588 with this IMO we could remove the hack in "redoParagraphs()".
7590 2002-10-09 Angus Leeming <leeming@lyx.org>
7592 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7593 to turn off an optimisation if a new inset is to be inserted.
7595 2002-10-11 André Pönitz <poenitz@gmx.net>
7597 * lyxtext.h: make some functions public to allow access
7598 from inset/lyxtext for handling LFUN_PRIOR/NEXT
7600 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * text3.C (dispatch): when changing layout, avoid an infinite loop
7605 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7607 * lyxrc.C (read): treat a viewer or converter command of "none" as
7610 * MenuBackend.C (expandFormats): for an update, also allow the
7611 formats that are not viewable
7613 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7614 script if it is newer than the lyxrc.defaults in user directory
7616 2002-10-07 André Pönitz <poenitz@gmx.net>
7618 * text.C: Vitaly Lipatov's small i18n fix
7620 2002-09-25 Angus Leeming <leeming@lyx.org>
7622 * ispell.h: doxygen fix.
7624 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
7626 * buffer.h (readFile): Add a new argument to the method, to allow
7627 reading of old-format templates.
7629 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
7631 * toc.C (getTocList): Get TOC from InsetWrap.
7633 2002-09-16 John Levon <levon@movementarian.org>
7635 * lyxfunc.C: check tabular for cut/copy too
7637 2002-09-12 John Levon <levon@movementarian.org>
7642 * factory.C: add header
7644 * paragraph_funcs.h:
7645 * paragraph_funcs.C: cleanup
7647 2002-09-11 John Levon <levon@movementarian.org>
7649 * PrinterParams.h: odd/even default to true
7651 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
7653 * PrinterParams.h: update printer parameters for new xforms dialog
7655 2002-09-11 Angus Leeming <leeming@lyx.org>
7657 * lyxserver.C (read_ready): re-write to make it more transparent
7658 and to make it work in coherent fashion under Tru64 Unix.
7660 2002-09-11 André Pönitz <poenitz@gmx.net>
7664 * text3.C: implement LFUN_WORDSEL
7666 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7669 make floatlist_ a boost::shared_ptr<FloatList>
7671 * lyxtextclass.C: include FloatList.h
7672 (LyXTextClass): initialize floatlist_
7673 (TextClassTags): add TC_NOFLOAT
7674 (Read): match "nofloat" to TC_NOFLOAT and use it.
7675 (readFloat): modify call to floatlist_
7679 * FloatList.[Ch] (FloatList): remove commented out float
7681 (erase): new function
7683 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7685 * MenuBackend.C (expandToc): fix crash when there is no document
7688 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
7690 * many files: Add insetwrap.
7692 2002-09-09 John Levon <levon@movementarian.org>
7694 * text2.C: remove confusing and awkward depth wraparound
7696 2002-09-09 John Levon <levon@movementarian.org>
7698 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7701 * buffer.C: remove getIncludeonlyList()
7704 * lyxfunc.C: remove headers
7706 2002-09-09 Juergen Vigna <jug@sad.it>
7708 * text.C (getColumnNearX): fix form Michael this is most
7709 probably a cut&paste bug.
7711 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7713 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7715 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7716 references, ws changes.
7718 * text2.C (init): update counters after init
7719 (insertParagraph): no need to set counter on idividual paragraphs.
7720 (setCounter): access the counters object in the textclass object
7721 on in the buffer object.
7722 (updateCounters): ditto
7724 * lyxtextclass.C: include counters.h, add variable ctrs_ as
7725 shared_ptr<Counters> to avoid loading counters.h in all
7727 (LyXTextClass): initialize ctrs_
7728 (TextClassTags): add TC_COUNTER, and ...
7729 (Read): use it here.
7730 (CounterTags): new tags
7731 (readCounter): new function
7732 (counters): new funtion
7733 (defaultLayoutName): return a const reference
7735 * counters.C (Counters): remove contructor
7736 (newCounter): remove a couple of unneeded statements.
7737 (newCounter): simplify a bit.
7738 (numberLabel): some small formatting changes.
7740 * buffer.[Ch]: remove all traces of counters, move the Counters
7741 object to the LyXTextClass.
7743 2002-09-06 Alain Castera <castera@in2p3.fr>
7745 * tabular.C: uses \tabularnewline; uses >{...} construct from array
7746 package to set the horizontal alignment on fixed width columns.
7749 * lyx_sty.h: added tabularnewline macro def.
7751 * LaTeXFeatures.C: added NeedTabularnewline macro feature
7753 2002-09-06 John Levon <levon@movementarian.org>
7755 * LyXAction.C: tooltips for sub/superscript
7757 * MenuBackend.C: a bit more verbose
7759 * lyxfunc.C: tiny clean
7761 * undo_funcs.C: document undo_frozen
7763 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * counters.C (Counters): add missing algorithm counter.
7767 * text2.C (setCounter): lookup the counter with layouts latexname
7768 instead of by section number.
7769 (setCounter): use a hackish way to lookup the correct enum
7771 a float name->type change
7772 reset enum couners with counter name directly instead of depth value.
7774 * counters.C (Counters): remove the push_backs, change to use the
7775 float type not the float name.
7776 (labelItem): remove unused string, float name->type change
7778 * counters.h: don't include vector, loose the enums and sects vectors
7780 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7782 * lyxtextclass.C (TextClassTags): add TC_FLOAT
7783 (Read): add float->TC_FLOAT to textclassTags
7784 (Read): and handle it in the switch
7785 (readFloat): new function
7787 * FloatList.C (FloatList): comment out the hardcoded float
7790 * lyxlayout.h: ws change.
7792 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
7794 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7796 2002-09-03 Angus Leeming <leeming@lyx.org>
7798 * BufferView_pimpl.h: qualified name is not allowed in member
7799 declaration: WorkArea & Pimpl::workarea() const;
7801 * factory.C: added using std::endl directive.
7803 * text3.C: added using std::find and std::vector directives.
7805 2002-08-29 André Pönitz <poenitz@gmx.net>
7808 * text2.C: remove unused member number_of_rows
7811 * BufferView2.C: remove file, move contents to...
7812 * BufferView.C: ... here
7814 * BufferView_pimpl.C:
7815 * factory.C: move more inset creation to factory
7817 * vspace.C: avoid direct usage of LyXText, ws changes
7820 don't provide direct access to WorkArea, use two simple
7821 acessors haveSelction() and workHeight() instead
7824 2002-08-29 John Levon <levon@movementarian.org>
7826 * BufferView_pimpl.C (dispatch): do not continue when
7829 2002-08-28 André Pönitz <poenitz@gmx.net>
7831 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7834 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7836 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
7838 * buffer.C: increment LYX_FORMAT to 221
7840 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7841 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7843 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7845 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7847 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7849 * factory.C (createInset): use LyXTextClass::floats
7851 * MenuBackend.C (expandFloatListInsert):
7852 (expandFloatInsert):
7855 * text2.C (setCounter):
7857 * LaTeXFeatures.C (useFloat):
7858 (getFloatDefinitions):
7860 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7862 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7863 floatlist_, with accessor floats().
7865 * FloatList.h: remove global FloatList
7867 2002-08-26 André Pönitz <poenitz@gmx.net>
7869 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7873 * BufferView_pimpl.C:
7874 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7876 2002-08-25 John Levon <levon@movementarian.org>
7878 * LyXAction.C: fix margin note description
7880 2002-08-24 John Levon <levon@movementarian.org>
7884 * bufferview_funcs.C:
7886 * undo_funcs.C: cleanups
7888 * lyxfunc.C: disable CUT/COPY when no selection
7890 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
7892 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7893 in "enum UNIT"; e.g. PTW for Percent of TextWidth
7895 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7896 Add backward compatibility to "mono", "gray" and "no".
7898 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
7900 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7901 (and file_format >= 200).
7903 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7905 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7907 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7909 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7911 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
7913 * BufferView_pimpl.C:
7920 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7921 inset and code to make it work with the paragraph code. The inset
7922 can be anywhere in the paragraph, but will only do the expected
7923 thing in LaTeX if the layout file contains the parameter line
7925 (or more generally, a nonzero value) for that layout.
7927 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * paragraph.h: remove the declaration of undefined counters class
7932 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
7934 * text2.C (setCounter): fixed enumeration mis-count as reported by
7935 Dr. Richard Hawkins.
7937 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7939 * paragraph_funcs.h: remove some unneeded includes
7941 * text.C (backspace): pasteParagraph now in global scipe
7943 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7944 (pasteSelection): ditto
7946 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7947 * paragraph_funcs.C (pasteParagraph): ... here
7949 2002-08-20 André Pönitz <poenitz@gmx.net>
7951 * commandtags.h: new LFUNs for swapping/copying table row/colums
7954 * lyxfunc.C: support for new lfuns
7956 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7959 * buffer.[Ch]: remove NO_COMPABILITY stuff
7961 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * boost.C (throw_exception): new file, with helper function for
7964 boost compiled without exceptions.
7969 * ParameterStruct.h:
7970 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7972 * bufferlist.C (emergencyWriteAll): use boost bind
7974 * BufferView_pimpl.C (moveCursorUpdate): remove inline
7976 * text.C: include paragraph_funcs.h
7977 (breakParagraph): breakParagraph is now in global scope
7979 * paragraph_funcs.[Ch]: new files
7981 * paragraph.C (breakParagraph,breakParagraphConservative): move to
7984 * buffer.C: include paragraph_funcs.h
7985 (insertStringAsLines): breakParagraph is now in global scope
7987 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7990 * CutAndPaste.C: include paragraph_funcs.h
7991 (cutSelection): breakParagraphConservative is now in global scope
7992 (pasteSelection): ditto
7994 * buffer.h: declare oprator== and operator!= for
7995 Buffer::inset_iterator
7997 * bufferlist.C (emergencyWrite): don't use fmt(...)
7999 * text3.C: add using std::endl
8001 * BufferView.C (moveCursorUpdate): remove default arg
8003 2002-08-20 André Pönitz <poenitz@gmx.net>
8005 * buffer.[Ch]: move inline functions to .C
8008 * BufferView_pimpl.C:
8010 * buffer.[Ch]: use improved inset_iterator
8013 * paragraph.[Ch]: write one paragraph at a time
8015 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8017 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8018 style if style is not specified.
8020 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8022 * text2.C (setCounter): when searching for right label for a
8023 caption, make sure to recurse to parent insets (so that a caption
8024 in a minipage in a figure float works) (bug #568)
8026 2002-08-20 André Pönitz <poenitz@gmx.net>
8028 * text3.C: new file for LyXText::dispatch() and helpers
8030 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8032 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8034 2002-08-19 André Pönitz <poenitz@gmx.net>
8037 * text.C: new LyXText::dispatch()
8039 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8041 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8043 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8045 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8048 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8050 * Makefile.am: use $(variables) instead of @substitutions@
8052 2002-08-15 André Pönitz <poenitz@gmx.net>
8055 * BufferView_pimpl.C: streamlining mathed <-> outer world
8059 * LyXAction.C: remove unused LFUN_MATH
8061 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8063 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8065 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8067 * paragraph.C (Paragraph): reformat a bit
8068 (cutIntoMinibuffer): use builtin InsetList function instad of
8072 * buffer.C: include boost/bind.hpp, add using std::for_each
8073 (writeFileAscii): use ParagraphList iterators
8074 (validate): use for_each for validate traversal of paragraphs
8075 (getBibkeyList): use ParagraphList iterators
8076 (resizeInsets): use for_each to resizeInsetsLyXText for all
8078 (getParFromID): use ParagraphList iterators
8080 * BufferView2.C (lockInset): use paragraph list and iterators
8082 2002-08-14 John Levon <levon@movementarian.org>
8084 * lyxserver.C: remove spurious xforms include
8086 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8088 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8090 2002-08-13 André Pönitz <poenitz@gmx.net>
8093 * lyxfunc.C: further cleaning
8095 2002-08-13 André Pönitz <poenitz@gmx.net>
8097 * funcrequest.h: new constructor
8099 * funcrequest.C: move stuff here from .h
8102 * BufferView_pimpl.C:
8105 * lyxfunc.C: subsequent changes
8107 * lyxfunc.h: new view() member function
8109 * lyxfunc.C: subsequent changes
8111 2002-08-13 Angus Leeming <leeming@lyx.org>
8114 * BufferView_pimpl.C:
8122 changes due to the changed LyXView interface that now returns references
8123 to member variables not pointers.
8125 2002-08-13 Angus Leeming <leeming@lyx.org>
8127 * WordLangTuple (word, lang_code): return references to strings,
8132 * lyxtext.h: forward-declare WordLangTuple.
8137 * text.C: #include "WordLangTuple.h".
8140 * text.C: (selectNextWordToSpellcheck): constify return type.
8142 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8148 * paragraph_pimpl.h:
8151 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8153 Made updateCounter always count from start of buffer, and removed
8154 second argument (par).
8155 Reverted floats number display to '#'. Perhaps I'll try again when the
8156 code base is sanitized a bit.
8158 2002-08-12 Angus Leeming <leeming@lyx.org>
8160 * buffer.[Ch] (getLabelList): constify.
8162 2002-08-07 André Pönitz <poenitz@gmx.net>
8164 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8166 * funcrequest.h: extension to keep mouse (x,y) position
8168 2002-08-12 Juergen Vigna <jug@sad.it>
8170 * BufferView2.C (insertErrors): forbid undo when inserting error
8173 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8175 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8177 * ParagraphList.[Ch]: new files
8179 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8181 * BufferView2.C (lockInset): ParagraphList changes
8184 * bufferlist.C: ditto
8188 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8190 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8191 unused class variable counter_,
8193 * paragraph.[Ch] (getFirstCounter): delete unused function
8195 * counters.C: include LAssert.h
8196 (reset): add a new function with no arg, change other version to
8197 not have def. arg and to not allow empty arg.
8199 * text2.C (setCounter): remove empty arg from call to Counters::reset
8201 2002-08-11 John Levon <levon@movementarian.org>
8203 * Makefile.am: add WordLangTuple.h
8205 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8207 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8208 lyxfunc.C lyxlex_pimpl.C: ws changes only.
8210 * insets/insettext.C: InsetList changes
8212 * graphics/GraphicsSupport.C (operator()): InsetList changes
8214 * toc.C (getTocList): InsetList changes
8216 * paragraph_pimpl.[Ch]: InsetList changes
8218 * paragraph.[Ch]: InsetList changes
8220 * buffer.C (inset_iterator): InsetList changes
8221 (setParagraph): ditto
8222 * buffer.h (inset_iterator): ditto
8223 * iterators.C (operator++): ditto
8224 * iterators.h: ditto
8226 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8228 * InsetList.[Ch]: new files, most InsetList handling moved out of
8231 * BufferView2.C (removeAutoInsets): InsetList changes
8233 (ChangeInsets): ditto
8235 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8237 * paragraph_pimpl.h (empty): new function
8239 * paragraph.[Ch] (empty): new function
8241 * other files: use the new Paragraph::empty function
8243 2002-08-09 John Levon <levon@movementarian.org>
8245 * lyxtext.h: remove unused refresh_height
8247 2002-08-09 John Levon <levon@movementarian.org>
8254 * paragraph.C: move sgml char escaping out of paragraph
8257 * paragraph.C: remove id setter
8261 * paragraph_pimpl.C: remove dead tex_code_break_column
8263 * bufferview_funcs.C: small cleanup
8265 * lyxfunc.C: remove dead proto
8267 * lyxtext.h: make some stuff private. Remove some dead stuff.
8269 * lyxgluelength.C: make as[LyX]String() readable
8271 2002-08-08 John Levon <levon@movementarian.org>
8276 * ToolbarDefaults.C:
8279 * toc.C: lyxaction cleanup
8281 2002-08-08 John Levon <levon@movementarian.org>
8283 * BufferView2.C: small cleanup
8286 * lyxfind.C: move unnecessary header into the .C
8288 2002-08-08 John Levon <levon@movementarian.org>
8290 * funcrequest.h: just tedious nonsense
8293 * lyx_main.C: cleanups
8296 * vspace.C: remove dead header lyx_main.h
8298 2002-08-07 Angus Leeming <leeming@lyx.org>
8301 * paragraph_pimpl.h:
8302 Forward declare class Counters in paragraph.h by moving the ctrs member
8303 variable into Paragraph::Pimpl.
8304 (counters): new method, returning a reference to pimpl_->ctrs.
8306 * text2.C: ensuing changes.
8308 2002-08-07 John Levon <levon@movementarian.org>
8310 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8312 * BufferView_pimpl.C: announce X selection on double/triple
8315 * lyx_main.C: use correct bool in batch dispatch
8317 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8319 2002-08-07 André Pönitz <poenitz@gmx.net>
8321 * funcrequest.h: new class to wrap a kb_action and its argument
8324 * BufferView_pimpl[Ch]:
8328 * lyxrc.C: subsequent changes
8331 2002-08-07 John Levon <levon@movementarian.org>
8333 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8334 document options change.
8336 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8341 * makefile.am: move counters functionality over from
8342 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8344 2002-08-06 John Levon <levon@movementarian.org>
8346 * WordLangTuple.h: new file for word + language code tuple
8357 * BufferView2.C: use WordLangTuple
8360 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8362 2002-08-06 John Levon <levon@movementarian.org>
8364 * lyx_main.C: fix cmdline batch handling
8366 2002-08-06 André Pönitz <poenitz@gmx.net>
8368 * lyxrc.C: set default for show_banner to true
8370 2002-08-06 John Levon <levon@movementarian.org>
8372 * pspell.C: fix a crash, and allow new aspell to work
8374 2002-08-06 John Levon <levon@movementarian.org>
8377 * kbmap.C: small cleanup
8380 * vspace.C: add const
8382 2002-08-05 John Levon <levon@movementarian.org>
8384 * LyXAction.C: back to tabular-insert
8386 2002-08-04 John Levon <levon@movementarian.org>
8389 * BufferView.C: cosmetic change
8391 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8401 * BufferView2.C: purge all "Lyx" not "LyX" strings
8404 * lyxcursor.C: attempt to add some documentation
8409 * ToolbarDefaults.C:
8410 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8411 merge with LFUN_TABULAR_INSERT
8418 * pspell.C: split up i/pspell implementations into separate
8419 files, many cleanups
8421 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8423 * text2.C: some cleanup
8425 * lyxfunc.C: don't check for isp_command == "none" any more, it
8426 didn't make any sense
8428 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
8433 * makefile.am: move counters functionality over
8434 from text2.C/paragraph.[Ch] to counters.[Ch], and
8436 2002-08-02 John Levon <levon@movementarian.org>
8438 * buffer.C: s/lyxconvert/lyx2lyx/
8440 2002-08-02 Angus Leeming <leeming@lyx.org>
8442 * lyxlex.C: revert John's change as it breaks reading of the user
8445 2002-08-02 Angus Leeming <leeming@lyx.org>
8447 * importer.C (Import):
8448 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8449 changes due to LyXView::view() now returning a boost::shared_ptr.
8451 2002-08-02 John Levon <levon@movementarian.org>
8453 * lyxlex.C: small cleanup
8455 2002-08-02 John Levon <levon@movementarian.org>
8457 * text2.C (status): small cleanup, no logic change
8459 2002-08-01 John Levon <levon@movementarian.org>
8462 * buffer.C (writeFile): don't output alerts, caller
8466 * lyx_cb.C: from above
8468 * lyxfunc.C: allow to open non-existent files
8470 2002-07-31 John Levon <levon@movementarian.org>
8472 * lyxserver.C: don't let incidental errors get
8475 2002-07-30 John Levon <levon@movementarian.org>
8477 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8479 2002-07-30 John Levon <levon@movementarian.org>
8482 * lyxserver.C: remove I/O callback too
8484 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8486 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8489 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8491 * many files: strip,frontStrip -> trim,ltrim,rtrim
8493 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
8495 * PrinterParams.h: remove extern containsOnly, and include
8496 support/lstrings.h instead.
8498 * LaTeX.C (scanAuxFile): modify because of strip changes
8500 * buffer.C (makeLaTeXFile): ditto
8501 * bufferparams.C (writeFile): ditt
8502 * lyxfont.C (stateText): ditto
8503 * lyxserver.C (read_ready): ditto
8504 * vc-backend.C (scanMaster): ditto
8506 * BufferView_pimpl.h: ws changes
8508 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8510 2002-07-26 André Pönitz <poenitz@gmx.net>
8512 * kb_sequence.C: remove unnedred usings
8514 2002-07-26 Juergen Vigna <jug@sad.it>
8516 * lyxfind.C (LyXReplace): we have to check better if the returned
8517 text is not of theLockingInset()->getLockingInset().
8519 2002-07-25 Juergen Vigna <jug@sad.it>
8521 * lyxfind.C (LyXReplace): don't replace if we don't get the
8524 * undo_funcs.C (createUndo): remove debugging code.
8526 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
8528 * buffer.C (parseSingleLyXformat2Token): Use default placement
8529 when reading old floats.
8531 * FloatList.C (FloatList): Change the default placement of figure
8532 and tables to "tbp".
8534 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
8536 * MenuBackend.C: using std::max
8538 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8540 * MenuBackend.C (expandToc):
8541 (expandToc2): code moved from xforms menu frontend. It is now
8542 generic and TOCs are transparent to menu frontends.
8544 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8546 * toc.C (getTocList): protect against buf=0
8548 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8549 Menu as first parameter. Now, this calls itself recursively to
8550 expand a whole tree (this will be useful for TOC handling)
8551 (expandFloatInsert): remove 'wide' version of floats
8553 * MenuBackend.h (submenuname): returns the name of the submenu.
8554 (submenu): returns the submenu itself, provided it has been
8555 created by MenuBackend::expand
8557 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8559 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8560 insets which have noFontChange == true. (bug #172)
8562 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * BufferView_pimpl.C: add connection objects and use them...
8567 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8569 * MenuBackend.C (expandLastfiles):
8572 (expandFloatListInsert):
8573 (expandFloatInsert):
8574 (expand): split expand in parts
8576 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8578 * lyx_gui.C: use lyx_gui::exit()
8580 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8582 * LyXAction.C: show the failing pseudo action
8584 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
8586 * buffer.C (readFile): Run the lyxconvert script in order to read
8589 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8593 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8595 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
8599 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8601 2002-07-22 Herbert Voss <voss@lyx.org>
8604 * lyxlength.[Ch]: add support for the vertical lengths
8606 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
8608 * toc.[Ch]: std:: fixes
8610 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8612 * lyxrc.C: do not include lyx_main.h
8614 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8620 * BufferView2.C: include "lyxlex.h"
8623 * bufferparams.h: do not #include "lyxlex.h"
8625 * lyxtextclasslist.C (Add): remove method
8626 (classlist): renamed to classlist_
8628 * paragraph_pimpl.C:
8632 * bufferview_funcs.C:
8637 * toc.C (getTocList): use BufferParams::getLyXTextClass
8639 * toc.C (getTocList): use InsetFloat::addToToc
8641 * toc.[Ch]: new files, containing helper functions to handle table
8644 * lyxfunc.C (dispatch): no need to remove spaces around command
8646 (getStatus): handle LFUN_SEQUENCE by returning the status of the
8647 first command of the sequence; it is not very clever, but I do not
8648 have a better idea, actually
8650 * LyXAction.C (LookupFunc): make sure to remove space at the
8651 beginning and end of the command
8653 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8655 * MenuBackend.C (getMenubar): new method: return the menubar of
8657 (read): treat differently reading of menu and menubar (in
8658 particular, the menubar has no name now)
8659 (Menu::menubar): remove
8661 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8664 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8666 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8667 a bibitem inset in a RTL paragraph.
8669 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
8671 * paragraph_pimpl.C: constify
8673 * BufferView_pimpl.C:
8675 * lyxfunc.C: fix dispatch in a nicer way
8677 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8679 * lyxfunc.C (dispatch):
8680 * BufferView_pimpl.C:
8681 * BufferView_pimpl.h:
8683 * BufferView.h: rename Dispatch() to dispatch()
8685 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8687 * lyxlayout.C (Read): honor DependsOn tag
8689 * lyxlayout.[Ch] (depends_on): new method
8691 * version.C.in: update lyx_docversion
8693 * LaTeXFeatures.C (getMacros): only define \LyX when needed
8695 * paragraph.C (validate): remove from here...
8696 * paragraph_pimpl.C (validate): ... and move here
8697 (isTextAt): make it const
8699 * buffer.C (getLists): ws cleanup
8701 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
8703 * language.C (read): Use iso8859-1 encoding in latex_lang
8704 (this prevents LyX from crashing when using iso10646-1 encoding).
8706 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8708 * text2.C (toggleInset): if cursor is inside an inset, close the
8709 inset and leave cursor _after_ it
8711 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8713 * lyxfunc.C: move minibuffer completion handling out of here
8715 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
8717 * BufferView_pimpl.C:
8718 * LaTeX.C: fix dispatch calls
8720 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
8722 * text.C (drawChars): Fix Arabic text rendering.
8724 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
8728 * lyxfunc.C: remove message-push/pop
8732 * lyxfunc.C: rationalise some code by removing verboseDispatch
8733 in favour of a bool argument to dispatch()
8735 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8737 * lyx_main.C (init): make sure to read symlinks as absolute paths
8739 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8742 * lyxfunc.C: no need for commandshortcut to be a member
8744 2002-07-15 André Pönitz <poenitz@gmx.net>
8746 * converter.C: add support for $$s (scripts from lib/scripts dir)
8747 * lyx_main.C: white space
8749 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8753 * lyxrc.C: remove second exit confirmation
8755 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
8760 * BufferView_pimpl.h:
8761 * BufferView_pimpl.C:
8762 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8764 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8766 * MenuBackend.C (expand): add numeric shortcuts to document menu
8768 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8770 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8772 * lyxfont.C (setLyXFamily):
8779 * buffer.C (asciiParagraph): use ascii_lowercase
8781 2002-07-15 Mike Fabian <mfabian@suse.de>
8783 * lyxlex_pimpl.C (search_kw):
8784 * lyxlex.C (getLongString):
8785 * converter.h (operator<):
8786 * converter.C (operator<):
8787 * buffer.C (parseSingleLyXformat2Token):
8789 * ToolbarDefaults.C (read):
8790 * MenuBackend.C (checkShortcuts):
8792 * LColor.C (getFromGUIName):
8793 (getFromLyXName): use the compare_ascii_no_case instead of
8794 compare_no_case, because in turkish, 'i' is not the lowercase
8795 version of 'I', and thus turkish locale breaks parsing of tags.
8797 2002-07-16 Angus Leeming <leeming@lyx.org>
8799 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8800 now takes a Buffer const & argument.
8802 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
8804 * BufferView.C (resize): check there's a buffer to resize
8806 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
8808 * lyxfunc.C: remove dead code
8811 * lyxserver.C: use lyx_guii::set_read_callback
8813 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
8815 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8816 an inset in a RTL paragraph.
8818 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8820 * lyxfunc.C: repaint after a font size update
8822 2002-07-15 André Pönitz <poenitz@gmx.net>
8824 * lyxlength.C: inBP should be able to return negative values
8826 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8828 * lyxfunc.C: use lyx_gui::update_fonts()
8830 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
8832 * lyxfunc.C: use lyx_gui::update_color()
8834 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8840 * lyxrc.C: remove file->new asks for name option, and let
8841 buffer-new take an argument
8843 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
8845 * BufferView_pimpl.C: remove unneeded extra repaint()
8847 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
8849 * LyXAction.C: allow command-sequence with NoBuffer
8851 * lyxfunc.C: don't insist on trailing ';' for command-sequence
8853 2002-07-10 Angus Leeming <leeming@lyx.org>
8855 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8857 2002-07-09 Angus Leeming <leeming@lyx.org>
8859 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8861 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8863 * lengthcommon.h: whitespace
8865 * lyxfunc.C: update scrollbar after goto paragraph
8867 * lyxtext.h: factor out page break drawing, and fix it so
8868 page break/added space paints as selected nicely
8870 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
8872 * BufferView_pimpl.C: add FIXMEs, clean up a little
8874 2002-07-09 André Pönitz <poenitz@gmx.net>
8876 * lyxfont.[Ch]: support for wasy symbols
8878 2002-07-08 André Pönitz <poenitz@gmx.net>
8880 * BufferView_pimpl.C: apply John's patch for #93.
8882 2002-07-05 Angus Leeming <leeming@lyx.org>
8884 * BufferView_pimpl.C (buffer): generate previews if desired.
8886 * LColor.h: add "preview" to the color enum.
8888 * LColor.C (LColor): add a corresponding entry to the items array.
8890 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8893 2002-07-05 Angus Leeming <leeming@lyx.org>
8895 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8896 The body of the code is now in the method that is passed an ostream &
8897 rather than a file name.
8898 Pass an additional only_preamble parameter, useful for the forthcoming
8901 2002-07-03 André Pönitz <poenitz@gmx.net>
8903 * lyxfunc.C: simplify getStatus() a bit for math stuff
8905 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8907 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8909 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8911 * text.C (changeRegionCase): do not change case of all the
8912 document when region ends at paragraph end (bug #461)
8914 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8916 * paragraph.C (startTeXParParams):
8917 (endTeXParParams): add \protect when necessary
8919 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8921 * BufferView_pimpl.C (workAreaExpose): remove warning
8923 2002-06-27 Angus Leeming <leeming@lyx.org>
8925 * Makefile.am: add lyxlayout_ptr_fwd.h.
8927 2002-06-26 André Pönitz <poenitz@gmx.net>
8929 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8931 2002-06-25 Angus Leeming <leeming@lyx.org>
8933 * lyxfunc.C (dispatch): Comment out the call to
8934 grfx::GCache::changeDisplay. The method no longer exists now that the
8935 pixmap generation part of the graphics loader has been moved into
8938 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * text2.C: layout as layout
8942 * text.C: layout as layout
8944 * tabular.C (OldFormatRead): layout as layout
8946 * paragraph_pimpl.C (TeXDeeper): layout as layout
8947 (realizeFont): layout as layout
8949 * paragraph.C (writeFile): layout as layout
8950 (validate): layout as layout
8951 (getFont): layout as layout
8952 (getLabelFont): layout as layout
8953 (getLayoutFont): layout as layout
8954 (breakParagraph): layout as layout
8955 (stripLeadingSpaces): layout as layout
8956 (getEndLabel): layout as layout
8957 (getMaxDepthAfter): layout as layout
8958 (applyLayout): layout as layout
8959 (TeXOnePar): layout as layout
8960 (simpleTeXOnePar): layout as layout
8961 (TeXEnvironment): layout as layout
8962 (layout): layout as layout
8963 (layout): layout as layout
8965 * lyxtextclass.C (compare_name): new functor to work with
8966 shared_ptr, layout as layout
8967 (Read): layout as layout
8968 (hasLayout): layout as layout
8969 (operator): layout as layout
8970 (delete_layout): layout as layout
8971 (defaultLayout): layout as layout
8973 * lyxlayout_ptr_fwd.h: new file
8975 * lyxlayout.C (Read): layout as layout
8977 * lyx_cb.C (MenuInsertLabel): layout as layout
8979 * bufferlist.C (newFile): layout as layout
8981 * buffer.C (readLyXformat2): layout as layout
8982 (parseSingleLyXformat2Token): layout as layout
8983 (insertStringAsLines): layout as layout
8984 (asciiParagraph): layout as layout
8985 (latexParagraphs): layout as layout
8986 (makeLinuxDocFile): layout as layout
8987 (simpleLinuxDocOnePar): layout as layout
8988 (makeDocBookFile): layout as layout
8989 (simpleDocBookOnePar): layout as layout
8990 (getLists): layout as layout
8992 * LaTeXFeatures.C (getTClassPreamble): layout as layout
8994 * CutAndPaste.C (cutSelection): layout as layout
8995 (pasteSelection): layout as layout
8996 (SwitchLayoutsBetweenClasses): layout as layout
8998 * BufferView_pimpl.C (Dispatch): layout as layout
8999 (smartQuote): layout as layout
9001 * BufferView2.C (unlockInset): layout as layout
9003 2002-06-24 André Pönitz <poenitz@gmx.net>
9005 * lyxfunc.C: fix #487
9007 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9011 * lyxfunc.C: remove display_shortcuts, show_banner
9013 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9015 * Buffer_pimpl.C: oops, update on resize
9017 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9024 * BufferView.C: use repaint()
9026 * BufferView_pimpl.h:
9027 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9028 as it's a clearer description. Remove superfluous
9031 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9033 * text.C: fix bug 488. Not ideal, but getting
9034 getWord() to work properly for the insets that
9035 matter is more difficult ...
9037 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9039 * BufferView_pimpl.C:
9042 * lyxfunc.C: remove the six million index lyxfuncs to just
9043 one, and DTRT (bug 458)
9045 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9049 * BufferView_pimpl.h:
9050 * BufferView_pimpl.C: clean up resize() stuff,
9051 and unnecessary updateScreen()s
9053 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9057 * BufferView_pimpl.h:
9058 * BufferView_pimpl.C:
9061 * minibuffer.C: remove focus management of workarea,
9062 not needed. Use screen's greyOut()
9064 2002-06-17 Herbert Voss <voss@lyx.org>
9066 * converter.C: (convert) do not post a message, when converting
9067 fails, let the calling function decide what to do in this case
9069 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9071 * lyxfunc.C: tidy up a little
9073 2002-06-16 <alstrup@diku.dk>
9075 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9076 Got rid of FORMS_H_LOCATION include. Now we are
9079 2002-06-15 LyX Development team <lyx@rilke>
9081 * buffer.[Ch] (sgmlOpenTag):
9082 (sgmlCloseTag): Added support for avoiding pernicious mixed
9083 content. Return number of lines written.
9086 (makeDocBookFile): Fixed calls to sgml*Tag.
9087 Simple white space clean.
9089 (simpleDocBookOnePar): Simple white space clean.
9091 * tabular.[Ch] (docBook): Renamed to docbook and got another
9092 argument to related with the pernicious mixed content.
9094 (docbookRow): Fixed calls for docbook inset method.
9096 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9098 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9099 so it's X11 independent.
9103 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9105 2002-06-15 Lyx Development team <lyx@electronia>
9107 * intl.h: Renamed getTrans to getTransManager.
9109 2002-06-14 Angus Leeming <leeming@lyx.org>
9111 * Makefile.am: nuke forgotten stl_string_fwd.h.
9113 2002-06-12 Angus Leeming <leeming@lyx.org>
9115 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9117 2002-06-13 Angus Leeming <leeming@lyx.org>
9120 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9122 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9124 * kbmap.C (getiso): add support for cyrillic and greek
9126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9130 * BufferView_pimpl.h:
9131 * BufferView_pimpl.C: move bogus scrolling logic
9134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9137 * BufferView_pimpl.C: view->resize() change
9139 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9141 * BufferView_pimpl.C: topCursorVisible
9144 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9148 * lyx_gui.C: move to frontends/
9152 * lyx_main.C: changes from above
9154 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9161 * lyx_main.C: minor tidy
9163 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9165 * BufferView_pimpl.h:
9166 * BufferView_pimpl.C:
9168 * BufferView.C: make painter() const,
9171 * BufferView2.C: use screen() accessor
9174 * lyx_main.C: some minor cleanup
9176 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9178 * BufferView_pimpl.h:
9179 * BufferView_pimpl.C: remove enter/leaveView,
9182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9187 * BufferView_pimpl.h:
9188 * BufferView_pimpl.C: only construct screen once,
9191 * lyxrc.C: remove pointless comment
9193 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9196 * BufferView.C: remove active() and belowMouse()
9198 * BufferView_pimpl.h:
9199 * BufferView_pimpl.C: use workarea() not workarea_,
9200 and make it use a scoped_ptr instead
9202 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
9204 * lyx_gui.C: add debug message on BadWindow
9206 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9208 * sp_spell.C: fdopen is not part of the C++ standard.
9210 * paragraph.C (InsetIterator): use >= instead of ==
9212 2002-06-07 Angus Leeming <leeming@lyx.org>
9214 Fixes needed to compile with Compaq cxx 6.5.
9215 * BufferView_pimpl.C:
9222 * lyxtextclasslist.C:
9227 all c-library variables have been moved into namespace std. Wrap
9228 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9233 Add a using std::abs declaration.
9235 * kbmap.h (modifier_pair):
9236 * paragraph.h (InsetTable, InsetList):
9237 * lyxfont.h (FontBits):
9238 type definition made public.
9240 * bufferlist.C (emergencyWriteAll): the compiler complains that
9241 there is more than one possible lyx::class_fun template to choose from.
9242 I re-named the void specialisation as lyx::void_class_fun.
9244 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9246 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9247 the compiler is is unable to find tostr in write_attribute.
9249 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9251 * buffer.C (sgmlError): hide #warning
9253 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9255 * xtl/*: get rid of xtl, which is not in use anyway
9257 * LyXAction.C (init):
9258 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9259 were unimplemented xtl experimentation
9261 2002-06-04 André Pönitz <poenitz@gmx.net>
9263 * lyxfunc.C: disable array operation on simple formulae
9265 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
9267 * converter.C: constify a bit
9269 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
9271 * lyx_gui.C: check xforms version correctly
9273 2002-04-30 Herbert Voss <voss@lyx.org>
9275 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9278 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
9280 * lyxvc.C: fix bug 416 (make sure buffer is saved before
9281 attempt to register it with a VCS)
9283 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9285 * lyx_main.C (init): honor variables LYX_DIR_13x and
9288 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9292 * lyx_main.C: fix a crash on bad command line,
9293 and give a useful exit status on error
9295 * lyxfunc.C (doImport): allow -i lyx to work
9297 2002-03-30 André Pönitz <poenitz@gmx.net>
9299 * lyxfunc.C: mathed font changes
9301 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
9316 * trans_mgr.h: srcdocs, and some minor cleanups
9318 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9320 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9321 call getFont all the time)
9323 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9325 * switch from SigC signals to boost::signals
9327 2002-05-29 André Pönitz <poenitz@gmx.net>
9329 * paragraph_pimpl.C (getChar): don't call size() too often...
9331 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9333 * paragraph_pimpl.C (insertChar): do not try to update tables when
9334 appending (pos == size())
9336 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9337 in order to reduce drastically the number of comparisons needed to
9338 parse a large document
9340 2002-05-29 André Pönitz <poenitz@gmx.net>
9346 * textclasslist.[Ch]:
9347 * sp_ispell.h: whitespace change
9349 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9351 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9352 lyxaction directly now.
9354 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
9358 * lyxvc.C: remove unused headers
9360 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9367 * undo_funcs.C: some cleanups. Use shared_ptr
9368 and a template for the undo stacks.
9370 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
9372 * BufferView_pimpl.h:
9373 * BufferView_pimpl.C:
9380 * text2.C: use key_state/mouse_state
9382 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9384 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9387 * chset.C: change include order
9388 (loadFile): use boost regex and get rid of LRegex and LSubstring
9390 * Makefile.am (BOOST_LIBS): new variable
9393 * LaTeX.C: change include order.
9394 (scanAuxFile): use boost regex and get rid of LRegex and
9398 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9403 * FontInfo.C: moved to frontends/xforms/
9406 * FontLoader.C: moved into frontends for GUIIzation
9411 * lyxfunc.C: changes from above
9413 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
9415 * LColor.C: remove spurious X include
9417 * BufferView_pimpl.C:
9422 * text2.C: move font metrics to frontends/
9424 2002-05-24 Juergen Vigna <jug@sad.it>
9426 * undo_funcs.C (textHandleUndo): fix the cursor selection after
9427 setting the undo_cursor.
9429 * ParagraphParameters.h: include local includes first.
9431 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9433 * BufferView_pimpl.C:
9434 * BufferView_pimpl.h:
9438 * screen.C: move WorkArea into frontends/
9444 * BufferView2.C: move LyXScreen into frontends/
9448 * lyx_gui.C: move lyxlookup into frontends/xforms/
9450 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9453 * BufferView_pimpl.C:
9463 * bufferview_funcs.C:
9476 * vc-backend.C: move LyX/XFormsView into frontends/
9478 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
9490 * text2.C: move Painter to frontends/
9492 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9494 * buffer.C: comment out some some code that depend upon lyx_format
9497 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9498 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9500 * buffer.h (NO_COMPABILITY): turn off compability
9502 * ColorHandler.C: include scoped_array.hpp
9504 * font.C: Use more specific smart_ptr header.
9507 * ShareContainer.h: ditto
9511 * BufferView_pimpl.h: ditto
9512 * ColorHandler.h: ditto
9514 * kbmap.C (defkey): change call to shared_ptr::reset
9516 2002-05-21 Juergen Vigna <jug@sad.it>
9518 * buffer.C (insertErtContents): fix to insert ert asis if it is
9519 non empty. Skip it completely if it contains only whitespaces.
9521 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
9523 * BufferView_pimpl.C:
9524 * BufferView2.C: clear selection on paste (bug 393)
9526 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9528 * DepTable.C: include ctime
9530 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
9532 * buffer.C (latexParagraphs): Add new argument (moving_arg).
9534 2002-05-14 Juergen Vigna <jug@sad.it>
9536 * text.C (breakParagraph): fixed function to honor the keepempty
9537 layout in the right maner and also to permit the right breaking
9538 algorithm on empty or non empyt keepempty paragraphs.
9540 * paragraph.C (breakParagraph): we have to check also if the par
9541 is really empty (!size()) for isempty otherwise we do the wrong
9544 2002-05-10 Juergen Vigna <jug@sad.it>
9546 * buffer.[Ch] : The following are only changes to the ert
9547 compatibility read reading old LaTeX layout and font stuff and
9548 convert it to ERTInsets.
9550 * buffer.h: added isErtInset().
9552 * buffer.C (struct ErtComp): add a fromlayout bool to check
9553 if we're inside a LaTeX layout.
9554 (isErtInset): new helper function.
9555 (insertErtContents): look for other ert insets before this one
9556 and insert the contents there, so that we don't have subsequent
9557 ERT insets with nothing between them. This way we create only one
9558 inset with multiple paragraphs. Also check if we don't insert only
9559 spaces ' ' as they are ignored anyway afterwards in the .tex file
9560 so if we have only spaces we will ignore this latex part in the
9562 (parseSingleLyXformat2Token \\layout): better compatibility when
9563 reading layout-latex stuff.
9564 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9566 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9567 stuff after reading the inset only get the information back from
9570 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
9572 * buffer.C (makeLaTeXFile): Put language options after loading babel.
9574 * LaTeXFeatures.C (getBabelOptions): New method.
9576 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9578 * BufferView_pimpl.C (Dispatch): work around missing argument for
9581 2002-05-08 Juergen Vigna <jug@sad.it>
9583 * text.C (leftMargin): handle paragraph leftindent.
9585 * paragraph.C (writeFile): write the new \\leftindent tag.
9586 (validate): handle leftindent code.
9587 (TeXEnvironment): handle paragraphleftindent code again.
9589 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9591 * buffer.C (parseSingleLyXformat2Token): added compatibility code
9592 for paragrap_extra indent code and new token \\leftindent.
9593 (latexParagraphs): handle the leftindent as environment.
9595 * ParameterStruct.h: added leftindent support.
9597 * ParagraphParameters.C (leftIndent): added support functions for
9598 the paragraph left indent.
9600 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9603 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
9605 * paragraph.C (isRightToLeftPar): Return false for a paragraph
9608 * text.C (computeBidiTables): No bidi in insetERT.
9610 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9613 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9615 * version.C.in: pre 5
9617 2002-05-02 José Matos <jamatos@fep.up.pt>
9618 * buffer.C (makeDocBookFile): white space changes, add newline to
9620 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9622 * tabular.C (docBook): fix typo.
9624 2002-05-03 Juergen Vigna <jug@sad.it>
9626 * screen.C (drawFromTo): recalculate the rowpointer if we had a
9627 change in LyXText as we can not be sure it was not freed.
9628 (drawOneRow): remove unused code.
9630 * text.C (drawInset): redo the calculation of the need_break_row as
9631 it could have a row which was already freed.
9632 (draw): look at the return value of drawInset and return false if
9633 it also returned false.
9634 (paintRowText): look at the return value of draw and return false if
9635 it also returned false.
9637 * lyxtext.h: added bool return type to drawInset() and draw() so that
9638 if we have a change in the row so that the rowbreak has to be redone
9639 we abort drawing as it will be called again.
9641 2002-05-02 Juergen Vigna <jug@sad.it>
9643 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9644 a change in the maintext also if we're inside an inset.
9645 (Dispatch): set the cursor again after a break line and after the
9646 screen has been updated as it could be we're in a different row.
9648 * text2.C (fixCursorAfterDelete): check to make sure we don't request
9649 to set the cursor behind the pargraph with > size().
9650 (setCursor): check also for the same paragraph when checking where
9651 to put the cursor if we have a NFR inset.
9653 * buffer.C (parseSingleLyXformat2Token): move the compatibility
9654 parts of layout read further up as it still was in the wrong
9657 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9659 * screen.C (drawFromTo): change sine fullRebreak always return
9662 * buffer.C (parseSingleLyXformat2Token): reindent some
9664 * BufferView_pimpl.C (update): change since fullRebreak always
9666 (Dispatch): git rid of the last hardcoded "Standard"s.
9668 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * text2.[Ch] (fullRebreak): make it return void now that we always
9673 2002-04-30 Juergen Vigna <jug@sad.it>
9675 * buffer.C (parseSingleLyXformat2Token): reset the font before the
9676 ert compatibility check for "latex" layout.
9678 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
9680 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9681 minipages: use col% instead of p%, and also use the current font.
9682 (makeLaTeXFile): Fix use babel condition.
9683 (parseSingleLyXformat2Token): Correct font when reading old floats.
9685 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
9687 * BufferView_pimpl.C (Dispatch): Check that float type exists when
9688 inserting list of floats.
9690 2002-04-25 Herbert Voss <voss@lyx.org>
9692 * MenuBackend.C (expand): don't add the graphics extensions to the
9695 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9697 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9698 non-existing layout, do not complain if it was the default layout
9699 of the original class (bug #342)
9701 2002-04-24 Juergen Vigna <jug@sad.it>
9703 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9704 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9706 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
9708 * buffer.C (getBibkeyList): If using \bibliography, return the
9709 option field with the reference itself. Enables us to provide natbib
9710 support when using \bibliography.
9712 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
9714 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9716 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9717 natbib is provided by the LaTeX class.
9719 2002-04-23 Juergen Vigna <jug@sad.it>
9721 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9724 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9726 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9730 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9731 ensuremath around textordmasculine, textordfeminine and
9734 2002-04-19 Juergen Vigna <jug@sad.it>
9736 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9737 reinitializing the buffer otherwise row-dimensions may be wrong.
9738 (update): reset also the selection cursors if they do exits otherwise
9739 their x/y positions may be wrong.
9741 * text2.C (cursorDown): don't enter the inset if we came from a row
9742 above and are one row over the inset.
9744 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9745 really leaving an inset.
9747 2002-04-18 Juergen Vigna <jug@sad.it>
9749 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9750 of the selected paragraph does not have the selected layout also if
9753 * text2.C (setLayout): fixed bug which did not change last selected
9756 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9757 changed the read and substituted \\end_float with \\end_inset!
9759 * BufferView_pimpl.C (cursorPrevious):
9760 (cursorNext): fixed to make it work with rows heigher than the work
9761 area without moving the cursor only the draw of the row.
9762 (workAreaMotionNotify): fix jumping over high rows.
9764 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9769 2002-04-16 Juergen Vigna <jug@sad.it>
9771 * text2.C (setCursor): set also the irow().
9772 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9774 (cursorDown): support for locking an inset if the x_fix value goes
9775 inside it. That way I can transverse insets too with cursor up/down.
9777 * lyxrow.h: added irow helper function same as other (i) functions.
9779 * BufferView_pimpl.C (cursorPrevious):
9780 (cursorNext): fixed for insets!
9782 2002-04-15 Juergen Vigna <jug@sad.it>
9784 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9785 position otherwise it is wrong in some cases.
9787 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9788 inside the inset before the call.
9790 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
9792 * buffer.[Ch] (getBibkeyList): make it const.
9794 2002-04-12 Juergen Vigna <jug@sad.it>
9796 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9798 * text2.C (getCursorX): new helper function
9799 (setCursor): compute also ix_
9800 (setCursorFromCoordinates): set also ix.
9802 * lyxcursor.h: added ix_ and helper functions.
9804 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9806 * buffer.C (insertStringAsLines): dont break paragraph if the this
9807 paragraph is inside an inset which does not permit it!
9809 * text.C (breakParagraph): honor keepempty flag and break the paragraph
9810 also with no chars on this paragraph.
9811 (paintRowText): only paint stuff if it's inside the workarea!
9813 * paragraph.C (breakParagraph): honor keepempty flag and break the
9814 paragraph always below not above.
9816 * BufferView2.C (unlockInset): update the paragraph layout on inset
9817 unlock as we changed paragraph in such a case.
9819 * lyxfind.C (LyXFind): clear the former selection if not found!
9821 * text2.C (insertInset): freeze Undo after setUndo so that it is not
9822 again called in insertChar().
9824 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9825 an inset which uses the whole row!
9826 (rightMargin): ditto.
9827 (insertChar): force a rebreak if we inserted an inset!
9829 2002-03-28 Herbert Voss <voss@lyx.org>
9831 * lyxlength.[Ch]: add inBP() to get the right PS-point
9832 units (BigPoint). With inPixels we have rounding errors
9834 2002-04-11 Juergen Vigna <jug@sad.it>
9836 * text2.C (setCursorFromCoordinates): set iy to the right value.
9837 (setCursor): add check if row->previous exists!
9839 * buffer.C (parseSingleLyXformat2Token): reset font after read of
9840 an old float_type as this was the case in the old code!
9842 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9844 * BufferView2.C (showLockedInsetCursor): use iy
9845 (fitLockedInsetCursor): ditto
9847 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9848 locked insets as there we have the right value now.
9850 * lyxcursor.C: added iy_ variable and iy functions to set to the
9851 baseline of cursor-y of the locked inset.
9853 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9854 (setCursor): fixed for insets which need a full row.
9856 * text.C (rowLastPrintable): don't ignore the last space when before
9857 an inset which needs a full row.
9858 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9859 as last character of a row when before a inset which needs a full row.
9861 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * version.C.in: update date
9865 * text2.C (fullRebreak): try to always return true and see what
9868 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * MenuBackend.C (expand): use Floating::listName
9872 * FloatList.C (FloatList): add listName argument to the built-in
9875 * Floating.[Ch]: add listName member, which is the 'List of XXX'
9876 text associated with the float.
9878 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9882 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * ShareContainer.h: add a couple of missing typenames.
9886 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
9888 * lyxrc.C (getDescription): use _() correctly rather than N_().
9890 2002-03-28 Herbert Voss <voss@lyx.org>
9892 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9893 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9895 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9897 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9898 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9900 2002-03-29 Juergen Vigna <jug@sad.it>
9902 * lyxfunc.C (dispatch): add a missing fitCursor call.
9904 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9905 it was scrolled by a cursor move, so return the bool status.
9907 * BufferView.C (fitCursor): return the bool flag also to the outside
9908 world as this is needed.
9910 * screen.C (toggleToggle): don't subtract the offset if it's positive.
9912 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9913 call the edit() as it is not needed (and wrong) IMO.
9914 (workAreaButtonPress): set the screen_first variable before evt.
9915 unlock the inset as this may change screen_first and then we have
9916 a wrong y position for the click!
9918 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9920 * MenuBackend.C (expand): another translation that I missed
9922 2002-03-28 Juergen Vigna <jug@sad.it>
9924 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9926 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9928 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9930 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9932 * MenuBackend.C (expand): fix export/view/update when there is no
9935 2002-03-27 Herbert Voss <voss@lyx.org>
9937 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9940 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9942 * bufferview_funcs.C (currentState): only show paragraph number
9943 for is DEVEL_VERSION is set.
9945 * lyxfunc.C (dispatch): put warning in INFO channel
9947 * MenuBackend.C (expand): translate the name of floats
9949 * FloatList.C (FloatList): mark the float names for translation
9951 * converter.C (convert): use LibScriptSearch
9953 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9955 * MenuBackend.C (defaults): fix default menu (we might as well get
9958 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9960 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9963 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9965 * lyxvc.C: reorder includes.
9967 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
9969 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9972 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
9974 * CutAndPaste.C: change layouts earlier on paste
9975 to avoid crashing when calling getFont()
9977 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
9979 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9982 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9984 * WorkArea.C: remove 'Pending' debug message.
9986 * most files: ws cleanup
9988 * buffer.[Ch]: ws changes
9990 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9992 2002-03-21 Juergen Vigna <jug@sad.it>
9994 * tabular.C (SetMultiColumn): collapse also the contents of the
9995 cells and set the last border right. Added a Buffer const * param.
9997 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
9999 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10002 2002-03-19 Juergen Vigna <jug@sad.it>
10004 * text2.C (clearSelection): reset also xsel_cache.
10006 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10007 where it needs to be called (John tells us to do so too :)
10008 (selectionLost): reset sel_cache.
10010 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10012 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10014 * text2.C (setCursorIntern): put debuging code in INSETS channel
10016 2002-03-19 André Pönitz <poenitz@gmx.net>
10018 * lyxfunc.C: tiny whitespace change
10020 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10022 * ToolbarDefaults.C (init):
10023 * LyXAction.C (init):
10025 * BufferView_pimpl.C (Dispatch):
10026 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10028 2002-03-19 Allan Rae <rae@lyx.org>
10030 * exporter.C (Export): removeAutoInsets before doing anything else.
10031 While I've just introduced a dependency on BufferView this really is
10032 the best place to clean the buffer otherwise you need to cleanup in
10033 a dozen places before calling export or cleanup in a dozen functions
10036 * converter.C (runLaTeX):
10037 (scanLog): Better handling of removeAutoInsets and screen updates.
10039 * lyxfunc.C (dispatch): small whitespace changes
10041 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * WorkArea.C (C_WorkAreaEvent): return a value.
10044 (event_cb): return 1 if we handled the event, 0 otherwise.
10046 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10048 2002-03-18 Juergen Vigna <jug@sad.it>
10050 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10051 (GetAdditionalWidth): ditto.
10052 (RightLine): ditto.
10055 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10056 inset if we're there actually (probably not used right now but this
10057 is the direction to go for unifying code).
10058 (paste): disable code to clear the selection.
10060 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10061 inside an InsetText and move the check further up as it is in the
10064 * text2.C (pasteSelection): set a selection over the pasted text.
10066 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10068 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10069 and libgraphics to build on Cygwin.
10071 2002-03-15 Juergen Vigna <jug@sad.it>
10073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10074 inserting an Inset into the paragraph. I know this is not the best
10075 fix but we already use current_view in CutAndPaste so we will remove
10076 all of it's using at the same time.
10078 * buffer.C (sgmlError): deactivated function till it is rewritten in
10079 the right mode, now it can create problems.
10081 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10082 before accessing it.
10084 2002-03-14 Juergen Vigna <jug@sad.it>
10086 * undo_funcs.C (textHandleUndo): do the right thing when updating
10087 the inset after the undo/redo.
10089 * text2.C (setCursor): just some testcode for #44 not ready yet.
10091 * undo_funcs.C (textHandleUndo): set the next() and previous()
10092 pointers of the paragraph to 0 before deleting otherwise we have
10093 problems with the Paragraph::[destructor].
10095 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10096 on a paragraph insertion.
10098 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * buffer.C (asciiParagraph): use += operator for char append to
10103 * paragraph.C (getFontSettings): compare >= not just >
10104 (highestFontInRange): ditto
10107 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10109 * paragraph.C: change several algorithm to be more appripriate for
10110 the problem domain. This is lookip in FontList and in the InsetList.
10112 2002-03-13 André Pönitz <poenitz@gmx.net>
10115 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10117 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10122 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10124 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * Painter.C (display): anon helper function, adjust code for this
10128 (pixmap): remove function.
10130 * Painter.h: remove private display variable.
10132 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10134 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10136 * WorkArea.[Ch]: remove figinset_canvas cruft.
10138 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10140 * lyxtextclass.C (operator): add one item cache optimization.
10142 * bufferlist.h: doxy changes
10144 * bufferlist.C: ws changes
10146 * DepTable.[Ch] (ext_exist): place const in the right spot.
10148 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10150 (workAreaExpose): call resizeInsets when the with BufferView changes.
10151 (Dispatch): adjust for protectedBlank removal
10152 (specialChar): call updateInset if the insert went ok.
10154 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10155 specialChar instead.
10157 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10159 * BufferView.h: doxy change
10161 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10163 * lyxtextclass.C (operator[]): remove non-const version
10164 (defaultLayout): remove non-const version
10166 2002-03-12 Juergen Vigna <jug@sad.it>
10168 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10169 did resize the LyXText too.
10171 * buffer.C (readLyXformat2): set layout information on newly allocated
10174 * tabular.C (OldFormatRead): set layout information on the paragraph.
10176 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10178 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10180 2002-03-11 Juergen Vigna <jug@sad.it>
10182 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10184 (resizeCurrentBuffer): force also the insets to resize themselfes.
10185 (moveCursorUpdate): fixed up for InsetText.
10187 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
10190 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10191 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10192 value of Dialogs::tooltipsEnabled().
10193 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10195 2002-03-08 Juergen Vigna <jug@sad.it>
10197 * BufferView_pimpl.C (updateInset): update inset inside inset also
10198 if it isn't inside theLockingInset().
10200 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10202 * buffer.C (asciiParagraph): redo some of the word and line length
10204 (getLists): look for Caption instead of caption.
10206 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10208 * buffer.C (Buffer): initialize niceFile to true
10210 (makeLinuxDocFile):
10211 (makeDocBookFile): make sure niceFile is true on exit
10213 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * buffer.C (makeLaTeXFile): escape ~ in \input@path
10217 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
10219 * LyXSendto.C: remove.
10220 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10221 * lyx_gui.C: remove now-redundant comment.
10222 * ColorHandler.h: remove forward declaration of class WorkArea.
10223 * lyxfunc.C: remove #include "WorkArea.h".
10225 2002-03-07 Juergen Vigna <jug@sad.it>
10227 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10228 got moved away with the DEPM and also set the inset_owner always
10229 right which before could have been omitted.
10231 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10233 * buffer.C (parseSingleLyXformat2Token): use default layout is the
10234 wanted layout is not found.
10236 2002-03-07 Juergen Vigna <jug@sad.it>
10238 * CutAndPaste.C (cutSelection): another layout settings forgotten.
10240 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * paragraph.C (breakParagraph): use default layout not layout of
10244 (Paragraph): clear ParagraphParameters.
10246 2002-03-06 Juergen Vigna <jug@sad.it>
10248 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10249 otherwise it would not be a valid lenght. Fixed a special case in
10250 the minipage compatibility read where we end the document with a
10253 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10254 was set as it could be 0 for InsetTexts first entry.
10256 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10258 * paragraph.C (writeFile): if layout is empty write out
10259 defaultLayoutName().
10261 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10262 file without named layout we set layout to defaultLayoutName().
10264 2002-03-06 Juergen Vigna <jug@sad.it>
10266 * CutAndPaste.C (copySelection): set layout for new paragraph.
10268 * text.C (prepareToPrint): leave ERT inset left aligned
10269 (leftMargin): don't indent paragraphs inside ERT insets
10271 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10273 * paragraph.C (breakParagraph): dont call clear do the work manually
10275 * paragraph.[Ch] (clear): remove function
10277 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10279 * paragraph.C (Paragraph): dont call clear, the work has already
10282 * lyxtextclass.C (operator): assert if n is empty
10284 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10285 work manually instead.
10287 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10289 * BufferView_pimpl.C: protect selectionLost against text == 0
10291 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * text.C (breakParagraph): fix a setting layout to '0' problem.
10295 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10297 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10298 final location of file, for the included files, and graphics.
10300 2002-03-05 Juergen Vigna <jug@sad.it>
10302 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10304 2002-03-04 Juergen Vigna <jug@sad.it>
10306 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10308 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10309 last column of multicolumn cells.
10310 (SetWidthOfMulticolCell): recalculate NMC and real columns.
10312 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
10314 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10315 file if it doesn't go to a temporary file.
10317 * buffer.C (sgmlOpenTag):
10318 (sgmlCloseTag): remove extra newline insertion.
10320 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * text.C (getRowNearY): comment out debug msg
10324 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10326 * text2.C: first -> first_y
10328 * text.C (getRowNearY): add some attemts at a possible
10329 optimization, not working.
10331 * tabular.[Ch]: add BufferParams to several function so that newly
10332 created paragraph can be initialized to he default layotu for the
10335 * tabular-old.C (ReadOld): add buf->params to call of Init
10337 * screen.C: rename text->first to text->first_y
10339 * paragraph.C (breakParagraph): always set layout in the broken
10342 * lyxtextclass.C (Read): remove lowercase
10345 (delete_layout): ditto
10347 * lyxtext.h: rename first -> first_y
10349 * lyxlayout.C (Read): remove lowercase
10352 (obsoleted_by): ditto
10354 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10356 * buffer.C (insertErtContents): add params are to InsetERT
10357 (parseSingleLyXformat2Token): add code to check if a paragraphs
10358 layout really exist.
10359 (parseSingleLyXformat2Token): add params to several inset
10361 (asciiParagraph): remove lowercase, do the layout comparisons with
10364 * BufferView_pimpl.C (cursorNext): first -> first_y
10365 (resizeCurrentBuffer): first -> first_y
10366 (updateScrollbar): first -> first_y
10367 (scrollCB): first -> first_y
10368 (workAreaMotionNotify): first -> first_y
10369 (workAreaButtonPress): first -> first_y
10370 (checkInsetHit): first -> first_y
10371 (cursorPrevious): first -> first_y
10372 (cursorNext): first -> first_y
10373 (Dispatch): add buffer_->params to severl inset contructors
10375 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10377 * lyxlayout.C (Read): remove some debug info that I forgot.
10379 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10380 clean up the code slightly.
10381 (makeLinuxDocFile): ditto
10382 (makeDocBookFile): ditto
10384 * text2.C: layout as string
10386 * text.C: layout as string
10388 * paragraph_pimpl.C: layout as string
10390 * paragraph.[Ch]: layout as string
10392 * lyxtextclasslist.[Ch]: layout as string
10394 * lyxtextclass.[Ch]: layout as string
10396 * lyxtext.h: layout as string
10398 * lyxlayout.[Ch]: layout as string
10400 * lyx_cb.C: layout as string
10402 * bufferview_funcs.C: layout as string
10404 * bufferparams.C: layout as string
10406 * buffer.C: layout as string
10408 * LyXView.[Ch]: layout as string
10410 * LaTeXFeatures.[Ch]: layout as string
10412 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10414 * BufferView_pimpl.C: change current_layout to string, remove
10419 (workAreaButtonRelease): layout as string
10421 * BufferView2.C (unlockInset): adjust
10423 * vspace.C (asLatexCommand): use an explict temp variable.
10425 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
10427 * Makefile.am: use FRONTEND_*
10429 2002-03-01 Juergen Vigna <jug@sad.it>
10431 * tabular.C (SetWidthOfMulticolCell): changed to something better
10432 I hope but still work in progress.
10433 (recalculateMulticolumnsOfColumn): renamed function from
10434 recalculateMulticolCells as it is more appropriate now.
10435 (SetWidthOfCell): calculate multicols better.
10437 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10439 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10441 * lyxfunc.C (processKeySym): print sequence also if it is
10442 `deleted' (complete)
10444 * kbsequence.C (print): print sequence even if it is deleted
10445 (complete would be a better word, actually).
10447 * lyxfunc.C (dispatch): print complete options after a prefix key
10449 * vspace.C (asLatexCommand): rewrite in a slightly different form.
10451 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
10453 * text2.C (setCharFont): eliminate setCharFont code duplication.
10455 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10457 * BufferView_pimpl.C (Dispatch): remove bogus handling of
10458 LFUN_TABULAR_FEATURE (bug #177)
10460 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
10462 * Makefile.am: remove figure.h
10464 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
10466 * Bufferview_pimpl.C:
10478 * text2.C: remove #include "lyx_gui_misc.h".
10480 * LaTeX.C: added #include <cstdio>
10482 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10484 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10485 that the paragraph following this one can have.
10487 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10489 * vspace.C (asLatexCommand): fix bogus gcc warning
10491 * Makefile.am (lyx_SOURCES): remove vms_defines.h
10493 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
10495 * text2.C (setLayout): get rid of redundant code
10497 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
10499 * text2.C (incDepth): make sure depth cannot be increased beyond
10502 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
10504 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10505 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10507 * PainterBase.h (image):
10508 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10509 a LyXImage const *.
10511 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10515 * BufferView_pimpl.C:
10516 * BufferView_pimpl.h:
10536 * sp_spell.C: remove fig inset, and the crap house of
10537 cards that follows it
10539 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
10544 * os2_errortable.h:
10545 * nt_defines.h: move .h into support/
10547 * vms_defines.h: remove
10549 * WorkArea.C: add space in debug output
10553 * buffer.C: add WITH_WARNINGS
10557 * bufferlist.C: s/retrive/retrieve/, add docs
10566 * chset.C: add docs
10568 * lyxgui.C: add ID to X error handler
10570 * lyxtestclass.c: fix typo
10572 2002-02-26 Juergen Vigna <jug@sad.it>
10574 * tabular_funcs.C (write_attribute): changed so that some default
10575 attributes are not written at all.
10576 (getTokenValue): set default values before trying to read the
10577 value so we have the return value always set as default if we don't
10578 find the token we search for.
10580 * tabular.C (Write): write bools as bools not as strings!
10582 2002-02-22 Juergen Vigna <jug@sad.it>
10584 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10585 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10587 * text.C (leftMargin): don't add an indent for paragraphs inside
10588 tabular cells (fix #208).
10590 2002-02-21 José Matos <jamatos@fep.up.pt>
10592 * tabular.C (docBook): fixed support for long tables.
10594 2002-02-20 Juergen Vigna <jug@sad.it>
10596 * text2.C (getFont): get the drawing font of the Inset if this
10597 paragraph is inside an inset (only important for InsetERT for now).
10599 * buffer.C (insertErtContents): use new lanugage params in ERT
10602 * CutAndPaste.C: commenting out seemingly uneeded code.
10604 2002-02-19 Allan Rae <rae@lyx.org>
10606 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10607 Iterators might be simple to use but they also get invalidated.
10608 (removeAutoInsets): renamed saved cursor tracking variables and added
10609 some comments to clarify what everything does.
10611 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
10618 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10619 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10622 * vc-backend.h: remove #include "support/syscall.h"
10626 * converter.C: rearrange #includes in Lars' approved fashion.
10628 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10629 forward declare class Timeout in the header file.
10631 * XFormsView.C: changes due to the above.
10633 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10634 similar to LyXView.
10636 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10637 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10639 2002-02-18 José Matos <jamatos@fep.up.pt>
10641 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10644 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10646 * a lot of small ws changes
10647 * add a lot of using std::XXX
10648 * use std construcs some places where approp.
10649 * use some exisint stuff from lyxfunctional where approp.
10650 * Make file changes to use partial linking (lets test this now...)
10652 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10656 remove #include "support/syscontr.h" as it's redundant. Always has been.
10664 change Systemcalls::System to Systemcalls::Wait and
10665 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10666 No change of functionality, just reflects the stripped down Systemcalls
10669 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
10671 * debug.[Ch]: add a GRAPHICS type to the enum.
10673 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10675 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10677 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10680 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10682 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10683 match the changes below.
10685 * text2.C (toggleInset): if there is not editable inset at cursor
10686 position, try to see if cursor is _inside_ a collapsable inset
10689 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10691 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10692 document menu has a nice checkbox
10694 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * lyxlength.C (asLatexString): change PW to output as percent of
10699 * lengthcommon.C: change '%' to 't%'
10701 * lyxfunc.C (dispatch): a few comments from Martin
10703 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
10707 * BufferView_pimpl.h:
10708 * BufferView_pimpl.C: clear our selection when X tells us we've lost
10711 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10713 * vspace.C (inPixels): fix compiler warning
10715 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10717 * lyxfunc.C (getStatus): fix status message for disabled commands.
10719 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
10721 * BufferView_pimpl.C: fix crash on close buffer
10722 during selection (#227)
10724 2002-01-27 Herbert Voss <voss@lyx.org>
10726 * buffer.C: link old Figure to new graphic inset
10728 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
10730 * FontLoader.C (getFontinfo): Change the latex font names in order
10731 to match the names of type1inst.
10733 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10735 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10737 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10738 (extchanged): ditto
10740 (remove_files_with_extension): ditto
10741 (remove_file): ditto
10744 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10745 document is smaller than the work area height. Do not initialize
10746 static variables to 0.
10748 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10750 * lyx_gui.C (init): give the toolbar tooltips a normal font.
10752 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10753 LFUN_LAYOUT_PARAGRAPHS.
10755 * tabular.C (GetCellFromInset): new method. Finds an inset in a
10756 tabular. It is possible to provide a possible cell, which will
10757 typically be the actcell from the corresponding insettabular
10759 * lyxfunc.C (getStatus): small cleanup; disable
10760 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10763 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10765 * tabular.C (Validate): remove broken optimization (fixes bug #201)
10767 * paragraph.C (startTeXParParams):
10768 (endTeXParParams): new methods. The LaTeX code to
10769 start/end paragraph formatting
10770 (simpleTeXOnePar): call startTeXParParams also when paragraph is
10771 empty (fixes bug #200)
10773 * vspace.C (inPixels): adapt to the change below
10774 (inPixels): [later] more cleanups (remove unused variables)
10776 * lyxlength.C (inPixels): change to use a width and a height as
10779 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10781 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10782 Replaced with \paperwidth
10784 * DepTable.C (insert): add std:: qualifier
10786 2002-01-18 Allan Rae <rae@lyx.org>
10788 * text2.C (removeRow): add comment. Should other refresh_?? vars be
10791 * text.C (drawInset): Turned out I didn't know enough about how
10792 rebreaking worked. This fixes most of the redraw problems. I see
10793 an occasional cursor trail when a line is broken now and the cursor
10794 placement can seem out by a few pixels also after a rebreak.
10796 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10798 * buffer.C (parseSingleLyXformat2Token): update because minipage
10799 width is now a LyXLength
10801 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10803 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10806 2002-01-17 Juergen Vigna <jug@sad.it>
10808 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10810 * BufferView2.C (lockInset): call edit() so that theLockingInset()
10811 is set correctly and the inset is updated correctly.
10813 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10816 the beginning of the loop.
10818 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
10820 * lyxrc.C: improve help for use_scalable_fonts
10822 2002-01-17 Allan Rae <rae@lyx.org>
10824 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10826 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10828 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10829 make sure to set their inset_owner to the right value (bug #171)
10831 2001-12-12 Ben Stanley <bds02@uow.edu.au>
10834 * DepTable.C: Implement mtime checking to reduce time spent doing
10837 2002-01-16 Juergen Vigna <jug@sad.it>
10839 * tabular.C (GetAdditionalHeight): one of error fixed.
10841 * lyxrc.C (output): small fix in writing use_pspell.
10843 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
10845 * sp_base.h: #include LString.h
10847 2002-01-16 Allan Rae <rae@lyx.org>
10849 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
10850 Can someone check this please?
10852 * text.C (drawInset): It was possible that p.row would be removed by
10853 breakAgainOneRow upsetting a few other settings. There may be another
10854 small tweak possible by setting need_break_row = 0 when p.row has been
10855 removed but I don't know enough about the logic here.
10857 2002-01-15 Allan Rae <rae@lyx.org>
10859 * text.C (insertChar): removed conditional truism.
10861 * BufferView2.C (removeAutoInsets): More tweaks.
10862 cur_par_prev could be a stray pointer. Check for trailing empty line
10863 in case last line was cur_par and only had an error inset on it.
10865 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10867 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10870 * vc-backend.C (most methods):
10871 * exporter.C (Export):
10872 * converter.C (convert):
10874 * LyXSendto.C (SendtoApplyCB):
10875 * lyxfunc.C (dispatch):
10879 * lyx_cb.C (AutoSave):
10881 * BufferView_pimpl.C (MenuInsertLyXFile):
10882 * buffer.C (runChktex): use Buffer::filePath().
10884 * buffer.h: rename filename to filename_; rename filepath to
10885 filepath_ and make it private
10886 (filePath): new method
10888 * buffer.C (writeFile): use fileName()
10891 * lyx_main.C (init): fix starting of LyX when the binary is a
10892 link from so,ewhere else.
10894 * minibuffer.C: include <cctype> for isprint
10896 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10898 * buffer.C (parseSingleLyXformat2Token): changes associated with the
10899 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10900 name clash with InsetCollapsable's width function.
10902 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * lastfiles.C: include <iterator>
10906 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10908 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10911 * buffer.C (makeLaTeXFile): ditto.
10912 Also make loop operation more transparent.
10914 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
10916 * ToolbarDefaults.C: remove trailing comma closing namespace.
10918 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10920 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10923 * trans.C (Load): comment out unused variable, allowed.
10925 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
10927 * minibuffer.[Ch] (append_char): new method to recieve input from the
10928 drop-down completion browser. If a key was pressed, then recieve this
10929 char and append it to the existing string.
10930 (peek_event): modify the positioning data passed to the completion
10931 browser so that it can be placed above the minibuffer rather than below.
10932 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * LyXAction.C (init): alloe error-next for readonly documents.
10936 * BufferView2.C (ChangeRefsIfUnique): use standard version of
10939 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * bufferlist.C (readFile): create the buffer _after_ checking that
10944 * lyxfunc.C (verboseDispatch): fix handling of arguments
10946 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10948 * lyxrc.C: use string::erase() instead of initializing to "".
10951 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
10953 * BufferView_pimpl.h:
10954 * BufferView_pimpl.C:
10957 * text2.C: tell X when we have made a selection for copying
10959 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10961 * BufferView_pimpl.C (MenuInsertLyXFile):
10962 * lyxfunc.C (menuNew):
10964 (doImport): add shortcuts to directory buttons
10966 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10969 * lyxfunc.C (setStatusMessage):
10970 (getStatusMessage): new methods
10971 (getStatus):use setStatusMessage instead of setErrorMessage
10972 (dispatch): when function is disabled, set error message here
10973 [instead of in getStatus previously]
10975 * BufferView_pimpl.C (workAreaButtonRelease): update
10976 toolbar/menubar here too.
10978 2002-01-13 Allan Rae <rae@lyx.org>
10980 * BufferView2.C (removeAutoInsets): finished off earlier fix.
10981 Now seems indestructible. Remaining task is to audit all other
10982 code affected by deleteEmptyParagraphMechanism. One small quirk
10983 left is that an empty document with an error in the preamble can
10984 be made to report an error but no error box appears. I don't know
10986 (removeAutoInsets): Improved comments.
10988 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
10991 * Thesaurus.C: update for Aiksaurus 0.14
10993 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * text2.C (firstParagraph): removed member function, all uses
10996 replaces with ownerParagraph
10997 (redoParagraphs): here
10998 (updateInset): here
10999 (toggleAppendix): here
11000 * BufferView2.C (insertErrors): here
11001 (setCursorFromRow): here
11003 2002-01-13 Allan Rae <rae@lyx.org>
11005 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11006 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11007 There is still a way to segfault this although you may have to do this
11008 multiple times: Have an InsetERT with an unknown command in it.
11009 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11010 <down-arrow>, <Enter> again, View->DVI, BANG!
11012 * text2.C (setCursor):
11013 (deleteEmptyParagraphMechanism):
11014 * lyxtext.h (setCursor):
11015 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11016 Making use of the return value may help fix other bugs.
11018 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11020 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11022 * LyXView.C (updateMenubar): call MenuBar::update here
11023 (updateToolbar): but not here
11024 (showState): do not update toolbar/menubar
11026 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11027 should need to care about that.
11029 * lyxfunc.C (verboseDispatch): simplify a bit
11030 (getStatus): have a version which takes a pseudoaction, and
11031 another which requires a (kb_action,string).
11033 * LyXAction.C (retrieveActionArg): make it work also when action
11034 is not a pseudo-action.
11035 (getActionName): simplify a bit
11038 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11040 * lyxfunc.C (verboseDispatch): new families of methods with
11041 several ways to specify a command and a bool to indicate whether
11042 the command name and shortcut should be displayed in minibuffer
11043 (eventually, we could extend that to a finer bitmask like
11044 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11045 (dispatch): the pristine dispatch command which just, well,
11046 dispatchs! Note it still sets its result to minibuffer; I'm not
11049 * lyxfunc.h: remove setHintMessage
11051 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11053 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11055 * BufferView_pimpl.C (specialChar): delete new inset if we have
11056 not been able to insert it.
11058 * kbmap.C: revert to using int instead of kb_action, since all we
11059 are dealing with is pseudo-actions.
11061 * LyXAction.C (searchActionArg): change to return int instead of
11062 kb_action, since the result is a pseudoaction.
11064 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11066 * buffer.C (insertErtContents): Fix (partially) the font bug.
11068 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11070 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11071 as the other one is broken on my machine!
11073 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11076 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11078 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11080 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11081 reflect their actual use. Provide compatibility code for older lyxrc
11084 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11086 change names of popup font variables in line with the changes to lyxrc.C
11088 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11090 * buffer.C (asciiParagraph): avoid outputing a word twice after
11093 * lyxrc.C (getDescription): document that document_path and
11094 template_path can be empty.
11096 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11098 * LaTeXFeatures.C (getMacros):
11099 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11101 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11103 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11105 (getPackages): rename feature "floats" to "float". Use an array to
11106 iterate over 'simple' features (i.e. just a \usepackage). Add
11107 handling of "amsmath" (renamed from "amsstyle").
11109 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11111 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11114 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11116 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11117 FuncStaus::FuncStatus & FuncStaus::some_method().
11119 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11121 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11122 of the func_satus stuff. Edited and massaged in various ways by
11125 * lyxfunc.C (getStatus): use FuncStatus
11127 2002-01-08 Juergen Vigna <jug@sad.it>
11129 * text.C (nextBreakPoint): use function Inset::isChar().
11131 * paragraph.C (TeXOnePar): use function
11132 Inset::forceDefaultParagraphs.
11134 * buffer.C (latexParagraphs): use function
11135 Inset::forceDefaultParagraphs.
11137 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11139 * lyx_gui.C (init): set the style of the menu popups to
11140 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11142 2002-01-07 Juergen Vigna <jug@sad.it>
11144 * text.C (setHeightOfRow): small fix
11145 (prepareToPrint): don't look at alignment if we don't have the place
11148 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11150 * box.C: New file. Move the Box methods and functions out of box.h,
11151 following Lars' suggestion.
11153 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11155 * box.h: #include "support/LOstream.h", needed for inlined function.
11158 * lyxtextclasslist.C: added some using std declarations.
11160 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11162 * box.h: make signed dimensions to allow insets wider than
11163 the screen (bug #162)
11165 * BufferView_pimpl.C: add some insetHit debug
11167 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11169 * vc-backend.C: add FIXME
11171 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11173 * lyxfunc.C (getStatus): enable code for showing math font status
11176 2002-01-07 Juergen Vigna <jug@sad.it>
11178 * text.C (nextBreakPoint): removed debug output not needed anymore.
11180 2002-01-06 Juergen Vigna <jug@sad.it>
11182 * text.C (nextBreakPoint): fixed up this function we had this bug
11183 since ever but now hopefully we break row better.
11184 (insertChar): we have to check if an inset is the next char as it
11185 could now happen that a large inset is causing a break.
11187 2002-01-05 Juergen Vigna <jug@sad.it>
11189 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11190 if it doesn't like to be drawed.
11192 2002-01-04 Juergen Vigna <jug@sad.it>
11194 * BufferView2.C (lockInset): forgot to set a cursor.
11196 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11198 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
11200 * FormMathsPanel.C:
11203 * form_maths_panel.C:
11204 * form_maths_panel.h:
11205 * form_maths_panel.fd: implemented sub- and super- buttons in math
11208 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11209 (or ^ space) to be used as in TeX (req'd by André).
11211 * lyxfunc.C: Allow ^ and _ again to be used both as
11212 super/subscript (mathed) and as themselves (in text).
11214 2002-01-03 Allan Rae <rae@lyx.org>
11216 * LyXView.C (updateWindowTitle): Setup a short icon title of either
11217 "LyX" or the filename of the current buffer if it has one. This is a
11218 modified form of John Levon's patch.
11220 * XFormsView.C (setWindowTitle): also set icon title.
11222 * LyXView.h (setWindowTitle): signature changed.
11223 * XFormsView.h (setWindowTitle): ditto.
11225 2002-01-02 Juergen Vigna <jug@sad.it>
11227 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11229 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11231 * screen.C (topCursorVisible): introduce a temp var for
11232 text->cursor.row(), handle the case where this row is null. (kindo
11235 * text2.C (setCursor): add a couple of asserts.
11237 * paragraph.h (inset_iterator): add -> operator
11239 * paragraph.[Ch] (autoDeleteInsets): remove member function
11241 * BufferView2.C (removeAutoInsets): rewrite to handle the old
11242 cursor pos correctly and handle inset deletion by itself.
11243 (insertErrors): move iterator declaration out of for expression
11245 * lyxtextclass.C: add <algorithm>
11247 * Makefile.am: added the new files to sources, removed layout.C
11249 * layout.C: removed file
11251 * layout.h: remove LYX_DUMMY_LAYOUT
11253 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11257 * lyxtextclass.[Ch]:
11258 * lyxtextclasslist.[Ch]: new files
11260 * include order changes to a lot of files, also changes because of
11263 2001-12-27 Juergen Vigna <jug@sad.it>
11265 * buffer.C (asciiParagraph): more fixes.
11267 * tabular.C (ascii): make ascii export support export of only the
11268 data separated by a column-delimiter.
11269 (ascii): better support for ascii export.
11271 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11273 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11275 * tabular_funcs.C: use a "using std::getline" instead of the
11276 previous fix from Angus (necessary for cxx + lyxstring)
11278 2001-12-24 Juergen Vigna <jug@sad.it>
11280 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11282 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11283 problems. First check a minipage also if we have some ert-contents
11284 (not only on par->size(), second set the right depth of the paragraph
11285 on the relink to the root-paragraph-list!
11287 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11288 which then did not anymore update the main paragraphs on undo/redo!
11290 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11292 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11293 code. Support all font-changing funcs (even those which are not in
11294 menu currently). Support for reporting font settings in
11295 mathed (disabled until Andre provides a function on mathed's side).
11297 * func_status.h (toggle): small helper function to set toggle
11300 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
11302 * tabular_funcs.C: getline -> std::getline
11304 2001-12-21 Juergen Vigna <jug@sad.it>
11306 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11307 accessed and could be 0 (I couldn't generate this but it seems
11310 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11312 * tabular_funcs.C: add LIstream.h, move write_attribute to..
11313 * tabular_funcs.h: here and include iosfwd
11315 2001-12-20 Juergen Vigna <jug@sad.it>
11317 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11318 inside inset but undo_par was.
11320 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11322 * Thesaurus.C: always include <config.h> in sources.
11326 * box.h: do not include <config.h> in header files
11328 * text.C (paintLastRow): remove unused variable
11330 * text.C (transformChar):
11332 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11334 * Painter.C (text):
11335 * font.C (width): rewrite to use uppercase() instead of
11338 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11340 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
11342 * lyxfind.C: clean up of find failure position change
11344 2001-12-20 Juergen Vigna <jug@sad.it>
11346 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11348 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11349 (TeXRow): added to LaTeX a single tabular row.
11350 (TeXLongtableHeaderFooter): added to output LT-h/f data.
11351 (Latex): simplified and finally good LT-h/f support.
11352 (various_functions): just small adaptions for LT-h/f support.
11354 * tabular_funcs.[hC]: added and moved here all not classfunctions
11357 2001-12-19 Juergen Vigna <jug@sad.it>
11359 * tabular.[Ch]: better support for longtabular options (not finished
11362 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11364 * text.C (paintLastRow): use the label font instead of the font of
11365 the last character to compute the size of *_BOX. This makes more
11366 sense and avoids a crash with empty paragraphs.
11367 Use Painter::rectangle to draw EMPTY_BOX.
11369 2001-12-19 Juergen Vigna <jug@sad.it>
11371 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11372 the paragraphs if the replaced paragraph is not the first one!
11373 Tried to delete not used paragraphs but does not work yet so for
11374 now it's inside #ifdef's and by default off!
11376 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11378 * MenuBackend.C: include "lyx_main.h" instead of declaring
11379 lastfiles (actually was declared as LastFiles* instead of a
11382 2001-12-17 Juergen Vigna <jug@sad.it>
11384 * tabular.C (AppendColumn): applied John's fix
11386 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
11390 * BufferView_pimpl.h:
11391 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11394 * box.h: new start of class for above
11396 * lyxfunc.C: ignore space-only minibuffer dispatches.
11397 Show the command name when it doesn't exist
11399 * minibuffer.C: don't add empty lines to the history
11401 * minibuffer.C: add a space on dropdown completion
11403 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
11405 * text.C: fix line above/below drawing in insets
11407 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11409 * lyxlength.C (LyXLength): Initialize private variables.
11411 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
11413 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11414 when inserting error insets.
11416 2001-12-13 Juergen Vigna <jug@sad.it>
11418 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11419 actually sometimes the before-paragraph.
11420 (setUndo): don't clear the redostack if we're not actually undoing!
11422 2001-12-06 Juergen Vigna <jug@sad.it>
11424 * undo_funcs.C (textHandleUndo): well after John's hint I got here
11425 and fixed redoing of main paragraph, so we can use it now ;)
11427 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11429 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11434 2001-12-13 André Pönitz <poenitz@gmx.net>
11437 * undo_func.C: minor cleanup
11439 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11441 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11442 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11443 font in urw-fonts package which is marked as -urw-fontspecific and
11444 does not work (incidentally, changing the encoding in the
11445 fonts.dir of this package to -adobe-fontspecific fixes the
11448 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11449 is a crash when undoing first paragraph (Juergen, please take a
11450 look). THis does not mean the undo fix is wrong, just that it
11453 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11454 the (Paragraph*) version when needed instead of duplicating the
11457 * text.C (workWidth): use Inset::parOwner to find out where the
11458 inset has been inserted. This is a huge performance gain for large
11459 documents with lots of insets. If Inset::parOwner is not set, fall
11460 back on the brute force method
11462 * paragraph_pimpl.C (insertInset):
11463 * paragraph.C (Paragraph):
11464 (cutIntoMinibuffer): set parOwner of insets when
11465 inserting/removing them
11467 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11469 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
11475 * mathed/formulabase.C:
11476 * mathed/math_cursor.[Ch]:
11477 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11480 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11482 * lyxlength.[Ch] (operator!=): new function
11484 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11486 * text.C (workWidth): use Inset::parOwner to find out where the
11487 inset has been inserted. This is a huge performance gain for large
11488 documents with lots of insets. If Inset::parOwner is not set, fall
11489 back on the brute force method
11491 * paragraph_pimpl.C (insertInset):
11492 * paragraph.C (Paragraph):
11493 (cutIntoMinibuffer): set parOwner of insets when
11494 inserting/removing them
11496 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11498 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11500 * tabular-old.C (getTokenValue):
11501 * tabular.C (getTokenValue):
11502 (write_attribute): new versions for LyXLength
11503 (everywhere): adjust the use of widths
11505 * tabular.h: change the type of widths from string to LyXLength
11507 2001-12-11 Ben Stanley <bds02@uow.edu.au>
11509 * paragraph.C: fixed missing line number count when exporting
11510 Environments to LaTeX file
11512 * buffer.C: added informational message for checking line numbers.
11514 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11516 * text2.C (deleteEmptyParagraphMechanism): if there is only one
11517 paragraph, do the 'double space' part, but not the 'empty
11520 * text.C (workWidth): small optimization
11521 (getLengthMarkerHeight): use minimal size for negative lengths.
11523 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
11525 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11527 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11529 2001-12-11 André Pönitz <poenitz@gmx.net>
11532 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11534 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11536 * text2.C: keep selection on a setFont()
11538 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11540 * lyx_cb.C: another bv->text misuse, from insert label
11542 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11545 * kbsequence.C: re-instate nmodifier mask
11547 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
11549 * lyx_main.h: make lyxGUI private.
11551 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
11553 * lyxfind.C: place the cursor correctly on failed search
11555 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * text.C (getLengthMarkerHeight): for small heights, the arrows
11558 are not always on top/bottom of the text
11559 (drawLengthMarker): smaller arrows; take the left margin in
11560 account; draw also vfills.
11562 (paintLastRow): remove special code for vfill and standard spaces,
11563 since everything is handled in drawLengthMarker now.
11565 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11567 * buffer.C (insertErtContents): try to handle font and language
11568 interaction a bit better.g
11570 * ColorHandler.C (updateColor): change the hash to cover the whole
11571 LColor enum, ws cleanup
11572 (getGCLinepars): ditto
11573 (getGCLinepars): only lookup in the linecache once.
11575 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
11577 * iterators.C (operator++): Make the iterator more robust
11579 * BufferView2.C (removeAutoInsets): Use paragraph iterators
11581 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11583 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11586 * text.C: better added space drawing
11588 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11591 * BufferView2.C: fix layout combo update on inset unlock
11593 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11595 * Makefile.am: don't compile unused files
11597 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11601 * LyXAction.C: remove old LFUN_LAYOUTNO
11603 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11605 * paragraph_pimpl.h:
11606 * paragraph_pimpl.C: isTextAt() doesn't need font param
11608 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11611 * lyxlex.C: little cleanup
11613 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
11615 * BufferView_pimpl.C: fix insertAscii for insets
11617 2001-12-05 Juergen Vigna <jug@sad.it>
11619 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11620 set the right font on the "multi" paragraph paste!
11622 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11628 * lyxlength.C: remove out-commented code.
11630 * BufferView_pimpl:
11644 * vc-backend.C: change "while(" to "while ("
11646 * lyxlength.[Ch]: add zero function to check if length is zero or
11648 * lyxgluelength.C: use it
11650 2001-12-05 Allan Rae <rae@lyx.org>
11652 * lyxlength.C: Attempted a fix for the abs(int) header selection.
11653 Works for 2.95.3, from what I understand of Garst's reports this should
11654 work for other g++ versions. We're screwed if the abs(int) definition
11655 changed between bugfix releases of gcc.
11657 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11659 * text.C: fix chapter label offset !
11661 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
11664 * text.C: fix hfill at end of line, clean up
11666 2001-12-04 Juergen Vigna <jug@sad.it>
11668 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11669 that we force an update of the inset and it's owners if neccessary.
11671 2001-12-03 Juergen Vigna <jug@sad.it>
11673 * text.C (rowLast): simplified code
11675 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
11677 * lyxfunc.C: fix show options on timeout
11679 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11681 * screen.C (topCursorVisible): scroll half a page when the cursor
11682 reached top of bottom of screen
11684 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
11686 * minibuffer.C: deactivate on loss of focus
11688 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11690 * vspace.[Ch] (operator!=): add operator.
11692 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
11694 * BufferView_pimpl.C: refuse to open an inset when
11695 there's a selection.
11697 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
11699 * BufferView_pimpl.C: allow to click on RHS of full row insets
11701 2001-11-30 Juergen Vigna <jug@sad.it>
11703 * tabular.C (LyXTabular): add a same_id to set the same id's in the
11704 insets for undo reasons.
11706 2001-11-28 André Pönitz <poenitz@gmx.net>
11708 * vspace.[Ch]: cosmetical changes
11710 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11720 * kbsequence.C: part re-write of old kb code
11723 * WorkArea.C: remove Lgb_bug_find_hack
11725 2001-11-30 José Matos <jamatos@fep.up.pt>
11727 * buffer.C (makeDocBookFile): add a comment to point a hack.
11728 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11729 Fixed a double write of labels.
11731 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11734 * LaTeX.h Fixed bug in LaTeX class where it would not
11735 re-run latex if no depfiles were changed, but the .dvi was removed.
11737 2001-11-28 André Pönitz <poenitz@gmx.net>
11739 * all the files from the change on 2001/11/26:
11740 use lyx::layout_type instead of LyXTextClass::size_type
11741 use lyx::textclass_type instead of LyXTextClassList::size_type
11743 2001-11-29 Juergen Vigna <jug@sad.it>
11745 * text.C: added support for paragraph::isFreeSpacing()
11747 * buffer.C: same as above
11749 * paragraph.h: inserted isFreeSpacing() function to enable
11750 FreeSpacing inside InsetERT.
11752 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11753 of the paragraph's in the cut/copy buffer to 0!
11755 * text2.C (removeRow): remove the assert as it can!
11757 * lyxtext.h: added helper function firstRow returning firstrow and
11758 made firstrow private again.
11760 * BufferView2.C (lockInset): don't relock if we're already locked!
11762 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11763 the only paragraph.
11764 (removeRow): added Assert::(firstrow)
11766 * debug.C: forgot to add INSETTEXT here.
11768 2001-11-28 Juergen Vigna <jug@sad.it>
11770 * sp_spell.C (initialize): changed error text to more general
11771 spellchecker command use (not only ispell!)
11773 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11775 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11777 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11779 * vspace.C: initialise lyxgluelength on failure
11781 2001-11-28 Allan Rae <rae@lyx.org>
11783 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11784 declaration & definition that looks like a function declaration.
11786 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11788 * BufferView2.C (copy):
11789 (copyEnvironment): do not clear the selection when doing a copy.
11791 * text.C (paintFirstRow): compilation fix
11793 2001-11-27 Ben Stanley <bds02@uow.edu.au>
11795 * tabular.C (Latex): correct line count when writing latex.
11797 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
11799 * paragraph_pimpl.h:
11800 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11803 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11807 * LColor.C: change vfillline->added_space
11809 * text.C: add markers and text for added space
11811 * vspace.C: fix comment
11813 2001-11-28 André Pönitz <poenitz@gmx.net>
11815 * paragraph.C: whitespace changes
11816 * all the other files from the change on 2001/11/26:
11817 change *::pos_type into lyx::pos_type
11819 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
11821 * buffer.C (parseSingleLyXformat2Token): Set the language to the
11822 language of the document when inserting error insets.
11824 2001-11-26 André Pönitz <poenitz@gmx.net>
11826 * BufferView_pimpl.[Ch]:
11834 * paragraph_pimpl.[Ch]:
11837 * text2.C: reduce header dependencies, introduce type for positions
11839 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11841 * <various>: change to use Alert.h
11843 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
11845 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11846 when encountering an unknown token.
11847 (readLyXformat2): Show an error message if there were unknown tokens.
11849 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
11852 * BufferView_pimpl.C:
11856 * text2.C: use par->isInset()
11858 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
11860 * paragraph_pimpl.h:
11861 * paragraph_pimpl.C: cleanup
11863 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11865 * text2.C (removeRow):
11866 * text.C (setHeightOfRow): remove useless (and costly) call to
11869 2001-11-20 Allan Rae <rae@lyx.org>
11871 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11872 Now need Inset*::checkInsertChar() to return true for appropriate
11873 cases so that the characters in the minibuffer will actually be
11876 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
11878 * text.C: change the order of the includes.
11879 (workWidth): initialize it at once.
11880 (workWidth): make maxw unsigned
11881 (setHeightOfRow): remove unused variable (inset)
11882 (selectSelectedWord): remove unused variable (inset)
11883 (paintRowText): fix drawing of hfill characters, and clean up a bit.
11885 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11887 * lyxserver.C (emergencyCleanup): do not try to close pipes if
11888 server is not running.
11890 (closeConnection): add debug info when server is disabled.
11892 * ColorHandler.C (getGCForeground): send debug message to GUI
11895 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11897 * kbmap.C (bind): modify because return conventions of
11898 kb_sequence::parse have changed.
11900 * kbsequence.C (parse): only ignore spaces and not any stupid
11901 control character. This avoids tests like s[i] <= ' ', which are
11902 guaranteed to fail with 8bit characters and signed chars.
11903 Change return code to string::npos when there have been no error
11904 (0 was a bad idea when error is at first character)
11906 2001-11-14 José Matos <jamatos@fep.up.pt>
11909 * buffer.C (simpleDocBookOnePar): removed unused argument.
11911 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11913 * text.C (selectNextWordToSpellcheck): do not test explicitely for
11914 insets which are part of a word. Paragraph::isLetter takes care of
11915 that now. Use Paragraph::isInset to identify insets.
11916 (selectSelectedWord): do not test for hyphenation break.
11918 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11919 that protected spaces are considered as spaces.
11921 * paragraph.C (isLetter): cleanup the code for ispell extras; use
11924 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
11927 * lyxserver.C: fix it. and small cleanup.
11929 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11931 * BufferView_pimpl.C: use inline helpers
11934 * LaTeXFeatures.C: fix typos
11937 * Spacing.C: move spacing_string into class
11939 * ToolbarDefaults.C: move stuff into namespace anon
11941 * layout.h: update enum
11943 * lyxfunc.C: use better debug
11945 * minibuffer.h: fix typo
11949 * WorkArea.C: add and use Debug::WORKAREA
11953 * text2.C: code re-organisation, inline helpers
11955 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
11957 * Layout.C: replaced a few cases of std::vector.size() == 0 with
11958 std::vector.empty().
11960 2001-11-09 Allan Rae <rae@lyx.org>
11962 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11963 '\n's after tables. Tabular and ERT inset work now makes this no
11966 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
11969 * minibuffer.C: fix crash, improve drop-down completion
11971 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
11974 * lyxserver.C: invalidate fd's when doing endPipe()
11976 2001-11-08 José Matos <jamatos@fep.up.pt>
11978 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11979 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11982 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11984 2001-11-07 José Matos <jamatos@fep.up.pt>
11987 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11990 * buffer.C (sgmlOpenTag):
11991 * buffer.C (sgmlCloseTag): removed debug info.
11993 * buffer.h (sgmlOpenTag):
11994 * buffer.h (sgmlCloseTag): made public.
11996 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11998 * buffer.C (saveParamsAsDefaults):
11999 * lyx_cb.C (MenuLayoutSave): remove
12001 * LyXAction.C (init):
12003 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12005 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12007 * buffer.C (setPaperStuff): removed from here...
12009 * bufferparams.C (setPaperStuff): ... and moved there.
12011 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12015 * XFormsView.C: add support for drop-down completion
12017 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12019 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12022 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12024 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12027 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12029 * lyx_main.C: change ref to known bugs
12031 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12033 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12034 to work around older babel problems.
12036 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12038 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12040 2001-10-24 Juergen Vigna <jug@sad.it>
12042 * tabular-old.C (ReadOld): below variable changes reflected.
12044 * tabular.[Ch]: added ltType struct for longtable header/footer
12045 defines and changed all instances where they are used. Added
12046 future support for double top/bottom rows.
12048 2001-10-24 José Matos <jamatos@fep.up.pt>
12050 * buffer.h (docbookHandleCaption):
12051 * buffer.C (docbookHandleCaption): removed unused function.
12052 (makeDocBookFile): moved docbook supported version to v4.1.
12054 2001-10-24 José Matos <jamatos@fep.up.pt>
12057 * tabular.C (docbookRow): new function to export docbook code of a row.
12058 (DocBook): now honors the longtable flags.
12060 2001-10-23 José Matos <jamatos@fep.up.pt>
12063 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12064 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12066 * buffer.C (makeLinuxDocFile):
12067 (makeDocBookFile): reworked the preamble, more clean, and with
12068 support for lyx defined entities. Changed the document declaration
12069 to be more XML friendly.
12071 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12072 if we need to output XML that should be done with a filter.
12074 2001-10-22 Juergen Vigna <jug@sad.it>
12076 * sp_pspell.h (class PSpell): add alive function needed in the
12077 controller to see if the spellchecker could be started.
12079 2001-10-22 Juergen Vigna <jug@sad.it>
12081 * buffer.C (insertStringAsLines): modify the font for inserting
12082 chars in certain conditions by calling checkInsertChar(font).
12084 2001-10-19 Juergen Vigna <jug@sad.it>
12086 * text.C (workWidth): use getRow instead of wrong algorithm.
12087 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12089 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12094 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12096 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12098 * text.C (workWidth): do not search for the exact row when
12099 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12100 optimization for big documents.
12102 2001-10-18 Juergen Vigna <jug@sad.it>
12104 * text.C (workWidth): new function with added Inset * parameter.
12106 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12108 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12110 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12111 change return type of getColumnNearX.
12114 * text.C (changeRegionCase): use uppercase/lowercase instead of
12117 (rightMargin): simplify code by factoring out the uses of
12122 (appendParagraph): use Paragraph::size_type
12124 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12126 * vspace.C (asLatexString): add a missing break
12128 2001-10-15 Herbert Voss <voss@perce.de>
12130 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12132 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12134 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12137 2001-10-10 André Pönitz <poenitz@gmx.net>
12139 * lyxfunc.C: removed greek_kb_flag.
12141 2001-10-10 Herbert Voss <voss@perce.de>
12143 * lyx_main.C: delete global string help_lyxdir.
12145 2001-10-09 Herbert Voss <voss@perce.de>
12147 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12149 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12151 * lyx_main.C: added global string help_lyxdir.
12153 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12155 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12157 * lyxrc.C (set_font_norm_type): support iso8859-4
12159 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12161 * LaTeX.C (deplog): add another regex for MikTeX
12163 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12165 * lyxrc.C (set_font_norm_type): support iso8859-3
12167 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12169 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12171 * LaTeXFeatures.C: remove special case of french and index
12173 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12174 before \begin{document}). This solves several incompatibilities.
12176 2001-10-03 Garst Reese <reese@isn.net>
12178 * lyx_cb.C: change CheckTex error msg.
12180 2001-10-03 José Matos <jamatos@fep.up.pt>
12182 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12184 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12186 * .cvsignore: update
12188 * lyx_main.C (commandLineVersionInfo): use new style version info.
12190 * buffer.C (writeFile):
12192 (makeLinuxDocFile):
12193 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12195 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12197 * version.h: update to use stuff in version.C
12199 * version.C.in: new file. Contains version information determined
12200 at compile time. This is a merging of version.h and
12203 2001-10-03 Juergen Vigna <jug@sad.it>
12205 * BufferView_pimpl.C (update): don't change "dirty" status in
12208 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
12210 * WorkArea.C (c-tor): re-position version string slightly.
12212 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
12214 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12215 revert to previous code.
12217 WorkArea.[Ch]: (show, destroySplash): methods removed.
12219 WorkArea.C: rework code so that it's an amalgam of the codes before and
12220 after the splash screen was moved to WorkArea.
12222 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12225 * vspace.C (inPixels):
12228 * buffer.C (insertStringAsLines):
12229 (asciiParagraph): fix types to be large enough
12231 * lyxlex_pimpl.h: change member status from short to int
12233 * layout.h: fix type of endlabeltype
12236 * kbsequence.C (parse): change return type to string::size_type
12238 * LaTeX.C (updateBibtexDependencies): comment out unneeded
12241 * Bullet.C (bulletSize):
12242 (bulletEntry): do not use short ints as parameters
12244 * BufferView2.C (insertLyXFile): change a char to an int.
12246 * WorkArea.C (WorkArea): remove unneeded floats in computation
12248 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
12250 * buffer.C (asciiParagraph): Treat '\\' as other chars.
12252 * paragraph.C (asString): Do not ignore newline/hfill chars when
12253 copying to the clipboard.
12255 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
12257 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12258 after a multi-line inset.
12260 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
12262 * paragraph.C (validate): Set NeedLyXFootnoteCode
12264 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12266 * lyxfont.C (LyXSizeNames): changed increase-error to increase
12267 and decrease-error to decrease.
12269 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12271 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12272 it more readable (should be equivalent)
12274 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
12276 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12278 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12280 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12281 of a cursor (row, etc.) after a character has been deleted
12282 (deleteEmptyParagraphMechanism): call the method above on _all_
12283 cursors held by the LyXText when a double space has been
12286 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
12288 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12290 (resizeCurrentBuff): remove code to destroy the old splash dialog.
12292 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12293 background. Use greyOut() and the new show() methods to toggle between
12294 the foreground and background. Add code to remove the splash after
12295 its initial showing.
12297 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12298 (create_forms): no longer call Dialogs::showSplash.
12300 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12302 * .cvsignore: add version_info.h
12304 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12306 * version_info.h.in: new file
12308 * Makefile.am: add version_info.h.in
12310 * lyx_main.C (commandLineVersionInfo): use version_info defined in
12311 version_info.h instead of VERSION_INFO
12313 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
12315 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12316 The ERT inset now returns string().
12318 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
12320 * lyxtext.h, text.C (selectNextWord): renamed as
12321 selectNextWordToSpellcheck.
12323 * text.C (selectNextWordToSpellcheck): Modified to not select
12324 words inside an ERT inset.
12326 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12328 * lyx_cb.C (MenuLayoutSave): change a bit the question
12330 * sp_base.h: include <sys/types.h>
12332 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
12334 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12336 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
12338 * several files: fix typos in user-visible strings
12340 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12342 * text2.C (pasteSelection): do not set the selection, since it
12343 will be cleared later. Actually, the intent was to fix the way the
12344 selection was set, but I figured rmoving the code was just as good.
12346 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
12348 * FontLoader.C (available): Check if font is available without
12351 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12353 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12355 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
12357 * lyxrc.[Ch]: added display_graphics variable and associated code.
12359 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12361 * bufferparams.C (hasClassDefaults): new method. Returns true if
12362 the buffer parameters correspond to known class defaults
12364 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
12366 * XFormsView.C (show): set minimum size to the main window.
12368 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12370 * text2.C (copySelection):
12372 * lyxfind.C (LyXReplace):
12373 * BufferView_pimpl.C (Dispatch): pass the correct flag to
12374 LyXText::selectionAsString.
12376 * paragraph.C (asString): add "label" argument to the second form
12378 * text2.C (selectionAsString): add "label" argument and pass it to
12379 Paragraph::asString.
12381 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12383 * lyx_main.C (commandLineHelp): remove version information
12385 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
12387 * lyx_main.C: add -version commandline option
12389 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
12391 * paragraph.h: make the optional constructor arg required instead.
12392 some modifications to other files because of this.
12394 * minibuffer.C (C_MiniBuffer_peek_event): make it static
12396 * lyxserver.C (C_LyXComm_callback): make it static
12398 * lyx_main.C (error_handler): make it static
12400 * lyx_gui.C (LyX_XErrHandler): make it static
12402 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12404 * WorkArea.C: make the extern "C" methods static.
12406 * Makefile.am (lyx_LDADD): simplify
12408 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12410 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12411 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12413 * LyXAction.C (init):
12414 * lyxfunc.C (dispatch): associated code removal.
12416 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12418 * lyxfont.h (isSymbolFont): shut off warning
12420 * text.C (setHeightOfRow):
12421 (getVisibleRow): fix crash with empty paragraphs which have a
12424 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
12426 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12429 2001-09-04 José Matos <jamatos@fep.up.pt>
12432 * tabular.C (docbook): rename docBook method to docbook.
12434 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12436 * Makefile.am: add dependencies to main.o.
12438 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
12440 * FontLoader.C (available): Return false if !lyxrc.use_gui
12442 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
12444 * FontInfo.C (query):
12445 * converter.C (view):
12446 * importer.C (Import):
12447 * exporter.C (Export): Can not -> cannot.
12449 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
12451 * BufferView_pimpl.C: allow to create index inset even if
12454 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
12456 * buffer.C (getLists): replace boost::tie code with an explicit pair
12457 as boost::tie can break some compilers.
12459 * iterators.h: Added a std:: declaration to the return type of
12462 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
12464 * lyxrc.C: add help for view_dvi_paper_option, default to safe
12467 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
12469 * iterators.[Ch]: New files. Provide paragraph iterators.
12471 * buffer.C (changeLanguage): Use paragraph iterators.
12472 (isMultiLingual): ditto
12474 * BufferView2.C (ChangeInsets): Use paragraph iterators.
12476 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
12478 * FontLoader.C: Support for cmr font.
12480 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
12482 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12483 (available): New method.
12485 * FontInfo.C (getFontname): Use scalable fonts even when
12486 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12489 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12491 * converter.C (Formats::view): reverted! Incorrect fix.
12493 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
12495 * converter.C (Formats::view): only output the -paper option
12496 if the dvi viewer is xdvi, thereby fixing bug #233429.
12498 2001-08-23 Herbert Voss <voss@perce>
12500 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12502 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
12504 * Spacing.h (Spacing): Set space to Default on in the default
12507 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
12509 * vc-backend.h (RCS::versionString): add RCS to version
12510 (CVS::versionString): add CVS to version
12512 * vc-backend.C (scanMaster): do not add CVS to version.
12513 (scanMaster): do not add RCS to version
12515 * lyxvc.C (versionString): new method
12517 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12519 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12521 * Spacing.C (set): initialize fval
12523 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
12525 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12528 2001-08-16 Juergen Vigna <jug@sad.it>
12530 * lyxfunc.C (dispatch): implemented the new FINISHED states.
12532 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12534 * BufferView_pimpl.C:
12537 * text2.C: setParagraph takes linespacing now
12539 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
12541 * LyxAction.C: add internal LFUN_CITATION_INSERT
12543 * LyXView.C: actually apply fix
12545 * bufferlist.C: fix open non-existent file
12547 * lyxfind.C: fix indentation
12549 * lyxfunc.C: remove unneeded assert, fix typo
12551 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
12553 * MenuBackend.C: use "Floatname List"
12555 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
12557 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12558 when converting LaTeX layout to insetERT.
12559 Generate a non-collapsed float when reading old float
12561 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12563 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12566 2001-08-13 Juergen Vigna <jug@sad.it>
12568 * text.C (fill): return 0 instead of 20 as this seems to be the more
12571 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
12573 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12576 2001-08-13 Juergen Vigna <jug@sad.it>
12578 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12580 (SearchBackward): comment out the unlocking of the inset_owner this
12581 should not be needed!
12583 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
12585 * Many files: Remove inherit_language, and add latex_language
12587 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12588 collapsible insets.
12590 2001-08-10 Juergen Vigna <jug@sad.it>
12592 * text.C (prepareToPrint): fixed hfill-width in draw!
12594 * BufferView2.C (selectLastWord): save the selection cursor as this
12595 now is cleared in the function LyXText::clearSelection!
12597 2001-08-08 Juergen Vigna <jug@sad.it>
12599 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12600 BACKSPACE type functions.
12602 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12603 is only cutted from the document but not put in the cut-buffer, where
12604 still the old stuff should be.
12606 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12608 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12610 * tabular.C (SetWidthOfCell): fixed special case where the width
12612 (LeftLine): handle '|' in align_special.
12614 (LeftAlreadyDrawed): ditto
12615 (SetWidthOfCell): ditto
12617 2001-08-07 Juergen Vigna <jug@sad.it>
12619 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12621 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12624 * lyxlex.[hC]: ditto
12626 2001-08-06 Juergen Vigna <jug@sad.it>
12628 * text.C (getVisibleRow): fix up row clearing a bit.
12630 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12632 * minibuffer.C: make sure the X server sees the changes in the input.
12634 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12636 * paragraph.C (getFont): split into...
12637 (getLabelFont): this
12638 (getLayoutFont): and this
12639 * paragraph_pimpl.C (realizeFont): calling this
12641 * text2.C (getFont): split into...
12642 (getLayoutFont): this
12643 (getLabelFont): and this
12644 (realizeFont): all three calling this
12646 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12649 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12651 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12653 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
12655 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12656 layouts from the Quote inset insertion.
12658 2001-08-03 Juergen Vigna <jug@sad.it>
12660 * BufferView_pimpl.C (update): do the fitCursor only at the end!
12662 * screen.C (drawFromTo): don't call fitcursor here and do the loop
12663 only if status not is already CHANGED_IN_DRAW (second level).
12665 * text.C (draw): don't set the need_break_row when inside an
12668 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12670 * buffer.C (parseSingleLyXformat2Token): handle more latex
12673 * bufferview_funcs.[hC]: change function names to
12674 begin with small char, adjust other files.
12676 2001-08-02 André Pönitz <poenitz@gmx.net>
12679 BufferView_pimpl.C: remove broken special code for math-greek
12681 2001-08-02 Juergen Vigna <jug@sad.it>
12683 * BufferView_pimpl.C (update): redone this function so that we
12684 update the text again if there was a CHANGE_IN_DRAW.
12686 * screen.C (cursorToggle): removed LyXText parameter and recoded.
12687 (drawFromTo): added a new internal bool which is used by draw() and
12689 (general): some cursor drawing problems fixed.
12691 2001-08-01 Juergen Vigna <jug@sad.it>
12693 * lyxfind.C (LyXFind): fixed
12694 (SearchForward): ditto
12695 (SearchBackward): ditto
12697 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12698 spurius drawing of the cursor in the main area.
12700 * text2.C (status): small fix which could lead to a segfault!
12701 (clearSelection): remove unneeded BufferView param.
12703 2001-08-01 André Pönitz <poenitz@gmx.net>
12705 * lyxfunc.C: small change due to changed mathed interface
12707 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12709 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12711 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
12713 * lyxfunc.c: fail gracefully if file doesn't exist
12718 * BufferView_pimpl.C: IsDirWriteable() proto changed
12720 * LyXView.C: fix updateWindowTitle() to store the last title
12722 2001-07-31 Juergen Vigna <jug@sad.it>
12724 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12725 the font (wrong since using of Paragraph::highestFontInRange).
12727 * paragraph.C (highestFontInRange): added a default_size parameter.
12729 * text.C (getVisibleRow): minor clear row changes (still not perfect).
12730 (setHeightOfRow): reformat
12732 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * converter.[hC] + affected files: move to (inital-char)lowercase
12737 * ParagraphParameters.C (ParagraphParameters): remove commented code
12739 * PainterBase.[Ch]: remove commented code
12741 * LaTeXFeatures.h: add "bool floats" for float.sty
12743 * LaTeXFeatures.C (LaTeXFeatures): init floats
12744 (require): handle float
12745 (getPackages): do it with floats
12747 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12749 * BufferView_pimpl.C (Dispatch): improve handling of
12750 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12752 * commandtags.h: #include lyxfont.h here temporarily to avoid
12755 * bufferlist.h: include LString.h here.
12757 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12759 * text2.C (getStringToIndex): new method.
12761 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
12763 * *: Reduced header file dependencies all over.
12765 2001-07-30 Baruch Even <baruch@lyx.org>
12767 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12769 2001-07-29 Baruch Even <baruch@lyx.org>
12771 * buffer.C (readInset): Changed GRAPHICS to Graphics.
12773 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
12775 * ParameterStruct.h (endif): add a default constructor to make
12776 sure that all variables is initialized.
12778 * ParagraphParameters.C (ParagraphParameters): adjust
12780 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12782 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12783 index; also, check that there is something to index, and that it
12784 does not span over several paragraphs.
12785 (doubleClick): use WHOLE_WORD_STRICT for double click.
12787 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12789 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12792 2001-07-26 Baruch Even <baruch@lyx.org>
12794 * buffer.C (readInset): Changed to call up InsetGraphics when reading
12795 an InsetFig figure, backwards compatible reading of old figure code.
12797 2001-07-27 Juergen Vigna <jug@sad.it>
12799 * text2.C: font.realize function adaption.
12801 * text.C (draw): add a warnings lyxerr text if needed.
12803 * layout.C: font.realize function adaption.
12805 * language.C: add inherit_language and implement it's handlings
12807 * bufferview_funcs.C (StyleReset): remove language parameter from
12808 font creation (should be language_inherit now).
12810 * bufferparams.C (writeFile): handle ignore_language.
12812 * paragraph.C (getFontSettings): the language has to be resolved
12813 otherwise we have problems in LyXFont!
12815 * lyxfont.C (lyxWriteChanges): added document_language parameter
12816 (update): removed unneeded language parameter
12818 * paragraph.C (validate): fixed wrong output of color-package when
12819 using interface colors for certain fonts in certain environments,
12820 which should not seen as that on the final output.
12822 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
12824 * BufferView_pimpl.C:
12829 * LyXAction.C: add thesaurus support
12832 * lyxfind.C: add "once" parameter, for thesaurus, to not
12833 move to the next match
12835 2001-07-26 Juergen Vigna <jug@sad.it>
12837 * lyxfont.C (realize): honor ignore_language too!
12840 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12842 * text.C (draw): one place more for ignore_language to not draw
12845 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
12847 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12849 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12851 * buffer.C (parseSingleLyXformat2Token): a more general fix for
12852 the minipage conversion problem.
12854 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12856 * buffer.C (parseSingleLyXformat2Token): check minipage if we
12859 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12861 * BufferView.h: don't forward declare WorkArea
12863 * BufferView.C: don't include WorkArea.h
12865 2001-07-25 André Pönitz <poenitz@gmx.net>
12869 * lyxfunc.C: new LFUN 'math-space'
12871 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12873 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12875 * text2.C (toggleInset): call open/close
12877 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * lyxfunc.C (dispatch): add debug for the disabled case
12881 * font.C (buttonText): make similar to rectText
12883 * buffer.C (readInset): comment out parsing of insetlist and
12886 * PainterBase.C (rectText): small correction
12888 * BufferView_pimpl.C: comment out insettheorem and insetlist
12889 * LyXAction.C: ditto
12890 * commandtags.h: ditto
12892 2001-07-24 Juergen Vigna <jug@sad.it>
12894 * text.C (draw): honor the ignore_language.
12896 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12898 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12900 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12903 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12905 * lyxtext.h: remove unused (and unimplemented) methods
12907 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12909 * text.C (getVisibleRow): honor background color
12912 * Painter.h: remove default color argument for fillRectangle
12914 * text.C (backgroundColor): new method
12916 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
12918 * text.C (getVisibleRow): adjust
12920 * font.[Ch] (rectText): new method, metrics
12921 (buttonText): new method, metrics
12923 * PainterBase.[hC]: make rectText and buttonText always draw and take
12926 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12928 * ToolbarDefaults.C (read):
12929 * MenuBackend.C (read): allow escaping in all strings
12931 * BufferView_pimpl.C (insertAndEditInset): new method.
12932 (Dispatch): use insertAndEditInset whenever appropriate.
12934 * BufferView_pimpl.C (insertNote): removed
12936 * BufferView_pimpl.C (smartQuote): new method, moved from
12937 BufferView; if an insetquote cannot be inserted, insert a '"'
12940 * BufferView2.C: remove insertCorrectQuote();
12942 * lyxfunc.C (getStatus): Add support for all remaingin
12943 inset-insert lfuns.
12945 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12947 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12948 command (necessary to pass " as parameter of self-insert.
12950 * text.C (selectWordWhenUnderCursor):
12951 (selectWord): add word_location parameter
12952 (selectWordWhenUnderCursor): same + remove special code for word
12954 (selectNextWord): use kind() to guess type of insetspecialchar,
12957 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12958 (insertErtContents): create ert insets as collapsed.
12959 (readInset): better compatibility code for Info inset.
12961 2001-07-20 Juergen Vigna <jug@sad.it>
12963 * lyxfunc.C (dispatch): use always LyXFind now!
12965 * text2.C (init): add a reinit flag so that the LyXText can be
12966 reinited instead of deleted and reallocated (used in InsetText).
12968 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12974 2001-07-18 Juergen Vigna <jug@sad.it>
12976 * text.C (selectNextWord): handle insets inside inset by calling
12977 always the bv->text functions so that we can go up the_locking_inset!
12979 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12980 in strange locations when inside an inset!
12982 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12983 handling to include insets.
12985 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12987 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12989 * LyXAction.C (init):
12991 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12992 LIGATURE_BREAK, since the name is so stupid.
12994 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
12996 * buffer.C (readInset): enable reading of new InsetNotes as well as old
12999 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13001 * sp_form.[Ch]: remove.
13003 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13005 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13008 * src/buffer.C (readInset): ditto.
13010 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13012 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13013 menuSeparator(), endOfSentenceDot(), ldots() and
13014 hyphenationPoint(), which are therefore removed.
13015 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13017 * LyXAction.C (init):
13018 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13020 * paragraph.C (getWord): removed.
13022 * BufferView_pimpl.C (Dispatch): use last word or selection for
13023 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13025 * lyx_main.C (queryUserLyXDir): do not ask before creating
13026 user_dir, except if it has been named explicitely.
13028 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13030 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13031 a document of zero size.
13033 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13035 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13036 approriately in the c-tor and in require().
13037 (getPackages): output the appropriate LaTeX for natbib support.
13039 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13040 variables "use_natbib" and "use_numerical_citations" when reading the
13042 (readInset): read the various natbib cite commands.
13043 (validate): white-space change.
13045 * bufferparams.[Ch]: new variables "bool use_natbib" and
13046 "bool use_numerical_citations".
13047 (writeFile): output them in the LyX file.
13049 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13051 * lyxfunc.C (getStatus): add support for all the inset insertion
13054 * text2.C (insertInset):
13055 * paragraph.C (insetAllowed):
13056 * BufferView_pimpl.C (insertInset): update to take in account the
13057 renaming of insertInsetAllowed
13059 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13061 * text2.C (getInset): new method. returns inset at cursor position.
13063 * BufferView_pimpl.C (Dispatch): changes because of this.
13065 * LyXAction.C (init): rename open-stuff to inset-toggle.
13067 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13069 * text2.C (toggleInset): renamed from openStuff; use
13072 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13074 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13076 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13078 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13080 * buffer.C (readLyXformat2): Add filename to the error dialog
13082 2001-07-18 Juergen Vigna <jug@sad.it>
13084 * tabular.C (GetCellNumber): put an assert here instead of the check!
13086 2001-07-17 Juergen Vigna <jug@sad.it>
13088 * BufferView_pimpl.C (toggleSelection): adapted too.
13090 * text.C (selectNextWord): adapted for use with insets.
13091 (selectSelectedWord): ditto
13093 2001-07-17 Juergen Vigna <jug@sad.it>
13095 * sp_spell.C (PSpell): fix initialitation order.
13097 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13099 * paragraph.C: spacing
13101 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13103 * sp_spell.C: repair language selection for pspell
13105 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * lyxfunc.h: change more methods to begin with lower char.
13109 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13111 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13112 for unknown layouts.
13114 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13116 * buffer.C (readLyXformat2): Generate an error dialog if there are
13119 2001-07-16 Juergen Vigna <jug@sad.it>
13121 * sp_spell.C: always compile ISpell part.
13123 * lyxrc.C: added use_pspell entry and it's handling.
13125 2001-07-13 Juergen Vigna <jug@sad.it>
13127 * sp_spell.C: removed double includes.
13129 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13131 Consistent use of Lsstream.h:
13132 * Lsstream.h: added using std::stringstream for consistencies sake.
13134 * buffer.C: removed using std::stringstream
13136 * lyxfont.C (stateText):
13137 * paragraph.C (asString):
13138 * text.C (selectNextWord, selectSelectedWord):
13139 * text2.C (setCounter):
13140 * vspace.C (asString, asLatexString):
13141 std::ostringstream -> ostringstream.
13143 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13145 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13146 * commandtags.h: add LFUN_HELP_ABOUTLYX
13147 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13149 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13151 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13153 * lyx_gui_misc.C: remove spellchecker
13154 * lyxfunc.C: showSpellchecker
13156 * sp_ispell.h: added
13157 * sp_pspell.h: added
13158 * sp_spell.C: added
13159 * sp_form.[Ch]: removed
13160 * spellchecker.[Ch]: removed
13162 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13164 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13166 (simpleTeXSpecialChars): Simply print the input character without
13167 any special translation if pass_thru is set.
13169 * layout.h: Added bool pass_thru to layout class for being able to
13170 implement pass through of a paragraph for Literate Programming.
13172 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13173 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13174 * layout.C (Read): add "passthru" to list of layout tags and add
13175 code to set the pass_thru boolean when it is read.
13177 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13179 * trans_decl.h: remove allowed from KmodInfo
13181 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13182 remove allowed code
13185 * paragraph_pimpl.C (erase): use boost::prior
13187 * Painter.C (text): use data() instead of c_str() when length is
13189 * WorkArea.C (putClipboard): ditto
13190 * font.h (width): ditto
13192 * BufferView2.C: use it-> instead of (*it). for iterators
13194 * paragraph_pimpl.C: ditto
13195 * paragraph.C: ditto
13196 * minibuffer.C: ditto
13197 * language.C: ditto
13199 * encoding.C: ditto
13200 * counters.C: ditto
13201 * converter.C: ditto
13203 * Variables.C: ditto
13204 * TextCache.C: ditto
13205 * MenuBackend.C: ditto
13206 * LyXAction.C: ditto
13208 * FloatList.C: ditto
13209 * DepTable.C: ditto
13210 * ColorHandler.C (LyXColorHandler): ditto
13212 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13214 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13216 * text2.C (openStuff): reintroduce this method (which had been
13217 nuked in NEW_INSETS frenzy).
13219 * lyxfunc.C (Dispatch): when an action has not been handled, use
13220 its name in the error message, not its number.
13222 * paragraph.C (inInset): change method name to begin with lowercase.
13225 * text2.C: updates because of this.
13227 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13229 * ToolbarDefaults.C (add): add spaces in error message
13231 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * buffer.C (readLyXformat2): initialize the ert comp. variables.
13234 (readLyXformat2): rename return_par to first_par, use lyxlex's
13235 pushToken and remove the manual push handling.
13236 (parseSingleLyXformat2Token): add another ert comp. variable:
13237 in_tabular, rename return_par to first_par. handle newlines better
13239 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13241 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13243 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * text2.C (getParFromID): removed
13247 * buffer.C (getParFromID): new method moved form lyxtext.
13248 * BufferView2.C (insertErrors): adjust
13249 (setCursorFromRow): adjust
13250 * BufferView_pimpl.C (restorePosition): adjust
13251 * lyxfunc.C (Dispatch): adjust
13252 * undo_funcs.C (textUndo): adjust
13254 (textHandleUndo): adjust
13255 (textHandleUndo): adjust
13257 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13259 * buffer.C: up' the LYX_FORMAT
13261 * lyxfont.h: turn NO_LATEX on as default
13263 * buffer.C (insertErtContents): new methods of tex style compability.
13264 (parseSingleLyXformat2Token): use it several places.
13265 * tabular.C (OldFormatRead): and here
13267 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13269 * text2.C: remove some commented code.
13272 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13273 * trans.C: changes because of the above.
13275 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
13277 * text2.C (setCounter): Fix counters bug with bibliography layout.
13279 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13281 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13282 own member functions
13283 (simpleTeXSpecialChars): ditto
13285 2001-07-06 Juergen Vigna <jug@sad.it>
13287 * a lot of files: changed the access to LyXText::status and the
13288 call of undo-functions.
13290 * undo.[Ch]: added a inset_id to the undo informations.
13292 * undo_funcs.[Ch]: added and moved here all undo functions.
13294 * lyxtext.h: give the status enum a weight, made status_ a private
13295 variable and made accessor functions for it, removed the whole bunch
13296 of undo-functions as they are now in their own file, make some
13297 functions publically available. Added function ownerParagraph with
13300 * paragraph.[Ch]: added "bool same_ids" to the constructor,
13301 made InInset() a const function, added getParFromID() function.
13303 * buffer.[Ch]: added const version for inset_iterator functions,
13304 added getInsetFromID() function.
13306 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13307 changed undo functions for new version.
13309 2001-07-05 Juergen Vigna <jug@sad.it>
13311 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13312 unknow mechanism does not call the proper constructor but only this
13313 one also if I request the other!?
13315 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13317 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13319 * text2.C (LyXText): use initialization lists.
13321 * lyxtext.h (Selection): initialize set_ and mark_
13322 (init): remove method
13324 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
13326 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13328 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13330 * screen.[Ch]: change method names to begin with lowercase
13332 * BufferView_pimpl.C (updateScrollbar): simplify further and
13333 hopefully make it a bit faster.
13335 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13337 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13338 calling directly xforms functions.
13340 * Painter.C (Painter):
13341 * lyx_cb.C (MenuWrite):
13342 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13345 * lyx_gui.C: remove bogus guiruntime extern declaration.
13347 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13349 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13351 (redoDrawingOfParagraph): ditto
13352 (redoParagraphs): ditto
13353 (cutSelection): don't create a object for CutAndPaste use the
13354 static method directly
13355 (pasteSelection): ditto
13357 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13360 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13362 * modifications to some other files because of this.
13364 * Makefile.am (lyx_SOURCES): add XFormsView
13366 * XFormsView.[Ch]: new files
13368 * LyXView.[Ch]: make LyXView a base class for the gui handling for
13369 the main window. Move the gui dependent stuff to XFormsView
13371 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13373 * tabular.C (GetCellInset): update cur_cell also in the row/col
13374 version of this function.
13376 * lyxfunc.C: no need to include figure_form.h here.
13382 * lyxvc.C: no need to include forms.h here.
13384 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13388 * lyxfunc.C (Dispatch):
13390 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13391 constructor argument.
13393 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13395 * paragraph.C (Paragraph): dont't clear, and just set layout.
13396 (makeSameLayout): use params's copy contructor.
13398 * ParagraphParameters.[Ch] (makeSame): delete method
13400 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
13402 * Variables.[Ch]: fix indentation, rename set to isSet
13404 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13406 * lyxfunc.C (Dispatch): fix typo
13408 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13413 * bufferlist.C: include assert.h for emergencyWrite().
13415 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13417 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13418 give up at last (bug #425202) !
13420 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
13426 * spellchecker.C: strip spellchecker options and bring up
13427 preferences tab instead
13429 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13432 the istringstream constructor
13434 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13436 * paragraph.C (getLayout): fix return value
13438 * paragraph.h: do not declare getLayout as inline.
13440 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13442 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13444 * lyxcursor.h (operator<): new func
13445 (operator>): new func
13446 (operator>=): new func
13447 (operator<=): new func
13449 * text.C (changeCase): use selection.start and selection.end
13450 (changeRegionCase): require from to be <= to. Require par to be a
13453 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13455 2001-06-27 Juergen Vigna <jug@sad.it>
13457 * text.C (cursorLeftOneWord): changed to return the cursor and added
13458 overlay with BufferView * parameter which calls this one.
13460 (selectWord): use new getWord function.
13461 (changeCase): renamed from changeWordCase as and extended to work
13462 also on selections.
13464 * lyxtext.h: added enum word_location
13466 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13467 changeCase as this operates now also on selections.
13469 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
13471 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13473 * many files: send debug output to Debug::INFO instead of
13476 * converter.C (View):
13478 (Move): send debug output to Debug::FILES instead of console.
13480 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
13482 * lyxfunc.C (getStatus): use func_status
13484 * func_status.h: new header, describing the results of
13485 LyXFunc::getStatus;
13487 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13490 2001-06-25 The LyX Project <jug@sad.it>
13492 * buffer.C (sgmlOpenTag):
13494 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
13496 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13498 * text2.C: remove some dead code
13500 * tabular.C (GetCellInset): store the last cell checked (gotten)
13502 * tabular.h: add the helper for the speedup
13504 * lyxtext.h: remove some dead code
13506 2001-06-26 The LyX Project <Asger>
13508 * paragraph.C: Change export to LaTeX of alignment to
13509 \begin{center} and family for better roundtrip work with reLyX.
13511 * Tune the math drawing a bit.
13513 2001-06-25 The LyX Project <Asger>
13515 * LColor.C (LColor): New color for math background. New color
13518 2001-06-25 The LyX Project <jug@sad.it>
13520 * lyxfunc.C (MenuNew): remove extra check for .lyx file
13522 * lyxfunc.C (Open):
13523 * bufferlist.C (newFile): do not restrict to files ending with
13526 * BufferView_pimpl.C (MenuInsertLyXFile):
13528 2001-06-24 The LyX Project <jug@sad.it>
13530 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13533 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13535 * lyxtext.h: rename most methods to begin with a small char.
13536 Lots of changes because of this.
13538 * paragraph.C (Paragraph): do not call fitToSize
13539 (erase): call Pimpl::erase
13540 (insertChar): call Pimpl::insertChar
13541 (insertInset): call Pipl::insertInset
13542 (breakParagraph): do not call fitToSize
13543 (breakParagraphConservative): do not call fitToSize
13544 (fitToSize): remove method
13546 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13548 2001-06-24 The LyX Project <Asger>
13550 * Fix Qt compilation^2
13552 2001-06-24 The LyX Project <jug@sad.it>
13554 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13555 depthHook(getDepth()-1).
13558 * ParagraphParameters.h:
13559 * ParameterStruct.h: change type of depth to unsigned int ==
13560 depth_type. Many adaptations to other files before of that.
13562 2001-06-24 The LyX Project <Asger>
13564 * Fix Qt compilation.
13566 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13568 * paragraph.h: renamed several methods to begin with small letter.
13569 several changes to many parts of the code because of this.
13571 2001-06-23 The LyX Project <jug@sad.it>
13573 * text2.C (InsertStringAsLines): renamed from InsertStringA;
13574 rewritten to discard all double spaces when KeepEmpty is off
13575 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13576 to only handle newlines but not fiddle with spaces and friends.
13578 * lyxfunc.C (MenuNew): when doing 'new from template', use
13579 template_path as default directory
13581 2001-06-23 The LyX Project <Asger>
13583 * Clean-up of header file includes all over
13584 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13586 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13588 * paragraph.h: renamed from lyxparagraph.h
13590 2001-06-23 Asger <lyx@violet.home.sad.it>
13592 * Buffer.h: Removed Buffer::resize
13593 * BufferList.h: Removed BufferList::resize
13594 * LyXView.h: Added LyXView::resize. This way, we will only reflow
13595 the document lazily when we change the width, or the font settings.
13597 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13599 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13601 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13603 * buffer.h: remove out of date comment
13605 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
13608 * screen.C: fix "theoretical" GC leak
13610 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13612 * LaTeX.C (scanAuxFile):
13613 (deplog): remove trailing \r when reading stream (useful under
13616 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
13618 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13619 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13620 and BufferView::theLockingInset(Inset*), so should use them and not
13621 access bv_->text->the_locking_inset directly.
13623 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13625 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13628 * tex-defs.h: remove old unused file
13630 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
13632 * BufferView_pimpl.C: fix typo, remove minibuffer message
13633 when buffer has loaded
13635 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13637 * lyxfunc.C (Dispatch): use stringstream
13638 (MenuNew): use stringstream
13639 (Open): use stringstream
13641 * importer.C (Import): use stringstream
13643 * bufferview_funcs.C (CurrentState): use stringstream
13645 * LaTeX.C (run): use stringstream
13647 * BufferView_pimpl.C (savePosition): use stringstream
13648 (restorePosition): use stringstream
13649 (MenuInsertLyXFile): use stringstream
13651 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
13664 * vspace.C: removed // -*- C++ -*- as first line.
13667 * version.h: added // -*- C++ -*- as first line.
13669 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13671 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13673 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13676 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13678 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13681 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13683 * gettext.C: include LString.h even when --disable-nls is on.
13685 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
13687 * converter.h (Get): changed argument type from int to
13688 FormatList::size_type to avoid unnecessary conversion.
13690 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13693 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * gettext.h: include LString.h even when --disable-nls is on.
13697 2001-06-07 Juergen Vigna <jug@sad.it>
13699 * text.C (BreakAgain): subst spaces with tabs.
13701 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13702 (resizeInsetsLyXText): set force on resizeLyXText.
13704 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13706 * gettext.h (gettext_init):
13707 (locale_init): use a real definition instead of a macro
13709 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
13711 * Bufferview_pimpl.C:
13713 * LColor.C: further lcolor tidies
13715 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13717 * BufferView_pimpl.C (updateScrollbar): simplify.
13719 * BufferView2.C: don't include insets/insetinfo.h, change
13720 prototype for insertInset and call the Pimpl version. let
13721 updateInset call Pimpl version.
13723 * BufferView.h: move inset_slept to BufferView::Pimpl, move
13724 gotoInset to BufferView::Pimpl
13726 2001-06-01 Juergen Vigna <jug@sad.it>
13728 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13729 inside a LockingInset (is the update needed at all?).
13731 2001-05-31 Juergen Vigna <jug@sad.it>
13733 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13734 here not the old one otherwise how should we compare it afterwards
13737 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13742 * FontInfo.C: bring C functions into global namespace when
13745 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13747 * LString.h: make sure config.h has been loaded before LString.h.
13749 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13750 (one for each char read by EatLine!).
13752 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13755 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * paragraph.C (BreakParagraph): set the inset_owner in the new par
13758 to the same as the par we break from
13760 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
13762 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13764 * MenuBackend.C (expand): also create menu entries for wide
13765 versions of the floats.
13767 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13769 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13771 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13772 frontends/Makefile.am
13778 * tabular.C (getTokenValue): add std::
13780 * tabular-old.C (getTokenValue): add std::
13781 (getTokenValue): ditto
13782 (getTokenValue): ditto
13784 * screen.C (ToggleSelection): adjust
13786 * lyxtext.h: put selection cursors inside a Selection struct.
13788 * lyxfunc.C (moveCursorUpdate): adjust
13790 * lyxfont.C (latexWriteStartChanges): add std::
13792 * lyxfind.C: adjust
13794 * font.h: delete with(char const *, LyXFont const &)
13796 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13798 * FontInfo.C (getFontname): add std::
13800 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13801 (workAreaButtonPress): adjust
13802 (tripleClick): adjust
13804 (moveCursorUpdate): adjust
13807 * BufferView2.C (gotoInset): adjust
13809 2001-05-30 Juergen Vigna <jug@sad.it>
13811 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13812 to check pspell I add this as default as I now have new pspell
13813 libraries and they seem to use this.
13815 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13817 * text2.C (CutSelection): make the cursor valid before the call to
13820 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13822 * kbsequence.C (parse): de-uglify a bit the parsing code, which
13823 relied on 0 terminated strings and other horrors. Bug found due to
13824 the new assert in lyxstring!
13826 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13829 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
13831 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13834 * lyxfunc.C (processKeySym): change method of getting to the
13837 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13838 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13839 * BufferView_pimpl.[Ch]: here as private methods.
13841 2001-05-28 Juergen Vigna <jug@sad.it>
13843 * text.C (SetHeightOfRow): added the update() call again as it is
13844 needed to initialize inset dimensions!
13846 2001-05-16 Juergen Vigna <jug@sad.it>
13848 * text2.C (SetCharFont): Add new function with BufferView * and
13849 bool toggleall parameters for setting insets internal fonts.
13850 (SetFont): Freeze the undo as we may change fonts in Insets and
13851 all this change should be inside only one Undo!
13853 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13854 setting font's in insets as for them we have the SetFont function!
13856 2001-05-15 Juergen Vigna <jug@sad.it>
13858 * text2.C (ClearSelection): to be sure we REALLY don't have any
13861 * tabular.C (TeXCellPreamble): fixed the left border problem for
13864 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
13866 * LaTeX.C (deplog): Make sure that the main .tex file is in the
13869 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
13871 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13872 LFUN_BREAKPARAGRAPH.
13874 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13875 help test to "internal only", similar for LFUN_INSERT_URL
13877 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13878 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13879 auto_region_delete and deadkeys.
13881 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
13884 * LColor.C: remove some dead entries, tidy a little
13886 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13888 * lyxfunc.C (processKeySym): comment the Escape handling, remove
13890 (Dispatch): implement LFUN_ESCAPE
13892 * commandtags.h: add LFUN_ESCAPE
13894 * LyXAction.C (init): add entry for LFUN_ESCAPE
13896 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13897 Remove commented code.
13898 (insertNote): moved here
13899 (open_new_inset): moved here
13901 * BufferView[2].[Ch]: move insertNote and open_new_inset to
13904 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * kbmap.C (findbinding): clean it up and make it work correctly.
13908 * lyx_main.C (init): do not pass argc and argv as parameters
13910 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
13912 * buffer.C: fix path for OS/2 & Win32
13916 * lyx_main.C: Added os:: class.
13918 * os2_defines.h: update
13920 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13922 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13923 better by trying again with reduced state.
13925 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13927 * lyxrc.C (read): print error about invalid key sequence only when
13928 debugging (because not all latinX keysyms are known to some X
13931 * kbsequence.C (getiso): add a few std:: qualifiers
13932 (getiso): comment out extra return statement.
13934 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13938 (Dispatch): enhance the accent inset a bit. (not perfect)
13940 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
13942 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13944 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13946 * bufferlist.C (emergencyWrite): fix assert() call
13948 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
13950 * text.C (InsertChar): Added trivial patch to only send the "you
13951 can not do multiple spaces this way" message once during a
13954 2001-05-08 Baruch Even <baruch@lyx.org>
13956 * Makefile.am: Changed order of libraries to get LyX to link properly
13957 with the gnome frontend.
13959 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13961 * LaTeXFeatures.h: add a std:: qualifier
13963 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13965 * paragraph.C (String): use stringstream
13967 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13969 * paragraph.C (writeFile): remove footflag arg
13971 * buffer.C (makeLaTeXFile): use stringstream
13972 (latexParagraphs): remove footnot gurba
13974 * LaTeXFeatures.C (getPackages): use stringstream
13975 (getMacros): likewise
13976 (getTClassPreamble): likewise
13977 (getFloatDefinitions): new method
13979 * paragraph.C (writeFile): reindent
13982 * WorkArea.h: revert the xpos + etc changes.
13984 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13986 * lyxparagraph.[Ch]: add copy constructor, remove Clone
13988 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13989 (pasteSelection): likewise
13990 * text2.C (CreateUndo): likewise
13992 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13994 * minibuffer.C (peek_event): temporarily reduce the functionality
13995 of the minibuffer (to allow args on lfuns)
13997 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13998 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14000 * buffer.C (readInset): add compability reading of old float
14001 lists, add reading of new style float list.
14002 (readInset): avoid reevaluation of inscmd.getCmdName()
14003 (getLists): reindent
14005 * MenuBackend.C (MenuItem): implement parsing of
14006 md_floatlistinsert and md_floatinsert.
14007 (expand::LastFiles): move initalizaton of iterators out of loop,
14008 avoid reevaluation.
14009 (expand::Documents): introduce typdedef vector<string> Strings,
14011 (expand::ExportFormats): introduce typedef vector<Format const *>
14012 Formats, and use it.
14013 (expand): implement FloatListInsert and FloatInsert.
14015 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14016 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14017 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14019 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14021 (Dispatch::LFUN_FLOAT_LIST): implement
14023 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14025 * LaTeX.C (run): Fix problem with --export code.
14027 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14029 * BufferView.[Ch] (workarea): removed.
14030 (getClipboard) new method; wrapper for workarea()->getClipboard()
14032 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14035 * WorkArea.h (width, height, xpos, ypos): These methods all
14036 returned the dimensions of the work_area sub-area of WorkArea,
14037 resulting in a position error if the WorkArea were resized. Now
14038 return the dimensions of the entire WorkArea.
14040 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14042 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14044 * LaTeX.C (deplog): correct the syntax of regex reg1
14046 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14048 * undo.C: remove !NEW_INSETS cruft
14050 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * text2.C: remove !NEW_INSETS cruft
14054 * text.C: remove !NEW_INSETS cruft
14056 * tabular.C: remove !NEW_INSETS cruft
14058 * spellchecker.C: remove !NEW_INSETS cruft
14060 * lyxtext.h: remove !NEW_INSETS cruft
14062 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14064 * lyxfunc.C: remove !NEW_INSETS cruft
14066 * lyxfind.C: remove !NEW_INSETS cruft
14068 * lyx_cb.C: remove !NEW_INSETS cruft
14070 * figureForm.C: remove !NEW_INSETS cruft
14072 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14074 * buffer.[Ch]: remove !NEW_INSETS cruft
14076 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14078 * CutAndPaste.C: remove !NEW_INSETS cruft
14080 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14082 * BufferView2.C: remove !NEW_INSETS cruft
14084 * BufferView.h: remove !NEW_INSETS cruft
14086 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14088 * Lsstream.h: include LString.h before the sstream headers to
14089 fix problem with gcc 2.95.3 and lyxstring
14091 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * lyx_main.C: add using directives when needed for C functions
14094 declared in std:: namespace.
14096 2001-04-27 Juergen Vigna <jug@sad.it>
14098 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14099 (SetHeightOfRow): comment out the update call should not be needed!
14101 2001-04-13 Juergen Vigna <jug@sad.it>
14103 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14104 (LyXTabular): tried to minimize operator= operations (and realized
14105 hopfully Lars wish).
14107 2001-04-27 Juergen Vigna <jug@sad.it>
14109 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14111 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14113 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14115 * buffer.C (readInset): hack to make listof algorithm work
14117 * BufferView_pimpl.C: hack to make listof algorithm work
14119 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14121 * LyXAction.C: removed all !NEW_INSETS cruft
14122 (init): moved lfun_item in method
14124 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14126 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14128 * BufferView2.C (theLockingInset): white space.
14130 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14132 * minibuffer.C: include <iostream>
14134 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14136 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14138 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14140 * text.[Ch] (TransposeChars): new method
14142 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * call message directly through LyXView instead of through LyXFunc
14145 * BufferView2.C: adjust
14146 * BufferView_pimpl.C: adjust
14147 * FontLoader.C: adjust
14149 * bufferview_funcs.C: adjust
14150 * converter.C: adjust
14151 * figureForm.C: adjust
14152 * importer.C: adjust
14154 * lyx_gui_misc.C: adjust
14155 * lyxfunc.C: adjust
14158 + more files in subdirs
14160 * lyxparagraph.h (size): move up int file
14163 * adjust all uses of Assert to lyx::Assert.
14165 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14166 lyxfunctional in namespace lyx
14167 * layout.C (hasLayout): ditto
14170 (delete_layout): ditto
14171 (NumberOfClass): ditto
14172 * converter.C (GetFormat): ditto
14177 * bufferlist.C (getFileNames): ditto
14178 (emergencyWriteAll): ditto
14181 * MenuBackend.C (hasSubmenu): ditto
14184 * BufferView_pimpl.C (getInsetByCode): ditto
14186 2001-04-18 Juergen Vigna <jug@sad.it>
14188 * vspace.C (asLatexString): fixed the 100% problem.
14190 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14192 * lyxfunc.C (Dispatch):
14194 * minibuffer.h: add a few std:: qualifiers
14196 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * minibuffer.[Ch]: reimplement so that commands is initiated and
14199 run from lyxfunc, simplified som handling, and made the completion
14200 and history code for complete. wip.
14202 * lyxfunc.C (processKeySym): call message
14203 (miniDispatch): new temporary method
14204 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14205 (LFUN_MESSAGE): implement
14206 (LFUN_MESSAGE_PUSH): implement
14207 (LFUN_MESSAGE_POP): implement
14208 (initMiniBuffer): the initial/defualt minibuffer message.
14210 * lyxfont.[Ch]: inline some more getters
14212 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14214 * lyx_gui_misc.[Ch] (WriteStatus): remove method
14216 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14217 (AutoSave): use LFUN_MESSAGE
14218 (Reconfigure): ditto
14220 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14222 * figureForm.C: use LFUN_MESSAGE
14224 * converter.C (runLaTeX): use LFUN_MESSAGE
14226 * bufferview_funcs.C: use LFUN_MESSAGE
14228 (changeDepth): ditto
14230 * bufferparams.h: use boost::
14232 * bufferlist.h: inherit privately from noncopyable
14234 * bufferlist.C (loadLyXFile): remove some commented code.
14236 * buffer.C (runChktex): use LFUN_MESSAGE
14238 * ShareContainer.h: inherit privately from noncopyable
14240 * ParagraphParameters.[hC] (depth): inline it.
14242 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14244 (message): new method
14245 (messagePush): ditto
14246 (messagePop): ditto
14247 (show): init minibuffer
14248 (showState): direct call
14250 * LaTeX.[Ch]: inherit privately from noncopyable
14251 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14252 instead of WriteStatus.
14254 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14256 * BufferView_pimpl.C (buffer): don't init minibuffer
14257 (workAreaButtonPress): use LFUN_MESSAGE
14258 (workAreaButtonRelease): ditto
14259 (savePosition): ditto
14260 (restorePosition): ditto
14261 (MenuInsertLyXFile): ditto
14262 (workAreaExpose): don't init minibuffer
14263 (update): remove commented code, simplify
14265 * BufferView2.C (openStuff): use LFUN_MESSAGE
14266 (toggleFloat): ditto
14269 (copyEnvironment): ditto
14270 (pasteEnvironment): ditto
14275 (updateInset): remove some commented code
14277 * lastfiles.h: inherit privately from noncopyable
14280 * lyx_main.h: ditto
14282 * lyxlex_pimpl.h: ditto
14284 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14285 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14286 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14288 * LyXAction.h: inherit privately from noncopyable, add methods
14289 func_begin, func_end, returning iterators to the func map.
14291 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14292 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14293 (func_begin): new method
14294 (func_end): new method
14296 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14298 (copySelection): ditto
14299 (pasteSelection): ditto
14301 * BufferView.C: whitespace change
14302 * BufferView.h: inherit privately from noncopyable
14304 2001-04-16 Allan Rae <rae@lyx.org>
14306 * tabular-old.C (l_getline):
14307 * spellchecker.C (sc_check_word):
14308 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14309 an unrecognised preprocessor directive. So ensure they're wrapped.
14311 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
14313 * src/exporter.C (Export): Give an error message when path to file
14316 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
14318 * LaTeX.C (deplog): Always check that foundfile exists.
14320 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14323 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14325 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14327 * tabular.[Ch] (getLabelList): implement new method
14329 * minibuffer.h: comment ouf setTiimer
14331 * minibuffer.C (ExecutingCB): constify res
14332 (peek_event): constify s
14333 (Set): constify ntext
14334 (Init): constify nicename
14336 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14338 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14339 (savePosition): use two params to Minibuffer::Set
14340 (restorePosition): ditto
14342 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14344 * lyx_main.C: include language.h
14346 * Makefile.am (lyx_main.o): add language.h
14348 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14354 * CutAndPaste.C: include gettext.h
14356 * lyxfont.h: remove old hack with ON and OFF.
14359 * lyxfont.h: do not include language.h...
14364 * bufferview_funcs.C:
14370 * paragraph.C: ... but do it here instead
14372 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14376 * tabular.C: small reformat
14378 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14381 (BreakParagraph): ditto
14382 (SetOnlyLayout): ditto
14385 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14388 * lastfiles.C: removed most using decl, add std:: where needed
14390 * buffer.C: ws changes
14392 * MenuBackend.C (class compare_format): put into anon namespace
14393 (expand): constify label, names, action, action2
14396 * text.C (SingleWidth): constify font
14397 (IsBoundary): constify rtl2
14398 (GetVisibleRow): constify ww
14400 * LaTeX.C (deplog): constify logfile
14402 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14404 (workAreaExpose): constify widthChange, heightChange
14406 * lyxrow.C (par): moved
14409 * lyxrow.h: as inlines here
14411 * lyxfont.h (shape): moved from lyxfont.C
14412 (emph): moved from lyxfont.C
14414 * lyxfont.C (LyXFont): use initialization list for all
14416 (shape): move to lyxfont.h as inline
14417 (emph): move to lyxfont.h as inline
14420 2001-04-04 Juergen Vigna <jug@sad.it>
14422 * vspace.C: had to include stdio.h for use of sscanf
14424 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
14427 * BufferView_pimpl.h: remove xforms cruft. Both classes are
14428 independent of xforms.
14430 2001-04-02 Juergen Vigna <jug@sad.it>
14432 * spellchecker.C: fixed namespace placing!
14434 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
14436 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14437 the LyXParagraph * is 0.
14439 2001-03-29 Juergen Vigna <jug@sad.it>
14441 * vspace.C: added support for %, c%, p%, l%.
14442 (stringFromUnit): added helper function.
14443 (asLatexString): changed to give right results for the %-values.
14445 * buffer.C: convert the widthp in a width%.
14447 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
14449 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14452 * figureForm.[Ch]: stripped the FD_from_figure manipulation
14453 code out of lux_cb.[Ch], ready for its (imminent?) removal.
14455 * lyx_cb.[Ch]: see above.
14457 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14461 * lyx.[Ch]: replaced by figure_form.[Ch].
14465 * lyxfunc.C: changed headers associated with above changes.
14467 2001-03-27 Juergen Vigna <jug@sad.it>
14469 * BufferView_pimpl.C: set the temporary cursor right!
14471 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
14473 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14475 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
14477 * LString.h: removed "using std::getline"!
14479 * BufferView_pimpl.C (Dispatch): changes due to changes in
14480 InsetInclude::Params.
14482 * buffer.C (tag_name): removed redundant break statements as they were
14483 producing lots of warnings with my compiler.
14485 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * LString.h: add "using std::getline" when using the real <string>.
14489 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
14491 * buffer.C: removed bitset usage.
14492 PAR_TAG moved to an anonymous name space.
14493 (tag_name): new funtion, also in the anonymous namespace.
14494 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14495 (makeDocBookFile): clean code. Completed transition from string arrays
14497 (SimpleDocBookOnePar): code clean.
14499 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14501 * tabular.C: add some comments.
14503 2001-03-22 Juergen Vigna <jug@sad.it>
14505 * buffer.C (parseSingleLyXformat2Token): redone the minipage
14506 compatibility read a bit and fixed bug with minipage in different
14509 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
14511 * buffer.C (pop_tag): removed.
14512 (push_tag): removed.
14513 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14514 array replaced with vector. Added support for CDATA sections.
14515 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14517 (makeDocBookFile): XML conformant declaration of CDATA section,
14518 fixed bug related to <emphasis> in the first paragraph char.
14519 (sgmlOpenTag): exclude empty tags.
14520 (sgmlCloseTag): ditto.
14522 * buffer.h (pop_tag): removed.
14523 (push_tag): removed.
14525 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
14527 * language.h (Languages): added size_type and size().
14529 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14531 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14532 response on compability reading of minipages. One probliem is that
14533 the old usage of minipages was «flertydig»
14535 * several files here and in subdirs: don't use static at file
14536 scope use anon namespaces instead.
14538 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
14540 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14541 LaTeX output. This is necessary for Literate document
14544 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14546 * buffer.C: insert hfill when needed.
14548 * tabular.C (l_getline): use string::erase, small whitespace change.
14550 * BufferView_pimpl.C: try the anon namespace.
14551 * WorkArea.C: ditto
14553 2001-03-16 Juergen Vigna <jug@sad.it>
14555 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14556 otherwise it won't open options-dialogs.
14558 * buffer.C: honor pextraWidth(p) on converting minipages.
14560 * tabular.C (l_getline): changed the functions to strip trailing \r.
14562 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
14564 * BufferView_pimpl.C:
14565 * minibuffer..C: added "using SigC::slot" declaration.
14567 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14569 * lyxlex_pimpl.h: noncopyable is in namespace boost.
14575 * paragraph.C: ditto
14577 * lyxtext.h: NO_PEXTRA
14579 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14581 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14582 * ParameterStruct.h: ditto
14583 * ParagraphParameters.h: ditto
14584 * lyxparagraph.h: ditto
14586 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14588 * buffer.C: add compability for minipage alignment.
14589 (latexParagraphs): remove unwanted pextra check.
14591 * several files: remove CXX_WORKING_NAMESPACES
14593 * buffer.C (pop_tag): tie is in namespace boost
14595 * BufferView.h: noncopyable is in namespace boost
14597 * lyx_main.h: ditto
14600 * lastfiles.h: ditto
14601 * bufferlist.h: ditto
14602 * ShareContainer.h: ditto
14604 * LyXAction.h: ditto
14607 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14609 * Merging changes from BRANCH_MVC back into HEAD.
14611 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14613 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
14615 * BufferView_pimpl.C: change from intl.C
14619 * Makefile.am: move combox.*
14625 * intl.C: remove dialog (covered by prefs)
14627 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
14629 * lyxfunc.C (Dispatch): removed redundant break statement.
14631 2001-03-14 Juergen Vigna <jug@sad.it>
14633 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14635 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14637 * buffer.C: add hack to fix compability reading of minipages.
14639 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
14641 * buffer.C (getLists): Cleanup.
14643 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14645 * lyxfont.C (update): don't honor toggleall on font size.
14647 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
14651 * Makefile.am: moved to frontends/xforms/
14655 * BufferView_pimpl.C: changes for moved mathpanel
14657 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14659 * gettext.h: fix gettext_init() in --disable-nls
14661 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14665 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
14668 * lyx.h: strip external form
14670 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14672 * BufferView_pimpl.C: add comment, destroySplash()
14674 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
14676 * BufferView_pimpl.C:
14680 * lyxfunc.C: use re-worked insetinclude
14682 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14684 * buffer.C: add using std::stringstream.
14686 * lyx_cb.C: readd using std::ios.
14688 * buffer.C: add using std::map.
14690 * BufferView_pimpl.C: add using std::vector.
14692 * ShareContainer.h: add std:: to swap.
14694 * buffer.h: add some typedefs
14695 * buffer.C (getLists): use them
14696 (getLists): renamed from getTocList.
14697 add a counter for the different float types and use it in the
14699 (getLists): use the same counter for the NEW_INSETS and the "non"
14702 * lyx_cb.h: remove unused items, includes, using etc.
14704 * ShareContainer.h: remove some commented code, add more comments
14705 and "documentation".
14707 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14709 * buffer.C (getTocList): make the list also when NEW_INSETS is
14712 * buffer.h: remove TocType
14714 * buffer.C (getTocList): change to return a map<string,
14715 vector<TocItem> >, implement for dynamic number of list.
14717 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14718 * text2.C (PasteSelection): adjust
14719 * CutAndPaste.C (pasteSelection): adjust
14721 * FloatList.C (FloatList): update from the new_insets branch.
14722 * Floating.[Ch]: ditto
14723 * LaTeXFeatures.C: ditto
14725 * lyxlex_pimpl.C: ditto
14727 * paragraph.C (Last): remove when NEW_INSETS is defined.
14729 * other file: changes because of the above.
14731 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14733 * lyxparagraph.h: rename next to next_, previous to previous_,
14734 make them private for NEW_INSETS. Rename Next() to next(),
14735 Previous() to previous().
14737 * other files: changes because of the above.
14739 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
14742 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14745 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14747 * main.C (main): pass lyx_localedir to gettext_init().
14749 * gettext.h: remove locale_init and gettext_init macros
14751 * gettext.C (locale_init): new function
14752 (gettext_init): new function
14754 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14757 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
14759 * Moved credits to frontends:
14760 * credits.[Ch]: removed
14761 * credits_form.[Ch]: removed
14762 * lyx_gui_misc.C: remove credits stuff
14765 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14767 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14769 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14770 unneeded destructor.
14772 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14773 a standalone pointer again.
14775 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14777 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
14783 * ToolbarDefaults.C:
14792 * BufferView_pimpl.C: use new file dialog in GUII
14795 * lyx_cb.C: remove LayoutsCB to Toolbar
14797 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14799 * ShareContainer.h (get): add std:: qualifier
14801 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * ShareContainer.h: define a proper ShareContainer::value_type
14804 type (and use typename to please compaq cxx)
14806 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14808 * lyxparagraph.h: move serveral local vars to
14809 ParameterStruct/ParagraphParameters., use ShareContainer in
14810 FontTable., make vars in FontTable private and add getter and
14813 * paragraph.C: changes because of the above.
14815 * lyxfont.h: remove copy constructor and copy assignment. (the
14816 default ones is ok), move number inside FontBits. move inlines to
14819 * lyxfont.C: add number to initializaton of statics, move several
14820 inlines here. constify several local vars. some whitespace
14821 cleanup. Dont hide outerscope variables.
14823 * Spacing.h: add two new constructors to match the set methods.
14825 * ShareContainer.h: new file, will perhaps be moved to support
14827 * ParameterStruct.h: new file
14829 * ParagraphParameters.h: new file
14831 * ParagraphParameters.C: new file
14833 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14834 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14836 * BufferView_pimpl.C: ParagraphParameter changes.
14837 * buffer.C: Likewise.
14838 * bufferview_funcs.C: Likewise.
14839 * text.C: Likewise.
14840 * text2.C: Likewise.
14842 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * lyxfind.C (LyXReplace): do not redefine default argument in
14846 (IsStringInText): ditto
14847 (SearchForward): ditto
14848 (SearchBackward): ditto
14850 2001-03-06 Juergen Vigna <jug@sad.it>
14852 * lyxfind.C (IsStringInText): put parentes around expressions.
14854 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
14856 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14858 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
14860 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14862 * stl_string_fwd.h: add comment
14864 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14867 * tabular.C: remove unused DocBook methods
14873 killed DO_USE_DEFAULT_LANGUAGE
14875 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14877 * lyx_gui.C: do not include language.h.
14879 * bufferview_funcs.C (ToggleAndShow): do not provide optional
14880 arguments in function implementation.
14882 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14884 * BufferView_pimpl.C: add <ctime>
14886 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14888 * BufferView_pimpl.C: add using std::find_if
14890 2001-02-27 José Matos <jamatos@fep.up.pt>
14892 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14895 2001-02-11 José Matos <jamatos@fep.up.pt>
14897 * buffer.C (makeDocBookFile): command styles now have a parameter as
14898 "title" by default.
14900 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
14902 * layout_forms.[Ch]: removed
14903 * lyx_cb.[Ch]: out character
14904 * lyx_gui.C: out character
14905 * lyx_gui_misc.C: out character
14906 * bufferview_funcs.C: : out character,
14907 added toggleall as parameter in ToggleAndShow
14909 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
14911 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14913 * text2.C (SetCurrentFont): Disable number property at boundary.
14915 2001-02-26 Juergen Vigna <jug@sad.it>
14917 * lyxfunc.C (getStatus): added a string argument override function so
14918 that this is correctly called from LyXFunc::Dispatch if it contains a
14919 do_not_use_argument which is used!
14920 (Dispatch): added check for "custom" export and call appropriate func.
14922 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
14924 * lyxrc.C: Add language_command_local, language_use_babel and
14925 language_global_options.
14927 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14929 * buffer.C (makeLaTeXFile): Use language_use_babel and
14930 language_global_options.
14932 2001-02-23 Juergen Vigna <jug@sad.it>
14934 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14935 which works with LyXText and putted it inside BufferView. Here now we
14936 only call for that part the BufferView::Dispatch() function.
14938 * BufferView.C (Dispatch): added.
14940 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14941 functions which needs to use a LyXText over from LyXFunc.
14942 (MenuInsertLyXFile): added
14943 (getInsetByCode): added
14944 (moveCursorUpdate): added
14945 (static TEXT): added
14947 2001-02-22 Juergen Vigna <jug@sad.it>
14949 * BufferView_pimpl.C (update): call a status update to see if LyXText
14952 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
14954 * vc-backend.C (revert): implement for CVS
14955 (getLog): implement for CVS
14957 2001-02-20 Juergen Vigna <jug@sad.it>
14959 * text2.C (ClearSelection): added BufferView param for inset_owner call
14961 * lyxfunc.C (TEXT): added this function and use it instead of
14962 directly owner->view()-text of getLyXText().
14964 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
14966 * src/layout_forms.C: out preamble
14967 * src/layout_forms.h: out preamble
14968 * src/lyx_cb.C: out preamble
14969 * src/lyx_cb.h: out preamble
14970 * src/lyx_gui.C: out preamble
14971 * src/lyx_gui_misc.C: out preamble
14972 * src/lyxfunc.C: connect with guii preamble
14974 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
14976 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14978 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
14980 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14981 whether to run bibtex.
14983 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
14985 * Makefile.am (lyx_SOURCES): Remove BackStack.h
14987 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
14989 * Makefile.am (lyx_SOURCES): removed bibforms.h
14991 * vspace.h: doxygen
14993 * text.C (GetVisibleRow): make several local vars const
14995 * tabular.C: small cleanup.
14997 * lyxserver.C (callback): use compare instead of strncmp
14999 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15000 inlines to after class or to paragraph.C
15002 * lyxfont.h: remove friend operator!=
15004 * converter.h: move friend bool operator< to non friend and after
15007 * combox.h: small cleanup
15009 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15010 to inlines after class def.
15012 * buffer.C (pop_tag): use string operations instead of strcmp
15014 * bmtable.c: doxygen, small cleanup
15016 * LaTeX.h: remove friend operator==
15018 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15030 * BufferView_pimpl.C:
15031 * BufferView.[Ch]: remove cruft
15033 2001-02-14 Juergen Vigna <jug@sad.it>
15035 * lyxfunc.C: removed #if 0 unused code
15037 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15039 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15041 * text2.C (SetSelection): added a BufferView * parameter
15043 2001-02-13 Juergen Vigna <jug@sad.it>
15045 * lyxfunc.C (Dispatch): fixed protected blank problem.
15046 * BufferView2.C (protectedBlank): added LyxText * parameter.
15048 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15049 (AppendColumn): same as above for column_info.
15051 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15052 (moveCursorUpdate): use a LyXText param for support of InsetText.
15054 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15055 (tripleClick): ditto
15057 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15059 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15061 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15063 * text2.C (SetSelection): set correct update status if inset_owner
15064 (ToggleFree): ditto
15066 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15068 * tabular.C: remove some commented code.
15070 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15072 * BufferView_pimpl.C: call hideSplash()
15074 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15077 * bibforms.h: remove
15080 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15081 add LFUN_CHILD_CREATE
15083 * counters.h: fix tiny typo
15088 * lyx.C: move splash to frontends/xforms/
15090 * lyx_gui_misc.C: move Include and Bibform to frontends
15092 * lyxvc.h: clarify comment
15094 * vspace.C: tiny housekeeping
15096 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15098 * text.C (PrepareToPrint): RTL Fix.
15100 * paragraph.C (GetUChar): New method.
15101 (String): Use GetUChar.
15103 * buffer.C (asciiParagraph): Use GetUChar.
15105 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15107 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15109 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15112 * buffer.C: rename to getLogName(), handle
15113 build log / latex log nicely
15115 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15118 * MenuBackend.h: remove support for reference menuitem type.
15120 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15122 * BufferView_pimpl.C: housekeeping
15123 * BufferView_pimpl.h:
15128 * minibuffer.h: move Timeout GUI-I
15130 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15132 * lyxrc.C (read): Update converters data-structures.
15134 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15136 * LaTeX.h (operator!=): add operator != for Aux_Info
15138 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15140 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15142 * LaTeXLog.C: deleted, useful code moved to Buffer
15145 * buffer.C: new function getLatexLogName()
15151 * lyxfunc.C: use frontends for LaTeX and VC logs
15153 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * LaTeX.h: yet another std:: that Allan forgot.
15157 * Variables.C (set): renamed from isset(), because this clashes
15158 with some HP-UX macros (grr).
15160 2001-02-06 Allan Rae <rae@lyx.org>
15162 * LaTeX.h: Another bug fix. Missing std:: this time.
15164 2001-02-04 Allan Rae <rae@lyx.org>
15166 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15167 floats problem. I've left it commented out because it's not quite
15168 correct. It should also test that the current object is a table or
15169 figure inset. But I haven't gotten around to figuring out how to do
15170 that. I *think* it'll be something like: "table" == inset.type()
15172 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15175 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15177 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15178 all the citation/databases/styles in the auxilary file.
15179 (run): Rerun latex if there was a babel language error.
15181 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15183 * text.C (Backspace): Preserve the font when changing newline char
15185 (BreakParagraph): If the cursor is before a space, delete the space.
15187 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15189 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
15191 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15192 new argument (code).
15193 (ChangeCitationsIfUnique): New method.
15195 * paragraph.C (GetPositionOfInset): Handle bibkey.
15197 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15199 * BufferView_pimpl.h: change type of Position::par_pos to
15200 LyXParagraph::size_type.
15202 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
15204 * BufferView_pimpl.C (savePosition, restorePosition): Write
15205 messages to minibuffer.
15207 2001-01-28 José Matos <jamatos@fep.up.pt>
15209 * buffer.C (makeDocBookFile): adds support for document language.
15210 A silly restriction on the name of LatexCommand types where removed.
15211 Added support for CDATA sections, allows to chars unescaped, used
15212 among others in code, to avoid escape < and >.
15214 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15216 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15217 saved positions instrad of a stack. Furthermore, a position is
15218 stored using paragraph id/paragraph position.
15220 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15221 Remove LFUN_REF_BACK.
15223 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
15225 * converter.C (dvipdfm_options): New method.
15227 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
15229 * vspace.C (isValidLength): Fix for empty input string.
15231 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15233 * LyXAction.C (init): change description of LFUN_FIGURE to
15236 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15238 * LaTeX.C: add using directive
15240 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15242 * MenuBackend.C (expand): Fix the sorting of the formats.
15244 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
15246 * lyx_main.C: tiny error message fix
15248 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15250 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15251 calling fl_initialize(). This fixes the problem with ',' as
15252 decimal separator in text files.
15254 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
15256 * trans.C (process): Fix the keymap bug.
15258 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
15260 * LaTeX.C (scanAuxFiles): New method. Provides support for
15261 multiple bibliographies (when using the bibtopic/bibunits pacakges).
15262 (scanLogFile) Scan for "run BibTeX" messages.
15264 * buffer.C (makeLaTeXFile): Do not load the ae package when using
15265 OT1 font encoding. Also, load the aecompl package if the ae
15268 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15270 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15272 * texrow.C (increasePos): turn two error messages into debug
15275 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
15277 * LaTeX.C (scanAux): Handle the \@input macro.
15278 (runBibTeX): Use scanAux().
15280 * language.C (latex_options_): New field.
15282 * LaTeXFeatures.C (getMacros): Add language macros.
15284 * buffer.C (makeLaTeXFile): Small fix.
15286 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15290 * text2.C: add a using directive.
15292 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
15297 * lyxfunc.C: kill LyXBell.
15299 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
15301 * text.C (IsBoundary): Remove the error message
15303 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15305 * lyxrc.C (setDefaults): Correct initialization value for
15308 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
15310 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15313 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15314 and GotoNextNote().
15316 * src/LyXAction.C: Added reference-next.
15318 * text.C (InsertChar): Use contains instead of strchr.
15320 * lyx_cb.C (MenuInsertLabel): Enable default value code.
15322 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
15324 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15325 alignment commands (when needed).
15327 * text.C (InsertChar): Add ':' to number separator chars.