1 2003-09-02 Angus Leeming <leeming@lyx.org>
3 * box.C (contains): renamed from 'contained' after a fantastic
6 2003-09-02 John Levon <levon@movementarian.org>
12 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
14 2003-09-02 John Levon <levon@movementarian.org>
16 * text2.C: simplification of cursorEnd(), including partial
19 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
21 * buffer.C (readFile): add a space
23 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
25 * BufferView_pimpl.C (update): remove bogus fitCursor() call
27 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * buffer.C (readFile): new function, take a filename and a
30 ParagraphList::iterator
32 (readFile): adjust, make it private. don't use setStream, make
33 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
34 always contain the filename.
36 * BufferView.C (insertLyXFile): simplify and make it work for
39 2003-08-30 John Levon <levon@movementarian.org>
41 * Makefile.am: fix dist (from Kayvan)
43 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * most files: change to use const Buffer refs
47 2003-08-27 André Pönitz <poenitz@gmx.net>
49 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
52 2003-08-27 John Levon <levon@movementarian.org>
54 * funcrequest.C: properly initialise POD members
56 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
58 * lyxtext.h (top_y): move top_y from here
63 * BufferView_pimpl.[Ch]: to here
65 * insets/insettabular.C:
66 * insets/insettext.C: adjust
67 * rowpainter.[Ch] (paintRows): remove LyXText & argument
69 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
72 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
74 2003-08-26 André Pönitz <poenitz@gmx.net>
76 * paragraph_func.[Ch] (outerPar): new function
82 * text2.C: remove Inset::par_owner
84 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
89 * text2.C: eliminates the needFullRow/display() stuff
90 altogether, putting the logic in metrics/draw in the insets.
92 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
94 * text2.C (redoParagraphInternal, redoParagraphs):
95 * text.C (redoParagraph): add a call to updateRowPositions at the
96 end of each 'metrics-like' call. Remove all others.
97 (getRow): remove the 'y-computing' version.
98 (getRowNearY): do not compute nor return the real y. Solve the
99 'y < 0' problem and simplify.
101 2003-08-22 Angus Leeming <leeming@lyx.org>
103 * *.[Ch]: clean-up of licence and author blurbs.
104 Also move config.h out of a few .h files and into a few .C files.
106 2003-08-22 André Pönitz <poenitz@gmx.net>
108 * lyxrow.[Ch]: add x_ and *fill_ members
113 * text2.C: adjust/remove prepareToPrint() calls
115 2003-08-22 André Pönitz <poenitz@gmx.net>
117 * lyxrow.[Ch]: add end_ member
119 * lyxrow_funcs.C: use LyXRow::end_
121 * lyxtext.h (singleWidth): add LyXFont parameter
124 * text2.C: adjust LyXText::singleWidth() calls
126 * text.C (redoParagraph): simplify row breaking logic
129 2003-08-19 André Pönitz <poenitz@gmx.net>
131 * funcrequest.C: initialize button_ member
134 * rowpainter.[Ch]: interface consolidation
136 2003-08-18 André Pönitz <poenitz@gmx.net>
139 * BufferView_pimpl.C:
143 * text3.C: remove LyXScreen::draw() and fitCursor calls
145 * BranchList.h: remove spurious semicolons
147 * MenuBackend.C: fix branchlist related crash
149 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
161 * text3.C: implements the 'branch inset'
162 idea. This allows the output of various versions of a document
163 from a single source version, selectively outputing or suppressing
164 output of parts of the text.
165 This implementation contains a 'branch list editor' in a separate
166 tab of the document settings dialog. Branches are user definable
167 and have a "display colour" to distinguish them on-screen.
169 ColorHandler was somewhat cleaned up.
170 (1) make possible a dynamically growing LColor list by allowing
171 the graphic context cache to grow along (vector);
172 (2) eliminate an IMHO unnecessary step in colour allocation.
174 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
176 * BufferView_pimpl.C: compile fix
178 2003-08-15 André Pönitz <poenitz@gmx.net>
180 * rowpainter.C: remove extra metrics calls
182 * lyxtext.h: merge the two constructors into a single one,
183 pass reference to owner's par list
185 * BufferView_pimpl.C:
189 2003-08-15 André Pönitz <poenitz@gmx.net>
199 * text_funcs.C: split LyXText::rowlist_ into individual
200 Paragraph::rows_ chunks
203 * BufferView_pimpl.[Ch]:
206 * text3.C: remove toggleSelection()
208 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
210 * bufferlist.C: beautify two alerts (shorter text of buttons)
211 * buffer.C: Remove redundant ' ' from message
213 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
214 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
215 rename VALIGN_CENTER to VALIGN_MIDDLE
217 2003-08-11 André Pönitz <poenitz@gmx.net>
219 * lyxtext.h (getPar):
220 * text.C: new function
222 2003-08-11 André Pönitz <poenitz@gmx.net>
225 * tracer.[Ch]: remove unneeded files
227 * InsetList.[Ch]: remove resizeInsetsLyXText()
232 * text3.C: merge insertParagraphs() and appendParagraph()
233 remove breakAgain(), update()
235 * BufferView_pimpl.[Ch]:
236 * bufferview_funcs.[Ch]:
240 * tabular.C: adjust after text & InsetList changes.
242 2003-08-08 André Pönitz <poenitz@gmx.net>
244 * text.C (insertChar, backspace): replace rowlist fiddling
245 with rebreak of full par
248 * text.C (breakAgainOneRow, redoHeightOfParagraph,
249 checkParagraph, updateInset): removed
251 2003-08-07 André Pönitz <poenitz@gmx.net>
254 * text3.C: merge some LFUN handlers, remove dead code
256 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
260 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
262 * text2.C (DEPM): fix part of bug 1255 and 1256
264 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * BufferView_pimpl.C (workAreaDispatch): change to use
267 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
268 that are no mouse related.
270 2003-08-05 André Pönitz <poenitz@gmx.net>
273 * BufferView_pimpl.[Ch]:
274 * bufferview_funcs.C:
276 * text3.C: rip out "deep update"
278 * textcursor.[Ch] (last_sel_cursor): remove unused member
280 2003-08-04 André Pönitz <poenitz@gmx.net>
283 * BufferView_pimpl.[Ch]:
284 * ParagraphParameters.C:
285 * bufferview_funcs.C:
291 * text3.C: replace "complicated" BufferView::update(...) calls with
294 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
296 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
298 * Makefile.am (lyx_SOURCES): add paper.h
300 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
302 * Makefile.am: move things around so that both lyx-qt and
303 lyx-xforms can be built (according to --with-frontend). Then lyx
304 is a symbolic link to lyx-[firstfrontend]
306 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
308 * Always use std::endl with lyxerr
310 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
312 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
314 2003-08-01 André Pönitz <poenitz@gmx.net>
317 * BufferView_pimpl.[Ch]:
319 * text3.C: merge BufferView::repaint() and BufferView::update()
321 2003-08-01 José Matos <jamatos@lyx.org>
323 * buffer.[Ch]: file_format is no longer a buffer data element.
325 2003-08-01 André Pönitz <poenitz@gmx.net>
330 * text2.C: make redoParagraph more independent of current cursor
332 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
334 * text2.C: remove unneeded members
336 2003-07-30 André Pönitz <poenitz@gmx.net>
338 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
340 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
341 create a single function...
343 * paragraph_funcs.C (moveItem): ... here.
346 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
348 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
350 * LColor.[Ch]: Add comment and greyedout logical colors.
352 2003-07-30 André Pönitz <poenitz@gmx.net>
354 * tabular.C: don't use Assert too heavily. This crashes where it
357 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
359 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
360 is disabled (bug 1232)
362 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
364 * factory.C: limited 'arg' scope
366 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
368 * factory.C: fixed Note submenu issues
370 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
372 * factory.C: submenu for Note/Comment/Greyedout
374 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
377 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
379 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
382 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
383 greyedout. Patch provided by Jürgen Spitzmüller.
385 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * kbmap.C (read): fix error message when reading bind files
389 2003-07-29 Angus Leeming <leeming@lyx.org>
391 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
392 certainly does not do what it purports to do. I am doing it, and
393 us, a favour by killing it.
395 2003-07-28 José Matos <jamatos@lyx.org>
397 * buffer.C (readBody, do_writeFile):
398 * paragraph.C(readParagraph): \end_document replaces \the_end.
400 2003-07-29 André Pönitz <poenitz@gmx.net>
403 * BufferView_pimpl.[Ch]:
407 * textcursor.[Ch]: remove toggleToggle & Co
409 2003-07-28 José Matos <jamatos@fep.up.pt>
411 * buffer.C (readParagraph):
412 * params_func (readParToken, readParagraph):
413 * paragraph.C (write): \layout -> \begin_layout.
415 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
417 * lyxlex_pimpl.C (setFile): clean up slightly.
419 * bufferparams.h: add compressed var
421 * buffer_funcs.C (readFile): adjust for LyXLex change
422 (newFile): ditto + simplify
424 * buffer.C (writeFile): handle writing of compressed files
426 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
427 Check if the file is compressed and set a bufferparm if so.
429 * Makefile.am (lyx_LDADD): remove explicit -lz
431 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
434 makeDocBookFile): put the real LyX version in the first line of
438 * version.C.in: remove lyx_docversion
440 * tabular.C (write_attribute): add a template-based version to
443 2003-07-28 André Pönitz <poenitz@gmx.net>
448 * text3.C: use doubles again for x-coordinates. They are needed.
450 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
452 * messages.C (getLocaleDir): use lyx_localedir()
454 * lyxlex_pimpl.C (setFile): compress stuff
456 * buffer.C (writeFile): add some compression stuff
457 (do_writeFile): new func, dont call expliti close... will this
460 * Makefile.am (lyx_LDADD): add -lz
462 2003-07-28 José Matos <jamatos@fep.up.pt>
464 * buffer.C: increment file format.
465 * paragraph_funcs (readParagraph, readParToken):
466 * paragraph.C (readParagraph): add \end_layout.
468 2003-07-27 Angus Leeming <leeming@lyx.org>
470 * Makefile.am: remove special casing for configure-time setting of
471 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
473 * lyx_main.C (init): remove all Jean-Marc's magic setting of
474 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
476 2003-07-26 André Pönitz <poenitz@gmx.net>
478 * paragraph_func.[Ch]:
479 * paragraph.C (realizeFont): inline it whereever it is used
484 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
487 2003-07-26 André Pönitz <poenitz@gmx.net>
491 * text2.C: get rid of LyXText::need_break_row
493 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * toc.[Ch]: put namespace toc inside namespace lyx
497 * MenuBackend.C (expandToc2): adjust for lyx::toc
500 * lyxfunc.C (dispatch): adjust for lyx::find
502 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
503 lyx::find instead. Reorganize a bit.
504 (LyXReplace): rename to replace
505 (LyXFind): rename to find
507 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
510 2003-07-26 André Pönitz <poenitz@gmx.net>
512 * text.C (setHeightOfRow): restrict scope of temporary variable
514 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
515 code (never has been used?)
517 2003-07-27 Asger Alstrup <alstrup@local>
519 * text.C (fill): Optimise algorithm to exploit that we can reuse
520 the LyXFont for many characters.
521 (setHeightOfRow): Same thing.
522 (rowBreakPoint): Same thing.
524 2003-07-26 Asger Alstrup <alstrup@local>
526 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
528 * text.C (singleWidth): Spurious font copying in hot-spot
529 singleWidth avoided. Reorder tests for arabic for efficiency.
531 * text.C (fill): handle empty paragraphs better.
533 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
536 * encoding.h: add includes
538 * lyxrc.C: remove reading of bind files
540 * lyx_main.C (init): setup bindings and menus only if we have a
543 * kbmap.C (read): new method. Do the actual reading of bind
546 * converter.C (dvipdfm_options):
549 (output): adapt PAPER_* enums.
551 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
553 * bufferparams.h: remove paper-related enums from there
555 * paper.h: New file. A trivial header file to hold paper-related
556 enums. It should later expand to contain many paper-related
559 * lyxrc.C: declare extern displayTranslator
561 2003-07-27 José Matos <jamatos@fep.up.pt>
563 * tabular.[Ch] (linuxdoc): add support for tables and figures
566 2003-07-27 José Matos <jamatos@fep.up.pt>
568 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
569 consistency in both functions.
570 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
572 2003-07-26 Asger Alstrup <alstrup@local>
574 * rowpainter.C (paintRows): Change algorithm to work directly on
575 the insets rather than asking every character in the document
576 whether its an inset.
578 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
580 * buffer.C (openFileWrite): factorize some code
582 2003-07-26 Angus Leeming <leeming@lyx.org>
585 * lyx_main.[Ch]: replace occurances of system_tempdir with
588 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
590 * rename Inset to InsetOld
592 2003-07-25 Asger Alstrup <alstrup@diku.dk>
594 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
595 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
596 which I think is a bit clearer. EDIT is gone, since it was
597 premature optimisation, and broken for mathed anyway.
598 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
599 with cursor positioning in insets as well (math insets still do not
600 work, but that's a different story anyway.) It mysteriously
601 crashes sometimes with undo in the first paragraph, but I'm fairly
602 confident that this is a compiler bug.
604 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * paragraph.C (Paragraph): adjust for new clone return type
608 (copyIntoMinibuffer): ditto
610 2003-07-25 Asger Alstrup <alstrup@lyx.org>
612 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
613 by not having a special case, and always doing a full rebreak of
614 the document after undo.
616 2003-07-23 Angus Leeming <leeming@lyx.org>
618 * factory.C (createInset): InsetExternal::setParams now takes a
621 2003-07-23 Angus Leeming <leeming@lyx.org>
623 * factory.C (createInset): changed interface to the external and
624 graphics mailers' string2params functions.
626 2003-07-23 Angus Leeming <leeming@lyx.org>
628 * factory.C (createInset): pass a
629 Buffer const * parameter to InsetExternalMailer's string2params.
631 2003-07-22 John Levon <levon@movementarian.org>
633 * Thesaurus.h: include the right aiksaurus header
635 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * MenuBackend.C (expand): check menu shortcuts unconditionally
639 2003-07-21 Angus Leeming <leeming@lyx.org>
641 * factory.C (createInset): pass a
642 buffer_path parameter to InsetGraphicsMailer's string2params.
644 2003-07-21 Angus Leeming <leeming@lyx.org>
646 * BufferView_pimpl.C (buffer):
649 * lyxfunc.C (dispatch):
650 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
651 rather than the grfx shortcut.
653 2003-07-21 André Pönitz <poenitz@gmx.net>
655 * rowpainter.C: remove unused variables
658 * tabular_funcs.h: move to tabular.C
659 * Makefile.am: adjust
661 * tabular.[Ch]: basic optical cleaning
663 * author.h: pass references, not values
665 2003-07-18 André Pönitz <poenitz@gmx.net>
673 * text3.C: two-phase drawing for InsetText and InsetTabular
674 some float -> int changes.
676 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
678 * lyx_main.C: fix the fix
680 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
682 * lyx_main.C: fix a crash in batch mode if no files specified
685 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
687 * format.[Ch] (papersize): moved to BufferParams
688 * converter.[Ch] (dvips_options): moved to BufferParams
689 (dvipdfm_options): moved to anon namespace
690 * bufferparams.[Ch]: added above functions.
692 2003-07-17 André Pönitz <poenitz@gmx.net>
696 * text2.C: don't call inset->update() anymore
698 * metricsinfo.[Ch]: add convenience constructor
700 2003-07-16 André Pönitz <poenitz@gmx.net>
705 * text2.C: replace the LyXCursor::irow_ member with
706 on-demand computation of the value
708 2003-07-16 John Levon <levon@movementarian.org>
710 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
712 2003-07-15 André Pönitz <poenitz@gmx.net>
715 * text2.C: remove no more needed refresh_row
717 2003-07-15 André Pönitz <poenitz@gmx.net>
722 * text3.C: refresh_status tristate -> need_update bool
724 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
726 * lyxtext.h (init): remove reinit argument (act as if always true)
727 * text2.C: adjust to that
729 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
731 * bufferview_funcs.[Ch]: introduce function replaceSelection()
732 * text3.C: use it to delete selections in some cases
733 (bugs 441, 673, 702, 954).
735 2003-07-14 André Pönitz <poenitz@gmx.net>
737 * rowpainter.[Ch]: reduce interface
739 2003-07-14 André Pönitz <poenitz@gmx.net>
741 * BufferView_pimpl.C:
742 * text2.C: adjust after removing unused BufferView * argument
744 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
746 * text2.C (init): fix a crash fired on resize
748 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
750 * buffer.[Ch]: added new closing signal
751 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
752 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
753 BufferView::Pimpl via the closing the signal
755 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
757 * buffer.[Ch]: take out all bv-related from buffer
759 * BufferView_pimpl.[Ch]: connect to new signals
760 * CutAndPaste.C: removed useless asserts
761 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
764 * lyxfunc.C: moved view-related funciontality from vc here
765 * paragraph.C: removed outdated comments
768 2003-07-10 André Pönitz <poenitz@gmx.net>
770 * BufferView_pimpl.C:
774 * text2.C: remove InsetText::InnerCache, clean up consequences
776 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
778 * ispell.C: fix two typos in error messages
780 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
782 * Extend Note inset to other forms of annotation like Comment
783 and Greyedout. Right button click gives dialog.
785 Files modified or added (+):
791 * Makefile.am in frontends/xforms, frontends/xforms/forms,
792 frontends/controllers
796 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
798 * aspell.C: add missing namespace lyx::support
800 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
802 * BufferView.[Ch] (newFile): Add
803 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
804 * LaTeX.[Ch] (message): added this signal and use it
805 * buffer.[Ch] (busy, message): added these signals and use them
806 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
810 * importer.C: use buffer signals instead of direct bv calling
811 * lyx_cb.[Ch] (ShowMessage): removed
815 * text2.C: use buffer signals
817 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * introduce namespace lyx::graphics
821 2003-07-02 André Pönitz <poenitz@gmx.net>
823 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
825 2003-07-01 André Pönitz <poenitz@gmx.net>
832 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
833 text*.C to text_func.C
835 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * introduce namespace lyx::support
839 2003-06-30 André Pönitz <poenitz@gmx.net>
844 * text.C: re-enable --with-included-string
846 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
848 * textcursor.C: add <config.h>
850 * text.C (getWord): remove const from word_location arg
852 * lyxvc.C (getLogFile): fix const type order
854 * lyxtext.h: remove const from word_location arg, add arg name
856 * lyxlayout.h: currect type on labeltype.
858 * importer.C: correct \file
860 * converter.C (intToFormat): use std:: on ret val, ws changes
862 * bufferlist.h: correct \file
864 * buffer.C (makeLinuxDocFile): fix const type order
865 (makeDocBookFile): ditto
866 (fillWithBibKeys): use std:: on stdlib args.
868 * CutAndPaste.C: fix authors.
869 (availableSelections): use std:: on return vector
871 2003-06-27 André Pönitz <poenitz@gmx.net>
873 * BufferView_pimpl.C:
874 * bufferview_funcs.C:
882 * text3.C: remove LyXCursor::row_ member
885 * text.C: rename fullRebreak() to partialRebreak() and implement
886 a fullRebreak() that really bereks fully
888 * textcursor.h: new struct for cursor-related data
890 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
892 * lyx_main.C (LyX): get full path of document loaded on the
895 2003-06-26 André Pönitz <poenitz@gmx.net>
897 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
898 remove unused/broken operator>,<,>=.
900 * text.C: remove only use of broken operator<= in an Assert().
902 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
904 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
905 moved errorlist_.clear to showErrorList
907 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
909 * converter.C (scanLog, runLaTeX):
910 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
911 move the bv->showErrorList call to the callers
912 * lyxfunc.C: i.e. here...
914 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
915 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
916 namespace, the second to...
917 * buffer_funcs (BufferFormat, parseErrors): added
918 * errorlist.C (ErrorList(TeXErrors const &)): removed
920 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
922 * ToolbarBackend.C (getIcon): complain when icon cannot be found
924 2003-06-24 "Garst R. Reese" <reese@isn.net>
928 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
932 * version.C.in: change docversion to 1.4
934 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
936 * buffer.C: fix a bug just introduced
938 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
940 * buffer.[Ch]: added the parseError signal and use it, removed
942 * BufferView.[Ch] (addError): moved to ...
943 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
944 to the Buffer::parseError signal to catch (guess what) parse errors
945 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
947 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
949 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
950 ability to create a buffer and to return an existing one from
951 the list. Moved these functions to...
952 * buffer_funcs.[Ch]: added
953 * BufferView.[Ch] (loadLyXFile): added
954 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
955 job removed from bufferlist::loadLyXFile.
956 * buffer.C (setReadOnly): make it work without view
957 (i.e added an if (users))
959 2003-06-19 Angus Leeming <leeming@lyx.org>
962 * LyXAction.C (init):
963 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
964 with LFUN_DIALOG_SHOW <name> <data>.
966 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * CutAndPaste.C (availableSelections): small compilation fix for
969 ancient (gcc 2.9x) compilers
971 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * text3.C (cursorNext): add tmp var
975 * text2.C (updateCounters): for function calling out of for clause
976 (replaceSelectionWithString): ditto
977 (insertStringAsParagraphs): ditto
978 (getColumnNearX): add tmp var
979 (setCursorFromCoordinates): add tmp var
980 (cursorDownParagraph): add tmp var
981 (deleteEmptyParagraphMechanism): add tmp var
983 * text.C (insertChar): add tmp var
985 * rowpainter.C (paintDepthBar): add tmp var
987 * CutAndPaste.C (availableSelections): potentially check all
988 paragraphs in a cut to fill the shown strings.
990 2003-06-18 André Pönitz <poenitz@gmx.net>
992 * kbmap.[Ch]: use vector<> instead of list<>
994 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
996 * text3.C (dispatch): handle arg to LFUN_PASTE, call
997 pasteSelection with index
999 * text2.C (pasteSelection): modify, call pasteSelection with index
1001 * paragraph.C (asString): reimplement version with no interval to
1002 call the one with interval.
1004 * lyxtext.h: add index arg to pasteSelection
1006 * MenuBackend.C (MenuItem): handle PasteRecent
1007 (Menu::read::Menutags): add md_pasterecent
1009 (expandPasteRecent): new function
1012 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1014 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1016 (availableSelections): new function
1018 2003-06-17 Angus Leeming <leeming@lyx.org>
1020 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1022 2003-06-17 Angus Leeming <leeming@lyx.org>
1025 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1027 * lyxfunc.C (dispatch): invoke it.
1029 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1031 * iterators.C (operator++, ParPosition): reintroduce some
1032 const_cast for the benefit of older compilers.
1034 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1036 * text3.C (dispatch): do not modify clipboard when doing
1037 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1038 LFUN_DELETE_SKIP on a selection selection
1040 2003-06-16 André Pönitz <poenitz@gmx.net>
1046 * tabular.[Ch]: IU of clone() and getLabelList();
1048 2003-06-13 André Pönitz <poenitz@gmx.net>
1050 * tabular.h: compactification
1052 2003-06-12 André Pönitz <poenitz@gmx.net>
1056 * tabular_funcs.h: some renaming plus whitespace
1058 2003-06-12 André Pönitz <poenitz@gmx.net>
1061 * BufferView_pimpl.C:
1067 * toc.C: Return a Paragraph & for ParIterator::operator*()
1069 2003-06-11 John Levon <levon@movementarian.org>
1073 * ToolbarBackend.C: add "Toolbars" section and
1076 2003-06-10 Angus Leeming <leeming@lyx.org>
1079 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1081 * lyxfunc.C (dispatch): invoke it.
1083 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1085 * main.C: protect <ios> with HAVE_IOS
1086 (main): protect sync_with_stdio with HAVE_IOS
1088 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1090 * text2.C (cutSelection): adjust
1091 (pasteSelection): adjust
1093 * messages.C: handle get of empty string
1095 * main.C (main): use sync_with_stdio(false)
1097 * lyxfunc.C (dispatch): adjust
1099 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1100 (WriteAs): remove unneeded BufferView arg.
1102 * bufferparams.h: use correct types on papersize, papersize2 and
1105 * bufferparams.C (readToken): adjust for type
1106 (writeLaTeX): add missing cases to switch.
1108 * bufferlist.C (quitWriteBuffer): adjust
1111 * buffer.C (asciiParagraph): remove some commented code.
1113 * CutAndPaste.C: remove current_view extern variable.
1114 (cutSelection): add BufferParams arg.
1115 (eraseSelection): add BufferParams arg.
1116 (pasteSelection): add Buffer const & arg
1118 2003-06-07 John Levon <levon@movementarian.org>
1121 * paragraph_funcs.C:
1122 * paragraph_pimpl.C:
1126 * paragraph.C: allow InsetERT to freely space lines,
1127 and some consolidation of code
1129 2003-06-06 José Matos <jamatos@fep.up.pt>
1131 * buffer.C (makeDocBookFile): fix bug #821
1133 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1135 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1137 2003-06-04 Angus Leeming <leeming@lyx.org>
1139 * buffer.C: bump format to 224.
1141 2003-06-05 André Pönitz <poenitz@gmx.net>
1143 * text2.C (redoParagraphs): remove two const_cast<>
1145 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1147 * ParagraphList.h: remove last remnants of NO_STD_LIST
1149 2003-06-03 Angus Leeming <leeming@lyx.org>
1151 * factory.C (createInset): small change to the way InsetExternal's params
1154 2003-06-04 André Pönitz <poenitz@gmx.net>
1156 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1158 * paragraph_pimpl.h:
1159 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1161 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1163 * undo_funcs.C: make some simple cases of undo work again
1165 2003-06-03 John Levon <levon@movementarian.org>
1167 * ispell.C: HPUX doesn't have sys/select.h
1170 2003-06-03 John Levon <levon@movementarian.org>
1172 * CutAndPaste.C: update tabular and include inset
1177 * paragraph.C: remove owningBuffer(), don't pass Buffer
1180 * factory.C: insetGraphicsParams changed
1182 2003-06-02 John Levon <levon@movementarian.org>
1188 * text3.C: remove insetparent
1190 2003-06-02 John Levon <levon@movementarian.org>
1193 * buffer.C: fix inset_iterator.end(), move out of line
1196 2003-06-01 John Levon <levon@movementarian.org>
1198 * text3.C: use a proper cut/paste when doing inset
1199 insert (from Jürgen Spitzmüller)
1201 2003-06-01 John Levon <levon@movementarian.org>
1203 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1205 2003-05-30 André Pönitz <poenitz@gmx.net>
1207 * rowpainter.C: unify second drawing phase
1209 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1211 * trans_mgr.C: remove one case of current_view
1213 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1215 * paragraph_funcs.h: remove paragraph.h include
1217 * paragraph.h: delete NO_STD_LIST stuff
1219 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1221 * buffer.h: remove paragraph.h include
1223 * ParagraphList.C: delete file
1225 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1227 * toc.C (getTocList): adjust
1229 * paragraph_pimpl.C (validate): adjust
1231 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1233 * paragraph.C (Paragraph): adjust
1234 (getPositionOfInset): use const_iterator, adjust
1235 (bibitem): use const_iterator, adjust
1236 (setInsetOwner): adjust
1238 * iterators.C (operator++): adjust
1240 * InsetList.[Ch]: Replace selfmade iterator with standard
1241 vector::iterator also introduce const_iterator. Remove getPos,
1242 getInset and setInset from InsetTable. Adjust accordingly.
1244 * BufferView.C (lockInset): adjust
1245 (ChangeInsets): adjust
1247 * tabular.[Ch]: delete commented same_id functions
1249 2003-05-28 John Levon <levon@movementarian.org>
1251 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1253 2003-05-28 André Pönitz <poenitz@gmx.net>
1255 * metricsinfo.[Ch]: remove 'fullredraw' member
1257 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1259 * lyxtextclass.C (operator): remove caching.
1261 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1265 * text2.C (cursorBottom): adjust
1266 (setCounter): use ParagraphList::find, adjust
1268 * text.C (workWidth): use ParagraphList::find, adjust
1270 * lyxcursor.C (LyXCursor): adjust
1272 * buffer.C (inset_iterator): adjust
1274 * ParagraphList.h: make iterator(value_type) private, make
1275 ParagraphList a friend of iterator.
1277 * ParagraphList.C (find): new function
1279 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1281 2003-05-27 André Pönitz <poenitz@gmx.net>
1283 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1285 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1289 2003-05-26 John Levon <levon@movementarian.org>
1291 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1293 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1295 * remove same_id from function signatures, adjust.
1297 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1301 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1303 * paragraph.C (Paragraph): get rid of same_ids parameter
1305 * ParagraphList.C (insert): adjust
1308 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * paragraph_funcs.C (breakParagraph): adjust
1311 (breakParagraphConservative): adjust
1313 * buffer.C (readParagraph): adjust
1315 * ParagraphList.C (insert): take a reference instead of a pointer
1318 * paragraph.[Ch] (id): new function
1320 * bufferlist.C (newFile): adjust
1322 * ParagraphList.C (ParagraphList): adjust
1324 (push_back): take a reference instead of a pointer.
1326 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1328 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1331 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1332 set else use old code.
1334 * ParagraphList.C: remove all NO_NEXT code and only compile this
1335 code of NO_STD_LIST is set.
1337 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1339 * BufferView_pimpl.C:
1349 * graphics/GraphicsConverter.C:
1350 * graphics/PreviewLoader.C: header adjustment
1352 2003-05-23 Angus Leeming <leeming@lyx.org>
1354 * LaTeXFeatures.[Ch] (useBabel): new method.
1355 * bufferparams.C (writeLaTeX): use it.
1357 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1359 * ParagraphList.h (set): remove unused function.
1361 2003-05-23 André Pönitz <poenitz@gmx.net>
1364 * BufferView_pimpl.C:
1368 * undo_funcs.C: setUndo reworked
1370 * iterators.[Ch]: add access to topmost ParagraphList
1372 * lyxtext.[Ch] (workWidth): add a const
1374 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1376 * texrow.[Ch] (increasePos): remove function
1377 * exporter.C (export): removed unused var and outdated comment
1379 2003-05-23 Angus Leeming <leeming@lyx.org>
1381 * latexrunparams.h: rename fragile as moving_arg.
1382 * paragraph.C (simpleTeXOnePar): ditto.
1383 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1385 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1387 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1389 (textUndoOrRedo): comment out a currently unused var.
1391 * paragraph.h (NO_NEXT): enable NO_NEXT
1393 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1395 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1397 * exporter.C (Export): adjust for removeAutoInsets removal.
1399 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1401 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1403 * BufferView.[Ch] (removeAutoInsets): delete function
1405 2003-05-22 Angus Leeming <leeming@lyx.org>
1407 * latexrunparams.h: add a free_spacing variable.
1409 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1410 to pass moving_arg, as the data is stored in runparams.fragile.
1412 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1413 to Inset::latexOptional or to simpleTeXOnePar.
1415 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1416 free_spacing arg to Inset::latexOptional.
1418 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1421 2003-05-22 Angus Leeming <leeming@lyx.org>
1423 * latexrunparams.h: add fragile and use_babel variables.
1425 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1426 * buffer.C (makeLaTeXFile): store this returned value in
1427 runparams.use_babel, thus passing it to the inset::latex methods.
1429 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1430 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1432 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1433 longer has a fragile arg, as it is stored in runparams.fragile.
1435 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1436 moving_arg parameter as the data is stored in runparams.fragile.
1438 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1439 a fragile parameter as the data is stored in runparams.fragile.
1441 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1443 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1445 2003-05-22 Angus Leeming <leeming@lyx.org>
1447 * latexrunparams.h: add a 'bool nice' which defaults to false.
1449 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1450 now encapsulated within runparams.
1452 * bufferlist.C (updateIncludedTeXfiles):
1453 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1455 2003-05-22 Angus Leeming <leeming@lyx.org>
1457 * latexrunparams.h: new file containing struct LatexRunParams.
1458 * Makefile.am: add new file.
1460 * LaTeX.[Ch] (c-tor, run):
1461 * buffer.[Ch] (makeLaTeXFile):
1462 * bufferlist.[Ch] (updateIncludedTeXfiles):
1463 * converter.C (convert, scanLog):
1464 * converter.[Ch] (runLaTeX):
1465 * exporter.C (Export):
1466 * paragraph.[Ch] (simpleTeXOnePar):
1467 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1468 * paragraph_funcs.[Ch] (latexParagraphs):
1469 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1470 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1471 pass around a LatexRunParams parameter.
1473 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1475 * paragraph.[Ch]: remove unused constructor
1477 * ParagraphList.C (erase): new function, taking two iterators
1479 2003-05-22 André Pönitz <poenitz@gmx.net>
1481 * undo_funcs.C: remove duplicated code
1483 * iterator.[Ch]: operator=
1485 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * tabular.C (SetMultiColumn): ws changes
1489 * rowpainter.C (paintFirst): get rid of a ->previous
1491 * lyx_cb.C (getPossibleLabel): parlist simplification
1493 * BufferView.C (ChangeInsets): simplify slightly.
1495 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1497 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1498 * lfuns.h: new LFUN_SPACE
1499 * lyxfunc.C: protected space has a new lfun
1500 * paragraph_funcs.C: read new space insets
1502 * factory.C: handle new space insets
1504 2003-05-22 André Pönitz <poenitz@gmx.net>
1507 * BufferView_pimpl.C:
1510 * undo_funcs.C: return a ParIterator from getParFromID.
1512 * iterators.[Ch]: add two const's
1514 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1516 * toc.C (getTocList): adjust
1518 * iterators.[Ch]: rework for parlist
1520 * buffer.C (par_iterator_begin): adjust
1521 (par_iterator_end): adjust
1523 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1525 * BufferView.C (removeAutoInsets): adjust
1526 (ChangeInsets): adjust
1528 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1530 * text.C (top_y): fix bug 1110
1532 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1534 * errorlist.[Ch]: added
1537 * BufferView_pimpl.C:
1538 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1541 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * Makefile.am: ensure that lyx is relinked upon changes to the
1544 various "convenience" libs.
1546 2003-05-20 Angus Leeming <leeming@lyx.org>
1548 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1549 files are compiled in alphabetical order again.
1551 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1553 2003-05-19 Angus Leeming <leeming@lyx.org>
1555 * gettext.[Ch]: remove "char const * _(char const *)".
1557 2003-05-19 André Pönitz <poenitz@gmx.net>
1559 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1568 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1570 2003-05-19 André Pönitz <poenitz@gmx.net>
1574 * lyxtextclass.[Ch]:
1576 * paragraph_funcs.[Ch]:
1578 * text3.C: more insetenv work
1580 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1582 * ParagraphParameters.C (params2string): small bug fixed
1584 2003-05-16 André Pönitz <poenitz@gmx.net>
1587 * bufferview_funcs.C: patch from Kornel Benko to prevent
1588 crash when _(...) is called twice in a statement
1590 2003-05-16 André Pönitz <poenitz@gmx.net>
1597 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1599 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1601 * lyx_main.C (init): remove spurious static_cast
1603 2003-05-14 André Pönitz <poenitz@gmx.net>
1605 * BufferView.C: fix format string
1607 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1609 * BufferView.[Ch] (insertErrors): removed
1610 * BufferView.[Ch] (showErrorList): added
1611 * buffer.C (runChkTeX):
1612 * converter.C (scanLog): call showErrorList instead of inserterrors
1614 2003-05-13 André Pönitz <poenitz@gmx.net>
1616 * BufferView_pimpl.C:
1618 * bufferview_func.C:
1625 * tabular_funcs.h: tostr() from its own header
1627 * ParagraphParameters.C:
1632 * text3.C: STRCONV()
1634 2003-05-12 André Pönitz <poenitz@gmx.net>
1637 * BufferView_pimpl.C:
1641 * ParagraphParameters.C:
1645 * bufferview_funcs.C:
1658 * paragraph_funcs.C:
1662 * text3.C: boost::format -> bformat all over the place
1665 2003-05-09 André Pönitz <poenitz@gmx.net>
1667 * LColor.[Ch]: Pimpl the #include <map> away
1669 2003-05-09 John Levon <levon@movementarian.org>
1671 * bufferlist.C: never remove emergency saves
1673 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * Makefile.am: better lib building
1677 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1679 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1681 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1682 (simpleTeXSpecialChars): adjust
1683 (simpleTeXSpecialChars): adjust
1684 * paragraph.C (simpleTeXOnePar): adjust
1685 * buffer.C (makeLaTeXFile): adjust
1687 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1689 * text2.C (changeDepth): parlist cleanup
1690 (getColumnNearX): ditto
1692 * rowpainter.C (getLabelFont): parlist cleanup
1694 * bufferlist.C (newFile): parlist cleanup
1696 * CutAndPaste.C (eraseSelection): parlist cleanup
1698 * BufferView_pimpl.C (trackChanges): parlist cleanup
1701 * BufferView.C (lockInset): parlist cleanup.
1702 (ChangeInsets): ditto
1704 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1706 * CutAndPaste.h: Update file header.
1708 * CutAndPaste.C: Update file header.
1709 Store the parts cut out of the Document in a limited_stack.
1710 (copySelection): adjust
1711 (pasteSelection): new function, takes the index in the limited stack.
1712 (nrOfParagraphs): adjust
1713 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1714 simplify error inset insertion.
1715 (checkPastePossible): adjust
1717 2003-05-06 John Levon <levon@movementarian.org>
1719 * text2.C: don't cast wrap inset to float
1721 2003-05-05 André Pönitz <poenitz@gmx.net>
1724 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1726 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1727 few naked Paragraph *.
1729 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1731 * bufferparams.C: Output warning if a document with missing
1732 TeX document class is loaded
1733 * exporter.C: Disable TeX exports if the document class is missing
1736 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1737 isTeXClassAvailable()
1739 2003-05-03 John Levon <levon@movementarian.org>
1742 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1743 explicit cursor show/hide
1745 * BufferView_pimpl.h:
1746 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1747 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1749 * lyxfunc.C: hide cursor before dispatching.
1754 * text3.C: remove explicit cursor hides
1756 2003-05-02 André Pönitz <poenitz@gmx.net>
1758 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1761 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1764 * text2.C: tiny whitespace
1766 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1768 * undo_funcs.C: almost only ws changes.
1770 * ParagraphList.C (splice): just return if pl is empty.
1772 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * ParagraphList.C (splice): new function.
1776 * CutAndPaste.C (pasteSelection): use it
1778 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1780 * CutAndPaste.C (pasteSelection): remove the last next and
1781 previous from this file.
1783 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * CutAndPaste.C (pasteSelection): more clean up, user proper
1786 ParagraphList functions for pasteing.
1788 * ParagraphList.C (insert): new function, three arg insert
1790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * ParagraphList.C (insert): new function, three arg insert
1794 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1797 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1799 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1801 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1805 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1808 (copySelection): clean up a bit.
1809 (pasteSelection): use make_pair
1811 * ParagraphList.C (ParagraphList): implement copy constructor
1812 (operator=): implement, base on copy constructor.
1815 * paragraph.C (erase): return a bool
1817 * paragraph_pimpl.C (erasePos): remove function, move contents...
1818 (erase): ... here. Return a bool.
1819 (erase): call erase instead of erasePos.
1821 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1823 * ParagraphList.h: define PitPosPair
1824 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1825 ParagraphList, fix a bug on pasting multiple pars
1826 * text2.C: change interface to C&P
1828 2003-04-30 André Pönitz <poenitz@gmx.net>
1830 * undo_func.C: revert part of yesterday's patch 2
1832 2003-04-30 John Levon <levon@movementarian.org>
1834 * LColor.C: s/tabular/table/
1836 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * text3.C (dispatch): do not convert iterator -> pointer
1839 * undo_funcs.C (setCursorParUndo): ditto
1840 * text_funcs.C (transposeChars): ditto
1842 * text2.C (setLayout): ws changes only
1844 * text.C (breakParagraph): do not convert iterator -> pointer
1846 (acceptChange): ditto
1847 (rejectChange): ditto
1852 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1855 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1857 * text3.C (gotoInset): YABG (yet another bad getChar)
1859 2003-04-29 André Pönitz <poenitz@gmx.net>
1861 * paragraph.h: make operator= private unimplemented as long as
1864 * ParagraphList.C: whitespace
1867 * paragraph_pimpl.[Ch]:
1868 * paragraph_funcs.C:
1870 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1873 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1875 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1877 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1878 * paragraph.[Ch] (erase):
1879 * paragraph_pimpl.[Ch] (erase): change return type and value
1880 * text2.C (cutSelection): some rework
1882 2003-04-28 John Levon <levon@movementarian.org>
1884 * bufferlist.C: changes for unsaved changes dialog
1886 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * bufferlist.C (newFile): set language (messages_) for new
1891 * buffer.C (readFile): ws changes only.
1893 2003-04-28 André Pönitz <poenitz@gmx.net>
1898 * BufferView_pimpl.C:
1899 * BufferView.C: getParFromID related ParagraphList::iterator changes
1901 2003-04-28 André Pönitz <poenitz@gmx.net>
1903 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1906 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1908 * messages.C: remove one more localedir class variable.
1910 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * messages.C (getLocaleDir): singleton generation function
1914 (Messages): add a default constructor.
1916 * main.C (main): do not setup localedir here, do not call
1919 * gettext.C (_): use it.
1920 (gettext_init): delete funciton
1922 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1924 * gettext.C (getLyXMessages): new singleton generating function.
1926 * buffer.C (updateDocLang): adjust
1928 * Makefile.am (messages.o): add target
1929 (main.o): remove target
1931 2003-04-27 John Levon <levon@movementarian.org>
1936 * lyxvc.C: specify cancel button in Alert::prompt
1938 2003-04-26 John Levon <levon@movementarian.org>
1943 * LyXAction.C: add LFUN_INSET_SETTINGS
1945 * lyxfunc.C: don't enable tabular-feature when there's
1946 just any locking inset
1948 2003-04-26 John Levon <levon@movementarian.org>
1950 * bufferlist.C: re-add Cancel to buffer close question
1952 * lyxfunc.C: fix import UI a bit
1954 2003-04-25 John Levon <levon@movementarian.org>
1956 * gettext.C: remove the broken asserts for now
1958 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * messages.C: make case where setlocale cannot comply work better.
1962 * buffer.C (updateDocLang): new function
1963 (changeLanguage): use it
1966 * text2.C (setCounter): use B_ a bit.
1968 * lyxlayout.C (Read): be sure to trim the label strings.
1970 * messages.C (Messages): fix typo in comment
1972 * buffer.C (readFile): set message_ after file is loaded.
1973 (makeDocBookFile): remove double return
1974 (changeLanguage): reset message_ upon language change.
1975 (B_): new func, use this to get translated buffer strings.
1977 * main.C: add myself and Jean Marc as authors.
1979 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * messages.[hC]: pimplify Messages, and three different pimpls to be
1982 used in different circumstances.
1984 * gettext.[Ch]: change for use with new message code.
1986 2003-04-24 André Pönitz <poenitz@gmx.net>
1988 * factory.C: support for eqref
1990 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * messages.[Ch]: add missing char
1994 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1996 * messages.[Ch]: New files
1998 2003-04-18 John Levon <levon@movementarian.org>
2002 * BufferView_pimpl.C:
2006 * text2.C: remove layout-copy/paste (bug 778)
2008 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2010 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2012 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2014 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2015 if they succeed. Act accordingly.
2017 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2019 * text2.C (setCharFont): adjust
2020 (setCounter): adjust
2021 (insertStringAsLines): adjust
2023 * text.C (leftMargin): adjust
2024 (setHeightOfRow): adjust
2026 * rowpainter.C (paintFirst): adjust
2029 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2031 (isFirstInSequence): ditto
2032 (getEndLabel): ditto
2035 * paragraph.C (getParLanguage): comment out some hard stuff.
2037 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2039 (simpleDocBookOnePar): ditto
2040 (makeDocBookFile): use ParagraphList::iterator
2042 * CutAndPaste.C (pasteSelection): adjust
2044 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2046 * text2.C (getFont): adjust
2047 (getLayoutFont): adjust
2048 (getLabelFont): adjust
2050 * paragraph_funcs.C (TeXOnePar): adjust
2052 * buffer.C (simpleLinuxDocOnePar): adjust
2053 (simpleDocBookOnePar): adjust
2055 * CutAndPaste.C (pasteSelection): adjust
2057 * BufferView.C (getEncoding): adjust
2059 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2061 2003-04-16 John Levon <levon@movementarian.org>
2063 * lyxfind.C: use parlist stuff for search/changes
2065 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2069 * text2.C (deleteEmptyParagraphMechanism): adjust
2071 * text2.[Ch] (ownerParagraph): delete func (both of them
2073 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2077 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * ParagraphList.C: prepare for NO_NEXT
2081 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2083 * text2.C (getFont): adjust
2084 (getLayoutFont): adjust
2085 (getLabelFont): adjust
2087 * paragraph.C (getFont): adjust
2088 (getLabelFont): adjust
2089 (getLayoutFont): adjust
2091 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2093 2003-04-15 John Levon <levon@movementarian.org>
2097 * lyx_main.C: handle Include in .ui files
2099 2003-04-15 John Levon <levon@movementarian.org>
2101 * MenuBackend.C: make the doc files length shorter
2104 * ToolbarBackend.C: handle toolbar placement flags,
2107 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2109 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2112 * paragraph_funcs.C (TeXOnePar): adjust
2114 * paragraph.C (getLabelFont): add outerfont arg, adjust
2115 (getLayoutFont): ditto
2116 (simpleTeXOnePar): adjust
2118 * paragraph_pimpl.C (realizeFont): delete func
2120 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2122 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2123 row argument, constify cur argument.
2125 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * text2.C (getFont): adjust
2128 (getLayoutFont): adjust
2129 (getLabelFont): adjust
2131 * paragraph_funcs.C (TeXOnePar): adjust
2132 (outerFont): new func...
2133 (realizeFont): ...moved out from here, changed this to facilitate
2136 * paragraph.C (getFont): take outerfont as arg, adjust
2137 (simpleTeXOnePar): add outerfont arg, adjust
2139 * buffer.C (simpleLinuxDocOnePar): adjust
2140 (simpleDocBookOnePar): adjust
2142 * CutAndPaste.C (pasteSelection): adjust
2144 * BufferView.C (getEncoding): adjust
2146 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * text2.C (setCharFont): adjust
2149 (setCounter): adjust
2151 * text.C (leftMargin): adjust
2152 (setHeightOfRow): adjust
2154 * rowpainter.C (paintFirst): adjust
2157 * paragraph_pimpl.C (realizeFont): adjust
2159 * paragraph.C (isFirstInSequence): move from here...
2160 * paragraph_funcs.C (isFirstInSequence): ...to here
2162 * paragraph.C (outerHook): move from here...
2163 * paragraph_funcs.C (outerHook): ...to here
2165 * paragraph.C (depthHook): move from here...
2166 * paragraph_funcs.C (depthHook): ...to here
2168 * paragraph.C (getEndLabel): move from here...
2169 * paragraph_funcs.C (getEndLabel): ...to here
2171 * text2.C (realizeFont): move from here...
2172 * paragraph_funcs.C (realizeFont): ...to here
2174 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2178 2003-04-14 Angus Leeming <leeming@lyx.org>
2180 * LColor.[Ch]: scrap LColor mathcursor.
2182 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2184 * lyxlex.[Ch] (text): delete function
2185 * trans.C (Load): adjust
2186 * paragraph_funcs.C (readParToken): adjust
2188 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2190 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2191 vector<char> instead of a char[].
2193 * lyxlex_pimpl.C (getString): adjust
2195 (lex): use getString
2199 * lyxlex.C (text): use pimpl_->getString()
2203 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2205 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2206 (makeFontEntriesLayoutSpecific): temp var for par.size()
2207 (setLayout): temp var for ownerParagraphs().end()
2208 (fullRebreak): temp var for rows().end()
2209 (selectionAsString): temp var for boost::next(startpit), realize
2210 that the while really is a regular for loop.
2211 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2212 setCursor in one place.
2213 (setParagraph): temp vr for ownerParagraphs().end()
2214 (updateCounters): make the while loop a for loop
2215 (cutSelection): temp var for ownerParagraphs().end()
2216 (updateInset): make the do {} while() a regular for loop
2217 (getCursorX): use temp vars
2218 (setCurrentFont): use temp vars
2219 (getColumnNearX): use temp vars
2221 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * text.C (transformChar): use temp var for getChar
2224 (computeBidiTables): use temp var for row->par()
2225 (fill): move temp vars for row->par() and pit->layout() earlier in
2227 (labelFill): use temp var for row->par()
2228 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2229 asc and desc, realize that pit never changes and that firstpit is
2230 just a duplicate and not needed. Exchange rit->par() with pit in a
2232 (breakAgain): use a temp var for boost::next(rit)
2233 (breakAgainOneRow): ditto
2234 (breakParagraph): use a temp var for rows().begin()
2235 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2236 (cursorRightOneWord): use temp var for cursor.par() and
2237 cursor.pos(), remove usage of tmpcursor.
2238 (cursorLeftOneWord): use temp var for cursor.par() and
2239 cursor.pos() only set cur at end of function.
2241 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2243 * text.C, text2.C: exchange all usage of Paragraph::next with
2244 boost::next(ParagraphList::iterator)
2246 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2248 * text2.C (cursorTop): simplify implementation
2249 (cursorBottom): ditto
2250 (setParagraph): use ParagraphList::iterator
2251 (setCurrentFont): adjust
2252 (getColumnNearX): adjust
2253 (cursorRight): adjust
2254 (cursorLeft): remove usage of Paragraph::previous
2255 (cursorUpParagraph): ditto
2256 (deleteEmptyParagraphMechanism): slight cleanup
2258 * text.C (isBoundary): take a Paragraph const & instead of a
2260 (addressBreakPoint): ditto
2261 (leftMargin): remove usage of Paragraph::previous.
2262 (setHeightOfRow): ditto
2263 (cursorLeftOneWord): ditto
2264 (selectNextWordToSpellcheck): ditto
2267 (breakParagraph): remove one usage of Paragraph::next
2268 (redoParagraph): ditto
2269 (acceptChange): ditto
2270 (insertChar): adjust
2271 (rowBreakPoint): adjust
2273 * bufferview_funcs.C (toggleAndShow): adjust
2275 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2277 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2278 methods to access it.
2280 * text.C: Added updateRowPositions to compute all row positions.
2281 Make top_y and getRowNearY() to use the cached y position
2283 2003-04-11 John Levon <levon@movementarian.org>
2285 * text.C (rowBreakPoint): reintroduce the labelEnd
2286 checks, code copied from the row fill stuff. Deep voodoo.
2288 * text.C (fill): add a comment and debugging for the
2291 2003-04-11 John Levon <levon@movementarian.org>
2293 * text.C: make sure fullrow insets get wrapped to the next line,
2294 even when they're in a manual label
2296 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2298 * text2.C (insertParagraph): make it take ParagraphList::iterator
2300 (setLayout): make it return ParagraphList::iterator
2301 (redoParagraphs): ditto
2303 (checkParagraph): ditto
2305 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2307 * text2.C: adjust several funcs.
2308 (realizeFont): take a ParagraphList::iterator as arg.
2309 (getLayoutFont): ditto
2310 (getLabelFont): ditto
2311 (setCharFont): ditto
2313 * text.C: adjust several funcs.
2315 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2317 * text.C (selectNextWordToSpellcheck): don't accidentally
2320 2003-04-10 John Levon <levon@movementarian.org>
2322 * ToolbarBackend.C (getIcon): special handling for
2325 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2327 * text2.C (cursorRight): a getChar assert fixed
2329 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * text2.C (getFont): change to take a ParagraphList::iterator
2332 instead of Paragraph*
2333 Adjust several functions.
2335 * text.C (transformChar): change to take a ParagraphList::iterator
2336 instead of Paragraph*
2337 (singleWidth): ditto
2338 Adjust several functions.
2340 * rowpainter.C: adjust several functions
2341 * rowpainter.h:store a ParagraphList::iterator and not a
2345 2003-04-09 John Levon <levon@movementarian.org>
2350 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2351 and the "help" bits as well
2353 2003-04-09 John Levon <levon@movementarian.org>
2356 * ToolbarBackend.C: allow multiple toolbars
2358 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * undo_funcs.C (setCursorParUndo): adjust
2362 * text_funcs.C (transposeChars): adjust
2364 * text3.C (gotoNextInset): adjust
2367 * text2.C (setLayout): adjust
2368 (changeDepth): adjust
2370 (redoParagraphs): adjust
2371 (selectionAsString): adjust
2372 (setParagraph): adjust
2373 (insertInset): adjust
2374 (cutSelection): adjust
2375 (copySelection): adjust
2376 (pasteSelection): adjust
2377 (insertStringAsLines): adjust
2378 (updateInset): adjust
2379 (setCursor): change to take a ParagraphList::iterator parameter
2380 (setCursorIntern): change to take a ParagraphList::iterator parameter
2381 (setCurrentFont): adjust
2382 (cursorLeft): adjust
2383 (cursorRight): adjust
2384 (deleteEmptyParagraphMechanism): adjust
2386 * text.C (breakParagraph): adjust
2387 (insertChar): adjust
2388 (acceptChange): adjust
2389 (rejectChange): adjust
2390 (selectNextWordToSpellcheck): adjust
2391 (changeCase): adjust
2395 * lyxfind.C (SearchForward): adjust
2396 (SearchBackward): adjust
2397 (nextChange): adjust
2399 * lyxcursor.C (par): adjust
2401 * lyxcursor.h: store a ParagraphList::iterator instead of a
2404 * lyx_cb.C (getPossibleLabel): adjust
2406 * bufferview_funcs.C (toggleAndShow): adjust
2408 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2411 * BufferView.C (removeAutoInsets): adjust
2412 (lockedInsetStoreUndo): adjust
2414 2003-04-09 John Levon <levon@movementarian.org>
2416 * ToolbarBackend.C: try icon without argument
2417 if with argument fails
2419 2003-04-08 John Levon <levon@movementarian.org>
2422 * ToolbarBackend.C: add getIcon(), handle tooltip,
2423 and change from "Icon" to "Item".
2425 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2427 * BufferView.C (lockInset): another bad getchar crunched
2429 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2431 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2434 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2436 * lyxfind.C (searchForward, searchBackwards): bug 782
2438 2003-04-07 John Levon <levon@movementarian.org>
2440 * paragraph.C: remove dead comment
2442 * text.C: remove troublesome depth-fiddling code
2443 in leftMargin() and rightMargin() (bug 1017)
2445 * text.C: fix breaking of rows in nested lists
2448 * text2.C (updateCounters): fix up depth values
2451 2003-04-07 John Levon <levon@movementarian.org>
2453 * BufferView_pimpl.C: clear message when doc finishes resizing,
2454 and after a mouse event
2456 * lyxfunc.C: clear message after exiting inset
2458 2003-04-07 John Levon <levon@movementarian.org>
2460 * bufferview_funcs.C: show math status not outside
2461 status in the statusbar
2463 2003-04-07 John Levon <levon@movementarian.org>
2465 * lyxfunc.C: note status changed after a depth change
2467 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2469 * LaTeX.h: move AuxInfo operator==, != out of line.
2470 Remove LaTeX virtual destructor; nothing derives from it.
2471 Move operator()() out of public area and rename it startscript().
2472 Change protected for private.
2474 2003-04-04 Angus Leeming <leeming@lyx.org>
2477 * text2.C: remove unneeded #includes.
2479 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2481 * text2.C (dEPM): fix the heigth of the next row
2483 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2485 * text.C: squashed an invalid getChar requester + some ws changes
2487 2003-04-03 John Levon <levon@movementarian.org>
2489 * bufferview_funcs.h:
2490 * bufferview_funcs.C:
2493 * text2.C: make getStatus work for the env depth lfuns
2495 2003-04-03 John Levon <levon@movementarian.org>
2497 * bufferview_funcs.h:
2498 * bufferview_funcs.C:
2501 * text2.C: parlistize decDepth(), by merging it with incDepth()
2503 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2505 * lyxrow.h: store a ParagraphList::iterator instead of a
2506 Paragraph* and adjust other class functions to suit.
2508 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2511 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2513 * text2.C (setCursor): do not anchor to cursor row for the time being
2515 2003-04-02 John Levon <levon@movementarian.org>
2522 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2524 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * paragraph.h: make ParagraphList and ParagraphList::iterator
2527 friends of Paragraph.
2529 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2531 * ParagraphList.C: Use the private next_ and previous_ from
2534 2003-04-01 John Levon <levon@movementarian.org>
2538 * Makefile.am: rename, remove defaults gunk
2541 * MenuBackend.C: remove defaults gunk
2544 * Languages.C: remove defaults gunk
2547 * lyx_main.C: error out if files couldn't be found.
2549 2003-04-02 John Levon <levon@movementarian.org>
2551 * text2.C: make incDepth() use parlist
2553 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * undo_funcs.C (firstUndoParagraph): adjust
2557 * text3.C (gotoInset): adjust
2558 (dispatch): adjust, and rewrite loop.
2560 * text2.C (init): adjust, and rewrite loop.
2561 (redoParagraphs): adjust
2562 (updateInset): adjust, and rewrite loop.
2563 (deleteEmptyParagraphMechanism): adjust
2565 * tabular.C (LyXTabular): adjust
2566 (SetMultiColumn): adjust
2569 * lyxtext.[Ch] (ownerParagraph): delete function
2570 (ownerParagraphs): new function returns a ParagraphList.
2572 * BufferView.C (removeAutoInsets): adjust
2573 (insertErrors): adjust
2574 (setCursorFromRow): adjust
2576 2003-04-01 Angus Leeming <leeming@lyx.org>
2578 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2581 2003-04-02 John Levon <levon@movementarian.org>
2587 * text_funcs.C: make transposeChars a free function
2589 * lyxrow_funcs.C: remove wrong comment
2591 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * rowpainter.C: adjust
2599 * lyxrow_funcs. [Ch]: new files
2601 * lyxrow.[Ch]: remove next and previous pointers
2602 (next,previous): remove accessor functions
2603 (isParEnd): move to lyxrow_funcs
2604 (lastPos): move to lyxrow_funcs
2605 (nextRowIsAllInset): move to lyxrow_funcs
2606 (lastPrintablePos): move to lyxrow_funcs
2607 (numberOfSeparators): move to lyxrow_funcs
2608 (numberOfHfills): move to lyxrow_funcs
2609 (numberOfLabelHfills): move to lyxrow_funcs
2610 (hfillExpansion): move to lyxrow_funcs
2614 * bufferview_funcs.C (toggleAndShow): adjust
2616 * RowList.h: Remove class RowList from file leave just a
2619 * RowList.C: delete file
2621 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2624 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2626 * text3.C (cursorPrevious): adjust
2627 (cursorNext): adjust
2630 * text2.C (redoHeightOfParagraph): adjust
2631 (redoDrawingOfParagraph): adjust
2634 * text.C (breakParagraph): adjust
2635 (insertChar): adjust
2638 * rowpainter.C (RowPainter): adjust
2639 (leftMargin): simplify and adjust
2640 (most rowpainter functions): adjust.
2642 * rowpainter.h: store the row as RowList::iterator not as Row*
2644 * lyxcursor.C (row): taka RowList::iterator as arg
2647 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2650 2003-04-01 Angus Leeming <leeming@lyx.org>
2652 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2653 stuff like bool Bool.
2655 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2657 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2660 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2665 * lyxtext.h (rows): drop one version and leve a const variant that
2666 returns a RowList::iterator.
2668 2003-03-31 Angus Leeming <leeming@lyx.org>
2670 * text.C (fill): ensure that the signature is the same as that in the
2673 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * text2.C (redoParagraphs): adjust
2676 (updateCounters): adjust
2677 (checkParagraph): adjust
2678 (getColumnNearX): adjust and reformat a bit.
2680 * text.C (top_y): adjust
2682 (leftMargin): adjust
2683 (prepareToPrint): adjust
2685 (getRowNearY): adjust
2687 * lyxtext.h: make rowlist_ mutable.
2689 * RowList.h: add const_iterator
2690 * RowList.C: adjust for RowList::const_iterator.
2692 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2695 2003-03-31 John Levon <levon@movementarian.org>
2698 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2700 * lyx_main.C: set default fonts from using lyx_gui funcs
2702 * exporter.C: pdf_mode moved from lyxrc
2705 * lyxfunc.C: changes from above
2707 2003-03-31 John Levon <levon@movementarian.org>
2709 * lyx_main.C: fix to the last fix
2711 2003-03-31 John Levon <levon@movementarian.org>
2713 * bufferlist.C: "Load original" -> "Load Original"
2719 * format.C: more Alert cleanups
2721 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * text2.C (removeParagraph): make it take a RowList::iterator as
2725 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2726 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2728 * text.C (anchor_row): make it take a RowList::iterator as arg,
2730 (computeBidiTables): make it take a const reference to Row instead
2731 of Row pointer, adjust.
2732 (leftMargin): make it take a RowList::iterator as arg, adjust.
2733 (rowBreakPoint): adjust
2734 (breakAgainOneRow): make it take a RowList::iterator as arg,
2736 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2738 * bufferview_funcs.C (toggleAndShow): adjust
2740 2003-03-30 John Levon <levon@movementarian.org>
2744 * boost-inst.C: moved to support
2746 * several files: changes as a result
2748 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * text2.C (LyXText): adjust.
2752 (removeRow): make it take a RowList::iterator as arg, adjust.
2753 (fullRebreak): adjust
2754 (deleteEmptyParagraphMechanism): adjust
2755 (clearPaint): adjust
2758 * text.C (top_y): adjust
2759 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2760 (breakAgain): make it take a RowList::iterator as arg, adjust.
2761 (breakParagraph): adjust
2762 (insertChar): adjust
2765 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2766 need_break_row, and refresh_row.
2768 * text3.C (dispatch): adjust
2770 * text2.C (checkParagraph): adjust
2772 (setCursorFromCoordinates): adjust
2774 * text.C (top_y): adjust
2776 (getRow): make it return a RowList::iterator, adjust
2777 (getRowNearY): make it return a RowList::iterator, adjust
2779 * text2.C (init): adjust
2780 (insertRow): remove function
2781 (insertParagraph): adjust
2782 (redoParagraphs): adjust
2783 (fullRebreak): adjust
2784 (updateCounters): adjust
2786 * text.C (top_y): rewrite to use RowList iterators.
2788 (setHeightOfRow): rewrite to sue RowList iterators.
2789 (appendParagraph): adjust
2790 (breakAgain): adjust
2791 (breakAgainOneRow): adjust
2792 (breakParagraph): adjust
2794 (getRowNearY): adjust, and remove commented code.
2796 * lyxtext.h (firstRow): delete function
2797 (lastRow): delete function
2798 (rows): new function (const and non-const versions.)
2799 (insertRow): delete function
2801 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2803 2003-03-29 John Levon <levon@movementarian.org>
2805 * BufferView_pimpl.C: always update scrollbar top
2806 because pasting text when we're anchored could mean we
2807 miss an update altogether
2809 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2811 * text2.C (init): use rowlist_.end() and not 0.
2812 (insertRow): change to take a RowList::iterator as arg, adjust
2814 (insertParagraph): change to take a RowList::iterator as arg,
2816 (redoParagraphs): remove some debug msgs.
2818 * text.C (appendParagraph): change to take a RowList::iterator
2819 arg, adjust for this.
2820 (breakAgain): add an assert
2821 (breakAgainOneRow): ditto
2823 2003-03-29 John Levon <levon@movementarian.org>
2825 * text2.C: do not clear selection after inc/decDepth
2828 2003-03-29 John Levon <levon@movementarian.org>
2831 * buffer.C: fix broken strerrors according to Lars
2833 2003-03-29 John Levon <levon@movementarian.org>
2835 * converters.C: more Alert cleanups
2837 2003-03-29 John Levon <levon@movementarian.org>
2839 * bufferview_funcs.C: remove pointless Alert
2841 * buffer.C: fix confusing error message when
2842 a template is chmoded 000
2844 2003-03-29 John Levon <levon@movementarian.org>
2848 * BufferView_pimpl.C: Alert fixes
2852 * tabular-old.C: remove unused table compat reading
2854 2003-03-29 John Levon <levon@movementarian.org>
2859 * lyx_cb.C: more Alert cleanups
2861 * lyxfunc.C: don't allow chktex if not latex document
2863 2003-03-29 John Levon <levon@movementarian.org>
2867 * buffer.C: warnings pushed down from support/,
2870 2003-03-29 John Levon <levon@movementarian.org>
2872 * lyxfunc.C: safety check for C-r (revert)
2874 2003-03-29 John Levon <levon@movementarian.org>
2877 * bufferlist.C: several UI fixes using Alert::prompt.
2878 Fix the pointless looping quit code. Fix stupid revert
2883 * lyx_cb.C: use Alert::prompt
2885 * lyx_main.C: remove a silly question
2887 * lyxfunc.C: remove a couple of silly questions,
2890 2003-03-28 John Levon <levon@movementarian.org>
2892 * text2.C: fix bug 974 (End on empty par)
2894 2003-03-28 John Levon <levon@movementarian.org>
2896 * BufferView_pimpl.C:
2898 * lfuns.h: remove do-nothing math greek lfuns
2900 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * lyxgluelength.h (isValidGlueLength): add default arg on
2903 parameter 2. Remove default arg from friend in class.
2905 * lyxlength.h (isValidLength): add default arg on parameter 2.
2906 Remove default arg from friend in class.
2908 * text2.C (LyXText): adjust, initialize refresh_row.
2912 (insertParagraph): adjst
2913 (redoParagraphs): adjust
2914 (fullRebreak): adjust
2915 (updateCounters): adjust
2916 (deleteEmptyParagraphMechanism): first attempt at fixing a
2919 * text.C (top_y): adjust
2920 (setHeightOfRow): adjust
2922 (getRowNearY): adjust
2924 * lyxtext.h: include RowList.h
2925 (~LyXText): not needed anymore, deleted.
2926 (firstRow): modify for RowList
2927 (lastRow): new function
2928 Delete firstrow and lastrow class variables, add a Rowlist
2929 rowlist_ class variable.
2931 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2934 * RowList.C (insert): fix case where it == begin().
2936 2003-03-26 Angus Leeming <leeming@lyx.org>
2938 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2939 the thesaurus dialog.
2941 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2945 * RowList.[Ch]: new files
2947 * ParagraphList.C (erase): handle the case where it == begin
2950 2003-03-25 John Levon <levon@movementarian.org>
2954 * aspell.C: add new aspell support
2957 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2960 2003-03-25 Angus Leeming <leeming@lyx.org>
2963 * LyXAction.C (init): new LFUN_INSET_INSERT.
2965 * BufferView_pimpl.C (dispatch): split out part of the
2966 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2968 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2971 2003-03-25 Angus Leeming <leeming@lyx.org>
2973 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2975 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2978 * text3.C: remove useless row->height(0)
2980 2003-03-25 John Levon <levon@movementarian.org>
2984 * text3.C: rename the refreshing stuff to better names
2986 2003-03-24 John Levon <levon@movementarian.org>
2988 * BufferView_pimpl.h:
2989 * BufferView_pimpl.C: update layout choice on a mouse
2992 2003-03-23 John Levon <levon@movementarian.org>
2994 * Makefile.am: fix commandtags.h reference
2996 2003-03-22 John Levon <levon@movementarian.org>
2998 * BufferView_pimpl.C:
3003 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3005 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3008 * text.C: take the rtl methods out of line
3010 2003-03-21 André Pönitz <poenitz@gmx.net>
3012 * metricsinfo.[Ch]: new files containing structures to be passed around
3013 during the two-phase-drawing...
3015 2003-03-21 André Pönitz <poenitz@gmx.net>
3017 * lyxtextclass.C: read 'environment' tag.
3019 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3021 * text2.C (removeRow): fix bug 964
3023 2003-03-20 John Levon <levon@movementarian.org>
3027 * text2.C: paint cleanups. Inset::update() dropped font
3030 2003-03-19 John Levon <levon@movementarian.org>
3032 * lyxfunc.C: only fitcursor/markDirty if available()
3034 2003-03-19 John Levon <levon@movementarian.org>
3036 * commandtags.h: rename to ...
3038 * lfuns.h: ... this, and renumber / cleanup
3040 2003-03-19 John Levon <levon@movementarian.org>
3042 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3043 fit the cursor after an lfun
3047 * BufferView_pimpl.h:
3048 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3050 * LyXAction.C: layout-character should have ReadOnly
3052 * ParagraphParameters.C:
3054 * bufferview_funcs.C:
3061 * undo_funcs.C: changes from above
3063 2003-03-18 John Levon <levon@movementarian.org>
3065 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3066 remove it from update()
3068 * lyxfunc.C: update layout choice after an lfun
3070 * text3.C: remove extra updateLayoutChoice()s
3072 2003-03-18 John Levon <levon@movementarian.org>
3074 * text.C: top_y change means full repaint, fix
3075 a drawing bug with cursor movement
3077 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3081 * text2.C: anchor row on setCursor
3083 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3085 * lyxtext.h: remove almost all mutable keywords
3088 * text3.C: remove const keywords accordingly
3090 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3092 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3094 (TeXEnvironment): ditto
3097 2003-03-17 John Levon <levon@movementarian.org>
3099 * text.C (rowBreakPoint): remove attempt to fix displayed
3100 math insets inside a manual label
3102 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * lyxtext.h: remove BufferView* as first arg from almost all class
3106 * other files: adjust.
3108 2003-03-17 John Levon <levon@movementarian.org>
3112 * text2.C: more paint cleanups
3114 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3117 * rowpainter.C: remove "smart" background painting code
3119 2003-03-16 John Levon <levon@movementarian.org>
3124 * text3.C: add helper functions for setting refresh_row/y
3126 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3128 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3129 newline inset which *can* get inserted in the pass_thru layouts.
3130 This is primarily for literate documents.
3132 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3134 * buffer.C: increment LYX_FORMAT to 223
3136 2003-03-14 André Pönitz <poenitz@gmx.net>
3138 * textclass.h: prepare for environment handling, ws changes
3139 * lyxlayout.C: read latexheader and latexfooter tags
3141 2003-03-14 John Levon <levon@movementarian.org>
3143 * text2.C: rewrite ::status() a bit
3145 2003-03-13 John Levon <levon@movementarian.org>
3147 * lyxtext.h: add some docs
3149 2003-03-13 John Levon <levon@movementarian.org>
3154 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3156 2003-03-13 John Levon <levon@movementarian.org>
3158 * text3.C: fix appendix redrawing
3160 2003-03-13 John Levon <levon@movementarian.org>
3162 * text.C (setHeightOfRow):
3164 * rowpainter.C: make appendix mark have the text
3165 "Appendix" so the user knows what it is
3168 * LColor.C: s/appendixline/appendix/ from above
3170 2003-03-13 John Levon <levon@movementarian.org>
3172 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3174 * text.C: fix a getChar(pos) bug properly
3176 2003-03-13 Angus Leeming <leeming@lyx.org>
3179 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3180 Probably only temporary. Let's see how things pan out.
3182 * BufferView.C (unlockInset):
3183 * BufferView_pimpl.C (fitCursor):
3184 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3186 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3187 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3189 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3190 new functions that convert ParagraphParameters to and from a string.
3192 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3193 BufferView::Pimpl's dispatch.
3194 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3196 2003-03-13 André Pönitz <poenitz@gmx.net>
3200 * factory.C: make it aware of InsetEnv
3202 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * text2.C (setCursor): never ask for one past last
3205 (setCursor): add some debugging messages.
3207 * text.C (singleWidth): never ask for one past last
3208 (singleWidth): ditto
3210 (rightMargin): ditto
3211 (rowBreakPoint): ditto
3212 (setHeightOfRow): ditto
3213 (prepareToPrint): ditto
3215 * rowpainter.C (paintBackground): never ask for one past last
3216 (paintText): never ask for one past last
3218 * paragraph_pimpl.C (getChar): make the assert stricter, never
3219 allow the one past last pos to be taken
3221 * paragraph.C (getChar): ws changes only
3223 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3224 (numberOfSeparators): ditto
3225 (numberOfHfills): ditto
3227 2003-03-12 John Levon <levon@movementarian.org>
3233 * paragraph_funcs.C: fix per-buffer authorlists
3235 2003-03-12 John Levon <levon@movementarian.org>
3237 * text.C: fix newline in right address
3239 2003-03-12 Angus Leeming <leeming@lyx.org>
3241 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3242 duplicate those in LyXFunc::dispatch.
3246 * ToolbarDefaults.C:
3247 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3248 Add LFUN_FONTFREE_UPDATE.
3250 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3251 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3253 * bufferview_func.[Ch]: several new functions to facilliate
3254 transfer of data to and from the character dialog.
3256 2003-03-12 John Levon <levon@movementarian.org>
3261 * paragraph_funcs.C:
3262 * paragraph_pimpl.C:
3266 * text3.C: remove META_NEWLINE in favour of an inset
3269 * rowpainter.C: remove paintNewline (done by inset)
3271 2003-03-12 John Levon <levon@movementarian.org>
3273 * paragraph_pimpl.C: complain about bad getChar()s
3274 for a while at least
3276 2003-03-12 John Levon <levon@movementarian.org>
3279 * buffer.C: move paragraph read into a separate function,
3280 a little renaming to reflect that.
3283 * bufferparams.C: remove the author_ids map, not necessary now
3286 * factory.C: moved Buffer::readInset to here
3288 * paragraph_funcs.h:
3289 * paragraph_funcs.C: readParagraph free function moved from
3292 * tabular.C: name change
3294 2003-03-12 John Levon <levon@movementarian.org>
3297 * ParagraphParameters.C: move par params input to
3300 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3301 behave like a normal read from the stream wrt reading
3302 a line vs. a \\token
3304 2003-03-12 John Levon <levon@movementarian.org>
3307 * ParagraphParameters.h:
3308 * ParagraphParameters.C: move output code to a
3311 2003-03-12 John Levon <levon@movementarian.org>
3313 * BufferView.C (insertLyXFile):
3316 * tabular.C: use a parlist iterator for creating the
3319 2003-03-12 John Levon <levon@movementarian.org>
3321 * buffer.C: make current_change static local not
3324 2003-03-12 John Levon <levon@movementarian.org>
3326 * buffer.C: fix insertStringAsLines for change tracking
3328 2003-03-12 John Levon <levon@movementarian.org>
3335 * bufferparams.C: move author list into params. Rename some
3336 functions. Move the header reading into a separate token
3337 loop. Move the header token reading into BufferParams.
3339 2003-03-12 John Levon <levon@movementarian.org>
3341 * changes.C: put debug inside lyxerr.debugging() checks
3343 2003-03-11 André Pönitz <poenitz@gmx.net>
3345 * factory.C: make it aware of InsetHFill
3347 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3349 * buffer.C (latexParagraphs): move function from here...
3350 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3353 2003-03-10 Angus Leeming <leeming@lyx.org>
3355 * LyXAction.C (init): fix bug in poplating array with multiple entries
3356 with the same LFUN (spotted by JMarc).
3358 2003-03-10 John Levon <levon@movementarian.org>
3361 * text2.C: move getColumnNearX() near its
3364 2003-03-10 John Levon <levon@movementarian.org>
3366 * text.C: fix break before a minipage
3368 2003-03-10 John Levon <levon@movementarian.org>
3370 * text.C: fix the last commit
3372 2003-03-09 John Levon <levon@movementarian.org>
3376 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3377 bug 365 (don't break before insets unless needed). Don't
3378 return a value > last under any circumstances.
3380 2003-03-09 Angus Leeming <leeming@lyx.org>
3382 * BufferView_pimpl.C (trackChanges, dispatch): call
3383 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3385 2003-03-09 Angus Leeming <leeming@lyx.org>
3387 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3388 than Dialogs::showAboutlyx().
3390 2003-03-09 Angus Leeming <leeming@lyx.org>
3392 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3393 than Dialogs::showTabularCreate().
3395 2003-03-09 John Levon <levon@movementarian.org>
3399 * text2.C: 3rd arg to nextBreakPoint was always the same.
3402 2003-03-08 John Levon <levon@movementarian.org>
3409 * text2.C: Remove the "main" bit from the "main body"
3412 2003-03-08 John Levon <levon@movementarian.org>
3414 * text.C (leftMargin): The left margin of an empty
3415 manual label paragraph should not include the label width
3418 * text.C (prepareToPrint): don't attempt to measure hfills
3419 for empty manual label paragraphs - the answer should be 0
3421 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * CutAndPaste.C: remove commented code and reindent.
3425 2003-03-08 John Levon <levon@movementarian.org>
3428 * lyxfunc.C: move reloadBuffer()
3431 * BufferView.C: to here
3433 * lyxvc.C: add comment
3436 * vc-backend.C: call bv->reload() to avoid
3437 getStatus() check on MENURELOAD
3439 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3441 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3442 to an old format .dep file.
3444 2003-03-07 Angus Leeming <leeming@lyx.org>
3446 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3447 when the LFUN_MOUSE_RELEASE should have been handled by
3448 inset->localDispatch.
3450 2003-03-07 Angus Leeming <leeming@lyx.org>
3452 * BufferView_pimpl.C (dispatch):
3453 * LyXAction.C (init):
3454 * ToolbarDefaults.C (init):
3456 * lyxfunc.C (getStatus):
3457 remove LFUN_INSET_GRAPHICS.
3459 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3461 2003-03-07 Angus Leeming <leeming@lyx.org>
3464 * LyXAction.C (init):
3465 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3467 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3470 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3472 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3473 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3475 2003-03-07 Angus Leeming <leeming@lyx.org>
3477 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3480 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * ParagraphList.C (front): new function
3485 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3487 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3488 and top_row_offset_. removed var first_y.
3490 * text2.C (LyXText, removeRow):
3492 * BufferView_pimpl.C:
3493 use these methods instead of using first_y
3495 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * text2.C (pasteSelection): adjust for checkPastePossible
3499 * CutAndPaste.C: remove Paragraph * buf and replace with
3500 ParagraphList paragraphs.
3501 (DeleteBuffer): delete
3502 (cutSelection): change the tc type to textclass_type
3503 (copySelection): change the tc type to textclass_type
3504 (copySelection): adjust for ParagraphList
3505 (pasteSelection): change the tc type to textclass_type
3506 (pasteSelection): adjust for Paragraphlist
3507 (nrOfParagraphs): simplify for ParagraphList
3508 (checkPastePossible): simplify for ParagraphList
3509 (checkPastePossible): remove unused arg
3511 * ParagraphList.C (insert): handle the case where there are no
3514 * CutAndPaste.h: make CutAndPaste a namespace.
3516 * text3.C (dispatch): adjust
3518 * text.C (breakParagraph): add a ParagraphList as arg
3520 * paragraph_funcs.C (breakParagraph): change to take a
3521 BufferParams and a ParagraphList as args.
3522 (breakParagraphConservative): ditto
3523 (mergeParagraph): ditto
3524 (TeXDeeper): add a ParagraphList arg
3525 (TeXEnvironment): ditto
3528 * buffer.C (readLyXformat2): adjust
3529 (insertStringAsLines): adjust
3530 (latexParagraphs): adjust
3532 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3533 (cutSelection): adjust
3534 (pasteSelection): adjust
3536 * BufferView_pimpl.C (insertInset): adjust
3538 2003-03-05 Angus Leeming <leeming@lyx.org>
3541 * LyXAction.C (init):
3542 * BufferView_pimpl.C (dispatch):
3543 * lyxfunc.C (getStatus):
3544 remove LFUN_CHILD_INSERT.
3546 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3548 2003-03-05 Angus Leeming <leeming@lyx.org>
3551 * LyXAction.C (init):
3552 * src/factory.C (createInset):
3553 * lyxfunc.C (getStatus):
3554 * text3.C (dispatch):
3555 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3557 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3559 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * ParagraphList.C (insert): handle insert right before end()
3562 (erase): fix cases where it can be first or last paragraph.
3564 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3566 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3567 Paragraph::next and Paragraph::previous
3570 * text.C (breakParagraph): adjust
3572 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3573 BufferParams& as arg.
3574 (breakParagraph): use ParagraphList::insert
3575 (breakParagraphConservative): take a Buffer* instead of a
3576 BufferParams& as arg.
3577 (breakParagraphConservative): use ParagraphList::insert.
3579 * buffer.C (insertStringAsLines): un-const it
3580 (insertStringAsLines): adjust
3582 * ParagraphList.C (insert): new function
3584 * CutAndPaste.C (pasteSelection): adjust
3586 * text.C (backspace): adjust
3588 * tabular.C (SetMultiColumn): adjust
3590 * CutAndPaste.C (cutSelection): adjust
3591 (pasteSelection): adjust
3593 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3594 Buffer const * as arg
3596 * ParagraphList.C (erase): new function
3597 * paragraph_funcs.C (mergeParagraph): use it
3598 (mergeParagraph): make it take a Buffer* instead of a
3599 BufferParams* as arg
3601 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3603 (breakParagraphConservative): ditto
3605 * paragraph.h: remove the breakParagraph friend
3607 * paragraph.C (eraseIntern): new function
3608 (setChange): new function
3610 * paragraph_funcs.C (mergeParagraph): make it take a
3611 ParagraphList::iterator instead of a Paragraph *, adjust
3614 * paragraph.h: move an #endif so that the change tracking stuff
3615 also works in the NO_NEXT case.
3617 2003-03-04 Angus Leeming <leeming@lyx.org>
3620 * LyXAction.C: new LFUN_INSET_MODIFY.
3622 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3623 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3625 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3627 * several files: ws changes only
3629 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3630 (TeXEnvironment): ditto
3633 * buffer.C (makeLaTeXFile): adjust
3634 (latexParagraphs): make it take ParagraphList::iterator as args
3636 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * buffer.C (latexParagraphs): adjust
3640 * paragraph.C (TeXOnePar): move function...
3641 (optArgInset): move function...
3642 (TeXEnvironment): move function...
3643 * paragraph_pimpl.C (TeXDeeper): move function...
3644 * paragraph_funcs.C: ...here
3646 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3648 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3650 * buffer.C (readInset): remove compability code for old Figure and
3653 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * buffer.C: ws changes
3658 * BufferView_pimpl.C: ditto
3661 * bufferlist.h: ditto
3665 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3667 * converter.[Ch]: split into itself +
3670 * Makefile.am: += graph.[Ch] + format.[Ch]
3677 * lyxrc.C: added #include "format.h"
3679 2003-02-27 Angus Leeming <leeming@lyx.org>
3681 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3684 * factory.C (createInset): add "label" to the factory.
3686 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3687 string and do no more.
3689 2003-02-27 Angus Leeming <leeming@lyx.org>
3692 * LyXAction.C (init):
3693 * factory.C (createInset):
3694 * BufferView_pimpl.C (dispatch):
3695 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3697 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3699 * lyxfunc.C (dispatch):
3700 * text3.C (dispatch): pass name to params2string.
3702 2003-02-26 Angus Leeming <leeming@lyx.org>
3704 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3706 Rearrange the ~includes. Strip out the unnecessary ones.
3708 * factory.C (createInset): reformat.
3709 create new insets for the various LFUN_XYZ_APPLY lfuns.
3711 2003-02-26 John Levon <levon@movementarian.org>
3714 * lyxrow.C: add isParStart,isParEnd helpers
3716 * paragraph.h: make isInserted/DeletedText take refs
3718 * paragraph_funcs.h:
3719 * paragraph_funcs.C: remove #if 0'd code
3724 * text.C: use lyxrow helpers above.
3725 Move draw and paint routines to RowPainter.
3726 Make several methods use refs not pointers.
3727 Make backgroundColor() const.
3728 Add markChangeInDraw(), isInInset().
3729 Merge changeRegionCase into changeCase.
3730 Make workWidth() shouldn't-happen code into an Assert.
3733 * rowpainter.C: new class for painting a row.
3736 * vspace.C: make inPixels take a ref
3738 2003-02-26 Angus Leeming <leeming@lyx.org>
3740 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3743 2003-02-25 John Levon <levon@movementarian.org>
3745 * ispell.C: give the forked command a more accurate name
3747 2003-02-22 John Levon <levon@movementarian.org>
3750 * toc.C: make TocItem store an id not a Paragraph *
3753 2003-02-21 Angus Leeming <leeming@lyx.org>
3755 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3756 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3757 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3758 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3759 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3760 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3762 * BufferView_pimpl.C (dispatch):
3763 * LyXAction.C (init):
3764 * factory.C (createInset):
3765 * lyxfunc.C (getStatus, dispatch):
3766 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3768 2003-02-21 Angus Leeming <leeming@lyx.org>
3770 * BufferView_pimpl.C (MenuInsertLyXFile):
3771 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3772 * lyxfunc.C (menuNew, open, doImport):
3773 no longer pass a LyXView & to fileDlg.
3775 2003-02-21 Angus Leeming <leeming@lyx.org>
3777 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3778 * LyXAction.C: change, BIBKEY to BIBITEM.
3779 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3780 Change InsetBibKey to InsetBibitem.
3781 Change BIBKEY_CODE to BIBITEM_CODE.
3782 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3783 * factory.C: replace insetbib.h with insetbibitem.h.
3784 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3785 * paragraph.C: replace insetbib.h with insetbibitem.h.
3786 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3787 Change bibkey() to bibitem().
3788 * text.C: remove insetbib.h.
3789 * text2.C: replace insetbib.h with insetbibitem.h.
3790 change bibkey() to bibitem().
3791 * text3.C: remove insetbib.h.
3792 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3794 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3796 * lyxrc.C (output): enclose user email in quotes (in case there are
3799 2003-02-18 John Levon <levon@movementarian.org>
3801 * buffer.h: add std::
3803 2003-02-17 John Levon <levon@movementarian.org>
3809 * pspell.C: reworking. Especially in ispell, a large
3810 number of clean ups and bug fixes.
3812 * lyxfunc.C: fix revert to behave sensibly
3814 2003-02-17 André Pönitz <poenitz@gmx.net>
3817 * commandtags.h: new LFUN_INSERT_BIBKEY
3827 * paragraph_func.C: remove special bibkey handling
3829 2003-02-17 John Levon <levon@movementarian.org>
3831 * text.C (Delete): fix case where delete at the end of
3832 the very first paragraph would not merge the pars
3834 2003-02-17 John Levon <levon@movementarian.org>
3836 * lyxrow.C: fix lastPrintablePos()
3838 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3840 * bufferparams.C (writeLaTeX): add a std:here
3842 * buffer.C: and remove a using directive there
3844 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3846 * buffer.C (makeLaTeXFile): move the code that generates the
3849 * bufferparams.C (writeLaTeX): ... in this new method
3851 * LaTeXFeatures.C (getEncodingSet): make const
3852 (getLanguages): make const
3854 * MenuBackend.C (binding): returns the binding associated to this
3856 (add): sets the status of each item by calling getStatus. Adds
3858 (read): add support for OptSubMenu
3859 (expand): remove extra separator at the end of expanded menu
3861 2003-02-15 John Levon <levon@movementarian.org>
3864 * BufferView_pimpl.C:
3866 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3867 inset code that had no actual effect. Remove unneeded status
3870 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3872 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3875 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3877 * text.C (drawLengthMarker): also draw an arrow marker for
3878 symbolic lengths (medskip...)
3880 2003-02-14 John Levon <levon@movementarian.org>
3883 * tabular.C: better method names
3885 2003-02-14 John Levon <levon@movementarian.org>
3887 * BufferView_pimpl.C:
3892 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3893 it's a more accurate name. Remove some pointless uses.
3895 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3897 * text2.C (LyXText): change order of initilizers to shut off
3900 2003-02-14 John Levon <levon@movementarian.org>
3902 * buffer.C: use ParIterator for getParFromID()
3906 * paragraph_pimpl.h:
3907 * paragraph_pimpl.C: remove unused getParFromID()
3909 2003-02-14 John Levon <levon@movementarian.org>
3911 * buffer.C: remove some very old #if 0'd parse code
3913 2003-02-13 John Levon <levon@movementarian.org>
3917 * text2.C: move hfillExpansion(), numberOfSeparators(),
3918 rowLast(), rowLastPrintable(), numberofHfills(),
3919 numberOfLabelHfills() ...
3922 * lyxrow.C: ... to member functions here.
3927 * text.C: remove LyXText::beginningOfMainBody(), and call
3928 p->beginningOfMainBody() directly. Move the check for
3929 LABEL_MANUAL into the latter.
3936 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3942 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3943 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3945 2003-02-13 John Levon <levon@movementarian.org>
3947 * CutAndPaste.C: remove debug
3949 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3951 * paragraph.C (asString): remove two unused variables
3953 * lyxtextclass.C (readTitleType):
3955 (LyXTextClass): handle new members titletype_ and titlename_
3957 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3959 2003-02-09 John Levon <levon@movementarian.org>
3962 * buffer.C: replace hand-coded list with a map for the dep clean
3964 2003-02-08 John Levon <levon@movementarian.org>
3966 * LaTeX.C: consolidate code into showRunMessage() helper
3968 2003-02-08 John Levon <levon@movementarian.org>
3973 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3974 and pass the size in explicitly
3976 * BufferView_pimpl.h:
3977 * BufferView_pimpl.C:
3979 * BufferView.C: add getCurrentChange()
3981 * BufferView_pimpl.h:
3982 * BufferView_pimpl.C: handle change lfuns
3984 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3985 for changes. Mark pasted paragraphs as new.
3987 * support/lyxtime.h:
3988 * support/lyxtime.C:
3989 * DepTable.C: abstract time_t as lyx::time_type
3992 * LColor.C: add colours for new text, deleted text, changebars
3994 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3995 package use "usenames" option.
3999 * LyXAction.C: add change lfuns
4003 * author.C: author handling
4006 * buffer.C: add a per-buffer author list, with first entry as
4007 current author. Handle new .lyx tokens for change tracking. Output
4008 author list to .lyx file. Output dvipost stuff to .tex preamble.
4009 Bump lyx format to 222.
4012 * bufferlist.C: add setCurrentAuthor() to reset current author details
4016 * bufferparams.C: add param for tracking
4018 * bufferview_funcs.C: output change info in minibuffer
4022 * changes.C: add change-tracking structure
4025 * debug.C: add CHANGES debug flag
4028 * lyxfind.C: add code for finding the next change piece
4031 * lyxrc.C: add user_name and user_email
4034 * lyxrow.C: add a metric for the top of the text line
4037 * text.C: implement accept/rejectChange()
4040 * text.C: paint changebars. Paint new/deleted text in the chosen
4041 colours. Strike through deleted text.
4045 * paragraph_pimpl.h:
4046 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4047 in the current change to the insert functions. Rework erase to
4048 mark text as deleted, adding an eraseIntern() and a range-based
4049 erase(). Implement per-paragraph change lookup and
4052 * paragraph_funcs.C: Fixup paste for change tracking.
4054 * tabular.C: mark added row/columns as new.
4056 * text.C: fix rowLast() to never return -1. Don't allow
4057 spellchecking of deleted text. Track transpose changes. Don't
4058 allow paragraph break or merge where appropriate.
4060 * text2.C: leave cursor at end of selection after a cut.
4062 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4064 * text.C (getLengthMarkerHeight):
4065 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4066 visible on screen too.
4068 2003-02-07 John Levon <levon@movementarian.org>
4070 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4072 2003-02-05 Angus Leeming <leeming@lyx.org>
4074 * lyxserver.C (read_ready): revert my patch of 11 September last year
4075 as it sends PC cpu through the roof. Presumably this means that
4076 the lyxserver will no longer run on an Alpha...
4078 2003-01-30 Angus Leeming <leeming@lyx.org>
4080 * factory.C (createInset): create an InsetCommandParam of type "index"
4081 and use it to 'do the right thing'.
4083 * text2.C (getStringToIndex): ensure that cursor position is always
4084 reset to the reset_cursor position.
4086 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4088 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4091 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4095 * lyxfunc.C: Output messages with identical spelling, punctuation,
4098 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4100 * MenuBackend.C (expandFormats): List only viewable export formats
4103 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4106 * lyxfunc.C (getStatus): Make sure that formats other than
4107 "fax" can also be disabled
4109 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4111 * text3.C (dispatch): put the lfuns that insert insets in 3
4112 groups, and call doInsertInset with appropriate arguments.
4113 (doInsertInset): new function, that creates an inset and inserts
4114 it according to some boolean parameters.
4116 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * buffer.C (readFile): remember to pass on 'par' when calling
4119 readFile recursively.
4121 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4123 * MenuBackend.C (expandFormats): add "..." to import formats.
4125 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4127 * paragraph.C (asString): Remove XForms RTL hacks.
4129 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4130 * buffer.C: fix typo
4132 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * Makefile.am (LIBS): delete var
4135 (lyx_LDADD): add @LIBS@ here instead.
4137 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4139 * Clarify the meaning of "wheel mouse jump"
4141 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4143 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4146 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4148 * importer.C (Loaders): do not preallocate 3 elements in the
4149 vector, since one ends up with 6 elements otherwise
4151 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4153 * DepTable.C (write): write the file name as last element of the
4154 .dep file (because it may contain spaces)
4155 (read): read info in the right order
4157 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4159 * paragraph_pimpl.C (simpleTeXBlanks):
4160 (simpleTeXSpecialChars):
4161 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4163 * tabular.C (latex): add some missing case statements. Reindent.
4165 * MenuBackend.C (expandToc): remove unused variable.
4167 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4176 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4179 2003-01-05 John Levon <levon@movementarian.org>
4182 * BufferView.C: add getEncoding()
4185 * kbsequence.C: do not store last keypress
4188 * lyxfunc.C: store last keypress here instead. Pass encoding
4191 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4193 * lyx_main.C (init): remove annoying error message when following
4194 symbolic links (bug #780)
4196 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4198 * text.C (insertChar):
4199 * lyxrc.C (getDescription): remove extra spaces
4201 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4203 * lyxrc.C (getDescription): remove extra spaces
4205 2002-12-20 John Levon <levon@movementarian.org>
4207 * text3.C: hack fix for page up/down across tall rows
4209 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4211 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4214 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4216 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4217 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4218 thesaurus is not compiled in
4220 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4222 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4224 2002-12-16 Angus Leeming <leeming@lyx.org>
4227 * lyx_main.C (init): remove override_x_deadkeys stuff.
4229 2002-12-12 John Levon <levon@movementarian.org>
4231 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4232 insert. Only remove shift modifier under strict
4235 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4237 * MenuBackend.C (expandToc): fix crash.
4239 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4241 * MenuBackend.C (expandToc): gettext on float names.
4243 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4245 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4246 implement bool empty() [bug 490]
4248 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4252 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4254 * several files: ws changes
4256 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4258 * text2.C (setCounter): clean up a bit, use boost.format.
4259 (updateCounters): initialize par upon declaration.
4261 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4262 if the layout exists. We do not just store the layout any more.
4263 (SwitchLayoutsBetweenClasses): use boost.format
4265 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4267 * converter.C (convert): if from and to files are the same, use a
4268 temporary files as intermediary
4270 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4273 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4275 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4277 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4279 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * tabular.C (asciiPrintCell): use string(size, char) instead of
4284 * sgml.C (openTag): fix order of arguments to string constructor
4287 * lyxfunc.C (dispatch): use boost.format
4289 * lots of files: change "c" -> 'c'
4291 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4293 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4295 2002-11-25 Angus Leeming <leeming@lyx.org>
4297 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4299 * lyx_main.C (init): compile fix.
4301 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4303 * lyx_cb.C (start): boost.formatify
4304 do not include <iostream>
4306 * lengthcommon.C: ws only
4308 * boost-inst.C,BoostFormat.h: add more explict instantations
4310 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4312 * lots of files: handle USE_BOOST_FORMAT
4314 2002-11-21 John Levon <levon@movementarian.org>
4316 * pspell.C: fix compile
4318 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4320 * lyxfunc.C (dispatch): use boost::format
4324 * lyxfont.C (stateText): use boost::format
4326 * lyx_main.C (LyX): use boost::format
4328 (queryUserLyXDir): ditto
4331 (typedef boost::function): use the recommened syntax.
4333 * importer.C (Import): use boost::format
4335 * debug.C (showLevel): use boost::format
4337 * converter.C (view): use boost::format
4342 * bufferview_funcs.C (currentState): use boost::format
4344 * bufferlist.C (emergencyWrite): use boost::format
4346 * buffer.C (readLyXformat2): use boost::format
4347 (parseSingleLyXformat2Token): ditto
4349 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4351 * LaTeX.C (run): use boost::format
4353 * Chktex.C (scanLogFile): use boost::format
4355 * BufferView_pimpl.C (savePosition): use boost::format
4356 (restorePosition): ditto
4357 (MenuInsertLyXFile): ditto
4359 * BoostFormat.h: help file for explicit instation.
4361 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4363 * tabular.C (latex): Support for block alignment in fixed width
4366 2002-11-17 John Levon <levon@movementarian.org>
4368 * BufferView_pimpl.C:
4370 * lyxfunc.C: split filedialog into open/save
4372 2002-11-08 Juergen Vigna <jug@sad.it>
4374 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4375 by my last patch (hopefully).
4377 2002-11-08 John Levon <levon@movementarian.org>
4386 * toc.C: ParConstIterator, and use it (from Lars)
4388 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4390 * lyxtextclass.[Ch]: revise and add doxygen comments
4392 2002-11-07 John Levon <levon@movementarian.org>
4394 * text.C: fix progress value for spellchecker
4396 * toc.C: fix navigate menu for insetwrap inside minipage
4398 * paragraph_funcs.C: added FIXME for suspect code
4400 2002-11-07 John Levon <levon@movementarian.org>
4402 * BufferView_pimpl.C: fix redrawing of insets
4405 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4407 * text2.C (updateCounters): fix bug 668
4409 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4411 * text3.C (dispatch): Do not make the buffer dirty when moving the
4414 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4416 * vc-backend.C: STRCONV
4419 * text2.C (setCounter): STRCONV
4421 * paragraph.C (asString): STRCONV
4423 * lyxlength.C (asString): STRCONV
4424 (asLatexString): ditto
4426 * lyxgluelength.C (asString): STRCONV
4427 (asLatexString): ditto
4429 * lyxfunc.C (dispatch): STRCONV
4432 * lyxfont.C (stateText): STRCONV
4434 * importer.C (Import): STRCONV
4436 * counters.C (labelItem): STRCONV
4437 (numberLabel): ditto
4438 (numberLabel): remove unused ostringstream o
4443 * bufferview_funcs.C (currentState): STRCONV
4445 * buffer.C (readFile): STRCONV
4446 (asciiParagraph): ditto
4447 (makeLaTeXFile): ditto
4449 * Spacing.C (writeEnvirBegin): STRCONV
4451 * LaTeXFeatures.C (getLanguages): STRCONV
4452 (getPackages): ditto
4454 (getBabelOptions): ditto
4455 (getTClassPreamble): ditto
4456 (getLyXSGMLEntities): ditto
4457 (getIncludedFiles): ditto
4461 (scanAuxFile): ditto
4464 * LString.h: add the STRCONV macros
4466 * BufferView_pimpl.C (savePosition): STRCONV
4467 (restorePosition): ditto
4468 (MenuInsertLyXFile): ditto
4470 * vc-backend.C (scanMaster): change from submatch[...] to
4473 * funcrequest.C: include config.h
4475 * factory.C: include config.h
4477 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4479 * box.C: include config.h
4481 * LaTeX.C (scanAuxFile): change from submatch[...] to
4485 2002-10-25 Angus Leeming <leeming@lyx.org>
4487 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4489 * ispell.[Ch] (setError): new method.
4490 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4491 Use setError() insetead of goto END.
4493 * lyx_cb.C (AutoSave): move out child process into new class
4496 2002-10-30 John Levon <levon@movementarian.org>
4498 * text3.C: make start appendix undoable
4500 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4502 * lyxlength.C (inPixels): Fix returned value.
4504 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4507 2002-10-24 Angus Leeming <leeming@lyx.org>
4509 * lyxgluelength.h: no need to forward declare BufferParams
4510 or BufferView, so don't.
4512 2002-10-21 John Levon <levon@movementarian.org>
4514 * BufferView.C: menuUndo ->undo, redo
4516 * BufferView.h: document, remove dead, make some methods private
4518 * paragraph_funcs.h:
4519 * paragraph_funcs.C:
4520 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4525 * sgml.C: move sgml open/close tag into sgml.C
4527 * bufferview_funcs.h: unused prototype
4530 * lyxfunc.C: remove unused
4533 * text.C: remove unused
4535 2002-10-21 John Levon <levon@movementarian.org>
4539 * BufferView_pimpl.h:
4540 * BufferView_pimpl.C: fix mouse wheel handling based on
4541 patch from Darren Freeman
4543 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4545 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4547 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4549 * lyxlength.C (inPixels): Fix hanfling of negative length.
4550 Fix LyXLength::MU case.
4552 2002-10-16 John Levon <levon@movementarian.org>
4554 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4556 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4558 * converter.C (view): add support for $$i (file name) and $$p
4559 (file path) for the viewer command. If $$i is not specified, then
4560 it is appended to the command (for compatibility with old syntax)
4562 2002-10-14 Juergen Vigna <jug@sad.it>
4564 * undo_funcs.C (textHandleUndo): alter the order in which the
4565 new undopar is added to the LyXText, as we have to set first
4566 the right prev/next and then add it as otherwise the rebuild of
4567 LyXText is not correct. Also reset the cursor to the right paragraph,
4568 with this IMO we could remove the hack in "redoParagraphs()".
4570 2002-10-09 Angus Leeming <leeming@lyx.org>
4572 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4573 to turn off an optimisation if a new inset is to be inserted.
4575 2002-10-11 André Pönitz <poenitz@gmx.net>
4577 * lyxtext.h: make some functions public to allow access
4578 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4580 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4582 * text3.C (dispatch): when changing layout, avoid an infinite loop
4585 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4587 * lyxrc.C (read): treat a viewer or converter command of "none" as
4590 * MenuBackend.C (expandFormats): for an update, also allow the
4591 formats that are not viewable
4593 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4594 script if it is newer than the lyxrc.defaults in user directory
4596 2002-10-07 André Pönitz <poenitz@gmx.net>
4598 * text.C: Vitaly Lipatov's small i18n fix
4600 2002-09-25 Angus Leeming <leeming@lyx.org>
4602 * ispell.h: doxygen fix.
4604 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4606 * buffer.h (readFile): Add a new argument to the method, to allow
4607 reading of old-format templates.
4609 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4611 * toc.C (getTocList): Get TOC from InsetWrap.
4613 2002-09-16 John Levon <levon@movementarian.org>
4615 * lyxfunc.C: check tabular for cut/copy too
4617 2002-09-12 John Levon <levon@movementarian.org>
4622 * factory.C: add header
4624 * paragraph_funcs.h:
4625 * paragraph_funcs.C: cleanup
4627 2002-09-11 John Levon <levon@movementarian.org>
4629 * PrinterParams.h: odd/even default to true
4631 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4633 * PrinterParams.h: update printer parameters for new xforms dialog
4635 2002-09-11 Angus Leeming <leeming@lyx.org>
4637 * lyxserver.C (read_ready): re-write to make it more transparent
4638 and to make it work in coherent fashion under Tru64 Unix.
4640 2002-09-11 André Pönitz <poenitz@gmx.net>
4644 * text3.C: implement LFUN_WORDSEL
4646 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4648 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4649 make floatlist_ a boost::shared_ptr<FloatList>
4651 * lyxtextclass.C: include FloatList.h
4652 (LyXTextClass): initialize floatlist_
4653 (TextClassTags): add TC_NOFLOAT
4654 (Read): match "nofloat" to TC_NOFLOAT and use it.
4655 (readFloat): modify call to floatlist_
4659 * FloatList.[Ch] (FloatList): remove commented out float
4661 (erase): new function
4663 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4665 * MenuBackend.C (expandToc): fix crash when there is no document
4668 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4670 * many files: Add insetwrap.
4672 2002-09-09 John Levon <levon@movementarian.org>
4674 * text2.C: remove confusing and awkward depth wraparound
4676 2002-09-09 John Levon <levon@movementarian.org>
4678 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4681 * buffer.C: remove getIncludeonlyList()
4684 * lyxfunc.C: remove headers
4686 2002-09-09 Juergen Vigna <jug@sad.it>
4688 * text.C (getColumnNearX): fix form Michael this is most
4689 probably a cut&paste bug.
4691 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4693 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4695 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4696 references, ws changes.
4698 * text2.C (init): update counters after init
4699 (insertParagraph): no need to set counter on idividual paragraphs.
4700 (setCounter): access the counters object in the textclass object
4701 on in the buffer object.
4702 (updateCounters): ditto
4704 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4705 shared_ptr<Counters> to avoid loading counters.h in all
4707 (LyXTextClass): initialize ctrs_
4708 (TextClassTags): add TC_COUNTER, and ...
4709 (Read): use it here.
4710 (CounterTags): new tags
4711 (readCounter): new function
4712 (counters): new funtion
4713 (defaultLayoutName): return a const reference
4715 * counters.C (Counters): remove contructor
4716 (newCounter): remove a couple of unneeded statements.
4717 (newCounter): simplify a bit.
4718 (numberLabel): some small formatting changes.
4720 * buffer.[Ch]: remove all traces of counters, move the Counters
4721 object to the LyXTextClass.
4723 2002-09-06 Alain Castera <castera@in2p3.fr>
4725 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4726 package to set the horizontal alignment on fixed width columns.
4729 * lyx_sty.h: added tabularnewline macro def.
4731 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4733 2002-09-06 John Levon <levon@movementarian.org>
4735 * LyXAction.C: tooltips for sub/superscript
4737 * MenuBackend.C: a bit more verbose
4739 * lyxfunc.C: tiny clean
4741 * undo_funcs.C: document undo_frozen
4743 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4745 * counters.C (Counters): add missing algorithm counter.
4747 * text2.C (setCounter): lookup the counter with layouts latexname
4748 instead of by section number.
4749 (setCounter): use a hackish way to lookup the correct enum
4751 a float name->type change
4752 reset enum couners with counter name directly instead of depth value.
4754 * counters.C (Counters): remove the push_backs, change to use the
4755 float type not the float name.
4756 (labelItem): remove unused string, float name->type change
4758 * counters.h: don't include vector, loose the enums and sects vectors
4760 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4762 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4763 (Read): add float->TC_FLOAT to textclassTags
4764 (Read): and handle it in the switch
4765 (readFloat): new function
4767 * FloatList.C (FloatList): comment out the hardcoded float
4770 * lyxlayout.h: ws change.
4772 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4774 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4776 2002-09-03 Angus Leeming <leeming@lyx.org>
4778 * BufferView_pimpl.h: qualified name is not allowed in member
4779 declaration: WorkArea & Pimpl::workarea() const;
4781 * factory.C: added using std::endl directive.
4783 * text3.C: added using std::find and std::vector directives.
4785 2002-08-29 André Pönitz <poenitz@gmx.net>
4788 * text2.C: remove unused member number_of_rows
4791 * BufferView2.C: remove file, move contents to...
4792 * BufferView.C: ... here
4794 * BufferView_pimpl.C:
4795 * factory.C: move more inset creation to factory
4797 * vspace.C: avoid direct usage of LyXText, ws changes
4800 don't provide direct access to WorkArea, use two simple
4801 acessors haveSelction() and workHeight() instead
4804 2002-08-29 John Levon <levon@movementarian.org>
4806 * BufferView_pimpl.C (dispatch): do not continue when
4809 2002-08-28 André Pönitz <poenitz@gmx.net>
4811 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4814 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4816 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4818 * buffer.C: increment LYX_FORMAT to 221
4820 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4821 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4823 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4825 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4827 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4829 * factory.C (createInset): use LyXTextClass::floats
4831 * MenuBackend.C (expandFloatListInsert):
4832 (expandFloatInsert):
4835 * text2.C (setCounter):
4837 * LaTeXFeatures.C (useFloat):
4838 (getFloatDefinitions):
4840 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4842 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4843 floatlist_, with accessor floats().
4845 * FloatList.h: remove global FloatList
4847 2002-08-26 André Pönitz <poenitz@gmx.net>
4849 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4853 * BufferView_pimpl.C:
4854 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4856 2002-08-25 John Levon <levon@movementarian.org>
4858 * LyXAction.C: fix margin note description
4860 2002-08-24 John Levon <levon@movementarian.org>
4864 * bufferview_funcs.C:
4866 * undo_funcs.C: cleanups
4868 * lyxfunc.C: disable CUT/COPY when no selection
4870 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4872 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4873 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4875 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4876 Add backward compatibility to "mono", "gray" and "no".
4878 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4880 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4881 (and file_format >= 200).
4883 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4885 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4887 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4889 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4891 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4893 * BufferView_pimpl.C:
4900 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4901 inset and code to make it work with the paragraph code. The inset
4902 can be anywhere in the paragraph, but will only do the expected
4903 thing in LaTeX if the layout file contains the parameter line
4905 (or more generally, a nonzero value) for that layout.
4907 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4909 * paragraph.h: remove the declaration of undefined counters class
4912 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4914 * text2.C (setCounter): fixed enumeration mis-count as reported by
4915 Dr. Richard Hawkins.
4917 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4919 * paragraph_funcs.h: remove some unneeded includes
4921 * text.C (backspace): pasteParagraph now in global scipe
4923 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4924 (pasteSelection): ditto
4926 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4927 * paragraph_funcs.C (pasteParagraph): ... here
4929 2002-08-20 André Pönitz <poenitz@gmx.net>
4931 * commandtags.h: new LFUNs for swapping/copying table row/colums
4934 * lyxfunc.C: support for new lfuns
4936 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4939 * buffer.[Ch]: remove NO_COMPABILITY stuff
4941 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * boost.C (throw_exception): new file, with helper function for
4944 boost compiled without exceptions.
4949 * ParameterStruct.h:
4950 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4952 * bufferlist.C (emergencyWriteAll): use boost bind
4954 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4956 * text.C: include paragraph_funcs.h
4957 (breakParagraph): breakParagraph is now in global scope
4959 * paragraph_funcs.[Ch]: new files
4961 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4964 * buffer.C: include paragraph_funcs.h
4965 (insertStringAsLines): breakParagraph is now in global scope
4967 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4970 * CutAndPaste.C: include paragraph_funcs.h
4971 (cutSelection): breakParagraphConservative is now in global scope
4972 (pasteSelection): ditto
4974 * buffer.h: declare oprator== and operator!= for
4975 Buffer::inset_iterator
4977 * bufferlist.C (emergencyWrite): don't use fmt(...)
4979 * text3.C: add using std::endl
4981 * BufferView.C (moveCursorUpdate): remove default arg
4983 2002-08-20 André Pönitz <poenitz@gmx.net>
4985 * buffer.[Ch]: move inline functions to .C
4988 * BufferView_pimpl.C:
4990 * buffer.[Ch]: use improved inset_iterator
4993 * paragraph.[Ch]: write one paragraph at a time
4995 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4997 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4998 style if style is not specified.
5000 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5002 * text2.C (setCounter): when searching for right label for a
5003 caption, make sure to recurse to parent insets (so that a caption
5004 in a minipage in a figure float works) (bug #568)
5006 2002-08-20 André Pönitz <poenitz@gmx.net>
5008 * text3.C: new file for LyXText::dispatch() and helpers
5010 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5012 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5014 2002-08-19 André Pönitz <poenitz@gmx.net>
5017 * text.C: new LyXText::dispatch()
5019 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5021 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5023 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5025 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5028 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5030 * Makefile.am: use $(variables) instead of @substitutions@
5032 2002-08-15 André Pönitz <poenitz@gmx.net>
5035 * BufferView_pimpl.C: streamlining mathed <-> outer world
5039 * LyXAction.C: remove unused LFUN_MATH
5041 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5043 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5045 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * paragraph.C (Paragraph): reformat a bit
5048 (cutIntoMinibuffer): use builtin InsetList function instad of
5052 * buffer.C: include boost/bind.hpp, add using std::for_each
5053 (writeFileAscii): use ParagraphList iterators
5054 (validate): use for_each for validate traversal of paragraphs
5055 (getBibkeyList): use ParagraphList iterators
5056 (resizeInsets): use for_each to resizeInsetsLyXText for all
5058 (getParFromID): use ParagraphList iterators
5060 * BufferView2.C (lockInset): use paragraph list and iterators
5062 2002-08-14 John Levon <levon@movementarian.org>
5064 * lyxserver.C: remove spurious xforms include
5066 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5070 2002-08-13 André Pönitz <poenitz@gmx.net>
5073 * lyxfunc.C: further cleaning
5075 2002-08-13 André Pönitz <poenitz@gmx.net>
5077 * funcrequest.h: new constructor
5079 * funcrequest.C: move stuff here from .h
5082 * BufferView_pimpl.C:
5085 * lyxfunc.C: subsequent changes
5087 * lyxfunc.h: new view() member function
5089 * lyxfunc.C: subsequent changes
5091 2002-08-13 Angus Leeming <leeming@lyx.org>
5094 * BufferView_pimpl.C:
5102 changes due to the changed LyXView interface that now returns references
5103 to member variables not pointers.
5105 2002-08-13 Angus Leeming <leeming@lyx.org>
5107 * WordLangTuple (word, lang_code): return references to strings,
5112 * lyxtext.h: forward-declare WordLangTuple.
5117 * text.C: #include "WordLangTuple.h".
5120 * text.C: (selectNextWordToSpellcheck): constify return type.
5122 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5128 * paragraph_pimpl.h:
5131 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5133 Made updateCounter always count from start of buffer, and removed
5134 second argument (par).
5135 Reverted floats number display to '#'. Perhaps I'll try again when the
5136 code base is sanitized a bit.
5138 2002-08-12 Angus Leeming <leeming@lyx.org>
5140 * buffer.[Ch] (getLabelList): constify.
5142 2002-08-07 André Pönitz <poenitz@gmx.net>
5144 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5146 * funcrequest.h: extension to keep mouse (x,y) position
5148 2002-08-12 Juergen Vigna <jug@sad.it>
5150 * BufferView2.C (insertErrors): forbid undo when inserting error
5153 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5155 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5157 * ParagraphList.[Ch]: new files
5159 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5161 * BufferView2.C (lockInset): ParagraphList changes
5164 * bufferlist.C: ditto
5168 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5170 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5171 unused class variable counter_,
5173 * paragraph.[Ch] (getFirstCounter): delete unused function
5175 * counters.C: include LAssert.h
5176 (reset): add a new function with no arg, change other version to
5177 not have def. arg and to not allow empty arg.
5179 * text2.C (setCounter): remove empty arg from call to Counters::reset
5181 2002-08-11 John Levon <levon@movementarian.org>
5183 * Makefile.am: add WordLangTuple.h
5185 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5188 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5190 * insets/insettext.C: InsetList changes
5192 * graphics/GraphicsSupport.C (operator()): InsetList changes
5194 * toc.C (getTocList): InsetList changes
5196 * paragraph_pimpl.[Ch]: InsetList changes
5198 * paragraph.[Ch]: InsetList changes
5200 * buffer.C (inset_iterator): InsetList changes
5201 (setParagraph): ditto
5202 * buffer.h (inset_iterator): ditto
5203 * iterators.C (operator++): ditto
5204 * iterators.h: ditto
5206 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5208 * InsetList.[Ch]: new files, most InsetList handling moved out of
5211 * BufferView2.C (removeAutoInsets): InsetList changes
5213 (ChangeInsets): ditto
5215 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * paragraph_pimpl.h (empty): new function
5219 * paragraph.[Ch] (empty): new function
5221 * other files: use the new Paragraph::empty function
5223 2002-08-09 John Levon <levon@movementarian.org>
5225 * lyxtext.h: remove unused refresh_height
5227 2002-08-09 John Levon <levon@movementarian.org>
5234 * paragraph.C: move sgml char escaping out of paragraph
5237 * paragraph.C: remove id setter
5241 * paragraph_pimpl.C: remove dead tex_code_break_column
5243 * bufferview_funcs.C: small cleanup
5245 * lyxfunc.C: remove dead proto
5247 * lyxtext.h: make some stuff private. Remove some dead stuff.
5249 * lyxgluelength.C: make as[LyX]String() readable
5251 2002-08-08 John Levon <levon@movementarian.org>
5256 * ToolbarDefaults.C:
5259 * toc.C: lyxaction cleanup
5261 2002-08-08 John Levon <levon@movementarian.org>
5263 * BufferView2.C: small cleanup
5266 * lyxfind.C: move unnecessary header into the .C
5268 2002-08-08 John Levon <levon@movementarian.org>
5270 * funcrequest.h: just tedious nonsense
5273 * lyx_main.C: cleanups
5276 * vspace.C: remove dead header lyx_main.h
5278 2002-08-07 Angus Leeming <leeming@lyx.org>
5281 * paragraph_pimpl.h:
5282 Forward declare class Counters in paragraph.h by moving the ctrs member
5283 variable into Paragraph::Pimpl.
5284 (counters): new method, returning a reference to pimpl_->ctrs.
5286 * text2.C: ensuing changes.
5288 2002-08-07 John Levon <levon@movementarian.org>
5290 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5292 * BufferView_pimpl.C: announce X selection on double/triple
5295 * lyx_main.C: use correct bool in batch dispatch
5297 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5299 2002-08-07 André Pönitz <poenitz@gmx.net>
5301 * funcrequest.h: new class to wrap a kb_action and its argument
5304 * BufferView_pimpl[Ch]:
5308 * lyxrc.C: subsequent changes
5311 2002-08-07 John Levon <levon@movementarian.org>
5313 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5314 document options change.
5316 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5321 * makefile.am: move counters functionality over from
5322 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5324 2002-08-06 John Levon <levon@movementarian.org>
5326 * WordLangTuple.h: new file for word + language code tuple
5337 * BufferView2.C: use WordLangTuple
5340 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5342 2002-08-06 John Levon <levon@movementarian.org>
5344 * lyx_main.C: fix cmdline batch handling
5346 2002-08-06 André Pönitz <poenitz@gmx.net>
5348 * lyxrc.C: set default for show_banner to true
5350 2002-08-06 John Levon <levon@movementarian.org>
5352 * pspell.C: fix a crash, and allow new aspell to work
5354 2002-08-06 John Levon <levon@movementarian.org>
5357 * kbmap.C: small cleanup
5360 * vspace.C: add const
5362 2002-08-05 John Levon <levon@movementarian.org>
5364 * LyXAction.C: back to tabular-insert
5366 2002-08-04 John Levon <levon@movementarian.org>
5369 * BufferView.C: cosmetic change
5371 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5381 * BufferView2.C: purge all "Lyx" not "LyX" strings
5384 * lyxcursor.C: attempt to add some documentation
5389 * ToolbarDefaults.C:
5390 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5391 merge with LFUN_TABULAR_INSERT
5398 * pspell.C: split up i/pspell implementations into separate
5399 files, many cleanups
5401 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5403 * text2.C: some cleanup
5405 * lyxfunc.C: don't check for isp_command == "none" any more, it
5406 didn't make any sense
5408 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5413 * makefile.am: move counters functionality over
5414 from text2.C/paragraph.[Ch] to counters.[Ch], and
5416 2002-08-02 John Levon <levon@movementarian.org>
5418 * buffer.C: s/lyxconvert/lyx2lyx/
5420 2002-08-02 Angus Leeming <leeming@lyx.org>
5422 * lyxlex.C: revert John's change as it breaks reading of the user
5425 2002-08-02 Angus Leeming <leeming@lyx.org>
5427 * importer.C (Import):
5428 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5429 changes due to LyXView::view() now returning a boost::shared_ptr.
5431 2002-08-02 John Levon <levon@movementarian.org>
5433 * lyxlex.C: small cleanup
5435 2002-08-02 John Levon <levon@movementarian.org>
5437 * text2.C (status): small cleanup, no logic change
5439 2002-08-01 John Levon <levon@movementarian.org>
5442 * buffer.C (writeFile): don't output alerts, caller
5446 * lyx_cb.C: from above
5448 * lyxfunc.C: allow to open non-existent files
5450 2002-07-31 John Levon <levon@movementarian.org>
5452 * lyxserver.C: don't let incidental errors get
5455 2002-07-30 John Levon <levon@movementarian.org>
5457 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5459 2002-07-30 John Levon <levon@movementarian.org>
5462 * lyxserver.C: remove I/O callback too
5464 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5466 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5469 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5471 * many files: strip,frontStrip -> trim,ltrim,rtrim
5473 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * PrinterParams.h: remove extern containsOnly, and include
5476 support/lstrings.h instead.
5478 * LaTeX.C (scanAuxFile): modify because of strip changes
5480 * buffer.C (makeLaTeXFile): ditto
5481 * bufferparams.C (writeFile): ditt
5482 * lyxfont.C (stateText): ditto
5483 * lyxserver.C (read_ready): ditto
5484 * vc-backend.C (scanMaster): ditto
5486 * BufferView_pimpl.h: ws changes
5488 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5490 2002-07-26 André Pönitz <poenitz@gmx.net>
5492 * kb_sequence.C: remove unnedred usings
5494 2002-07-26 Juergen Vigna <jug@sad.it>
5496 * lyxfind.C (LyXReplace): we have to check better if the returned
5497 text is not of theLockingInset()->getLockingInset().
5499 2002-07-25 Juergen Vigna <jug@sad.it>
5501 * lyxfind.C (LyXReplace): don't replace if we don't get the
5504 * undo_funcs.C (createUndo): remove debugging code.
5506 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5508 * buffer.C (parseSingleLyXformat2Token): Use default placement
5509 when reading old floats.
5511 * FloatList.C (FloatList): Change the default placement of figure
5512 and tables to "tbp".
5514 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5516 * MenuBackend.C: using std::max
5518 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5520 * MenuBackend.C (expandToc):
5521 (expandToc2): code moved from xforms menu frontend. It is now
5522 generic and TOCs are transparent to menu frontends.
5524 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5526 * toc.C (getTocList): protect against buf=0
5528 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5529 Menu as first parameter. Now, this calls itself recursively to
5530 expand a whole tree (this will be useful for TOC handling)
5531 (expandFloatInsert): remove 'wide' version of floats
5533 * MenuBackend.h (submenuname): returns the name of the submenu.
5534 (submenu): returns the submenu itself, provided it has been
5535 created by MenuBackend::expand
5537 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5539 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5540 insets which have noFontChange == true. (bug #172)
5542 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5544 * BufferView_pimpl.C: add connection objects and use them...
5547 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5549 * MenuBackend.C (expandLastfiles):
5552 (expandFloatListInsert):
5553 (expandFloatInsert):
5554 (expand): split expand in parts
5556 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5558 * lyx_gui.C: use lyx_gui::exit()
5560 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5562 * LyXAction.C: show the failing pseudo action
5564 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5566 * buffer.C (readFile): Run the lyxconvert script in order to read
5569 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5573 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5575 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5579 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5581 2002-07-22 Herbert Voss <voss@lyx.org>
5584 * lyxlength.[Ch]: add support for the vertical lengths
5586 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5588 * toc.[Ch]: std:: fixes
5590 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5592 * lyxrc.C: do not include lyx_main.h
5594 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5600 * BufferView2.C: include "lyxlex.h"
5603 * bufferparams.h: do not #include "lyxlex.h"
5605 * lyxtextclasslist.C (Add): remove method
5606 (classlist): renamed to classlist_
5608 * paragraph_pimpl.C:
5612 * bufferview_funcs.C:
5617 * toc.C (getTocList): use BufferParams::getLyXTextClass
5619 * toc.C (getTocList): use InsetFloat::addToToc
5621 * toc.[Ch]: new files, containing helper functions to handle table
5624 * lyxfunc.C (dispatch): no need to remove spaces around command
5626 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5627 first command of the sequence; it is not very clever, but I do not
5628 have a better idea, actually
5630 * LyXAction.C (LookupFunc): make sure to remove space at the
5631 beginning and end of the command
5633 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5635 * MenuBackend.C (getMenubar): new method: return the menubar of
5637 (read): treat differently reading of menu and menubar (in
5638 particular, the menubar has no name now)
5639 (Menu::menubar): remove
5641 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5644 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5646 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5647 a bibitem inset in a RTL paragraph.
5649 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5651 * paragraph_pimpl.C: constify
5653 * BufferView_pimpl.C:
5655 * lyxfunc.C: fix dispatch in a nicer way
5657 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5659 * lyxfunc.C (dispatch):
5660 * BufferView_pimpl.C:
5661 * BufferView_pimpl.h:
5663 * BufferView.h: rename Dispatch() to dispatch()
5665 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5667 * lyxlayout.C (Read): honor DependsOn tag
5669 * lyxlayout.[Ch] (depends_on): new method
5671 * version.C.in: update lyx_docversion
5673 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5675 * paragraph.C (validate): remove from here...
5676 * paragraph_pimpl.C (validate): ... and move here
5677 (isTextAt): make it const
5679 * buffer.C (getLists): ws cleanup
5681 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5683 * language.C (read): Use iso8859-1 encoding in latex_lang
5684 (this prevents LyX from crashing when using iso10646-1 encoding).
5686 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5688 * text2.C (toggleInset): if cursor is inside an inset, close the
5689 inset and leave cursor _after_ it
5691 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5693 * lyxfunc.C: move minibuffer completion handling out of here
5695 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5697 * BufferView_pimpl.C:
5698 * LaTeX.C: fix dispatch calls
5700 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5702 * text.C (drawChars): Fix Arabic text rendering.
5704 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5708 * lyxfunc.C: remove message-push/pop
5712 * lyxfunc.C: rationalise some code by removing verboseDispatch
5713 in favour of a bool argument to dispatch()
5715 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5717 * lyx_main.C (init): make sure to read symlinks as absolute paths
5719 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5722 * lyxfunc.C: no need for commandshortcut to be a member
5724 2002-07-15 André Pönitz <poenitz@gmx.net>
5726 * converter.C: add support for $$s (scripts from lib/scripts dir)
5727 * lyx_main.C: white space
5729 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5733 * lyxrc.C: remove second exit confirmation
5735 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5740 * BufferView_pimpl.h:
5741 * BufferView_pimpl.C:
5742 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5744 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5746 * MenuBackend.C (expand): add numeric shortcuts to document menu
5748 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5750 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5752 * lyxfont.C (setLyXFamily):
5759 * buffer.C (asciiParagraph): use ascii_lowercase
5761 2002-07-15 Mike Fabian <mfabian@suse.de>
5763 * lyxlex_pimpl.C (search_kw):
5764 * lyxlex.C (getLongString):
5765 * converter.h (operator<):
5766 * converter.C (operator<):
5767 * buffer.C (parseSingleLyXformat2Token):
5769 * ToolbarDefaults.C (read):
5770 * MenuBackend.C (checkShortcuts):
5772 * LColor.C (getFromGUIName):
5773 (getFromLyXName): use the compare_ascii_no_case instead of
5774 compare_no_case, because in turkish, 'i' is not the lowercase
5775 version of 'I', and thus turkish locale breaks parsing of tags.
5777 2002-07-16 Angus Leeming <leeming@lyx.org>
5779 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5780 now takes a Buffer const & argument.
5782 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5784 * BufferView.C (resize): check there's a buffer to resize
5786 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5788 * lyxfunc.C: remove dead code
5791 * lyxserver.C: use lyx_guii::set_read_callback
5793 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5795 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5796 an inset in a RTL paragraph.
5798 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5800 * lyxfunc.C: repaint after a font size update
5802 2002-07-15 André Pönitz <poenitz@gmx.net>
5804 * lyxlength.C: inBP should be able to return negative values
5806 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5808 * lyxfunc.C: use lyx_gui::update_fonts()
5810 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5812 * lyxfunc.C: use lyx_gui::update_color()
5814 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5820 * lyxrc.C: remove file->new asks for name option, and let
5821 buffer-new take an argument
5823 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5825 * BufferView_pimpl.C: remove unneeded extra repaint()
5827 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5829 * LyXAction.C: allow command-sequence with NoBuffer
5831 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5833 2002-07-10 Angus Leeming <leeming@lyx.org>
5835 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5837 2002-07-09 Angus Leeming <leeming@lyx.org>
5839 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5841 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5843 * lengthcommon.h: whitespace
5845 * lyxfunc.C: update scrollbar after goto paragraph
5847 * lyxtext.h: factor out page break drawing, and fix it so
5848 page break/added space paints as selected nicely
5850 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5852 * BufferView_pimpl.C: add FIXMEs, clean up a little
5854 2002-07-09 André Pönitz <poenitz@gmx.net>
5856 * lyxfont.[Ch]: support for wasy symbols
5858 2002-07-08 André Pönitz <poenitz@gmx.net>
5860 * BufferView_pimpl.C: apply John's patch for #93.
5862 2002-07-05 Angus Leeming <leeming@lyx.org>
5864 * BufferView_pimpl.C (buffer): generate previews if desired.
5866 * LColor.h: add "preview" to the color enum.
5868 * LColor.C (LColor): add a corresponding entry to the items array.
5870 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5873 2002-07-05 Angus Leeming <leeming@lyx.org>
5875 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5876 The body of the code is now in the method that is passed an ostream &
5877 rather than a file name.
5878 Pass an additional only_preamble parameter, useful for the forthcoming
5881 2002-07-03 André Pönitz <poenitz@gmx.net>
5883 * lyxfunc.C: simplify getStatus() a bit for math stuff
5885 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5887 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5889 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5891 * text.C (changeRegionCase): do not change case of all the
5892 document when region ends at paragraph end (bug #461)
5894 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5896 * paragraph.C (startTeXParParams):
5897 (endTeXParParams): add \protect when necessary
5899 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5901 * BufferView_pimpl.C (workAreaExpose): remove warning
5903 2002-06-27 Angus Leeming <leeming@lyx.org>
5905 * Makefile.am: add lyxlayout_ptr_fwd.h.
5907 2002-06-26 André Pönitz <poenitz@gmx.net>
5909 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5911 2002-06-25 Angus Leeming <leeming@lyx.org>
5913 * lyxfunc.C (dispatch): Comment out the call to
5914 grfx::GCache::changeDisplay. The method no longer exists now that the
5915 pixmap generation part of the graphics loader has been moved into
5918 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5920 * text2.C: layout as layout
5922 * text.C: layout as layout
5924 * tabular.C (OldFormatRead): layout as layout
5926 * paragraph_pimpl.C (TeXDeeper): layout as layout
5927 (realizeFont): layout as layout
5929 * paragraph.C (writeFile): layout as layout
5930 (validate): layout as layout
5931 (getFont): layout as layout
5932 (getLabelFont): layout as layout
5933 (getLayoutFont): layout as layout
5934 (breakParagraph): layout as layout
5935 (stripLeadingSpaces): layout as layout
5936 (getEndLabel): layout as layout
5937 (getMaxDepthAfter): layout as layout
5938 (applyLayout): layout as layout
5939 (TeXOnePar): layout as layout
5940 (simpleTeXOnePar): layout as layout
5941 (TeXEnvironment): layout as layout
5942 (layout): layout as layout
5943 (layout): layout as layout
5945 * lyxtextclass.C (compare_name): new functor to work with
5946 shared_ptr, layout as layout
5947 (Read): layout as layout
5948 (hasLayout): layout as layout
5949 (operator): layout as layout
5950 (delete_layout): layout as layout
5951 (defaultLayout): layout as layout
5953 * lyxlayout_ptr_fwd.h: new file
5955 * lyxlayout.C (Read): layout as layout
5957 * lyx_cb.C (MenuInsertLabel): layout as layout
5959 * bufferlist.C (newFile): layout as layout
5961 * buffer.C (readLyXformat2): layout as layout
5962 (parseSingleLyXformat2Token): layout as layout
5963 (insertStringAsLines): layout as layout
5964 (asciiParagraph): layout as layout
5965 (latexParagraphs): layout as layout
5966 (makeLinuxDocFile): layout as layout
5967 (simpleLinuxDocOnePar): layout as layout
5968 (makeDocBookFile): layout as layout
5969 (simpleDocBookOnePar): layout as layout
5970 (getLists): layout as layout
5972 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5974 * CutAndPaste.C (cutSelection): layout as layout
5975 (pasteSelection): layout as layout
5976 (SwitchLayoutsBetweenClasses): layout as layout
5978 * BufferView_pimpl.C (Dispatch): layout as layout
5979 (smartQuote): layout as layout
5981 * BufferView2.C (unlockInset): layout as layout
5983 2002-06-24 André Pönitz <poenitz@gmx.net>
5985 * lyxfunc.C: fix #487
5987 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5991 * lyxfunc.C: remove display_shortcuts, show_banner
5993 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5995 * Buffer_pimpl.C: oops, update on resize
5997 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6004 * BufferView.C: use repaint()
6006 * BufferView_pimpl.h:
6007 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6008 as it's a clearer description. Remove superfluous
6011 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6013 * text.C: fix bug 488. Not ideal, but getting
6014 getWord() to work properly for the insets that
6015 matter is more difficult ...
6017 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6019 * BufferView_pimpl.C:
6022 * lyxfunc.C: remove the six million index lyxfuncs to just
6023 one, and DTRT (bug 458)
6025 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6029 * BufferView_pimpl.h:
6030 * BufferView_pimpl.C: clean up resize() stuff,
6031 and unnecessary updateScreen()s
6033 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6037 * BufferView_pimpl.h:
6038 * BufferView_pimpl.C:
6041 * minibuffer.C: remove focus management of workarea,
6042 not needed. Use screen's greyOut()
6044 2002-06-17 Herbert Voss <voss@lyx.org>
6046 * converter.C: (convert) do not post a message, when converting
6047 fails, let the calling function decide what to do in this case
6049 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6051 * lyxfunc.C: tidy up a little
6053 2002-06-16 <alstrup@diku.dk>
6055 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6056 Got rid of FORMS_H_LOCATION include. Now we are
6059 2002-06-15 LyX Development team <lyx@rilke>
6061 * buffer.[Ch] (sgmlOpenTag):
6062 (sgmlCloseTag): Added support for avoiding pernicious mixed
6063 content. Return number of lines written.
6066 (makeDocBookFile): Fixed calls to sgml*Tag.
6067 Simple white space clean.
6069 (simpleDocBookOnePar): Simple white space clean.
6071 * tabular.[Ch] (docBook): Renamed to docbook and got another
6072 argument to related with the pernicious mixed content.
6074 (docbookRow): Fixed calls for docbook inset method.
6076 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6078 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6079 so it's X11 independent.
6083 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6085 2002-06-15 Lyx Development team <lyx@electronia>
6087 * intl.h: Renamed getTrans to getTransManager.
6089 2002-06-14 Angus Leeming <leeming@lyx.org>
6091 * Makefile.am: nuke forgotten stl_string_fwd.h.
6093 2002-06-12 Angus Leeming <leeming@lyx.org>
6095 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6097 2002-06-13 Angus Leeming <leeming@lyx.org>
6100 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6102 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6104 * kbmap.C (getiso): add support for cyrillic and greek
6106 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6110 * BufferView_pimpl.h:
6111 * BufferView_pimpl.C: move bogus scrolling logic
6114 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6117 * BufferView_pimpl.C: view->resize() change
6119 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6121 * BufferView_pimpl.C: topCursorVisible
6124 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6128 * lyx_gui.C: move to frontends/
6132 * lyx_main.C: changes from above
6134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6141 * lyx_main.C: minor tidy
6143 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6145 * BufferView_pimpl.h:
6146 * BufferView_pimpl.C:
6148 * BufferView.C: make painter() const,
6151 * BufferView2.C: use screen() accessor
6154 * lyx_main.C: some minor cleanup
6156 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6158 * BufferView_pimpl.h:
6159 * BufferView_pimpl.C: remove enter/leaveView,
6162 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6167 * BufferView_pimpl.h:
6168 * BufferView_pimpl.C: only construct screen once,
6171 * lyxrc.C: remove pointless comment
6173 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6176 * BufferView.C: remove active() and belowMouse()
6178 * BufferView_pimpl.h:
6179 * BufferView_pimpl.C: use workarea() not workarea_,
6180 and make it use a scoped_ptr instead
6182 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6184 * lyx_gui.C: add debug message on BadWindow
6186 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6188 * sp_spell.C: fdopen is not part of the C++ standard.
6190 * paragraph.C (InsetIterator): use >= instead of ==
6192 2002-06-07 Angus Leeming <leeming@lyx.org>
6194 Fixes needed to compile with Compaq cxx 6.5.
6195 * BufferView_pimpl.C:
6202 * lyxtextclasslist.C:
6207 all c-library variables have been moved into namespace std. Wrap
6208 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6213 Add a using std::abs declaration.
6215 * kbmap.h (modifier_pair):
6216 * paragraph.h (InsetTable, InsetList):
6217 * lyxfont.h (FontBits):
6218 type definition made public.
6220 * bufferlist.C (emergencyWriteAll): the compiler complains that
6221 there is more than one possible lyx::class_fun template to choose from.
6222 I re-named the void specialisation as lyx::void_class_fun.
6224 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6226 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6227 the compiler is is unable to find tostr in write_attribute.
6229 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6231 * buffer.C (sgmlError): hide #warning
6233 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6235 * xtl/*: get rid of xtl, which is not in use anyway
6237 * LyXAction.C (init):
6238 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6239 were unimplemented xtl experimentation
6241 2002-06-04 André Pönitz <poenitz@gmx.net>
6243 * lyxfunc.C: disable array operation on simple formulae
6245 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6247 * converter.C: constify a bit
6249 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6251 * lyx_gui.C: check xforms version correctly
6253 2002-04-30 Herbert Voss <voss@lyx.org>
6255 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6258 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6260 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6261 attempt to register it with a VCS)
6263 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6265 * lyx_main.C (init): honor variables LYX_DIR_13x and
6268 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6272 * lyx_main.C: fix a crash on bad command line,
6273 and give a useful exit status on error
6275 * lyxfunc.C (doImport): allow -i lyx to work
6277 2002-03-30 André Pönitz <poenitz@gmx.net>
6279 * lyxfunc.C: mathed font changes
6281 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6296 * trans_mgr.h: srcdocs, and some minor cleanups
6298 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6301 call getFont all the time)
6303 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6305 * switch from SigC signals to boost::signals
6307 2002-05-29 André Pönitz <poenitz@gmx.net>
6309 * paragraph_pimpl.C (getChar): don't call size() too often...
6311 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6313 * paragraph_pimpl.C (insertChar): do not try to update tables when
6314 appending (pos == size())
6316 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6317 in order to reduce drastically the number of comparisons needed to
6318 parse a large document
6320 2002-05-29 André Pönitz <poenitz@gmx.net>
6326 * textclasslist.[Ch]:
6327 * sp_ispell.h: whitespace change
6329 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6331 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6332 lyxaction directly now.
6334 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6338 * lyxvc.C: remove unused headers
6340 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6347 * undo_funcs.C: some cleanups. Use shared_ptr
6348 and a template for the undo stacks.
6350 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6352 * BufferView_pimpl.h:
6353 * BufferView_pimpl.C:
6360 * text2.C: use key_state/mouse_state
6362 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6364 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6367 * chset.C: change include order
6368 (loadFile): use boost regex and get rid of LRegex and LSubstring
6370 * Makefile.am (BOOST_LIBS): new variable
6373 * LaTeX.C: change include order.
6374 (scanAuxFile): use boost regex and get rid of LRegex and
6378 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6383 * FontInfo.C: moved to frontends/xforms/
6386 * FontLoader.C: moved into frontends for GUIIzation
6391 * lyxfunc.C: changes from above
6393 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6395 * LColor.C: remove spurious X include
6397 * BufferView_pimpl.C:
6402 * text2.C: move font metrics to frontends/
6404 2002-05-24 Juergen Vigna <jug@sad.it>
6406 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6407 setting the undo_cursor.
6409 * ParagraphParameters.h: include local includes first.
6411 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6413 * BufferView_pimpl.C:
6414 * BufferView_pimpl.h:
6418 * screen.C: move WorkArea into frontends/
6424 * BufferView2.C: move LyXScreen into frontends/
6428 * lyx_gui.C: move lyxlookup into frontends/xforms/
6430 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6433 * BufferView_pimpl.C:
6443 * bufferview_funcs.C:
6456 * vc-backend.C: move LyX/XFormsView into frontends/
6458 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6470 * text2.C: move Painter to frontends/
6472 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6474 * buffer.C: comment out some some code that depend upon lyx_format
6477 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6478 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6480 * buffer.h (NO_COMPABILITY): turn off compability
6482 * ColorHandler.C: include scoped_array.hpp
6484 * font.C: Use more specific smart_ptr header.
6487 * ShareContainer.h: ditto
6491 * BufferView_pimpl.h: ditto
6492 * ColorHandler.h: ditto
6494 * kbmap.C (defkey): change call to shared_ptr::reset
6496 2002-05-21 Juergen Vigna <jug@sad.it>
6498 * buffer.C (insertErtContents): fix to insert ert asis if it is
6499 non empty. Skip it completely if it contains only whitespaces.
6501 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6503 * BufferView_pimpl.C:
6504 * BufferView2.C: clear selection on paste (bug 393)
6506 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6508 * DepTable.C: include ctime
6510 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6512 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6514 2002-05-14 Juergen Vigna <jug@sad.it>
6516 * text.C (breakParagraph): fixed function to honor the keepempty
6517 layout in the right maner and also to permit the right breaking
6518 algorithm on empty or non empyt keepempty paragraphs.
6520 * paragraph.C (breakParagraph): we have to check also if the par
6521 is really empty (!size()) for isempty otherwise we do the wrong
6524 2002-05-10 Juergen Vigna <jug@sad.it>
6526 * buffer.[Ch] : The following are only changes to the ert
6527 compatibility read reading old LaTeX layout and font stuff and
6528 convert it to ERTInsets.
6530 * buffer.h: added isErtInset().
6532 * buffer.C (struct ErtComp): add a fromlayout bool to check
6533 if we're inside a LaTeX layout.
6534 (isErtInset): new helper function.
6535 (insertErtContents): look for other ert insets before this one
6536 and insert the contents there, so that we don't have subsequent
6537 ERT insets with nothing between them. This way we create only one
6538 inset with multiple paragraphs. Also check if we don't insert only
6539 spaces ' ' as they are ignored anyway afterwards in the .tex file
6540 so if we have only spaces we will ignore this latex part in the
6542 (parseSingleLyXformat2Token \\layout): better compatibility when
6543 reading layout-latex stuff.
6544 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6546 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6547 stuff after reading the inset only get the information back from
6550 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6552 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6554 * LaTeXFeatures.C (getBabelOptions): New method.
6556 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6558 * BufferView_pimpl.C (Dispatch): work around missing argument for
6561 2002-05-08 Juergen Vigna <jug@sad.it>
6563 * text.C (leftMargin): handle paragraph leftindent.
6565 * paragraph.C (writeFile): write the new \\leftindent tag.
6566 (validate): handle leftindent code.
6567 (TeXEnvironment): handle paragraphleftindent code again.
6569 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6571 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6572 for paragrap_extra indent code and new token \\leftindent.
6573 (latexParagraphs): handle the leftindent as environment.
6575 * ParameterStruct.h: added leftindent support.
6577 * ParagraphParameters.C (leftIndent): added support functions for
6578 the paragraph left indent.
6580 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6583 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6585 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6588 * text.C (computeBidiTables): No bidi in insetERT.
6590 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6593 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6595 * version.C.in: pre 5
6597 2002-05-02 José Matos <jamatos@fep.up.pt>
6598 * buffer.C (makeDocBookFile): white space changes, add newline to
6600 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6602 * tabular.C (docBook): fix typo.
6604 2002-05-03 Juergen Vigna <jug@sad.it>
6606 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6607 change in LyXText as we can not be sure it was not freed.
6608 (drawOneRow): remove unused code.
6610 * text.C (drawInset): redo the calculation of the need_break_row as
6611 it could have a row which was already freed.
6612 (draw): look at the return value of drawInset and return false if
6613 it also returned false.
6614 (paintRowText): look at the return value of draw and return false if
6615 it also returned false.
6617 * lyxtext.h: added bool return type to drawInset() and draw() so that
6618 if we have a change in the row so that the rowbreak has to be redone
6619 we abort drawing as it will be called again.
6621 2002-05-02 Juergen Vigna <jug@sad.it>
6623 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6624 a change in the maintext also if we're inside an inset.
6625 (Dispatch): set the cursor again after a break line and after the
6626 screen has been updated as it could be we're in a different row.
6628 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6629 to set the cursor behind the pargraph with > size().
6630 (setCursor): check also for the same paragraph when checking where
6631 to put the cursor if we have a NFR inset.
6633 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6634 parts of layout read further up as it still was in the wrong
6637 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6639 * screen.C (drawFromTo): change sine fullRebreak always return
6642 * buffer.C (parseSingleLyXformat2Token): reindent some
6644 * BufferView_pimpl.C (update): change since fullRebreak always
6646 (Dispatch): git rid of the last hardcoded "Standard"s.
6648 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6650 * text2.[Ch] (fullRebreak): make it return void now that we always
6653 2002-04-30 Juergen Vigna <jug@sad.it>
6655 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6656 ert compatibility check for "latex" layout.
6658 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6660 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6661 minipages: use col% instead of p%, and also use the current font.
6662 (makeLaTeXFile): Fix use babel condition.
6663 (parseSingleLyXformat2Token): Correct font when reading old floats.
6665 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6667 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6668 inserting list of floats.
6670 2002-04-25 Herbert Voss <voss@lyx.org>
6672 * MenuBackend.C (expand): don't add the graphics extensions to the
6675 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6678 non-existing layout, do not complain if it was the default layout
6679 of the original class (bug #342)
6681 2002-04-24 Juergen Vigna <jug@sad.it>
6683 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6684 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6686 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6688 * buffer.C (getBibkeyList): If using \bibliography, return the
6689 option field with the reference itself. Enables us to provide natbib
6690 support when using \bibliography.
6692 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6694 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6696 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6697 natbib is provided by the LaTeX class.
6699 2002-04-23 Juergen Vigna <jug@sad.it>
6701 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6704 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6706 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6708 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6710 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6711 ensuremath around textordmasculine, textordfeminine and
6714 2002-04-19 Juergen Vigna <jug@sad.it>
6716 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6717 reinitializing the buffer otherwise row-dimensions may be wrong.
6718 (update): reset also the selection cursors if they do exits otherwise
6719 their x/y positions may be wrong.
6721 * text2.C (cursorDown): don't enter the inset if we came from a row
6722 above and are one row over the inset.
6724 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6725 really leaving an inset.
6727 2002-04-18 Juergen Vigna <jug@sad.it>
6729 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6730 of the selected paragraph does not have the selected layout also if
6733 * text2.C (setLayout): fixed bug which did not change last selected
6736 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6737 changed the read and substituted \\end_float with \\end_inset!
6739 * BufferView_pimpl.C (cursorPrevious):
6740 (cursorNext): fixed to make it work with rows heigher than the work
6741 area without moving the cursor only the draw of the row.
6742 (workAreaMotionNotify): fix jumping over high rows.
6744 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6746 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6749 2002-04-16 Juergen Vigna <jug@sad.it>
6751 * text2.C (setCursor): set also the irow().
6752 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6754 (cursorDown): support for locking an inset if the x_fix value goes
6755 inside it. That way I can transverse insets too with cursor up/down.
6757 * lyxrow.h: added irow helper function same as other (i) functions.
6759 * BufferView_pimpl.C (cursorPrevious):
6760 (cursorNext): fixed for insets!
6762 2002-04-15 Juergen Vigna <jug@sad.it>
6764 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6765 position otherwise it is wrong in some cases.
6767 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6768 inside the inset before the call.
6770 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6772 * buffer.[Ch] (getBibkeyList): make it const.
6774 2002-04-12 Juergen Vigna <jug@sad.it>
6776 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6778 * text2.C (getCursorX): new helper function
6779 (setCursor): compute also ix_
6780 (setCursorFromCoordinates): set also ix.
6782 * lyxcursor.h: added ix_ and helper functions.
6784 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6786 * buffer.C (insertStringAsLines): dont break paragraph if the this
6787 paragraph is inside an inset which does not permit it!
6789 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6790 also with no chars on this paragraph.
6791 (paintRowText): only paint stuff if it's inside the workarea!
6793 * paragraph.C (breakParagraph): honor keepempty flag and break the
6794 paragraph always below not above.
6796 * BufferView2.C (unlockInset): update the paragraph layout on inset
6797 unlock as we changed paragraph in such a case.
6799 * lyxfind.C (LyXFind): clear the former selection if not found!
6801 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6802 again called in insertChar().
6804 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6805 an inset which uses the whole row!
6806 (rightMargin): ditto.
6807 (insertChar): force a rebreak if we inserted an inset!
6809 2002-03-28 Herbert Voss <voss@lyx.org>
6811 * lyxlength.[Ch]: add inBP() to get the right PS-point
6812 units (BigPoint). With inPixels we have rounding errors
6814 2002-04-11 Juergen Vigna <jug@sad.it>
6816 * text2.C (setCursorFromCoordinates): set iy to the right value.
6817 (setCursor): add check if row->previous exists!
6819 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6820 an old float_type as this was the case in the old code!
6822 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6824 * BufferView2.C (showLockedInsetCursor): use iy
6825 (fitLockedInsetCursor): ditto
6827 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6828 locked insets as there we have the right value now.
6830 * lyxcursor.C: added iy_ variable and iy functions to set to the
6831 baseline of cursor-y of the locked inset.
6833 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6834 (setCursor): fixed for insets which need a full row.
6836 * text.C (rowLastPrintable): don't ignore the last space when before
6837 an inset which needs a full row.
6838 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6839 as last character of a row when before a inset which needs a full row.
6841 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6843 * version.C.in: update date
6845 * text2.C (fullRebreak): try to always return true and see what
6848 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6850 * MenuBackend.C (expand): use Floating::listName
6852 * FloatList.C (FloatList): add listName argument to the built-in
6855 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6856 text associated with the float.
6858 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6860 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6862 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6864 * ShareContainer.h: add a couple of missing typenames.
6866 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6868 * lyxrc.C (getDescription): use _() correctly rather than N_().
6870 2002-03-28 Herbert Voss <voss@lyx.org>
6872 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6873 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6875 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6877 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6878 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6880 2002-03-29 Juergen Vigna <jug@sad.it>
6882 * lyxfunc.C (dispatch): add a missing fitCursor call.
6884 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6885 it was scrolled by a cursor move, so return the bool status.
6887 * BufferView.C (fitCursor): return the bool flag also to the outside
6888 world as this is needed.
6890 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6892 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6893 call the edit() as it is not needed (and wrong) IMO.
6894 (workAreaButtonPress): set the screen_first variable before evt.
6895 unlock the inset as this may change screen_first and then we have
6896 a wrong y position for the click!
6898 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6900 * MenuBackend.C (expand): another translation that I missed
6902 2002-03-28 Juergen Vigna <jug@sad.it>
6904 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6906 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6908 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6910 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6912 * MenuBackend.C (expand): fix export/view/update when there is no
6915 2002-03-27 Herbert Voss <voss@lyx.org>
6917 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6920 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6922 * bufferview_funcs.C (currentState): only show paragraph number
6923 for is DEVEL_VERSION is set.
6925 * lyxfunc.C (dispatch): put warning in INFO channel
6927 * MenuBackend.C (expand): translate the name of floats
6929 * FloatList.C (FloatList): mark the float names for translation
6931 * converter.C (convert): use LibScriptSearch
6933 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6935 * MenuBackend.C (defaults): fix default menu (we might as well get
6938 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6940 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6943 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6945 * lyxvc.C: reorder includes.
6947 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6949 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6952 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6954 * CutAndPaste.C: change layouts earlier on paste
6955 to avoid crashing when calling getFont()
6957 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6959 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6962 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6964 * WorkArea.C: remove 'Pending' debug message.
6966 * most files: ws cleanup
6968 * buffer.[Ch]: ws changes
6970 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6972 2002-03-21 Juergen Vigna <jug@sad.it>
6974 * tabular.C (SetMultiColumn): collapse also the contents of the
6975 cells and set the last border right. Added a Buffer const * param.
6977 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6979 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6982 2002-03-19 Juergen Vigna <jug@sad.it>
6984 * text2.C (clearSelection): reset also xsel_cache.
6986 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6987 where it needs to be called (John tells us to do so too :)
6988 (selectionLost): reset sel_cache.
6990 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6992 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6994 * text2.C (setCursorIntern): put debuging code in INSETS channel
6996 2002-03-19 André Pönitz <poenitz@gmx.net>
6998 * lyxfunc.C: tiny whitespace change
7000 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7002 * ToolbarDefaults.C (init):
7003 * LyXAction.C (init):
7005 * BufferView_pimpl.C (Dispatch):
7006 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7008 2002-03-19 Allan Rae <rae@lyx.org>
7010 * exporter.C (Export): removeAutoInsets before doing anything else.
7011 While I've just introduced a dependency on BufferView this really is
7012 the best place to clean the buffer otherwise you need to cleanup in
7013 a dozen places before calling export or cleanup in a dozen functions
7016 * converter.C (runLaTeX):
7017 (scanLog): Better handling of removeAutoInsets and screen updates.
7019 * lyxfunc.C (dispatch): small whitespace changes
7021 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7023 * WorkArea.C (C_WorkAreaEvent): return a value.
7024 (event_cb): return 1 if we handled the event, 0 otherwise.
7026 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7028 2002-03-18 Juergen Vigna <jug@sad.it>
7030 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7031 (GetAdditionalWidth): ditto.
7035 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7036 inset if we're there actually (probably not used right now but this
7037 is the direction to go for unifying code).
7038 (paste): disable code to clear the selection.
7040 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7041 inside an InsetText and move the check further up as it is in the
7044 * text2.C (pasteSelection): set a selection over the pasted text.
7046 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7048 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7049 and libgraphics to build on Cygwin.
7051 2002-03-15 Juergen Vigna <jug@sad.it>
7053 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7054 inserting an Inset into the paragraph. I know this is not the best
7055 fix but we already use current_view in CutAndPaste so we will remove
7056 all of it's using at the same time.
7058 * buffer.C (sgmlError): deactivated function till it is rewritten in
7059 the right mode, now it can create problems.
7061 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7062 before accessing it.
7064 2002-03-14 Juergen Vigna <jug@sad.it>
7066 * undo_funcs.C (textHandleUndo): do the right thing when updating
7067 the inset after the undo/redo.
7069 * text2.C (setCursor): just some testcode for #44 not ready yet.
7071 * undo_funcs.C (textHandleUndo): set the next() and previous()
7072 pointers of the paragraph to 0 before deleting otherwise we have
7073 problems with the Paragraph::[destructor].
7075 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7076 on a paragraph insertion.
7078 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7080 * buffer.C (asciiParagraph): use += operator for char append to
7083 * paragraph.C (getFontSettings): compare >= not just >
7084 (highestFontInRange): ditto
7087 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7089 * paragraph.C: change several algorithm to be more appripriate for
7090 the problem domain. This is lookip in FontList and in the InsetList.
7092 2002-03-13 André Pönitz <poenitz@gmx.net>
7095 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7097 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7102 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7104 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7106 * Painter.C (display): anon helper function, adjust code for this
7108 (pixmap): remove function.
7110 * Painter.h: remove private display variable.
7112 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7114 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7116 * WorkArea.[Ch]: remove figinset_canvas cruft.
7118 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7120 * lyxtextclass.C (operator): add one item cache optimization.
7122 * bufferlist.h: doxy changes
7124 * bufferlist.C: ws changes
7126 * DepTable.[Ch] (ext_exist): place const in the right spot.
7128 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7130 (workAreaExpose): call resizeInsets when the with BufferView changes.
7131 (Dispatch): adjust for protectedBlank removal
7132 (specialChar): call updateInset if the insert went ok.
7134 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7135 specialChar instead.
7137 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7139 * BufferView.h: doxy change
7141 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7143 * lyxtextclass.C (operator[]): remove non-const version
7144 (defaultLayout): remove non-const version
7146 2002-03-12 Juergen Vigna <jug@sad.it>
7148 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7149 did resize the LyXText too.
7151 * buffer.C (readLyXformat2): set layout information on newly allocated
7154 * tabular.C (OldFormatRead): set layout information on the paragraph.
7156 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7158 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7160 2002-03-11 Juergen Vigna <jug@sad.it>
7162 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7164 (resizeCurrentBuffer): force also the insets to resize themselfes.
7165 (moveCursorUpdate): fixed up for InsetText.
7167 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7170 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7171 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7172 value of Dialogs::tooltipsEnabled().
7173 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7175 2002-03-08 Juergen Vigna <jug@sad.it>
7177 * BufferView_pimpl.C (updateInset): update inset inside inset also
7178 if it isn't inside theLockingInset().
7180 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7182 * buffer.C (asciiParagraph): redo some of the word and line length
7184 (getLists): look for Caption instead of caption.
7186 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * buffer.C (Buffer): initialize niceFile to true
7191 (makeDocBookFile): make sure niceFile is true on exit
7193 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7195 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7197 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7199 * LyXSendto.C: remove.
7200 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7201 * lyx_gui.C: remove now-redundant comment.
7202 * ColorHandler.h: remove forward declaration of class WorkArea.
7203 * lyxfunc.C: remove #include "WorkArea.h".
7205 2002-03-07 Juergen Vigna <jug@sad.it>
7207 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7208 got moved away with the DEPM and also set the inset_owner always
7209 right which before could have been omitted.
7211 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7213 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7214 wanted layout is not found.
7216 2002-03-07 Juergen Vigna <jug@sad.it>
7218 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7220 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7222 * paragraph.C (breakParagraph): use default layout not layout of
7224 (Paragraph): clear ParagraphParameters.
7226 2002-03-06 Juergen Vigna <jug@sad.it>
7228 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7229 otherwise it would not be a valid lenght. Fixed a special case in
7230 the minipage compatibility read where we end the document with a
7233 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7234 was set as it could be 0 for InsetTexts first entry.
7236 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7238 * paragraph.C (writeFile): if layout is empty write out
7239 defaultLayoutName().
7241 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7242 file without named layout we set layout to defaultLayoutName().
7244 2002-03-06 Juergen Vigna <jug@sad.it>
7246 * CutAndPaste.C (copySelection): set layout for new paragraph.
7248 * text.C (prepareToPrint): leave ERT inset left aligned
7249 (leftMargin): don't indent paragraphs inside ERT insets
7251 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7253 * paragraph.C (breakParagraph): dont call clear do the work manually
7255 * paragraph.[Ch] (clear): remove function
7257 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * paragraph.C (Paragraph): dont call clear, the work has already
7262 * lyxtextclass.C (operator): assert if n is empty
7264 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7265 work manually instead.
7267 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7269 * BufferView_pimpl.C: protect selectionLost against text == 0
7271 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7273 * text.C (breakParagraph): fix a setting layout to '0' problem.
7275 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7277 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7278 final location of file, for the included files, and graphics.
7280 2002-03-05 Juergen Vigna <jug@sad.it>
7282 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7284 2002-03-04 Juergen Vigna <jug@sad.it>
7286 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7288 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7289 last column of multicolumn cells.
7290 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7292 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7294 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7295 file if it doesn't go to a temporary file.
7297 * buffer.C (sgmlOpenTag):
7298 (sgmlCloseTag): remove extra newline insertion.
7300 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7302 * text.C (getRowNearY): comment out debug msg
7304 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * text2.C: first -> first_y
7308 * text.C (getRowNearY): add some attemts at a possible
7309 optimization, not working.
7311 * tabular.[Ch]: add BufferParams to several function so that newly
7312 created paragraph can be initialized to he default layotu for the
7315 * tabular-old.C (ReadOld): add buf->params to call of Init
7317 * screen.C: rename text->first to text->first_y
7319 * paragraph.C (breakParagraph): always set layout in the broken
7322 * lyxtextclass.C (Read): remove lowercase
7325 (delete_layout): ditto
7327 * lyxtext.h: rename first -> first_y
7329 * lyxlayout.C (Read): remove lowercase
7332 (obsoleted_by): ditto
7334 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7336 * buffer.C (insertErtContents): add params are to InsetERT
7337 (parseSingleLyXformat2Token): add code to check if a paragraphs
7338 layout really exist.
7339 (parseSingleLyXformat2Token): add params to several inset
7341 (asciiParagraph): remove lowercase, do the layout comparisons with
7344 * BufferView_pimpl.C (cursorNext): first -> first_y
7345 (resizeCurrentBuffer): first -> first_y
7346 (updateScrollbar): first -> first_y
7347 (scrollCB): first -> first_y
7348 (workAreaMotionNotify): first -> first_y
7349 (workAreaButtonPress): first -> first_y
7350 (checkInsetHit): first -> first_y
7351 (cursorPrevious): first -> first_y
7352 (cursorNext): first -> first_y
7353 (Dispatch): add buffer_->params to severl inset contructors
7355 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7357 * lyxlayout.C (Read): remove some debug info that I forgot.
7359 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7360 clean up the code slightly.
7361 (makeLinuxDocFile): ditto
7362 (makeDocBookFile): ditto
7364 * text2.C: layout as string
7366 * text.C: layout as string
7368 * paragraph_pimpl.C: layout as string
7370 * paragraph.[Ch]: layout as string
7372 * lyxtextclasslist.[Ch]: layout as string
7374 * lyxtextclass.[Ch]: layout as string
7376 * lyxtext.h: layout as string
7378 * lyxlayout.[Ch]: layout as string
7380 * lyx_cb.C: layout as string
7382 * bufferview_funcs.C: layout as string
7384 * bufferparams.C: layout as string
7386 * buffer.C: layout as string
7388 * LyXView.[Ch]: layout as string
7390 * LaTeXFeatures.[Ch]: layout as string
7392 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7394 * BufferView_pimpl.C: change current_layout to string, remove
7399 (workAreaButtonRelease): layout as string
7401 * BufferView2.C (unlockInset): adjust
7403 * vspace.C (asLatexCommand): use an explict temp variable.
7405 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7407 * Makefile.am: use FRONTEND_*
7409 2002-03-01 Juergen Vigna <jug@sad.it>
7411 * tabular.C (SetWidthOfMulticolCell): changed to something better
7412 I hope but still work in progress.
7413 (recalculateMulticolumnsOfColumn): renamed function from
7414 recalculateMulticolCells as it is more appropriate now.
7415 (SetWidthOfCell): calculate multicols better.
7417 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7419 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7421 * lyxfunc.C (processKeySym): print sequence also if it is
7422 `deleted' (complete)
7424 * kbsequence.C (print): print sequence even if it is deleted
7425 (complete would be a better word, actually).
7427 * lyxfunc.C (dispatch): print complete options after a prefix key
7429 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7431 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7433 * text2.C (setCharFont): eliminate setCharFont code duplication.
7435 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7437 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7438 LFUN_TABULAR_FEATURE (bug #177)
7440 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7442 * Makefile.am: remove figure.h
7444 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7446 * Bufferview_pimpl.C:
7458 * text2.C: remove #include "lyx_gui_misc.h".
7460 * LaTeX.C: added #include <cstdio>
7462 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7464 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7465 that the paragraph following this one can have.
7467 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7469 * vspace.C (asLatexCommand): fix bogus gcc warning
7471 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7473 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7475 * text2.C (setLayout): get rid of redundant code
7477 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7479 * text2.C (incDepth): make sure depth cannot be increased beyond
7482 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7484 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7485 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7487 * PainterBase.h (image):
7488 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7491 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7495 * BufferView_pimpl.C:
7496 * BufferView_pimpl.h:
7516 * sp_spell.C: remove fig inset, and the crap house of
7517 cards that follows it
7519 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7525 * nt_defines.h: move .h into support/
7527 * vms_defines.h: remove
7529 * WorkArea.C: add space in debug output
7533 * buffer.C: add WITH_WARNINGS
7537 * bufferlist.C: s/retrive/retrieve/, add docs
7548 * lyxgui.C: add ID to X error handler
7550 * lyxtestclass.c: fix typo
7552 2002-02-26 Juergen Vigna <jug@sad.it>
7554 * tabular_funcs.C (write_attribute): changed so that some default
7555 attributes are not written at all.
7556 (getTokenValue): set default values before trying to read the
7557 value so we have the return value always set as default if we don't
7558 find the token we search for.
7560 * tabular.C (Write): write bools as bools not as strings!
7562 2002-02-22 Juergen Vigna <jug@sad.it>
7564 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7565 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7567 * text.C (leftMargin): don't add an indent for paragraphs inside
7568 tabular cells (fix #208).
7570 2002-02-21 José Matos <jamatos@fep.up.pt>
7572 * tabular.C (docBook): fixed support for long tables.
7574 2002-02-20 Juergen Vigna <jug@sad.it>
7576 * text2.C (getFont): get the drawing font of the Inset if this
7577 paragraph is inside an inset (only important for InsetERT for now).
7579 * buffer.C (insertErtContents): use new lanugage params in ERT
7582 * CutAndPaste.C: commenting out seemingly uneeded code.
7584 2002-02-19 Allan Rae <rae@lyx.org>
7586 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7587 Iterators might be simple to use but they also get invalidated.
7588 (removeAutoInsets): renamed saved cursor tracking variables and added
7589 some comments to clarify what everything does.
7591 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7598 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7599 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7602 * vc-backend.h: remove #include "support/syscall.h"
7606 * converter.C: rearrange #includes in Lars' approved fashion.
7608 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7609 forward declare class Timeout in the header file.
7611 * XFormsView.C: changes due to the above.
7613 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7616 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7617 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7619 2002-02-18 José Matos <jamatos@fep.up.pt>
7621 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7624 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7626 * a lot of small ws changes
7627 * add a lot of using std::XXX
7628 * use std construcs some places where approp.
7629 * use some exisint stuff from lyxfunctional where approp.
7630 * Make file changes to use partial linking (lets test this now...)
7632 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7636 remove #include "support/syscontr.h" as it's redundant. Always has been.
7644 change Systemcalls::System to Systemcalls::Wait and
7645 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7646 No change of functionality, just reflects the stripped down Systemcalls
7649 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7651 * debug.[Ch]: add a GRAPHICS type to the enum.
7653 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7655 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7657 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7660 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7662 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7663 match the changes below.
7665 * text2.C (toggleInset): if there is not editable inset at cursor
7666 position, try to see if cursor is _inside_ a collapsable inset
7669 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7671 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7672 document menu has a nice checkbox
7674 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7676 * lyxlength.C (asLatexString): change PW to output as percent of
7679 * lengthcommon.C: change '%' to 't%'
7681 * lyxfunc.C (dispatch): a few comments from Martin
7683 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7687 * BufferView_pimpl.h:
7688 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7691 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7693 * vspace.C (inPixels): fix compiler warning
7695 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7697 * lyxfunc.C (getStatus): fix status message for disabled commands.
7699 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7701 * BufferView_pimpl.C: fix crash on close buffer
7702 during selection (#227)
7704 2002-01-27 Herbert Voss <voss@lyx.org>
7706 * buffer.C: link old Figure to new graphic inset
7708 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7710 * FontLoader.C (getFontinfo): Change the latex font names in order
7711 to match the names of type1inst.
7713 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7715 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7717 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7720 (remove_files_with_extension): ditto
7721 (remove_file): ditto
7724 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7725 document is smaller than the work area height. Do not initialize
7726 static variables to 0.
7728 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7730 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7732 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7733 LFUN_LAYOUT_PARAGRAPHS.
7735 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7736 tabular. It is possible to provide a possible cell, which will
7737 typically be the actcell from the corresponding insettabular
7739 * lyxfunc.C (getStatus): small cleanup; disable
7740 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7743 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7745 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7747 * paragraph.C (startTeXParParams):
7748 (endTeXParParams): new methods. The LaTeX code to
7749 start/end paragraph formatting
7750 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7751 empty (fixes bug #200)
7753 * vspace.C (inPixels): adapt to the change below
7754 (inPixels): [later] more cleanups (remove unused variables)
7756 * lyxlength.C (inPixels): change to use a width and a height as
7759 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7761 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7762 Replaced with \paperwidth
7764 * DepTable.C (insert): add std:: qualifier
7766 2002-01-18 Allan Rae <rae@lyx.org>
7768 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7771 * text.C (drawInset): Turned out I didn't know enough about how
7772 rebreaking worked. This fixes most of the redraw problems. I see
7773 an occasional cursor trail when a line is broken now and the cursor
7774 placement can seem out by a few pixels also after a rebreak.
7776 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7778 * buffer.C (parseSingleLyXformat2Token): update because minipage
7779 width is now a LyXLength
7781 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7783 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7786 2002-01-17 Juergen Vigna <jug@sad.it>
7788 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7790 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7791 is set correctly and the inset is updated correctly.
7793 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7795 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7796 the beginning of the loop.
7798 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7800 * lyxrc.C: improve help for use_scalable_fonts
7802 2002-01-17 Allan Rae <rae@lyx.org>
7804 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7806 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7808 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7809 make sure to set their inset_owner to the right value (bug #171)
7811 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7814 * DepTable.C: Implement mtime checking to reduce time spent doing
7817 2002-01-16 Juergen Vigna <jug@sad.it>
7819 * tabular.C (GetAdditionalHeight): one of error fixed.
7821 * lyxrc.C (output): small fix in writing use_pspell.
7823 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7825 * sp_base.h: #include LString.h
7827 2002-01-16 Allan Rae <rae@lyx.org>
7829 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7830 Can someone check this please?
7832 * text.C (drawInset): It was possible that p.row would be removed by
7833 breakAgainOneRow upsetting a few other settings. There may be another
7834 small tweak possible by setting need_break_row = 0 when p.row has been
7835 removed but I don't know enough about the logic here.
7837 2002-01-15 Allan Rae <rae@lyx.org>
7839 * text.C (insertChar): removed conditional truism.
7841 * BufferView2.C (removeAutoInsets): More tweaks.
7842 cur_par_prev could be a stray pointer. Check for trailing empty line
7843 in case last line was cur_par and only had an error inset on it.
7845 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7847 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7850 * vc-backend.C (most methods):
7851 * exporter.C (Export):
7852 * converter.C (convert):
7854 * LyXSendto.C (SendtoApplyCB):
7855 * lyxfunc.C (dispatch):
7859 * lyx_cb.C (AutoSave):
7861 * BufferView_pimpl.C (MenuInsertLyXFile):
7862 * buffer.C (runChktex): use Buffer::filePath().
7864 * buffer.h: rename filename to filename_; rename filepath to
7865 filepath_ and make it private
7866 (filePath): new method
7868 * buffer.C (writeFile): use fileName()
7871 * lyx_main.C (init): fix starting of LyX when the binary is a
7872 link from so,ewhere else.
7874 * minibuffer.C: include <cctype> for isprint
7876 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7878 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7879 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7880 name clash with InsetCollapsable's width function.
7882 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7884 * lastfiles.C: include <iterator>
7886 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7888 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7891 * buffer.C (makeLaTeXFile): ditto.
7892 Also make loop operation more transparent.
7894 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7896 * ToolbarDefaults.C: remove trailing comma closing namespace.
7898 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7900 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7903 * trans.C (Load): comment out unused variable, allowed.
7905 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7907 * minibuffer.[Ch] (append_char): new method to recieve input from the
7908 drop-down completion browser. If a key was pressed, then recieve this
7909 char and append it to the existing string.
7910 (peek_event): modify the positioning data passed to the completion
7911 browser so that it can be placed above the minibuffer rather than below.
7912 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7914 * LyXAction.C (init): alloe error-next for readonly documents.
7916 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7919 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7921 * bufferlist.C (readFile): create the buffer _after_ checking that
7924 * lyxfunc.C (verboseDispatch): fix handling of arguments
7926 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7928 * lyxrc.C: use string::erase() instead of initializing to "".
7931 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7933 * BufferView_pimpl.h:
7934 * BufferView_pimpl.C:
7937 * text2.C: tell X when we have made a selection for copying
7939 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7941 * BufferView_pimpl.C (MenuInsertLyXFile):
7942 * lyxfunc.C (menuNew):
7944 (doImport): add shortcuts to directory buttons
7946 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7949 * lyxfunc.C (setStatusMessage):
7950 (getStatusMessage): new methods
7951 (getStatus):use setStatusMessage instead of setErrorMessage
7952 (dispatch): when function is disabled, set error message here
7953 [instead of in getStatus previously]
7955 * BufferView_pimpl.C (workAreaButtonRelease): update
7956 toolbar/menubar here too.
7958 2002-01-13 Allan Rae <rae@lyx.org>
7960 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7961 Now seems indestructible. Remaining task is to audit all other
7962 code affected by deleteEmptyParagraphMechanism. One small quirk
7963 left is that an empty document with an error in the preamble can
7964 be made to report an error but no error box appears. I don't know
7966 (removeAutoInsets): Improved comments.
7968 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7971 * Thesaurus.C: update for Aiksaurus 0.14
7973 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7975 * text2.C (firstParagraph): removed member function, all uses
7976 replaces with ownerParagraph
7977 (redoParagraphs): here
7979 (toggleAppendix): here
7980 * BufferView2.C (insertErrors): here
7981 (setCursorFromRow): here
7983 2002-01-13 Allan Rae <rae@lyx.org>
7985 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7986 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7987 There is still a way to segfault this although you may have to do this
7988 multiple times: Have an InsetERT with an unknown command in it.
7989 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7990 <down-arrow>, <Enter> again, View->DVI, BANG!
7992 * text2.C (setCursor):
7993 (deleteEmptyParagraphMechanism):
7994 * lyxtext.h (setCursor):
7995 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7996 Making use of the return value may help fix other bugs.
7998 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8002 * LyXView.C (updateMenubar): call MenuBar::update here
8003 (updateToolbar): but not here
8004 (showState): do not update toolbar/menubar
8006 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8007 should need to care about that.
8009 * lyxfunc.C (verboseDispatch): simplify a bit
8010 (getStatus): have a version which takes a pseudoaction, and
8011 another which requires a (kb_action,string).
8013 * LyXAction.C (retrieveActionArg): make it work also when action
8014 is not a pseudo-action.
8015 (getActionName): simplify a bit
8018 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8020 * lyxfunc.C (verboseDispatch): new families of methods with
8021 several ways to specify a command and a bool to indicate whether
8022 the command name and shortcut should be displayed in minibuffer
8023 (eventually, we could extend that to a finer bitmask like
8024 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8025 (dispatch): the pristine dispatch command which just, well,
8026 dispatchs! Note it still sets its result to minibuffer; I'm not
8029 * lyxfunc.h: remove setHintMessage
8031 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8033 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8035 * BufferView_pimpl.C (specialChar): delete new inset if we have
8036 not been able to insert it.
8038 * kbmap.C: revert to using int instead of kb_action, since all we
8039 are dealing with is pseudo-actions.
8041 * LyXAction.C (searchActionArg): change to return int instead of
8042 kb_action, since the result is a pseudoaction.
8044 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8046 * buffer.C (insertErtContents): Fix (partially) the font bug.
8048 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8050 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8051 as the other one is broken on my machine!
8053 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8056 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8058 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8060 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8061 reflect their actual use. Provide compatibility code for older lyxrc
8064 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8066 change names of popup font variables in line with the changes to lyxrc.C
8068 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8070 * buffer.C (asciiParagraph): avoid outputing a word twice after
8073 * lyxrc.C (getDescription): document that document_path and
8074 template_path can be empty.
8076 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8078 * LaTeXFeatures.C (getMacros):
8079 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8081 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8083 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8085 (getPackages): rename feature "floats" to "float". Use an array to
8086 iterate over 'simple' features (i.e. just a \usepackage). Add
8087 handling of "amsmath" (renamed from "amsstyle").
8089 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8091 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8094 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8096 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8097 FuncStaus::FuncStatus & FuncStaus::some_method().
8099 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8101 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8102 of the func_satus stuff. Edited and massaged in various ways by
8105 * lyxfunc.C (getStatus): use FuncStatus
8107 2002-01-08 Juergen Vigna <jug@sad.it>
8109 * text.C (nextBreakPoint): use function Inset::isChar().
8111 * paragraph.C (TeXOnePar): use function
8112 Inset::forceDefaultParagraphs.
8114 * buffer.C (latexParagraphs): use function
8115 Inset::forceDefaultParagraphs.
8117 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8119 * lyx_gui.C (init): set the style of the menu popups to
8120 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8122 2002-01-07 Juergen Vigna <jug@sad.it>
8124 * text.C (setHeightOfRow): small fix
8125 (prepareToPrint): don't look at alignment if we don't have the place
8128 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8130 * box.C: New file. Move the Box methods and functions out of box.h,
8131 following Lars' suggestion.
8133 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8135 * box.h: #include "support/LOstream.h", needed for inlined function.
8138 * lyxtextclasslist.C: added some using std declarations.
8140 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8142 * box.h: make signed dimensions to allow insets wider than
8143 the screen (bug #162)
8145 * BufferView_pimpl.C: add some insetHit debug
8147 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8149 * vc-backend.C: add FIXME
8151 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8153 * lyxfunc.C (getStatus): enable code for showing math font status
8156 2002-01-07 Juergen Vigna <jug@sad.it>
8158 * text.C (nextBreakPoint): removed debug output not needed anymore.
8160 2002-01-06 Juergen Vigna <jug@sad.it>
8162 * text.C (nextBreakPoint): fixed up this function we had this bug
8163 since ever but now hopefully we break row better.
8164 (insertChar): we have to check if an inset is the next char as it
8165 could now happen that a large inset is causing a break.
8167 2002-01-05 Juergen Vigna <jug@sad.it>
8169 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8170 if it doesn't like to be drawed.
8172 2002-01-04 Juergen Vigna <jug@sad.it>
8174 * BufferView2.C (lockInset): forgot to set a cursor.
8176 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8178 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8183 * form_maths_panel.C:
8184 * form_maths_panel.h:
8185 * form_maths_panel.fd: implemented sub- and super- buttons in math
8188 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8189 (or ^ space) to be used as in TeX (req'd by André).
8191 * lyxfunc.C: Allow ^ and _ again to be used both as
8192 super/subscript (mathed) and as themselves (in text).
8194 2002-01-03 Allan Rae <rae@lyx.org>
8196 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8197 "LyX" or the filename of the current buffer if it has one. This is a
8198 modified form of John Levon's patch.
8200 * XFormsView.C (setWindowTitle): also set icon title.
8202 * LyXView.h (setWindowTitle): signature changed.
8203 * XFormsView.h (setWindowTitle): ditto.
8205 2002-01-02 Juergen Vigna <jug@sad.it>
8207 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8209 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8211 * screen.C (topCursorVisible): introduce a temp var for
8212 text->cursor.row(), handle the case where this row is null. (kindo
8215 * text2.C (setCursor): add a couple of asserts.
8217 * paragraph.h (inset_iterator): add -> operator
8219 * paragraph.[Ch] (autoDeleteInsets): remove member function
8221 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8222 cursor pos correctly and handle inset deletion by itself.
8223 (insertErrors): move iterator declaration out of for expression
8225 * lyxtextclass.C: add <algorithm>
8227 * Makefile.am: added the new files to sources, removed layout.C
8229 * layout.C: removed file
8231 * layout.h: remove LYX_DUMMY_LAYOUT
8233 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8237 * lyxtextclass.[Ch]:
8238 * lyxtextclasslist.[Ch]: new files
8240 * include order changes to a lot of files, also changes because of
8243 2001-12-27 Juergen Vigna <jug@sad.it>
8245 * buffer.C (asciiParagraph): more fixes.
8247 * tabular.C (ascii): make ascii export support export of only the
8248 data separated by a column-delimiter.
8249 (ascii): better support for ascii export.
8251 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8253 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8255 * tabular_funcs.C: use a "using std::getline" instead of the
8256 previous fix from Angus (necessary for cxx + lyxstring)
8258 2001-12-24 Juergen Vigna <jug@sad.it>
8260 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8262 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8263 problems. First check a minipage also if we have some ert-contents
8264 (not only on par->size(), second set the right depth of the paragraph
8265 on the relink to the root-paragraph-list!
8267 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8268 which then did not anymore update the main paragraphs on undo/redo!
8270 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8272 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8273 code. Support all font-changing funcs (even those which are not in
8274 menu currently). Support for reporting font settings in
8275 mathed (disabled until Andre provides a function on mathed's side).
8277 * func_status.h (toggle): small helper function to set toggle
8280 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8282 * tabular_funcs.C: getline -> std::getline
8284 2001-12-21 Juergen Vigna <jug@sad.it>
8286 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8287 accessed and could be 0 (I couldn't generate this but it seems
8290 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8292 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8293 * tabular_funcs.h: here and include iosfwd
8295 2001-12-20 Juergen Vigna <jug@sad.it>
8297 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8298 inside inset but undo_par was.
8300 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8302 * Thesaurus.C: always include <config.h> in sources.
8306 * box.h: do not include <config.h> in header files
8308 * text.C (paintLastRow): remove unused variable
8310 * text.C (transformChar):
8312 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8315 * font.C (width): rewrite to use uppercase() instead of
8318 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8320 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8322 * lyxfind.C: clean up of find failure position change
8324 2001-12-20 Juergen Vigna <jug@sad.it>
8326 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8328 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8329 (TeXRow): added to LaTeX a single tabular row.
8330 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8331 (Latex): simplified and finally good LT-h/f support.
8332 (various_functions): just small adaptions for LT-h/f support.
8334 * tabular_funcs.[hC]: added and moved here all not classfunctions
8337 2001-12-19 Juergen Vigna <jug@sad.it>
8339 * tabular.[Ch]: better support for longtabular options (not finished
8342 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8344 * text.C (paintLastRow): use the label font instead of the font of
8345 the last character to compute the size of *_BOX. This makes more
8346 sense and avoids a crash with empty paragraphs.
8347 Use Painter::rectangle to draw EMPTY_BOX.
8349 2001-12-19 Juergen Vigna <jug@sad.it>
8351 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8352 the paragraphs if the replaced paragraph is not the first one!
8353 Tried to delete not used paragraphs but does not work yet so for
8354 now it's inside #ifdef's and by default off!
8356 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8358 * MenuBackend.C: include "lyx_main.h" instead of declaring
8359 lastfiles (actually was declared as LastFiles* instead of a
8362 2001-12-17 Juergen Vigna <jug@sad.it>
8364 * tabular.C (AppendColumn): applied John's fix
8366 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8370 * BufferView_pimpl.h:
8371 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8374 * box.h: new start of class for above
8376 * lyxfunc.C: ignore space-only minibuffer dispatches.
8377 Show the command name when it doesn't exist
8379 * minibuffer.C: don't add empty lines to the history
8381 * minibuffer.C: add a space on dropdown completion
8383 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8385 * text.C: fix line above/below drawing in insets
8387 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8389 * lyxlength.C (LyXLength): Initialize private variables.
8391 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8393 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8394 when inserting error insets.
8396 2001-12-13 Juergen Vigna <jug@sad.it>
8398 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8399 actually sometimes the before-paragraph.
8400 (setUndo): don't clear the redostack if we're not actually undoing!
8402 2001-12-06 Juergen Vigna <jug@sad.it>
8404 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8405 and fixed redoing of main paragraph, so we can use it now ;)
8407 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8409 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8411 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8414 2001-12-13 André Pönitz <poenitz@gmx.net>
8417 * undo_func.C: minor cleanup
8419 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8421 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8422 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8423 font in urw-fonts package which is marked as -urw-fontspecific and
8424 does not work (incidentally, changing the encoding in the
8425 fonts.dir of this package to -adobe-fontspecific fixes the
8428 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8429 is a crash when undoing first paragraph (Juergen, please take a
8430 look). THis does not mean the undo fix is wrong, just that it
8433 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8434 the (Paragraph*) version when needed instead of duplicating the
8437 * text.C (workWidth): use Inset::parOwner to find out where the
8438 inset has been inserted. This is a huge performance gain for large
8439 documents with lots of insets. If Inset::parOwner is not set, fall
8440 back on the brute force method
8442 * paragraph_pimpl.C (insertInset):
8443 * paragraph.C (Paragraph):
8444 (cutIntoMinibuffer): set parOwner of insets when
8445 inserting/removing them
8447 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8449 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8455 * mathed/formulabase.C:
8456 * mathed/math_cursor.[Ch]:
8457 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8460 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8462 * lyxlength.[Ch] (operator!=): new function
8464 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8466 * text.C (workWidth): use Inset::parOwner to find out where the
8467 inset has been inserted. This is a huge performance gain for large
8468 documents with lots of insets. If Inset::parOwner is not set, fall
8469 back on the brute force method
8471 * paragraph_pimpl.C (insertInset):
8472 * paragraph.C (Paragraph):
8473 (cutIntoMinibuffer): set parOwner of insets when
8474 inserting/removing them
8476 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8478 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8480 * tabular-old.C (getTokenValue):
8481 * tabular.C (getTokenValue):
8482 (write_attribute): new versions for LyXLength
8483 (everywhere): adjust the use of widths
8485 * tabular.h: change the type of widths from string to LyXLength
8487 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8489 * paragraph.C: fixed missing line number count when exporting
8490 Environments to LaTeX file
8492 * buffer.C: added informational message for checking line numbers.
8494 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8496 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8497 paragraph, do the 'double space' part, but not the 'empty
8500 * text.C (workWidth): small optimization
8501 (getLengthMarkerHeight): use minimal size for negative lengths.
8503 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8505 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8507 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8509 2001-12-11 André Pönitz <poenitz@gmx.net>
8512 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8514 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8516 * text2.C: keep selection on a setFont()
8518 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8520 * lyx_cb.C: another bv->text misuse, from insert label
8522 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8525 * kbsequence.C: re-instate nmodifier mask
8527 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8529 * lyx_main.h: make lyxGUI private.
8531 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8533 * lyxfind.C: place the cursor correctly on failed search
8535 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8537 * text.C (getLengthMarkerHeight): for small heights, the arrows
8538 are not always on top/bottom of the text
8539 (drawLengthMarker): smaller arrows; take the left margin in
8540 account; draw also vfills.
8542 (paintLastRow): remove special code for vfill and standard spaces,
8543 since everything is handled in drawLengthMarker now.
8545 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8547 * buffer.C (insertErtContents): try to handle font and language
8548 interaction a bit better.g
8550 * ColorHandler.C (updateColor): change the hash to cover the whole
8551 LColor enum, ws cleanup
8552 (getGCLinepars): ditto
8553 (getGCLinepars): only lookup in the linecache once.
8555 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8557 * iterators.C (operator++): Make the iterator more robust
8559 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8561 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8563 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8566 * text.C: better added space drawing
8568 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8571 * BufferView2.C: fix layout combo update on inset unlock
8573 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8575 * Makefile.am: don't compile unused files
8577 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8581 * LyXAction.C: remove old LFUN_LAYOUTNO
8583 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8585 * paragraph_pimpl.h:
8586 * paragraph_pimpl.C: isTextAt() doesn't need font param
8588 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8591 * lyxlex.C: little cleanup
8593 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8595 * BufferView_pimpl.C: fix insertAscii for insets
8597 2001-12-05 Juergen Vigna <jug@sad.it>
8599 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8600 set the right font on the "multi" paragraph paste!
8602 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8608 * lyxlength.C: remove out-commented code.
8624 * vc-backend.C: change "while(" to "while ("
8626 * lyxlength.[Ch]: add zero function to check if length is zero or
8628 * lyxgluelength.C: use it
8630 2001-12-05 Allan Rae <rae@lyx.org>
8632 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8633 Works for 2.95.3, from what I understand of Garst's reports this should
8634 work for other g++ versions. We're screwed if the abs(int) definition
8635 changed between bugfix releases of gcc.
8637 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8639 * text.C: fix chapter label offset !
8641 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8644 * text.C: fix hfill at end of line, clean up
8646 2001-12-04 Juergen Vigna <jug@sad.it>
8648 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8649 that we force an update of the inset and it's owners if neccessary.
8651 2001-12-03 Juergen Vigna <jug@sad.it>
8653 * text.C (rowLast): simplified code
8655 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8657 * lyxfunc.C: fix show options on timeout
8659 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8661 * screen.C (topCursorVisible): scroll half a page when the cursor
8662 reached top of bottom of screen
8664 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8666 * minibuffer.C: deactivate on loss of focus
8668 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8670 * vspace.[Ch] (operator!=): add operator.
8672 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8674 * BufferView_pimpl.C: refuse to open an inset when
8675 there's a selection.
8677 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8679 * BufferView_pimpl.C: allow to click on RHS of full row insets
8681 2001-11-30 Juergen Vigna <jug@sad.it>
8683 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8684 insets for undo reasons.
8686 2001-11-28 André Pönitz <poenitz@gmx.net>
8688 * vspace.[Ch]: cosmetical changes
8690 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8700 * kbsequence.C: part re-write of old kb code
8703 * WorkArea.C: remove Lgb_bug_find_hack
8705 2001-11-30 José Matos <jamatos@fep.up.pt>
8707 * buffer.C (makeDocBookFile): add a comment to point a hack.
8708 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8709 Fixed a double write of labels.
8711 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8714 * LaTeX.h Fixed bug in LaTeX class where it would not
8715 re-run latex if no depfiles were changed, but the .dvi was removed.
8717 2001-11-28 André Pönitz <poenitz@gmx.net>
8719 * all the files from the change on 2001/11/26:
8720 use lyx::layout_type instead of LyXTextClass::size_type
8721 use lyx::textclass_type instead of LyXTextClassList::size_type
8723 2001-11-29 Juergen Vigna <jug@sad.it>
8725 * text.C: added support for paragraph::isFreeSpacing()
8727 * buffer.C: same as above
8729 * paragraph.h: inserted isFreeSpacing() function to enable
8730 FreeSpacing inside InsetERT.
8732 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8733 of the paragraph's in the cut/copy buffer to 0!
8735 * text2.C (removeRow): remove the assert as it can!
8737 * lyxtext.h: added helper function firstRow returning firstrow and
8738 made firstrow private again.
8740 * BufferView2.C (lockInset): don't relock if we're already locked!
8742 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8744 (removeRow): added Assert::(firstrow)
8746 * debug.C: forgot to add INSETTEXT here.
8748 2001-11-28 Juergen Vigna <jug@sad.it>
8750 * sp_spell.C (initialize): changed error text to more general
8751 spellchecker command use (not only ispell!)
8753 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8755 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8757 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8759 * vspace.C: initialise lyxgluelength on failure
8761 2001-11-28 Allan Rae <rae@lyx.org>
8763 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8764 declaration & definition that looks like a function declaration.
8766 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8768 * BufferView2.C (copy):
8769 (copyEnvironment): do not clear the selection when doing a copy.
8771 * text.C (paintFirstRow): compilation fix
8773 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8775 * tabular.C (Latex): correct line count when writing latex.
8777 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8779 * paragraph_pimpl.h:
8780 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8783 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8787 * LColor.C: change vfillline->added_space
8789 * text.C: add markers and text for added space
8791 * vspace.C: fix comment
8793 2001-11-28 André Pönitz <poenitz@gmx.net>
8795 * paragraph.C: whitespace changes
8796 * all the other files from the change on 2001/11/26:
8797 change *::pos_type into lyx::pos_type
8799 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8801 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8802 language of the document when inserting error insets.
8804 2001-11-26 André Pönitz <poenitz@gmx.net>
8806 * BufferView_pimpl.[Ch]:
8814 * paragraph_pimpl.[Ch]:
8817 * text2.C: reduce header dependencies, introduce type for positions
8819 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8821 * <various>: change to use Alert.h
8823 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8825 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8826 when encountering an unknown token.
8827 (readLyXformat2): Show an error message if there were unknown tokens.
8829 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8832 * BufferView_pimpl.C:
8836 * text2.C: use par->isInset()
8838 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8840 * paragraph_pimpl.h:
8841 * paragraph_pimpl.C: cleanup
8843 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8845 * text2.C (removeRow):
8846 * text.C (setHeightOfRow): remove useless (and costly) call to
8849 2001-11-20 Allan Rae <rae@lyx.org>
8851 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8852 Now need Inset*::checkInsertChar() to return true for appropriate
8853 cases so that the characters in the minibuffer will actually be
8856 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8858 * text.C: change the order of the includes.
8859 (workWidth): initialize it at once.
8860 (workWidth): make maxw unsigned
8861 (setHeightOfRow): remove unused variable (inset)
8862 (selectSelectedWord): remove unused variable (inset)
8863 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8865 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8867 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8868 server is not running.
8870 (closeConnection): add debug info when server is disabled.
8872 * ColorHandler.C (getGCForeground): send debug message to GUI
8875 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8877 * kbmap.C (bind): modify because return conventions of
8878 kb_sequence::parse have changed.
8880 * kbsequence.C (parse): only ignore spaces and not any stupid
8881 control character. This avoids tests like s[i] <= ' ', which are
8882 guaranteed to fail with 8bit characters and signed chars.
8883 Change return code to string::npos when there have been no error
8884 (0 was a bad idea when error is at first character)
8886 2001-11-14 José Matos <jamatos@fep.up.pt>
8889 * buffer.C (simpleDocBookOnePar): removed unused argument.
8891 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8893 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8894 insets which are part of a word. Paragraph::isLetter takes care of
8895 that now. Use Paragraph::isInset to identify insets.
8896 (selectSelectedWord): do not test for hyphenation break.
8898 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8899 that protected spaces are considered as spaces.
8901 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8904 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8907 * lyxserver.C: fix it. and small cleanup.
8909 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8911 * BufferView_pimpl.C: use inline helpers
8914 * LaTeXFeatures.C: fix typos
8917 * Spacing.C: move spacing_string into class
8919 * ToolbarDefaults.C: move stuff into namespace anon
8921 * layout.h: update enum
8923 * lyxfunc.C: use better debug
8925 * minibuffer.h: fix typo
8929 * WorkArea.C: add and use Debug::WORKAREA
8933 * text2.C: code re-organisation, inline helpers
8935 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8937 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8938 std::vector.empty().
8940 2001-11-09 Allan Rae <rae@lyx.org>
8942 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8943 '\n's after tables. Tabular and ERT inset work now makes this no
8946 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8949 * minibuffer.C: fix crash, improve drop-down completion
8951 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8954 * lyxserver.C: invalidate fd's when doing endPipe()
8956 2001-11-08 José Matos <jamatos@fep.up.pt>
8958 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8959 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8962 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8964 2001-11-07 José Matos <jamatos@fep.up.pt>
8967 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8970 * buffer.C (sgmlOpenTag):
8971 * buffer.C (sgmlCloseTag): removed debug info.
8973 * buffer.h (sgmlOpenTag):
8974 * buffer.h (sgmlCloseTag): made public.
8976 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8978 * buffer.C (saveParamsAsDefaults):
8979 * lyx_cb.C (MenuLayoutSave): remove
8981 * LyXAction.C (init):
8983 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8985 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8987 * buffer.C (setPaperStuff): removed from here...
8989 * bufferparams.C (setPaperStuff): ... and moved there.
8991 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8995 * XFormsView.C: add support for drop-down completion
8997 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8999 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9002 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9004 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9007 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9009 * lyx_main.C: change ref to known bugs
9011 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9013 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9014 to work around older babel problems.
9016 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9018 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9020 2001-10-24 Juergen Vigna <jug@sad.it>
9022 * tabular-old.C (ReadOld): below variable changes reflected.
9024 * tabular.[Ch]: added ltType struct for longtable header/footer
9025 defines and changed all instances where they are used. Added
9026 future support for double top/bottom rows.
9028 2001-10-24 José Matos <jamatos@fep.up.pt>
9030 * buffer.h (docbookHandleCaption):
9031 * buffer.C (docbookHandleCaption): removed unused function.
9032 (makeDocBookFile): moved docbook supported version to v4.1.
9034 2001-10-24 José Matos <jamatos@fep.up.pt>
9037 * tabular.C (docbookRow): new function to export docbook code of a row.
9038 (DocBook): now honors the longtable flags.
9040 2001-10-23 José Matos <jamatos@fep.up.pt>
9043 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9044 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9046 * buffer.C (makeLinuxDocFile):
9047 (makeDocBookFile): reworked the preamble, more clean, and with
9048 support for lyx defined entities. Changed the document declaration
9049 to be more XML friendly.
9051 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9052 if we need to output XML that should be done with a filter.
9054 2001-10-22 Juergen Vigna <jug@sad.it>
9056 * sp_pspell.h (class PSpell): add alive function needed in the
9057 controller to see if the spellchecker could be started.
9059 2001-10-22 Juergen Vigna <jug@sad.it>
9061 * buffer.C (insertStringAsLines): modify the font for inserting
9062 chars in certain conditions by calling checkInsertChar(font).
9064 2001-10-19 Juergen Vigna <jug@sad.it>
9066 * text.C (workWidth): use getRow instead of wrong algorithm.
9067 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9069 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9074 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9076 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9078 * text.C (workWidth): do not search for the exact row when
9079 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9080 optimization for big documents.
9082 2001-10-18 Juergen Vigna <jug@sad.it>
9084 * text.C (workWidth): new function with added Inset * parameter.
9086 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9088 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9090 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9091 change return type of getColumnNearX.
9094 * text.C (changeRegionCase): use uppercase/lowercase instead of
9097 (rightMargin): simplify code by factoring out the uses of
9102 (appendParagraph): use Paragraph::size_type
9104 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9106 * vspace.C (asLatexString): add a missing break
9108 2001-10-15 Herbert Voss <voss@perce.de>
9110 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9112 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9114 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9117 2001-10-10 André Pönitz <poenitz@gmx.net>
9119 * lyxfunc.C: removed greek_kb_flag.
9121 2001-10-10 Herbert Voss <voss@perce.de>
9123 * lyx_main.C: delete global string help_lyxdir.
9125 2001-10-09 Herbert Voss <voss@perce.de>
9127 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9129 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9131 * lyx_main.C: added global string help_lyxdir.
9133 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9135 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9137 * lyxrc.C (set_font_norm_type): support iso8859-4
9139 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9141 * LaTeX.C (deplog): add another regex for MikTeX
9143 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9145 * lyxrc.C (set_font_norm_type): support iso8859-3
9147 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9149 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9151 * LaTeXFeatures.C: remove special case of french and index
9153 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9154 before \begin{document}). This solves several incompatibilities.
9156 2001-10-03 Garst Reese <reese@isn.net>
9158 * lyx_cb.C: change CheckTex error msg.
9160 2001-10-03 José Matos <jamatos@fep.up.pt>
9162 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9164 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9166 * .cvsignore: update
9168 * lyx_main.C (commandLineVersionInfo): use new style version info.
9170 * buffer.C (writeFile):
9173 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9175 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9177 * version.h: update to use stuff in version.C
9179 * version.C.in: new file. Contains version information determined
9180 at compile time. This is a merging of version.h and
9183 2001-10-03 Juergen Vigna <jug@sad.it>
9185 * BufferView_pimpl.C (update): don't change "dirty" status in
9188 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9190 * WorkArea.C (c-tor): re-position version string slightly.
9192 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9194 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9195 revert to previous code.
9197 WorkArea.[Ch]: (show, destroySplash): methods removed.
9199 WorkArea.C: rework code so that it's an amalgam of the codes before and
9200 after the splash screen was moved to WorkArea.
9202 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9205 * vspace.C (inPixels):
9208 * buffer.C (insertStringAsLines):
9209 (asciiParagraph): fix types to be large enough
9211 * lyxlex_pimpl.h: change member status from short to int
9213 * layout.h: fix type of endlabeltype
9216 * kbsequence.C (parse): change return type to string::size_type
9218 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9221 * Bullet.C (bulletSize):
9222 (bulletEntry): do not use short ints as parameters
9224 * BufferView2.C (insertLyXFile): change a char to an int.
9226 * WorkArea.C (WorkArea): remove unneeded floats in computation
9228 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9230 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9232 * paragraph.C (asString): Do not ignore newline/hfill chars when
9233 copying to the clipboard.
9235 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9237 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9238 after a multi-line inset.
9240 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9242 * paragraph.C (validate): Set NeedLyXFootnoteCode
9244 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9246 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9247 and decrease-error to decrease.
9249 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9251 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9252 it more readable (should be equivalent)
9254 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9256 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9258 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9260 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9261 of a cursor (row, etc.) after a character has been deleted
9262 (deleteEmptyParagraphMechanism): call the method above on _all_
9263 cursors held by the LyXText when a double space has been
9266 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9268 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9270 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9272 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9273 background. Use greyOut() and the new show() methods to toggle between
9274 the foreground and background. Add code to remove the splash after
9275 its initial showing.
9277 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9278 (create_forms): no longer call Dialogs::showSplash.
9280 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9282 * .cvsignore: add version_info.h
9284 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9286 * version_info.h.in: new file
9288 * Makefile.am: add version_info.h.in
9290 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9291 version_info.h instead of VERSION_INFO
9293 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9295 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9296 The ERT inset now returns string().
9298 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9300 * lyxtext.h, text.C (selectNextWord): renamed as
9301 selectNextWordToSpellcheck.
9303 * text.C (selectNextWordToSpellcheck): Modified to not select
9304 words inside an ERT inset.
9306 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9308 * lyx_cb.C (MenuLayoutSave): change a bit the question
9310 * sp_base.h: include <sys/types.h>
9312 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9314 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9316 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9318 * several files: fix typos in user-visible strings
9320 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9322 * text2.C (pasteSelection): do not set the selection, since it
9323 will be cleared later. Actually, the intent was to fix the way the
9324 selection was set, but I figured rmoving the code was just as good.
9326 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9328 * FontLoader.C (available): Check if font is available without
9331 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9333 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9335 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9337 * lyxrc.[Ch]: added display_graphics variable and associated code.
9339 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9341 * bufferparams.C (hasClassDefaults): new method. Returns true if
9342 the buffer parameters correspond to known class defaults
9344 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9346 * XFormsView.C (show): set minimum size to the main window.
9348 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9350 * text2.C (copySelection):
9352 * lyxfind.C (LyXReplace):
9353 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9354 LyXText::selectionAsString.
9356 * paragraph.C (asString): add "label" argument to the second form
9358 * text2.C (selectionAsString): add "label" argument and pass it to
9359 Paragraph::asString.
9361 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9363 * lyx_main.C (commandLineHelp): remove version information
9365 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9367 * lyx_main.C: add -version commandline option
9369 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9371 * paragraph.h: make the optional constructor arg required instead.
9372 some modifications to other files because of this.
9374 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9376 * lyxserver.C (C_LyXComm_callback): make it static
9378 * lyx_main.C (error_handler): make it static
9380 * lyx_gui.C (LyX_XErrHandler): make it static
9382 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9384 * WorkArea.C: make the extern "C" methods static.
9386 * Makefile.am (lyx_LDADD): simplify
9388 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9390 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9391 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9393 * LyXAction.C (init):
9394 * lyxfunc.C (dispatch): associated code removal.
9396 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9398 * lyxfont.h (isSymbolFont): shut off warning
9400 * text.C (setHeightOfRow):
9401 (getVisibleRow): fix crash with empty paragraphs which have a
9404 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9406 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9409 2001-09-04 José Matos <jamatos@fep.up.pt>
9412 * tabular.C (docbook): rename docBook method to docbook.
9414 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9416 * Makefile.am: add dependencies to main.o.
9418 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9420 * FontLoader.C (available): Return false if !lyxrc.use_gui
9422 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9424 * FontInfo.C (query):
9425 * converter.C (view):
9426 * importer.C (Import):
9427 * exporter.C (Export): Can not -> cannot.
9429 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9431 * BufferView_pimpl.C: allow to create index inset even if
9434 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9436 * buffer.C (getLists): replace boost::tie code with an explicit pair
9437 as boost::tie can break some compilers.
9439 * iterators.h: Added a std:: declaration to the return type of
9442 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9444 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9447 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9449 * iterators.[Ch]: New files. Provide paragraph iterators.
9451 * buffer.C (changeLanguage): Use paragraph iterators.
9452 (isMultiLingual): ditto
9454 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9456 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9458 * FontLoader.C: Support for cmr font.
9460 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9462 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9463 (available): New method.
9465 * FontInfo.C (getFontname): Use scalable fonts even when
9466 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9469 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9471 * converter.C (Formats::view): reverted! Incorrect fix.
9473 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9475 * converter.C (Formats::view): only output the -paper option
9476 if the dvi viewer is xdvi, thereby fixing bug #233429.
9478 2001-08-23 Herbert Voss <voss@perce>
9480 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9482 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9484 * Spacing.h (Spacing): Set space to Default on in the default
9487 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9489 * vc-backend.h (RCS::versionString): add RCS to version
9490 (CVS::versionString): add CVS to version
9492 * vc-backend.C (scanMaster): do not add CVS to version.
9493 (scanMaster): do not add RCS to version
9495 * lyxvc.C (versionString): new method
9497 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9499 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9501 * Spacing.C (set): initialize fval
9503 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9505 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9508 2001-08-16 Juergen Vigna <jug@sad.it>
9510 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9512 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9514 * BufferView_pimpl.C:
9517 * text2.C: setParagraph takes linespacing now
9519 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9521 * LyxAction.C: add internal LFUN_CITATION_INSERT
9523 * LyXView.C: actually apply fix
9525 * bufferlist.C: fix open non-existent file
9527 * lyxfind.C: fix indentation
9529 * lyxfunc.C: remove unneeded assert, fix typo
9531 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9533 * MenuBackend.C: use "Floatname List"
9535 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9537 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9538 when converting LaTeX layout to insetERT.
9539 Generate a non-collapsed float when reading old float
9541 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9543 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9546 2001-08-13 Juergen Vigna <jug@sad.it>
9548 * text.C (fill): return 0 instead of 20 as this seems to be the more
9551 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9553 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9556 2001-08-13 Juergen Vigna <jug@sad.it>
9558 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9560 (SearchBackward): comment out the unlocking of the inset_owner this
9561 should not be needed!
9563 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9565 * Many files: Remove inherit_language, and add latex_language
9567 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9570 2001-08-10 Juergen Vigna <jug@sad.it>
9572 * text.C (prepareToPrint): fixed hfill-width in draw!
9574 * BufferView2.C (selectLastWord): save the selection cursor as this
9575 now is cleared in the function LyXText::clearSelection!
9577 2001-08-08 Juergen Vigna <jug@sad.it>
9579 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9580 BACKSPACE type functions.
9582 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9583 is only cutted from the document but not put in the cut-buffer, where
9584 still the old stuff should be.
9586 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9588 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9590 * tabular.C (SetWidthOfCell): fixed special case where the width
9592 (LeftLine): handle '|' in align_special.
9594 (LeftAlreadyDrawed): ditto
9595 (SetWidthOfCell): ditto
9597 2001-08-07 Juergen Vigna <jug@sad.it>
9599 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9601 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9603 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9604 * lyxlex.[hC]: ditto
9606 2001-08-06 Juergen Vigna <jug@sad.it>
9608 * text.C (getVisibleRow): fix up row clearing a bit.
9610 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9612 * minibuffer.C: make sure the X server sees the changes in the input.
9614 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9616 * paragraph.C (getFont): split into...
9617 (getLabelFont): this
9618 (getLayoutFont): and this
9619 * paragraph_pimpl.C (realizeFont): calling this
9621 * text2.C (getFont): split into...
9622 (getLayoutFont): this
9623 (getLabelFont): and this
9624 (realizeFont): all three calling this
9626 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9629 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9631 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9633 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9635 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9636 layouts from the Quote inset insertion.
9638 2001-08-03 Juergen Vigna <jug@sad.it>
9640 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9642 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9643 only if status not is already CHANGED_IN_DRAW (second level).
9645 * text.C (draw): don't set the need_break_row when inside an
9648 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * buffer.C (parseSingleLyXformat2Token): handle more latex
9653 * bufferview_funcs.[hC]: change function names to
9654 begin with small char, adjust other files.
9656 2001-08-02 André Pönitz <poenitz@gmx.net>
9659 BufferView_pimpl.C: remove broken special code for math-greek
9661 2001-08-02 Juergen Vigna <jug@sad.it>
9663 * BufferView_pimpl.C (update): redone this function so that we
9664 update the text again if there was a CHANGE_IN_DRAW.
9666 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9667 (drawFromTo): added a new internal bool which is used by draw() and
9669 (general): some cursor drawing problems fixed.
9671 2001-08-01 Juergen Vigna <jug@sad.it>
9673 * lyxfind.C (LyXFind): fixed
9674 (SearchForward): ditto
9675 (SearchBackward): ditto
9677 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9678 spurius drawing of the cursor in the main area.
9680 * text2.C (status): small fix which could lead to a segfault!
9681 (clearSelection): remove unneeded BufferView param.
9683 2001-08-01 André Pönitz <poenitz@gmx.net>
9685 * lyxfunc.C: small change due to changed mathed interface
9687 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9689 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9691 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9693 * lyxfunc.c: fail gracefully if file doesn't exist
9698 * BufferView_pimpl.C: IsDirWriteable() proto changed
9700 * LyXView.C: fix updateWindowTitle() to store the last title
9702 2001-07-31 Juergen Vigna <jug@sad.it>
9704 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9705 the font (wrong since using of Paragraph::highestFontInRange).
9707 * paragraph.C (highestFontInRange): added a default_size parameter.
9709 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9710 (setHeightOfRow): reformat
9712 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9714 * converter.[hC] + affected files: move to (inital-char)lowercase
9717 * ParagraphParameters.C (ParagraphParameters): remove commented code
9719 * PainterBase.[Ch]: remove commented code
9721 * LaTeXFeatures.h: add "bool floats" for float.sty
9723 * LaTeXFeatures.C (LaTeXFeatures): init floats
9724 (require): handle float
9725 (getPackages): do it with floats
9727 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9729 * BufferView_pimpl.C (Dispatch): improve handling of
9730 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9732 * commandtags.h: #include lyxfont.h here temporarily to avoid
9735 * bufferlist.h: include LString.h here.
9737 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9739 * text2.C (getStringToIndex): new method.
9741 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9743 * *: Reduced header file dependencies all over.
9745 2001-07-30 Baruch Even <baruch@lyx.org>
9747 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9749 2001-07-29 Baruch Even <baruch@lyx.org>
9751 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9753 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * ParameterStruct.h (endif): add a default constructor to make
9756 sure that all variables is initialized.
9758 * ParagraphParameters.C (ParagraphParameters): adjust
9760 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9762 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9763 index; also, check that there is something to index, and that it
9764 does not span over several paragraphs.
9765 (doubleClick): use WHOLE_WORD_STRICT for double click.
9767 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9769 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9772 2001-07-26 Baruch Even <baruch@lyx.org>
9774 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9775 an InsetFig figure, backwards compatible reading of old figure code.
9777 2001-07-27 Juergen Vigna <jug@sad.it>
9779 * text2.C: font.realize function adaption.
9781 * text.C (draw): add a warnings lyxerr text if needed.
9783 * layout.C: font.realize function adaption.
9785 * language.C: add inherit_language and implement it's handlings
9787 * bufferview_funcs.C (StyleReset): remove language parameter from
9788 font creation (should be language_inherit now).
9790 * bufferparams.C (writeFile): handle ignore_language.
9792 * paragraph.C (getFontSettings): the language has to be resolved
9793 otherwise we have problems in LyXFont!
9795 * lyxfont.C (lyxWriteChanges): added document_language parameter
9796 (update): removed unneeded language parameter
9798 * paragraph.C (validate): fixed wrong output of color-package when
9799 using interface colors for certain fonts in certain environments,
9800 which should not seen as that on the final output.
9802 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9804 * BufferView_pimpl.C:
9809 * LyXAction.C: add thesaurus support
9812 * lyxfind.C: add "once" parameter, for thesaurus, to not
9813 move to the next match
9815 2001-07-26 Juergen Vigna <jug@sad.it>
9817 * lyxfont.C (realize): honor ignore_language too!
9820 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9822 * text.C (draw): one place more for ignore_language to not draw
9825 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9827 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9829 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9831 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9832 the minipage conversion problem.
9834 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9836 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9839 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9841 * BufferView.h: don't forward declare WorkArea
9843 * BufferView.C: don't include WorkArea.h
9845 2001-07-25 André Pönitz <poenitz@gmx.net>
9849 * lyxfunc.C: new LFUN 'math-space'
9851 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9853 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9855 * text2.C (toggleInset): call open/close
9857 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9859 * lyxfunc.C (dispatch): add debug for the disabled case
9861 * font.C (buttonText): make similar to rectText
9863 * buffer.C (readInset): comment out parsing of insetlist and
9866 * PainterBase.C (rectText): small correction
9868 * BufferView_pimpl.C: comment out insettheorem and insetlist
9869 * LyXAction.C: ditto
9870 * commandtags.h: ditto
9872 2001-07-24 Juergen Vigna <jug@sad.it>
9874 * text.C (draw): honor the ignore_language.
9876 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9878 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9880 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9883 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9885 * lyxtext.h: remove unused (and unimplemented) methods
9887 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9889 * text.C (getVisibleRow): honor background color
9892 * Painter.h: remove default color argument for fillRectangle
9894 * text.C (backgroundColor): new method
9896 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9898 * text.C (getVisibleRow): adjust
9900 * font.[Ch] (rectText): new method, metrics
9901 (buttonText): new method, metrics
9903 * PainterBase.[hC]: make rectText and buttonText always draw and take
9906 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9908 * ToolbarDefaults.C (read):
9909 * MenuBackend.C (read): allow escaping in all strings
9911 * BufferView_pimpl.C (insertAndEditInset): new method.
9912 (Dispatch): use insertAndEditInset whenever appropriate.
9914 * BufferView_pimpl.C (insertNote): removed
9916 * BufferView_pimpl.C (smartQuote): new method, moved from
9917 BufferView; if an insetquote cannot be inserted, insert a '"'
9920 * BufferView2.C: remove insertCorrectQuote();
9922 * lyxfunc.C (getStatus): Add support for all remaingin
9925 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9927 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9928 command (necessary to pass " as parameter of self-insert.
9930 * text.C (selectWordWhenUnderCursor):
9931 (selectWord): add word_location parameter
9932 (selectWordWhenUnderCursor): same + remove special code for word
9934 (selectNextWord): use kind() to guess type of insetspecialchar,
9937 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9938 (insertErtContents): create ert insets as collapsed.
9939 (readInset): better compatibility code for Info inset.
9941 2001-07-20 Juergen Vigna <jug@sad.it>
9943 * lyxfunc.C (dispatch): use always LyXFind now!
9945 * text2.C (init): add a reinit flag so that the LyXText can be
9946 reinited instead of deleted and reallocated (used in InsetText).
9948 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9954 2001-07-18 Juergen Vigna <jug@sad.it>
9956 * text.C (selectNextWord): handle insets inside inset by calling
9957 always the bv->text functions so that we can go up the_locking_inset!
9959 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9960 in strange locations when inside an inset!
9962 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9963 handling to include insets.
9965 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9967 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9969 * LyXAction.C (init):
9971 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9972 LIGATURE_BREAK, since the name is so stupid.
9974 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9976 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9979 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9981 * sp_form.[Ch]: remove.
9983 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9985 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9988 * src/buffer.C (readInset): ditto.
9990 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9992 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9993 menuSeparator(), endOfSentenceDot(), ldots() and
9994 hyphenationPoint(), which are therefore removed.
9995 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9997 * LyXAction.C (init):
9998 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10000 * paragraph.C (getWord): removed.
10002 * BufferView_pimpl.C (Dispatch): use last word or selection for
10003 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10005 * lyx_main.C (queryUserLyXDir): do not ask before creating
10006 user_dir, except if it has been named explicitely.
10008 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10010 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10011 a document of zero size.
10013 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10015 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10016 approriately in the c-tor and in require().
10017 (getPackages): output the appropriate LaTeX for natbib support.
10019 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10020 variables "use_natbib" and "use_numerical_citations" when reading the
10022 (readInset): read the various natbib cite commands.
10023 (validate): white-space change.
10025 * bufferparams.[Ch]: new variables "bool use_natbib" and
10026 "bool use_numerical_citations".
10027 (writeFile): output them in the LyX file.
10029 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10031 * lyxfunc.C (getStatus): add support for all the inset insertion
10034 * text2.C (insertInset):
10035 * paragraph.C (insetAllowed):
10036 * BufferView_pimpl.C (insertInset): update to take in account the
10037 renaming of insertInsetAllowed
10039 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10041 * text2.C (getInset): new method. returns inset at cursor position.
10043 * BufferView_pimpl.C (Dispatch): changes because of this.
10045 * LyXAction.C (init): rename open-stuff to inset-toggle.
10047 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10049 * text2.C (toggleInset): renamed from openStuff; use
10052 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10054 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10056 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10058 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10060 * buffer.C (readLyXformat2): Add filename to the error dialog
10062 2001-07-18 Juergen Vigna <jug@sad.it>
10064 * tabular.C (GetCellNumber): put an assert here instead of the check!
10066 2001-07-17 Juergen Vigna <jug@sad.it>
10068 * BufferView_pimpl.C (toggleSelection): adapted too.
10070 * text.C (selectNextWord): adapted for use with insets.
10071 (selectSelectedWord): ditto
10073 2001-07-17 Juergen Vigna <jug@sad.it>
10075 * sp_spell.C (PSpell): fix initialitation order.
10077 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10079 * paragraph.C: spacing
10081 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10083 * sp_spell.C: repair language selection for pspell
10085 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10087 * lyxfunc.h: change more methods to begin with lower char.
10089 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10091 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10092 for unknown layouts.
10094 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10096 * buffer.C (readLyXformat2): Generate an error dialog if there are
10099 2001-07-16 Juergen Vigna <jug@sad.it>
10101 * sp_spell.C: always compile ISpell part.
10103 * lyxrc.C: added use_pspell entry and it's handling.
10105 2001-07-13 Juergen Vigna <jug@sad.it>
10107 * sp_spell.C: removed double includes.
10109 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10111 Consistent use of Lsstream.h:
10112 * Lsstream.h: added using std::stringstream for consistencies sake.
10114 * buffer.C: removed using std::stringstream
10116 * lyxfont.C (stateText):
10117 * paragraph.C (asString):
10118 * text.C (selectNextWord, selectSelectedWord):
10119 * text2.C (setCounter):
10120 * vspace.C (asString, asLatexString):
10121 std::ostringstream -> ostringstream.
10123 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10125 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10126 * commandtags.h: add LFUN_HELP_ABOUTLYX
10127 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10129 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10131 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10133 * lyx_gui_misc.C: remove spellchecker
10134 * lyxfunc.C: showSpellchecker
10136 * sp_ispell.h: added
10137 * sp_pspell.h: added
10138 * sp_spell.C: added
10139 * sp_form.[Ch]: removed
10140 * spellchecker.[Ch]: removed
10142 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10144 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10146 (simpleTeXSpecialChars): Simply print the input character without
10147 any special translation if pass_thru is set.
10149 * layout.h: Added bool pass_thru to layout class for being able to
10150 implement pass through of a paragraph for Literate Programming.
10152 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10153 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10154 * layout.C (Read): add "passthru" to list of layout tags and add
10155 code to set the pass_thru boolean when it is read.
10157 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10159 * trans_decl.h: remove allowed from KmodInfo
10161 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10162 remove allowed code
10165 * paragraph_pimpl.C (erase): use boost::prior
10167 * Painter.C (text): use data() instead of c_str() when length is
10169 * WorkArea.C (putClipboard): ditto
10170 * font.h (width): ditto
10172 * BufferView2.C: use it-> instead of (*it). for iterators
10174 * paragraph_pimpl.C: ditto
10175 * paragraph.C: ditto
10176 * minibuffer.C: ditto
10177 * language.C: ditto
10179 * encoding.C: ditto
10180 * counters.C: ditto
10181 * converter.C: ditto
10183 * Variables.C: ditto
10184 * TextCache.C: ditto
10185 * MenuBackend.C: ditto
10186 * LyXAction.C: ditto
10188 * FloatList.C: ditto
10189 * DepTable.C: ditto
10190 * ColorHandler.C (LyXColorHandler): ditto
10192 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10194 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10196 * text2.C (openStuff): reintroduce this method (which had been
10197 nuked in NEW_INSETS frenzy).
10199 * lyxfunc.C (Dispatch): when an action has not been handled, use
10200 its name in the error message, not its number.
10202 * paragraph.C (inInset): change method name to begin with lowercase.
10205 * text2.C: updates because of this.
10207 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10209 * ToolbarDefaults.C (add): add spaces in error message
10211 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10213 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10214 (readLyXformat2): rename return_par to first_par, use lyxlex's
10215 pushToken and remove the manual push handling.
10216 (parseSingleLyXformat2Token): add another ert comp. variable:
10217 in_tabular, rename return_par to first_par. handle newlines better
10219 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10221 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10223 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10225 * text2.C (getParFromID): removed
10227 * buffer.C (getParFromID): new method moved form lyxtext.
10228 * BufferView2.C (insertErrors): adjust
10229 (setCursorFromRow): adjust
10230 * BufferView_pimpl.C (restorePosition): adjust
10231 * lyxfunc.C (Dispatch): adjust
10232 * undo_funcs.C (textUndo): adjust
10234 (textHandleUndo): adjust
10235 (textHandleUndo): adjust
10237 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * buffer.C: up' the LYX_FORMAT
10241 * lyxfont.h: turn NO_LATEX on as default
10243 * buffer.C (insertErtContents): new methods of tex style compability.
10244 (parseSingleLyXformat2Token): use it several places.
10245 * tabular.C (OldFormatRead): and here
10247 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * text2.C: remove some commented code.
10252 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10253 * trans.C: changes because of the above.
10255 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10257 * text2.C (setCounter): Fix counters bug with bibliography layout.
10259 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10261 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10262 own member functions
10263 (simpleTeXSpecialChars): ditto
10265 2001-07-06 Juergen Vigna <jug@sad.it>
10267 * a lot of files: changed the access to LyXText::status and the
10268 call of undo-functions.
10270 * undo.[Ch]: added a inset_id to the undo informations.
10272 * undo_funcs.[Ch]: added and moved here all undo functions.
10274 * lyxtext.h: give the status enum a weight, made status_ a private
10275 variable and made accessor functions for it, removed the whole bunch
10276 of undo-functions as they are now in their own file, make some
10277 functions publically available. Added function ownerParagraph with
10280 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10281 made InInset() a const function, added getParFromID() function.
10283 * buffer.[Ch]: added const version for inset_iterator functions,
10284 added getInsetFromID() function.
10286 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10287 changed undo functions for new version.
10289 2001-07-05 Juergen Vigna <jug@sad.it>
10291 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10292 unknow mechanism does not call the proper constructor but only this
10293 one also if I request the other!?
10295 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10299 * text2.C (LyXText): use initialization lists.
10301 * lyxtext.h (Selection): initialize set_ and mark_
10302 (init): remove method
10304 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10306 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10308 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10310 * screen.[Ch]: change method names to begin with lowercase
10312 * BufferView_pimpl.C (updateScrollbar): simplify further and
10313 hopefully make it a bit faster.
10315 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10317 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10318 calling directly xforms functions.
10320 * Painter.C (Painter):
10321 * lyx_cb.C (MenuWrite):
10322 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10325 * lyx_gui.C: remove bogus guiruntime extern declaration.
10327 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10331 (redoDrawingOfParagraph): ditto
10332 (redoParagraphs): ditto
10333 (cutSelection): don't create a object for CutAndPaste use the
10334 static method directly
10335 (pasteSelection): ditto
10337 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10340 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * modifications to some other files because of this.
10344 * Makefile.am (lyx_SOURCES): add XFormsView
10346 * XFormsView.[Ch]: new files
10348 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10349 the main window. Move the gui dependent stuff to XFormsView
10351 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10353 * tabular.C (GetCellInset): update cur_cell also in the row/col
10354 version of this function.
10356 * lyxfunc.C: no need to include figure_form.h here.
10362 * lyxvc.C: no need to include forms.h here.
10364 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10368 * lyxfunc.C (Dispatch):
10370 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10371 constructor argument.
10373 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10375 * paragraph.C (Paragraph): dont't clear, and just set layout.
10376 (makeSameLayout): use params's copy contructor.
10378 * ParagraphParameters.[Ch] (makeSame): delete method
10380 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10382 * Variables.[Ch]: fix indentation, rename set to isSet
10384 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10386 * lyxfunc.C (Dispatch): fix typo
10388 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10390 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10393 * bufferlist.C: include assert.h for emergencyWrite().
10395 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10397 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10398 give up at last (bug #425202) !
10400 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10406 * spellchecker.C: strip spellchecker options and bring up
10407 preferences tab instead
10409 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10411 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10412 the istringstream constructor
10414 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10416 * paragraph.C (getLayout): fix return value
10418 * paragraph.h: do not declare getLayout as inline.
10420 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10422 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10424 * lyxcursor.h (operator<): new func
10425 (operator>): new func
10426 (operator>=): new func
10427 (operator<=): new func
10429 * text.C (changeCase): use selection.start and selection.end
10430 (changeRegionCase): require from to be <= to. Require par to be a
10433 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10435 2001-06-27 Juergen Vigna <jug@sad.it>
10437 * text.C (cursorLeftOneWord): changed to return the cursor and added
10438 overlay with BufferView * parameter which calls this one.
10440 (selectWord): use new getWord function.
10441 (changeCase): renamed from changeWordCase as and extended to work
10442 also on selections.
10444 * lyxtext.h: added enum word_location
10446 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10447 changeCase as this operates now also on selections.
10449 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10451 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10453 * many files: send debug output to Debug::INFO instead of
10456 * converter.C (View):
10458 (Move): send debug output to Debug::FILES instead of console.
10460 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10462 * lyxfunc.C (getStatus): use func_status
10464 * func_status.h: new header, describing the results of
10465 LyXFunc::getStatus;
10467 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10470 2001-06-25 The LyX Project <jug@sad.it>
10472 * buffer.C (sgmlOpenTag):
10474 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10476 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10478 * text2.C: remove some dead code
10480 * tabular.C (GetCellInset): store the last cell checked (gotten)
10482 * tabular.h: add the helper for the speedup
10484 * lyxtext.h: remove some dead code
10486 2001-06-26 The LyX Project <Asger>
10488 * paragraph.C: Change export to LaTeX of alignment to
10489 \begin{center} and family for better roundtrip work with reLyX.
10491 * Tune the math drawing a bit.
10493 2001-06-25 The LyX Project <Asger>
10495 * LColor.C (LColor): New color for math background. New color
10498 2001-06-25 The LyX Project <jug@sad.it>
10500 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10502 * lyxfunc.C (Open):
10503 * bufferlist.C (newFile): do not restrict to files ending with
10506 * BufferView_pimpl.C (MenuInsertLyXFile):
10508 2001-06-24 The LyX Project <jug@sad.it>
10510 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10513 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10515 * lyxtext.h: rename most methods to begin with a small char.
10516 Lots of changes because of this.
10518 * paragraph.C (Paragraph): do not call fitToSize
10519 (erase): call Pimpl::erase
10520 (insertChar): call Pimpl::insertChar
10521 (insertInset): call Pipl::insertInset
10522 (breakParagraph): do not call fitToSize
10523 (breakParagraphConservative): do not call fitToSize
10524 (fitToSize): remove method
10526 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10528 2001-06-24 The LyX Project <Asger>
10530 * Fix Qt compilation^2
10532 2001-06-24 The LyX Project <jug@sad.it>
10534 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10535 depthHook(getDepth()-1).
10538 * ParagraphParameters.h:
10539 * ParameterStruct.h: change type of depth to unsigned int ==
10540 depth_type. Many adaptations to other files before of that.
10542 2001-06-24 The LyX Project <Asger>
10544 * Fix Qt compilation.
10546 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10548 * paragraph.h: renamed several methods to begin with small letter.
10549 several changes to many parts of the code because of this.
10551 2001-06-23 The LyX Project <jug@sad.it>
10553 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10554 rewritten to discard all double spaces when KeepEmpty is off
10555 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10556 to only handle newlines but not fiddle with spaces and friends.
10558 * lyxfunc.C (MenuNew): when doing 'new from template', use
10559 template_path as default directory
10561 2001-06-23 The LyX Project <Asger>
10563 * Clean-up of header file includes all over
10564 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10566 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * paragraph.h: renamed from lyxparagraph.h
10570 2001-06-23 Asger <lyx@violet.home.sad.it>
10572 * Buffer.h: Removed Buffer::resize
10573 * BufferList.h: Removed BufferList::resize
10574 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10575 the document lazily when we change the width, or the font settings.
10577 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10579 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10581 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10583 * buffer.h: remove out of date comment
10585 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10588 * screen.C: fix "theoretical" GC leak
10590 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10592 * LaTeX.C (scanAuxFile):
10593 (deplog): remove trailing \r when reading stream (useful under
10596 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10598 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10599 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10600 and BufferView::theLockingInset(Inset*), so should use them and not
10601 access bv_->text->the_locking_inset directly.
10603 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10605 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10608 * tex-defs.h: remove old unused file
10610 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10612 * BufferView_pimpl.C: fix typo, remove minibuffer message
10613 when buffer has loaded
10615 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * lyxfunc.C (Dispatch): use stringstream
10618 (MenuNew): use stringstream
10619 (Open): use stringstream
10621 * importer.C (Import): use stringstream
10623 * bufferview_funcs.C (CurrentState): use stringstream
10625 * LaTeX.C (run): use stringstream
10627 * BufferView_pimpl.C (savePosition): use stringstream
10628 (restorePosition): use stringstream
10629 (MenuInsertLyXFile): use stringstream
10631 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10644 * vspace.C: removed // -*- C++ -*- as first line.
10647 * version.h: added // -*- C++ -*- as first line.
10649 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10651 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10653 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10656 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10658 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10661 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10663 * gettext.C: include LString.h even when --disable-nls is on.
10665 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10667 * converter.h (Get): changed argument type from int to
10668 FormatList::size_type to avoid unnecessary conversion.
10670 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10673 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10675 * gettext.h: include LString.h even when --disable-nls is on.
10677 2001-06-07 Juergen Vigna <jug@sad.it>
10679 * text.C (BreakAgain): subst spaces with tabs.
10681 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10682 (resizeInsetsLyXText): set force on resizeLyXText.
10684 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10686 * gettext.h (gettext_init):
10687 (locale_init): use a real definition instead of a macro
10689 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10691 * Bufferview_pimpl.C:
10693 * LColor.C: further lcolor tidies
10695 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10697 * BufferView_pimpl.C (updateScrollbar): simplify.
10699 * BufferView2.C: don't include insets/insetinfo.h, change
10700 prototype for insertInset and call the Pimpl version. let
10701 updateInset call Pimpl version.
10703 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10704 gotoInset to BufferView::Pimpl
10706 2001-06-01 Juergen Vigna <jug@sad.it>
10708 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10709 inside a LockingInset (is the update needed at all?).
10711 2001-05-31 Juergen Vigna <jug@sad.it>
10713 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10714 here not the old one otherwise how should we compare it afterwards
10717 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10722 * FontInfo.C: bring C functions into global namespace when
10725 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10727 * LString.h: make sure config.h has been loaded before LString.h.
10729 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10730 (one for each char read by EatLine!).
10732 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10735 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10737 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10738 to the same as the par we break from
10740 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10742 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10744 * MenuBackend.C (expand): also create menu entries for wide
10745 versions of the floats.
10747 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10749 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10751 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10752 frontends/Makefile.am
10758 * tabular.C (getTokenValue): add std::
10760 * tabular-old.C (getTokenValue): add std::
10761 (getTokenValue): ditto
10762 (getTokenValue): ditto
10764 * screen.C (ToggleSelection): adjust
10766 * lyxtext.h: put selection cursors inside a Selection struct.
10768 * lyxfunc.C (moveCursorUpdate): adjust
10770 * lyxfont.C (latexWriteStartChanges): add std::
10772 * lyxfind.C: adjust
10774 * font.h: delete with(char const *, LyXFont const &)
10776 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10778 * FontInfo.C (getFontname): add std::
10780 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10781 (workAreaButtonPress): adjust
10782 (tripleClick): adjust
10784 (moveCursorUpdate): adjust
10787 * BufferView2.C (gotoInset): adjust
10789 2001-05-30 Juergen Vigna <jug@sad.it>
10791 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10792 to check pspell I add this as default as I now have new pspell
10793 libraries and they seem to use this.
10795 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * text2.C (CutSelection): make the cursor valid before the call to
10800 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10802 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10803 relied on 0 terminated strings and other horrors. Bug found due to
10804 the new assert in lyxstring!
10806 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10809 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10811 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10814 * lyxfunc.C (processKeySym): change method of getting to the
10817 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10818 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10819 * BufferView_pimpl.[Ch]: here as private methods.
10821 2001-05-28 Juergen Vigna <jug@sad.it>
10823 * text.C (SetHeightOfRow): added the update() call again as it is
10824 needed to initialize inset dimensions!
10826 2001-05-16 Juergen Vigna <jug@sad.it>
10828 * text2.C (SetCharFont): Add new function with BufferView * and
10829 bool toggleall parameters for setting insets internal fonts.
10830 (SetFont): Freeze the undo as we may change fonts in Insets and
10831 all this change should be inside only one Undo!
10833 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10834 setting font's in insets as for them we have the SetFont function!
10836 2001-05-15 Juergen Vigna <jug@sad.it>
10838 * text2.C (ClearSelection): to be sure we REALLY don't have any
10841 * tabular.C (TeXCellPreamble): fixed the left border problem for
10844 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10846 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10849 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10851 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10852 LFUN_BREAKPARAGRAPH.
10854 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10855 help test to "internal only", similar for LFUN_INSERT_URL
10857 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10858 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10859 auto_region_delete and deadkeys.
10861 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10864 * LColor.C: remove some dead entries, tidy a little
10866 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10868 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10870 (Dispatch): implement LFUN_ESCAPE
10872 * commandtags.h: add LFUN_ESCAPE
10874 * LyXAction.C (init): add entry for LFUN_ESCAPE
10876 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10877 Remove commented code.
10878 (insertNote): moved here
10879 (open_new_inset): moved here
10881 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10884 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10886 * kbmap.C (findbinding): clean it up and make it work correctly.
10888 * lyx_main.C (init): do not pass argc and argv as parameters
10890 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10892 * buffer.C: fix path for OS/2 & Win32
10896 * lyx_main.C: Added os:: class.
10898 * os2_defines.h: update
10900 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10902 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10903 better by trying again with reduced state.
10905 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10907 * lyxrc.C (read): print error about invalid key sequence only when
10908 debugging (because not all latinX keysyms are known to some X
10911 * kbsequence.C (getiso): add a few std:: qualifiers
10912 (getiso): comment out extra return statement.
10914 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10916 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10918 (Dispatch): enhance the accent inset a bit. (not perfect)
10920 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10922 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10924 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10926 * bufferlist.C (emergencyWrite): fix assert() call
10928 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10930 * text.C (InsertChar): Added trivial patch to only send the "you
10931 can not do multiple spaces this way" message once during a
10934 2001-05-08 Baruch Even <baruch@lyx.org>
10936 * Makefile.am: Changed order of libraries to get LyX to link properly
10937 with the gnome frontend.
10939 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10941 * LaTeXFeatures.h: add a std:: qualifier
10943 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * paragraph.C (String): use stringstream
10947 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10949 * paragraph.C (writeFile): remove footflag arg
10951 * buffer.C (makeLaTeXFile): use stringstream
10952 (latexParagraphs): remove footnot gurba
10954 * LaTeXFeatures.C (getPackages): use stringstream
10955 (getMacros): likewise
10956 (getTClassPreamble): likewise
10957 (getFloatDefinitions): new method
10959 * paragraph.C (writeFile): reindent
10962 * WorkArea.h: revert the xpos + etc changes.
10964 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10966 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10968 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10969 (pasteSelection): likewise
10970 * text2.C (CreateUndo): likewise
10972 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * minibuffer.C (peek_event): temporarily reduce the functionality
10975 of the minibuffer (to allow args on lfuns)
10977 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10978 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10980 * buffer.C (readInset): add compability reading of old float
10981 lists, add reading of new style float list.
10982 (readInset): avoid reevaluation of inscmd.getCmdName()
10983 (getLists): reindent
10985 * MenuBackend.C (MenuItem): implement parsing of
10986 md_floatlistinsert and md_floatinsert.
10987 (expand::LastFiles): move initalizaton of iterators out of loop,
10988 avoid reevaluation.
10989 (expand::Documents): introduce typdedef vector<string> Strings,
10991 (expand::ExportFormats): introduce typedef vector<Format const *>
10992 Formats, and use it.
10993 (expand): implement FloatListInsert and FloatInsert.
10995 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10996 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10997 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10999 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11001 (Dispatch::LFUN_FLOAT_LIST): implement
11003 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11005 * LaTeX.C (run): Fix problem with --export code.
11007 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11009 * BufferView.[Ch] (workarea): removed.
11010 (getClipboard) new method; wrapper for workarea()->getClipboard()
11012 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11015 * WorkArea.h (width, height, xpos, ypos): These methods all
11016 returned the dimensions of the work_area sub-area of WorkArea,
11017 resulting in a position error if the WorkArea were resized. Now
11018 return the dimensions of the entire WorkArea.
11020 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11022 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11024 * LaTeX.C (deplog): correct the syntax of regex reg1
11026 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11028 * undo.C: remove !NEW_INSETS cruft
11030 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11032 * text2.C: remove !NEW_INSETS cruft
11034 * text.C: remove !NEW_INSETS cruft
11036 * tabular.C: remove !NEW_INSETS cruft
11038 * spellchecker.C: remove !NEW_INSETS cruft
11040 * lyxtext.h: remove !NEW_INSETS cruft
11042 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11044 * lyxfunc.C: remove !NEW_INSETS cruft
11046 * lyxfind.C: remove !NEW_INSETS cruft
11048 * lyx_cb.C: remove !NEW_INSETS cruft
11050 * figureForm.C: remove !NEW_INSETS cruft
11052 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11054 * buffer.[Ch]: remove !NEW_INSETS cruft
11056 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11058 * CutAndPaste.C: remove !NEW_INSETS cruft
11060 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11062 * BufferView2.C: remove !NEW_INSETS cruft
11064 * BufferView.h: remove !NEW_INSETS cruft
11066 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11068 * Lsstream.h: include LString.h before the sstream headers to
11069 fix problem with gcc 2.95.3 and lyxstring
11071 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11073 * lyx_main.C: add using directives when needed for C functions
11074 declared in std:: namespace.
11076 2001-04-27 Juergen Vigna <jug@sad.it>
11078 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11079 (SetHeightOfRow): comment out the update call should not be needed!
11081 2001-04-13 Juergen Vigna <jug@sad.it>
11083 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11084 (LyXTabular): tried to minimize operator= operations (and realized
11085 hopfully Lars wish).
11087 2001-04-27 Juergen Vigna <jug@sad.it>
11089 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11091 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11093 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11095 * buffer.C (readInset): hack to make listof algorithm work
11097 * BufferView_pimpl.C: hack to make listof algorithm work
11099 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11101 * LyXAction.C: removed all !NEW_INSETS cruft
11102 (init): moved lfun_item in method
11104 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11106 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11108 * BufferView2.C (theLockingInset): white space.
11110 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11112 * minibuffer.C: include <iostream>
11114 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11116 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11118 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11120 * text.[Ch] (TransposeChars): new method
11122 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11124 * call message directly through LyXView instead of through LyXFunc
11125 * BufferView2.C: adjust
11126 * BufferView_pimpl.C: adjust
11127 * FontLoader.C: adjust
11129 * bufferview_funcs.C: adjust
11130 * converter.C: adjust
11131 * figureForm.C: adjust
11132 * importer.C: adjust
11134 * lyx_gui_misc.C: adjust
11135 * lyxfunc.C: adjust
11138 + more files in subdirs
11140 * lyxparagraph.h (size): move up int file
11143 * adjust all uses of Assert to lyx::Assert.
11145 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11146 lyxfunctional in namespace lyx
11147 * layout.C (hasLayout): ditto
11150 (delete_layout): ditto
11151 (NumberOfClass): ditto
11152 * converter.C (GetFormat): ditto
11157 * bufferlist.C (getFileNames): ditto
11158 (emergencyWriteAll): ditto
11161 * MenuBackend.C (hasSubmenu): ditto
11164 * BufferView_pimpl.C (getInsetByCode): ditto
11166 2001-04-18 Juergen Vigna <jug@sad.it>
11168 * vspace.C (asLatexString): fixed the 100% problem.
11170 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11172 * lyxfunc.C (Dispatch):
11174 * minibuffer.h: add a few std:: qualifiers
11176 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * minibuffer.[Ch]: reimplement so that commands is initiated and
11179 run from lyxfunc, simplified som handling, and made the completion
11180 and history code for complete. wip.
11182 * lyxfunc.C (processKeySym): call message
11183 (miniDispatch): new temporary method
11184 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11185 (LFUN_MESSAGE): implement
11186 (LFUN_MESSAGE_PUSH): implement
11187 (LFUN_MESSAGE_POP): implement
11188 (initMiniBuffer): the initial/defualt minibuffer message.
11190 * lyxfont.[Ch]: inline some more getters
11192 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11194 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11196 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11197 (AutoSave): use LFUN_MESSAGE
11198 (Reconfigure): ditto
11200 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11202 * figureForm.C: use LFUN_MESSAGE
11204 * converter.C (runLaTeX): use LFUN_MESSAGE
11206 * bufferview_funcs.C: use LFUN_MESSAGE
11208 (changeDepth): ditto
11210 * bufferparams.h: use boost::
11212 * bufferlist.h: inherit privately from noncopyable
11214 * bufferlist.C (loadLyXFile): remove some commented code.
11216 * buffer.C (runChktex): use LFUN_MESSAGE
11218 * ShareContainer.h: inherit privately from noncopyable
11220 * ParagraphParameters.[hC] (depth): inline it.
11222 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11224 (message): new method
11225 (messagePush): ditto
11226 (messagePop): ditto
11227 (show): init minibuffer
11228 (showState): direct call
11230 * LaTeX.[Ch]: inherit privately from noncopyable
11231 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11232 instead of WriteStatus.
11234 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11236 * BufferView_pimpl.C (buffer): don't init minibuffer
11237 (workAreaButtonPress): use LFUN_MESSAGE
11238 (workAreaButtonRelease): ditto
11239 (savePosition): ditto
11240 (restorePosition): ditto
11241 (MenuInsertLyXFile): ditto
11242 (workAreaExpose): don't init minibuffer
11243 (update): remove commented code, simplify
11245 * BufferView2.C (openStuff): use LFUN_MESSAGE
11246 (toggleFloat): ditto
11249 (copyEnvironment): ditto
11250 (pasteEnvironment): ditto
11255 (updateInset): remove some commented code
11257 * lastfiles.h: inherit privately from noncopyable
11260 * lyx_main.h: ditto
11262 * lyxlex_pimpl.h: ditto
11264 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11265 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11266 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11268 * LyXAction.h: inherit privately from noncopyable, add methods
11269 func_begin, func_end, returning iterators to the func map.
11271 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11272 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11273 (func_begin): new method
11274 (func_end): new method
11276 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11278 (copySelection): ditto
11279 (pasteSelection): ditto
11281 * BufferView.C: whitespace change
11282 * BufferView.h: inherit privately from noncopyable
11284 2001-04-16 Allan Rae <rae@lyx.org>
11286 * tabular-old.C (l_getline):
11287 * spellchecker.C (sc_check_word):
11288 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11289 an unrecognised preprocessor directive. So ensure they're wrapped.
11291 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11293 * src/exporter.C (Export): Give an error message when path to file
11296 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11298 * LaTeX.C (deplog): Always check that foundfile exists.
11300 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11303 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11305 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * tabular.[Ch] (getLabelList): implement new method
11309 * minibuffer.h: comment ouf setTiimer
11311 * minibuffer.C (ExecutingCB): constify res
11312 (peek_event): constify s
11313 (Set): constify ntext
11314 (Init): constify nicename
11316 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11318 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11319 (savePosition): use two params to Minibuffer::Set
11320 (restorePosition): ditto
11322 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11324 * lyx_main.C: include language.h
11326 * Makefile.am (lyx_main.o): add language.h
11328 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11334 * CutAndPaste.C: include gettext.h
11336 * lyxfont.h: remove old hack with ON and OFF.
11339 * lyxfont.h: do not include language.h...
11344 * bufferview_funcs.C:
11350 * paragraph.C: ... but do it here instead
11352 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11356 * tabular.C: small reformat
11358 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11361 (BreakParagraph): ditto
11362 (SetOnlyLayout): ditto
11365 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11368 * lastfiles.C: removed most using decl, add std:: where needed
11370 * buffer.C: ws changes
11372 * MenuBackend.C (class compare_format): put into anon namespace
11373 (expand): constify label, names, action, action2
11376 * text.C (SingleWidth): constify font
11377 (IsBoundary): constify rtl2
11378 (GetVisibleRow): constify ww
11380 * LaTeX.C (deplog): constify logfile
11382 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11384 (workAreaExpose): constify widthChange, heightChange
11386 * lyxrow.C (par): moved
11389 * lyxrow.h: as inlines here
11391 * lyxfont.h (shape): moved from lyxfont.C
11392 (emph): moved from lyxfont.C
11394 * lyxfont.C (LyXFont): use initialization list for all
11396 (shape): move to lyxfont.h as inline
11397 (emph): move to lyxfont.h as inline
11400 2001-04-04 Juergen Vigna <jug@sad.it>
11402 * vspace.C: had to include stdio.h for use of sscanf
11404 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11407 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11408 independent of xforms.
11410 2001-04-02 Juergen Vigna <jug@sad.it>
11412 * spellchecker.C: fixed namespace placing!
11414 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11416 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11417 the LyXParagraph * is 0.
11419 2001-03-29 Juergen Vigna <jug@sad.it>
11421 * vspace.C: added support for %, c%, p%, l%.
11422 (stringFromUnit): added helper function.
11423 (asLatexString): changed to give right results for the %-values.
11425 * buffer.C: convert the widthp in a width%.
11427 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11429 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11432 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11433 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11435 * lyx_cb.[Ch]: see above.
11437 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11441 * lyx.[Ch]: replaced by figure_form.[Ch].
11445 * lyxfunc.C: changed headers associated with above changes.
11447 2001-03-27 Juergen Vigna <jug@sad.it>
11449 * BufferView_pimpl.C: set the temporary cursor right!
11451 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11453 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11455 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11457 * LString.h: removed "using std::getline"!
11459 * BufferView_pimpl.C (Dispatch): changes due to changes in
11460 InsetInclude::Params.
11462 * buffer.C (tag_name): removed redundant break statements as they were
11463 producing lots of warnings with my compiler.
11465 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11467 * LString.h: add "using std::getline" when using the real <string>.
11469 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11471 * buffer.C: removed bitset usage.
11472 PAR_TAG moved to an anonymous name space.
11473 (tag_name): new funtion, also in the anonymous namespace.
11474 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11475 (makeDocBookFile): clean code. Completed transition from string arrays
11477 (SimpleDocBookOnePar): code clean.
11479 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11481 * tabular.C: add some comments.
11483 2001-03-22 Juergen Vigna <jug@sad.it>
11485 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11486 compatibility read a bit and fixed bug with minipage in different
11489 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11491 * buffer.C (pop_tag): removed.
11492 (push_tag): removed.
11493 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11494 array replaced with vector. Added support for CDATA sections.
11495 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11497 (makeDocBookFile): XML conformant declaration of CDATA section,
11498 fixed bug related to <emphasis> in the first paragraph char.
11499 (sgmlOpenTag): exclude empty tags.
11500 (sgmlCloseTag): ditto.
11502 * buffer.h (pop_tag): removed.
11503 (push_tag): removed.
11505 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11507 * language.h (Languages): added size_type and size().
11509 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11511 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11512 response on compability reading of minipages. One probliem is that
11513 the old usage of minipages was «flertydig»
11515 * several files here and in subdirs: don't use static at file
11516 scope use anon namespaces instead.
11518 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11520 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11521 LaTeX output. This is necessary for Literate document
11524 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11526 * buffer.C: insert hfill when needed.
11528 * tabular.C (l_getline): use string::erase, small whitespace change.
11530 * BufferView_pimpl.C: try the anon namespace.
11531 * WorkArea.C: ditto
11533 2001-03-16 Juergen Vigna <jug@sad.it>
11535 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11536 otherwise it won't open options-dialogs.
11538 * buffer.C: honor pextraWidth(p) on converting minipages.
11540 * tabular.C (l_getline): changed the functions to strip trailing \r.
11542 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11544 * BufferView_pimpl.C:
11545 * minibuffer..C: added "using SigC::slot" declaration.
11547 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11549 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11555 * paragraph.C: ditto
11557 * lyxtext.h: NO_PEXTRA
11559 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11561 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11562 * ParameterStruct.h: ditto
11563 * ParagraphParameters.h: ditto
11564 * lyxparagraph.h: ditto
11566 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11568 * buffer.C: add compability for minipage alignment.
11569 (latexParagraphs): remove unwanted pextra check.
11571 * several files: remove CXX_WORKING_NAMESPACES
11573 * buffer.C (pop_tag): tie is in namespace boost
11575 * BufferView.h: noncopyable is in namespace boost
11577 * lyx_main.h: ditto
11580 * lastfiles.h: ditto
11581 * bufferlist.h: ditto
11582 * ShareContainer.h: ditto
11584 * LyXAction.h: ditto
11587 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11589 * Merging changes from BRANCH_MVC back into HEAD.
11591 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11593 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11595 * BufferView_pimpl.C: change from intl.C
11599 * Makefile.am: move combox.*
11605 * intl.C: remove dialog (covered by prefs)
11607 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11609 * lyxfunc.C (Dispatch): removed redundant break statement.
11611 2001-03-14 Juergen Vigna <jug@sad.it>
11613 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11615 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11617 * buffer.C: add hack to fix compability reading of minipages.
11619 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11621 * buffer.C (getLists): Cleanup.
11623 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11625 * lyxfont.C (update): don't honor toggleall on font size.
11627 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11631 * Makefile.am: moved to frontends/xforms/
11635 * BufferView_pimpl.C: changes for moved mathpanel
11637 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11639 * gettext.h: fix gettext_init() in --disable-nls
11641 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11643 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11645 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11648 * lyx.h: strip external form
11650 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11652 * BufferView_pimpl.C: add comment, destroySplash()
11654 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11656 * BufferView_pimpl.C:
11660 * lyxfunc.C: use re-worked insetinclude
11662 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11664 * buffer.C: add using std::stringstream.
11666 * lyx_cb.C: readd using std::ios.
11668 * buffer.C: add using std::map.
11670 * BufferView_pimpl.C: add using std::vector.
11672 * ShareContainer.h: add std:: to swap.
11674 * buffer.h: add some typedefs
11675 * buffer.C (getLists): use them
11676 (getLists): renamed from getTocList.
11677 add a counter for the different float types and use it in the
11679 (getLists): use the same counter for the NEW_INSETS and the "non"
11682 * lyx_cb.h: remove unused items, includes, using etc.
11684 * ShareContainer.h: remove some commented code, add more comments
11685 and "documentation".
11687 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11689 * buffer.C (getTocList): make the list also when NEW_INSETS is
11692 * buffer.h: remove TocType
11694 * buffer.C (getTocList): change to return a map<string,
11695 vector<TocItem> >, implement for dynamic number of list.
11697 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11698 * text2.C (PasteSelection): adjust
11699 * CutAndPaste.C (pasteSelection): adjust
11701 * FloatList.C (FloatList): update from the new_insets branch.
11702 * Floating.[Ch]: ditto
11703 * LaTeXFeatures.C: ditto
11705 * lyxlex_pimpl.C: ditto
11707 * paragraph.C (Last): remove when NEW_INSETS is defined.
11709 * other file: changes because of the above.
11711 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11713 * lyxparagraph.h: rename next to next_, previous to previous_,
11714 make them private for NEW_INSETS. Rename Next() to next(),
11715 Previous() to previous().
11717 * other files: changes because of the above.
11719 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11722 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11725 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11727 * main.C (main): pass lyx_localedir to gettext_init().
11729 * gettext.h: remove locale_init and gettext_init macros
11731 * gettext.C (locale_init): new function
11732 (gettext_init): new function
11734 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11737 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11739 * Moved credits to frontends:
11740 * credits.[Ch]: removed
11741 * credits_form.[Ch]: removed
11742 * lyx_gui_misc.C: remove credits stuff
11745 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11747 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11749 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11750 unneeded destructor.
11752 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11753 a standalone pointer again.
11755 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11757 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11763 * ToolbarDefaults.C:
11772 * BufferView_pimpl.C: use new file dialog in GUII
11775 * lyx_cb.C: remove LayoutsCB to Toolbar
11777 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11779 * ShareContainer.h (get): add std:: qualifier
11781 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11783 * ShareContainer.h: define a proper ShareContainer::value_type
11784 type (and use typename to please compaq cxx)
11786 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11788 * lyxparagraph.h: move serveral local vars to
11789 ParameterStruct/ParagraphParameters., use ShareContainer in
11790 FontTable., make vars in FontTable private and add getter and
11793 * paragraph.C: changes because of the above.
11795 * lyxfont.h: remove copy constructor and copy assignment. (the
11796 default ones is ok), move number inside FontBits. move inlines to
11799 * lyxfont.C: add number to initializaton of statics, move several
11800 inlines here. constify several local vars. some whitespace
11801 cleanup. Dont hide outerscope variables.
11803 * Spacing.h: add two new constructors to match the set methods.
11805 * ShareContainer.h: new file, will perhaps be moved to support
11807 * ParameterStruct.h: new file
11809 * ParagraphParameters.h: new file
11811 * ParagraphParameters.C: new file
11813 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11814 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11816 * BufferView_pimpl.C: ParagraphParameter changes.
11817 * buffer.C: Likewise.
11818 * bufferview_funcs.C: Likewise.
11819 * text.C: Likewise.
11820 * text2.C: Likewise.
11822 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11824 * lyxfind.C (LyXReplace): do not redefine default argument in
11826 (IsStringInText): ditto
11827 (SearchForward): ditto
11828 (SearchBackward): ditto
11830 2001-03-06 Juergen Vigna <jug@sad.it>
11832 * lyxfind.C (IsStringInText): put parentes around expressions.
11834 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11836 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11838 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11840 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11842 * stl_string_fwd.h: add comment
11844 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11847 * tabular.C: remove unused DocBook methods
11853 killed DO_USE_DEFAULT_LANGUAGE
11855 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11857 * lyx_gui.C: do not include language.h.
11859 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11860 arguments in function implementation.
11862 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11864 * BufferView_pimpl.C: add <ctime>
11866 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11868 * BufferView_pimpl.C: add using std::find_if
11870 2001-02-27 José Matos <jamatos@fep.up.pt>
11872 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11875 2001-02-11 José Matos <jamatos@fep.up.pt>
11877 * buffer.C (makeDocBookFile): command styles now have a parameter as
11878 "title" by default.
11880 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11882 * layout_forms.[Ch]: removed
11883 * lyx_cb.[Ch]: out character
11884 * lyx_gui.C: out character
11885 * lyx_gui_misc.C: out character
11886 * bufferview_funcs.C: : out character,
11887 added toggleall as parameter in ToggleAndShow
11889 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11891 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11893 * text2.C (SetCurrentFont): Disable number property at boundary.
11895 2001-02-26 Juergen Vigna <jug@sad.it>
11897 * lyxfunc.C (getStatus): added a string argument override function so
11898 that this is correctly called from LyXFunc::Dispatch if it contains a
11899 do_not_use_argument which is used!
11900 (Dispatch): added check for "custom" export and call appropriate func.
11902 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11904 * lyxrc.C: Add language_command_local, language_use_babel and
11905 language_global_options.
11907 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11909 * buffer.C (makeLaTeXFile): Use language_use_babel and
11910 language_global_options.
11912 2001-02-23 Juergen Vigna <jug@sad.it>
11914 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11915 which works with LyXText and putted it inside BufferView. Here now we
11916 only call for that part the BufferView::Dispatch() function.
11918 * BufferView.C (Dispatch): added.
11920 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11921 functions which needs to use a LyXText over from LyXFunc.
11922 (MenuInsertLyXFile): added
11923 (getInsetByCode): added
11924 (moveCursorUpdate): added
11925 (static TEXT): added
11927 2001-02-22 Juergen Vigna <jug@sad.it>
11929 * BufferView_pimpl.C (update): call a status update to see if LyXText
11932 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11934 * vc-backend.C (revert): implement for CVS
11935 (getLog): implement for CVS
11937 2001-02-20 Juergen Vigna <jug@sad.it>
11939 * text2.C (ClearSelection): added BufferView param for inset_owner call
11941 * lyxfunc.C (TEXT): added this function and use it instead of
11942 directly owner->view()-text of getLyXText().
11944 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11946 * src/layout_forms.C: out preamble
11947 * src/layout_forms.h: out preamble
11948 * src/lyx_cb.C: out preamble
11949 * src/lyx_cb.h: out preamble
11950 * src/lyx_gui.C: out preamble
11951 * src/lyx_gui_misc.C: out preamble
11952 * src/lyxfunc.C: connect with guii preamble
11954 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11956 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11958 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11960 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11961 whether to run bibtex.
11963 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11965 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11967 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11969 * Makefile.am (lyx_SOURCES): removed bibforms.h
11971 * vspace.h: doxygen
11973 * text.C (GetVisibleRow): make several local vars const
11975 * tabular.C: small cleanup.
11977 * lyxserver.C (callback): use compare instead of strncmp
11979 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11980 inlines to after class or to paragraph.C
11982 * lyxfont.h: remove friend operator!=
11984 * converter.h: move friend bool operator< to non friend and after
11987 * combox.h: small cleanup
11989 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11990 to inlines after class def.
11992 * buffer.C (pop_tag): use string operations instead of strcmp
11994 * bmtable.c: doxygen, small cleanup
11996 * LaTeX.h: remove friend operator==
11998 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12010 * BufferView_pimpl.C:
12011 * BufferView.[Ch]: remove cruft
12013 2001-02-14 Juergen Vigna <jug@sad.it>
12015 * lyxfunc.C: removed #if 0 unused code
12017 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12019 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12021 * text2.C (SetSelection): added a BufferView * parameter
12023 2001-02-13 Juergen Vigna <jug@sad.it>
12025 * lyxfunc.C (Dispatch): fixed protected blank problem.
12026 * BufferView2.C (protectedBlank): added LyxText * parameter.
12028 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12029 (AppendColumn): same as above for column_info.
12031 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12032 (moveCursorUpdate): use a LyXText param for support of InsetText.
12034 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12035 (tripleClick): ditto
12037 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12039 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12041 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12043 * text2.C (SetSelection): set correct update status if inset_owner
12044 (ToggleFree): ditto
12046 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12048 * tabular.C: remove some commented code.
12050 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12052 * BufferView_pimpl.C: call hideSplash()
12054 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12057 * bibforms.h: remove
12060 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12061 add LFUN_CHILD_CREATE
12063 * counters.h: fix tiny typo
12068 * lyx.C: move splash to frontends/xforms/
12070 * lyx_gui_misc.C: move Include and Bibform to frontends
12072 * lyxvc.h: clarify comment
12074 * vspace.C: tiny housekeeping
12076 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12078 * text.C (PrepareToPrint): RTL Fix.
12080 * paragraph.C (GetUChar): New method.
12081 (String): Use GetUChar.
12083 * buffer.C (asciiParagraph): Use GetUChar.
12085 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12087 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12089 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12092 * buffer.C: rename to getLogName(), handle
12093 build log / latex log nicely
12095 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12098 * MenuBackend.h: remove support for reference menuitem type.
12100 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12102 * BufferView_pimpl.C: housekeeping
12103 * BufferView_pimpl.h:
12108 * minibuffer.h: move Timeout GUI-I
12110 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12112 * lyxrc.C (read): Update converters data-structures.
12114 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12116 * LaTeX.h (operator!=): add operator != for Aux_Info
12118 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12120 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12122 * LaTeXLog.C: deleted, useful code moved to Buffer
12125 * buffer.C: new function getLatexLogName()
12131 * lyxfunc.C: use frontends for LaTeX and VC logs
12133 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12135 * LaTeX.h: yet another std:: that Allan forgot.
12137 * Variables.C (set): renamed from isset(), because this clashes
12138 with some HP-UX macros (grr).
12140 2001-02-06 Allan Rae <rae@lyx.org>
12142 * LaTeX.h: Another bug fix. Missing std:: this time.
12144 2001-02-04 Allan Rae <rae@lyx.org>
12146 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12147 floats problem. I've left it commented out because it's not quite
12148 correct. It should also test that the current object is a table or
12149 figure inset. But I haven't gotten around to figuring out how to do
12150 that. I *think* it'll be something like: "table" == inset.type()
12152 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12155 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12157 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12158 all the citation/databases/styles in the auxilary file.
12159 (run): Rerun latex if there was a babel language error.
12161 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12163 * text.C (Backspace): Preserve the font when changing newline char
12165 (BreakParagraph): If the cursor is before a space, delete the space.
12167 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12169 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12171 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12172 new argument (code).
12173 (ChangeCitationsIfUnique): New method.
12175 * paragraph.C (GetPositionOfInset): Handle bibkey.
12177 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12179 * BufferView_pimpl.h: change type of Position::par_pos to
12180 LyXParagraph::size_type.
12182 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12184 * BufferView_pimpl.C (savePosition, restorePosition): Write
12185 messages to minibuffer.
12187 2001-01-28 José Matos <jamatos@fep.up.pt>
12189 * buffer.C (makeDocBookFile): adds support for document language.
12190 A silly restriction on the name of LatexCommand types where removed.
12191 Added support for CDATA sections, allows to chars unescaped, used
12192 among others in code, to avoid escape < and >.
12194 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12196 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12197 saved positions instrad of a stack. Furthermore, a position is
12198 stored using paragraph id/paragraph position.
12200 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12201 Remove LFUN_REF_BACK.
12203 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12205 * converter.C (dvipdfm_options): New method.
12207 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12209 * vspace.C (isValidLength): Fix for empty input string.
12211 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12213 * LyXAction.C (init): change description of LFUN_FIGURE to
12216 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12218 * LaTeX.C: add using directive
12220 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12222 * MenuBackend.C (expand): Fix the sorting of the formats.
12224 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12226 * lyx_main.C: tiny error message fix
12228 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12231 calling fl_initialize(). This fixes the problem with ',' as
12232 decimal separator in text files.
12234 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12236 * trans.C (process): Fix the keymap bug.
12238 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12240 * LaTeX.C (scanAuxFiles): New method. Provides support for
12241 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12242 (scanLogFile) Scan for "run BibTeX" messages.
12244 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12245 OT1 font encoding. Also, load the aecompl package if the ae
12248 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12250 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12252 * texrow.C (increasePos): turn two error messages into debug
12255 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12257 * LaTeX.C (scanAux): Handle the \@input macro.
12258 (runBibTeX): Use scanAux().
12260 * language.C (latex_options_): New field.
12262 * LaTeXFeatures.C (getMacros): Add language macros.
12264 * buffer.C (makeLaTeXFile): Small fix.
12266 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12268 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12270 * text2.C: add a using directive.
12272 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12277 * lyxfunc.C: kill LyXBell.
12279 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12281 * text.C (IsBoundary): Remove the error message
12283 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12285 * lyxrc.C (setDefaults): Correct initialization value for
12288 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12290 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12293 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12294 and GotoNextNote().
12296 * src/LyXAction.C: Added reference-next.
12298 * text.C (InsertChar): Use contains instead of strchr.
12300 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12302 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12304 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12305 alignment commands (when needed).
12307 * text.C (InsertChar): Add ':' to number separator chars.