1 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
5 2005-02-15 Angus Leeming <leeming@lyx.org>
7 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
8 can be used meaningfully in a comparison.
10 2005-02-13 André Pönitz <poenitz@gmx.net>
12 * bufferview_funcs.C (coordOffset): improve cursor drawing
14 2005-02-13 André Pönitz <poenitz@gmx.net>
16 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
17 * Cursor.C (dispatch): use fixIfBroken
18 * lyxfunc.C (getStatus): use fixIfBroken
20 2005-02-15 Angus Leeming <leeming@lyx.org>
22 * lyx_main.C (error_handler):
24 * lyxrc.C (setDefaults):
26 #include "environment.h".
28 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
30 2005-02-15 Angus Leeming <leeming@lyx.org>
32 * lyxserver.C (startPipe): squash MSVC warning "local variable
33 'fd' used without having been initialized".
35 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
37 * BufferView_pimpl.C: revert accidental commit.
39 2005-02-14 André Pönitz <poenitz@gmx.net>
41 * dociterator.[Ch]: new member forwardPosNoDescent(),
42 which doesn't enter nested insets.
43 * text2.C (setFont): use forwardPosNoDescent() instead
44 of ForwardPos() (fixes crash on font change).
46 2005-02-13 Angus Leeming <leeming@lyx.org>
48 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
49 only if lyxrc.path_prefix is not empty.
51 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * bufferparams.C (readGraphicsDriver): prevent crash
55 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * text2.C (setCounter): check for inInset() == 0
59 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
62 but use update() to get correct screen display; use convert
63 instead of istringstream.
64 (getStatus): handle LFUN_GOTO_PARAGRAPH
66 * lyxfunc.C (dispatch, getStatus): do not handle
67 LFUN_GOTO_PARAGRAPH here.
69 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
71 * text3.C (dispatch): size() -> depth()
73 * text2.C: remove some debug output
75 * paragraph.C: ws changes only
77 * lyxfunc.C (getStatus): size() -> depth()
79 * dociterator.h (clear, push_back, pop_back, internalData,
80 operator[], resize, empty): new functions
81 Make StableDocIterator and operator== be friends. Don't inherit
82 from std::vector use a privat class variable slices_ instead.
85 * dociterator.C: update because of not inheriting from std::vector
86 anymore. Call explictly to slices_ instead. Use depth() instead of
87 size() and top() instead of back()
89 * cursor.C: chagne size() -> depth and back() -> top(). Also
90 remove some direct operator[](i) calls in favour of foo[i]
91 (getFont): remove some dead code
93 * bufferview_funcs.C (coordOffset): size() -> depth()
95 * buffer.C: ws changes only
97 * CutAndPaste.C (eraseSelection): back() -> top()
99 * BufferView_pimpl.C (selectionRequested): back() -> top()
101 * BufferView.C (setCursor): size() -> depth()
103 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
105 * text3.C (cursorPrevious): return true if depm changed something
107 (dispatch): rename sl to oldTopSlice, remove moving use the new
108 NoUpdate func attrib instead. Make sure that needsUpdate is set
109 for function that have NoUpdate, but where depm might have changed
112 * text2.C (cursorLeft): make us return true if depm changed
115 (cursorUpParagraph): ditto
116 (curosrDownParagraph): ditto
117 (cursorUp, cursorDown): ditto, make sure to read comments in code
118 (deleteEmptyParagraphMechanism): remove an assert, also return
119 true if just a single char was deleted.
121 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
122 cursor that we modify, to avoid modifying an active cursor before
123 we call setCursor. This allows depm to run. Also return true if
124 depm deleted something.
126 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
127 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
128 cursorDownParagraph, cursorPrevious and cursorNext, return true if
129 something was changed in the buffer because of them (ie. depm run)
131 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
132 debug messages. Make update by default be false. Make sure that
133 the result of update is retained throught several calls down to
136 * LyXAction.h: add a new func_attrib: NoUpdate
138 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
139 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
140 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
142 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
144 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
146 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
147 bv_->owner(), bv_->buffer() by direct references to the private
149 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
150 (getStatus): isSavedPosition() is in BufferView::Pimpl.
151 (fitCursor): center() is in BufferView::Pimpl.
152 (getStatus, trackChanges, dispatch): no need for a temporary buf
154 (fitCursor, workAreaDispatch): use workarea().workheight()
156 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
158 * CutAndPaste.C (pasteSelectionHelper): fix a crash
160 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
162 * buffer.C: format up to 241.
163 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
164 break if pasting into ERT
165 * lyxfunc.C (getStatus): suppress mathpanel and
166 LFUN_DIALOG_SHOW_NEW_INSET in ERT
168 2005-02-01 Angus Leeming <leeming@lyx.org>
170 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
172 2005-02-01 Angus Leeming <leeming@lyx.org>
174 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
175 calling fs::is_directory().
177 2005-01-31 Angus Leeming <leeming@lyx.org>
179 * lyx_main.C (priv_exec): specify explicitly the relative location
180 of the top level build directory when run in-place.
182 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
184 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
185 LyXText containing the cursor, not the top-level one.
187 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
189 (insertStringAsLines): rename par to pit; use temporary variable
190 par to hold a Paragraph; do not store par.layout() in a variable,
191 since the pointer may die when breaking paragraphs; pass pars to
192 breakParagraph() instead of Buffer::paragraphs().
194 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
196 * lyxlex_pimpl.h: #include <fstream>.
198 * BufferView.[Ch] (getLyXText): add a const version.
200 * BufferView_pimpl.C: add debug aids.
205 * paragraph_funcs.h: add commentary explaining what the class does.
208 * coordcache.[Ch]: add lots of commentary.
209 (startUpdating, doneUpdating): debug aids.
210 (arrays, insets, parPos, getParPos): accessors to private data.
212 * cursor_slice.[Ch] (text): add a const version.
213 * dociterator.[Ch] (text, innerText): add const versions.
215 * lyxtext.h (breakParagraph): change the keep_layout arg to a
218 * paragraph.C (getRow, pos2ros): add asserts.
220 * paragraph.h: add commentary. Lots of.
222 * paragraph.[Ch] (metrucs, draw): removed.
225 * rowpainter.[Ch]: const-correct changes.
227 * text.C: various obvious clean-ups. Removal of ancient cruft.
230 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
232 * vc-backend.C (find_file): rewrite to use boost.filesystem
235 * main.C (main): set default name check for boost.filesystem to
238 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
241 (actOnUpdatedPrefs): ditto
243 * lyx_main.C (init): rewrite to use boost.filesystem
244 (queryUserLyXDir): ditto
246 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
247 (getContentsOfAsciiFile): ditto
249 * lastfiles.C (readFile): rewrite to use boost.filesystem
251 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
253 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
256 * buffer.C (Buffer): adjust for destroydir
257 (getLogName): rewrite to use boost.filesystem
259 (save): use fs::copy_file (from fs_extras)
261 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
263 * LaTeX.C (run): rewrite to use boost.filesystem
264 (scanAuxFiles): ditto
265 (handleFoundFile): ditto
267 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
271 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
273 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * lyxlayout.[Ch]: change some vars from float to double
277 * buffer.C (readFile): make a local var const
279 * Several files: use convert<> instead of atoi,strToXXX and friends
281 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
283 * LaTeXFeatures.[Ch]: Add a static list packages_ that
284 holds the contents of packages.lst. New functions getAvailable
285 and isAvailable to parse and check that list, resp.
289 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
291 * bufferparams.[Ch]: new param output_changes.
293 * Buffer.C: increase file format to 240.
294 Use output_changes and isVailable.
298 * paragraph_pimpl.C: Use output_changes and isVailable.
300 2005-01-23 Angus Leeming <leeming@lyx.org>
302 * output_latex.C: #include "insetbibitem.h", rather than
303 forward declare function bibitemWidest.
305 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
307 * lyx_main.C (init): make it compile on the Mac.
309 2005-01-20 Angus Leeming <leeming@lyx.org>
311 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
312 (setLyXMisc): (char string literal) != (char string literal) is
313 performing a comparison on the addresses. Convert one operand
314 explicitly to string to guarantee expected behaviour.
317 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
320 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
322 * output_plaintext.C: remove unneeded #include gzstream.h.
324 2005-01-20 Angus Leeming <leeming@lyx.org>
326 * SpellBase.h: rename some of the elements of the Result enum.
333 * pspell.C (check): ditto
335 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
337 * buffer.C: add #include <fstream>.
339 * lyx_main.C (init): Compile fix.
341 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
343 2005-01-20 Angus Leeming <leeming@lyx.org>
345 * mover.h: change commentary to reflect the changed meaning of
348 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * output_linuxdoc.C (linuxdocParagraphs): silence warning
352 * lyxfind.C (MatchString::operator()): remove bogus semicolon
354 2005-01-20 Angus Leeming <leeming@lyx.org>
356 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
357 printing diagnostic data by not dereferecing an iterator past the
360 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
362 * buffer.C (readHeader): use "&&" rather than "and".
364 * lyxserver.h (inPipeName, outPipeName): make these const.
366 2005-01-19 Angus Leeming <leeming@lyx.org>
368 * lyx_main.C (error_handler, init): protect SIGHUP with
369 #ifdef SIGHUP guards.
371 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
373 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
375 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * text.C (setHeightOfRow): add a margin at the top and bottom of
378 the document (bug 1761)
380 2005-01-17 Angus Leeming <leeming@lyx.org>
382 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
383 with "python ". Workaround for a brain-dead Windows.
385 2005-01-16 Angus Leeming <leeming@lyx.org>
387 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
388 for MacOSX and Windows to use prependEnvPath.
389 Strip out the hard-coded block to add elements to the PATH for
390 MacOSX and replace it with a call to prependEnvPath using the
391 contents of LyXRC::path_prefix.
392 (queryUserLyXDir): strip out the code to run reconfigure, instead
393 returning a boolean indicating the necessity to do so.
394 (reconfigureUserLyXDir): contains the code to reconfigure the
395 user support directory. Is now called after the various LyXRC data
396 files have been read.
398 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
400 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
402 * converter.[Ch] (convert): take a new parameter try_default. Use
403 a default converter (imagemagick) if try_default is true.
405 2005-01-13 Angus Leeming <leeming@lyx.org>
407 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
409 (write): output LyXRC::cygwin_path_fix as necessary.
411 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
414 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
416 2005-01-12 Angus Leeming <leeming@lyx.org>
418 * lyx_main.C (init): set the PATH variable to include the
419 directory containing the LyX binary when running on Mac or Windows.
421 2005-01-12 Angus Leeming <leeming@lyx.org>
423 * lyx_main.C (init): remove cruft that purports to set the locale
424 dir. It doesn't and is not needed anyway.
426 2005-01-10 Angus Leeming <leeming@lyx.org>
428 * Makefile.am: remove the lyx_main.C special casing.
430 * BufferView_pimpl.C:
436 * messages.C: use support/package.h to provide the paths to the
437 various directories used by LyX.
439 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
441 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
442 layout if pasting into an empty paragraph)
444 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
446 * tex-accent.C: add <string>
448 2005-01-06 José Matos <jamatos@lyx.org>
450 * ParagraphParameters.C (write): put every parameter in its own line.
451 * paragraph.C (write): reduce number of consecutive empty lines exported.
452 * buffer.C (LYX_FORMAT): increase file format to 239.
454 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
456 * everywhere: change support/tostr.h -> support/convert.h
458 * tabular.C: make all write_attributes templates, tostr -> convert
460 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
461 (emptyTag): and -> &&, and fix type for ret from getChar
462 (getFirstWord): fix type for ret from getChar
463 (onlyText): and -> &&
464 (simpleDocBookOnePar): and not -> && !, fix type for ret from
467 * toc.C (goTo, action):
468 * text3.C (dispatch):
469 * text.C (currentState):
470 * tex-accent.C (DoAccent):
473 * lyxfunc.C (menuNew):
474 * lyxfinc.C (replace):
475 * counters.C (laberItem):
476 * bufferview_funcs.C (font2string):
477 * bufferparams.C (writeFile):
478 * buffer.C (readFile):
480 * MenuBackend.C: tostr -> convert
482 * LaTeX.C (runMessage): fix format
483 (scanAuxFiles): tostr -> convert
485 * BufferView_pimpl.C (savePosition): fix format
486 (restorePosition): ditto
489 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
491 * Spacing.[Ch]: New method getValueAsString().
495 * ParagraphParameters.C:
498 * text3.C: store/read spacing value as string.
500 * rowpainter.C: change float value (spacing_val) to double.
502 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
503 broken custom document spacing).
505 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
508 namespace, also more use of temp references and const
510 * cursor.[Ch] (getStatus): move to lyxfunc.C
512 * bufferparams.C: reformat slightly
514 * bufferview_funcs.C (font2string): constify arg
520 * buffer_funcs.C: (many funcs): constify arg on function
521 definitions, also make more local vars const, also add ASSERTS on
524 * buffer.C (LYX_FORMAT): put const in correct place
525 (many funcs): constify arg on function definitions, also make
526 more local vars const
528 * aspell_local.h: remove "struct" from typdef setup
530 * aspell.C (check): make word_ok const
531 (nextMiss): simplify slightly
534 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * lyxrc.[Ch]: store all float values as strings.
537 use int (not float) for lyxrc.dpi.
539 2005-01-04 Angus Leeming <leeming@lyx.org>
541 * lyx_cb.C (Reconfigure):
542 * lyx_main.C (queryUserLyXDir):
543 to run the <system_lyxdir>/configure correctly on Windows, prefix
544 the path to the script with "sh " when generating the string that
545 is passed to system().
547 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
549 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
551 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
553 * lyxlength.C (asLatexString): get rid of setprecision
555 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * text2.C (setLayout): remove unused variable endpit.
558 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
560 * paragraph.C (onlyText): remove unused variable style.
562 * cursor.C (bruteFind): remove unused variables beg and end.
564 * Makefile.am (dist_noinset_DATA): not needed anymore
566 * cheaders/*: remove.
568 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
570 * text3.C: fix LFUN_MATH_MODE.
572 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * buffer_funcs.C (countWords): new function. Counts words between
577 * BufferView_pimpl.C (getStatus, dispatch): handle
580 * LyXAction.C (init):
581 * lfuns.h: add LFUN_WORDS_COUNT.
583 2004-12-19 Angus Leeming <leeming@lyx.org>
585 * buffer.C (save): s/slashify_path/internal_path/.
587 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
589 * lyxfind.C (findChange): do not search for end of pars, because
590 the change tracker cannot handle this (fixes bug 1719).
592 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
594 * paragraph.[Ch] (autoBreakRows): remove
596 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
598 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
599 avoid using the paragraph one
601 * text2.C (LyXText, insertStringAsLines): adjust
603 2004-12-16 Angus Leeming <leeming@lyx.org>
607 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
609 2004-12-14 Angus Leeming <leeming@lyx.org>
611 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
613 * bufferlist.C (emergencyWrite):
614 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
617 2004-12-14 Angus Leeming <leeming@lyx.org>
619 * main.C: (main): no longer pass pointers to os::init.
621 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
623 * undo.C (textUndoOrRedo): simplify logic, fix a crash
624 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
626 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
629 * text3.C: remove selection_possible global flag
631 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
633 * text2.C (getSelectionSpan): remove
634 (changeDepth, changeDepthAllowed): adjust
636 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
638 * Makefile.am (BOOST_LIBS): use boost variables
640 2004-12-03 José Matos <jamatos@lyx.org>
642 * buffer.C: format up to 238.
644 2004-12-03 José Matos <jamatos@lyx.org>
646 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
648 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
650 * cursor.C (goUpDown): remove call to idxUpDown2
652 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * tabular.[Ch]: use size_t-like types for cell, row and column
657 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * lyxfunc.C (getStatus): do not lose previous information when
660 calling BufferView::getStatus; do not set a default "Command
661 disabled" message at the beginning, but just before returning.
663 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
665 * cursor.h (getStatus): add better comment from src/cursor.C
667 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
669 * text3.C (getStatus): return false when the lfun is not handled
671 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * broken_headers.h: remove
675 * Makefile.am (lyx_SOURCES): remove broken_headers.h
677 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
679 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
682 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
683 top_y_, merge fitcursor with update
684 (updateScrollbar, scrollDocView, fitCursor, center, update): new
687 (workAreaDispatch): adapt to new coord scheme
688 (redoCurrentBuffer): remove
690 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
692 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
695 * coordcache.[Ch]: add paragraph cache and helpers
697 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
700 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
701 (targetX, setTargetX): introduce
703 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
704 baseline -> ascent, as the rest of lyx
706 * lyxtext.h: remove redoParagraphs, updateParPositions,
707 fullRebreak, redoParagraphInternal. move dist to anon namespace in
708 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
709 have ascent/descent (ascent is ascent of first par)
711 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
714 * paragraph.[Ch]: unify dimension handling with the rest of lyx
716 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
718 * pariterator.C: fix infinite loop introduced in par->pit renaming
720 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
721 in insets and LyXText, draw two off-screen paragraphs using
722 NullPainter, and adapt to new coord scheme
726 * text3.C: adapt lfun handlers to the new coord scheme, which
727 means: there's only guaranteed coord information for onscreen pars
728 plus one above and one below. This implies that one can do search
729 from y coordinates in the range [-1,workHeight]
731 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
733 * rename a lot of InsetOld to InsetBase
735 2004-11-25 Angus Leeming <leeming@lyx.org>
737 * BufferView_pimpl.C:
739 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
741 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
744 call BufferView::getStatus if LCursor::getStatus did nothing
745 (setStatusMessage, getStatusMessage): removed.
747 * FuncStatus.C (message): new methods. Used to provide an error
748 message indicating why a command is disabled.
749 (clear, |=, FuncStatus): update for message.
751 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
753 * lyxfunc.C (dispatch): always call sendDispatchMessage
755 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
758 * BufferView_pimpl.C:
772 * undo.C: par->pit renaming
774 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
776 * tabular.C (cellstruct): use initialization, store a shared_ptr
777 to insettext instead of the insettext directly, adjust to fit.
778 (operator=): new function
780 (rowstruct): use initialization
781 (columnstruct): use initialization
782 (ltType): use initialization
785 * lyxlength.h (swap): new function
787 * LColor.[Ch] (operator=): use the common semantics
789 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * lyxfind.C (findNextChange): update the bufferview after setting
794 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
797 number of InsetOptArgs has already been inserted.
799 * output_latex.C (latexOptArgInsets): new method. This outputs all
800 the optarg insets, up to the limit defined in the layout file.
801 (optArgInset): removed
802 (TeXOnePar): call latexOptArgInsets; correctly update texrow
804 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
806 * paragraph.C (isLetter): remove special spellchecker-related
807 code; return true also for digits
808 (isWord, isKomma): remove
810 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
811 * lyxfind.C (MatchString()): use isLetter instead of isWord
813 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
815 * pariterator.h (operatir=): comment out un-implemented member
818 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
821 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
823 * lyxfont.h: include LColor.h to satisfy concept checks.
825 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
827 * pariterator.h: add typdefs for value_type, difference_type,
828 pointer and reference to satisfy concept checks. Also add default
829 constructor for same reason.
831 * pariterator.C (operator++): add post-increment operator to
832 satisfy concept checks.
834 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
837 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
839 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
840 checks. Also rename base_type to BaseType to follow naming
843 * FloatList.h: include Floating.h to satisfy concept checks.
845 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * lyxfunc.C (getStatus): when the origin of the request is menu or
848 toolbar, and the LyXView does not have focus, do as if there was
851 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
852 FuncRequest to individual entries of LFUN_SEQUENCE
854 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
856 * output_latex.C (TeXOnePar): override runparams.moving_arg
857 according to the needprotect value of the current paragraph (bug
860 * paragraph.C (simpleTeXOnePar): no need to override
861 runparams.moving_args here
863 2004-11-14 John Spray <spray_john@users.sourceforge.net>
865 * vspace.C: fix off-by-one-error, related to fix #1682
867 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
869 * lengthcommon.C: a more general fix for bug 1682
871 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
873 * text.C (backspace): fix crash
875 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
877 * format.[Ch] (getFormatFromFile): new method
878 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
880 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
884 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
886 * lyxfunc.C (dispatch): remove the verbose argument
887 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
890 * kbmap.C (defkey): set the origin of func to KEYBOARD
892 * MenuBackend.C (MenuItem):
893 * ToolbarBackend.C (add): set the origin of func to UI
895 * funcrequest.[Ch]: add origin member, which indicates which part
896 of LyX requests an action
898 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
900 * converter.C (move): don't lie in the error message
901 * converter.h (isReachable, move): document
903 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
905 * buffer.C: remove unused using lyx::support::atoi
906 * paragraph_funcs.C: ditto
908 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
910 * bufferlist.C (exists): use bind and equal_to instead of
913 * lyxtextclasslist.C (NumberOfClass): ditto
915 * cursor.C (insert): use for_each instead of explicit for loop
917 * bufferlist.C (getFileNames): use std::transform and
918 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
920 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
923 * buffer.C (changeLanguage): use for_each instead of explicit for
925 (hasParWithID): implement using getParFromID
927 * LaTeXFeatures.C: ws change only
929 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
932 * BufferView_pimpl.C (trackChanges): use for_each instead of
935 2004-11-04 André Pönitz <poenitz@gmx.net>
938 * undo.C (textUndoOrRedo): fix crash when creating undo information.
940 * dociterator.C (asDocIterator): use hard assert again.
942 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * lyxlength.C (asLatexString): rewrite so that it does not use
947 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
949 * text3.C (specialChar, dispatch): make sure cursor moves to the
950 right after inserting an inset
952 2004-11-02 José Matos <jamatos@lyx.org>
954 * output_docbook.C (docbook):
955 * paragraph.C (getID):
956 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
957 garantee that the output is always legal.
959 * tabular.C (docbook):
960 * outputprams.[Ch]: remove mixed contents.
962 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
964 * text2.C (setCounter): prevent endless loop
966 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
968 * exporter.C (copyFile): use the mover instead of support::copy()
969 * exporter.C (Export): pass format and latex name to copyFile()
970 * exporter.h (addExternalFile): document
971 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
973 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
975 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
977 2004-10-30 José Matos <jamatos@lyx.org>
979 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
980 text and no inset or font change. This allows to use CDATA
981 sections just for the whole paragraph.
983 2004-10-30 José Matos <jamatos@lyx.org>
985 * paragraph.C (getFirstWord): remove unused variable.
987 2004-10-30 José Matos <jamatos@lyx.org>
989 * paragraph.C (getFirstWord): the content should always be escaped
991 (simpleDocBookOnePar):
992 * output_docbook.C (makeEnvironment): replace reference to CDATA
995 2004-10-30 José Matos <jamatos@lyx.org>
997 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
999 2004-10-30 José Matos <jamatos@lyx.org>
1001 * output_docbook.C (makeParagraphs):
1002 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1003 standard paragraph has only a given type of content drop the wrapper.
1005 2004-10-29 José Matos <jamatos@lyx.org>
1007 * output_docbook.C (makeEnvironment):
1009 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1011 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1013 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1014 (cleanID): sanitize any id.
1016 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1018 * buffer.C, lyxlex_pimpl.C:
1019 * lyxlex_pimpl.C (setFile):
1020 s/getExtFromContents/getFormatFromContents/
1022 2004-10-28 José Matos <jamatos@lyx.org>
1024 * output_docbook.C (makeEnvironment): move id to broadest possible
1027 * sgml.C (openTag): apply substitution of <> for all attributes.
1029 2004-10-28 José Matos <jamatos@lyx.org>
1031 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1032 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1033 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1035 * sgml.[Ch]: new version for open and closeTag for paragraph and
1036 for strings. Now they handle the ids of paragraphs.
1038 2004-10-26 Angus Leeming <leeming@lyx.org>
1040 * Makefile.am: add mover.[Ch].
1042 * converter.C (convert, move): use the new Movers to move external
1043 files to the temp directory.
1045 * lyx_main.C (init): ensure that the global system_movers data
1048 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1051 * mover.[Ch]: new files, defining a Mover as a utility to move an
1052 external file between directories and, if necessary, manipulate this
1053 file using a helper script.
1055 2004-10-25 José Matos <jamatos@lyx.org>
1057 * output_docbook.C (makeCommand): merge two if's that tested the
1060 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1062 * sgml.C (escapeString): fix warning in a better way
1064 2004-10-25 José Matos <jamatos@lyx.org>
1066 * sgml.C (escapeString): import the require boosts header file for
1067 tie, and avoid a signed unsigned comparison.
1069 2004-10-25 José Matos <jamatos@lyx.org>
1071 * sgml.h: add #include <string>
1073 2004-10-25 José Matos <jamatos@lyx.org>
1075 * sgml.[Ch] (escapeString): new function to escape all the string.
1077 2004-10-24 José Matos <jamatos@lyx.org>
1079 * paragraph.[Ch] (getFirstWord): new function to get the first
1080 word. Useful for description.
1081 (simpleDocBookOnePar): remove depth argument, add another that
1082 says where to start the paragraph.
1084 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1085 use the new functions to fix cleanly the support for descriptions.
1087 2004-10-24 José Matos <jamatos@lyx.org>
1089 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1090 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1091 * output_linuxdoc.C (linuxdocParagraphs):
1092 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1093 add buffer as argument.
1095 2004-10-24 José Matos <jamatos@lyx.org>
1097 * output_docbook.C (makeEnvironment, searchEnvironment): place
1098 CDATA inside paragraphs and fix scope for listitems.
1100 2004-10-24 José Matos <jamatos@lyx.org>
1102 * output_docbook.C: remove using statement for stack.
1104 2004-10-23 José Matos <jamatos@lyx.org>
1106 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1107 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1108 docbook. The new scheme is recursive and makes use of iterators, the
1109 same as latex export works.
1110 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1111 directly with the paragraph contents. This code was moved up to
1112 output_docbook.C (docbookParagraphs).
1113 * sgml.C (openTag, closeTag): removed unneeded newlines.
1114 (closeEnvTags) removed.
1116 2004-10-23 André Pönitz <poenitz@gmx.net>
1118 * undo.C (textUndoOrRedo):
1119 * dociterator.C (asDocIterator): work around crash
1121 * cursor.C (getStatus): replace ASSERT by more verbose error message
1122 and manual correction of the problem. Should increase stability
1123 while providing more sensible information.
1125 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1127 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1129 * bufferlist.C (previous, next): new methods
1132 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1134 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1136 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1137 entities to preamble.
1139 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1141 * messages.C (Pimpl): strip off translation context information
1143 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1146 the cursor is correct (bug 1694)
1148 2004-10-13 José Matos <jamatos@lyx.org>
1150 * output_docbook.C (docbookParagraphs): fix closing tags in the
1151 end of the document.
1153 2004-10-09 José Matos <jamatos@lyx.org>
1155 * buffer.C: format up to 237.
1156 * bufferparams.C (write): use tostr to convert booleans to strings.
1158 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1160 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1162 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1164 * LaTeX.C: implement use of babel language in xindy.
1166 2004-10-05 José Matos <jamatos@lyx.org>
1168 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1169 Add new translators to help reading and writing the lyx file.
1171 2004-10-05 José Matos <jamatos@lyx.org>
1173 * ParagraphParameters.C (read):
1174 * text.C (readParToken): replace nexToken by more appropriate lex
1177 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1179 * LaTeX.C (runMakeIndex):
1180 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1181 (usually 'makeindex') configurable.
1183 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1184 with a variable rather than with a number.
1186 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * output_latex.C (TeXOnePar): make sure font setting is the first
1189 thing that gets output (and the last at the end). Should fix bug
1192 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1194 * pch.h: use proper signal include
1196 * LaTeX.h: Use preferred calling of Boost.Signal
1199 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1201 * pch.h: dont include <boost/function/function0.hpp>
1203 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1205 * paragraph_pimpl.h: remove usage of ShareContainer
1207 * paragraph_pimpl.C: remove initialization of ShareContainer.
1209 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * BufferView.C (putSelectionAt): change the semantics when
1214 backwards == true: now, this just swaps cursor and anchor wrt the
1217 * BufferView.h (putSelectionAt): add some documentation
1219 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1220 make sure backwardChar is done at least once (to avoid getting
1222 (findNextChange): use putSelectionAt in the forward direction
1223 (operator()): use Paragraph::isWord
1225 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1227 * Spacing.C (set): c_str fix
1229 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * lyx_cb.C (Reconfigure): quote the name of configure script in
1232 case it contains spaces
1234 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1238 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1239 (BOOST_LIBS): use top_buildir when looking for the file
1241 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1243 * pch.h: do not use include boost/format.hpp, multiple symbols
1244 will result (gcc bug)
1247 2004-08-23 José Matos <jamatos@lyx.org>
1249 * bufferparams.C (readToken): fix reading of the author field.
1251 2004-08-20 José Matos <jamatos@lyx.org>
1253 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1255 2004-08-20 José Matos <jamatos@lyx.org>
1257 * lyxlex.[Ch] (findToken): remove function.
1259 * ParagraphParameters.C (findToken):
1260 * bufferparams.C (findToken): replace call for previous function
1261 with local copy. This local function has one more argument, the
1262 read string argument.
1264 2004-08-16 José Matos <jamatos@lyx.org>
1266 * ParagraphParameters.C (write):
1267 * Spacing.C (writeFile):
1268 * bufferparams.C (writeLaTeX):
1269 * lyx_cb.C (Reconfigure):
1270 * paragraph.C (write):
1271 * tabular.C (write): remove unnecessary space at end of line.
1274 2004-08-16 José Matos <jamatos@lyx.org>
1276 * text.C (readParagraph): remove debug message.
1278 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1283 * output_plaintext.C (asciiParagraph): set depth correctly
1285 * outputparams.h: add member depth
1287 * paragraph_funcs.C (ownerPar): remove.
1289 * text2.C (setCounter): remove first_pit; comment out some
1290 non-working code that uses ownerPar
1292 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1295 2004-08-16 José Matos <jamatos@lyx.org>
1297 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1298 For the same level of importance use the same chanel to report problems.
1299 (read): add code to deal with \begin_body and \end_body.
1302 2004-08-15 José Matos <jamatos@lyx.org>
1304 * lyxlex.C (getString): fix comment, buffer::readBody is now
1305 buffer:readDocument.
1307 * tex-strings.C (string_papersize): Default -> default,
1308 Custom -> custom, for consistency with other options.
1310 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1314 * Makefile.am: support pch
1316 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * text.C (readParToken): remove the static LyXFont variable and
1319 pass it as a parameter instead. This fixes a nasty bug where an
1320 inset will be inserted with a bad font in some situations
1321 (readParagraph): adapt
1323 * text2.C (setCounter): reduce number of calls to pars_[pit]
1325 * text.C (singleWidth): add an assert, fix a test
1327 * rowpainter.C (paintText): reduce number of calls to singleWidth
1329 * paragraph.C (isHfill):
1330 (isNewline): ws only
1332 2004-08-14 André Pönitz <poenitz@gmx.net>
1337 * lyxtext.h (several functions): use a Paragraph & argument
1340 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1342 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1344 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1346 * text.C (singleWidth): remove useless test
1348 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1350 * tabular.h: remove bogus comments
1352 * tabular.C (getDescentOfRow):
1353 (isPartOfMultiColumn): add assertions
1355 * lyxlength.C (inPixels): remove #warning
1357 2004-08-14 André Pönitz <poenitz@gmx.net>
1359 * paragraph.h: inline getChar()
1361 * BufferView.h: remove unused declarations
1363 2004-08-14 José Matos <jamatos@lyx.org>
1365 * Buffer.[Ch] (readDocument): new name for old readBody.
1366 * Buffer.C: new file format, new keywords: \begin_document,
1367 \begin_header, \begin_body, \end_body.
1369 * bufferparams.C (readToken): replace all calls to lex.nextToken
1370 by lex.next(). Do the same to eatLine except where really needed.
1372 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1373 line when writing to the lyx file.
1375 * output_plaintext.C (asciiParagraph): fix Bibliography style
1378 * text.C (read): fix end of file handling.
1380 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1382 * MenuBackend.C (Menu::operator[]): new method to access
1383 individual menu items
1384 (Menu::hasFunc): new method. search for an item that corresponds
1386 (MenuBackend::specialMenu): new method
1387 (MenuBackend::expand): if a special menu has been set, skip
1388 entries whose func() appears in this menu
1390 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1392 * text3.C: use Debug::DEBUG a bit more
1394 * text.C (leftMargin): try to simplify a tiny bit change var x to
1395 l_margin. Dont output the wide margins always.
1396 (rightMargin): no margin in inner texts
1398 * rowpainter.h (nestMargin): new func
1399 (changebarMargin): new func
1400 (rightMargin): new func
1402 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1406 * factory.C (createInset): modify setDrawFrame
1408 * cursor.C: use Debug::DEBUG a bit more
1410 2004-08-14 André Pönitz <poenitz@gmx.net>
1413 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1414 cache for all insets in (at least partially) visible (top-level)
1417 * BufferView_pimpl.C: reset external coord cache before every update.
1418 This means the coord cache only contains valid entries.
1420 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1423 * BufferView_pimpl.C (getInsetByCode): move function out of class
1424 and change in to a template in anon namespace. Also fix to do what
1427 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1430 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1432 (breakParagraph): rename par to par_offset and use a local
1433 reference. Add code to keep the language over a rebreak.
1434 (breakParagraphConservative): rename par to par_offset, use a
1436 (mergeParagraph): ditto
1438 (isFirstInSequence): ditto
1439 (outerFont): rename pit to par_offset
1441 * paragraph.C: ws change
1442 * paragraph.h: ditto
1446 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1448 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1451 * paragraph.C (simpleTeXOnePar): when we have a \item with
1452 optional argument, enclose the argument with curly brackets (in
1453 case it contains a closing square bracket)
1457 * text3.C (checkInsetHit): constify
1459 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1461 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1462 documents (bug 1629)
1464 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 Fix toggling of collapsable insets with the mouse (bug 1558)
1468 * lyxfunc.C (dispatch): adapt to LCursor changes
1470 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1471 make sure that dispatch is not invoked twice
1473 * cursor.C (needsUpdate): new method
1474 (dispatch): return void
1475 (result): new method, to access the DispatchResult of the cursor.
1477 2004-08-13 José Matos <jamatos@lyx.org>
1479 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1481 2004-08-13 André Pönitz <poenitz@gmx.net>
1483 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1485 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1488 2004-08-12 André Pönitz <poenitz@gmx.net>
1490 * text3.C: take out the 'cursor right' form insertInset and only
1491 do it in those places when it is really needed. Fixes crash on
1494 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1498 * BufferView_pimpl.C (setBuffer): initialize the current font of
1499 the underlying LyXText
1501 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1503 * kbsequence.C (print): use UI native formatting for menu
1506 * text.C (insertChar): call Paragraph::insertChar with a font
1509 * paragraph.C (insertInset, insertChar): the version that takes a
1510 LyXFont argument is now a wrapper around the other one (the
1511 opposite used to be true).
1513 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1514 argument. Font setting is done in Paragraph now.
1516 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1518 * outputparams.h: add new members intitle and lang.
1520 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1521 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1523 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1525 * text3.C (dispatch): remove special handling of button 4 and 5,
1526 it is now taken care of in the frontend code.
1528 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1530 * Spacing.h: add <string> (STLPort compile fix)
1532 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1534 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1536 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1538 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1541 * converter.C (showMessage): inherit from unary_function, make
1544 * buffer.C (writeFile): initialize retval
1546 * InsetList.h: rename private variable list to list_
1547 * InsetList.[Ch]: adjust accordingly.
1549 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1551 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1552 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1553 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1554 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1555 * ParagraphParameters.C, LaTeXFeatures.C: replace
1556 "support/std_sstream.h" with <sstream>
1558 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1560 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1561 * lyxsocket.C (LyXServerSocket): ditto
1562 (serverCallback): ditto
1564 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1566 * LaTeXFeatures.C: check release date when loading jurabib.
1568 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1570 * lyxserver.C (startPipe): call register_socket_callback
1571 (endPipe): call unregister_socket_callback
1573 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1575 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1576 (LyXServerSocket): register the callback
1577 (LyXServerSocket): unregister the callback
1578 (fd): delete function
1579 (serverCallback): improve error checking and setup the callbacks.
1580 (dataCallback): change arg to fd.
1581 (writeln): new func (copied fro the client socket) used for server
1583 (LyXDataSocket): simplify
1584 (~LyXDataSocket): close ann unregiser callback
1585 (server): delete function
1586 (fd): delete function
1587 (readln): small changes, improve some std::string usage
1588 (writeln): constify a bit
1590 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1592 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1595 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1597 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1598 after it has been populated
1600 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * text2.C (insertInset): move cursor when inserting inset.
1604 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1606 * kbmap.C (findbindings): a couple of new methods. returns a
1607 container of kb_sequence objects. The real work is done by the
1608 private recursive version
1609 (printbindings): uses findbindings to print out a bracketed list
1610 of bindings (renamed from findbinding).
1612 * MenuBackend.C (binding): use kb_keymap::findbindings
1614 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1616 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1618 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1620 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * paragraph.C (isWord): return true on insets that report
1625 * text.C (getWord): use Paragraph::isWord to decide what is in a
1626 word and what is not; fix bug 1609.
1628 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1630 * tex-strings.C: add "none" to string_paperpackages[], fixes
1631 off-by-one-error in the paperpackage selection.
1634 * tex-strings.[Ch]: char const * string[n]
1635 -> char const * const string[]
1637 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1639 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1640 command, return early.
1642 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1644 * debug.h: add DEBUG to enum and fix size of ANY.
1646 * debug.C: add support for Debug::DEBUG
1647 (showTags): cast errorTags.level to unsigned int
1649 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1650 (redoCurrentBuffer): ditto
1651 (updateScrollbar): ditto
1652 * cursor.C (dispatch): ditto
1653 * text2.C (setLayout): ditto
1655 (updateCounters): ditto
1657 (deleteEmptyParagraphMechanism): ditto
1659 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1661 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1662 annotations to cleanup the Makefile slightly.
1664 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1666 * lyxrc.C: do not set user_email to a default value but use empty
1667 instead. The entry used to be translated, which does not work
1668 since at the point where lyxrc is constructed there is no
1669 translation service available
1671 * messages.C (getLocaleDir): remove and use directly
1672 lyx_localedir() instead
1674 2004-06-02 Angus Leeming <leeming@lyx.org>
1676 Fix crash caused by dereferencing null pointer 'exportdata' in
1677 OutputParams by creating a new ExportData variable on the heap,
1678 storing it in a boost::shared_ptr.
1679 The crash was triggered when generating an Instant Preview
1680 of an external inset.
1682 * Makefile.am: add outputparams.C
1684 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1685 (c-tor): allocate memory to it.
1687 * exporter.C (c-tor): associated changes.
1689 2004-06-01 Angus Leeming <leeming@lyx.org>
1691 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1692 contains data before calling isInset(0). (Bug 1513.)
1694 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1696 * exporter.C (checkOverwrite): new method
1697 * exporter.C (copyFile): new method
1698 * exporter.C (Export): copy referenced files to the document dir
1699 * exporter.[Ch]: new class ExportedFile
1700 * exporter.[Ch]: new class ExportData. Contains currently the
1701 names of referenced external files
1702 * outputparams.h: add exportdata member.
1704 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1706 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1709 2004-05-19 Angus Leeming <leeming@lyx.org>
1714 * lyxfunc.C: small changes due to the introduction of namespace
1715 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1717 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1719 * text3.C (dispatch): supress update when only moving the cursor
1720 * cursor.C (selHandle): remove commented code
1722 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1724 * paragraph.C (startTeXParParams): correct column count
1725 * CutAndPaste.C (pasteSelection): remove const_cast
1726 * output_docbook.C (docbookParagraphs): remove const_cast
1727 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1728 const_cast and return ParagraphList::const_iterator
1729 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1730 * output_plaintext.C (writeFileAscii): remove const_cast
1731 * paragraph.[Ch] (simpleTeXOnePar): make const
1732 * paragraph_funcs.C (outerPar): use const iterators
1733 * paragraph_pimpl.C (validate): use const iterators
1734 * text.C (setHeightOfRow): use const iterators
1736 2004-05-17 Angus Leeming <leeming@lyx.org>
1739 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1741 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1742 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1743 if the citation engine has changed.
1745 2004-05-14 José Matos <jamatos@lyx.org>
1747 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1748 if the textclass does not provide it. Have it different for sgml and
1750 support the language of document.
1751 * output_docbook.C (docbookParagraphs):
1752 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1753 first anchor as the id of the paragraph, remove special case code.
1754 * sgml.C (escapeChar): escape only < & >.
1756 2004-05-14 Angus Leeming <leeming@lyx.org>
1758 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1759 dependencies on src/frontends/controllers/biblio.h. Define a
1760 CiteEngine_enum wrapper class to enable the enum to be forward
1763 2004-05-12 Angus Leeming <leeming@lyx.org>
1765 * buffer.C: up LYX_FORMAT to 234.
1766 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1767 use_numerical_citations with a single biblio::CiteEngine cite_engine
1769 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1771 2004-05-13 José Matos <jamatos@lyx.org>
1774 * converter.C (Converter, readFlags): add xml member.
1775 * outputparams.h: add XML flavor.
1776 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1778 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * lyxfunc.C (dispatch):
1781 (getStatus): fix handling of LFUN_SEQUENCE
1783 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1785 * debug.C (showLevel): do not forget the end-of-line marker
1787 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1789 * kbmap.C (read): do not stop parsing a bind file when an error
1792 2004-04-29 Angus Leeming <leeming@lyx.org>
1797 * text2.C: wrap a bunch of #warning statements
1798 inside #ifdef WITH_WARNINGS blocks.
1800 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1802 * buffer.C: increment format to 233.
1804 2004-04-28 Angus Leeming <leeming@lyx.org>
1806 * BufferView_pimpl.C:
1809 s/updateToolbar()/updateToolbars()/
1810 s/Toolbar.h/Toolbars.h/
1812 2004-04-28 Angus Leeming <leeming@lyx.org>
1814 * BufferView.[Ch] (c-tor):
1815 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1816 No longer passes these data to the WorkArea generator.
1818 2004-04-28 Angus Leeming <leeming@lyx.org>
1820 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1822 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1824 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1826 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1828 * output_latex.C (TeXEnvironment): make sure that there is a line
1829 break before \end{foo} for the last paragraph of a document
1830 (TeXOnePar): if the paragraph is at the end of the document (or
1831 inset) and the language has to be reset, then make sure that the
1832 line break is _before_ the language command, not after (fixes bug
1833 1225); also make sure that the language reset command is the first
1834 thing after the paragraph (to ensure proper nesting of
1835 environments and thus fix bug 1404)
1837 2004-04-21 John Levon <levon@movementarian.org>
1840 * ToolbarBackend.C: make "name" be a programmatic name
1841 and a gui_name field.
1843 * lyxfunc.C: display the minibuffer on M-x
1845 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1847 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1850 2004-04-19 Angus Leeming <leeming@lyx.org>
1852 * BufferView_pimpl.C (setBuffer): changed preview interface.
1854 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1857 2004-04-19 John Levon <levon@movementarian.org>
1859 * BufferView_pimpl.C:
1860 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1862 2004-04-05 Angus Leeming <leeming@lyx.org>
1864 * text.C (redoParagraphs): add call to updateCounters(), thereby
1865 fixing the missing "Figure #:" label from the caption of a
1868 2004-04-13 Angus Leeming <leeming@lyx.org>
1870 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1871 cursor is clicked out of an inset.
1873 2004-04-13 Angus Leeming <leeming@lyx.org>
1875 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1876 than an InsetOld one.
1878 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1880 * format.[Ch]: add editor to Format
1881 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1882 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1884 2004-04-08 André Pönitz <poenitz@gmx.net>
1886 * metricsinfo.h: remove PainterInfo::width member
1888 2004-04-08 Angus Leeming <leeming@lyx.org>
1890 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1891 "\providecommand" rather than "\newcommand", thereby preventing
1892 clashes with packages that define "\boldsymbol" themselves.
1895 2004-04-08 Angus Leeming <leeming@lyx.org>
1897 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1898 thereby squashing an unnecessary warning.
1900 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1902 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1905 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1907 * BufferView.C (setCursor): call redoParagraph (some insets could
1909 (putSelectionAt): remove the 'double update' trick
1911 * BufferView_pimpl.C (fitCursor): call refreshPar
1912 (workAreaDispatch): remove an uneeded update call
1913 (dispatch): remove some manual update calls
1915 * cursor.[Ch]: remove cached_y_, updatePos
1916 (selHandle): set noUpdate when appropriate
1918 * lyxfunc.C (dispatch): track if we need an update
1920 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1922 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1923 (paintSelection): cheap optimization, do not call cursorX when not
1925 (paintPars): change signature
1928 (paintTextInset): adjust
1932 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1934 * lengthcommon.C: compilation fix: remove explicit array size from
1935 unit_name[] and friends
1937 2004-04-05 Angus Leeming <leeming@lyx.org>
1939 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1941 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1942 present only for the preferences dialog.
1943 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1945 2004-04-05 Angus Leeming <leeming@lyx.org>
1947 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1948 to enable the frontends to export changes to lyxrc correctly.
1950 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1952 2004-04-07 André Pönitz <poenitz@gmx.net>
1954 * cursor.[Ch] (selClear, adjust): remove math
1956 * cursor_slice.C: more agressive assert
1959 * BufferView_pimpl.C: rework mouse event dispatch
1966 2004-04-05 André Pönitz <poenitz@gmx.net>
1968 * cursor.[Ch] (valign, halign...): remove unneeded functions
1970 2004-04-05 Angus Leeming <leeming@lyx.org>
1972 * lyxlength.[Ch] (unit_name et al.): const-correct.
1974 2004-04-05 Angus Leeming <leeming@lyx.org>
1976 * BufferView_pimpl.C:
1985 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1987 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1989 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1991 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1993 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1994 * BufferView_pimpl.[Ch] (getStatus)
1995 * BufferView.[Ch] (getStatus): add
1996 * lyxfunc.C (getStatus): move lfuns handled in
1997 BufferView::dispatch to te function above
1998 * Cursor.C (setSelection): set selection() = true
2000 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2002 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2004 2004-03-31 Angus Leeming <leeming@lyx.org>
2006 * lyxfunc.C (dispatch): Fall through to the generic
2007 Dialogs::show("preamble").
2009 2004-03-31 Angus Leeming <leeming@lyx.org>
2011 * lyxfunc.C (dispatch): Fall through to the generic
2012 Dialogs::show("spellchecker").
2014 2004-03-31 Angus Leeming <leeming@lyx.org>
2016 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2019 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2024 * insetiterator.[Ch]:
2029 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2031 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2033 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2034 insets where we are putting the cursor.
2036 2004-03-31 Angus Leeming <leeming@lyx.org>
2039 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2041 * lyxrc.[Ch] (read, write): overloaded member functions taking
2042 a std::[io]stream arguments.
2044 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2046 2004-03-31 Angus Leeming <leeming@lyx.org>
2048 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2049 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2051 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2052 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2054 2004-03-31 Angus Leeming <leeming@lyx.org>
2056 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2057 the LFUN_ALL_INSETS_TOGGLE code.
2059 2004-03-30 Angus Leeming <leeming@lyx.org>
2061 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2062 has died. Fall through to the generic Dialogs::show("document").
2064 2004-03-30 Angus Leeming <leeming@lyx.org>
2067 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2068 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2070 * lyxfunc.C (getStatus, dispatch): define the actions for these
2071 lfuns. Little more than a cut and pste job from ControlDocument.C
2073 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2075 2004-03-30 Angus Leeming <leeming@lyx.org>
2078 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2079 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2081 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2082 open/closed state of ollapsable insets. Usage:
2084 all-inset-toggle <state> <name>, where
2085 <state> == "open" || "closed" || "toggle" and
2086 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2088 * lyxtext.h, text2.C (toggleInset): removed.
2090 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2091 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2092 now passes LFUN_INSET_TOGGLE to the found inset.
2094 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2095 is now invoked as "all-insets-toggle toggle branch".
2097 2004-03-30 Angus Leeming <leeming@lyx.org>
2101 * pariterator.[Ch]: added/corrected header blurb.
2103 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2105 * dociterator.[Ch]: add an inset_ member
2106 (backwardPos): implemented
2107 (backwardPos, forwardPos): use inset_ when the stack is empty.
2108 (doc_iterator_begin, doc_iterator_end): implemented
2109 * pariterator.[Ch]: adjust, add begin, end
2110 * insetiterator.[Ch]: adjust, add begin, end
2114 * BufferView_pimpl.C:
2115 * CutAndPaste.C: adjust
2117 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2119 * buffer.C: increment file format to 232.
2120 * LaTeXFeatures.C: add bibtopic package.
2121 * bufferparams.[Ch]: param \use_bibtopic.
2123 * lyxrc.[Ch]: add lyxrc bibtex_command
2124 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2126 * buffer.C: increment file format to 231.
2128 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2130 * dociterator.C: implement forwardPar
2131 * iterators.[Ch]: remove, replaced by
2132 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2134 * BufferView_pimpl.C:
2137 * bufferview_funcs.C:
2143 * Makefile.am: adjust
2145 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2147 * CutAndPaste.C (pasteSelection): fix 2 crashes
2148 (eraseSelection): fix a crash
2149 * paragraph_funcs.C: remove a warning
2151 2004-03-28 Angus Leeming <leeming@lyx.org>
2154 * LyXAction.C (init): new LFUN_PRINT.
2156 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2158 2004-03-27 Angus Leeming <leeming@lyx.org>
2161 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2163 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2165 2004-03-27 Angus Leeming <leeming@lyx.org>
2167 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2168 insetlist always contains non-null pointers to insets.
2170 2004-03-26 Angus Leeming <leeming@lyx.org>
2172 * src/BufferView_pimpl.C:
2173 * src/CutAndPaste.C:
2176 * src/output_plaintext.C:
2177 * src/outputparams.h:
2178 * src/paragraph_funcs.C:
2182 * src/frontends/controllers/ControlErrorList.C:
2183 * src/frontends/gtk/FileDialogPrivate.C:
2184 * src/frontends/gtk/GPainter.C:
2185 * src/frontends/gtk/GToolbar.C:
2186 * src/frontends/qt2/QRef.C:
2187 * src/mathed/math_scriptinset.C: squash compiler warnings.
2189 2004-03-26 Angus Leeming <leeming@lyx.org>
2191 * ispell.C (LaunchIspell::start):
2192 * lyx_cb.C (AutoSaveBuffer::start):
2193 invoke run(DontWait) rather than runNonBlocking().
2195 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2197 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2199 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2201 * kbsequence.C (print): adjust
2203 * kbmap.C (printKeySym): rename and change signature
2204 (printKey): use LyXKeySym::print()
2206 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2208 * undo.C: add using std::advance to compile for stlport
2210 2004-03-24 Angus Leeming <leeming@lyx.org>
2212 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2213 it leads to a crash when no buffer is present.
2215 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2216 Martin Vermeer <martin.vermeer@hut.fi>
2218 * lyxfunc.C (dispatch):
2219 * bufferparams.C (readToken): use the new LColor::setColor
2221 * LColor.[Ch] (setColor): new version that takes two strings as
2222 argument and creates a new color entry if necessary
2224 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2226 * buffer.C (makeLaTeXFile): if the main latex file that is
2227 processed is usually a subdocument of some master, then pretend
2228 for a while that it is actually the master
2230 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2232 * buffer.C (getLabelList):
2233 (getBibkeyList): use getMasterBuffer()
2234 (getMasterBuffer): new method. Returns the main document in the
2235 case where one is using included documents.
2237 2004-03-25 André Pönitz <poenitz@gmx.net>
2241 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2243 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2245 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2246 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2248 * ParameterStruct.h: merge with ParagraphParameters
2250 * lyxtext.h: remove LyXText::parOffset() and getPar()
2252 * text3.C: Remove all 'manual' update calls. We do now one per user
2253 interaction which is completely sufficient.
2257 * BufferView_pimpl.C:
2258 * FontIterator.[Ch]:
2260 * ParagraphParameters.[Ch]:
2265 * cursor_slice.[Ch]:
2272 * output_docbook.[Ch]:
2273 * output_latex.[Ch]:
2274 * output_linuxdoc.[Ch]:
2275 * output_plaintext.[Ch]:
2277 * paragraph_funcs.[Ch]:
2278 * paragraph_pimpl.[Ch]:
2286 * frontends/controllers/ControlDocument.C:
2287 * frontends/controllers/ControlErrorList.C:
2288 * frontends/controllers/ControlSpellchecker.C:
2291 * insets/insetbase.h:
2292 * insets/insetbibitem.C:
2293 * insets/insetbox.C:
2294 * insets/insetbranch.C:
2295 * insets/insetcaption.C:
2296 * insets/insetcharstyle.C:
2297 * insets/insetcharstyle.h:
2298 * insets/insetcollapsable.C:
2299 * insets/insetcollapsable.h:
2300 * insets/insetert.C:
2301 * insets/insetfloat.C:
2302 * insets/insetfoot.C:
2303 * insets/insetmarginal.C:
2304 * insets/insetnote.C:
2305 * insets/insetoptarg.C:
2306 * insets/insettabular.C:
2307 * insets/insettext.C:
2308 * insets/insettext.h:
2309 * insets/insetwrap.C:
2310 * mathed/math_mboxinset.C:
2311 * mathed/math_nestinset.C:
2312 * mathed/math_scriptinset.C:
2313 * mathed/math_scriptinset.h:
2316 2004-03-24 Angus Leeming <leeming@lyx.org>
2318 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2319 deal with any child processes that have finished but are waiting to
2320 communicate this fact to the rest of LyX.
2322 2004-03-24 Angus Leeming <leeming@lyx.org>
2324 64-bit compile fixes.
2326 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2327 (c-tor): pass lyx::pos_types rather than ints.
2329 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2332 * text.C (Delete): compile fix.
2333 (getPar): ensure that function declaration is the same as that in
2336 2004-03-23 Angus Leeming <leeming@lyx.org>
2338 * ispell.C (LaunchIspell):
2339 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2340 a boost::shred_ptr rather than a std::auto_ptr.
2342 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2344 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2345 handle LFUN_FILE_INSERT_*
2347 * lyxrc.C (setDefaults, getDescription, output, read):
2348 * lyxrc.h: remove ps_command
2350 2004-03-22 Angus Leeming <leeming@lyx.org>
2352 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2353 Ensure that error_handler is processed once only and that all data
2354 is saved before attempting to output any warning messages.
2356 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2358 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2360 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2362 2004-03-19 André Pönitz <poenitz@gmx.net>
2364 * cursor.[Ch] (reset): take main text inset as argument
2366 * BufferView: adjust
2367 * BufferView_pimpl.C: adjust
2369 * paragraph.[Ch]: fix completely broken operator=()
2371 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2373 * LColor.C (getFromLyXName): make sure that the color name is used
2376 2004-03-17 Angus Leeming <leeming@lyx.org>
2379 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2381 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2382 dialog and to kill a forked process.
2384 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2386 * text2.C (setCursorFromCoordinates): fix font problem
2388 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2390 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2391 bogus "rebuild cursor" code
2393 2004-03-11 André Pönitz <poenitz@gmx.net>
2395 * buffer.[Ch]: use InsetText instead of LyXText as container for
2398 * dociterator.[Ch]: drop the BufferView * member which is not needed
2399 anymore after the change to buffer.C
2401 * paragraph_funcs.C:
2405 * BufferView_pimpl.[Ch]:
2407 * cursor_slice.[Ch]: adjust
2409 * text3.C: fix bug in mathDispatch
2411 2004-03-08 André Pönitz <poenitz@gmx.net>
2413 * undo.[Ch]: use 'StableDocumentIterator' as base for
2416 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2419 * bufferparams.[Ch]: add jurabib support and param.
2421 * LaTeX.C: add FIXME/comment.
2423 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2425 * buffer.C: increment file format to 230.
2427 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2429 * cursor.C (dispatch): avoid infinite loops
2431 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2433 * rowpainter.C (paintSelection): fix x coordinates
2435 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2437 * text.C (rowBreakPoint): fix breaking before displayed insets
2439 2004-03-01 André Pönitz <poenitz@gmx.net>
2441 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2443 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2447 * BufferView_pimpl.C:
2455 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2461 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2462 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2464 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2466 * Bidi.[Ch] (computeTables): const correctness
2467 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2468 fill_hfill, fill_label_hfill and x from Row
2469 * lyxtext.h: prepareToPrint returns a RowMetrics
2470 * rowPainter.C: adjust
2471 * text.C (prepareToPrint): use width, not textWidth. adjust
2472 (redoParagraphInternal, cursorX): adjust
2473 * text2.C (getColumnNearX): adjust
2474 (init): put a default value to the top LyXText::width
2476 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2478 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2480 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2482 * lyxtext.h: add FontIterator class
2484 * text.C (FontIterator, operator*, operator->, operator++): add
2485 (rowBreakPoint, setRowWidth): adjust (fixing a
2488 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2490 * BufferView_pimpl.C (workAreaDispatch): allow also
2491 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2493 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2495 * text.C (rowBreakPoint): fix a bug showing with very large insets
2497 2004-02-25 André Pönitz <poenitz@gmx.net>
2500 * cursor.[Ch]: move some mathed specific code to mathed
2502 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2504 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2505 use_tempdir in preferences
2506 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2508 * lyx_main.C: ensure that tempdir is valid
2509 * lyxlex.h: correct typo
2510 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2511 * paragraph.[Ch] (isMultiLingual): make const
2512 * cursor.[Ch] (openable): make const
2514 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2516 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2518 2004-02-20 André Pönitz <poenitz@gmx.net>
2520 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2522 * cursor.[Ch]: prepare for localized getStatus()
2528 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2530 2004-02-20 André Pönitz <poenitz@gmx.net>
2532 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2534 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2536 * text2.C (setCursorFromCoordinates): switch to absolute coords
2538 (cursorDown): adjust
2539 * text3.C (dispatch): adjust
2541 2004-02-16 André Pönitz <poenitz@gmx.net>
2543 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2546 * cursor_slice.[Ch]: remove unneeded acessor function
2548 * lyxtext.h: rename rtl() to isRTL()
2556 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2558 * rowpainter.C (paintSelection): coord fix
2560 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2562 * Spacing.C: compile fix
2564 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2566 * cursor.C (dispatch): restore current_ before returning
2568 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2570 * text2.C (cursorUp, cursorDown): fix coords
2573 2004-02-12 André Pönitz <poenitz@gmx.net>
2578 * text3.C: add LCursor & parameter to most cursor movement functions
2579 remove usage of LyXText::cursorRow() and cursorPar()
2581 * cursor.[Ch]: add textRow() needed members
2584 * BufferView_pimpl.C:
2587 * BufferView_pimpl.C: adjust
2589 2004-02-11 André Pönitz <poenitz@gmx.net>
2593 * BufferView_pimpl.C: shift undo/redo handling
2595 * cursor.[Ch]: fix mathed crash
2598 * lyxtext.h: move selectionAsText to LCursor
2606 * rowpainter.C: fix excessive drawing
2608 2004-02-06 André Pönitz <poenitz@gmx.net>
2611 * BufferView_pimpl.[Ch]:
2612 * text3.C: move some text specific LFUN handling
2614 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2616 * text3.C (checkInsetHit): adjust coords
2617 * text2.C (getColumnNearX): adjust coords
2618 (edit): adjust coords
2619 * text.C (getRowNearY): add two asserts
2621 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2624 * format.C: add using std::distance to compile on gcc 2.95/stlport
2626 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2628 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2630 2004-02-04 André Pönitz <poenitz@gmx.net>
2632 * BufferView.[Ch] (insertInset):
2633 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2638 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2640 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2641 on the default clause of the switch
2642 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2643 wasn't catched by LCursor::dispatch
2645 2004-02-03 André Pönitz <poenitz@gmx.net>
2648 * cursor.[Ch]: some additional asserts
2650 * undo.[Ch]: remove LyXText dependency in interface
2654 * lyxtext.h (firstPar, lastPar): remove dead functions
2659 * paragraph.[Ch]: adjust
2661 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2663 * lyxfind.C (find): fix argument order in call to ::find
2665 2004-02-02 André Pönitz <poenitz@gmx.net>
2667 * cursor.[Ch]: remove direct access to anchor
2669 * text.C: remove findText() hack
2671 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2673 * iterators.[Ch] (lockPath): remove in favour of...
2674 * BufferView.[Ch] (setCursor): this addition
2675 * BufferView.C (putSelectionAt): adjust
2676 * undo.C (performUndoOrRedo): adjust
2677 * lyxfunc.C (dispatch): adjust
2679 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2681 * iterators.C (lockPath): add a missing slice
2682 * undo.C (performUndoOrRedo): remove redundant positioning code
2684 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2686 * vc-backend.C (scanMaster): ";" -> ';'
2688 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2690 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2691 std::binary_function
2693 * lyxtextclass.C (compare_name): rename to...
2694 (LayoutNamesEqual): ...this
2696 * lyxlex_pimpl.C (compare_tags): inherit from
2697 std::binary_function, put back into anon namespace
2699 * lyxfind.C (MatchString): inherig from std::binary_function
2700 (findChange): use empty() istead of !size()
2702 * format.C (FormatNamesEqual): new functor
2709 * converter.C (compare_Converter): rename to...
2710 (ConverterEqual): ...this, and fixup a bit.
2711 (getConverter): use it, and make function const
2712 (getNumber): use it, and make function const
2716 * bufferlist.C: add using boost::bind
2718 * MenuBackend.C (MenuNamesEqual): new functor
2719 (hasMenu): use it, and make function const
2720 (hasSubmenu): use nested bind to get rid of compare_memfun.
2722 2004-01-30 André Pönitz <poenitz@gmx.net>
2724 * BufferView_pimpl.C:
2727 * cursor_slice.[Ch]:
2730 * paragraph_funcs.C:
2731 * paragraph_funcs.h:
2735 * text3.C: move some of the edit(x,y) handling to the insets
2736 some coordinate changes.
2738 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2740 * text.C: add using statements for std::advance and std::distance
2742 * paragraph.C: add using statement for std::distance
2744 * lyxfind.C: add using statement for std::advance
2746 * cursor.C (region): remove std:: from swap
2747 (openable): use nucleus in stead of operator->
2749 * BufferView.C: add using statements for std::distance and std::swap
2751 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2753 * iterators.C: Remove the pimple, move the needed structures to
2754 the header file. Create accessor for the positions stack.
2755 (asPosIterator): remove function
2757 * PosIterator.C (PosIterator): move constructors to top of file
2758 (PosIterator): reimplement the constructor taking a ParIterator in
2760 (setFrom): new function
2761 (operator!=): inline it
2763 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2765 * lyxfind.C (replaceAll): use std::advance
2767 * iterators.h: inherit from std::iterator.
2769 * PosIterator.C (advance, distance): remove
2770 * PosIterator.h: interit from std::iterator.
2772 2004-01-26 André Pönitz <poenitz@gmx.net>
2775 * BufferView_pimpl.[Ch]:
2779 * bufferview_funcs.C:
2789 * output_linuxdoc.C:
2790 * output_plaintext.C:
2792 * paragraph_funcs.[Ch]:
2793 * paragraph_pimpl.[Ch]:
2799 * text3.C: more IU: dumps most of the rest of the mathcursor
2800 implementation into cursor.[Ch]; "globalize" a bit of it.
2802 2004-01-25 Angus Leeming <leeming@lyx.org>
2804 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2806 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2808 * LaTeXFeatures.h: add nice_ and nice() const
2809 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2811 2004-01-20 André Pönitz <poenitz@gmx.net>
2814 * BufferView_pimpl.C:
2816 * bufferview_funcs.C:
2818 * cursor_slice.[Ch]:
2829 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2830 LCursor and mathcursor parts to LCursor and InsetBase.
2832 2004-01-15 André Pönitz <poenitz@gmx.net>
2834 * cursor_slice.[Ch]: add a few covienience functions
2836 * funcrequest.[Ch]: remove BufferView * member
2838 * BufferView_pimpl.C:
2845 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2847 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2849 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2850 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2852 2004-01-13 André Pönitz <poenitz@gmx.net>
2855 * lyxtext.h: hide cursor and selection anchor behind accessor function
2858 * BufferView_pimpl.[Ch]:
2860 * bufferview_funcs.C:
2870 * cursor_slice.[Ch]: some integer type changes for inset unification
2872 * lyxcursor.[hC]: remove, it's CursorSlice now.
2875 * BufferView_pimpl.[Ch]:
2876 * bufferview_funcs.C:
2882 * textcursor.[Ch]: adjust
2884 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2886 * text2.C (undoSpan): add and use
2887 * text.C (breakParagraph): use undoSpan (fix bug 578)
2890 2004-01-08 Angus Leeming <leeming@lyx.org>
2892 * BufferView_pimpl.C (MenuInsertLyXFile):
2893 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2894 * lyxfunc.C (menuNew, open, doImport):
2895 FileFilterList change to the FileDialog open and save functions.
2897 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2899 * ShareContainer.h: make isEqual and isUnique adaptable
2901 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2903 2004-01-07 Angus Leeming <leeming@lyx.org>
2906 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2908 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2910 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2911 functions replacing find, replace and replaceAll.
2913 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2914 LFUN_WORDFIND(FORWARD|BACKWARD).
2916 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2918 * text.C (breakParagraph): remove an outdated #warning
2920 2004-01-07 André Pönitz <poenitz@gmx.net>
2922 * lyxfind.C: somewhat clearer logic
2924 * text.C: prevent crash in cursorX on unitialized row cache
2926 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2928 * lyxcursor.[Ch] (operator>): add
2929 * textcursor.C (selStart, selEnd): use std::min and std::max
2931 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2933 * Chktex.C: include boost/format.hpp
2935 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2937 * InsetList.C: replace functor MathcIt with adaptable functor
2939 (insetIterator): modify accordingly
2941 * BranchList.h: move the BranchNamesEqual functor here from...
2942 * BranchList.C: ... to here
2944 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2946 (add): replace a finding loop with std::find_if.
2948 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2950 * output_docbook.C: moving LatexParam functionality into
2953 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2955 * buffer.C: increment format to 229.
2957 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2960 * lyx_sty.[Ch]: remove minipageindent_def
2966 * text3.C: remove LFUN_INSET_MINIPAGE
2968 2003-12-28 Angus Leeming <leeming@lyx.org>
2970 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2972 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2974 * text2.C (setParagraph): fix off-by-one crash
2976 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2978 * output_docbook.C: header stuff for AGU
2980 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2982 * text2.C (redoCursor): remove
2985 * BufferView_pimpl.C: remove calls to redoCursor and
2986 setCursor(cursor.par(), cursor.pos()) all around
2988 2003-12-15 Angus Leeming <leeming@lyx.org>
2990 * buffer.C: up the format to 228.
2992 2003-12-15 André Pönitz <poenitz@gmx.net>
2994 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2999 * BufferView_pimpl.C:
3008 2003-12-15 Angus Leeming <leeming@lyx.org>
3010 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3011 than getFromGUIName to manipulate the color.
3013 2003-12-14 Angus Leeming <leeming@lyx.org>
3015 * BranchList.[Ch]: minimize the API.
3016 (Branch::getBranch, getColor): now return a 'const &'.
3017 (Branch::setSelected) now returns a bool set to true if the
3018 selection status changes.
3019 (BranchList::clear, size, getColor, setColor, setSelected,
3020 allBranches, allSelected, separator): removed.
3021 (BranchList::find): new functions, returning the Branch with
3023 (BranchList::add, remove): return a bool indicating that
3024 the operation was successful.
3026 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3027 new InsetBranch::isBranchSlected member function.
3029 * LColor.[Ch]: mimimize the API.
3030 (fill): renamed as addColor and made private.
3031 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3032 versions of these functions taking a string arg have been removed.
3034 * bufferparams.C (readToken):
3035 * lyxfunc.C (dispatch):
3036 * lyxrc.C (read): changes due to the altered BranchList and
3039 * factory.C (createInset, readInset): changes due to altered
3042 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3045 * lyxfunc.C: remove insetminipage. "minipage-insert"
3046 now produces a frameless minipage box inset.
3048 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3050 * textcursor.[Ch] (selStart,selEnd): add new methods
3051 remove selection::start, end, use LyXCursor::operator<
3052 * lyxcursor.[Ch] (operator<): add
3053 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3054 * BufferView.[Ch] (unsetXSel): add
3055 * text2.C (clearSelection): use unsetXSel,adjust
3058 * rowpainter.C: adjust
3059 * bufferview_funcs.C (put_selection_at): adjust
3061 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3063 * BufferView_pimpl.C: small coord. correction
3065 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3067 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3068 dragging over the splash screen.
3070 2003-12-11 Angus Leeming <leeming@lyx.org>
3072 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3073 as it is now handled in LyXText::dispatch.
3075 * text3.C (doInsertInset): remove a level of nesting.
3077 2003-12-11 Angus Leeming <leeming@lyx.org>
3079 * factory.C (createInset): changes due to the changed interface to
3080 InsetCommandMailer::string2params.
3082 2003-12-10 Angus Leeming <leeming@lyx.org>
3084 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3085 'dialog-show-new-inset <inset name>'
3087 2003-12-10 Angus Leeming <leeming@lyx.org>
3089 * buffer.C: up the format to 227.
3091 * factory.C: the box inset is now identified simply by 'Box'.
3093 2003-12-10 Angus Leeming <leeming@lyx.org>
3095 * buffer.C: up the format to 226.
3097 * factory.C: the note inset is now identified simply by 'Note'.
3099 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3101 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3102 when a pit is enough. Standarize a couple of loops.
3104 2003-12-05 Angus Leeming <leeming@lyx.org>
3106 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3107 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3108 data to the re-worked "log" dialog.
3110 2003-12-03 André Pönitz <poenitz@gmx.net>
3116 * paragraph_funcs.C:
3118 * text2.C: use Inset::getText instead of Inset::getParagraph
3120 2003-12-03 André Pönitz <poenitz@gmx.net>
3124 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3125 InsetText::read() as LyXText::read()
3127 2003-12-02 Angus Leeming <leeming@lyx.org>
3129 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3130 type. Add a comment in the implementation that the function uses
3131 the stream's bad() function rather than fail() as the std::streams
3134 2003-12-02 André Pönitz <poenitz@gmx.net>
3136 * lyxlex.[Ch]: make interface more similar to std::stream
3138 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3140 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3142 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3144 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3146 * vspace.[Ch]: remove VSpace::NONE
3148 2003-12-01 André Pönitz <poenitz@gmx.net>
3151 * lyxtext.h: move ParagraphList member to LyXText
3152 rename LyXText::ownerParagraphs to LyXText::paragraph
3155 * bufferview_funcs.C:
3165 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3167 * undo.C: fix cursor positioning
3169 2003-12-01 John Levon <levon@movementarian.org>
3171 * BufferView_pimpl.C: fix a crash on exit with
3174 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3176 * BranchList.C: fix setSelected() method.
3178 2003-11-28 André Pönitz <poenitz@gmx.net>
3180 * ParagraphParameters.[Ch]:
3181 * ParameterStruct.h: remove space above/below from Paragraph to
3184 * BufferView_pimpl.C:
3190 * paragraph_funcs.C:
3196 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3198 * factory.C: Syntax change for CharStyles
3200 2003-11-28 André Pönitz <poenitz@gmx.net>
3205 * buffer.[Ch]: move LyXText member
3207 2003-11-28 André Pönitz <poenitz@gmx.net>
3209 * BufferView.[Ch]: make LyXText * text a private member
3211 * BufferView_pimpl.C:
3222 * output_plaintext.C: cleanup
3224 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3227 * lyxtextclass.[Ch]: parametrize SGML document header
3229 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3232 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3235 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3237 * text2.C (setFont): rework using PosIterator (no more recursive)
3238 (setCharFont): no more needed
3239 (setLayout): no more selection cursors fiddling (done by redoCursor)
3240 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3241 destroy remaining ones)
3243 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3245 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3247 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3250 * text3.C: adjust + re-allow multi par depth changes
3251 * textcursor.C: simplify a bit
3253 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3259 * src/output_docbook.C:
3260 * src/output_latex.C:
3265 * src/text2.C: Introducing a number of tags parametrizing various
3266 XML formats that we may want to support
3268 2003-11-25 André Pönitz <poenitz@gmx.net>
3270 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3272 * lyxtext.h (leftMargin/rightMargin): simplify interface
3279 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3281 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3282 master file to any child files. Fixes bug 546.
3284 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3286 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3288 2003-11-24 André Pönitz <poenitz@gmx.net>
3290 * rowpainter.C: simplification
3292 * text2.C (updateCounters): remove call to redoParagraph on
3293 changed labels as this is far too expensive.
3295 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3297 * converter.C (convert): fix a crash: this function gets
3298 called with buffer == 0 from importer code.
3300 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3302 * text3.C (cursorPrevious): make sure that we do not compare
3303 iterators form different containers.
3306 * rowpainter.C (paintSelection): make sure that we do not compare
3307 iterators from different containers.
3309 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3310 iterators from different ParagraphList containers.
3313 * text2.C (LyXText): change order of initialization slightly
3314 (operator=): new function. copy all variables except cache_par_
3315 (moveUp): make sure that we do not compare iterators from
3316 different ParagraphList constainers.
3319 * text.C (firstPar): new function
3320 (lastPar): new function
3321 (endPar): new function
3323 * lyxtext.h: move things around and group public functions, public
3324 variables, private functions, private variables
3326 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3328 * factory.C: change call to InsetERT constructor to avoid
3329 additional invocation of method status
3330 * text2.C (toggleInset): remove redundant update() call
3331 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3332 instead of a Bufferview pointer
3334 2003-11-21 André Pönitz <poenitz@gmx.net>
3336 * rowpainter.C: simplification
3338 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3340 * text3.C (dispatch): make possible to extend a word/row selection
3343 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3345 * lyxtext.h: x0_,y0_ -> xo_,yo_
3346 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3347 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3348 * rowpainter.C (paintRows): paint full paragraphs
3350 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3352 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3355 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3357 * lyxtext.h: add x0_, y0_
3358 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3359 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3361 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3363 * text2.C (setCursorIntern): move the x_target update here *
3364 * text3.C: change some bv() to true/false in calls to
3365 cursorUp/Down/Right/Left
3366 * cursor.C: use helper function.
3368 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3370 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3371 * paragraph_funcs.[Ch]: correct comment
3372 * rowpainter.C: do not paint selections away from bv->cursor()
3373 Fix a long standing selection painting bug.
3374 * text3.C: generalize mouse-selection code to LyXTexts other that
3376 * textcursor.C: do not use y coords if we can use par offsets
3378 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3380 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3381 cursor position after e.g. inset insert)
3383 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3385 * lyxfind.C (replace): adjust to locking removal + some
3388 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3390 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3393 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3396 * output_docbook.C: XML sanitation: new layout
3397 parameters InnerTag and CommandDepth
3399 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3401 * BufferView_pimpl.C:
3403 * text3.C: Fix the insertion and modification of button-style
3406 2003-11-13 André Pönitz <poenitz@gmx.net>
3408 * InsetList.[Ch]: remove deleteLyXText
3410 * paragraph.[Ch]: cache beginOfBody position
3415 * text3.C: remove superfluous update() calls
3419 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3421 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3422 * BufferView.C (fitLockedInsetCursor): remove
3423 * cursor.[Ch] (getDim): add
3424 * text.C (getRowNearY): add faster version
3425 * text3.C: remove some update calls
3427 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3439 * text3.C: The Character Style /XML short element patch.
3441 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3444 * factory.C: Small step to solving 'unable to insert some insets'
3447 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3449 * cursor.[Ch] (updatePos): new function for updating the y
3450 position of the tip inset
3451 * bufferview_funcs.C (put_selection_at):
3452 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3454 2003-11-11 André Pönitz <poenitz@gmx.net>
3456 * text.C: remove big comment on invalid Paragraph pointers as it is
3459 2003-11-11 André Pönitz <poenitz@gmx.net>
3461 * text_funcs.[Ch]: merge with ...
3469 * Makefile.am: remove text_funcs.[Ch]
3471 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3473 * cursor.C (getPos): return absolute cached y coord
3475 * BufferView_pimpl.C (fitCursor): new simplistic code
3476 (workAreaDispatch): add a fitCursor call
3478 2003-11-10 André Pönitz <poenitz@gmx.net>
3481 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3483 2003-11-10 André Pönitz <poenitz@gmx.net>
3485 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3486 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3487 indicate that the cursor needs to leave an inset
3489 * lyxtext.h: remove inset locking
3491 * cursor.[Ch]: re-implement functionality provided by inset locking
3494 * BufferView_pimpl.[Ch]:
3496 * bufferview_funcs.[Ch]:
3508 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3510 * PosIterator.[Ch]: replace the stack with a vector, add inset
3512 * iterators.[C]: adjust
3514 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3516 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3518 * paragraph_funcs.C (readParToken): put the correct id in the
3519 error item, not the id of the top paragraph
3521 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3523 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3524 * bufferview_funcs.C (put_selection_at): use the above
3526 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3528 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3530 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3532 * output_linuxdoc.h:
3533 * output_plaintext.h:
3535 * output_docbook.h: add #include statements
3537 2003-11-05 José Matos <jamatos@lyx.org>
3539 * output_docbook.[Ch]:
3540 * output_latex.[Ch]:
3541 * output_linuxdoc.[Ch]:
3542 * output_plaintext.[Ch]: New files for output formats.
3543 * output.[Ch]: New file for helper functions.
3546 * paragraph_funcs.[Ch]: output functions moved to new files.
3548 * outputparams.h: rename of latexrunparams.h
3556 * paragraph_funcs.[Ch]:
3557 * paragraph_pimpl.[Ch]:
3558 * tabular.[Ch]: rename ascii to plaintext
3559 and LatexRunParams to OutputParams.
3561 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3563 * iterators.[Ch] (text): require bv argument
3564 * undo.C (recordUndo):
3565 * lyxfunc.C (dispatch):
3566 * bufferview_funcs.C (put_selection_at): adjust
3568 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3570 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3572 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3574 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3577 2003-11-04 André Pönitz <poenitz@gmx.net>
3579 * cursor.[Ch]: restructure
3582 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3584 * iterators.[Ch] (asCursor): remove
3586 * lfuns.h: remove LFUN_INSET_EDIT
3592 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3594 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3596 * lyxfind.[Ch]: complete overhaul
3597 * BufferView_pimpl.C:
3599 * paragraph.[Ch] (insert): add
3601 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3605 * text.C: remove dead spellcheck code
3607 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * dispatchresult.h: add a val setter
3611 * cursor.C (dispatch): use a tempvar for data_[i]
3613 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3615 * PosIterator.[Ch]: compile fix
3617 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3619 * text.C (cursorPar): deactivate the cursor cache
3621 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3623 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3625 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3627 * text3.C (dispatch): adjust for new DisptchResult semantics.
3629 * lyxfunc.C (dispatch): handle update when return from
3630 Cursor::dispatch, adjust for new DispatchResult semantics.
3632 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3633 DispatchResult(true) mean to not update. Add class functions for
3634 setting dispatched and update, as well as reading.
3636 * cursor.C (dispatch): don't handle update here
3638 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3640 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3641 * trans_mgr.C: adjust
3643 * paragraph_funcs.C (readParToken): exception safety
3645 * lyxvc.h: store the vcs pointer in a scoped_ptr
3648 * lyxsocket.C (serverCallback): exception safety
3650 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3652 * ispell.C (clone): make it return a auto_ptr
3654 * factory.C (createInset): exception safety
3655 (readInset): exception safety
3657 * bufferlist.C (newBuffer): exception safety
3659 * Thesaurus.C (Thesaurus): use initialization for aik_
3661 * MenuBackend.C (expandToc): exception safety.
3663 2003-11-03 André Pönitz <poenitz@gmx.net>
3667 * bufferview_funcs.C: remove getInsetFromId()
3670 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3676 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3678 * PosIterator.C (distance, advance): new
3679 * bufferview_funcs.[Ch] (put_selection_at): new
3680 * iterators.[Ch] (lockPath): new
3682 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3684 * iterators.[Ch] (asPosIterator): added
3685 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3686 * PosIterator.[Ch]: added
3688 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * cursor.C (dispatch):
3693 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3695 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3696 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3697 contructor, add a class function dispatched. Remove operator>=
3699 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * debug.C: only use the default constructor for debugstream
3704 * main.C (main): include debug.h and setup the lyxerr streambuf
3707 2003-10-31 José Matos <jamatos@lyx.org>
3709 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3711 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3712 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3713 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3714 * paragraph_pimpl.C (simpleTeXSpecialC):
3715 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3716 add LatexRunParams argument.
3718 * exporter.C (Export): change call accordingly.
3720 * latexrunparams.h: add new member to take care of the other backends.
3721 2003-10-30 José Matos <jamatos@lyx.org>
3723 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3724 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3725 factorise code for paragraph output.
3727 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3730 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * text3.C (dispatch):
3733 * lyxfunc.C (dispatch):
3734 * cursor.C (dispatch):
3735 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3737 * dispatchresult.h: make the dispatch_result_t ctor explicit
3739 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3742 * buffer.C: small refactoring of docbook stuff
3744 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3749 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3751 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3752 operator dispatch_result_t, and operators for == != and >=
3754 * cursor.C (dispatch): adjust for operator dispatch_result_t
3755 removal. comment out call to update
3757 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3759 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3767 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3770 * dispatchresult.h: new file, DispatchResult broken out of
3773 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3775 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3777 * text.C (rowBreakPoint): put a hack inside #if 0
3779 2003-10-28 André Pönitz <poenitz@gmx.net>
3783 * paragraph_funcs.C:
3786 * text2.C: general cleanup (lots of small stuff)
3788 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3790 * text2.C (cursorEnd): simple fix to the "end key goes to one
3791 before the end on last row" bug
3793 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3795 * text.C (backspace): fix the "zombie characters"
3797 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3799 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3801 2003-10-27 André Pönitz <poenitz@gmx.net>
3803 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3805 * factory.C: handle new InsetPagebreak, InsetLine
3807 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3808 and move handling into new InsetPagebreak, InsetLine
3810 * BufferView_pimpl.C:
3812 * ParagraphParameters.C:
3813 * ParameterStruct.h:
3818 * paragraph_funcs.C:
3819 * paragraph_pimpl.C:
3825 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3828 * lyxrow_funcs.[Ch]:
3834 * text3.C: remove lastPos uses in favour of Row::endpos
3836 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3838 * undo.C (performUndoOrRedo): fix two crashes by setting a
3839 cursor by hand and reordering some calls. Use bv->lockInset instead
3840 of inset->edit because the latter loses cursor information
3842 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3844 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3846 (rowBreakPoint): fix width. change point to point + 1.
3847 Add a missing check.
3849 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3852 * lyxfunc.C: fix (at least partly) the problems
3853 with the Nav menu and headers inside branch insets
3856 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3858 * paragraph.C (getChar): add strong asserts
3860 * lyxrow_funcs.C (lastPos): remove hideous hack
3862 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3863 (fill): adjust to that (avoid an infinite loop)
3865 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3867 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3869 2003-10-23 André Pönitz <poenitz@gmx.net>
3871 * RowList_fwd.h: change list<> to vector<> to gain speed
3872 after suggestion from Alfredo
3874 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3876 * lyxtext.h: move the bidi stuff from here...
3879 * Bidi.[Ch]: ... to here
3881 2003-10-23 André Pönitz <poenitz@gmx.net>
3884 * text.C (isLastRow, isFirstRow): new functions
3886 * paragraph.h: new width cache member
3888 * rowpainter.C: replace RowList::iterator with Row & where possible
3890 * lyxfunc.C: replace several view()->text with a single call
3892 * toc.C: fix 'unused' warning
3894 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3897 when woring with stream::pos_type
3898 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3900 2003-10-22 André Pönitz <poenitz@gmx.net>
3903 * text.C: use Row & instead of RowList::iterator
3905 * lyxrow.h: rename end() to endpos()
3911 2003-10-22 Angus Leeming <leeming@lyx.org>
3913 * buffer.[Ch] (fully_loaded): new member function, returning true
3914 only when the file has been loaded fully.
3915 Used to prevent the premature generation of previews and by the
3916 citation inset to prevent computation of the natbib-style label.
3918 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3919 templates are all set up.
3921 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3923 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3925 * text.C: fixed an "oops" in the "is a bit silly"
3928 2003-10-21 André Pönitz <poenitz@gmx.net>
3930 * FuncStatus.[Ch]: small stuff, whitespace
3932 * lyxfont.[Ch]: operator<<() for debug reasons
3936 * lyxtext.h: whitespace, spelling
3938 * paragraph.C: naming of variables
3941 * text2.C: small stuff
3944 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3946 * text.C: (1) finish off the inset display() work;
3947 (2) fix the "is a bit silly" bug (accessing char
3950 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3952 * text.C: re-introduce display() for insets, fixing the
3953 various bugs (stretch of line above, math inset
3956 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3958 * text.C (rightMargin): remove spurious semicolon
3960 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3963 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3965 * text3.C: fix one crash due to wrong cursor def
3967 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * vc-backend.C (scanMaster): make the regex static
3971 * LaTeX.C (scanAuxFile): make the regexs static
3973 * text3.C (doInsertInset, dispatch, dispatch):
3974 * text2.C (cursorUp, cursorDown):
3975 * text.C (selectNextWordToSpellcheck):
3976 * BufferView_pimpl.C (dispatch):
3977 * lyxfunc.C (dispatch): localDispatch -> dispatch
3979 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3981 * lyxsocket.C: include <cerrno>
3983 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * lyxfunc.C (dispatch): remove textcache stuff
3987 * bufferlist.C (release): remove textcache stuff
3990 * TextCache.C: delete file
3991 * TextCache.h: delete file
3993 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3995 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3996 delete of the bv_->text.
3997 (resizeCurrentBuffer): remove texcache stuff
3998 (workAreaResize): ditto
4000 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4005 2003-10-16 André Pönitz <poenitz@gmx.net>
4012 * text3.C: speed up by storing y positions per paragraph plus per-row
4013 offset instead of having a 'full' y position in the row.
4015 2003-10-15 André Pönitz <poenitz@gmx.net>
4019 * undo.[Ch]: make undo aware of inner insets
4021 2003-10-14 Angus Leeming <leeming@lyx.org>
4023 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4024 static member functions LyX::ref() and LyX::cref.
4025 (lastfiles): new accessor functions for the new lastfiles_ member var.
4026 (addLyXView, views_): add a new LyXView to the list of views_.
4027 (updateInset): loop over all LyXViews to call their own updateInset
4028 member function, returning a pointer to the Buffer owning the inset.
4030 * BufferView_pimpl.C (loadLyXFile):
4031 * MenuBackend.C (expandLastfiles):
4032 * bufferlist.C (MenuWrite, QuitLyX):
4033 lastfiles is no longer a global variable.
4034 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4036 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4037 static function. Access through LyX::cref().emergencyCleanup().
4039 2003-10-14 André Pönitz <poenitz@gmx.net>
4041 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4043 * undo.[Ch]: restoring part of 'undo in insets'
4046 * undo_funcs.[Ch]: merge with undo.[Ch]
4048 * tabular.C: small cleansing stuff
4050 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4052 * paragraph_funcs.C (readParToken): report unknown insets as error
4053 boxes. Use the outer paragraph as location (also for unknown
4056 * factory.C (readInset): do not abort on reading an unknown inset.
4057 Eat it and return 0.
4059 2003-10-13 Angus Leeming <leeming@lyx.org>
4061 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4063 * lyxrc.C: displayTranslator is now a function,
4064 declared in GraphicsTypes.h.
4066 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4068 * format.C: new placeholder $$a to pass the socket address.
4070 * bufferlist.[Ch]: new function getBufferFromTmp.
4072 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4073 files in the temporary dir.
4075 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4077 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4079 * Makefile.am: add lyxsocket.[Ch].
4081 * lyx_main.C (error_handler): handle SIGPIPE.
4083 2003-10-13 André Pönitz <poenitz@gmx.net>
4085 * BufferView_pimpl.C:
4090 * undo_funcs.[Ch]: use paroffset_type instead of
4091 ParagraphList::iterators to prevent multiple conversion
4092 (and get a more robust interface)
4094 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4098 * text3.C (dispatch): ditto
4100 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4103 move the onlyfile, use onlyfile instead of foundfile in a couple
4106 * DepTable.C (update): flush the error stream a bit more
4108 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * lyxserver.C (callback): adjust
4112 * lyxfunc.C (getStatus): add a missing brace in commented code
4113 (ensureBufferClean): reindent
4114 (dispatch): delete version taking a string
4116 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * LaTeX.C (deplog): move found file handlig from here...
4119 (handleFoundFile): .. to new function here.
4120 (deplog): make sure to discover several files mentioned on the
4123 2003-10-10 André Pönitz <poenitz@gmx.net>
4130 * text3.C: fix some of the tabular crashes
4132 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4134 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4136 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4138 2003-10-09 André Pönitz <poenitz@gmx.net>
4140 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4143 * BufferView_pimpl.C:
4144 * bufferview_funcs.C:
4155 * undo_funcs.C: adjust
4157 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * text2.C (incrementItemDepth): new function, use a backtracking
4160 algorithm to discover the correct item depth.
4161 (resetEnumCounterIfNeeded): new function, use a backtracking
4162 algorithm to discover if counter reset is needed.
4163 (setCounter): use them. Simplify a bit. Add different labels for
4164 different item depths for itemize.
4166 * paragraph.C (Paragraph): remove initialization of enumdepth
4169 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4170 enumerate and itemize. Change the type of itemdepth to signed char.
4172 2003-10-08 André Pönitz <poenitz@gmx.net>
4174 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4179 * tabular.[Ch]: fix crash after 'row-insert'
4181 2003-10-08 Angus Leeming <leeming@lyx.org>
4183 Fix doxygen warnings.
4185 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4186 Remove CutAndPaste:: prefix from header file declaration.
4188 * LColor.h (fill): remove LColor:: prefix from declaration.
4190 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4191 use lyx::depth_type rather than Paragraph::depth_type so that
4192 header file and .C file match.
4194 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4196 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4197 * aspell.C: \file aspell_local.C -> \file aspell.C
4198 * gettext.C: \file gettext.C -> \file src/gettext.C
4199 * gettext.h: \file gettext.h -> \file src/gettext.h
4200 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4201 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4202 * text.C: \file text.C -> \file src/text.C
4204 * toc.C: move comment so that doxygen is not confused.
4206 2003-10-07 Angus Leeming <leeming@lyx.org>
4208 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4210 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4213 * aspell_local.h: add forgotten std::string's.
4215 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4222 * text3.C: The Box patch. Fancybox support, minipage, parbox
4224 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4230 * ParagraphParameters.h:
4240 * lyxtextclasslist.h:
4243 * paragraph_pimpl.C:
4244 * textcursor.h: add <string> and other small fixes to make Lars'
4245 std::string patch compile with STLport.
4247 2003-10-06 Angus Leeming <leeming@lyx.org>
4249 * LColor.h: Add missing #include <string>.
4251 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * All most all file in all subdirs: Make <string> be the prefered
4254 way of getting to std::string, add using declarations.
4256 2003-10-06 André Pönitz <poenitz@gmx.net>
4258 * metricsinfo.C: initialize LyXFont before changing attribute.
4259 (fixes the 'math in \emph is upright' bug)
4261 2003-10-06 André Pönitz <poenitz@gmx.net>
4263 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4265 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4268 * paragraph_pimpl.C: Small fixes to build using STLport
4270 2003-10-02 André Pönitz <poenitz@gmx.net>
4273 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4275 2003-10-01 André Pönitz <poenitz@gmx.net>
4277 * factory.C: assert early
4279 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4281 * lyx_main.C: remove the global debug object
4283 * debug.h: adjust for new debugstream
4285 * debug.C: adjust for new debugstream and keep the global debug
4288 2003-09-22 Angus Leeming <leeming@lyx.org>
4290 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4291 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4292 an incomplete class LyXFont.
4294 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4296 * factory.C: bug fix in branches
4298 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4300 * lyxfunc.C (processKeySym): adjust
4302 (dispatch): change arg name from ev to func, adjust
4303 (sendDispatchMessage): ditto
4305 * lyx_main.C (defaultKeyBindings): adjust keybindings
4306 (deadKeyBindings): ditto
4308 * kbsequence.C (addkey): return a FuncRequest
4310 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4312 * kbmap.C (bind): take a FuncRequest as arg, adjust
4315 (defkey): change to take a FuncRequest as arg, adjust
4316 (findbinding): take a FuncRequest as arg, adjust.
4318 * funcrequest.h (operator=): added
4320 * funcrequest.C (FuncRequest): default kb_action changed from
4321 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4323 * buffer.C (dispatch): simplify
4324 (dispatch): adjust to take a FuncRequest as arg, adjust
4326 * boost.C (assertion_failed): change assertion message slightly
4328 * ToolbarBackend.C (read): simplify
4330 * MenuBackend.C (binding): adjust call to findbinding, add a
4331 message if no binding is found.
4333 (expandToc): correct by adding a empty FuncRequest
4335 * LyXAction.C: include <boost/assert.hpp>
4336 (isPseudoAction): delete function
4337 (LookupFunc): change name to...
4338 (lookupFunc): this. change return type to FuncRequest.
4339 (getActionName): take kb_action as arg, simplify
4340 (funcHasFlag): add an assert, simplify.
4342 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4344 * toc.C (action): return a FuncRequest, simplify
4346 * lyxfunc.C (processKeySym): adjust
4347 (getStatus): delete version that takes an int.
4349 (dispatch): delete version that takes action as int
4351 (sendDispatchMessage): simplify and adjust
4353 * funcrequest.C (getArg): take unsigned int as arg
4355 * ToolbarBackend.C (read): adjust
4356 (add): delete version that takes func as a string.
4357 (getIton): take a FuncRequest as arg
4359 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4362 * MenuBackend.C (MenuItem): add a new construct that only takes a
4363 Kind, simplify the constructor use for submenus.
4365 (expandLastfiles): adjust
4366 (expandDocuments): adjust
4367 (expandFormats): adjust
4368 (expandFloatListInsert): adjust
4369 (expandFloatInsert): adjust
4370 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4372 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4373 Remove class variables lyx_pseudo_map and lyx_arg_map
4375 * LyXAction.C (searchActionArg): delete function
4376 (getPseudoAction): delete function
4377 (retrieveActionArg): delete function
4378 (LookupFunc): make it return kb_action, simplify.
4379 (getActionName): simplify
4381 * factory.C (createInset): fix new bug
4383 2003-09-19 Angus Leeming <leeming@lyx.org>
4385 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4386 masterFilename_ parameter in the include inset.
4388 * factory.C (createInset): changes due to the changes to InsetInclude.
4390 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4392 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4394 2003-09-18 Angus Leeming <leeming@lyx.org>
4397 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4398 Inset::fillWithBibKeys.
4399 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4401 2003-09-18 Angus Leeming <leeming@lyx.org>
4403 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4405 (ctor): pass and store a 'Buffer const &'
4406 (buffer): new member function.
4408 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4409 '*this' to the LaTeXFeatures ctor.
4411 2003-09-18 Angus Leeming <leeming@lyx.org>
4417 * text.C: rename EnumLColor as LColor_color.
4419 2003-09-18 Angus Leeming <leeming@lyx.org>
4421 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4422 remove #include "insets/insetbase.h" from cursor.h.
4424 2003-09-18 Angus Leeming <leeming@lyx.org>
4426 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4427 InsetOld_code to remove #include "inset.h".
4429 * iterators.C: add #include "insets/inset.h"
4431 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4433 * BufferView.C: remove more locking stuff that apparently doesn't
4434 do anything sensible.
4436 2003-09-16 André Pönitz <poenitz@gmx.net>
4439 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4442 2003-09-16 Angus Leeming <leeming@lyx.org>
4444 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4446 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4449 * paragraph.h: remove #include "lyxfont.h". Forward declare
4452 2003-09-16 Angus Leeming <leeming@lyx.org>
4454 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4455 of support/textutils.h.
4456 (isWord): move the contents of support/textutils.h's IsWordChar here.
4462 * text2.C: add #include "paragraph.h".
4465 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4467 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4473 * LaTeX.C: use namespace alias for lyx::support::os
4475 2003-09-16 Angus Leeming <leeming@lyx.org>
4478 * bufferview_funcs.C:
4481 * paragraph_pimpl.C:
4483 * text.C: add #include "LColor.h".
4485 2003-09-16 Angus Leeming <leeming@lyx.org>
4487 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4488 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4490 Store the FontBits::color variable as an int rather than as an
4491 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4494 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4495 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4496 string calls together.
4498 * lyxrc.C: add #include "LColor.h".
4500 2003-09-15 Angus Leeming <leeming@lyx.org>
4502 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4505 2003-09-15 Angus Leeming <leeming@lyx.org>
4507 * LColor.h: add an EnumLColor wrapper for LColor::color.
4509 * lyxfont.[Ch] (color, setColor, realColor):
4510 * lyxtext.h, text.C (backgroundColor):
4511 pass EnumLColor args to/from the functions, rather than LColor::color
4515 * lyxtext.h: forward declare EnumLColor.
4517 * lyx_main.C: add #include "LColor.h".
4519 2003-09-15 Angus Leeming <leeming@lyx.org>
4521 * .cvsignore: add lyx-gtk.
4523 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * ParagraphParameters.C
4532 * bufferview_funcs.C
4542 * vc-backend.C: remove usage of STRCONV
4544 2003-09-15 Angus Leeming <leeming@lyx.org>
4546 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4547 explicitly define the color passed to the painter.
4549 2003-09-15 Angus Leeming <leeming@lyx.org>
4551 * bufferparams.C (BufferParams): reorder member initializers to avoid
4554 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4556 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4557 * text.C (updateRowPositions): remove an unusual nop
4559 2003-09-12 André Pönitz <poenitz@gmx.net>
4561 * BufferView_pimpl.C:
4570 * Counters.[Ch]: finish the 'automatic counters' job
4572 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4574 * aspell.C: include <boost/assert.cpp> (compile fix)
4576 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4578 * boost.C (assertion_failed): use lyx::support::abort instead of
4581 2003-09-10 Angus Leeming <leeming@lyx.org>
4583 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4584 with their _fwd progeny.
4586 2003-09-09 Angus Leeming <leeming@lyx.org>
4588 134 files throughtout the source tree: replace 'using namespace abc;'
4589 directives with the appropriate 'using abc::xyz;' declarations.
4591 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4593 * boost.C (emergencyCleanup): moved here from LAssert.c
4594 (assertion_failed): new function, called by BOOST_ASSERT
4596 * several files: change Assert to BOOST_ASSERT
4598 2003-09-09 Angus Leeming <leeming@lyx.org>
4600 * buffer.[Ch]: Add an Impl class and move Buffer's member
4601 variables into it. As a result move several header files out of
4604 Add header files to lots of .C files all over the tree as a result.
4606 2003-09-09 Angus Leeming <leeming@lyx.org>
4608 * buffer.[Ch]: make Buffer's member variables private. Add
4611 Lots of changes all over the tree as a result.
4613 2003-09-08 Angus Leeming <leeming@lyx.org>
4615 * graph.C: #include <config.h>.
4617 2003-09-08 Angus Leeming <leeming@lyx.org>
4621 * BufferView_pimpl.C:
4650 * toc.C: remove redundant using directives.
4652 2003-09-07 Angus Leeming <leeming@lyx.org>
4654 * LaTeXFeatures.h: remove #include "support/types.h".
4655 * ToolbarBackend.h: remove #include <algorithm>.
4656 * changes.h: remove #include <ctime>.
4657 * debug.h: remove #include <iosfwd>.
4658 * graph.h: remove #include "support/std_string.h".
4659 * lyx_main.h: remove #include <csignal>.
4660 * lyxlex_pimpl.h: remove #include <fstream>.
4661 * sgml.h: remove #include <algorithm>, <utility>.
4662 * toc.h: remove #include "support/std_ostream.h".
4663 Add #include <iosfwd>.
4665 2003-09-07 Angus Leeming <leeming@lyx.org>
4667 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4669 * converter.h: forward declare LatexRunParams.
4670 * encoding.h: remove #include "lyxrc.h".
4671 * lyxtext.h: remove #include "LColor.h".
4672 * lyxtextclass.h: remove #include "support/types.h".
4673 * trans.h: remove #include "tex-accent.h".
4674 * trans_mgr.h: remove #include "tex-accent.h".
4675 * insets/inset.h: remove #include "support/types.h", <vector>.
4676 * insets/insetcollapsable.h: remove #include "LColor.h".
4677 * insets/insetinclude.h: remove #include "dimension.h".
4678 * insets/insetlatexaccent.h: remove #include "dimension.h".
4679 * insets/insetoptarg.h:: remove #include "insettext.h".
4680 * insets/insettext.h: remove #include "dimension.h",
4681 <boost/shared_ptr.hpp>
4683 * insets/renderers.h: add #include "dimension.h".
4684 * insets/updatableinset.h: add #include "support/types.h".
4686 * many .C files: Associated changes.
4688 2003-09-06 Angus Leeming <leeming@lyx.org>
4690 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4691 one, inside testInvariant.
4693 * PrinterParams.C: new file.
4694 * PrinterParams.[Ch]: move the function bodies out of line.
4696 2003-09-06 Angus Leeming <leeming@lyx.org>
4698 * ParagraphParameters.h: forward declare ParameterStruct rather than
4699 including its header file.
4700 (depth): moved out-of-line.
4702 2003-09-06 Angus Leeming <leeming@lyx.org>
4704 * BufferView_pimpl.h:
4707 * lyxfunc.h: forward declare LyXKeySym rather than
4708 #include "frontends/LyXKeySym.h".
4710 * BufferView_pimpl.C:
4713 * lyxfunc.C: associated changes.
4715 2003-09-06 Angus Leeming <leeming@lyx.org>
4717 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4718 As a result, can remove the #include "insets/inset.h" from BufferView.h
4720 2003-09-06 Angus Leeming <leeming@lyx.org>
4722 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4723 As a result, can remove the #include "insets/inset.h" from BufferView.h
4725 2003-09-06 Angus Leeming <leeming@lyx.org>
4731 * bufferview_funcs.C:
4732 * BufferView_pimpl.C:
4737 * ParagraphParameters.C:
4742 * frontends/controllers/ControlDocument.C:
4743 * insets/insetcaption.C: rearrange the #includes into some sort of
4746 * buffer.h: remove #includes ErrorList.h, undo.h
4748 2003-09-06 Angus Leeming <leeming@lyx.org>
4750 * support/types.h: add a 'depth_type' typedef, used to store the
4751 nesting depth of a paragraph.
4754 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4755 defining explicitly.
4758 * paragraph_funcs.h:
4759 * ParagraphParameters.h:
4760 * sgml.h: use lyx::depth_type rather than Paragraph or
4761 ParameterStruct's depth_type.
4764 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4767 * BufferView_pimpl.C:
4769 * ParagraphParameters.C:
4772 * bufferview_funcs.C:
4779 * frontends/LyXView.C:
4780 * frontends/controllers/ControlDocument.C:
4781 * frontends/controllers/ControlErrorList.C:
4782 * insets/insetbibitem.C:
4783 * insets/insetbranch.C:
4784 * insets/insetcaption.C:
4785 * insets/insetcollapsable.C:
4786 * insets/insetenv.C:
4787 * insets/insetert.C:
4788 * insets/insetfloat.C:
4789 * insets/insetfoot.C:
4790 * insets/insetfootlike.C:
4791 * insets/insetnewline.C:
4792 * insets/insetquotes.C:
4793 * insets/insettabular.C:
4794 * insets/insettext.C:
4795 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4797 * frontends/controllers/ControlChanges.C: #include "changes.h".
4799 2003-09-06 Angus Leeming <leeming@lyx.org>
4801 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4802 than #including paragraph.h.
4805 * RowList.h: deleted. Superfluous.
4815 * insets/insettext.h: use ParagraphList_fwd.h rather than
4818 * paragraph.h: don't forward declare ParagraphList.
4821 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4822 rather than ParagraphList.h. paragraph.h is still needed for the
4823 Paragraph::depth_type parameters.
4825 * textcursor.h: enable it to compile stand-alone in light of the
4828 * bufferview_funcs.C:
4840 * frontends/controllers/ControlParagraph.C:
4841 * frontends/controllers/ControlTabular.C:
4842 * insets/insetmarginal.C:
4843 * insets/insetminipage.C:
4844 * insets/insetnote.C:
4845 * insets/insetoptarg.C: add header files needed to compile again.
4847 2003-09-06 Angus Leeming <leeming@lyx.org>
4849 * RowList_fwd.h: new file, forward-declaring Row rather than
4850 #including lyxrow.h.
4855 * insets/insettext.h: use it instead of RowList.h
4857 * bufferview_funcs.C:
4864 * text3.C: #include "RowList.h".
4866 2003-09-05 Angus Leeming <leeming@lyx.org>
4868 * factory.C (createInset):
4869 * vspace.C (c-tor): replace sscanf call with an istringstream.
4870 * ispell.C: re-add missing HP/UX headers.
4871 * lyxserver.C: re-add missing os2 headers.
4873 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4882 * text3.C: re-add missing system headers, needed for 2.95.2.
4884 2003-09-05 Angus Leeming <leeming@lyx.org>
4886 Changes most place everywhere due to the removal of using directives
4887 from support/std_sstream.h.
4889 2003-09-05 Angus Leeming <leeming@lyx.org>
4891 Replace LString.h with support/std_string.h,
4892 Lsstream.h with support/std_sstream.h,
4893 support/LIstream.h with support/std_istream.h,
4894 support/LOstream.h with support/std_ostream.h.
4896 Changes resulting throughout the tree.
4898 2003-09-05 Angus Leeming <leeming@lyx.org>
4900 * sgml.h: ensure that the header file can be compiled stand-alone.
4901 * *.C: strip out redundant #includes. (320 in total.)
4903 2003-09-04 Angus Leeming <leeming@lyx.org>
4905 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4906 here (from getPackages).
4908 * debug.[Ch]: add a new EXTERNAL tag.
4910 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4912 * text2.C (cursorEnd): simplify
4914 (getColumnNearX): adjust
4916 * text.C (computeBidiTables): adjust
4919 * rowpainter.C (paintChars): adjust
4920 (paintSelection): adjust
4921 (paintChangeBar): adjust
4924 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4926 (numberOfSeparators): adjust
4928 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4934 * text3.C: Restricts the mouse click functionality
4935 of insets like bibtex, include, toc and floatlist to the visible
4936 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4937 up the dialogs. Cursor has to be in front of the inset (i.e.
4938 start of row) for this to function.
4940 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4942 * bufferview_funcs.C (currentState): output row information
4944 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4946 * bufferview_funcs.C (currentState): output paragraph position
4948 2003-09-04 Angus Leeming <leeming@lyx.org>
4950 * FloatList.h: move out #include "Floating.h".
4951 * LaTeX.h: move out #include "DepTable.h".
4952 * LyXAction.h: move out #include "funcrequest.h".
4953 * buffer.h: move out #include "author.h", "iterators.h".
4954 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4955 * lyx_main.h: move out #include "errorlist.h".
4956 * lyxfunc.h: move out #include "FuncStatus.h".
4957 * lyxtext: move out #include "lyxcursor.h".
4958 * paragraph_pimpl.h: move out #include "counters.h".
4960 2003-09-03 Angus Leeming <leeming@lyx.org>
4962 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4963 preamble_snippets list, enabling us to add snippets to the preamble
4964 only if the snippet was not there already.
4966 2003-09-04 Angus Leeming <leeming@lyx.org>
4968 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4970 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4975 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4977 * BranchList.C: point fix, earlier forgotten
4979 2003-09-02 Angus Leeming <leeming@lyx.org>
4981 * box.C (contains): renamed from 'contained' after a fantastic
4984 2003-09-02 John Levon <levon@movementarian.org>
4990 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4992 2003-09-02 John Levon <levon@movementarian.org>
4994 * text2.C: simplification of cursorEnd(), including partial
4997 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4999 * buffer.C (readFile): add a space
5001 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5003 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5005 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5007 * buffer.C (readFile): new function, take a filename and a
5008 ParagraphList::iterator
5010 (readFile): adjust, make it private. don't use setStream, make
5011 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5012 always contain the filename.
5014 * BufferView.C (insertLyXFile): simplify and make it work for
5017 2003-08-30 John Levon <levon@movementarian.org>
5019 * Makefile.am: fix dist (from Kayvan)
5021 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5023 * most files: change to use const Buffer refs
5025 2003-08-27 André Pönitz <poenitz@gmx.net>
5027 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5028 on top of ownerPar().
5030 2003-08-27 John Levon <levon@movementarian.org>
5032 * funcrequest.C: properly initialise POD members
5034 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5036 * lyxtext.h (top_y): move top_y from here
5041 * BufferView_pimpl.[Ch]: to here
5042 * frontends/screen.C:
5043 * insets/insettabular.C:
5044 * insets/insettext.C: adjust
5045 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5047 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5050 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5052 2003-08-26 André Pönitz <poenitz@gmx.net>
5054 * paragraph_func.[Ch] (outerPar): new function
5057 * paragraph_funcs.C:
5058 * paragraph_funcs.h:
5059 * paragraph_pimpl.C:
5060 * text2.C: remove Inset::par_owner
5062 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5067 * text2.C: eliminates the needFullRow/display() stuff
5068 altogether, putting the logic in metrics/draw in the insets.
5070 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5072 * text2.C (redoParagraphInternal, redoParagraphs):
5073 * text.C (redoParagraph): add a call to updateRowPositions at the
5074 end of each 'metrics-like' call. Remove all others.
5075 (getRow): remove the 'y-computing' version.
5076 (getRowNearY): do not compute nor return the real y. Solve the
5077 'y < 0' problem and simplify.
5079 2003-08-22 Angus Leeming <leeming@lyx.org>
5081 * *.[Ch]: clean-up of licence and author blurbs.
5082 Also move config.h out of a few .h files and into a few .C files.
5084 2003-08-22 André Pönitz <poenitz@gmx.net>
5086 * lyxrow.[Ch]: add x_ and *fill_ members
5091 * text2.C: adjust/remove prepareToPrint() calls
5093 2003-08-22 André Pönitz <poenitz@gmx.net>
5095 * lyxrow.[Ch]: add end_ member
5097 * lyxrow_funcs.C: use LyXRow::end_
5099 * lyxtext.h (singleWidth): add LyXFont parameter
5102 * text2.C: adjust LyXText::singleWidth() calls
5104 * text.C (redoParagraph): simplify row breaking logic
5107 2003-08-19 André Pönitz <poenitz@gmx.net>
5109 * funcrequest.C: initialize button_ member
5112 * rowpainter.[Ch]: interface consolidation
5114 2003-08-18 André Pönitz <poenitz@gmx.net>
5117 * BufferView_pimpl.C:
5119 * paragraph_funcs.C:
5121 * text3.C: remove LyXScreen::draw() and fitCursor calls
5123 * BranchList.h: remove spurious semicolons
5125 * MenuBackend.C: fix branchlist related crash
5127 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5135 * bufferparams.[Ch]:
5139 * text3.C: implements the 'branch inset'
5140 idea. This allows the output of various versions of a document
5141 from a single source version, selectively outputing or suppressing
5142 output of parts of the text.
5143 This implementation contains a 'branch list editor' in a separate
5144 tab of the document settings dialog. Branches are user definable
5145 and have a "display colour" to distinguish them on-screen.
5147 ColorHandler was somewhat cleaned up.
5148 (1) make possible a dynamically growing LColor list by allowing
5149 the graphic context cache to grow along (vector);
5150 (2) eliminate an IMHO unnecessary step in colour allocation.
5152 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5154 * BufferView_pimpl.C: compile fix
5156 2003-08-15 André Pönitz <poenitz@gmx.net>
5158 * rowpainter.C: remove extra metrics calls
5160 * lyxtext.h: merge the two constructors into a single one,
5161 pass reference to owner's par list
5163 * BufferView_pimpl.C:
5167 2003-08-15 André Pönitz <poenitz@gmx.net>
5169 * lyxrow_funcs.[Ch]:
5172 * paragraph_funcs.C:
5177 * text_funcs.C: split LyXText::rowlist_ into individual
5178 Paragraph::rows_ chunks
5181 * BufferView_pimpl.[Ch]:
5184 * text3.C: remove toggleSelection()
5186 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5188 * bufferlist.C: beautify two alerts (shorter text of buttons)
5189 * buffer.C: Remove redundant ' ' from message
5191 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5192 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5193 rename VALIGN_CENTER to VALIGN_MIDDLE
5195 2003-08-11 André Pönitz <poenitz@gmx.net>
5197 * lyxtext.h (getPar):
5198 * text.C: new function
5200 2003-08-11 André Pönitz <poenitz@gmx.net>
5203 * tracer.[Ch]: remove unneeded files
5205 * InsetList.[Ch]: remove resizeInsetsLyXText()
5210 * text3.C: merge insertParagraphs() and appendParagraph()
5211 remove breakAgain(), update()
5213 * BufferView_pimpl.[Ch]:
5214 * bufferview_funcs.[Ch]:
5218 * tabular.C: adjust after text & InsetList changes.
5220 2003-08-08 André Pönitz <poenitz@gmx.net>
5222 * text.C (insertChar, backspace): replace rowlist fiddling
5223 with rebreak of full par
5226 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5227 checkParagraph, updateInset): removed
5229 2003-08-07 André Pönitz <poenitz@gmx.net>
5232 * text3.C: merge some LFUN handlers, remove dead code
5234 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5236 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5238 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5240 * text2.C (DEPM): fix part of bug 1255 and 1256
5242 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5244 * BufferView_pimpl.C (workAreaDispatch): change to use
5245 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5246 that are no mouse related.
5248 2003-08-05 André Pönitz <poenitz@gmx.net>
5251 * BufferView_pimpl.[Ch]:
5252 * bufferview_funcs.C:
5254 * text3.C: rip out "deep update"
5256 * textcursor.[Ch] (last_sel_cursor): remove unused member
5258 2003-08-04 André Pönitz <poenitz@gmx.net>
5261 * BufferView_pimpl.[Ch]:
5262 * ParagraphParameters.C:
5263 * bufferview_funcs.C:
5269 * text3.C: replace "complicated" BufferView::update(...) calls with
5272 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5274 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5276 * Makefile.am (lyx_SOURCES): add paper.h
5278 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5280 * Makefile.am: move things around so that both lyx-qt and
5281 lyx-xforms can be built (according to --with-frontend). Then lyx
5282 is a symbolic link to lyx-[firstfrontend]
5284 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5286 * Always use std::endl with lyxerr
5288 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5290 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5292 2003-08-01 André Pönitz <poenitz@gmx.net>
5295 * BufferView_pimpl.[Ch]:
5297 * text3.C: merge BufferView::repaint() and BufferView::update()
5299 2003-08-01 José Matos <jamatos@lyx.org>
5301 * buffer.[Ch]: file_format is no longer a buffer data element.
5303 2003-08-01 André Pönitz <poenitz@gmx.net>
5308 * text2.C: make redoParagraph more independent of current cursor
5310 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5312 * text2.C: remove unneeded members
5314 2003-07-30 André Pönitz <poenitz@gmx.net>
5316 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5318 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5319 create a single function...
5321 * paragraph_funcs.C (moveItem): ... here.
5324 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5326 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5328 * LColor.[Ch]: Add comment and greyedout logical colors.
5330 2003-07-30 André Pönitz <poenitz@gmx.net>
5332 * tabular.C: don't use Assert too heavily. This crashes where it
5335 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5337 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5338 is disabled (bug 1232)
5340 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5342 * factory.C: limited 'arg' scope
5344 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5346 * factory.C: fixed Note submenu issues
5348 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5350 * factory.C: submenu for Note/Comment/Greyedout
5352 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5355 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5357 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5360 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5361 greyedout. Patch provided by Jürgen Spitzmüller.
5363 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5365 * kbmap.C (read): fix error message when reading bind files
5367 2003-07-29 Angus Leeming <leeming@lyx.org>
5369 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5370 certainly does not do what it purports to do. I am doing it, and
5371 us, a favour by killing it.
5373 2003-07-28 José Matos <jamatos@lyx.org>
5375 * buffer.C (readBody, do_writeFile):
5376 * paragraph.C(readParagraph): \end_document replaces \the_end.
5378 2003-07-29 André Pönitz <poenitz@gmx.net>
5381 * BufferView_pimpl.[Ch]:
5385 * textcursor.[Ch]: remove toggleToggle & Co
5387 2003-07-28 José Matos <jamatos@fep.up.pt>
5389 * buffer.C (readParagraph):
5390 * params_func (readParToken, readParagraph):
5391 * paragraph.C (write): \layout -> \begin_layout.
5393 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5395 * lyxlex_pimpl.C (setFile): clean up slightly.
5397 * bufferparams.h: add compressed var
5399 * buffer_funcs.C (readFile): adjust for LyXLex change
5400 (newFile): ditto + simplify
5402 * buffer.C (writeFile): handle writing of compressed files
5404 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5405 Check if the file is compressed and set a bufferparm if so.
5407 * Makefile.am (lyx_LDADD): remove explicit -lz
5409 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5411 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5412 makeDocBookFile): put the real LyX version in the first line of
5416 * version.C.in: remove lyx_docversion
5418 * tabular.C (write_attribute): add a template-based version to
5419 write enums properly
5421 2003-07-28 André Pönitz <poenitz@gmx.net>
5426 * text3.C: use doubles again for x-coordinates. They are needed.
5428 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5430 * messages.C (getLocaleDir): use lyx_localedir()
5432 * lyxlex_pimpl.C (setFile): compress stuff
5434 * buffer.C (writeFile): add some compression stuff
5435 (do_writeFile): new func, dont call expliti close... will this
5438 * Makefile.am (lyx_LDADD): add -lz
5440 2003-07-28 José Matos <jamatos@fep.up.pt>
5442 * buffer.C: increment file format.
5443 * paragraph_funcs (readParagraph, readParToken):
5444 * paragraph.C (readParagraph): add \end_layout.
5446 2003-07-27 Angus Leeming <leeming@lyx.org>
5448 * Makefile.am: remove special casing for configure-time setting of
5449 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5451 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5452 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5454 2003-07-26 André Pönitz <poenitz@gmx.net>
5456 * paragraph_func.[Ch]:
5457 * paragraph.C (realizeFont): inline it whereever it is used
5462 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5465 2003-07-26 André Pönitz <poenitz@gmx.net>
5469 * text2.C: get rid of LyXText::need_break_row
5471 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5473 * toc.[Ch]: put namespace toc inside namespace lyx
5475 * MenuBackend.C (expandToc2): adjust for lyx::toc
5478 * lyxfunc.C (dispatch): adjust for lyx::find
5480 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5481 lyx::find instead. Reorganize a bit.
5482 (LyXReplace): rename to replace
5483 (LyXFind): rename to find
5485 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5488 2003-07-26 André Pönitz <poenitz@gmx.net>
5490 * text.C (setHeightOfRow): restrict scope of temporary variable
5492 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5493 code (never has been used?)
5495 2003-07-27 Asger Alstrup <alstrup@local>
5497 * text.C (fill): Optimise algorithm to exploit that we can reuse
5498 the LyXFont for many characters.
5499 (setHeightOfRow): Same thing.
5500 (rowBreakPoint): Same thing.
5502 2003-07-26 Asger Alstrup <alstrup@local>
5504 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5506 * text.C (singleWidth): Spurious font copying in hot-spot
5507 singleWidth avoided. Reorder tests for arabic for efficiency.
5509 * text.C (fill): handle empty paragraphs better.
5511 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5514 * encoding.h: add includes
5516 * lyxrc.C: remove reading of bind files
5518 * lyx_main.C (init): setup bindings and menus only if we have a
5521 * kbmap.C (read): new method. Do the actual reading of bind
5524 * converter.C (dvipdfm_options):
5527 (output): adapt PAPER_* enums.
5529 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5531 * bufferparams.h: remove paper-related enums from there
5533 * paper.h: New file. A trivial header file to hold paper-related
5534 enums. It should later expand to contain many paper-related
5537 * lyxrc.C: declare extern displayTranslator
5539 2003-07-27 José Matos <jamatos@fep.up.pt>
5541 * tabular.[Ch] (linuxdoc): add support for tables and figures
5544 2003-07-27 José Matos <jamatos@fep.up.pt>
5546 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5547 consistency in both functions.
5548 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5550 2003-07-26 Asger Alstrup <alstrup@local>
5552 * rowpainter.C (paintRows): Change algorithm to work directly on
5553 the insets rather than asking every character in the document
5554 whether its an inset.
5556 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5558 * buffer.C (openFileWrite): factorize some code
5560 2003-07-26 Angus Leeming <leeming@lyx.org>
5563 * lyx_main.[Ch]: replace occurances of system_tempdir with
5566 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * rename Inset to InsetOld
5570 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5572 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5573 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5574 which I think is a bit clearer. EDIT is gone, since it was
5575 premature optimisation, and broken for mathed anyway.
5576 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5577 with cursor positioning in insets as well (math insets still do not
5578 work, but that's a different story anyway.) It mysteriously
5579 crashes sometimes with undo in the first paragraph, but I'm fairly
5580 confident that this is a compiler bug.
5582 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * paragraph.C (Paragraph): adjust for new clone return type
5586 (copyIntoMinibuffer): ditto
5588 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5590 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5591 by not having a special case, and always doing a full rebreak of
5592 the document after undo.
5594 2003-07-23 Angus Leeming <leeming@lyx.org>
5596 * factory.C (createInset): InsetExternal::setParams now takes a
5599 2003-07-23 Angus Leeming <leeming@lyx.org>
5601 * factory.C (createInset): changed interface to the external and
5602 graphics mailers' string2params functions.
5604 2003-07-23 Angus Leeming <leeming@lyx.org>
5606 * factory.C (createInset): pass a
5607 Buffer const * parameter to InsetExternalMailer's string2params.
5609 2003-07-22 John Levon <levon@movementarian.org>
5611 * Thesaurus.h: include the right aiksaurus header
5613 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5615 * MenuBackend.C (expand): check menu shortcuts unconditionally
5617 2003-07-21 Angus Leeming <leeming@lyx.org>
5619 * factory.C (createInset): pass a
5620 buffer_path parameter to InsetGraphicsMailer's string2params.
5622 2003-07-21 Angus Leeming <leeming@lyx.org>
5624 * BufferView_pimpl.C (buffer):
5627 * lyxfunc.C (dispatch):
5628 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5629 rather than the grfx shortcut.
5631 2003-07-21 André Pönitz <poenitz@gmx.net>
5633 * rowpainter.C: remove unused variables
5636 * tabular_funcs.h: move to tabular.C
5637 * Makefile.am: adjust
5639 * tabular.[Ch]: basic optical cleaning
5641 * author.h: pass references, not values
5643 2003-07-18 André Pönitz <poenitz@gmx.net>
5651 * text3.C: two-phase drawing for InsetText and InsetTabular
5652 some float -> int changes.
5654 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5656 * lyx_main.C: fix the fix
5658 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5660 * lyx_main.C: fix a crash in batch mode if no files specified
5663 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5665 * format.[Ch] (papersize): moved to BufferParams
5666 * converter.[Ch] (dvips_options): moved to BufferParams
5667 (dvipdfm_options): moved to anon namespace
5668 * bufferparams.[Ch]: added above functions.
5670 2003-07-17 André Pönitz <poenitz@gmx.net>
5674 * text2.C: don't call inset->update() anymore
5676 * metricsinfo.[Ch]: add convenience constructor
5678 2003-07-16 André Pönitz <poenitz@gmx.net>
5683 * text2.C: replace the LyXCursor::irow_ member with
5684 on-demand computation of the value
5686 2003-07-16 John Levon <levon@movementarian.org>
5688 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5690 2003-07-15 André Pönitz <poenitz@gmx.net>
5693 * text2.C: remove no more needed refresh_row
5695 2003-07-15 André Pönitz <poenitz@gmx.net>
5700 * text3.C: refresh_status tristate -> need_update bool
5702 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5704 * lyxtext.h (init): remove reinit argument (act as if always true)
5705 * text2.C: adjust to that
5707 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5709 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5710 * text3.C: use it to delete selections in some cases
5711 (bugs 441, 673, 702, 954).
5713 2003-07-14 André Pönitz <poenitz@gmx.net>
5715 * rowpainter.[Ch]: reduce interface
5717 2003-07-14 André Pönitz <poenitz@gmx.net>
5719 * BufferView_pimpl.C:
5720 * text2.C: adjust after removing unused BufferView * argument
5722 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5724 * text2.C (init): fix a crash fired on resize
5726 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5728 * buffer.[Ch]: added new closing signal
5729 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5730 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5731 BufferView::Pimpl via the closing the signal
5733 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5735 * buffer.[Ch]: take out all bv-related from buffer
5737 * BufferView_pimpl.[Ch]: connect to new signals
5738 * CutAndPaste.C: removed useless asserts
5739 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5742 * lyxfunc.C: moved view-related funciontality from vc here
5743 * paragraph.C: removed outdated comments
5746 2003-07-10 André Pönitz <poenitz@gmx.net>
5748 * BufferView_pimpl.C:
5752 * text2.C: remove InsetText::InnerCache, clean up consequences
5754 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5756 * ispell.C: fix two typos in error messages
5758 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5760 * Extend Note inset to other forms of annotation like Comment
5761 and Greyedout. Right button click gives dialog.
5763 Files modified or added (+):
5767 * ControlNote.[Ch] +
5769 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5770 frontends/controllers
5774 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5776 * aspell.C: add missing namespace lyx::support
5778 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5780 * BufferView.[Ch] (newFile): Add
5781 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5782 * LaTeX.[Ch] (message): added this signal and use it
5783 * buffer.[Ch] (busy, message): added these signals and use them
5784 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5788 * importer.C: use buffer signals instead of direct bv calling
5789 * lyx_cb.[Ch] (ShowMessage): removed
5792 * paragraph_funcs.C:
5793 * text2.C: use buffer signals
5795 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5797 * introduce namespace lyx::graphics
5799 2003-07-02 André Pönitz <poenitz@gmx.net>
5801 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5803 2003-07-01 André Pönitz <poenitz@gmx.net>
5810 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5811 text*.C to text_func.C
5813 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * introduce namespace lyx::support
5817 2003-06-30 André Pönitz <poenitz@gmx.net>
5822 * text.C: re-enable --with-included-string
5824 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * textcursor.C: add <config.h>
5828 * text.C (getWord): remove const from word_location arg
5830 * lyxvc.C (getLogFile): fix const type order
5832 * lyxtext.h: remove const from word_location arg, add arg name
5834 * lyxlayout.h: currect type on labeltype.
5836 * importer.C: correct \file
5838 * converter.C (intToFormat): use std:: on ret val, ws changes
5840 * bufferlist.h: correct \file
5842 * buffer.C (makeLinuxDocFile): fix const type order
5843 (makeDocBookFile): ditto
5844 (fillWithBibKeys): use std:: on stdlib args.
5846 * CutAndPaste.C: fix authors.
5847 (availableSelections): use std:: on return vector
5849 2003-06-27 André Pönitz <poenitz@gmx.net>
5851 * BufferView_pimpl.C:
5852 * bufferview_funcs.C:
5860 * text3.C: remove LyXCursor::row_ member
5863 * text.C: rename fullRebreak() to partialRebreak() and implement
5864 a fullRebreak() that really bereks fully
5866 * textcursor.h: new struct for cursor-related data
5868 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5870 * lyx_main.C (LyX): get full path of document loaded on the
5873 2003-06-26 André Pönitz <poenitz@gmx.net>
5875 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5876 remove unused/broken operator>,<,>=.
5878 * text.C: remove only use of broken operator<= in an Assert().
5880 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5882 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5883 moved errorlist_.clear to showErrorList
5885 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5887 * converter.C (scanLog, runLaTeX):
5888 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5889 move the bv->showErrorList call to the callers
5890 * lyxfunc.C: i.e. here...
5892 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5893 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5894 namespace, the second to...
5895 * buffer_funcs (BufferFormat, parseErrors): added
5896 * errorlist.C (ErrorList(TeXErrors const &)): removed
5898 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5900 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5902 2003-06-24 "Garst R. Reese" <reese@isn.net>
5906 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5908 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5910 * version.C.in: change docversion to 1.4
5912 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5914 * buffer.C: fix a bug just introduced
5916 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5918 * buffer.[Ch]: added the parseError signal and use it, removed
5920 * BufferView.[Ch] (addError): moved to ...
5921 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5922 to the Buffer::parseError signal to catch (guess what) parse errors
5923 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5925 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5927 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5928 ability to create a buffer and to return an existing one from
5929 the list. Moved these functions to...
5930 * buffer_funcs.[Ch]: added
5931 * BufferView.[Ch] (loadLyXFile): added
5932 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5933 job removed from bufferlist::loadLyXFile.
5934 * buffer.C (setReadOnly): make it work without view
5935 (i.e added an if (users))
5937 2003-06-19 Angus Leeming <leeming@lyx.org>
5940 * LyXAction.C (init):
5941 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5942 with LFUN_DIALOG_SHOW <name> <data>.
5944 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5946 * CutAndPaste.C (availableSelections): small compilation fix for
5947 ancient (gcc 2.9x) compilers
5949 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5951 * text3.C (cursorNext): add tmp var
5953 * text2.C (updateCounters): for function calling out of for clause
5954 (replaceSelectionWithString): ditto
5955 (insertStringAsParagraphs): ditto
5956 (getColumnNearX): add tmp var
5957 (setCursorFromCoordinates): add tmp var
5958 (cursorDownParagraph): add tmp var
5959 (deleteEmptyParagraphMechanism): add tmp var
5961 * text.C (insertChar): add tmp var
5963 * rowpainter.C (paintDepthBar): add tmp var
5965 * CutAndPaste.C (availableSelections): potentially check all
5966 paragraphs in a cut to fill the shown strings.
5968 2003-06-18 André Pönitz <poenitz@gmx.net>
5970 * kbmap.[Ch]: use vector<> instead of list<>
5972 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5974 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5975 pasteSelection with index
5977 * text2.C (pasteSelection): modify, call pasteSelection with index
5979 * paragraph.C (asString): reimplement version with no interval to
5980 call the one with interval.
5982 * lyxtext.h: add index arg to pasteSelection
5984 * MenuBackend.C (MenuItem): handle PasteRecent
5985 (Menu::read::Menutags): add md_pasterecent
5987 (expandPasteRecent): new function
5990 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5992 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5994 (availableSelections): new function
5996 2003-06-17 Angus Leeming <leeming@lyx.org>
5998 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6000 2003-06-17 Angus Leeming <leeming@lyx.org>
6003 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6005 * lyxfunc.C (dispatch): invoke it.
6007 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6009 * iterators.C (operator++, ParPosition): reintroduce some
6010 const_cast for the benefit of older compilers.
6012 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6014 * text3.C (dispatch): do not modify clipboard when doing
6015 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6016 LFUN_DELETE_SKIP on a selection selection
6018 2003-06-16 André Pönitz <poenitz@gmx.net>
6024 * tabular.[Ch]: IU of clone() and getLabelList();
6026 2003-06-13 André Pönitz <poenitz@gmx.net>
6028 * tabular.h: compactification
6030 2003-06-12 André Pönitz <poenitz@gmx.net>
6034 * tabular_funcs.h: some renaming plus whitespace
6036 2003-06-12 André Pönitz <poenitz@gmx.net>
6039 * BufferView_pimpl.C:
6045 * toc.C: Return a Paragraph & for ParIterator::operator*()
6047 2003-06-11 John Levon <levon@movementarian.org>
6051 * ToolbarBackend.C: add "Toolbars" section and
6054 2003-06-10 Angus Leeming <leeming@lyx.org>
6057 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6059 * lyxfunc.C (dispatch): invoke it.
6061 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6063 * main.C: protect <ios> with HAVE_IOS
6064 (main): protect sync_with_stdio with HAVE_IOS
6066 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6068 * text2.C (cutSelection): adjust
6069 (pasteSelection): adjust
6071 * messages.C: handle get of empty string
6073 * main.C (main): use sync_with_stdio(false)
6075 * lyxfunc.C (dispatch): adjust
6077 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6078 (WriteAs): remove unneeded BufferView arg.
6080 * bufferparams.h: use correct types on papersize, papersize2 and
6083 * bufferparams.C (readToken): adjust for type
6084 (writeLaTeX): add missing cases to switch.
6086 * bufferlist.C (quitWriteBuffer): adjust
6089 * buffer.C (asciiParagraph): remove some commented code.
6091 * CutAndPaste.C: remove current_view extern variable.
6092 (cutSelection): add BufferParams arg.
6093 (eraseSelection): add BufferParams arg.
6094 (pasteSelection): add Buffer const & arg
6096 2003-06-07 John Levon <levon@movementarian.org>
6099 * paragraph_funcs.C:
6100 * paragraph_pimpl.C:
6104 * paragraph.C: allow InsetERT to freely space lines,
6105 and some consolidation of code
6107 2003-06-06 José Matos <jamatos@fep.up.pt>
6109 * buffer.C (makeDocBookFile): fix bug #821
6111 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6113 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6115 2003-06-04 Angus Leeming <leeming@lyx.org>
6117 * buffer.C: bump format to 224.
6119 2003-06-05 André Pönitz <poenitz@gmx.net>
6121 * text2.C (redoParagraphs): remove two const_cast<>
6123 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6125 * ParagraphList.h: remove last remnants of NO_STD_LIST
6127 2003-06-03 Angus Leeming <leeming@lyx.org>
6129 * factory.C (createInset): small change to the way InsetExternal's params
6132 2003-06-04 André Pönitz <poenitz@gmx.net>
6134 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6136 * paragraph_pimpl.h:
6137 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6139 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6141 * undo_funcs.C: make some simple cases of undo work again
6143 2003-06-03 John Levon <levon@movementarian.org>
6145 * ispell.C: HPUX doesn't have sys/select.h
6148 2003-06-03 John Levon <levon@movementarian.org>
6150 * CutAndPaste.C: update tabular and include inset
6155 * paragraph.C: remove owningBuffer(), don't pass Buffer
6158 * factory.C: insetGraphicsParams changed
6160 2003-06-02 John Levon <levon@movementarian.org>
6166 * text3.C: remove insetparent
6168 2003-06-02 John Levon <levon@movementarian.org>
6171 * buffer.C: fix inset_iterator.end(), move out of line
6174 2003-06-01 John Levon <levon@movementarian.org>
6176 * text3.C: use a proper cut/paste when doing inset
6177 insert (from Jürgen Spitzmüller)
6179 2003-06-01 John Levon <levon@movementarian.org>
6181 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6183 2003-05-30 André Pönitz <poenitz@gmx.net>
6185 * rowpainter.C: unify second drawing phase
6187 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6189 * trans_mgr.C: remove one case of current_view
6191 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6193 * paragraph_funcs.h: remove paragraph.h include
6195 * paragraph.h: delete NO_STD_LIST stuff
6197 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6199 * buffer.h: remove paragraph.h include
6201 * ParagraphList.C: delete file
6203 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6205 * toc.C (getTocList): adjust
6207 * paragraph_pimpl.C (validate): adjust
6209 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6211 * paragraph.C (Paragraph): adjust
6212 (getPositionOfInset): use const_iterator, adjust
6213 (bibitem): use const_iterator, adjust
6214 (setInsetOwner): adjust
6216 * iterators.C (operator++): adjust
6218 * InsetList.[Ch]: Replace selfmade iterator with standard
6219 vector::iterator also introduce const_iterator. Remove getPos,
6220 getInset and setInset from InsetTable. Adjust accordingly.
6222 * BufferView.C (lockInset): adjust
6223 (ChangeInsets): adjust
6225 * tabular.[Ch]: delete commented same_id functions
6227 2003-05-28 John Levon <levon@movementarian.org>
6229 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6231 2003-05-28 André Pönitz <poenitz@gmx.net>
6233 * metricsinfo.[Ch]: remove 'fullredraw' member
6235 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6237 * lyxtextclass.C (operator): remove caching.
6239 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * text2.C (cursorBottom): adjust
6244 (setCounter): use ParagraphList::find, adjust
6246 * text.C (workWidth): use ParagraphList::find, adjust
6248 * lyxcursor.C (LyXCursor): adjust
6250 * buffer.C (inset_iterator): adjust
6252 * ParagraphList.h: make iterator(value_type) private, make
6253 ParagraphList a friend of iterator.
6255 * ParagraphList.C (find): new function
6257 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6259 2003-05-27 André Pönitz <poenitz@gmx.net>
6261 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6263 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6265 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6267 2003-05-26 John Levon <levon@movementarian.org>
6269 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6271 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * remove same_id from function signatures, adjust.
6275 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6279 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6281 * paragraph.C (Paragraph): get rid of same_ids parameter
6283 * ParagraphList.C (insert): adjust
6286 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * paragraph_funcs.C (breakParagraph): adjust
6289 (breakParagraphConservative): adjust
6291 * buffer.C (readParagraph): adjust
6293 * ParagraphList.C (insert): take a reference instead of a pointer
6296 * paragraph.[Ch] (id): new function
6298 * bufferlist.C (newFile): adjust
6300 * ParagraphList.C (ParagraphList): adjust
6302 (push_back): take a reference instead of a pointer.
6304 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6306 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6309 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6310 set else use old code.
6312 * ParagraphList.C: remove all NO_NEXT code and only compile this
6313 code of NO_STD_LIST is set.
6315 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6317 * BufferView_pimpl.C:
6327 * graphics/GraphicsConverter.C:
6328 * graphics/PreviewLoader.C: header adjustment
6330 2003-05-23 Angus Leeming <leeming@lyx.org>
6332 * LaTeXFeatures.[Ch] (useBabel): new method.
6333 * bufferparams.C (writeLaTeX): use it.
6335 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6337 * ParagraphList.h (set): remove unused function.
6339 2003-05-23 André Pönitz <poenitz@gmx.net>
6342 * BufferView_pimpl.C:
6346 * undo_funcs.C: setUndo reworked
6348 * iterators.[Ch]: add access to topmost ParagraphList
6350 * lyxtext.[Ch] (workWidth): add a const
6352 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6354 * texrow.[Ch] (increasePos): remove function
6355 * exporter.C (export): removed unused var and outdated comment
6357 2003-05-23 Angus Leeming <leeming@lyx.org>
6359 * latexrunparams.h: rename fragile as moving_arg.
6360 * paragraph.C (simpleTeXOnePar): ditto.
6361 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6363 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6365 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6367 (textUndoOrRedo): comment out a currently unused var.
6369 * paragraph.h (NO_NEXT): enable NO_NEXT
6371 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6373 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6375 * exporter.C (Export): adjust for removeAutoInsets removal.
6377 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6379 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6381 * BufferView.[Ch] (removeAutoInsets): delete function
6383 2003-05-22 Angus Leeming <leeming@lyx.org>
6385 * latexrunparams.h: add a free_spacing variable.
6387 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6388 to pass moving_arg, as the data is stored in runparams.fragile.
6390 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6391 to Inset::latexOptional or to simpleTeXOnePar.
6393 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6394 free_spacing arg to Inset::latexOptional.
6396 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6399 2003-05-22 Angus Leeming <leeming@lyx.org>
6401 * latexrunparams.h: add fragile and use_babel variables.
6403 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6404 * buffer.C (makeLaTeXFile): store this returned value in
6405 runparams.use_babel, thus passing it to the inset::latex methods.
6407 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6408 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6410 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6411 longer has a fragile arg, as it is stored in runparams.fragile.
6413 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6414 moving_arg parameter as the data is stored in runparams.fragile.
6416 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6417 a fragile parameter as the data is stored in runparams.fragile.
6419 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6421 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6423 2003-05-22 Angus Leeming <leeming@lyx.org>
6425 * latexrunparams.h: add a 'bool nice' which defaults to false.
6427 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6428 now encapsulated within runparams.
6430 * bufferlist.C (updateIncludedTeXfiles):
6431 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6433 2003-05-22 Angus Leeming <leeming@lyx.org>
6435 * latexrunparams.h: new file containing struct LatexRunParams.
6436 * Makefile.am: add new file.
6438 * LaTeX.[Ch] (c-tor, run):
6439 * buffer.[Ch] (makeLaTeXFile):
6440 * bufferlist.[Ch] (updateIncludedTeXfiles):
6441 * converter.C (convert, scanLog):
6442 * converter.[Ch] (runLaTeX):
6443 * exporter.C (Export):
6444 * paragraph.[Ch] (simpleTeXOnePar):
6445 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6446 * paragraph_funcs.[Ch] (latexParagraphs):
6447 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6448 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6449 pass around a LatexRunParams parameter.
6451 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6453 * paragraph.[Ch]: remove unused constructor
6455 * ParagraphList.C (erase): new function, taking two iterators
6457 2003-05-22 André Pönitz <poenitz@gmx.net>
6459 * undo_funcs.C: remove duplicated code
6461 * iterator.[Ch]: operator=
6463 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6465 * tabular.C (SetMultiColumn): ws changes
6467 * rowpainter.C (paintFirst): get rid of a ->previous
6469 * lyx_cb.C (getPossibleLabel): parlist simplification
6471 * BufferView.C (ChangeInsets): simplify slightly.
6473 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6475 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6476 * lfuns.h: new LFUN_SPACE
6477 * lyxfunc.C: protected space has a new lfun
6478 * paragraph_funcs.C: read new space insets
6480 * factory.C: handle new space insets
6482 2003-05-22 André Pönitz <poenitz@gmx.net>
6485 * BufferView_pimpl.C:
6488 * undo_funcs.C: return a ParIterator from getParFromID.
6490 * iterators.[Ch]: add two const's
6492 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6494 * toc.C (getTocList): adjust
6496 * iterators.[Ch]: rework for parlist
6498 * buffer.C (par_iterator_begin): adjust
6499 (par_iterator_end): adjust
6501 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6503 * BufferView.C (removeAutoInsets): adjust
6504 (ChangeInsets): adjust
6506 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6508 * text.C (top_y): fix bug 1110
6510 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6512 * errorlist.[Ch]: added
6515 * BufferView_pimpl.C:
6516 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6519 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * Makefile.am: ensure that lyx is relinked upon changes to the
6522 various "convenience" libs.
6524 2003-05-20 Angus Leeming <leeming@lyx.org>
6526 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6527 files are compiled in alphabetical order again.
6529 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6531 2003-05-19 Angus Leeming <leeming@lyx.org>
6533 * gettext.[Ch]: remove "char const * _(char const *)".
6535 2003-05-19 André Pönitz <poenitz@gmx.net>
6537 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6546 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6548 2003-05-19 André Pönitz <poenitz@gmx.net>
6552 * lyxtextclass.[Ch]:
6554 * paragraph_funcs.[Ch]:
6556 * text3.C: more insetenv work
6558 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6560 * ParagraphParameters.C (params2string): small bug fixed
6562 2003-05-16 André Pönitz <poenitz@gmx.net>
6565 * bufferview_funcs.C: patch from Kornel Benko to prevent
6566 crash when _(...) is called twice in a statement
6568 2003-05-16 André Pönitz <poenitz@gmx.net>
6575 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6577 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6579 * lyx_main.C (init): remove spurious static_cast
6581 2003-05-14 André Pönitz <poenitz@gmx.net>
6583 * BufferView.C: fix format string
6585 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6587 * BufferView.[Ch] (insertErrors): removed
6588 * BufferView.[Ch] (showErrorList): added
6589 * buffer.C (runChkTeX):
6590 * converter.C (scanLog): call showErrorList instead of inserterrors
6592 2003-05-13 André Pönitz <poenitz@gmx.net>
6594 * BufferView_pimpl.C:
6596 * bufferview_func.C:
6603 * tabular_funcs.h: tostr() from its own header
6605 * ParagraphParameters.C:
6610 * text3.C: STRCONV()
6612 2003-05-12 André Pönitz <poenitz@gmx.net>
6615 * BufferView_pimpl.C:
6619 * ParagraphParameters.C:
6623 * bufferview_funcs.C:
6636 * paragraph_funcs.C:
6640 * text3.C: boost::format -> bformat all over the place
6643 2003-05-09 André Pönitz <poenitz@gmx.net>
6645 * LColor.[Ch]: Pimpl the #include <map> away
6647 2003-05-09 John Levon <levon@movementarian.org>
6649 * bufferlist.C: never remove emergency saves
6651 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * Makefile.am: better lib building
6655 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6659 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6660 (simpleTeXSpecialChars): adjust
6661 (simpleTeXSpecialChars): adjust
6662 * paragraph.C (simpleTeXOnePar): adjust
6663 * buffer.C (makeLaTeXFile): adjust
6665 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6667 * text2.C (changeDepth): parlist cleanup
6668 (getColumnNearX): ditto
6670 * rowpainter.C (getLabelFont): parlist cleanup
6672 * bufferlist.C (newFile): parlist cleanup
6674 * CutAndPaste.C (eraseSelection): parlist cleanup
6676 * BufferView_pimpl.C (trackChanges): parlist cleanup
6679 * BufferView.C (lockInset): parlist cleanup.
6680 (ChangeInsets): ditto
6682 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6684 * CutAndPaste.h: Update file header.
6686 * CutAndPaste.C: Update file header.
6687 Store the parts cut out of the Document in a limited_stack.
6688 (copySelection): adjust
6689 (pasteSelection): new function, takes the index in the limited stack.
6690 (nrOfParagraphs): adjust
6691 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6692 simplify error inset insertion.
6693 (checkPastePossible): adjust
6695 2003-05-06 John Levon <levon@movementarian.org>
6697 * text2.C: don't cast wrap inset to float
6699 2003-05-05 André Pönitz <poenitz@gmx.net>
6702 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6704 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6705 few naked Paragraph *.
6707 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6709 * bufferparams.C: Output warning if a document with missing
6710 TeX document class is loaded
6711 * exporter.C: Disable TeX exports if the document class is missing
6714 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6715 isTeXClassAvailable()
6717 2003-05-03 John Levon <levon@movementarian.org>
6720 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6721 explicit cursor show/hide
6723 * BufferView_pimpl.h:
6724 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6725 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6727 * lyxfunc.C: hide cursor before dispatching.
6732 * text3.C: remove explicit cursor hides
6734 2003-05-02 André Pönitz <poenitz@gmx.net>
6736 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6739 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6742 * text2.C: tiny whitespace
6744 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * undo_funcs.C: almost only ws changes.
6748 * ParagraphList.C (splice): just return if pl is empty.
6750 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * ParagraphList.C (splice): new function.
6754 * CutAndPaste.C (pasteSelection): use it
6756 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * CutAndPaste.C (pasteSelection): remove the last next and
6759 previous from this file.
6761 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * CutAndPaste.C (pasteSelection): more clean up, user proper
6764 ParagraphList functions for pasteing.
6766 * ParagraphList.C (insert): new function, three arg insert
6768 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6770 * ParagraphList.C (insert): new function, three arg insert
6772 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6775 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6779 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6783 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6785 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6786 (copySelection): clean up a bit.
6787 (pasteSelection): use make_pair
6789 * ParagraphList.C (ParagraphList): implement copy constructor
6790 (operator=): implement, base on copy constructor.
6793 * paragraph.C (erase): return a bool
6795 * paragraph_pimpl.C (erasePos): remove function, move contents...
6796 (erase): ... here. Return a bool.
6797 (erase): call erase instead of erasePos.
6799 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6801 * ParagraphList.h: define PitPosPair
6802 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6803 ParagraphList, fix a bug on pasting multiple pars
6804 * text2.C: change interface to C&P
6806 2003-04-30 André Pönitz <poenitz@gmx.net>
6808 * undo_func.C: revert part of yesterday's patch 2
6810 2003-04-30 John Levon <levon@movementarian.org>
6812 * LColor.C: s/tabular/table/
6814 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6816 * text3.C (dispatch): do not convert iterator -> pointer
6817 * undo_funcs.C (setCursorParUndo): ditto
6818 * text_funcs.C (transposeChars): ditto
6820 * text2.C (setLayout): ws changes only
6822 * text.C (breakParagraph): do not convert iterator -> pointer
6824 (acceptChange): ditto
6825 (rejectChange): ditto
6830 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6833 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6835 * text3.C (gotoInset): YABG (yet another bad getChar)
6837 2003-04-29 André Pönitz <poenitz@gmx.net>
6839 * paragraph.h: make operator= private unimplemented as long as
6842 * ParagraphList.C: whitespace
6845 * paragraph_pimpl.[Ch]:
6846 * paragraph_funcs.C:
6848 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6851 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6853 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6855 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6856 * paragraph.[Ch] (erase):
6857 * paragraph_pimpl.[Ch] (erase): change return type and value
6858 * text2.C (cutSelection): some rework
6860 2003-04-28 John Levon <levon@movementarian.org>
6862 * bufferlist.C: changes for unsaved changes dialog
6864 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6866 * bufferlist.C (newFile): set language (messages_) for new
6869 * buffer.C (readFile): ws changes only.
6871 2003-04-28 André Pönitz <poenitz@gmx.net>
6876 * BufferView_pimpl.C:
6877 * BufferView.C: getParFromID related ParagraphList::iterator changes
6879 2003-04-28 André Pönitz <poenitz@gmx.net>
6881 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6884 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * messages.C: remove one more localedir class variable.
6888 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * messages.C (getLocaleDir): singleton generation function
6892 (Messages): add a default constructor.
6894 * main.C (main): do not setup localedir here, do not call
6897 * gettext.C (_): use it.
6898 (gettext_init): delete funciton
6900 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * gettext.C (getLyXMessages): new singleton generating function.
6904 * buffer.C (updateDocLang): adjust
6906 * Makefile.am (messages.o): add target
6907 (main.o): remove target
6909 2003-04-27 John Levon <levon@movementarian.org>
6914 * lyxvc.C: specify cancel button in Alert::prompt
6916 2003-04-26 John Levon <levon@movementarian.org>
6921 * LyXAction.C: add LFUN_INSET_SETTINGS
6923 * lyxfunc.C: don't enable tabular-feature when there's
6924 just any locking inset
6926 2003-04-26 John Levon <levon@movementarian.org>
6928 * bufferlist.C: re-add Cancel to buffer close question
6930 * lyxfunc.C: fix import UI a bit
6932 2003-04-25 John Levon <levon@movementarian.org>
6934 * gettext.C: remove the broken asserts for now
6936 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6938 * messages.C: make case where setlocale cannot comply work better.
6940 * buffer.C (updateDocLang): new function
6941 (changeLanguage): use it
6944 * text2.C (setCounter): use B_ a bit.
6946 * lyxlayout.C (Read): be sure to trim the label strings.
6948 * messages.C (Messages): fix typo in comment
6950 * buffer.C (readFile): set message_ after file is loaded.
6951 (makeDocBookFile): remove double return
6952 (changeLanguage): reset message_ upon language change.
6953 (B_): new func, use this to get translated buffer strings.
6955 * main.C: add myself and Jean Marc as authors.
6957 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6959 * messages.[hC]: pimplify Messages, and three different pimpls to be
6960 used in different circumstances.
6962 * gettext.[Ch]: change for use with new message code.
6964 2003-04-24 André Pönitz <poenitz@gmx.net>
6966 * factory.C: support for eqref
6968 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * messages.[Ch]: add missing char
6972 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6974 * messages.[Ch]: New files
6976 2003-04-18 John Levon <levon@movementarian.org>
6980 * BufferView_pimpl.C:
6984 * text2.C: remove layout-copy/paste (bug 778)
6986 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6988 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6990 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6992 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6993 if they succeed. Act accordingly.
6995 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * text2.C (setCharFont): adjust
6998 (setCounter): adjust
6999 (insertStringAsLines): adjust
7001 * text.C (leftMargin): adjust
7002 (setHeightOfRow): adjust
7004 * rowpainter.C (paintFirst): adjust
7007 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7009 (isFirstInSequence): ditto
7010 (getEndLabel): ditto
7013 * paragraph.C (getParLanguage): comment out some hard stuff.
7015 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7017 (simpleDocBookOnePar): ditto
7018 (makeDocBookFile): use ParagraphList::iterator
7020 * CutAndPaste.C (pasteSelection): adjust
7022 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * text2.C (getFont): adjust
7025 (getLayoutFont): adjust
7026 (getLabelFont): adjust
7028 * paragraph_funcs.C (TeXOnePar): adjust
7030 * buffer.C (simpleLinuxDocOnePar): adjust
7031 (simpleDocBookOnePar): adjust
7033 * CutAndPaste.C (pasteSelection): adjust
7035 * BufferView.C (getEncoding): adjust
7037 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7039 2003-04-16 John Levon <levon@movementarian.org>
7041 * lyxfind.C: use parlist stuff for search/changes
7043 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7047 * text2.C (deleteEmptyParagraphMechanism): adjust
7049 * text2.[Ch] (ownerParagraph): delete func (both of them
7051 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7055 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * ParagraphList.C: prepare for NO_NEXT
7059 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7061 * text2.C (getFont): adjust
7062 (getLayoutFont): adjust
7063 (getLabelFont): adjust
7065 * paragraph.C (getFont): adjust
7066 (getLabelFont): adjust
7067 (getLayoutFont): adjust
7069 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7071 2003-04-15 John Levon <levon@movementarian.org>
7075 * lyx_main.C: handle Include in .ui files
7077 2003-04-15 John Levon <levon@movementarian.org>
7079 * MenuBackend.C: make the doc files length shorter
7082 * ToolbarBackend.C: handle toolbar placement flags,
7085 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7087 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7090 * paragraph_funcs.C (TeXOnePar): adjust
7092 * paragraph.C (getLabelFont): add outerfont arg, adjust
7093 (getLayoutFont): ditto
7094 (simpleTeXOnePar): adjust
7096 * paragraph_pimpl.C (realizeFont): delete func
7098 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7100 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7101 row argument, constify cur argument.
7103 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * text2.C (getFont): adjust
7106 (getLayoutFont): adjust
7107 (getLabelFont): adjust
7109 * paragraph_funcs.C (TeXOnePar): adjust
7110 (outerFont): new func...
7111 (realizeFont): ...moved out from here, changed this to facilitate
7114 * paragraph.C (getFont): take outerfont as arg, adjust
7115 (simpleTeXOnePar): add outerfont arg, adjust
7117 * buffer.C (simpleLinuxDocOnePar): adjust
7118 (simpleDocBookOnePar): adjust
7120 * CutAndPaste.C (pasteSelection): adjust
7122 * BufferView.C (getEncoding): adjust
7124 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7126 * text2.C (setCharFont): adjust
7127 (setCounter): adjust
7129 * text.C (leftMargin): adjust
7130 (setHeightOfRow): adjust
7132 * rowpainter.C (paintFirst): adjust
7135 * paragraph_pimpl.C (realizeFont): adjust
7137 * paragraph.C (isFirstInSequence): move from here...
7138 * paragraph_funcs.C (isFirstInSequence): ...to here
7140 * paragraph.C (outerHook): move from here...
7141 * paragraph_funcs.C (outerHook): ...to here
7143 * paragraph.C (depthHook): move from here...
7144 * paragraph_funcs.C (depthHook): ...to here
7146 * paragraph.C (getEndLabel): move from here...
7147 * paragraph_funcs.C (getEndLabel): ...to here
7149 * text2.C (realizeFont): move from here...
7150 * paragraph_funcs.C (realizeFont): ...to here
7152 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7154 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7156 2003-04-14 Angus Leeming <leeming@lyx.org>
7158 * LColor.[Ch]: scrap LColor mathcursor.
7160 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7162 * lyxlex.[Ch] (text): delete function
7163 * trans.C (Load): adjust
7164 * paragraph_funcs.C (readParToken): adjust
7166 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7169 vector<char> instead of a char[].
7171 * lyxlex_pimpl.C (getString): adjust
7173 (lex): use getString
7177 * lyxlex.C (text): use pimpl_->getString()
7181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7183 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7184 (makeFontEntriesLayoutSpecific): temp var for par.size()
7185 (setLayout): temp var for ownerParagraphs().end()
7186 (fullRebreak): temp var for rows().end()
7187 (selectionAsString): temp var for boost::next(startpit), realize
7188 that the while really is a regular for loop.
7189 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7190 setCursor in one place.
7191 (setParagraph): temp vr for ownerParagraphs().end()
7192 (updateCounters): make the while loop a for loop
7193 (cutSelection): temp var for ownerParagraphs().end()
7194 (updateInset): make the do {} while() a regular for loop
7195 (getCursorX): use temp vars
7196 (setCurrentFont): use temp vars
7197 (getColumnNearX): use temp vars
7199 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * text.C (transformChar): use temp var for getChar
7202 (computeBidiTables): use temp var for row->par()
7203 (fill): move temp vars for row->par() and pit->layout() earlier in
7205 (labelFill): use temp var for row->par()
7206 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7207 asc and desc, realize that pit never changes and that firstpit is
7208 just a duplicate and not needed. Exchange rit->par() with pit in a
7210 (breakAgain): use a temp var for boost::next(rit)
7211 (breakAgainOneRow): ditto
7212 (breakParagraph): use a temp var for rows().begin()
7213 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7214 (cursorRightOneWord): use temp var for cursor.par() and
7215 cursor.pos(), remove usage of tmpcursor.
7216 (cursorLeftOneWord): use temp var for cursor.par() and
7217 cursor.pos() only set cur at end of function.
7219 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7221 * text.C, text2.C: exchange all usage of Paragraph::next with
7222 boost::next(ParagraphList::iterator)
7224 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7226 * text2.C (cursorTop): simplify implementation
7227 (cursorBottom): ditto
7228 (setParagraph): use ParagraphList::iterator
7229 (setCurrentFont): adjust
7230 (getColumnNearX): adjust
7231 (cursorRight): adjust
7232 (cursorLeft): remove usage of Paragraph::previous
7233 (cursorUpParagraph): ditto
7234 (deleteEmptyParagraphMechanism): slight cleanup
7236 * text.C (isBoundary): take a Paragraph const & instead of a
7238 (addressBreakPoint): ditto
7239 (leftMargin): remove usage of Paragraph::previous.
7240 (setHeightOfRow): ditto
7241 (cursorLeftOneWord): ditto
7242 (selectNextWordToSpellcheck): ditto
7245 (breakParagraph): remove one usage of Paragraph::next
7246 (redoParagraph): ditto
7247 (acceptChange): ditto
7248 (insertChar): adjust
7249 (rowBreakPoint): adjust
7251 * bufferview_funcs.C (toggleAndShow): adjust
7253 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7255 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7256 methods to access it.
7258 * text.C: Added updateRowPositions to compute all row positions.
7259 Make top_y and getRowNearY() to use the cached y position
7261 2003-04-11 John Levon <levon@movementarian.org>
7263 * text.C (rowBreakPoint): reintroduce the labelEnd
7264 checks, code copied from the row fill stuff. Deep voodoo.
7266 * text.C (fill): add a comment and debugging for the
7269 2003-04-11 John Levon <levon@movementarian.org>
7271 * text.C: make sure fullrow insets get wrapped to the next line,
7272 even when they're in a manual label
7274 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * text2.C (insertParagraph): make it take ParagraphList::iterator
7278 (setLayout): make it return ParagraphList::iterator
7279 (redoParagraphs): ditto
7281 (checkParagraph): ditto
7283 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7285 * text2.C: adjust several funcs.
7286 (realizeFont): take a ParagraphList::iterator as arg.
7287 (getLayoutFont): ditto
7288 (getLabelFont): ditto
7289 (setCharFont): ditto
7291 * text.C: adjust several funcs.
7293 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7295 * text.C (selectNextWordToSpellcheck): don't accidentally
7298 2003-04-10 John Levon <levon@movementarian.org>
7300 * ToolbarBackend.C (getIcon): special handling for
7303 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7305 * text2.C (cursorRight): a getChar assert fixed
7307 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7309 * text2.C (getFont): change to take a ParagraphList::iterator
7310 instead of Paragraph*
7311 Adjust several functions.
7313 * text.C (transformChar): change to take a ParagraphList::iterator
7314 instead of Paragraph*
7315 (singleWidth): ditto
7316 Adjust several functions.
7318 * rowpainter.C: adjust several functions
7319 * rowpainter.h:store a ParagraphList::iterator and not a
7323 2003-04-09 John Levon <levon@movementarian.org>
7328 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7329 and the "help" bits as well
7331 2003-04-09 John Levon <levon@movementarian.org>
7334 * ToolbarBackend.C: allow multiple toolbars
7336 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7338 * undo_funcs.C (setCursorParUndo): adjust
7340 * text_funcs.C (transposeChars): adjust
7342 * text3.C (gotoNextInset): adjust
7345 * text2.C (setLayout): adjust
7346 (changeDepth): adjust
7348 (redoParagraphs): adjust
7349 (selectionAsString): adjust
7350 (setParagraph): adjust
7351 (insertInset): adjust
7352 (cutSelection): adjust
7353 (copySelection): adjust
7354 (pasteSelection): adjust
7355 (insertStringAsLines): adjust
7356 (updateInset): adjust
7357 (setCursor): change to take a ParagraphList::iterator parameter
7358 (setCursorIntern): change to take a ParagraphList::iterator parameter
7359 (setCurrentFont): adjust
7360 (cursorLeft): adjust
7361 (cursorRight): adjust
7362 (deleteEmptyParagraphMechanism): adjust
7364 * text.C (breakParagraph): adjust
7365 (insertChar): adjust
7366 (acceptChange): adjust
7367 (rejectChange): adjust
7368 (selectNextWordToSpellcheck): adjust
7369 (changeCase): adjust
7373 * lyxfind.C (SearchForward): adjust
7374 (SearchBackward): adjust
7375 (nextChange): adjust
7377 * lyxcursor.C (par): adjust
7379 * lyxcursor.h: store a ParagraphList::iterator instead of a
7382 * lyx_cb.C (getPossibleLabel): adjust
7384 * bufferview_funcs.C (toggleAndShow): adjust
7386 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7389 * BufferView.C (removeAutoInsets): adjust
7390 (lockedInsetStoreUndo): adjust
7392 2003-04-09 John Levon <levon@movementarian.org>
7394 * ToolbarBackend.C: try icon without argument
7395 if with argument fails
7397 2003-04-08 John Levon <levon@movementarian.org>
7400 * ToolbarBackend.C: add getIcon(), handle tooltip,
7401 and change from "Icon" to "Item".
7403 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7405 * BufferView.C (lockInset): another bad getchar crunched
7407 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7409 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7412 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7414 * lyxfind.C (searchForward, searchBackwards): bug 782
7416 2003-04-07 John Levon <levon@movementarian.org>
7418 * paragraph.C: remove dead comment
7420 * text.C: remove troublesome depth-fiddling code
7421 in leftMargin() and rightMargin() (bug 1017)
7423 * text.C: fix breaking of rows in nested lists
7426 * text2.C (updateCounters): fix up depth values
7429 2003-04-07 John Levon <levon@movementarian.org>
7431 * BufferView_pimpl.C: clear message when doc finishes resizing,
7432 and after a mouse event
7434 * lyxfunc.C: clear message after exiting inset
7436 2003-04-07 John Levon <levon@movementarian.org>
7438 * bufferview_funcs.C: show math status not outside
7439 status in the statusbar
7441 2003-04-07 John Levon <levon@movementarian.org>
7443 * lyxfunc.C: note status changed after a depth change
7445 2003-04-04 Angus Leeming <leeming@lyx.org>
7447 * LaTeX.h: move AuxInfo operator==, != out of line.
7448 Remove LaTeX virtual destructor; nothing derives from it.
7449 Move operator()() out of public area and rename it startscript().
7450 Change protected for private.
7452 2003-04-04 Angus Leeming <leeming@lyx.org>
7455 * text2.C: remove unneeded #includes.
7457 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7459 * text2.C (dEPM): fix the heigth of the next row
7461 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7463 * text.C: squashed an invalid getChar requester + some ws changes
7465 2003-04-03 John Levon <levon@movementarian.org>
7467 * bufferview_funcs.h:
7468 * bufferview_funcs.C:
7471 * text2.C: make getStatus work for the env depth lfuns
7473 2003-04-03 John Levon <levon@movementarian.org>
7475 * bufferview_funcs.h:
7476 * bufferview_funcs.C:
7479 * text2.C: parlistize decDepth(), by merging it with incDepth()
7481 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * lyxrow.h: store a ParagraphList::iterator instead of a
7484 Paragraph* and adjust other class functions to suit.
7486 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7489 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7491 * text2.C (setCursor): do not anchor to cursor row for the time being
7493 2003-04-02 John Levon <levon@movementarian.org>
7500 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7502 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * paragraph.h: make ParagraphList and ParagraphList::iterator
7505 friends of Paragraph.
7507 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7509 * ParagraphList.C: Use the private next_ and previous_ from
7512 2003-04-01 John Levon <levon@movementarian.org>
7516 * Makefile.am: rename, remove defaults gunk
7519 * MenuBackend.C: remove defaults gunk
7522 * Languages.C: remove defaults gunk
7525 * lyx_main.C: error out if files couldn't be found.
7527 2003-04-02 John Levon <levon@movementarian.org>
7529 * text2.C: make incDepth() use parlist
7531 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * undo_funcs.C (firstUndoParagraph): adjust
7535 * text3.C (gotoInset): adjust
7536 (dispatch): adjust, and rewrite loop.
7538 * text2.C (init): adjust, and rewrite loop.
7539 (redoParagraphs): adjust
7540 (updateInset): adjust, and rewrite loop.
7541 (deleteEmptyParagraphMechanism): adjust
7543 * tabular.C (LyXTabular): adjust
7544 (SetMultiColumn): adjust
7547 * lyxtext.[Ch] (ownerParagraph): delete function
7548 (ownerParagraphs): new function returns a ParagraphList.
7550 * BufferView.C (removeAutoInsets): adjust
7551 (insertErrors): adjust
7552 (setCursorFromRow): adjust
7554 2003-04-01 Angus Leeming <leeming@lyx.org>
7556 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7559 2003-04-02 John Levon <levon@movementarian.org>
7565 * text_funcs.C: make transposeChars a free function
7567 * lyxrow_funcs.C: remove wrong comment
7569 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * rowpainter.C: adjust
7577 * lyxrow_funcs. [Ch]: new files
7579 * lyxrow.[Ch]: remove next and previous pointers
7580 (next,previous): remove accessor functions
7581 (isParEnd): move to lyxrow_funcs
7582 (lastPos): move to lyxrow_funcs
7583 (nextRowIsAllInset): move to lyxrow_funcs
7584 (lastPrintablePos): move to lyxrow_funcs
7585 (numberOfSeparators): move to lyxrow_funcs
7586 (numberOfHfills): move to lyxrow_funcs
7587 (numberOfLabelHfills): move to lyxrow_funcs
7588 (hfillExpansion): move to lyxrow_funcs
7592 * bufferview_funcs.C (toggleAndShow): adjust
7594 * RowList.h: Remove class RowList from file leave just a
7597 * RowList.C: delete file
7599 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7602 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7604 * text3.C (cursorPrevious): adjust
7605 (cursorNext): adjust
7608 * text2.C (redoHeightOfParagraph): adjust
7609 (redoDrawingOfParagraph): adjust
7612 * text.C (breakParagraph): adjust
7613 (insertChar): adjust
7616 * rowpainter.C (RowPainter): adjust
7617 (leftMargin): simplify and adjust
7618 (most rowpainter functions): adjust.
7620 * rowpainter.h: store the row as RowList::iterator not as Row*
7622 * lyxcursor.C (row): taka RowList::iterator as arg
7625 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7628 2003-04-01 Angus Leeming <leeming@lyx.org>
7630 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7631 stuff like bool Bool.
7633 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7635 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7638 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7643 * lyxtext.h (rows): drop one version and leve a const variant that
7644 returns a RowList::iterator.
7646 2003-03-31 Angus Leeming <leeming@lyx.org>
7648 * text.C (fill): ensure that the signature is the same as that in the
7651 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7653 * text2.C (redoParagraphs): adjust
7654 (updateCounters): adjust
7655 (checkParagraph): adjust
7656 (getColumnNearX): adjust and reformat a bit.
7658 * text.C (top_y): adjust
7660 (leftMargin): adjust
7661 (prepareToPrint): adjust
7663 (getRowNearY): adjust
7665 * lyxtext.h: make rowlist_ mutable.
7667 * RowList.h: add const_iterator
7668 * RowList.C: adjust for RowList::const_iterator.
7670 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7673 2003-03-31 John Levon <levon@movementarian.org>
7676 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7678 * lyx_main.C: set default fonts from using lyx_gui funcs
7680 * exporter.C: pdf_mode moved from lyxrc
7683 * lyxfunc.C: changes from above
7685 2003-03-31 John Levon <levon@movementarian.org>
7687 * lyx_main.C: fix to the last fix
7689 2003-03-31 John Levon <levon@movementarian.org>
7691 * bufferlist.C: "Load original" -> "Load Original"
7697 * format.C: more Alert cleanups
7699 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * text2.C (removeParagraph): make it take a RowList::iterator as
7703 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7704 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7706 * text.C (anchor_row): make it take a RowList::iterator as arg,
7708 (computeBidiTables): make it take a const reference to Row instead
7709 of Row pointer, adjust.
7710 (leftMargin): make it take a RowList::iterator as arg, adjust.
7711 (rowBreakPoint): adjust
7712 (breakAgainOneRow): make it take a RowList::iterator as arg,
7714 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7716 * bufferview_funcs.C (toggleAndShow): adjust
7718 2003-03-30 John Levon <levon@movementarian.org>
7722 * boost-inst.C: moved to support
7724 * several files: changes as a result
7726 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7728 * text2.C (LyXText): adjust.
7730 (removeRow): make it take a RowList::iterator as arg, adjust.
7731 (fullRebreak): adjust
7732 (deleteEmptyParagraphMechanism): adjust
7733 (clearPaint): adjust
7736 * text.C (top_y): adjust
7737 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7738 (breakAgain): make it take a RowList::iterator as arg, adjust.
7739 (breakParagraph): adjust
7740 (insertChar): adjust
7743 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7744 need_break_row, and refresh_row.
7746 * text3.C (dispatch): adjust
7748 * text2.C (checkParagraph): adjust
7750 (setCursorFromCoordinates): adjust
7752 * text.C (top_y): adjust
7754 (getRow): make it return a RowList::iterator, adjust
7755 (getRowNearY): make it return a RowList::iterator, adjust
7757 * text2.C (init): adjust
7758 (insertRow): remove function
7759 (insertParagraph): adjust
7760 (redoParagraphs): adjust
7761 (fullRebreak): adjust
7762 (updateCounters): adjust
7764 * text.C (top_y): rewrite to use RowList iterators.
7766 (setHeightOfRow): rewrite to sue RowList iterators.
7767 (appendParagraph): adjust
7768 (breakAgain): adjust
7769 (breakAgainOneRow): adjust
7770 (breakParagraph): adjust
7772 (getRowNearY): adjust, and remove commented code.
7774 * lyxtext.h (firstRow): delete function
7775 (lastRow): delete function
7776 (rows): new function (const and non-const versions.)
7777 (insertRow): delete function
7779 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7781 2003-03-29 John Levon <levon@movementarian.org>
7783 * BufferView_pimpl.C: always update scrollbar top
7784 because pasting text when we're anchored could mean we
7785 miss an update altogether
7787 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7789 * text2.C (init): use rowlist_.end() and not 0.
7790 (insertRow): change to take a RowList::iterator as arg, adjust
7792 (insertParagraph): change to take a RowList::iterator as arg,
7794 (redoParagraphs): remove some debug msgs.
7796 * text.C (appendParagraph): change to take a RowList::iterator
7797 arg, adjust for this.
7798 (breakAgain): add an assert
7799 (breakAgainOneRow): ditto
7801 2003-03-29 John Levon <levon@movementarian.org>
7803 * text2.C: do not clear selection after inc/decDepth
7806 2003-03-29 John Levon <levon@movementarian.org>
7809 * buffer.C: fix broken strerrors according to Lars
7811 2003-03-29 John Levon <levon@movementarian.org>
7813 * converters.C: more Alert cleanups
7815 2003-03-29 John Levon <levon@movementarian.org>
7817 * bufferview_funcs.C: remove pointless Alert
7819 * buffer.C: fix confusing error message when
7820 a template is chmoded 000
7822 2003-03-29 John Levon <levon@movementarian.org>
7826 * BufferView_pimpl.C: Alert fixes
7830 * tabular-old.C: remove unused table compat reading
7832 2003-03-29 John Levon <levon@movementarian.org>
7837 * lyx_cb.C: more Alert cleanups
7839 * lyxfunc.C: don't allow chktex if not latex document
7841 2003-03-29 John Levon <levon@movementarian.org>
7845 * buffer.C: warnings pushed down from support/,
7848 2003-03-29 John Levon <levon@movementarian.org>
7850 * lyxfunc.C: safety check for C-r (revert)
7852 2003-03-29 John Levon <levon@movementarian.org>
7855 * bufferlist.C: several UI fixes using Alert::prompt.
7856 Fix the pointless looping quit code. Fix stupid revert
7861 * lyx_cb.C: use Alert::prompt
7863 * lyx_main.C: remove a silly question
7865 * lyxfunc.C: remove a couple of silly questions,
7868 2003-03-28 John Levon <levon@movementarian.org>
7870 * text2.C: fix bug 974 (End on empty par)
7872 2003-03-28 John Levon <levon@movementarian.org>
7874 * BufferView_pimpl.C:
7876 * lfuns.h: remove do-nothing math greek lfuns
7878 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * lyxgluelength.h (isValidGlueLength): add default arg on
7881 parameter 2. Remove default arg from friend in class.
7883 * lyxlength.h (isValidLength): add default arg on parameter 2.
7884 Remove default arg from friend in class.
7886 * text2.C (LyXText): adjust, initialize refresh_row.
7890 (insertParagraph): adjst
7891 (redoParagraphs): adjust
7892 (fullRebreak): adjust
7893 (updateCounters): adjust
7894 (deleteEmptyParagraphMechanism): first attempt at fixing a
7897 * text.C (top_y): adjust
7898 (setHeightOfRow): adjust
7900 (getRowNearY): adjust
7902 * lyxtext.h: include RowList.h
7903 (~LyXText): not needed anymore, deleted.
7904 (firstRow): modify for RowList
7905 (lastRow): new function
7906 Delete firstrow and lastrow class variables, add a Rowlist
7907 rowlist_ class variable.
7909 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7912 * RowList.C (insert): fix case where it == begin().
7914 2003-03-26 Angus Leeming <leeming@lyx.org>
7916 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7917 the thesaurus dialog.
7919 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7921 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7923 * RowList.[Ch]: new files
7925 * ParagraphList.C (erase): handle the case where it == begin
7928 2003-03-25 John Levon <levon@movementarian.org>
7932 * aspell.C: add new aspell support
7935 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7938 2003-03-25 Angus Leeming <leeming@lyx.org>
7941 * LyXAction.C (init): new LFUN_INSET_INSERT.
7943 * BufferView_pimpl.C (dispatch): split out part of the
7944 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7946 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7949 2003-03-25 Angus Leeming <leeming@lyx.org>
7951 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7953 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7956 * text3.C: remove useless row->height(0)
7958 2003-03-25 John Levon <levon@movementarian.org>
7962 * text3.C: rename the refreshing stuff to better names
7964 2003-03-24 John Levon <levon@movementarian.org>
7966 * BufferView_pimpl.h:
7967 * BufferView_pimpl.C: update layout choice on a mouse
7970 2003-03-23 John Levon <levon@movementarian.org>
7972 * Makefile.am: fix commandtags.h reference
7974 2003-03-22 John Levon <levon@movementarian.org>
7976 * BufferView_pimpl.C:
7981 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7983 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7986 * text.C: take the rtl methods out of line
7988 2003-03-21 André Pönitz <poenitz@gmx.net>
7990 * metricsinfo.[Ch]: new files containing structures to be passed around
7991 during the two-phase-drawing...
7993 2003-03-21 André Pönitz <poenitz@gmx.net>
7995 * lyxtextclass.C: read 'environment' tag.
7997 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7999 * text2.C (removeRow): fix bug 964
8001 2003-03-20 John Levon <levon@movementarian.org>
8005 * text2.C: paint cleanups. Inset::update() dropped font
8008 2003-03-19 John Levon <levon@movementarian.org>
8010 * lyxfunc.C: only fitcursor/markDirty if available()
8012 2003-03-19 John Levon <levon@movementarian.org>
8014 * commandtags.h: rename to ...
8016 * lfuns.h: ... this, and renumber / cleanup
8018 2003-03-19 John Levon <levon@movementarian.org>
8020 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8021 fit the cursor after an lfun
8025 * BufferView_pimpl.h:
8026 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8028 * LyXAction.C: layout-character should have ReadOnly
8030 * ParagraphParameters.C:
8032 * bufferview_funcs.C:
8039 * undo_funcs.C: changes from above
8041 2003-03-18 John Levon <levon@movementarian.org>
8043 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8044 remove it from update()
8046 * lyxfunc.C: update layout choice after an lfun
8048 * text3.C: remove extra updateLayoutChoice()s
8050 2003-03-18 John Levon <levon@movementarian.org>
8052 * text.C: top_y change means full repaint, fix
8053 a drawing bug with cursor movement
8055 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8059 * text2.C: anchor row on setCursor
8061 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8063 * lyxtext.h: remove almost all mutable keywords
8066 * text3.C: remove const keywords accordingly
8068 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8070 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8072 (TeXEnvironment): ditto
8075 2003-03-17 John Levon <levon@movementarian.org>
8077 * text.C (rowBreakPoint): remove attempt to fix displayed
8078 math insets inside a manual label
8080 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8082 * lyxtext.h: remove BufferView* as first arg from almost all class
8084 * other files: adjust.
8086 2003-03-17 John Levon <levon@movementarian.org>
8090 * text2.C: more paint cleanups
8092 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8095 * rowpainter.C: remove "smart" background painting code
8097 2003-03-16 John Levon <levon@movementarian.org>
8102 * text3.C: add helper functions for setting refresh_row/y
8104 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8106 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8107 newline inset which *can* get inserted in the pass_thru layouts.
8108 This is primarily for literate documents.
8110 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8112 * buffer.C: increment LYX_FORMAT to 223
8114 2003-03-14 André Pönitz <poenitz@gmx.net>
8116 * textclass.h: prepare for environment handling, ws changes
8117 * lyxlayout.C: read latexheader and latexfooter tags
8119 2003-03-14 John Levon <levon@movementarian.org>
8121 * text2.C: rewrite ::status() a bit
8123 2003-03-13 John Levon <levon@movementarian.org>
8125 * lyxtext.h: add some docs
8127 2003-03-13 John Levon <levon@movementarian.org>
8132 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8134 2003-03-13 John Levon <levon@movementarian.org>
8136 * text3.C: fix appendix redrawing
8138 2003-03-13 John Levon <levon@movementarian.org>
8140 * text.C (setHeightOfRow):
8142 * rowpainter.C: make appendix mark have the text
8143 "Appendix" so the user knows what it is
8146 * LColor.C: s/appendixline/appendix/ from above
8148 2003-03-13 John Levon <levon@movementarian.org>
8150 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8152 * text.C: fix a getChar(pos) bug properly
8154 2003-03-13 Angus Leeming <leeming@lyx.org>
8157 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8158 Probably only temporary. Let's see how things pan out.
8160 * BufferView.C (unlockInset):
8161 * BufferView_pimpl.C (fitCursor):
8162 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8164 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8165 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8167 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8168 new functions that convert ParagraphParameters to and from a string.
8170 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8171 BufferView::Pimpl's dispatch.
8172 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8174 2003-03-13 André Pönitz <poenitz@gmx.net>
8178 * factory.C: make it aware of InsetEnv
8180 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8182 * text2.C (setCursor): never ask for one past last
8183 (setCursor): add some debugging messages.
8185 * text.C (singleWidth): never ask for one past last
8186 (singleWidth): ditto
8188 (rightMargin): ditto
8189 (rowBreakPoint): ditto
8190 (setHeightOfRow): ditto
8191 (prepareToPrint): ditto
8193 * rowpainter.C (paintBackground): never ask for one past last
8194 (paintText): never ask for one past last
8196 * paragraph_pimpl.C (getChar): make the assert stricter, never
8197 allow the one past last pos to be taken
8199 * paragraph.C (getChar): ws changes only
8201 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8202 (numberOfSeparators): ditto
8203 (numberOfHfills): ditto
8205 2003-03-12 John Levon <levon@movementarian.org>
8211 * paragraph_funcs.C: fix per-buffer authorlists
8213 2003-03-12 John Levon <levon@movementarian.org>
8215 * text.C: fix newline in right address
8217 2003-03-12 Angus Leeming <leeming@lyx.org>
8219 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8220 duplicate those in LyXFunc::dispatch.
8224 * ToolbarDefaults.C:
8225 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8226 Add LFUN_FONTFREE_UPDATE.
8228 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8229 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8231 * bufferview_func.[Ch]: several new functions to facilliate
8232 transfer of data to and from the character dialog.
8234 2003-03-12 John Levon <levon@movementarian.org>
8239 * paragraph_funcs.C:
8240 * paragraph_pimpl.C:
8244 * text3.C: remove META_NEWLINE in favour of an inset
8247 * rowpainter.C: remove paintNewline (done by inset)
8249 2003-03-12 John Levon <levon@movementarian.org>
8251 * paragraph_pimpl.C: complain about bad getChar()s
8252 for a while at least
8254 2003-03-12 John Levon <levon@movementarian.org>
8257 * buffer.C: move paragraph read into a separate function,
8258 a little renaming to reflect that.
8261 * bufferparams.C: remove the author_ids map, not necessary now
8264 * factory.C: moved Buffer::readInset to here
8266 * paragraph_funcs.h:
8267 * paragraph_funcs.C: readParagraph free function moved from
8270 * tabular.C: name change
8272 2003-03-12 John Levon <levon@movementarian.org>
8275 * ParagraphParameters.C: move par params input to
8278 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8279 behave like a normal read from the stream wrt reading
8280 a line vs. a \\token
8282 2003-03-12 John Levon <levon@movementarian.org>
8285 * ParagraphParameters.h:
8286 * ParagraphParameters.C: move output code to a
8289 2003-03-12 John Levon <levon@movementarian.org>
8291 * BufferView.C (insertLyXFile):
8294 * tabular.C: use a parlist iterator for creating the
8297 2003-03-12 John Levon <levon@movementarian.org>
8299 * buffer.C: make current_change static local not
8302 2003-03-12 John Levon <levon@movementarian.org>
8304 * buffer.C: fix insertStringAsLines for change tracking
8306 2003-03-12 John Levon <levon@movementarian.org>
8313 * bufferparams.C: move author list into params. Rename some
8314 functions. Move the header reading into a separate token
8315 loop. Move the header token reading into BufferParams.
8317 2003-03-12 John Levon <levon@movementarian.org>
8319 * changes.C: put debug inside lyxerr.debugging() checks
8321 2003-03-11 André Pönitz <poenitz@gmx.net>
8323 * factory.C: make it aware of InsetHFill
8325 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8327 * buffer.C (latexParagraphs): move function from here...
8328 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8331 2003-03-10 Angus Leeming <leeming@lyx.org>
8333 * LyXAction.C (init): fix bug in poplating array with multiple entries
8334 with the same LFUN (spotted by JMarc).
8336 2003-03-10 John Levon <levon@movementarian.org>
8339 * text2.C: move getColumnNearX() near its
8342 2003-03-10 John Levon <levon@movementarian.org>
8344 * text.C: fix break before a minipage
8346 2003-03-10 John Levon <levon@movementarian.org>
8348 * text.C: fix the last commit
8350 2003-03-09 John Levon <levon@movementarian.org>
8354 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8355 bug 365 (don't break before insets unless needed). Don't
8356 return a value > last under any circumstances.
8358 2003-03-09 Angus Leeming <leeming@lyx.org>
8360 * BufferView_pimpl.C (trackChanges, dispatch): call
8361 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8363 2003-03-09 Angus Leeming <leeming@lyx.org>
8365 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8366 than Dialogs::showAboutlyx().
8368 2003-03-09 Angus Leeming <leeming@lyx.org>
8370 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8371 than Dialogs::showTabularCreate().
8373 2003-03-09 John Levon <levon@movementarian.org>
8377 * text2.C: 3rd arg to nextBreakPoint was always the same.
8380 2003-03-08 John Levon <levon@movementarian.org>
8387 * text2.C: Remove the "main" bit from the "main body"
8390 2003-03-08 John Levon <levon@movementarian.org>
8392 * text.C (leftMargin): The left margin of an empty
8393 manual label paragraph should not include the label width
8396 * text.C (prepareToPrint): don't attempt to measure hfills
8397 for empty manual label paragraphs - the answer should be 0
8399 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8401 * CutAndPaste.C: remove commented code and reindent.
8403 2003-03-08 John Levon <levon@movementarian.org>
8406 * lyxfunc.C: move reloadBuffer()
8409 * BufferView.C: to here
8411 * lyxvc.C: add comment
8414 * vc-backend.C: call bv->reload() to avoid
8415 getStatus() check on MENURELOAD
8417 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8419 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8420 to an old format .dep file.
8422 2003-03-07 Angus Leeming <leeming@lyx.org>
8424 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8425 when the LFUN_MOUSE_RELEASE should have been handled by
8426 inset->localDispatch.
8428 2003-03-07 Angus Leeming <leeming@lyx.org>
8430 * BufferView_pimpl.C (dispatch):
8431 * LyXAction.C (init):
8432 * ToolbarDefaults.C (init):
8434 * lyxfunc.C (getStatus):
8435 remove LFUN_INSET_GRAPHICS.
8437 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8439 2003-03-07 Angus Leeming <leeming@lyx.org>
8442 * LyXAction.C (init):
8443 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8445 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8448 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8450 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8451 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8453 2003-03-07 Angus Leeming <leeming@lyx.org>
8455 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8458 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8460 * ParagraphList.C (front): new function
8463 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8465 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8466 and top_row_offset_. removed var first_y.
8468 * text2.C (LyXText, removeRow):
8470 * BufferView_pimpl.C:
8471 use these methods instead of using first_y
8473 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * text2.C (pasteSelection): adjust for checkPastePossible
8477 * CutAndPaste.C: remove Paragraph * buf and replace with
8478 ParagraphList paragraphs.
8479 (DeleteBuffer): delete
8480 (cutSelection): change the tc type to textclass_type
8481 (copySelection): change the tc type to textclass_type
8482 (copySelection): adjust for ParagraphList
8483 (pasteSelection): change the tc type to textclass_type
8484 (pasteSelection): adjust for Paragraphlist
8485 (nrOfParagraphs): simplify for ParagraphList
8486 (checkPastePossible): simplify for ParagraphList
8487 (checkPastePossible): remove unused arg
8489 * ParagraphList.C (insert): handle the case where there are no
8492 * CutAndPaste.h: make CutAndPaste a namespace.
8494 * text3.C (dispatch): adjust
8496 * text.C (breakParagraph): add a ParagraphList as arg
8498 * paragraph_funcs.C (breakParagraph): change to take a
8499 BufferParams and a ParagraphList as args.
8500 (breakParagraphConservative): ditto
8501 (mergeParagraph): ditto
8502 (TeXDeeper): add a ParagraphList arg
8503 (TeXEnvironment): ditto
8506 * buffer.C (readLyXformat2): adjust
8507 (insertStringAsLines): adjust
8508 (latexParagraphs): adjust
8510 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8511 (cutSelection): adjust
8512 (pasteSelection): adjust
8514 * BufferView_pimpl.C (insertInset): adjust
8516 2003-03-05 Angus Leeming <leeming@lyx.org>
8519 * LyXAction.C (init):
8520 * BufferView_pimpl.C (dispatch):
8521 * lyxfunc.C (getStatus):
8522 remove LFUN_CHILD_INSERT.
8524 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8526 2003-03-05 Angus Leeming <leeming@lyx.org>
8529 * LyXAction.C (init):
8530 * src/factory.C (createInset):
8531 * lyxfunc.C (getStatus):
8532 * text3.C (dispatch):
8533 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8535 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8537 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8539 * ParagraphList.C (insert): handle insert right before end()
8540 (erase): fix cases where it can be first or last paragraph.
8542 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8544 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8545 Paragraph::next and Paragraph::previous
8548 * text.C (breakParagraph): adjust
8550 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8551 BufferParams& as arg.
8552 (breakParagraph): use ParagraphList::insert
8553 (breakParagraphConservative): take a Buffer* instead of a
8554 BufferParams& as arg.
8555 (breakParagraphConservative): use ParagraphList::insert.
8557 * buffer.C (insertStringAsLines): un-const it
8558 (insertStringAsLines): adjust
8560 * ParagraphList.C (insert): new function
8562 * CutAndPaste.C (pasteSelection): adjust
8564 * text.C (backspace): adjust
8566 * tabular.C (SetMultiColumn): adjust
8568 * CutAndPaste.C (cutSelection): adjust
8569 (pasteSelection): adjust
8571 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8572 Buffer const * as arg
8574 * ParagraphList.C (erase): new function
8575 * paragraph_funcs.C (mergeParagraph): use it
8576 (mergeParagraph): make it take a Buffer* instead of a
8577 BufferParams* as arg
8579 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8581 (breakParagraphConservative): ditto
8583 * paragraph.h: remove the breakParagraph friend
8585 * paragraph.C (eraseIntern): new function
8586 (setChange): new function
8588 * paragraph_funcs.C (mergeParagraph): make it take a
8589 ParagraphList::iterator instead of a Paragraph *, adjust
8592 * paragraph.h: move an #endif so that the change tracking stuff
8593 also works in the NO_NEXT case.
8595 2003-03-04 Angus Leeming <leeming@lyx.org>
8598 * LyXAction.C: new LFUN_INSET_MODIFY.
8600 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8601 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8603 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8605 * several files: ws changes only
8607 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8608 (TeXEnvironment): ditto
8611 * buffer.C (makeLaTeXFile): adjust
8612 (latexParagraphs): make it take ParagraphList::iterator as args
8614 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * buffer.C (latexParagraphs): adjust
8618 * paragraph.C (TeXOnePar): move function...
8619 (optArgInset): move function...
8620 (TeXEnvironment): move function...
8621 * paragraph_pimpl.C (TeXDeeper): move function...
8622 * paragraph_funcs.C: ...here
8624 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8626 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8628 * buffer.C (readInset): remove compability code for old Figure and
8631 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8633 * buffer.C: ws changes
8636 * BufferView_pimpl.C: ditto
8639 * bufferlist.h: ditto
8643 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8645 * converter.[Ch]: split into itself +
8648 * Makefile.am: += graph.[Ch] + format.[Ch]
8655 * lyxrc.C: added #include "format.h"
8657 2003-02-27 Angus Leeming <leeming@lyx.org>
8659 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8662 * factory.C (createInset): add "label" to the factory.
8664 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8665 string and do no more.
8667 2003-02-27 Angus Leeming <leeming@lyx.org>
8670 * LyXAction.C (init):
8671 * factory.C (createInset):
8672 * BufferView_pimpl.C (dispatch):
8673 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8675 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8677 * lyxfunc.C (dispatch):
8678 * text3.C (dispatch): pass name to params2string.
8680 2003-02-26 Angus Leeming <leeming@lyx.org>
8682 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8684 Rearrange the ~includes. Strip out the unnecessary ones.
8686 * factory.C (createInset): reformat.
8687 create new insets for the various LFUN_XYZ_APPLY lfuns.
8689 2003-02-26 John Levon <levon@movementarian.org>
8692 * lyxrow.C: add isParStart,isParEnd helpers
8694 * paragraph.h: make isInserted/DeletedText take refs
8696 * paragraph_funcs.h:
8697 * paragraph_funcs.C: remove #if 0'd code
8702 * text.C: use lyxrow helpers above.
8703 Move draw and paint routines to RowPainter.
8704 Make several methods use refs not pointers.
8705 Make backgroundColor() const.
8706 Add markChangeInDraw(), isInInset().
8707 Merge changeRegionCase into changeCase.
8708 Make workWidth() shouldn't-happen code into an Assert.
8711 * rowpainter.C: new class for painting a row.
8714 * vspace.C: make inPixels take a ref
8716 2003-02-26 Angus Leeming <leeming@lyx.org>
8718 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8721 2003-02-25 John Levon <levon@movementarian.org>
8723 * ispell.C: give the forked command a more accurate name
8725 2003-02-22 John Levon <levon@movementarian.org>
8728 * toc.C: make TocItem store an id not a Paragraph *
8731 2003-02-21 Angus Leeming <leeming@lyx.org>
8733 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8734 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8735 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8736 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8737 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8738 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8740 * BufferView_pimpl.C (dispatch):
8741 * LyXAction.C (init):
8742 * factory.C (createInset):
8743 * lyxfunc.C (getStatus, dispatch):
8744 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8746 2003-02-21 Angus Leeming <leeming@lyx.org>
8748 * BufferView_pimpl.C (MenuInsertLyXFile):
8749 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8750 * lyxfunc.C (menuNew, open, doImport):
8751 no longer pass a LyXView & to fileDlg.
8753 2003-02-21 Angus Leeming <leeming@lyx.org>
8755 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8756 * LyXAction.C: change, BIBKEY to BIBITEM.
8757 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8758 Change InsetBibKey to InsetBibitem.
8759 Change BIBKEY_CODE to BIBITEM_CODE.
8760 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8761 * factory.C: replace insetbib.h with insetbibitem.h.
8762 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8763 * paragraph.C: replace insetbib.h with insetbibitem.h.
8764 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8765 Change bibkey() to bibitem().
8766 * text.C: remove insetbib.h.
8767 * text2.C: replace insetbib.h with insetbibitem.h.
8768 change bibkey() to bibitem().
8769 * text3.C: remove insetbib.h.
8770 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8772 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8774 * lyxrc.C (output): enclose user email in quotes (in case there are
8777 2003-02-18 John Levon <levon@movementarian.org>
8779 * buffer.h: add std::
8781 2003-02-17 John Levon <levon@movementarian.org>
8787 * pspell.C: reworking. Especially in ispell, a large
8788 number of clean ups and bug fixes.
8790 * lyxfunc.C: fix revert to behave sensibly
8792 2003-02-17 André Pönitz <poenitz@gmx.net>
8795 * commandtags.h: new LFUN_INSERT_BIBKEY
8805 * paragraph_func.C: remove special bibkey handling
8807 2003-02-17 John Levon <levon@movementarian.org>
8809 * text.C (Delete): fix case where delete at the end of
8810 the very first paragraph would not merge the pars
8812 2003-02-17 John Levon <levon@movementarian.org>
8814 * lyxrow.C: fix lastPrintablePos()
8816 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8818 * bufferparams.C (writeLaTeX): add a std:here
8820 * buffer.C: and remove a using directive there
8822 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8824 * buffer.C (makeLaTeXFile): move the code that generates the
8827 * bufferparams.C (writeLaTeX): ... in this new method
8829 * LaTeXFeatures.C (getEncodingSet): make const
8830 (getLanguages): make const
8832 * MenuBackend.C (binding): returns the binding associated to this
8834 (add): sets the status of each item by calling getStatus. Adds
8836 (read): add support for OptSubMenu
8837 (expand): remove extra separator at the end of expanded menu
8839 2003-02-15 John Levon <levon@movementarian.org>
8842 * BufferView_pimpl.C:
8844 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8845 inset code that had no actual effect. Remove unneeded status
8848 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8850 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8853 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8855 * text.C (drawLengthMarker): also draw an arrow marker for
8856 symbolic lengths (medskip...)
8858 2003-02-14 John Levon <levon@movementarian.org>
8861 * tabular.C: better method names
8863 2003-02-14 John Levon <levon@movementarian.org>
8865 * BufferView_pimpl.C:
8870 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8871 it's a more accurate name. Remove some pointless uses.
8873 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8875 * text2.C (LyXText): change order of initilizers to shut off
8878 2003-02-14 John Levon <levon@movementarian.org>
8880 * buffer.C: use ParIterator for getParFromID()
8884 * paragraph_pimpl.h:
8885 * paragraph_pimpl.C: remove unused getParFromID()
8887 2003-02-14 John Levon <levon@movementarian.org>
8889 * buffer.C: remove some very old #if 0'd parse code
8891 2003-02-13 John Levon <levon@movementarian.org>
8895 * text2.C: move hfillExpansion(), numberOfSeparators(),
8896 rowLast(), rowLastPrintable(), numberofHfills(),
8897 numberOfLabelHfills() ...
8900 * lyxrow.C: ... to member functions here.
8905 * text.C: remove LyXText::beginningOfMainBody(), and call
8906 p->beginningOfMainBody() directly. Move the check for
8907 LABEL_MANUAL into the latter.
8914 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8920 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8921 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8923 2003-02-13 John Levon <levon@movementarian.org>
8925 * CutAndPaste.C: remove debug
8927 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8929 * paragraph.C (asString): remove two unused variables
8931 * lyxtextclass.C (readTitleType):
8933 (LyXTextClass): handle new members titletype_ and titlename_
8935 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8937 2003-02-09 John Levon <levon@movementarian.org>
8940 * buffer.C: replace hand-coded list with a map for the dep clean
8942 2003-02-08 John Levon <levon@movementarian.org>
8944 * LaTeX.C: consolidate code into showRunMessage() helper
8946 2003-02-08 John Levon <levon@movementarian.org>
8951 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8952 and pass the size in explicitly
8954 * BufferView_pimpl.h:
8955 * BufferView_pimpl.C:
8957 * BufferView.C: add getCurrentChange()
8959 * BufferView_pimpl.h:
8960 * BufferView_pimpl.C: handle change lfuns
8962 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8963 for changes. Mark pasted paragraphs as new.
8965 * support/lyxtime.h:
8966 * support/lyxtime.C:
8967 * DepTable.C: abstract time_t as lyx::time_type
8970 * LColor.C: add colours for new text, deleted text, changebars
8972 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8973 package use "usenames" option.
8977 * LyXAction.C: add change lfuns
8981 * author.C: author handling
8984 * buffer.C: add a per-buffer author list, with first entry as
8985 current author. Handle new .lyx tokens for change tracking. Output
8986 author list to .lyx file. Output dvipost stuff to .tex preamble.
8987 Bump lyx format to 222.
8990 * bufferlist.C: add setCurrentAuthor() to reset current author details
8994 * bufferparams.C: add param for tracking
8996 * bufferview_funcs.C: output change info in minibuffer
9000 * changes.C: add change-tracking structure
9003 * debug.C: add CHANGES debug flag
9006 * lyxfind.C: add code for finding the next change piece
9009 * lyxrc.C: add user_name and user_email
9012 * lyxrow.C: add a metric for the top of the text line
9015 * text.C: implement accept/rejectChange()
9018 * text.C: paint changebars. Paint new/deleted text in the chosen
9019 colours. Strike through deleted text.
9023 * paragraph_pimpl.h:
9024 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9025 in the current change to the insert functions. Rework erase to
9026 mark text as deleted, adding an eraseIntern() and a range-based
9027 erase(). Implement per-paragraph change lookup and
9030 * paragraph_funcs.C: Fixup paste for change tracking.
9032 * tabular.C: mark added row/columns as new.
9034 * text.C: fix rowLast() to never return -1. Don't allow
9035 spellchecking of deleted text. Track transpose changes. Don't
9036 allow paragraph break or merge where appropriate.
9038 * text2.C: leave cursor at end of selection after a cut.
9040 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9042 * text.C (getLengthMarkerHeight):
9043 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9044 visible on screen too.
9046 2003-02-07 John Levon <levon@movementarian.org>
9048 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9050 2003-02-05 Angus Leeming <leeming@lyx.org>
9052 * lyxserver.C (read_ready): revert my patch of 11 September last year
9053 as it sends PC cpu through the roof. Presumably this means that
9054 the lyxserver will no longer run on an Alpha...
9056 2003-01-30 Angus Leeming <leeming@lyx.org>
9058 * factory.C (createInset): create an InsetCommandParam of type "index"
9059 and use it to 'do the right thing'.
9061 * text2.C (getStringToIndex): ensure that cursor position is always
9062 reset to the reset_cursor position.
9064 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9066 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9069 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9073 * lyxfunc.C: Output messages with identical spelling, punctuation,
9076 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9078 * MenuBackend.C (expandFormats): List only viewable export formats
9081 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9084 * lyxfunc.C (getStatus): Make sure that formats other than
9085 "fax" can also be disabled
9087 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9089 * text3.C (dispatch): put the lfuns that insert insets in 3
9090 groups, and call doInsertInset with appropriate arguments.
9091 (doInsertInset): new function, that creates an inset and inserts
9092 it according to some boolean parameters.
9094 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9096 * buffer.C (readFile): remember to pass on 'par' when calling
9097 readFile recursively.
9099 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9101 * MenuBackend.C (expandFormats): add "..." to import formats.
9103 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9105 * paragraph.C (asString): Remove XForms RTL hacks.
9107 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9108 * buffer.C: fix typo
9110 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9112 * Makefile.am (LIBS): delete var
9113 (lyx_LDADD): add @LIBS@ here instead.
9115 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9117 * Clarify the meaning of "wheel mouse jump"
9119 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9124 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9126 * importer.C (Loaders): do not preallocate 3 elements in the
9127 vector, since one ends up with 6 elements otherwise
9129 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9131 * DepTable.C (write): write the file name as last element of the
9132 .dep file (because it may contain spaces)
9133 (read): read info in the right order
9135 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9137 * paragraph_pimpl.C (simpleTeXBlanks):
9138 (simpleTeXSpecialChars):
9139 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9141 * tabular.C (latex): add some missing case statements. Reindent.
9143 * MenuBackend.C (expandToc): remove unused variable.
9145 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9154 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9157 2003-01-05 John Levon <levon@movementarian.org>
9160 * BufferView.C: add getEncoding()
9163 * kbsequence.C: do not store last keypress
9166 * lyxfunc.C: store last keypress here instead. Pass encoding
9169 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9171 * lyx_main.C (init): remove annoying error message when following
9172 symbolic links (bug #780)
9174 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9176 * text.C (insertChar):
9177 * lyxrc.C (getDescription): remove extra spaces
9179 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9181 * lyxrc.C (getDescription): remove extra spaces
9183 2002-12-20 John Levon <levon@movementarian.org>
9185 * text3.C: hack fix for page up/down across tall rows
9187 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9189 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9192 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9194 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9195 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9196 thesaurus is not compiled in
9198 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9200 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9202 2002-12-16 Angus Leeming <leeming@lyx.org>
9205 * lyx_main.C (init): remove override_x_deadkeys stuff.
9207 2002-12-12 John Levon <levon@movementarian.org>
9209 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9210 insert. Only remove shift modifier under strict
9213 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9215 * MenuBackend.C (expandToc): fix crash.
9217 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9219 * MenuBackend.C (expandToc): gettext on float names.
9221 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9223 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9224 implement bool empty() [bug 490]
9226 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9230 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9232 * several files: ws changes
9234 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * text2.C (setCounter): clean up a bit, use boost.format.
9237 (updateCounters): initialize par upon declaration.
9239 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9240 if the layout exists. We do not just store the layout any more.
9241 (SwitchLayoutsBetweenClasses): use boost.format
9243 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9245 * converter.C (convert): if from and to files are the same, use a
9246 temporary files as intermediary
9248 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9251 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9253 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9255 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9257 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9259 * tabular.C (asciiPrintCell): use string(size, char) instead of
9262 * sgml.C (openTag): fix order of arguments to string constructor
9265 * lyxfunc.C (dispatch): use boost.format
9267 * lots of files: change "c" -> 'c'
9269 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9271 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9273 2002-11-25 Angus Leeming <leeming@lyx.org>
9275 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9277 * lyx_main.C (init): compile fix.
9279 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9281 * lyx_cb.C (start): boost.formatify
9282 do not include <iostream>
9284 * lengthcommon.C: ws only
9286 * boost-inst.C,BoostFormat.h: add more explict instantations
9288 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9290 * lots of files: handle USE_BOOST_FORMAT
9292 2002-11-21 John Levon <levon@movementarian.org>
9294 * pspell.C: fix compile
9296 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9298 * lyxfunc.C (dispatch): use boost::format
9302 * lyxfont.C (stateText): use boost::format
9304 * lyx_main.C (LyX): use boost::format
9306 (queryUserLyXDir): ditto
9309 (typedef boost::function): use the recommened syntax.
9311 * importer.C (Import): use boost::format
9313 * debug.C (showLevel): use boost::format
9315 * converter.C (view): use boost::format
9320 * bufferview_funcs.C (currentState): use boost::format
9322 * bufferlist.C (emergencyWrite): use boost::format
9324 * buffer.C (readLyXformat2): use boost::format
9325 (parseSingleLyXformat2Token): ditto
9327 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9329 * LaTeX.C (run): use boost::format
9331 * Chktex.C (scanLogFile): use boost::format
9333 * BufferView_pimpl.C (savePosition): use boost::format
9334 (restorePosition): ditto
9335 (MenuInsertLyXFile): ditto
9337 * BoostFormat.h: help file for explicit instation.
9339 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9341 * tabular.C (latex): Support for block alignment in fixed width
9344 2002-11-17 John Levon <levon@movementarian.org>
9346 * BufferView_pimpl.C:
9348 * lyxfunc.C: split filedialog into open/save
9350 2002-11-08 Juergen Vigna <jug@sad.it>
9352 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9353 by my last patch (hopefully).
9355 2002-11-08 John Levon <levon@movementarian.org>
9364 * toc.C: ParConstIterator, and use it (from Lars)
9366 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9368 * lyxtextclass.[Ch]: revise and add doxygen comments
9370 2002-11-07 John Levon <levon@movementarian.org>
9372 * text.C: fix progress value for spellchecker
9374 * toc.C: fix navigate menu for insetwrap inside minipage
9376 * paragraph_funcs.C: added FIXME for suspect code
9378 2002-11-07 John Levon <levon@movementarian.org>
9380 * BufferView_pimpl.C: fix redrawing of insets
9383 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9385 * text2.C (updateCounters): fix bug 668
9387 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9389 * text3.C (dispatch): Do not make the buffer dirty when moving the
9392 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9394 * vc-backend.C: STRCONV
9397 * text2.C (setCounter): STRCONV
9399 * paragraph.C (asString): STRCONV
9401 * lyxlength.C (asString): STRCONV
9402 (asLatexString): ditto
9404 * lyxgluelength.C (asString): STRCONV
9405 (asLatexString): ditto
9407 * lyxfunc.C (dispatch): STRCONV
9410 * lyxfont.C (stateText): STRCONV
9412 * importer.C (Import): STRCONV
9414 * counters.C (labelItem): STRCONV
9415 (numberLabel): ditto
9416 (numberLabel): remove unused ostringstream o
9421 * bufferview_funcs.C (currentState): STRCONV
9423 * buffer.C (readFile): STRCONV
9424 (asciiParagraph): ditto
9425 (makeLaTeXFile): ditto
9427 * Spacing.C (writeEnvirBegin): STRCONV
9429 * LaTeXFeatures.C (getLanguages): STRCONV
9430 (getPackages): ditto
9432 (getBabelOptions): ditto
9433 (getTClassPreamble): ditto
9434 (getLyXSGMLEntities): ditto
9435 (getIncludedFiles): ditto
9439 (scanAuxFile): ditto
9442 * LString.h: add the STRCONV macros
9444 * BufferView_pimpl.C (savePosition): STRCONV
9445 (restorePosition): ditto
9446 (MenuInsertLyXFile): ditto
9448 * vc-backend.C (scanMaster): change from submatch[...] to
9451 * funcrequest.C: include config.h
9453 * factory.C: include config.h
9455 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9457 * box.C: include config.h
9459 * LaTeX.C (scanAuxFile): change from submatch[...] to
9463 2002-10-25 Angus Leeming <leeming@lyx.org>
9465 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9467 * ispell.[Ch] (setError): new method.
9468 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9469 Use setError() insetead of goto END.
9471 * lyx_cb.C (AutoSave): move out child process into new class
9474 2002-10-30 John Levon <levon@movementarian.org>
9476 * text3.C: make start appendix undoable
9478 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9480 * lyxlength.C (inPixels): Fix returned value.
9482 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9485 2002-10-24 Angus Leeming <leeming@lyx.org>
9487 * lyxgluelength.h: no need to forward declare BufferParams
9488 or BufferView, so don't.
9490 2002-10-21 John Levon <levon@movementarian.org>
9492 * BufferView.C: menuUndo ->undo, redo
9494 * BufferView.h: document, remove dead, make some methods private
9496 * paragraph_funcs.h:
9497 * paragraph_funcs.C:
9498 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9503 * sgml.C: move sgml open/close tag into sgml.C
9505 * bufferview_funcs.h: unused prototype
9508 * lyxfunc.C: remove unused
9511 * text.C: remove unused
9513 2002-10-21 John Levon <levon@movementarian.org>
9517 * BufferView_pimpl.h:
9518 * BufferView_pimpl.C: fix mouse wheel handling based on
9519 patch from Darren Freeman
9521 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9523 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9525 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9527 * lyxlength.C (inPixels): Fix hanfling of negative length.
9528 Fix LyXLength::MU case.
9530 2002-10-16 John Levon <levon@movementarian.org>
9532 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9534 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9536 * converter.C (view): add support for $$i (file name) and $$p
9537 (file path) for the viewer command. If $$i is not specified, then
9538 it is appended to the command (for compatibility with old syntax)
9540 2002-10-14 Juergen Vigna <jug@sad.it>
9542 * undo_funcs.C (textHandleUndo): alter the order in which the
9543 new undopar is added to the LyXText, as we have to set first
9544 the right prev/next and then add it as otherwise the rebuild of
9545 LyXText is not correct. Also reset the cursor to the right paragraph,
9546 with this IMO we could remove the hack in "redoParagraphs()".
9548 2002-10-09 Angus Leeming <leeming@lyx.org>
9550 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9551 to turn off an optimisation if a new inset is to be inserted.
9553 2002-10-11 André Pönitz <poenitz@gmx.net>
9555 * lyxtext.h: make some functions public to allow access
9556 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9558 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9560 * text3.C (dispatch): when changing layout, avoid an infinite loop
9563 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9565 * lyxrc.C (read): treat a viewer or converter command of "none" as
9568 * MenuBackend.C (expandFormats): for an update, also allow the
9569 formats that are not viewable
9571 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9572 script if it is newer than the lyxrc.defaults in user directory
9574 2002-10-07 André Pönitz <poenitz@gmx.net>
9576 * text.C: Vitaly Lipatov's small i18n fix
9578 2002-09-25 Angus Leeming <leeming@lyx.org>
9580 * ispell.h: doxygen fix.
9582 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9584 * buffer.h (readFile): Add a new argument to the method, to allow
9585 reading of old-format templates.
9587 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9589 * toc.C (getTocList): Get TOC from InsetWrap.
9591 2002-09-16 John Levon <levon@movementarian.org>
9593 * lyxfunc.C: check tabular for cut/copy too
9595 2002-09-12 John Levon <levon@movementarian.org>
9600 * factory.C: add header
9602 * paragraph_funcs.h:
9603 * paragraph_funcs.C: cleanup
9605 2002-09-11 John Levon <levon@movementarian.org>
9607 * PrinterParams.h: odd/even default to true
9609 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9611 * PrinterParams.h: update printer parameters for new xforms dialog
9613 2002-09-11 Angus Leeming <leeming@lyx.org>
9615 * lyxserver.C (read_ready): re-write to make it more transparent
9616 and to make it work in coherent fashion under Tru64 Unix.
9618 2002-09-11 André Pönitz <poenitz@gmx.net>
9622 * text3.C: implement LFUN_WORDSEL
9624 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9626 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9627 make floatlist_ a boost::shared_ptr<FloatList>
9629 * lyxtextclass.C: include FloatList.h
9630 (LyXTextClass): initialize floatlist_
9631 (TextClassTags): add TC_NOFLOAT
9632 (Read): match "nofloat" to TC_NOFLOAT and use it.
9633 (readFloat): modify call to floatlist_
9637 * FloatList.[Ch] (FloatList): remove commented out float
9639 (erase): new function
9641 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9643 * MenuBackend.C (expandToc): fix crash when there is no document
9646 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9648 * many files: Add insetwrap.
9650 2002-09-09 John Levon <levon@movementarian.org>
9652 * text2.C: remove confusing and awkward depth wraparound
9654 2002-09-09 John Levon <levon@movementarian.org>
9656 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9659 * buffer.C: remove getIncludeonlyList()
9662 * lyxfunc.C: remove headers
9664 2002-09-09 Juergen Vigna <jug@sad.it>
9666 * text.C (getColumnNearX): fix form Michael this is most
9667 probably a cut&paste bug.
9669 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9671 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9673 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9674 references, ws changes.
9676 * text2.C (init): update counters after init
9677 (insertParagraph): no need to set counter on idividual paragraphs.
9678 (setCounter): access the counters object in the textclass object
9679 on in the buffer object.
9680 (updateCounters): ditto
9682 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9683 shared_ptr<Counters> to avoid loading counters.h in all
9685 (LyXTextClass): initialize ctrs_
9686 (TextClassTags): add TC_COUNTER, and ...
9687 (Read): use it here.
9688 (CounterTags): new tags
9689 (readCounter): new function
9690 (counters): new funtion
9691 (defaultLayoutName): return a const reference
9693 * counters.C (Counters): remove contructor
9694 (newCounter): remove a couple of unneeded statements.
9695 (newCounter): simplify a bit.
9696 (numberLabel): some small formatting changes.
9698 * buffer.[Ch]: remove all traces of counters, move the Counters
9699 object to the LyXTextClass.
9701 2002-09-06 Alain Castera <castera@in2p3.fr>
9703 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9704 package to set the horizontal alignment on fixed width columns.
9707 * lyx_sty.h: added tabularnewline macro def.
9709 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9711 2002-09-06 John Levon <levon@movementarian.org>
9713 * LyXAction.C: tooltips for sub/superscript
9715 * MenuBackend.C: a bit more verbose
9717 * lyxfunc.C: tiny clean
9719 * undo_funcs.C: document undo_frozen
9721 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9723 * counters.C (Counters): add missing algorithm counter.
9725 * text2.C (setCounter): lookup the counter with layouts latexname
9726 instead of by section number.
9727 (setCounter): use a hackish way to lookup the correct enum
9729 a float name->type change
9730 reset enum couners with counter name directly instead of depth value.
9732 * counters.C (Counters): remove the push_backs, change to use the
9733 float type not the float name.
9734 (labelItem): remove unused string, float name->type change
9736 * counters.h: don't include vector, loose the enums and sects vectors
9738 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9740 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9741 (Read): add float->TC_FLOAT to textclassTags
9742 (Read): and handle it in the switch
9743 (readFloat): new function
9745 * FloatList.C (FloatList): comment out the hardcoded float
9748 * lyxlayout.h: ws change.
9750 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9752 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9754 2002-09-03 Angus Leeming <leeming@lyx.org>
9756 * BufferView_pimpl.h: qualified name is not allowed in member
9757 declaration: WorkArea & Pimpl::workarea() const;
9759 * factory.C: added using std::endl directive.
9761 * text3.C: added using std::find and std::vector directives.
9763 2002-08-29 André Pönitz <poenitz@gmx.net>
9766 * text2.C: remove unused member number_of_rows
9769 * BufferView2.C: remove file, move contents to...
9770 * BufferView.C: ... here
9772 * BufferView_pimpl.C:
9773 * factory.C: move more inset creation to factory
9775 * vspace.C: avoid direct usage of LyXText, ws changes
9778 don't provide direct access to WorkArea, use two simple
9779 acessors haveSelction() and workHeight() instead
9782 2002-08-29 John Levon <levon@movementarian.org>
9784 * BufferView_pimpl.C (dispatch): do not continue when
9787 2002-08-28 André Pönitz <poenitz@gmx.net>
9789 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9792 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9794 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9796 * buffer.C: increment LYX_FORMAT to 221
9798 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9799 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9801 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9803 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9805 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9807 * factory.C (createInset): use LyXTextClass::floats
9809 * MenuBackend.C (expandFloatListInsert):
9810 (expandFloatInsert):
9813 * text2.C (setCounter):
9815 * LaTeXFeatures.C (useFloat):
9816 (getFloatDefinitions):
9818 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9820 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9821 floatlist_, with accessor floats().
9823 * FloatList.h: remove global FloatList
9825 2002-08-26 André Pönitz <poenitz@gmx.net>
9827 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9831 * BufferView_pimpl.C:
9832 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9834 2002-08-25 John Levon <levon@movementarian.org>
9836 * LyXAction.C: fix margin note description
9838 2002-08-24 John Levon <levon@movementarian.org>
9842 * bufferview_funcs.C:
9844 * undo_funcs.C: cleanups
9846 * lyxfunc.C: disable CUT/COPY when no selection
9848 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9850 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9851 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9853 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9854 Add backward compatibility to "mono", "gray" and "no".
9856 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9858 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9859 (and file_format >= 200).
9861 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9863 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9865 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9867 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9869 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9871 * BufferView_pimpl.C:
9878 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9879 inset and code to make it work with the paragraph code. The inset
9880 can be anywhere in the paragraph, but will only do the expected
9881 thing in LaTeX if the layout file contains the parameter line
9883 (or more generally, a nonzero value) for that layout.
9885 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9887 * paragraph.h: remove the declaration of undefined counters class
9890 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9892 * text2.C (setCounter): fixed enumeration mis-count as reported by
9893 Dr. Richard Hawkins.
9895 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9897 * paragraph_funcs.h: remove some unneeded includes
9899 * text.C (backspace): pasteParagraph now in global scipe
9901 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9902 (pasteSelection): ditto
9904 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9905 * paragraph_funcs.C (pasteParagraph): ... here
9907 2002-08-20 André Pönitz <poenitz@gmx.net>
9909 * commandtags.h: new LFUNs for swapping/copying table row/colums
9912 * lyxfunc.C: support for new lfuns
9914 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9917 * buffer.[Ch]: remove NO_COMPABILITY stuff
9919 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9921 * boost.C (throw_exception): new file, with helper function for
9922 boost compiled without exceptions.
9927 * ParameterStruct.h:
9928 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9930 * bufferlist.C (emergencyWriteAll): use boost bind
9932 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9934 * text.C: include paragraph_funcs.h
9935 (breakParagraph): breakParagraph is now in global scope
9937 * paragraph_funcs.[Ch]: new files
9939 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9942 * buffer.C: include paragraph_funcs.h
9943 (insertStringAsLines): breakParagraph is now in global scope
9945 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9948 * CutAndPaste.C: include paragraph_funcs.h
9949 (cutSelection): breakParagraphConservative is now in global scope
9950 (pasteSelection): ditto
9952 * buffer.h: declare oprator== and operator!= for
9953 Buffer::inset_iterator
9955 * bufferlist.C (emergencyWrite): don't use fmt(...)
9957 * text3.C: add using std::endl
9959 * BufferView.C (moveCursorUpdate): remove default arg
9961 2002-08-20 André Pönitz <poenitz@gmx.net>
9963 * buffer.[Ch]: move inline functions to .C
9966 * BufferView_pimpl.C:
9968 * buffer.[Ch]: use improved inset_iterator
9971 * paragraph.[Ch]: write one paragraph at a time
9973 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9975 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9976 style if style is not specified.
9978 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9980 * text2.C (setCounter): when searching for right label for a
9981 caption, make sure to recurse to parent insets (so that a caption
9982 in a minipage in a figure float works) (bug #568)
9984 2002-08-20 André Pönitz <poenitz@gmx.net>
9986 * text3.C: new file for LyXText::dispatch() and helpers
9988 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9990 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9992 2002-08-19 André Pönitz <poenitz@gmx.net>
9995 * text.C: new LyXText::dispatch()
9997 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9999 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10001 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10003 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10006 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10008 * Makefile.am: use $(variables) instead of @substitutions@
10010 2002-08-15 André Pönitz <poenitz@gmx.net>
10013 * BufferView_pimpl.C: streamlining mathed <-> outer world
10017 * LyXAction.C: remove unused LFUN_MATH
10019 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10021 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10023 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10025 * paragraph.C (Paragraph): reformat a bit
10026 (cutIntoMinibuffer): use builtin InsetList function instad of
10030 * buffer.C: include boost/bind.hpp, add using std::for_each
10031 (writeFileAscii): use ParagraphList iterators
10032 (validate): use for_each for validate traversal of paragraphs
10033 (getBibkeyList): use ParagraphList iterators
10034 (resizeInsets): use for_each to resizeInsetsLyXText for all
10036 (getParFromID): use ParagraphList iterators
10038 * BufferView2.C (lockInset): use paragraph list and iterators
10040 2002-08-14 John Levon <levon@movementarian.org>
10042 * lyxserver.C: remove spurious xforms include
10044 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10048 2002-08-13 André Pönitz <poenitz@gmx.net>
10051 * lyxfunc.C: further cleaning
10053 2002-08-13 André Pönitz <poenitz@gmx.net>
10055 * funcrequest.h: new constructor
10057 * funcrequest.C: move stuff here from .h
10060 * BufferView_pimpl.C:
10063 * lyxfunc.C: subsequent changes
10065 * lyxfunc.h: new view() member function
10067 * lyxfunc.C: subsequent changes
10069 2002-08-13 Angus Leeming <leeming@lyx.org>
10072 * BufferView_pimpl.C:
10080 changes due to the changed LyXView interface that now returns references
10081 to member variables not pointers.
10083 2002-08-13 Angus Leeming <leeming@lyx.org>
10085 * WordLangTuple (word, lang_code): return references to strings,
10090 * lyxtext.h: forward-declare WordLangTuple.
10095 * text.C: #include "WordLangTuple.h".
10098 * text.C: (selectNextWordToSpellcheck): constify return type.
10100 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10106 * paragraph_pimpl.h:
10109 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10110 suggested by Angus.
10111 Made updateCounter always count from start of buffer, and removed
10112 second argument (par).
10113 Reverted floats number display to '#'. Perhaps I'll try again when the
10114 code base is sanitized a bit.
10116 2002-08-12 Angus Leeming <leeming@lyx.org>
10118 * buffer.[Ch] (getLabelList): constify.
10120 2002-08-07 André Pönitz <poenitz@gmx.net>
10122 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10124 * funcrequest.h: extension to keep mouse (x,y) position
10126 2002-08-12 Juergen Vigna <jug@sad.it>
10128 * BufferView2.C (insertErrors): forbid undo when inserting error
10131 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10133 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10135 * ParagraphList.[Ch]: new files
10137 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10139 * BufferView2.C (lockInset): ParagraphList changes
10142 * bufferlist.C: ditto
10146 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10148 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10149 unused class variable counter_,
10151 * paragraph.[Ch] (getFirstCounter): delete unused function
10153 * counters.C: include LAssert.h
10154 (reset): add a new function with no arg, change other version to
10155 not have def. arg and to not allow empty arg.
10157 * text2.C (setCounter): remove empty arg from call to Counters::reset
10159 2002-08-11 John Levon <levon@movementarian.org>
10161 * Makefile.am: add WordLangTuple.h
10163 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10165 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10166 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10168 * insets/insettext.C: InsetList changes
10170 * graphics/GraphicsSupport.C (operator()): InsetList changes
10172 * toc.C (getTocList): InsetList changes
10174 * paragraph_pimpl.[Ch]: InsetList changes
10176 * paragraph.[Ch]: InsetList changes
10178 * buffer.C (inset_iterator): InsetList changes
10179 (setParagraph): ditto
10180 * buffer.h (inset_iterator): ditto
10181 * iterators.C (operator++): ditto
10182 * iterators.h: ditto
10184 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10186 * InsetList.[Ch]: new files, most InsetList handling moved out of
10189 * BufferView2.C (removeAutoInsets): InsetList changes
10191 (ChangeInsets): ditto
10193 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10195 * paragraph_pimpl.h (empty): new function
10197 * paragraph.[Ch] (empty): new function
10199 * other files: use the new Paragraph::empty function
10201 2002-08-09 John Levon <levon@movementarian.org>
10203 * lyxtext.h: remove unused refresh_height
10205 2002-08-09 John Levon <levon@movementarian.org>
10212 * paragraph.C: move sgml char escaping out of paragraph
10215 * paragraph.C: remove id setter
10219 * paragraph_pimpl.C: remove dead tex_code_break_column
10221 * bufferview_funcs.C: small cleanup
10223 * lyxfunc.C: remove dead proto
10225 * lyxtext.h: make some stuff private. Remove some dead stuff.
10227 * lyxgluelength.C: make as[LyX]String() readable
10229 2002-08-08 John Levon <levon@movementarian.org>
10234 * ToolbarDefaults.C:
10237 * toc.C: lyxaction cleanup
10239 2002-08-08 John Levon <levon@movementarian.org>
10241 * BufferView2.C: small cleanup
10244 * lyxfind.C: move unnecessary header into the .C
10246 2002-08-08 John Levon <levon@movementarian.org>
10248 * funcrequest.h: just tedious nonsense
10251 * lyx_main.C: cleanups
10254 * vspace.C: remove dead header lyx_main.h
10256 2002-08-07 Angus Leeming <leeming@lyx.org>
10259 * paragraph_pimpl.h:
10260 Forward declare class Counters in paragraph.h by moving the ctrs member
10261 variable into Paragraph::Pimpl.
10262 (counters): new method, returning a reference to pimpl_->ctrs.
10264 * text2.C: ensuing changes.
10266 2002-08-07 John Levon <levon@movementarian.org>
10268 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10270 * BufferView_pimpl.C: announce X selection on double/triple
10273 * lyx_main.C: use correct bool in batch dispatch
10275 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10277 2002-08-07 André Pönitz <poenitz@gmx.net>
10279 * funcrequest.h: new class to wrap a kb_action and its argument
10282 * BufferView_pimpl[Ch]:
10286 * lyxrc.C: subsequent changes
10289 2002-08-07 John Levon <levon@movementarian.org>
10291 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10292 document options change.
10294 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10299 * makefile.am: move counters functionality over from
10300 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10302 2002-08-06 John Levon <levon@movementarian.org>
10304 * WordLangTuple.h: new file for word + language code tuple
10315 * BufferView2.C: use WordLangTuple
10318 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10320 2002-08-06 John Levon <levon@movementarian.org>
10322 * lyx_main.C: fix cmdline batch handling
10324 2002-08-06 André Pönitz <poenitz@gmx.net>
10326 * lyxrc.C: set default for show_banner to true
10328 2002-08-06 John Levon <levon@movementarian.org>
10330 * pspell.C: fix a crash, and allow new aspell to work
10332 2002-08-06 John Levon <levon@movementarian.org>
10335 * kbmap.C: small cleanup
10338 * vspace.C: add const
10340 2002-08-05 John Levon <levon@movementarian.org>
10342 * LyXAction.C: back to tabular-insert
10344 2002-08-04 John Levon <levon@movementarian.org>
10347 * BufferView.C: cosmetic change
10349 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10359 * BufferView2.C: purge all "Lyx" not "LyX" strings
10362 * lyxcursor.C: attempt to add some documentation
10367 * ToolbarDefaults.C:
10368 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10369 merge with LFUN_TABULAR_INSERT
10376 * pspell.C: split up i/pspell implementations into separate
10377 files, many cleanups
10379 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10381 * text2.C: some cleanup
10383 * lyxfunc.C: don't check for isp_command == "none" any more, it
10384 didn't make any sense
10386 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10391 * makefile.am: move counters functionality over
10392 from text2.C/paragraph.[Ch] to counters.[Ch], and
10394 2002-08-02 John Levon <levon@movementarian.org>
10396 * buffer.C: s/lyxconvert/lyx2lyx/
10398 2002-08-02 Angus Leeming <leeming@lyx.org>
10400 * lyxlex.C: revert John's change as it breaks reading of the user
10403 2002-08-02 Angus Leeming <leeming@lyx.org>
10405 * importer.C (Import):
10406 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10407 changes due to LyXView::view() now returning a boost::shared_ptr.
10409 2002-08-02 John Levon <levon@movementarian.org>
10411 * lyxlex.C: small cleanup
10413 2002-08-02 John Levon <levon@movementarian.org>
10415 * text2.C (status): small cleanup, no logic change
10417 2002-08-01 John Levon <levon@movementarian.org>
10420 * buffer.C (writeFile): don't output alerts, caller
10424 * lyx_cb.C: from above
10426 * lyxfunc.C: allow to open non-existent files
10428 2002-07-31 John Levon <levon@movementarian.org>
10430 * lyxserver.C: don't let incidental errors get
10433 2002-07-30 John Levon <levon@movementarian.org>
10435 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10437 2002-07-30 John Levon <levon@movementarian.org>
10440 * lyxserver.C: remove I/O callback too
10442 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10447 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10449 * many files: strip,frontStrip -> trim,ltrim,rtrim
10451 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10453 * PrinterParams.h: remove extern containsOnly, and include
10454 support/lstrings.h instead.
10456 * LaTeX.C (scanAuxFile): modify because of strip changes
10458 * buffer.C (makeLaTeXFile): ditto
10459 * bufferparams.C (writeFile): ditt
10460 * lyxfont.C (stateText): ditto
10461 * lyxserver.C (read_ready): ditto
10462 * vc-backend.C (scanMaster): ditto
10464 * BufferView_pimpl.h: ws changes
10466 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10468 2002-07-26 André Pönitz <poenitz@gmx.net>
10470 * kb_sequence.C: remove unnedred usings
10472 2002-07-26 Juergen Vigna <jug@sad.it>
10474 * lyxfind.C (LyXReplace): we have to check better if the returned
10475 text is not of theLockingInset()->getLockingInset().
10477 2002-07-25 Juergen Vigna <jug@sad.it>
10479 * lyxfind.C (LyXReplace): don't replace if we don't get the
10482 * undo_funcs.C (createUndo): remove debugging code.
10484 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10486 * buffer.C (parseSingleLyXformat2Token): Use default placement
10487 when reading old floats.
10489 * FloatList.C (FloatList): Change the default placement of figure
10490 and tables to "tbp".
10492 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10494 * MenuBackend.C: using std::max
10496 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10498 * MenuBackend.C (expandToc):
10499 (expandToc2): code moved from xforms menu frontend. It is now
10500 generic and TOCs are transparent to menu frontends.
10502 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * toc.C (getTocList): protect against buf=0
10506 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10507 Menu as first parameter. Now, this calls itself recursively to
10508 expand a whole tree (this will be useful for TOC handling)
10509 (expandFloatInsert): remove 'wide' version of floats
10511 * MenuBackend.h (submenuname): returns the name of the submenu.
10512 (submenu): returns the submenu itself, provided it has been
10513 created by MenuBackend::expand
10515 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10517 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10518 insets which have noFontChange == true. (bug #172)
10520 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * BufferView_pimpl.C: add connection objects and use them...
10525 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * MenuBackend.C (expandLastfiles):
10530 (expandFloatListInsert):
10531 (expandFloatInsert):
10532 (expand): split expand in parts
10534 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10536 * lyx_gui.C: use lyx_gui::exit()
10538 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10540 * LyXAction.C: show the failing pseudo action
10542 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10544 * buffer.C (readFile): Run the lyxconvert script in order to read
10547 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10551 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10553 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10557 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10559 2002-07-22 Herbert Voss <voss@lyx.org>
10562 * lyxlength.[Ch]: add support for the vertical lengths
10564 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10566 * toc.[Ch]: std:: fixes
10568 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * lyxrc.C: do not include lyx_main.h
10572 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10578 * BufferView2.C: include "lyxlex.h"
10581 * bufferparams.h: do not #include "lyxlex.h"
10583 * lyxtextclasslist.C (Add): remove method
10584 (classlist): renamed to classlist_
10586 * paragraph_pimpl.C:
10590 * bufferview_funcs.C:
10595 * toc.C (getTocList): use BufferParams::getLyXTextClass
10597 * toc.C (getTocList): use InsetFloat::addToToc
10599 * toc.[Ch]: new files, containing helper functions to handle table
10602 * lyxfunc.C (dispatch): no need to remove spaces around command
10604 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10605 first command of the sequence; it is not very clever, but I do not
10606 have a better idea, actually
10608 * LyXAction.C (LookupFunc): make sure to remove space at the
10609 beginning and end of the command
10611 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10613 * MenuBackend.C (getMenubar): new method: return the menubar of
10615 (read): treat differently reading of menu and menubar (in
10616 particular, the menubar has no name now)
10617 (Menu::menubar): remove
10619 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10622 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10624 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10625 a bibitem inset in a RTL paragraph.
10627 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10629 * paragraph_pimpl.C: constify
10631 * BufferView_pimpl.C:
10633 * lyxfunc.C: fix dispatch in a nicer way
10635 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * lyxfunc.C (dispatch):
10638 * BufferView_pimpl.C:
10639 * BufferView_pimpl.h:
10641 * BufferView.h: rename Dispatch() to dispatch()
10643 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10645 * lyxlayout.C (Read): honor DependsOn tag
10647 * lyxlayout.[Ch] (depends_on): new method
10649 * version.C.in: update lyx_docversion
10651 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10653 * paragraph.C (validate): remove from here...
10654 * paragraph_pimpl.C (validate): ... and move here
10655 (isTextAt): make it const
10657 * buffer.C (getLists): ws cleanup
10659 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10661 * language.C (read): Use iso8859-1 encoding in latex_lang
10662 (this prevents LyX from crashing when using iso10646-1 encoding).
10664 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10666 * text2.C (toggleInset): if cursor is inside an inset, close the
10667 inset and leave cursor _after_ it
10669 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10671 * lyxfunc.C: move minibuffer completion handling out of here
10673 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10675 * BufferView_pimpl.C:
10676 * LaTeX.C: fix dispatch calls
10678 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10680 * text.C (drawChars): Fix Arabic text rendering.
10682 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10686 * lyxfunc.C: remove message-push/pop
10690 * lyxfunc.C: rationalise some code by removing verboseDispatch
10691 in favour of a bool argument to dispatch()
10693 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10695 * lyx_main.C (init): make sure to read symlinks as absolute paths
10697 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10700 * lyxfunc.C: no need for commandshortcut to be a member
10702 2002-07-15 André Pönitz <poenitz@gmx.net>
10704 * converter.C: add support for $$s (scripts from lib/scripts dir)
10705 * lyx_main.C: white space
10707 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10711 * lyxrc.C: remove second exit confirmation
10713 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10718 * BufferView_pimpl.h:
10719 * BufferView_pimpl.C:
10720 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10722 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * MenuBackend.C (expand): add numeric shortcuts to document menu
10726 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10728 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10730 * lyxfont.C (setLyXFamily):
10737 * buffer.C (asciiParagraph): use ascii_lowercase
10739 2002-07-15 Mike Fabian <mfabian@suse.de>
10741 * lyxlex_pimpl.C (search_kw):
10742 * lyxlex.C (getLongString):
10743 * converter.h (operator<):
10744 * converter.C (operator<):
10745 * buffer.C (parseSingleLyXformat2Token):
10747 * ToolbarDefaults.C (read):
10748 * MenuBackend.C (checkShortcuts):
10750 * LColor.C (getFromGUIName):
10751 (getFromLyXName): use the compare_ascii_no_case instead of
10752 compare_no_case, because in turkish, 'i' is not the lowercase
10753 version of 'I', and thus turkish locale breaks parsing of tags.
10755 2002-07-16 Angus Leeming <leeming@lyx.org>
10757 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10758 now takes a Buffer const & argument.
10760 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10762 * BufferView.C (resize): check there's a buffer to resize
10764 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10766 * lyxfunc.C: remove dead code
10769 * lyxserver.C: use lyx_guii::set_read_callback
10771 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10773 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10774 an inset in a RTL paragraph.
10776 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10778 * lyxfunc.C: repaint after a font size update
10780 2002-07-15 André Pönitz <poenitz@gmx.net>
10782 * lyxlength.C: inBP should be able to return negative values
10784 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10786 * lyxfunc.C: use lyx_gui::update_fonts()
10788 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10790 * lyxfunc.C: use lyx_gui::update_color()
10792 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10798 * lyxrc.C: remove file->new asks for name option, and let
10799 buffer-new take an argument
10801 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10803 * BufferView_pimpl.C: remove unneeded extra repaint()
10805 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10807 * LyXAction.C: allow command-sequence with NoBuffer
10809 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10811 2002-07-10 Angus Leeming <leeming@lyx.org>
10813 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10815 2002-07-09 Angus Leeming <leeming@lyx.org>
10817 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10819 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10821 * lengthcommon.h: whitespace
10823 * lyxfunc.C: update scrollbar after goto paragraph
10825 * lyxtext.h: factor out page break drawing, and fix it so
10826 page break/added space paints as selected nicely
10828 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10830 * BufferView_pimpl.C: add FIXMEs, clean up a little
10832 2002-07-09 André Pönitz <poenitz@gmx.net>
10834 * lyxfont.[Ch]: support for wasy symbols
10836 2002-07-08 André Pönitz <poenitz@gmx.net>
10838 * BufferView_pimpl.C: apply John's patch for #93.
10840 2002-07-05 Angus Leeming <leeming@lyx.org>
10842 * BufferView_pimpl.C (buffer): generate previews if desired.
10844 * LColor.h: add "preview" to the color enum.
10846 * LColor.C (LColor): add a corresponding entry to the items array.
10848 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10851 2002-07-05 Angus Leeming <leeming@lyx.org>
10853 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10854 The body of the code is now in the method that is passed an ostream &
10855 rather than a file name.
10856 Pass an additional only_preamble parameter, useful for the forthcoming
10859 2002-07-03 André Pönitz <poenitz@gmx.net>
10861 * lyxfunc.C: simplify getStatus() a bit for math stuff
10863 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10865 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10867 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10869 * text.C (changeRegionCase): do not change case of all the
10870 document when region ends at paragraph end (bug #461)
10872 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10874 * paragraph.C (startTeXParParams):
10875 (endTeXParParams): add \protect when necessary
10877 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10879 * BufferView_pimpl.C (workAreaExpose): remove warning
10881 2002-06-27 Angus Leeming <leeming@lyx.org>
10883 * Makefile.am: add lyxlayout_ptr_fwd.h.
10885 2002-06-26 André Pönitz <poenitz@gmx.net>
10887 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10889 2002-06-25 Angus Leeming <leeming@lyx.org>
10891 * lyxfunc.C (dispatch): Comment out the call to
10892 grfx::GCache::changeDisplay. The method no longer exists now that the
10893 pixmap generation part of the graphics loader has been moved into
10896 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * text2.C: layout as layout
10900 * text.C: layout as layout
10902 * tabular.C (OldFormatRead): layout as layout
10904 * paragraph_pimpl.C (TeXDeeper): layout as layout
10905 (realizeFont): layout as layout
10907 * paragraph.C (writeFile): layout as layout
10908 (validate): layout as layout
10909 (getFont): layout as layout
10910 (getLabelFont): layout as layout
10911 (getLayoutFont): layout as layout
10912 (breakParagraph): layout as layout
10913 (stripLeadingSpaces): layout as layout
10914 (getEndLabel): layout as layout
10915 (getMaxDepthAfter): layout as layout
10916 (applyLayout): layout as layout
10917 (TeXOnePar): layout as layout
10918 (simpleTeXOnePar): layout as layout
10919 (TeXEnvironment): layout as layout
10920 (layout): layout as layout
10921 (layout): layout as layout
10923 * lyxtextclass.C (compare_name): new functor to work with
10924 shared_ptr, layout as layout
10925 (Read): layout as layout
10926 (hasLayout): layout as layout
10927 (operator): layout as layout
10928 (delete_layout): layout as layout
10929 (defaultLayout): layout as layout
10931 * lyxlayout_ptr_fwd.h: new file
10933 * lyxlayout.C (Read): layout as layout
10935 * lyx_cb.C (MenuInsertLabel): layout as layout
10937 * bufferlist.C (newFile): layout as layout
10939 * buffer.C (readLyXformat2): layout as layout
10940 (parseSingleLyXformat2Token): layout as layout
10941 (insertStringAsLines): layout as layout
10942 (asciiParagraph): layout as layout
10943 (latexParagraphs): layout as layout
10944 (makeLinuxDocFile): layout as layout
10945 (simpleLinuxDocOnePar): layout as layout
10946 (makeDocBookFile): layout as layout
10947 (simpleDocBookOnePar): layout as layout
10948 (getLists): layout as layout
10950 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10952 * CutAndPaste.C (cutSelection): layout as layout
10953 (pasteSelection): layout as layout
10954 (SwitchLayoutsBetweenClasses): layout as layout
10956 * BufferView_pimpl.C (Dispatch): layout as layout
10957 (smartQuote): layout as layout
10959 * BufferView2.C (unlockInset): layout as layout
10961 2002-06-24 André Pönitz <poenitz@gmx.net>
10963 * lyxfunc.C: fix #487
10965 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10969 * lyxfunc.C: remove display_shortcuts, show_banner
10971 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10973 * Buffer_pimpl.C: oops, update on resize
10975 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10982 * BufferView.C: use repaint()
10984 * BufferView_pimpl.h:
10985 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10986 as it's a clearer description. Remove superfluous
10989 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10991 * text.C: fix bug 488. Not ideal, but getting
10992 getWord() to work properly for the insets that
10993 matter is more difficult ...
10995 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10997 * BufferView_pimpl.C:
11000 * lyxfunc.C: remove the six million index lyxfuncs to just
11001 one, and DTRT (bug 458)
11003 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11007 * BufferView_pimpl.h:
11008 * BufferView_pimpl.C: clean up resize() stuff,
11009 and unnecessary updateScreen()s
11011 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11015 * BufferView_pimpl.h:
11016 * BufferView_pimpl.C:
11019 * minibuffer.C: remove focus management of workarea,
11020 not needed. Use screen's greyOut()
11022 2002-06-17 Herbert Voss <voss@lyx.org>
11024 * converter.C: (convert) do not post a message, when converting
11025 fails, let the calling function decide what to do in this case
11027 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11029 * lyxfunc.C: tidy up a little
11031 2002-06-16 <alstrup@diku.dk>
11033 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11034 Got rid of FORMS_H_LOCATION include. Now we are
11037 2002-06-15 LyX Development team <lyx@rilke>
11039 * buffer.[Ch] (sgmlOpenTag):
11040 (sgmlCloseTag): Added support for avoiding pernicious mixed
11041 content. Return number of lines written.
11043 (makeLinuxDocFile):
11044 (makeDocBookFile): Fixed calls to sgml*Tag.
11045 Simple white space clean.
11047 (simpleDocBookOnePar): Simple white space clean.
11049 * tabular.[Ch] (docBook): Renamed to docbook and got another
11050 argument to related with the pernicious mixed content.
11052 (docbookRow): Fixed calls for docbook inset method.
11054 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11056 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11057 so it's X11 independent.
11061 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11063 2002-06-15 Lyx Development team <lyx@electronia>
11065 * intl.h: Renamed getTrans to getTransManager.
11067 2002-06-14 Angus Leeming <leeming@lyx.org>
11069 * Makefile.am: nuke forgotten stl_string_fwd.h.
11071 2002-06-12 Angus Leeming <leeming@lyx.org>
11073 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11075 2002-06-13 Angus Leeming <leeming@lyx.org>
11078 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11080 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11082 * kbmap.C (getiso): add support for cyrillic and greek
11084 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11088 * BufferView_pimpl.h:
11089 * BufferView_pimpl.C: move bogus scrolling logic
11092 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11095 * BufferView_pimpl.C: view->resize() change
11097 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11099 * BufferView_pimpl.C: topCursorVisible
11102 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11106 * lyx_gui.C: move to frontends/
11110 * lyx_main.C: changes from above
11112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11119 * lyx_main.C: minor tidy
11121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11123 * BufferView_pimpl.h:
11124 * BufferView_pimpl.C:
11126 * BufferView.C: make painter() const,
11129 * BufferView2.C: use screen() accessor
11132 * lyx_main.C: some minor cleanup
11134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11136 * BufferView_pimpl.h:
11137 * BufferView_pimpl.C: remove enter/leaveView,
11140 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11145 * BufferView_pimpl.h:
11146 * BufferView_pimpl.C: only construct screen once,
11149 * lyxrc.C: remove pointless comment
11151 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11154 * BufferView.C: remove active() and belowMouse()
11156 * BufferView_pimpl.h:
11157 * BufferView_pimpl.C: use workarea() not workarea_,
11158 and make it use a scoped_ptr instead
11160 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11162 * lyx_gui.C: add debug message on BadWindow
11164 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11166 * sp_spell.C: fdopen is not part of the C++ standard.
11168 * paragraph.C (InsetIterator): use >= instead of ==
11170 2002-06-07 Angus Leeming <leeming@lyx.org>
11172 Fixes needed to compile with Compaq cxx 6.5.
11173 * BufferView_pimpl.C:
11180 * lyxtextclasslist.C:
11185 all c-library variables have been moved into namespace std. Wrap
11186 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11191 Add a using std::abs declaration.
11193 * kbmap.h (modifier_pair):
11194 * paragraph.h (InsetTable, InsetList):
11195 * lyxfont.h (FontBits):
11196 type definition made public.
11198 * bufferlist.C (emergencyWriteAll): the compiler complains that
11199 there is more than one possible lyx::class_fun template to choose from.
11200 I re-named the void specialisation as lyx::void_class_fun.
11202 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11204 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11205 the compiler is is unable to find tostr in write_attribute.
11207 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11209 * buffer.C (sgmlError): hide #warning
11211 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11213 * xtl/*: get rid of xtl, which is not in use anyway
11215 * LyXAction.C (init):
11216 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11217 were unimplemented xtl experimentation
11219 2002-06-04 André Pönitz <poenitz@gmx.net>
11221 * lyxfunc.C: disable array operation on simple formulae
11223 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11225 * converter.C: constify a bit
11227 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11229 * lyx_gui.C: check xforms version correctly
11231 2002-04-30 Herbert Voss <voss@lyx.org>
11233 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11236 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11238 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11239 attempt to register it with a VCS)
11241 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11243 * lyx_main.C (init): honor variables LYX_DIR_13x and
11246 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11250 * lyx_main.C: fix a crash on bad command line,
11251 and give a useful exit status on error
11253 * lyxfunc.C (doImport): allow -i lyx to work
11255 2002-03-30 André Pönitz <poenitz@gmx.net>
11257 * lyxfunc.C: mathed font changes
11259 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11274 * trans_mgr.h: srcdocs, and some minor cleanups
11276 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11278 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11279 call getFont all the time)
11281 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11283 * switch from SigC signals to boost::signals
11285 2002-05-29 André Pönitz <poenitz@gmx.net>
11287 * paragraph_pimpl.C (getChar): don't call size() too often...
11289 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11291 * paragraph_pimpl.C (insertChar): do not try to update tables when
11292 appending (pos == size())
11294 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11295 in order to reduce drastically the number of comparisons needed to
11296 parse a large document
11298 2002-05-29 André Pönitz <poenitz@gmx.net>
11304 * textclasslist.[Ch]:
11305 * sp_ispell.h: whitespace change
11307 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11309 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11310 lyxaction directly now.
11312 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11316 * lyxvc.C: remove unused headers
11318 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11325 * undo_funcs.C: some cleanups. Use shared_ptr
11326 and a template for the undo stacks.
11328 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11330 * BufferView_pimpl.h:
11331 * BufferView_pimpl.C:
11338 * text2.C: use key_state/mouse_state
11340 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11342 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11345 * chset.C: change include order
11346 (loadFile): use boost regex and get rid of LRegex and LSubstring
11348 * Makefile.am (BOOST_LIBS): new variable
11349 (lyx_LDADD): use it
11351 * LaTeX.C: change include order.
11352 (scanAuxFile): use boost regex and get rid of LRegex and
11356 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11361 * FontInfo.C: moved to frontends/xforms/
11364 * FontLoader.C: moved into frontends for GUIIzation
11369 * lyxfunc.C: changes from above
11371 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11373 * LColor.C: remove spurious X include
11375 * BufferView_pimpl.C:
11380 * text2.C: move font metrics to frontends/
11382 2002-05-24 Juergen Vigna <jug@sad.it>
11384 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11385 setting the undo_cursor.
11387 * ParagraphParameters.h: include local includes first.
11389 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11391 * BufferView_pimpl.C:
11392 * BufferView_pimpl.h:
11396 * screen.C: move WorkArea into frontends/
11402 * BufferView2.C: move LyXScreen into frontends/
11406 * lyx_gui.C: move lyxlookup into frontends/xforms/
11408 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11411 * BufferView_pimpl.C:
11421 * bufferview_funcs.C:
11434 * vc-backend.C: move LyX/XFormsView into frontends/
11436 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11448 * text2.C: move Painter to frontends/
11450 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * buffer.C: comment out some some code that depend upon lyx_format
11455 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11456 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11458 * buffer.h (NO_COMPABILITY): turn off compability
11460 * ColorHandler.C: include scoped_array.hpp
11462 * font.C: Use more specific smart_ptr header.
11465 * ShareContainer.h: ditto
11466 * lyx_main.h: ditto
11468 * FontInfo.h: ditto
11469 * BufferView_pimpl.h: ditto
11470 * ColorHandler.h: ditto
11472 * kbmap.C (defkey): change call to shared_ptr::reset
11474 2002-05-21 Juergen Vigna <jug@sad.it>
11476 * buffer.C (insertErtContents): fix to insert ert asis if it is
11477 non empty. Skip it completely if it contains only whitespaces.
11479 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11481 * BufferView_pimpl.C:
11482 * BufferView2.C: clear selection on paste (bug 393)
11484 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11486 * DepTable.C: include ctime
11488 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11490 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11492 2002-05-14 Juergen Vigna <jug@sad.it>
11494 * text.C (breakParagraph): fixed function to honor the keepempty
11495 layout in the right maner and also to permit the right breaking
11496 algorithm on empty or non empyt keepempty paragraphs.
11498 * paragraph.C (breakParagraph): we have to check also if the par
11499 is really empty (!size()) for isempty otherwise we do the wrong
11502 2002-05-10 Juergen Vigna <jug@sad.it>
11504 * buffer.[Ch] : The following are only changes to the ert
11505 compatibility read reading old LaTeX layout and font stuff and
11506 convert it to ERTInsets.
11508 * buffer.h: added isErtInset().
11510 * buffer.C (struct ErtComp): add a fromlayout bool to check
11511 if we're inside a LaTeX layout.
11512 (isErtInset): new helper function.
11513 (insertErtContents): look for other ert insets before this one
11514 and insert the contents there, so that we don't have subsequent
11515 ERT insets with nothing between them. This way we create only one
11516 inset with multiple paragraphs. Also check if we don't insert only
11517 spaces ' ' as they are ignored anyway afterwards in the .tex file
11518 so if we have only spaces we will ignore this latex part in the
11520 (parseSingleLyXformat2Token \\layout): better compatibility when
11521 reading layout-latex stuff.
11522 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11524 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11525 stuff after reading the inset only get the information back from
11528 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11530 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11532 * LaTeXFeatures.C (getBabelOptions): New method.
11534 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11536 * BufferView_pimpl.C (Dispatch): work around missing argument for
11539 2002-05-08 Juergen Vigna <jug@sad.it>
11541 * text.C (leftMargin): handle paragraph leftindent.
11543 * paragraph.C (writeFile): write the new \\leftindent tag.
11544 (validate): handle leftindent code.
11545 (TeXEnvironment): handle paragraphleftindent code again.
11547 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11549 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11550 for paragrap_extra indent code and new token \\leftindent.
11551 (latexParagraphs): handle the leftindent as environment.
11553 * ParameterStruct.h: added leftindent support.
11555 * ParagraphParameters.C (leftIndent): added support functions for
11556 the paragraph left indent.
11558 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11561 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11563 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11566 * text.C (computeBidiTables): No bidi in insetERT.
11568 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11571 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11573 * version.C.in: pre 5
11575 2002-05-02 José Matos <jamatos@fep.up.pt>
11576 * buffer.C (makeDocBookFile): white space changes, add newline to
11578 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11580 * tabular.C (docBook): fix typo.
11582 2002-05-03 Juergen Vigna <jug@sad.it>
11584 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11585 change in LyXText as we can not be sure it was not freed.
11586 (drawOneRow): remove unused code.
11588 * text.C (drawInset): redo the calculation of the need_break_row as
11589 it could have a row which was already freed.
11590 (draw): look at the return value of drawInset and return false if
11591 it also returned false.
11592 (paintRowText): look at the return value of draw and return false if
11593 it also returned false.
11595 * lyxtext.h: added bool return type to drawInset() and draw() so that
11596 if we have a change in the row so that the rowbreak has to be redone
11597 we abort drawing as it will be called again.
11599 2002-05-02 Juergen Vigna <jug@sad.it>
11601 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11602 a change in the maintext also if we're inside an inset.
11603 (Dispatch): set the cursor again after a break line and after the
11604 screen has been updated as it could be we're in a different row.
11606 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11607 to set the cursor behind the pargraph with > size().
11608 (setCursor): check also for the same paragraph when checking where
11609 to put the cursor if we have a NFR inset.
11611 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11612 parts of layout read further up as it still was in the wrong
11615 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11617 * screen.C (drawFromTo): change sine fullRebreak always return
11620 * buffer.C (parseSingleLyXformat2Token): reindent some
11622 * BufferView_pimpl.C (update): change since fullRebreak always
11624 (Dispatch): git rid of the last hardcoded "Standard"s.
11626 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11628 * text2.[Ch] (fullRebreak): make it return void now that we always
11631 2002-04-30 Juergen Vigna <jug@sad.it>
11633 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11634 ert compatibility check for "latex" layout.
11636 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11638 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11639 minipages: use col% instead of p%, and also use the current font.
11640 (makeLaTeXFile): Fix use babel condition.
11641 (parseSingleLyXformat2Token): Correct font when reading old floats.
11643 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11645 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11646 inserting list of floats.
11648 2002-04-25 Herbert Voss <voss@lyx.org>
11650 * MenuBackend.C (expand): don't add the graphics extensions to the
11653 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11655 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11656 non-existing layout, do not complain if it was the default layout
11657 of the original class (bug #342)
11659 2002-04-24 Juergen Vigna <jug@sad.it>
11661 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11662 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11664 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11666 * buffer.C (getBibkeyList): If using \bibliography, return the
11667 option field with the reference itself. Enables us to provide natbib
11668 support when using \bibliography.
11670 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11672 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11674 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11675 natbib is provided by the LaTeX class.
11677 2002-04-23 Juergen Vigna <jug@sad.it>
11679 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11682 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11684 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11686 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11688 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11689 ensuremath around textordmasculine, textordfeminine and
11692 2002-04-19 Juergen Vigna <jug@sad.it>
11694 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11695 reinitializing the buffer otherwise row-dimensions may be wrong.
11696 (update): reset also the selection cursors if they do exits otherwise
11697 their x/y positions may be wrong.
11699 * text2.C (cursorDown): don't enter the inset if we came from a row
11700 above and are one row over the inset.
11702 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11703 really leaving an inset.
11705 2002-04-18 Juergen Vigna <jug@sad.it>
11707 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11708 of the selected paragraph does not have the selected layout also if
11711 * text2.C (setLayout): fixed bug which did not change last selected
11714 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11715 changed the read and substituted \\end_float with \\end_inset!
11717 * BufferView_pimpl.C (cursorPrevious):
11718 (cursorNext): fixed to make it work with rows heigher than the work
11719 area without moving the cursor only the draw of the row.
11720 (workAreaMotionNotify): fix jumping over high rows.
11722 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11724 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11727 2002-04-16 Juergen Vigna <jug@sad.it>
11729 * text2.C (setCursor): set also the irow().
11730 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11732 (cursorDown): support for locking an inset if the x_fix value goes
11733 inside it. That way I can transverse insets too with cursor up/down.
11735 * lyxrow.h: added irow helper function same as other (i) functions.
11737 * BufferView_pimpl.C (cursorPrevious):
11738 (cursorNext): fixed for insets!
11740 2002-04-15 Juergen Vigna <jug@sad.it>
11742 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11743 position otherwise it is wrong in some cases.
11745 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11746 inside the inset before the call.
11748 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11750 * buffer.[Ch] (getBibkeyList): make it const.
11752 2002-04-12 Juergen Vigna <jug@sad.it>
11754 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11756 * text2.C (getCursorX): new helper function
11757 (setCursor): compute also ix_
11758 (setCursorFromCoordinates): set also ix.
11760 * lyxcursor.h: added ix_ and helper functions.
11762 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11764 * buffer.C (insertStringAsLines): dont break paragraph if the this
11765 paragraph is inside an inset which does not permit it!
11767 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11768 also with no chars on this paragraph.
11769 (paintRowText): only paint stuff if it's inside the workarea!
11771 * paragraph.C (breakParagraph): honor keepempty flag and break the
11772 paragraph always below not above.
11774 * BufferView2.C (unlockInset): update the paragraph layout on inset
11775 unlock as we changed paragraph in such a case.
11777 * lyxfind.C (LyXFind): clear the former selection if not found!
11779 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11780 again called in insertChar().
11782 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11783 an inset which uses the whole row!
11784 (rightMargin): ditto.
11785 (insertChar): force a rebreak if we inserted an inset!
11787 2002-03-28 Herbert Voss <voss@lyx.org>
11789 * lyxlength.[Ch]: add inBP() to get the right PS-point
11790 units (BigPoint). With inPixels we have rounding errors
11792 2002-04-11 Juergen Vigna <jug@sad.it>
11794 * text2.C (setCursorFromCoordinates): set iy to the right value.
11795 (setCursor): add check if row->previous exists!
11797 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11798 an old float_type as this was the case in the old code!
11800 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11802 * BufferView2.C (showLockedInsetCursor): use iy
11803 (fitLockedInsetCursor): ditto
11805 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11806 locked insets as there we have the right value now.
11808 * lyxcursor.C: added iy_ variable and iy functions to set to the
11809 baseline of cursor-y of the locked inset.
11811 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11812 (setCursor): fixed for insets which need a full row.
11814 * text.C (rowLastPrintable): don't ignore the last space when before
11815 an inset which needs a full row.
11816 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11817 as last character of a row when before a inset which needs a full row.
11819 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11821 * version.C.in: update date
11823 * text2.C (fullRebreak): try to always return true and see what
11826 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11828 * MenuBackend.C (expand): use Floating::listName
11830 * FloatList.C (FloatList): add listName argument to the built-in
11833 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11834 text associated with the float.
11836 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11838 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11840 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11842 * ShareContainer.h: add a couple of missing typenames.
11844 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11846 * lyxrc.C (getDescription): use _() correctly rather than N_().
11848 2002-03-28 Herbert Voss <voss@lyx.org>
11850 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11851 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11853 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11855 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11856 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11858 2002-03-29 Juergen Vigna <jug@sad.it>
11860 * lyxfunc.C (dispatch): add a missing fitCursor call.
11862 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11863 it was scrolled by a cursor move, so return the bool status.
11865 * BufferView.C (fitCursor): return the bool flag also to the outside
11866 world as this is needed.
11868 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11870 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11871 call the edit() as it is not needed (and wrong) IMO.
11872 (workAreaButtonPress): set the screen_first variable before evt.
11873 unlock the inset as this may change screen_first and then we have
11874 a wrong y position for the click!
11876 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11878 * MenuBackend.C (expand): another translation that I missed
11880 2002-03-28 Juergen Vigna <jug@sad.it>
11882 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11884 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11886 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11890 * MenuBackend.C (expand): fix export/view/update when there is no
11893 2002-03-27 Herbert Voss <voss@lyx.org>
11895 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11898 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11900 * bufferview_funcs.C (currentState): only show paragraph number
11901 for is DEVEL_VERSION is set.
11903 * lyxfunc.C (dispatch): put warning in INFO channel
11905 * MenuBackend.C (expand): translate the name of floats
11907 * FloatList.C (FloatList): mark the float names for translation
11909 * converter.C (convert): use LibScriptSearch
11911 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11913 * MenuBackend.C (defaults): fix default menu (we might as well get
11916 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11918 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11921 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * lyxvc.C: reorder includes.
11925 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11927 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11930 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11932 * CutAndPaste.C: change layouts earlier on paste
11933 to avoid crashing when calling getFont()
11935 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11937 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11940 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11942 * WorkArea.C: remove 'Pending' debug message.
11944 * most files: ws cleanup
11946 * buffer.[Ch]: ws changes
11948 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11950 2002-03-21 Juergen Vigna <jug@sad.it>
11952 * tabular.C (SetMultiColumn): collapse also the contents of the
11953 cells and set the last border right. Added a Buffer const * param.
11955 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11960 2002-03-19 Juergen Vigna <jug@sad.it>
11962 * text2.C (clearSelection): reset also xsel_cache.
11964 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11965 where it needs to be called (John tells us to do so too :)
11966 (selectionLost): reset sel_cache.
11968 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11970 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * text2.C (setCursorIntern): put debuging code in INSETS channel
11974 2002-03-19 André Pönitz <poenitz@gmx.net>
11976 * lyxfunc.C: tiny whitespace change
11978 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11980 * ToolbarDefaults.C (init):
11981 * LyXAction.C (init):
11983 * BufferView_pimpl.C (Dispatch):
11984 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11986 2002-03-19 Allan Rae <rae@lyx.org>
11988 * exporter.C (Export): removeAutoInsets before doing anything else.
11989 While I've just introduced a dependency on BufferView this really is
11990 the best place to clean the buffer otherwise you need to cleanup in
11991 a dozen places before calling export or cleanup in a dozen functions
11994 * converter.C (runLaTeX):
11995 (scanLog): Better handling of removeAutoInsets and screen updates.
11997 * lyxfunc.C (dispatch): small whitespace changes
11999 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * WorkArea.C (C_WorkAreaEvent): return a value.
12002 (event_cb): return 1 if we handled the event, 0 otherwise.
12004 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12006 2002-03-18 Juergen Vigna <jug@sad.it>
12008 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12009 (GetAdditionalWidth): ditto.
12010 (RightLine): ditto.
12013 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12014 inset if we're there actually (probably not used right now but this
12015 is the direction to go for unifying code).
12016 (paste): disable code to clear the selection.
12018 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12019 inside an InsetText and move the check further up as it is in the
12022 * text2.C (pasteSelection): set a selection over the pasted text.
12024 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12026 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12027 and libgraphics to build on Cygwin.
12029 2002-03-15 Juergen Vigna <jug@sad.it>
12031 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12032 inserting an Inset into the paragraph. I know this is not the best
12033 fix but we already use current_view in CutAndPaste so we will remove
12034 all of it's using at the same time.
12036 * buffer.C (sgmlError): deactivated function till it is rewritten in
12037 the right mode, now it can create problems.
12039 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12040 before accessing it.
12042 2002-03-14 Juergen Vigna <jug@sad.it>
12044 * undo_funcs.C (textHandleUndo): do the right thing when updating
12045 the inset after the undo/redo.
12047 * text2.C (setCursor): just some testcode for #44 not ready yet.
12049 * undo_funcs.C (textHandleUndo): set the next() and previous()
12050 pointers of the paragraph to 0 before deleting otherwise we have
12051 problems with the Paragraph::[destructor].
12053 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12054 on a paragraph insertion.
12056 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12058 * buffer.C (asciiParagraph): use += operator for char append to
12061 * paragraph.C (getFontSettings): compare >= not just >
12062 (highestFontInRange): ditto
12065 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12067 * paragraph.C: change several algorithm to be more appripriate for
12068 the problem domain. This is lookip in FontList and in the InsetList.
12070 2002-03-13 André Pönitz <poenitz@gmx.net>
12073 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12075 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12080 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12082 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * Painter.C (display): anon helper function, adjust code for this
12086 (pixmap): remove function.
12088 * Painter.h: remove private display variable.
12090 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12092 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12094 * WorkArea.[Ch]: remove figinset_canvas cruft.
12096 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12098 * lyxtextclass.C (operator): add one item cache optimization.
12100 * bufferlist.h: doxy changes
12102 * bufferlist.C: ws changes
12104 * DepTable.[Ch] (ext_exist): place const in the right spot.
12106 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12108 (workAreaExpose): call resizeInsets when the with BufferView changes.
12109 (Dispatch): adjust for protectedBlank removal
12110 (specialChar): call updateInset if the insert went ok.
12112 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12113 specialChar instead.
12115 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12117 * BufferView.h: doxy change
12119 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12121 * lyxtextclass.C (operator[]): remove non-const version
12122 (defaultLayout): remove non-const version
12124 2002-03-12 Juergen Vigna <jug@sad.it>
12126 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12127 did resize the LyXText too.
12129 * buffer.C (readLyXformat2): set layout information on newly allocated
12132 * tabular.C (OldFormatRead): set layout information on the paragraph.
12134 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12136 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12138 2002-03-11 Juergen Vigna <jug@sad.it>
12140 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12142 (resizeCurrentBuffer): force also the insets to resize themselfes.
12143 (moveCursorUpdate): fixed up for InsetText.
12145 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12148 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12149 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12150 value of Dialogs::tooltipsEnabled().
12151 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12153 2002-03-08 Juergen Vigna <jug@sad.it>
12155 * BufferView_pimpl.C (updateInset): update inset inside inset also
12156 if it isn't inside theLockingInset().
12158 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12160 * buffer.C (asciiParagraph): redo some of the word and line length
12162 (getLists): look for Caption instead of caption.
12164 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * buffer.C (Buffer): initialize niceFile to true
12168 (makeLinuxDocFile):
12169 (makeDocBookFile): make sure niceFile is true on exit
12171 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12173 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12175 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12177 * LyXSendto.C: remove.
12178 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12179 * lyx_gui.C: remove now-redundant comment.
12180 * ColorHandler.h: remove forward declaration of class WorkArea.
12181 * lyxfunc.C: remove #include "WorkArea.h".
12183 2002-03-07 Juergen Vigna <jug@sad.it>
12185 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12186 got moved away with the DEPM and also set the inset_owner always
12187 right which before could have been omitted.
12189 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12191 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12192 wanted layout is not found.
12194 2002-03-07 Juergen Vigna <jug@sad.it>
12196 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12198 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12200 * paragraph.C (breakParagraph): use default layout not layout of
12202 (Paragraph): clear ParagraphParameters.
12204 2002-03-06 Juergen Vigna <jug@sad.it>
12206 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12207 otherwise it would not be a valid lenght. Fixed a special case in
12208 the minipage compatibility read where we end the document with a
12211 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12212 was set as it could be 0 for InsetTexts first entry.
12214 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12216 * paragraph.C (writeFile): if layout is empty write out
12217 defaultLayoutName().
12219 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12220 file without named layout we set layout to defaultLayoutName().
12222 2002-03-06 Juergen Vigna <jug@sad.it>
12224 * CutAndPaste.C (copySelection): set layout for new paragraph.
12226 * text.C (prepareToPrint): leave ERT inset left aligned
12227 (leftMargin): don't indent paragraphs inside ERT insets
12229 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12231 * paragraph.C (breakParagraph): dont call clear do the work manually
12233 * paragraph.[Ch] (clear): remove function
12235 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12237 * paragraph.C (Paragraph): dont call clear, the work has already
12240 * lyxtextclass.C (operator): assert if n is empty
12242 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12243 work manually instead.
12245 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12247 * BufferView_pimpl.C: protect selectionLost against text == 0
12249 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12251 * text.C (breakParagraph): fix a setting layout to '0' problem.
12253 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12255 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12256 final location of file, for the included files, and graphics.
12258 2002-03-05 Juergen Vigna <jug@sad.it>
12260 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12262 2002-03-04 Juergen Vigna <jug@sad.it>
12264 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12266 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12267 last column of multicolumn cells.
12268 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12270 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12272 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12273 file if it doesn't go to a temporary file.
12275 * buffer.C (sgmlOpenTag):
12276 (sgmlCloseTag): remove extra newline insertion.
12278 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12280 * text.C (getRowNearY): comment out debug msg
12282 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12284 * text2.C: first -> first_y
12286 * text.C (getRowNearY): add some attemts at a possible
12287 optimization, not working.
12289 * tabular.[Ch]: add BufferParams to several function so that newly
12290 created paragraph can be initialized to he default layotu for the
12293 * tabular-old.C (ReadOld): add buf->params to call of Init
12295 * screen.C: rename text->first to text->first_y
12297 * paragraph.C (breakParagraph): always set layout in the broken
12300 * lyxtextclass.C (Read): remove lowercase
12303 (delete_layout): ditto
12305 * lyxtext.h: rename first -> first_y
12307 * lyxlayout.C (Read): remove lowercase
12310 (obsoleted_by): ditto
12312 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12314 * buffer.C (insertErtContents): add params are to InsetERT
12315 (parseSingleLyXformat2Token): add code to check if a paragraphs
12316 layout really exist.
12317 (parseSingleLyXformat2Token): add params to several inset
12319 (asciiParagraph): remove lowercase, do the layout comparisons with
12322 * BufferView_pimpl.C (cursorNext): first -> first_y
12323 (resizeCurrentBuffer): first -> first_y
12324 (updateScrollbar): first -> first_y
12325 (scrollCB): first -> first_y
12326 (workAreaMotionNotify): first -> first_y
12327 (workAreaButtonPress): first -> first_y
12328 (checkInsetHit): first -> first_y
12329 (cursorPrevious): first -> first_y
12330 (cursorNext): first -> first_y
12331 (Dispatch): add buffer_->params to severl inset contructors
12333 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12335 * lyxlayout.C (Read): remove some debug info that I forgot.
12337 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12338 clean up the code slightly.
12339 (makeLinuxDocFile): ditto
12340 (makeDocBookFile): ditto
12342 * text2.C: layout as string
12344 * text.C: layout as string
12346 * paragraph_pimpl.C: layout as string
12348 * paragraph.[Ch]: layout as string
12350 * lyxtextclasslist.[Ch]: layout as string
12352 * lyxtextclass.[Ch]: layout as string
12354 * lyxtext.h: layout as string
12356 * lyxlayout.[Ch]: layout as string
12358 * lyx_cb.C: layout as string
12360 * bufferview_funcs.C: layout as string
12362 * bufferparams.C: layout as string
12364 * buffer.C: layout as string
12366 * LyXView.[Ch]: layout as string
12368 * LaTeXFeatures.[Ch]: layout as string
12370 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12372 * BufferView_pimpl.C: change current_layout to string, remove
12377 (workAreaButtonRelease): layout as string
12379 * BufferView2.C (unlockInset): adjust
12381 * vspace.C (asLatexCommand): use an explict temp variable.
12383 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12385 * Makefile.am: use FRONTEND_*
12387 2002-03-01 Juergen Vigna <jug@sad.it>
12389 * tabular.C (SetWidthOfMulticolCell): changed to something better
12390 I hope but still work in progress.
12391 (recalculateMulticolumnsOfColumn): renamed function from
12392 recalculateMulticolCells as it is more appropriate now.
12393 (SetWidthOfCell): calculate multicols better.
12395 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12397 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12399 * lyxfunc.C (processKeySym): print sequence also if it is
12400 `deleted' (complete)
12402 * kbsequence.C (print): print sequence even if it is deleted
12403 (complete would be a better word, actually).
12405 * lyxfunc.C (dispatch): print complete options after a prefix key
12407 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12409 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12411 * text2.C (setCharFont): eliminate setCharFont code duplication.
12413 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12416 LFUN_TABULAR_FEATURE (bug #177)
12418 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12420 * Makefile.am: remove figure.h
12422 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12424 * Bufferview_pimpl.C:
12436 * text2.C: remove #include "lyx_gui_misc.h".
12438 * LaTeX.C: added #include <cstdio>
12440 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12442 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12443 that the paragraph following this one can have.
12445 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12447 * vspace.C (asLatexCommand): fix bogus gcc warning
12449 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12451 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12453 * text2.C (setLayout): get rid of redundant code
12455 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12457 * text2.C (incDepth): make sure depth cannot be increased beyond
12460 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12462 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12463 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12465 * PainterBase.h (image):
12466 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12467 a LyXImage const *.
12469 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12473 * BufferView_pimpl.C:
12474 * BufferView_pimpl.h:
12494 * sp_spell.C: remove fig inset, and the crap house of
12495 cards that follows it
12497 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12502 * os2_errortable.h:
12503 * nt_defines.h: move .h into support/
12505 * vms_defines.h: remove
12507 * WorkArea.C: add space in debug output
12511 * buffer.C: add WITH_WARNINGS
12515 * bufferlist.C: s/retrive/retrieve/, add docs
12524 * chset.C: add docs
12526 * lyxgui.C: add ID to X error handler
12528 * lyxtestclass.c: fix typo
12530 2002-02-26 Juergen Vigna <jug@sad.it>
12532 * tabular_funcs.C (write_attribute): changed so that some default
12533 attributes are not written at all.
12534 (getTokenValue): set default values before trying to read the
12535 value so we have the return value always set as default if we don't
12536 find the token we search for.
12538 * tabular.C (Write): write bools as bools not as strings!
12540 2002-02-22 Juergen Vigna <jug@sad.it>
12542 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12543 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12545 * text.C (leftMargin): don't add an indent for paragraphs inside
12546 tabular cells (fix #208).
12548 2002-02-21 José Matos <jamatos@fep.up.pt>
12550 * tabular.C (docBook): fixed support for long tables.
12552 2002-02-20 Juergen Vigna <jug@sad.it>
12554 * text2.C (getFont): get the drawing font of the Inset if this
12555 paragraph is inside an inset (only important for InsetERT for now).
12557 * buffer.C (insertErtContents): use new lanugage params in ERT
12560 * CutAndPaste.C: commenting out seemingly uneeded code.
12562 2002-02-19 Allan Rae <rae@lyx.org>
12564 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12565 Iterators might be simple to use but they also get invalidated.
12566 (removeAutoInsets): renamed saved cursor tracking variables and added
12567 some comments to clarify what everything does.
12569 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12576 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12577 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12580 * vc-backend.h: remove #include "support/syscall.h"
12584 * converter.C: rearrange #includes in Lars' approved fashion.
12586 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12587 forward declare class Timeout in the header file.
12589 * XFormsView.C: changes due to the above.
12591 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12592 similar to LyXView.
12594 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12595 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12597 2002-02-18 José Matos <jamatos@fep.up.pt>
12599 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12602 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12604 * a lot of small ws changes
12605 * add a lot of using std::XXX
12606 * use std construcs some places where approp.
12607 * use some exisint stuff from lyxfunctional where approp.
12608 * Make file changes to use partial linking (lets test this now...)
12610 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12614 remove #include "support/syscontr.h" as it's redundant. Always has been.
12622 change Systemcalls::System to Systemcalls::Wait and
12623 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12624 No change of functionality, just reflects the stripped down Systemcalls
12627 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12629 * debug.[Ch]: add a GRAPHICS type to the enum.
12631 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12633 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12635 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12638 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12640 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12641 match the changes below.
12643 * text2.C (toggleInset): if there is not editable inset at cursor
12644 position, try to see if cursor is _inside_ a collapsable inset
12647 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12649 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12650 document menu has a nice checkbox
12652 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12654 * lyxlength.C (asLatexString): change PW to output as percent of
12657 * lengthcommon.C: change '%' to 't%'
12659 * lyxfunc.C (dispatch): a few comments from Martin
12661 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12665 * BufferView_pimpl.h:
12666 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12669 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * vspace.C (inPixels): fix compiler warning
12673 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12675 * lyxfunc.C (getStatus): fix status message for disabled commands.
12677 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12679 * BufferView_pimpl.C: fix crash on close buffer
12680 during selection (#227)
12682 2002-01-27 Herbert Voss <voss@lyx.org>
12684 * buffer.C: link old Figure to new graphic inset
12686 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12688 * FontLoader.C (getFontinfo): Change the latex font names in order
12689 to match the names of type1inst.
12691 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12695 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12696 (extchanged): ditto
12698 (remove_files_with_extension): ditto
12699 (remove_file): ditto
12702 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12703 document is smaller than the work area height. Do not initialize
12704 static variables to 0.
12706 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12708 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12710 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12711 LFUN_LAYOUT_PARAGRAPHS.
12713 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12714 tabular. It is possible to provide a possible cell, which will
12715 typically be the actcell from the corresponding insettabular
12717 * lyxfunc.C (getStatus): small cleanup; disable
12718 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12721 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12725 * paragraph.C (startTeXParParams):
12726 (endTeXParParams): new methods. The LaTeX code to
12727 start/end paragraph formatting
12728 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12729 empty (fixes bug #200)
12731 * vspace.C (inPixels): adapt to the change below
12732 (inPixels): [later] more cleanups (remove unused variables)
12734 * lyxlength.C (inPixels): change to use a width and a height as
12737 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12739 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12740 Replaced with \paperwidth
12742 * DepTable.C (insert): add std:: qualifier
12744 2002-01-18 Allan Rae <rae@lyx.org>
12746 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12749 * text.C (drawInset): Turned out I didn't know enough about how
12750 rebreaking worked. This fixes most of the redraw problems. I see
12751 an occasional cursor trail when a line is broken now and the cursor
12752 placement can seem out by a few pixels also after a rebreak.
12754 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12756 * buffer.C (parseSingleLyXformat2Token): update because minipage
12757 width is now a LyXLength
12759 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12761 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12764 2002-01-17 Juergen Vigna <jug@sad.it>
12766 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12768 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12769 is set correctly and the inset is updated correctly.
12771 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12773 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12774 the beginning of the loop.
12776 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12778 * lyxrc.C: improve help for use_scalable_fonts
12780 2002-01-17 Allan Rae <rae@lyx.org>
12782 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12784 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12786 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12787 make sure to set their inset_owner to the right value (bug #171)
12789 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12792 * DepTable.C: Implement mtime checking to reduce time spent doing
12795 2002-01-16 Juergen Vigna <jug@sad.it>
12797 * tabular.C (GetAdditionalHeight): one of error fixed.
12799 * lyxrc.C (output): small fix in writing use_pspell.
12801 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12803 * sp_base.h: #include LString.h
12805 2002-01-16 Allan Rae <rae@lyx.org>
12807 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12808 Can someone check this please?
12810 * text.C (drawInset): It was possible that p.row would be removed by
12811 breakAgainOneRow upsetting a few other settings. There may be another
12812 small tweak possible by setting need_break_row = 0 when p.row has been
12813 removed but I don't know enough about the logic here.
12815 2002-01-15 Allan Rae <rae@lyx.org>
12817 * text.C (insertChar): removed conditional truism.
12819 * BufferView2.C (removeAutoInsets): More tweaks.
12820 cur_par_prev could be a stray pointer. Check for trailing empty line
12821 in case last line was cur_par and only had an error inset on it.
12823 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12825 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12828 * vc-backend.C (most methods):
12829 * exporter.C (Export):
12830 * converter.C (convert):
12832 * LyXSendto.C (SendtoApplyCB):
12833 * lyxfunc.C (dispatch):
12837 * lyx_cb.C (AutoSave):
12839 * BufferView_pimpl.C (MenuInsertLyXFile):
12840 * buffer.C (runChktex): use Buffer::filePath().
12842 * buffer.h: rename filename to filename_; rename filepath to
12843 filepath_ and make it private
12844 (filePath): new method
12846 * buffer.C (writeFile): use fileName()
12849 * lyx_main.C (init): fix starting of LyX when the binary is a
12850 link from so,ewhere else.
12852 * minibuffer.C: include <cctype> for isprint
12854 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12856 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12857 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12858 name clash with InsetCollapsable's width function.
12860 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12862 * lastfiles.C: include <iterator>
12864 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12866 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12869 * buffer.C (makeLaTeXFile): ditto.
12870 Also make loop operation more transparent.
12872 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12874 * ToolbarDefaults.C: remove trailing comma closing namespace.
12876 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12878 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12881 * trans.C (Load): comment out unused variable, allowed.
12883 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12885 * minibuffer.[Ch] (append_char): new method to recieve input from the
12886 drop-down completion browser. If a key was pressed, then recieve this
12887 char and append it to the existing string.
12888 (peek_event): modify the positioning data passed to the completion
12889 browser so that it can be placed above the minibuffer rather than below.
12890 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12892 * LyXAction.C (init): alloe error-next for readonly documents.
12894 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12897 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12899 * bufferlist.C (readFile): create the buffer _after_ checking that
12902 * lyxfunc.C (verboseDispatch): fix handling of arguments
12904 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12906 * lyxrc.C: use string::erase() instead of initializing to "".
12909 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12911 * BufferView_pimpl.h:
12912 * BufferView_pimpl.C:
12915 * text2.C: tell X when we have made a selection for copying
12917 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12919 * BufferView_pimpl.C (MenuInsertLyXFile):
12920 * lyxfunc.C (menuNew):
12922 (doImport): add shortcuts to directory buttons
12924 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12927 * lyxfunc.C (setStatusMessage):
12928 (getStatusMessage): new methods
12929 (getStatus):use setStatusMessage instead of setErrorMessage
12930 (dispatch): when function is disabled, set error message here
12931 [instead of in getStatus previously]
12933 * BufferView_pimpl.C (workAreaButtonRelease): update
12934 toolbar/menubar here too.
12936 2002-01-13 Allan Rae <rae@lyx.org>
12938 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12939 Now seems indestructible. Remaining task is to audit all other
12940 code affected by deleteEmptyParagraphMechanism. One small quirk
12941 left is that an empty document with an error in the preamble can
12942 be made to report an error but no error box appears. I don't know
12944 (removeAutoInsets): Improved comments.
12946 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12949 * Thesaurus.C: update for Aiksaurus 0.14
12951 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12953 * text2.C (firstParagraph): removed member function, all uses
12954 replaces with ownerParagraph
12955 (redoParagraphs): here
12956 (updateInset): here
12957 (toggleAppendix): here
12958 * BufferView2.C (insertErrors): here
12959 (setCursorFromRow): here
12961 2002-01-13 Allan Rae <rae@lyx.org>
12963 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12964 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12965 There is still a way to segfault this although you may have to do this
12966 multiple times: Have an InsetERT with an unknown command in it.
12967 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12968 <down-arrow>, <Enter> again, View->DVI, BANG!
12970 * text2.C (setCursor):
12971 (deleteEmptyParagraphMechanism):
12972 * lyxtext.h (setCursor):
12973 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12974 Making use of the return value may help fix other bugs.
12976 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12978 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12980 * LyXView.C (updateMenubar): call MenuBar::update here
12981 (updateToolbar): but not here
12982 (showState): do not update toolbar/menubar
12984 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12985 should need to care about that.
12987 * lyxfunc.C (verboseDispatch): simplify a bit
12988 (getStatus): have a version which takes a pseudoaction, and
12989 another which requires a (kb_action,string).
12991 * LyXAction.C (retrieveActionArg): make it work also when action
12992 is not a pseudo-action.
12993 (getActionName): simplify a bit
12996 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12998 * lyxfunc.C (verboseDispatch): new families of methods with
12999 several ways to specify a command and a bool to indicate whether
13000 the command name and shortcut should be displayed in minibuffer
13001 (eventually, we could extend that to a finer bitmask like
13002 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13003 (dispatch): the pristine dispatch command which just, well,
13004 dispatchs! Note it still sets its result to minibuffer; I'm not
13007 * lyxfunc.h: remove setHintMessage
13009 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13011 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13013 * BufferView_pimpl.C (specialChar): delete new inset if we have
13014 not been able to insert it.
13016 * kbmap.C: revert to using int instead of kb_action, since all we
13017 are dealing with is pseudo-actions.
13019 * LyXAction.C (searchActionArg): change to return int instead of
13020 kb_action, since the result is a pseudoaction.
13022 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13024 * buffer.C (insertErtContents): Fix (partially) the font bug.
13026 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13028 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13029 as the other one is broken on my machine!
13031 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13034 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13036 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13038 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13039 reflect their actual use. Provide compatibility code for older lyxrc
13042 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13044 change names of popup font variables in line with the changes to lyxrc.C
13046 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13048 * buffer.C (asciiParagraph): avoid outputing a word twice after
13051 * lyxrc.C (getDescription): document that document_path and
13052 template_path can be empty.
13054 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13056 * LaTeXFeatures.C (getMacros):
13057 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13059 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13061 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13063 (getPackages): rename feature "floats" to "float". Use an array to
13064 iterate over 'simple' features (i.e. just a \usepackage). Add
13065 handling of "amsmath" (renamed from "amsstyle").
13067 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13069 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13072 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13074 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13075 FuncStaus::FuncStatus & FuncStaus::some_method().
13077 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13079 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13080 of the func_satus stuff. Edited and massaged in various ways by
13083 * lyxfunc.C (getStatus): use FuncStatus
13085 2002-01-08 Juergen Vigna <jug@sad.it>
13087 * text.C (nextBreakPoint): use function Inset::isChar().
13089 * paragraph.C (TeXOnePar): use function
13090 Inset::forceDefaultParagraphs.
13092 * buffer.C (latexParagraphs): use function
13093 Inset::forceDefaultParagraphs.
13095 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13097 * lyx_gui.C (init): set the style of the menu popups to
13098 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13100 2002-01-07 Juergen Vigna <jug@sad.it>
13102 * text.C (setHeightOfRow): small fix
13103 (prepareToPrint): don't look at alignment if we don't have the place
13106 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13108 * box.C: New file. Move the Box methods and functions out of box.h,
13109 following Lars' suggestion.
13111 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13113 * box.h: #include "support/LOstream.h", needed for inlined function.
13116 * lyxtextclasslist.C: added some using std declarations.
13118 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13120 * box.h: make signed dimensions to allow insets wider than
13121 the screen (bug #162)
13123 * BufferView_pimpl.C: add some insetHit debug
13125 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13127 * vc-backend.C: add FIXME
13129 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13131 * lyxfunc.C (getStatus): enable code for showing math font status
13134 2002-01-07 Juergen Vigna <jug@sad.it>
13136 * text.C (nextBreakPoint): removed debug output not needed anymore.
13138 2002-01-06 Juergen Vigna <jug@sad.it>
13140 * text.C (nextBreakPoint): fixed up this function we had this bug
13141 since ever but now hopefully we break row better.
13142 (insertChar): we have to check if an inset is the next char as it
13143 could now happen that a large inset is causing a break.
13145 2002-01-05 Juergen Vigna <jug@sad.it>
13147 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13148 if it doesn't like to be drawed.
13150 2002-01-04 Juergen Vigna <jug@sad.it>
13152 * BufferView2.C (lockInset): forgot to set a cursor.
13154 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13156 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13158 * FormMathsPanel.C:
13161 * form_maths_panel.C:
13162 * form_maths_panel.h:
13163 * form_maths_panel.fd: implemented sub- and super- buttons in math
13166 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13167 (or ^ space) to be used as in TeX (req'd by André).
13169 * lyxfunc.C: Allow ^ and _ again to be used both as
13170 super/subscript (mathed) and as themselves (in text).
13172 2002-01-03 Allan Rae <rae@lyx.org>
13174 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13175 "LyX" or the filename of the current buffer if it has one. This is a
13176 modified form of John Levon's patch.
13178 * XFormsView.C (setWindowTitle): also set icon title.
13180 * LyXView.h (setWindowTitle): signature changed.
13181 * XFormsView.h (setWindowTitle): ditto.
13183 2002-01-02 Juergen Vigna <jug@sad.it>
13185 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13187 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * screen.C (topCursorVisible): introduce a temp var for
13190 text->cursor.row(), handle the case where this row is null. (kindo
13193 * text2.C (setCursor): add a couple of asserts.
13195 * paragraph.h (inset_iterator): add -> operator
13197 * paragraph.[Ch] (autoDeleteInsets): remove member function
13199 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13200 cursor pos correctly and handle inset deletion by itself.
13201 (insertErrors): move iterator declaration out of for expression
13203 * lyxtextclass.C: add <algorithm>
13205 * Makefile.am: added the new files to sources, removed layout.C
13207 * layout.C: removed file
13209 * layout.h: remove LYX_DUMMY_LAYOUT
13211 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13215 * lyxtextclass.[Ch]:
13216 * lyxtextclasslist.[Ch]: new files
13218 * include order changes to a lot of files, also changes because of
13221 2001-12-27 Juergen Vigna <jug@sad.it>
13223 * buffer.C (asciiParagraph): more fixes.
13225 * tabular.C (ascii): make ascii export support export of only the
13226 data separated by a column-delimiter.
13227 (ascii): better support for ascii export.
13229 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13231 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13233 * tabular_funcs.C: use a "using std::getline" instead of the
13234 previous fix from Angus (necessary for cxx + lyxstring)
13236 2001-12-24 Juergen Vigna <jug@sad.it>
13238 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13240 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13241 problems. First check a minipage also if we have some ert-contents
13242 (not only on par->size(), second set the right depth of the paragraph
13243 on the relink to the root-paragraph-list!
13245 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13246 which then did not anymore update the main paragraphs on undo/redo!
13248 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13250 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13251 code. Support all font-changing funcs (even those which are not in
13252 menu currently). Support for reporting font settings in
13253 mathed (disabled until Andre provides a function on mathed's side).
13255 * func_status.h (toggle): small helper function to set toggle
13258 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13260 * tabular_funcs.C: getline -> std::getline
13262 2001-12-21 Juergen Vigna <jug@sad.it>
13264 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13265 accessed and could be 0 (I couldn't generate this but it seems
13268 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13270 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13271 * tabular_funcs.h: here and include iosfwd
13273 2001-12-20 Juergen Vigna <jug@sad.it>
13275 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13276 inside inset but undo_par was.
13278 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13280 * Thesaurus.C: always include <config.h> in sources.
13284 * box.h: do not include <config.h> in header files
13286 * text.C (paintLastRow): remove unused variable
13288 * text.C (transformChar):
13290 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13292 * Painter.C (text):
13293 * font.C (width): rewrite to use uppercase() instead of
13296 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13298 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13300 * lyxfind.C: clean up of find failure position change
13302 2001-12-20 Juergen Vigna <jug@sad.it>
13304 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13306 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13307 (TeXRow): added to LaTeX a single tabular row.
13308 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13309 (Latex): simplified and finally good LT-h/f support.
13310 (various_functions): just small adaptions for LT-h/f support.
13312 * tabular_funcs.[hC]: added and moved here all not classfunctions
13315 2001-12-19 Juergen Vigna <jug@sad.it>
13317 * tabular.[Ch]: better support for longtabular options (not finished
13320 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13322 * text.C (paintLastRow): use the label font instead of the font of
13323 the last character to compute the size of *_BOX. This makes more
13324 sense and avoids a crash with empty paragraphs.
13325 Use Painter::rectangle to draw EMPTY_BOX.
13327 2001-12-19 Juergen Vigna <jug@sad.it>
13329 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13330 the paragraphs if the replaced paragraph is not the first one!
13331 Tried to delete not used paragraphs but does not work yet so for
13332 now it's inside #ifdef's and by default off!
13334 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13336 * MenuBackend.C: include "lyx_main.h" instead of declaring
13337 lastfiles (actually was declared as LastFiles* instead of a
13340 2001-12-17 Juergen Vigna <jug@sad.it>
13342 * tabular.C (AppendColumn): applied John's fix
13344 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13348 * BufferView_pimpl.h:
13349 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13352 * box.h: new start of class for above
13354 * lyxfunc.C: ignore space-only minibuffer dispatches.
13355 Show the command name when it doesn't exist
13357 * minibuffer.C: don't add empty lines to the history
13359 * minibuffer.C: add a space on dropdown completion
13361 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13363 * text.C: fix line above/below drawing in insets
13365 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * lyxlength.C (LyXLength): Initialize private variables.
13369 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13371 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13372 when inserting error insets.
13374 2001-12-13 Juergen Vigna <jug@sad.it>
13376 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13377 actually sometimes the before-paragraph.
13378 (setUndo): don't clear the redostack if we're not actually undoing!
13380 2001-12-06 Juergen Vigna <jug@sad.it>
13382 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13383 and fixed redoing of main paragraph, so we can use it now ;)
13385 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13387 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13389 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13392 2001-12-13 André Pönitz <poenitz@gmx.net>
13395 * undo_func.C: minor cleanup
13397 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13399 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13400 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13401 font in urw-fonts package which is marked as -urw-fontspecific and
13402 does not work (incidentally, changing the encoding in the
13403 fonts.dir of this package to -adobe-fontspecific fixes the
13406 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13407 is a crash when undoing first paragraph (Juergen, please take a
13408 look). THis does not mean the undo fix is wrong, just that it
13411 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13412 the (Paragraph*) version when needed instead of duplicating the
13415 * text.C (workWidth): use Inset::parOwner to find out where the
13416 inset has been inserted. This is a huge performance gain for large
13417 documents with lots of insets. If Inset::parOwner is not set, fall
13418 back on the brute force method
13420 * paragraph_pimpl.C (insertInset):
13421 * paragraph.C (Paragraph):
13422 (cutIntoMinibuffer): set parOwner of insets when
13423 inserting/removing them
13425 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13427 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13433 * mathed/formulabase.C:
13434 * mathed/math_cursor.[Ch]:
13435 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13438 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13440 * lyxlength.[Ch] (operator!=): new function
13442 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13444 * text.C (workWidth): use Inset::parOwner to find out where the
13445 inset has been inserted. This is a huge performance gain for large
13446 documents with lots of insets. If Inset::parOwner is not set, fall
13447 back on the brute force method
13449 * paragraph_pimpl.C (insertInset):
13450 * paragraph.C (Paragraph):
13451 (cutIntoMinibuffer): set parOwner of insets when
13452 inserting/removing them
13454 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13456 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13458 * tabular-old.C (getTokenValue):
13459 * tabular.C (getTokenValue):
13460 (write_attribute): new versions for LyXLength
13461 (everywhere): adjust the use of widths
13463 * tabular.h: change the type of widths from string to LyXLength
13465 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13467 * paragraph.C: fixed missing line number count when exporting
13468 Environments to LaTeX file
13470 * buffer.C: added informational message for checking line numbers.
13472 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13474 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13475 paragraph, do the 'double space' part, but not the 'empty
13478 * text.C (workWidth): small optimization
13479 (getLengthMarkerHeight): use minimal size for negative lengths.
13481 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13483 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13485 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13487 2001-12-11 André Pönitz <poenitz@gmx.net>
13490 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13492 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13494 * text2.C: keep selection on a setFont()
13496 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13498 * lyx_cb.C: another bv->text misuse, from insert label
13500 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13503 * kbsequence.C: re-instate nmodifier mask
13505 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13507 * lyx_main.h: make lyxGUI private.
13509 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13511 * lyxfind.C: place the cursor correctly on failed search
13513 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13515 * text.C (getLengthMarkerHeight): for small heights, the arrows
13516 are not always on top/bottom of the text
13517 (drawLengthMarker): smaller arrows; take the left margin in
13518 account; draw also vfills.
13520 (paintLastRow): remove special code for vfill and standard spaces,
13521 since everything is handled in drawLengthMarker now.
13523 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * buffer.C (insertErtContents): try to handle font and language
13526 interaction a bit better.g
13528 * ColorHandler.C (updateColor): change the hash to cover the whole
13529 LColor enum, ws cleanup
13530 (getGCLinepars): ditto
13531 (getGCLinepars): only lookup in the linecache once.
13533 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13535 * iterators.C (operator++): Make the iterator more robust
13537 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13541 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13544 * text.C: better added space drawing
13546 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13549 * BufferView2.C: fix layout combo update on inset unlock
13551 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13553 * Makefile.am: don't compile unused files
13555 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13559 * LyXAction.C: remove old LFUN_LAYOUTNO
13561 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13563 * paragraph_pimpl.h:
13564 * paragraph_pimpl.C: isTextAt() doesn't need font param
13566 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13569 * lyxlex.C: little cleanup
13571 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13573 * BufferView_pimpl.C: fix insertAscii for insets
13575 2001-12-05 Juergen Vigna <jug@sad.it>
13577 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13578 set the right font on the "multi" paragraph paste!
13580 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13586 * lyxlength.C: remove out-commented code.
13588 * BufferView_pimpl:
13602 * vc-backend.C: change "while(" to "while ("
13604 * lyxlength.[Ch]: add zero function to check if length is zero or
13606 * lyxgluelength.C: use it
13608 2001-12-05 Allan Rae <rae@lyx.org>
13610 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13611 Works for 2.95.3, from what I understand of Garst's reports this should
13612 work for other g++ versions. We're screwed if the abs(int) definition
13613 changed between bugfix releases of gcc.
13615 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13617 * text.C: fix chapter label offset !
13619 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13622 * text.C: fix hfill at end of line, clean up
13624 2001-12-04 Juergen Vigna <jug@sad.it>
13626 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13627 that we force an update of the inset and it's owners if neccessary.
13629 2001-12-03 Juergen Vigna <jug@sad.it>
13631 * text.C (rowLast): simplified code
13633 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13635 * lyxfunc.C: fix show options on timeout
13637 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13639 * screen.C (topCursorVisible): scroll half a page when the cursor
13640 reached top of bottom of screen
13642 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13644 * minibuffer.C: deactivate on loss of focus
13646 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * vspace.[Ch] (operator!=): add operator.
13650 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13652 * BufferView_pimpl.C: refuse to open an inset when
13653 there's a selection.
13655 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13657 * BufferView_pimpl.C: allow to click on RHS of full row insets
13659 2001-11-30 Juergen Vigna <jug@sad.it>
13661 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13662 insets for undo reasons.
13664 2001-11-28 André Pönitz <poenitz@gmx.net>
13666 * vspace.[Ch]: cosmetical changes
13668 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13678 * kbsequence.C: part re-write of old kb code
13681 * WorkArea.C: remove Lgb_bug_find_hack
13683 2001-11-30 José Matos <jamatos@fep.up.pt>
13685 * buffer.C (makeDocBookFile): add a comment to point a hack.
13686 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13687 Fixed a double write of labels.
13689 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13692 * LaTeX.h Fixed bug in LaTeX class where it would not
13693 re-run latex if no depfiles were changed, but the .dvi was removed.
13695 2001-11-28 André Pönitz <poenitz@gmx.net>
13697 * all the files from the change on 2001/11/26:
13698 use lyx::layout_type instead of LyXTextClass::size_type
13699 use lyx::textclass_type instead of LyXTextClassList::size_type
13701 2001-11-29 Juergen Vigna <jug@sad.it>
13703 * text.C: added support for paragraph::isFreeSpacing()
13705 * buffer.C: same as above
13707 * paragraph.h: inserted isFreeSpacing() function to enable
13708 FreeSpacing inside InsetERT.
13710 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13711 of the paragraph's in the cut/copy buffer to 0!
13713 * text2.C (removeRow): remove the assert as it can!
13715 * lyxtext.h: added helper function firstRow returning firstrow and
13716 made firstrow private again.
13718 * BufferView2.C (lockInset): don't relock if we're already locked!
13720 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13721 the only paragraph.
13722 (removeRow): added Assert::(firstrow)
13724 * debug.C: forgot to add INSETTEXT here.
13726 2001-11-28 Juergen Vigna <jug@sad.it>
13728 * sp_spell.C (initialize): changed error text to more general
13729 spellchecker command use (not only ispell!)
13731 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13733 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13735 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13737 * vspace.C: initialise lyxgluelength on failure
13739 2001-11-28 Allan Rae <rae@lyx.org>
13741 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13742 declaration & definition that looks like a function declaration.
13744 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13746 * BufferView2.C (copy):
13747 (copyEnvironment): do not clear the selection when doing a copy.
13749 * text.C (paintFirstRow): compilation fix
13751 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13753 * tabular.C (Latex): correct line count when writing latex.
13755 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13757 * paragraph_pimpl.h:
13758 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13761 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13765 * LColor.C: change vfillline->added_space
13767 * text.C: add markers and text for added space
13769 * vspace.C: fix comment
13771 2001-11-28 André Pönitz <poenitz@gmx.net>
13773 * paragraph.C: whitespace changes
13774 * all the other files from the change on 2001/11/26:
13775 change *::pos_type into lyx::pos_type
13777 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13779 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13780 language of the document when inserting error insets.
13782 2001-11-26 André Pönitz <poenitz@gmx.net>
13784 * BufferView_pimpl.[Ch]:
13792 * paragraph_pimpl.[Ch]:
13795 * text2.C: reduce header dependencies, introduce type for positions
13797 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13799 * <various>: change to use Alert.h
13801 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13803 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13804 when encountering an unknown token.
13805 (readLyXformat2): Show an error message if there were unknown tokens.
13807 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13810 * BufferView_pimpl.C:
13814 * text2.C: use par->isInset()
13816 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13818 * paragraph_pimpl.h:
13819 * paragraph_pimpl.C: cleanup
13821 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * text2.C (removeRow):
13824 * text.C (setHeightOfRow): remove useless (and costly) call to
13827 2001-11-20 Allan Rae <rae@lyx.org>
13829 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13830 Now need Inset*::checkInsertChar() to return true for appropriate
13831 cases so that the characters in the minibuffer will actually be
13834 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13836 * text.C: change the order of the includes.
13837 (workWidth): initialize it at once.
13838 (workWidth): make maxw unsigned
13839 (setHeightOfRow): remove unused variable (inset)
13840 (selectSelectedWord): remove unused variable (inset)
13841 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13843 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13846 server is not running.
13848 (closeConnection): add debug info when server is disabled.
13850 * ColorHandler.C (getGCForeground): send debug message to GUI
13853 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13855 * kbmap.C (bind): modify because return conventions of
13856 kb_sequence::parse have changed.
13858 * kbsequence.C (parse): only ignore spaces and not any stupid
13859 control character. This avoids tests like s[i] <= ' ', which are
13860 guaranteed to fail with 8bit characters and signed chars.
13861 Change return code to string::npos when there have been no error
13862 (0 was a bad idea when error is at first character)
13864 2001-11-14 José Matos <jamatos@fep.up.pt>
13867 * buffer.C (simpleDocBookOnePar): removed unused argument.
13869 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13871 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13872 insets which are part of a word. Paragraph::isLetter takes care of
13873 that now. Use Paragraph::isInset to identify insets.
13874 (selectSelectedWord): do not test for hyphenation break.
13876 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13877 that protected spaces are considered as spaces.
13879 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13882 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13885 * lyxserver.C: fix it. and small cleanup.
13887 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13889 * BufferView_pimpl.C: use inline helpers
13892 * LaTeXFeatures.C: fix typos
13895 * Spacing.C: move spacing_string into class
13897 * ToolbarDefaults.C: move stuff into namespace anon
13899 * layout.h: update enum
13901 * lyxfunc.C: use better debug
13903 * minibuffer.h: fix typo
13907 * WorkArea.C: add and use Debug::WORKAREA
13911 * text2.C: code re-organisation, inline helpers
13913 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13915 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13916 std::vector.empty().
13918 2001-11-09 Allan Rae <rae@lyx.org>
13920 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13921 '\n's after tables. Tabular and ERT inset work now makes this no
13924 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13927 * minibuffer.C: fix crash, improve drop-down completion
13929 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13932 * lyxserver.C: invalidate fd's when doing endPipe()
13934 2001-11-08 José Matos <jamatos@fep.up.pt>
13936 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13937 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13940 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13942 2001-11-07 José Matos <jamatos@fep.up.pt>
13945 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13948 * buffer.C (sgmlOpenTag):
13949 * buffer.C (sgmlCloseTag): removed debug info.
13951 * buffer.h (sgmlOpenTag):
13952 * buffer.h (sgmlCloseTag): made public.
13954 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * buffer.C (saveParamsAsDefaults):
13957 * lyx_cb.C (MenuLayoutSave): remove
13959 * LyXAction.C (init):
13961 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13963 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13965 * buffer.C (setPaperStuff): removed from here...
13967 * bufferparams.C (setPaperStuff): ... and moved there.
13969 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13973 * XFormsView.C: add support for drop-down completion
13975 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13977 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13980 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13982 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13985 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13987 * lyx_main.C: change ref to known bugs
13989 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13991 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13992 to work around older babel problems.
13994 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13996 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13998 2001-10-24 Juergen Vigna <jug@sad.it>
14000 * tabular-old.C (ReadOld): below variable changes reflected.
14002 * tabular.[Ch]: added ltType struct for longtable header/footer
14003 defines and changed all instances where they are used. Added
14004 future support for double top/bottom rows.
14006 2001-10-24 José Matos <jamatos@fep.up.pt>
14008 * buffer.h (docbookHandleCaption):
14009 * buffer.C (docbookHandleCaption): removed unused function.
14010 (makeDocBookFile): moved docbook supported version to v4.1.
14012 2001-10-24 José Matos <jamatos@fep.up.pt>
14015 * tabular.C (docbookRow): new function to export docbook code of a row.
14016 (DocBook): now honors the longtable flags.
14018 2001-10-23 José Matos <jamatos@fep.up.pt>
14021 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14022 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14024 * buffer.C (makeLinuxDocFile):
14025 (makeDocBookFile): reworked the preamble, more clean, and with
14026 support for lyx defined entities. Changed the document declaration
14027 to be more XML friendly.
14029 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14030 if we need to output XML that should be done with a filter.
14032 2001-10-22 Juergen Vigna <jug@sad.it>
14034 * sp_pspell.h (class PSpell): add alive function needed in the
14035 controller to see if the spellchecker could be started.
14037 2001-10-22 Juergen Vigna <jug@sad.it>
14039 * buffer.C (insertStringAsLines): modify the font for inserting
14040 chars in certain conditions by calling checkInsertChar(font).
14042 2001-10-19 Juergen Vigna <jug@sad.it>
14044 * text.C (workWidth): use getRow instead of wrong algorithm.
14045 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14047 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14052 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14054 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14056 * text.C (workWidth): do not search for the exact row when
14057 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14058 optimization for big documents.
14060 2001-10-18 Juergen Vigna <jug@sad.it>
14062 * text.C (workWidth): new function with added Inset * parameter.
14064 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14066 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14068 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14069 change return type of getColumnNearX.
14072 * text.C (changeRegionCase): use uppercase/lowercase instead of
14075 (rightMargin): simplify code by factoring out the uses of
14080 (appendParagraph): use Paragraph::size_type
14082 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14084 * vspace.C (asLatexString): add a missing break
14086 2001-10-15 Herbert Voss <voss@perce.de>
14088 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14090 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14092 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14095 2001-10-10 André Pönitz <poenitz@gmx.net>
14097 * lyxfunc.C: removed greek_kb_flag.
14099 2001-10-10 Herbert Voss <voss@perce.de>
14101 * lyx_main.C: delete global string help_lyxdir.
14103 2001-10-09 Herbert Voss <voss@perce.de>
14105 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14107 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14109 * lyx_main.C: added global string help_lyxdir.
14111 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14113 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14115 * lyxrc.C (set_font_norm_type): support iso8859-4
14117 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14119 * LaTeX.C (deplog): add another regex for MikTeX
14121 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14123 * lyxrc.C (set_font_norm_type): support iso8859-3
14125 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14127 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14129 * LaTeXFeatures.C: remove special case of french and index
14131 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14132 before \begin{document}). This solves several incompatibilities.
14134 2001-10-03 Garst Reese <reese@isn.net>
14136 * lyx_cb.C: change CheckTex error msg.
14138 2001-10-03 José Matos <jamatos@fep.up.pt>
14140 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14142 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14144 * .cvsignore: update
14146 * lyx_main.C (commandLineVersionInfo): use new style version info.
14148 * buffer.C (writeFile):
14150 (makeLinuxDocFile):
14151 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14153 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14155 * version.h: update to use stuff in version.C
14157 * version.C.in: new file. Contains version information determined
14158 at compile time. This is a merging of version.h and
14161 2001-10-03 Juergen Vigna <jug@sad.it>
14163 * BufferView_pimpl.C (update): don't change "dirty" status in
14166 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14168 * WorkArea.C (c-tor): re-position version string slightly.
14170 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14172 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14173 revert to previous code.
14175 WorkArea.[Ch]: (show, destroySplash): methods removed.
14177 WorkArea.C: rework code so that it's an amalgam of the codes before and
14178 after the splash screen was moved to WorkArea.
14180 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14183 * vspace.C (inPixels):
14186 * buffer.C (insertStringAsLines):
14187 (asciiParagraph): fix types to be large enough
14189 * lyxlex_pimpl.h: change member status from short to int
14191 * layout.h: fix type of endlabeltype
14194 * kbsequence.C (parse): change return type to string::size_type
14196 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14199 * Bullet.C (bulletSize):
14200 (bulletEntry): do not use short ints as parameters
14202 * BufferView2.C (insertLyXFile): change a char to an int.
14204 * WorkArea.C (WorkArea): remove unneeded floats in computation
14206 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14208 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14210 * paragraph.C (asString): Do not ignore newline/hfill chars when
14211 copying to the clipboard.
14213 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14215 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14216 after a multi-line inset.
14218 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14220 * paragraph.C (validate): Set NeedLyXFootnoteCode
14222 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14224 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14225 and decrease-error to decrease.
14227 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14229 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14230 it more readable (should be equivalent)
14232 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14234 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14236 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14238 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14239 of a cursor (row, etc.) after a character has been deleted
14240 (deleteEmptyParagraphMechanism): call the method above on _all_
14241 cursors held by the LyXText when a double space has been
14244 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14246 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14248 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14250 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14251 background. Use greyOut() and the new show() methods to toggle between
14252 the foreground and background. Add code to remove the splash after
14253 its initial showing.
14255 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14256 (create_forms): no longer call Dialogs::showSplash.
14258 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14260 * .cvsignore: add version_info.h
14262 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14264 * version_info.h.in: new file
14266 * Makefile.am: add version_info.h.in
14268 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14269 version_info.h instead of VERSION_INFO
14271 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14273 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14274 The ERT inset now returns string().
14276 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14278 * lyxtext.h, text.C (selectNextWord): renamed as
14279 selectNextWordToSpellcheck.
14281 * text.C (selectNextWordToSpellcheck): Modified to not select
14282 words inside an ERT inset.
14284 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * lyx_cb.C (MenuLayoutSave): change a bit the question
14288 * sp_base.h: include <sys/types.h>
14290 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14292 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14294 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14296 * several files: fix typos in user-visible strings
14298 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14300 * text2.C (pasteSelection): do not set the selection, since it
14301 will be cleared later. Actually, the intent was to fix the way the
14302 selection was set, but I figured rmoving the code was just as good.
14304 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14306 * FontLoader.C (available): Check if font is available without
14309 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14311 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14313 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14315 * lyxrc.[Ch]: added display_graphics variable and associated code.
14317 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14319 * bufferparams.C (hasClassDefaults): new method. Returns true if
14320 the buffer parameters correspond to known class defaults
14322 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14324 * XFormsView.C (show): set minimum size to the main window.
14326 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14328 * text2.C (copySelection):
14330 * lyxfind.C (LyXReplace):
14331 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14332 LyXText::selectionAsString.
14334 * paragraph.C (asString): add "label" argument to the second form
14336 * text2.C (selectionAsString): add "label" argument and pass it to
14337 Paragraph::asString.
14339 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14341 * lyx_main.C (commandLineHelp): remove version information
14343 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14345 * lyx_main.C: add -version commandline option
14347 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14349 * paragraph.h: make the optional constructor arg required instead.
14350 some modifications to other files because of this.
14352 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14354 * lyxserver.C (C_LyXComm_callback): make it static
14356 * lyx_main.C (error_handler): make it static
14358 * lyx_gui.C (LyX_XErrHandler): make it static
14360 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14362 * WorkArea.C: make the extern "C" methods static.
14364 * Makefile.am (lyx_LDADD): simplify
14366 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14368 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14369 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14371 * LyXAction.C (init):
14372 * lyxfunc.C (dispatch): associated code removal.
14374 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14376 * lyxfont.h (isSymbolFont): shut off warning
14378 * text.C (setHeightOfRow):
14379 (getVisibleRow): fix crash with empty paragraphs which have a
14382 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14384 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14387 2001-09-04 José Matos <jamatos@fep.up.pt>
14390 * tabular.C (docbook): rename docBook method to docbook.
14392 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14394 * Makefile.am: add dependencies to main.o.
14396 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14398 * FontLoader.C (available): Return false if !lyxrc.use_gui
14400 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14402 * FontInfo.C (query):
14403 * converter.C (view):
14404 * importer.C (Import):
14405 * exporter.C (Export): Can not -> cannot.
14407 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14409 * BufferView_pimpl.C: allow to create index inset even if
14412 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14414 * buffer.C (getLists): replace boost::tie code with an explicit pair
14415 as boost::tie can break some compilers.
14417 * iterators.h: Added a std:: declaration to the return type of
14420 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14422 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14425 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14427 * iterators.[Ch]: New files. Provide paragraph iterators.
14429 * buffer.C (changeLanguage): Use paragraph iterators.
14430 (isMultiLingual): ditto
14432 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14434 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14436 * FontLoader.C: Support for cmr font.
14438 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14440 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14441 (available): New method.
14443 * FontInfo.C (getFontname): Use scalable fonts even when
14444 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14447 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14449 * converter.C (Formats::view): reverted! Incorrect fix.
14451 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14453 * converter.C (Formats::view): only output the -paper option
14454 if the dvi viewer is xdvi, thereby fixing bug #233429.
14456 2001-08-23 Herbert Voss <voss@perce>
14458 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14460 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14462 * Spacing.h (Spacing): Set space to Default on in the default
14465 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * vc-backend.h (RCS::versionString): add RCS to version
14468 (CVS::versionString): add CVS to version
14470 * vc-backend.C (scanMaster): do not add CVS to version.
14471 (scanMaster): do not add RCS to version
14473 * lyxvc.C (versionString): new method
14475 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14477 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14479 * Spacing.C (set): initialize fval
14481 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14483 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14486 2001-08-16 Juergen Vigna <jug@sad.it>
14488 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14490 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14492 * BufferView_pimpl.C:
14495 * text2.C: setParagraph takes linespacing now
14497 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14499 * LyxAction.C: add internal LFUN_CITATION_INSERT
14501 * LyXView.C: actually apply fix
14503 * bufferlist.C: fix open non-existent file
14505 * lyxfind.C: fix indentation
14507 * lyxfunc.C: remove unneeded assert, fix typo
14509 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14511 * MenuBackend.C: use "Floatname List"
14513 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14515 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14516 when converting LaTeX layout to insetERT.
14517 Generate a non-collapsed float when reading old float
14519 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14521 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14524 2001-08-13 Juergen Vigna <jug@sad.it>
14526 * text.C (fill): return 0 instead of 20 as this seems to be the more
14529 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14531 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14534 2001-08-13 Juergen Vigna <jug@sad.it>
14536 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14538 (SearchBackward): comment out the unlocking of the inset_owner this
14539 should not be needed!
14541 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14543 * Many files: Remove inherit_language, and add latex_language
14545 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14546 collapsible insets.
14548 2001-08-10 Juergen Vigna <jug@sad.it>
14550 * text.C (prepareToPrint): fixed hfill-width in draw!
14552 * BufferView2.C (selectLastWord): save the selection cursor as this
14553 now is cleared in the function LyXText::clearSelection!
14555 2001-08-08 Juergen Vigna <jug@sad.it>
14557 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14558 BACKSPACE type functions.
14560 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14561 is only cutted from the document but not put in the cut-buffer, where
14562 still the old stuff should be.
14564 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14566 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14568 * tabular.C (SetWidthOfCell): fixed special case where the width
14570 (LeftLine): handle '|' in align_special.
14572 (LeftAlreadyDrawed): ditto
14573 (SetWidthOfCell): ditto
14575 2001-08-07 Juergen Vigna <jug@sad.it>
14577 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14579 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14581 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14582 * lyxlex.[hC]: ditto
14584 2001-08-06 Juergen Vigna <jug@sad.it>
14586 * text.C (getVisibleRow): fix up row clearing a bit.
14588 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14590 * minibuffer.C: make sure the X server sees the changes in the input.
14592 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14594 * paragraph.C (getFont): split into...
14595 (getLabelFont): this
14596 (getLayoutFont): and this
14597 * paragraph_pimpl.C (realizeFont): calling this
14599 * text2.C (getFont): split into...
14600 (getLayoutFont): this
14601 (getLabelFont): and this
14602 (realizeFont): all three calling this
14604 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14607 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14611 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14613 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14614 layouts from the Quote inset insertion.
14616 2001-08-03 Juergen Vigna <jug@sad.it>
14618 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14620 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14621 only if status not is already CHANGED_IN_DRAW (second level).
14623 * text.C (draw): don't set the need_break_row when inside an
14626 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14628 * buffer.C (parseSingleLyXformat2Token): handle more latex
14631 * bufferview_funcs.[hC]: change function names to
14632 begin with small char, adjust other files.
14634 2001-08-02 André Pönitz <poenitz@gmx.net>
14637 BufferView_pimpl.C: remove broken special code for math-greek
14639 2001-08-02 Juergen Vigna <jug@sad.it>
14641 * BufferView_pimpl.C (update): redone this function so that we
14642 update the text again if there was a CHANGE_IN_DRAW.
14644 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14645 (drawFromTo): added a new internal bool which is used by draw() and
14647 (general): some cursor drawing problems fixed.
14649 2001-08-01 Juergen Vigna <jug@sad.it>
14651 * lyxfind.C (LyXFind): fixed
14652 (SearchForward): ditto
14653 (SearchBackward): ditto
14655 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14656 spurius drawing of the cursor in the main area.
14658 * text2.C (status): small fix which could lead to a segfault!
14659 (clearSelection): remove unneeded BufferView param.
14661 2001-08-01 André Pönitz <poenitz@gmx.net>
14663 * lyxfunc.C: small change due to changed mathed interface
14665 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14669 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14671 * lyxfunc.c: fail gracefully if file doesn't exist
14676 * BufferView_pimpl.C: IsDirWriteable() proto changed
14678 * LyXView.C: fix updateWindowTitle() to store the last title
14680 2001-07-31 Juergen Vigna <jug@sad.it>
14682 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14683 the font (wrong since using of Paragraph::highestFontInRange).
14685 * paragraph.C (highestFontInRange): added a default_size parameter.
14687 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14688 (setHeightOfRow): reformat
14690 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * converter.[hC] + affected files: move to (inital-char)lowercase
14695 * ParagraphParameters.C (ParagraphParameters): remove commented code
14697 * PainterBase.[Ch]: remove commented code
14699 * LaTeXFeatures.h: add "bool floats" for float.sty
14701 * LaTeXFeatures.C (LaTeXFeatures): init floats
14702 (require): handle float
14703 (getPackages): do it with floats
14705 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * BufferView_pimpl.C (Dispatch): improve handling of
14708 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14710 * commandtags.h: #include lyxfont.h here temporarily to avoid
14713 * bufferlist.h: include LString.h here.
14715 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14717 * text2.C (getStringToIndex): new method.
14719 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14721 * *: Reduced header file dependencies all over.
14723 2001-07-30 Baruch Even <baruch@lyx.org>
14725 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14727 2001-07-29 Baruch Even <baruch@lyx.org>
14729 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14731 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * ParameterStruct.h (endif): add a default constructor to make
14734 sure that all variables is initialized.
14736 * ParagraphParameters.C (ParagraphParameters): adjust
14738 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14740 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14741 index; also, check that there is something to index, and that it
14742 does not span over several paragraphs.
14743 (doubleClick): use WHOLE_WORD_STRICT for double click.
14745 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14747 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14750 2001-07-26 Baruch Even <baruch@lyx.org>
14752 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14753 an InsetFig figure, backwards compatible reading of old figure code.
14755 2001-07-27 Juergen Vigna <jug@sad.it>
14757 * text2.C: font.realize function adaption.
14759 * text.C (draw): add a warnings lyxerr text if needed.
14761 * layout.C: font.realize function adaption.
14763 * language.C: add inherit_language and implement it's handlings
14765 * bufferview_funcs.C (StyleReset): remove language parameter from
14766 font creation (should be language_inherit now).
14768 * bufferparams.C (writeFile): handle ignore_language.
14770 * paragraph.C (getFontSettings): the language has to be resolved
14771 otherwise we have problems in LyXFont!
14773 * lyxfont.C (lyxWriteChanges): added document_language parameter
14774 (update): removed unneeded language parameter
14776 * paragraph.C (validate): fixed wrong output of color-package when
14777 using interface colors for certain fonts in certain environments,
14778 which should not seen as that on the final output.
14780 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14782 * BufferView_pimpl.C:
14787 * LyXAction.C: add thesaurus support
14790 * lyxfind.C: add "once" parameter, for thesaurus, to not
14791 move to the next match
14793 2001-07-26 Juergen Vigna <jug@sad.it>
14795 * lyxfont.C (realize): honor ignore_language too!
14798 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14800 * text.C (draw): one place more for ignore_language to not draw
14803 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14805 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14807 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14809 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14810 the minipage conversion problem.
14812 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14814 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14817 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14819 * BufferView.h: don't forward declare WorkArea
14821 * BufferView.C: don't include WorkArea.h
14823 2001-07-25 André Pönitz <poenitz@gmx.net>
14827 * lyxfunc.C: new LFUN 'math-space'
14829 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14831 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14833 * text2.C (toggleInset): call open/close
14835 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14837 * lyxfunc.C (dispatch): add debug for the disabled case
14839 * font.C (buttonText): make similar to rectText
14841 * buffer.C (readInset): comment out parsing of insetlist and
14844 * PainterBase.C (rectText): small correction
14846 * BufferView_pimpl.C: comment out insettheorem and insetlist
14847 * LyXAction.C: ditto
14848 * commandtags.h: ditto
14850 2001-07-24 Juergen Vigna <jug@sad.it>
14852 * text.C (draw): honor the ignore_language.
14854 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14856 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14858 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14861 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14863 * lyxtext.h: remove unused (and unimplemented) methods
14865 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14867 * text.C (getVisibleRow): honor background color
14870 * Painter.h: remove default color argument for fillRectangle
14872 * text.C (backgroundColor): new method
14874 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * text.C (getVisibleRow): adjust
14878 * font.[Ch] (rectText): new method, metrics
14879 (buttonText): new method, metrics
14881 * PainterBase.[hC]: make rectText and buttonText always draw and take
14884 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14886 * ToolbarDefaults.C (read):
14887 * MenuBackend.C (read): allow escaping in all strings
14889 * BufferView_pimpl.C (insertAndEditInset): new method.
14890 (Dispatch): use insertAndEditInset whenever appropriate.
14892 * BufferView_pimpl.C (insertNote): removed
14894 * BufferView_pimpl.C (smartQuote): new method, moved from
14895 BufferView; if an insetquote cannot be inserted, insert a '"'
14898 * BufferView2.C: remove insertCorrectQuote();
14900 * lyxfunc.C (getStatus): Add support for all remaingin
14901 inset-insert lfuns.
14903 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14905 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14906 command (necessary to pass " as parameter of self-insert.
14908 * text.C (selectWordWhenUnderCursor):
14909 (selectWord): add word_location parameter
14910 (selectWordWhenUnderCursor): same + remove special code for word
14912 (selectNextWord): use kind() to guess type of insetspecialchar,
14915 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14916 (insertErtContents): create ert insets as collapsed.
14917 (readInset): better compatibility code for Info inset.
14919 2001-07-20 Juergen Vigna <jug@sad.it>
14921 * lyxfunc.C (dispatch): use always LyXFind now!
14923 * text2.C (init): add a reinit flag so that the LyXText can be
14924 reinited instead of deleted and reallocated (used in InsetText).
14926 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14932 2001-07-18 Juergen Vigna <jug@sad.it>
14934 * text.C (selectNextWord): handle insets inside inset by calling
14935 always the bv->text functions so that we can go up the_locking_inset!
14937 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14938 in strange locations when inside an inset!
14940 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14941 handling to include insets.
14943 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14945 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * LyXAction.C (init):
14949 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14950 LIGATURE_BREAK, since the name is so stupid.
14952 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14954 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14957 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14959 * sp_form.[Ch]: remove.
14961 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14963 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14966 * src/buffer.C (readInset): ditto.
14968 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14970 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14971 menuSeparator(), endOfSentenceDot(), ldots() and
14972 hyphenationPoint(), which are therefore removed.
14973 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14975 * LyXAction.C (init):
14976 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14978 * paragraph.C (getWord): removed.
14980 * BufferView_pimpl.C (Dispatch): use last word or selection for
14981 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14983 * lyx_main.C (queryUserLyXDir): do not ask before creating
14984 user_dir, except if it has been named explicitely.
14986 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14988 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14989 a document of zero size.
14991 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14993 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14994 approriately in the c-tor and in require().
14995 (getPackages): output the appropriate LaTeX for natbib support.
14997 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14998 variables "use_natbib" and "use_numerical_citations" when reading the
15000 (readInset): read the various natbib cite commands.
15001 (validate): white-space change.
15003 * bufferparams.[Ch]: new variables "bool use_natbib" and
15004 "bool use_numerical_citations".
15005 (writeFile): output them in the LyX file.
15007 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15009 * lyxfunc.C (getStatus): add support for all the inset insertion
15012 * text2.C (insertInset):
15013 * paragraph.C (insetAllowed):
15014 * BufferView_pimpl.C (insertInset): update to take in account the
15015 renaming of insertInsetAllowed
15017 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15019 * text2.C (getInset): new method. returns inset at cursor position.
15021 * BufferView_pimpl.C (Dispatch): changes because of this.
15023 * LyXAction.C (init): rename open-stuff to inset-toggle.
15025 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15027 * text2.C (toggleInset): renamed from openStuff; use
15030 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15032 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15034 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15036 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15038 * buffer.C (readLyXformat2): Add filename to the error dialog
15040 2001-07-18 Juergen Vigna <jug@sad.it>
15042 * tabular.C (GetCellNumber): put an assert here instead of the check!
15044 2001-07-17 Juergen Vigna <jug@sad.it>
15046 * BufferView_pimpl.C (toggleSelection): adapted too.
15048 * text.C (selectNextWord): adapted for use with insets.
15049 (selectSelectedWord): ditto
15051 2001-07-17 Juergen Vigna <jug@sad.it>
15053 * sp_spell.C (PSpell): fix initialitation order.
15055 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15057 * paragraph.C: spacing
15059 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15061 * sp_spell.C: repair language selection for pspell
15063 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15065 * lyxfunc.h: change more methods to begin with lower char.
15067 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15069 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15070 for unknown layouts.
15072 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15074 * buffer.C (readLyXformat2): Generate an error dialog if there are
15077 2001-07-16 Juergen Vigna <jug@sad.it>
15079 * sp_spell.C: always compile ISpell part.
15081 * lyxrc.C: added use_pspell entry and it's handling.
15083 2001-07-13 Juergen Vigna <jug@sad.it>
15085 * sp_spell.C: removed double includes.
15087 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15089 Consistent use of Lsstream.h:
15090 * Lsstream.h: added using std::stringstream for consistencies sake.
15092 * buffer.C: removed using std::stringstream
15094 * lyxfont.C (stateText):
15095 * paragraph.C (asString):
15096 * text.C (selectNextWord, selectSelectedWord):
15097 * text2.C (setCounter):
15098 * vspace.C (asString, asLatexString):
15099 std::ostringstream -> ostringstream.
15101 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15103 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15104 * commandtags.h: add LFUN_HELP_ABOUTLYX
15105 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15107 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15109 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15111 * lyx_gui_misc.C: remove spellchecker
15112 * lyxfunc.C: showSpellchecker
15114 * sp_ispell.h: added
15115 * sp_pspell.h: added
15116 * sp_spell.C: added
15117 * sp_form.[Ch]: removed
15118 * spellchecker.[Ch]: removed
15120 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15122 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15124 (simpleTeXSpecialChars): Simply print the input character without
15125 any special translation if pass_thru is set.
15127 * layout.h: Added bool pass_thru to layout class for being able to
15128 implement pass through of a paragraph for Literate Programming.
15130 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15131 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15132 * layout.C (Read): add "passthru" to list of layout tags and add
15133 code to set the pass_thru boolean when it is read.
15135 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * trans_decl.h: remove allowed from KmodInfo
15139 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15140 remove allowed code
15143 * paragraph_pimpl.C (erase): use boost::prior
15145 * Painter.C (text): use data() instead of c_str() when length is
15147 * WorkArea.C (putClipboard): ditto
15148 * font.h (width): ditto
15150 * BufferView2.C: use it-> instead of (*it). for iterators
15152 * paragraph_pimpl.C: ditto
15153 * paragraph.C: ditto
15154 * minibuffer.C: ditto
15155 * language.C: ditto
15157 * encoding.C: ditto
15158 * counters.C: ditto
15159 * converter.C: ditto
15161 * Variables.C: ditto
15162 * TextCache.C: ditto
15163 * MenuBackend.C: ditto
15164 * LyXAction.C: ditto
15166 * FloatList.C: ditto
15167 * DepTable.C: ditto
15168 * ColorHandler.C (LyXColorHandler): ditto
15170 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15174 * text2.C (openStuff): reintroduce this method (which had been
15175 nuked in NEW_INSETS frenzy).
15177 * lyxfunc.C (Dispatch): when an action has not been handled, use
15178 its name in the error message, not its number.
15180 * paragraph.C (inInset): change method name to begin with lowercase.
15183 * text2.C: updates because of this.
15185 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15187 * ToolbarDefaults.C (add): add spaces in error message
15189 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15191 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15192 (readLyXformat2): rename return_par to first_par, use lyxlex's
15193 pushToken and remove the manual push handling.
15194 (parseSingleLyXformat2Token): add another ert comp. variable:
15195 in_tabular, rename return_par to first_par. handle newlines better
15197 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15199 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15201 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15203 * text2.C (getParFromID): removed
15205 * buffer.C (getParFromID): new method moved form lyxtext.
15206 * BufferView2.C (insertErrors): adjust
15207 (setCursorFromRow): adjust
15208 * BufferView_pimpl.C (restorePosition): adjust
15209 * lyxfunc.C (Dispatch): adjust
15210 * undo_funcs.C (textUndo): adjust
15212 (textHandleUndo): adjust
15213 (textHandleUndo): adjust
15215 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15217 * buffer.C: up' the LYX_FORMAT
15219 * lyxfont.h: turn NO_LATEX on as default
15221 * buffer.C (insertErtContents): new methods of tex style compability.
15222 (parseSingleLyXformat2Token): use it several places.
15223 * tabular.C (OldFormatRead): and here
15225 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * text2.C: remove some commented code.
15230 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15231 * trans.C: changes because of the above.
15233 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15235 * text2.C (setCounter): Fix counters bug with bibliography layout.
15237 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15239 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15240 own member functions
15241 (simpleTeXSpecialChars): ditto
15243 2001-07-06 Juergen Vigna <jug@sad.it>
15245 * a lot of files: changed the access to LyXText::status and the
15246 call of undo-functions.
15248 * undo.[Ch]: added a inset_id to the undo informations.
15250 * undo_funcs.[Ch]: added and moved here all undo functions.
15252 * lyxtext.h: give the status enum a weight, made status_ a private
15253 variable and made accessor functions for it, removed the whole bunch
15254 of undo-functions as they are now in their own file, make some
15255 functions publically available. Added function ownerParagraph with
15258 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15259 made InInset() a const function, added getParFromID() function.
15261 * buffer.[Ch]: added const version for inset_iterator functions,
15262 added getInsetFromID() function.
15264 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15265 changed undo functions for new version.
15267 2001-07-05 Juergen Vigna <jug@sad.it>
15269 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15270 unknow mechanism does not call the proper constructor but only this
15271 one also if I request the other!?
15273 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15275 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15277 * text2.C (LyXText): use initialization lists.
15279 * lyxtext.h (Selection): initialize set_ and mark_
15280 (init): remove method
15282 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15284 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15286 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15288 * screen.[Ch]: change method names to begin with lowercase
15290 * BufferView_pimpl.C (updateScrollbar): simplify further and
15291 hopefully make it a bit faster.
15293 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15296 calling directly xforms functions.
15298 * Painter.C (Painter):
15299 * lyx_cb.C (MenuWrite):
15300 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15303 * lyx_gui.C: remove bogus guiruntime extern declaration.
15305 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15307 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15309 (redoDrawingOfParagraph): ditto
15310 (redoParagraphs): ditto
15311 (cutSelection): don't create a object for CutAndPaste use the
15312 static method directly
15313 (pasteSelection): ditto
15315 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15318 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15320 * modifications to some other files because of this.
15322 * Makefile.am (lyx_SOURCES): add XFormsView
15324 * XFormsView.[Ch]: new files
15326 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15327 the main window. Move the gui dependent stuff to XFormsView
15329 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * tabular.C (GetCellInset): update cur_cell also in the row/col
15332 version of this function.
15334 * lyxfunc.C: no need to include figure_form.h here.
15340 * lyxvc.C: no need to include forms.h here.
15342 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15344 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15346 * lyxfunc.C (Dispatch):
15348 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15349 constructor argument.
15351 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15353 * paragraph.C (Paragraph): dont't clear, and just set layout.
15354 (makeSameLayout): use params's copy contructor.
15356 * ParagraphParameters.[Ch] (makeSame): delete method
15358 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15360 * Variables.[Ch]: fix indentation, rename set to isSet
15362 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15364 * lyxfunc.C (Dispatch): fix typo
15366 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15368 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15371 * bufferlist.C: include assert.h for emergencyWrite().
15373 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15375 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15376 give up at last (bug #425202) !
15378 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15384 * spellchecker.C: strip spellchecker options and bring up
15385 preferences tab instead
15387 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15389 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15390 the istringstream constructor
15392 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15394 * paragraph.C (getLayout): fix return value
15396 * paragraph.h: do not declare getLayout as inline.
15398 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15400 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15402 * lyxcursor.h (operator<): new func
15403 (operator>): new func
15404 (operator>=): new func
15405 (operator<=): new func
15407 * text.C (changeCase): use selection.start and selection.end
15408 (changeRegionCase): require from to be <= to. Require par to be a
15411 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15413 2001-06-27 Juergen Vigna <jug@sad.it>
15415 * text.C (cursorLeftOneWord): changed to return the cursor and added
15416 overlay with BufferView * parameter which calls this one.
15418 (selectWord): use new getWord function.
15419 (changeCase): renamed from changeWordCase as and extended to work
15420 also on selections.
15422 * lyxtext.h: added enum word_location
15424 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15425 changeCase as this operates now also on selections.
15427 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15429 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15431 * many files: send debug output to Debug::INFO instead of
15434 * converter.C (View):
15436 (Move): send debug output to Debug::FILES instead of console.
15438 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15440 * lyxfunc.C (getStatus): use func_status
15442 * func_status.h: new header, describing the results of
15443 LyXFunc::getStatus;
15445 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15448 2001-06-25 The LyX Project <jug@sad.it>
15450 * buffer.C (sgmlOpenTag):
15452 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15454 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15456 * text2.C: remove some dead code
15458 * tabular.C (GetCellInset): store the last cell checked (gotten)
15460 * tabular.h: add the helper for the speedup
15462 * lyxtext.h: remove some dead code
15464 2001-06-26 The LyX Project <Asger>
15466 * paragraph.C: Change export to LaTeX of alignment to
15467 \begin{center} and family for better roundtrip work with reLyX.
15469 * Tune the math drawing a bit.
15471 2001-06-25 The LyX Project <Asger>
15473 * LColor.C (LColor): New color for math background. New color
15476 2001-06-25 The LyX Project <jug@sad.it>
15478 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15480 * lyxfunc.C (Open):
15481 * bufferlist.C (newFile): do not restrict to files ending with
15484 * BufferView_pimpl.C (MenuInsertLyXFile):
15486 2001-06-24 The LyX Project <jug@sad.it>
15488 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15491 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15493 * lyxtext.h: rename most methods to begin with a small char.
15494 Lots of changes because of this.
15496 * paragraph.C (Paragraph): do not call fitToSize
15497 (erase): call Pimpl::erase
15498 (insertChar): call Pimpl::insertChar
15499 (insertInset): call Pipl::insertInset
15500 (breakParagraph): do not call fitToSize
15501 (breakParagraphConservative): do not call fitToSize
15502 (fitToSize): remove method
15504 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15506 2001-06-24 The LyX Project <Asger>
15508 * Fix Qt compilation^2
15510 2001-06-24 The LyX Project <jug@sad.it>
15512 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15513 depthHook(getDepth()-1).
15516 * ParagraphParameters.h:
15517 * ParameterStruct.h: change type of depth to unsigned int ==
15518 depth_type. Many adaptations to other files before of that.
15520 2001-06-24 The LyX Project <Asger>
15522 * Fix Qt compilation.
15524 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15526 * paragraph.h: renamed several methods to begin with small letter.
15527 several changes to many parts of the code because of this.
15529 2001-06-23 The LyX Project <jug@sad.it>
15531 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15532 rewritten to discard all double spaces when KeepEmpty is off
15533 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15534 to only handle newlines but not fiddle with spaces and friends.
15536 * lyxfunc.C (MenuNew): when doing 'new from template', use
15537 template_path as default directory
15539 2001-06-23 The LyX Project <Asger>
15541 * Clean-up of header file includes all over
15542 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15544 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15546 * paragraph.h: renamed from lyxparagraph.h
15548 2001-06-23 Asger <lyx@violet.home.sad.it>
15550 * Buffer.h: Removed Buffer::resize
15551 * BufferList.h: Removed BufferList::resize
15552 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15553 the document lazily when we change the width, or the font settings.
15555 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15557 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15559 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15561 * buffer.h: remove out of date comment
15563 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15566 * screen.C: fix "theoretical" GC leak
15568 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15570 * LaTeX.C (scanAuxFile):
15571 (deplog): remove trailing \r when reading stream (useful under
15574 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15576 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15577 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15578 and BufferView::theLockingInset(Inset*), so should use them and not
15579 access bv_->text->the_locking_inset directly.
15581 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15583 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15586 * tex-defs.h: remove old unused file
15588 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15590 * BufferView_pimpl.C: fix typo, remove minibuffer message
15591 when buffer has loaded
15593 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15595 * lyxfunc.C (Dispatch): use stringstream
15596 (MenuNew): use stringstream
15597 (Open): use stringstream
15599 * importer.C (Import): use stringstream
15601 * bufferview_funcs.C (CurrentState): use stringstream
15603 * LaTeX.C (run): use stringstream
15605 * BufferView_pimpl.C (savePosition): use stringstream
15606 (restorePosition): use stringstream
15607 (MenuInsertLyXFile): use stringstream
15609 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15622 * vspace.C: removed // -*- C++ -*- as first line.
15625 * version.h: added // -*- C++ -*- as first line.
15627 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15629 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15631 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15634 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15636 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15639 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15641 * gettext.C: include LString.h even when --disable-nls is on.
15643 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15645 * converter.h (Get): changed argument type from int to
15646 FormatList::size_type to avoid unnecessary conversion.
15648 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15651 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * gettext.h: include LString.h even when --disable-nls is on.
15655 2001-06-07 Juergen Vigna <jug@sad.it>
15657 * text.C (BreakAgain): subst spaces with tabs.
15659 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15660 (resizeInsetsLyXText): set force on resizeLyXText.
15662 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15664 * gettext.h (gettext_init):
15665 (locale_init): use a real definition instead of a macro
15667 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15669 * Bufferview_pimpl.C:
15671 * LColor.C: further lcolor tidies
15673 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15675 * BufferView_pimpl.C (updateScrollbar): simplify.
15677 * BufferView2.C: don't include insets/insetinfo.h, change
15678 prototype for insertInset and call the Pimpl version. let
15679 updateInset call Pimpl version.
15681 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15682 gotoInset to BufferView::Pimpl
15684 2001-06-01 Juergen Vigna <jug@sad.it>
15686 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15687 inside a LockingInset (is the update needed at all?).
15689 2001-05-31 Juergen Vigna <jug@sad.it>
15691 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15692 here not the old one otherwise how should we compare it afterwards
15695 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15700 * FontInfo.C: bring C functions into global namespace when
15703 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15705 * LString.h: make sure config.h has been loaded before LString.h.
15707 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15708 (one for each char read by EatLine!).
15710 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15713 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15715 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15716 to the same as the par we break from
15718 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15720 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15722 * MenuBackend.C (expand): also create menu entries for wide
15723 versions of the floats.
15725 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15727 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15729 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15730 frontends/Makefile.am
15736 * tabular.C (getTokenValue): add std::
15738 * tabular-old.C (getTokenValue): add std::
15739 (getTokenValue): ditto
15740 (getTokenValue): ditto
15742 * screen.C (ToggleSelection): adjust
15744 * lyxtext.h: put selection cursors inside a Selection struct.
15746 * lyxfunc.C (moveCursorUpdate): adjust
15748 * lyxfont.C (latexWriteStartChanges): add std::
15750 * lyxfind.C: adjust
15752 * font.h: delete with(char const *, LyXFont const &)
15754 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15756 * FontInfo.C (getFontname): add std::
15758 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15759 (workAreaButtonPress): adjust
15760 (tripleClick): adjust
15762 (moveCursorUpdate): adjust
15765 * BufferView2.C (gotoInset): adjust
15767 2001-05-30 Juergen Vigna <jug@sad.it>
15769 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15770 to check pspell I add this as default as I now have new pspell
15771 libraries and they seem to use this.
15773 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15775 * text2.C (CutSelection): make the cursor valid before the call to
15778 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15780 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15781 relied on 0 terminated strings and other horrors. Bug found due to
15782 the new assert in lyxstring!
15784 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15787 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15789 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15792 * lyxfunc.C (processKeySym): change method of getting to the
15795 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15796 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15797 * BufferView_pimpl.[Ch]: here as private methods.
15799 2001-05-28 Juergen Vigna <jug@sad.it>
15801 * text.C (SetHeightOfRow): added the update() call again as it is
15802 needed to initialize inset dimensions!
15804 2001-05-16 Juergen Vigna <jug@sad.it>
15806 * text2.C (SetCharFont): Add new function with BufferView * and
15807 bool toggleall parameters for setting insets internal fonts.
15808 (SetFont): Freeze the undo as we may change fonts in Insets and
15809 all this change should be inside only one Undo!
15811 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15812 setting font's in insets as for them we have the SetFont function!
15814 2001-05-15 Juergen Vigna <jug@sad.it>
15816 * text2.C (ClearSelection): to be sure we REALLY don't have any
15819 * tabular.C (TeXCellPreamble): fixed the left border problem for
15822 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15824 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15827 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15829 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15830 LFUN_BREAKPARAGRAPH.
15832 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15833 help test to "internal only", similar for LFUN_INSERT_URL
15835 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15836 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15837 auto_region_delete and deadkeys.
15839 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15842 * LColor.C: remove some dead entries, tidy a little
15844 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15846 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15848 (Dispatch): implement LFUN_ESCAPE
15850 * commandtags.h: add LFUN_ESCAPE
15852 * LyXAction.C (init): add entry for LFUN_ESCAPE
15854 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15855 Remove commented code.
15856 (insertNote): moved here
15857 (open_new_inset): moved here
15859 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15862 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15864 * kbmap.C (findbinding): clean it up and make it work correctly.
15866 * lyx_main.C (init): do not pass argc and argv as parameters
15868 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15870 * buffer.C: fix path for OS/2 & Win32
15874 * lyx_main.C: Added os:: class.
15876 * os2_defines.h: update
15878 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15880 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15881 better by trying again with reduced state.
15883 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15885 * lyxrc.C (read): print error about invalid key sequence only when
15886 debugging (because not all latinX keysyms are known to some X
15889 * kbsequence.C (getiso): add a few std:: qualifiers
15890 (getiso): comment out extra return statement.
15892 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15894 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15896 (Dispatch): enhance the accent inset a bit. (not perfect)
15898 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15902 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15904 * bufferlist.C (emergencyWrite): fix assert() call
15906 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15908 * text.C (InsertChar): Added trivial patch to only send the "you
15909 can not do multiple spaces this way" message once during a
15912 2001-05-08 Baruch Even <baruch@lyx.org>
15914 * Makefile.am: Changed order of libraries to get LyX to link properly
15915 with the gnome frontend.
15917 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15919 * LaTeXFeatures.h: add a std:: qualifier
15921 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15923 * paragraph.C (String): use stringstream
15925 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15927 * paragraph.C (writeFile): remove footflag arg
15929 * buffer.C (makeLaTeXFile): use stringstream
15930 (latexParagraphs): remove footnot gurba
15932 * LaTeXFeatures.C (getPackages): use stringstream
15933 (getMacros): likewise
15934 (getTClassPreamble): likewise
15935 (getFloatDefinitions): new method
15937 * paragraph.C (writeFile): reindent
15940 * WorkArea.h: revert the xpos + etc changes.
15942 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15944 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15946 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15947 (pasteSelection): likewise
15948 * text2.C (CreateUndo): likewise
15950 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15952 * minibuffer.C (peek_event): temporarily reduce the functionality
15953 of the minibuffer (to allow args on lfuns)
15955 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15956 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15958 * buffer.C (readInset): add compability reading of old float
15959 lists, add reading of new style float list.
15960 (readInset): avoid reevaluation of inscmd.getCmdName()
15961 (getLists): reindent
15963 * MenuBackend.C (MenuItem): implement parsing of
15964 md_floatlistinsert and md_floatinsert.
15965 (expand::LastFiles): move initalizaton of iterators out of loop,
15966 avoid reevaluation.
15967 (expand::Documents): introduce typdedef vector<string> Strings,
15969 (expand::ExportFormats): introduce typedef vector<Format const *>
15970 Formats, and use it.
15971 (expand): implement FloatListInsert and FloatInsert.
15973 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15974 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15975 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15977 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15979 (Dispatch::LFUN_FLOAT_LIST): implement
15981 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15983 * LaTeX.C (run): Fix problem with --export code.
15985 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15987 * BufferView.[Ch] (workarea): removed.
15988 (getClipboard) new method; wrapper for workarea()->getClipboard()
15990 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15993 * WorkArea.h (width, height, xpos, ypos): These methods all
15994 returned the dimensions of the work_area sub-area of WorkArea,
15995 resulting in a position error if the WorkArea were resized. Now
15996 return the dimensions of the entire WorkArea.
15998 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16000 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16002 * LaTeX.C (deplog): correct the syntax of regex reg1
16004 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16006 * undo.C: remove !NEW_INSETS cruft
16008 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16010 * text2.C: remove !NEW_INSETS cruft
16012 * text.C: remove !NEW_INSETS cruft
16014 * tabular.C: remove !NEW_INSETS cruft
16016 * spellchecker.C: remove !NEW_INSETS cruft
16018 * lyxtext.h: remove !NEW_INSETS cruft
16020 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16022 * lyxfunc.C: remove !NEW_INSETS cruft
16024 * lyxfind.C: remove !NEW_INSETS cruft
16026 * lyx_cb.C: remove !NEW_INSETS cruft
16028 * figureForm.C: remove !NEW_INSETS cruft
16030 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16032 * buffer.[Ch]: remove !NEW_INSETS cruft
16034 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16036 * CutAndPaste.C: remove !NEW_INSETS cruft
16038 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16040 * BufferView2.C: remove !NEW_INSETS cruft
16042 * BufferView.h: remove !NEW_INSETS cruft
16044 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16046 * Lsstream.h: include LString.h before the sstream headers to
16047 fix problem with gcc 2.95.3 and lyxstring
16049 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16051 * lyx_main.C: add using directives when needed for C functions
16052 declared in std:: namespace.
16054 2001-04-27 Juergen Vigna <jug@sad.it>
16056 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16057 (SetHeightOfRow): comment out the update call should not be needed!
16059 2001-04-13 Juergen Vigna <jug@sad.it>
16061 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16062 (LyXTabular): tried to minimize operator= operations (and realized
16063 hopfully Lars wish).
16065 2001-04-27 Juergen Vigna <jug@sad.it>
16067 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16069 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16071 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16073 * buffer.C (readInset): hack to make listof algorithm work
16075 * BufferView_pimpl.C: hack to make listof algorithm work
16077 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16079 * LyXAction.C: removed all !NEW_INSETS cruft
16080 (init): moved lfun_item in method
16082 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16084 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16086 * BufferView2.C (theLockingInset): white space.
16088 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16090 * minibuffer.C: include <iostream>
16092 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16094 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16096 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16098 * text.[Ch] (TransposeChars): new method
16100 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16102 * call message directly through LyXView instead of through LyXFunc
16103 * BufferView2.C: adjust
16104 * BufferView_pimpl.C: adjust
16105 * FontLoader.C: adjust
16107 * bufferview_funcs.C: adjust
16108 * converter.C: adjust
16109 * figureForm.C: adjust
16110 * importer.C: adjust
16112 * lyx_gui_misc.C: adjust
16113 * lyxfunc.C: adjust
16116 + more files in subdirs
16118 * lyxparagraph.h (size): move up int file
16121 * adjust all uses of Assert to lyx::Assert.
16123 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16124 lyxfunctional in namespace lyx
16125 * layout.C (hasLayout): ditto
16128 (delete_layout): ditto
16129 (NumberOfClass): ditto
16130 * converter.C (GetFormat): ditto
16135 * bufferlist.C (getFileNames): ditto
16136 (emergencyWriteAll): ditto
16139 * MenuBackend.C (hasSubmenu): ditto
16142 * BufferView_pimpl.C (getInsetByCode): ditto
16144 2001-04-18 Juergen Vigna <jug@sad.it>
16146 * vspace.C (asLatexString): fixed the 100% problem.
16148 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * lyxfunc.C (Dispatch):
16152 * minibuffer.h: add a few std:: qualifiers
16154 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16156 * minibuffer.[Ch]: reimplement so that commands is initiated and
16157 run from lyxfunc, simplified som handling, and made the completion
16158 and history code for complete. wip.
16160 * lyxfunc.C (processKeySym): call message
16161 (miniDispatch): new temporary method
16162 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16163 (LFUN_MESSAGE): implement
16164 (LFUN_MESSAGE_PUSH): implement
16165 (LFUN_MESSAGE_POP): implement
16166 (initMiniBuffer): the initial/defualt minibuffer message.
16168 * lyxfont.[Ch]: inline some more getters
16170 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16172 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16174 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16175 (AutoSave): use LFUN_MESSAGE
16176 (Reconfigure): ditto
16178 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16180 * figureForm.C: use LFUN_MESSAGE
16182 * converter.C (runLaTeX): use LFUN_MESSAGE
16184 * bufferview_funcs.C: use LFUN_MESSAGE
16186 (changeDepth): ditto
16188 * bufferparams.h: use boost::
16190 * bufferlist.h: inherit privately from noncopyable
16192 * bufferlist.C (loadLyXFile): remove some commented code.
16194 * buffer.C (runChktex): use LFUN_MESSAGE
16196 * ShareContainer.h: inherit privately from noncopyable
16198 * ParagraphParameters.[hC] (depth): inline it.
16200 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16202 (message): new method
16203 (messagePush): ditto
16204 (messagePop): ditto
16205 (show): init minibuffer
16206 (showState): direct call
16208 * LaTeX.[Ch]: inherit privately from noncopyable
16209 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16210 instead of WriteStatus.
16212 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16214 * BufferView_pimpl.C (buffer): don't init minibuffer
16215 (workAreaButtonPress): use LFUN_MESSAGE
16216 (workAreaButtonRelease): ditto
16217 (savePosition): ditto
16218 (restorePosition): ditto
16219 (MenuInsertLyXFile): ditto
16220 (workAreaExpose): don't init minibuffer
16221 (update): remove commented code, simplify
16223 * BufferView2.C (openStuff): use LFUN_MESSAGE
16224 (toggleFloat): ditto
16227 (copyEnvironment): ditto
16228 (pasteEnvironment): ditto
16233 (updateInset): remove some commented code
16235 * lastfiles.h: inherit privately from noncopyable
16238 * lyx_main.h: ditto
16240 * lyxlex_pimpl.h: ditto
16242 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16243 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16244 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16246 * LyXAction.h: inherit privately from noncopyable, add methods
16247 func_begin, func_end, returning iterators to the func map.
16249 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16250 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16251 (func_begin): new method
16252 (func_end): new method
16254 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16256 (copySelection): ditto
16257 (pasteSelection): ditto
16259 * BufferView.C: whitespace change
16260 * BufferView.h: inherit privately from noncopyable
16262 2001-04-16 Allan Rae <rae@lyx.org>
16264 * tabular-old.C (l_getline):
16265 * spellchecker.C (sc_check_word):
16266 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16267 an unrecognised preprocessor directive. So ensure they're wrapped.
16269 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16271 * src/exporter.C (Export): Give an error message when path to file
16274 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16276 * LaTeX.C (deplog): Always check that foundfile exists.
16278 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16281 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16283 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16285 * tabular.[Ch] (getLabelList): implement new method
16287 * minibuffer.h: comment ouf setTiimer
16289 * minibuffer.C (ExecutingCB): constify res
16290 (peek_event): constify s
16291 (Set): constify ntext
16292 (Init): constify nicename
16294 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16296 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16297 (savePosition): use two params to Minibuffer::Set
16298 (restorePosition): ditto
16300 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16302 * lyx_main.C: include language.h
16304 * Makefile.am (lyx_main.o): add language.h
16306 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16312 * CutAndPaste.C: include gettext.h
16314 * lyxfont.h: remove old hack with ON and OFF.
16317 * lyxfont.h: do not include language.h...
16322 * bufferview_funcs.C:
16328 * paragraph.C: ... but do it here instead
16330 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16332 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16334 * tabular.C: small reformat
16336 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16339 (BreakParagraph): ditto
16340 (SetOnlyLayout): ditto
16343 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16346 * lastfiles.C: removed most using decl, add std:: where needed
16348 * buffer.C: ws changes
16350 * MenuBackend.C (class compare_format): put into anon namespace
16351 (expand): constify label, names, action, action2
16354 * text.C (SingleWidth): constify font
16355 (IsBoundary): constify rtl2
16356 (GetVisibleRow): constify ww
16358 * LaTeX.C (deplog): constify logfile
16360 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16362 (workAreaExpose): constify widthChange, heightChange
16364 * lyxrow.C (par): moved
16367 * lyxrow.h: as inlines here
16369 * lyxfont.h (shape): moved from lyxfont.C
16370 (emph): moved from lyxfont.C
16372 * lyxfont.C (LyXFont): use initialization list for all
16374 (shape): move to lyxfont.h as inline
16375 (emph): move to lyxfont.h as inline
16378 2001-04-04 Juergen Vigna <jug@sad.it>
16380 * vspace.C: had to include stdio.h for use of sscanf
16382 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16385 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16386 independent of xforms.
16388 2001-04-02 Juergen Vigna <jug@sad.it>
16390 * spellchecker.C: fixed namespace placing!
16392 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16394 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16395 the LyXParagraph * is 0.
16397 2001-03-29 Juergen Vigna <jug@sad.it>
16399 * vspace.C: added support for %, c%, p%, l%.
16400 (stringFromUnit): added helper function.
16401 (asLatexString): changed to give right results for the %-values.
16403 * buffer.C: convert the widthp in a width%.
16405 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16407 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16410 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16411 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16413 * lyx_cb.[Ch]: see above.
16415 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16419 * lyx.[Ch]: replaced by figure_form.[Ch].
16423 * lyxfunc.C: changed headers associated with above changes.
16425 2001-03-27 Juergen Vigna <jug@sad.it>
16427 * BufferView_pimpl.C: set the temporary cursor right!
16429 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16431 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16433 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16435 * LString.h: removed "using std::getline"!
16437 * BufferView_pimpl.C (Dispatch): changes due to changes in
16438 InsetInclude::Params.
16440 * buffer.C (tag_name): removed redundant break statements as they were
16441 producing lots of warnings with my compiler.
16443 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16445 * LString.h: add "using std::getline" when using the real <string>.
16447 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16449 * buffer.C: removed bitset usage.
16450 PAR_TAG moved to an anonymous name space.
16451 (tag_name): new funtion, also in the anonymous namespace.
16452 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16453 (makeDocBookFile): clean code. Completed transition from string arrays
16455 (SimpleDocBookOnePar): code clean.
16457 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16459 * tabular.C: add some comments.
16461 2001-03-22 Juergen Vigna <jug@sad.it>
16463 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16464 compatibility read a bit and fixed bug with minipage in different
16467 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16469 * buffer.C (pop_tag): removed.
16470 (push_tag): removed.
16471 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16472 array replaced with vector. Added support for CDATA sections.
16473 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16475 (makeDocBookFile): XML conformant declaration of CDATA section,
16476 fixed bug related to <emphasis> in the first paragraph char.
16477 (sgmlOpenTag): exclude empty tags.
16478 (sgmlCloseTag): ditto.
16480 * buffer.h (pop_tag): removed.
16481 (push_tag): removed.
16483 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16485 * language.h (Languages): added size_type and size().
16487 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16489 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16490 response on compability reading of minipages. One probliem is that
16491 the old usage of minipages was «flertydig»
16493 * several files here and in subdirs: don't use static at file
16494 scope use anon namespaces instead.
16496 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16498 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16499 LaTeX output. This is necessary for Literate document
16502 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16504 * buffer.C: insert hfill when needed.
16506 * tabular.C (l_getline): use string::erase, small whitespace change.
16508 * BufferView_pimpl.C: try the anon namespace.
16509 * WorkArea.C: ditto
16511 2001-03-16 Juergen Vigna <jug@sad.it>
16513 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16514 otherwise it won't open options-dialogs.
16516 * buffer.C: honor pextraWidth(p) on converting minipages.
16518 * tabular.C (l_getline): changed the functions to strip trailing \r.
16520 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16522 * BufferView_pimpl.C:
16523 * minibuffer..C: added "using SigC::slot" declaration.
16525 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16527 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16533 * paragraph.C: ditto
16535 * lyxtext.h: NO_PEXTRA
16537 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16539 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16540 * ParameterStruct.h: ditto
16541 * ParagraphParameters.h: ditto
16542 * lyxparagraph.h: ditto
16544 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16546 * buffer.C: add compability for minipage alignment.
16547 (latexParagraphs): remove unwanted pextra check.
16549 * several files: remove CXX_WORKING_NAMESPACES
16551 * buffer.C (pop_tag): tie is in namespace boost
16553 * BufferView.h: noncopyable is in namespace boost
16555 * lyx_main.h: ditto
16558 * lastfiles.h: ditto
16559 * bufferlist.h: ditto
16560 * ShareContainer.h: ditto
16562 * LyXAction.h: ditto
16565 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16567 * Merging changes from BRANCH_MVC back into HEAD.
16569 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16571 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16573 * BufferView_pimpl.C: change from intl.C
16577 * Makefile.am: move combox.*
16583 * intl.C: remove dialog (covered by prefs)
16585 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16587 * lyxfunc.C (Dispatch): removed redundant break statement.
16589 2001-03-14 Juergen Vigna <jug@sad.it>
16591 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16593 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16595 * buffer.C: add hack to fix compability reading of minipages.
16597 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16599 * buffer.C (getLists): Cleanup.
16601 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16603 * lyxfont.C (update): don't honor toggleall on font size.
16605 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16609 * Makefile.am: moved to frontends/xforms/
16613 * BufferView_pimpl.C: changes for moved mathpanel
16615 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16617 * gettext.h: fix gettext_init() in --disable-nls
16619 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16621 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16623 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16626 * lyx.h: strip external form
16628 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16630 * BufferView_pimpl.C: add comment, destroySplash()
16632 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16634 * BufferView_pimpl.C:
16638 * lyxfunc.C: use re-worked insetinclude
16640 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16642 * buffer.C: add using std::stringstream.
16644 * lyx_cb.C: readd using std::ios.
16646 * buffer.C: add using std::map.
16648 * BufferView_pimpl.C: add using std::vector.
16650 * ShareContainer.h: add std:: to swap.
16652 * buffer.h: add some typedefs
16653 * buffer.C (getLists): use them
16654 (getLists): renamed from getTocList.
16655 add a counter for the different float types and use it in the
16657 (getLists): use the same counter for the NEW_INSETS and the "non"
16660 * lyx_cb.h: remove unused items, includes, using etc.
16662 * ShareContainer.h: remove some commented code, add more comments
16663 and "documentation".
16665 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16667 * buffer.C (getTocList): make the list also when NEW_INSETS is
16670 * buffer.h: remove TocType
16672 * buffer.C (getTocList): change to return a map<string,
16673 vector<TocItem> >, implement for dynamic number of list.
16675 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16676 * text2.C (PasteSelection): adjust
16677 * CutAndPaste.C (pasteSelection): adjust
16679 * FloatList.C (FloatList): update from the new_insets branch.
16680 * Floating.[Ch]: ditto
16681 * LaTeXFeatures.C: ditto
16683 * lyxlex_pimpl.C: ditto
16685 * paragraph.C (Last): remove when NEW_INSETS is defined.
16687 * other file: changes because of the above.
16689 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16691 * lyxparagraph.h: rename next to next_, previous to previous_,
16692 make them private for NEW_INSETS. Rename Next() to next(),
16693 Previous() to previous().
16695 * other files: changes because of the above.
16697 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16700 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16703 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16705 * main.C (main): pass lyx_localedir to gettext_init().
16707 * gettext.h: remove locale_init and gettext_init macros
16709 * gettext.C (locale_init): new function
16710 (gettext_init): new function
16712 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16715 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16717 * Moved credits to frontends:
16718 * credits.[Ch]: removed
16719 * credits_form.[Ch]: removed
16720 * lyx_gui_misc.C: remove credits stuff
16723 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16725 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16727 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16728 unneeded destructor.
16730 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16731 a standalone pointer again.
16733 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16735 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16741 * ToolbarDefaults.C:
16750 * BufferView_pimpl.C: use new file dialog in GUII
16753 * lyx_cb.C: remove LayoutsCB to Toolbar
16755 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16757 * ShareContainer.h (get): add std:: qualifier
16759 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16761 * ShareContainer.h: define a proper ShareContainer::value_type
16762 type (and use typename to please compaq cxx)
16764 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16766 * lyxparagraph.h: move serveral local vars to
16767 ParameterStruct/ParagraphParameters., use ShareContainer in
16768 FontTable., make vars in FontTable private and add getter and
16771 * paragraph.C: changes because of the above.
16773 * lyxfont.h: remove copy constructor and copy assignment. (the
16774 default ones is ok), move number inside FontBits. move inlines to
16777 * lyxfont.C: add number to initializaton of statics, move several
16778 inlines here. constify several local vars. some whitespace
16779 cleanup. Dont hide outerscope variables.
16781 * Spacing.h: add two new constructors to match the set methods.
16783 * ShareContainer.h: new file, will perhaps be moved to support
16785 * ParameterStruct.h: new file
16787 * ParagraphParameters.h: new file
16789 * ParagraphParameters.C: new file
16791 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16792 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16794 * BufferView_pimpl.C: ParagraphParameter changes.
16795 * buffer.C: Likewise.
16796 * bufferview_funcs.C: Likewise.
16797 * text.C: Likewise.
16798 * text2.C: Likewise.
16800 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16802 * lyxfind.C (LyXReplace): do not redefine default argument in
16804 (IsStringInText): ditto
16805 (SearchForward): ditto
16806 (SearchBackward): ditto
16808 2001-03-06 Juergen Vigna <jug@sad.it>
16810 * lyxfind.C (IsStringInText): put parentes around expressions.
16812 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16814 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16816 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16818 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16820 * stl_string_fwd.h: add comment
16822 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16825 * tabular.C: remove unused DocBook methods
16831 killed DO_USE_DEFAULT_LANGUAGE
16833 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16835 * lyx_gui.C: do not include language.h.
16837 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16838 arguments in function implementation.
16840 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16842 * BufferView_pimpl.C: add <ctime>
16844 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16846 * BufferView_pimpl.C: add using std::find_if
16848 2001-02-27 José Matos <jamatos@fep.up.pt>
16850 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16853 2001-02-11 José Matos <jamatos@fep.up.pt>
16855 * buffer.C (makeDocBookFile): command styles now have a parameter as
16856 "title" by default.
16858 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16860 * layout_forms.[Ch]: removed
16861 * lyx_cb.[Ch]: out character
16862 * lyx_gui.C: out character
16863 * lyx_gui_misc.C: out character
16864 * bufferview_funcs.C: : out character,
16865 added toggleall as parameter in ToggleAndShow
16867 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16869 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16871 * text2.C (SetCurrentFont): Disable number property at boundary.
16873 2001-02-26 Juergen Vigna <jug@sad.it>
16875 * lyxfunc.C (getStatus): added a string argument override function so
16876 that this is correctly called from LyXFunc::Dispatch if it contains a
16877 do_not_use_argument which is used!
16878 (Dispatch): added check for "custom" export and call appropriate func.
16880 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16882 * lyxrc.C: Add language_command_local, language_use_babel and
16883 language_global_options.
16885 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16887 * buffer.C (makeLaTeXFile): Use language_use_babel and
16888 language_global_options.
16890 2001-02-23 Juergen Vigna <jug@sad.it>
16892 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16893 which works with LyXText and putted it inside BufferView. Here now we
16894 only call for that part the BufferView::Dispatch() function.
16896 * BufferView.C (Dispatch): added.
16898 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16899 functions which needs to use a LyXText over from LyXFunc.
16900 (MenuInsertLyXFile): added
16901 (getInsetByCode): added
16902 (moveCursorUpdate): added
16903 (static TEXT): added
16905 2001-02-22 Juergen Vigna <jug@sad.it>
16907 * BufferView_pimpl.C (update): call a status update to see if LyXText
16910 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16912 * vc-backend.C (revert): implement for CVS
16913 (getLog): implement for CVS
16915 2001-02-20 Juergen Vigna <jug@sad.it>
16917 * text2.C (ClearSelection): added BufferView param for inset_owner call
16919 * lyxfunc.C (TEXT): added this function and use it instead of
16920 directly owner->view()-text of getLyXText().
16922 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16924 * src/layout_forms.C: out preamble
16925 * src/layout_forms.h: out preamble
16926 * src/lyx_cb.C: out preamble
16927 * src/lyx_cb.h: out preamble
16928 * src/lyx_gui.C: out preamble
16929 * src/lyx_gui_misc.C: out preamble
16930 * src/lyxfunc.C: connect with guii preamble
16932 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16934 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16936 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16938 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16939 whether to run bibtex.
16941 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16943 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16945 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16947 * Makefile.am (lyx_SOURCES): removed bibforms.h
16949 * vspace.h: doxygen
16951 * text.C (GetVisibleRow): make several local vars const
16953 * tabular.C: small cleanup.
16955 * lyxserver.C (callback): use compare instead of strncmp
16957 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16958 inlines to after class or to paragraph.C
16960 * lyxfont.h: remove friend operator!=
16962 * converter.h: move friend bool operator< to non friend and after
16965 * combox.h: small cleanup
16967 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16968 to inlines after class def.
16970 * buffer.C (pop_tag): use string operations instead of strcmp
16972 * bmtable.c: doxygen, small cleanup
16974 * LaTeX.h: remove friend operator==
16976 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16988 * BufferView_pimpl.C:
16989 * BufferView.[Ch]: remove cruft
16991 2001-02-14 Juergen Vigna <jug@sad.it>
16993 * lyxfunc.C: removed #if 0 unused code
16995 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16997 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16999 * text2.C (SetSelection): added a BufferView * parameter
17001 2001-02-13 Juergen Vigna <jug@sad.it>
17003 * lyxfunc.C (Dispatch): fixed protected blank problem.
17004 * BufferView2.C (protectedBlank): added LyxText * parameter.
17006 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17007 (AppendColumn): same as above for column_info.
17009 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17010 (moveCursorUpdate): use a LyXText param for support of InsetText.
17012 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17013 (tripleClick): ditto
17015 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17017 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17019 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17021 * text2.C (SetSelection): set correct update status if inset_owner
17022 (ToggleFree): ditto
17024 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17026 * tabular.C: remove some commented code.
17028 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17030 * BufferView_pimpl.C: call hideSplash()
17032 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17035 * bibforms.h: remove
17038 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17039 add LFUN_CHILD_CREATE
17041 * counters.h: fix tiny typo
17046 * lyx.C: move splash to frontends/xforms/
17048 * lyx_gui_misc.C: move Include and Bibform to frontends
17050 * lyxvc.h: clarify comment
17052 * vspace.C: tiny housekeeping
17054 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17056 * text.C (PrepareToPrint): RTL Fix.
17058 * paragraph.C (GetUChar): New method.
17059 (String): Use GetUChar.
17061 * buffer.C (asciiParagraph): Use GetUChar.
17063 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17065 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17067 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17070 * buffer.C: rename to getLogName(), handle
17071 build log / latex log nicely
17073 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17076 * MenuBackend.h: remove support for reference menuitem type.
17078 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17080 * BufferView_pimpl.C: housekeeping
17081 * BufferView_pimpl.h:
17086 * minibuffer.h: move Timeout GUI-I
17088 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17090 * lyxrc.C (read): Update converters data-structures.
17092 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17094 * LaTeX.h (operator!=): add operator != for Aux_Info
17096 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17098 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17100 * LaTeXLog.C: deleted, useful code moved to Buffer
17103 * buffer.C: new function getLatexLogName()
17109 * lyxfunc.C: use frontends for LaTeX and VC logs
17111 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17113 * LaTeX.h: yet another std:: that Allan forgot.
17115 * Variables.C (set): renamed from isset(), because this clashes
17116 with some HP-UX macros (grr).
17118 2001-02-06 Allan Rae <rae@lyx.org>
17120 * LaTeX.h: Another bug fix. Missing std:: this time.
17122 2001-02-04 Allan Rae <rae@lyx.org>
17124 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17125 floats problem. I've left it commented out because it's not quite
17126 correct. It should also test that the current object is a table or
17127 figure inset. But I haven't gotten around to figuring out how to do
17128 that. I *think* it'll be something like: "table" == inset.type()
17130 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17133 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17135 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17136 all the citation/databases/styles in the auxilary file.
17137 (run): Rerun latex if there was a babel language error.
17139 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17141 * text.C (Backspace): Preserve the font when changing newline char
17143 (BreakParagraph): If the cursor is before a space, delete the space.
17145 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17147 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17149 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17150 new argument (code).
17151 (ChangeCitationsIfUnique): New method.
17153 * paragraph.C (GetPositionOfInset): Handle bibkey.
17155 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17157 * BufferView_pimpl.h: change type of Position::par_pos to
17158 LyXParagraph::size_type.
17160 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17162 * BufferView_pimpl.C (savePosition, restorePosition): Write
17163 messages to minibuffer.
17165 2001-01-28 José Matos <jamatos@fep.up.pt>
17167 * buffer.C (makeDocBookFile): adds support for document language.
17168 A silly restriction on the name of LatexCommand types where removed.
17169 Added support for CDATA sections, allows to chars unescaped, used
17170 among others in code, to avoid escape < and >.
17172 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17174 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17175 saved positions instrad of a stack. Furthermore, a position is
17176 stored using paragraph id/paragraph position.
17178 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17179 Remove LFUN_REF_BACK.
17181 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17183 * converter.C (dvipdfm_options): New method.
17185 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17187 * vspace.C (isValidLength): Fix for empty input string.
17189 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17191 * LyXAction.C (init): change description of LFUN_FIGURE to
17194 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17196 * LaTeX.C: add using directive
17198 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17200 * MenuBackend.C (expand): Fix the sorting of the formats.
17202 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17204 * lyx_main.C: tiny error message fix
17206 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17208 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17209 calling fl_initialize(). This fixes the problem with ',' as
17210 decimal separator in text files.
17212 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17214 * trans.C (process): Fix the keymap bug.
17216 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17218 * LaTeX.C (scanAuxFiles): New method. Provides support for
17219 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17220 (scanLogFile) Scan for "run BibTeX" messages.
17222 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17223 OT1 font encoding. Also, load the aecompl package if the ae
17226 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17228 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17230 * texrow.C (increasePos): turn two error messages into debug
17233 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17235 * LaTeX.C (scanAux): Handle the \@input macro.
17236 (runBibTeX): Use scanAux().
17238 * language.C (latex_options_): New field.
17240 * LaTeXFeatures.C (getMacros): Add language macros.
17242 * buffer.C (makeLaTeXFile): Small fix.
17244 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17246 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17248 * text2.C: add a using directive.
17250 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17255 * lyxfunc.C: kill LyXBell.
17257 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17259 * text.C (IsBoundary): Remove the error message
17261 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17263 * lyxrc.C (setDefaults): Correct initialization value for
17266 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17268 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17271 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17272 and GotoNextNote().
17274 * src/LyXAction.C: Added reference-next.
17276 * text.C (InsertChar): Use contains instead of strchr.
17278 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17280 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17282 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17283 alignment commands (when needed).
17285 * text.C (InsertChar): Add ':' to number separator chars.