]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ws change
[lyx.git] / src / ChangeLog
1 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * text3.C (dispatch): size() -> depth()
4
5         * text2.C: remove some debug output
6
7         * paragraph.C: ws changes only
8
9         * lyxfunc.C (getStatus): size() -> depth()
10
11         * dociterator.h (clear, push_back, pop_back, internalData,
12         operator[], resize, empty): new functions
13         Make StableDocIterator and operator== be friends. Don't inherit
14         from std::vector use a privat class variable slices_ instead.
15         Modify to fit.
16
17         * dociterator.C: update because of not inheriting from std::vector
18         anymore. Call explictly to slices_ instead. Use depth() instead of
19         size() and top() instead of back()
20
21         * cursor.C: chagne size() -> depth and back() -> top(). Also
22         remove some direct operator[](i) calls in favour of foo[i]
23         (getFont): remove some dead code
24
25         * bufferview_funcs.C (coordOffset): size() -> depth()
26
27         * buffer.C: ws changes only
28
29         * CutAndPaste.C (eraseSelection): back() -> top()
30
31         * BufferView_pimpl.C (selectionRequested): back() -> top()
32
33         * BufferView.C (setCursor): size() -> depth()
34
35 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
36
37         * text3.C (cursorPrevious): return true if depm changed something
38         (cursorNext): ditto
39         (dispatch): rename sl to oldTopSlice, remove moving use the new
40         NoUpdate func attrib instead. Make sure that needsUpdate is set
41         for function that have NoUpdate, but where depm might have changed
42         the buffer anyway.
43
44         * text2.C (cursorLeft): make us return true if depm changed
45         something
46         (cursorRight): ditto
47         (cursorUpParagraph): ditto
48         (curosrDownParagraph): ditto
49         (cursorUp, cursorDown): ditto, make sure to read comments in code
50         (deleteEmptyParagraphMechanism): remove an assert, also return
51         true if just a single char was deleted.
52
53         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
54         cursor that we modify, to avoid modifying an active cursor before
55         we call setCursor. This allows depm to run. Also return true if
56         depm deleted something.
57
58         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
59         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
60         cursorDownParagraph, cursorPrevious and cursorNext, return true if
61         something was changed in the buffer because of them (ie. depm run)
62
63         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
64         debug messages. Make update by default be false. Make sure that
65         the result of update is retained throught several calls down to
66         dispatch.
67
68         * LyXAction.h: add a new func_attrib: NoUpdate
69
70         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
71         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
72         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
73         and LFUN_WORDLEFT
74         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
75
76 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
79         bv_->owner(), bv_->buffer() by direct references to the private
80         members.
81         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
82         (getStatus): isSavedPosition() is in BufferView::Pimpl.
83         (fitCursor): center() is in BufferView::Pimpl.
84         (getStatus, trackChanges, dispatch): no need for a temporary buf
85         variable
86         (fitCursor, workAreaDispatch): use workarea().workheight()
87
88 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
89
90         * CutAndPaste.C (pasteSelectionHelper): fix a crash
91
92 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
93
94         * buffer.C: format up to 241.
95         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
96         break if pasting into ERT
97         * lyxfunc.C (getStatus): suppress mathpanel and
98         LFUN_DIALOG_SHOW_NEW_INSET in ERT
99
100 2005-02-01  Angus Leeming  <leeming@lyx.org>
101
102         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
103
104 2005-02-01  Angus Leeming  <leeming@lyx.org>
105
106         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
107         calling fs::is_directory().
108
109 2005-01-31  Angus Leeming  <leeming@lyx.org>
110
111         * lyx_main.C (priv_exec): specify explicitly the relative location
112         of the top level build directory when run in-place.
113
114 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
117         LyXText containing the cursor, not the top-level one.
118
119         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
120         true.
121         (insertStringAsLines): rename par to pit; use temporary variable
122         par to hold a Paragraph; do not store par.layout() in a variable,
123         since the pointer may die when breaking paragraphs; pass pars to
124         breakParagraph() instead of Buffer::paragraphs().
125
126 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
127
128         * lyxlex_pimpl.h: #include <fstream>.
129
130         * BufferView.[Ch] (getLyXText): add a const version.
131
132         * BufferView_pimpl.C: add debug aids.
133
134         * RowList_fwd.h:
135         * buffer.h:
136         * lyxrow.h:
137         * paragraph_funcs.h: add commentary explaining what the class does.
138
139
140         * coordcache.[Ch]: add lots of commentary.
141         (startUpdating, doneUpdating): debug aids.
142         (arrays, insets, parPos, getParPos): accessors to private data.
143
144         * cursor_slice.[Ch] (text): add a const version.
145         * dociterator.[Ch] (text, innerText): add const versions.
146
147         * lyxtext.h (breakParagraph): change the keep_layout arg to a
148         bool.
149
150         * paragraph.C (getRow, pos2ros): add asserts.
151
152         * paragraph.h: add commentary. Lots of.
153
154         * paragraph.[Ch] (metrucs, draw): removed.
155
156         * cursor.C:
157         * rowpainter.[Ch]: const-correct changes.
158
159         * text.C: various obvious clean-ups. Removal of ancient cruft.
160         Bug fixes, even.
161
162 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
163
164         * vc-backend.C (find_file): rewrite to use boost.filesystem
165         (scanMaster): ditto
166
167         * main.C (main): set default name check for boost.filesystem to
168         no check
169
170         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
171         (open): ditto
172         (doImport): ditto
173         (actOnUpdatedPrefs): ditto
174
175         * lyx_main.C (init): rewrite to use boost.filesystem
176         (queryUserLyXDir): ditto
177
178         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
179         (getContentsOfAsciiFile): ditto
180
181         * lastfiles.C (readFile): rewrite to use boost.filesystem
182
183         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
184
185         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
186         (loadLyXFile): ditto
187
188         * buffer.C (Buffer): adjust for destroydir
189         (getLogName): rewrite to use boost.filesystem
190         (setFileName): ditto
191         (save): use fs::copy_file (from fs_extras)
192
193         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
194
195         * LaTeX.C (run): rewrite to use boost.filesystem
196         (scanAuxFiles): ditto
197         (handleFoundFile): ditto
198
199 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
200
201         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
202
203         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
204
205 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
206
207         * lyxlayout.[Ch]: change some vars from float to double
208
209         * buffer.C (readFile): make a local var const
210
211         * Several files: use convert<> instead of atoi,strToXXX and friends
212
213 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
214
215         * LaTeXFeatures.[Ch]: Add a static list packages_ that
216         holds the contents of packages.lst. New functions getAvailable
217         and isAvailable to parse and check that list, resp.
218
219         * LyXAction.C:
220         * lfuns.h:
221         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
222
223         * bufferparams.[Ch]: new param output_changes.
224
225         * Buffer.C: increase file format to 240.
226         Use output_changes and isVailable.
227
228         * changes.[Ch]:
229         * paragraph.C:
230         * paragraph_pimpl.C: Use output_changes and isVailable.
231
232 2005-01-23  Angus Leeming  <leeming@lyx.org>
233
234         * output_latex.C: #include "insetbibitem.h", rather than
235         forward declare function bibitemWidest.
236
237 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
238
239         * lyx_main.C (init): make it compile on the Mac.
240
241 2005-01-20  Angus Leeming  <leeming@lyx.org>
242
243         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
244         (setLyXMisc): (char string literal) != (char string literal) is
245         performing a comparison on the addresses. Convert one operand
246         explicitly to string to guarantee expected behaviour.
247         From MSVC warning.
248
249 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
250
251         * buffer.C:
252         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
253
254         * output_plaintext.C: remove unneeded #include gzstream.h.
255
256 2005-01-20  Angus Leeming  <leeming@lyx.org>
257
258         * SpellBase.h: rename some of the elements of the Result enum.
259
260         * aspell_local.h:
261         * ispell.h:
262         * pspell.h:
263         * aspell.C (check):
264         * ispell.C (check):
265         * pspell.C (check): ditto
266
267 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
268
269         * buffer.C: add #include <fstream>.
270
271         * lyx_main.C (init): Compile fix.
272
273         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
274
275 2005-01-20  Angus Leeming  <leeming@lyx.org>
276
277         * mover.h: change commentary to reflect the changed meaning of
278         the $$s placeholder.
279
280 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * output_linuxdoc.C (linuxdocParagraphs): silence warning
283
284         * lyxfind.C (MatchString::operator()): remove bogus semicolon
285
286 2005-01-20  Angus Leeming  <leeming@lyx.org>
287
288         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
289         printing diagnostic data by not dereferecing an iterator past the
290         end.
291
292 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
293
294         * buffer.C (readHeader): use "&&" rather than "and".
295
296         * lyxserver.h (inPipeName, outPipeName): make these const.
297
298 2005-01-19  Angus Leeming  <leeming@lyx.org>
299
300         * lyx_main.C (error_handler, init): protect SIGHUP with
301         #ifdef SIGHUP guards.
302
303 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
306
307 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * text.C (setHeightOfRow): add a margin at the top and bottom of
310         the document (bug 1761)
311
312 2005-01-17  Angus Leeming  <leeming@lyx.org>
313
314         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
315         with "python ". Workaround for a brain-dead Windows.
316
317 2005-01-16  Angus Leeming  <leeming@lyx.org>
318
319         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
320         for MacOSX and Windows to use prependEnvPath.
321         Strip out the hard-coded block to add elements to the PATH for
322         MacOSX and replace it with a call to prependEnvPath using the
323         contents of LyXRC::path_prefix.
324         (queryUserLyXDir): strip out the code to run reconfigure, instead
325         returning a boolean indicating the necessity to do so.
326         (reconfigureUserLyXDir): contains the code to reconfigure the
327         user support directory. Is now called after the various LyXRC data
328         files have been read.
329
330         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
331
332 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
333
334         * converter.[Ch] (convert): take a new parameter try_default. Use
335         a default converter (imagemagick) if try_default is true.
336
337 2005-01-13  Angus Leeming  <leeming@lyx.org>
338
339         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
340         os::cygwin_path_fix.
341         (write): output LyXRC::cygwin_path_fix as necessary.
342
343 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
344
345         * lyxrc.h:
346         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
347
348 2005-01-12  Angus Leeming  <leeming@lyx.org>
349
350         * lyx_main.C (init): set the PATH variable to include the
351         directory containing the LyX binary when running on Mac or Windows.
352
353 2005-01-12  Angus Leeming  <leeming@lyx.org>
354
355         * lyx_main.C (init): remove cruft that purports to set the locale
356         dir. It doesn't and is not needed anyway.
357
358 2005-01-10  Angus Leeming  <leeming@lyx.org>
359
360         * Makefile.am: remove the lyx_main.C special casing.
361
362         * BufferView_pimpl.C:
363         * bufferlist.C:
364         * exporter.C:
365         * lyx_cb.C:
366         * lyx_main.C:
367         * lyxfunc.C:
368         * messages.C: use support/package.h to provide the paths to the
369         various directories used by LyX.
370
371 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
374         layout if pasting into an empty paragraph)
375
376 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
377
378         * tex-accent.C: add <string>
379
380 2005-01-06  José Matos  <jamatos@lyx.org>
381
382         * ParagraphParameters.C (write): put every parameter in its own line.
383         * paragraph.C (write): reduce number of consecutive empty lines exported.
384         * buffer.C (LYX_FORMAT): increase file format to 239.
385
386 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
387
388         * everywhere: change support/tostr.h -> support/convert.h
389
390         * tabular.C: make all write_attributes templates, tostr -> convert
391
392         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
393         (emptyTag): and -> &&, and fix type for ret from getChar
394         (getFirstWord): fix type for ret from getChar
395         (onlyText): and -> &&
396         (simpleDocBookOnePar): and not -> && !, fix type for ret from
397         getChar
398
399         * toc.C (goTo, action):
400         * text3.C (dispatch):
401         * text.C (currentState):
402         * tex-accent.C (DoAccent):
403         * sgml.C:
404         * lyxrc.C:
405         * lyxfunc.C (menuNew):
406         * lyxfinc.C (replace):
407         * counters.C (laberItem):
408         * bufferview_funcs.C (font2string):
409         * bufferparams.C (writeFile):
410         * buffer.C (readFile):
411         * Spacing.C (set):
412         * MenuBackend.C: tostr -> convert
413
414         * LaTeX.C (runMessage): fix format
415         (scanAuxFiles): tostr -> convert
416
417         * BufferView_pimpl.C (savePosition): fix format
418         (restorePosition): ditto
419         (dispatch): ditto
420
421 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
422
423         * Spacing.[Ch]: New method getValueAsString().
424
425         * Spacing.[Ch]:
426         * bufferparams.C:
427         * ParagraphParameters.C:
428         * lyxlayout.C:
429         * text.C:
430         * text3.C: store/read spacing value as string.
431
432         * rowpainter.C: change float value (spacing_val) to double.
433
434         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
435         broken custom document spacing).
436
437 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
438
439         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
440         namespace, also more use of temp references and const
441
442         * cursor.[Ch] (getStatus): move to lyxfunc.C
443
444         * bufferparams.C: reformat slightly
445
446         * bufferview_funcs.C (font2string): constify arg
447
448         * changes.C:
449         * converter.C:
450         * counters.C:
451         * bufferlist.C:
452         * buffer_funcs.C: (many funcs): constify arg on function
453         definitions, also make more local vars const, also add ASSERTS on
454         pointer args.
455
456         * buffer.C (LYX_FORMAT): put const in correct place
457         (many funcs): constify arg on function definitions, also make
458         more local vars const
459
460         * aspell_local.h: remove "struct" from typdef setup
461
462         * aspell.C (check): make word_ok const
463         (nextMiss): simplify slightly
464         (error): ditto
465
466 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
467
468         * lyxrc.[Ch]: store all float values as strings.
469         use int (not float) for lyxrc.dpi.
470
471 2005-01-04  Angus Leeming  <leeming@lyx.org>
472
473         * lyx_cb.C (Reconfigure):
474         * lyx_main.C (queryUserLyXDir):
475         to run the <system_lyxdir>/configure correctly on Windows, prefix
476         the path to the script with "sh " when generating the string that
477         is passed to system().
478
479 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
480
481         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
482
483 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         * lyxlength.C (asLatexString): get rid of setprecision
486
487 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * text2.C (setLayout): remove unused variable endpit.
490         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
491
492         * paragraph.C (onlyText): remove unused variable style.
493
494         * cursor.C (bruteFind): remove unused variables beg and end.
495
496         * Makefile.am (dist_noinset_DATA): not needed anymore
497
498         * cheaders/*: remove.
499
500 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
501
502         * text3.C: fix LFUN_MATH_MODE.
503
504 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * buffer_funcs.C (countWords): new function. Counts words between
507         two iterators.
508
509         * BufferView_pimpl.C (getStatus, dispatch): handle
510         LFUN_WORDS_COUNT.
511
512         * LyXAction.C (init):
513         * lfuns.h: add LFUN_WORDS_COUNT.
514
515 2004-12-19  Angus Leeming  <leeming@lyx.org>
516
517         * buffer.C (save): s/slashify_path/internal_path/.
518
519 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
520
521         * lyxfind.C (findChange): do not search for end of pars, because
522         the change tracker cannot handle this (fixes bug 1719).
523
524 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
525
526         * paragraph.[Ch] (autoBreakRows): remove
527
528         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
529
530         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
531         avoid using the paragraph one
532
533         * text2.C (LyXText, insertStringAsLines): adjust
534
535 2004-12-16  Angus Leeming  <leeming@lyx.org>
536
537         * bufferlist.C:
538         * lyx_main.C:
539         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
540
541 2004-12-14  Angus Leeming  <leeming@lyx.org>
542
543         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
544
545         * bufferlist.C (emergencyWrite):
546         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
547         GetEnvPath("HOME").
548
549 2004-12-14  Angus Leeming  <leeming@lyx.org>
550
551         * main.C: (main): no longer pass pointers to os::init.
552
553 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
554
555         * undo.C (textUndoOrRedo): simplify logic, fix a crash
556         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
557
558 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
559
560         * lyxfunc.C:
561         * text3.C: remove selection_possible global flag
562
563 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * text2.C (getSelectionSpan): remove
566         (changeDepth, changeDepthAllowed): adjust
567
568 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
569
570         * Makefile.am (BOOST_LIBS): use boost variables
571
572 2004-12-03  José Matos  <jamatos@lyx.org>
573
574         * buffer.C: format up to 238.
575
576 2004-12-03  José Matos  <jamatos@lyx.org>
577
578         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
579
580 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
581
582         * cursor.C (goUpDown): remove call to idxUpDown2
583
584 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
585
586         * tabular.[Ch]: use size_t-like types for cell, row and column
587         indices
588
589 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * lyxfunc.C (getStatus): do not lose previous information when
592         calling BufferView::getStatus; do not set a default "Command
593         disabled" message at the beginning, but just before returning.
594
595 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
596
597         * cursor.h (getStatus): add better comment from src/cursor.C
598
599 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * text3.C (getStatus): return false when the lfun is not handled
602
603 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
604
605         * broken_headers.h: remove
606
607         * Makefile.am (lyx_SOURCES): remove broken_headers.h
608
609 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
610
611         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
612         offset_ref accessors
613
614         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
615         top_y_, merge fitcursor with update
616         (updateScrollbar, scrollDocView, fitCursor, center, update): new
617         coord scheme
618         (metrics): introduce
619         (workAreaDispatch): adapt to new coord scheme
620         (redoCurrentBuffer): remove
621
622         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
623
624         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
625         CurStatus enum.
626
627         * coordcache.[Ch]: add paragraph cache and helpers
628
629         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
630         adjust everywhere
631
632         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
633         (targetX, setTargetX): introduce
634
635         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
636         baseline -> ascent, as the rest of lyx
637
638         * lyxtext.h: remove redoParagraphs, updateParPositions,
639         fullRebreak, redoParagraphInternal. move dist to anon namespace in
640         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
641         have ascent/descent (ascent is ascent of first par)
642
643         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
644         step of BufferView
645
646         * paragraph.[Ch]: unify dimension handling with the rest of lyx
647
648         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
649
650         * pariterator.C: fix infinite loop introduced in par->pit renaming
651
652         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
653         in insets and LyXText, draw two off-screen paragraphs using
654         NullPainter, and adapt to new coord scheme
655
656         * text.C:
657         * text2.C:
658         * text3.C: adapt lfun handlers to the new coord scheme, which
659         means: there's only guaranteed coord information for onscreen pars
660         plus one above and one below. This implies that one can do search
661         from y coordinates in the range [-1,workHeight]
662
663 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
664
665         * rename a lot of InsetOld to InsetBase
666
667 2004-11-25  Angus Leeming  <leeming@lyx.org>
668
669         * BufferView_pimpl.C:
670         * lyx_cb.C:
671         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
672
673 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
676         call BufferView::getStatus if LCursor::getStatus did nothing
677         (setStatusMessage, getStatusMessage): removed.
678
679         * FuncStatus.C (message): new methods. Used to provide an error
680         message indicating why a command is disabled.
681         (clear, |=, FuncStatus): update for message.
682
683 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
684
685         * lyxfunc.C (dispatch): always call sendDispatchMessage
686
687 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
688
689         * BufferView.C:
690         * BufferView_pimpl.C:
691         * CutAndPaste.C:
692         * FontIterator.C:
693         * buffer.C:
694         * cursor.C:
695         * cursor_slice.[Ch]:
696         * dociterator.[Ch]:
697         * lyxfind.C:
698         * paragraph_funcs.C:
699         * pariterator.C:
700         * rowpainter.C:
701         * text.C:
702         * text2.C:
703         * text3.C:
704         * undo.C: par->pit renaming
705
706 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
707
708         * tabular.C (cellstruct): use initialization, store a shared_ptr
709         to insettext instead of the insettext directly, adjust to fit.
710         (operator=):  new function
711         (swap): new function
712         (rowstruct): use initialization
713         (columnstruct): use initialization
714         (ltType): use initialization
715
716
717         * lyxlength.h (swap): new function
718
719         * LColor.[Ch] (operator=): use the common semantics
720
721 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * lyxfind.C (findNextChange): update the bufferview after setting
724         the selection.
725
726 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
727
728         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
729         number of InsetOptArgs has already been inserted.
730
731         * output_latex.C (latexOptArgInsets): new method. This outputs all
732         the optarg insets, up to the limit defined in the layout file.
733         (optArgInset): removed
734         (TeXOnePar): call latexOptArgInsets; correctly update texrow
735
736 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
737
738         * paragraph.C (isLetter): remove special spellchecker-related
739         code; return true also for digits
740         (isWord, isKomma): remove
741
742         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
743         * lyxfind.C (MatchString()): use isLetter instead of isWord
744
745 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
746
747         * pariterator.h (operatir=): comment out un-implemented member
748         function.
749
750         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
751         static cast.
752
753 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
754
755         * lyxfont.h: include LColor.h to satisfy concept checks.
756
757 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
758
759         * pariterator.h: add typdefs for value_type, difference_type,
760         pointer and reference to satisfy concept checks. Also add default
761         constructor for same reason.
762
763         * pariterator.C (operator++): add post-increment operator to
764         satisfy concept checks.
765
766         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
767         checks.
768
769         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
770
771         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
772         checks. Also rename base_type to BaseType to follow naming
773         standard better.
774
775         * FloatList.h: include Floating.h to satisfy concept checks.
776
777 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * lyxfunc.C (getStatus): when the origin of the request is menu or
780         toolbar, and the LyXView does not have focus, do as if there was
781         no buffer (bug 1720)
782
783         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
784         FuncRequest to individual entries of LFUN_SEQUENCE
785
786 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
787
788         * output_latex.C (TeXOnePar): override runparams.moving_arg
789         according to the needprotect value of the current paragraph (bug
790         1739)
791
792         * paragraph.C (simpleTeXOnePar): no need to override
793         runparams.moving_args here
794
795 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
796
797         * vspace.C: fix off-by-one-error, related to fix #1682
798
799 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
800
801         * lengthcommon.C: a more general fix for bug 1682
802
803 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
804
805         * text.C (backspace): fix crash
806
807 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
808
809         * format.[Ch] (getFormatFromFile): new method
810         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
811
812 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
815
816 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * lyxfunc.C (dispatch): remove the verbose argument
819         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
820         instead
821
822         * kbmap.C (defkey): set the origin of func to KEYBOARD
823
824         * MenuBackend.C (MenuItem):
825         * ToolbarBackend.C (add): set the origin of func to UI
826
827         * funcrequest.[Ch]: add origin member, which indicates which part
828         of LyX requests an action
829
830 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
831
832         * converter.C (move): don't lie in the error message
833         * converter.h (isReachable, move): document
834
835 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * buffer.C: remove unused using lyx::support::atoi
838         * paragraph_funcs.C: ditto
839
840 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
841
842         * bufferlist.C (exists): use bind and equal_to instead of
843         compare_memfun
844         (getBuffer): ditto
845         * lyxtextclasslist.C (NumberOfClass): ditto
846
847         * cursor.C (insert): use for_each instead of explicit for loop
848
849         * bufferlist.C (getFileNames): use std::transform and
850         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
851
852         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
853         for loop
854
855         * buffer.C (changeLanguage): use for_each instead of explicit for
856         loop
857         (hasParWithID): implement using getParFromID
858
859         * LaTeXFeatures.C: ws change only
860
861         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
862         to cleanup a bit.
863
864         * BufferView_pimpl.C (trackChanges): use for_each instead of
865         expilicit for loop
866
867 2004-11-04  André Pönitz  <poenitz@gmx.net>
868
869         * undo.h:
870         * undo.C (textUndoOrRedo): fix crash when creating undo information.
871
872         * dociterator.C (asDocIterator): use hard assert again.
873
874 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         * lyxlength.C (asLatexString): rewrite so that it does not use
877         snprintf anymore
878
879 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
880
881         * text3.C (specialChar, dispatch): make sure cursor moves to the
882         right after inserting an inset
883
884 2004-11-02  José Matos  <jamatos@lyx.org>
885
886         * output_docbook.C (docbook):
887         * paragraph.C (getID):
888         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
889         garantee that the output is always legal.
890
891         * tabular.C (docbook):
892         * outputprams.[Ch]: remove mixed contents.
893
894 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
895
896         * text2.C (setCounter): prevent endless loop
897
898 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
899
900         * exporter.C (copyFile): use the mover instead of support::copy()
901         * exporter.C (Export): pass format and latex name to copyFile()
902         * exporter.h (addExternalFile): document
903         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
904
905 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
906
907         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
908
909 2004-10-30  José Matos  <jamatos@lyx.org>
910
911         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
912         text and no inset or font change. This allows to use CDATA
913         sections just for the whole paragraph.
914
915 2004-10-30  José Matos  <jamatos@lyx.org>
916
917         * paragraph.C (getFirstWord): remove unused variable.
918
919 2004-10-30  José Matos  <jamatos@lyx.org>
920
921         * paragraph.C (getFirstWord): the content should always be escaped
922         there.
923         (simpleDocBookOnePar):
924         * output_docbook.C (makeEnvironment): replace reference to CDATA
925         to style pass_thru.
926
927 2004-10-30  José Matos  <jamatos@lyx.org>
928
929         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
930
931 2004-10-30  José Matos  <jamatos@lyx.org>
932
933         * output_docbook.C (makeParagraphs):
934         * paragraph.[Ch] (emptyTag): for docbook and company, if the
935         standard paragraph has only a given type of content drop the wrapper.
936
937 2004-10-29  José Matos  <jamatos@lyx.org>
938
939         * output_docbook.C (makeEnvironment):
940         * sgml.C (openTag):
941         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
942
943 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
944
945         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
946         (cleanID): sanitize any id.
947
948 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
949
950         * buffer.C, lyxlex_pimpl.C:
951         * lyxlex_pimpl.C (setFile):
952         s/getExtFromContents/getFormatFromContents/
953
954 2004-10-28  José Matos  <jamatos@lyx.org>
955
956         * output_docbook.C (makeEnvironment): move id to broadest possible
957         scope.
958
959         * sgml.C (openTag): apply substitution of <> for all attributes.
960
961 2004-10-28  José Matos  <jamatos@lyx.org>
962
963         * buffer.C (makeLinuxDocFile, makeDocBookFile):
964         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
965         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
966
967         * sgml.[Ch]: new version for open and closeTag for paragraph and
968         for strings. Now they handle the ids of paragraphs.
969
970 2004-10-26  Angus Leeming  <leeming@lyx.org>
971
972         * Makefile.am: add mover.[Ch].
973
974         * converter.C (convert, move): use the new Movers to move external
975         files to the temp directory.
976
977         * lyx_main.C (init): ensure that the global system_movers data
978         is initialised.
979
980         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
981         preferences file.
982
983         * mover.[Ch]: new files, defining a Mover as a utility to move an
984         external file between directories and, if necessary, manipulate this
985         file using a helper script.
986
987 2004-10-25  José Matos  <jamatos@lyx.org>
988
989         * output_docbook.C (makeCommand): merge two if's that tested the
990         same condition.
991
992 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
993
994         * sgml.C (escapeString): fix warning in a better way
995
996 2004-10-25  José Matos  <jamatos@lyx.org>
997
998         * sgml.C (escapeString): import the require boosts header file for
999         tie, and avoid a signed unsigned comparison.
1000
1001 2004-10-25  José Matos  <jamatos@lyx.org>
1002
1003         * sgml.h: add #include <string>
1004
1005 2004-10-25  José Matos  <jamatos@lyx.org>
1006
1007         * sgml.[Ch] (escapeString): new function to escape all the string.
1008
1009 2004-10-24  José Matos  <jamatos@lyx.org>
1010
1011         * paragraph.[Ch] (getFirstWord): new function to get the first
1012         word. Useful for description.
1013         (simpleDocBookOnePar): remove depth argument, add another that
1014         says where to start the paragraph.
1015
1016         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1017         use the new functions to fix cleanly the support for descriptions.
1018
1019 2004-10-24  José Matos  <jamatos@lyx.org>
1020
1021         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1022         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1023         * output_linuxdoc.C (linuxdocParagraphs):
1024         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1025         add buffer as argument.
1026
1027 2004-10-24  José Matos  <jamatos@lyx.org>
1028
1029         * output_docbook.C (makeEnvironment, searchEnvironment): place
1030         CDATA inside paragraphs and fix scope for listitems.
1031
1032 2004-10-24  José Matos  <jamatos@lyx.org>
1033
1034         * output_docbook.C: remove using statement for stack.
1035
1036 2004-10-23  José Matos  <jamatos@lyx.org>
1037
1038         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1039         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1040         docbook. The new scheme is recursive and makes use of iterators, the
1041         same as latex export works.
1042         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1043         directly with the paragraph contents. This code was moved up to
1044         output_docbook.C (docbookParagraphs).
1045         * sgml.C (openTag, closeTag): removed unneeded newlines.
1046         (closeEnvTags) removed.
1047
1048 2004-10-23  André Pönitz  <poenitz@gmx.net>
1049
1050         * undo.C (textUndoOrRedo):
1051         * dociterator.C (asDocIterator): work around crash
1052
1053         * cursor.C (getStatus): replace ASSERT by more verbose error message
1054           and manual correction of the problem. Should increase stability
1055           while providing more sensible information.
1056
1057 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1060
1061         * bufferlist.C (previous, next): new methods
1062
1063         * lfuns.h:
1064         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1065
1066 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1067
1068         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1069         entities to preamble.
1070
1071 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1072
1073         * messages.C (Pimpl): strip off translation context information
1074
1075 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1076
1077         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1078         the cursor is correct (bug 1694)
1079
1080 2004-10-13  José Matos  <jamatos@lyx.org>
1081
1082         * output_docbook.C (docbookParagraphs): fix closing tags in the
1083         end of the document.
1084
1085 2004-10-09  José Matos  <jamatos@lyx.org>
1086
1087         * buffer.C: format up to 237.
1088         * bufferparams.C (write): use tostr to convert booleans to strings.
1089
1090 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1093
1094 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * LaTeX.C: implement use of babel language in xindy.
1097
1098 2004-10-05  José Matos  <jamatos@lyx.org>
1099
1100         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1101         Add new translators to help reading and writing the lyx file.
1102
1103 2004-10-05  José Matos  <jamatos@lyx.org>
1104
1105         * ParagraphParameters.C (read):
1106         * text.C (readParToken): replace nexToken by more appropriate lex
1107         methods.
1108
1109 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1110
1111         * LaTeX.C (runMakeIndex):
1112         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1113         (usually 'makeindex') configurable.
1114
1115         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1116         with a variable rather than with a number.
1117
1118 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1119
1120         * output_latex.C (TeXOnePar): make sure font setting is the first
1121         thing that gets output (and the last at the end). Should fix bug
1122         1404.
1123
1124 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1125
1126         * pch.h: use proper signal include
1127
1128         * LaTeX.h: Use preferred calling of Boost.Signal
1129         * buffer.h: ditto
1130
1131 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1132
1133         * pch.h: dont include <boost/function/function0.hpp>
1134
1135         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1136
1137         * paragraph_pimpl.h: remove usage of ShareContainer
1138
1139         * paragraph_pimpl.C: remove initialization of ShareContainer.
1140
1141 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         Fix bug #1666
1144
1145         * BufferView.C (putSelectionAt): change the semantics when
1146         backwards == true: now, this just swaps cursor and anchor wrt the
1147         forward case
1148
1149         * BufferView.h (putSelectionAt): add some documentation
1150
1151         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1152         make sure backwardChar is done at least once (to avoid getting
1153         stuck)
1154         (findNextChange): use putSelectionAt in the forward direction
1155         (operator()): use Paragraph::isWord
1156
1157 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1158
1159         * Spacing.C (set): c_str fix
1160
1161 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1162
1163         * lyx_cb.C (Reconfigure): quote the name of configure script in
1164         case it contains spaces
1165
1166 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1167
1168         * client: new dir
1169
1170         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1171         (BOOST_LIBS): use top_buildir when looking for the file
1172
1173 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1174
1175         * pch.h: do not use include boost/format.hpp, multiple symbols
1176                 will result (gcc bug)
1177
1178
1179 2004-08-23  José Matos  <jamatos@lyx.org>
1180
1181         * bufferparams.C (readToken): fix reading of the author field.
1182
1183 2004-08-20  José Matos  <jamatos@lyx.org>
1184
1185         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1186
1187 2004-08-20  José Matos  <jamatos@lyx.org>
1188
1189         * lyxlex.[Ch] (findToken): remove function.
1190
1191         * ParagraphParameters.C (findToken):
1192         * bufferparams.C (findToken): replace call for previous function
1193         with local copy. This local function has one more argument, the
1194         read string argument.
1195
1196 2004-08-16  José Matos  <jamatos@lyx.org>
1197
1198         * ParagraphParameters.C (write):
1199         * Spacing.C (writeFile):
1200         * bufferparams.C (writeLaTeX):
1201         * lyx_cb.C (Reconfigure):
1202         * paragraph.C (write):
1203         * tabular.C (write): remove unnecessary space at end of line.
1204
1205
1206 2004-08-16  José Matos  <jamatos@lyx.org>
1207
1208         * text.C (readParagraph): remove debug message.
1209
1210 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1213         crash
1214
1215         * output_plaintext.C (asciiParagraph): set depth correctly
1216
1217         * outputparams.h: add member depth
1218
1219         * paragraph_funcs.C (ownerPar): remove.
1220
1221         * text2.C (setCounter): remove first_pit; comment out some
1222         non-working code that uses ownerPar
1223
1224         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1225         uses ownerPar
1226
1227 2004-08-16  José Matos  <jamatos@lyx.org>
1228
1229         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1230         For the same level of importance use the same chanel to report problems.
1231         (read): add code to deal with \begin_body and \end_body.
1232
1233
1234 2004-08-15  José Matos  <jamatos@lyx.org>
1235
1236         * lyxlex.C (getString): fix comment, buffer::readBody is now
1237         buffer:readDocument.
1238
1239         * tex-strings.C (string_papersize): Default -> default,
1240         Custom -> custom, for consistency with other options.
1241
1242 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1243
1244         * pch.h: new file
1245
1246         * Makefile.am: support pch
1247
1248 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * text.C (readParToken): remove the static LyXFont variable and
1251         pass it as a parameter instead. This fixes a nasty bug where an
1252         inset will be inserted with a bad font in some situations
1253         (readParagraph): adapt
1254
1255         * text2.C (setCounter): reduce number of calls to pars_[pit]
1256
1257         * text.C (singleWidth): add an assert, fix a test
1258
1259         * rowpainter.C (paintText): reduce number of calls to singleWidth
1260
1261         * paragraph.C (isHfill):
1262         (isNewline): ws only
1263
1264 2004-08-14  André Pönitz  <poenitz@gmx.net>
1265
1266         * text.C:
1267         * text2.C:
1268         * rowpainter.C:
1269         * lyxtext.h (several functions): use a Paragraph & argument
1270         instead of par_type
1271
1272 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1275
1276         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1277
1278         * text.C (singleWidth): remove useless test
1279
1280 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1281
1282         * tabular.h: remove bogus comments
1283
1284         * tabular.C (getDescentOfRow):
1285         (isPartOfMultiColumn): add assertions
1286
1287         * lyxlength.C (inPixels): remove #warning
1288
1289 2004-08-14  André Pönitz  <poenitz@gmx.net>
1290
1291         * paragraph.h: inline getChar()
1292
1293         * BufferView.h: remove unused declarations
1294
1295 2004-08-14  José Matos  <jamatos@lyx.org>
1296
1297         * Buffer.[Ch] (readDocument): new name for old readBody.
1298         * Buffer.C: new file format, new keywords: \begin_document,
1299         \begin_header, \begin_body, \end_body.
1300
1301         * bufferparams.C (readToken): replace all calls to lex.nextToken
1302         by lex.next(). Do the same to eatLine except where really needed.
1303
1304         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1305         line when writing to the lyx file.
1306
1307         * output_plaintext.C (asciiParagraph): fix Bibliography style
1308         handling.
1309
1310         * text.C (read): fix end of file handling.
1311
1312 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * MenuBackend.C (Menu::operator[]): new method to access
1315         individual menu items
1316         (Menu::hasFunc): new method. search for an item that corresponds
1317         to a given func
1318         (MenuBackend::specialMenu): new method
1319         (MenuBackend::expand): if a special menu has been set, skip
1320         entries whose func() appears in this menu
1321
1322 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1323
1324         * text3.C: use Debug::DEBUG a bit more
1325
1326         * text.C (leftMargin): try to simplify a tiny bit change var x to
1327         l_margin. Dont output the wide margins always.
1328         (rightMargin): no margin in inner texts
1329
1330         * rowpainter.h (nestMargin): new func
1331         (changebarMargin): new func
1332         (rightMargin): new func
1333
1334         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1335         now functions.
1336         (paintLast): ditto
1337
1338         * factory.C (createInset): modify setDrawFrame
1339
1340         * cursor.C: use Debug::DEBUG a bit more
1341
1342 2004-08-14  André Pönitz  <poenitz@gmx.net>
1343
1344         * coordcache.[Ch]:
1345         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1346         cache for all insets in (at least partially) visible (top-level)
1347         paragraphs.
1348
1349         * BufferView_pimpl.C: reset external coord cache before every update.
1350         This means the coord cache only contains valid entries.
1351
1352 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1353
1354         bug 1096
1355         * BufferView_pimpl.C (getInsetByCode): move function out of class
1356         and change in to a template in anon namespace. Also fix to do what
1357         suits us better.
1358
1359 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1360
1361         bug 1305
1362         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1363         of char
1364         (breakParagraph): rename par to par_offset and use a local
1365         reference. Add code to keep the language over a rebreak.
1366         (breakParagraphConservative): rename par to par_offset, use a
1367         local reference
1368         (mergeParagraph): ditto
1369         (outerHook): ditto
1370         (isFirstInSequence): ditto
1371         (outerFont): rename pit to par_offset
1372
1373         * paragraph.C: ws change
1374         * paragraph.h: ditto
1375         * text3.C: ditto
1376         * text.C: ditto
1377
1378 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1379
1380         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1381         treatment for ']'
1382
1383         * paragraph.C (simpleTeXOnePar): when we have a \item with
1384         optional argument, enclose the argument with curly brackets (in
1385         case it contains a closing square bracket)
1386
1387         * text2.C (editXY):
1388         * text2.C (editXY):
1389         * text3.C (checkInsetHit): constify
1390
1391 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392
1393         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1394         documents (bug 1629)
1395
1396 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         Fix toggling of collapsable insets with the mouse (bug 1558)
1399
1400         * lyxfunc.C (dispatch): adapt to LCursor changes
1401
1402         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1403         make sure that dispatch is not invoked twice
1404
1405         * cursor.C (needsUpdate): new method
1406         (dispatch): return void
1407         (result): new method, to access the DispatchResult of the cursor.
1408
1409 2004-08-13  José Matos  <jamatos@lyx.org>
1410
1411         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1412
1413 2004-08-13  André Pönitz  <poenitz@gmx.net>
1414
1415         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1416
1417         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1418           multiple cells
1419
1420 2004-08-12  André Pönitz  <poenitz@gmx.net>
1421
1422         * text3.C: take out the 'cursor right' form insertInset and only
1423         do it in those places when it is really needed. Fixes crash on
1424         C-m...
1425
1426 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1429
1430         * BufferView_pimpl.C (setBuffer): initialize the current font of
1431         the underlying LyXText
1432
1433 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * kbsequence.C (print): use UI native formatting for menu
1436         shortcuts
1437
1438         * text.C (insertChar): call Paragraph::insertChar with a font
1439         argument (cosmetic)
1440
1441         * paragraph.C (insertInset, insertChar): the version that takes a
1442         LyXFont argument is now a wrapper around the other one (the
1443         opposite used to be true).
1444
1445         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1446         argument. Font setting is done in Paragraph now.
1447
1448 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1449
1450         * outputparams.h: add new members intitle and lang.
1451
1452         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1453         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1454
1455 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1456
1457         * text3.C (dispatch): remove special handling of button 4 and 5,
1458         it is now taken care of in the frontend code.
1459
1460 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1461
1462         * Spacing.h: add <string> (STLPort compile fix)
1463
1464 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1465
1466         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1467
1468 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1469
1470         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1471         to bool.
1472
1473         * converter.C (showMessage): inherit from unary_function, make
1474         operator() const.
1475
1476         * buffer.C (writeFile): initialize retval
1477
1478         * InsetList.h: rename private variable list to list_
1479         * InsetList.[Ch]: adjust accordingly.
1480
1481 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1482
1483         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1484         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1485         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1486         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1487         * ParagraphParameters.C, LaTeXFeatures.C: replace
1488         "support/std_sstream.h" with <sstream>
1489
1490 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1491
1492         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1493         * lyxsocket.C (LyXServerSocket): ditto
1494         (serverCallback): ditto
1495
1496 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1497
1498         * LaTeXFeatures.C: check release date when loading jurabib.
1499
1500 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1501
1502         * lyxserver.C (startPipe): call register_socket_callback
1503         (endPipe): call unregister_socket_callback
1504
1505 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1506
1507         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1508         (LyXServerSocket): register the callback
1509         (LyXServerSocket): unregister the callback
1510         (fd): delete function
1511         (serverCallback): improve error checking and setup the callbacks.
1512         (dataCallback): change arg to fd.
1513         (writeln): new func (copied fro the client socket) used for server
1514         write to client.
1515         (LyXDataSocket): simplify
1516         (~LyXDataSocket): close ann unregiser callback
1517         (server): delete function
1518         (fd): delete function
1519         (readln): small changes, improve some std::string usage
1520         (writeln): constify a bit
1521
1522 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1525         Qt frontend
1526
1527 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1528
1529         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1530         after it has been populated
1531
1532 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1533
1534         * text2.C (insertInset): move cursor when inserting inset.
1535
1536 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1537
1538         * kbmap.C (findbindings): a couple of new methods. returns a
1539         container of kb_sequence objects. The real work is done by the
1540         private recursive version
1541         (printbindings): uses findbindings to print out a bracketed list
1542         of bindings (renamed from findbinding).
1543
1544         * MenuBackend.C (binding): use kb_keymap::findbindings
1545
1546         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1547
1548 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1549
1550         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1551
1552 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * paragraph.C (isWord): return true on insets that report
1555         isLetter().
1556
1557         * text.C (getWord): use Paragraph::isWord to decide what is in a
1558         word and what is not; fix bug 1609.
1559
1560 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1561
1562         * tex-strings.C: add "none" to string_paperpackages[], fixes
1563         off-by-one-error in the paperpackage selection.
1564
1565         * lyxlex.[Ch]:
1566         * tex-strings.[Ch]: char const * string[n]
1567         -> char const * const string[]
1568
1569 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1572         command, return early.
1573
1574 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1575
1576         * debug.h: add DEBUG to enum and fix size of ANY.
1577
1578         * debug.C: add support for Debug::DEBUG
1579         (showTags): cast errorTags.level to unsigned int
1580
1581         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1582         (redoCurrentBuffer): ditto
1583         (updateScrollbar): ditto
1584         * cursor.C (dispatch): ditto
1585         * text2.C (setLayout): ditto
1586         (setFont): ditto
1587         (updateCounters): ditto
1588         (editXY): ditto
1589         (deleteEmptyParagraphMechanism): ditto
1590
1591 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1592
1593         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1594         annotations to cleanup the Makefile slightly.
1595
1596 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * lyxrc.C: do not set user_email to a default value but use empty
1599         instead. The entry used to be translated, which does not work
1600         since at the point where lyxrc is constructed there is no
1601         translation service available
1602
1603         * messages.C (getLocaleDir): remove and use directly
1604         lyx_localedir() instead
1605
1606 2004-06-02  Angus Leeming  <leeming@lyx.org>
1607
1608         Fix crash caused by dereferencing null pointer 'exportdata' in
1609         OutputParams by creating a new ExportData variable on the heap,
1610         storing it in a boost::shared_ptr.
1611         The crash was triggered when generating an Instant Preview
1612         of an external inset.
1613
1614         * Makefile.am: add outputparams.C
1615
1616         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1617         (c-tor): allocate memory to it.
1618
1619         * exporter.C (c-tor): associated changes.
1620
1621 2004-06-01  Angus Leeming  <leeming@lyx.org>
1622
1623         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1624         contains data before calling isInset(0). (Bug 1513.)
1625
1626 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1627
1628         * exporter.C (checkOverwrite): new method
1629         * exporter.C (copyFile): new method
1630         * exporter.C (Export): copy referenced files to the document dir
1631         * exporter.[Ch]: new class ExportedFile
1632         * exporter.[Ch]: new class ExportData. Contains currently the
1633         names of referenced external files
1634         * outputparams.h: add exportdata member.
1635
1636 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1637
1638         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1639         version.C-tmp
1640
1641 2004-05-19  Angus Leeming  <leeming@lyx.org>
1642
1643         * LaTeXFeatures.C:
1644         * ToolbarBackend.C:
1645         * bufferparams.C:
1646         * lyxfunc.C: small changes due to the introduction of namespace
1647         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1648
1649 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * text3.C (dispatch): supress update when only moving the cursor
1652         * cursor.C (selHandle): remove commented code
1653
1654 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1655
1656         * paragraph.C (startTeXParParams): correct column count
1657         * CutAndPaste.C (pasteSelection): remove const_cast
1658         * output_docbook.C (docbookParagraphs): remove const_cast
1659         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1660         const_cast and return ParagraphList::const_iterator
1661         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1662         * output_plaintext.C (writeFileAscii): remove const_cast
1663         * paragraph.[Ch] (simpleTeXOnePar): make const
1664         * paragraph_funcs.C (outerPar): use const iterators
1665         * paragraph_pimpl.C (validate): use const iterators
1666         * text.C (setHeightOfRow): use const iterators
1667
1668 2004-05-17  Angus Leeming  <leeming@lyx.org>
1669
1670         * lfuns.h:
1671         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1672
1673         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1674         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1675         if the citation engine has changed.
1676
1677 2004-05-14  José Matos  <jamatos@lyx.org>
1678
1679         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1680         if the textclass does not provide it. Have it different for sgml and
1681         xml.
1682         support the language of document.
1683         * output_docbook.C (docbookParagraphs):
1684         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1685         first anchor as the id of the paragraph, remove special case code.
1686         * sgml.C (escapeChar): escape only < & >.
1687
1688 2004-05-14  Angus Leeming  <leeming@lyx.org>
1689
1690         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1691         dependencies on src/frontends/controllers/biblio.h. Define a
1692         CiteEngine_enum wrapper class to enable the enum to be forward
1693         declared.
1694
1695 2004-05-12  Angus Leeming  <leeming@lyx.org>
1696
1697         * buffer.C: up LYX_FORMAT to 234.
1698         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1699         use_numerical_citations with a single biblio::CiteEngine cite_engine
1700         variable.
1701         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1702
1703 2004-05-13  José Matos  <jamatos@lyx.org>
1704
1705         * converter.h:
1706         * converter.C (Converter, readFlags): add xml member.
1707         * outputparams.h: add XML flavor.
1708         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1709
1710 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1711
1712         * lyxfunc.C (dispatch):
1713         (getStatus): fix handling of LFUN_SEQUENCE
1714
1715 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * debug.C (showLevel): do not forget the end-of-line marker
1718
1719 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1720
1721         * kbmap.C (read): do not stop parsing a bind file when an error
1722         occurs (bug 1575)
1723
1724 2004-04-29  Angus Leeming  <leeming@lyx.org>
1725
1726         * cursor.C:
1727         * factory.C:
1728         * pariterator.C:
1729         * text2.C: wrap a bunch of #warning statements
1730         inside #ifdef WITH_WARNINGS blocks.
1731
1732 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1733
1734         * buffer.C: increment format to 233.
1735
1736 2004-04-28  Angus Leeming  <leeming@lyx.org>
1737
1738         * BufferView_pimpl.C:
1739         * lyxfunc.C:
1740         * text3.C:
1741         s/updateToolbar()/updateToolbars()/
1742         s/Toolbar.h/Toolbars.h/
1743
1744 2004-04-28  Angus Leeming  <leeming@lyx.org>
1745
1746         * BufferView.[Ch] (c-tor):
1747         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1748         No longer passes these data to the WorkArea generator.
1749
1750 2004-04-28  Angus Leeming  <leeming@lyx.org>
1751
1752         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1753
1754 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1755
1756         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1757
1758 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1759
1760         * output_latex.C (TeXEnvironment): make sure that there is a line
1761         break before \end{foo} for the last paragraph of a document
1762         (TeXOnePar): if the paragraph is at the end of the document (or
1763         inset) and the language has to be reset, then make sure that the
1764         line break is _before_ the language command, not after (fixes bug
1765         1225); also make sure that the language reset command is the first
1766         thing after the paragraph (to ensure proper nesting of
1767         environments and thus fix bug 1404)
1768
1769 2004-04-21  John Levon  <levon@movementarian.org>
1770
1771         * ToolbarBackend.h:
1772         * ToolbarBackend.C: make "name" be a programmatic name
1773         and a gui_name field.
1774
1775         * lyxfunc.C: display the minibuffer on M-x
1776
1777 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1780         (bug 1526)
1781
1782 2004-04-19  Angus Leeming  <leeming@lyx.org>
1783
1784         * BufferView_pimpl.C (setBuffer): changed preview interface.
1785
1786         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1787         possible values.
1788
1789 2004-04-19  John Levon  <levon@movementarian.org>
1790
1791         * BufferView_pimpl.C:
1792         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1793
1794 2004-04-05  Angus Leeming  <leeming@lyx.org>
1795
1796         * text.C (redoParagraphs): add call to updateCounters(), thereby
1797         fixing the missing "Figure #:" label from the caption of a
1798         figure float.
1799
1800 2004-04-13  Angus Leeming  <leeming@lyx.org>
1801
1802         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1803         cursor is clicked out of an inset.
1804
1805 2004-04-13  Angus Leeming  <leeming@lyx.org>
1806
1807         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1808         than an InsetOld one.
1809
1810 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1811
1812         * format.[Ch]: add editor to Format
1813         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1814         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1815
1816 2004-04-08  André Pönitz  <poenitz@gmx.net>
1817
1818         * metricsinfo.h: remove PainterInfo::width member
1819
1820 2004-04-08  Angus Leeming  <leeming@lyx.org>
1821
1822         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1823         "\providecommand" rather than "\newcommand", thereby preventing
1824         clashes with packages that define "\boldsymbol" themselves.
1825         Eg, beamer.
1826
1827 2004-04-08  Angus Leeming  <leeming@lyx.org>
1828
1829         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1830         thereby squashing an unnecessary warning.
1831
1832 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1833
1834         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1835         setBuffer()
1836
1837 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * BufferView.C (setCursor): call redoParagraph (some insets could
1840         have been opened)
1841         (putSelectionAt): remove the 'double update' trick
1842
1843         * BufferView_pimpl.C (fitCursor): call refreshPar
1844         (workAreaDispatch): remove an uneeded update call
1845         (dispatch): remove some manual update calls
1846
1847         * cursor.[Ch]: remove cached_y_, updatePos
1848         (selHandle): set noUpdate when appropriate
1849
1850         * lyxfunc.C (dispatch): track if we need an update
1851
1852         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1853
1854         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1855         (paintSelection): cheap optimization, do not call cursorX when not
1856         needed
1857         (paintPars): change signature
1858         (refreshPar): add
1859         (paintText): adjust
1860         (paintTextInset): adjust
1861
1862         * text.C: adjust
1863
1864 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1865
1866         * lengthcommon.C: compilation fix: remove explicit array size from
1867         unit_name[] and friends
1868
1869 2004-04-05  Angus Leeming  <leeming@lyx.org>
1870
1871         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1872
1873         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1874         present only for the preferences dialog.
1875         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1876
1877 2004-04-05  Angus Leeming  <leeming@lyx.org>
1878
1879         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1880         to enable the frontends to export changes to lyxrc correctly.
1881
1882         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1883
1884 2004-04-07  André Pönitz  <poenitz@gmx.net>
1885
1886         * cursor.[Ch] (selClear, adjust): remove math
1887
1888         * cursor_slice.C: more agressive assert
1889
1890         * lyxfunc.C:
1891         * BufferView_pimpl.C: rework mouse event dispatch
1892
1893         * dociterator.C:
1894         * paragraph.C:
1895         * text2.C:
1896         * text3.C: adjust
1897
1898 2004-04-05  André Pönitz  <poenitz@gmx.net>
1899
1900         * cursor.[Ch] (valign, halign...): remove unneeded functions
1901
1902 2004-04-05  Angus Leeming  <leeming@lyx.org>
1903
1904         * lyxlength.[Ch] (unit_name et al.): const-correct.
1905
1906 2004-04-05  Angus Leeming  <leeming@lyx.org>
1907
1908         * BufferView_pimpl.C:
1909         * buffer.C:
1910         * counters.C:
1911         * cursor.C:
1912         * lyxfunc.C
1913         * paragraph.C:
1914         * pariterator.C:
1915         * text.C:
1916         * text2.C:
1917         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1918
1919 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1920
1921         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1922
1923 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1924
1925         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1926         * BufferView_pimpl.[Ch] (getStatus)
1927         * BufferView.[Ch] (getStatus): add
1928         * lyxfunc.C (getStatus): move lfuns handled in
1929         BufferView::dispatch to te function above
1930         * Cursor.C (setSelection): set selection() = true
1931
1932 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1933
1934         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1935
1936 2004-03-31  Angus Leeming  <leeming@lyx.org>
1937
1938         * lyxfunc.C (dispatch): Fall through to the generic
1939         Dialogs::show("preamble").
1940
1941 2004-03-31  Angus Leeming  <leeming@lyx.org>
1942
1943         * lyxfunc.C (dispatch): Fall through to the generic
1944         Dialogs::show("spellchecker").
1945
1946 2004-03-31  Angus Leeming  <leeming@lyx.org>
1947
1948         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1949         preferences dialog.
1950
1951 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1952
1953         * BufferView.C
1954         * cursor.[Ch]
1955         * dociterator.[Ch]:
1956         * insetiterator.[Ch]:
1957         * lyxfind.C:
1958         * lyxfunc.C:
1959         * pariterator.[Ch]:
1960         * text2.C:
1961         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1962
1963 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1966         insets where we are putting the cursor.
1967
1968 2004-03-31  Angus Leeming  <leeming@lyx.org>
1969
1970         * lfuns.h:
1971         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1972
1973         * lyxrc.[Ch] (read, write): overloaded member functions taking
1974         a std::[io]stream arguments.
1975
1976         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1977
1978 2004-03-31  Angus Leeming  <leeming@lyx.org>
1979
1980         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1981         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1982
1983         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1984         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1985
1986 2004-03-31  Angus Leeming  <leeming@lyx.org>
1987
1988         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1989         the LFUN_ALL_INSETS_TOGGLE code.
1990
1991 2004-03-30  Angus Leeming  <leeming@lyx.org>
1992
1993         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1994         has died. Fall through to the generic Dialogs::show("document").
1995
1996 2004-03-30  Angus Leeming  <leeming@lyx.org>
1997
1998         * lfuns.h:
1999         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2000         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2001
2002         * lyxfunc.C (getStatus, dispatch): define the actions for these
2003         lfuns. Little more than a cut and pste job from ControlDocument.C
2004
2005         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2006
2007 2004-03-30  Angus Leeming  <leeming@lyx.org>
2008
2009         * lfuns.h:
2010         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2011         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2012
2013         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2014         open/closed state of ollapsable insets. Usage:
2015
2016         all-inset-toggle <state> <name>, where
2017         <state> == "open" || "closed" || "toggle" and
2018         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2019
2020         * lyxtext.h, text2.C (toggleInset): removed.
2021
2022         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2023         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2024         now passes LFUN_INSET_TOGGLE to the found inset.
2025
2026         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2027         is now invoked as "all-insets-toggle toggle branch".
2028
2029 2004-03-30  Angus Leeming  <leeming@lyx.org>
2030
2031         * dociterator.C:
2032         * insetiterator.C:
2033         * pariterator.[Ch]: added/corrected header blurb.
2034
2035 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2036
2037         * dociterator.[Ch]: add an inset_ member
2038         (backwardPos): implemented
2039         (backwardPos, forwardPos): use inset_ when the stack is empty.
2040         (doc_iterator_begin, doc_iterator_end): implemented
2041         * pariterator.[Ch]: adjust, add begin, end
2042         * insetiterator.[Ch]: adjust, add begin, end
2043         * cursor.C:
2044         * document.C:
2045         * BufferView.C:
2046         * BufferView_pimpl.C:
2047         * CutAndPaste.C: adjust
2048
2049 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2050
2051         * buffer.C: increment file format to 232.
2052         * LaTeXFeatures.C: add bibtopic package.
2053         * bufferparams.[Ch]: param \use_bibtopic.
2054
2055         * lyxrc.[Ch]: add lyxrc bibtex_command
2056         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2057
2058         * buffer.C: increment file format to 231.
2059
2060 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * dociterator.C: implement forwardPar
2063         * iterators.[Ch]: remove, replaced by
2064         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2065         * BufferView.C:
2066         * BufferView_pimpl.C:
2067         * CutAndPaste.C:
2068         * buffer.C:
2069         * bufferview_funcs.C:
2070         * cursor.C:
2071         * lyxfind.C
2072         * lyxfunc.C
2073         * paragraph_funcs.C
2074         * toc.C:
2075         * Makefile.am: adjust
2076
2077 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2078
2079         * CutAndPaste.C (pasteSelection): fix 2 crashes
2080         (eraseSelection): fix a crash
2081         * paragraph_funcs.C: remove a warning
2082
2083 2004-03-28  Angus Leeming  <leeming@lyx.org>
2084
2085         * lfuns.h:
2086         * LyXAction.C (init): new LFUN_PRINT.
2087
2088         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2089
2090 2004-03-27  Angus Leeming  <leeming@lyx.org>
2091
2092         * lfuns.h:
2093         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2094
2095         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2096
2097 2004-03-27  Angus Leeming  <leeming@lyx.org>
2098
2099         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2100         insetlist always contains non-null pointers to insets.
2101
2102 2004-03-26  Angus Leeming  <leeming@lyx.org>
2103
2104         * src/BufferView_pimpl.C:
2105         * src/CutAndPaste.C:
2106         * src/buffer.C:
2107         * src/iterators.C:
2108         * src/output_plaintext.C:
2109         * src/outputparams.h:
2110         * src/paragraph_funcs.C:
2111         * src/rowpainter.C:
2112         * src/text.C:
2113         * src/text2.C:
2114         * src/frontends/controllers/ControlErrorList.C:
2115         * src/frontends/gtk/FileDialogPrivate.C:
2116         * src/frontends/gtk/GPainter.C:
2117         * src/frontends/gtk/GToolbar.C:
2118         * src/frontends/qt2/QRef.C:
2119         * src/mathed/math_scriptinset.C: squash compiler warnings.
2120
2121 2004-03-26  Angus Leeming  <leeming@lyx.org>
2122
2123         * ispell.C (LaunchIspell::start):
2124         * lyx_cb.C (AutoSaveBuffer::start):
2125         invoke run(DontWait) rather than runNonBlocking().
2126
2127 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2128
2129         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2130
2131 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * kbsequence.C (print): adjust
2134
2135         * kbmap.C (printKeySym): rename and change signature
2136         (printKey): use LyXKeySym::print()
2137
2138 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2139
2140         * undo.C: add using std::advance to compile for stlport
2141
2142 2004-03-24  Angus Leeming  <leeming@lyx.org>
2143
2144         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2145         it leads to a crash when no buffer is present.
2146
2147 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148             Martin Vermeer  <martin.vermeer@hut.fi>
2149
2150         * lyxfunc.C (dispatch):
2151         * bufferparams.C (readToken): use the new LColor::setColor
2152
2153         * LColor.[Ch] (setColor): new version that takes two strings as
2154         argument and creates a new color entry if necessary
2155
2156 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2157
2158         * buffer.C (makeLaTeXFile): if the main latex file that is
2159         processed is usually a subdocument of some master, then pretend
2160         for a while that it is actually the master
2161
2162 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2163
2164         * buffer.C (getLabelList):
2165         (getBibkeyList): use getMasterBuffer()
2166         (getMasterBuffer): new method. Returns the main document in the
2167         case where one is using included documents.
2168
2169 2004-03-25  André Pönitz  <poenitz@gmx.net>
2170
2171         * Makefile.am:
2172         * iterators.[Ch]:
2173         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2174
2175         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2176
2177         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2178         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2179
2180         * ParameterStruct.h: merge with ParagraphParameters
2181
2182         * lyxtext.h: remove LyXText::parOffset() and getPar()
2183
2184         * text3.C: Remove all 'manual' update calls. We do now one per user
2185         interaction which is completely sufficient.
2186
2187         * Bidi.C:
2188         * BufferView.[Ch]:
2189         * BufferView_pimpl.C:
2190         * FontIterator.[Ch]:
2191         * MenuBackend.C:
2192         * ParagraphParameters.[Ch]:
2193         * buffer.C:
2194         * buffer.h:
2195         * bufferlist.C:
2196         * cursor.[Ch]:
2197         * cursor_slice.[Ch]:
2198         * dociterator.[Ch]:
2199         * errorlist.[Ch]:
2200         * factory.C:
2201         * lfuns.h:
2202         * lyxfind.C:
2203         * lyxfunc.C:
2204         * output_docbook.[Ch]:
2205         * output_latex.[Ch]:
2206         * output_linuxdoc.[Ch]:
2207         * output_plaintext.[Ch]:
2208         * paragraph.[Ch]:
2209         * paragraph_funcs.[Ch]:
2210         * paragraph_pimpl.[Ch]:
2211         * rowpainter.C:
2212         * tabular.[Ch]:
2213         * text.C:
2214         * text2.C:
2215         * toc.C:
2216         * undo.[Ch]: adjust
2217
2218         * frontends/controllers/ControlDocument.C:
2219         * frontends/controllers/ControlErrorList.C:
2220         * frontends/controllers/ControlSpellchecker.C:
2221         * insets/inset.C:
2222         * insets/inset.h:
2223         * insets/insetbase.h:
2224         * insets/insetbibitem.C:
2225         * insets/insetbox.C:
2226         * insets/insetbranch.C:
2227         * insets/insetcaption.C:
2228         * insets/insetcharstyle.C:
2229         * insets/insetcharstyle.h:
2230         * insets/insetcollapsable.C:
2231         * insets/insetcollapsable.h:
2232         * insets/insetert.C:
2233         * insets/insetfloat.C:
2234         * insets/insetfoot.C:
2235         * insets/insetmarginal.C:
2236         * insets/insetnote.C:
2237         * insets/insetoptarg.C:
2238         * insets/insettabular.C:
2239         * insets/insettext.C:
2240         * insets/insettext.h:
2241         * insets/insetwrap.C:
2242         * mathed/math_mboxinset.C:
2243         * mathed/math_nestinset.C:
2244         * mathed/math_scriptinset.C:
2245         * mathed/math_scriptinset.h:
2246         * support/types.h:
2247
2248 2004-03-24  Angus Leeming  <leeming@lyx.org>
2249
2250         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2251         deal with any child processes that have finished but are waiting to
2252         communicate this fact to the rest of LyX.
2253
2254 2004-03-24  Angus Leeming  <leeming@lyx.org>
2255
2256         64-bit compile fixes.
2257
2258         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2259         (c-tor): pass lyx::pos_types rather than ints.
2260
2261         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2262         lyx::pos_type.
2263
2264         * text.C (Delete): compile fix.
2265         (getPar): ensure that function declaration is the same as that in
2266         the header file.
2267
2268 2004-03-23  Angus Leeming  <leeming@lyx.org>
2269
2270         * ispell.C (LaunchIspell):
2271         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2272         a boost::shred_ptr rather than a std::auto_ptr.
2273
2274 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2275
2276         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2277         handle LFUN_FILE_INSERT_*
2278
2279         * lyxrc.C (setDefaults, getDescription, output, read):
2280         * lyxrc.h: remove ps_command
2281
2282 2004-03-22  Angus Leeming  <leeming@lyx.org>
2283
2284         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2285         Ensure that error_handler is processed once only and that all data
2286         is saved before attempting to output any warning messages.
2287
2288         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2289
2290 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2291
2292         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2293
2294 2004-03-19  André Pönitz  <poenitz@gmx.net>
2295
2296         * cursor.[Ch] (reset): take main text inset as argument
2297
2298         * BufferView: adjust
2299         * BufferView_pimpl.C: adjust
2300
2301         * paragraph.[Ch]: fix completely broken operator=()
2302
2303 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2304
2305         * LColor.C (getFromLyXName): make sure that the color name is used
2306         as lowercase.
2307
2308 2004-03-17  Angus Leeming  <leeming@lyx.org>
2309
2310         * lfuns.h:
2311         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2312
2313         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2314         dialog and to kill a forked process.
2315
2316 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2317
2318         * text2.C (setCursorFromCoordinates): fix font problem
2319
2320 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2321
2322         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2323         bogus "rebuild cursor" code
2324
2325 2004-03-11  André Pönitz  <poenitz@gmx.net>
2326
2327         * buffer.[Ch]: use InsetText instead of LyXText as container for
2328         the main lyx text.
2329
2330         * dociterator.[Ch]: drop the BufferView * member which is not needed
2331         anymore after the change to buffer.C
2332
2333         * paragraph_funcs.C:
2334         * text.C:
2335         * text2.C:
2336         * BufferView.[Ch]:
2337         * BufferView_pimpl.[Ch]:
2338         * cursor.[Ch]:
2339         * cursor_slice.[Ch]: adjust
2340
2341         * text3.C: fix bug in mathDispatch
2342
2343 2004-03-08  André Pönitz  <poenitz@gmx.net>
2344
2345         * undo.[Ch]: use 'StableDocumentIterator' as base for
2346         the Undo struct.
2347
2348 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2349
2350         * LaTeXFeatures.C:
2351         * bufferparams.[Ch]: add jurabib support and param.
2352
2353         * LaTeX.C: add FIXME/comment.
2354
2355 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2356
2357         * buffer.C: increment file format to 230.
2358
2359 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2360
2361         * cursor.C (dispatch): avoid infinite loops
2362
2363 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2364
2365         * rowpainter.C (paintSelection): fix x coordinates
2366
2367 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2368
2369         * text.C (rowBreakPoint): fix breaking before displayed insets
2370
2371 2004-03-01  André Pönitz  <poenitz@gmx.net>
2372
2373         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2374
2375         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2376
2377         * Makefile.am:
2378         * BufferView.C:
2379         * BufferView_pimpl.C:
2380         * buffer.C:
2381         * lyxfind.C:
2382         * lyxfunc.C:
2383         * text.C:
2384         * text2.C:
2385         * text3.C: adjust
2386
2387 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2388
2389         * lyxtext.h:
2390         * text.C:
2391         * text2.C:
2392         * rowpainter.C:
2393         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2394         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2395
2396 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2397
2398         * Bidi.[Ch] (computeTables): const correctness
2399         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2400         fill_hfill, fill_label_hfill and x from Row
2401         * lyxtext.h: prepareToPrint returns a RowMetrics
2402         * rowPainter.C: adjust
2403         * text.C (prepareToPrint): use width, not textWidth. adjust
2404         (redoParagraphInternal, cursorX): adjust
2405         * text2.C (getColumnNearX): adjust
2406         (init): put a default value to the top LyXText::width
2407
2408 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2409
2410         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2411
2412 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2413
2414         * lyxtext.h: add FontIterator class
2415
2416         * text.C (FontIterator, operator*, operator->, operator++): add
2417         (rowBreakPoint, setRowWidth): adjust (fixing a
2418         rebreaking bug)
2419
2420 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * BufferView_pimpl.C (workAreaDispatch): allow also
2423         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2424
2425 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2426
2427         * text.C (rowBreakPoint): fix a bug showing with very large insets
2428
2429 2004-02-25  André Pönitz  <poenitz@gmx.net>
2430
2431         * text3.C:
2432         * cursor.[Ch]: move some mathed specific code to mathed
2433
2434 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2435
2436         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2437         use_tempdir in preferences
2438         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2439         tempfile creation
2440         * lyx_main.C: ensure that tempdir is valid
2441         * lyxlex.h: correct typo
2442         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2443         * paragraph.[Ch] (isMultiLingual): make const
2444         * cursor.[Ch] (openable): make const
2445
2446 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2447
2448         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2449
2450 2004-02-20  André Pönitz  <poenitz@gmx.net>
2451
2452         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2453
2454         * cursor.[Ch]: prepare for localized getStatus()
2455
2456         * lyxtext.h:
2457         * tabular.C:
2458         * text.C:
2459         * text2.C:
2460         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2461
2462 2004-02-20  André Pönitz  <poenitz@gmx.net>
2463
2464         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2465
2466 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2467
2468         * text2.C (setCursorFromCoordinates): switch to absolute coords
2469         (cursorUp): adjust
2470         (cursorDown): adjust
2471         * text3.C (dispatch): adjust
2472
2473 2004-02-16  André Pönitz  <poenitz@gmx.net>
2474
2475         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2476           insets/ChangeLog)
2477
2478         * cursor_slice.[Ch]: remove unneeded acessor function
2479
2480         * lyxtext.h: rename rtl() to isRTL()
2481
2482         * rowpainter.C:
2483         * tabular.C:
2484         * text.C:
2485         * text2.C:
2486         * text3.C: adjust
2487
2488 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2489
2490         * rowpainter.C (paintSelection): coord fix
2491
2492 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2493
2494         * Spacing.C: compile fix
2495
2496 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * cursor.C (dispatch): restore current_ before returning
2499
2500 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * text2.C (cursorUp, cursorDown): fix coords
2503         (moveUp): fix crash
2504
2505 2004-02-12  André Pönitz  <poenitz@gmx.net>
2506
2507         * lyxtext.h:
2508         * text.C:
2509         * text2.C:
2510         * text3.C: add LCursor & parameter to most cursor movement functions
2511           remove usage of LyXText::cursorRow() and cursorPar()
2512
2513         * cursor.[Ch]: add textRow() needed members
2514
2515         * BufferView.C:
2516         * BufferView_pimpl.C:
2517         * paragraph.[Ch]:
2518         * BufferView.C:
2519         * BufferView_pimpl.C: adjust
2520
2521 2004-02-11  André Pönitz  <poenitz@gmx.net>
2522
2523         * lyxfunc.C:
2524         * BufferView.[Ch]:
2525         * BufferView_pimpl.C: shift undo/redo handling
2526
2527         * cursor.[Ch]: fix mathed crash
2528
2529         * lyxfind.C:
2530         * lyxtext.h: move selectionAsText to LCursor
2531
2532         * output_latex.C:
2533         * paragraph.C:
2534         * text.C:
2535         * text2.C:
2536         * text3.C: adjust
2537
2538         * rowpainter.C: fix excessive drawing
2539
2540 2004-02-06  André Pönitz  <poenitz@gmx.net>
2541
2542         * BufferView.[Ch]:
2543         * BufferView_pimpl.[Ch]:
2544         * text3.C: move some text specific LFUN handling
2545
2546 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2547
2548         * text3.C (checkInsetHit): adjust coords
2549         * text2.C (getColumnNearX): adjust coords
2550         (edit): adjust coords
2551         * text.C (getRowNearY): add two asserts
2552
2553 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2554
2555         * converter.C:
2556         * format.C: add using std::distance to compile on gcc 2.95/stlport
2557
2558 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2559
2560         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2561
2562 2004-02-04  André Pönitz  <poenitz@gmx.net>
2563
2564         * BufferView.[Ch] (insertInset):
2565         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2566
2567         * text2.C:
2568         * text3.C: adjust
2569
2570 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2571
2572         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2573         on the default clause of the switch
2574         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2575         wasn't catched by LCursor::dispatch
2576
2577 2004-02-03  André Pönitz  <poenitz@gmx.net>
2578
2579         * BufferView.C:
2580         * cursor.[Ch]: some additional asserts
2581
2582         * undo.[Ch]: remove LyXText dependency in interface
2583
2584         * lyxfunc.C: adjust
2585
2586         * lyxtext.h (firstPar, lastPar): remove dead functions
2587
2588         * text.C:
2589         * text2.C:
2590         * text3.C:
2591         * paragraph.[Ch]: adjust
2592
2593 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * lyxfind.C (find): fix argument order in call to ::find
2596
2597 2004-02-02  André Pönitz  <poenitz@gmx.net>
2598
2599         * cursor.[Ch]: remove direct access to anchor
2600
2601         * text.C: remove findText() hack
2602
2603 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * iterators.[Ch] (lockPath): remove in favour of...
2606         * BufferView.[Ch] (setCursor): this addition
2607         * BufferView.C (putSelectionAt): adjust
2608         * undo.C (performUndoOrRedo): adjust
2609         * lyxfunc.C (dispatch): adjust
2610
2611 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2612
2613         * iterators.C (lockPath): add a missing slice
2614         * undo.C (performUndoOrRedo): remove redundant positioning code
2615
2616 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2617
2618         * vc-backend.C (scanMaster): ";" -> ';'
2619
2620 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2621
2622         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2623         std::binary_function
2624
2625         * lyxtextclass.C (compare_name): rename to...
2626         (LayoutNamesEqual): ...this
2627
2628         * lyxlex_pimpl.C (compare_tags): inherit from
2629         std::binary_function, put back into anon namespace
2630
2631         * lyxfind.C (MatchString): inherig from std::binary_function
2632         (findChange): use empty() istead of !size()
2633
2634         * format.C (FormatNamesEqual): new functor
2635         (getFormat): use it
2636         (getNumber): use it
2637         (add): use it
2638         (erase): use it
2639         (setViewer): use it
2640
2641         * converter.C (compare_Converter): rename to...
2642         (ConverterEqual): ...this, and fixup a bit.
2643         (getConverter): use it, and make function const
2644         (getNumber): use it, and make function const
2645         (add): use it
2646         (erase): use it:
2647
2648         * bufferlist.C: add using boost::bind
2649
2650         * MenuBackend.C (MenuNamesEqual): new functor
2651         (hasMenu): use it, and make function const
2652         (hasSubmenu): use nested bind to get rid of compare_memfun.
2653
2654 2004-01-30  André Pönitz  <poenitz@gmx.net>
2655
2656         * BufferView_pimpl.C:
2657         * cursor.C:
2658         * cursor.h:
2659         * cursor_slice.[Ch]:
2660         * lyxfunc.C:
2661         * lyxtext.h:
2662         * paragraph_funcs.C:
2663         * paragraph_funcs.h:
2664         * rowpainter.C:
2665         * text.C:
2666         * text2.C:
2667         * text3.C: move some of the edit(x,y) handling to the insets
2668         some coordinate changes.
2669
2670 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2671
2672         * text.C: add using statements for std::advance and std::distance
2673
2674         * paragraph.C: add using statement for std::distance
2675
2676         * lyxfind.C: add using statement for std::advance
2677
2678         * cursor.C (region): remove std:: from swap
2679         (openable): use nucleus in stead of operator->
2680
2681         * BufferView.C: add using statements for std::distance and std::swap
2682
2683 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2684
2685         * iterators.C: Remove the pimple, move the needed structures to
2686         the header file. Create accessor for the positions stack.
2687         (asPosIterator): remove function
2688
2689         * PosIterator.C (PosIterator): move constructors to top of file
2690         (PosIterator): reimplement the constructor taking a ParIterator in
2691         terms of setFrom.
2692         (setFrom): new function
2693         (operator!=): inline it
2694
2695 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2696
2697         * lyxfind.C (replaceAll): use std::advance
2698
2699         * iterators.h: inherit from std::iterator.
2700
2701         * PosIterator.C (advance, distance): remove
2702         * PosIterator.h: interit from std::iterator.
2703
2704 2004-01-26  André Pönitz  <poenitz@gmx.net>
2705
2706         * BufferView.[Ch]:
2707         * BufferView_pimpl.[Ch]:
2708         * InsetList.[Ch]:
2709         * PosIterator.[Ch]:
2710         * buffer.h:
2711         * bufferview_funcs.C:
2712         * cursor.[Ch]:
2713         * cursor_slice.h:
2714         * factory.[Ch]:
2715         * iterators.[Ch]:
2716         * lyxfind.C:
2717         * lyxfunc.C:
2718         * lyxtext.h:
2719         * output_docbook.C:
2720         * output_latex.C:
2721         * output_linuxdoc.C:
2722         * output_plaintext.C:
2723         * paragraph.[Ch]:
2724         * paragraph_funcs.[Ch]:
2725         * paragraph_pimpl.[Ch]:
2726         * rowpainter.C:
2727         * tabular.C:
2728         * tabular.h:
2729         * text.C:
2730         * text2.C:
2731         * text3.C: more IU:  dumps most of the rest of the mathcursor
2732     implementation into cursor.[Ch]; "globalize" a bit of it.
2733
2734 2004-01-25  Angus Leeming  <leeming@lyx.org>
2735
2736         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2737
2738 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2739
2740         * LaTeXFeatures.h: add nice_ and nice() const
2741         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2742
2743 2004-01-20  André Pönitz  <poenitz@gmx.net>
2744
2745         * BufferView.[Ch]:
2746         * BufferView_pimpl.C:
2747         * PosIterator.C:
2748         * bufferview_funcs.C:
2749         * cursor.[Ch]:
2750         * cursor_slice.[Ch]:
2751         * factory.C:
2752         * iterators.C:
2753         * lyx_cb.C:
2754         * lyxfind.C:
2755         * lyxfunc.C:
2756         * lyxtext.h:
2757         * rowpainter.C:
2758         * text.C:
2759         * text2.C:
2760         * text3.C:
2761         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2762           LCursor and mathcursor parts to LCursor and InsetBase.
2763
2764 2004-01-15  André Pönitz  <poenitz@gmx.net>
2765
2766         * cursor_slice.[Ch]: add a few covienience functions
2767
2768         * funcrequest.[Ch]: remove BufferView * member
2769
2770         * BufferView_pimpl.C:
2771         * cursor.C:
2772         * factory.[Ch]:
2773         * lyxfind.[Ch]:
2774         * lyxfunc.C:
2775         * lyxtext.h:
2776         * text3.C:
2777         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2778
2779 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2780
2781         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2782         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2783
2784 2004-01-13  André Pönitz  <poenitz@gmx.net>
2785
2786         * textcursor.[Ch]:
2787         * lyxtext.h: hide cursor and selection anchor behind accessor function
2788
2789         * BufferView.C:
2790         * BufferView_pimpl.[Ch]:
2791         * PosIterator.C:
2792         * bufferview_funcs.C:
2793         * cursor.h:
2794         * lyxfind.C:
2795         * lyxfunc.C:
2796         * text.C:
2797         * text2.C:
2798         * text3.C:
2799         * undo.C: adjust
2800
2801         * cursor.h:
2802         * cursor_slice.[Ch]: some integer type changes for inset unification
2803
2804         * lyxcursor.[hC]: remove, it's CursorSlice now.
2805
2806         * Makefile.am:
2807         * BufferView_pimpl.[Ch]:
2808         * bufferview_funcs.C:
2809         * cursor_slice.C:
2810         * lyxtext.h:
2811         * text.C:
2812         * text2.C:
2813         * text3.C:
2814         * textcursor.[Ch]: adjust
2815
2816 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2817
2818         * text2.C (undoSpan): add and use
2819         * text.C (breakParagraph): use undoSpan (fix bug 578)
2820         * lyxtext.h: adjust
2821
2822 2004-01-08  Angus Leeming  <leeming@lyx.org>
2823
2824         * BufferView_pimpl.C (MenuInsertLyXFile):
2825         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2826         * lyxfunc.C (menuNew, open, doImport):
2827         FileFilterList change to the FileDialog open and save functions.
2828
2829 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2830
2831         * ShareContainer.h: make isEqual and isUnique adaptable
2832
2833         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2834
2835 2004-01-07  Angus Leeming  <leeming@lyx.org>
2836
2837         * LyXAction.C:
2838         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2839
2840         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2841
2842         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2843         functions replacing find, replace and replaceAll.
2844
2845         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2846         LFUN_WORDFIND(FORWARD|BACKWARD).
2847
2848 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2849
2850         * text.C (breakParagraph): remove an outdated #warning
2851
2852 2004-01-07  André Pönitz  <poenitz@gmx.net>
2853
2854         * lyxfind.C: somewhat clearer logic
2855
2856         * text.C: prevent crash in cursorX on unitialized row cache
2857
2858 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2859
2860         * lyxcursor.[Ch] (operator>): add
2861         * textcursor.C (selStart, selEnd): use std::min and std::max
2862
2863 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2864
2865         * Chktex.C: include boost/format.hpp
2866
2867 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2868
2869         * InsetList.C: replace functor MathcIt with adaptable functor
2870         InsetTablePosLess
2871         (insetIterator): modify accordingly
2872
2873         * BranchList.h: move the BranchNamesEqual functor here from...
2874         * BranchList.C: ... to here
2875
2876         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2877         SameName and match.
2878         (add): replace a finding loop with std::find_if.
2879
2880 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2881
2882         * output_docbook.C: moving LatexParam functionality into
2883         .layout files
2884
2885 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2886
2887         * buffer.C: increment format to 229.
2888
2889 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2890
2891         * LaTeXFeatures.C:
2892         * lyx_sty.[Ch]: remove minipageindent_def
2893
2894         * LyXAction.C:
2895         * factory.C:
2896         * lfuns.h:
2897         * lyxfunc.C:
2898         * text3.C: remove LFUN_INSET_MINIPAGE
2899
2900 2003-12-28  Angus Leeming  <leeming@lyx.org>
2901
2902         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2903
2904 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2905
2906         * text2.C (setParagraph): fix off-by-one crash
2907
2908 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2909
2910         * output_docbook.C: header stuff for AGU
2911
2912 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2913
2914         * text2.C (redoCursor): remove
2915         * text.C:
2916         * text3.C:
2917         * BufferView_pimpl.C: remove calls to redoCursor and
2918         setCursor(cursor.par(), cursor.pos()) all around
2919
2920 2003-12-15  Angus Leeming  <leeming@lyx.org>
2921
2922         * buffer.C: up the format to 228.
2923
2924 2003-12-15  André Pönitz  <poenitz@gmx.net>
2925
2926         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2927         slices
2928
2929         * Makefile.am:
2930
2931         * BufferView_pimpl.C:
2932         * cursor.[Ch]:
2933         * lyxcursor.[Ch]:
2934         * rowpainter.[Ch]:
2935         * lyxtext.h:
2936         * text.C:
2937         * text2.C:
2938         * text3.C: adjust
2939
2940 2003-12-15  Angus Leeming  <leeming@lyx.org>
2941
2942         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2943         than getFromGUIName to manipulate the color.
2944
2945 2003-12-14  Angus Leeming  <leeming@lyx.org>
2946
2947         * BranchList.[Ch]: minimize the API.
2948         (Branch::getBranch, getColor): now return a 'const &'.
2949         (Branch::setSelected) now returns a bool set to true if the
2950         selection status changes.
2951         (BranchList::clear, size, getColor, setColor, setSelected,
2952         allBranches, allSelected, separator): removed.
2953         (BranchList::find): new functions, returning the Branch with
2954         the given name.
2955         (BranchList::add, remove): return a bool indicating that
2956         the operation was successful.
2957
2958         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2959         new InsetBranch::isBranchSlected member function.
2960
2961         * LColor.[Ch]: mimimize the API.
2962         (fill): renamed as addColor and made private.
2963         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2964         versions of these functions taking a string arg have been removed.
2965
2966         * bufferparams.C (readToken):
2967         * lyxfunc.C (dispatch):
2968         * lyxrc.C (read): changes due to the altered BranchList and
2969         LColor APIs.
2970
2971         * factory.C (createInset, readInset): changes due to altered
2972         InsetBranch c-tor.
2973
2974 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2975
2976         * factory.C:
2977         * lyxfunc.C: remove insetminipage. "minipage-insert"
2978         now produces a frameless minipage box inset.
2979
2980 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * textcursor.[Ch] (selStart,selEnd): add new methods
2983         remove selection::start, end, use LyXCursor::operator<
2984         * lyxcursor.[Ch] (operator<): add
2985         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2986         * BufferView.[Ch] (unsetXSel): add
2987         * text2.C (clearSelection): use unsetXSel,adjust
2988         * text.C: adjust
2989         * text3.C: adjust
2990         * rowpainter.C: adjust
2991         * bufferview_funcs.C (put_selection_at): adjust
2992
2993 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2994
2995         * BufferView_pimpl.C: small coord. correction
2996
2997 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2998
2999         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3000         dragging over the splash screen.
3001
3002 2003-12-11  Angus Leeming  <leeming@lyx.org>
3003
3004         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3005         as it is now handled in LyXText::dispatch.
3006
3007         * text3.C (doInsertInset): remove a level of nesting.
3008
3009 2003-12-11  Angus Leeming  <leeming@lyx.org>
3010
3011         * factory.C (createInset): changes due to the changed interface to
3012         InsetCommandMailer::string2params.
3013
3014 2003-12-10  Angus Leeming  <leeming@lyx.org>
3015
3016         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3017         'dialog-show-new-inset <inset name>'
3018
3019 2003-12-10  Angus Leeming  <leeming@lyx.org>
3020
3021         * buffer.C: up the format to 227.
3022
3023         * factory.C: the box inset is now identified simply by 'Box'.
3024
3025 2003-12-10  Angus Leeming  <leeming@lyx.org>
3026
3027         * buffer.C: up the format to 226.
3028
3029         * factory.C: the note inset is now identified simply by 'Note'.
3030
3031 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3032
3033         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3034         when a pit is enough. Standarize a couple of loops.
3035
3036 2003-12-05  Angus Leeming  <leeming@lyx.org>
3037
3038         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3039         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3040         data to the re-worked "log" dialog.
3041
3042 2003-12-03  André Pönitz  <poenitz@gmx.net>
3043
3044         * PosIterator.C:
3045         * iterators.C:
3046         * lyxtext.h:
3047         * output_latex.C:
3048         * paragraph_funcs.C:
3049         * text.C:
3050         * text2.C: use Inset::getText instead of Inset::getParagraph
3051
3052 2003-12-03  André Pönitz  <poenitz@gmx.net>
3053
3054         * buffer.[Ch]:
3055         * lyxtext.h:
3056         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3057         InsetText::read() as LyXText::read()
3058
3059 2003-12-02  Angus Leeming  <leeming@lyx.org>
3060
3061         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3062         type. Add a comment in the implementation that the function uses
3063         the stream's bad() function rather than fail() as the std::streams
3064         would do.
3065
3066 2003-12-02  André Pönitz  <poenitz@gmx.net>
3067
3068         * lyxlex.[Ch]: make interface more similar to std::stream
3069
3070         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3071
3072 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3073
3074         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3075
3076 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3077
3078         * vspace.[Ch]: remove VSpace::NONE
3079
3080 2003-12-01  André Pönitz  <poenitz@gmx.net>
3081
3082         * buffer.[Ch]:
3083         * lyxtext.h: move ParagraphList member to LyXText
3084         rename LyXText::ownerParagraphs to LyXText::paragraph
3085
3086         * CutAndPaste.C:
3087         * bufferview_funcs.C:
3088         * iterators.[Ch]:
3089         * lyx_cb.C:
3090         * paragraph.C:
3091         * rowpainter.C:
3092         * tabular.C:
3093         * text.C:
3094         * text2.C:
3095         * text3.C: adjust
3096
3097         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3098
3099         * undo.C: fix cursor positioning
3100
3101 2003-12-01  John Levon  <levon@movementarian.org>
3102
3103         * BufferView_pimpl.C: fix a crash on exit with
3104         a buffer open
3105
3106 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3107
3108         * BranchList.C: fix setSelected() method.
3109
3110 2003-11-28  André Pönitz  <poenitz@gmx.net>
3111
3112         * ParagraphParameters.[Ch]:
3113         * ParameterStruct.h: remove space above/below from Paragraph to
3114          InsetVSpace
3115
3116         * BufferView_pimpl.C:
3117         * factory.C:
3118         * lyxfunc.C:
3119         * lyxtext.h:
3120         * output_latex.C:
3121         * paragraph.C:
3122         * paragraph_funcs.C:
3123         * rowpainter.[Ch]:
3124         * text.C:
3125         * text2.C:
3126         * text3.C: adjust
3127
3128 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3129
3130         * factory.C: Syntax change for CharStyles
3131
3132 2003-11-28  André Pönitz  <poenitz@gmx.net>
3133
3134         * BufferView.[Ch]:
3135         * BufferView.[Ch]:
3136         * buffer.[Ch]:
3137         * buffer.[Ch]: move LyXText member
3138
3139 2003-11-28  André Pönitz  <poenitz@gmx.net>
3140
3141         * BufferView.[Ch]: make LyXText * text a private member
3142
3143         * BufferView_pimpl.C:
3144         * cursor.C:
3145         * iterators.C:
3146         * lyx_cb.C:
3147         * lyxfind.C:
3148         * lyxtext.h:
3149         * rowpainter.[Ch]:
3150         * text.C:
3151         * text2.C:
3152         * undo.C: adjust
3153
3154         * output_plaintext.C: cleanup
3155
3156 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3157
3158         * buffer.C:
3159         * lyxtextclass.[Ch]: parametrize SGML document header
3160
3161 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3162
3163         * converter.[Ch]:
3164         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3165         getFlavor().
3166
3167 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3168
3169         * text2.C (setFont): rework using PosIterator (no more recursive)
3170         (setCharFont): no more needed
3171         (setLayout): no more selection cursors fiddling (done by redoCursor)
3172         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3173         destroy remaining ones)
3174
3175 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3176
3177         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3178         * lyxtext.h: ditto
3179         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3180         selection cursors
3181         * lyxfunc.C: adjust
3182         * text3.C: adjust + re-allow multi par depth changes
3183         * textcursor.C: simplify a bit
3184
3185 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3186
3187         * src/buffer.C:
3188         * src/lyxlayout.C:
3189         * src/lyxlayout.h:
3190         * src/lyxtext.h:
3191         * src/output_docbook.C:
3192         * src/output_latex.C:
3193         * src/paragraph.C:
3194         * src/paragraph.h:
3195         * src/sgml.C:
3196         * src/sgml.h:
3197         * src/text2.C: Introducing a number of tags parametrizing various
3198         XML formats that we may want to support
3199
3200 2003-11-25  André Pönitz  <poenitz@gmx.net>
3201
3202         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3203
3204         * lyxtext.h (leftMargin/rightMargin): simplify interface
3205
3206         * rowpainter.C:
3207         * text.C:
3208         * text2.C:
3209         * text3.C: adjust
3210
3211 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3212
3213         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3214         master file to any child files. Fixes bug 546.
3215
3216 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3217
3218         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3219
3220 2003-11-24  André Pönitz  <poenitz@gmx.net>
3221
3222         * rowpainter.C: simplification
3223
3224         * text2.C (updateCounters): remove call to redoParagraph on
3225         changed labels as this is far too expensive.
3226
3227 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3228
3229         * converter.C (convert): fix a crash: this function gets
3230         called with buffer == 0 from importer code.
3231
3232 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3233
3234         * text3.C (cursorPrevious): make sure that we do not compare
3235         iterators form different containers.
3236         (cursorNext): ditto
3237
3238         * rowpainter.C (paintSelection): make sure that we do not compare
3239         iterators from different containers.
3240
3241         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3242         iterators from different ParagraphList containers.
3243         [NEXT] ditto
3244
3245         * text2.C (LyXText): change order of initialization slightly
3246         (operator=): new function. copy all variables except cache_par_
3247         (moveUp): make sure that we do not compare iterators from
3248         different ParagraphList constainers.
3249         (moveDown): ditto
3250
3251         * text.C (firstPar): new function
3252         (lastPar): new function
3253         (endPar): new function
3254
3255         * lyxtext.h: move things around and group public functions, public
3256         variables, private functions, private variables
3257
3258 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3259
3260         * factory.C: change call to InsetERT constructor to avoid
3261         additional invocation of method status
3262         * text2.C (toggleInset): remove redundant update() call
3263         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3264         instead of a Bufferview pointer
3265
3266 2003-11-21  André Pönitz  <poenitz@gmx.net>
3267
3268         * rowpainter.C: simplification
3269
3270 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3271
3272         * text3.C (dispatch): make possible to extend a word/row selection
3273         with the mouse
3274
3275 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3276
3277         * lyxtext.h: x0_,y0_ -> xo_,yo_
3278         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3279         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3280         * rowpainter.C (paintRows): paint full paragraphs
3281
3282 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3285         screen coordinates)
3286
3287 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3288
3289         * lyxtext.h: add x0_, y0_
3290         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3291         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3292
3293 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3294
3295         * text2.C (setCursorIntern): move the x_target update here *
3296         * text3.C: change some bv() to true/false in calls to
3297         cursorUp/Down/Right/Left
3298         * cursor.C: use helper function.
3299
3300 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3303         * paragraph_funcs.[Ch]: correct comment
3304         * rowpainter.C: do not paint selections away from bv->cursor()
3305         Fix a long standing selection painting bug.
3306         * text3.C: generalize mouse-selection code to LyXTexts other that
3307         top one
3308         * textcursor.C: do not use y coords if we can use par offsets
3309
3310 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3313         cursor position after e.g. inset insert)
3314
3315 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3316
3317         * lyxfind.C (replace): adjust to locking removal + some
3318         code simplification
3319
3320 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3321
3322         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3323         of the path
3324
3325 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3326
3327         * lyxlayout.[Ch]:
3328         * output_docbook.C: XML sanitation: new layout
3329         parameters InnerTag and CommandDepth
3330
3331 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3332
3333         * BufferView_pimpl.C:
3334         * factory.C:
3335         * text3.C: Fix the insertion and modification of button-style
3336         insets
3337
3338 2003-11-13  André Pönitz  <poenitz@gmx.net>
3339
3340         * InsetList.[Ch]: remove deleteLyXText
3341
3342         * paragraph.[Ch]: cache beginOfBody position
3343
3344         * Bidi.C:
3345         * text.C:
3346         * text2.C:
3347         * text3.C: remove superfluous update() calls
3348
3349         * vspace.C: cleanup
3350
3351 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3352
3353         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3354         * BufferView.C (fitLockedInsetCursor): remove
3355         * cursor.[Ch] (getDim): add
3356         * text.C (getRowNearY): add faster version
3357         * text3.C: remove some update calls
3358
3359 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * LaTeXFeatures.C:
3362         * LyXAction.C:
3363         * MenuBackend.C:
3364         * MenuBackend.h:
3365         * dispatchresult.h:
3366         * factory.C:
3367         * lfuns.h:
3368         * lyxfunc.C:
3369         * lyxtextclass.C:
3370         * lyxtextclass.h:
3371         * text3.C: The Character Style /XML short element patch.
3372
3373 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * text3.C:
3376         * factory.C: Small step to solving 'unable to insert some insets'
3377         problem
3378
3379 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3380
3381         * cursor.[Ch] (updatePos): new function for updating the y
3382         position of the tip inset
3383         * bufferview_funcs.C (put_selection_at):
3384         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3385
3386 2003-11-11  André Pönitz  <poenitz@gmx.net>
3387
3388         * text.C: remove big comment on invalid Paragraph pointers as it is
3389         not valid anymore
3390
3391 2003-11-11  André Pönitz  <poenitz@gmx.net>
3392
3393         * text_funcs.[Ch]: merge with ...
3394
3395         * text.C: ... this
3396
3397         * lyxtext.h:
3398         * text2.C:
3399         * text3.C: adjust
3400
3401         * Makefile.am: remove text_funcs.[Ch]
3402
3403 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3404
3405         * cursor.C (getPos): return absolute cached y coord
3406
3407         * BufferView_pimpl.C (fitCursor): new simplistic code
3408         (workAreaDispatch): add a fitCursor call
3409
3410 2003-11-10  André Pönitz  <poenitz@gmx.net>
3411
3412         * BufferView.[Ch]:
3413         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3414
3415 2003-11-10  André Pönitz  <poenitz@gmx.net>
3416
3417         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3418         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3419         indicate that the cursor needs to leave an inset
3420
3421         * lyxtext.h: remove inset locking
3422
3423         * cursor.[Ch]: re-implement functionality provided by inset locking
3424
3425         * BufferView.[Ch]:
3426         * BufferView_pimpl.[Ch]:
3427         * LyXAction.C:
3428         * bufferview_funcs.[Ch]:
3429         * factory.C:
3430         * funcrequest.[Ch]:
3431         * iterators.C:
3432         * lyx_cb.C:
3433         * lyxfind.C:
3434         * lyxfunc.C:
3435         * text.C:
3436         * text2.C:
3437         * text3.C:
3438         * undo.C: adjust
3439
3440 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * PosIterator.[Ch]: replace the stack with a vector, add inset
3443         accesor
3444         * iterators.[C]: adjust
3445
3446 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3449         replaced
3450         * paragraph_funcs.C (readParToken): put the correct id in the
3451         error item, not the id of the top paragraph
3452
3453 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3456         * bufferview_funcs.C (put_selection_at): use the above
3457
3458 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3461
3462 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3463
3464         * output_linuxdoc.h:
3465         * output_plaintext.h:
3466         * output.h:
3467         * output_docbook.h: add #include statements
3468
3469 2003-11-05  José Matos  <jamatos@lyx.org>
3470
3471         * output_docbook.[Ch]:
3472         * output_latex.[Ch]:
3473         * output_linuxdoc.[Ch]:
3474         * output_plaintext.[Ch]: New files for output formats.
3475         * output.[Ch]: New file for helper functions.
3476
3477         * buffer.[Ch]:
3478         * paragraph_funcs.[Ch]: output functions moved to new files.
3479
3480         * outputparams.h: rename of latexrunparams.h
3481
3482         * LaTeX.[Ch]:
3483         * buffer.[Ch]:
3484         * bufferlist.[Ch]:
3485         * converter.[Ch]:
3486         * exporter.C:
3487         * paragraph.[Ch]:
3488         * paragraph_funcs.[Ch]:
3489         * paragraph_pimpl.[Ch]:
3490         * tabular.[Ch]: rename ascii to plaintext
3491         and LatexRunParams to OutputParams.
3492
3493 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3494
3495         * iterators.[Ch] (text): require bv argument
3496         * undo.C (recordUndo):
3497         * lyxfunc.C (dispatch):
3498         * bufferview_funcs.C (put_selection_at): adjust
3499
3500 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3501
3502         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3503
3504 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3505
3506         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3507         nestings
3508
3509 2003-11-04  André Pönitz  <poenitz@gmx.net>
3510
3511         * cursor.[Ch]: restructure
3512
3513         * BufferView.[Ch]:
3514         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3515
3516         * iterators.[Ch] (asCursor): remove
3517
3518         * lfuns.h: remove LFUN_INSET_EDIT
3519
3520         * lyxfunc.C:
3521         * tabular.C:
3522         * text.C:
3523         * text2.C:
3524         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3525
3526 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3527
3528         * lyxfind.[Ch]: complete overhaul
3529         * BufferView_pimpl.C:
3530         * lyxfunc.C: adjust
3531         * paragraph.[Ch] (insert): add
3532
3533 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * BufferView.[Ch]:
3536         * lyxtext.h:
3537         * text.C: remove dead spellcheck code
3538
3539 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * dispatchresult.h: add a val setter
3542
3543         * cursor.C (dispatch): use a tempvar for data_[i]
3544
3545 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * PosIterator.[Ch]: compile fix
3548
3549 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3550
3551         * text.C (cursorPar): deactivate the cursor cache
3552
3553 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3556
3557 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3558
3559         * text3.C (dispatch): adjust for new DisptchResult semantics.
3560
3561         * lyxfunc.C (dispatch): handle update when return from
3562         Cursor::dispatch, adjust for new DispatchResult semantics.
3563
3564         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3565         DispatchResult(true) mean to not update. Add class functions for
3566         setting dispatched and update, as well as reading.
3567
3568         * cursor.C (dispatch): don't handle update here
3569
3570 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3573         * trans_mgr.C: adjust
3574
3575         * paragraph_funcs.C (readParToken): exception safety
3576
3577         * lyxvc.h: store the vcs pointer in a scoped_ptr
3578         * lyxvc.C: adjust
3579
3580         * lyxsocket.C (serverCallback): exception safety
3581
3582         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3583
3584         * ispell.C (clone): make it return a auto_ptr
3585
3586         * factory.C (createInset): exception safety
3587         (readInset): exception safety
3588
3589         * bufferlist.C (newBuffer): exception safety
3590
3591         * Thesaurus.C (Thesaurus): use initialization for aik_
3592
3593         * MenuBackend.C (expandToc): exception safety.
3594
3595 2003-11-03  André Pönitz  <poenitz@gmx.net>
3596
3597         * buffer.C:
3598         * buffer.h:
3599         * bufferview_funcs.C: remove getInsetFromId()
3600
3601         * lyxcursor.[Ch]:
3602         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3603
3604         * lyxfunc.C:
3605         * text2.C:
3606         * text3.C: adjust
3607
3608 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3609
3610         * PosIterator.C (distance, advance): new
3611         * bufferview_funcs.[Ch] (put_selection_at): new
3612         * iterators.[Ch] (lockPath): new
3613
3614 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3615
3616         * iterators.[Ch] (asPosIterator): added
3617         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3618         * PosIterator.[Ch]: added
3619
3620 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3621
3622         * text3.C:
3623         * lyxfunc.C:
3624         * cursor.C (dispatch):
3625         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3626
3627         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3628         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3629         contructor, add a class function dispatched. Remove operator>=
3630
3631 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3632
3633         * debug.C: only use the default constructor for debugstream
3634         (lyxerr) here.
3635
3636         * main.C (main): include debug.h and setup the lyxerr streambuf
3637         here.
3638
3639 2003-10-31  José Matos  <jamatos@lyx.org>
3640
3641         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3642
3643         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3644         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3645         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3646         * paragraph_pimpl.C (simpleTeXSpecialC):
3647         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3648         add LatexRunParams argument.
3649
3650         * exporter.C (Export): change call accordingly.
3651
3652         * latexrunparams.h: add new member to take care of the other backends.
3653 2003-10-30  José Matos  <jamatos@lyx.org>
3654
3655         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3656         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3657         factorise code for paragraph output.
3658         * buffer.[Ch]:
3659         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3660         move functions.
3661
3662 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * text3.C (dispatch):
3665         * lyxfunc.C (dispatch):
3666         * cursor.C (dispatch):
3667         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3668
3669         * dispatchresult.h: make the dispatch_result_t ctor explicit
3670
3671 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3672
3673         * sgml.[Ch]:
3674         * buffer.C: small refactoring of docbook stuff
3675
3676 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3679         meaning.
3680
3681 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3682
3683         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3684         operator dispatch_result_t, and operators for == != and >=
3685
3686         * cursor.C (dispatch): adjust for operator dispatch_result_t
3687         removal. comment out call to update
3688
3689         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3690
3691 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * text3.C:
3694         * text2.C:
3695         * text.C:
3696         * lyxtext.h:
3697         * lyxfunc.C:
3698         * cursor.C:
3699         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3700         (dispatch):
3701
3702         * dispatchresult.h: new file, DispatchResult broken out of
3703         insets/insetbase.h
3704
3705         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3706
3707 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * text.C (rowBreakPoint): put a hack inside #if 0
3710
3711 2003-10-28  André Pönitz  <poenitz@gmx.net>
3712
3713         * lyxtext.h:
3714         * metricsinfo.C:
3715         * paragraph_funcs.C:
3716         * rowpainter.C:
3717         * text.C:
3718         * text2.C: general cleanup (lots of small stuff)
3719
3720 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * text2.C (cursorEnd): simple fix to the "end key goes to one
3723         before the end on last row" bug
3724
3725 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * text.C (backspace): fix the "zombie characters"
3728
3729 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3730
3731         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3732
3733 2003-10-27  André Pönitz  <poenitz@gmx.net>
3734
3735         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3736
3737         * factory.C: handle new InsetPagebreak, InsetLine
3738
3739         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3740         and move handling into new InsetPagebreak, InsetLine
3741
3742         * BufferView_pimpl.C:
3743         * LyXAction.C:
3744         * ParagraphParameters.C:
3745         * ParameterStruct.h:
3746         * lyxfunc.C:
3747         * lyxtext.h:
3748         * paragraph.C:
3749         * paragraph.h:
3750         * paragraph_funcs.C:
3751         * paragraph_pimpl.C:
3752         * rowpainter.C:
3753         * text.C:
3754         * text2.C:
3755         * text3.C: adjust
3756
3757 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3758
3759         * text.C:
3760         * lyxrow_funcs.[Ch]:
3761         * Bidi.C:
3762         * paragraph.C:
3763         * lyxtext.h:
3764         * rowpainter.C:
3765         * text2.C:
3766         * text3.C: remove lastPos uses in favour of Row::endpos
3767
3768 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3769
3770         * undo.C (performUndoOrRedo): fix two crashes by setting a
3771         cursor by hand and reordering some calls. Use bv->lockInset instead
3772         of inset->edit because the latter loses cursor information
3773
3774 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3775
3776         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3777         by Martin
3778         (rowBreakPoint): fix width. change point to point + 1.
3779         Add a missing check.
3780
3781 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3782
3783         * MenuBackend.C:
3784         * lyxfunc.C: fix (at least partly) the problems
3785         with the Nav menu and headers inside branch insets
3786         reported by Kayvan
3787
3788 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3789
3790         * paragraph.C (getChar): add strong asserts
3791
3792         * lyxrow_funcs.C (lastPos): remove hideous hack
3793
3794         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3795         (fill): adjust to that (avoid an infinite loop)
3796
3797 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3798
3799         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3800
3801 2003-10-23  André Pönitz  <poenitz@gmx.net>
3802
3803         * RowList_fwd.h: change list<> to vector<> to gain speed
3804         after suggestion from Alfredo
3805
3806 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3807
3808         * lyxtext.h: move the bidi stuff from here...
3809         * text.C: and here
3810         * text2.C: and here
3811         * Bidi.[Ch]: ... to here
3812
3813 2003-10-23  André Pönitz  <poenitz@gmx.net>
3814
3815         * lyxtext.h:
3816         * text.C (isLastRow, isFirstRow): new functions
3817
3818         * paragraph.h: new width cache member
3819
3820         * rowpainter.C: replace RowList::iterator with Row & where possible
3821
3822         * lyxfunc.C: replace several view()->text with a single call
3823
3824         * toc.C: fix 'unused' warning
3825
3826 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3829         when woring with stream::pos_type
3830         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3831
3832 2003-10-22  André Pönitz  <poenitz@gmx.net>
3833
3834         * lyxtext.h:
3835         * text.C: use Row & instead of RowList::iterator
3836
3837         * lyxrow.h: rename end() to endpos()
3838
3839         * rowpainter.C:
3840         * text.C:
3841         * text2.C: adjust
3842
3843 2003-10-22  Angus Leeming  <leeming@lyx.org>
3844
3845         * buffer.[Ch] (fully_loaded): new member function, returning true
3846         only when the file has been loaded fully.
3847         Used to prevent the premature generation of previews and by the
3848         citation inset to prevent computation of the natbib-style label.
3849
3850         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3851         templates are all set up.
3852
3853         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3854
3855 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3856
3857         * text.C: fixed an "oops" in the "is a bit silly"
3858         bug fix
3859
3860 2003-10-21  André Pönitz  <poenitz@gmx.net>
3861
3862         * FuncStatus.[Ch]: small stuff, whitespace
3863
3864         * lyxfont.[Ch]: operator<<() for debug reasons
3865
3866         * lyxfunc.C:
3867         * lyxrow_funcs.C:
3868         * lyxtext.h: whitespace, spelling
3869
3870         * paragraph.C: naming of variables
3871
3872         * text.C:
3873         * text2.C: small stuff
3874
3875
3876 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3877
3878         * text.C: (1) finish off the inset display() work;
3879         (2) fix the "is a bit silly" bug (accessing char
3880         past end of par).
3881
3882 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3883
3884         * text.C: re-introduce display() for insets, fixing the
3885         various bugs (stretch of line above, math inset
3886         positioning, ...)
3887
3888 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3889
3890         * text.C (rightMargin): remove spurious semicolon
3891
3892         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3893         1415)
3894
3895 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3896
3897         * text3.C: fix one crash due to wrong cursor def
3898
3899 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * vc-backend.C (scanMaster): make the regex static
3902
3903         * LaTeX.C (scanAuxFile): make the regexs static
3904
3905         * text3.C (doInsertInset, dispatch, dispatch):
3906         * text2.C (cursorUp, cursorDown):
3907         * text.C (selectNextWordToSpellcheck):
3908         * BufferView_pimpl.C (dispatch):
3909         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3910
3911 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3912
3913         * lyxsocket.C: include <cerrno>
3914
3915 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * lyxfunc.C (dispatch): remove textcache stuff
3918
3919         * bufferlist.C (release): remove textcache stuff
3920         (closeAll): ditto
3921
3922         * TextCache.C: delete file
3923         * TextCache.h: delete file
3924
3925         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3926
3927         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3928         delete of the bv_->text.
3929         (resizeCurrentBuffer): remove texcache stuff
3930         (workAreaResize): ditto
3931
3932 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3933
3934         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3935         action.
3936
3937 2003-10-16  André Pönitz  <poenitz@gmx.net>
3938
3939         * lyxrow.[Ch]:
3940         * paragraph.h:
3941         * rowpainter.C:
3942         * text.C:
3943         * text2.C:
3944         * text3.C: speed up by storing y positions per paragraph plus per-row
3945         offset instead of having a 'full' y position in the row.
3946
3947 2003-10-15  André Pönitz  <poenitz@gmx.net>
3948
3949         * iterators.[Ch]:
3950         * iterators.[Ch]:
3951         * undo.[Ch]: make undo aware of inner insets
3952
3953 2003-10-14  Angus Leeming  <leeming@lyx.org>
3954
3955         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3956         static member functions LyX::ref() and LyX::cref.
3957         (lastfiles): new accessor functions for the new lastfiles_ member var.
3958         (addLyXView, views_): add a new LyXView to the list of views_.
3959         (updateInset): loop over all LyXViews to call their own updateInset
3960         member function, returning a pointer to the Buffer owning the inset.
3961
3962         * BufferView_pimpl.C (loadLyXFile):
3963         * MenuBackend.C (expandLastfiles):
3964         * bufferlist.C (MenuWrite, QuitLyX):
3965         lastfiles is no longer a global variable.
3966         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3967
3968         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3969         static function. Access through LyX::cref().emergencyCleanup().
3970
3971 2003-10-14  André Pönitz  <poenitz@gmx.net>
3972
3973         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3974
3975         * undo.[Ch]: restoring part of 'undo in insets'
3976
3977         * Makefile.am:
3978         * undo_funcs.[Ch]: merge with undo.[Ch]
3979
3980         * tabular.C: small cleansing stuff
3981
3982 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3983
3984         * paragraph_funcs.C (readParToken): report unknown insets as error
3985         boxes. Use the outer paragraph as location (also for unknown
3986         tokens).
3987
3988         * factory.C (readInset): do not abort on reading an unknown inset.
3989         Eat it and return 0.
3990
3991 2003-10-13  Angus Leeming  <leeming@lyx.org>
3992
3993         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3994
3995         * lyxrc.C: displayTranslator is now a function,
3996         declared in GraphicsTypes.h.
3997
3998 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3999
4000         * format.C: new placeholder $$a to pass the socket address.
4001
4002         * bufferlist.[Ch]: new function getBufferFromTmp.
4003
4004         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4005           files in the temporary dir.
4006
4007 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4008
4009         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4010
4011         * Makefile.am: add lyxsocket.[Ch].
4012
4013         * lyx_main.C (error_handler): handle SIGPIPE.
4014
4015 2003-10-13  André Pönitz  <poenitz@gmx.net>
4016
4017         * BufferView_pimpl.C:
4018         * lyxtext.h:
4019         * text.C:
4020         * text2.C:
4021         * text3.C:
4022         * undo_funcs.[Ch]: use paroffset_type instead of
4023           ParagraphList::iterators to prevent multiple conversion
4024           (and get a more robust interface)
4025
4026 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4027
4028         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4029         * lyxtext.h: ditto
4030         * text3.C (dispatch): ditto
4031
4032 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4035         move the onlyfile, use onlyfile instead of foundfile in a couple
4036         of places.
4037
4038         * DepTable.C (update): flush the error stream a bit more
4039
4040 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * lyxserver.C (callback): adjust
4043
4044         * lyxfunc.C (getStatus): add a missing brace in commented code
4045         (ensureBufferClean): reindent
4046         (dispatch): delete version taking a string
4047
4048 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4049
4050         * LaTeX.C (deplog): move found file handlig from here...
4051         (handleFoundFile): .. to new function here.
4052         (deplog): make sure to discover several files mentioned on the
4053         same log line.
4054
4055 2003-10-10  André Pönitz  <poenitz@gmx.net>
4056
4057         * lyxfunc.C:
4058         * lyxtext.h:
4059         * tabular.C:
4060         * text.C:
4061         * text2.C:
4062         * text3.C: fix some of the tabular crashes
4063
4064 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4065
4066         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4067
4068         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4069
4070 2003-10-09  André Pönitz  <poenitz@gmx.net>
4071
4072         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4073
4074         * BufferView.C:
4075         * BufferView_pimpl.C:
4076         * bufferview_funcs.C:
4077         * lyx_cb.C:
4078         * lyxcursor.C:
4079         * lyxfind.C:
4080         * lyxfunc.C:
4081         * lyxtext.h:
4082         * text.C:
4083         * text2.C:
4084         * text3.C:
4085         * text_funcs.[Ch]:
4086         * textcursor.[Ch]:
4087         * undo_funcs.C: adjust
4088
4089 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4090
4091         * text2.C (incrementItemDepth): new function, use a backtracking
4092         algorithm to discover the correct item depth.
4093         (resetEnumCounterIfNeeded): new function, use a backtracking
4094         algorithm to discover if counter reset is needed.
4095         (setCounter): use them. Simplify a bit. Add different labels for
4096         different item depths for itemize.
4097
4098         * paragraph.C (Paragraph): remove initialization of enumdepth
4099         (operator=): ditto
4100
4101         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4102         enumerate and itemize. Change the type of itemdepth to signed char.
4103
4104 2003-10-08  André Pönitz  <poenitz@gmx.net>
4105
4106         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4107           thing assignable.
4108         * text.C:
4109         * text2.C: adjust
4110
4111         * tabular.[Ch]: fix crash after 'row-insert'
4112
4113 2003-10-08  Angus Leeming  <leeming@lyx.org>
4114
4115         Fix doxygen warnings.
4116
4117         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4118         Remove CutAndPaste:: prefix from header file declaration.
4119
4120         * LColor.h (fill): remove LColor:: prefix from declaration.
4121
4122         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4123         use lyx::depth_type rather than Paragraph::depth_type so that
4124         header file and .C file match.
4125
4126         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4127
4128         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4129         * aspell.C: \file aspell_local.C -> \file aspell.C
4130         * gettext.C: \file gettext.C -> \file src/gettext.C
4131         * gettext.h: \file gettext.h -> \file src/gettext.h
4132         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4133         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4134         * text.C: \file text.C -> \file src/text.C
4135
4136         * toc.C: move comment so that doxygen is not confused.
4137
4138 2003-10-07  Angus Leeming  <leeming@lyx.org>
4139
4140         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4141
4142 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4143
4144         * aspell.C:
4145         * aspell_local.h: add forgotten std::string's.
4146
4147 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4148
4149         * LaTeXFeatures.C:
4150         * LyXAction.C:
4151         * factory.C:
4152         * lfuns.h:
4153         * lyxfunc.C:
4154         * text3.C: The Box patch. Fancybox support, minipage, parbox
4155
4156 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4157
4158         * CutAndPaste.h:
4159         * DepTable.h:
4160         * FloatList.h:
4161         * LaTeXFeatures.h:
4162         * ParagraphParameters.h:
4163         * TextCache.h:
4164         * Thesaurus.h:
4165         * bufferlist.h:
4166         * exporter.h:
4167         * importer.h:
4168         * lastfiles.h:
4169         * lyxfind.h:
4170         * lyxfont.h:
4171         * lyxlex.h:
4172         * lyxtextclasslist.h:
4173         * messages.h:
4174         * paragraph.h:
4175         * paragraph_pimpl.C:
4176         * textcursor.h: add <string> and other small fixes to make Lars'
4177         std::string patch compile with STLport.
4178
4179 2003-10-06  Angus Leeming  <leeming@lyx.org>
4180
4181         * LColor.h: Add missing #include <string>.
4182
4183 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * All most all file in all subdirs: Make <string> be the prefered
4186         way of getting to std::string, add using declarations.
4187
4188 2003-10-06  André Pönitz  <poenitz@gmx.net>
4189
4190         * metricsinfo.C: initialize LyXFont before changing attribute.
4191         (fixes the 'math in \emph is upright' bug)
4192
4193 2003-10-06  André Pönitz  <poenitz@gmx.net>
4194
4195         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4196
4197 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4198
4199         * graph.C:
4200         * paragraph_pimpl.C: Small fixes to build using STLport
4201
4202 2003-10-02  André Pönitz  <poenitz@gmx.net>
4203
4204         * lyxfunc.C:
4205         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4206
4207 2003-10-01  André Pönitz  <poenitz@gmx.net>
4208
4209         * factory.C: assert early
4210
4211 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4212
4213         * lyx_main.C: remove the global debug object
4214
4215         * debug.h: adjust for new debugstream
4216
4217         * debug.C: adjust for new debugstream and keep the global debug
4218         object here.
4219
4220 2003-09-22  Angus Leeming  <leeming@lyx.org>
4221
4222         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4223         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4224         an incomplete class LyXFont.
4225
4226 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4227
4228         * factory.C: bug fix in branches
4229
4230 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4231
4232         * lyxfunc.C (processKeySym): adjust
4233         (dispatch): adjust
4234         (dispatch): change arg name from ev to func, adjust
4235         (sendDispatchMessage): ditto
4236
4237         * lyx_main.C (defaultKeyBindings): adjust keybindings
4238         (deadKeyBindings): ditto
4239
4240         * kbsequence.C (addkey): return a FuncRequest
4241
4242         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4243
4244         * kbmap.C (bind): take a FuncRequest as arg, adjust
4245         (read): adjust
4246         (lookup): adjust
4247         (defkey): change to take a FuncRequest as arg, adjust
4248         (findbinding): take a FuncRequest as arg, adjust.
4249
4250         * funcrequest.h (operator=): added
4251
4252         * funcrequest.C (FuncRequest): default kb_action changed from
4253         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4254
4255         * buffer.C (dispatch): simplify
4256         (dispatch): adjust to take a FuncRequest as arg, adjust
4257
4258         * boost.C (assertion_failed): change assertion message slightly
4259
4260         * ToolbarBackend.C (read): simplify
4261
4262         * MenuBackend.C (binding): adjust call to findbinding, add a
4263         message if no binding is found.
4264         (read): simplify
4265         (expandToc): correct by adding a empty FuncRequest
4266
4267         * LyXAction.C: include <boost/assert.hpp>
4268         (isPseudoAction): delete function
4269         (LookupFunc): change name to...
4270         (lookupFunc): this. change return type to FuncRequest.
4271         (getActionName): take kb_action as arg, simplify
4272         (funcHasFlag): add an assert, simplify.
4273
4274 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4275
4276         * toc.C (action): return a FuncRequest, simplify
4277
4278         * lyxfunc.C (processKeySym): adjust
4279         (getStatus): delete version that takes an int.
4280         (getStatus): adjust
4281         (dispatch): delete version that takes action as int
4282         (dispatch): adjust
4283         (sendDispatchMessage): simplify and adjust
4284
4285         * funcrequest.C (getArg): take unsigned int as arg
4286
4287         * ToolbarBackend.C (read): adjust
4288         (add): delete version that takes func as a string.
4289         (getIton): take a FuncRequest as arg
4290
4291         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4292         action.
4293
4294         * MenuBackend.C (MenuItem): add a new construct that only takes a
4295         Kind, simplify the constructor use for submenus.
4296         (add): adjust
4297         (expandLastfiles): adjust
4298         (expandDocuments): adjust
4299         (expandFormats): adjust
4300         (expandFloatListInsert): adjust
4301         (expandFloatInsert): adjust
4302         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4303
4304         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4305         Remove class variables lyx_pseudo_map and lyx_arg_map
4306
4307         * LyXAction.C (searchActionArg): delete function
4308         (getPseudoAction): delete function
4309         (retrieveActionArg): delete function
4310         (LookupFunc): make it return kb_action, simplify.
4311         (getActionName): simplify
4312
4313         * factory.C (createInset): fix new bug
4314
4315 2003-09-19  Angus Leeming  <leeming@lyx.org>
4316
4317         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4318         masterFilename_ parameter in the include inset.
4319
4320         * factory.C (createInset): changes due to the changes to InsetInclude.
4321
4322 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4323
4324         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4325
4326 2003-09-18  Angus Leeming  <leeming@lyx.org>
4327
4328         * buffer.C:
4329         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4330         Inset::fillWithBibKeys.
4331         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4332
4333 2003-09-18  Angus Leeming  <leeming@lyx.org>
4334
4335         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4336         variables.
4337         (ctor): pass and store a 'Buffer const &'
4338         (buffer): new member function.
4339
4340         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4341         '*this' to the LaTeXFeatures ctor.
4342
4343 2003-09-18  Angus Leeming  <leeming@lyx.org>
4344
4345         * LColor.h:
4346         * lyxfont.C:
4347         * lyxfont.h:
4348         * lyxtext.h:
4349         * text.C: rename EnumLColor as LColor_color.
4350
4351 2003-09-18  Angus Leeming  <leeming@lyx.org>
4352
4353         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4354         remove #include "insets/insetbase.h" from cursor.h.
4355
4356 2003-09-18  Angus Leeming  <leeming@lyx.org>
4357
4358         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4359         InsetOld_code to remove #include "inset.h".
4360
4361         * iterators.C: add #include "insets/inset.h"
4362
4363 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4364
4365         * BufferView.C: remove more locking stuff that apparently doesn't
4366         do anything sensible.
4367
4368 2003-09-16  André Pönitz  <poenitz@gmx.net>
4369
4370         * paragraph.[Ch]:
4371         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4372           performance boost.
4373
4374 2003-09-16  Angus Leeming  <leeming@lyx.org>
4375
4376         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4377
4378         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4379         arg/return type.
4380
4381         * paragraph.h: remove #include "lyxfont.h". Forward declare
4382         LyXFont_size.
4383
4384 2003-09-16  Angus Leeming  <leeming@lyx.org>
4385
4386         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4387         of support/textutils.h.
4388         (isWord): move the contents of support/textutils.h's IsWordChar here.
4389
4390         * buffer.C:
4391         * lyxfind.C:
4392         * rowpainter.C:
4393         * text.C:
4394         * text2.C: add #include "paragraph.h".
4395
4396         * rowpainter.C:
4397         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4398
4399 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * main.C:
4402         * lyx_main.C:
4403         * lyx_cb.C:
4404         * buffer.C:
4405         * LaTeX.C: use namespace alias for lyx::support::os
4406
4407 2003-09-16  Angus Leeming  <leeming@lyx.org>
4408
4409         * bufferparams.C:
4410         * bufferview_funcs.C:
4411         * factory.C:
4412         * lyxfunc.C:
4413         * paragraph_pimpl.C:
4414         * rowpainter.C:
4415         * text.C: add #include "LColor.h".
4416
4417 2003-09-16  Angus Leeming  <leeming@lyx.org>
4418
4419         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4420         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4421         return LyXFont &.
4422         Store the FontBits::color variable as an int rather than as an
4423         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4424         file.
4425
4426         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4427         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4428         string calls together.
4429
4430         * lyxrc.C: add #include "LColor.h".
4431
4432 2003-09-15  Angus Leeming  <leeming@lyx.org>
4433
4434         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4435         a cow_ptr.
4436
4437 2003-09-15  Angus Leeming  <leeming@lyx.org>
4438
4439         * LColor.h: add an EnumLColor wrapper for LColor::color.
4440
4441         * lyxfont.[Ch] (color, setColor, realColor):
4442         * lyxtext.h, text.C (backgroundColor):
4443         pass EnumLColor args to/from the functions, rather than LColor::color
4444         ones.
4445
4446         * lyxfont.h:
4447         * lyxtext.h: forward declare EnumLColor.
4448
4449         * lyx_main.C: add #include "LColor.h".
4450
4451 2003-09-15  Angus Leeming  <leeming@lyx.org>
4452
4453         * .cvsignore: add lyx-gtk.
4454
4455 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4456
4457         * Chktex.C
4458         * LaTeX.C
4459         * LaTeXFeatures.C
4460         * ParagraphParameters.C
4461         * Spacing.C
4462         * buffer.C
4463         * bufferparams.C
4464         * bufferview_funcs.C
4465         * chset.C
4466         * counters.C
4467         * funcrequest.C
4468         * lyxfont.C
4469         * lyxgluelength.C
4470         * lyxlength.C
4471         * paragraph.C
4472         * paragraph_funcs.C
4473         * text3.C
4474         * vc-backend.C: remove usage of STRCONV
4475
4476 2003-09-15  Angus Leeming  <leeming@lyx.org>
4477
4478         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4479         explicitly define the color passed to the painter.
4480
4481 2003-09-15  Angus Leeming  <leeming@lyx.org>
4482
4483         * bufferparams.C (BufferParams): reorder member initializers to avoid
4484         compiler warning.
4485
4486 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4487
4488         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4489         * text.C (updateRowPositions): remove an unusual nop
4490
4491 2003-09-12  André Pönitz  <poenitz@gmx.net>
4492
4493         * BufferView_pimpl.C:
4494         * Bullet.C:
4495         * layout.h:
4496         * lyxfunc.C:
4497         * lyxlayout.[Ch]:
4498         * lyxtextclass.C:
4499         * rowpainter.C:
4500         * text.C:
4501         * text2.C:
4502         * Counters.[Ch]: finish the 'automatic counters' job
4503
4504 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4505
4506         * aspell.C: include <boost/assert.cpp> (compile fix)
4507
4508 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4509
4510         * boost.C (assertion_failed): use lyx::support::abort instead of
4511         assert.
4512
4513 2003-09-10  Angus Leeming  <leeming@lyx.org>
4514
4515         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4516         with their _fwd progeny.
4517
4518 2003-09-09  Angus Leeming  <leeming@lyx.org>
4519
4520         134 files throughtout the source tree: replace 'using namespace abc;'
4521         directives with the appropriate 'using abc::xyz;' declarations.
4522
4523 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4524
4525         * boost.C (emergencyCleanup): moved here from LAssert.c
4526         (assertion_failed): new function, called by BOOST_ASSERT
4527
4528         * several files: change Assert to BOOST_ASSERT
4529
4530 2003-09-09  Angus Leeming  <leeming@lyx.org>
4531
4532         * buffer.[Ch]: Add an Impl class and move Buffer's member
4533         variables into it. As a result move several header files out of
4534         buffer.h.
4535
4536         Add header files to lots of .C files all over the tree as a result.
4537
4538 2003-09-09  Angus Leeming  <leeming@lyx.org>
4539
4540         * buffer.[Ch]: make Buffer's member variables private. Add
4541         accessor functions.
4542
4543         Lots of changes all over the tree as a result.
4544
4545 2003-09-08  Angus Leeming  <leeming@lyx.org>
4546
4547         * graph.C: #include <config.h>.
4548
4549 2003-09-08  Angus Leeming  <leeming@lyx.org>
4550
4551         * BranchList.C:
4552         * BufferView.C:
4553         * BufferView_pimpl.C:
4554         * CutAndPaste.C:
4555         * DepTable.C:
4556         * LaTeX.C:
4557         * LaTeXFeatures.C:
4558         * LyXAction.C:
4559         * MenuBackend.C:
4560         * TextCache.C:
4561         * aspell.C:
4562         * buffer.C:
4563         * bufferlist.C:
4564         * changes.C:
4565         * chset.C:
4566         * converter.C:
4567         * counters.C:
4568         * debug.C:
4569         * graph.C:
4570         * ispell.C:
4571         * lyx_cb.C:
4572         * lyxfind.C:
4573         * lyxfunc.C:
4574         * lyxlex_pimpl.C:
4575         * lyxrc.C:
4576         * lyxrow.C:
4577         * paragraph.C:
4578         * rowpainter.C:
4579         * texrow.C:
4580         * text.C:
4581         * text2.C:
4582         * toc.C: remove redundant using directives.
4583
4584 2003-09-07  Angus Leeming  <leeming@lyx.org>
4585
4586         * LaTeXFeatures.h: remove #include "support/types.h".
4587         * ToolbarBackend.h: remove #include <algorithm>.
4588         * changes.h: remove #include <ctime>.
4589         * debug.h: remove #include <iosfwd>.
4590         * graph.h: remove #include "support/std_string.h".
4591         * lyx_main.h: remove #include <csignal>.
4592         * lyxlex_pimpl.h: remove #include <fstream>.
4593         * sgml.h: remove #include <algorithm>, <utility>.
4594         * toc.h: remove #include "support/std_ostream.h".
4595         Add #include <iosfwd>.
4596
4597 2003-09-07  Angus Leeming  <leeming@lyx.org>
4598
4599         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4600
4601         * converter.h: forward declare LatexRunParams.
4602         * encoding.h: remove #include "lyxrc.h".
4603         * lyxtext.h: remove #include "LColor.h".
4604         * lyxtextclass.h: remove #include "support/types.h".
4605         * trans.h: remove #include "tex-accent.h".
4606         * trans_mgr.h: remove #include "tex-accent.h".
4607         * insets/inset.h: remove #include "support/types.h", <vector>.
4608         * insets/insetcollapsable.h: remove #include "LColor.h".
4609         * insets/insetinclude.h: remove #include "dimension.h".
4610         * insets/insetlatexaccent.h: remove #include "dimension.h".
4611         * insets/insetoptarg.h:: remove #include "insettext.h".
4612         * insets/insettext.h: remove #include "dimension.h",
4613         <boost/shared_ptr.hpp>
4614
4615         * insets/renderers.h: add #include "dimension.h".
4616         * insets/updatableinset.h: add #include "support/types.h".
4617
4618         * many .C files: Associated changes.
4619
4620 2003-09-06  Angus Leeming  <leeming@lyx.org>
4621
4622         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4623         one, inside testInvariant.
4624
4625         * PrinterParams.C: new file.
4626         * PrinterParams.[Ch]: move the function bodies out of line.
4627
4628 2003-09-06  Angus Leeming  <leeming@lyx.org>
4629
4630         * ParagraphParameters.h: forward declare ParameterStruct rather than
4631         including its header file.
4632         (depth): moved out-of-line.
4633
4634 2003-09-06  Angus Leeming  <leeming@lyx.org>
4635
4636         * BufferView_pimpl.h:
4637         * kbmap.h:
4638         * kbsequence.h:
4639         * lyxfunc.h: forward declare LyXKeySym rather than
4640         #include "frontends/LyXKeySym.h".
4641
4642         * BufferView_pimpl.C:
4643         * kbmap.C:
4644         * kbsequence.C:
4645         * lyxfunc.C: associated changes.
4646
4647 2003-09-06  Angus Leeming  <leeming@lyx.org>
4648
4649         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4650         As a result, can remove the #include "insets/inset.h" from BufferView.h
4651
4652 2003-09-06  Angus Leeming  <leeming@lyx.org>
4653
4654         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4655         As a result, can remove the #include "insets/inset.h" from BufferView.h
4656
4657 2003-09-06  Angus Leeming  <leeming@lyx.org>
4658
4659         * buffer_funcs.C:
4660         * buffer.h:
4661         * bufferlist.C:
4662         * BufferView.C:
4663         * bufferview_funcs.C:
4664         * BufferView_pimpl.C:
4665         * CutAndPaste.C:
4666         * lyx_cb.C:
4667         * lyxfunc.C:
4668         * paragraph.h:
4669         * ParagraphParameters.C:
4670         * tabular.C:
4671         * text3.C:
4672         * toc.C:
4673         * undo_funcs.C:
4674         * frontends/controllers/ControlDocument.C:
4675         * insets/insetcaption.C: rearrange the #includes into some sort of
4676         coherent order.
4677
4678         * buffer.h: remove #includes ErrorList.h, undo.h
4679
4680 2003-09-06  Angus Leeming  <leeming@lyx.org>
4681
4682         * support/types.h: add a 'depth_type' typedef, used to store the
4683         nesting depth of a paragraph.
4684
4685         * paragraph.h:
4686         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4687         defining explicitly.
4688
4689         * buffer.h:
4690         * paragraph_funcs.h:
4691         * ParagraphParameters.h:
4692         * sgml.h: use lyx::depth_type rather than Paragraph or
4693         ParameterStruct's depth_type.
4694
4695         * buffer.h
4696         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4697
4698         * BufferView.C:
4699         * BufferView_pimpl.C:
4700         * CutAndPaste.C:
4701         * ParagraphParameters.C:
4702         * buffer_funcs.C:
4703         * bufferlist.C:
4704         * bufferview_funcs.C:
4705         * lyx_cb.C:
4706         * lyxfunc.C:
4707         * tabular.C:
4708         * text3.C:
4709         * toc.C:
4710         * undo_funcs.C:
4711         * frontends/LyXView.C:
4712         * frontends/controllers/ControlDocument.C:
4713         * frontends/controllers/ControlErrorList.C:
4714         * insets/insetbibitem.C:
4715         * insets/insetbranch.C:
4716         * insets/insetcaption.C:
4717         * insets/insetcollapsable.C:
4718         * insets/insetenv.C:
4719         * insets/insetert.C:
4720         * insets/insetfloat.C:
4721         * insets/insetfoot.C:
4722         * insets/insetfootlike.C:
4723         * insets/insetnewline.C:
4724         * insets/insetquotes.C:
4725         * insets/insettabular.C:
4726         * insets/insettext.C:
4727         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4728
4729         * frontends/controllers/ControlChanges.C: #include "changes.h".
4730
4731 2003-09-06  Angus Leeming  <leeming@lyx.org>
4732
4733         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4734         than #including paragraph.h.
4735
4736         * ParagraphList.h:
4737         * RowList.h: deleted. Superfluous.
4738
4739         * CutAndPaste.h:
4740         * iterators.h:
4741         * lyxcursor.h:
4742         * lyxtext.h:
4743         * text_funcs.h:
4744         * undo.h:
4745         * undo_funcs.h:
4746         * insets/inset.h:
4747         * insets/insettext.h: use ParagraphList_fwd.h rather than
4748         ParagraphList.h.
4749
4750         * paragraph.h: don't forward declare ParagraphList.
4751
4752         * buffer.h:
4753         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4754         rather than ParagraphList.h. paragraph.h is still needed for the
4755         Paragraph::depth_type parameters.
4756
4757         * textcursor.h: enable it to compile stand-alone in light of the
4758         above changes.
4759
4760         * bufferview_funcs.C:
4761         * iterators.C:
4762         * lyxfunc.C:
4763         * lyxrow_funcs.C:
4764         * paragraph.C:
4765         * rowpainter.C:
4766         * text.C:
4767         * text2.C:
4768         * text3.C:
4769         * text_funcs.C:
4770         * textcursor.C:
4771         * undo.C:
4772         * frontends/controllers/ControlParagraph.C:
4773         * frontends/controllers/ControlTabular.C:
4774         * insets/insetmarginal.C:
4775         * insets/insetminipage.C:
4776         * insets/insetnote.C:
4777         * insets/insetoptarg.C: add header files needed to compile again.
4778
4779 2003-09-06  Angus Leeming  <leeming@lyx.org>
4780
4781         * RowList_fwd.h: new file, forward-declaring Row rather than
4782         #including lyxrow.h.
4783
4784         * lyxrow_funcs.h:
4785         * lyxtext.h:
4786         * paragraph.h:
4787         * insets/insettext.h: use it instead of RowList.h
4788
4789         * bufferview_funcs.C:
4790         * lyxfunc.C:
4791         * lyxrow_funcs.C:
4792         * paragraph.C:
4793         * rowpainter.C:
4794         * text.C:
4795         * text2.C:
4796         * text3.C: #include "RowList.h".
4797
4798 2003-09-05  Angus Leeming  <leeming@lyx.org>
4799
4800         * factory.C (createInset):
4801         * vspace.C (c-tor): replace sscanf call with an istringstream.
4802         * ispell.C: re-add missing HP/UX headers.
4803         * lyxserver.C: re-add missing  os2 headers.
4804
4805 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4806
4807         * BranchList.C:
4808         * graph.C:
4809         * ispell.C:
4810         * lastfiles.C:
4811         * lyx_cb.C:
4812         * lyxserver.C:
4813         * texrow.C:
4814         * text3.C: re-add missing system headers, needed for 2.95.2.
4815
4816 2003-09-05  Angus Leeming  <leeming@lyx.org>
4817
4818         Changes most place everywhere due to the removal of using directives
4819         from support/std_sstream.h.
4820
4821 2003-09-05  Angus Leeming  <leeming@lyx.org>
4822
4823         Replace LString.h with support/std_string.h,
4824         Lsstream.h with support/std_sstream.h,
4825         support/LIstream.h with support/std_istream.h,
4826         support/LOstream.h with support/std_ostream.h.
4827
4828         Changes resulting throughout the tree.
4829
4830 2003-09-05  Angus Leeming  <leeming@lyx.org>
4831
4832         * sgml.h: ensure that the header file can be compiled stand-alone.
4833         * *.C: strip out redundant #includes. (320 in total.)
4834
4835 2003-09-04  Angus Leeming  <leeming@lyx.org>
4836
4837         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4838         here (from getPackages).
4839
4840         * debug.[Ch]: add a new EXTERNAL tag.
4841
4842 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4843
4844         * text2.C (cursorEnd): simplify
4845         (setCursor): adjust
4846         (getColumnNearX): adjust
4847
4848         * text.C (computeBidiTables): adjust
4849         (fill): adjust
4850
4851         * rowpainter.C (paintChars): adjust
4852         (paintSelection): adjust
4853         (paintChangeBar): adjust
4854         (paintText): adjust
4855
4856         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4857         lastPos instead.
4858         (numberOfSeparators): adjust
4859
4860 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4861
4862         * LyXAction.C:
4863         * box.[Ch]:
4864         * lfuns.h:
4865         * lyxfunc.C:
4866         * text3.C: Restricts the mouse click functionality
4867         of insets like bibtex, include, toc and floatlist to the visible
4868         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4869         up the dialogs. Cursor has to be in front of the inset (i.e.
4870         start of row) for this to function.
4871
4872 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4873
4874         * bufferview_funcs.C (currentState): output row information
4875
4876 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4877
4878         * bufferview_funcs.C (currentState): output paragraph position
4879
4880 2003-09-04  Angus Leeming  <leeming@lyx.org>
4881
4882         * FloatList.h: move out #include "Floating.h".
4883         * LaTeX.h: move out #include "DepTable.h".
4884         * LyXAction.h: move out #include "funcrequest.h".
4885         * buffer.h: move out #include "author.h", "iterators.h".
4886         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4887         * lyx_main.h: move out #include "errorlist.h".
4888         * lyxfunc.h: move out #include "FuncStatus.h".
4889         * lyxtext: move out #include "lyxcursor.h".
4890         * paragraph_pimpl.h: move out #include "counters.h".
4891
4892 2003-09-03  Angus Leeming  <leeming@lyx.org>
4893
4894         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4895         preamble_snippets list, enabling us to add snippets to the preamble
4896         only if the snippet was not there already.
4897
4898 2003-09-04  Angus Leeming  <leeming@lyx.org>
4899
4900         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4901
4902 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4905         update
4906
4907 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4908
4909         * BranchList.C: point fix, earlier forgotten
4910
4911 2003-09-02  Angus Leeming  <leeming@lyx.org>
4912
4913         * box.C (contains): renamed from 'contained' after a fantastic
4914         amount of hot air.
4915
4916 2003-09-02  John Levon  <levon@movementarian.org>
4917
4918         * BufferView.C:
4919         * lyxcursor.h:
4920         * lyxcursor.C:
4921         * lyxfunc.C:
4922         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4923
4924 2003-09-02  John Levon  <levon@movementarian.org>
4925
4926         * text2.C: simplification of cursorEnd(), including partial
4927         fix for bug 1376
4928
4929 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * buffer.C (readFile): add a space
4932
4933 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4934
4935         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4936
4937 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4938
4939         * buffer.C (readFile): new function, take a filename and a
4940         ParagraphList::iterator
4941         (readFile): adjust
4942         (readFile): adjust, make it private. don't use setStream, make
4943         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4944         always contain the filename.
4945
4946         * BufferView.C (insertLyXFile): simplify and make it work for
4947         gzipped files.
4948
4949 2003-08-30  John Levon  <levon@movementarian.org>
4950
4951         * Makefile.am: fix dist (from Kayvan)
4952
4953 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4954
4955         * most files: change to use const Buffer refs
4956
4957 2003-08-27  André Pönitz  <poenitz@gmx.net>
4958
4959         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4960         on top of ownerPar().
4961
4962 2003-08-27  John Levon  <levon@movementarian.org>
4963
4964         * funcrequest.C: properly initialise POD members
4965
4966 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * lyxtext.h (top_y): move top_y from here
4969         * text.C:
4970         * text2.C:
4971         * text3.C:
4972         * BufferView.[Ch]:
4973         * BufferView_pimpl.[Ch]: to here
4974         * frontends/screen.C:
4975         * insets/insettabular.C:
4976         * insets/insettext.C: adjust
4977         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4978
4979 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * BufferView.[Ch]:
4982         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4983
4984 2003-08-26  André Pönitz  <poenitz@gmx.net>
4985
4986         * paragraph_func.[Ch] (outerPar): new function
4987
4988         * paragraph.C:
4989         * paragraph_funcs.C:
4990         * paragraph_funcs.h:
4991         * paragraph_pimpl.C:
4992         * text2.C: remove Inset::par_owner
4993
4994 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4995
4996         * lyxrow_funcs.C:
4997         * lyxtext.h:
4998         * text.C:
4999         * text2.C: eliminates the needFullRow/display() stuff
5000         altogether, putting the logic in metrics/draw in the insets.
5001
5002 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * text2.C (redoParagraphInternal, redoParagraphs):
5005         * text.C (redoParagraph): add a call to updateRowPositions at the
5006         end of each 'metrics-like' call. Remove all others.
5007         (getRow): remove the 'y-computing' version.
5008         (getRowNearY): do not compute nor return the real y. Solve the
5009         'y < 0' problem and simplify.
5010
5011 2003-08-22  Angus Leeming  <leeming@lyx.org>
5012
5013         * *.[Ch]: clean-up of licence and author blurbs.
5014         Also move config.h out of a few .h files and into a few .C files.
5015
5016 2003-08-22  André Pönitz  <poenitz@gmx.net>
5017
5018         * lyxrow.[Ch]: add x_ and *fill_ members
5019
5020         * lyxtext.h:
5021         * text.C:
5022         * rowpainter.C:
5023         * text2.C: adjust/remove prepareToPrint() calls
5024
5025 2003-08-22  André Pönitz  <poenitz@gmx.net>
5026
5027         * lyxrow.[Ch]: add  end_ member
5028
5029         * lyxrow_funcs.C: use LyXRow::end_
5030
5031         * lyxtext.h (singleWidth): add LyXFont parameter
5032
5033         * rowpainter.C:
5034         * text2.C: adjust LyXText::singleWidth() calls
5035
5036         * text.C (redoParagraph): simplify row breaking logic
5037
5038
5039 2003-08-19  André Pönitz  <poenitz@gmx.net>
5040
5041         * funcrequest.C: initialize button_ member
5042
5043         * text3.C:
5044         * rowpainter.[Ch]: interface consolidation
5045
5046 2003-08-18  André Pönitz  <poenitz@gmx.net>
5047
5048         * BufferView.C:
5049         * BufferView_pimpl.C:
5050         * lyxfind.C:
5051         * paragraph_funcs.C:
5052         * rowpainter.C:
5053         * text3.C: remove LyXScreen::draw() and fitCursor calls
5054
5055         * BranchList.h: remove spurious semicolons
5056
5057         * MenuBackend.C: fix branchlist related crash
5058
5059 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5060
5061         * BranchList.[Ch]:
5062         * InsetList.[Ch]:
5063         * LColor.[Ch]:
5064         * LyXAction.C:
5065         * Makefile.am:
5066         * MenuBackend.[Ch]:
5067         * bufferparams.[Ch]:
5068         * factory.C:
5069         * lfuns.h:
5070         * lyxfunc.C:
5071         * text3.C: implements the 'branch inset'
5072         idea. This allows the output of various versions of a document
5073         from a single source version, selectively outputing or suppressing
5074         output of parts of the text.
5075         This implementation contains a 'branch list editor' in a separate
5076         tab of the document settings dialog. Branches are user definable
5077         and have a "display colour" to distinguish them on-screen.
5078
5079         ColorHandler was somewhat cleaned up.
5080         (1) make possible a dynamically growing LColor list by allowing
5081         the graphic context cache to grow along (vector);
5082         (2) eliminate an IMHO unnecessary step in colour allocation.
5083
5084 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5085
5086         * BufferView_pimpl.C: compile fix
5087
5088 2003-08-15  André Pönitz  <poenitz@gmx.net>
5089
5090         * rowpainter.C: remove extra metrics calls
5091
5092         * lyxtext.h: merge the two constructors into a single one,
5093           pass reference to owner's par list
5094
5095         * BufferView_pimpl.C:
5096         * text.C:
5097         * text2.C: adjust
5098
5099 2003-08-15  André Pönitz  <poenitz@gmx.net>
5100
5101         * lyxrow_funcs.[Ch]:
5102         * lyxtext.h:
5103         * paragraph.h:
5104         * paragraph_funcs.C:
5105         * rowpainter.C:
5106         * text.C:
5107         * text2.C:
5108         * text3.C:
5109         * text_funcs.C: split LyXText::rowlist_ into individual
5110         Paragraph::rows_ chunks
5111
5112         * BufferView.[Ch]:
5113         * BufferView_pimpl.[Ch]:
5114         * lyxfind.C:
5115         * lyxtext.h:
5116         * text3.C: remove toggleSelection()
5117
5118 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5119
5120         * bufferlist.C: beautify two alerts (shorter text of buttons)
5121         * buffer.C: Remove redundant ' ' from message
5122         * tabular.h:
5123         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5124         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5125         rename VALIGN_CENTER to VALIGN_MIDDLE
5126
5127 2003-08-11  André Pönitz  <poenitz@gmx.net>
5128
5129         * lyxtext.h (getPar):
5130         * text.C: new function
5131
5132 2003-08-11  André Pönitz  <poenitz@gmx.net>
5133
5134         * Makefile.am:
5135         * tracer.[Ch]: remove unneeded files
5136
5137         * InsetList.[Ch]: remove resizeInsetsLyXText()
5138
5139         * lyxtext.h:
5140         * text.C:
5141         * text2.C:
5142         * text3.C: merge insertParagraphs() and appendParagraph()
5143         remove breakAgain(), update()
5144
5145         * BufferView_pimpl.[Ch]:
5146         * bufferview_funcs.[Ch]:
5147         * lyxfunc.C:
5148         * paragraph.[Ch]:
5149         * rowpainter.C:
5150         * tabular.C: adjust after text & InsetList changes.
5151
5152 2003-08-08  André Pönitz  <poenitz@gmx.net>
5153
5154         * text.C (insertChar, backspace): replace rowlist fiddling
5155         with rebreak of full par
5156
5157         * lyxtext.h:
5158         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5159         checkParagraph, updateInset): removed
5160
5161 2003-08-07  André Pönitz  <poenitz@gmx.net>
5162
5163         * paragraph.C:
5164         * text3.C: merge some LFUN handlers, remove dead code
5165
5166 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5167
5168         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5169
5170 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5171
5172         * text2.C (DEPM): fix part of bug 1255 and 1256
5173
5174 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5175
5176         * BufferView_pimpl.C (workAreaDispatch): change to use
5177         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5178         that are no mouse related.
5179
5180 2003-08-05  André Pönitz  <poenitz@gmx.net>
5181
5182         * BufferView.[Ch]:
5183         * BufferView_pimpl.[Ch]:
5184         * bufferview_funcs.C:
5185         * text2.C:
5186         * text3.C: rip out "deep update"
5187
5188         * textcursor.[Ch] (last_sel_cursor): remove unused member
5189
5190 2003-08-04  André Pönitz  <poenitz@gmx.net>
5191
5192         * BufferView.[Ch]:
5193         * BufferView_pimpl.[Ch]:
5194         * ParagraphParameters.C:
5195         * bufferview_funcs.C:
5196         * lyx_cb.C:
5197         * lyxfind.C:
5198         * lyxfunc.C:
5199         * text.C:
5200         * text2.C:
5201         * text3.C: replace "complicated" BufferView::update(...) calls with
5202         simpler ones.
5203
5204         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5205
5206 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5207
5208         * Makefile.am (lyx_SOURCES): add paper.h
5209
5210 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5211
5212         * Makefile.am: move things around so that both lyx-qt and
5213         lyx-xforms can be built (according to --with-frontend). Then lyx
5214         is a symbolic link to lyx-[firstfrontend]
5215
5216 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5217
5218         * Always use std::endl with lyxerr
5219
5220 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5221
5222         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5223
5224 2003-08-01  André Pönitz  <poenitz@gmx.net>
5225
5226         * BufferView.[Ch]:
5227         * BufferView_pimpl.[Ch]:
5228         * lyxfunc.C:
5229         * text3.C: merge BufferView::repaint() and BufferView::update()
5230
5231 2003-08-01  José Matos  <jamatos@lyx.org>
5232
5233         * buffer.[Ch]: file_format is no longer a buffer data element.
5234
5235 2003-08-01  André Pönitz  <poenitz@gmx.net>
5236
5237         * BufferView.C:
5238         * lyxtext.h:
5239         * text.C:
5240         * text2.C: make redoParagraph more independent of current cursor
5241
5242         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5243         * text.C:
5244         * text2.C: remove unneeded members
5245
5246 2003-07-30  André Pönitz  <poenitz@gmx.net>
5247
5248         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5249
5250         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5251           create a single function...
5252
5253         * paragraph_funcs.C (moveItem): ... here.
5254
5255         * text.C:
5256           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5257
5258 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5259
5260         * LColor.[Ch]: Add comment and greyedout logical colors.
5261
5262 2003-07-30  André Pönitz  <poenitz@gmx.net>
5263
5264         * tabular.C: don't use Assert too heavily. This crashes where it
5265           shouldn't
5266
5267 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5268
5269         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5270         is disabled (bug 1232)
5271
5272 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5273
5274         * factory.C: limited 'arg' scope
5275
5276 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5277
5278         * factory.C: fixed Note submenu issues
5279
5280 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5281
5282         * factory.C: submenu for Note/Comment/Greyedout
5283
5284 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * lyx_main.C (LyX):
5287         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5288
5289 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5290
5291         * LaTeXFeatures.C:
5292         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5293         greyedout. Patch provided by Jürgen Spitzmüller.
5294
5295 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5296
5297         * kbmap.C (read): fix error message when reading bind files
5298
5299 2003-07-29  Angus Leeming  <leeming@lyx.org>
5300
5301         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5302         certainly does not do what it purports to do. I am doing it, and
5303         us, a favour by killing it.
5304
5305 2003-07-28  José Matos  <jamatos@lyx.org>
5306
5307         * buffer.C (readBody, do_writeFile):
5308         * paragraph.C(readParagraph): \end_document replaces \the_end.
5309
5310 2003-07-29  André Pönitz  <poenitz@gmx.net>
5311
5312         * BufferView.[Ch]:
5313         * BufferView_pimpl.[Ch]:
5314         * lyxfunc.C:
5315         * text2.C:
5316         * text3.C:
5317         * textcursor.[Ch]: remove toggleToggle & Co
5318
5319 2003-07-28  José Matos  <jamatos@fep.up.pt>
5320
5321         * buffer.C (readParagraph):
5322         * params_func (readParToken, readParagraph):
5323         * paragraph.C (write): \layout -> \begin_layout.
5324
5325 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * lyxlex_pimpl.C (setFile): clean up slightly.
5328
5329         * bufferparams.h: add compressed var
5330
5331         * buffer_funcs.C (readFile): adjust for LyXLex change
5332         (newFile): ditto + simplify
5333
5334         * buffer.C (writeFile): handle writing of compressed files
5335
5336         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5337         Check if the file is compressed and set a bufferparm if so.
5338
5339         * Makefile.am (lyx_LDADD): remove explicit -lz
5340
5341 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5342
5343         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5344         makeDocBookFile): put the real LyX version in the first line of
5345         the file
5346
5347         * version.h:
5348         * version.C.in: remove lyx_docversion
5349
5350         * tabular.C (write_attribute): add a template-based version to
5351         write enums properly
5352
5353 2003-07-28  André Pönitz  <poenitz@gmx.net>
5354
5355         * lyxtext.h:
5356         * text.C:
5357         * text2.C:
5358         * text3.C: use doubles again for x-coordinates. They are needed.
5359
5360 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5361
5362         * messages.C (getLocaleDir): use lyx_localedir()
5363
5364         * lyxlex_pimpl.C (setFile): compress stuff
5365
5366         * buffer.C (writeFile): add some compression stuff
5367         (do_writeFile): new func, dont call expliti close... will this
5368         breake anything?
5369
5370         * Makefile.am (lyx_LDADD): add -lz
5371
5372 2003-07-28  José Matos  <jamatos@fep.up.pt>
5373
5374         * buffer.C: increment file format.
5375         * paragraph_funcs (readParagraph, readParToken):
5376         * paragraph.C (readParagraph): add \end_layout.
5377
5378 2003-07-27  Angus Leeming  <leeming@lyx.org>
5379
5380         * Makefile.am: remove special casing for configure-time setting of
5381         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5382
5383         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5384         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5385
5386 2003-07-26  André Pönitz  <poenitz@gmx.net>
5387
5388         * paragraph_func.[Ch]:
5389         * paragraph.C (realizeFont): inline it whereever it is used
5390
5391         * rowpainter.C:
5392         * text.C:
5393         * text2.C:
5394         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5395
5396
5397 2003-07-26  André Pönitz  <poenitz@gmx.net>
5398
5399         *       lyxtext.h:
5400         * text.C:
5401         * text2.C: get rid of LyXText::need_break_row
5402
5403 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5404
5405         * toc.[Ch]: put namespace toc inside namespace lyx
5406
5407         * MenuBackend.C (expandToc2): adjust for lyx::toc
5408         (expandToc): ditto
5409
5410         * lyxfunc.C (dispatch): adjust for lyx::find
5411
5412         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5413         lyx::find instead. Reorganize a bit.
5414         (LyXReplace): rename to replace
5415         (LyXFind): rename to find
5416
5417         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5418         (dispatch): ditto
5419
5420 2003-07-26  André Pönitz  <poenitz@gmx.net>
5421
5422         * text.C (setHeightOfRow): restrict scope of temporary variable
5423
5424         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5425           code (never has been used?)
5426
5427 2003-07-27  Asger Alstrup  <alstrup@local>
5428
5429         * text.C (fill): Optimise algorithm to exploit that we can reuse
5430         the LyXFont for many characters.
5431         (setHeightOfRow): Same thing.
5432         (rowBreakPoint): Same thing.
5433
5434 2003-07-26  Asger Alstrup  <alstrup@local>
5435
5436         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5437
5438         * text.C (singleWidth): Spurious font copying in hot-spot
5439         singleWidth avoided. Reorder tests for arabic for efficiency.
5440
5441         * text.C (fill): handle empty paragraphs better.
5442
5443 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5444
5445         * ispell.C:
5446         * encoding.h: add includes
5447
5448         * lyxrc.C: remove reading of bind files
5449
5450         * lyx_main.C (init): setup bindings and menus only if we have a
5451         gui.
5452
5453         * kbmap.C (read): new method. Do the actual reading of bind
5454         files.
5455
5456         * converter.C (dvipdfm_options):
5457         * bufferparams.C:
5458         * lyxrc.C (read):
5459         (output): adapt PAPER_* enums.
5460
5461         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5462
5463         * bufferparams.h: remove paper-related enums from there
5464
5465         * paper.h: New file. A trivial header file to hold paper-related
5466         enums. It should later expand to contain many paper-related
5467         horrors access.
5468
5469         * lyxrc.C: declare extern displayTranslator
5470
5471 2003-07-27  José Matos  <jamatos@fep.up.pt>
5472
5473         * tabular.[Ch] (linuxdoc): add support for tables and figures
5474         (linuxdoc).
5475
5476 2003-07-27  José Matos  <jamatos@fep.up.pt>
5477
5478         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5479         consistency in both functions.
5480         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5481
5482 2003-07-26  Asger Alstrup  <alstrup@local>
5483
5484         * rowpainter.C (paintRows): Change algorithm to work directly on
5485         the insets rather than asking every character in the document
5486         whether its an inset.
5487
5488 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5489
5490         * buffer.C (openFileWrite): factorize some code
5491
5492 2003-07-26  Angus Leeming  <leeming@lyx.org>
5493
5494         * lyx_cb.C:
5495         * lyx_main.[Ch]: replace occurances of system_tempdir with
5496         os::getTmpDir().
5497
5498 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * rename Inset to InsetOld
5501
5502 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5503
5504         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5505         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5506         which I think is a bit clearer. EDIT is gone, since it was
5507         premature optimisation, and broken for mathed anyway.
5508         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5509         with cursor positioning in insets as well (math insets still do not
5510         work, but that's a different story anyway.) It mysteriously
5511         crashes sometimes with undo in the first paragraph, but I'm fairly
5512         confident that this is a compiler bug.
5513
5514 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5515
5516         * paragraph.C (Paragraph): adjust for new clone return type
5517         (operator==): ditto
5518         (copyIntoMinibuffer): ditto
5519
5520 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5521
5522         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5523         by not having a special case, and always doing a full rebreak of
5524         the document after undo.
5525
5526 2003-07-23  Angus Leeming  <leeming@lyx.org>
5527
5528         * factory.C (createInset): InsetExternal::setParams now takes a
5529         Buffer const * arg.
5530
5531 2003-07-23  Angus Leeming  <leeming@lyx.org>
5532
5533         * factory.C (createInset): changed interface to the external and
5534         graphics mailers' string2params functions.
5535
5536 2003-07-23  Angus Leeming  <leeming@lyx.org>
5537
5538         * factory.C (createInset): pass a
5539         Buffer const * parameter to InsetExternalMailer's string2params.
5540
5541 2003-07-22  John Levon  <levon@movementarian.org>
5542
5543         * Thesaurus.h: include the right aiksaurus header
5544
5545 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5546
5547         * MenuBackend.C (expand): check menu shortcuts unconditionally
5548
5549 2003-07-21  Angus Leeming  <leeming@lyx.org>
5550
5551         * factory.C (createInset): pass a
5552         buffer_path parameter to InsetGraphicsMailer's string2params.
5553
5554 2003-07-21  Angus Leeming  <leeming@lyx.org>
5555
5556         * BufferView_pimpl.C (buffer):
5557         * buffer.C (d-tor):
5558         * lyx_main.C (LyX):
5559         * lyxfunc.C (dispatch):
5560         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5561         rather than the grfx shortcut.
5562
5563 2003-07-21  André Pönitz  <poenitz@gmx.net>
5564
5565         * rowpainter.C: remove unused variables
5566
5567         * tabular_funcs.C:
5568         * tabular_funcs.h: move to tabular.C
5569         * Makefile.am: adjust
5570
5571         * tabular.[Ch]: basic optical cleaning
5572
5573         * author.h: pass references, not values
5574
5575 2003-07-18  André Pönitz  <poenitz@gmx.net>
5576
5577         * lyxtext.h:
5578         * metricsinfo.C:
5579         * metricsinfo.h:
5580         * rowpainter.C:
5581         * text.C:
5582         * text2.C:
5583         * text3.C: two-phase drawing for InsetText and InsetTabular
5584         some float -> int changes.
5585
5586 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5587
5588         * lyx_main.C: fix the fix
5589
5590 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5591
5592         * lyx_main.C: fix a crash in batch mode if no files specified
5593         * converter.C: ws
5594
5595 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5596
5597         * format.[Ch] (papersize): moved to BufferParams
5598         * converter.[Ch] (dvips_options): moved to BufferParams
5599         (dvipdfm_options): moved to anon namespace
5600         * bufferparams.[Ch]: added above functions.
5601
5602 2003-07-17  André Pönitz  <poenitz@gmx.net>
5603
5604         * lyxtext.h:
5605         * rowpainter.C:
5606         * text2.C: don't call inset->update() anymore
5607
5608         * metricsinfo.[Ch]: add convenience constructor
5609
5610 2003-07-16  André Pönitz  <poenitz@gmx.net>
5611
5612         * lyxcursor.[Ch]:
5613         * lyxfunc.[Ch]:
5614         * text.C:
5615         * text2.C: replace the LyXCursor::irow_ member with
5616          on-demand computation of the value
5617
5618 2003-07-16  John Levon  <levon@movementarian.org>
5619
5620         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5621
5622 2003-07-15  André Pönitz  <poenitz@gmx.net>
5623
5624         * text.C:
5625         * text2.C: remove no more needed refresh_row
5626
5627 2003-07-15  André Pönitz  <poenitz@gmx.net>
5628
5629         * lyxtext.h:
5630         * rowpainter.C:
5631         * text2.C:
5632         * text3.C: refresh_status tristate -> need_update bool
5633
5634 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5635
5636         * lyxtext.h (init): remove reinit argument (act as if always true)
5637         * text2.C: adjust to that
5638
5639 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5640
5641         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5642         * text3.C: use it to delete selections in some cases
5643         (bugs 441, 673, 702, 954).
5644
5645 2003-07-14  André Pönitz  <poenitz@gmx.net>
5646
5647         * rowpainter.[Ch]: reduce interface
5648
5649 2003-07-14  André Pönitz  <poenitz@gmx.net>
5650
5651         * BufferView_pimpl.C:
5652         * text2.C: adjust after removing unused BufferView * argument
5653
5654 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5655
5656         * text2.C (init): fix a crash fired on resize
5657
5658 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5659
5660         * buffer.[Ch]: added new closing signal
5661         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5662         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5663         BufferView::Pimpl via the closing the signal
5664
5665 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5666
5667         * buffer.[Ch]: take out all bv-related from buffer
5668         * BufferView.C:
5669         * BufferView_pimpl.[Ch]: connect to new signals
5670         * CutAndPaste.C: removed useless asserts
5671         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5672         * lyxvc.[Ch]:
5673         * vc-backend.[Ch]:
5674         * lyxfunc.C: moved view-related funciontality from vc here
5675         * paragraph.C: removed outdated comments
5676         * text.C: ws
5677
5678 2003-07-10  André Pönitz  <poenitz@gmx.net>
5679
5680         * BufferView_pimpl.C:
5681         * tabular.h:
5682         * tabular_funcs.C:
5683         * text.C:
5684         * text2.C: remove InsetText::InnerCache, clean up consequences
5685
5686 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5687
5688         * ispell.C: fix two typos in error messages
5689
5690 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5691
5692         * Extend Note inset to other forms of annotation like Comment
5693         and Greyedout. Right button click gives dialog.
5694
5695         Files modified or added (+):
5696
5697         * insetnote.[Ch]
5698         * FormNote.[Ch]      +
5699         * ControlNote.[Ch]   +
5700         * form_note.fd       +
5701         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5702         frontends/controllers
5703         * xforms/Dialogs.C
5704         * factory.C
5705
5706 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5707
5708         * aspell.C: add missing namespace lyx::support
5709
5710 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5711
5712         * BufferView.[Ch] (newFile): Add
5713         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5714         * LaTeX.[Ch] (message): added this signal and use it
5715         * buffer.[Ch] (busy, message): added these signals and use them
5716         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5717         * converter.C:
5718         * exporter.C:
5719         * format.C:
5720         * importer.C: use buffer signals instead of direct bv calling
5721         * lyx_cb.[Ch] (ShowMessage): removed
5722         * lyx_main.C:
5723         * lyxfunc.C:
5724         * paragraph_funcs.C:
5725         * text2.C: use buffer signals
5726
5727 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * introduce namespace lyx::graphics
5730
5731 2003-07-02  André Pönitz  <poenitz@gmx.net>
5732
5733         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5734
5735 2003-07-01  André Pönitz  <poenitz@gmx.net>
5736
5737         * text.C:
5738         * text2.C:
5739         * text3.C:
5740         * text_funcs.[Ch]:
5741         * textcursor.h:
5742         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5743           text*.C to text_func.C
5744
5745 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * introduce namespace lyx::support
5748
5749 2003-06-30  André Pönitz  <poenitz@gmx.net>
5750
5751         * Chktex.C:
5752         * funcrequest.C:
5753         * lyxtext.h:
5754         * text.C: re-enable --with-included-string
5755
5756 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * textcursor.C: add <config.h>
5759
5760         * text.C (getWord): remove const from word_location arg
5761
5762         * lyxvc.C (getLogFile): fix const type order
5763
5764         * lyxtext.h: remove const from word_location arg, add arg name
5765
5766         * lyxlayout.h: currect type on labeltype.
5767
5768         * importer.C: correct \file
5769
5770         * converter.C (intToFormat): use std:: on ret val, ws changes
5771
5772         * bufferlist.h: correct \file
5773
5774         * buffer.C (makeLinuxDocFile): fix const type order
5775         (makeDocBookFile): ditto
5776         (fillWithBibKeys): use std:: on stdlib args.
5777
5778         * CutAndPaste.C: fix authors.
5779         (availableSelections): use std:: on return vector
5780
5781 2003-06-27  André Pönitz  <poenitz@gmx.net>
5782
5783         * BufferView_pimpl.C:
5784         * bufferview_funcs.C:
5785         * lyxcursor.C:
5786         * lyxcursor.h:
5787         * lyxfunc.C:
5788         * lyxtext.h:
5789         * rowpainter.C:
5790         * text.C:
5791         * text2.C:
5792         * text3.C: remove LyXCursor::row_ member
5793
5794         * lyxtext.h:
5795         * text.C: rename fullRebreak() to partialRebreak() and implement
5796           a fullRebreak() that really bereks fully
5797
5798         * textcursor.h: new struct for cursor-related data
5799
5800 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5801
5802         * lyx_main.C (LyX): get full path of document loaded on the
5803         command line
5804
5805 2003-06-26  André Pönitz  <poenitz@gmx.net>
5806
5807         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5808           remove unused/broken operator>,<,>=.
5809
5810         *       text.C: remove only use of broken operator<= in an Assert().
5811
5812 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5813
5814         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5815         moved errorlist_.clear to showErrorList
5816
5817 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5818
5819         * converter.C (scanLog, runLaTeX):
5820         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5821         move the bv->showErrorList call to the callers
5822         * lyxfunc.C: i.e. here...
5823         * text2.C: and here
5824         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5825         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5826         namespace, the second to...
5827         * buffer_funcs (BufferFormat, parseErrors): added
5828         * errorlist.C (ErrorList(TeXErrors const &)): removed
5829
5830 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5831
5832         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5833
5834 2003-06-24  "Garst R. Reese" <reese@isn.net>
5835
5836         * debug.C: fix typo
5837
5838 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5839
5840         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5841
5842         * version.C.in: change docversion to 1.4
5843
5844 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5845
5846         * buffer.C: fix a bug just introduced
5847
5848 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * buffer.[Ch]: added the parseError signal and use it, removed
5851         sgmlError
5852         * BufferView.[Ch] (addError): moved to ...
5853         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5854         to the Buffer::parseError signal to catch (guess what) parse errors
5855         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5856
5857 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5858
5859         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5860         ability to create a buffer and to return an existing one from
5861         the list. Moved these functions to...
5862         * buffer_funcs.[Ch]: added
5863         * BufferView.[Ch] (loadLyXFile): added
5864         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5865         job removed from bufferlist::loadLyXFile.
5866         * buffer.C (setReadOnly): make it work without view
5867         (i.e added an if (users))
5868
5869 2003-06-19  Angus Leeming  <leeming@lyx.org>
5870
5871         * lfuns.h:
5872         * LyXAction.C (init):
5873         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5874         with LFUN_DIALOG_SHOW <name> <data>.
5875
5876 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5877
5878         * CutAndPaste.C (availableSelections): small compilation fix for
5879         ancient (gcc 2.9x) compilers
5880
5881 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * text3.C (cursorNext): add tmp var
5884
5885         * text2.C (updateCounters): for function calling out of for clause
5886         (replaceSelectionWithString): ditto
5887         (insertStringAsParagraphs): ditto
5888         (getColumnNearX): add tmp var
5889         (setCursorFromCoordinates): add tmp var
5890         (cursorDownParagraph): add tmp var
5891         (deleteEmptyParagraphMechanism): add tmp var
5892
5893         * text.C (insertChar): add tmp var
5894
5895         * rowpainter.C (paintDepthBar): add tmp var
5896
5897         * CutAndPaste.C (availableSelections): potentially check all
5898         paragraphs in a cut to fill the shown strings.
5899
5900 2003-06-18  André Pönitz  <poenitz@gmx.net>
5901
5902         * kbmap.[Ch]: use vector<> instead of list<>
5903
5904 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5905
5906         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5907         pasteSelection with index
5908
5909         * text2.C (pasteSelection): modify, call pasteSelection with index
5910
5911         * paragraph.C (asString): reimplement version with no interval to
5912         call the one with interval.
5913
5914         * lyxtext.h: add index arg to pasteSelection
5915
5916         * MenuBackend.C (MenuItem): handle PasteRecent
5917         (Menu::read::Menutags): add md_pasterecent
5918         (read): handle it
5919         (expandPasteRecent): new function
5920         (expand): use it
5921
5922         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5923
5924         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5925         the limited stack
5926         (availableSelections): new function
5927
5928 2003-06-17  Angus Leeming  <leeming@lyx.org>
5929
5930         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5931
5932 2003-06-17  Angus Leeming  <leeming@lyx.org>
5933
5934         * lfuns.h:
5935         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5936
5937         * lyxfunc.C (dispatch): invoke it.
5938
5939 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5940
5941         * iterators.C (operator++, ParPosition): reintroduce some
5942         const_cast for the benefit of older compilers.
5943
5944 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5945
5946         * text3.C (dispatch): do not modify clipboard when doing
5947         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5948         LFUN_DELETE_SKIP on a selection selection
5949
5950 2003-06-16  André Pönitz  <poenitz@gmx.net>
5951
5952         * BufferView.C:
5953         * buffer.C:
5954         * buffer.h:
5955         * paragraph.C:
5956         * tabular.[Ch]: IU of clone() and getLabelList();
5957
5958 2003-06-13  André Pönitz  <poenitz@gmx.net>
5959
5960         * tabular.h: compactification
5961
5962 2003-06-12  André Pönitz  <poenitz@gmx.net>
5963
5964         * tabular.C:
5965         * tabular.h:
5966         * tabular_funcs.h: some renaming plus whitespace
5967
5968 2003-06-12  André Pönitz  <poenitz@gmx.net>
5969
5970         * BufferView.C:
5971         * BufferView_pimpl.C:
5972         * CutAndPaste.C:
5973         * buffer.C:
5974         * iterators.[Ch]:
5975         * lyxfunc.C:
5976         * text.C:
5977         * toc.C: Return a Paragraph & for ParIterator::operator*()
5978
5979 2003-06-11  John Levon  <levon@movementarian.org>
5980
5981         * lyx_main.C:
5982         * ToolbarBackend.h:
5983         * ToolbarBackend.C: add "Toolbars" section and
5984         put the flags there
5985
5986 2003-06-10  Angus Leeming  <leeming@lyx.org>
5987
5988         * lfuns.h:
5989         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5990
5991         * lyxfunc.C (dispatch): invoke it.
5992
5993 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5994
5995         * main.C: protect <ios> with HAVE_IOS
5996         (main): protect sync_with_stdio with HAVE_IOS
5997
5998 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5999
6000         * text2.C (cutSelection): adjust
6001         (pasteSelection): adjust
6002
6003         * messages.C: handle get of empty string
6004
6005         * main.C (main): use sync_with_stdio(false)
6006
6007         * lyxfunc.C (dispatch): adjust
6008
6009         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6010         (WriteAs): remove unneeded BufferView arg.
6011
6012         * bufferparams.h: use correct types on papersize, papersize2 and
6013         paperpackage.
6014
6015         * bufferparams.C (readToken): adjust for type
6016         (writeLaTeX): add missing cases to switch.
6017
6018         * bufferlist.C (quitWriteBuffer): adjust
6019         (close): adjust
6020
6021         * buffer.C (asciiParagraph): remove some commented code.
6022
6023         * CutAndPaste.C: remove current_view extern variable.
6024         (cutSelection): add BufferParams arg.
6025         (eraseSelection): add BufferParams arg.
6026         (pasteSelection): add Buffer const & arg
6027
6028 2003-06-07  John Levon  <levon@movementarian.org>
6029
6030         * buffer.C:
6031         * paragraph_funcs.C:
6032         * paragraph_pimpl.C:
6033         * text.C:
6034         * text2.C:
6035         * paragraph.h:
6036         * paragraph.C: allow InsetERT to freely space lines,
6037         and some consolidation of code
6038
6039 2003-06-06  José Matos  <jamatos@fep.up.pt>
6040
6041         * buffer.C (makeDocBookFile): fix bug #821
6042
6043 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6044
6045         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6046
6047 2003-06-04  Angus Leeming  <leeming@lyx.org>
6048
6049         * buffer.C: bump format to 224.
6050
6051 2003-06-05  André Pönitz  <poenitz@gmx.net>
6052
6053         * text2.C (redoParagraphs): remove two const_cast<>
6054
6055 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6056
6057         * ParagraphList.h: remove last remnants of NO_STD_LIST
6058
6059 2003-06-03  Angus Leeming  <leeming@lyx.org>
6060
6061         * factory.C (createInset): small change to the way InsetExternal's params
6062         are set.
6063
6064 2003-06-04  André Pönitz  <poenitz@gmx.net>
6065
6066         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6067
6068         * paragraph_pimpl.h:
6069         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6070
6071         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6072
6073         * undo_funcs.C: make some simple cases of undo work again
6074
6075 2003-06-03  John Levon  <levon@movementarian.org>
6076
6077         * ispell.C: HPUX doesn't have sys/select.h
6078         (from Albert Chin)
6079
6080 2003-06-03  John Levon  <levon@movementarian.org>
6081
6082         * CutAndPaste.C: update tabular and include inset
6083         buffer references
6084
6085         * buffer.h:
6086         * paragraph.h:
6087         * paragraph.C: remove owningBuffer(), don't pass Buffer
6088         to clone()
6089
6090         * factory.C: insetGraphicsParams changed
6091
6092 2003-06-02  John Levon  <levon@movementarian.org>
6093
6094         * LyXAction.C:
6095         * factory.C:
6096         * lfuns.h:
6097         * lyxfunc.C:
6098         * text3.C: remove insetparent
6099
6100 2003-06-02  John Levon  <levon@movementarian.org>
6101
6102         * buffer.h:
6103         * buffer.C: fix inset_iterator.end(), move out of line
6104         (bug 1149)
6105
6106 2003-06-01  John Levon  <levon@movementarian.org>
6107
6108         * text3.C: use a proper cut/paste when doing inset
6109         insert (from Jürgen Spitzmüller)
6110
6111 2003-06-01  John Levon  <levon@movementarian.org>
6112
6113         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6114
6115 2003-05-30  André Pönitz  <poenitz@gmx.net>
6116
6117         * rowpainter.C: unify second drawing phase
6118
6119 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * trans_mgr.C: remove one case of current_view
6122
6123         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6124
6125         * paragraph_funcs.h: remove paragraph.h include
6126
6127         * paragraph.h: delete NO_STD_LIST stuff
6128
6129         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6130
6131         * buffer.h: remove paragraph.h include
6132
6133         * ParagraphList.C: delete file
6134
6135         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6136
6137         * toc.C (getTocList): adjust
6138
6139         * paragraph_pimpl.C (validate): adjust
6140
6141         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6142
6143         * paragraph.C (Paragraph): adjust
6144         (getPositionOfInset): use const_iterator, adjust
6145         (bibitem): use const_iterator, adjust
6146         (setInsetOwner): adjust
6147
6148         * iterators.C (operator++): adjust
6149
6150         * InsetList.[Ch]: Replace selfmade iterator with standard
6151         vector::iterator also introduce const_iterator. Remove getPos,
6152         getInset and setInset from InsetTable. Adjust accordingly.
6153
6154         * BufferView.C (lockInset): adjust
6155         (ChangeInsets): adjust
6156
6157         * tabular.[Ch]: delete commented same_id functions
6158
6159 2003-05-28  John Levon  <levon@movementarian.org>
6160
6161         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6162
6163 2003-05-28  André Pönitz  <poenitz@gmx.net>
6164
6165         * metricsinfo.[Ch]: remove 'fullredraw' member
6166
6167 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6168
6169         * lyxtextclass.C (operator): remove caching.
6170
6171 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * text3.C: adjust
6174
6175         * text2.C (cursorBottom): adjust
6176         (setCounter): use ParagraphList::find, adjust
6177
6178         * text.C (workWidth): use ParagraphList::find, adjust
6179
6180         * lyxcursor.C (LyXCursor): adjust
6181
6182         * buffer.C (inset_iterator): adjust
6183
6184         * ParagraphList.h: make iterator(value_type) private, make
6185         ParagraphList a friend of iterator.
6186
6187         * ParagraphList.C (find): new function
6188
6189         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6190
6191 2003-05-27  André Pönitz  <poenitz@gmx.net>
6192
6193         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6194
6195 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6196
6197         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6198
6199 2003-05-26  John Levon  <levon@movementarian.org>
6200
6201         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6202
6203 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6204
6205         * remove same_id from function signatures, adjust.
6206
6207 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6210
6211         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6212
6213         * paragraph.C (Paragraph): get rid of same_ids parameter
6214
6215         * ParagraphList.C (insert): adjust
6216         (push_back): adjust
6217
6218 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * paragraph_funcs.C (breakParagraph): adjust
6221         (breakParagraphConservative): adjust
6222
6223         * buffer.C (readParagraph): adjust
6224
6225         * ParagraphList.C (insert): take a reference instead of a pointer
6226         (insert): adjust
6227
6228         * paragraph.[Ch] (id): new function
6229
6230         * bufferlist.C (newFile): adjust
6231
6232         * ParagraphList.C (ParagraphList): adjust
6233         (assign): adjust
6234         (push_back): take a reference instead of a pointer.
6235
6236         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6237
6238         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6239         instead.
6240
6241         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6242         set else use old code.
6243
6244         * ParagraphList.C: remove all NO_NEXT code and only compile this
6245         code of NO_STD_LIST is set.
6246
6247 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6248
6249         * BufferView_pimpl.C:
6250         * TextCache.C:
6251         * TextCache.h:
6252         * bufferlist.C:
6253         * errorlist.h:
6254         * format.C:
6255         * format.h:
6256         * graph.C:
6257         * lyxfunc.C:
6258         * lyxrc.C:
6259         * graphics/GraphicsConverter.C:
6260         * graphics/PreviewLoader.C: header adjustment
6261
6262 2003-05-23  Angus Leeming  <leeming@lyx.org>
6263
6264         * LaTeXFeatures.[Ch] (useBabel): new method.
6265         * bufferparams.C (writeLaTeX): use it.
6266
6267 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * ParagraphList.h (set): remove unused function.
6270
6271 2003-05-23  André Pönitz  <poenitz@gmx.net>
6272
6273         * BufferView.C:
6274         * BufferView_pimpl.C:
6275         * buffer.C:
6276         * buffer.h:
6277         * lyxfunc.C:
6278         * undo_funcs.C: setUndo reworked
6279
6280         * iterators.[Ch]: add access to topmost ParagraphList
6281
6282         * lyxtext.[Ch] (workWidth): add a const
6283
6284 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6285
6286         * texrow.[Ch] (increasePos): remove function
6287         * exporter.C (export): removed unused var and outdated comment
6288
6289 2003-05-23  Angus Leeming  <leeming@lyx.org>
6290
6291         * latexrunparams.h: rename fragile as moving_arg.
6292         * paragraph.C (simpleTeXOnePar): ditto.
6293         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6294
6295 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6296
6297         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6298         (createUndo): ditto
6299         (textUndoOrRedo): comment out a currently unused var.
6300
6301         * paragraph.h (NO_NEXT): enable NO_NEXT
6302
6303         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6304
6305         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6306
6307         * exporter.C (Export): adjust for removeAutoInsets removal.
6308
6309         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6310
6311         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6312
6313         * BufferView.[Ch] (removeAutoInsets): delete function
6314
6315 2003-05-22  Angus Leeming  <leeming@lyx.org>
6316
6317         * latexrunparams.h: add a free_spacing variable.
6318
6319         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6320         to pass moving_arg, as the data is stored in runparams.fragile.
6321
6322         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6323         to Inset::latexOptional or to simpleTeXOnePar.
6324
6325         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6326         free_spacing arg to Inset::latexOptional.
6327
6328         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6329         free_spacing arg.
6330
6331 2003-05-22  Angus Leeming  <leeming@lyx.org>
6332
6333         * latexrunparams.h: add fragile and use_babel variables.
6334
6335         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6336         * buffer.C (makeLaTeXFile): store this returned value in
6337         runparams.use_babel, thus passing it to the inset::latex methods.
6338
6339         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6340         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6341
6342         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6343         longer has a fragile arg, as it is stored in runparams.fragile.
6344
6345         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6346         moving_arg parameter as the data is stored in runparams.fragile.
6347
6348         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6349         a fragile parameter as the data is stored in runparams.fragile.
6350
6351 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6354
6355 2003-05-22  Angus Leeming  <leeming@lyx.org>
6356
6357         * latexrunparams.h: add a 'bool nice' which defaults to false.
6358
6359         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6360         now encapsulated within runparams.
6361
6362         * bufferlist.C (updateIncludedTeXfiles):
6363         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6364
6365 2003-05-22  Angus Leeming  <leeming@lyx.org>
6366
6367         * latexrunparams.h: new file containing struct LatexRunParams.
6368         * Makefile.am: add new file.
6369
6370         * LaTeX.[Ch] (c-tor, run):
6371         * buffer.[Ch] (makeLaTeXFile):
6372         * bufferlist.[Ch] (updateIncludedTeXfiles):
6373         * converter.C (convert, scanLog):
6374         * converter.[Ch] (runLaTeX):
6375         * exporter.C (Export):
6376         * paragraph.[Ch] (simpleTeXOnePar):
6377         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6378         * paragraph_funcs.[Ch] (latexParagraphs):
6379         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6380         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6381         pass around a LatexRunParams parameter.
6382
6383 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * paragraph.[Ch]: remove unused constructor
6386
6387         * ParagraphList.C (erase): new function, taking two iterators
6388
6389 2003-05-22  André Pönitz  <poenitz@gmx.net>
6390
6391         * undo_funcs.C: remove duplicated code
6392
6393         * iterator.[Ch]: operator=
6394
6395 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * tabular.C (SetMultiColumn): ws changes
6398
6399         * rowpainter.C (paintFirst): get rid of a ->previous
6400
6401         * lyx_cb.C (getPossibleLabel): parlist simplification
6402
6403         * BufferView.C (ChangeInsets): simplify slightly.
6404
6405 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6406
6407         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6408         * lfuns.h: new LFUN_SPACE
6409         * lyxfunc.C: protected space has a new lfun
6410         * paragraph_funcs.C: read new space insets
6411         * text3.C:
6412         * factory.C: handle new space insets
6413
6414 2003-05-22  André Pönitz  <poenitz@gmx.net>
6415
6416         * BufferView.C:
6417         * BufferView_pimpl.C:
6418         * buffer.[Ch]:
6419         * lyxfunc.C:
6420         * undo_funcs.C: return a ParIterator from getParFromID.
6421
6422         * iterators.[Ch]: add two const's
6423
6424 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * toc.C (getTocList): adjust
6427
6428         * iterators.[Ch]: rework for parlist
6429
6430         * buffer.C (par_iterator_begin): adjust
6431         (par_iterator_end): adjust
6432
6433         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6434
6435         * BufferView.C (removeAutoInsets): adjust
6436         (ChangeInsets): adjust
6437
6438 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6439
6440         * text.C (top_y): fix bug 1110
6441
6442 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6443
6444         * errorlist.[Ch]: added
6445         * buffer.C:
6446         * BufferView.[Ch]:
6447         * BufferView_pimpl.C:
6448         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6449         instead
6450
6451 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * Makefile.am: ensure that lyx is relinked upon changes to the
6454         various "convenience" libs.
6455
6456 2003-05-20  Angus Leeming  <leeming@lyx.org>
6457
6458         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6459         files are compiled in alphabetical order again.
6460
6461         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6462
6463 2003-05-19  Angus Leeming  <leeming@lyx.org>
6464
6465         * gettext.[Ch]: remove "char const * _(char const *)".
6466
6467 2003-05-19  André Pönitz  <poenitz@gmx.net>
6468
6469         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6470
6471         * Makefile.am:
6472         * BufferView.C:
6473         * DepTable.h:
6474         * LaTeXFeatures.C:
6475         * buffer.C:
6476         * lyxfont.C:
6477         * lyxlex.h:
6478         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6479
6480 2003-05-19  André Pönitz  <poenitz@gmx.net>
6481
6482         * buffer.C:
6483         * lyxlayout.[Ch]:
6484         * lyxtextclass.[Ch]:
6485         * paragraph.C:
6486         * paragraph_funcs.[Ch]:
6487         * text2.C:
6488         * text3.C: more insetenv work
6489
6490 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6491
6492         * ParagraphParameters.C (params2string): small bug fixed
6493
6494 2003-05-16  André Pönitz  <poenitz@gmx.net>
6495
6496         * debug.C:
6497         * bufferview_funcs.C: patch from Kornel Benko to prevent
6498           crash when _(...) is called twice in a statement
6499
6500 2003-05-16  André Pönitz  <poenitz@gmx.net>
6501
6502         * BufferView.C:
6503         * lyxfunc.C:
6504         * text.C:
6505         * text2.C:
6506         * text3.C:
6507         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6508
6509 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6510
6511         * lyx_main.C (init): remove spurious static_cast
6512
6513 2003-05-14  André Pönitz  <poenitz@gmx.net>
6514
6515         * BufferView.C: fix format string
6516
6517 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6518
6519         * BufferView.[Ch] (insertErrors): removed
6520         * BufferView.[Ch] (showErrorList): added
6521         * buffer.C (runChkTeX):
6522         * converter.C (scanLog): call showErrorList instead of inserterrors
6523
6524 2003-05-13  André Pönitz  <poenitz@gmx.net>
6525
6526         * BufferView_pimpl.C:
6527         * buffer.C:
6528         * bufferview_func.C:
6529         * MenuBackend.C:
6530         * lyxfunc.C:
6531         * lyxrc.C:
6532         * tex-accent.C:
6533         * text3.C:
6534         * toc.C:
6535         * tabular_funcs.h: tostr() from its own header
6536
6537         * ParagraphParameters.C:
6538         * ToolbarBackend.C:
6539         * bufferparams.C:
6540         * format.C:
6541         * lyxlex_pimpl.C:
6542         * text3.C: STRCONV()
6543
6544 2003-05-12  André Pönitz  <poenitz@gmx.net>
6545
6546         * BufferView.C:
6547         * BufferView_pimpl.C:
6548         * CutAndPaste.C:
6549         * LaTeX.C:
6550         * LaTeXFeatures.C:
6551         * ParagraphParameters.C:
6552         * buffer.C:
6553         * bufferlist.C:
6554         * bufferparams.C:
6555         * bufferview_funcs.C:
6556         * converter.C:
6557         * counters.C:
6558         * debug.C:
6559         * exporter.C:
6560         * format.C:
6561         * importer.C:
6562         * lyx_cb.C:
6563         * lyx_main.C:
6564         * lyxfont.C:
6565         * lyxfunc.C:
6566         * lyxvc.C:
6567         * paragraph.C:
6568         * paragraph_funcs.C:
6569         * tabular.C:
6570         * tabular_funcs.C:
6571         * text2.C:
6572         * text3.C:  boost::format -> bformat  all over the place
6573
6574
6575 2003-05-09  André Pönitz  <poenitz@gmx.net>
6576
6577         * LColor.[Ch]: Pimpl the #include <map> away
6578
6579 2003-05-09  John Levon  <levon@movementarian.org>
6580
6581         * bufferlist.C: never remove emergency saves
6582
6583 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * Makefile.am: better lib building
6586
6587 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6590         instead.
6591         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6592         (simpleTeXSpecialChars): adjust
6593         (simpleTeXSpecialChars): adjust
6594         * paragraph.C (simpleTeXOnePar): adjust
6595         * buffer.C (makeLaTeXFile): adjust
6596
6597         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6598
6599         * text2.C (changeDepth): parlist cleanup
6600         (getColumnNearX): ditto
6601
6602         * rowpainter.C (getLabelFont): parlist cleanup
6603
6604         * bufferlist.C (newFile): parlist cleanup
6605
6606         * CutAndPaste.C (eraseSelection): parlist cleanup
6607
6608         * BufferView_pimpl.C (trackChanges): parlist cleanup
6609         (dispatch): ditto
6610
6611         * BufferView.C (lockInset): parlist cleanup.
6612         (ChangeInsets): ditto
6613
6614 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * CutAndPaste.h: Update file header.
6617
6618         * CutAndPaste.C: Update file header.
6619         Store the parts cut out of the Document in a limited_stack.
6620         (copySelection): adjust
6621         (pasteSelection): new function, takes the index in the limited stack.
6622         (nrOfParagraphs): adjust
6623         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6624         simplify error inset insertion.
6625         (checkPastePossible): adjust
6626
6627 2003-05-06  John Levon  <levon@movementarian.org>
6628
6629         * text2.C: don't cast wrap inset to float
6630
6631 2003-05-05  André Pönitz  <poenitz@gmx.net>
6632
6633         * iterator.C:
6634         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6635
6636         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6637           few naked Paragraph *.
6638
6639 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6640
6641         * bufferparams.C: Output warning if a document with missing
6642         TeX document class is loaded
6643         * exporter.C: Disable TeX exports if the document class is missing
6644         * lyxtextclass.C:
6645         * lyxtextclass.h:
6646         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6647         isTeXClassAvailable()
6648
6649 2003-05-03  John Levon  <levon@movementarian.org>
6650
6651         * BufferView.h:
6652         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6653         explicit cursor show/hide
6654
6655         * BufferView_pimpl.h:
6656         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6657         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6658
6659         * lyxfunc.C: hide cursor before dispatching.
6660
6661         * lyx_cb.C:
6662         * lyxfind.C:
6663         * text.C:
6664         * text3.C: remove explicit cursor hides
6665
6666 2003-05-02  André Pönitz  <poenitz@gmx.net>
6667
6668         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6669
6670         * undo_funcs.C:
6671         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6672           linked lists
6673
6674         * text2.C: tiny whitespace
6675
6676 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6677
6678         * undo_funcs.C: almost only ws changes.
6679
6680         * ParagraphList.C (splice): just return if pl is empty.
6681
6682 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6683
6684         * ParagraphList.C (splice): new function.
6685
6686         * CutAndPaste.C (pasteSelection): use it
6687
6688 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * CutAndPaste.C (pasteSelection): remove the last next and
6691         previous from this file.
6692
6693 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * CutAndPaste.C (pasteSelection): more clean up, user proper
6696         ParagraphList functions for pasteing.
6697
6698         * ParagraphList.C (insert): new function, three arg insert
6699
6700 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * ParagraphList.C (insert): new function, three arg insert
6703
6704         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6705         not on paragraphs.
6706
6707 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6710
6711 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6714
6715 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6718         (copySelection): clean up a bit.
6719         (pasteSelection): use make_pair
6720
6721         * ParagraphList.C (ParagraphList): implement copy constructor
6722         (operator=): implement, base on copy constructor.
6723         (assign): new func
6724
6725         * paragraph.C (erase): return a bool
6726
6727         * paragraph_pimpl.C (erasePos): remove function, move contents...
6728         (erase): ... here. Return a bool.
6729         (erase): call erase instead of erasePos.
6730
6731 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6732
6733         * ParagraphList.h: define PitPosPair
6734         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6735         ParagraphList, fix a bug on pasting multiple pars
6736         * text2.C: change interface to C&P
6737
6738 2003-04-30  André Pönitz  <poenitz@gmx.net>
6739
6740         * undo_func.C: revert part of yesterday's patch 2
6741
6742 2003-04-30  John Levon  <levon@movementarian.org>
6743
6744         * LColor.C: s/tabular/table/
6745
6746 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * text3.C (dispatch): do not convert iterator -> pointer
6749         * undo_funcs.C (setCursorParUndo): ditto
6750         * text_funcs.C (transposeChars): ditto
6751
6752         * text2.C (setLayout): ws changes only
6753
6754         * text.C (breakParagraph): do not convert iterator -> pointer
6755         (insertChar): ditto
6756         (acceptChange): ditto
6757         (rejectChange): ditto
6758         (changeCase): ditto
6759         (Delete): ditto
6760         (backspace): ditto
6761
6762         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6763         pointer
6764
6765 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * text3.C (gotoInset): YABG (yet another bad getChar)
6768
6769 2003-04-29  André Pönitz  <poenitz@gmx.net>
6770
6771         * paragraph.h: make operator= private unimplemented as long as
6772           it is unusable
6773
6774         * ParagraphList.C: whitespace
6775
6776         * paragraph.[Ch]:
6777         * paragraph_pimpl.[Ch]:
6778         * paragraph_funcs.C:
6779         * CutAndPaste.C:
6780         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6781
6782         * text2.C:
6783           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6784
6785 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6786
6787         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6788         * paragraph.[Ch] (erase):
6789         * paragraph_pimpl.[Ch] (erase): change return type and value
6790         * text2.C (cutSelection): some rework
6791
6792 2003-04-28  John Levon  <levon@movementarian.org>
6793
6794         * bufferlist.C: changes for unsaved changes dialog
6795
6796 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * bufferlist.C (newFile): set language (messages_) for new
6799         documents also.
6800
6801         * buffer.C (readFile): ws changes only.
6802
6803 2003-04-28  André Pönitz  <poenitz@gmx.net>
6804
6805         * undo_funcs.C:
6806         * lyxfunc.C:
6807         * buffer.[Ch]:
6808         * BufferView_pimpl.C:
6809         * BufferView.C: getParFromID related ParagraphList::iterator changes
6810
6811 2003-04-28  André Pönitz  <poenitz@gmx.net>
6812
6813         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6814           Changes
6815
6816 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * messages.C: remove one more localedir class variable.
6819
6820 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * messages.C (getLocaleDir): singleton generation function
6823         (Pimpl): use it.
6824         (Messages): add a default constructor.
6825
6826         * main.C (main): do not setup localedir here, do not call
6827         gettext_init.
6828
6829         * gettext.C (_): use it.
6830         (gettext_init): delete funciton
6831
6832 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * gettext.C (getLyXMessages): new singleton generating function.
6835
6836         * buffer.C (updateDocLang): adjust
6837
6838         * Makefile.am (messages.o): add target
6839         (main.o): remove target
6840
6841 2003-04-27  John Levon  <levon@movementarian.org>
6842
6843         * bufferlist.C:
6844         * lyx_cb.C:
6845         * lyxfunc.C:
6846         * lyxvc.C: specify cancel button in Alert::prompt
6847
6848 2003-04-26  John Levon  <levon@movementarian.org>
6849
6850         * text3.C:
6851         * lyxfunc.C:
6852         * lfuns.h:
6853         * LyXAction.C: add LFUN_INSET_SETTINGS
6854
6855         * lyxfunc.C: don't enable tabular-feature when there's
6856         just any locking inset
6857
6858 2003-04-26  John Levon  <levon@movementarian.org>
6859
6860         * bufferlist.C: re-add Cancel to buffer close question
6861
6862         * lyxfunc.C: fix import UI a bit
6863
6864 2003-04-25  John Levon  <levon@movementarian.org>
6865
6866         * gettext.C: remove the broken asserts for now
6867
6868 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * messages.C: make case where setlocale cannot comply work better.
6871
6872         * buffer.C (updateDocLang): new function
6873         (changeLanguage): use it
6874         (readFile): use it
6875
6876         * text2.C (setCounter): use B_ a bit.
6877
6878         * lyxlayout.C (Read): be sure to trim the label strings.
6879
6880         * messages.C (Messages): fix typo in comment
6881
6882         * buffer.C (readFile): set message_ after file is loaded.
6883         (makeDocBookFile): remove double return
6884         (changeLanguage): reset message_ upon language change.
6885         (B_): new func, use this to get translated buffer strings.
6886
6887         * main.C: add myself and Jean Marc as authors.
6888
6889 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * messages.[hC]: pimplify Messages, and three different pimpls to be
6892         used in different circumstances.
6893
6894         * gettext.[Ch]: change for use with new message code.
6895
6896 2003-04-24 André Pönitz <poenitz@gmx.net>
6897
6898         * factory.C: support for eqref
6899
6900 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * messages.[Ch]: add missing char
6903
6904         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6905
6906         * messages.[Ch]: New files
6907
6908 2003-04-18  John Levon  <levon@movementarian.org>
6909
6910         * BufferView.h:
6911         * BufferView.C:
6912         * BufferView_pimpl.C:
6913         * lfuns.h:
6914         * LyXAction.C:
6915         * lyxtext.h:
6916         * text2.C: remove layout-copy/paste (bug 778)
6917
6918 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6919
6920         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6921
6922 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6923
6924         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6925         if they succeed. Act accordingly.
6926
6927 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * text2.C (setCharFont): adjust
6930         (setCounter): adjust
6931         (insertStringAsLines): adjust
6932
6933         * text.C (leftMargin): adjust
6934         (setHeightOfRow): adjust
6935
6936         * rowpainter.C (paintFirst): adjust
6937         (paintLast): adjust
6938
6939         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6940         (outerHook): ditto
6941         (isFirstInSequence): ditto
6942         (getEndLabel): ditto
6943         (outerFont): adjust
6944
6945         * paragraph.C (getParLanguage): comment out some hard stuff.
6946
6947         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6948         (sgmlError): ditto
6949         (simpleDocBookOnePar): ditto
6950         (makeDocBookFile): use ParagraphList::iterator
6951
6952         * CutAndPaste.C (pasteSelection): adjust
6953
6954 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * text2.C (getFont): adjust
6957         (getLayoutFont): adjust
6958         (getLabelFont): adjust
6959
6960         * paragraph_funcs.C (TeXOnePar): adjust
6961
6962         * buffer.C (simpleLinuxDocOnePar): adjust
6963         (simpleDocBookOnePar): adjust
6964
6965         * CutAndPaste.C (pasteSelection): adjust
6966
6967         * BufferView.C (getEncoding): adjust
6968
6969         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6970
6971 2003-04-16  John Levon  <levon@movementarian.org>
6972
6973         * lyxfind.C: use parlist stuff for search/changes
6974
6975 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6978
6979         * text2.C (deleteEmptyParagraphMechanism): adjust
6980
6981         * text2.[Ch] (ownerParagraph): delete func (both of them
6982
6983 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6986
6987 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * ParagraphList.C: prepare for NO_NEXT
6990
6991 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6992
6993         * text2.C (getFont): adjust
6994         (getLayoutFont): adjust
6995         (getLabelFont): adjust
6996
6997         * paragraph.C (getFont): adjust
6998         (getLabelFont): adjust
6999         (getLayoutFont): adjust
7000
7001         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7002
7003 2003-04-15  John Levon  <levon@movementarian.org>
7004
7005         From Angus Leeming
7006
7007         * lyx_main.C: handle Include in .ui files
7008
7009 2003-04-15  John Levon  <levon@movementarian.org>
7010
7011         * MenuBackend.C: make the doc files length shorter
7012
7013         * ToolbarBackend.h:
7014         * ToolbarBackend.C: handle toolbar placement flags,
7015         Minibuffer
7016
7017 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7020         adjust
7021
7022         * paragraph_funcs.C (TeXOnePar): adjust
7023
7024         * paragraph.C (getLabelFont): add outerfont arg, adjust
7025         (getLayoutFont): ditto
7026         (simpleTeXOnePar): adjust
7027
7028         * paragraph_pimpl.C (realizeFont): delete func
7029
7030 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7031
7032         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7033         row argument, constify cur argument.
7034
7035 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * text2.C (getFont): adjust
7038         (getLayoutFont): adjust
7039         (getLabelFont): adjust
7040
7041         * paragraph_funcs.C (TeXOnePar): adjust
7042         (outerFont): new func...
7043         (realizeFont): ...moved out from here, changed this to facilitate
7044         transition
7045
7046         * paragraph.C (getFont): take outerfont as arg, adjust
7047         (simpleTeXOnePar): add outerfont arg, adjust
7048
7049         * buffer.C (simpleLinuxDocOnePar): adjust
7050         (simpleDocBookOnePar): adjust
7051
7052         * CutAndPaste.C (pasteSelection): adjust
7053
7054         * BufferView.C (getEncoding): adjust
7055
7056 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text2.C (setCharFont): adjust
7059         (setCounter): adjust
7060
7061         * text.C (leftMargin): adjust
7062         (setHeightOfRow): adjust
7063
7064         * rowpainter.C (paintFirst): adjust
7065         (paintLast): adjust
7066
7067         * paragraph_pimpl.C (realizeFont): adjust
7068
7069         * paragraph.C (isFirstInSequence): move from here...
7070         * paragraph_funcs.C (isFirstInSequence): ...to here
7071
7072         * paragraph.C (outerHook): move from here...
7073         * paragraph_funcs.C (outerHook): ...to here
7074
7075         * paragraph.C (depthHook): move from here...
7076         * paragraph_funcs.C (depthHook): ...to here
7077
7078         * paragraph.C (getEndLabel): move from here...
7079         * paragraph_funcs.C (getEndLabel): ...to here
7080
7081         * text2.C (realizeFont): move from here...
7082         * paragraph_funcs.C (realizeFont): ...to here
7083
7084 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7087
7088 2003-04-14  Angus Leeming  <leeming@lyx.org>
7089
7090         * LColor.[Ch]: scrap LColor mathcursor.
7091
7092 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7093
7094         * lyxlex.[Ch] (text): delete function
7095         * trans.C (Load): adjust
7096         * paragraph_funcs.C (readParToken): adjust
7097
7098 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7101         vector<char> instead of a char[].
7102
7103         * lyxlex_pimpl.C (getString): adjust
7104         (next): adjust
7105         (lex): use getString
7106         (eatLine): adjust
7107         (nextToken): adjust
7108
7109         * lyxlex.C (text): use pimpl_->getString()
7110         (getBool): ditto
7111         (findToken): ditto
7112
7113 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7116         (makeFontEntriesLayoutSpecific): temp var for par.size()
7117         (setLayout): temp var for ownerParagraphs().end()
7118         (fullRebreak): temp var for rows().end()
7119         (selectionAsString): temp var for boost::next(startpit), realize
7120         that the while really is a regular for loop.
7121         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7122         setCursor in one place.
7123         (setParagraph): temp vr for ownerParagraphs().end()
7124         (updateCounters): make the while loop a for loop
7125         (cutSelection): temp var for ownerParagraphs().end()
7126         (updateInset): make the do {} while() a regular for loop
7127         (getCursorX): use temp vars
7128         (setCurrentFont): use temp vars
7129         (getColumnNearX): use temp vars
7130
7131 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * text.C (transformChar): use temp var for getChar
7134         (computeBidiTables): use temp var for row->par()
7135         (fill): move temp vars for row->par() and pit->layout() earlier in
7136         the function.
7137         (labelFill): use temp var for row->par()
7138         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7139         asc and desc, realize that pit never changes and that firstpit is
7140         just a duplicate and not needed. Exchange rit->par() with pit in a
7141         lot of places.
7142         (breakAgain): use a temp var for boost::next(rit)
7143         (breakAgainOneRow): ditto
7144         (breakParagraph): use a temp var for rows().begin()
7145         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7146         (cursorRightOneWord): use temp var for cursor.par() and
7147         cursor.pos(), remove usage of tmpcursor.
7148         (cursorLeftOneWord): use temp var for cursor.par() and
7149         cursor.pos() only set cur at end of function.
7150
7151 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * text.C, text2.C: exchange all usage of Paragraph::next with
7154         boost::next(ParagraphList::iterator)
7155
7156         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7157
7158         * text2.C (cursorTop): simplify implementation
7159         (cursorBottom): ditto
7160         (setParagraph): use ParagraphList::iterator
7161         (setCurrentFont): adjust
7162         (getColumnNearX): adjust
7163         (cursorRight): adjust
7164         (cursorLeft): remove usage of Paragraph::previous
7165         (cursorUpParagraph): ditto
7166         (deleteEmptyParagraphMechanism): slight cleanup
7167
7168         * text.C (isBoundary): take a Paragraph const & instead of a
7169         pointer as arg.
7170         (addressBreakPoint): ditto
7171         (leftMargin): remove usage of Paragraph::previous.
7172         (setHeightOfRow): ditto
7173         (cursorLeftOneWord): ditto
7174         (selectNextWordToSpellcheck): ditto
7175         (Delete): ditto
7176         (backspace): ditto
7177         (breakParagraph): remove one usage of Paragraph::next
7178         (redoParagraph): ditto
7179         (acceptChange): ditto
7180         (insertChar): adjust
7181         (rowBreakPoint): adjust
7182
7183         * bufferview_funcs.C (toggleAndShow): adjust
7184
7185 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7186
7187         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7188         methods to access it.
7189         * lyxtext.h:
7190         * text.C: Added updateRowPositions to compute all row positions.
7191         Make top_y and getRowNearY() to use the cached y position
7192
7193 2003-04-11  John Levon  <levon@movementarian.org>
7194
7195         * text.C (rowBreakPoint): reintroduce the labelEnd
7196         checks, code copied from the row fill stuff. Deep voodoo.
7197
7198         * text.C (fill): add a comment and debugging for the
7199         next poor soul.
7200
7201 2003-04-11  John Levon  <levon@movementarian.org>
7202
7203         * text.C: make sure fullrow insets get wrapped to the next line,
7204         even when they're in a manual label
7205
7206 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7207
7208         * text2.C (insertParagraph): make it take ParagraphList::iterator
7209         as arg.
7210         (setLayout): make it return ParagraphList::iterator
7211         (redoParagraphs): ditto
7212         (setCounter): ditto
7213         (checkParagraph): ditto
7214
7215         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7216
7217         * text2.C: adjust several funcs.
7218         (realizeFont): take a ParagraphList::iterator as arg.
7219         (getLayoutFont): ditto
7220         (getLabelFont): ditto
7221         (setCharFont): ditto
7222
7223         * text.C: adjust several funcs.
7224
7225 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7226
7227         * text.C (selectNextWordToSpellcheck): don't accidentally
7228         skip insets
7229
7230 2003-04-10  John Levon  <levon@movementarian.org>
7231
7232         * ToolbarBackend.C (getIcon): special handling for
7233         LFUN_MATH_DELIM
7234
7235 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7236
7237         * text2.C (cursorRight): a getChar assert fixed
7238
7239 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * text2.C (getFont): change to take a ParagraphList::iterator
7242         instead of Paragraph*
7243         Adjust several functions.
7244
7245         * text.C (transformChar): change to take a ParagraphList::iterator
7246         instead of Paragraph*
7247         (singleWidth): ditto
7248         Adjust several functions.
7249
7250         * rowpainter.C: adjust several functions
7251         * rowpainter.h:store a ParagraphList::iterator and not a
7252         Paragraph&.
7253
7254
7255 2003-04-09  John Levon  <levon@movementarian.org>
7256
7257         * lyxfunc.C:
7258         * lfuns.h:
7259         * LyXAction.h:
7260         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7261         and the "help" bits as well
7262
7263 2003-04-09  John Levon  <levon@movementarian.org>
7264
7265         * ToolbarBackend.h:
7266         * ToolbarBackend.C: allow multiple toolbars
7267
7268 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * undo_funcs.C (setCursorParUndo): adjust
7271
7272         * text_funcs.C (transposeChars): adjust
7273
7274         * text3.C (gotoNextInset): adjust
7275         (dispatch): adjust
7276
7277         * text2.C (setLayout): adjust
7278         (changeDepth): adjust
7279         (setFont): adjust
7280         (redoParagraphs): adjust
7281         (selectionAsString): adjust
7282         (setParagraph): adjust
7283         (insertInset): adjust
7284         (cutSelection): adjust
7285         (copySelection): adjust
7286         (pasteSelection): adjust
7287         (insertStringAsLines): adjust
7288         (updateInset): adjust
7289         (setCursor): change to take a ParagraphList::iterator parameter
7290         (setCursorIntern): change to take a ParagraphList::iterator parameter
7291         (setCurrentFont): adjust
7292         (cursorLeft): adjust
7293         (cursorRight): adjust
7294         (deleteEmptyParagraphMechanism): adjust
7295
7296         * text.C (breakParagraph): adjust
7297         (insertChar): adjust
7298         (acceptChange): adjust
7299         (rejectChange): adjust
7300         (selectNextWordToSpellcheck): adjust
7301         (changeCase): adjust
7302         (Delete): adjust
7303         (backspace): adjust
7304
7305         * lyxfind.C (SearchForward): adjust
7306         (SearchBackward): adjust
7307         (nextChange): adjust
7308
7309         * lyxcursor.C (par): adjust
7310
7311         * lyxcursor.h: store a ParagraphList::iterator instead of a
7312         Paragraph*
7313
7314         * lyx_cb.C (getPossibleLabel): adjust
7315
7316         * bufferview_funcs.C (toggleAndShow): adjust
7317
7318         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7319         (dispatch): adjust
7320
7321         * BufferView.C (removeAutoInsets): adjust
7322         (lockedInsetStoreUndo): adjust
7323
7324 2003-04-09  John Levon  <levon@movementarian.org>
7325
7326         * ToolbarBackend.C: try icon without argument
7327         if with argument fails
7328
7329 2003-04-08  John Levon  <levon@movementarian.org>
7330
7331         * ToolbarBackend.h:
7332         * ToolbarBackend.C: add getIcon(), handle tooltip,
7333         and change from "Icon" to "Item".
7334
7335 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7336
7337         * BufferView.C (lockInset): another bad getchar crunched
7338
7339 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7340
7341         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7342         again)
7343
7344 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7345
7346         * lyxfind.C (searchForward, searchBackwards): bug 782
7347
7348 2003-04-07  John Levon  <levon@movementarian.org>
7349
7350         * paragraph.C: remove dead comment
7351
7352         * text.C: remove troublesome depth-fiddling code
7353         in leftMargin() and rightMargin() (bug 1017)
7354
7355         * text.C: fix breaking of rows in nested lists
7356         (bug 1004)
7357
7358         * text2.C (updateCounters): fix up depth values
7359         (bug 1013)
7360
7361 2003-04-07  John Levon  <levon@movementarian.org>
7362
7363         * BufferView_pimpl.C: clear message when doc finishes resizing,
7364         and after a mouse event
7365
7366         * lyxfunc.C: clear message after exiting inset
7367
7368 2003-04-07  John Levon  <levon@movementarian.org>
7369
7370         * bufferview_funcs.C: show math status not outside
7371         status in the statusbar
7372
7373 2003-04-07  John Levon  <levon@movementarian.org>
7374
7375         * lyxfunc.C: note status changed after a depth change
7376
7377 2003-04-04  Angus Leeming  <leeming@lyx.org>
7378
7379         * LaTeX.h: move AuxInfo operator==, != out of line.
7380         Remove LaTeX virtual destructor; nothing derives from it.
7381         Move operator()() out of public area and rename it startscript().
7382         Change protected for private.
7383
7384 2003-04-04  Angus Leeming  <leeming@lyx.org>
7385
7386         * lyxfunc.C:
7387         * text2.C: remove unneeded #includes.
7388
7389 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7390
7391         * text2.C (dEPM): fix the heigth of the next row
7392
7393 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7394
7395         * text.C: squashed an invalid getChar requester + some ws changes
7396
7397 2003-04-03  John Levon  <levon@movementarian.org>
7398
7399         * bufferview_funcs.h:
7400         * bufferview_funcs.C:
7401         * lyxfunc.C:
7402         * lyxtext.h:
7403         * text2.C: make getStatus work for the env depth lfuns
7404
7405 2003-04-03  John Levon  <levon@movementarian.org>
7406
7407         * bufferview_funcs.h:
7408         * bufferview_funcs.C:
7409         * lyxfunc.C:
7410         * lyxtext.h:
7411         * text2.C: parlistize decDepth(), by merging it with incDepth()
7412
7413 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * lyxrow.h: store a ParagraphList::iterator instead of a
7416         Paragraph* and adjust other class functions to suit.
7417
7418         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7419         above.
7420
7421 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7422
7423         * text2.C (setCursor): do not anchor to cursor row for the time being
7424
7425 2003-04-02  John Levon  <levon@movementarian.org>
7426
7427         * LyXAction.C:
7428         * lfuns.h:
7429         * lyx_main.C:
7430         * lyxtext.h:
7431         * text.C:
7432         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7433
7434 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * paragraph.h: make ParagraphList and ParagraphList::iterator
7437         friends of Paragraph.
7438
7439         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7440
7441         * ParagraphList.C: Use the private next_ and previous_ from
7442         Paragraph.
7443
7444 2003-04-01  John Levon  <levon@movementarian.org>
7445
7446         * ToolbarBackend.h:
7447         * ToolbarBackend.C:
7448         * Makefile.am: rename, remove defaults gunk
7449
7450         * MenuBackend.h:
7451         * MenuBackend.C: remove defaults gunk
7452
7453         * Languages.h:
7454         * Languages.C: remove defaults gunk
7455
7456         * lyx_main.h:
7457         * lyx_main.C: error out if files couldn't be found.
7458
7459 2003-04-02  John Levon  <levon@movementarian.org>
7460
7461         * text2.C: make incDepth() use parlist
7462
7463 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * undo_funcs.C (firstUndoParagraph): adjust
7466
7467         * text3.C (gotoInset): adjust
7468         (dispatch): adjust, and rewrite loop.
7469
7470         * text2.C (init): adjust, and rewrite loop.
7471         (redoParagraphs): adjust
7472         (updateInset): adjust, and rewrite loop.
7473         (deleteEmptyParagraphMechanism): adjust
7474
7475         * tabular.C (LyXTabular): adjust
7476         (SetMultiColumn): adjust
7477         (TeXRow): adjust
7478
7479         * lyxtext.[Ch] (ownerParagraph): delete function
7480         (ownerParagraphs): new function returns a ParagraphList.
7481
7482         * BufferView.C (removeAutoInsets): adjust
7483         (insertErrors): adjust
7484         (setCursorFromRow): adjust
7485
7486 2003-04-01  Angus Leeming  <leeming@lyx.org>
7487
7488         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7489         in the frontends.
7490
7491 2003-04-02  John Levon  <levon@movementarian.org>
7492
7493         * lyxtext.h:
7494         * text.C:
7495         * Makefile.am:
7496         * text_funcs.h:
7497         * text_funcs.C: make transposeChars a free function
7498
7499         * lyxrow_funcs.C: remove wrong comment
7500
7501 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7502
7503         * lyxtext.h: adjust
7504         * rowpainter.C: adjust
7505         * text.C: adjust
7506         * text2.C: adjust
7507         * text3.C: adjust
7508
7509         * lyxrow_funcs. [Ch]: new files
7510
7511         * lyxrow.[Ch]: remove next and previous pointers
7512         (next,previous): remove accessor functions
7513         (isParEnd): move to lyxrow_funcs
7514         (lastPos): move to lyxrow_funcs
7515         (nextRowIsAllInset): move to lyxrow_funcs
7516         (lastPrintablePos): move to lyxrow_funcs
7517         (numberOfSeparators): move to lyxrow_funcs
7518         (numberOfHfills): move to lyxrow_funcs
7519         (numberOfLabelHfills): move to lyxrow_funcs
7520         (hfillExpansion): move to lyxrow_funcs
7521
7522         * lyxfunc.C: adjust
7523
7524         * bufferview_funcs.C (toggleAndShow): adjust
7525
7526         * RowList.h: Remove class RowList from file leave just a
7527         std::list<Row>.
7528
7529         * RowList.C: delete file
7530
7531         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7532         and lyxrow_funcs.h
7533
7534 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7535
7536         * text3.C (cursorPrevious): adjust
7537         (cursorNext): adjust
7538         (dispatch): adjust
7539
7540         * text2.C (redoHeightOfParagraph): adjust
7541         (redoDrawingOfParagraph): adjust
7542         (setCursor): adjust
7543
7544         * text.C (breakParagraph): adjust
7545         (insertChar): adjust
7546         (backspace): adjust
7547
7548         * rowpainter.C (RowPainter): adjust
7549         (leftMargin): simplify and adjust
7550         (most rowpainter functions): adjust.
7551
7552         * rowpainter.h: store the row as RowList::iterator not as Row*
7553
7554         * lyxcursor.C (row): taka RowList::iterator as arg
7555         (irow): ditto
7556
7557         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7558         of Row*.
7559
7560 2003-04-01  Angus Leeming  <leeming@lyx.org>
7561
7562         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7563         stuff like bool Bool.
7564
7565 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7566
7567         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7568         rewrite a loop
7569
7570 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7571
7572         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7573         RowList::iterator.
7574
7575         * lyxtext.h (rows): drop one version and leve a const variant that
7576         returns a RowList::iterator.
7577
7578 2003-03-31  Angus Leeming  <leeming@lyx.org>
7579
7580         * text.C (fill): ensure that the signature is the same as that in the
7581         header file.
7582
7583 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * text2.C (redoParagraphs): adjust
7586         (updateCounters): adjust
7587         (checkParagraph): adjust
7588         (getColumnNearX): adjust and reformat a bit.
7589
7590         * text.C (top_y): adjust
7591         (workWidth): adjust
7592         (leftMargin): adjust
7593         (prepareToPrint): adjust
7594         (getRow): adjust
7595         (getRowNearY): adjust
7596
7597         * lyxtext.h: make rowlist_ mutable.
7598
7599         * RowList.h: add const_iterator
7600         * RowList.C: adjust for RowList::const_iterator.
7601
7602         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7603         adjust.
7604
7605 2003-03-31  John Levon  <levon@movementarian.org>
7606
7607         * lyxrc.h:
7608         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7609
7610         * lyx_main.C: set default fonts from using lyx_gui funcs
7611
7612         * exporter.C: pdf_mode moved from lyxrc
7613
7614         * lyx_cb.C:
7615         * lyxfunc.C: changes from above
7616
7617 2003-03-31  John Levon  <levon@movementarian.org>
7618
7619         * lyx_main.C: fix to the last fix
7620
7621 2003-03-31  John Levon  <levon@movementarian.org>
7622
7623         * bufferlist.C: "Load original" -> "Load Original"
7624
7625         * converter.C:
7626         * exporter.C:
7627         * importer.C:
7628         * lyx_main.C:
7629         * format.C: more Alert cleanups
7630
7631 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * text2.C (removeParagraph): make it take a RowList::iterator as
7634         arg, adjust.
7635         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7636         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7637
7638         * text.C (anchor_row): make it take a RowList::iterator as arg,
7639         adjust.
7640         (computeBidiTables): make it take a const reference to Row instead
7641         of Row pointer, adjust.
7642         (leftMargin): make it take a RowList::iterator as arg, adjust.
7643         (rowBreakPoint): adjust
7644         (breakAgainOneRow): make it take a RowList::iterator as arg,
7645         adjust.
7646         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7647
7648         * bufferview_funcs.C (toggleAndShow): adjust
7649
7650 2003-03-30  John Levon  <levon@movementarian.org>
7651
7652         * Makefile.am:
7653         * BoostFormat.h:
7654         * boost-inst.C: moved to support
7655
7656         * several files: changes as a result
7657
7658 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * text2.C (LyXText): adjust.
7661         (init): adjust
7662         (removeRow): make it take a RowList::iterator as arg, adjust.
7663         (fullRebreak): adjust
7664         (deleteEmptyParagraphMechanism): adjust
7665         (clearPaint): adjust
7666         (postPaint): adjust
7667
7668         * text.C (top_y): adjust
7669         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7670         (breakAgain): make it take a RowList::iterator as arg, adjust.
7671         (breakParagraph): adjust
7672         (insertChar): adjust
7673         (backspace): adjust
7674
7675         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7676         need_break_row, and refresh_row.
7677
7678         * text3.C (dispatch): adjust
7679
7680         * text2.C (checkParagraph): adjust
7681         (setCursor): adjust
7682         (setCursorFromCoordinates): adjust
7683
7684         * text.C (top_y): adjust
7685         (workWidth): adjust
7686         (getRow): make it return a RowList::iterator, adjust
7687         (getRowNearY): make it return a RowList::iterator, adjust
7688
7689         * text2.C (init): adjust
7690         (insertRow): remove function
7691         (insertParagraph): adjust
7692         (redoParagraphs): adjust
7693         (fullRebreak): adjust
7694         (updateCounters): adjust
7695
7696         * text.C (top_y): rewrite to use RowList iterators.
7697         (top_y): adjust
7698         (setHeightOfRow): rewrite to sue RowList iterators.
7699         (appendParagraph): adjust
7700         (breakAgain): adjust
7701         (breakAgainOneRow): adjust
7702         (breakParagraph): adjust
7703         (getRow): adjust
7704         (getRowNearY): adjust, and remove commented code.
7705
7706         * lyxtext.h (firstRow): delete function
7707         (lastRow): delete function
7708         (rows): new function (const and non-const versions.)
7709         (insertRow): delete function
7710
7711         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7712
7713 2003-03-29  John Levon  <levon@movementarian.org>
7714
7715         * BufferView_pimpl.C: always update scrollbar top
7716         because pasting text when we're anchored could mean we
7717         miss an update altogether
7718
7719 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * text2.C (init): use rowlist_.end() and not 0.
7722         (insertRow): change to take a RowList::iterator as arg, adjust
7723         for this.
7724         (insertParagraph): change to take a RowList::iterator as arg,
7725         adjust for this.
7726         (redoParagraphs): remove some debug msgs.
7727
7728         * text.C (appendParagraph): change to take a RowList::iterator
7729         arg, adjust for this.
7730         (breakAgain): add an assert
7731         (breakAgainOneRow): ditto
7732
7733 2003-03-29  John Levon  <levon@movementarian.org>
7734
7735         * text2.C: do not clear selection after inc/decDepth
7736         (bug 550)
7737
7738 2003-03-29  John Levon  <levon@movementarian.org>
7739
7740         * BufferView.C:
7741         * buffer.C: fix broken strerrors according to Lars
7742
7743 2003-03-29  John Levon  <levon@movementarian.org>
7744
7745         * converters.C: more Alert cleanups
7746
7747 2003-03-29  John Levon  <levon@movementarian.org>
7748
7749         * bufferview_funcs.C: remove pointless Alert
7750
7751         * buffer.C: fix confusing error message when
7752         a template is chmoded 000
7753
7754 2003-03-29  John Levon  <levon@movementarian.org>
7755
7756         * BufferView.C:
7757         * BufferView.h:
7758         * BufferView_pimpl.C: Alert fixes
7759
7760         * Makefile.am:
7761         * tabular.C:
7762         * tabular-old.C: remove unused table compat reading
7763
7764 2003-03-29  John Levon  <levon@movementarian.org>
7765
7766         * BufferView.C:
7767         * buffer.C:
7768         * lyx_cb.h:
7769         * lyx_cb.C: more Alert cleanups
7770
7771         * lyxfunc.C: don't allow chktex if not latex document
7772
7773 2003-03-29  John Levon  <levon@movementarian.org>
7774
7775         * lyx_cb.C:
7776         * BufferView.C:
7777         * buffer.C: warnings pushed down from support/,
7778         kill err_alert
7779
7780 2003-03-29  John Levon  <levon@movementarian.org>
7781
7782         * lyxfunc.C: safety check for C-r (revert)
7783
7784 2003-03-29  John Levon  <levon@movementarian.org>
7785
7786         * bufferlist.h:
7787         * bufferlist.C: several UI fixes using Alert::prompt.
7788         Fix the pointless looping quit code. Fix stupid revert
7789         behaviour (bug 938)
7790
7791         * lyxvc.h:
7792         * lyxvc.C:
7793         * lyx_cb.C: use Alert::prompt
7794
7795         * lyx_main.C: remove a silly question
7796
7797         * lyxfunc.C: remove a couple of silly questions,
7798         use Alert::prompt
7799
7800 2003-03-28  John Levon  <levon@movementarian.org>
7801
7802         * text2.C: fix bug 974 (End on empty par)
7803
7804 2003-03-28  John Levon  <levon@movementarian.org>
7805
7806         * BufferView_pimpl.C:
7807         * LyXAction.C:
7808         * lfuns.h: remove do-nothing math greek lfuns
7809
7810 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7811
7812         * lyxgluelength.h (isValidGlueLength): add default arg on
7813         parameter 2. Remove default arg from friend in class.
7814
7815         * lyxlength.h (isValidLength): add default arg on parameter 2.
7816         Remove default arg from friend in class.
7817
7818         * text2.C (LyXText): adjust, initialize refresh_row.
7819         (init): adjust
7820         (removeRow): adjust
7821         (insertRow): adjust
7822         (insertParagraph): adjst
7823         (redoParagraphs): adjust
7824         (fullRebreak): adjust
7825         (updateCounters): adjust
7826         (deleteEmptyParagraphMechanism): first attempt at fixing a
7827         crashing bug.
7828
7829         * text.C (top_y): adjust
7830         (setHeightOfRow): adjust
7831         (getRow): adjust
7832         (getRowNearY): adjust
7833
7834         * lyxtext.h: include RowList.h
7835         (~LyXText): not needed anymore, deleted.
7836         (firstRow): modify for RowList
7837         (lastRow): new function
7838         Delete firstrow and lastrow class variables, add a Rowlist
7839         rowlist_ class variable.
7840
7841         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7842         paragraph is empty.
7843
7844         * RowList.C (insert): fix case where it == begin().
7845
7846 2003-03-26  Angus Leeming  <leeming@lyx.org>
7847
7848         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7849         the thesaurus dialog.
7850
7851 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7854
7855         * RowList.[Ch]: new files
7856
7857         * ParagraphList.C (erase): handle the case where it == begin
7858         correctly.
7859
7860 2003-03-25  John Levon  <levon@movementarian.org>
7861
7862         * Makefile.am:
7863         * aspell_local.h:
7864         * aspell.C: add new aspell support
7865
7866         * lyxrc.h:
7867         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7868         have it accessible.
7869
7870 2003-03-25  Angus Leeming  <leeming@lyx.org>
7871
7872         * lfuns.h:
7873         * LyXAction.C (init): new LFUN_INSET_INSERT.
7874
7875         * BufferView_pimpl.C (dispatch): split out part of the
7876         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7877
7878         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7879         LFUN_INSET_APPLY.
7880
7881 2003-03-25  Angus Leeming  <leeming@lyx.org>
7882
7883         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7884
7885 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7886
7887         * text2.C:
7888         * text3.C: remove useless row->height(0)
7889
7890 2003-03-25  John Levon  <levon@movementarian.org>
7891
7892         * lyxtext.h:
7893         * text2.C:
7894         * text3.C: rename the refreshing stuff to better names
7895
7896 2003-03-24  John Levon  <levon@movementarian.org>
7897
7898         * BufferView_pimpl.h:
7899         * BufferView_pimpl.C: update layout choice on a mouse
7900         press/release
7901
7902 2003-03-23  John Levon  <levon@movementarian.org>
7903
7904         * Makefile.am: fix commandtags.h reference
7905
7906 2003-03-22  John Levon  <levon@movementarian.org>
7907
7908         * BufferView_pimpl.C:
7909         * lyxtext.h:
7910         * rowpainter.C:
7911         * rowpainter.h:
7912         * text.C:
7913         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7914
7915 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7916
7917         * lyxtext.h:
7918         * text.C: take the rtl methods out of line
7919
7920 2003-03-21 André Pönitz <poenitz@gmx.net>
7921
7922         * metricsinfo.[Ch]: new files containing structures to be passed around
7923         during the two-phase-drawing...
7924
7925 2003-03-21 André Pönitz <poenitz@gmx.net>
7926
7927         * lyxtextclass.C: read 'environment' tag.
7928
7929 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * text2.C (removeRow): fix bug 964
7932
7933 2003-03-20  John Levon  <levon@movementarian.org>
7934
7935         * rowpainter.C:
7936         * text.C:
7937         * text2.C: paint cleanups. Inset::update() dropped font
7938         parameter
7939
7940 2003-03-19  John Levon  <levon@movementarian.org>
7941
7942         * lyxfunc.C: only fitcursor/markDirty if available()
7943
7944 2003-03-19  John Levon  <levon@movementarian.org>
7945
7946         * commandtags.h: rename to ...
7947
7948         * lfuns.h: ... this, and renumber / cleanup
7949
7950 2003-03-19  John Levon  <levon@movementarian.org>
7951
7952         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7953         fit the cursor after an lfun
7954
7955         * BufferView.h:
7956         * BufferView.C:
7957         * BufferView_pimpl.h:
7958         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7959
7960         * LyXAction.C: layout-character should have ReadOnly
7961
7962         * ParagraphParameters.C:
7963         * buffer.C:
7964         * bufferview_funcs.C:
7965         * lyx_cb.C:
7966         * lyxfind.C:
7967         * lyxtext.h:
7968         * text.C:
7969         * text2.C:
7970         * text3.C:
7971         * undo_funcs.C: changes from above
7972
7973 2003-03-18  John Levon  <levon@movementarian.org>
7974
7975         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7976         remove it from update()
7977
7978         * lyxfunc.C: update layout choice after an lfun
7979
7980         * text3.C: remove extra updateLayoutChoice()s
7981
7982 2003-03-18  John Levon  <levon@movementarian.org>
7983
7984         * text.C: top_y change means full repaint, fix
7985         a drawing bug with cursor movement
7986
7987 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * lyxtext.h:
7990         * text.C:
7991         * text2.C: anchor row on setCursor
7992
7993 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7994
7995         * lyxtext.h: remove almost all mutable keywords
7996         * text.C:
7997         * text2.C:
7998         * text3.C: remove const keywords accordingly
7999
8000 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8001
8002         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8003         anon namespace
8004         (TeXEnvironment): ditto
8005         (TeXOnePar): ditto
8006
8007 2003-03-17  John Levon  <levon@movementarian.org>
8008
8009         * text.C (rowBreakPoint): remove attempt to fix displayed
8010         math insets inside a manual label
8011
8012 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * lyxtext.h: remove BufferView* as first arg from almost all class
8015         functions.
8016         * other files: adjust.
8017
8018 2003-03-17  John Levon  <levon@movementarian.org>
8019
8020         * lyxtext.h:
8021         * undo_funcs.C:
8022         * text2.C: more paint cleanups
8023
8024         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8025
8026         * rowpainter.h:
8027         * rowpainter.C: remove "smart" background painting code
8028
8029 2003-03-16  John Levon  <levon@movementarian.org>
8030
8031         * lyxtext.h:
8032         * text.C:
8033         * text2.C:
8034         * text3.C: add helper functions for setting refresh_row/y
8035
8036 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8037
8038         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8039         newline inset which *can* get inserted in the pass_thru layouts.
8040         This is primarily for literate documents.
8041
8042 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8043
8044         * buffer.C: increment LYX_FORMAT to 223
8045
8046 2003-03-14 André Pönitz <poenitz@gmx.net>
8047
8048         * textclass.h: prepare for environment handling, ws changes
8049         * lyxlayout.C: read latexheader and latexfooter tags
8050
8051 2003-03-14  John Levon  <levon@movementarian.org>
8052
8053         * text2.C: rewrite ::status() a bit
8054
8055 2003-03-13  John Levon  <levon@movementarian.org>
8056
8057         * lyxtext.h: add some docs
8058
8059 2003-03-13  John Levon  <levon@movementarian.org>
8060
8061         * lyxtext.h:
8062         * text.C:
8063         * text2.C:
8064         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8065
8066 2003-03-13  John Levon  <levon@movementarian.org>
8067
8068         * text3.C: fix appendix redrawing
8069
8070 2003-03-13  John Levon  <levon@movementarian.org>
8071
8072         * text.C (setHeightOfRow):
8073         * rowpainter.h:
8074         * rowpainter.C: make appendix mark have the text
8075           "Appendix" so the user knows what it is
8076
8077         * LColor.h:
8078         * LColor.C: s/appendixline/appendix/ from above
8079
8080 2003-03-13  John Levon  <levon@movementarian.org>
8081
8082         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8083
8084         * text.C: fix a getChar(pos) bug properly
8085
8086 2003-03-13  Angus Leeming  <leeming@lyx.org>
8087
8088         * commandtags.h:
8089         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8090         Probably only temporary. Let's see how things pan out.
8091
8092         * BufferView.C (unlockInset):
8093         * BufferView_pimpl.C (fitCursor):
8094         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8095
8096         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8097         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8098
8099         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8100         new functions that convert ParagraphParameters to and from a string.
8101
8102         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8103         BufferView::Pimpl's dispatch.
8104         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8105
8106 2003-03-13 André Pönitz <poenitz@gmx.net>
8107
8108         * lyxfunc.C:
8109         * text3.C:
8110         * factory.C: make it aware of InsetEnv
8111
8112 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * text2.C (setCursor): never ask for one past last
8115         (setCursor): add some debugging messages.
8116
8117         * text.C (singleWidth): never ask for one past last
8118         (singleWidth): ditto
8119         (leftMargin): ditto
8120         (rightMargin): ditto
8121         (rowBreakPoint): ditto
8122         (setHeightOfRow): ditto
8123         (prepareToPrint): ditto
8124
8125         * rowpainter.C (paintBackground): never ask for one past last
8126         (paintText): never ask for one past last
8127
8128         * paragraph_pimpl.C (getChar): make the assert stricter, never
8129         allow the one past last pos to be taken
8130
8131         * paragraph.C (getChar): ws changes only
8132
8133         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8134         (numberOfSeparators): ditto
8135         (numberOfHfills): ditto
8136
8137 2003-03-12  John Levon  <levon@movementarian.org>
8138
8139         * author.h:
8140         * author.C:
8141         * bufferparams.h:
8142         * bufferparams.C:
8143         * paragraph_funcs.C: fix per-buffer authorlists
8144
8145 2003-03-12  John Levon  <levon@movementarian.org>
8146
8147         * text.C: fix newline in right address
8148
8149 2003-03-12  Angus Leeming  <leeming@lyx.org>
8150
8151         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8152         duplicate those in LyXFunc::dispatch.
8153
8154         * commandtags.h:
8155         * LyXAction.C:
8156         * ToolbarDefaults.C:
8157         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8158         Add LFUN_FONTFREE_UPDATE.
8159
8160         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8161         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8162
8163         * bufferview_func.[Ch]: several new functions to facilliate
8164         transfer of data to and from the character dialog.
8165
8166 2003-03-12  John Levon  <levon@movementarian.org>
8167
8168         * buffer.C:
8169         * paragraph.h:
8170         * paragraph.C:
8171         * paragraph_funcs.C:
8172         * paragraph_pimpl.C:
8173         * sgml.C:
8174         * tabular.C:
8175         * text.C:
8176         * text3.C: remove META_NEWLINE in favour of an inset
8177
8178         * rowpainter.h:
8179         * rowpainter.C: remove paintNewline (done by inset)
8180
8181 2003-03-12  John Levon  <levon@movementarian.org>
8182
8183         * paragraph_pimpl.C: complain about bad getChar()s
8184         for a while at least
8185
8186 2003-03-12  John Levon  <levon@movementarian.org>
8187
8188         * buffer.h:
8189         * buffer.C: move paragraph read into a separate function,
8190         a little renaming to reflect that.
8191
8192         * bufferparams.h:
8193         * bufferparams.C: remove the author_ids map, not necessary now
8194
8195         * factory.h:
8196         * factory.C: moved Buffer::readInset to here
8197
8198         * paragraph_funcs.h:
8199         * paragraph_funcs.C: readParagraph free function moved from
8200         buffer.C
8201
8202         * tabular.C: name change
8203
8204 2003-03-12  John Levon  <levon@movementarian.org>
8205
8206         * buffer.C:
8207         * ParagraphParameters.C: move par params input to
8208         a read() method
8209
8210         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8211         behave like a normal read from the stream wrt reading
8212         a line vs. a \\token
8213
8214 2003-03-12  John Levon  <levon@movementarian.org>
8215
8216         * paragraph.C:
8217         * ParagraphParameters.h:
8218         * ParagraphParameters.C: move output code to a
8219         ::write() method
8220
8221 2003-03-12  John Levon  <levon@movementarian.org>
8222
8223         * BufferView.C (insertLyXFile):
8224         * buffer.h:
8225         * buffer.C:
8226         * tabular.C: use a parlist iterator for creating the
8227           document.
8228
8229 2003-03-12  John Levon  <levon@movementarian.org>
8230
8231         * buffer.C: make current_change static local not
8232           static file-scope
8233
8234 2003-03-12  John Levon  <levon@movementarian.org>
8235
8236         * buffer.C: fix insertStringAsLines for change tracking
8237
8238 2003-03-12  John Levon  <levon@movementarian.org>
8239
8240         * BufferView.C:
8241         * tabular.C:
8242         * buffer.h:
8243         * buffer.C:
8244         * bufferparams.h:
8245         * bufferparams.C: move author list into params. Rename some
8246           functions. Move the header reading into a separate token
8247           loop. Move the header token reading into BufferParams.
8248
8249 2003-03-12  John Levon  <levon@movementarian.org>
8250
8251         * changes.C: put debug inside lyxerr.debugging() checks
8252
8253 2003-03-11 André Pönitz <poenitz@gmx.net>
8254
8255         * factory.C: make it aware of InsetHFill
8256
8257 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8258
8259         * buffer.C (latexParagraphs): move function from here...
8260         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8261         args.
8262
8263 2003-03-10  Angus Leeming  <leeming@lyx.org>
8264
8265         * LyXAction.C (init): fix bug in poplating array with multiple entries
8266         with the same LFUN (spotted by JMarc).
8267
8268 2003-03-10  John Levon  <levon@movementarian.org>
8269
8270         * text.C:
8271         * text2.C: move getColumnNearX() near its
8272         only call site
8273
8274 2003-03-10  John Levon  <levon@movementarian.org>
8275
8276         * text.C: fix break before a minipage
8277
8278 2003-03-10  John Levon  <levon@movementarian.org>
8279
8280         * text.C: fix the last commit
8281
8282 2003-03-09  John Levon  <levon@movementarian.org>
8283
8284         * lyxtext.h:
8285         * text.C:
8286         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8287         bug 365 (don't break before insets unless needed). Don't
8288         return a value > last under any circumstances.
8289
8290 2003-03-09  Angus Leeming  <leeming@lyx.org>
8291
8292         * BufferView_pimpl.C (trackChanges, dispatch): call
8293         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8294
8295 2003-03-09  Angus Leeming  <leeming@lyx.org>
8296
8297         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8298         than Dialogs::showAboutlyx().
8299
8300 2003-03-09  Angus Leeming  <leeming@lyx.org>
8301
8302         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8303         than Dialogs::showTabularCreate().
8304
8305 2003-03-09  John Levon  <levon@movementarian.org>
8306
8307         * lyxtext.h:
8308         * text.C:
8309         * text2.C: 3rd arg to nextBreakPoint was always the same.
8310           Use references.
8311
8312 2003-03-08  John Levon  <levon@movementarian.org>
8313
8314         * lyxrow.C:
8315         * paragraph.C:
8316         * paragraph.h:
8317         * rowpainter.C:
8318         * text.C:
8319         * text2.C: Remove the "main" bit from the "main body"
8320           notion.
8321
8322 2003-03-08  John Levon  <levon@movementarian.org>
8323
8324         * text.C (leftMargin): The left margin of an empty
8325         manual label paragraph should not include the label width
8326         string length.
8327
8328         * text.C (prepareToPrint): don't attempt to measure hfills
8329         for empty manual label paragraphs - the answer should be 0
8330
8331 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * CutAndPaste.C: remove commented code and reindent.
8334
8335 2003-03-08  John Levon  <levon@movementarian.org>
8336
8337         * lyxfunc.h:
8338         * lyxfunc.C: move reloadBuffer()
8339
8340         * BufferView.h:
8341         * BufferView.C: to here
8342
8343         * lyxvc.C: add comment
8344
8345         * vc-backend.h:
8346         * vc-backend.C: call bv->reload() to avoid
8347           getStatus() check on MENURELOAD
8348
8349 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8350
8351         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8352         to an old format .dep file.
8353
8354 2003-03-07  Angus Leeming  <leeming@lyx.org>
8355
8356         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8357         when the LFUN_MOUSE_RELEASE should have been handled by
8358         inset->localDispatch.
8359
8360 2003-03-07  Angus Leeming  <leeming@lyx.org>
8361
8362         * BufferView_pimpl.C (dispatch):
8363         * LyXAction.C (init):
8364         * ToolbarDefaults.C (init):
8365         * commandtags.h:
8366         * lyxfunc.C (getStatus):
8367         remove LFUN_INSET_GRAPHICS.
8368
8369         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8370
8371 2003-03-07  Angus Leeming  <leeming@lyx.org>
8372
8373         * commandtags.h:
8374         * LyXAction.C (init):
8375         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8376
8377         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8378
8379         * commandtags.h:
8380         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8381
8382         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8383         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8384
8385 2003-03-07  Angus Leeming  <leeming@lyx.org>
8386
8387         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8388         remove "ert".
8389
8390 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8391
8392         * ParagraphList.C (front): new function
8393         (back): implement
8394
8395 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8396
8397         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8398         and top_row_offset_. removed var first_y.
8399         * text.C (top_y):
8400         * text2.C (LyXText, removeRow):
8401         * text3.C:
8402         * BufferView_pimpl.C:
8403         use these methods instead of using first_y
8404
8405 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * text2.C (pasteSelection): adjust for checkPastePossible
8408
8409         * CutAndPaste.C: remove Paragraph * buf and replace with
8410         ParagraphList paragraphs.
8411         (DeleteBuffer): delete
8412         (cutSelection): change the tc type to textclass_type
8413         (copySelection): change the tc type to textclass_type
8414         (copySelection): adjust for ParagraphList
8415         (pasteSelection): change the tc type to textclass_type
8416         (pasteSelection): adjust for Paragraphlist
8417         (nrOfParagraphs): simplify for ParagraphList
8418         (checkPastePossible): simplify for ParagraphList
8419         (checkPastePossible): remove unused arg
8420
8421         * ParagraphList.C (insert): handle the case where there are no
8422         paragraphs yet.
8423
8424         * CutAndPaste.h: make CutAndPaste a namespace.
8425
8426         * text3.C (dispatch): adjust
8427
8428         * text.C (breakParagraph): add a ParagraphList as arg
8429
8430         * paragraph_funcs.C (breakParagraph): change to take a
8431         BufferParams and a ParagraphList as args.
8432         (breakParagraphConservative): ditto
8433         (mergeParagraph): ditto
8434         (TeXDeeper): add a ParagraphList arg
8435         (TeXEnvironment): ditto
8436         (TeXOnePar): ditto
8437
8438         * buffer.C (readLyXformat2): adjust
8439         (insertStringAsLines): adjust
8440         (latexParagraphs): adjust
8441
8442         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8443         (cutSelection): adjust
8444         (pasteSelection): adjust
8445
8446         * BufferView_pimpl.C (insertInset): adjust
8447
8448 2003-03-05  Angus Leeming  <leeming@lyx.org>
8449
8450         * commandtags.h:
8451         * LyXAction.C (init):
8452         * BufferView_pimpl.C (dispatch):
8453         * lyxfunc.C (getStatus):
8454         remove LFUN_CHILD_INSERT.
8455
8456         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8457
8458 2003-03-05  Angus Leeming  <leeming@lyx.org>
8459
8460         * commandtags.h:
8461         * LyXAction.C (init):
8462         * src/factory.C (createInset):
8463         * lyxfunc.C (getStatus):
8464         * text3.C (dispatch):
8465         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8466
8467         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8468
8469 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8470
8471         * ParagraphList.C (insert): handle insert right before end()
8472         (erase): fix cases where it can be first or last paragraph.
8473
8474 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8475
8476         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8477         Paragraph::next and Paragraph::previous
8478         (TeXOnePar): ditto
8479
8480         * text.C (breakParagraph): adjust
8481
8482         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8483         BufferParams& as arg.
8484         (breakParagraph): use ParagraphList::insert
8485         (breakParagraphConservative): take a Buffer* instead of a
8486         BufferParams& as arg.
8487         (breakParagraphConservative): use ParagraphList::insert.
8488
8489         * buffer.C (insertStringAsLines): un-const it
8490         (insertStringAsLines): adjust
8491
8492         * ParagraphList.C (insert): new function
8493
8494         * CutAndPaste.C (pasteSelection): adjust
8495
8496         * text.C (backspace): adjust
8497
8498         * tabular.C (SetMultiColumn): adjust
8499
8500         * CutAndPaste.C (cutSelection): adjust
8501         (pasteSelection): adjust
8502
8503         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8504         Buffer const * as arg
8505
8506         * ParagraphList.C (erase): new function
8507         * paragraph_funcs.C (mergeParagraph): use it
8508         (mergeParagraph): make it take a Buffer* instead of a
8509         BufferParams* as arg
8510
8511         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8512         as arg
8513         (breakParagraphConservative): ditto
8514
8515         * paragraph.h: remove the breakParagraph friend
8516
8517         * paragraph.C (eraseIntern): new function
8518         (setChange): new function
8519
8520         * paragraph_funcs.C (mergeParagraph): make it take a
8521         ParagraphList::iterator instead of a Paragraph *, adjust
8522         accordingly.
8523
8524         * paragraph.h: move an #endif so that the change tracking stuff
8525         also works in the NO_NEXT case.
8526
8527 2003-03-04  Angus Leeming  <leeming@lyx.org>
8528
8529         * commandtags.h:
8530         * LyXAction.C: new LFUN_INSET_MODIFY.
8531
8532         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8533         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8534
8535 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8536
8537         * several files: ws changes only
8538
8539         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8540         (TeXEnvironment): ditto
8541         (TeXDeeper): ditto
8542
8543         * buffer.C (makeLaTeXFile): adjust
8544         (latexParagraphs): make it take ParagraphList::iterator as args
8545
8546 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * buffer.C (latexParagraphs): adjust
8549
8550         * paragraph.C (TeXOnePar): move function...
8551         (optArgInset): move function...
8552         (TeXEnvironment): move function...
8553         * paragraph_pimpl.C (TeXDeeper): move function...
8554         * paragraph_funcs.C: ...here
8555
8556         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8557
8558 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8559
8560         * buffer.C (readInset): remove compability code for old Figure and
8561         InsetInfo insets
8562
8563 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8564
8565         * buffer.C: ws changes
8566         (readInset):
8567
8568         * BufferView_pimpl.C: ditto
8569         * author.C: ditto
8570         * buffer.h: ditto
8571         * bufferlist.h: ditto
8572         * changes.h: ditto
8573         * lyxfunc.C: ditto
8574
8575 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8576
8577         * converter.[Ch]: split into itself +
8578         * graph.[Ch]
8579         * format.[Ch]
8580         * Makefile.am: += graph.[Ch] + format.[Ch]
8581         * MenuBackend.C
8582         * buffer.C
8583         * exporter.C
8584         * importer.C
8585         * lyx_main.C
8586         * lyxfunc.C
8587         * lyxrc.C: added #include "format.h"
8588
8589 2003-02-27  Angus Leeming  <leeming@lyx.org>
8590
8591         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8592           a label.
8593
8594         * factory.C (createInset): add "label" to the factory.
8595
8596         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8597           string and do no more.
8598
8599 2003-02-27  Angus Leeming  <leeming@lyx.org>
8600
8601         * commandtags.h:
8602         * LyXAction.C (init):
8603         * factory.C (createInset):
8604         * BufferView_pimpl.C (dispatch):
8605           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8606
8607         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8608
8609         * lyxfunc.C (dispatch):
8610         * text3.C (dispatch): pass name to params2string.
8611
8612 2003-02-26  Angus Leeming  <leeming@lyx.org>
8613
8614         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8615           blocks together.
8616           Rearrange the ~includes. Strip out the unnecessary ones.
8617
8618         * factory.C (createInset): reformat.
8619           create new insets for the various LFUN_XYZ_APPLY lfuns.
8620
8621 2003-02-26  John Levon  <levon@movementarian.org>
8622
8623         * lyxrow.h:
8624         * lyxrow.C: add isParStart,isParEnd helpers
8625
8626         * paragraph.h: make isInserted/DeletedText take refs
8627
8628         * paragraph_funcs.h:
8629         * paragraph_funcs.C: remove #if 0'd code
8630
8631         * lyxtext.h:
8632         * text3.C:
8633         * text2.C:
8634         * text.C: use lyxrow helpers above.
8635           Move draw and paint routines to RowPainter.
8636           Make several methods use refs not pointers.
8637           Make backgroundColor() const.
8638           Add markChangeInDraw(), isInInset().
8639           Merge changeRegionCase into changeCase.
8640           Make workWidth() shouldn't-happen code into an Assert.
8641
8642         * rowpainter.h:
8643         * rowpainter.C: new class for painting a row.
8644
8645         * vspace.h:
8646         * vspace.C: make inPixels take a ref
8647
8648 2003-02-26  Angus Leeming  <leeming@lyx.org>
8649
8650         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8651         LFUN_REF_APPLY.
8652
8653 2003-02-25  John Levon  <levon@movementarian.org>
8654
8655         * ispell.C: give the forked command a more accurate name
8656
8657 2003-02-22  John Levon  <levon@movementarian.org>
8658
8659         * toc.h:
8660         * toc.C: make TocItem store an id not a Paragraph *
8661           (bug #913)
8662
8663 2003-02-21  Angus Leeming  <leeming@lyx.org>
8664
8665         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8666           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8667           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8668           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8669           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8670           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8671
8672         * BufferView_pimpl.C (dispatch):
8673         * LyXAction.C (init):
8674         * factory.C (createInset):
8675         * lyxfunc.C (getStatus, dispatch):
8676         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8677
8678 2003-02-21  Angus Leeming  <leeming@lyx.org>
8679
8680         * BufferView_pimpl.C (MenuInsertLyXFile):
8681         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8682         * lyxfunc.C (menuNew, open, doImport):
8683           no longer pass a LyXView & to fileDlg.
8684
8685 2003-02-21  Angus Leeming  <leeming@lyx.org>
8686
8687         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8688         * LyXAction.C: change, BIBKEY to BIBITEM.
8689         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8690         Change InsetBibKey to InsetBibitem.
8691         Change BIBKEY_CODE to BIBITEM_CODE.
8692         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8693         * factory.C: replace insetbib.h with insetbibitem.h.
8694         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8695         * paragraph.C: replace insetbib.h with insetbibitem.h.
8696         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8697         Change bibkey() to bibitem().
8698         * text.C: remove insetbib.h.
8699         * text2.C: replace insetbib.h with insetbibitem.h.
8700         change bibkey() to bibitem().
8701         * text3.C: remove insetbib.h.
8702         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8703
8704 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * lyxrc.C (output): enclose user email in quotes (in case there are
8707         several words)
8708
8709 2003-02-18  John Levon  <levon@movementarian.org>
8710
8711         * buffer.h: add std::
8712
8713 2003-02-17  John Levon  <levon@movementarian.org>
8714
8715         * SpellBase.h:
8716         * ispell.h:
8717         * ispell.C:
8718         * pspell.h:
8719         * pspell.C: reworking. Especially in ispell, a large
8720           number of clean ups and bug fixes.
8721
8722         * lyxfunc.C: fix revert to behave sensibly
8723
8724 2003-02-17 André Pönitz <poenitz@gmx.net>
8725
8726         * LyXAction.C:
8727         * commandtags.h: new LFUN_INSERT_BIBKEY
8728
8729         * layout.h:
8730         * lyxlayout.C:
8731         * buffer.C:
8732         * factory.C:
8733         * text.C:
8734         * text2.C:
8735         * text3.C:
8736         * paragraph.[Ch]:
8737         * paragraph_func.C: remove special bibkey handling
8738
8739 2003-02-17  John Levon  <levon@movementarian.org>
8740
8741         * text.C (Delete): fix case where delete at the end of
8742           the very first paragraph would not merge the pars
8743
8744 2003-02-17  John Levon  <levon@movementarian.org>
8745
8746         * lyxrow.C: fix lastPrintablePos()
8747
8748 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8749
8750         * bufferparams.C (writeLaTeX): add a std:here
8751
8752         * buffer.C: and remove a using directive there
8753
8754 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8755
8756         * buffer.C (makeLaTeXFile): move the code that generates the
8757           preamble...
8758
8759         * bufferparams.C (writeLaTeX): ... in this new method
8760
8761         * LaTeXFeatures.C (getEncodingSet): make const
8762           (getLanguages): make const
8763
8764         * MenuBackend.C (binding): returns the binding associated to this
8765           action
8766           (add): sets the status of each item by calling getStatus. Adds
8767           some intelligence.
8768           (read): add support for OptSubMenu
8769           (expand): remove extra separator at the end of expanded menu
8770
8771 2003-02-15  John Levon  <levon@movementarian.org>
8772
8773         * BufferView.C:
8774         * BufferView_pimpl.C:
8775         * bufferlist.h:
8776         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8777           inset code that had no actual effect. Remove unneeded status
8778           code.
8779
8780 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8781
8782         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8783           in preamble
8784
8785 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8786
8787         * text.C (drawLengthMarker): also draw an arrow marker for
8788           symbolic lengths (medskip...)
8789
8790 2003-02-14  John Levon  <levon@movementarian.org>
8791
8792         * tabular.h:
8793         * tabular.C: better method names
8794
8795 2003-02-14  John Levon  <levon@movementarian.org>
8796
8797         * BufferView_pimpl.C:
8798         * bufferlist.C:
8799         * buffer.C:
8800         * converter.C:
8801         * lyx_cb.C:
8802         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8803           it's a more accurate name. Remove some pointless uses.
8804
8805 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8806
8807         * text2.C (LyXText): change order of initilizers to shut off
8808           warnings
8809
8810 2003-02-14  John Levon  <levon@movementarian.org>
8811
8812         * buffer.C: use ParIterator for getParFromID()
8813
8814         * paragraph.h:
8815         * paragraph.C:
8816         * paragraph_pimpl.h:
8817         * paragraph_pimpl.C: remove unused getParFromID()
8818
8819 2003-02-14  John Levon  <levon@movementarian.org>
8820
8821         * buffer.C: remove some very old #if 0'd parse code
8822
8823 2003-02-13  John Levon  <levon@movementarian.org>
8824
8825         * text.h:
8826         * text.C:
8827         * text2.C: move hfillExpansion(), numberOfSeparators(),
8828           rowLast(), rowLastPrintable(), numberofHfills(),
8829           numberOfLabelHfills() ...
8830
8831         * lyxrow.h:
8832         * lyxrow.C: ... to member functions here.
8833
8834         * paragraph.h:
8835         * paragraph.C:
8836         * lyxtext.h:
8837         * text.C: remove LyXText::beginningOfMainBody(), and call
8838           p->beginningOfMainBody() directly. Move the check for
8839           LABEL_MANUAL into the latter.
8840
8841         * text.h:
8842         * text.C:
8843         * text2.C:
8844         * vspace.C:
8845         * BufferView.h:
8846         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8847
8848         * text.h:
8849         * text.C:
8850         * text2.C:
8851         * text3.C:
8852         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8853           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8854
8855 2003-02-13  John Levon  <levon@movementarian.org>
8856
8857         * CutAndPaste.C: remove debug
8858
8859 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * paragraph.C (asString): remove two unused variables
8862
8863         * lyxtextclass.C (readTitleType):
8864           (Read):
8865           (LyXTextClass): handle new members titletype_ and titlename_
8866
8867         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8868
8869 2003-02-09  John Levon  <levon@movementarian.org>
8870
8871         * buffer.h:
8872         * buffer.C: replace hand-coded list with a map for the dep clean
8873
8874 2003-02-08  John Levon  <levon@movementarian.org>
8875
8876         * LaTeX.C: consolidate code into showRunMessage() helper
8877
8878 2003-02-08  John Levon  <levon@movementarian.org>
8879
8880         * lyxfind.C:
8881         * lyxtext.h:
8882         * text2.C:
8883         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8884           and pass the size in explicitly
8885
8886         * BufferView_pimpl.h:
8887         * BufferView_pimpl.C:
8888         * BufferView.h:
8889         * BufferView.C: add getCurrentChange()
8890
8891         * BufferView_pimpl.h:
8892         * BufferView_pimpl.C: handle change lfuns
8893
8894         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8895           for changes. Mark pasted paragraphs as new.
8896
8897         * support/lyxtime.h:
8898         * support/lyxtime.C:
8899         * DepTable.C: abstract time_t as lyx::time_type
8900
8901         * LColor.h:
8902         * LColor.C: add colours for new text, deleted text, changebars
8903
8904         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8905           package use "usenames" option.
8906
8907         * commandtags.h:
8908         * lyxfunc.C:
8909         * LyXAction.C: add change lfuns
8910
8911         * Makefile.am:
8912         * author.h:
8913         * author.C: author handling
8914
8915         * buffer.h:
8916         * buffer.C: add a per-buffer author list, with first entry as
8917           current author. Handle new .lyx tokens for change tracking. Output
8918           author list to .lyx file. Output dvipost stuff to .tex preamble.
8919           Bump lyx format to 222.
8920
8921         * bufferlist.h:
8922         * bufferlist.C: add setCurrentAuthor() to reset current author details
8923           in all buffers.
8924
8925         * bufferparams.h:
8926         * bufferparams.C: add param for tracking
8927
8928         * bufferview_funcs.C: output change info in minibuffer
8929
8930         * Makefile.am:
8931         * changes.h:
8932         * changes.C: add change-tracking structure
8933
8934         * debug.h:
8935         * debug.C: add CHANGES debug flag
8936
8937         * lyxfind.h:
8938         * lyxfind.C: add code for finding the next change piece
8939
8940         * lyxrc.h:
8941         * lyxrc.C: add user_name and user_email
8942
8943         * lyxrow.h:
8944         * lyxrow.C: add a metric for the top of the text line
8945
8946         * lyxtext.h:
8947         * text.C: implement accept/rejectChange()
8948
8949         * lyxtext.h:
8950         * text.C: paint changebars. Paint new/deleted text in the chosen
8951         colours. Strike through deleted text.
8952
8953         * paragraph.h:
8954         * paragraph.C:
8955         * paragraph_pimpl.h:
8956         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8957           in the current change to the insert functions. Rework erase to
8958           mark text as deleted, adding an eraseIntern() and a range-based
8959           erase(). Implement per-paragraph change lookup and
8960           accept/reject.
8961
8962         * paragraph_funcs.C: Fixup paste for change tracking.
8963
8964         * tabular.C: mark added row/columns as new.
8965
8966         * text.C: fix rowLast() to never return -1. Don't allow
8967           spellchecking of deleted text. Track transpose changes. Don't
8968           allow paragraph break or merge where appropriate.
8969
8970         * text2.C: leave cursor at end of selection after a cut.
8971
8972 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8973
8974         * text.C (getLengthMarkerHeight):
8975         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8976         visible on screen too.
8977
8978 2003-02-07  John Levon  <levon@movementarian.org>
8979
8980         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8981
8982 2003-02-05  Angus Leeming  <leeming@lyx.org>
8983
8984         * lyxserver.C (read_ready): revert my patch of 11 September last year
8985         as it sends PC cpu through the roof. Presumably this means that
8986         the lyxserver will no longer run on an Alpha...
8987
8988 2003-01-30  Angus Leeming  <leeming@lyx.org>
8989
8990         * factory.C (createInset): create an InsetCommandParam of type "index"
8991         and use it to 'do the right thing'.
8992
8993         * text2.C (getStringToIndex): ensure that cursor position is always
8994         reset to the reset_cursor position.
8995
8996 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8997
8998         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8999         disabled.
9000
9001 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9002
9003         * bufferview.C:
9004         * lyxcb.C:
9005         * lyxfunc.C: Output messages with identical spelling, punctuation,
9006         and spaces
9007
9008 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9009
9010         * MenuBackend.C (expandFormats): List only viewable export formats
9011         in "View" menu
9012
9013         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9014         message
9015
9016         * lyxfunc.C (getStatus): Make sure that formats other than
9017         "fax" can also be disabled
9018
9019 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9020
9021         * text3.C (dispatch): put the lfuns that insert insets in 3
9022         groups, and call doInsertInset with appropriate arguments.
9023         (doInsertInset): new function, that creates an inset and inserts
9024         it according to some boolean parameters.
9025
9026 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9027
9028         * buffer.C (readFile): remember to pass on 'par' when calling
9029         readFile recursively.
9030
9031 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9032
9033         * MenuBackend.C (expandFormats): add "..." to import formats.
9034
9035 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9036
9037         * paragraph.C (asString): Remove XForms RTL hacks.
9038
9039 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9040         * buffer.C: fix typo
9041
9042 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9043
9044         * Makefile.am (LIBS): delete var
9045         (lyx_LDADD): add @LIBS@ here instead.
9046
9047 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9048
9049         * Clarify the meaning of "wheel mouse jump"
9050
9051 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9052
9053         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9054         tabular in a float
9055
9056 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9057
9058         * importer.C (Loaders): do not preallocate 3 elements in the
9059         vector, since one ends up with 6 elements otherwise
9060
9061 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9062
9063         * DepTable.C (write): write the file name as last element of the
9064         .dep file (because it may contain spaces)
9065         (read): read info in the right order
9066
9067 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9068
9069         * paragraph_pimpl.C (simpleTeXBlanks):
9070         (simpleTeXSpecialChars):
9071         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9072
9073         * tabular.C (latex): add some missing case statements. Reindent.
9074
9075         * MenuBackend.C (expandToc): remove unused variable.
9076
9077 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9078
9079         * LColor.C:
9080         * LaTeX.C:
9081         * LyXAction.C:
9082         * MenuBackend.C:
9083         * buffer.C:
9084         * exporter.C:
9085         * lyxfunc.C:
9086         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9087         and the like.
9088
9089 2003-01-05  John Levon  <levon@movementarian.org>
9090
9091         * BufferView.h:
9092         * BufferView.C: add getEncoding()
9093
9094         * kbsequence.h:
9095         * kbsequence.C: do not store last keypress
9096
9097         * lyxfunc.h:
9098         * lyxfunc.C: store last keypress here instead. Pass encoding
9099           to getISOEncoded()
9100
9101 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9102
9103         * lyx_main.C (init): remove annoying error message when following
9104         symbolic links (bug #780)
9105
9106 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9107
9108         * text.C (insertChar):
9109         * lyxrc.C (getDescription): remove extra spaces
9110
9111 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9112
9113         * lyxrc.C (getDescription): remove extra spaces
9114
9115 2002-12-20  John Levon  <levon@movementarian.org>
9116
9117         * text3.C: hack fix for page up/down across tall rows
9118
9119 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9120
9121         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9122         not been invoked
9123
9124 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9125
9126         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9127         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9128         thesaurus is not compiled in
9129
9130 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9131
9132         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9133
9134 2002-12-16  Angus Leeming  <leeming@lyx.org>
9135
9136         * lyxrc.[Ch]:
9137         * lyx_main.C (init): remove override_x_deadkeys stuff.
9138
9139 2002-12-12  John Levon  <levon@movementarian.org>
9140
9141         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9142           insert. Only remove shift modifier under strict
9143           circumstances.
9144
9145 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9146
9147         * MenuBackend.C (expandToc): fix crash.
9148
9149 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9150
9151         * MenuBackend.C (expandToc): gettext on float names.
9152
9153 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9154
9155         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9156         implement bool empty() [bug 490]
9157
9158 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9159
9160         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9161
9162 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9163
9164         * several files: ws changes
9165
9166 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9167
9168         * text2.C (setCounter): clean up a bit, use boost.format.
9169         (updateCounters): initialize par upon declaration.
9170
9171         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9172         if the layout exists. We do not just store the layout any more.
9173         (SwitchLayoutsBetweenClasses): use boost.format
9174
9175 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9176
9177         * converter.C (convert): if from and to files are the same, use a
9178         temporary files as intermediary
9179
9180 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9181
9182         * commandtags.h:
9183         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9184
9185 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9186
9187         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9188
9189 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9190
9191         * tabular.C (asciiPrintCell): use string(size, char) instead of
9192         explicit loop.
9193
9194         * sgml.C (openTag): fix order of arguments to string constructor
9195         (closeTag): ditto
9196
9197         * lyxfunc.C (dispatch): use boost.format
9198
9199         * lots of files: change "c" -> 'c'
9200
9201 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9202
9203         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9204
9205 2002-11-25  Angus Leeming  <leeming@lyx.org>
9206
9207         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9208
9209         * lyx_main.C (init): compile fix.
9210
9211 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * lyx_cb.C (start): boost.formatify
9214         do not include <iostream>
9215
9216         * lengthcommon.C: ws only
9217
9218         * boost-inst.C,BoostFormat.h: add more explict instantations
9219
9220 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9221
9222         * lots of files: handle USE_BOOST_FORMAT
9223
9224 2002-11-21  John Levon  <levon@movementarian.org>
9225
9226         * pspell.C: fix compile
9227
9228 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9229
9230         * lyxfunc.C (dispatch): use boost::format
9231         (open): ditto
9232         (doImport): ditto
9233
9234         * lyxfont.C (stateText): use boost::format
9235
9236         * lyx_main.C (LyX): use boost::format
9237         (init): ditto
9238         (queryUserLyXDir): ditto
9239         (readRcFile): ditto
9240         (parse_dbg): ditto
9241         (typedef boost::function): use the recommened syntax.
9242
9243         * importer.C (Import): use boost::format
9244
9245         * debug.C (showLevel): use boost::format
9246
9247         * converter.C (view): use boost::format
9248         (convert): ditto
9249         (move): ditto
9250         (scanLog): ditto
9251
9252         * bufferview_funcs.C (currentState): use boost::format
9253
9254         * bufferlist.C (emergencyWrite): use boost::format
9255
9256         * buffer.C (readLyXformat2): use boost::format
9257         (parseSingleLyXformat2Token): ditto
9258
9259         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9260
9261         * LaTeX.C (run): use boost::format
9262
9263         * Chktex.C (scanLogFile): use boost::format
9264
9265         * BufferView_pimpl.C (savePosition): use boost::format
9266         (restorePosition): ditto
9267         (MenuInsertLyXFile): ditto
9268
9269         * BoostFormat.h: help file for explicit instation.
9270
9271 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9272
9273         * tabular.C (latex): Support for block alignment in fixed width
9274         columns.
9275
9276 2002-11-17  John Levon  <levon@movementarian.org>
9277
9278         * BufferView_pimpl.C:
9279         * lyx_cb.C:
9280         * lyxfunc.C: split filedialog into open/save
9281
9282 2002-11-08  Juergen Vigna  <jug@sad.it>
9283
9284         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9285         by my last patch (hopefully).
9286
9287 2002-11-08  John Levon  <levon@movementarian.org>
9288
9289         * iterators.h:
9290         * iterators.C:
9291         * buffer.h:
9292         * buffer.C:
9293         * paragraph.h:
9294         * paragraph.C:
9295         * toc.h:
9296         * toc.C: ParConstIterator, and use it (from Lars)
9297
9298 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9299
9300         * lyxtextclass.[Ch]: revise and add doxygen comments
9301
9302 2002-11-07  John Levon  <levon@movementarian.org>
9303
9304         * text.C: fix progress value for spellchecker
9305
9306         * toc.C: fix navigate menu for insetwrap inside minipage
9307
9308         * paragraph_funcs.C: added FIXME for suspect code
9309
9310 2002-11-07  John Levon  <levon@movementarian.org>
9311
9312         * BufferView_pimpl.C: fix redrawing of insets
9313           on buffer switch
9314
9315 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * text2.C (updateCounters): fix bug 668
9318
9319 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9320
9321         * text3.C (dispatch): Do not make the buffer dirty when moving the
9322         cursor.
9323
9324 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9325
9326         * vc-backend.C: STRCONV
9327         (scanMaster): ditto
9328
9329         * text2.C (setCounter): STRCONV
9330
9331         * paragraph.C (asString): STRCONV
9332
9333         * lyxlength.C (asString): STRCONV
9334         (asLatexString): ditto
9335
9336         * lyxgluelength.C (asString): STRCONV
9337         (asLatexString): ditto
9338
9339         * lyxfunc.C (dispatch): STRCONV
9340         (open): ditto
9341
9342         * lyxfont.C (stateText): STRCONV
9343
9344         * importer.C (Import): STRCONV
9345
9346         * counters.C (labelItem): STRCONV
9347         (numberLabel): ditto
9348         (numberLabel): remove unused ostringstream o
9349
9350         * chset.C: STRCONV
9351         (loadFile): ditto
9352
9353         * bufferview_funcs.C (currentState): STRCONV
9354
9355         * buffer.C (readFile): STRCONV
9356         (asciiParagraph): ditto
9357         (makeLaTeXFile): ditto
9358
9359         * Spacing.C (writeEnvirBegin): STRCONV
9360
9361         * LaTeXFeatures.C (getLanguages): STRCONV
9362         (getPackages): ditto
9363         (getMacros): ditto
9364         (getBabelOptions): ditto
9365         (getTClassPreamble): ditto
9366         (getLyXSGMLEntities): ditto
9367         (getIncludedFiles): ditto
9368
9369         * LaTeX.C: STRCONV
9370         (run): ditto
9371         (scanAuxFile): ditto
9372         (deplog): ditto
9373
9374         * LString.h: add the STRCONV macros
9375
9376         * BufferView_pimpl.C (savePosition): STRCONV
9377         (restorePosition): ditto
9378         (MenuInsertLyXFile): ditto
9379
9380         * vc-backend.C (scanMaster): change from submatch[...] to
9381         submatch.str(...)
9382
9383         * funcrequest.C: include config.h
9384
9385         * factory.C: include config.h
9386
9387         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9388
9389         * box.C: include config.h
9390
9391         * LaTeX.C (scanAuxFile): change from submatch[...] to
9392         submatch.str(...)
9393         (deplog): ditto
9394
9395 2002-10-25  Angus Leeming  <leeming@lyx.org>
9396
9397         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9398
9399         * ispell.[Ch] (setError): new method.
9400         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9401         Use setError() insetead of goto END.
9402
9403         * lyx_cb.C (AutoSave): move out child process into new class
9404         AutoSaveBuffer.
9405
9406 2002-10-30  John Levon  <levon@movementarian.org>
9407
9408         * text3.C: make start appendix undoable
9409
9410 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9411
9412         * lyxlength.C (inPixels): Fix returned value.
9413
9414         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9415         environment.
9416
9417 2002-10-24  Angus Leeming  <leeming@lyx.org>
9418
9419         * lyxgluelength.h: no need to forward declare BufferParams
9420         or BufferView, so don't.
9421
9422 2002-10-21  John Levon  <levon@movementarian.org>
9423
9424         * BufferView.C: menuUndo ->undo, redo
9425
9426         * BufferView.h: document, remove dead, make some methods private
9427
9428         * paragraph_funcs.h:
9429         * paragraph_funcs.C:
9430         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9431
9432         * buffer.h:
9433         * buffer.C:
9434         * sgml.h:
9435         * sgml.C: move sgml open/close tag into sgml.C
9436
9437         * bufferview_funcs.h: unused prototype
9438
9439         * lyxfunc.h:
9440         * lyxfunc.C: remove unused
9441
9442         * lyxtext.h:
9443         * text.C: remove unused
9444
9445 2002-10-21  John Levon  <levon@movementarian.org>
9446
9447         * BufferView.h:
9448         * BufferView.C:
9449         * BufferView_pimpl.h:
9450         * BufferView_pimpl.C: fix mouse wheel handling based on
9451           patch from Darren Freeman
9452
9453 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9454
9455         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9456
9457 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9458
9459         * lyxlength.C (inPixels): Fix hanfling of negative length.
9460         Fix LyXLength::MU case.
9461
9462 2002-10-16  John Levon  <levon@movementarian.org>
9463
9464         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9465
9466 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9467
9468         * converter.C (view): add support for $$i (file name) and $$p
9469         (file path) for the viewer command. If $$i is not specified, then
9470         it is appended to the command (for compatibility with old syntax)
9471
9472 2002-10-14  Juergen Vigna  <jug@sad.it>
9473
9474         * undo_funcs.C (textHandleUndo): alter the order in which the
9475         new undopar is added to the LyXText, as we have to set first
9476         the right prev/next and then add it as otherwise the rebuild of
9477         LyXText is not correct. Also reset the cursor to the right paragraph,
9478         with this IMO we could remove the hack in "redoParagraphs()".
9479
9480 2002-10-09  Angus Leeming  <leeming@lyx.org>
9481
9482         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9483         to turn off an optimisation if a new inset is to be inserted.
9484
9485 2002-10-11 André Pönitz <poenitz@gmx.net>
9486
9487         * lyxtext.h: make some functions public to allow access
9488         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9489
9490 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9491
9492         * text3.C (dispatch): when changing layout, avoid an infinite loop
9493         [bug #652]
9494
9495 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9496
9497         * lyxrc.C (read): treat a viewer or converter command of "none" as
9498         if it were empty.
9499
9500         * MenuBackend.C (expandFormats): for an update, also allow the
9501         formats that are not viewable
9502
9503         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9504         script if it is newer than the lyxrc.defaults in user directory
9505
9506 2002-10-07 André Pönitz <poenitz@gmx.net>
9507
9508         * text.C: Vitaly Lipatov's small i18n fix
9509
9510 2002-09-25  Angus Leeming  <leeming@lyx.org>
9511
9512         * ispell.h: doxygen fix.
9513
9514 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9515
9516         * buffer.h (readFile): Add a new argument to the method, to allow
9517         reading of old-format templates.
9518
9519 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9520
9521         * toc.C (getTocList): Get TOC from InsetWrap.
9522
9523 2002-09-16  John Levon  <levon@movementarian.org>
9524
9525         * lyxfunc.C: check tabular for cut/copy too
9526
9527 2002-09-12  John Levon  <levon@movementarian.org>
9528
9529         * LyXAction.C: tidy
9530
9531         * factory.h:
9532         * factory.C: add header
9533
9534         * paragraph_funcs.h:
9535         * paragraph_funcs.C: cleanup
9536
9537 2002-09-11  John Levon  <levon@movementarian.org>
9538
9539         * PrinterParams.h: odd/even default to true
9540
9541 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9542
9543         * PrinterParams.h: update printer parameters for new xforms dialog
9544
9545 2002-09-11  Angus Leeming  <leeming@lyx.org>
9546
9547         * lyxserver.C (read_ready): re-write to make it more transparent
9548         and to make it work in coherent fashion under Tru64 Unix.
9549
9550 2002-09-11  André Pönitz <poenitz@gmx.net>
9551
9552         * commandtags.h:
9553         * LyXAction.C:
9554         * text3.C: implement LFUN_WORDSEL
9555
9556 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9557
9558         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9559         make floatlist_ a boost::shared_ptr<FloatList>
9560
9561         * lyxtextclass.C: include FloatList.h
9562         (LyXTextClass): initialize floatlist_
9563         (TextClassTags): add TC_NOFLOAT
9564         (Read): match "nofloat" to TC_NOFLOAT and use it.
9565         (readFloat): modify call to floatlist_
9566         (floats): ditto
9567         (floats): ditto
9568
9569         * FloatList.[Ch] (FloatList): remove commented out float
9570         initialization.
9571         (erase): new function
9572
9573 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9574
9575         * MenuBackend.C (expandToc): fix crash when there is no document
9576         open
9577
9578 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9579
9580         * many files: Add insetwrap.
9581
9582 2002-09-09  John Levon  <levon@movementarian.org>
9583
9584         * text2.C: remove confusing and awkward depth wraparound
9585
9586 2002-09-09  John Levon  <levon@movementarian.org>
9587
9588         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9589
9590         * buffer.h:
9591         * buffer.C: remove getIncludeonlyList()
9592
9593         * paragraph.C:
9594         * lyxfunc.C: remove headers
9595
9596 2002-09-09  Juergen Vigna  <jug@sad.it>
9597
9598         * text.C (getColumnNearX): fix form Michael this is most
9599         probably a cut&paste bug.
9600
9601 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9602
9603         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9604
9605         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9606         references, ws changes.
9607
9608         * text2.C (init): update counters after init
9609         (insertParagraph): no need to set counter on idividual paragraphs.
9610         (setCounter): access the counters object in the textclass object
9611         on in the buffer object.
9612         (updateCounters): ditto
9613
9614         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9615         shared_ptr<Counters> to avoid loading counters.h in all
9616         compilation units.
9617         (LyXTextClass): initialize ctrs_
9618         (TextClassTags): add TC_COUNTER, and ...
9619         (Read): use it here.
9620         (CounterTags): new tags
9621         (readCounter): new function
9622         (counters): new funtion
9623         (defaultLayoutName): return a const reference
9624
9625         * counters.C (Counters): remove contructor
9626         (newCounter): remove a couple of unneeded statements.
9627         (newCounter): simplify a bit.
9628         (numberLabel): some small formatting changes.
9629
9630         * buffer.[Ch]: remove all traces of counters, move the Counters
9631         object to the LyXTextClass.
9632
9633 2002-09-06  Alain Castera  <castera@in2p3.fr>
9634
9635         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9636         package to set the horizontal alignment on fixed width columns.
9637
9638         * lyx_sty.C:
9639         * lyx_sty.h: added tabularnewline macro def.
9640
9641         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9642
9643 2002-09-06  John Levon  <levon@movementarian.org>
9644
9645         * LyXAction.C: tooltips for sub/superscript
9646
9647         * MenuBackend.C: a bit more verbose
9648
9649         * lyxfunc.C: tiny clean
9650
9651         * undo_funcs.C: document undo_frozen
9652
9653 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9654
9655         * counters.C (Counters): add missing algorithm counter.
9656
9657         * text2.C (setCounter): lookup the counter with layouts latexname
9658         instead of by section number.
9659         (setCounter): use a hackish way to lookup the correct enum
9660         counter.
9661         a float name->type change
9662         reset enum couners with counter name directly instead of depth value.
9663
9664         * counters.C (Counters): remove the push_backs, change to use the
9665         float type not the float name.
9666         (labelItem): remove unused string, float name->type change
9667
9668         * counters.h: don't include vector, loose the enums and sects vectors
9669
9670 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9671
9672         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9673         (Read): add float->TC_FLOAT to textclassTags
9674         (Read): and handle it in the switch
9675         (readFloat): new function
9676
9677         * FloatList.C (FloatList): comment out the hardcoded float
9678         definitions.
9679
9680         * lyxlayout.h: ws change.
9681
9682 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9683
9684         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9685
9686 2002-09-03  Angus Leeming  <leeming@lyx.org>
9687
9688         * BufferView_pimpl.h: qualified name is not allowed in member
9689         declaration: WorkArea & Pimpl::workarea() const;
9690
9691         * factory.C: added using std::endl directive.
9692
9693         * text3.C: added using std::find and std::vector directives.
9694
9695 2002-08-29  André Pönitz <poenitz@gmx.net>
9696
9697         * lyxtext.h:
9698         * text2.C: remove unused member number_of_rows
9699
9700         * Makefile.am:
9701         * BufferView2.C: remove file, move contents to...
9702         * BufferView.C: ... here
9703
9704         * BufferView_pimpl.C:
9705         * factory.C: move more inset creation to factory
9706
9707         * vspace.C: avoid direct usage of LyXText, ws changes
9708
9709         * BufferView.[Ch]:
9710                 don't provide direct access to WorkArea, use two simple
9711                 acessors haveSelction() and workHeight() instead
9712
9713
9714 2002-08-29  John Levon  <levon@movementarian.org>
9715
9716         * BufferView_pimpl.C (dispatch): do not continue when
9717           no buffer
9718
9719 2002-08-28  André Pönitz <poenitz@gmx.net>
9720
9721         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9722
9723         * BufferView.h:
9724         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9725
9726 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9727
9728         * buffer.C: increment LYX_FORMAT to 221
9729
9730         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9731         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9732
9733         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9734
9735         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9736
9737 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9738
9739         * factory.C (createInset): use LyXTextClass::floats
9740
9741         * MenuBackend.C (expandFloatListInsert):
9742         (expandFloatInsert):
9743         (expandToc):
9744
9745         * text2.C (setCounter):
9746
9747         * LaTeXFeatures.C (useFloat):
9748         (getFloatDefinitions):
9749
9750         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9751
9752         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9753         floatlist_, with accessor floats().
9754
9755         * FloatList.h: remove global FloatList
9756
9757 2002-08-26  André Pönitz <poenitz@gmx.net>
9758
9759         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9760
9761         * BufferView.h:
9762         * BufferView2.C:
9763         * BufferView_pimpl.C:
9764         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9765
9766 2002-08-25  John Levon  <levon@movementarian.org>
9767
9768         * LyXAction.C: fix margin note description
9769
9770 2002-08-24  John Levon  <levon@movementarian.org>
9771
9772         * buffer.C:
9773         * bufferlist.C:
9774         * bufferview_funcs.C:
9775         * lyxfont.C:
9776         * undo_funcs.C: cleanups
9777
9778         * lyxfunc.C: disable CUT/COPY when no selection
9779
9780 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9781
9782         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9783         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9784
9785         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9786         Add backward compatibility to "mono", "gray" and "no".
9787
9788 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9789
9790         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9791         (and file_format >= 200).
9792
9793 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9794
9795         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9796
9797 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9798
9799         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9800
9801 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9802
9803         * BufferView_pimpl.C:
9804         * LyXAction.C:
9805         * buffer.C:
9806         * commandtags.h:
9807         * lyxfunc.C:
9808         * paragraph.[Ch]:
9809         * text2.C:
9810         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9811         inset and code to make it  work with the paragraph code. The inset
9812         can be anywhere in the paragraph, but will only do the expected
9813         thing in LaTeX if the layout file contains the parameter line
9814                         OptionalArgs    1
9815         (or more generally, a nonzero value) for that layout.
9816
9817 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9818
9819         * paragraph.h: remove the declaration of undefined counters class
9820         function.
9821
9822 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9823
9824         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9825         Dr. Richard Hawkins.
9826
9827 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9828
9829         * paragraph_funcs.h: remove some unneeded includes
9830
9831         * text.C (backspace): pasteParagraph now in global scipe
9832
9833         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9834         (pasteSelection): ditto
9835
9836         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9837         * paragraph_funcs.C (pasteParagraph): ... here
9838
9839 2002-08-20  André Pönitz <poenitz@gmx.net>
9840
9841         * commandtags.h: new LFUNs for swapping/copying table row/colums
9842
9843         * LyXAction.C:
9844         * lyxfunc.C: support for new lfuns
9845
9846 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9847
9848         * tabular.C:
9849         * buffer.[Ch]: remove NO_COMPABILITY stuff
9850
9851 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9852
9853         * boost.C (throw_exception): new file, with helper function for
9854         boost compiled without exceptions.
9855
9856         * paragraph.h:
9857         * lyxlength.C:
9858         * buffer.C:
9859         * ParameterStruct.h:
9860         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9861
9862         * bufferlist.C (emergencyWriteAll): use boost bind
9863
9864         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9865
9866         * text.C: include paragraph_funcs.h
9867         (breakParagraph): breakParagraph is now in global scope
9868
9869         * paragraph_funcs.[Ch]: new files
9870
9871         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9872         global scope
9873
9874         * buffer.C: include paragraph_funcs.h
9875         (insertStringAsLines): breakParagraph is now in global scope
9876
9877         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9878         paragraph_funcs.C
9879
9880         * CutAndPaste.C: include paragraph_funcs.h
9881         (cutSelection): breakParagraphConservative is now in global scope
9882         (pasteSelection): ditto
9883
9884         * buffer.h: declare oprator== and operator!= for
9885         Buffer::inset_iterator
9886
9887         * bufferlist.C (emergencyWrite): don't use fmt(...)
9888
9889         * text3.C: add using std::endl
9890
9891         * BufferView.C (moveCursorUpdate): remove default arg
9892
9893 2002-08-20  André Pönitz <poenitz@gmx.net>
9894
9895         * buffer.[Ch]: move inline functions to .C
9896
9897         * BufferView2.C:
9898         * BufferView_pimpl.C:
9899         * text.C:
9900         * buffer.[Ch]: use improved inset_iterator
9901
9902         * buffer.C:
9903         * paragraph.[Ch]: write one paragraph at a time
9904
9905 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9906
9907         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9908         style if style is not specified.
9909
9910 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9911
9912         * text2.C (setCounter): when searching for right label for a
9913         caption, make sure to recurse to parent insets (so that a caption
9914         in a minipage in a figure float works) (bug #568)
9915
9916 2002-08-20  André Pönitz <poenitz@gmx.net>
9917
9918         * text3.C: new file for LyXText::dispatch() and helpers
9919
9920         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9921
9922         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9923
9924 2002-08-19  André Pönitz <poenitz@gmx.net>
9925
9926         * lyxtext.h:
9927         * text.C: new LyXText::dispatch()
9928
9929         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9930
9931 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9932
9933         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9934
9935         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9936         Hebrew text.
9937
9938 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * Makefile.am: use $(variables) instead of @substitutions@
9941
9942 2002-08-15  André Pönitz <poenitz@gmx.net>
9943
9944         * lyxfunc.C:
9945         * BufferView_pimpl.C: streamlining mathed <-> outer world
9946         interaction
9947
9948         * commandtags.h:
9949         * LyXAction.C: remove unused LFUN_MATH
9950
9951 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9952
9953         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9954
9955 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9956
9957         * paragraph.C (Paragraph): reformat a bit
9958         (cutIntoMinibuffer): use builtin InsetList function instad of
9959         doing it manually.
9960         (getInset): ditto
9961
9962         * buffer.C: include boost/bind.hpp, add using std::for_each
9963         (writeFileAscii): use ParagraphList iterators
9964         (validate): use for_each for validate traversal of paragraphs
9965         (getBibkeyList): use ParagraphList iterators
9966         (resizeInsets): use for_each to resizeInsetsLyXText for all
9967         paragraphs.
9968         (getParFromID): use ParagraphList iterators
9969
9970         * BufferView2.C (lockInset): use paragraph list and iterators
9971
9972 2002-08-14  John Levon  <levon@movementarian.org>
9973
9974         * lyxserver.C: remove spurious xforms include
9975
9976 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9977
9978         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9979
9980 2002-08-13  André Pönitz <poenitz@gmx.net>
9981
9982         * LyXAction.[Ch]:
9983         * lyxfunc.C: further cleaning
9984
9985 2002-08-13  André Pönitz <poenitz@gmx.net>
9986
9987         * funcrequest.h: new constructor
9988
9989         * funcrequest.C: move stuff here from .h
9990
9991         * Makefile.am:
9992         * BufferView_pimpl.C:
9993         * LyXAction.C:
9994         * toc.C:
9995         * lyxfunc.C: subsequent changes
9996
9997         * lyxfunc.h: new view() member function
9998
9999         * lyxfunc.C: subsequent changes
10000
10001 2002-08-13  Angus Leeming  <leeming@lyx.org>
10002
10003         * BufferView2.C:
10004         * BufferView_pimpl.C:
10005         * buffer.C:
10006         * converter.C:
10007         * importer.C:
10008         * lyxfunc.C:
10009         * lyxvc.C:
10010         * toc.C:
10011         * vc-backend.C:
10012         changes due to the changed LyXView interface that now returns references
10013         to member variables not pointers.
10014
10015 2002-08-13  Angus Leeming  <leeming@lyx.org>
10016
10017         * WordLangTuple (word, lang_code): return references to strings,
10018         not strings.
10019
10020         * BufferView.h:
10021         * SpellBase.h:
10022         * lyxtext.h: forward-declare WordLangTuple.
10023
10024         * BufferView2.C:
10025         * ispell.C:
10026         * pspell.C:
10027         * text.C: #include "WordLangTuple.h".
10028
10029         * lyxtext.h:
10030         * text.C: (selectNextWordToSpellcheck): constify return type.
10031
10032 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10033
10034         * buffer.C:
10035         * buffer.h:
10036         * lyxtext.h:
10037         * paragraph.C:
10038         * paragraph_pimpl.h:
10039         * text.C:
10040         * text2.C:
10041         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10042         suggested by Angus.
10043         Made updateCounter always count from start of buffer, and removed
10044         second argument (par).
10045         Reverted floats number display to '#'. Perhaps I'll try again when the
10046         code base is sanitized a bit.
10047
10048 2002-08-12  Angus Leeming  <leeming@lyx.org>
10049
10050         * buffer.[Ch] (getLabelList): constify.
10051
10052 2002-08-07  André Pönitz <poenitz@gmx.net>
10053
10054         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10055
10056         * funcrequest.h: extension to keep mouse (x,y) position
10057
10058 2002-08-12  Juergen Vigna  <jug@sad.it>
10059
10060         * BufferView2.C (insertErrors): forbid undo when inserting error
10061         insets.
10062
10063         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10064
10065 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10066
10067         * ParagraphList.[Ch]: new files
10068
10069         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10070
10071         * BufferView2.C (lockInset): ParagraphList changes
10072         * toc.C: ditto
10073         * text2.C: ditto
10074         * bufferlist.C: ditto
10075         * buffer.h: ditto
10076         * buffer.C: ditto
10077
10078 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10079
10080         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10081         unused class variable counter_,
10082
10083         * paragraph.[Ch] (getFirstCounter): delete unused function
10084
10085         * counters.C: include LAssert.h
10086         (reset): add a new function with no arg, change other version to
10087         not have def. arg and to not allow empty arg.
10088
10089         * text2.C (setCounter): remove empty arg from call to Counters::reset
10090
10091 2002-08-11  John Levon  <levon@movementarian.org>
10092
10093         * Makefile.am: add WordLangTuple.h
10094
10095 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10096
10097         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10098         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10099
10100         * insets/insettext.C: InsetList changes
10101
10102         * graphics/GraphicsSupport.C (operator()): InsetList changes
10103
10104         * toc.C (getTocList): InsetList changes
10105
10106         * paragraph_pimpl.[Ch]: InsetList changes
10107
10108         * paragraph.[Ch]: InsetList changes
10109
10110         * buffer.C (inset_iterator): InsetList changes
10111         (setParagraph): ditto
10112         * buffer.h (inset_iterator): ditto
10113         * iterators.C (operator++): ditto
10114         * iterators.h: ditto
10115
10116         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10117
10118         * InsetList.[Ch]: new files, most InsetList handling moved out of
10119         paragraph.C.
10120
10121         * BufferView2.C (removeAutoInsets): InsetList changes
10122         (lockInset): ditto
10123         (ChangeInsets): ditto
10124
10125 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10126
10127         * paragraph_pimpl.h (empty): new function
10128
10129         * paragraph.[Ch] (empty): new function
10130
10131         * other files: use the new Paragraph::empty function
10132
10133 2002-08-09  John Levon  <levon@movementarian.org>
10134
10135         * lyxtext.h: remove unused refresh_height
10136
10137 2002-08-09  John Levon  <levon@movementarian.org>
10138
10139         * Makefile.am:
10140         * sgml.h:
10141         * sgml.C:
10142         * buffer.C:
10143         * paragraph.h:
10144         * paragraph.C: move sgml char escaping out of paragraph
10145
10146         * paragraph.h:
10147         * paragraph.C: remove id setter
10148
10149         * buffer.C:
10150         * paragraph.C:
10151         * paragraph_pimpl.C: remove dead tex_code_break_column
10152
10153         * bufferview_funcs.C: small cleanup
10154
10155         * lyxfunc.C: remove dead proto
10156
10157         * lyxtext.h: make some stuff private. Remove some dead stuff.
10158
10159         * lyxgluelength.C: make as[LyX]String() readable
10160
10161 2002-08-08  John Levon  <levon@movementarian.org>
10162
10163         * LyXAction.h:
10164         * LyXAction.C:
10165         * MenuBackend.C:
10166         * ToolbarDefaults.C:
10167         * lyxfunc.C:
10168         * lyxrc.C:
10169         * toc.C: lyxaction cleanup
10170
10171 2002-08-08  John Levon  <levon@movementarian.org>
10172
10173         * BufferView2.C: small cleanup
10174
10175         * lyxfind.h:
10176         * lyxfind.C: move unnecessary header into the .C
10177
10178 2002-08-08  John Levon  <levon@movementarian.org>
10179
10180         * funcrequest.h: just tedious nonsense
10181
10182         * lyx_main.h:
10183         * lyx_main.C: cleanups
10184
10185         * buffer.C:
10186         * vspace.C: remove dead header lyx_main.h
10187
10188 2002-08-07  Angus Leeming  <leeming@lyx.org>
10189
10190         * Paragraph.[Ch]:
10191         * paragraph_pimpl.h:
10192         Forward declare class Counters in paragraph.h by moving the ctrs member
10193         variable into Paragraph::Pimpl.
10194         (counters): new method, returning a reference to pimpl_->ctrs.
10195
10196         * text2.C: ensuing changes.
10197
10198 2002-08-07  John Levon  <levon@movementarian.org>
10199
10200         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10201
10202         * BufferView_pimpl.C: announce X selection on double/triple
10203           click
10204
10205         * lyx_main.C: use correct bool in batch dispatch
10206
10207         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10208
10209 2002-08-07  André Pönitz <poenitz@gmx.net>
10210
10211         * funcrequest.h: new class to wrap a kb_action and its argument
10212
10213         * BufferView.[Ch]:
10214         * BufferView_pimpl[Ch]:
10215         * LaTeX.C:
10216         * LyXAction.[Ch]:
10217         * lyxfunc.[Ch]:
10218         * lyxrc.C: subsequent changes
10219
10220
10221 2002-08-07  John Levon  <levon@movementarian.org>
10222
10223         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10224           document options change.
10225
10226 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10227
10228         * counters.[Ch]
10229         * text2.C
10230         * paragraph.[Ch]
10231         * makefile.am: move counters functionality over from
10232         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10233
10234 2002-08-06  John Levon  <levon@movementarian.org>
10235
10236         * WordLangTuple.h: new file for word + language code tuple
10237
10238         * SpellBase.h:
10239         * pspell.h:
10240         * pspell.C:
10241         * ispell.h:
10242         * ispell.C:
10243         * lyxtext.h:
10244         * text.C:
10245         * text2.C:
10246         * BufferView.h:
10247         * BufferView2.C: use WordLangTuple
10248
10249         * layout.h:
10250         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10251
10252 2002-08-06  John Levon  <levon@movementarian.org>
10253
10254         * lyx_main.C: fix cmdline batch handling
10255
10256 2002-08-06  André Pönitz <poenitz@gmx.net>
10257
10258         * lyxrc.C: set default for show_banner to true
10259
10260 2002-08-06  John Levon  <levon@movementarian.org>
10261
10262         * pspell.C: fix a crash, and allow new aspell to work
10263
10264 2002-08-06  John Levon  <levon@movementarian.org>
10265
10266         * lyxfunc.C:
10267         * kbmap.C: small cleanup
10268
10269         * vspace.h:
10270         * vspace.C: add const
10271
10272 2002-08-05  John Levon  <levon@movementarian.org>
10273
10274         * LyXAction.C: back to tabular-insert
10275
10276 2002-08-04  John Levon  <levon@movementarian.org>
10277
10278         * BufferView.h:
10279         * BufferView.C: cosmetic change
10280
10281         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10282
10283         * bufferlist.C:
10284         * buffer.h:
10285         * buffer.C:
10286         * lyxcb.h:
10287         * lyxcb.C:
10288         * lyxserver.C:
10289         * lyxvc.C:
10290         * vc-backend.C:
10291         * BufferView2.C: purge all "Lyx" not "LyX" strings
10292
10293         * lyxcursor.h:
10294         * lyxcursor.C: attempt to add some documentation
10295
10296         * lyxfunc.C:
10297         * commandtags.h:
10298         * LyXAction.C:
10299         * ToolbarDefaults.C:
10300         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10301           merge with LFUN_TABULAR_INSERT
10302
10303         * Makefile.am:
10304         * SpellBase.h:
10305         * ispell.h:
10306         * ispell.C:
10307         * pspell.h:
10308         * pspell.C: split up i/pspell implementations into separate
10309           files, many cleanups
10310
10311         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10312
10313         * text2.C: some cleanup
10314
10315         * lyxfunc.C: don't check for isp_command == "none" any more, it
10316           didn't make any sense
10317
10318 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10319
10320         * counters.[Ch]
10321         * text2.C
10322         * paragraph.[Ch]
10323         * makefile.am: move counters functionality over
10324         from text2.C/paragraph.[Ch] to counters.[Ch], and
10325         make proper C++.
10326 2002-08-02  John Levon  <levon@movementarian.org>
10327
10328         * buffer.C: s/lyxconvert/lyx2lyx/
10329
10330 2002-08-02  Angus Leeming  <leeming@lyx.org>
10331
10332         * lyxlex.C: revert John's change as it breaks reading of the user
10333         preamble.
10334
10335 2002-08-02  Angus Leeming  <leeming@lyx.org>
10336
10337         * importer.C (Import):
10338         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10339         changes due to LyXView::view() now returning a boost::shared_ptr.
10340
10341 2002-08-02  John Levon  <levon@movementarian.org>
10342
10343         * lyxlex.C: small cleanup
10344
10345 2002-08-02  John Levon  <levon@movementarian.org>
10346
10347         * text2.C (status): small cleanup, no logic change
10348
10349 2002-08-01  John Levon  <levon@movementarian.org>
10350
10351         * buffer.h:
10352         * buffer.C (writeFile): don't output alerts, caller
10353           handles this
10354
10355         * bufferlist.C:
10356         * lyx_cb.C: from above
10357
10358         * lyxfunc.C: allow to open non-existent files
10359
10360 2002-07-31  John Levon  <levon@movementarian.org>
10361
10362         * lyxserver.C: don't let incidental errors get
10363           in the way (errno)
10364
10365 2002-07-30  John Levon  <levon@movementarian.org>
10366
10367         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10368
10369 2002-07-30  John Levon  <levon@movementarian.org>
10370
10371         * lyxserver.h:
10372         * lyxserver.C: remove I/O callback too
10373
10374 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10375
10376         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10377         log.
10378
10379 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10380
10381         * many files: strip,frontStrip -> trim,ltrim,rtrim
10382
10383 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10384
10385         * PrinterParams.h: remove extern containsOnly, and include
10386         support/lstrings.h instead.
10387
10388         * LaTeX.C (scanAuxFile): modify because of strip changes
10389         (deplog): ditto
10390         * buffer.C (makeLaTeXFile): ditto
10391         * bufferparams.C (writeFile): ditt
10392         * lyxfont.C (stateText): ditto
10393         * lyxserver.C (read_ready): ditto
10394         * vc-backend.C (scanMaster): ditto
10395
10396         * BufferView_pimpl.h: ws changes
10397
10398         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10399
10400 2002-07-26  André Pönitz <poenitz@gmx.net>
10401
10402         * kb_sequence.C: remove unnedred usings
10403
10404 2002-07-26  Juergen Vigna  <jug@sad.it>
10405
10406         * lyxfind.C (LyXReplace): we have to check better if the returned
10407         text is not of theLockingInset()->getLockingInset().
10408
10409 2002-07-25  Juergen Vigna  <jug@sad.it>
10410
10411         * lyxfind.C (LyXReplace): don't replace if we don't get the
10412         right LyXText.
10413
10414         * undo_funcs.C (createUndo): remove debugging code.
10415
10416 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10417
10418         * buffer.C (parseSingleLyXformat2Token): Use default placement
10419         when reading old floats.
10420
10421         * FloatList.C (FloatList): Change the default placement of figure
10422         and tables to "tbp".
10423
10424 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * MenuBackend.C: using std::max
10427
10428 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10429
10430         * MenuBackend.C (expandToc):
10431         (expandToc2): code moved from xforms menu frontend. It is now
10432         generic and TOCs are transparent to menu frontends.
10433
10434 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10435
10436         * toc.C (getTocList): protect against buf=0
10437
10438         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10439         Menu as first parameter. Now, this calls itself recursively to
10440         expand a whole tree (this will be useful for TOC handling)
10441         (expandFloatInsert): remove 'wide' version of floats
10442
10443         * MenuBackend.h (submenuname): returns the name of the submenu.
10444         (submenu): returns the submenu itself, provided it has been
10445         created by MenuBackend::expand
10446
10447 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10448
10449         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10450         insets which have noFontChange == true. (bug #172)
10451
10452 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10453
10454         * BufferView_pimpl.C: add connection objects and use them...
10455         (Pimpl): here.
10456
10457 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10458
10459         * MenuBackend.C (expandLastfiles):
10460         (expandDocuments):
10461         (expandFormats):
10462         (expandFloatListInsert):
10463         (expandFloatInsert):
10464         (expand): split expand in parts
10465
10466 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10467
10468         * lyx_gui.C: use lyx_gui::exit()
10469
10470 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * LyXAction.C: show the failing pseudo action
10473
10474 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10475
10476         * buffer.C (readFile): Run the lyxconvert script in order to read
10477         old files.
10478
10479 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * LyXAction.C:
10482         * commandtags.h:
10483         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10484
10485 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * LyXAction.C:
10488         * commandtags.h:
10489         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10490
10491 2002-07-22  Herbert Voss  <voss@lyx.org>
10492
10493         * lengthcommon.C:
10494         * lyxlength.[Ch]: add support for the vertical lengths
10495
10496 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * toc.[Ch]: std:: fixes
10499
10500 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10501
10502         * lyxrc.C: do not include lyx_main.h
10503
10504         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10505         for layouts
10506
10507         * lyxrc.C:
10508         * encoding.C:
10509         * bufferlist.C:
10510         * BufferView2.C: include "lyxlex.h"
10511
10512         * tabular.h:
10513         * bufferparams.h: do not #include "lyxlex.h"
10514
10515         * lyxtextclasslist.C (Add): remove method
10516         (classlist): renamed to classlist_
10517
10518         * paragraph_pimpl.C:
10519         * paragraph.C:
10520         * text2.C:
10521         * CutAndPaste.C:
10522         * bufferview_funcs.C:
10523         * bufferlist.C:
10524         * text.C:
10525         * LaTeXFeatures.C:
10526         * buffer.C:
10527         * toc.C (getTocList): use BufferParams::getLyXTextClass
10528
10529         * toc.C (getTocList): use InsetFloat::addToToc
10530
10531         * toc.[Ch]: new files, containing helper functions to handle table
10532         of contents
10533
10534         * lyxfunc.C (dispatch): no need to remove spaces around command
10535         given as a string
10536         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10537         first command of the sequence; it is not very clever, but I do not
10538         have a better idea, actually
10539
10540         * LyXAction.C (LookupFunc): make sure to remove space at the
10541         beginning and end of the command
10542
10543 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10544
10545         * MenuBackend.C (getMenubar): new method: return the menubar of
10546         this menu set
10547         (read): treat differently reading of menu and menubar (in
10548         particular, the menubar has no name now)
10549         (Menu::menubar): remove
10550
10551         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10552         saving is finished
10553
10554 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10555
10556         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10557         a bibitem inset in a RTL paragraph.
10558
10559 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * paragraph_pimpl.C: constify
10562
10563         * BufferView_pimpl.C:
10564         * LaTeX.C:
10565         * lyxfunc.C: fix dispatch in a nicer way
10566
10567 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10568
10569         * lyxfunc.C (dispatch):
10570         * BufferView_pimpl.C:
10571         * BufferView_pimpl.h:
10572         * BufferView.C:
10573         * BufferView.h: rename Dispatch() to dispatch()
10574
10575         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10576
10577         * lyxlayout.C (Read): honor DependsOn tag
10578
10579         * lyxlayout.[Ch] (depends_on): new method
10580
10581         * version.C.in: update lyx_docversion
10582
10583         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10584
10585         * paragraph.C (validate): remove from here...
10586         * paragraph_pimpl.C (validate): ... and move here
10587         (isTextAt): make it const
10588
10589         * buffer.C (getLists): ws cleanup
10590
10591 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10592
10593         * language.C (read): Use iso8859-1 encoding in latex_lang
10594         (this prevents LyX from crashing when using iso10646-1 encoding).
10595
10596 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * text2.C (toggleInset): if cursor is inside an inset, close the
10599         inset and leave cursor _after_ it
10600
10601 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * lyxfunc.C: move minibuffer completion handling out of here
10604
10605 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10606
10607         * BufferView_pimpl.C:
10608         * LaTeX.C: fix dispatch calls
10609
10610 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10611
10612         * text.C (drawChars): Fix Arabic text rendering.
10613
10614 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10615
10616         * LyXAction.C:
10617         * commandtags.h:
10618         * lyxfunc.C: remove message-push/pop
10619
10620         * lyxserver.C:
10621         * lyxfunc.h:
10622         * lyxfunc.C: rationalise some code by removing verboseDispatch
10623           in favour of a bool argument to dispatch()
10624
10625 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * lyx_main.C (init): make sure to read symlinks as absolute paths
10628
10629 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * lyxfunc.h:
10632         * lyxfunc.C: no need for commandshortcut to be a member
10633
10634 2002-07-15  André Pönitz <poenitz@gmx.net>
10635
10636         * converter.C: add support for $$s (scripts from lib/scripts dir)
10637         * lyx_main.C: white space
10638
10639 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10640
10641         * bufferlist.C:
10642         * lyxrc.h:
10643         * lyxrc.C: remove second exit confirmation
10644
10645 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * BufferView.h:
10648         * BufferView.C:
10649         * BufferView2.C:
10650         * BufferView_pimpl.h:
10651         * BufferView_pimpl.C:
10652         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10653
10654 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10655
10656         * MenuBackend.C (expand): add numeric shortcuts to document menu
10657
10658         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10659
10660 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * lyxfont.C (setLyXFamily):
10663         (setLyXSeries):
10664         (setLyXShape):
10665         (setLyXSize):
10666         (setLyXMisc):
10667         (lyxRead):
10668         * debug.C (value):
10669         * buffer.C (asciiParagraph): use ascii_lowercase
10670
10671 2002-07-15  Mike Fabian  <mfabian@suse.de>
10672
10673         * lyxlex_pimpl.C (search_kw):
10674         * lyxlex.C (getLongString):
10675         * converter.h (operator<):
10676         * converter.C (operator<):
10677         * buffer.C (parseSingleLyXformat2Token):
10678         (asciiParagraph):
10679         * ToolbarDefaults.C (read):
10680         * MenuBackend.C (checkShortcuts):
10681         (read):
10682         * LColor.C (getFromGUIName):
10683         (getFromLyXName): use the compare_ascii_no_case instead of
10684         compare_no_case, because in turkish, 'i' is not the lowercase
10685         version of 'I', and thus turkish locale breaks parsing of tags.
10686
10687 2002-07-16  Angus Leeming  <leeming@lyx.org>
10688
10689         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10690         now takes a Buffer const & argument.
10691
10692 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * BufferView.C (resize): check there's a buffer to resize
10695
10696 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * lyxfunc.C: remove dead code
10699
10700         * lyxserver.h:
10701         * lyxserver.C: use lyx_guii::set_read_callback
10702
10703 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10704
10705         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10706         an inset in a RTL paragraph.
10707
10708 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * lyxfunc.C: repaint after a font size update
10711
10712 2002-07-15  André Pönitz <poenitz@gmx.net>
10713
10714         * lyxlength.C: inBP should be able to return negative values
10715
10716 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10717
10718         * lyxfunc.C: use lyx_gui::update_fonts()
10719
10720 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * lyxfunc.C: use lyx_gui::update_color()
10723
10724 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10725
10726         * bufferlist.C:
10727         * lyxfunc.h:
10728         * lyxfunc.C:
10729         * lyxrc.h:
10730         * lyxrc.C: remove file->new asks for name option, and let
10731           buffer-new take an argument
10732
10733 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * BufferView_pimpl.C: remove unneeded extra repaint()
10736
10737 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * LyXAction.C: allow command-sequence with NoBuffer
10740
10741         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10742
10743 2002-07-10  Angus Leeming  <leeming@lyx.org>
10744
10745         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10746
10747 2002-07-09  Angus Leeming  <leeming@lyx.org>
10748
10749         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10750
10751 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10752
10753         * lengthcommon.h: whitespace
10754
10755         * lyxfunc.C: update scrollbar after goto paragraph
10756
10757         * lyxtext.h: factor out page break drawing, and fix it so
10758           page break/added space paints as selected nicely
10759
10760 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * BufferView_pimpl.C: add FIXMEs, clean up a little
10763
10764 2002-07-09  André Pönitz <poenitz@gmx.net>
10765
10766         * lyxfont.[Ch]: support for wasy symbols
10767
10768 2002-07-08  André Pönitz <poenitz@gmx.net>
10769
10770         * BufferView_pimpl.C: apply John's patch for #93.
10771
10772 2002-07-05  Angus Leeming  <leeming@lyx.org>
10773
10774         * BufferView_pimpl.C (buffer): generate previews if desired.
10775
10776         * LColor.h: add "preview" to the color enum.
10777
10778         * LColor.C (LColor): add a corresponding entry to the items array.
10779
10780         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10781         with this buffer.
10782
10783 2002-07-05  Angus Leeming  <leeming@lyx.org>
10784
10785         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10786         The body of the code is now in the method that is passed an ostream &
10787         rather than a file name.
10788         Pass an additional only_preamble parameter, useful for the forthcoming
10789         preview stuff.
10790
10791 2002-07-03  André Pönitz <poenitz@gmx.net>
10792
10793         * lyxfunc.C: simplify getStatus() a bit for math stuff
10794
10795 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10798
10799 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10800
10801         * text.C (changeRegionCase): do not change case of all the
10802         document when region ends at paragraph end (bug #461)
10803
10804 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10805
10806         * paragraph.C (startTeXParParams):
10807         (endTeXParParams): add \protect when necessary
10808
10809 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10810
10811         * BufferView_pimpl.C (workAreaExpose): remove warning
10812
10813 2002-06-27  Angus Leeming  <leeming@lyx.org>
10814
10815         * Makefile.am: add lyxlayout_ptr_fwd.h.
10816
10817 2002-06-26  André Pönitz <poenitz@gmx.net>
10818
10819         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10820
10821 2002-06-25  Angus Leeming  <leeming@lyx.org>
10822
10823         * lyxfunc.C (dispatch): Comment out the call to
10824         grfx::GCache::changeDisplay. The method no longer exists now that the
10825         pixmap generation part of the graphics loader has been moved into
10826         InsetGraphics.
10827
10828 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * text2.C: layout as layout
10831
10832         * text.C: layout as layout
10833
10834         * tabular.C (OldFormatRead): layout as layout
10835
10836         * paragraph_pimpl.C (TeXDeeper): layout as layout
10837         (realizeFont): layout as layout
10838
10839         * paragraph.C (writeFile): layout as layout
10840         (validate): layout as layout
10841         (getFont): layout as layout
10842         (getLabelFont): layout as layout
10843         (getLayoutFont): layout as layout
10844         (breakParagraph): layout as layout
10845         (stripLeadingSpaces): layout as layout
10846         (getEndLabel): layout as layout
10847         (getMaxDepthAfter): layout as layout
10848         (applyLayout): layout as layout
10849         (TeXOnePar): layout as layout
10850         (simpleTeXOnePar): layout as layout
10851         (TeXEnvironment): layout as layout
10852         (layout): layout as layout
10853         (layout): layout as layout
10854
10855         * lyxtextclass.C (compare_name): new functor to work with
10856         shared_ptr, layout as layout
10857         (Read): layout as layout
10858         (hasLayout): layout as layout
10859         (operator): layout as layout
10860         (delete_layout): layout as layout
10861         (defaultLayout): layout as layout
10862
10863         * lyxlayout_ptr_fwd.h: new file
10864
10865         * lyxlayout.C (Read): layout as layout
10866
10867         * lyx_cb.C (MenuInsertLabel): layout as layout
10868
10869         * bufferlist.C (newFile): layout as layout
10870
10871         * buffer.C (readLyXformat2): layout as layout
10872         (parseSingleLyXformat2Token): layout as layout
10873         (insertStringAsLines): layout as layout
10874         (asciiParagraph): layout as layout
10875         (latexParagraphs): layout as layout
10876         (makeLinuxDocFile): layout as layout
10877         (simpleLinuxDocOnePar): layout as layout
10878         (makeDocBookFile): layout as layout
10879         (simpleDocBookOnePar): layout as layout
10880         (getLists): layout as layout
10881
10882         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10883
10884         * CutAndPaste.C (cutSelection): layout as layout
10885         (pasteSelection): layout as layout
10886         (SwitchLayoutsBetweenClasses): layout as layout
10887
10888         * BufferView_pimpl.C (Dispatch): layout as layout
10889         (smartQuote): layout as layout
10890
10891         * BufferView2.C (unlockInset): layout as layout
10892
10893 2002-06-24  André Pönitz <poenitz@gmx.net>
10894
10895         * lyxfunc.C: fix #487
10896
10897 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * lyxrc.h:
10900         * lyxrc.C:
10901         * lyxfunc.C: remove display_shortcuts, show_banner
10902
10903 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * Buffer_pimpl.C: oops, update on resize
10906
10907 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * buffer.C:
10910         * converter.C:
10911         * exporter.C:
10912         * lyxfunc.C:
10913         * BufferView.h:
10914         * BufferView.C: use repaint()
10915
10916         * BufferView_pimpl.h:
10917         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10918           as it's a clearer description. Remove superfluous
10919           redraws.
10920
10921 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * text.C: fix bug 488. Not ideal, but getting
10924           getWord() to work properly for the insets that
10925           matter is more difficult ...
10926
10927 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * BufferView_pimpl.C:
10930         * LyXAction.C:
10931         * commandtags.h:
10932         * lyxfunc.C: remove the six million index lyxfuncs to just
10933           one, and DTRT (bug 458)
10934
10935 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10936
10937         * BufferView.h:
10938         * BufferView.C:
10939         * BufferView_pimpl.h:
10940         * BufferView_pimpl.C: clean up resize() stuff,
10941           and unnecessary updateScreen()s
10942
10943 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10944
10945         * BufferView.h:
10946         * BufferView.C:
10947         * BufferView_pimpl.h:
10948         * BufferView_pimpl.C:
10949         * lyxfind.h:
10950         * lyxfind.C:
10951         * minibuffer.C: remove focus management of workarea,
10952           not needed. Use screen's greyOut()
10953
10954 2002-06-17  Herbert Voss  <voss@lyx.org>
10955
10956         * converter.C: (convert) do not post a message, when converting
10957         fails, let the calling function decide what to do in this case
10958
10959 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * lyxfunc.C: tidy up a little
10962
10963 2002-06-16    <alstrup@diku.dk>
10964
10965         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10966         Got rid of FORMS_H_LOCATION include. Now we are
10967         GUII.
10968
10969 2002-06-15  LyX Development team  <lyx@rilke>
10970
10971         * buffer.[Ch] (sgmlOpenTag):
10972         (sgmlCloseTag): Added support for avoiding pernicious mixed
10973         content. Return number of lines written.
10974
10975         (makeLinuxDocFile):
10976         (makeDocBookFile): Fixed calls to sgml*Tag.
10977         Simple white space clean.
10978
10979         (simpleDocBookOnePar): Simple white space clean.
10980
10981         * tabular.[Ch] (docBook): Renamed to docbook and got another
10982         argument to related with the pernicious mixed content.
10983
10984         (docbookRow): Fixed calls for docbook inset method.
10985
10986 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10987
10988         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10989         so it's X11 independent.
10990
10991         * kb*.[Ch]: ditto.
10992
10993         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10994
10995 2002-06-15  Lyx Development team  <lyx@electronia>
10996
10997         * intl.h: Renamed getTrans to getTransManager.
10998
10999 2002-06-14  Angus Leeming  <leeming@lyx.org>
11000
11001         * Makefile.am: nuke forgotten stl_string_fwd.h.
11002
11003 2002-06-12  Angus Leeming  <leeming@lyx.org>
11004
11005         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11006
11007 2002-06-13  Angus Leeming  <leeming@lyx.org>
11008
11009         * LaTeX.C:
11010         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11011
11012 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11013
11014         * kbmap.C (getiso): add support for cyrillic and greek
11015
11016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * BufferView.h:
11019         * BufferView.C:
11020         * BufferView_pimpl.h:
11021         * BufferView_pimpl.C: move bogus scrolling logic
11022           to xforms
11023
11024 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * lyxfunc.C:
11027         * BufferView_pimpl.C: view->resize() change
11028
11029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * BufferView_pimpl.C: topCursorVisible
11032           prototype change
11033
11034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * Makefile.am:
11037         * lyx_gui.h:
11038         * lyx_gui.C: move to frontends/
11039
11040         * main.C:
11041         * lyx_main.h:
11042         * lyx_main.C: changes from above
11043
11044 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11045
11046         * intl.C:
11047         * intl.h:
11048         * kbmap.C:
11049         * kbsequence.C:
11050         * lyx_cb.C:
11051         * lyx_main.C: minor tidy
11052
11053 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11054
11055         * BufferView_pimpl.h:
11056         * BufferView_pimpl.C:
11057         * BufferView.h:
11058         * BufferView.C: make painter() const,
11059           remove dead code
11060
11061         * BufferView2.C: use screen() accessor
11062
11063         * lyx_main.h:
11064         * lyx_main.C: some minor cleanup
11065
11066 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11067
11068         * BufferView_pimpl.h:
11069         * BufferView_pimpl.C: remove enter/leaveView,
11070           use workHeight()
11071
11072 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * BufferView.h:
11075         * BufferView.C:
11076         * BufferView2.C:
11077         * BufferView_pimpl.h:
11078         * BufferView_pimpl.C: only construct screen once,
11079           rename
11080
11081         * lyxrc.C: remove pointless comment
11082
11083 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * BufferView.h:
11086         * BufferView.C: remove active() and belowMouse()
11087
11088         * BufferView_pimpl.h:
11089         * BufferView_pimpl.C: use workarea() not workarea_,
11090           and make it use a scoped_ptr instead
11091
11092 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * lyx_gui.C: add debug message on BadWindow
11095
11096 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11097
11098         * sp_spell.C: fdopen is not part of the C++ standard.
11099
11100         * paragraph.C (InsetIterator): use >= instead of ==
11101
11102 2002-06-07  Angus Leeming  <leeming@lyx.org>
11103
11104         Fixes needed to compile with Compaq cxx 6.5.
11105         * BufferView_pimpl.C:
11106         * DepTable.C:
11107         * buffer.C:
11108         * converter.C:
11109         * encoding.C:
11110         * lyx_gui.C:
11111         * lyx_main.C:
11112         * lyxtextclasslist.C:
11113         * minibuffer.C:
11114         * sp_spell.C:
11115         * tabular_funcs.C:
11116         * vc-backend.C:
11117         all c-library variables have been moved into namespace std. Wrap
11118         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11119
11120         * lyxlength.C:
11121         * tabular-old.C:
11122         * tabular.C:
11123         Add a using std::abs declaration.
11124
11125         * kbmap.h (modifier_pair):
11126         * paragraph.h (InsetTable, InsetList):
11127         * lyxfont.h (FontBits):
11128         type definition made public.
11129
11130         * bufferlist.C (emergencyWriteAll): the compiler complains that
11131         there is more than one possible lyx::class_fun template to choose from.
11132         I re-named the void specialisation as lyx::void_class_fun.
11133
11134         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11135
11136         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11137         the compiler is is unable to find tostr in write_attribute.
11138
11139 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * buffer.C (sgmlError): hide #warning
11142
11143 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11144
11145         * xtl/*: get rid of xtl, which is not in use anyway
11146
11147         * LyXAction.C (init):
11148         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11149         were unimplemented xtl experimentation
11150
11151 2002-06-04  André Pönitz <poenitz@gmx.net>
11152
11153         * lyxfunc.C: disable array operation on simple formulae
11154
11155 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11156
11157         * converter.C: constify a bit
11158
11159 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * lyx_gui.C: check xforms version correctly
11162
11163 2002-04-30  Herbert Voss  <voss@lyx.org>
11164
11165         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11166         "keep" option
11167
11168 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11169
11170         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11171           attempt to register it with a VCS)
11172
11173 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * lyx_main.C (init): honor variables LYX_DIR_13x and
11176         LYX_USERDIR_13x
11177
11178 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * buffer.h:
11181         * buffer.C:
11182         * lyx_main.C: fix a crash on bad command line,
11183           and give a useful exit status on error
11184
11185         * lyxfunc.C (doImport): allow -i lyx to work
11186
11187 2002-03-30  André Pönitz <poenitz@gmx.net>
11188
11189         * lyxfunc.C: mathed font changes
11190
11191 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * LaTeX.C:
11194         * importer.h:
11195         * importer.C:
11196         * lyx_sty.h:
11197         * lyx_sty.C:
11198         * lyxlex.C:
11199         * lyxrow.h:
11200         * lyxtext.h:
11201         * paragraph.h:
11202         * paragraph.C:
11203         * texrow.h:
11204         * texrow.C:
11205         * text.C:
11206         * trans_mgr.h: srcdocs, and some minor cleanups
11207
11208 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11209
11210         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11211         call getFont all the time)
11212
11213 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * switch from SigC signals to boost::signals
11216
11217 2002-05-29  André Pönitz <poenitz@gmx.net>
11218
11219         * paragraph_pimpl.C (getChar): don't call size() too often...
11220
11221 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * paragraph_pimpl.C (insertChar): do not try to update tables when
11224         appending (pos == size())
11225
11226         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11227         in order to reduce drastically the number of comparisons needed to
11228         parse a large document
11229
11230 2002-05-29  André Pönitz <poenitz@gmx.net>
11231
11232         * text.C:
11233         * text2.C:
11234         * lyxtextclass.C:
11235         * sp_pspell.h:
11236         * textclasslist.[Ch]:
11237         * sp_ispell.h: whitespace change
11238
11239 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11242         lyxaction directly now.
11243
11244 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * trans.C:
11247         * lyxfont.C:
11248         * lyxvc.C: remove unused headers
11249
11250 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11251
11252         * Makefile.am:
11253         * buffer.h:
11254         * undostack.h:
11255         * undostack.C:
11256         * undo_funcs.h:
11257         * undo_funcs.C: some cleanups. Use shared_ptr
11258           and a template for the undo stacks.
11259
11260 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * BufferView_pimpl.h:
11263         * BufferView_pimpl.C:
11264         * kbmap.h:
11265         * kbmap.C:
11266         * kbsequence.h:
11267         * kbsequence.C:
11268         * lyxfunc.h:
11269         * lyxfunc.C:
11270         * text2.C: use key_state/mouse_state
11271
11272 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11275         and LSubstring
11276
11277         * chset.C: change include order
11278         (loadFile): use boost regex and get rid of LRegex and LSubstring
11279
11280         * Makefile.am (BOOST_LIBS): new variable
11281         (lyx_LDADD): use it
11282
11283         * LaTeX.C: change include order.
11284         (scanAuxFile): use boost regex and get rid of LRegex and
11285         LSubstring
11286         (deplog): ditto
11287
11288 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * ColorHandler.h:
11291         * ColorHandler.C:
11292         * FontInfo.h:
11293         * FontInfo.C: moved to frontends/xforms/
11294
11295         * FontLoader.h:
11296         * FontLoader.C: moved into frontends for GUIIzation
11297
11298         * Makefile.am:
11299         * lyx_gui.C:
11300         * lyxfont.C:
11301         * lyxfunc.C: changes from above
11302
11303 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11304
11305         * LColor.C: remove spurious X include
11306
11307         * BufferView_pimpl.C:
11308         * Makefile.am:
11309         * font.h:
11310         * font.C:
11311         * text.C:
11312         * text2.C: move font metrics to frontends/
11313
11314 2002-05-24  Juergen Vigna  <jug@sad.it>
11315
11316         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11317         setting the undo_cursor.
11318
11319         * ParagraphParameters.h: include local includes first.
11320
11321 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * BufferView_pimpl.C:
11324         * BufferView_pimpl.h:
11325         * Makefile.am:
11326         * WorkArea.h:
11327         * WorkArea.C:
11328         * screen.C: move WorkArea into frontends/
11329
11330         * lyxscreen.h:
11331         * screen.C:
11332         * text.C:
11333         * BufferView.C:
11334         * BufferView2.C: move LyXScreen into frontends/
11335
11336         * lyxlookup.h:
11337         * lyxlookup.C:
11338         * lyx_gui.C: move lyxlookup into frontends/xforms/
11339
11340 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11341
11342         * BufferView2.C:
11343         * BufferView_pimpl.C:
11344         * FontLoader.C:
11345         * LyXView.h:
11346         * LyXView.C:
11347         * Makefile.am:
11348         * WorkArea.C:
11349         * XFormsView.h:
11350         * XFormsView.C:
11351         * buffer.C:
11352         * bufferlist.C:
11353         * bufferview_funcs.C:
11354         * converter.C:
11355         * importer.C:
11356         * lyx_cb.C:
11357         * lyx_gui.C:
11358         * lyx_main.C:
11359         * lyx_find.C:
11360         * lyxfunc.C:
11361         * lyxvc.C:
11362         * minibuffer.C:
11363         * text.C:
11364         * text2.C:
11365         * trans.C:
11366         * vc-backend.C: move LyX/XFormsView into frontends/
11367
11368 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11369
11370         * Makefile.am:
11371         * PainterBase.C:
11372         * PainterBase.h:
11373         * Painter.C:
11374         * Painter.h:
11375         * WorkArea.C:
11376         * WorkArea.h:
11377         * screen.C:
11378         * tabular.C:
11379         * text.C:
11380         * text2.C: move Painter to frontends/
11381
11382 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11383
11384         * buffer.C: comment out some some code that depend upon lyx_format
11385         < 220
11386
11387         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11388         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11389
11390         * buffer.h (NO_COMPABILITY): turn off compability
11391
11392         * ColorHandler.C: include scoped_array.hpp
11393
11394         * font.C: Use more specific smart_ptr header.
11395         * Painter.C: ditto
11396         * gettext.C: ditto
11397         * ShareContainer.h: ditto
11398         * lyx_main.h: ditto
11399         * kbmap.h: ditto
11400         * FontInfo.h: ditto
11401         * BufferView_pimpl.h: ditto
11402         * ColorHandler.h: ditto
11403
11404         * kbmap.C (defkey): change call to shared_ptr::reset
11405
11406 2002-05-21  Juergen Vigna  <jug@sad.it>
11407
11408         * buffer.C (insertErtContents): fix to insert ert asis if it is
11409         non empty. Skip it completely if it contains only whitespaces.
11410
11411 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * BufferView_pimpl.C:
11414         * BufferView2.C: clear selection on paste (bug 393)
11415
11416 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * DepTable.C: include ctime
11419
11420 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11421
11422         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11423
11424 2002-05-14  Juergen Vigna  <jug@sad.it>
11425
11426         * text.C (breakParagraph): fixed function to honor the keepempty
11427         layout in the right maner and also to permit the right breaking
11428         algorithm on empty or non empyt keepempty paragraphs.
11429
11430         * paragraph.C (breakParagraph): we have to check also if the par
11431         is really empty (!size()) for isempty otherwise we do the wrong
11432         paragraph break.
11433
11434 2002-05-10  Juergen Vigna  <jug@sad.it>
11435
11436         * buffer.[Ch] : The following are only changes to the ert
11437         compatibility read reading old LaTeX layout and font stuff and
11438         convert it to ERTInsets.
11439
11440         * buffer.h: added isErtInset().
11441
11442         * buffer.C (struct ErtComp): add a fromlayout bool to check
11443         if we're inside a LaTeX layout.
11444         (isErtInset): new helper function.
11445         (insertErtContents): look for other ert insets before this one
11446         and insert the contents there, so that we don't have subsequent
11447         ERT insets with nothing between them. This way we create only one
11448         inset with multiple paragraphs. Also check if we don't insert only
11449         spaces ' ' as they are ignored anyway afterwards in the .tex file
11450         so if we have only spaces we will ignore this latex part in the
11451         new file.
11452         (parseSingleLyXformat2Token \\layout): better compatibility when
11453         reading layout-latex stuff.
11454         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11455         language tag.
11456         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11457         stuff after reading the inset only get the information back from
11458         the stack.
11459
11460 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11461
11462         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11463
11464         * LaTeXFeatures.C (getBabelOptions): New method.
11465
11466 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * BufferView_pimpl.C (Dispatch): work around missing argument for
11469         'layout'
11470
11471 2002-05-08  Juergen Vigna  <jug@sad.it>
11472
11473         * text.C (leftMargin): handle paragraph leftindent.
11474
11475         * paragraph.C (writeFile): write the new \\leftindent tag.
11476         (validate): handle leftindent code.
11477         (TeXEnvironment): handle paragraphleftindent code again.
11478
11479         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11480
11481         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11482         for paragrap_extra indent code and new token \\leftindent.
11483         (latexParagraphs): handle the leftindent as environment.
11484
11485         * ParameterStruct.h: added leftindent support.
11486
11487         * ParagraphParameters.C (leftIndent): added support functions for
11488         the paragraph left indent.
11489
11490         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11491         more appropriate.
11492
11493 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11494
11495         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11496         inside insetERT.
11497
11498         * text.C (computeBidiTables): No bidi in insetERT.
11499
11500         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11501         in RTL documents.
11502
11503 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11504
11505         * version.C.in: pre 5
11506
11507 2002-05-02  José Matos  <jamatos@fep.up.pt>
11508         * buffer.C (makeDocBookFile): white space changes, add newline to
11509         command styles.
11510         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11511
11512         * tabular.C (docBook): fix typo.
11513
11514 2002-05-03  Juergen Vigna  <jug@sad.it>
11515
11516         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11517         change in LyXText as we can not be sure it was not freed.
11518         (drawOneRow): remove unused code.
11519
11520         * text.C (drawInset): redo the calculation of the need_break_row as
11521         it could have a row which was already freed.
11522         (draw): look at the return value of drawInset and return false if
11523         it also returned false.
11524         (paintRowText): look at the return value of draw and return false if
11525         it also returned false.
11526
11527         * lyxtext.h: added bool return type to drawInset() and draw() so that
11528         if we have a change in the row so that the rowbreak has to be redone
11529         we abort drawing as it will be called again.
11530
11531 2002-05-02  Juergen Vigna  <jug@sad.it>
11532
11533         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11534         a change in the maintext also if we're inside an inset.
11535         (Dispatch): set the cursor again after a break line and after the
11536         screen has been updated as it could be we're in a different row.
11537
11538         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11539         to set the cursor behind the pargraph with > size().
11540         (setCursor): check also for the same paragraph when checking where
11541         to put the cursor if we have a NFR inset.
11542
11543         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11544         parts of layout read further up as it still was in the wrong
11545         position.
11546
11547 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * screen.C (drawFromTo): change sine fullRebreak always return
11550         true.
11551
11552         * buffer.C (parseSingleLyXformat2Token): reindent some
11553
11554         * BufferView_pimpl.C (update): change since fullRebreak always
11555         return true.
11556         (Dispatch): git rid of the last hardcoded "Standard"s.
11557
11558 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * text2.[Ch] (fullRebreak): make it return void now that we always
11561         returned true.
11562
11563 2002-04-30  Juergen Vigna  <jug@sad.it>
11564
11565         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11566         ert compatibility check for "latex" layout.
11567
11568 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11569
11570         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11571         minipages: use col% instead of p%, and also use the current font.
11572         (makeLaTeXFile): Fix use babel condition.
11573         (parseSingleLyXformat2Token): Correct font when reading old floats.
11574
11575 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11576
11577         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11578         inserting list of floats.
11579
11580 2002-04-25  Herbert Voss  <voss@lyx.org>
11581
11582         * MenuBackend.C (expand): don't add the graphics extensions to the
11583         export menu
11584
11585 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11586
11587         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11588         non-existing layout, do not complain if it was the default layout
11589         of the original class (bug #342)
11590
11591 2002-04-24  Juergen Vigna  <jug@sad.it>
11592
11593         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11594         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11595
11596 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11597
11598         * buffer.C (getBibkeyList): If using \bibliography, return the
11599         option field with the reference itself. Enables us to provide natbib
11600         support when using \bibliography.
11601
11602 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11603
11604         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11605
11606         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11607         natbib is provided by the LaTeX class.
11608
11609 2002-04-23  Juergen Vigna  <jug@sad.it>
11610
11611         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11612         Wakeup functions.
11613
11614         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11615
11616 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11617
11618         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11619
11620         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11621         ensuremath around textordmasculine, textordfeminine and
11622         textdegree.
11623
11624 2002-04-19  Juergen Vigna  <jug@sad.it>
11625
11626         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11627         reinitializing the buffer otherwise row-dimensions may be wrong.
11628         (update): reset also the selection cursors if they do exits otherwise
11629         their x/y positions may be wrong.
11630
11631         * text2.C (cursorDown): don't enter the inset if we came from a row
11632         above and are one row over the inset.
11633
11634         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11635         really leaving an inset.
11636
11637 2002-04-18  Juergen Vigna  <jug@sad.it>
11638
11639         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11640         of the selected paragraph does not have the selected layout also if
11641         the last one had!
11642
11643         * text2.C (setLayout): fixed bug which did not change last selected
11644         paragraph.
11645
11646         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11647         changed the read and substituted \\end_float with \\end_inset!
11648
11649         * BufferView_pimpl.C (cursorPrevious):
11650         (cursorNext): fixed to make it work with rows heigher than the work
11651         area without moving the cursor only the draw of the row.
11652         (workAreaMotionNotify): fix jumping over high rows.
11653
11654 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11657         Ressler.
11658
11659 2002-04-16  Juergen Vigna  <jug@sad.it>
11660
11661         * text2.C (setCursor): set also the irow().
11662         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11663         (cursorUp):
11664         (cursorDown): support for locking an inset if the x_fix value goes
11665         inside it. That way I can transverse insets too with cursor up/down.
11666
11667         * lyxrow.h: added irow helper function same as other (i) functions.
11668
11669         * BufferView_pimpl.C (cursorPrevious):
11670         (cursorNext): fixed for insets!
11671
11672 2002-04-15  Juergen Vigna  <jug@sad.it>
11673
11674         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11675         position otherwise it is wrong in some cases.
11676
11677         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11678         inside the inset before the call.
11679
11680 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11681
11682         * buffer.[Ch] (getBibkeyList): make it const.
11683
11684 2002-04-12  Juergen Vigna  <jug@sad.it>
11685
11686         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11687
11688         * text2.C (getCursorX): new helper function
11689         (setCursor): compute also ix_
11690         (setCursorFromCoordinates): set also ix.
11691
11692         * lyxcursor.h: added ix_ and helper functions.
11693
11694         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11695
11696         * buffer.C (insertStringAsLines): dont break paragraph if the this
11697         paragraph is inside an inset which does not permit it!
11698
11699         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11700         also with no chars on this paragraph.
11701         (paintRowText): only paint stuff if it's inside the workarea!
11702
11703         * paragraph.C (breakParagraph): honor keepempty flag and break the
11704         paragraph always below not above.
11705
11706         * BufferView2.C (unlockInset): update the paragraph layout on inset
11707         unlock as we changed paragraph in such a case.
11708
11709         * lyxfind.C (LyXFind): clear the former selection if not found!
11710
11711         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11712         again called in insertChar().
11713
11714         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11715         an inset which uses the whole row!
11716         (rightMargin): ditto.
11717         (insertChar): force a rebreak if we inserted an inset!
11718
11719 2002-03-28  Herbert Voss  <voss@lyx.org>
11720
11721         * lyxlength.[Ch]: add inBP() to get the right PS-point
11722         units (BigPoint). With inPixels we have rounding errors
11723
11724 2002-04-11  Juergen Vigna  <jug@sad.it>
11725
11726         * text2.C (setCursorFromCoordinates): set iy to the right value.
11727         (setCursor): add check if row->previous exists!
11728
11729         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11730         an old float_type as this was the case in the old code!
11731
11732         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11733
11734         * BufferView2.C (showLockedInsetCursor): use iy
11735         (fitLockedInsetCursor): ditto
11736
11737         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11738         locked insets as there we have the right value now.
11739
11740         * lyxcursor.C: added iy_ variable and iy functions to set to the
11741         baseline of cursor-y of the locked inset.
11742
11743         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11744         (setCursor): fixed for insets which need a full row.
11745
11746         * text.C (rowLastPrintable): don't ignore the last space when before
11747         an inset which needs a full row.
11748         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11749         as last character of a row when before a inset which needs a full row.
11750
11751 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11752
11753         * version.C.in: update date
11754
11755         * text2.C (fullRebreak): try to always return true and see what
11756         happens...
11757
11758 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11759
11760         * MenuBackend.C (expand): use Floating::listName
11761
11762         * FloatList.C (FloatList): add listName argument to the built-in
11763         floats
11764
11765         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11766         text associated with the float.
11767
11768 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11771
11772 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11773
11774         * ShareContainer.h: add a couple of missing typenames.
11775
11776 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11777
11778         * lyxrc.C (getDescription): use _() correctly rather than N_().
11779
11780 2002-03-28  Herbert Voss  <voss@lyx.org>
11781
11782         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11783         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11784
11785 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11788         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11789
11790 2002-03-29  Juergen Vigna  <jug@sad.it>
11791
11792         * lyxfunc.C (dispatch): add a missing fitCursor call.
11793
11794         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11795         it was scrolled by a cursor move, so return the bool status.
11796
11797         * BufferView.C (fitCursor): return the bool flag also to the outside
11798         world as this is needed.
11799
11800         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11801
11802         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11803         call the edit() as it is not needed (and wrong) IMO.
11804         (workAreaButtonPress): set the screen_first variable before evt.
11805         unlock the inset as this may change screen_first and then we have
11806         a wrong y position for the click!
11807
11808 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * MenuBackend.C (expand): another translation that I missed
11811
11812 2002-03-28  Juergen Vigna  <jug@sad.it>
11813
11814         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11815
11816         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11817
11818 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11821
11822         * MenuBackend.C (expand): fix export/view/update when there is no
11823         document open.
11824
11825 2002-03-27  Herbert Voss  <voss@lyx.org>
11826
11827         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11828         and text%
11829
11830 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11831
11832         * bufferview_funcs.C (currentState): only show paragraph number
11833         for is DEVEL_VERSION is set.
11834
11835         * lyxfunc.C (dispatch): put warning in INFO channel
11836
11837         * MenuBackend.C (expand): translate the name of floats
11838
11839         * FloatList.C (FloatList): mark the float names for translation
11840
11841         * converter.C (convert): use LibScriptSearch
11842
11843 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11844
11845         * MenuBackend.C (defaults): fix default menu (we might as well get
11846         rid of it...)
11847
11848 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11849
11850         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11851         directory.
11852
11853 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11854
11855         * lyxvc.C: reorder includes.
11856
11857 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11860           properly
11861
11862 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * CutAndPaste.C: change layouts earlier on paste
11865           to avoid crashing when calling getFont()
11866
11867 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11868
11869         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11870         irritating #error.
11871
11872 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11873
11874         * WorkArea.C: remove 'Pending' debug message.
11875
11876         * most files: ws cleanup
11877
11878         * buffer.[Ch]: ws changes
11879
11880         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11881
11882 2002-03-21  Juergen Vigna  <jug@sad.it>
11883
11884         * tabular.C (SetMultiColumn): collapse also the contents of the
11885         cells and set the last border right. Added a Buffer const * param.
11886
11887 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11890         linking or not.
11891
11892 2002-03-19  Juergen Vigna  <jug@sad.it>
11893
11894         * text2.C (clearSelection): reset also xsel_cache.
11895
11896         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11897         where it needs to be called (John tells us to do so too :)
11898         (selectionLost): reset sel_cache.
11899
11900         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11901
11902 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11903
11904         * text2.C (setCursorIntern): put debuging code in INSETS channel
11905
11906 2002-03-19  André Pönitz <poenitz@gmx.net>
11907
11908         * lyxfunc.C: tiny whitespace change
11909
11910 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * ToolbarDefaults.C (init):
11913         * LyXAction.C (init):
11914         * commandtags.h:
11915         * BufferView_pimpl.C (Dispatch):
11916         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11917
11918 2002-03-19  Allan Rae  <rae@lyx.org>
11919
11920         * exporter.C (Export): removeAutoInsets before doing anything else.
11921         While I've just introduced a dependency on BufferView this really is
11922         the best place to clean the buffer otherwise you need to cleanup in
11923         a dozen places before calling export or cleanup in a dozen functions
11924         that export calls.
11925
11926         * converter.C (runLaTeX):
11927         (scanLog): Better handling of removeAutoInsets and screen updates.
11928
11929         * lyxfunc.C (dispatch): small whitespace changes
11930
11931 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * WorkArea.C (C_WorkAreaEvent): return a value.
11934         (event_cb): return 1 if we handled the event, 0 otherwise.
11935
11936         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11937
11938 2002-03-18  Juergen Vigna  <jug@sad.it>
11939
11940         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11941         (GetAdditionalWidth): ditto.
11942         (RightLine): ditto.
11943         (LeftLine): ditto.
11944
11945         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11946         inset if we're there actually (probably not used right now but this
11947         is the direction to go for unifying code).
11948         (paste): disable code to clear the selection.
11949
11950         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11951         inside an InsetText and move the check further up as it is in the
11952         wrong place.
11953
11954         * text2.C (pasteSelection): set a selection over the pasted text.
11955
11956 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11957
11958         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11959         and libgraphics to build on Cygwin.
11960
11961 2002-03-15  Juergen Vigna  <jug@sad.it>
11962
11963         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11964         inserting an Inset into the paragraph. I know this is not the best
11965         fix but we already use current_view in CutAndPaste so we will remove
11966         all of it's using at the same time.
11967
11968         * buffer.C (sgmlError): deactivated function till it is rewritten in
11969         the right mode, now it can create problems.
11970
11971         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11972         before accessing it.
11973
11974 2002-03-14  Juergen Vigna  <jug@sad.it>
11975
11976         * undo_funcs.C (textHandleUndo): do the right thing when updating
11977         the inset after the undo/redo.
11978
11979         * text2.C (setCursor): just some testcode for #44 not ready yet.
11980
11981         * undo_funcs.C (textHandleUndo): set the next() and previous()
11982         pointers of the paragraph to 0 before deleting otherwise we have
11983         problems with the Paragraph::[destructor].
11984
11985         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11986         on a paragraph insertion.
11987
11988 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11989
11990         * buffer.C (asciiParagraph): use += operator for char append to
11991         string.
11992
11993         * paragraph.C (getFontSettings): compare >= not just >
11994         (highestFontInRange): ditto
11995         (setFont): ditto
11996
11997 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11998
11999         * paragraph.C: change several algorithm to be more appripriate for
12000         the problem domain. This is lookip in FontList and in the InsetList.
12001
12002 2002-03-13  André Pönitz <poenitz@gmx.net>
12003
12004         * commandtags.h:
12005         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12006
12007 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * commandtags.h:
12010         * LyXAction.C:
12011         * lyxfunc.C:
12012         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12013
12014 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * Painter.C (display): anon helper function, adjust code for this
12017         change.
12018         (pixmap): remove function.
12019
12020         * Painter.h: remove private display variable.
12021
12022         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12023
12024 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12025
12026         * WorkArea.[Ch]: remove figinset_canvas cruft.
12027
12028 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * lyxtextclass.C (operator): add one item cache optimization.
12031
12032         * bufferlist.h: doxy changes
12033
12034         * bufferlist.C: ws changes
12035
12036         * DepTable.[Ch] (ext_exist): place const in the right spot.
12037
12038         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12039         call resizeInsets.
12040         (workAreaExpose): call resizeInsets when the with BufferView changes.
12041         (Dispatch): adjust for protectedBlank removal
12042         (specialChar): call updateInset if the insert went ok.
12043
12044         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12045         specialChar instead.
12046
12047         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12048
12049         * BufferView.h: doxy change
12050
12051         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12052
12053         * lyxtextclass.C (operator[]): remove non-const version
12054         (defaultLayout): remove non-const version
12055
12056 2002-03-12  Juergen Vigna  <jug@sad.it>
12057
12058         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12059         did resize the LyXText too.
12060
12061         * buffer.C (readLyXformat2): set layout information on newly allocated
12062         paragraphs.
12063
12064         * tabular.C (OldFormatRead): set layout information on the paragraph.
12065
12066 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12067
12068         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12069
12070 2002-03-11  Juergen Vigna  <jug@sad.it>
12071
12072         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12073         plainly wrong.
12074         (resizeCurrentBuffer): force also the insets to resize themselfes.
12075         (moveCursorUpdate): fixed up for InsetText.
12076
12077 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12078
12079         * commandtags.h:
12080         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12081         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12082         value of Dialogs::tooltipsEnabled().
12083         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12084
12085 2002-03-08  Juergen Vigna  <jug@sad.it>
12086
12087         * BufferView_pimpl.C (updateInset): update inset inside inset also
12088         if it isn't inside theLockingInset().
12089
12090 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12091
12092         * buffer.C (asciiParagraph): redo some of the word and line length
12093         handling.
12094         (getLists): look for Caption instead of caption.
12095
12096 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12097
12098         * buffer.C (Buffer): initialize niceFile to true
12099         (makeLaTeXFile):
12100         (makeLinuxDocFile):
12101         (makeDocBookFile): make sure niceFile is true on exit
12102
12103 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12104
12105         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12106
12107 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * LyXSendto.C: remove.
12110         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12111         * lyx_gui.C: remove now-redundant comment.
12112         * ColorHandler.h: remove forward declaration of class WorkArea.
12113         * lyxfunc.C: remove #include "WorkArea.h".
12114
12115 2002-03-07  Juergen Vigna  <jug@sad.it>
12116
12117         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12118         got moved away with the DEPM and also set the inset_owner always
12119         right which before could have been omitted.
12120
12121 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12124         wanted layout is not found.
12125
12126 2002-03-07  Juergen Vigna  <jug@sad.it>
12127
12128         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12129
12130 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12131
12132         * paragraph.C (breakParagraph): use default layout not layout of
12133         prev paragraph.
12134         (Paragraph): clear ParagraphParameters.
12135
12136 2002-03-06  Juergen Vigna  <jug@sad.it>
12137
12138         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12139         otherwise it would not be a valid lenght. Fixed a special case in
12140         the minipage compatibility read where we end the document with a
12141         minipage.
12142
12143         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12144         was set as it could be 0 for InsetTexts first entry.
12145
12146 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * paragraph.C (writeFile): if layout is empty write out
12149         defaultLayoutName().
12150
12151         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12152         file without named layout we set layout to defaultLayoutName().
12153
12154 2002-03-06  Juergen Vigna  <jug@sad.it>
12155
12156         * CutAndPaste.C (copySelection): set layout for new paragraph.
12157
12158         * text.C (prepareToPrint): leave ERT inset left aligned
12159         (leftMargin): don't indent paragraphs inside ERT insets
12160
12161 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * paragraph.C (breakParagraph): dont call clear do the work manually
12164
12165         * paragraph.[Ch] (clear): remove function
12166
12167 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * paragraph.C (Paragraph): dont call clear, the work has already
12170         been done.
12171
12172         * lyxtextclass.C (operator): assert if n is empty
12173
12174         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12175         work manually instead.
12176
12177 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * BufferView_pimpl.C: protect selectionLost against text == 0
12180
12181 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12182
12183         * text.C (breakParagraph): fix a setting layout to '0' problem.
12184
12185 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12186
12187         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12188         final location of file, for the included files, and graphics.
12189
12190 2002-03-05  Juergen Vigna  <jug@sad.it>
12191
12192         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12193
12194 2002-03-04  Juergen Vigna  <jug@sad.it>
12195
12196         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12197
12198         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12199         last column of multicolumn cells.
12200         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12201
12202 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12203
12204         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12205         file if it doesn't go to a temporary file.
12206
12207         * buffer.C (sgmlOpenTag):
12208         (sgmlCloseTag):  remove extra newline insertion.
12209
12210 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12211
12212         * text.C (getRowNearY): comment out debug msg
12213
12214 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * text2.C: first -> first_y
12217
12218         * text.C (getRowNearY): add some attemts at a possible
12219         optimization, not working.
12220
12221         * tabular.[Ch]: add BufferParams to several function so that newly
12222         created paragraph can be initialized to he default layotu for the
12223         buffers textclass.
12224
12225         * tabular-old.C (ReadOld): add buf->params to call of Init
12226
12227         * screen.C: rename text->first to text->first_y
12228
12229         * paragraph.C (breakParagraph): always set layout in the broken
12230         paragraph
12231
12232         * lyxtextclass.C (Read): remove lowercase
12233         (hasLayout): ditto
12234         (operator): ditto
12235         (delete_layout): ditto
12236
12237         * lyxtext.h: rename first -> first_y
12238
12239         * lyxlayout.C (Read): remove lowercase
12240         (name): ditto
12241         (setName): ditto
12242         (obsoleted_by): ditto
12243
12244         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12245
12246         * buffer.C (insertErtContents): add params are to InsetERT
12247         (parseSingleLyXformat2Token): add code to check if a paragraphs
12248         layout really exist.
12249         (parseSingleLyXformat2Token): add params to several inset
12250         constructors
12251         (asciiParagraph): remove lowercase, do the layout comparisons with
12252         no_case
12253
12254         * BufferView_pimpl.C (cursorNext): first -> first_y
12255         (resizeCurrentBuffer): first -> first_y
12256         (updateScrollbar): first -> first_y
12257         (scrollCB): first -> first_y
12258         (workAreaMotionNotify): first -> first_y
12259         (workAreaButtonPress): first -> first_y
12260         (checkInsetHit): first -> first_y
12261         (cursorPrevious): first -> first_y
12262         (cursorNext): first -> first_y
12263         (Dispatch): add buffer_->params to severl inset contructors
12264
12265 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12266
12267         * lyxlayout.C (Read): remove some debug info that I forgot.
12268
12269         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12270         clean up the code slightly.
12271         (makeLinuxDocFile): ditto
12272         (makeDocBookFile): ditto
12273
12274         * text2.C: layout as string
12275
12276         * text.C: layout as string
12277
12278         * paragraph_pimpl.C: layout as string
12279
12280         * paragraph.[Ch]: layout as string
12281
12282         * lyxtextclasslist.[Ch]: layout as string
12283
12284         * lyxtextclass.[Ch]: layout as string
12285
12286         * lyxtext.h: layout as string
12287
12288         * lyxlayout.[Ch]: layout as string
12289
12290         * lyx_cb.C: layout as string
12291
12292         * bufferview_funcs.C: layout as string
12293
12294         * bufferparams.C: layout as string
12295
12296         * buffer.C: layout as string
12297
12298         * LyXView.[Ch]: layout as string
12299
12300         * LaTeXFeatures.[Ch]: layout as string
12301
12302         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12303
12304         * BufferView_pimpl.C: change current_layout to string, remove
12305         lyx::layout_type.
12306         (Dispatch):
12307         (smartQuote):
12308         (insertInset):
12309         (workAreaButtonRelease): layout as string
12310
12311         * BufferView2.C (unlockInset): adjust
12312
12313         * vspace.C (asLatexCommand): use an explict temp variable.
12314
12315 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12316
12317         * Makefile.am: use FRONTEND_*
12318
12319 2002-03-01  Juergen Vigna  <jug@sad.it>
12320
12321         * tabular.C (SetWidthOfMulticolCell): changed to something better
12322         I hope but still work in progress.
12323         (recalculateMulticolumnsOfColumn): renamed function from
12324         recalculateMulticolCells as it is more appropriate now.
12325         (SetWidthOfCell): calculate multicols better.
12326
12327 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12328
12329         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12330
12331         * lyxfunc.C (processKeySym): print sequence also if it is
12332         `deleted' (complete)
12333
12334         * kbsequence.C (print): print sequence even if it is deleted
12335         (complete would be a better word, actually).
12336
12337         * lyxfunc.C (dispatch): print complete options after a prefix key
12338
12339         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12340
12341 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12342
12343         * text2.C (setCharFont): eliminate setCharFont code duplication.
12344
12345 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12346
12347         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12348         LFUN_TABULAR_FEATURE (bug #177)
12349
12350 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12351
12352         * Makefile.am: remove figure.h
12353
12354 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12355
12356         * Bufferview_pimpl.C:
12357         * CutAndPasteC:
12358         * LaTeX.C:
12359         * LyXSendto.C:
12360         * buffer.C:
12361         * bufferlist.C:
12362         * converter.C:
12363         * language.C:
12364         * lyxfunc.C:
12365         * lyxvc.C:
12366         * paragraph.C:
12367         * text.C:
12368         * text2.C: remove #include "lyx_gui_misc.h".
12369
12370         * LaTeX.C: added #include <cstdio>
12371
12372 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12375         that the paragraph following this one can have.
12376
12377         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12378
12379         * vspace.C (asLatexCommand): fix bogus gcc warning
12380
12381         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12382
12383 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12384
12385         * text2.C (setLayout): get rid of redundant code
12386
12387 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12388
12389         * text2.C (incDepth): make sure depth cannot be increased beyond
12390         reasonable values.
12391
12392 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12393
12394         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12395         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12396
12397         * PainterBase.h (image):
12398         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12399         a LyXImage const *.
12400
12401 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * BufferView.C:
12404         * BufferView.h:
12405         * BufferView_pimpl.C:
12406         * BufferView_pimpl.h:
12407         * LaTeXFeatures.C:
12408         * LyXAction.C:
12409         * LyXView.C:
12410         * Makefile.am:
12411         * UpdateList.h:
12412         * UpdateList.C:
12413         * buffer.C:
12414         * figure.h:
12415         * figureForm.C:
12416         * figureForm.h:
12417         * figure_form.C:
12418         * figure_form.h:
12419         * lyx_cb.C:
12420         * lyx_gui.C:
12421         * lyx_gui_misc.C:
12422         * lyxfunc.C:
12423         * sp_base.h:
12424         * sp_ispell.h:
12425         * sp_pspell.h:
12426         * sp_spell.C: remove fig inset, and the crap house of
12427           cards that follows it
12428
12429 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * Makefile.am:
12432         * lyxserver.C:
12433         * os2_defines.h:
12434         * os2_errortable.h:
12435         * nt_defines.h: move .h into support/
12436
12437         * vms_defines.h: remove
12438
12439         * WorkArea.C: add space in debug output
12440
12441         * text2.C:
12442         * paragraph.C:
12443         * buffer.C: add WITH_WARNINGS
12444
12445         * vc-backend.h:
12446         * vc-backend.C:
12447         * bufferlist.C: s/retrive/retrieve/, add docs
12448
12449         * vspace.h:
12450         * vspace.C:
12451         * kbmap.h:
12452         * lyxlength.h:
12453         * lyxgluelength.h:
12454         * length_common.h:
12455         * chset.h:
12456         * chset.C: add docs
12457
12458         * lyxgui.C: add ID to X error handler
12459
12460         * lyxtestclass.c: fix typo
12461
12462 2002-02-26  Juergen Vigna  <jug@sad.it>
12463
12464         * tabular_funcs.C (write_attribute): changed so that some default
12465         attributes are not written at all.
12466         (getTokenValue): set default values before trying to read the
12467         value so we have the return value always set as default if we don't
12468         find the token we search for.
12469
12470         * tabular.C (Write): write bools as bools not as strings!
12471
12472 2002-02-22  Juergen Vigna  <jug@sad.it>
12473
12474         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12475         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12476
12477         * text.C (leftMargin): don't add an indent for paragraphs inside
12478         tabular cells (fix #208).
12479
12480 2002-02-21  José Matos  <jamatos@fep.up.pt>
12481
12482         * tabular.C (docBook): fixed support for long tables.
12483
12484 2002-02-20  Juergen Vigna  <jug@sad.it>
12485
12486         * text2.C (getFont): get the drawing font of the Inset if this
12487         paragraph is inside an inset (only important for InsetERT for now).
12488
12489         * buffer.C (insertErtContents): use new lanugage params in ERT
12490         constructor.
12491
12492         * CutAndPaste.C: commenting out seemingly uneeded code.
12493
12494 2002-02-19  Allan Rae  <rae@lyx.org>
12495
12496         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12497         Iterators might be simple to use but they also get invalidated.
12498         (removeAutoInsets): renamed saved cursor tracking variables and added
12499         some comments to clarify what everything does.
12500
12501 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * Chktex.C:
12504         * LaTeX.C:
12505         * LyXSendto.C:
12506         * converter.C:
12507         * lyx_cb.C:
12508         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12509         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12510
12511         * lyxfunc.C:
12512         * vc-backend.h: remove #include "support/syscall.h"
12513
12514         * LaTeX.C:
12515         * LyXSendto.C:
12516         * converter.C: rearrange #includes in Lars' approved fashion.
12517
12518         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12519         forward declare class Timeout in the header file.
12520
12521         * XFormsView.C: changes due to the above.
12522
12523         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12524         similar to LyXView.
12525
12526         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12527         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12528
12529 2002-02-18  José Matos  <jamatos@fep.up.pt>
12530
12531         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12532         insets contents.
12533
12534 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12535
12536         * a lot of small ws changes
12537         * add a lot of using std::XXX
12538         * use std construcs some places where approp.
12539         * use some exisint stuff from lyxfunctional where approp.
12540         * Make file changes to use partial linking (lets test this now...)
12541
12542 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12543
12544         * Chktex.C:
12545         * buffer.C:
12546         remove #include "support/syscontr.h" as it's redundant. Always has been.
12547
12548         * Chktex.C:
12549         * LaTeX.C:
12550         * LyXSendto.C:
12551         * converter.C:
12552         * lyx_cb.C:
12553         * vc-backend.C:
12554         change Systemcalls::System to Systemcalls::Wait and
12555         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12556         No change of functionality, just reflects the stripped down Systemcalls
12557         class.
12558
12559 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12560
12561         * debug.[Ch]: add a GRAPHICS type to the enum.
12562
12563 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12564
12565         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12566
12567         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12568         there is an inset.
12569
12570 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12571
12572         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12573         match the changes below.
12574
12575         * text2.C (toggleInset): if there is not editable inset at cursor
12576         position, try to see if cursor is _inside_ a collapsable inset
12577         and close it.
12578
12579 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12580
12581         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12582         document menu has a nice checkbox
12583
12584 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12585
12586         * lyxlength.C (asLatexString): change PW to output as percent of
12587         \textwidth.
12588
12589         * lengthcommon.C: change '%' to 't%'
12590
12591         * lyxfunc.C (dispatch): a few comments from Martin
12592
12593 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * WorkArea.h:
12596         * WorkArea.C:
12597         * BufferView_pimpl.h:
12598         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12599           the X selection.
12600
12601 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12602
12603         * vspace.C (inPixels): fix compiler warning
12604
12605 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12606
12607         * lyxfunc.C (getStatus): fix status message for disabled commands.
12608
12609 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * BufferView_pimpl.C: fix crash on close buffer
12612         during selection (#227)
12613
12614 2002-01-27  Herbert Voss  <voss@lyx.org>
12615
12616         * buffer.C: link old Figure to new graphic inset
12617
12618 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12619
12620         * FontLoader.C (getFontinfo): Change the latex font names in order
12621         to match the names of type1inst.
12622
12623 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12626
12627         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12628         (extchanged): ditto
12629         (ext_exist): ditto
12630         (remove_files_with_extension): ditto
12631         (remove_file): ditto
12632         (write): ditto
12633
12634         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12635         document is smaller than the work area height. Do not initialize
12636         static variables to 0.
12637
12638 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12639
12640         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12641
12642         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12643         LFUN_LAYOUT_PARAGRAPHS.
12644
12645         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12646         tabular. It is possible to provide a possible cell, which will
12647         typically be the actcell from the corresponding insettabular
12648
12649         * lyxfunc.C (getStatus): small cleanup; disable
12650         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12651         true
12652
12653 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12654
12655         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12656
12657         * paragraph.C (startTeXParParams):
12658         (endTeXParParams): new methods. The LaTeX code to
12659         start/end paragraph formatting
12660         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12661         empty (fixes bug #200)
12662
12663         * vspace.C (inPixels): adapt to the change below
12664         (inPixels): [later] more cleanups (remove unused variables)
12665
12666         * lyxlength.C (inPixels): change to use a width and a height as
12667         parameter.
12668
12669 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12670
12671         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12672         Replaced with \paperwidth
12673
12674         * DepTable.C (insert): add std:: qualifier
12675
12676 2002-01-18  Allan Rae  <rae@lyx.org>
12677
12678         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12679         updated also?
12680
12681         * text.C (drawInset): Turned out I didn't know enough about how
12682         rebreaking worked.  This fixes most of the redraw problems.  I see
12683         an occasional cursor trail when a line is broken now and the cursor
12684         placement can seem out by a few pixels also after a rebreak.
12685
12686 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12687
12688         * buffer.C (parseSingleLyXformat2Token): update because minipage
12689         width is now a LyXLength
12690
12691         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12692
12693         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12694         math insets
12695
12696 2002-01-17  Juergen Vigna  <jug@sad.it>
12697
12698         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12699
12700         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12701         is set correctly and the inset is updated correctly.
12702
12703 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12704
12705         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12706         the beginning of the loop.
12707
12708 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * lyxrc.C: improve help for use_scalable_fonts
12711
12712 2002-01-17  Allan Rae  <rae@lyx.org>
12713
12714         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12715
12716 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12717
12718         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12719         make sure to set their inset_owner to the right value (bug #171)
12720
12721 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12722
12723         * DepTable.h
12724         * DepTable.C: Implement mtime checking to reduce time spent doing
12725         CRCs.
12726
12727 2002-01-16  Juergen Vigna  <jug@sad.it>
12728
12729         * tabular.C (GetAdditionalHeight): one of error fixed.
12730
12731         * lyxrc.C (output): small fix in writing use_pspell.
12732
12733 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12734
12735         * sp_base.h: #include LString.h
12736
12737 2002-01-16  Allan Rae  <rae@lyx.org>
12738
12739         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12740         Can someone check this please?
12741
12742         * text.C (drawInset): It was possible that p.row would be removed by
12743         breakAgainOneRow upsetting a few other settings.  There may be another
12744         small tweak possible by setting need_break_row = 0 when p.row has been
12745         removed but I don't know enough about the logic here.
12746
12747 2002-01-15  Allan Rae  <rae@lyx.org>
12748
12749         * text.C (insertChar): removed conditional truism.
12750
12751         * BufferView2.C (removeAutoInsets): More tweaks.
12752         cur_par_prev could be a stray pointer.  Check for trailing empty line
12753         in case last line was cur_par and only had an error inset on it.
12754
12755 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12756
12757         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12758         absolute
12759
12760         * vc-backend.C (most methods):
12761         * exporter.C (Export):
12762         * converter.C (convert):
12763         (runLaTeX):
12764         * LyXSendto.C (SendtoApplyCB):
12765         * lyxfunc.C (dispatch):
12766         (menuNew):
12767         (open):
12768         (doImport):
12769         * lyx_cb.C (AutoSave):
12770         (InsertAsciiFile):
12771         * BufferView_pimpl.C (MenuInsertLyXFile):
12772         * buffer.C (runChktex): use Buffer::filePath().
12773
12774         * buffer.h: rename filename to filename_; rename filepath to
12775         filepath_ and make it private
12776         (filePath): new method
12777
12778         * buffer.C (writeFile): use fileName()
12779         (getLatexName):
12780
12781         * lyx_main.C (init): fix starting  of LyX when the binary is a
12782         link from so,ewhere else.
12783
12784         * minibuffer.C: include <cctype> for isprint
12785
12786 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12787
12788         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12789         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12790         name clash with InsetCollapsable's width function.
12791
12792 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12793
12794         * lastfiles.C: include <iterator>
12795
12796 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12797
12798         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12799         std::count.
12800
12801         * buffer.C (makeLaTeXFile): ditto.
12802         Also make loop operation more transparent.
12803
12804 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12805
12806         * ToolbarDefaults.C: remove trailing comma closing namespace.
12807
12808         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12809
12810         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12811         as in WorkArea.
12812
12813         * trans.C (Load): comment out unused variable, allowed.
12814
12815 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12816
12817         * minibuffer.[Ch] (append_char): new method to recieve input from the
12818         drop-down completion browser. If a key was pressed, then recieve this
12819         char and append it to the existing string.
12820         (peek_event): modify the positioning data passed to the completion
12821         browser so that it can be placed above the minibuffer rather than below.
12822 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * LyXAction.C (init): alloe error-next for readonly documents.
12825
12826         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12827         count.
12828
12829 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12830
12831         * bufferlist.C (readFile): create the buffer _after_ checking that
12832         the file exists.
12833
12834         * lyxfunc.C (verboseDispatch): fix handling of arguments
12835
12836         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12837
12838         * lyxrc.C: use string::erase() instead of initializing to "".
12839
12840
12841 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12842
12843         * BufferView_pimpl.h:
12844         * BufferView_pimpl.C:
12845         * WorkArea.h:
12846         * WorkArea.C:
12847         * text2.C: tell X when we have made a selection for copying
12848
12849 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12850
12851         * BufferView_pimpl.C (MenuInsertLyXFile):
12852         * lyxfunc.C (menuNew):
12853         (open):
12854         (doImport): add shortcuts to directory buttons
12855
12856         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12857         open a float)
12858
12859         * lyxfunc.C (setStatusMessage):
12860         (getStatusMessage): new methods
12861         (getStatus):use setStatusMessage instead of setErrorMessage
12862         (dispatch): when function is disabled, set error message here
12863         [instead of in getStatus previously]
12864
12865         * BufferView_pimpl.C (workAreaButtonRelease): update
12866         toolbar/menubar here too.
12867
12868 2002-01-13  Allan Rae  <rae@lyx.org>
12869
12870         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12871         Now seems indestructible.  Remaining task is to audit all other
12872         code affected by deleteEmptyParagraphMechanism.  One small quirk
12873         left is that an empty document with an error in the preamble can
12874         be made to report an error but no error box appears.  I don't know
12875         where it goes.
12876         (removeAutoInsets): Improved comments.
12877
12878 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12879
12880         * Thesaurus.h:
12881         * Thesaurus.C: update for Aiksaurus 0.14
12882
12883 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * text2.C (firstParagraph): removed member function, all uses
12886         replaces with ownerParagraph
12887         (redoParagraphs): here
12888         (updateInset): here
12889         (toggleAppendix): here
12890         * BufferView2.C (insertErrors): here
12891         (setCursorFromRow): here
12892
12893 2002-01-13  Allan Rae  <rae@lyx.org>
12894
12895         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12896         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12897         There is still a way to segfault this although you may have to do this
12898         multiple times: Have an InsetERT with an unknown command in it.
12899         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12900         <down-arrow>, <Enter> again, View->DVI, BANG!
12901
12902         * text2.C (setCursor):
12903         (deleteEmptyParagraphMechanism):
12904         * lyxtext.h (setCursor):
12905         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12906         Making use of the return value may help fix other bugs.
12907
12908 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12909
12910         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12911
12912         * LyXView.C (updateMenubar): call MenuBar::update here
12913         (updateToolbar): but not here
12914         (showState): do not update toolbar/menubar
12915
12916         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12917         should need to care about that.
12918
12919         * lyxfunc.C (verboseDispatch): simplify a bit
12920         (getStatus): have a version which takes a pseudoaction, and
12921         another which requires a (kb_action,string).
12922
12923         * LyXAction.C (retrieveActionArg): make it work also when action
12924         is not a pseudo-action.
12925         (getActionName): simplify a bit
12926         (helpText):
12927
12928 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12929
12930         * lyxfunc.C (verboseDispatch): new families of methods with
12931         several ways to specify a command and a bool to indicate whether
12932         the command name and shortcut should be displayed in minibuffer
12933         (eventually, we could extend that to a finer bitmask like
12934         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12935         (dispatch): the pristine dispatch command which just, well,
12936         dispatchs! Note it still sets its result to minibuffer; I'm not
12937         sure we want that.
12938
12939         * lyxfunc.h: remove setHintMessage
12940
12941         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12942
12943 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12944
12945         * BufferView_pimpl.C (specialChar): delete new inset if we have
12946         not been able to insert it.
12947
12948         * kbmap.C: revert to using int instead of kb_action, since all we
12949         are dealing with is pseudo-actions.
12950
12951         * LyXAction.C (searchActionArg): change to return int instead of
12952         kb_action, since the result is a pseudoaction.
12953
12954 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12955
12956         * buffer.C (insertErtContents): Fix (partially) the font bug.
12957
12958 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12959
12960         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12961         as the other one is broken on my machine!
12962
12963 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12964
12965         * commandtags.h:
12966         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12967
12968 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12969
12970         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12971         reflect their actual use. Provide compatibility code for older lyxrc
12972         files.
12973
12974         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12975         FL_NORMAL_STYLE.
12976         change names of popup font variables in line with the changes to lyxrc.C
12977
12978 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12979
12980         * buffer.C (asciiParagraph): avoid outputing a word twice after
12981         an inset.
12982
12983         * lyxrc.C (getDescription): document that document_path and
12984         template_path can be empty.
12985
12986 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12987
12988         * LaTeXFeatures.C (getMacros):
12989         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12990
12991         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12992
12993         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12994         getPackages.
12995         (getPackages): rename feature "floats" to "float". Use an array to
12996         iterate over 'simple' features (i.e. just a \usepackage). Add
12997         handling of "amsmath" (renamed from "amsstyle").
12998
12999 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13000
13001         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13002         features list.
13003
13004 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13005
13006         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13007         FuncStaus::FuncStatus & FuncStaus::some_method().
13008
13009 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13010
13011         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13012         of the func_satus stuff. Edited and massaged in various ways by
13013         JMarc.
13014
13015         * lyxfunc.C (getStatus): use FuncStatus
13016
13017 2002-01-08  Juergen Vigna  <jug@sad.it>
13018
13019         * text.C (nextBreakPoint): use function Inset::isChar().
13020
13021         * paragraph.C (TeXOnePar): use function
13022         Inset::forceDefaultParagraphs.
13023
13024         * buffer.C (latexParagraphs): use function
13025         Inset::forceDefaultParagraphs.
13026
13027 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13028
13029         * lyx_gui.C (init): set the style of the menu popups to
13030         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13031
13032 2002-01-07  Juergen Vigna  <jug@sad.it>
13033
13034         * text.C (setHeightOfRow): small fix
13035         (prepareToPrint): don't look at alignment if we don't have the place
13036         for doing it.
13037
13038 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13039
13040         * box.C: New file. Move the Box methods and functions out of box.h,
13041         following Lars' suggestion.
13042
13043 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13044
13045         * box.h: #include "support/LOstream.h", needed for inlined function.
13046
13047         * lyxtextclass.C:
13048         * lyxtextclasslist.C: added some using std declarations.
13049
13050 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13051
13052         * box.h: make signed dimensions to allow insets wider than
13053           the screen (bug #162)
13054
13055         * BufferView_pimpl.C: add some insetHit debug
13056
13057 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * vc-backend.C: add FIXME
13060
13061 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13062
13063         * lyxfunc.C (getStatus): enable code for showing math font status
13064         in toolbar/menu.
13065
13066 2002-01-07  Juergen Vigna  <jug@sad.it>
13067
13068         * text.C (nextBreakPoint): removed debug output not needed anymore.
13069
13070 2002-01-06  Juergen Vigna  <jug@sad.it>
13071
13072         * text.C (nextBreakPoint): fixed up this function we had this bug
13073         since ever but now hopefully we break row better.
13074         (insertChar): we have to check if an inset is the next char as it
13075         could now happen that a large inset is causing a break.
13076
13077 2002-01-05  Juergen Vigna  <jug@sad.it>
13078
13079         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13080         if it doesn't like to be drawed.
13081
13082 2002-01-04  Juergen Vigna  <jug@sad.it>
13083
13084         * BufferView2.C (lockInset): forgot to set a cursor.
13085
13086         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13087
13088 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13089
13090         * FormMathsPanel.C:
13091         * FormMathsPanel.h
13092         * MathsSymbols.C:
13093         * form_maths_panel.C:
13094         * form_maths_panel.h:
13095         * form_maths_panel.fd: implemented sub- and super- buttons in math
13096         panel.
13097
13098         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13099         (or ^ space) to be used as in TeX (req'd by André).
13100
13101         * lyxfunc.C: Allow ^ and _ again to be used both as
13102         super/subscript (mathed) and as themselves (in text).
13103
13104 2002-01-03  Allan Rae  <rae@lyx.org>
13105
13106         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13107         "LyX" or the filename of the current buffer if it has one.  This is a
13108         modified form of John Levon's patch.
13109
13110         * XFormsView.C (setWindowTitle): also set icon title.
13111
13112         * LyXView.h (setWindowTitle): signature changed.
13113         * XFormsView.h (setWindowTitle): ditto.
13114
13115 2002-01-02  Juergen Vigna  <jug@sad.it>
13116
13117         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13118
13119 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * screen.C (topCursorVisible): introduce a temp var for
13122         text->cursor.row(), handle the case where this row is null. (kindo
13123         hachish)
13124
13125         * text2.C (setCursor): add a couple of asserts.
13126
13127         * paragraph.h (inset_iterator): add -> operator
13128
13129         * paragraph.[Ch] (autoDeleteInsets): remove member function
13130
13131         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13132         cursor pos correctly and handle inset deletion by itself.
13133         (insertErrors): move iterator declaration out of for expression
13134
13135         * lyxtextclass.C: add <algorithm>
13136
13137         * Makefile.am: added the new files to sources, removed layout.C
13138
13139         * layout.C: removed file
13140
13141         * layout.h: remove LYX_DUMMY_LAYOUT
13142
13143         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13144         layout.
13145
13146         * lyxlayout.[Ch]:
13147         * lyxtextclass.[Ch]:
13148         * lyxtextclasslist.[Ch]: new files
13149
13150         * include order changes to a lot of files, also changes because of
13151         the six new files.
13152
13153 2001-12-27  Juergen Vigna  <jug@sad.it>
13154
13155         * buffer.C (asciiParagraph): more fixes.
13156
13157         * tabular.C (ascii): make ascii export support export of only the
13158         data separated by a column-delimiter.
13159         (ascii): better support for ascii export.
13160
13161         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13162
13163 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * tabular_funcs.C: use a "using std::getline" instead of the
13166         previous fix from Angus (necessary for cxx + lyxstring)
13167
13168 2001-12-24  Juergen Vigna  <jug@sad.it>
13169
13170         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13171
13172         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13173         problems. First check a minipage also if we have some ert-contents
13174         (not only on par->size(), second set the right depth of the paragraph
13175         on the relink to the root-paragraph-list!
13176
13177         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13178         which then did not anymore update the main paragraphs on undo/redo!
13179
13180 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13181
13182         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13183         code. Support all font-changing funcs (even those which are not in
13184         menu currently). Support for reporting font settings in
13185         mathed (disabled until Andre provides a function on mathed's side).
13186
13187         * func_status.h (toggle): small helper function to set toggle
13188         state on a flag.
13189
13190 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13191
13192         * tabular_funcs.C: getline -> std::getline
13193
13194 2001-12-21  Juergen Vigna  <jug@sad.it>
13195
13196         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13197         accessed and could be 0 (I couldn't generate this but it seems
13198         Michael could!).
13199
13200 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13203         * tabular_funcs.h: here and include iosfwd
13204
13205 2001-12-20  Juergen Vigna  <jug@sad.it>
13206
13207         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13208         inside inset but undo_par was.
13209
13210 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13211
13212         * Thesaurus.C: always include <config.h> in sources.
13213
13214         * Painter.h:
13215         * lyxlookup.h:
13216         * box.h: do not include <config.h> in header files
13217
13218         * text.C (paintLastRow): remove unused variable
13219
13220         * text.C (transformChar):
13221         (insertChar):
13222         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13223
13224         * Painter.C (text):
13225         * font.C (width): rewrite to use uppercase() instead of
13226         islower/toupper.
13227
13228         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13229
13230 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * lyxfind.C: clean up of find failure position change
13233
13234 2001-12-20  Juergen Vigna  <jug@sad.it>
13235
13236         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13237
13238         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13239         (TeXRow): added to LaTeX a single tabular row.
13240         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13241         (Latex): simplified and finally good LT-h/f support.
13242         (various_functions): just small adaptions for LT-h/f support.
13243
13244         * tabular_funcs.[hC]: added and moved here all not classfunctions
13245         of LyXTabular.
13246
13247 2001-12-19  Juergen Vigna  <jug@sad.it>
13248
13249         * tabular.[Ch]: better support for longtabular options (not finished
13250         yet!)
13251
13252 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13253
13254         * text.C (paintLastRow): use the label font instead of the font of
13255         the last character to compute the size of *_BOX. This makes more
13256         sense and avoids a crash with empty paragraphs.
13257         Use Painter::rectangle to draw EMPTY_BOX.
13258
13259 2001-12-19  Juergen Vigna  <jug@sad.it>
13260
13261         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13262         the paragraphs if the replaced paragraph is not the first one!
13263         Tried to delete not used paragraphs but does not work yet so for
13264         now it's inside #ifdef's and by default off!
13265
13266 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13267
13268         * MenuBackend.C: include "lyx_main.h" instead of declaring
13269         lastfiles (actually was declared as LastFiles* instead of a
13270         scoped_ptr).
13271
13272 2001-12-17  Juergen Vigna  <jug@sad.it>
13273
13274         * tabular.C (AppendColumn): applied John's fix
13275
13276 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * BufferView.h:
13279         * BufferView.C:
13280         * BufferView_pimpl.h:
13281         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13282
13283         * Makefile.am:
13284         * box.h: new start of class for above
13285
13286         * lyxfunc.C: ignore space-only minibuffer dispatches.
13287           Show the command name when it doesn't exist
13288
13289         * minibuffer.C: don't add empty lines to the history
13290
13291         * minibuffer.C: add a space on dropdown completion
13292
13293 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13294
13295         * text.C: fix line above/below drawing in insets
13296
13297 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * lyxlength.C (LyXLength): Initialize private variables.
13300
13301 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13302
13303         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13304         when inserting error insets.
13305
13306 2001-12-13  Juergen Vigna  <jug@sad.it>
13307
13308         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13309         actually sometimes the before-paragraph.
13310         (setUndo): don't clear the redostack if we're not actually undoing!
13311
13312 2001-12-06  Juergen Vigna  <jug@sad.it>
13313
13314         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13315         and fixed redoing of main paragraph, so we can use it now ;)
13316
13317         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13318
13319 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13320
13321         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13322         Juergen's request
13323
13324 2001-12-13  André Pönitz <poenitz@gmx.net>
13325
13326         * undostack.[Ch]:
13327         * undo_func.C: minor cleanup
13328
13329 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13330
13331         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13332         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13333         font in urw-fonts package which is marked as -urw-fontspecific and
13334         does not work (incidentally, changing the encoding in the
13335         fonts.dir of this package to -adobe-fontspecific fixes the
13336         problem).
13337
13338         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13339         is a crash when undoing first paragraph (Juergen, please take a
13340         look). THis does not mean the undo fix is wrong, just that it
13341         uncovers problems.
13342
13343         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13344         the (Paragraph*) version when needed instead of duplicating the
13345         code.
13346
13347         * text.C (workWidth): use Inset::parOwner to find out where the
13348         inset has been inserted. This is a huge performance gain for large
13349         documents with lots of insets. If Inset::parOwner is not set, fall
13350         back on the brute force method
13351
13352         * paragraph_pimpl.C (insertInset):
13353         * paragraph.C (Paragraph):
13354         (cutIntoMinibuffer): set parOwner of insets when
13355         inserting/removing them
13356
13357         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13358
13359 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13360
13361         * commandtags.h:
13362         * LyXAction.C:
13363         * lyx_main.C:
13364         * lyxfunc.C:
13365         * mathed/formulabase.C:
13366         * mathed/math_cursor.[Ch]:
13367         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13368
13369
13370 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13371
13372         * lyxlength.[Ch] (operator!=): new function
13373
13374 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13375
13376         * text.C (workWidth): use Inset::parOwner to find out where the
13377         inset has been inserted. This is a huge performance gain for large
13378         documents with lots of insets. If Inset::parOwner is not set, fall
13379         back on the brute force method
13380
13381         * paragraph_pimpl.C (insertInset):
13382         * paragraph.C (Paragraph):
13383         (cutIntoMinibuffer): set parOwner of insets when
13384         inserting/removing them
13385
13386         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13387
13388 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13389
13390         * tabular-old.C (getTokenValue):
13391         * tabular.C (getTokenValue):
13392         (write_attribute): new versions for LyXLength
13393         (everywhere): adjust the use of widths
13394
13395         * tabular.h: change the type of widths from string to LyXLength
13396
13397 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13398
13399         * paragraph.C: fixed missing line number count when exporting
13400         Environments to LaTeX file
13401
13402         * buffer.C: added informational message for checking line numbers.
13403
13404 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13405
13406         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13407         paragraph, do the 'double space' part, but not the 'empty
13408         paragraph' one.
13409
13410         * text.C (workWidth): small optimization
13411         (getLengthMarkerHeight): use minimal size for negative lengths.
13412
13413 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13414
13415         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13416
13417         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13418
13419 2001-12-11  André Pönitz <poenitz@gmx.net>
13420
13421         * FontLoader.C:
13422         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13423
13424 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * text2.C: keep selection on a setFont()
13427
13428 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * lyx_cb.C: another bv->text misuse, from insert label
13431
13432 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13433
13434         * kbsequence.h:
13435         * kbsequence.C: re-instate nmodifier mask
13436
13437 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13438
13439         * lyx_main.h: make lyxGUI private.
13440
13441 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13442
13443         * lyxfind.C: place the cursor correctly on failed search
13444
13445 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13446
13447         * text.C (getLengthMarkerHeight): for small heights, the arrows
13448         are not always on top/bottom of the text
13449         (drawLengthMarker): smaller arrows; take the left margin in
13450         account; draw also vfills.
13451         (paintFirstRow):
13452         (paintLastRow): remove special code for vfill and standard spaces,
13453         since everything is handled in drawLengthMarker now.
13454
13455 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13456
13457         * buffer.C (insertErtContents): try to handle font and language
13458         interaction a bit better.g
13459
13460         * ColorHandler.C (updateColor): change the hash to cover the whole
13461         LColor enum, ws cleanup
13462         (getGCLinepars): ditto
13463         (getGCLinepars): only lookup in the linecache once.
13464
13465 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13466
13467         * iterators.C (operator++): Make the iterator more robust
13468
13469         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13470         (John's patch)
13471         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13472
13473 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13474
13475         * lyxtext.h:
13476         * text.C: better added space drawing
13477
13478 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13479
13480         * LyXView.C:
13481         * BufferView2.C: fix layout combo update on inset unlock
13482
13483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * Makefile.am: don't compile unused files
13486
13487 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * lyxfunc.C:
13490         * commandtags.h:
13491         * LyXAction.C: remove old LFUN_LAYOUTNO
13492
13493 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * paragraph_pimpl.h:
13496         * paragraph_pimpl.C: isTextAt() doesn't need font param
13497
13498 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13499
13500         * lyxlex.h:
13501         * lyxlex.C: little cleanup
13502
13503 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13504
13505         * BufferView_pimpl.C: fix insertAscii for insets
13506
13507 2001-12-05  Juergen Vigna  <jug@sad.it>
13508
13509         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13510         set the right font on the "multi" paragraph paste!
13511
13512 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * trans_decl.h:
13515         * trans_mgr.[Ch]:
13516         * trans.[Ch]:
13517         * lyxgluelength.C:
13518         * lyxlength.C: remove out-commented code.
13519
13520         * BufferView_pimpl:
13521         * CutAndPaste.C:
13522         * DepTable.C:
13523         * buffer.C:
13524         * chset.C:
13525         * lastfiles.C:
13526         * lyxlex.C:
13527         * lyxlex_pimpl.C:
13528         * lyxserver.C:
13529         * screen.C:
13530         * tabular-old.C:
13531         * tabular.C:
13532         * text.C:
13533         * trans_mgr.C:
13534         * vc-backend.C: change "while(" to "while ("
13535
13536         * lyxlength.[Ch]: add zero function to check if length is zero or
13537         not
13538         * lyxgluelength.C: use it
13539
13540 2001-12-05  Allan Rae  <rae@lyx.org>
13541
13542         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13543         Works for 2.95.3, from what I understand of Garst's reports this should
13544         work for other g++ versions.  We're screwed if the abs(int) definition
13545         changed between bugfix releases of gcc.
13546
13547 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13548
13549         * text.C: fix chapter label offset !
13550
13551 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * lyxtext.h:
13554         * text.C: fix hfill at end of line, clean up
13555
13556 2001-12-04  Juergen Vigna  <jug@sad.it>
13557
13558         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13559         that we force an update of the inset and it's owners if neccessary.
13560
13561 2001-12-03  Juergen Vigna  <jug@sad.it>
13562
13563         * text.C (rowLast): simplified code
13564
13565 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * lyxfunc.C: fix show options on timeout
13568
13569 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13570
13571         * screen.C (topCursorVisible): scroll half a page when the cursor
13572         reached top of bottom of screen
13573
13574 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * minibuffer.C: deactivate on loss of focus
13577
13578 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * vspace.[Ch] (operator!=): add operator.
13581
13582 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13583
13584         * BufferView_pimpl.C: refuse to open an inset when
13585         there's a selection.
13586
13587 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13588
13589         * BufferView_pimpl.C: allow to click on RHS of full row insets
13590
13591 2001-11-30  Juergen Vigna  <jug@sad.it>
13592
13593         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13594         insets for undo reasons.
13595
13596 2001-11-28  André Pönitz <poenitz@gmx.net>
13597
13598         * vspace.[Ch]: cosmetical changes
13599
13600 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * LyXAction.h:
13603         * LyXAction.C:
13604         * lyxfunc.h:
13605         * lyxfunc.C:
13606         * kbmap.h:
13607         * kbmap.C:
13608         * lyxrc.C:
13609         * kbsequence.h:
13610         * kbsequence.C: part re-write of old kb code
13611
13612         * Painter.C:
13613         * WorkArea.C: remove Lgb_bug_find_hack
13614
13615 2001-11-30  José Matos <jamatos@fep.up.pt>
13616
13617         * buffer.C (makeDocBookFile): add a comment to point a hack.
13618         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13619         Fixed a double write of labels.
13620
13621 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13622
13623         * LaTeX.C:
13624         * LaTeX.h Fixed bug in LaTeX class where it would not
13625         re-run latex if no depfiles were changed, but the .dvi was removed.
13626
13627 2001-11-28  André Pönitz <poenitz@gmx.net>
13628
13629         * all the files from the change on 2001/11/26:
13630         use lyx::layout_type instead of LyXTextClass::size_type
13631         use lyx::textclass_type instead of LyXTextClassList::size_type
13632
13633 2001-11-29  Juergen Vigna  <jug@sad.it>
13634
13635         * text.C: added support for paragraph::isFreeSpacing()
13636
13637         * buffer.C: same as above
13638
13639         * paragraph.h: inserted isFreeSpacing() function to enable
13640         FreeSpacing inside InsetERT.
13641
13642         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13643         of the paragraph's in the cut/copy buffer to 0!
13644
13645         * text2.C (removeRow): remove the assert as it can!
13646
13647         * lyxtext.h: added helper function firstRow returning firstrow and
13648         made firstrow private again.
13649
13650         * BufferView2.C (lockInset): don't relock if we're already locked!
13651
13652         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13653         the only paragraph.
13654         (removeRow): added Assert::(firstrow)
13655
13656         * debug.C: forgot to add INSETTEXT here.
13657
13658 2001-11-28  Juergen Vigna  <jug@sad.it>
13659
13660         * sp_spell.C (initialize): changed error text to more general
13661         spellchecker command use (not only ispell!)
13662
13663         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13664
13665         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13666
13667 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13668
13669         * vspace.C: initialise lyxgluelength on failure
13670
13671 2001-11-28  Allan Rae  <rae@lyx.org>
13672
13673         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13674         declaration & definition that looks like a function declaration.
13675
13676 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * BufferView2.C (copy):
13679         (copyEnvironment): do not clear the selection when doing a copy.
13680
13681         * text.C (paintFirstRow): compilation fix
13682
13683 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13684
13685         * tabular.C (Latex): correct line count when writing latex.
13686
13687 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13688
13689         * paragraph_pimpl.h:
13690         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13691           bug a bit
13692
13693 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13694
13695         * text.C:
13696         * LColor.h:
13697         * LColor.C: change vfillline->added_space
13698
13699         * text.C: add markers and text for added space
13700
13701         * vspace.C: fix comment
13702
13703 2001-11-28  André Pönitz <poenitz@gmx.net>
13704
13705         * paragraph.C: whitespace changes
13706         * all the other files from the change on 2001/11/26:
13707         change *::pos_type into lyx::pos_type
13708
13709 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13712         language of the document when inserting error insets.
13713
13714 2001-11-26  André Pönitz <poenitz@gmx.net>
13715
13716         * BufferView_pimpl.[Ch]:
13717         *       CutAndPaste.C:
13718         * buffer.[Ch]:
13719         * lyxcursor.[Ch]:
13720         * lyxfind.C:
13721         * lyxfunc.C:
13722         * lyxrow.[Ch]:
13723         * paragraph.[Ch]:
13724         * paragraph_pimpl.[Ch]:
13725         * sp_spell.C:
13726         * text.C:
13727         * text2.C: reduce header dependencies, introduce type for positions
13728
13729 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13730
13731         * <various>: change to use Alert.h
13732
13733 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13734
13735         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13736         when encountering an unknown token.
13737         (readLyXformat2): Show an error message if there were unknown tokens.
13738
13739 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * BufferView2.C:
13742         * BufferView_pimpl.C:
13743         * buffer.C:
13744         * paragraph.h:
13745         * text.C:
13746         * text2.C: use par->isInset()
13747
13748 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13749
13750         * paragraph_pimpl.h:
13751         * paragraph_pimpl.C: cleanup
13752
13753 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13754
13755         * text2.C (removeRow):
13756         * text.C (setHeightOfRow): remove useless (and costly) call to
13757         getRow.
13758
13759 2001-11-20  Allan Rae  <rae@lyx.org>
13760
13761         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13762         Now need Inset*::checkInsertChar() to return true for appropriate
13763         cases so that the characters in the minibuffer will actually be
13764         inserted.
13765
13766 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13767
13768         * text.C: change the order of the includes.
13769         (workWidth): initialize it at once.
13770         (workWidth): make maxw unsigned
13771         (setHeightOfRow): remove unused variable (inset)
13772         (selectSelectedWord): remove unused variable (inset)
13773         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13774
13775 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13776
13777         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13778         server is not running.
13779         (openConnection):
13780         (closeConnection): add debug info when server is disabled.
13781
13782         * ColorHandler.C (getGCForeground): send debug message to GUI
13783         channel.
13784
13785         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13786
13787         * kbmap.C (bind): modify because return conventions of
13788         kb_sequence::parse have changed.
13789
13790         * kbsequence.C (parse): only ignore spaces and not any stupid
13791         control character. This avoids tests like s[i] <= ' ', which are
13792         guaranteed to fail with 8bit characters and signed chars.
13793         Change return code to string::npos when there have been no error
13794         (0 was a bad idea when error is at first character)
13795
13796 2001-11-14  José Matos  <jamatos@fep.up.pt>
13797
13798         * buffer.h:
13799         * buffer.C (simpleDocBookOnePar): removed unused argument.
13800
13801 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13802
13803         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13804         insets which are part of a word. Paragraph::isLetter takes care of
13805         that now. Use Paragraph::isInset to identify insets.
13806         (selectSelectedWord): do not test for hyphenation break.
13807
13808         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13809         that protected spaces are considered as spaces.
13810
13811         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13812         Inset::isLetter.
13813
13814 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13815
13816         * lyxserver.h:
13817         * lyxserver.C: fix it. and small cleanup.
13818
13819 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13820
13821         * BufferView_pimpl.C: use inline helpers
13822
13823         * LaTeXFeatures.h:
13824         * LaTeXFeatures.C: fix typos
13825
13826         * Spacing.h:
13827         * Spacing.C: move spacing_string into class
13828
13829         * ToolbarDefaults.C: move stuff into namespace anon
13830
13831         * layout.h: update enum
13832
13833         * lyxfunc.C: use better debug
13834
13835         * minibuffer.h: fix typo
13836
13837         * debug.h:
13838         * debug.C:
13839         * WorkArea.C: add and use Debug::WORKAREA
13840
13841         * lyxtext.h:
13842         * text.C:
13843         * text2.C: code re-organisation, inline helpers
13844
13845 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13846
13847         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13848         std::vector.empty().
13849
13850 2001-11-09  Allan Rae  <rae@lyx.org>
13851
13852         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13853         '\n's after tables.  Tabular and ERT inset work now makes this no
13854         longer necessary.
13855
13856 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13857
13858         * minibuffer.h:
13859         * minibuffer.C: fix crash, improve drop-down completion
13860
13861 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * lyxserver.h:
13864         * lyxserver.C: invalidate fd's when doing endPipe()
13865
13866 2001-11-08  José Matos  <jamatos@fep.up.pt>
13867
13868         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13869         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13870
13871         * paragraph.h:
13872         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13873
13874 2001-11-07  José Matos  <jamatos@fep.up.pt>
13875
13876         * buffer.h:
13877         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13878         const qualifier.
13879
13880         * buffer.C (sgmlOpenTag):
13881         * buffer.C (sgmlCloseTag): removed debug info.
13882
13883         * buffer.h (sgmlOpenTag):
13884         * buffer.h (sgmlCloseTag): made public.
13885
13886 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13887
13888         * buffer.C (saveParamsAsDefaults):
13889         * lyx_cb.C (MenuLayoutSave): remove
13890
13891         * LyXAction.C (init):
13892         * commandtags.h:
13893         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13894
13895 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * buffer.C (setPaperStuff): removed from here...
13898
13899         * bufferparams.C (setPaperStuff): ... and moved there.
13900
13901 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13902
13903         * minibuffer.h:
13904         * minibuffer.C:
13905         * XFormsView.C: add support for drop-down completion
13906
13907 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13908
13909         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13910         commands.
13911
13912 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13915         disabled.
13916
13917 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13918
13919         * lyx_main.C: change ref to known bugs
13920
13921 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13922
13923         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13924         to work around older babel problems.
13925
13926 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13927
13928         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13929
13930 2001-10-24  Juergen Vigna  <jug@sad.it>
13931
13932         * tabular-old.C (ReadOld): below variable changes reflected.
13933
13934         * tabular.[Ch]: added ltType struct for longtable header/footer
13935         defines and changed all instances where they are used. Added
13936         future support for double top/bottom rows.
13937
13938 2001-10-24  José Matos  <jamatos@fep.up.pt>
13939
13940         * buffer.h (docbookHandleCaption):
13941         * buffer.C (docbookHandleCaption): removed unused function.
13942         (makeDocBookFile): moved docbook supported version to v4.1.
13943
13944 2001-10-24  José Matos  <jamatos@fep.up.pt>
13945
13946         * tabular.h:
13947         * tabular.C (docbookRow): new function to export docbook code of a row.
13948         (DocBook): now honors the longtable flags.
13949
13950 2001-10-23  José Matos  <jamatos@fep.up.pt>
13951
13952         * LaTeXFeatures.h:
13953         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13954         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13955
13956         * buffer.C (makeLinuxDocFile):
13957         (makeDocBookFile): reworked the preamble, more clean, and with
13958         support for lyx defined entities. Changed the document declaration
13959         to be more XML friendly.
13960
13961         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13962         if we need to output XML that should be done with a filter.
13963
13964 2001-10-22  Juergen Vigna  <jug@sad.it>
13965
13966         * sp_pspell.h (class PSpell): add alive function needed in the
13967         controller to see if the spellchecker could be started.
13968
13969 2001-10-22  Juergen Vigna  <jug@sad.it>
13970
13971         * buffer.C (insertStringAsLines): modify the font for inserting
13972         chars in certain conditions by calling checkInsertChar(font).
13973
13974 2001-10-19  Juergen Vigna  <jug@sad.it>
13975
13976         * text.C (workWidth): use getRow instead of wrong algorithm.
13977         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13978
13979 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13980
13981         * lyxserver.h:
13982         * lyxserver.C:
13983         * lyx_main.h:
13984         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13985
13986 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * text.C (workWidth): do not search for the exact row when
13989         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13990         optimization for big documents.
13991
13992 2001-10-18  Juergen Vigna  <jug@sad.it>
13993
13994         * text.C (workWidth): new function with added Inset * parameter.
13995
13996 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13997
13998         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13999
14000         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14001         change return type of getColumnNearX.
14002
14003
14004         * text.C (changeRegionCase): use uppercase/lowercase instead of
14005         toupper/tolower.
14006         (leftMargin):
14007         (rightMargin): simplify code by factoring out the uses of
14008         textclasslist.
14009         (labelFill):
14010         (numberOfHfills):
14011         (setHeightOfRow):
14012         (appendParagraph): use Paragraph::size_type
14013
14014 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14015
14016         * vspace.C (asLatexString): add a missing break
14017
14018 2001-10-15  Herbert Voss  <voss@perce.de>
14019
14020         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14021
14022 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14023
14024         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14025         is not available.
14026
14027 2001-10-10  André Pönitz <poenitz@gmx.net>
14028
14029         * lyxfunc.C: removed greek_kb_flag.
14030
14031 2001-10-10  Herbert Voss  <voss@perce.de>
14032
14033         * lyx_main.C: delete global string help_lyxdir.
14034
14035 2001-10-09  Herbert Voss  <voss@perce.de>
14036
14037         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14038
14039         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14040
14041         * lyx_main.C: added global string help_lyxdir.
14042
14043         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14044
14045 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14046
14047         * lyxrc.C (set_font_norm_type): support iso8859-4
14048
14049 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14050
14051         * LaTeX.C (deplog): add another regex for MikTeX
14052
14053 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14054
14055         * lyxrc.C (set_font_norm_type): support iso8859-3
14056
14057 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14058
14059         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14060
14061         * LaTeXFeatures.C: remove special case of french and index
14062
14063         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14064         before \begin{document}). This solves several incompatibilities.
14065
14066 2001-10-03  Garst Reese  <reese@isn.net>
14067
14068         * lyx_cb.C: change CheckTex error msg.
14069
14070 2001-10-03  José Matos  <jamatos@fep.up.pt>
14071
14072         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14073
14074 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * .cvsignore: update
14077
14078         * lyx_main.C (commandLineVersionInfo): use new style version info.
14079
14080         * buffer.C (writeFile):
14081         (makeLaTeXFile):
14082         (makeLinuxDocFile):
14083         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14084
14085         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14086
14087         * version.h: update to use stuff in version.C
14088
14089         * version.C.in: new file. Contains version information determined
14090         at compile time. This is a merging of version.h and
14091         version_info.h.in.
14092
14093 2001-10-03  Juergen Vigna  <jug@sad.it>
14094
14095         * BufferView_pimpl.C (update): don't change "dirty" status in
14096         updateInset call.
14097
14098 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * WorkArea.C (c-tor): re-position version string slightly.
14101
14102 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14103
14104         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14105         revert to previous code.
14106
14107         WorkArea.[Ch]: (show, destroySplash): methods removed.
14108
14109         WorkArea.C: rework code so that it's an amalgam of the codes before and
14110         after the splash screen was moved to WorkArea.
14111
14112 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14113
14114         * lyxrc.C (read):
14115         * vspace.C (inPixels):
14116         (lyx_advance):
14117         * kbmap.C (bind):
14118         * buffer.C (insertStringAsLines):
14119         (asciiParagraph): fix types to be large enough
14120
14121         * lyxlex_pimpl.h: change member status from short to int
14122
14123         * layout.h: fix type of endlabeltype
14124
14125         * kbmap.C (bind):
14126         * kbsequence.C (parse): change return type to string::size_type
14127
14128         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14129         variable
14130
14131         * Bullet.C (bulletSize):
14132         (bulletEntry): do not use short ints as parameters
14133
14134         * BufferView2.C (insertLyXFile): change a char to an int.
14135
14136         * WorkArea.C (WorkArea): remove unneeded floats in computation
14137
14138 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14139
14140         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14141
14142         * paragraph.C (asString): Do not ignore newline/hfill chars when
14143         copying to the clipboard.
14144
14145 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14148         after a multi-line inset.
14149
14150 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14151
14152         * paragraph.C (validate): Set NeedLyXFootnoteCode
14153
14154 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14155
14156         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14157         and decrease-error to decrease.
14158
14159 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14162         it more readable (should be equivalent)
14163
14164 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14165
14166         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14167
14168 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14171         of a cursor (row, etc.) after a character has been deleted
14172         (deleteEmptyParagraphMechanism): call the method above on _all_
14173         cursors held by the LyXText when a double space has been
14174         detected/deleted.
14175
14176 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14177
14178         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14179         pixmap.
14180         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14181
14182         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14183         background. Use greyOut() and the new show() methods to toggle between
14184         the foreground and background. Add code to remove the splash after
14185         its initial showing.
14186
14187         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14188         (create_forms): no longer call Dialogs::showSplash.
14189
14190 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * .cvsignore: add version_info.h
14193
14194 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14195
14196         * version_info.h.in: new file
14197
14198         * Makefile.am: add version_info.h.in
14199
14200         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14201         version_info.h instead of VERSION_INFO
14202
14203 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14206         The ERT inset now returns string().
14207
14208 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14209
14210         * lyxtext.h, text.C (selectNextWord): renamed as
14211         selectNextWordToSpellcheck.
14212
14213         * text.C (selectNextWordToSpellcheck): Modified to not select
14214         words inside an ERT inset.
14215
14216 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14217
14218         * lyx_cb.C (MenuLayoutSave): change a bit the question
14219
14220         * sp_base.h: include <sys/types.h>
14221
14222 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14223
14224         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14225
14226 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14227
14228         * several files: fix typos in user-visible strings
14229
14230 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * text2.C (pasteSelection): do not set the selection, since it
14233         will be cleared later. Actually, the intent was to fix the way the
14234         selection was set, but I figured rmoving the code was just as good.
14235
14236 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14237
14238         * FontLoader.C (available): Check if font is available without
14239         loading the font.
14240
14241 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14242
14243         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14244
14245 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14246
14247         * lyxrc.[Ch]: added display_graphics variable and associated code.
14248
14249 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14250
14251         * bufferparams.C (hasClassDefaults): new method. Returns true if
14252         the buffer parameters correspond to known class defaults
14253
14254 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14255
14256         * XFormsView.C (show): set minimum size to the main window.
14257
14258 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14259
14260         * text2.C (copySelection):
14261         (cutSelection):
14262         * lyxfind.C (LyXReplace):
14263         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14264         LyXText::selectionAsString.
14265
14266         * paragraph.C (asString): add "label" argument to the second form
14267
14268         * text2.C (selectionAsString): add "label" argument and pass it to
14269         Paragraph::asString.
14270
14271 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14272
14273         * lyx_main.C (commandLineHelp): remove version information
14274
14275 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14276
14277         * lyx_main.C: add -version commandline option
14278
14279 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * paragraph.h: make the optional constructor arg required instead.
14282         some modifications to other files because of this.
14283
14284         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14285
14286         * lyxserver.C (C_LyXComm_callback): make it static
14287
14288         * lyx_main.C (error_handler): make it static
14289
14290         * lyx_gui.C (LyX_XErrHandler): make it static
14291
14292         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14293
14294         * WorkArea.C: make the extern "C" methods static.
14295
14296         * Makefile.am (lyx_LDADD): simplify
14297
14298 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14299
14300         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14301         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14302
14303         * LyXAction.C (init):
14304         * lyxfunc.C (dispatch): associated code removal.
14305
14306 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * lyxfont.h (isSymbolFont): shut off warning
14309
14310         * text.C (setHeightOfRow):
14311         (getVisibleRow): fix crash with empty paragraphs which have a
14312         bottom line
14313
14314 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14315
14316         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14317         code.
14318
14319 2001-09-04  José Matos  <jamatos@fep.up.pt>
14320         * buffer.C
14321         * buffer.h
14322         * tabular.C (docbook): rename docBook method to docbook.
14323
14324 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14325
14326         * Makefile.am: add dependencies to main.o.
14327
14328 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14329
14330         * FontLoader.C (available): Return false if !lyxrc.use_gui
14331
14332 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14333
14334         * FontInfo.C (query):
14335         * converter.C (view):
14336         * importer.C (Import):
14337         * exporter.C (Export): Can not -> cannot.
14338
14339 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14340
14341         * BufferView_pimpl.C: allow to create index inset even if
14342           string is empty
14343
14344 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14345
14346         * buffer.C (getLists): replace boost::tie code with an explicit pair
14347         as boost::tie can break some compilers.
14348
14349         * iterators.h: Added a std:: declaration to the return type of
14350         ParIterator::size.
14351
14352 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14353
14354         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14355           case.
14356
14357 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14358
14359         * iterators.[Ch]: New files. Provide paragraph iterators.
14360
14361         * buffer.C (changeLanguage): Use paragraph iterators.
14362         (isMultiLingual): ditto
14363
14364         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14365
14366 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14367
14368         * FontLoader.C: Support for cmr font.
14369
14370 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14371
14372         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14373         (available): New method.
14374
14375         * FontInfo.C (getFontname): Use scalable fonts even when
14376         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14377         found.
14378
14379 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14380
14381         * converter.C (Formats::view): reverted! Incorrect fix.
14382
14383 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14384
14385         * converter.C (Formats::view): only output the -paper option
14386         if the dvi viewer is xdvi, thereby fixing bug #233429.
14387
14388 2001-08-23  Herbert Voss  <voss@perce>
14389
14390         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14391
14392 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14393
14394         * Spacing.h (Spacing): Set space to Default on in the default
14395         constructor.
14396
14397 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14398
14399         * vc-backend.h (RCS::versionString): add RCS to version
14400         (CVS::versionString): add CVS to version
14401
14402         * vc-backend.C (scanMaster): do not add CVS to version.
14403         (scanMaster): do not add RCS to version
14404
14405         * lyxvc.C (versionString): new method
14406
14407         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14408
14409 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14410
14411         * Spacing.C (set): initialize fval
14412
14413 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14416         " or \.
14417
14418 2001-08-16  Juergen Vigna  <jug@sad.it>
14419
14420         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14421
14422 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14423
14424         * BufferView_pimpl.C:
14425         * figureForm.C:
14426         * lyxtext.h:
14427         * text2.C: setParagraph takes linespacing now
14428
14429 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14430
14431         * LyxAction.C: add internal LFUN_CITATION_INSERT
14432
14433         * LyXView.C: actually apply fix
14434
14435         * bufferlist.C: fix open non-existent file
14436
14437         * lyxfind.C: fix indentation
14438
14439         * lyxfunc.C: remove unneeded assert, fix typo
14440
14441 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * MenuBackend.C: use "Floatname List"
14444
14445 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14448         when converting LaTeX layout to insetERT.
14449         Generate a non-collapsed float when reading old float
14450
14451 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14452
14453         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14454         ERT insets.
14455
14456 2001-08-13  Juergen Vigna  <jug@sad.it>
14457
14458         * text.C (fill): return 0 instead of 20 as this seems to be the more
14459         correct value.
14460
14461 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14462
14463         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14464         lyxrc.font_norm.
14465
14466 2001-08-13  Juergen Vigna  <jug@sad.it>
14467
14468         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14469         casesensitive off.
14470         (SearchBackward): comment out the unlocking of the inset_owner this
14471         should not be needed!
14472
14473 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14474
14475         * Many files: Remove inherit_language, and add latex_language
14476
14477         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14478         collapsible insets.
14479
14480 2001-08-10  Juergen Vigna  <jug@sad.it>
14481
14482         * text.C (prepareToPrint): fixed hfill-width in draw!
14483
14484         * BufferView2.C (selectLastWord): save the selection cursor as this
14485         now is cleared in the function LyXText::clearSelection!
14486
14487 2001-08-08  Juergen Vigna  <jug@sad.it>
14488
14489         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14490         BACKSPACE type functions.
14491
14492         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14493         is only cutted from the document but not put in the cut-buffer, where
14494         still the old stuff should be.
14495
14496         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14497
14498         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14499
14500         * tabular.C (SetWidthOfCell): fixed special case where the width
14501         was not updated!
14502         (LeftLine): handle '|' in align_special.
14503         (RightLine): ditto
14504         (LeftAlreadyDrawed): ditto
14505         (SetWidthOfCell): ditto
14506
14507 2001-08-07  Juergen Vigna  <jug@sad.it>
14508
14509         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14510
14511 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14512
14513         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14514         * lyxlex.[hC]: ditto
14515
14516 2001-08-06  Juergen Vigna  <jug@sad.it>
14517
14518         * text.C (getVisibleRow): fix up row clearing a bit.
14519
14520 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14521
14522         * minibuffer.C: make sure the X server sees the changes in the input.
14523
14524 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14525
14526         * paragraph.C (getFont): split into...
14527         (getLabelFont): this
14528         (getLayoutFont): and this
14529         * paragraph_pimpl.C (realizeFont): calling this
14530
14531         * text2.C (getFont): split into...
14532         (getLayoutFont): this
14533         (getLabelFont): and this
14534         (realizeFont): all three calling this
14535
14536         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14537         files where used.
14538
14539 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14540
14541         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14542
14543 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14544
14545         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14546         layouts from the Quote inset insertion.
14547
14548 2001-08-03  Juergen Vigna  <jug@sad.it>
14549
14550         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14551
14552         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14553         only if status not is already CHANGED_IN_DRAW (second level).
14554
14555         * text.C (draw): don't set the need_break_row when inside an
14556         InsetText LyXText.
14557
14558 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * buffer.C (parseSingleLyXformat2Token): handle more latex
14561         conversion cases.
14562
14563         * bufferview_funcs.[hC]: change function names to
14564         begin with small char, adjust other files.
14565
14566 2001-08-02  André Pönitz <poenitz@gmx.net>
14567
14568         * lyxfunc.C:
14569         BufferView_pimpl.C: remove broken special code for math-greek
14570
14571 2001-08-02  Juergen Vigna  <jug@sad.it>
14572
14573         * BufferView_pimpl.C (update): redone this function so that we
14574         update the text again if there was a CHANGE_IN_DRAW.
14575
14576         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14577         (drawFromTo): added a new internal bool which is used by draw() and
14578         redraw() function.
14579         (general): some cursor drawing problems fixed.
14580
14581 2001-08-01  Juergen Vigna  <jug@sad.it>
14582
14583         * lyxfind.C (LyXFind): fixed
14584         (SearchForward): ditto
14585         (SearchBackward): ditto
14586
14587         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14588         spurius drawing of the cursor in the main area.
14589
14590         * text2.C (status): small fix which could lead to a segfault!
14591         (clearSelection): remove unneeded BufferView param.
14592
14593 2001-08-01  André Pönitz <poenitz@gmx.net>
14594
14595         * lyxfunc.C: small change due to changed mathed interface
14596
14597 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14598
14599         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14600
14601 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14602
14603         * lyxfunc.c: fail gracefully if file doesn't exist
14604
14605         * LyXSendto.C:
14606         * buffer.C:
14607         * lyxfunc.C:
14608         * BufferView_pimpl.C: IsDirWriteable() proto changed
14609
14610         * LyXView.C: fix updateWindowTitle() to store the last title
14611
14612 2001-07-31  Juergen Vigna  <jug@sad.it>
14613
14614         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14615         the font (wrong since using of Paragraph::highestFontInRange).
14616
14617         * paragraph.C (highestFontInRange): added a default_size parameter.
14618
14619         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14620         (setHeightOfRow): reformat
14621
14622 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * converter.[hC] + affected files: move to (inital-char)lowercase
14625         function names.
14626
14627         * ParagraphParameters.C (ParagraphParameters): remove commented code
14628
14629         * PainterBase.[Ch]: remove commented code
14630
14631         * LaTeXFeatures.h: add "bool floats" for float.sty
14632
14633         * LaTeXFeatures.C (LaTeXFeatures): init floats
14634         (require): handle float
14635         (getPackages): do it with floats
14636
14637 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * BufferView_pimpl.C (Dispatch): improve handling of
14640         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14641
14642         * commandtags.h: #include lyxfont.h here temporarily to avoid
14643         keybinding bug.
14644
14645         * bufferlist.h: include LString.h here.
14646
14647 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * text2.C (getStringToIndex): new method.
14650
14651 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14652
14653         * *: Reduced header file dependencies all over.
14654
14655 2001-07-30  Baruch Even  <baruch@lyx.org>
14656
14657         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14658
14659 2001-07-29  Baruch Even  <baruch@lyx.org>
14660
14661         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14662
14663 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14664
14665         * ParameterStruct.h (endif): add a default constructor to make
14666         sure that all variables is initialized.
14667
14668         * ParagraphParameters.C (ParagraphParameters): adjust
14669
14670 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14671
14672         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14673         index; also, check that there is something to index, and that it
14674         does not span over several paragraphs.
14675         (doubleClick): use WHOLE_WORD_STRICT for double click.
14676
14677         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14678
14679         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14680         scheme.
14681
14682 2001-07-26  Baruch Even  <baruch@lyx.org>
14683
14684         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14685         an InsetFig figure, backwards compatible reading of old figure code.
14686
14687 2001-07-27  Juergen Vigna  <jug@sad.it>
14688
14689         * text2.C: font.realize function adaption.
14690
14691         * text.C (draw): add a warnings lyxerr text if needed.
14692
14693         * layout.C: font.realize function adaption.
14694
14695         * language.C: add inherit_language and implement it's handlings
14696
14697         * bufferview_funcs.C (StyleReset): remove language parameter from
14698         font creation (should be language_inherit now).
14699
14700         * bufferparams.C (writeFile): handle ignore_language.
14701
14702         * paragraph.C (getFontSettings): the language has to be resolved
14703         otherwise we have problems in LyXFont!
14704
14705         * lyxfont.C (lyxWriteChanges): added document_language parameter
14706         (update): removed unneeded language parameter
14707
14708         * paragraph.C (validate): fixed wrong output of color-package when
14709         using interface colors for certain fonts in certain environments,
14710         which should not seen as that on the final output.
14711
14712 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14713
14714         * BufferView_pimpl.C:
14715         * Thesaurus.h:
14716         * Thesaurus.C:
14717         * Makefile.am:
14718         * commandtags.h:
14719         * LyXAction.C: add thesaurus support
14720
14721         * lyxfind.h:
14722         * lyxfind.C: add "once" parameter, for thesaurus, to not
14723           move to the next match
14724
14725 2001-07-26  Juergen Vigna  <jug@sad.it>
14726
14727         * lyxfont.C (realize): honor ignore_language too!
14728         (resolved): ditto.
14729
14730         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14731
14732         * text.C (draw): one place more for ignore_language to not draw
14733         itself!
14734
14735 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14736
14737         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14738
14739 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14740
14741         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14742         the minipage conversion problem.
14743
14744 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14745
14746         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14747         insert an inset.
14748
14749 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14750
14751         * BufferView.h: don't forward declare WorkArea
14752
14753         * BufferView.C: don't include WorkArea.h
14754
14755 2001-07-25  André Pönitz <poenitz@gmx.net>
14756
14757         * commandtags.h:
14758         * LyXAction.C:
14759         * lyxfunc.C:  new LFUN 'math-space'
14760
14761         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14762
14763 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14764
14765         * text2.C (toggleInset): call open/close
14766
14767 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * lyxfunc.C (dispatch): add debug for the disabled case
14770
14771         * font.C (buttonText): make similar to rectText
14772
14773         * buffer.C (readInset): comment out parsing of insetlist and
14774         insttheorem
14775
14776         * PainterBase.C (rectText): small correction
14777
14778         * BufferView_pimpl.C: comment out insettheorem and insetlist
14779         * LyXAction.C: ditto
14780         * commandtags.h: ditto
14781
14782 2001-07-24  Juergen Vigna  <jug@sad.it>
14783
14784         * text.C (draw): honor the ignore_language.
14785
14786         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14787
14788 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14791         char inset.
14792
14793 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14794
14795         * lyxtext.h: remove unused (and unimplemented) methods
14796
14797 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14798
14799         * text.C (getVisibleRow): honor background color
14800
14801         * PainterBase.h:
14802         * Painter.h: remove default color argument for fillRectangle
14803
14804         * text.C (backgroundColor): new method
14805
14806 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * text.C (getVisibleRow): adjust
14809
14810         * font.[Ch] (rectText): new method, metrics
14811         (buttonText): new method, metrics
14812
14813         * PainterBase.[hC]: make rectText and buttonText always draw and take
14814         fewer paramteres.
14815
14816 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14817
14818         * ToolbarDefaults.C (read):
14819         * MenuBackend.C (read): allow escaping in all strings
14820
14821         * BufferView_pimpl.C (insertAndEditInset): new method.
14822         (Dispatch): use insertAndEditInset whenever appropriate.
14823
14824         * BufferView_pimpl.C (insertNote): removed
14825
14826         * BufferView_pimpl.C (smartQuote): new method, moved from
14827         BufferView; if an insetquote cannot be inserted, insert a '"'
14828         character instead.
14829
14830         * BufferView2.C: remove insertCorrectQuote();
14831
14832         * lyxfunc.C (getStatus): Add support for all remaingin
14833         inset-insert lfuns.
14834
14835         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14836
14837         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14838         command (necessary to pass " as parameter of self-insert.
14839
14840         * text.C (selectWordWhenUnderCursor):
14841         (selectWord): add word_location parameter
14842         (selectWordWhenUnderCursor): same + remove special code for word
14843         boundary.
14844         (selectNextWord): use kind() to guess type of insetspecialchar,
14845         not latex().
14846
14847         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14848         (insertErtContents): create ert insets as collapsed.
14849         (readInset): better compatibility code for Info inset.
14850
14851 2001-07-20  Juergen Vigna  <jug@sad.it>
14852
14853         * lyxfunc.C (dispatch): use always LyXFind now!
14854
14855         * text2.C (init): add a reinit flag so that the LyXText can be
14856         reinited instead of deleted and reallocated (used in InsetText).
14857
14858         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14859
14860         * text.C: ditto
14861
14862         * text2.C: ditto
14863
14864 2001-07-18  Juergen Vigna  <jug@sad.it>
14865
14866         * text.C (selectNextWord): handle insets inside inset by calling
14867         always the bv->text functions so that we can go up the_locking_inset!
14868
14869         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14870         in strange locations when inside an inset!
14871
14872         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14873         handling to include insets.
14874
14875         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14876
14877 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14878
14879         * LyXAction.C (init):
14880         * commandtags.h:
14881         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14882         LIGATURE_BREAK, since the name is so stupid.
14883
14884 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14885
14886         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14887         InsetInfos.
14888
14889         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14890
14891         * sp_form.[Ch]: remove.
14892
14893         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14894
14895         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14896         InsetInfo.
14897
14898         * src/buffer.C (readInset): ditto.
14899
14900 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14901
14902         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14903         menuSeparator(), endOfSentenceDot(), ldots() and
14904         hyphenationPoint(), which are therefore removed.
14905         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14906
14907         * LyXAction.C (init):
14908         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14909
14910         * paragraph.C (getWord): removed.
14911
14912         * BufferView_pimpl.C (Dispatch): use last word or selection for
14913         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14914
14915         * lyx_main.C (queryUserLyXDir): do not ask before creating
14916         user_dir, except if it has been named explicitely.
14917
14918 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14919
14920         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14921         a document of zero size.
14922
14923 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14924
14925         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14926         approriately in the c-tor and in require().
14927         (getPackages): output the appropriate LaTeX for natbib support.
14928
14929         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14930         variables "use_natbib" and "use_numerical_citations" when reading the
14931         LyX file.
14932         (readInset): read the various natbib cite commands.
14933         (validate): white-space change.
14934
14935         * bufferparams.[Ch]: new variables "bool use_natbib" and
14936         "bool use_numerical_citations".
14937         (writeFile): output them in the LyX file.
14938
14939 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14940
14941         * lyxfunc.C (getStatus): add support for all the inset insertion
14942         commands.
14943
14944         * text2.C (insertInset):
14945         * paragraph.C (insetAllowed):
14946         * BufferView_pimpl.C (insertInset): update to take in account the
14947         renaming of insertInsetAllowed
14948
14949         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14950
14951         * text2.C (getInset): new method. returns inset at cursor position.
14952
14953         * BufferView_pimpl.C (Dispatch): changes because of this.
14954
14955         * LyXAction.C (init): rename open-stuff to inset-toggle.
14956
14957         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14958
14959         * text2.C (toggleInset): renamed from openStuff; use
14960         Inset::open().
14961
14962 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14963
14964         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14965
14966         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14967
14968 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14969
14970         * buffer.C (readLyXformat2): Add filename to the error dialog
14971
14972 2001-07-18  Juergen Vigna  <jug@sad.it>
14973
14974         * tabular.C (GetCellNumber): put an assert here instead of the check!
14975
14976 2001-07-17  Juergen Vigna  <jug@sad.it>
14977
14978         * BufferView_pimpl.C (toggleSelection): adapted too.
14979
14980         * text.C (selectNextWord): adapted for use with insets.
14981         (selectSelectedWord): ditto
14982
14983 2001-07-17  Juergen Vigna  <jug@sad.it>
14984
14985         * sp_spell.C (PSpell): fix initialitation order.
14986
14987 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14988
14989         * paragraph.C: spacing
14990
14991 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14992
14993         * sp_spell.C: repair language selection for pspell
14994
14995 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14996
14997         * lyxfunc.h: change more methods to begin with lower char.
14998
14999 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15000
15001         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15002         for unknown layouts.
15003
15004 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15005
15006         * buffer.C (readLyXformat2): Generate an error dialog if there are
15007         unknown layouts.
15008
15009 2001-07-16  Juergen Vigna  <jug@sad.it>
15010
15011         * sp_spell.C: always compile ISpell part.
15012
15013         * lyxrc.C: added use_pspell entry and it's handling.
15014
15015 2001-07-13  Juergen Vigna  <jug@sad.it>
15016
15017         * sp_spell.C: removed double includes.
15018
15019 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15020
15021         Consistent use of Lsstream.h:
15022         * Lsstream.h: added using std::stringstream for consistencies sake.
15023
15024         * buffer.C: removed using std::stringstream
15025
15026         * lyxfont.C (stateText):
15027         * paragraph.C (asString):
15028         * text.C (selectNextWord, selectSelectedWord):
15029         * text2.C (setCounter):
15030         * vspace.C (asString, asLatexString):
15031         std::ostringstream -> ostringstream.
15032
15033 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15034
15035         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15036         * commandtags.h: add LFUN_HELP_ABOUTLYX
15037         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15038
15039 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15040
15041         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15042         cursorToggle()
15043         * lyx_gui_misc.C: remove spellchecker
15044         * lyxfunc.C: showSpellchecker
15045         * sp_base.h: added
15046         * sp_ispell.h: added
15047         * sp_pspell.h: added
15048         * sp_spell.C: added
15049         * sp_form.[Ch]: removed
15050         * spellchecker.[Ch]: removed
15051
15052 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15053
15054         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15055         is set.
15056         (simpleTeXSpecialChars): Simply print the input character without
15057         any special translation if pass_thru is set.
15058
15059         * layout.h: Added bool pass_thru to layout class for being able to
15060         implement pass through of a paragraph for Literate Programming.
15061
15062         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15063         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15064         * layout.C (Read): add "passthru" to list of layout tags and add
15065         code to set the pass_thru boolean when it is read.
15066
15067 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15068
15069         * trans_decl.h: remove allowed from KmodInfo
15070
15071         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15072         remove allowed code
15073         (Load): adjust
15074
15075         * paragraph_pimpl.C (erase): use boost::prior
15076
15077         * Painter.C (text): use data() instead of c_str() when length is
15078         also provided.
15079         * WorkArea.C (putClipboard): ditto
15080         * font.h (width): ditto
15081
15082         * BufferView2.C: use it-> instead of (*it). for iterators
15083         * texrow.C: ditto
15084         * paragraph_pimpl.C: ditto
15085         * paragraph.C: ditto
15086         * minibuffer.C: ditto
15087         * language.C: ditto
15088         * kbmap.C: ditto
15089         * encoding.C: ditto
15090         * counters.C: ditto
15091         * converter.C: ditto
15092         * chset.C: ditto
15093         * Variables.C: ditto
15094         * TextCache.C: ditto
15095         * MenuBackend.C: ditto
15096         * LyXAction.C: ditto
15097         * LColor.C: ditto
15098         * FloatList.C: ditto
15099         * DepTable.C: ditto
15100         * ColorHandler.C (LyXColorHandler): ditto
15101
15102 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15105
15106         * text2.C (openStuff): reintroduce this method (which had been
15107         nuked in NEW_INSETS frenzy).
15108
15109         * lyxfunc.C (Dispatch): when an action has not been handled, use
15110         its name in the error message, not its number.
15111
15112         * paragraph.C (inInset): change method name to begin with lowercase.
15113
15114         * undo_funcs.C:
15115         * text2.C: updates because of this.
15116
15117 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * ToolbarDefaults.C (add): add spaces in error message
15120
15121 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15122
15123         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15124         (readLyXformat2): rename return_par to first_par, use lyxlex's
15125         pushToken and remove the manual push handling.
15126         (parseSingleLyXformat2Token): add another ert comp. variable:
15127         in_tabular, rename return_par to first_par. handle newlines better
15128
15129 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15132
15133 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15134
15135         * text2.C (getParFromID): removed
15136
15137         * buffer.C (getParFromID): new method moved form lyxtext.
15138         * BufferView2.C (insertErrors): adjust
15139         (setCursorFromRow): adjust
15140         * BufferView_pimpl.C (restorePosition): adjust
15141         * lyxfunc.C (Dispatch): adjust
15142         * undo_funcs.C (textUndo): adjust
15143         (textRedo): adjust
15144         (textHandleUndo): adjust
15145         (textHandleUndo): adjust
15146
15147 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * buffer.C: up' the LYX_FORMAT
15150
15151         * lyxfont.h: turn NO_LATEX on as default
15152
15153         * buffer.C (insertErtContents): new methods of tex style compability.
15154         (parseSingleLyXformat2Token): use it several places.
15155         * tabular.C (OldFormatRead): and here
15156
15157 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * text2.C: remove some commented code.
15160         reindent file.
15161
15162         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15163         * trans.C: changes because of the above.
15164
15165 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15166
15167         * text2.C (setCounter): Fix counters bug with bibliography layout.
15168
15169 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15172         own member functions
15173         (simpleTeXSpecialChars): ditto
15174
15175 2001-07-06  Juergen Vigna  <jug@sad.it>
15176
15177         * a lot of files: changed the access to LyXText::status and the
15178         call of undo-functions.
15179
15180         * undo.[Ch]: added a inset_id to the undo informations.
15181
15182         * undo_funcs.[Ch]: added and moved here all undo functions.
15183
15184         * lyxtext.h: give the status enum a weight, made status_ a private
15185         variable and made accessor functions for it, removed the whole bunch
15186         of undo-functions as they are now in their own file, make some
15187         functions publically available. Added function ownerParagraph with
15188         int parameter.
15189
15190         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15191         made InInset() a const function, added getParFromID() function.
15192
15193         * buffer.[Ch]: added const version for inset_iterator functions,
15194         added getInsetFromID() function.
15195
15196         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15197         changed undo functions for new version.
15198
15199 2001-07-05  Juergen Vigna  <jug@sad.it>
15200
15201         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15202         unknow mechanism does not call the proper constructor but only this
15203         one also if I request the other!?
15204
15205 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15208
15209         * text2.C (LyXText): use initialization lists.
15210
15211         * lyxtext.h (Selection): initialize set_ and mark_
15212         (init): remove method
15213
15214 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15217
15218 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15219
15220         * screen.[Ch]: change method names to begin with lowercase
15221
15222         * BufferView_pimpl.C (updateScrollbar): simplify further and
15223         hopefully make it a bit faster.
15224
15225 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15228         calling directly xforms functions.
15229
15230         * Painter.C (Painter):
15231         * lyx_cb.C (MenuWrite):
15232         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15233         fl_display.
15234
15235         * lyx_gui.C: remove bogus guiruntime extern declaration.
15236
15237 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15238
15239         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15240         in NEW_INSETS
15241         (redoDrawingOfParagraph): ditto
15242         (redoParagraphs): ditto
15243         (cutSelection): don't create a object for CutAndPaste use the
15244         static method directly
15245         (pasteSelection): ditto
15246
15247         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15248         LyXview (+ rename)
15249
15250 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15251
15252         * modifications to some other files because of this.
15253
15254         * Makefile.am (lyx_SOURCES): add XFormsView
15255
15256         * XFormsView.[Ch]: new files
15257
15258         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15259         the main window. Move the gui dependent stuff to XFormsView
15260
15261 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * tabular.C (GetCellInset): update cur_cell also in the row/col
15264         version of this function.
15265
15266         * lyxfunc.C: no need to include figure_form.h here.
15267
15268         * FontLoader.h:
15269         * lyxfunc.h:
15270         * lyxscreen.h:
15271         * text2.C:
15272         * lyxvc.C: no need to include forms.h here.
15273
15274 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15277
15278         * lyxfunc.C (Dispatch):
15279         * Spacing.C (set):
15280         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15281         constructor argument.
15282
15283 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15284
15285         * paragraph.C (Paragraph): dont't clear, and just set layout.
15286         (makeSameLayout): use params's copy contructor.
15287
15288         * ParagraphParameters.[Ch] (makeSame): delete method
15289
15290 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15291
15292         * Variables.[Ch]: fix indentation, rename set to isSet
15293
15294 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * lyxfunc.C (Dispatch): fix typo
15297
15298 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15301         upper_bound.
15302
15303         * bufferlist.C: include assert.h for emergencyWrite().
15304
15305 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15306
15307         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15308           give up at last (bug #425202) !
15309
15310 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15311
15312         * lyx_gui_misc.C:
15313         * sp_form.h:
15314         * sp_form.C:
15315         * spellchecker.h:
15316         * spellchecker.C: strip spellchecker options and bring up
15317           preferences tab instead
15318
15319 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15322         the istringstream constructor
15323
15324 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * paragraph.C (getLayout): fix return value
15327
15328         * paragraph.h: do not declare getLayout as inline.
15329
15330         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15331
15332 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15333
15334         * lyxcursor.h (operator<): new func
15335         (operator>): new func
15336         (operator>=): new func
15337         (operator<=): new func
15338
15339         * text.C (changeCase): use selection.start and selection.end
15340         (changeRegionCase): require from to be <= to. Require par to be a
15341         valid paragraph.
15342
15343         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15344
15345 2001-06-27  Juergen Vigna  <jug@sad.it>
15346
15347         * text.C (cursorLeftOneWord): changed to return the cursor and added
15348         overlay with BufferView * parameter which calls this one.
15349         (getWord): added
15350         (selectWord): use new getWord function.
15351         (changeCase): renamed from changeWordCase as and extended to work
15352         also on selections.
15353
15354         * lyxtext.h: added enum word_location
15355
15356         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15357         changeCase as this operates now also on selections.
15358
15359 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15360
15361         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15362
15363         * many files: send debug output to Debug::INFO instead of
15364         Debug::ANY.
15365
15366         * converter.C (View):
15367         (Convert):
15368         (Move): send debug output to Debug::FILES instead of console.
15369
15370 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15371
15372         * lyxfunc.C (getStatus): use func_status
15373
15374         * func_status.h: new header, describing the results of
15375         LyXFunc::getStatus;
15376
15377         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15378         LFUN_MATH_HALIGN.
15379
15380 2001-06-25  The LyX Project  <jug@sad.it>
15381
15382         * buffer.C (sgmlOpenTag):
15383         (sgmlCloseTag):
15384         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15385
15386 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15387
15388         * text2.C: remove some dead code
15389
15390         * tabular.C (GetCellInset): store the last cell checked (gotten)
15391
15392         * tabular.h: add the helper for the speedup
15393
15394         * lyxtext.h: remove some dead code
15395
15396 2001-06-26  The LyX Project  <Asger>
15397
15398         * paragraph.C: Change export to LaTeX of alignment to
15399         \begin{center} and family for better roundtrip work with reLyX.
15400
15401         * Tune the math drawing a bit.
15402
15403 2001-06-25  The LyX Project  <Asger>
15404
15405         * LColor.C (LColor): New color for math background. New color
15406         for buttons.
15407
15408 2001-06-25  The LyX Project  <jug@sad.it>
15409
15410         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15411
15412         * lyxfunc.C (Open):
15413         * bufferlist.C (newFile): do not restrict to files ending with
15414         .lyx
15415
15416         * BufferView_pimpl.C (MenuInsertLyXFile):
15417
15418 2001-06-24  The LyX Project  <jug@sad.it>
15419
15420         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15421         of compare_no_case
15422
15423 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * lyxtext.h: rename most methods to begin with a small char.
15426         Lots of changes because of this.
15427
15428         * paragraph.C (Paragraph): do not call fitToSize
15429         (erase): call Pimpl::erase
15430         (insertChar): call Pimpl::insertChar
15431         (insertInset): call Pipl::insertInset
15432         (breakParagraph): do not call fitToSize
15433         (breakParagraphConservative): do not call fitToSize
15434         (fitToSize): remove method
15435
15436         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15437
15438 2001-06-24  The LyX Project  <Asger>
15439
15440         * Fix Qt compilation^2
15441
15442 2001-06-24  The LyX Project  <jug@sad.it>
15443
15444         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15445         depthHook(getDepth()-1).
15446
15447         * paragraph.h:
15448         * ParagraphParameters.h:
15449         * ParameterStruct.h: change type of depth to unsigned int ==
15450         depth_type. Many adaptations to other files before of that.
15451
15452 2001-06-24  The LyX Project  <Asger>
15453
15454         * Fix Qt compilation.
15455
15456 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15457
15458         * paragraph.h: renamed several methods to begin with small letter.
15459         several changes to many parts of the code because of this.
15460
15461 2001-06-23  The LyX Project  <jug@sad.it>
15462
15463         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15464         rewritten to discard all double spaces when KeepEmpty is off
15465         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15466         to only handle newlines but not fiddle with spaces and friends.
15467
15468         * lyxfunc.C (MenuNew): when doing 'new from template', use
15469         template_path as default directory
15470
15471 2001-06-23  The LyX Project  <Asger>
15472
15473         * Clean-up of header file includes all over
15474         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15475
15476 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15477
15478         * paragraph.h: renamed from lyxparagraph.h
15479
15480 2001-06-23  Asger  <lyx@violet.home.sad.it>
15481
15482         * Buffer.h: Removed Buffer::resize
15483         * BufferList.h: Removed BufferList::resize
15484         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15485         the document lazily when we change the width, or the font settings.
15486
15487 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15488
15489         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15490
15491 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15492
15493         * buffer.h: remove out of date comment
15494
15495 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15496
15497         * lyxscreen.h:
15498         * screen.C: fix "theoretical" GC leak
15499
15500 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15501
15502         * LaTeX.C (scanAuxFile):
15503         (deplog): remove trailing \r when reading stream (useful under
15504         win32)
15505
15506 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15507
15508         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15509         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15510         and BufferView::theLockingInset(Inset*), so should use them and not
15511         access bv_->text->the_locking_inset directly.
15512
15513         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15514
15515 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15516
15517         * Makefile.am:
15518         * tex-defs.h: remove old unused file
15519
15520 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15521
15522         * BufferView_pimpl.C: fix typo, remove minibuffer message
15523           when buffer has loaded
15524
15525 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * lyxfunc.C (Dispatch): use stringstream
15528         (MenuNew): use stringstream
15529         (Open): use stringstream
15530
15531         * importer.C (Import): use stringstream
15532
15533         * bufferview_funcs.C (CurrentState): use stringstream
15534
15535         * LaTeX.C (run): use stringstream
15536
15537         * BufferView_pimpl.C (savePosition): use stringstream
15538         (restorePosition): use stringstream
15539         (MenuInsertLyXFile): use stringstream
15540
15541 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15542
15543         * BufferView.C:
15544         * Bullet.C:
15545         * ColorHandler.C:
15546         * FontInfo.C:
15547         * FontLoader.C:
15548         * LColor.C:
15549         * LaTeXFeatures.C:
15550         * Painter.C:
15551         * gettext.C:
15552         * lyx_gui_misc.C:
15553         * lyxserver.C:
15554         * vspace.C: removed // -*- C++ -*- as first line.
15555
15556         * lyxfind.h:
15557         * version.h: added // -*- C++ -*- as first line.
15558
15559 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15560
15561         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15562
15563         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15564         of string
15565
15566 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15567
15568         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15569         of floats.
15570
15571 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * gettext.C: include LString.h even when --disable-nls is on.
15574
15575 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15576
15577         * converter.h (Get): changed argument type from int to
15578         FormatList::size_type to avoid unnecessary conversion.
15579
15580         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15581         before using it.
15582
15583 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15584
15585         * gettext.h: include LString.h even when --disable-nls is on.
15586
15587 2001-06-07  Juergen Vigna  <jug@sad.it>
15588
15589         * text.C (BreakAgain): subst spaces with tabs.
15590
15591         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15592         (resizeInsetsLyXText): set force on resizeLyXText.
15593
15594 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * gettext.h (gettext_init):
15597         (locale_init): use a real definition instead of a macro
15598
15599 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15600
15601         * Bufferview_pimpl.C:
15602         * LColor.h:
15603         * LColor.C: further lcolor tidies
15604
15605 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15606
15607         * BufferView_pimpl.C (updateScrollbar): simplify.
15608
15609         * BufferView2.C: don't include insets/insetinfo.h, change
15610         prototype for insertInset and call the Pimpl version. let
15611         updateInset call Pimpl version.
15612
15613         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15614         gotoInset to BufferView::Pimpl
15615
15616 2001-06-01  Juergen Vigna  <jug@sad.it>
15617
15618         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15619         inside a LockingInset (is the update needed at all?).
15620
15621 2001-05-31  Juergen Vigna  <jug@sad.it>
15622
15623         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15624         here not the old one otherwise how should we compare it afterwards
15625         if it's the same!
15626
15627 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15628
15629         * lyxfont.C:
15630         * tabular.C:
15631         * tabular-old.C:
15632         * FontInfo.C: bring C functions into global namespace when
15633         necessary
15634
15635 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * LString.h: make sure config.h has been loaded before LString.h.
15638
15639         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15640         (one for each char read by EatLine!).
15641
15642         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15643         variables.
15644
15645 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15646
15647         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15648         to the same as the par we break from
15649
15650 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15651
15652         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15653
15654         * MenuBackend.C (expand): also create menu entries for wide
15655         versions of the floats.
15656
15657         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15658
15659         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15660
15661         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15662         frontends/Makefile.am
15663
15664         * text2.C: adjust
15665         * text.C: adjust
15666
15667
15668         * tabular.C (getTokenValue): add std::
15669
15670         * tabular-old.C (getTokenValue): add std::
15671         (getTokenValue): ditto
15672         (getTokenValue): ditto
15673
15674         * screen.C (ToggleSelection): adjust
15675
15676         * lyxtext.h: put selection cursors inside a Selection struct.
15677
15678         * lyxfunc.C (moveCursorUpdate): adjust
15679
15680         * lyxfont.C (latexWriteStartChanges): add std::
15681
15682         * lyxfind.C: adjust
15683
15684         * font.h: delete with(char const *, LyXFont const &)
15685
15686         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15687
15688         * FontInfo.C (getFontname): add std::
15689
15690         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15691         (workAreaButtonPress): adjust
15692         (tripleClick): adjust
15693         (update): adjust
15694         (moveCursorUpdate): adjust
15695         (Dispatch): adjust
15696
15697         * BufferView2.C (gotoInset): adjust
15698
15699 2001-05-30  Juergen Vigna  <jug@sad.it>
15700
15701         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15702         to check pspell I add this as default as I now have new pspell
15703         libraries and they seem to use this.
15704
15705 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15706
15707         * text2.C (CutSelection): make the cursor valid before the call to
15708         ClearSelection.
15709
15710 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15711
15712         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15713         relied on 0 terminated strings and other horrors. Bug found due to
15714         the new assert in lyxstring!
15715
15716         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15717         KP_ keys.
15718
15719 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15720
15721         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15722         to latinkeys.bind.
15723
15724         * lyxfunc.C (processKeySym): change method of getting to the
15725         self-insert char.
15726
15727         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15728         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15729         * BufferView_pimpl.[Ch]: here as private methods.
15730
15731 2001-05-28  Juergen Vigna  <jug@sad.it>
15732
15733         * text.C (SetHeightOfRow): added the update() call again as it is
15734         needed to initialize inset dimensions!
15735
15736 2001-05-16  Juergen Vigna  <jug@sad.it>
15737
15738         * text2.C (SetCharFont): Add new function with BufferView * and
15739         bool toggleall parameters for setting insets internal fonts.
15740         (SetFont): Freeze the undo as we may change fonts in Insets and
15741         all this change should be inside only one Undo!
15742
15743         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15744         setting font's in insets as for them we have the SetFont function!
15745
15746 2001-05-15  Juergen Vigna  <jug@sad.it>
15747
15748         * text2.C (ClearSelection): to be sure we REALLY don't have any
15749         selection anymore!
15750
15751         * tabular.C (TeXCellPreamble): fixed the left border problem for
15752         multicolumn cells.
15753
15754 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15755
15756         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15757         dependancy file
15758
15759 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15760
15761         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15762         LFUN_BREAKPARAGRAPH.
15763
15764         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15765         help test to "internal only", similar for LFUN_INSERT_URL
15766
15767         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15768         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15769         auto_region_delete and deadkeys.
15770
15771 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15772
15773         * LColor.h:
15774         * LColor.C: remove some dead entries, tidy a little
15775
15776 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15777
15778         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15779         commented code.
15780         (Dispatch): implement LFUN_ESCAPE
15781
15782         * commandtags.h: add LFUN_ESCAPE
15783
15784         * LyXAction.C (init): add entry for LFUN_ESCAPE
15785
15786         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15787         Remove commented code.
15788         (insertNote): moved here
15789         (open_new_inset): moved here
15790
15791         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15792         BufferView_pimpl
15793
15794 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * kbmap.C (findbinding): clean it up and make it work correctly.
15797
15798         * lyx_main.C (init): do not pass argc and argv as parameters
15799
15800 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15801
15802         * buffer.C: fix path for OS/2 & Win32
15803
15804         * lyx_gui.C:
15805         * lyx_main:
15806         * lyx_main.C: Added os:: class.
15807
15808         * os2_defines.h: update
15809
15810 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15811
15812         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15813         better by trying again with reduced state.
15814
15815 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15816
15817         * lyxrc.C (read): print error about invalid key sequence only when
15818         debugging (because not all latinX keysyms are known to some X
15819         servers)
15820
15821         * kbsequence.C (getiso): add a few std:: qualifiers
15822         (getiso): comment out extra return statement.
15823
15824 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15825
15826         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15827         handling.
15828         (Dispatch): enhance the accent inset a bit. (not perfect)
15829
15830 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15831
15832         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15833
15834 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15835
15836         * bufferlist.C (emergencyWrite): fix assert() call
15837
15838 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15839
15840         * text.C (InsertChar): Added trivial patch to only send the "you
15841         can not do multiple spaces this way" message once during a
15842         session.
15843
15844 2001-05-08  Baruch Even  <baruch@lyx.org>
15845
15846         * Makefile.am: Changed order of libraries to get LyX to link properly
15847         with the gnome frontend.
15848
15849 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15850
15851         * LaTeXFeatures.h: add a std:: qualifier
15852
15853 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15854
15855         * paragraph.C (String): use stringstream
15856
15857 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15858
15859         * paragraph.C (writeFile): remove footflag arg
15860
15861         * buffer.C (makeLaTeXFile): use stringstream
15862         (latexParagraphs): remove footnot gurba
15863
15864         * LaTeXFeatures.C (getPackages): use stringstream
15865         (getMacros): likewise
15866         (getTClassPreamble): likewise
15867         (getFloatDefinitions): new method
15868
15869         * paragraph.C (writeFile): reindent
15870         (Erase): reindent
15871
15872         * WorkArea.h: revert the xpos + etc changes.
15873
15874         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15875
15876         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15877
15878         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15879         (pasteSelection): likewise
15880         * text2.C (CreateUndo): likewise
15881
15882 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15883
15884         * minibuffer.C (peek_event): temporarily reduce the functionality
15885         of the minibuffer (to allow args on lfuns)
15886
15887         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15888         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15889
15890         * buffer.C (readInset): add compability reading of old float
15891         lists, add reading of new style float list.
15892         (readInset): avoid reevaluation of inscmd.getCmdName()
15893         (getLists): reindent
15894
15895         * MenuBackend.C (MenuItem): implement parsing of
15896         md_floatlistinsert and md_floatinsert.
15897         (expand::LastFiles): move initalizaton of iterators out of loop,
15898         avoid reevaluation.
15899         (expand::Documents): introduce typdedef vector<string> Strings,
15900         and use it.
15901         (expand::ExportFormats): introduce typedef vector<Format const *>
15902         Formats, and use it.
15903         (expand): implement FloatListInsert and FloatInsert.
15904
15905         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15906         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15907         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15908
15909         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15910         handling.
15911         (Dispatch::LFUN_FLOAT_LIST): implement
15912
15913 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15914
15915         * LaTeX.C (run): Fix problem with --export code.
15916
15917 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15918
15919         * BufferView.[Ch] (workarea): removed.
15920         (getClipboard) new method; wrapper for workarea()->getClipboard()
15921
15922         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15923         bug.
15924
15925         * WorkArea.h (width, height, xpos, ypos): These methods all
15926         returned the dimensions of the work_area sub-area of WorkArea,
15927         resulting in a position error if the WorkArea were resized. Now
15928         return the dimensions of the entire WorkArea.
15929
15930         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15931
15932 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15933
15934         * LaTeX.C (deplog): correct the syntax of regex reg1
15935
15936 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * undo.C: remove !NEW_INSETS cruft
15939
15940 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15941
15942         * text2.C: remove !NEW_INSETS cruft
15943
15944         * text.C: remove !NEW_INSETS cruft
15945
15946         * tabular.C: remove !NEW_INSETS cruft
15947
15948         * spellchecker.C: remove !NEW_INSETS cruft
15949
15950         * lyxtext.h: remove !NEW_INSETS cruft
15951
15952         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15953
15954         * lyxfunc.C: remove !NEW_INSETS cruft
15955
15956         * lyxfind.C: remove !NEW_INSETS cruft
15957
15958         * lyx_cb.C: remove !NEW_INSETS cruft
15959
15960         * figureForm.C: remove  !NEW_INSETS cruft
15961
15962         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15963
15964         * buffer.[Ch]: remove !NEW_INSETS cruft
15965
15966         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15967
15968         * CutAndPaste.C: remove !NEW_INSETS cruft
15969
15970         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15971
15972         * BufferView2.C: remove !NEW_INSETS cruft
15973
15974         * BufferView.h: remove !NEW_INSETS cruft
15975
15976 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15977
15978         * Lsstream.h: include LString.h before the sstream headers to
15979         fix problem with gcc 2.95.3 and lyxstring
15980
15981 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15982
15983         * lyx_main.C: add using directives when needed for C functions
15984         declared in std:: namespace.
15985
15986 2001-04-27  Juergen Vigna  <jug@sad.it>
15987
15988         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15989         (SetHeightOfRow): comment out the update call should not be needed!
15990
15991 2001-04-13  Juergen Vigna  <jug@sad.it>
15992
15993         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15994         (LyXTabular): tried to minimize operator= operations (and realized
15995         hopfully Lars wish).
15996
15997 2001-04-27  Juergen Vigna  <jug@sad.it>
15998
15999         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16000
16001 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16002
16003         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16004
16005         * buffer.C (readInset): hack to make listof algorithm work
16006
16007         * BufferView_pimpl.C: hack to make listof algorithm work
16008
16009 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16010
16011         * LyXAction.C: removed all !NEW_INSETS cruft
16012         (init): moved lfun_item in method
16013
16014         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16015
16016 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16017
16018         * BufferView2.C (theLockingInset): white space.
16019
16020 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16021
16022         * minibuffer.C: include <iostream>
16023
16024         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16025
16026         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16027
16028         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16029
16030         * text.[Ch] (TransposeChars): new method
16031
16032 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16033
16034         * call message directly through LyXView instead of through LyXFunc
16035         * BufferView2.C: adjust
16036         * BufferView_pimpl.C: adjust
16037         * FontLoader.C: adjust
16038         * buffer.C: adjust
16039         * bufferview_funcs.C: adjust
16040         * converter.C: adjust
16041         * figureForm.C: adjust
16042         * importer.C: adjust
16043         * lyx_cb.C: adjust
16044         * lyx_gui_misc.C: adjust
16045         * lyxfunc.C: adjust
16046         * lyxvc.C: adjust
16047         * text2.C: adjust
16048         + more files in subdirs
16049
16050         * lyxparagraph.h (size): move up int file
16051         (GetLayout): ditto
16052
16053         * adjust all uses of Assert to lyx::Assert.
16054
16055         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16056         lyxfunctional in namespace lyx
16057         * layout.C (hasLayout): ditto
16058         (GetLayout): ditto
16059         (GetLayout): ditto
16060         (delete_layout): ditto
16061         (NumberOfClass): ditto
16062         * converter.C (GetFormat): ditto
16063         (GetNumber): ditto
16064         (Add): ditto
16065         (Delete): ditto
16066         (SetViewer): ditto
16067         * bufferlist.C (getFileNames): ditto
16068         (emergencyWriteAll): ditto
16069         (exists): ditto
16070         (getBuffer): ditto
16071         * MenuBackend.C (hasSubmenu): ditto
16072         (hasMenu): ditto
16073         (getMenu): ditto
16074         * BufferView_pimpl.C (getInsetByCode): ditto
16075
16076 2001-04-18  Juergen Vigna  <jug@sad.it>
16077
16078         * vspace.C (asLatexString): fixed the 100% problem.
16079
16080 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16081
16082         * lyxfunc.C (Dispatch):
16083         * minibuffer.C:
16084         * minibuffer.h: add a few std:: qualifiers
16085
16086 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16087
16088         * minibuffer.[Ch]: reimplement so that commands is initiated and
16089         run from lyxfunc, simplified som handling, and made the completion
16090         and history code for complete. wip.
16091
16092         * lyxfunc.C (processKeySym): call message
16093         (miniDispatch): new temporary method
16094         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16095         (LFUN_MESSAGE): implement
16096         (LFUN_MESSAGE_PUSH): implement
16097         (LFUN_MESSAGE_POP): implement
16098         (initMiniBuffer): the initial/defualt minibuffer message.
16099
16100         * lyxfont.[Ch]: inline some more getters
16101
16102         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16103
16104         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16105
16106         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16107         (AutoSave): use LFUN_MESSAGE
16108         (Reconfigure): ditto
16109
16110         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16111
16112         * figureForm.C: use LFUN_MESSAGE
16113
16114         * converter.C (runLaTeX): use LFUN_MESSAGE
16115
16116         * bufferview_funcs.C: use LFUN_MESSAGE
16117         (Melt): ditto
16118         (changeDepth): ditto
16119
16120         * bufferparams.h: use boost::
16121
16122         * bufferlist.h: inherit privately from noncopyable
16123
16124         * bufferlist.C (loadLyXFile): remove some commented code.
16125
16126         * buffer.C (runChktex): use LFUN_MESSAGE
16127
16128         * ShareContainer.h: inherit privately from noncopyable
16129
16130         * ParagraphParameters.[hC] (depth): inline it.
16131
16132         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16133         methods.
16134         (message): new method
16135         (messagePush): ditto
16136         (messagePop): ditto
16137         (show): init minibuffer
16138         (showState): direct call
16139
16140         * LaTeX.[Ch]: inherit privately from noncopyable
16141         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16142         instead of WriteStatus.
16143
16144         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16145
16146         * BufferView_pimpl.C (buffer): don't init minibuffer
16147         (workAreaButtonPress): use LFUN_MESSAGE
16148         (workAreaButtonRelease): ditto
16149         (savePosition): ditto
16150         (restorePosition): ditto
16151         (MenuInsertLyXFile): ditto
16152         (workAreaExpose): don't init minibuffer
16153         (update): remove commented code, simplify
16154
16155         * BufferView2.C (openStuff): use LFUN_MESSAGE
16156         (toggleFloat): ditto
16157         (menuUndo): ditto
16158         (menuRedo): ditto
16159         (copyEnvironment): ditto
16160         (pasteEnvironment): ditto
16161         (copy): ditto
16162         (cut): ditto
16163         (paste): ditto
16164         (gotoInset): ditto
16165         (updateInset): remove some commented code
16166
16167         * lastfiles.h: inherit privately from noncopyable
16168         * layout.h: ditto
16169         * lyx_gui.h: ditto
16170         * lyx_main.h: ditto
16171         * lyxlex.h: ditto
16172         * lyxlex_pimpl.h: ditto
16173
16174         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16175         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16176         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16177
16178         * LyXAction.h: inherit privately from noncopyable, add methods
16179         func_begin, func_end, returning iterators to the func map.
16180
16181         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16182         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16183         (func_begin): new method
16184         (func_end): new method
16185
16186         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16187         and not)
16188         (copySelection): ditto
16189         (pasteSelection): ditto
16190
16191         * BufferView.C: whitespace change
16192         * BufferView.h: inherit privately from noncopyable
16193
16194 2001-04-16  Allan Rae  <rae@lyx.org>
16195
16196         * tabular-old.C (l_getline):
16197         * spellchecker.C (sc_check_word):
16198         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16199         an unrecognised preprocessor directive.  So ensure they're wrapped.
16200
16201 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16202
16203         * src/exporter.C (Export): Give an error message when path to file
16204         contains spaces.
16205
16206 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16207
16208         * LaTeX.C (deplog): Always check that foundfile exists.
16209
16210 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16211
16212         * lyx_main.h:
16213         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16214
16215 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16216
16217         * tabular.[Ch] (getLabelList): implement new method
16218
16219         * minibuffer.h: comment ouf setTiimer
16220
16221         * minibuffer.C (ExecutingCB): constify res
16222         (peek_event): constify s
16223         (Set): constify ntext
16224         (Init): constify nicename
16225
16226         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16227
16228         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16229         (savePosition): use two params to Minibuffer::Set
16230         (restorePosition): ditto
16231
16232 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16233
16234         * lyx_main.C: include language.h
16235
16236         * Makefile.am (lyx_main.o): add language.h
16237
16238 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16239
16240         * exporter.C:
16241         * paragraph.C:
16242         * screen.C:
16243         * tabular.C:
16244         * CutAndPaste.C: include gettext.h
16245
16246         * lyxfont.h: remove old hack with ON and OFF.
16247
16248         * lyxparagraph.h:
16249         * lyxfont.h: do not include language.h...
16250
16251         * BufferView2.C:
16252         * LaTeXFeatures.C:
16253         * Painter.C:
16254         * bufferview_funcs.C:
16255         * font.C:
16256         * lyxfont.C:
16257         * text.C:
16258         * text2.C:
16259         * trans_mgr.C:
16260         * paragraph.C: ... but do it here instead
16261
16262 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16263
16264         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16265
16266         * tabular.C: small reformat
16267
16268         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16269         NEW_INSETS version
16270         (GetChar): ditto
16271         (BreakParagraph): ditto
16272         (SetOnlyLayout): ditto
16273         (SetLayout): ditto
16274
16275         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16276         with one arg less.
16277
16278         * lastfiles.C: removed most using decl, add std:: where needed
16279
16280         * buffer.C: ws changes
16281
16282         * MenuBackend.C (class compare_format): put into anon namespace
16283         (expand): constify label, names, action, action2
16284         (expand):
16285
16286         * text.C (SingleWidth): constify font
16287         (IsBoundary): constify rtl2
16288         (GetVisibleRow): constify ww
16289
16290         * LaTeX.C (deplog): constify logfile
16291
16292         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16293         start_x, end_x
16294         (workAreaExpose): constify widthChange, heightChange
16295
16296         * lyxrow.C (par): moved
16297         (height): moved
16298         (next): moved
16299         * lyxrow.h: as inlines here
16300
16301         * lyxfont.h (shape): moved from lyxfont.C
16302         (emph): moved from lyxfont.C
16303
16304         * lyxfont.C (LyXFont): use initialization list for all
16305         constructors
16306         (shape): move to lyxfont.h as inline
16307         (emph): move to lyxfont.h as inline
16308
16309
16310 2001-04-04  Juergen Vigna  <jug@sad.it>
16311
16312         * vspace.C: had to include stdio.h for use of sscanf
16313
16314 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16315
16316         * BufferView.h:
16317         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16318         independent of xforms.
16319
16320 2001-04-02  Juergen Vigna  <jug@sad.it>
16321
16322         * spellchecker.C: fixed namespace placing!
16323
16324 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16325
16326         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16327         the LyXParagraph * is 0.
16328
16329 2001-03-29  Juergen Vigna  <jug@sad.it>
16330
16331         * vspace.C: added support for %, c%, p%, l%.
16332         (stringFromUnit): added helper function.
16333         (asLatexString): changed to give right results for the %-values.
16334
16335         * buffer.C: convert the widthp in a width%.
16336
16337 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16338
16339         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16340         figureForm.[Ch].
16341
16342         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16343         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16344
16345         * lyx_cb.[Ch]: see above.
16346
16347         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16348         form1.[Ch].
16349
16350         * form1.[Ch]:
16351         * lyx.[Ch]: replaced by figure_form.[Ch].
16352
16353         * lyx_gui.C:
16354         * lyx_gui_misc.C:
16355         * lyxfunc.C: changed headers associated with above changes.
16356
16357 2001-03-27  Juergen Vigna  <jug@sad.it>
16358
16359         * BufferView_pimpl.C: set the temporary cursor right!
16360
16361 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16362
16363         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16364
16365 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16366
16367         * LString.h: removed "using std::getline"!
16368
16369         * BufferView_pimpl.C (Dispatch): changes due to changes in
16370         InsetInclude::Params.
16371
16372         * buffer.C (tag_name): removed redundant break statements as they were
16373         producing lots of warnings with my compiler.
16374
16375 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * LString.h: add "using std::getline" when using the real <string>.
16378
16379 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16380
16381         * buffer.C: removed bitset usage.
16382         PAR_TAG moved to an anonymous name space.
16383         (tag_name): new funtion, also in the anonymous namespace.
16384         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16385         (makeDocBookFile): clean code. Completed transition from string arrays
16386         to string vectors.
16387         (SimpleDocBookOnePar): code clean.
16388
16389 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16390
16391         * tabular.C: add some comments.
16392
16393 2001-03-22  Juergen Vigna  <jug@sad.it>
16394
16395         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16396         compatibility read a bit and fixed bug with minipage in different
16397         depth.
16398
16399 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16400
16401         * buffer.C (pop_tag): removed.
16402         (push_tag): removed.
16403         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16404         array replaced with vector. Added support for CDATA sections.
16405         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16406         at any nest level.
16407         (makeDocBookFile): XML conformant declaration of CDATA section,
16408         fixed bug related to <emphasis> in the first paragraph char.
16409         (sgmlOpenTag): exclude empty tags.
16410         (sgmlCloseTag): ditto.
16411
16412         * buffer.h (pop_tag): removed.
16413         (push_tag): removed.
16414
16415 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16416
16417         * language.h (Languages): added size_type and size().
16418
16419 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16420
16421         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16422         response on compability reading of minipages. One probliem is that
16423         the old usage of minipages was «flertydig»
16424
16425         * several files here and in subdirs: don't use static at file
16426         scope use anon namespaces instead.
16427
16428 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16429
16430         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16431         LaTeX output. This is necessary for Literate document
16432         processing.
16433
16434 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16435
16436         * buffer.C: insert hfill when needed.
16437
16438         * tabular.C (l_getline): use string::erase, small whitespace change.
16439
16440         * BufferView_pimpl.C: try the anon namespace.
16441         * WorkArea.C: ditto
16442
16443 2001-03-16  Juergen Vigna  <jug@sad.it>
16444
16445         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16446         otherwise it won't open options-dialogs.
16447
16448         * buffer.C: honor pextraWidth(p) on converting minipages.
16449
16450         * tabular.C (l_getline): changed the functions to strip trailing \r.
16451
16452 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16453
16454         * BufferView_pimpl.C:
16455         * minibuffer..C: added "using SigC::slot" declaration.
16456
16457 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16458
16459         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16460
16461         * text2.C: ditto
16462
16463         * text.C: ditto
16464
16465         * paragraph.C: ditto
16466
16467         * lyxtext.h: NO_PEXTRA
16468
16469         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16470
16471         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16472         * ParameterStruct.h: ditto
16473         * ParagraphParameters.h: ditto
16474         * lyxparagraph.h: ditto
16475
16476 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16477
16478         * buffer.C: add compability for minipage alignment.
16479         (latexParagraphs): remove unwanted pextra check.
16480
16481         * several files: remove CXX_WORKING_NAMESPACES
16482
16483         * buffer.C (pop_tag): tie is in namespace boost
16484
16485         * BufferView.h: noncopyable is in namespace boost
16486         * lyxlex.h: ditto
16487         * lyx_main.h: ditto
16488         * lyx_gui.h: ditto
16489         * layout.h: ditto
16490         * lastfiles.h: ditto
16491         * bufferlist.h: ditto
16492         * ShareContainer.h: ditto
16493         * LyXView.h: ditto
16494         * LyXAction.h: ditto
16495         * LaTeX.h: ditto
16496
16497 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16498
16499         * Merging changes from BRANCH_MVC back into HEAD.
16500
16501         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16502
16503 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16504
16505         * BufferView_pimpl.C: change from intl.C
16506
16507         * combox.h:
16508         * combox.C:
16509         * Makefile.am: move combox.*
16510
16511         * form1.h:
16512         * form1.C:
16513         * lyx_gui.C:
16514         * intl.h:
16515         * intl.C: remove dialog (covered by prefs)
16516
16517 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16518
16519         * lyxfunc.C (Dispatch): removed redundant break statement.
16520
16521 2001-03-14  Juergen Vigna  <jug@sad.it>
16522
16523         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16524
16525 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16526
16527         * buffer.C: add hack to fix compability reading of minipages.
16528
16529 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16530
16531         * buffer.C (getLists): Cleanup.
16532
16533 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16534
16535         * lyxfont.C (update): don't honor toggleall on font size.
16536
16537 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16538
16539         * bmtable.c:
16540         * bmtable.h:
16541         * Makefile.am: moved to frontends/xforms/
16542
16543         * lyx_gui_misc.C:
16544         * lyxfunc.C:
16545         * BufferView_pimpl.C: changes for moved mathpanel
16546
16547 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16548
16549         * gettext.h: fix gettext_init() in --disable-nls
16550
16551 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16554
16555 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16556
16557         * lyx.C:
16558         * lyx.h: strip external form
16559
16560 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16561
16562         * BufferView_pimpl.C: add comment, destroySplash()
16563
16564 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16565
16566         * BufferView_pimpl.C:
16567         * LyXAction.C:
16568         * buffer.C:
16569         * commandtags.h:
16570         * lyxfunc.C: use re-worked insetinclude
16571
16572 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16573
16574         * buffer.C: add using std::stringstream.
16575
16576         * lyx_cb.C: readd using std::ios.
16577
16578         * buffer.C: add using std::map.
16579
16580         * BufferView_pimpl.C: add using std::vector.
16581
16582         * ShareContainer.h: add std:: to swap.
16583
16584         * buffer.h: add some typedefs
16585         * buffer.C (getLists): use them
16586         (getLists): renamed from getTocList.
16587         add a counter for the different float types and use it in the
16588         generated string.
16589         (getLists): use the same counter for the NEW_INSETS and the "non"
16590         NEW_INSETS
16591
16592         * lyx_cb.h: remove unused items, includes, using etc.
16593
16594         * ShareContainer.h: remove some commented code, add more comments
16595         and "documentation".
16596
16597 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16598
16599         * buffer.C (getTocList): make the list also when NEW_INSETS is
16600         defined.
16601
16602         * buffer.h: remove TocType
16603
16604         * buffer.C (getTocList): change to return a map<string,
16605         vector<TocItem> >, implement for dynamic number of list.
16606
16607         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16608         * text2.C (PasteSelection): adjust
16609         * CutAndPaste.C (pasteSelection): adjust
16610
16611         * FloatList.C (FloatList): update from the new_insets branch.
16612         * Floating.[Ch]: ditto
16613         * LaTeXFeatures.C: ditto
16614         * buffer.C: ditto
16615         * lyxlex_pimpl.C: ditto
16616
16617         * paragraph.C (Last): remove when NEW_INSETS is defined.
16618
16619         * other file: changes because of the above.
16620
16621 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16622
16623         * lyxparagraph.h: rename next to next_, previous to previous_,
16624         make them private for NEW_INSETS. Rename Next() to next(),
16625         Previous() to previous().
16626
16627         * other files: changes because of the above.
16628
16629 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16630
16631         * BufferView.h:
16632         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16633         problem.
16634
16635 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16636
16637         * main.C (main): pass lyx_localedir to gettext_init().
16638
16639         * gettext.h: remove locale_init and gettext_init macros
16640
16641         * gettext.C (locale_init): new function
16642         (gettext_init): new function
16643
16644         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16645         setlocale().
16646
16647 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16648
16649         * Moved credits to frontends:
16650         * credits.[Ch]: removed
16651         * credits_form.[Ch]: removed
16652         * lyx_gui_misc.C: remove credits stuff
16653         * Makefile.am:
16654
16655 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16656
16657         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16658
16659         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16660         unneeded destructor.
16661
16662         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16663         a standalone pointer again.
16664
16665         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16666
16667 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16668
16669         * Makefile.am:
16670         * filedlg.h:
16671         * filedlg.C:
16672         * LyXAction.C:
16673         * ToolbarDefaults.C:
16674         * bufferlist.C:
16675         * commandtags.h:
16676         * form1.C:
16677         * form1.h:
16678         * lyx_cb.C:
16679         * lyx_cb.h:
16680         * lyxfunc.h:
16681         * lyxfunc.C:
16682         * BufferView_pimpl.C: use new file dialog in GUII
16683
16684         * lyx_cb.h:
16685         * lyx_cb.C: remove LayoutsCB to Toolbar
16686
16687 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16688
16689         * ShareContainer.h (get): add std:: qualifier
16690
16691 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16692
16693         * ShareContainer.h: define a proper ShareContainer::value_type
16694         type (and use typename to please compaq cxx)
16695
16696 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16697
16698         * lyxparagraph.h: move serveral local vars to
16699         ParameterStruct/ParagraphParameters., use ShareContainer in
16700         FontTable., make vars in FontTable private and add getter and
16701         setter.
16702
16703         * paragraph.C: changes because of the above.
16704
16705         * lyxfont.h: remove copy constructor and copy assignment. (the
16706         default ones is ok), move number inside FontBits. move inlines to
16707         lyxfont.C
16708
16709         * lyxfont.C: add number to initializaton of statics, move several
16710         inlines here. constify several local vars. some whitespace
16711         cleanup. Dont hide outerscope variables.
16712
16713         * Spacing.h: add two new constructors to match the set methods.
16714
16715         * ShareContainer.h: new file, will perhaps be moved to support
16716
16717         * ParameterStruct.h: new file
16718
16719         * ParagraphParameters.h: new file
16720
16721         * ParagraphParameters.C: new file
16722
16723         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16724         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16725
16726         * BufferView_pimpl.C: ParagraphParameter changes.
16727         * buffer.C: Likewise.
16728         * bufferview_funcs.C: Likewise.
16729         * text.C: Likewise.
16730         * text2.C: Likewise.
16731
16732 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16733
16734         * lyxfind.C (LyXReplace): do not redefine default argument in
16735         implementation.
16736         (IsStringInText): ditto
16737         (SearchForward): ditto
16738         (SearchBackward): ditto
16739
16740 2001-03-06  Juergen Vigna  <jug@sad.it>
16741
16742         * lyxfind.C (IsStringInText): put parentes around expressions.
16743
16744 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16745
16746         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16747
16748 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16749
16750         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16751
16752         * stl_string_fwd.h: add comment
16753
16754         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16755
16756         * tabular.h:
16757         * tabular.C: remove unused DocBook methods
16758
16759         * intl.C:
16760         * language.C:
16761         * paragraph.C:
16762         * buffer.C:
16763         killed DO_USE_DEFAULT_LANGUAGE
16764
16765 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16766
16767         * lyx_gui.C: do not include language.h.
16768
16769         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16770         arguments in function implementation.
16771
16772 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16773
16774         * BufferView_pimpl.C: add <ctime>
16775
16776 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16777
16778         * BufferView_pimpl.C: add using std::find_if
16779
16780 2001-02-27  José Matos  <jamatos@fep.up.pt>
16781
16782         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16783         by OnlyPath.
16784
16785 2001-02-11  José Matos  <jamatos@fep.up.pt>
16786
16787         * buffer.C (makeDocBookFile): command styles now have a parameter as
16788         "title" by default.
16789
16790 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16791
16792         * layout_forms.[Ch]: removed
16793         * lyx_cb.[Ch]: out character
16794         * lyx_gui.C: out character
16795         * lyx_gui_misc.C: out character
16796         * bufferview_funcs.C: : out character,
16797         added toggleall as parameter in ToggleAndShow
16798
16799 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16800
16801         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16802
16803         * text2.C (SetCurrentFont): Disable number property at boundary.
16804
16805 2001-02-26  Juergen Vigna  <jug@sad.it>
16806
16807         * lyxfunc.C (getStatus): added a string argument override function so
16808         that this is correctly called from LyXFunc::Dispatch if it contains a
16809         do_not_use_argument which is used!
16810         (Dispatch): added check for "custom" export and call appropriate func.
16811
16812 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16813
16814         * lyxrc.C: Add language_command_local, language_use_babel and
16815         language_global_options.
16816
16817         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16818
16819         * buffer.C (makeLaTeXFile): Use language_use_babel and
16820         language_global_options.
16821
16822 2001-02-23  Juergen Vigna  <jug@sad.it>
16823
16824         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16825         which works with LyXText and putted it inside BufferView. Here now we
16826         only call for that part the BufferView::Dispatch() function.
16827
16828         * BufferView.C (Dispatch): added.
16829
16830         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16831         functions which needs to use a LyXText over from LyXFunc.
16832         (MenuInsertLyXFile): added
16833         (getInsetByCode): added
16834         (moveCursorUpdate): added
16835         (static TEXT): added
16836
16837 2001-02-22  Juergen Vigna  <jug@sad.it>
16838
16839         * BufferView_pimpl.C (update): call a status update to see if LyXText
16840         needs it.
16841
16842 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16843
16844         * vc-backend.C (revert): implement for CVS
16845         (getLog): implement for CVS
16846
16847 2001-02-20  Juergen Vigna  <jug@sad.it>
16848
16849         * text2.C (ClearSelection): added BufferView param for inset_owner call
16850
16851         * lyxfunc.C (TEXT): added this function and use it instead of
16852         directly owner->view()-text of getLyXText().
16853
16854 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16855
16856         * src/layout_forms.C: out preamble
16857         * src/layout_forms.h: out preamble
16858         * src/lyx_cb.C: out preamble
16859         * src/lyx_cb.h: out preamble
16860         * src/lyx_gui.C: out preamble
16861         * src/lyx_gui_misc.C: out preamble
16862         * src/lyxfunc.C: connect with guii preamble
16863
16864 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16865
16866         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16867
16868 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16869
16870         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16871         whether to run bibtex.
16872
16873 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16874
16875         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16876
16877 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16878
16879         * Makefile.am (lyx_SOURCES): removed bibforms.h
16880
16881         * vspace.h: doxygen
16882
16883         * text.C (GetVisibleRow): make several local vars const
16884
16885         * tabular.C: small cleanup.
16886
16887         * lyxserver.C (callback): use compare instead of strncmp
16888
16889         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16890         inlines to after class or to paragraph.C
16891
16892         * lyxfont.h: remove friend operator!=
16893
16894         * converter.h: move friend bool operator< to non friend and after
16895         class def.
16896
16897         * combox.h: small cleanup
16898
16899         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16900         to inlines after class def.
16901
16902         * buffer.C (pop_tag): use string operations instead of strcmp
16903
16904         * bmtable.c: doxygen, small cleanup
16905
16906         * LaTeX.h: remove friend operator==
16907
16908 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16909
16910         * screen.C:
16911         * lyxrc.[Ch]:
16912         * lyxfunc.C:
16913         * lyxfont.[Ch]:
16914         * lyx_cb.C:
16915         * intl.[Ch]:
16916         * commandtags.h:
16917         * buffer.C:
16918         * WorkArea.[Ch]:
16919         * LyXAction.C:
16920         * BufferView_pimpl.C:
16921         * BufferView.[Ch]: remove cruft
16922
16923 2001-02-14  Juergen Vigna  <jug@sad.it>
16924
16925         * lyxfunc.C: removed #if 0 unused code
16926
16927         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16928
16929         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16930
16931         * text2.C (SetSelection): added a BufferView * parameter
16932
16933 2001-02-13  Juergen Vigna  <jug@sad.it>
16934
16935         * lyxfunc.C (Dispatch): fixed protected blank problem.
16936         * BufferView2.C (protectedBlank): added LyxText * parameter.
16937
16938         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16939         (AppendColumn): same as above for column_info.
16940
16941         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16942         (moveCursorUpdate): use a LyXText param for support of InsetText.
16943
16944         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16945         (tripleClick): ditto
16946
16947         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16948
16949         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16950
16951         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16952
16953         * text2.C (SetSelection): set correct update status if inset_owner
16954         (ToggleFree): ditto
16955
16956 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16957
16958         * tabular.C: remove some commented code.
16959
16960 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16961
16962         * BufferView_pimpl.C: call hideSplash()
16963
16964         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16965
16966         * include_form.h:
16967         * bibforms.h: remove
16968
16969         * lyxfunc.C:
16970         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16971           add LFUN_CHILD_CREATE
16972
16973         * counters.h: fix tiny typo
16974
16975         * lyx_cb.C:
16976         * lyx.h:
16977         * lyx_gui.C:
16978         * lyx.C: move splash to frontends/xforms/
16979
16980         * lyx_gui_misc.C: move Include and Bibform to frontends
16981
16982         * lyxvc.h: clarify comment
16983
16984         * vspace.C: tiny housekeeping
16985
16986 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16987
16988         * text.C (PrepareToPrint): RTL Fix.
16989
16990         * paragraph.C (GetUChar): New method.
16991         (String):  Use GetUChar.
16992
16993         * buffer.C (asciiParagraph): Use GetUChar.
16994
16995 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16996
16997         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16998
16999 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17000
17001         * buffer.h:
17002         * buffer.C: rename to getLogName(), handle
17003           build log / latex log nicely
17004
17005 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17006
17007         * MenuBackend.C:
17008         * MenuBackend.h: remove support for reference menuitem type.
17009
17010 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17011
17012         * BufferView_pimpl.C: housekeeping
17013         * BufferView_pimpl.h:
17014         * LyXView.h:
17015         * Makefile.am:
17016         * Timeout.C:
17017         * Timeout.h:
17018         * minibuffer.h: move Timeout GUI-I
17019
17020 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17021
17022         * lyxrc.C (read): Update converters data-structures.
17023
17024 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17025
17026         * LaTeX.h (operator!=): add operator != for Aux_Info
17027
17028 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17029
17030         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17031
17032         * LaTeXLog.C: deleted, useful code moved to Buffer
17033
17034         * buffer.h:
17035         * buffer.C: new function getLatexLogName()
17036
17037         * lyx_gui_misc.C:
17038         * lyx_gui.C:
17039         * lyxvc.C:
17040         * lyxvc.h:
17041         * lyxfunc.C: use frontends for LaTeX and VC logs
17042
17043 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17044
17045         * LaTeX.h: yet another std:: that Allan forgot.
17046
17047         * Variables.C (set): renamed from isset(), because this clashes
17048         with some HP-UX macros (grr).
17049
17050 2001-02-06  Allan Rae  <rae@lyx.org>
17051
17052         * LaTeX.h: Another bug fix.  Missing std:: this time.
17053
17054 2001-02-04  Allan Rae  <rae@lyx.org>
17055
17056         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17057         floats problem. I've left it commented out because it's not quite
17058         correct.  It should also test that the current object is a table or
17059         figure inset.  But I haven't gotten around to figuring out how to do
17060         that.  I *think* it'll be something like: "table" == inset.type()
17061
17062         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17063         bool.
17064
17065 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17066
17067         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17068         all the citation/databases/styles in the auxilary file.
17069         (run): Rerun latex if there was a babel language error.
17070
17071 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17072
17073         * text.C (Backspace): Preserve the font when changing newline char
17074         with a space.
17075         (BreakParagraph): If the cursor is before a space, delete the space.
17076
17077         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17078
17079 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17080
17081         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17082         new argument (code).
17083         (ChangeCitationsIfUnique): New method.
17084
17085         * paragraph.C (GetPositionOfInset): Handle bibkey.
17086
17087 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17088
17089         * BufferView_pimpl.h: change type of Position::par_pos to
17090         LyXParagraph::size_type.
17091
17092 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17093
17094         * BufferView_pimpl.C (savePosition, restorePosition): Write
17095         messages to minibuffer.
17096
17097 2001-01-28  José Matos  <jamatos@fep.up.pt>
17098
17099         * buffer.C (makeDocBookFile): adds support for document language.
17100         A silly restriction on the name of LatexCommand types where removed.
17101         Added support for CDATA sections, allows to chars unescaped, used
17102         among others in code, to avoid escape < and >.
17103
17104 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17105
17106         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17107         saved positions instrad of a stack. Furthermore, a position is
17108         stored using paragraph id/paragraph position.
17109
17110         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17111         Remove LFUN_REF_BACK.
17112
17113 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17114
17115         * converter.C (dvipdfm_options): New method.
17116
17117 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17118
17119         * vspace.C (isValidLength): Fix for empty input string.
17120
17121 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17122
17123         * LyXAction.C (init): change description of LFUN_FIGURE to
17124         "Insert Graphics"
17125
17126 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17127
17128         * LaTeX.C: add using directive
17129
17130 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17131
17132         * MenuBackend.C (expand): Fix the sorting of the formats.
17133
17134 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17135
17136         * lyx_main.C: tiny error message fix
17137
17138 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17139
17140         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17141         calling fl_initialize(). This fixes the problem with ',' as
17142         decimal separator in text files.
17143
17144 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17145
17146         * trans.C (process): Fix the keymap bug.
17147
17148 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17149
17150         * LaTeX.C (scanAuxFiles): New method. Provides support for
17151         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17152         (scanLogFile) Scan for "run BibTeX" messages.
17153
17154         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17155         OT1 font encoding. Also, load the aecompl package if the ae
17156         package is loaded.
17157
17158         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17159
17160 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17161
17162         * texrow.C (increasePos): turn two error messages into debug
17163         messages.
17164
17165 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17166
17167         * LaTeX.C (scanAux): Handle the \@input macro.
17168         (runBibTeX): Use scanAux().
17169
17170         * language.C (latex_options_): New field.
17171
17172         * LaTeXFeatures.C (getMacros): Add language macros.
17173
17174         * buffer.C (makeLaTeXFile): Small fix.
17175
17176 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17177
17178         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17179
17180         * text2.C: add a using directive.
17181
17182 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17183
17184         * BufferView2.C:
17185         * lyx_gui_misc.h:
17186         * lyxfr1.C:
17187         * lyxfunc.C: kill LyXBell.
17188
17189 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17190
17191         * text.C (IsBoundary): Remove the error message
17192
17193         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17194
17195         * lyxrc.C (setDefaults): Correct initialization value for
17196         font_norm_type.
17197
17198 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17199
17200         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17201         gotoError().
17202
17203         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17204         and GotoNextNote().
17205
17206         * src/LyXAction.C: Added reference-next.
17207
17208         * text.C (InsertChar): Use contains instead of strchr.
17209
17210         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17211
17212 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17213
17214         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17215         alignment commands (when needed).
17216
17217         * text.C (InsertChar): Add ':' to number separator chars.