]> git.lyx.org Git - features.git/blob - src/ChangeLog
9231149145921966271644c32dda07bb636a556b
[features.git] / src / ChangeLog
1 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
4         LyXText containing the cursor, not the top-level one.
5
6         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
7         true. 
8         (insertStringAsLines): rename par to pit; use temporary variable
9         par to hold a Paragraph; do not store par.layout() in a variable,
10         since the pointer may die when breaking paragraphs; pass pars to
11         breakParagraph() instead of Buffer::paragraphs().
12
13 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
14
15         * lyxlex_pimpl.h: #include <fstream>.
16
17         * BufferView.[Ch] (getLyXText): add a const version.
18
19         * BufferView_pimpl.C: add debug aids.
20
21         * RowList_fwd.h:
22         * buffer.h:
23         * lyxrow.h:
24         * paragraph_funcs.h: add commentary explaining what the class does.
25
26
27         * coordcache.[Ch]: add lots of commentary.
28         (startUpdating, doneUpdating): debug aids.
29         (arrays, insets, parPos, getParPos): accessors to private data.
30
31         * cursor_slice.[Ch] (text): add a const version.
32         * dociterator.[Ch] (text, innerText): add const versions.
33
34         * lyxtext.h (breakParagraph): change the keep_layout arg to a
35         bool.
36
37         * paragraph.C (getRow, pos2ros): add asserts.
38
39         * paragraph.h: add commentary. Lots of.
40
41         * paragraph.[Ch] (metrucs, draw): removed.
42
43         * cursor.C:
44         * rowpainter.[Ch]: const-correct changes.
45
46         * text.C: various obvious clean-ups. Removal of ancient cruft.
47         Bug fixes, even.
48         
49 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
50
51         * vc-backend.C (find_file): rewrite to use boost.filesystem
52         (scanMaster): ditto
53
54         * main.C (main): set default name check for boost.filesystem to
55         no check
56
57         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
58         (open): ditto
59         (doImport): ditto
60         (actOnUpdatedPrefs): ditto
61
62         * lyx_main.C (init): rewrite to use boost.filesystem
63         (queryUserLyXDir): ditto
64
65         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
66         (getContentsOfAsciiFile): ditto
67
68         * lastfiles.C (readFile): rewrite to use boost.filesystem
69
70         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
71
72         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
73         (loadLyXFile): ditto
74
75         * buffer.C (Buffer): adjust for destroydir
76         (getLogName): rewrite to use boost.filesystem
77         (setFileName): ditto
78         (save): use fs::copy_file (from fs_extras)
79
80         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
81
82         * LaTeX.C (run): rewrite to use boost.filesystem
83         (scanAuxFiles): ditto
84         (handleFoundFile): ditto
85
86 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
87
88         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
89
90         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
91
92 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
93
94         * lyxlayout.[Ch]: change some vars from float to double
95
96         * buffer.C (readFile): make a local var const
97
98         * Several files: use convert<> instead of atoi,strToXXX and friends
99
100 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
101
102         * LaTeXFeatures.[Ch]: Add a static list packages_ that
103         holds the contents of packages.lst. New functions getAvailable
104         and isAvailable to parse and check that list, resp.
105
106         * LyXAction.C:
107         * lfuns.h:
108         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
109
110         * bufferparams.[Ch]: new param output_changes.
111
112         * Buffer.C: increase file format to 240.
113         Use output_changes and isVailable.
114
115         * changes.[Ch]:
116         * paragraph.C:
117         * paragraph_pimpl.C: Use output_changes and isVailable.
118
119 2005-01-23  Angus Leeming  <leeming@lyx.org>
120
121         * output_latex.C: #include "insetbibitem.h", rather than
122         forward declare function bibitemWidest.
123
124 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
125
126         * lyx_main.C (init): make it compile on the Mac.
127
128 2005-01-20  Angus Leeming  <leeming@lyx.org>
129
130         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
131         (setLyXMisc): (char string literal) != (char string literal) is
132         performing a comparison on the addresses. Convert one operand
133         explicitly to string to guarantee expected behaviour.
134         From MSVC warning.
135
136 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
137
138         * buffer.C:
139         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
140
141         * output_plaintext.C: remove unneeded #include gzstream.h.
142
143 2005-01-20  Angus Leeming  <leeming@lyx.org>
144
145         * SpellBase.h: rename some of the elements of the Result enum.
146
147         * aspell_local.h:
148         * ispell.h:
149         * pspell.h:
150         * aspell.C (check):
151         * ispell.C (check):
152         * pspell.C (check): ditto
153
154 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
155
156         * buffer.C: add #include <fstream>.
157
158         * lyx_main.C (init): Compile fix.
159
160         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
161
162 2005-01-20  Angus Leeming  <leeming@lyx.org>
163
164         * mover.h: change commentary to reflect the changed meaning of
165         the $$s placeholder.
166
167 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * output_linuxdoc.C (linuxdocParagraphs): silence warning
170
171         * lyxfind.C (MatchString::operator()): remove bogus semicolon
172
173 2005-01-20  Angus Leeming  <leeming@lyx.org>
174
175         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
176         printing diagnostic data by not dereferecing an iterator past the
177         end.
178
179 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
180
181         * buffer.C (readHeader): use "&&" rather than "and".
182
183         * lyxserver.h (inPipeName, outPipeName): make these const.
184
185 2005-01-19  Angus Leeming  <leeming@lyx.org>
186
187         * lyx_main.C (error_handler, init): protect SIGHUP with
188         #ifdef SIGHUP guards.
189
190 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
191
192         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
193
194 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * text.C (setHeightOfRow): add a margin at the top and bottom of
197         the document (bug 1761)
198
199 2005-01-17  Angus Leeming  <leeming@lyx.org>
200
201         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
202         with "python ". Workaround for a brain-dead Windows.
203
204 2005-01-16  Angus Leeming  <leeming@lyx.org>
205
206         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
207         for MacOSX and Windows to use prependEnvPath.
208         Strip out the hard-coded block to add elements to the PATH for
209         MacOSX and replace it with a call to prependEnvPath using the
210         contents of LyXRC::path_prefix.
211         (queryUserLyXDir): strip out the code to run reconfigure, instead
212         returning a boolean indicating the necessity to do so.
213         (reconfigureUserLyXDir): contains the code to reconfigure the
214         user support directory. Is now called after the various LyXRC data
215         files have been read.
216
217         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
218
219 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * converter.[Ch] (convert): take a new parameter try_default. Use
222         a default converter (imagemagick) if try_default is true.
223
224 2005-01-13  Angus Leeming  <leeming@lyx.org>
225
226         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
227         os::cygwin_path_fix.
228         (write): output LyXRC::cygwin_path_fix as necessary.
229
230 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
231
232         * lyxrc.h:
233         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
234
235 2005-01-12  Angus Leeming  <leeming@lyx.org>
236
237         * lyx_main.C (init): set the PATH variable to include the
238         directory containing the LyX binary when running on Mac or Windows.
239
240 2005-01-12  Angus Leeming  <leeming@lyx.org>
241
242         * lyx_main.C (init): remove cruft that purports to set the locale
243         dir. It doesn't and is not needed anyway.
244
245 2005-01-10  Angus Leeming  <leeming@lyx.org>
246
247         * Makefile.am: remove the lyx_main.C special casing.
248
249         * BufferView_pimpl.C:
250         * bufferlist.C:
251         * exporter.C:
252         * lyx_cb.C:
253         * lyx_main.C:
254         * lyxfunc.C:
255         * messages.C: use support/package.h to provide the paths to the
256         various directories used by LyX.
257
258 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
259
260         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
261         layout if pasting into an empty paragraph)
262
263 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
264
265         * tex-accent.C: add <string>
266
267 2005-01-06  José Matos  <jamatos@lyx.org>
268
269         * ParagraphParameters.C (write): put every parameter in its own line.
270         * paragraph.C (write): reduce number of consecutive empty lines exported.
271         * buffer.C (LYX_FORMAT): increase file format to 239.
272
273 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
274
275         * everywhere: change support/tostr.h -> support/convert.h
276
277         * tabular.C: make all write_attributes templates, tostr -> convert
278
279         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
280         (emptyTag): and -> &&, and fix type for ret from getChar
281         (getFirstWord): fix type for ret from getChar
282         (onlyText): and -> &&
283         (simpleDocBookOnePar): and not -> && !, fix type for ret from
284         getChar
285
286         * toc.C (goTo, action):
287         * text3.C (dispatch):
288         * text.C (currentState):
289         * tex-accent.C (DoAccent):
290         * sgml.C:
291         * lyxrc.C:
292         * lyxfunc.C (menuNew):
293         * lyxfinc.C (replace):
294         * counters.C (laberItem):
295         * bufferview_funcs.C (font2string):
296         * bufferparams.C (writeFile):
297         * buffer.C (readFile):
298         * Spacing.C (set):
299         * MenuBackend.C: tostr -> convert
300
301         * LaTeX.C (runMessage): fix format
302         (scanAuxFiles): tostr -> convert
303
304         * BufferView_pimpl.C (savePosition): fix format
305         (restorePosition): ditto
306         (dispatch): ditto
307
308 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
309
310         * Spacing.[Ch]: New method getValueAsString().
311
312         * Spacing.[Ch]:
313         * bufferparams.C:
314         * ParagraphParameters.C:
315         * lyxlayout.C:
316         * text.C:
317         * text3.C: store/read spacing value as string.
318
319         * rowpainter.C: change float value (spacing_val) to double.
320
321         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
322         broken custom document spacing).
323
324 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
325
326         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
327         namespace, also more use of temp references and const
328
329         * cursor.[Ch] (getStatus): move to lyxfunc.C
330
331         * bufferparams.C: reformat slightly
332
333         * bufferview_funcs.C (font2string): constify arg
334
335         * changes.C:
336         * converter.C:
337         * counters.C:
338         * bufferlist.C:
339         * buffer_funcs.C: (many funcs): constify arg on function
340         definitions, also make more local vars const, also add ASSERTS on
341         pointer args.
342
343         * buffer.C (LYX_FORMAT): put const in correct place
344         (many funcs): constify arg on function definitions, also make
345         more local vars const
346
347         * aspell_local.h: remove "struct" from typdef setup
348
349         * aspell.C (check): make word_ok const
350         (nextMiss): simplify slightly
351         (error): ditto
352
353 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
354
355         * lyxrc.[Ch]: store all float values as strings.
356         use int (not float) for lyxrc.dpi.
357
358 2005-01-04  Angus Leeming  <leeming@lyx.org>
359
360         * lyx_cb.C (Reconfigure):
361         * lyx_main.C (queryUserLyXDir):
362         to run the <system_lyxdir>/configure correctly on Windows, prefix
363         the path to the script with "sh " when generating the string that
364         is passed to system().
365
366 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
367
368         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
369
370 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * lyxlength.C (asLatexString): get rid of setprecision
373
374 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * text2.C (setLayout): remove unused variable endpit.
377         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
378
379         * paragraph.C (onlyText): remove unused variable style.
380
381         * cursor.C (bruteFind): remove unused variables beg and end.
382
383         * Makefile.am (dist_noinset_DATA): not needed anymore
384
385         * cheaders/*: remove.
386
387 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * text3.C: fix LFUN_MATH_MODE.
390
391 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * buffer_funcs.C (countWords): new function. Counts words between
394         two iterators.
395
396         * BufferView_pimpl.C (getStatus, dispatch): handle
397         LFUN_WORDS_COUNT.
398
399         * LyXAction.C (init):
400         * lfuns.h: add LFUN_WORDS_COUNT.
401
402 2004-12-19  Angus Leeming  <leeming@lyx.org>
403
404         * buffer.C (save): s/slashify_path/internal_path/.
405
406 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
407
408         * lyxfind.C (findChange): do not search for end of pars, because
409         the change tracker cannot handle this (fixes bug 1719).
410
411 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
412
413         * paragraph.[Ch] (autoBreakRows): remove
414
415         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
416
417         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
418         avoid using the paragraph one
419
420         * text2.C (LyXText, insertStringAsLines): adjust
421
422 2004-12-16  Angus Leeming  <leeming@lyx.org>
423
424         * bufferlist.C:
425         * lyx_main.C:
426         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
427
428 2004-12-14  Angus Leeming  <leeming@lyx.org>
429
430         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
431
432         * bufferlist.C (emergencyWrite):
433         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
434         GetEnvPath("HOME").
435
436 2004-12-14  Angus Leeming  <leeming@lyx.org>
437
438         * main.C: (main): no longer pass pointers to os::init.
439
440 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * undo.C (textUndoOrRedo): simplify logic, fix a crash
443         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
444
445 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
446
447         * lyxfunc.C:
448         * text3.C: remove selection_possible global flag
449
450 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
451
452         * text2.C (getSelectionSpan): remove
453         (changeDepth, changeDepthAllowed): adjust
454
455 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
456
457         * Makefile.am (BOOST_LIBS): use boost variables
458
459 2004-12-03  José Matos  <jamatos@lyx.org>
460
461         * buffer.C: format up to 238.
462
463 2004-12-03  José Matos  <jamatos@lyx.org>
464
465         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
466
467 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
468
469         * cursor.C (goUpDown): remove call to idxUpDown2
470
471 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
472
473         * tabular.[Ch]: use size_t-like types for cell, row and column
474         indices
475
476 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * lyxfunc.C (getStatus): do not lose previous information when
479         calling BufferView::getStatus; do not set a default "Command
480         disabled" message at the beginning, but just before returning.
481
482 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
483
484         * cursor.h (getStatus): add better comment from src/cursor.C
485
486 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * text3.C (getStatus): return false when the lfun is not handled
489
490 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * broken_headers.h: remove
493
494         * Makefile.am (lyx_SOURCES): remove broken_headers.h
495
496 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
497
498         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
499         offset_ref accessors
500
501         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
502         top_y_, merge fitcursor with update
503         (updateScrollbar, scrollDocView, fitCursor, center, update): new
504         coord scheme
505         (metrics): introduce
506         (workAreaDispatch): adapt to new coord scheme
507         (redoCurrentBuffer): remove
508
509         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
510
511         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
512         CurStatus enum.
513
514         * coordcache.[Ch]: add paragraph cache and helpers
515
516         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
517         adjust everywhere
518
519         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
520         (targetX, setTargetX): introduce
521
522         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
523         baseline -> ascent, as the rest of lyx
524
525         * lyxtext.h: remove redoParagraphs, updateParPositions,
526         fullRebreak, redoParagraphInternal. move dist to anon namespace in
527         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
528         have ascent/descent (ascent is ascent of first par)
529
530         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
531         step of BufferView
532
533         * paragraph.[Ch]: unify dimension handling with the rest of lyx
534
535         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
536
537         * pariterator.C: fix infinite loop introduced in par->pit renaming
538
539         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
540         in insets and LyXText, draw two off-screen paragraphs using
541         NullPainter, and adapt to new coord scheme
542
543         * text.C:
544         * text2.C:
545         * text3.C: adapt lfun handlers to the new coord scheme, which
546         means: there's only guaranteed coord information for onscreen pars
547         plus one above and one below. This implies that one can do search
548         from y coordinates in the range [-1,workHeight]
549
550 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
551
552         * rename a lot of InsetOld to InsetBase
553
554 2004-11-25  Angus Leeming  <leeming@lyx.org>
555
556         * BufferView_pimpl.C:
557         * lyx_cb.C:
558         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
559
560 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
563         call BufferView::getStatus if LCursor::getStatus did nothing
564         (setStatusMessage, getStatusMessage): removed.
565
566         * FuncStatus.C (message): new methods. Used to provide an error
567         message indicating why a command is disabled.
568         (clear, |=, FuncStatus): update for message.
569
570 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
571
572         * lyxfunc.C (dispatch): always call sendDispatchMessage
573
574 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
575
576         * BufferView.C:
577         * BufferView_pimpl.C:
578         * CutAndPaste.C:
579         * FontIterator.C:
580         * buffer.C:
581         * cursor.C:
582         * cursor_slice.[Ch]:
583         * dociterator.[Ch]:
584         * lyxfind.C:
585         * paragraph_funcs.C:
586         * pariterator.C:
587         * rowpainter.C:
588         * text.C:
589         * text2.C:
590         * text3.C:
591         * undo.C: par->pit renaming
592
593 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
594
595         * tabular.C (cellstruct): use initialization, store a shared_ptr
596         to insettext instead of the insettext directly, adjust to fit.
597         (operator=):  new function
598         (swap): new function
599         (rowstruct): use initialization
600         (columnstruct): use initialization
601         (ltType): use initialization
602
603
604         * lyxlength.h (swap): new function
605
606         * LColor.[Ch] (operator=): use the common semantics
607
608 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
609
610         * lyxfind.C (findNextChange): update the bufferview after setting
611         the selection.
612
613 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
616         number of InsetOptArgs has already been inserted.
617
618         * output_latex.C (latexOptArgInsets): new method. This outputs all
619         the optarg insets, up to the limit defined in the layout file.
620         (optArgInset): removed
621         (TeXOnePar): call latexOptArgInsets; correctly update texrow
622
623 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * paragraph.C (isLetter): remove special spellchecker-related
626         code; return true also for digits
627         (isWord, isKomma): remove
628
629         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
630         * lyxfind.C (MatchString()): use isLetter instead of isWord
631
632 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
633
634         * pariterator.h (operatir=): comment out un-implemented member
635         function.
636
637         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
638         static cast.
639
640 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
641
642         * lyxfont.h: include LColor.h to satisfy concept checks.
643
644 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
645
646         * pariterator.h: add typdefs for value_type, difference_type,
647         pointer and reference to satisfy concept checks. Also add default
648         constructor for same reason.
649
650         * pariterator.C (operator++): add post-increment operator to
651         satisfy concept checks.
652
653         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
654         checks.
655
656         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
657
658         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
659         checks. Also rename base_type to BaseType to follow naming
660         standard better.
661
662         * FloatList.h: include Floating.h to satisfy concept checks.
663
664 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * lyxfunc.C (getStatus): when the origin of the request is menu or
667         toolbar, and the LyXView does not have focus, do as if there was
668         no buffer (bug 1720)
669
670         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
671         FuncRequest to individual entries of LFUN_SEQUENCE
672
673 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
674
675         * output_latex.C (TeXOnePar): override runparams.moving_arg
676         according to the needprotect value of the current paragraph (bug
677         1739)
678
679         * paragraph.C (simpleTeXOnePar): no need to override
680         runparams.moving_args here
681
682 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
683
684         * vspace.C: fix off-by-one-error, related to fix #1682
685
686 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
687
688         * lengthcommon.C: a more general fix for bug 1682
689
690 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * text.C (backspace): fix crash
693
694 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
695
696         * format.[Ch] (getFormatFromFile): new method
697         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
698
699 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
702
703 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
704
705         * lyxfunc.C (dispatch): remove the verbose argument
706         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
707         instead
708
709         * kbmap.C (defkey): set the origin of func to KEYBOARD
710
711         * MenuBackend.C (MenuItem):
712         * ToolbarBackend.C (add): set the origin of func to UI
713
714         * funcrequest.[Ch]: add origin member, which indicates which part
715         of LyX requests an action
716
717 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
718
719         * converter.C (move): don't lie in the error message
720         * converter.h (isReachable, move): document
721
722 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
723
724         * buffer.C: remove unused using lyx::support::atoi
725         * paragraph_funcs.C: ditto
726
727 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
728
729         * bufferlist.C (exists): use bind and equal_to instead of
730         compare_memfun
731         (getBuffer): ditto
732         * lyxtextclasslist.C (NumberOfClass): ditto
733
734         * cursor.C (insert): use for_each instead of explicit for loop
735
736         * bufferlist.C (getFileNames): use std::transform and
737         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
738
739         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
740         for loop
741
742         * buffer.C (changeLanguage): use for_each instead of explicit for
743         loop
744         (hasParWithID): implement using getParFromID
745
746         * LaTeXFeatures.C: ws change only
747
748         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
749         to cleanup a bit.
750
751         * BufferView_pimpl.C (trackChanges): use for_each instead of
752         expilicit for loop
753
754 2004-11-04  André Pönitz  <poenitz@gmx.net>
755
756         * undo.h:
757         * undo.C (textUndoOrRedo): fix crash when creating undo information.
758
759         * dociterator.C (asDocIterator): use hard assert again.
760
761 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * lyxlength.C (asLatexString): rewrite so that it does not use
764         snprintf anymore
765
766 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * text3.C (specialChar, dispatch): make sure cursor moves to the
769         right after inserting an inset
770
771 2004-11-02  José Matos  <jamatos@lyx.org>
772
773         * output_docbook.C (docbook):
774         * paragraph.C (getID):
775         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
776         garantee that the output is always legal.
777
778         * tabular.C (docbook):
779         * outputprams.[Ch]: remove mixed contents.
780
781 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
782
783         * text2.C (setCounter): prevent endless loop
784
785 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
786
787         * exporter.C (copyFile): use the mover instead of support::copy()
788         * exporter.C (Export): pass format and latex name to copyFile()
789         * exporter.h (addExternalFile): document
790         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
791
792 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
793
794         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
795
796 2004-10-30  José Matos  <jamatos@lyx.org>
797
798         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
799         text and no inset or font change. This allows to use CDATA
800         sections just for the whole paragraph.
801
802 2004-10-30  José Matos  <jamatos@lyx.org>
803
804         * paragraph.C (getFirstWord): remove unused variable.
805
806 2004-10-30  José Matos  <jamatos@lyx.org>
807
808         * paragraph.C (getFirstWord): the content should always be escaped
809         there.
810         (simpleDocBookOnePar):
811         * output_docbook.C (makeEnvironment): replace reference to CDATA
812         to style pass_thru.
813
814 2004-10-30  José Matos  <jamatos@lyx.org>
815
816         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
817
818 2004-10-30  José Matos  <jamatos@lyx.org>
819
820         * output_docbook.C (makeParagraphs):
821         * paragraph.[Ch] (emptyTag): for docbook and company, if the
822         standard paragraph has only a given type of content drop the wrapper.
823
824 2004-10-29  José Matos  <jamatos@lyx.org>
825
826         * output_docbook.C (makeEnvironment):
827         * sgml.C (openTag):
828         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
829
830 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
831
832         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
833         (cleanID): sanitize any id.
834
835 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
836
837         * buffer.C, lyxlex_pimpl.C:
838         * lyxlex_pimpl.C (setFile):
839         s/getExtFromContents/getFormatFromContents/
840
841 2004-10-28  José Matos  <jamatos@lyx.org>
842
843         * output_docbook.C (makeEnvironment): move id to broadest possible
844         scope.
845
846         * sgml.C (openTag): apply substitution of <> for all attributes.
847
848 2004-10-28  José Matos  <jamatos@lyx.org>
849
850         * buffer.C (makeLinuxDocFile, makeDocBookFile):
851         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
852         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
853
854         * sgml.[Ch]: new version for open and closeTag for paragraph and
855         for strings. Now they handle the ids of paragraphs.
856
857 2004-10-26  Angus Leeming  <leeming@lyx.org>
858
859         * Makefile.am: add mover.[Ch].
860
861         * converter.C (convert, move): use the new Movers to move external
862         files to the temp directory.
863
864         * lyx_main.C (init): ensure that the global system_movers data
865         is initialised.
866
867         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
868         preferences file.
869
870         * mover.[Ch]: new files, defining a Mover as a utility to move an
871         external file between directories and, if necessary, manipulate this
872         file using a helper script.
873
874 2004-10-25  José Matos  <jamatos@lyx.org>
875
876         * output_docbook.C (makeCommand): merge two if's that tested the
877         same condition.
878
879 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
880
881         * sgml.C (escapeString): fix warning in a better way
882
883 2004-10-25  José Matos  <jamatos@lyx.org>
884
885         * sgml.C (escapeString): import the require boosts header file for
886         tie, and avoid a signed unsigned comparison.
887
888 2004-10-25  José Matos  <jamatos@lyx.org>
889
890         * sgml.h: add #include <string>
891
892 2004-10-25  José Matos  <jamatos@lyx.org>
893
894         * sgml.[Ch] (escapeString): new function to escape all the string.
895
896 2004-10-24  José Matos  <jamatos@lyx.org>
897
898         * paragraph.[Ch] (getFirstWord): new function to get the first
899         word. Useful for description.
900         (simpleDocBookOnePar): remove depth argument, add another that
901         says where to start the paragraph.
902
903         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
904         use the new functions to fix cleanly the support for descriptions.
905
906 2004-10-24  José Matos  <jamatos@lyx.org>
907
908         * buffer.C (makeLinuxDocFile, makeDocBookFile):
909         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
910         * output_linuxdoc.C (linuxdocParagraphs):
911         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
912         add buffer as argument.
913
914 2004-10-24  José Matos  <jamatos@lyx.org>
915
916         * output_docbook.C (makeEnvironment, searchEnvironment): place
917         CDATA inside paragraphs and fix scope for listitems.
918
919 2004-10-24  José Matos  <jamatos@lyx.org>
920
921         * output_docbook.C: remove using statement for stack.
922
923 2004-10-23  José Matos  <jamatos@lyx.org>
924
925         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
926         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
927         docbook. The new scheme is recursive and makes use of iterators, the
928         same as latex export works.
929         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
930         directly with the paragraph contents. This code was moved up to
931         output_docbook.C (docbookParagraphs).
932         * sgml.C (openTag, closeTag): removed unneeded newlines.
933         (closeEnvTags) removed.
934
935 2004-10-23  André Pönitz  <poenitz@gmx.net>
936
937         * undo.C (textUndoOrRedo):
938         * dociterator.C (asDocIterator): work around crash
939
940         * cursor.C (getStatus): replace ASSERT by more verbose error message
941           and manual correction of the problem. Should increase stability
942           while providing more sensible information.
943
944 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
947
948         * bufferlist.C (previous, next): new methods
949
950         * lfuns.h:
951         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
952
953 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
954
955         * buffer.C (makeDocBookFile): add dsssl stylesheet control
956         entities to preamble.
957
958 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
959
960         * messages.C (Pimpl): strip off translation context information
961
962 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
965         the cursor is correct (bug 1694)
966
967 2004-10-13  José Matos  <jamatos@lyx.org>
968
969         * output_docbook.C (docbookParagraphs): fix closing tags in the
970         end of the document.
971
972 2004-10-09  José Matos  <jamatos@lyx.org>
973
974         * buffer.C: format up to 237.
975         * bufferparams.C (write): use tostr to convert booleans to strings.
976
977 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
978
979         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
980
981 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
982
983         * LaTeX.C: implement use of babel language in xindy.
984
985 2004-10-05  José Matos  <jamatos@lyx.org>
986
987         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
988         Add new translators to help reading and writing the lyx file.
989
990 2004-10-05  José Matos  <jamatos@lyx.org>
991
992         * ParagraphParameters.C (read):
993         * text.C (readParToken): replace nexToken by more appropriate lex
994         methods.
995
996 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
997
998         * LaTeX.C (runMakeIndex):
999         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1000         (usually 'makeindex') configurable.
1001
1002         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1003         with a variable rather than with a number.
1004
1005 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1006
1007         * output_latex.C (TeXOnePar): make sure font setting is the first
1008         thing that gets output (and the last at the end). Should fix bug
1009         1404.
1010
1011 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1012
1013         * pch.h: use proper signal include
1014
1015         * LaTeX.h: Use preferred calling of Boost.Signal
1016         * buffer.h: ditto
1017
1018 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1019
1020         * pch.h: dont include <boost/function/function0.hpp>
1021
1022         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1023
1024         * paragraph_pimpl.h: remove usage of ShareContainer
1025
1026         * paragraph_pimpl.C: remove initialization of ShareContainer.
1027
1028 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1029
1030         Fix bug #1666
1031
1032         * BufferView.C (putSelectionAt): change the semantics when
1033         backwards == true: now, this just swaps cursor and anchor wrt the
1034         forward case
1035
1036         * BufferView.h (putSelectionAt): add some documentation
1037
1038         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1039         make sure backwardChar is done at least once (to avoid getting
1040         stuck)
1041         (findNextChange): use putSelectionAt in the forward direction
1042         (operator()): use Paragraph::isWord
1043
1044 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1045
1046         * Spacing.C (set): c_str fix
1047
1048 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1049
1050         * lyx_cb.C (Reconfigure): quote the name of configure script in
1051         case it contains spaces
1052
1053 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1054
1055         * client: new dir
1056
1057         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1058         (BOOST_LIBS): use top_buildir when looking for the file
1059
1060 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1061
1062         * pch.h: do not use include boost/format.hpp, multiple symbols
1063                 will result (gcc bug)
1064
1065
1066 2004-08-23  José Matos  <jamatos@lyx.org>
1067
1068         * bufferparams.C (readToken): fix reading of the author field.
1069
1070 2004-08-20  José Matos  <jamatos@lyx.org>
1071
1072         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1073
1074 2004-08-20  José Matos  <jamatos@lyx.org>
1075
1076         * lyxlex.[Ch] (findToken): remove function.
1077
1078         * ParagraphParameters.C (findToken):
1079         * bufferparams.C (findToken): replace call for previous function
1080         with local copy. This local function has one more argument, the
1081         read string argument.
1082
1083 2004-08-16  José Matos  <jamatos@lyx.org>
1084
1085         * ParagraphParameters.C (write):
1086         * Spacing.C (writeFile):
1087         * bufferparams.C (writeLaTeX):
1088         * lyx_cb.C (Reconfigure):
1089         * paragraph.C (write):
1090         * tabular.C (write): remove unnecessary space at end of line.
1091
1092
1093 2004-08-16  José Matos  <jamatos@lyx.org>
1094
1095         * text.C (readParagraph): remove debug message.
1096
1097 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098
1099         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1100         crash
1101
1102         * output_plaintext.C (asciiParagraph): set depth correctly
1103
1104         * outputparams.h: add member depth
1105
1106         * paragraph_funcs.C (ownerPar): remove.
1107
1108         * text2.C (setCounter): remove first_pit; comment out some
1109         non-working code that uses ownerPar
1110
1111         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1112         uses ownerPar
1113
1114 2004-08-16  José Matos  <jamatos@lyx.org>
1115
1116         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1117         For the same level of importance use the same chanel to report problems.
1118         (read): add code to deal with \begin_body and \end_body.
1119
1120
1121 2004-08-15  José Matos  <jamatos@lyx.org>
1122
1123         * lyxlex.C (getString): fix comment, buffer::readBody is now
1124         buffer:readDocument.
1125
1126         * tex-strings.C (string_papersize): Default -> default,
1127         Custom -> custom, for consistency with other options.
1128
1129 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1130
1131         * pch.h: new file
1132
1133         * Makefile.am: support pch
1134
1135 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * text.C (readParToken): remove the static LyXFont variable and
1138         pass it as a parameter instead. This fixes a nasty bug where an
1139         inset will be inserted with a bad font in some situations
1140         (readParagraph): adapt
1141
1142         * text2.C (setCounter): reduce number of calls to pars_[pit]
1143
1144         * text.C (singleWidth): add an assert, fix a test
1145
1146         * rowpainter.C (paintText): reduce number of calls to singleWidth
1147
1148         * paragraph.C (isHfill):
1149         (isNewline): ws only
1150
1151 2004-08-14  André Pönitz  <poenitz@gmx.net>
1152
1153         * text.C:
1154         * text2.C:
1155         * rowpainter.C:
1156         * lyxtext.h (several functions): use a Paragraph & argument
1157         instead of par_type
1158
1159 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1160
1161         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1162
1163         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1164
1165         * text.C (singleWidth): remove useless test
1166
1167 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * tabular.h: remove bogus comments
1170
1171         * tabular.C (getDescentOfRow):
1172         (isPartOfMultiColumn): add assertions
1173
1174         * lyxlength.C (inPixels): remove #warning
1175
1176 2004-08-14  André Pönitz  <poenitz@gmx.net>
1177
1178         * paragraph.h: inline getChar()
1179
1180         * BufferView.h: remove unused declarations
1181
1182 2004-08-14  José Matos  <jamatos@lyx.org>
1183
1184         * Buffer.[Ch] (readDocument): new name for old readBody.
1185         * Buffer.C: new file format, new keywords: \begin_document,
1186         \begin_header, \begin_body, \end_body.
1187
1188         * bufferparams.C (readToken): replace all calls to lex.nextToken
1189         by lex.next(). Do the same to eatLine except where really needed.
1190
1191         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1192         line when writing to the lyx file.
1193
1194         * output_plaintext.C (asciiParagraph): fix Bibliography style
1195         handling.
1196
1197         * text.C (read): fix end of file handling.
1198
1199 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1200
1201         * MenuBackend.C (Menu::operator[]): new method to access
1202         individual menu items
1203         (Menu::hasFunc): new method. search for an item that corresponds
1204         to a given func
1205         (MenuBackend::specialMenu): new method
1206         (MenuBackend::expand): if a special menu has been set, skip
1207         entries whose func() appears in this menu
1208
1209 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1210
1211         * text3.C: use Debug::DEBUG a bit more
1212
1213         * text.C (leftMargin): try to simplify a tiny bit change var x to
1214         l_margin. Dont output the wide margins always.
1215         (rightMargin): no margin in inner texts
1216
1217         * rowpainter.h (nestMargin): new func
1218         (changebarMargin): new func
1219         (rightMargin): new func
1220
1221         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1222         now functions.
1223         (paintLast): ditto
1224
1225         * factory.C (createInset): modify setDrawFrame
1226
1227         * cursor.C: use Debug::DEBUG a bit more
1228
1229 2004-08-14  André Pönitz  <poenitz@gmx.net>
1230
1231         * coordcache.[Ch]:
1232         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1233         cache for all insets in (at least partially) visible (top-level)
1234         paragraphs.
1235
1236         * BufferView_pimpl.C: reset external coord cache before every update.
1237         This means the coord cache only contains valid entries.
1238
1239 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1240
1241         bug 1096
1242         * BufferView_pimpl.C (getInsetByCode): move function out of class
1243         and change in to a template in anon namespace. Also fix to do what
1244         suits us better.
1245
1246 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1247
1248         bug 1305
1249         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1250         of char
1251         (breakParagraph): rename par to par_offset and use a local
1252         reference. Add code to keep the language over a rebreak.
1253         (breakParagraphConservative): rename par to par_offset, use a
1254         local reference
1255         (mergeParagraph): ditto
1256         (outerHook): ditto
1257         (isFirstInSequence): ditto
1258         (outerFont): rename pit to par_offset
1259
1260         * paragraph.C: ws change
1261         * paragraph.h: ditto
1262         * text3.C: ditto
1263         * text.C: ditto
1264
1265 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1268         treatment for ']'
1269
1270         * paragraph.C (simpleTeXOnePar): when we have a \item with
1271         optional argument, enclose the argument with curly brackets (in
1272         case it contains a closing square bracket)
1273
1274         * text2.C (editXY):
1275         * text2.C (editXY):
1276         * text3.C (checkInsetHit): constify
1277
1278 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1279
1280         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1281         documents (bug 1629)
1282
1283 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         Fix toggling of collapsable insets with the mouse (bug 1558)
1286
1287         * lyxfunc.C (dispatch): adapt to LCursor changes
1288
1289         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1290         make sure that dispatch is not invoked twice
1291
1292         * cursor.C (needsUpdate): new method
1293         (dispatch): return void
1294         (result): new method, to access the DispatchResult of the cursor.
1295
1296 2004-08-13  José Matos  <jamatos@lyx.org>
1297
1298         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1299
1300 2004-08-13  André Pönitz  <poenitz@gmx.net>
1301
1302         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1303
1304         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1305           multiple cells
1306
1307 2004-08-12  André Pönitz  <poenitz@gmx.net>
1308
1309         * text3.C: take out the 'cursor right' form insertInset and only
1310         do it in those places when it is really needed. Fixes crash on
1311         C-m...
1312
1313 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1314
1315         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1316
1317         * BufferView_pimpl.C (setBuffer): initialize the current font of
1318         the underlying LyXText
1319
1320 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * kbsequence.C (print): use UI native formatting for menu
1323         shortcuts
1324
1325         * text.C (insertChar): call Paragraph::insertChar with a font
1326         argument (cosmetic)
1327
1328         * paragraph.C (insertInset, insertChar): the version that takes a
1329         LyXFont argument is now a wrapper around the other one (the
1330         opposite used to be true).
1331
1332         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1333         argument. Font setting is done in Paragraph now.
1334
1335 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * outputparams.h: add new members intitle and lang.
1338
1339         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1340         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1341
1342 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1343
1344         * text3.C (dispatch): remove special handling of button 4 and 5,
1345         it is now taken care of in the frontend code.
1346
1347 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1348
1349         * Spacing.h: add <string> (STLPort compile fix)
1350
1351 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1352
1353         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1354
1355 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1356
1357         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1358         to bool.
1359
1360         * converter.C (showMessage): inherit from unary_function, make
1361         operator() const.
1362
1363         * buffer.C (writeFile): initialize retval
1364
1365         * InsetList.h: rename private variable list to list_
1366         * InsetList.[Ch]: adjust accordingly.
1367
1368 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1369
1370         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1371         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1372         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1373         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1374         * ParagraphParameters.C, LaTeXFeatures.C: replace
1375         "support/std_sstream.h" with <sstream>
1376
1377 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1378
1379         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1380         * lyxsocket.C (LyXServerSocket): ditto
1381         (serverCallback): ditto
1382
1383 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1384
1385         * LaTeXFeatures.C: check release date when loading jurabib.
1386
1387 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1388
1389         * lyxserver.C (startPipe): call register_socket_callback
1390         (endPipe): call unregister_socket_callback
1391
1392 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1393
1394         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1395         (LyXServerSocket): register the callback
1396         (LyXServerSocket): unregister the callback
1397         (fd): delete function
1398         (serverCallback): improve error checking and setup the callbacks.
1399         (dataCallback): change arg to fd.
1400         (writeln): new func (copied fro the client socket) used for server
1401         write to client.
1402         (LyXDataSocket): simplify
1403         (~LyXDataSocket): close ann unregiser callback
1404         (server): delete function
1405         (fd): delete function
1406         (readln): small changes, improve some std::string usage
1407         (writeln): constify a bit
1408
1409 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1412         Qt frontend
1413
1414 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1415
1416         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1417         after it has been populated
1418
1419 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         * text2.C (insertInset): move cursor when inserting inset.
1422
1423 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * kbmap.C (findbindings): a couple of new methods. returns a
1426         container of kb_sequence objects. The real work is done by the
1427         private recursive version
1428         (printbindings): uses findbindings to print out a bracketed list
1429         of bindings (renamed from findbinding).
1430
1431         * MenuBackend.C (binding): use kb_keymap::findbindings
1432
1433         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1434
1435 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1436
1437         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1438
1439 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * paragraph.C (isWord): return true on insets that report
1442         isLetter().
1443
1444         * text.C (getWord): use Paragraph::isWord to decide what is in a
1445         word and what is not; fix bug 1609.
1446
1447 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1448
1449         * tex-strings.C: add "none" to string_paperpackages[], fixes
1450         off-by-one-error in the paperpackage selection.
1451
1452         * lyxlex.[Ch]:
1453         * tex-strings.[Ch]: char const * string[n]
1454         -> char const * const string[]
1455
1456 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1459         command, return early.
1460
1461 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1462
1463         * debug.h: add DEBUG to enum and fix size of ANY.
1464
1465         * debug.C: add support for Debug::DEBUG
1466         (showTags): cast errorTags.level to unsigned int
1467
1468         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1469         (redoCurrentBuffer): ditto
1470         (updateScrollbar): ditto
1471         * cursor.C (dispatch): ditto
1472         * text2.C (setLayout): ditto
1473         (setFont): ditto
1474         (updateCounters): ditto
1475         (editXY): ditto
1476         (deleteEmptyParagraphMechanism): ditto
1477
1478 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1479
1480         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1481         annotations to cleanup the Makefile slightly.
1482
1483 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * lyxrc.C: do not set user_email to a default value but use empty
1486         instead. The entry used to be translated, which does not work
1487         since at the point where lyxrc is constructed there is no
1488         translation service available
1489
1490         * messages.C (getLocaleDir): remove and use directly
1491         lyx_localedir() instead
1492
1493 2004-06-02  Angus Leeming  <leeming@lyx.org>
1494
1495         Fix crash caused by dereferencing null pointer 'exportdata' in
1496         OutputParams by creating a new ExportData variable on the heap,
1497         storing it in a boost::shared_ptr.
1498         The crash was triggered when generating an Instant Preview
1499         of an external inset.
1500
1501         * Makefile.am: add outputparams.C
1502
1503         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1504         (c-tor): allocate memory to it.
1505
1506         * exporter.C (c-tor): associated changes.
1507
1508 2004-06-01  Angus Leeming  <leeming@lyx.org>
1509
1510         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1511         contains data before calling isInset(0). (Bug 1513.)
1512
1513 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1514
1515         * exporter.C (checkOverwrite): new method
1516         * exporter.C (copyFile): new method
1517         * exporter.C (Export): copy referenced files to the document dir
1518         * exporter.[Ch]: new class ExportedFile
1519         * exporter.[Ch]: new class ExportData. Contains currently the
1520         names of referenced external files
1521         * outputparams.h: add exportdata member.
1522
1523 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1524
1525         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1526         version.C-tmp
1527
1528 2004-05-19  Angus Leeming  <leeming@lyx.org>
1529
1530         * LaTeXFeatures.C:
1531         * ToolbarBackend.C:
1532         * bufferparams.C:
1533         * lyxfunc.C: small changes due to the introduction of namespace
1534         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1535
1536 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1537
1538         * text3.C (dispatch): supress update when only moving the cursor
1539         * cursor.C (selHandle): remove commented code
1540
1541 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1542
1543         * paragraph.C (startTeXParParams): correct column count
1544         * CutAndPaste.C (pasteSelection): remove const_cast
1545         * output_docbook.C (docbookParagraphs): remove const_cast
1546         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1547         const_cast and return ParagraphList::const_iterator
1548         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1549         * output_plaintext.C (writeFileAscii): remove const_cast
1550         * paragraph.[Ch] (simpleTeXOnePar): make const
1551         * paragraph_funcs.C (outerPar): use const iterators
1552         * paragraph_pimpl.C (validate): use const iterators
1553         * text.C (setHeightOfRow): use const iterators
1554
1555 2004-05-17  Angus Leeming  <leeming@lyx.org>
1556
1557         * lfuns.h:
1558         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1559
1560         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1561         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1562         if the citation engine has changed.
1563
1564 2004-05-14  José Matos  <jamatos@lyx.org>
1565
1566         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1567         if the textclass does not provide it. Have it different for sgml and
1568         xml.
1569         support the language of document.
1570         * output_docbook.C (docbookParagraphs):
1571         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1572         first anchor as the id of the paragraph, remove special case code.
1573         * sgml.C (escapeChar): escape only < & >.
1574
1575 2004-05-14  Angus Leeming  <leeming@lyx.org>
1576
1577         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1578         dependencies on src/frontends/controllers/biblio.h. Define a
1579         CiteEngine_enum wrapper class to enable the enum to be forward
1580         declared.
1581
1582 2004-05-12  Angus Leeming  <leeming@lyx.org>
1583
1584         * buffer.C: up LYX_FORMAT to 234.
1585         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1586         use_numerical_citations with a single biblio::CiteEngine cite_engine
1587         variable.
1588         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1589
1590 2004-05-13  José Matos  <jamatos@lyx.org>
1591
1592         * converter.h:
1593         * converter.C (Converter, readFlags): add xml member.
1594         * outputparams.h: add XML flavor.
1595         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1596
1597 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1598
1599         * lyxfunc.C (dispatch):
1600         (getStatus): fix handling of LFUN_SEQUENCE
1601
1602 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1603
1604         * debug.C (showLevel): do not forget the end-of-line marker
1605
1606 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1607
1608         * kbmap.C (read): do not stop parsing a bind file when an error
1609         occurs (bug 1575)
1610
1611 2004-04-29  Angus Leeming  <leeming@lyx.org>
1612
1613         * cursor.C:
1614         * factory.C:
1615         * pariterator.C:
1616         * text2.C: wrap a bunch of #warning statements
1617         inside #ifdef WITH_WARNINGS blocks.
1618
1619 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1620
1621         * buffer.C: increment format to 233.
1622
1623 2004-04-28  Angus Leeming  <leeming@lyx.org>
1624
1625         * BufferView_pimpl.C:
1626         * lyxfunc.C:
1627         * text3.C:
1628         s/updateToolbar()/updateToolbars()/
1629         s/Toolbar.h/Toolbars.h/
1630
1631 2004-04-28  Angus Leeming  <leeming@lyx.org>
1632
1633         * BufferView.[Ch] (c-tor):
1634         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1635         No longer passes these data to the WorkArea generator.
1636
1637 2004-04-28  Angus Leeming  <leeming@lyx.org>
1638
1639         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1640
1641 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1642
1643         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1644
1645 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1646
1647         * output_latex.C (TeXEnvironment): make sure that there is a line
1648         break before \end{foo} for the last paragraph of a document
1649         (TeXOnePar): if the paragraph is at the end of the document (or
1650         inset) and the language has to be reset, then make sure that the
1651         line break is _before_ the language command, not after (fixes bug
1652         1225); also make sure that the language reset command is the first
1653         thing after the paragraph (to ensure proper nesting of
1654         environments and thus fix bug 1404)
1655
1656 2004-04-21  John Levon  <levon@movementarian.org>
1657
1658         * ToolbarBackend.h:
1659         * ToolbarBackend.C: make "name" be a programmatic name
1660         and a gui_name field.
1661
1662         * lyxfunc.C: display the minibuffer on M-x
1663
1664 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1665
1666         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1667         (bug 1526)
1668
1669 2004-04-19  Angus Leeming  <leeming@lyx.org>
1670
1671         * BufferView_pimpl.C (setBuffer): changed preview interface.
1672
1673         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1674         possible values.
1675
1676 2004-04-19  John Levon  <levon@movementarian.org>
1677
1678         * BufferView_pimpl.C:
1679         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1680
1681 2004-04-05  Angus Leeming  <leeming@lyx.org>
1682
1683         * text.C (redoParagraphs): add call to updateCounters(), thereby
1684         fixing the missing "Figure #:" label from the caption of a
1685         figure float.
1686
1687 2004-04-13  Angus Leeming  <leeming@lyx.org>
1688
1689         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1690         cursor is clicked out of an inset.
1691
1692 2004-04-13  Angus Leeming  <leeming@lyx.org>
1693
1694         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1695         than an InsetOld one.
1696
1697 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1698
1699         * format.[Ch]: add editor to Format
1700         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1701         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1702
1703 2004-04-08  André Pönitz  <poenitz@gmx.net>
1704
1705         * metricsinfo.h: remove PainterInfo::width member
1706
1707 2004-04-08  Angus Leeming  <leeming@lyx.org>
1708
1709         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1710         "\providecommand" rather than "\newcommand", thereby preventing
1711         clashes with packages that define "\boldsymbol" themselves.
1712         Eg, beamer.
1713
1714 2004-04-08  Angus Leeming  <leeming@lyx.org>
1715
1716         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1717         thereby squashing an unnecessary warning.
1718
1719 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1720
1721         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1722         setBuffer()
1723
1724 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1725
1726         * BufferView.C (setCursor): call redoParagraph (some insets could
1727         have been opened)
1728         (putSelectionAt): remove the 'double update' trick
1729
1730         * BufferView_pimpl.C (fitCursor): call refreshPar
1731         (workAreaDispatch): remove an uneeded update call
1732         (dispatch): remove some manual update calls
1733
1734         * cursor.[Ch]: remove cached_y_, updatePos
1735         (selHandle): set noUpdate when appropriate
1736
1737         * lyxfunc.C (dispatch): track if we need an update
1738
1739         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1740
1741         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1742         (paintSelection): cheap optimization, do not call cursorX when not
1743         needed
1744         (paintPars): change signature
1745         (refreshPar): add
1746         (paintText): adjust
1747         (paintTextInset): adjust
1748
1749         * text.C: adjust
1750
1751 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1752
1753         * lengthcommon.C: compilation fix: remove explicit array size from
1754         unit_name[] and friends
1755
1756 2004-04-05  Angus Leeming  <leeming@lyx.org>
1757
1758         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1759
1760         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1761         present only for the preferences dialog.
1762         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1763
1764 2004-04-05  Angus Leeming  <leeming@lyx.org>
1765
1766         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1767         to enable the frontends to export changes to lyxrc correctly.
1768
1769         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1770
1771 2004-04-07  André Pönitz  <poenitz@gmx.net>
1772
1773         * cursor.[Ch] (selClear, adjust): remove math
1774
1775         * cursor_slice.C: more agressive assert
1776
1777         * lyxfunc.C:
1778         * BufferView_pimpl.C: rework mouse event dispatch
1779
1780         * dociterator.C:
1781         * paragraph.C:
1782         * text2.C:
1783         * text3.C: adjust
1784
1785 2004-04-05  André Pönitz  <poenitz@gmx.net>
1786
1787         * cursor.[Ch] (valign, halign...): remove unneeded functions
1788
1789 2004-04-05  Angus Leeming  <leeming@lyx.org>
1790
1791         * lyxlength.[Ch] (unit_name et al.): const-correct.
1792
1793 2004-04-05  Angus Leeming  <leeming@lyx.org>
1794
1795         * BufferView_pimpl.C:
1796         * buffer.C:
1797         * counters.C:
1798         * cursor.C:
1799         * lyxfunc.C
1800         * paragraph.C:
1801         * pariterator.C:
1802         * text.C:
1803         * text2.C:
1804         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1805
1806 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1809
1810 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1811
1812         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1813         * BufferView_pimpl.[Ch] (getStatus)
1814         * BufferView.[Ch] (getStatus): add
1815         * lyxfunc.C (getStatus): move lfuns handled in
1816         BufferView::dispatch to te function above
1817         * Cursor.C (setSelection): set selection() = true
1818
1819 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1822
1823 2004-03-31  Angus Leeming  <leeming@lyx.org>
1824
1825         * lyxfunc.C (dispatch): Fall through to the generic
1826         Dialogs::show("preamble").
1827
1828 2004-03-31  Angus Leeming  <leeming@lyx.org>
1829
1830         * lyxfunc.C (dispatch): Fall through to the generic
1831         Dialogs::show("spellchecker").
1832
1833 2004-03-31  Angus Leeming  <leeming@lyx.org>
1834
1835         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1836         preferences dialog.
1837
1838 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1839
1840         * BufferView.C
1841         * cursor.[Ch]
1842         * dociterator.[Ch]:
1843         * insetiterator.[Ch]:
1844         * lyxfind.C:
1845         * lyxfunc.C:
1846         * pariterator.[Ch]:
1847         * text2.C:
1848         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1849
1850 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1853         insets where we are putting the cursor.
1854
1855 2004-03-31  Angus Leeming  <leeming@lyx.org>
1856
1857         * lfuns.h:
1858         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1859
1860         * lyxrc.[Ch] (read, write): overloaded member functions taking
1861         a std::[io]stream arguments.
1862
1863         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1864
1865 2004-03-31  Angus Leeming  <leeming@lyx.org>
1866
1867         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1868         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1869
1870         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1871         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1872
1873 2004-03-31  Angus Leeming  <leeming@lyx.org>
1874
1875         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1876         the LFUN_ALL_INSETS_TOGGLE code.
1877
1878 2004-03-30  Angus Leeming  <leeming@lyx.org>
1879
1880         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1881         has died. Fall through to the generic Dialogs::show("document").
1882
1883 2004-03-30  Angus Leeming  <leeming@lyx.org>
1884
1885         * lfuns.h:
1886         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1887         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1888
1889         * lyxfunc.C (getStatus, dispatch): define the actions for these
1890         lfuns. Little more than a cut and pste job from ControlDocument.C
1891
1892         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1893
1894 2004-03-30  Angus Leeming  <leeming@lyx.org>
1895
1896         * lfuns.h:
1897         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1898         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1899
1900         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1901         open/closed state of ollapsable insets. Usage:
1902
1903         all-inset-toggle <state> <name>, where
1904         <state> == "open" || "closed" || "toggle" and
1905         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1906
1907         * lyxtext.h, text2.C (toggleInset): removed.
1908
1909         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1910         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1911         now passes LFUN_INSET_TOGGLE to the found inset.
1912
1913         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1914         is now invoked as "all-insets-toggle toggle branch".
1915
1916 2004-03-30  Angus Leeming  <leeming@lyx.org>
1917
1918         * dociterator.C:
1919         * insetiterator.C:
1920         * pariterator.[Ch]: added/corrected header blurb.
1921
1922 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1923
1924         * dociterator.[Ch]: add an inset_ member
1925         (backwardPos): implemented
1926         (backwardPos, forwardPos): use inset_ when the stack is empty.
1927         (doc_iterator_begin, doc_iterator_end): implemented
1928         * pariterator.[Ch]: adjust, add begin, end
1929         * insetiterator.[Ch]: adjust, add begin, end
1930         * cursor.C:
1931         * document.C:
1932         * BufferView.C:
1933         * BufferView_pimpl.C:
1934         * CutAndPaste.C: adjust
1935
1936 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1937
1938         * buffer.C: increment file format to 232.
1939         * LaTeXFeatures.C: add bibtopic package.
1940         * bufferparams.[Ch]: param \use_bibtopic.
1941
1942         * lyxrc.[Ch]: add lyxrc bibtex_command
1943         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1944
1945         * buffer.C: increment file format to 231.
1946
1947 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * dociterator.C: implement forwardPar
1950         * iterators.[Ch]: remove, replaced by
1951         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1952         * BufferView.C:
1953         * BufferView_pimpl.C:
1954         * CutAndPaste.C:
1955         * buffer.C:
1956         * bufferview_funcs.C:
1957         * cursor.C:
1958         * lyxfind.C
1959         * lyxfunc.C
1960         * paragraph_funcs.C
1961         * toc.C:
1962         * Makefile.am: adjust
1963
1964 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1965
1966         * CutAndPaste.C (pasteSelection): fix 2 crashes
1967         (eraseSelection): fix a crash
1968         * paragraph_funcs.C: remove a warning
1969
1970 2004-03-28  Angus Leeming  <leeming@lyx.org>
1971
1972         * lfuns.h:
1973         * LyXAction.C (init): new LFUN_PRINT.
1974
1975         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1976
1977 2004-03-27  Angus Leeming  <leeming@lyx.org>
1978
1979         * lfuns.h:
1980         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1981
1982         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1983
1984 2004-03-27  Angus Leeming  <leeming@lyx.org>
1985
1986         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1987         insetlist always contains non-null pointers to insets.
1988
1989 2004-03-26  Angus Leeming  <leeming@lyx.org>
1990
1991         * src/BufferView_pimpl.C:
1992         * src/CutAndPaste.C:
1993         * src/buffer.C:
1994         * src/iterators.C:
1995         * src/output_plaintext.C:
1996         * src/outputparams.h:
1997         * src/paragraph_funcs.C:
1998         * src/rowpainter.C:
1999         * src/text.C:
2000         * src/text2.C:
2001         * src/frontends/controllers/ControlErrorList.C:
2002         * src/frontends/gtk/FileDialogPrivate.C:
2003         * src/frontends/gtk/GPainter.C:
2004         * src/frontends/gtk/GToolbar.C:
2005         * src/frontends/qt2/QRef.C:
2006         * src/mathed/math_scriptinset.C: squash compiler warnings.
2007
2008 2004-03-26  Angus Leeming  <leeming@lyx.org>
2009
2010         * ispell.C (LaunchIspell::start):
2011         * lyx_cb.C (AutoSaveBuffer::start):
2012         invoke run(DontWait) rather than runNonBlocking().
2013
2014 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2015
2016         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2017
2018 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * kbsequence.C (print): adjust
2021
2022         * kbmap.C (printKeySym): rename and change signature
2023         (printKey): use LyXKeySym::print()
2024
2025 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2026
2027         * undo.C: add using std::advance to compile for stlport
2028
2029 2004-03-24  Angus Leeming  <leeming@lyx.org>
2030
2031         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2032         it leads to a crash when no buffer is present.
2033
2034 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035             Martin Vermeer  <martin.vermeer@hut.fi>
2036
2037         * lyxfunc.C (dispatch):
2038         * bufferparams.C (readToken): use the new LColor::setColor
2039
2040         * LColor.[Ch] (setColor): new version that takes two strings as
2041         argument and creates a new color entry if necessary
2042
2043 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2044
2045         * buffer.C (makeLaTeXFile): if the main latex file that is
2046         processed is usually a subdocument of some master, then pretend
2047         for a while that it is actually the master
2048
2049 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2050
2051         * buffer.C (getLabelList):
2052         (getBibkeyList): use getMasterBuffer()
2053         (getMasterBuffer): new method. Returns the main document in the
2054         case where one is using included documents.
2055
2056 2004-03-25  André Pönitz  <poenitz@gmx.net>
2057
2058         * Makefile.am:
2059         * iterators.[Ch]:
2060         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2061
2062         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2063
2064         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2065         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2066
2067         * ParameterStruct.h: merge with ParagraphParameters
2068
2069         * lyxtext.h: remove LyXText::parOffset() and getPar()
2070
2071         * text3.C: Remove all 'manual' update calls. We do now one per user
2072         interaction which is completely sufficient.
2073
2074         * Bidi.C:
2075         * BufferView.[Ch]:
2076         * BufferView_pimpl.C:
2077         * FontIterator.[Ch]:
2078         * MenuBackend.C:
2079         * ParagraphParameters.[Ch]:
2080         * buffer.C:
2081         * buffer.h:
2082         * bufferlist.C:
2083         * cursor.[Ch]:
2084         * cursor_slice.[Ch]:
2085         * dociterator.[Ch]:
2086         * errorlist.[Ch]:
2087         * factory.C:
2088         * lfuns.h:
2089         * lyxfind.C:
2090         * lyxfunc.C:
2091         * output_docbook.[Ch]:
2092         * output_latex.[Ch]:
2093         * output_linuxdoc.[Ch]:
2094         * output_plaintext.[Ch]:
2095         * paragraph.[Ch]:
2096         * paragraph_funcs.[Ch]:
2097         * paragraph_pimpl.[Ch]:
2098         * rowpainter.C:
2099         * tabular.[Ch]:
2100         * text.C:
2101         * text2.C:
2102         * toc.C:
2103         * undo.[Ch]: adjust
2104
2105         * frontends/controllers/ControlDocument.C:
2106         * frontends/controllers/ControlErrorList.C:
2107         * frontends/controllers/ControlSpellchecker.C:
2108         * insets/inset.C:
2109         * insets/inset.h:
2110         * insets/insetbase.h:
2111         * insets/insetbibitem.C:
2112         * insets/insetbox.C:
2113         * insets/insetbranch.C:
2114         * insets/insetcaption.C:
2115         * insets/insetcharstyle.C:
2116         * insets/insetcharstyle.h:
2117         * insets/insetcollapsable.C:
2118         * insets/insetcollapsable.h:
2119         * insets/insetert.C:
2120         * insets/insetfloat.C:
2121         * insets/insetfoot.C:
2122         * insets/insetmarginal.C:
2123         * insets/insetnote.C:
2124         * insets/insetoptarg.C:
2125         * insets/insettabular.C:
2126         * insets/insettext.C:
2127         * insets/insettext.h:
2128         * insets/insetwrap.C:
2129         * mathed/math_mboxinset.C:
2130         * mathed/math_nestinset.C:
2131         * mathed/math_scriptinset.C:
2132         * mathed/math_scriptinset.h:
2133         * support/types.h:
2134
2135 2004-03-24  Angus Leeming  <leeming@lyx.org>
2136
2137         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2138         deal with any child processes that have finished but are waiting to
2139         communicate this fact to the rest of LyX.
2140
2141 2004-03-24  Angus Leeming  <leeming@lyx.org>
2142
2143         64-bit compile fixes.
2144
2145         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2146         (c-tor): pass lyx::pos_types rather than ints.
2147
2148         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2149         lyx::pos_type.
2150
2151         * text.C (Delete): compile fix.
2152         (getPar): ensure that function declaration is the same as that in
2153         the header file.
2154
2155 2004-03-23  Angus Leeming  <leeming@lyx.org>
2156
2157         * ispell.C (LaunchIspell):
2158         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2159         a boost::shred_ptr rather than a std::auto_ptr.
2160
2161 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2164         handle LFUN_FILE_INSERT_*
2165
2166         * lyxrc.C (setDefaults, getDescription, output, read):
2167         * lyxrc.h: remove ps_command
2168
2169 2004-03-22  Angus Leeming  <leeming@lyx.org>
2170
2171         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2172         Ensure that error_handler is processed once only and that all data
2173         is saved before attempting to output any warning messages.
2174
2175         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2176
2177 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2178
2179         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2180
2181 2004-03-19  André Pönitz  <poenitz@gmx.net>
2182
2183         * cursor.[Ch] (reset): take main text inset as argument
2184
2185         * BufferView: adjust
2186         * BufferView_pimpl.C: adjust
2187
2188         * paragraph.[Ch]: fix completely broken operator=()
2189
2190 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2191
2192         * LColor.C (getFromLyXName): make sure that the color name is used
2193         as lowercase.
2194
2195 2004-03-17  Angus Leeming  <leeming@lyx.org>
2196
2197         * lfuns.h:
2198         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2199
2200         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2201         dialog and to kill a forked process.
2202
2203 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2204
2205         * text2.C (setCursorFromCoordinates): fix font problem
2206
2207 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2208
2209         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2210         bogus "rebuild cursor" code
2211
2212 2004-03-11  André Pönitz  <poenitz@gmx.net>
2213
2214         * buffer.[Ch]: use InsetText instead of LyXText as container for
2215         the main lyx text.
2216
2217         * dociterator.[Ch]: drop the BufferView * member which is not needed
2218         anymore after the change to buffer.C
2219
2220         * paragraph_funcs.C:
2221         * text.C:
2222         * text2.C:
2223         * BufferView.[Ch]:
2224         * BufferView_pimpl.[Ch]:
2225         * cursor.[Ch]:
2226         * cursor_slice.[Ch]: adjust
2227
2228         * text3.C: fix bug in mathDispatch
2229
2230 2004-03-08  André Pönitz  <poenitz@gmx.net>
2231
2232         * undo.[Ch]: use 'StableDocumentIterator' as base for
2233         the Undo struct.
2234
2235 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2236
2237         * LaTeXFeatures.C:
2238         * bufferparams.[Ch]: add jurabib support and param.
2239
2240         * LaTeX.C: add FIXME/comment.
2241
2242 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2243
2244         * buffer.C: increment file format to 230.
2245
2246 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2247
2248         * cursor.C (dispatch): avoid infinite loops
2249
2250 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2251
2252         * rowpainter.C (paintSelection): fix x coordinates
2253
2254 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2255
2256         * text.C (rowBreakPoint): fix breaking before displayed insets
2257
2258 2004-03-01  André Pönitz  <poenitz@gmx.net>
2259
2260         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2261
2262         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2263
2264         * Makefile.am:
2265         * BufferView.C:
2266         * BufferView_pimpl.C:
2267         * buffer.C:
2268         * lyxfind.C:
2269         * lyxfunc.C:
2270         * text.C:
2271         * text2.C:
2272         * text3.C: adjust
2273
2274 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2275
2276         * lyxtext.h:
2277         * text.C:
2278         * text2.C:
2279         * rowpainter.C:
2280         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2281         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2282
2283 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2284
2285         * Bidi.[Ch] (computeTables): const correctness
2286         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2287         fill_hfill, fill_label_hfill and x from Row
2288         * lyxtext.h: prepareToPrint returns a RowMetrics
2289         * rowPainter.C: adjust
2290         * text.C (prepareToPrint): use width, not textWidth. adjust
2291         (redoParagraphInternal, cursorX): adjust
2292         * text2.C (getColumnNearX): adjust
2293         (init): put a default value to the top LyXText::width
2294
2295 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2298
2299 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2300
2301         * lyxtext.h: add FontIterator class
2302
2303         * text.C (FontIterator, operator*, operator->, operator++): add
2304         (rowBreakPoint, setRowWidth): adjust (fixing a
2305         rebreaking bug)
2306
2307 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2308
2309         * BufferView_pimpl.C (workAreaDispatch): allow also
2310         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2311
2312 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2313
2314         * text.C (rowBreakPoint): fix a bug showing with very large insets
2315
2316 2004-02-25  André Pönitz  <poenitz@gmx.net>
2317
2318         * text3.C:
2319         * cursor.[Ch]: move some mathed specific code to mathed
2320
2321 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2322
2323         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2324         use_tempdir in preferences
2325         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2326         tempfile creation
2327         * lyx_main.C: ensure that tempdir is valid
2328         * lyxlex.h: correct typo
2329         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2330         * paragraph.[Ch] (isMultiLingual): make const
2331         * cursor.[Ch] (openable): make const
2332
2333 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2334
2335         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2336
2337 2004-02-20  André Pönitz  <poenitz@gmx.net>
2338
2339         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2340
2341         * cursor.[Ch]: prepare for localized getStatus()
2342
2343         * lyxtext.h:
2344         * tabular.C:
2345         * text.C:
2346         * text2.C:
2347         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2348
2349 2004-02-20  André Pönitz  <poenitz@gmx.net>
2350
2351         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2352
2353 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2354
2355         * text2.C (setCursorFromCoordinates): switch to absolute coords
2356         (cursorUp): adjust
2357         (cursorDown): adjust
2358         * text3.C (dispatch): adjust
2359
2360 2004-02-16  André Pönitz  <poenitz@gmx.net>
2361
2362         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2363           insets/ChangeLog)
2364
2365         * cursor_slice.[Ch]: remove unneeded acessor function
2366
2367         * lyxtext.h: rename rtl() to isRTL()
2368
2369         * rowpainter.C:
2370         * tabular.C:
2371         * text.C:
2372         * text2.C:
2373         * text3.C: adjust
2374
2375 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2376
2377         * rowpainter.C (paintSelection): coord fix
2378
2379 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2380
2381         * Spacing.C: compile fix
2382
2383 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2384
2385         * cursor.C (dispatch): restore current_ before returning
2386
2387 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2388
2389         * text2.C (cursorUp, cursorDown): fix coords
2390         (moveUp): fix crash
2391
2392 2004-02-12  André Pönitz  <poenitz@gmx.net>
2393
2394         * lyxtext.h:
2395         * text.C:
2396         * text2.C:
2397         * text3.C: add LCursor & parameter to most cursor movement functions
2398           remove usage of LyXText::cursorRow() and cursorPar()
2399
2400         * cursor.[Ch]: add textRow() needed members
2401
2402         * BufferView.C:
2403         * BufferView_pimpl.C:
2404         * paragraph.[Ch]:
2405         * BufferView.C:
2406         * BufferView_pimpl.C: adjust
2407
2408 2004-02-11  André Pönitz  <poenitz@gmx.net>
2409
2410         * lyxfunc.C:
2411         * BufferView.[Ch]:
2412         * BufferView_pimpl.C: shift undo/redo handling
2413
2414         * cursor.[Ch]: fix mathed crash
2415
2416         * lyxfind.C:
2417         * lyxtext.h: move selectionAsText to LCursor
2418
2419         * output_latex.C:
2420         * paragraph.C:
2421         * text.C:
2422         * text2.C:
2423         * text3.C: adjust
2424
2425         * rowpainter.C: fix excessive drawing
2426
2427 2004-02-06  André Pönitz  <poenitz@gmx.net>
2428
2429         * BufferView.[Ch]:
2430         * BufferView_pimpl.[Ch]:
2431         * text3.C: move some text specific LFUN handling
2432
2433 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2434
2435         * text3.C (checkInsetHit): adjust coords
2436         * text2.C (getColumnNearX): adjust coords
2437         (edit): adjust coords
2438         * text.C (getRowNearY): add two asserts
2439
2440 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2441
2442         * converter.C:
2443         * format.C: add using std::distance to compile on gcc 2.95/stlport
2444
2445 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2446
2447         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2448
2449 2004-02-04  André Pönitz  <poenitz@gmx.net>
2450
2451         * BufferView.[Ch] (insertInset):
2452         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2453
2454         * text2.C:
2455         * text3.C: adjust
2456
2457 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2458
2459         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2460         on the default clause of the switch
2461         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2462         wasn't catched by LCursor::dispatch
2463
2464 2004-02-03  André Pönitz  <poenitz@gmx.net>
2465
2466         * BufferView.C:
2467         * cursor.[Ch]: some additional asserts
2468
2469         * undo.[Ch]: remove LyXText dependency in interface
2470
2471         * lyxfunc.C: adjust
2472
2473         * lyxtext.h (firstPar, lastPar): remove dead functions
2474
2475         * text.C:
2476         * text2.C:
2477         * text3.C:
2478         * paragraph.[Ch]: adjust
2479
2480 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2481
2482         * lyxfind.C (find): fix argument order in call to ::find
2483
2484 2004-02-02  André Pönitz  <poenitz@gmx.net>
2485
2486         * cursor.[Ch]: remove direct access to anchor
2487
2488         * text.C: remove findText() hack
2489
2490 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2491
2492         * iterators.[Ch] (lockPath): remove in favour of...
2493         * BufferView.[Ch] (setCursor): this addition
2494         * BufferView.C (putSelectionAt): adjust
2495         * undo.C (performUndoOrRedo): adjust
2496         * lyxfunc.C (dispatch): adjust
2497
2498 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2499
2500         * iterators.C (lockPath): add a missing slice
2501         * undo.C (performUndoOrRedo): remove redundant positioning code
2502
2503 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2504
2505         * vc-backend.C (scanMaster): ";" -> ';'
2506
2507 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2508
2509         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2510         std::binary_function
2511
2512         * lyxtextclass.C (compare_name): rename to...
2513         (LayoutNamesEqual): ...this
2514
2515         * lyxlex_pimpl.C (compare_tags): inherit from
2516         std::binary_function, put back into anon namespace
2517
2518         * lyxfind.C (MatchString): inherig from std::binary_function
2519         (findChange): use empty() istead of !size()
2520
2521         * format.C (FormatNamesEqual): new functor
2522         (getFormat): use it
2523         (getNumber): use it
2524         (add): use it
2525         (erase): use it
2526         (setViewer): use it
2527
2528         * converter.C (compare_Converter): rename to...
2529         (ConverterEqual): ...this, and fixup a bit.
2530         (getConverter): use it, and make function const
2531         (getNumber): use it, and make function const
2532         (add): use it
2533         (erase): use it:
2534
2535         * bufferlist.C: add using boost::bind
2536
2537         * MenuBackend.C (MenuNamesEqual): new functor
2538         (hasMenu): use it, and make function const
2539         (hasSubmenu): use nested bind to get rid of compare_memfun.
2540
2541 2004-01-30  André Pönitz  <poenitz@gmx.net>
2542
2543         * BufferView_pimpl.C:
2544         * cursor.C:
2545         * cursor.h:
2546         * cursor_slice.[Ch]:
2547         * lyxfunc.C:
2548         * lyxtext.h:
2549         * paragraph_funcs.C:
2550         * paragraph_funcs.h:
2551         * rowpainter.C:
2552         * text.C:
2553         * text2.C:
2554         * text3.C: move some of the edit(x,y) handling to the insets
2555         some coordinate changes.
2556
2557 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2558
2559         * text.C: add using statements for std::advance and std::distance
2560
2561         * paragraph.C: add using statement for std::distance
2562
2563         * lyxfind.C: add using statement for std::advance
2564
2565         * cursor.C (region): remove std:: from swap
2566         (openable): use nucleus in stead of operator->
2567
2568         * BufferView.C: add using statements for std::distance and std::swap
2569
2570 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2571
2572         * iterators.C: Remove the pimple, move the needed structures to
2573         the header file. Create accessor for the positions stack.
2574         (asPosIterator): remove function
2575
2576         * PosIterator.C (PosIterator): move constructors to top of file
2577         (PosIterator): reimplement the constructor taking a ParIterator in
2578         terms of setFrom.
2579         (setFrom): new function
2580         (operator!=): inline it
2581
2582 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2583
2584         * lyxfind.C (replaceAll): use std::advance
2585
2586         * iterators.h: inherit from std::iterator.
2587
2588         * PosIterator.C (advance, distance): remove
2589         * PosIterator.h: interit from std::iterator.
2590
2591 2004-01-26  André Pönitz  <poenitz@gmx.net>
2592
2593         * BufferView.[Ch]:
2594         * BufferView_pimpl.[Ch]:
2595         * InsetList.[Ch]:
2596         * PosIterator.[Ch]:
2597         * buffer.h:
2598         * bufferview_funcs.C:
2599         * cursor.[Ch]:
2600         * cursor_slice.h:
2601         * factory.[Ch]:
2602         * iterators.[Ch]:
2603         * lyxfind.C:
2604         * lyxfunc.C:
2605         * lyxtext.h:
2606         * output_docbook.C:
2607         * output_latex.C:
2608         * output_linuxdoc.C:
2609         * output_plaintext.C:
2610         * paragraph.[Ch]:
2611         * paragraph_funcs.[Ch]:
2612         * paragraph_pimpl.[Ch]:
2613         * rowpainter.C:
2614         * tabular.C:
2615         * tabular.h:
2616         * text.C:
2617         * text2.C:
2618         * text3.C: more IU:  dumps most of the rest of the mathcursor
2619     implementation into cursor.[Ch]; "globalize" a bit of it.
2620
2621 2004-01-25  Angus Leeming  <leeming@lyx.org>
2622
2623         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2624
2625 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2626
2627         * LaTeXFeatures.h: add nice_ and nice() const
2628         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2629
2630 2004-01-20  André Pönitz  <poenitz@gmx.net>
2631
2632         * BufferView.[Ch]:
2633         * BufferView_pimpl.C:
2634         * PosIterator.C:
2635         * bufferview_funcs.C:
2636         * cursor.[Ch]:
2637         * cursor_slice.[Ch]:
2638         * factory.C:
2639         * iterators.C:
2640         * lyx_cb.C:
2641         * lyxfind.C:
2642         * lyxfunc.C:
2643         * lyxtext.h:
2644         * rowpainter.C:
2645         * text.C:
2646         * text2.C:
2647         * text3.C:
2648         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2649           LCursor and mathcursor parts to LCursor and InsetBase.
2650
2651 2004-01-15  André Pönitz  <poenitz@gmx.net>
2652
2653         * cursor_slice.[Ch]: add a few covienience functions
2654
2655         * funcrequest.[Ch]: remove BufferView * member
2656
2657         * BufferView_pimpl.C:
2658         * cursor.C:
2659         * factory.[Ch]:
2660         * lyxfind.[Ch]:
2661         * lyxfunc.C:
2662         * lyxtext.h:
2663         * text3.C:
2664         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2665
2666 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2669         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2670
2671 2004-01-13  André Pönitz  <poenitz@gmx.net>
2672
2673         * textcursor.[Ch]:
2674         * lyxtext.h: hide cursor and selection anchor behind accessor function
2675
2676         * BufferView.C:
2677         * BufferView_pimpl.[Ch]:
2678         * PosIterator.C:
2679         * bufferview_funcs.C:
2680         * cursor.h:
2681         * lyxfind.C:
2682         * lyxfunc.C:
2683         * text.C:
2684         * text2.C:
2685         * text3.C:
2686         * undo.C: adjust
2687
2688         * cursor.h:
2689         * cursor_slice.[Ch]: some integer type changes for inset unification
2690
2691         * lyxcursor.[hC]: remove, it's CursorSlice now.
2692
2693         * Makefile.am:
2694         * BufferView_pimpl.[Ch]:
2695         * bufferview_funcs.C:
2696         * cursor_slice.C:
2697         * lyxtext.h:
2698         * text.C:
2699         * text2.C:
2700         * text3.C:
2701         * textcursor.[Ch]: adjust
2702
2703 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2704
2705         * text2.C (undoSpan): add and use
2706         * text.C (breakParagraph): use undoSpan (fix bug 578)
2707         * lyxtext.h: adjust
2708
2709 2004-01-08  Angus Leeming  <leeming@lyx.org>
2710
2711         * BufferView_pimpl.C (MenuInsertLyXFile):
2712         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2713         * lyxfunc.C (menuNew, open, doImport):
2714         FileFilterList change to the FileDialog open and save functions.
2715
2716 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2717
2718         * ShareContainer.h: make isEqual and isUnique adaptable
2719
2720         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2721
2722 2004-01-07  Angus Leeming  <leeming@lyx.org>
2723
2724         * LyXAction.C:
2725         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2726
2727         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2728
2729         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2730         functions replacing find, replace and replaceAll.
2731
2732         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2733         LFUN_WORDFIND(FORWARD|BACKWARD).
2734
2735 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2736
2737         * text.C (breakParagraph): remove an outdated #warning
2738
2739 2004-01-07  André Pönitz  <poenitz@gmx.net>
2740
2741         * lyxfind.C: somewhat clearer logic
2742
2743         * text.C: prevent crash in cursorX on unitialized row cache
2744
2745 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2746
2747         * lyxcursor.[Ch] (operator>): add
2748         * textcursor.C (selStart, selEnd): use std::min and std::max
2749
2750 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2751
2752         * Chktex.C: include boost/format.hpp
2753
2754 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2755
2756         * InsetList.C: replace functor MathcIt with adaptable functor
2757         InsetTablePosLess
2758         (insetIterator): modify accordingly
2759
2760         * BranchList.h: move the BranchNamesEqual functor here from...
2761         * BranchList.C: ... to here
2762
2763         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2764         SameName and match.
2765         (add): replace a finding loop with std::find_if.
2766
2767 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2768
2769         * output_docbook.C: moving LatexParam functionality into
2770         .layout files
2771
2772 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2773
2774         * buffer.C: increment format to 229.
2775
2776 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2777
2778         * LaTeXFeatures.C:
2779         * lyx_sty.[Ch]: remove minipageindent_def
2780
2781         * LyXAction.C:
2782         * factory.C:
2783         * lfuns.h:
2784         * lyxfunc.C:
2785         * text3.C: remove LFUN_INSET_MINIPAGE
2786
2787 2003-12-28  Angus Leeming  <leeming@lyx.org>
2788
2789         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2790
2791 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2792
2793         * text2.C (setParagraph): fix off-by-one crash
2794
2795 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2796
2797         * output_docbook.C: header stuff for AGU
2798
2799 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2800
2801         * text2.C (redoCursor): remove
2802         * text.C:
2803         * text3.C:
2804         * BufferView_pimpl.C: remove calls to redoCursor and
2805         setCursor(cursor.par(), cursor.pos()) all around
2806
2807 2003-12-15  Angus Leeming  <leeming@lyx.org>
2808
2809         * buffer.C: up the format to 228.
2810
2811 2003-12-15  André Pönitz  <poenitz@gmx.net>
2812
2813         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2814         slices
2815
2816         * Makefile.am:
2817
2818         * BufferView_pimpl.C:
2819         * cursor.[Ch]:
2820         * lyxcursor.[Ch]:
2821         * rowpainter.[Ch]:
2822         * lyxtext.h:
2823         * text.C:
2824         * text2.C:
2825         * text3.C: adjust
2826
2827 2003-12-15  Angus Leeming  <leeming@lyx.org>
2828
2829         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2830         than getFromGUIName to manipulate the color.
2831
2832 2003-12-14  Angus Leeming  <leeming@lyx.org>
2833
2834         * BranchList.[Ch]: minimize the API.
2835         (Branch::getBranch, getColor): now return a 'const &'.
2836         (Branch::setSelected) now returns a bool set to true if the
2837         selection status changes.
2838         (BranchList::clear, size, getColor, setColor, setSelected,
2839         allBranches, allSelected, separator): removed.
2840         (BranchList::find): new functions, returning the Branch with
2841         the given name.
2842         (BranchList::add, remove): return a bool indicating that
2843         the operation was successful.
2844
2845         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2846         new InsetBranch::isBranchSlected member function.
2847
2848         * LColor.[Ch]: mimimize the API.
2849         (fill): renamed as addColor and made private.
2850         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2851         versions of these functions taking a string arg have been removed.
2852
2853         * bufferparams.C (readToken):
2854         * lyxfunc.C (dispatch):
2855         * lyxrc.C (read): changes due to the altered BranchList and
2856         LColor APIs.
2857
2858         * factory.C (createInset, readInset): changes due to altered
2859         InsetBranch c-tor.
2860
2861 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2862
2863         * factory.C:
2864         * lyxfunc.C: remove insetminipage. "minipage-insert"
2865         now produces a frameless minipage box inset.
2866
2867 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2868
2869         * textcursor.[Ch] (selStart,selEnd): add new methods
2870         remove selection::start, end, use LyXCursor::operator<
2871         * lyxcursor.[Ch] (operator<): add
2872         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2873         * BufferView.[Ch] (unsetXSel): add
2874         * text2.C (clearSelection): use unsetXSel,adjust
2875         * text.C: adjust
2876         * text3.C: adjust
2877         * rowpainter.C: adjust
2878         * bufferview_funcs.C (put_selection_at): adjust
2879
2880 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * BufferView_pimpl.C: small coord. correction
2883
2884 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2887         dragging over the splash screen.
2888
2889 2003-12-11  Angus Leeming  <leeming@lyx.org>
2890
2891         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2892         as it is now handled in LyXText::dispatch.
2893
2894         * text3.C (doInsertInset): remove a level of nesting.
2895
2896 2003-12-11  Angus Leeming  <leeming@lyx.org>
2897
2898         * factory.C (createInset): changes due to the changed interface to
2899         InsetCommandMailer::string2params.
2900
2901 2003-12-10  Angus Leeming  <leeming@lyx.org>
2902
2903         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2904         'dialog-show-new-inset <inset name>'
2905
2906 2003-12-10  Angus Leeming  <leeming@lyx.org>
2907
2908         * buffer.C: up the format to 227.
2909
2910         * factory.C: the box inset is now identified simply by 'Box'.
2911
2912 2003-12-10  Angus Leeming  <leeming@lyx.org>
2913
2914         * buffer.C: up the format to 226.
2915
2916         * factory.C: the note inset is now identified simply by 'Note'.
2917
2918 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2919
2920         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2921         when a pit is enough. Standarize a couple of loops.
2922
2923 2003-12-05  Angus Leeming  <leeming@lyx.org>
2924
2925         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2926         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2927         data to the re-worked "log" dialog.
2928
2929 2003-12-03  André Pönitz  <poenitz@gmx.net>
2930
2931         * PosIterator.C:
2932         * iterators.C:
2933         * lyxtext.h:
2934         * output_latex.C:
2935         * paragraph_funcs.C:
2936         * text.C:
2937         * text2.C: use Inset::getText instead of Inset::getParagraph
2938
2939 2003-12-03  André Pönitz  <poenitz@gmx.net>
2940
2941         * buffer.[Ch]:
2942         * lyxtext.h:
2943         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2944         InsetText::read() as LyXText::read()
2945
2946 2003-12-02  Angus Leeming  <leeming@lyx.org>
2947
2948         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2949         type. Add a comment in the implementation that the function uses
2950         the stream's bad() function rather than fail() as the std::streams
2951         would do.
2952
2953 2003-12-02  André Pönitz  <poenitz@gmx.net>
2954
2955         * lyxlex.[Ch]: make interface more similar to std::stream
2956
2957         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2958
2959 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2960
2961         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2962
2963 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2964
2965         * vspace.[Ch]: remove VSpace::NONE
2966
2967 2003-12-01  André Pönitz  <poenitz@gmx.net>
2968
2969         * buffer.[Ch]:
2970         * lyxtext.h: move ParagraphList member to LyXText
2971         rename LyXText::ownerParagraphs to LyXText::paragraph
2972
2973         * CutAndPaste.C:
2974         * bufferview_funcs.C:
2975         * iterators.[Ch]:
2976         * lyx_cb.C:
2977         * paragraph.C:
2978         * rowpainter.C:
2979         * tabular.C:
2980         * text.C:
2981         * text2.C:
2982         * text3.C: adjust
2983
2984         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2985
2986         * undo.C: fix cursor positioning
2987
2988 2003-12-01  John Levon  <levon@movementarian.org>
2989
2990         * BufferView_pimpl.C: fix a crash on exit with
2991         a buffer open
2992
2993 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2994
2995         * BranchList.C: fix setSelected() method.
2996
2997 2003-11-28  André Pönitz  <poenitz@gmx.net>
2998
2999         * ParagraphParameters.[Ch]:
3000         * ParameterStruct.h: remove space above/below from Paragraph to
3001          InsetVSpace
3002
3003         * BufferView_pimpl.C:
3004         * factory.C:
3005         * lyxfunc.C:
3006         * lyxtext.h:
3007         * output_latex.C:
3008         * paragraph.C:
3009         * paragraph_funcs.C:
3010         * rowpainter.[Ch]:
3011         * text.C:
3012         * text2.C:
3013         * text3.C: adjust
3014
3015 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3016
3017         * factory.C: Syntax change for CharStyles
3018
3019 2003-11-28  André Pönitz  <poenitz@gmx.net>
3020
3021         * BufferView.[Ch]:
3022         * BufferView.[Ch]:
3023         * buffer.[Ch]:
3024         * buffer.[Ch]: move LyXText member
3025
3026 2003-11-28  André Pönitz  <poenitz@gmx.net>
3027
3028         * BufferView.[Ch]: make LyXText * text a private member
3029
3030         * BufferView_pimpl.C:
3031         * cursor.C:
3032         * iterators.C:
3033         * lyx_cb.C:
3034         * lyxfind.C:
3035         * lyxtext.h:
3036         * rowpainter.[Ch]:
3037         * text.C:
3038         * text2.C:
3039         * undo.C: adjust
3040
3041         * output_plaintext.C: cleanup
3042
3043 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3044
3045         * buffer.C:
3046         * lyxtextclass.[Ch]: parametrize SGML document header
3047
3048 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3049
3050         * converter.[Ch]:
3051         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3052         getFlavor().
3053
3054 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3055
3056         * text2.C (setFont): rework using PosIterator (no more recursive)
3057         (setCharFont): no more needed
3058         (setLayout): no more selection cursors fiddling (done by redoCursor)
3059         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3060         destroy remaining ones)
3061
3062 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3063
3064         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3065         * lyxtext.h: ditto
3066         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3067         selection cursors
3068         * lyxfunc.C: adjust
3069         * text3.C: adjust + re-allow multi par depth changes
3070         * textcursor.C: simplify a bit
3071
3072 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3073
3074         * src/buffer.C:
3075         * src/lyxlayout.C:
3076         * src/lyxlayout.h:
3077         * src/lyxtext.h:
3078         * src/output_docbook.C:
3079         * src/output_latex.C:
3080         * src/paragraph.C:
3081         * src/paragraph.h:
3082         * src/sgml.C:
3083         * src/sgml.h:
3084         * src/text2.C: Introducing a number of tags parametrizing various
3085         XML formats that we may want to support
3086
3087 2003-11-25  André Pönitz  <poenitz@gmx.net>
3088
3089         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3090
3091         * lyxtext.h (leftMargin/rightMargin): simplify interface
3092
3093         * rowpainter.C:
3094         * text.C:
3095         * text2.C:
3096         * text3.C: adjust
3097
3098 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3099
3100         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3101         master file to any child files. Fixes bug 546.
3102
3103 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3106
3107 2003-11-24  André Pönitz  <poenitz@gmx.net>
3108
3109         * rowpainter.C: simplification
3110
3111         * text2.C (updateCounters): remove call to redoParagraph on
3112         changed labels as this is far too expensive.
3113
3114 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * converter.C (convert): fix a crash: this function gets
3117         called with buffer == 0 from importer code.
3118
3119 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3120
3121         * text3.C (cursorPrevious): make sure that we do not compare
3122         iterators form different containers.
3123         (cursorNext): ditto
3124
3125         * rowpainter.C (paintSelection): make sure that we do not compare
3126         iterators from different containers.
3127
3128         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3129         iterators from different ParagraphList containers.
3130         [NEXT] ditto
3131
3132         * text2.C (LyXText): change order of initialization slightly
3133         (operator=): new function. copy all variables except cache_par_
3134         (moveUp): make sure that we do not compare iterators from
3135         different ParagraphList constainers.
3136         (moveDown): ditto
3137
3138         * text.C (firstPar): new function
3139         (lastPar): new function
3140         (endPar): new function
3141
3142         * lyxtext.h: move things around and group public functions, public
3143         variables, private functions, private variables
3144
3145 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3146
3147         * factory.C: change call to InsetERT constructor to avoid
3148         additional invocation of method status
3149         * text2.C (toggleInset): remove redundant update() call
3150         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3151         instead of a Bufferview pointer
3152
3153 2003-11-21  André Pönitz  <poenitz@gmx.net>
3154
3155         * rowpainter.C: simplification
3156
3157 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3158
3159         * text3.C (dispatch): make possible to extend a word/row selection
3160         with the mouse
3161
3162 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3163
3164         * lyxtext.h: x0_,y0_ -> xo_,yo_
3165         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3166         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3167         * rowpainter.C (paintRows): paint full paragraphs
3168
3169 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3170
3171         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3172         screen coordinates)
3173
3174 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3175
3176         * lyxtext.h: add x0_, y0_
3177         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3178         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3179
3180 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3181
3182         * text2.C (setCursorIntern): move the x_target update here *
3183         * text3.C: change some bv() to true/false in calls to
3184         cursorUp/Down/Right/Left
3185         * cursor.C: use helper function.
3186
3187 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3188
3189         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3190         * paragraph_funcs.[Ch]: correct comment
3191         * rowpainter.C: do not paint selections away from bv->cursor()
3192         Fix a long standing selection painting bug.
3193         * text3.C: generalize mouse-selection code to LyXTexts other that
3194         top one
3195         * textcursor.C: do not use y coords if we can use par offsets
3196
3197 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3200         cursor position after e.g. inset insert)
3201
3202 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3203
3204         * lyxfind.C (replace): adjust to locking removal + some
3205         code simplification
3206
3207 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3208
3209         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3210         of the path
3211
3212 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3213
3214         * lyxlayout.[Ch]:
3215         * output_docbook.C: XML sanitation: new layout
3216         parameters InnerTag and CommandDepth
3217
3218 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3219
3220         * BufferView_pimpl.C:
3221         * factory.C:
3222         * text3.C: Fix the insertion and modification of button-style
3223         insets
3224
3225 2003-11-13  André Pönitz  <poenitz@gmx.net>
3226
3227         * InsetList.[Ch]: remove deleteLyXText
3228
3229         * paragraph.[Ch]: cache beginOfBody position
3230
3231         * Bidi.C:
3232         * text.C:
3233         * text2.C:
3234         * text3.C: remove superfluous update() calls
3235
3236         * vspace.C: cleanup
3237
3238 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3239
3240         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3241         * BufferView.C (fitLockedInsetCursor): remove
3242         * cursor.[Ch] (getDim): add
3243         * text.C (getRowNearY): add faster version
3244         * text3.C: remove some update calls
3245
3246 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3247
3248         * LaTeXFeatures.C:
3249         * LyXAction.C:
3250         * MenuBackend.C:
3251         * MenuBackend.h:
3252         * dispatchresult.h:
3253         * factory.C:
3254         * lfuns.h:
3255         * lyxfunc.C:
3256         * lyxtextclass.C:
3257         * lyxtextclass.h:
3258         * text3.C: The Character Style /XML short element patch.
3259
3260 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3261
3262         * text3.C:
3263         * factory.C: Small step to solving 'unable to insert some insets'
3264         problem
3265
3266 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * cursor.[Ch] (updatePos): new function for updating the y
3269         position of the tip inset
3270         * bufferview_funcs.C (put_selection_at):
3271         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3272
3273 2003-11-11  André Pönitz  <poenitz@gmx.net>
3274
3275         * text.C: remove big comment on invalid Paragraph pointers as it is
3276         not valid anymore
3277
3278 2003-11-11  André Pönitz  <poenitz@gmx.net>
3279
3280         * text_funcs.[Ch]: merge with ...
3281
3282         * text.C: ... this
3283
3284         * lyxtext.h:
3285         * text2.C:
3286         * text3.C: adjust
3287
3288         * Makefile.am: remove text_funcs.[Ch]
3289
3290 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3291
3292         * cursor.C (getPos): return absolute cached y coord
3293
3294         * BufferView_pimpl.C (fitCursor): new simplistic code
3295         (workAreaDispatch): add a fitCursor call
3296
3297 2003-11-10  André Pönitz  <poenitz@gmx.net>
3298
3299         * BufferView.[Ch]:
3300         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3301
3302 2003-11-10  André Pönitz  <poenitz@gmx.net>
3303
3304         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3305         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3306         indicate that the cursor needs to leave an inset
3307
3308         * lyxtext.h: remove inset locking
3309
3310         * cursor.[Ch]: re-implement functionality provided by inset locking
3311
3312         * BufferView.[Ch]:
3313         * BufferView_pimpl.[Ch]:
3314         * LyXAction.C:
3315         * bufferview_funcs.[Ch]:
3316         * factory.C:
3317         * funcrequest.[Ch]:
3318         * iterators.C:
3319         * lyx_cb.C:
3320         * lyxfind.C:
3321         * lyxfunc.C:
3322         * text.C:
3323         * text2.C:
3324         * text3.C:
3325         * undo.C: adjust
3326
3327 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3328
3329         * PosIterator.[Ch]: replace the stack with a vector, add inset
3330         accesor
3331         * iterators.[C]: adjust
3332
3333 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3336         replaced
3337         * paragraph_funcs.C (readParToken): put the correct id in the
3338         error item, not the id of the top paragraph
3339
3340 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3343         * bufferview_funcs.C (put_selection_at): use the above
3344
3345 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3346
3347         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3348
3349 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3350
3351         * output_linuxdoc.h:
3352         * output_plaintext.h:
3353         * output.h:
3354         * output_docbook.h: add #include statements
3355
3356 2003-11-05  José Matos  <jamatos@lyx.org>
3357
3358         * output_docbook.[Ch]:
3359         * output_latex.[Ch]:
3360         * output_linuxdoc.[Ch]:
3361         * output_plaintext.[Ch]: New files for output formats.
3362         * output.[Ch]: New file for helper functions.
3363
3364         * buffer.[Ch]:
3365         * paragraph_funcs.[Ch]: output functions moved to new files.
3366
3367         * outputparams.h: rename of latexrunparams.h
3368
3369         * LaTeX.[Ch]:
3370         * buffer.[Ch]:
3371         * bufferlist.[Ch]:
3372         * converter.[Ch]:
3373         * exporter.C:
3374         * paragraph.[Ch]:
3375         * paragraph_funcs.[Ch]:
3376         * paragraph_pimpl.[Ch]:
3377         * tabular.[Ch]: rename ascii to plaintext
3378         and LatexRunParams to OutputParams.
3379
3380 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3381
3382         * iterators.[Ch] (text): require bv argument
3383         * undo.C (recordUndo):
3384         * lyxfunc.C (dispatch):
3385         * bufferview_funcs.C (put_selection_at): adjust
3386
3387 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3388
3389         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3390
3391 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3392
3393         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3394         nestings
3395
3396 2003-11-04  André Pönitz  <poenitz@gmx.net>
3397
3398         * cursor.[Ch]: restructure
3399
3400         * BufferView.[Ch]:
3401         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3402
3403         * iterators.[Ch] (asCursor): remove
3404
3405         * lfuns.h: remove LFUN_INSET_EDIT
3406
3407         * lyxfunc.C:
3408         * tabular.C:
3409         * text.C:
3410         * text2.C:
3411         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3412
3413 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3414
3415         * lyxfind.[Ch]: complete overhaul
3416         * BufferView_pimpl.C:
3417         * lyxfunc.C: adjust
3418         * paragraph.[Ch] (insert): add
3419
3420 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3421
3422         * BufferView.[Ch]:
3423         * lyxtext.h:
3424         * text.C: remove dead spellcheck code
3425
3426 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * dispatchresult.h: add a val setter
3429
3430         * cursor.C (dispatch): use a tempvar for data_[i]
3431
3432 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * PosIterator.[Ch]: compile fix
3435
3436 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3437
3438         * text.C (cursorPar): deactivate the cursor cache
3439
3440 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3443
3444 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * text3.C (dispatch): adjust for new DisptchResult semantics.
3447
3448         * lyxfunc.C (dispatch): handle update when return from
3449         Cursor::dispatch, adjust for new DispatchResult semantics.
3450
3451         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3452         DispatchResult(true) mean to not update. Add class functions for
3453         setting dispatched and update, as well as reading.
3454
3455         * cursor.C (dispatch): don't handle update here
3456
3457 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3460         * trans_mgr.C: adjust
3461
3462         * paragraph_funcs.C (readParToken): exception safety
3463
3464         * lyxvc.h: store the vcs pointer in a scoped_ptr
3465         * lyxvc.C: adjust
3466
3467         * lyxsocket.C (serverCallback): exception safety
3468
3469         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3470
3471         * ispell.C (clone): make it return a auto_ptr
3472
3473         * factory.C (createInset): exception safety
3474         (readInset): exception safety
3475
3476         * bufferlist.C (newBuffer): exception safety
3477
3478         * Thesaurus.C (Thesaurus): use initialization for aik_
3479
3480         * MenuBackend.C (expandToc): exception safety.
3481
3482 2003-11-03  André Pönitz  <poenitz@gmx.net>
3483
3484         * buffer.C:
3485         * buffer.h:
3486         * bufferview_funcs.C: remove getInsetFromId()
3487
3488         * lyxcursor.[Ch]:
3489         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3490
3491         * lyxfunc.C:
3492         * text2.C:
3493         * text3.C: adjust
3494
3495 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * PosIterator.C (distance, advance): new
3498         * bufferview_funcs.[Ch] (put_selection_at): new
3499         * iterators.[Ch] (lockPath): new
3500
3501 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3502
3503         * iterators.[Ch] (asPosIterator): added
3504         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3505         * PosIterator.[Ch]: added
3506
3507 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3508
3509         * text3.C:
3510         * lyxfunc.C:
3511         * cursor.C (dispatch):
3512         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3513
3514         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3515         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3516         contructor, add a class function dispatched. Remove operator>=
3517
3518 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * debug.C: only use the default constructor for debugstream
3521         (lyxerr) here.
3522
3523         * main.C (main): include debug.h and setup the lyxerr streambuf
3524         here.
3525
3526 2003-10-31  José Matos  <jamatos@lyx.org>
3527
3528         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3529
3530         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3531         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3532         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3533         * paragraph_pimpl.C (simpleTeXSpecialC):
3534         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3535         add LatexRunParams argument.
3536
3537         * exporter.C (Export): change call accordingly.
3538
3539         * latexrunparams.h: add new member to take care of the other backends.
3540 2003-10-30  José Matos  <jamatos@lyx.org>
3541
3542         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3543         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3544         factorise code for paragraph output.
3545         * buffer.[Ch]:
3546         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3547         move functions.
3548
3549 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * text3.C (dispatch):
3552         * lyxfunc.C (dispatch):
3553         * cursor.C (dispatch):
3554         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3555
3556         * dispatchresult.h: make the dispatch_result_t ctor explicit
3557
3558 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3559
3560         * sgml.[Ch]:
3561         * buffer.C: small refactoring of docbook stuff
3562
3563 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3566         meaning.
3567
3568 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3571         operator dispatch_result_t, and operators for == != and >=
3572
3573         * cursor.C (dispatch): adjust for operator dispatch_result_t
3574         removal. comment out call to update
3575
3576         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3577
3578 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3579
3580         * text3.C:
3581         * text2.C:
3582         * text.C:
3583         * lyxtext.h:
3584         * lyxfunc.C:
3585         * cursor.C:
3586         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3587         (dispatch):
3588
3589         * dispatchresult.h: new file, DispatchResult broken out of
3590         insets/insetbase.h
3591
3592         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3593
3594 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * text.C (rowBreakPoint): put a hack inside #if 0
3597
3598 2003-10-28  André Pönitz  <poenitz@gmx.net>
3599
3600         * lyxtext.h:
3601         * metricsinfo.C:
3602         * paragraph_funcs.C:
3603         * rowpainter.C:
3604         * text.C:
3605         * text2.C: general cleanup (lots of small stuff)
3606
3607 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3608
3609         * text2.C (cursorEnd): simple fix to the "end key goes to one
3610         before the end on last row" bug
3611
3612 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3613
3614         * text.C (backspace): fix the "zombie characters"
3615
3616 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3617
3618         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3619
3620 2003-10-27  André Pönitz  <poenitz@gmx.net>
3621
3622         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3623
3624         * factory.C: handle new InsetPagebreak, InsetLine
3625
3626         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3627         and move handling into new InsetPagebreak, InsetLine
3628
3629         * BufferView_pimpl.C:
3630         * LyXAction.C:
3631         * ParagraphParameters.C:
3632         * ParameterStruct.h:
3633         * lyxfunc.C:
3634         * lyxtext.h:
3635         * paragraph.C:
3636         * paragraph.h:
3637         * paragraph_funcs.C:
3638         * paragraph_pimpl.C:
3639         * rowpainter.C:
3640         * text.C:
3641         * text2.C:
3642         * text3.C: adjust
3643
3644 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3645
3646         * text.C:
3647         * lyxrow_funcs.[Ch]:
3648         * Bidi.C:
3649         * paragraph.C:
3650         * lyxtext.h:
3651         * rowpainter.C:
3652         * text2.C:
3653         * text3.C: remove lastPos uses in favour of Row::endpos
3654
3655 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3656
3657         * undo.C (performUndoOrRedo): fix two crashes by setting a
3658         cursor by hand and reordering some calls. Use bv->lockInset instead
3659         of inset->edit because the latter loses cursor information
3660
3661 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3662
3663         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3664         by Martin
3665         (rowBreakPoint): fix width. change point to point + 1.
3666         Add a missing check.
3667
3668 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3669
3670         * MenuBackend.C:
3671         * lyxfunc.C: fix (at least partly) the problems
3672         with the Nav menu and headers inside branch insets
3673         reported by Kayvan
3674
3675 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3676
3677         * paragraph.C (getChar): add strong asserts
3678
3679         * lyxrow_funcs.C (lastPos): remove hideous hack
3680
3681         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3682         (fill): adjust to that (avoid an infinite loop)
3683
3684 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3685
3686         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3687
3688 2003-10-23  André Pönitz  <poenitz@gmx.net>
3689
3690         * RowList_fwd.h: change list<> to vector<> to gain speed
3691         after suggestion from Alfredo
3692
3693 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3694
3695         * lyxtext.h: move the bidi stuff from here...
3696         * text.C: and here
3697         * text2.C: and here
3698         * Bidi.[Ch]: ... to here
3699
3700 2003-10-23  André Pönitz  <poenitz@gmx.net>
3701
3702         * lyxtext.h:
3703         * text.C (isLastRow, isFirstRow): new functions
3704
3705         * paragraph.h: new width cache member
3706
3707         * rowpainter.C: replace RowList::iterator with Row & where possible
3708
3709         * lyxfunc.C: replace several view()->text with a single call
3710
3711         * toc.C: fix 'unused' warning
3712
3713 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3716         when woring with stream::pos_type
3717         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3718
3719 2003-10-22  André Pönitz  <poenitz@gmx.net>
3720
3721         * lyxtext.h:
3722         * text.C: use Row & instead of RowList::iterator
3723
3724         * lyxrow.h: rename end() to endpos()
3725
3726         * rowpainter.C:
3727         * text.C:
3728         * text2.C: adjust
3729
3730 2003-10-22  Angus Leeming  <leeming@lyx.org>
3731
3732         * buffer.[Ch] (fully_loaded): new member function, returning true
3733         only when the file has been loaded fully.
3734         Used to prevent the premature generation of previews and by the
3735         citation inset to prevent computation of the natbib-style label.
3736
3737         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3738         templates are all set up.
3739
3740         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3741
3742 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3743
3744         * text.C: fixed an "oops" in the "is a bit silly"
3745         bug fix
3746
3747 2003-10-21  André Pönitz  <poenitz@gmx.net>
3748
3749         * FuncStatus.[Ch]: small stuff, whitespace
3750
3751         * lyxfont.[Ch]: operator<<() for debug reasons
3752
3753         * lyxfunc.C:
3754         * lyxrow_funcs.C:
3755         * lyxtext.h: whitespace, spelling
3756
3757         * paragraph.C: naming of variables
3758
3759         * text.C:
3760         * text2.C: small stuff
3761
3762
3763 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3764
3765         * text.C: (1) finish off the inset display() work;
3766         (2) fix the "is a bit silly" bug (accessing char
3767         past end of par).
3768
3769 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3770
3771         * text.C: re-introduce display() for insets, fixing the
3772         various bugs (stretch of line above, math inset
3773         positioning, ...)
3774
3775 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3776
3777         * text.C (rightMargin): remove spurious semicolon
3778
3779         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3780         1415)
3781
3782 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3783
3784         * text3.C: fix one crash due to wrong cursor def
3785
3786 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * vc-backend.C (scanMaster): make the regex static
3789
3790         * LaTeX.C (scanAuxFile): make the regexs static
3791
3792         * text3.C (doInsertInset, dispatch, dispatch):
3793         * text2.C (cursorUp, cursorDown):
3794         * text.C (selectNextWordToSpellcheck):
3795         * BufferView_pimpl.C (dispatch):
3796         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3797
3798 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3799
3800         * lyxsocket.C: include <cerrno>
3801
3802 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3803
3804         * lyxfunc.C (dispatch): remove textcache stuff
3805
3806         * bufferlist.C (release): remove textcache stuff
3807         (closeAll): ditto
3808
3809         * TextCache.C: delete file
3810         * TextCache.h: delete file
3811
3812         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3813
3814         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3815         delete of the bv_->text.
3816         (resizeCurrentBuffer): remove texcache stuff
3817         (workAreaResize): ditto
3818
3819 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3822         action.
3823
3824 2003-10-16  André Pönitz  <poenitz@gmx.net>
3825
3826         * lyxrow.[Ch]:
3827         * paragraph.h:
3828         * rowpainter.C:
3829         * text.C:
3830         * text2.C:
3831         * text3.C: speed up by storing y positions per paragraph plus per-row
3832         offset instead of having a 'full' y position in the row.
3833
3834 2003-10-15  André Pönitz  <poenitz@gmx.net>
3835
3836         * iterators.[Ch]:
3837         * iterators.[Ch]:
3838         * undo.[Ch]: make undo aware of inner insets
3839
3840 2003-10-14  Angus Leeming  <leeming@lyx.org>
3841
3842         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3843         static member functions LyX::ref() and LyX::cref.
3844         (lastfiles): new accessor functions for the new lastfiles_ member var.
3845         (addLyXView, views_): add a new LyXView to the list of views_.
3846         (updateInset): loop over all LyXViews to call their own updateInset
3847         member function, returning a pointer to the Buffer owning the inset.
3848
3849         * BufferView_pimpl.C (loadLyXFile):
3850         * MenuBackend.C (expandLastfiles):
3851         * bufferlist.C (MenuWrite, QuitLyX):
3852         lastfiles is no longer a global variable.
3853         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3854
3855         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3856         static function. Access through LyX::cref().emergencyCleanup().
3857
3858 2003-10-14  André Pönitz  <poenitz@gmx.net>
3859
3860         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3861
3862         * undo.[Ch]: restoring part of 'undo in insets'
3863
3864         * Makefile.am:
3865         * undo_funcs.[Ch]: merge with undo.[Ch]
3866
3867         * tabular.C: small cleansing stuff
3868
3869 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3870
3871         * paragraph_funcs.C (readParToken): report unknown insets as error
3872         boxes. Use the outer paragraph as location (also for unknown
3873         tokens).
3874
3875         * factory.C (readInset): do not abort on reading an unknown inset.
3876         Eat it and return 0.
3877
3878 2003-10-13  Angus Leeming  <leeming@lyx.org>
3879
3880         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3881
3882         * lyxrc.C: displayTranslator is now a function,
3883         declared in GraphicsTypes.h.
3884
3885 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3886
3887         * format.C: new placeholder $$a to pass the socket address.
3888
3889         * bufferlist.[Ch]: new function getBufferFromTmp.
3890
3891         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3892           files in the temporary dir.
3893
3894 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3895
3896         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3897
3898         * Makefile.am: add lyxsocket.[Ch].
3899
3900         * lyx_main.C (error_handler): handle SIGPIPE.
3901
3902 2003-10-13  André Pönitz  <poenitz@gmx.net>
3903
3904         * BufferView_pimpl.C:
3905         * lyxtext.h:
3906         * text.C:
3907         * text2.C:
3908         * text3.C:
3909         * undo_funcs.[Ch]: use paroffset_type instead of
3910           ParagraphList::iterators to prevent multiple conversion
3911           (and get a more robust interface)
3912
3913 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3916         * lyxtext.h: ditto
3917         * text3.C (dispatch): ditto
3918
3919 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3922         move the onlyfile, use onlyfile instead of foundfile in a couple
3923         of places.
3924
3925         * DepTable.C (update): flush the error stream a bit more
3926
3927 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * lyxserver.C (callback): adjust
3930
3931         * lyxfunc.C (getStatus): add a missing brace in commented code
3932         (ensureBufferClean): reindent
3933         (dispatch): delete version taking a string
3934
3935 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * LaTeX.C (deplog): move found file handlig from here...
3938         (handleFoundFile): .. to new function here.
3939         (deplog): make sure to discover several files mentioned on the
3940         same log line.
3941
3942 2003-10-10  André Pönitz  <poenitz@gmx.net>
3943
3944         * lyxfunc.C:
3945         * lyxtext.h:
3946         * tabular.C:
3947         * text.C:
3948         * text2.C:
3949         * text3.C: fix some of the tabular crashes
3950
3951 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3952
3953         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3954
3955         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3956
3957 2003-10-09  André Pönitz  <poenitz@gmx.net>
3958
3959         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3960
3961         * BufferView.C:
3962         * BufferView_pimpl.C:
3963         * bufferview_funcs.C:
3964         * lyx_cb.C:
3965         * lyxcursor.C:
3966         * lyxfind.C:
3967         * lyxfunc.C:
3968         * lyxtext.h:
3969         * text.C:
3970         * text2.C:
3971         * text3.C:
3972         * text_funcs.[Ch]:
3973         * textcursor.[Ch]:
3974         * undo_funcs.C: adjust
3975
3976 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * text2.C (incrementItemDepth): new function, use a backtracking
3979         algorithm to discover the correct item depth.
3980         (resetEnumCounterIfNeeded): new function, use a backtracking
3981         algorithm to discover if counter reset is needed.
3982         (setCounter): use them. Simplify a bit. Add different labels for
3983         different item depths for itemize.
3984
3985         * paragraph.C (Paragraph): remove initialization of enumdepth
3986         (operator=): ditto
3987
3988         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3989         enumerate and itemize. Change the type of itemdepth to signed char.
3990
3991 2003-10-08  André Pönitz  <poenitz@gmx.net>
3992
3993         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3994           thing assignable.
3995         * text.C:
3996         * text2.C: adjust
3997
3998         * tabular.[Ch]: fix crash after 'row-insert'
3999
4000 2003-10-08  Angus Leeming  <leeming@lyx.org>
4001
4002         Fix doxygen warnings.
4003
4004         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4005         Remove CutAndPaste:: prefix from header file declaration.
4006
4007         * LColor.h (fill): remove LColor:: prefix from declaration.
4008
4009         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4010         use lyx::depth_type rather than Paragraph::depth_type so that
4011         header file and .C file match.
4012
4013         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4014
4015         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4016         * aspell.C: \file aspell_local.C -> \file aspell.C
4017         * gettext.C: \file gettext.C -> \file src/gettext.C
4018         * gettext.h: \file gettext.h -> \file src/gettext.h
4019         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4020         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4021         * text.C: \file text.C -> \file src/text.C
4022
4023         * toc.C: move comment so that doxygen is not confused.
4024
4025 2003-10-07  Angus Leeming  <leeming@lyx.org>
4026
4027         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4028
4029 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4030
4031         * aspell.C:
4032         * aspell_local.h: add forgotten std::string's.
4033
4034 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4035
4036         * LaTeXFeatures.C:
4037         * LyXAction.C:
4038         * factory.C:
4039         * lfuns.h:
4040         * lyxfunc.C:
4041         * text3.C: The Box patch. Fancybox support, minipage, parbox
4042
4043 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4044
4045         * CutAndPaste.h:
4046         * DepTable.h:
4047         * FloatList.h:
4048         * LaTeXFeatures.h:
4049         * ParagraphParameters.h:
4050         * TextCache.h:
4051         * Thesaurus.h:
4052         * bufferlist.h:
4053         * exporter.h:
4054         * importer.h:
4055         * lastfiles.h:
4056         * lyxfind.h:
4057         * lyxfont.h:
4058         * lyxlex.h:
4059         * lyxtextclasslist.h:
4060         * messages.h:
4061         * paragraph.h:
4062         * paragraph_pimpl.C:
4063         * textcursor.h: add <string> and other small fixes to make Lars'
4064         std::string patch compile with STLport.
4065
4066 2003-10-06  Angus Leeming  <leeming@lyx.org>
4067
4068         * LColor.h: Add missing #include <string>.
4069
4070 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4071
4072         * All most all file in all subdirs: Make <string> be the prefered
4073         way of getting to std::string, add using declarations.
4074
4075 2003-10-06  André Pönitz  <poenitz@gmx.net>
4076
4077         * metricsinfo.C: initialize LyXFont before changing attribute.
4078         (fixes the 'math in \emph is upright' bug)
4079
4080 2003-10-06  André Pönitz  <poenitz@gmx.net>
4081
4082         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4083
4084 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * graph.C:
4087         * paragraph_pimpl.C: Small fixes to build using STLport
4088
4089 2003-10-02  André Pönitz  <poenitz@gmx.net>
4090
4091         * lyxfunc.C:
4092         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4093
4094 2003-10-01  André Pönitz  <poenitz@gmx.net>
4095
4096         * factory.C: assert early
4097
4098 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * lyx_main.C: remove the global debug object
4101
4102         * debug.h: adjust for new debugstream
4103
4104         * debug.C: adjust for new debugstream and keep the global debug
4105         object here.
4106
4107 2003-09-22  Angus Leeming  <leeming@lyx.org>
4108
4109         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4110         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4111         an incomplete class LyXFont.
4112
4113 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4114
4115         * factory.C: bug fix in branches
4116
4117 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * lyxfunc.C (processKeySym): adjust
4120         (dispatch): adjust
4121         (dispatch): change arg name from ev to func, adjust
4122         (sendDispatchMessage): ditto
4123
4124         * lyx_main.C (defaultKeyBindings): adjust keybindings
4125         (deadKeyBindings): ditto
4126
4127         * kbsequence.C (addkey): return a FuncRequest
4128
4129         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4130
4131         * kbmap.C (bind): take a FuncRequest as arg, adjust
4132         (read): adjust
4133         (lookup): adjust
4134         (defkey): change to take a FuncRequest as arg, adjust
4135         (findbinding): take a FuncRequest as arg, adjust.
4136
4137         * funcrequest.h (operator=): added
4138
4139         * funcrequest.C (FuncRequest): default kb_action changed from
4140         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4141
4142         * buffer.C (dispatch): simplify
4143         (dispatch): adjust to take a FuncRequest as arg, adjust
4144
4145         * boost.C (assertion_failed): change assertion message slightly
4146
4147         * ToolbarBackend.C (read): simplify
4148
4149         * MenuBackend.C (binding): adjust call to findbinding, add a
4150         message if no binding is found.
4151         (read): simplify
4152         (expandToc): correct by adding a empty FuncRequest
4153
4154         * LyXAction.C: include <boost/assert.hpp>
4155         (isPseudoAction): delete function
4156         (LookupFunc): change name to...
4157         (lookupFunc): this. change return type to FuncRequest.
4158         (getActionName): take kb_action as arg, simplify
4159         (funcHasFlag): add an assert, simplify.
4160
4161 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * toc.C (action): return a FuncRequest, simplify
4164
4165         * lyxfunc.C (processKeySym): adjust
4166         (getStatus): delete version that takes an int.
4167         (getStatus): adjust
4168         (dispatch): delete version that takes action as int
4169         (dispatch): adjust
4170         (sendDispatchMessage): simplify and adjust
4171
4172         * funcrequest.C (getArg): take unsigned int as arg
4173
4174         * ToolbarBackend.C (read): adjust
4175         (add): delete version that takes func as a string.
4176         (getIton): take a FuncRequest as arg
4177
4178         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4179         action.
4180
4181         * MenuBackend.C (MenuItem): add a new construct that only takes a
4182         Kind, simplify the constructor use for submenus.
4183         (add): adjust
4184         (expandLastfiles): adjust
4185         (expandDocuments): adjust
4186         (expandFormats): adjust
4187         (expandFloatListInsert): adjust
4188         (expandFloatInsert): adjust
4189         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4190
4191         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4192         Remove class variables lyx_pseudo_map and lyx_arg_map
4193
4194         * LyXAction.C (searchActionArg): delete function
4195         (getPseudoAction): delete function
4196         (retrieveActionArg): delete function
4197         (LookupFunc): make it return kb_action, simplify.
4198         (getActionName): simplify
4199
4200         * factory.C (createInset): fix new bug
4201
4202 2003-09-19  Angus Leeming  <leeming@lyx.org>
4203
4204         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4205         masterFilename_ parameter in the include inset.
4206
4207         * factory.C (createInset): changes due to the changes to InsetInclude.
4208
4209 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4210
4211         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4212
4213 2003-09-18  Angus Leeming  <leeming@lyx.org>
4214
4215         * buffer.C:
4216         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4217         Inset::fillWithBibKeys.
4218         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4219
4220 2003-09-18  Angus Leeming  <leeming@lyx.org>
4221
4222         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4223         variables.
4224         (ctor): pass and store a 'Buffer const &'
4225         (buffer): new member function.
4226
4227         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4228         '*this' to the LaTeXFeatures ctor.
4229
4230 2003-09-18  Angus Leeming  <leeming@lyx.org>
4231
4232         * LColor.h:
4233         * lyxfont.C:
4234         * lyxfont.h:
4235         * lyxtext.h:
4236         * text.C: rename EnumLColor as LColor_color.
4237
4238 2003-09-18  Angus Leeming  <leeming@lyx.org>
4239
4240         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4241         remove #include "insets/insetbase.h" from cursor.h.
4242
4243 2003-09-18  Angus Leeming  <leeming@lyx.org>
4244
4245         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4246         InsetOld_code to remove #include "inset.h".
4247
4248         * iterators.C: add #include "insets/inset.h"
4249
4250 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4251
4252         * BufferView.C: remove more locking stuff that apparently doesn't
4253         do anything sensible.
4254
4255 2003-09-16  André Pönitz  <poenitz@gmx.net>
4256
4257         * paragraph.[Ch]:
4258         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4259           performance boost.
4260
4261 2003-09-16  Angus Leeming  <leeming@lyx.org>
4262
4263         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4264
4265         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4266         arg/return type.
4267
4268         * paragraph.h: remove #include "lyxfont.h". Forward declare
4269         LyXFont_size.
4270
4271 2003-09-16  Angus Leeming  <leeming@lyx.org>
4272
4273         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4274         of support/textutils.h.
4275         (isWord): move the contents of support/textutils.h's IsWordChar here.
4276
4277         * buffer.C:
4278         * lyxfind.C:
4279         * rowpainter.C:
4280         * text.C:
4281         * text2.C: add #include "paragraph.h".
4282
4283         * rowpainter.C:
4284         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4285
4286 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * main.C:
4289         * lyx_main.C:
4290         * lyx_cb.C:
4291         * buffer.C:
4292         * LaTeX.C: use namespace alias for lyx::support::os
4293
4294 2003-09-16  Angus Leeming  <leeming@lyx.org>
4295
4296         * bufferparams.C:
4297         * bufferview_funcs.C:
4298         * factory.C:
4299         * lyxfunc.C:
4300         * paragraph_pimpl.C:
4301         * rowpainter.C:
4302         * text.C: add #include "LColor.h".
4303
4304 2003-09-16  Angus Leeming  <leeming@lyx.org>
4305
4306         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4307         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4308         return LyXFont &.
4309         Store the FontBits::color variable as an int rather than as an
4310         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4311         file.
4312
4313         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4314         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4315         string calls together.
4316
4317         * lyxrc.C: add #include "LColor.h".
4318
4319 2003-09-15  Angus Leeming  <leeming@lyx.org>
4320
4321         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4322         a cow_ptr.
4323
4324 2003-09-15  Angus Leeming  <leeming@lyx.org>
4325
4326         * LColor.h: add an EnumLColor wrapper for LColor::color.
4327
4328         * lyxfont.[Ch] (color, setColor, realColor):
4329         * lyxtext.h, text.C (backgroundColor):
4330         pass EnumLColor args to/from the functions, rather than LColor::color
4331         ones.
4332
4333         * lyxfont.h:
4334         * lyxtext.h: forward declare EnumLColor.
4335
4336         * lyx_main.C: add #include "LColor.h".
4337
4338 2003-09-15  Angus Leeming  <leeming@lyx.org>
4339
4340         * .cvsignore: add lyx-gtk.
4341
4342 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * Chktex.C
4345         * LaTeX.C
4346         * LaTeXFeatures.C
4347         * ParagraphParameters.C
4348         * Spacing.C
4349         * buffer.C
4350         * bufferparams.C
4351         * bufferview_funcs.C
4352         * chset.C
4353         * counters.C
4354         * funcrequest.C
4355         * lyxfont.C
4356         * lyxgluelength.C
4357         * lyxlength.C
4358         * paragraph.C
4359         * paragraph_funcs.C
4360         * text3.C
4361         * vc-backend.C: remove usage of STRCONV
4362
4363 2003-09-15  Angus Leeming  <leeming@lyx.org>
4364
4365         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4366         explicitly define the color passed to the painter.
4367
4368 2003-09-15  Angus Leeming  <leeming@lyx.org>
4369
4370         * bufferparams.C (BufferParams): reorder member initializers to avoid
4371         compiler warning.
4372
4373 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4374
4375         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4376         * text.C (updateRowPositions): remove an unusual nop
4377
4378 2003-09-12  André Pönitz  <poenitz@gmx.net>
4379
4380         * BufferView_pimpl.C:
4381         * Bullet.C:
4382         * layout.h:
4383         * lyxfunc.C:
4384         * lyxlayout.[Ch]:
4385         * lyxtextclass.C:
4386         * rowpainter.C:
4387         * text.C:
4388         * text2.C:
4389         * Counters.[Ch]: finish the 'automatic counters' job
4390
4391 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4392
4393         * aspell.C: include <boost/assert.cpp> (compile fix)
4394
4395 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4396
4397         * boost.C (assertion_failed): use lyx::support::abort instead of
4398         assert.
4399
4400 2003-09-10  Angus Leeming  <leeming@lyx.org>
4401
4402         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4403         with their _fwd progeny.
4404
4405 2003-09-09  Angus Leeming  <leeming@lyx.org>
4406
4407         134 files throughtout the source tree: replace 'using namespace abc;'
4408         directives with the appropriate 'using abc::xyz;' declarations.
4409
4410 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4411
4412         * boost.C (emergencyCleanup): moved here from LAssert.c
4413         (assertion_failed): new function, called by BOOST_ASSERT
4414
4415         * several files: change Assert to BOOST_ASSERT
4416
4417 2003-09-09  Angus Leeming  <leeming@lyx.org>
4418
4419         * buffer.[Ch]: Add an Impl class and move Buffer's member
4420         variables into it. As a result move several header files out of
4421         buffer.h.
4422
4423         Add header files to lots of .C files all over the tree as a result.
4424
4425 2003-09-09  Angus Leeming  <leeming@lyx.org>
4426
4427         * buffer.[Ch]: make Buffer's member variables private. Add
4428         accessor functions.
4429
4430         Lots of changes all over the tree as a result.
4431
4432 2003-09-08  Angus Leeming  <leeming@lyx.org>
4433
4434         * graph.C: #include <config.h>.
4435
4436 2003-09-08  Angus Leeming  <leeming@lyx.org>
4437
4438         * BranchList.C:
4439         * BufferView.C:
4440         * BufferView_pimpl.C:
4441         * CutAndPaste.C:
4442         * DepTable.C:
4443         * LaTeX.C:
4444         * LaTeXFeatures.C:
4445         * LyXAction.C:
4446         * MenuBackend.C:
4447         * TextCache.C:
4448         * aspell.C:
4449         * buffer.C:
4450         * bufferlist.C:
4451         * changes.C:
4452         * chset.C:
4453         * converter.C:
4454         * counters.C:
4455         * debug.C:
4456         * graph.C:
4457         * ispell.C:
4458         * lyx_cb.C:
4459         * lyxfind.C:
4460         * lyxfunc.C:
4461         * lyxlex_pimpl.C:
4462         * lyxrc.C:
4463         * lyxrow.C:
4464         * paragraph.C:
4465         * rowpainter.C:
4466         * texrow.C:
4467         * text.C:
4468         * text2.C:
4469         * toc.C: remove redundant using directives.
4470
4471 2003-09-07  Angus Leeming  <leeming@lyx.org>
4472
4473         * LaTeXFeatures.h: remove #include "support/types.h".
4474         * ToolbarBackend.h: remove #include <algorithm>.
4475         * changes.h: remove #include <ctime>.
4476         * debug.h: remove #include <iosfwd>.
4477         * graph.h: remove #include "support/std_string.h".
4478         * lyx_main.h: remove #include <csignal>.
4479         * lyxlex_pimpl.h: remove #include <fstream>.
4480         * sgml.h: remove #include <algorithm>, <utility>.
4481         * toc.h: remove #include "support/std_ostream.h".
4482         Add #include <iosfwd>.
4483
4484 2003-09-07  Angus Leeming  <leeming@lyx.org>
4485
4486         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4487
4488         * converter.h: forward declare LatexRunParams.
4489         * encoding.h: remove #include "lyxrc.h".
4490         * lyxtext.h: remove #include "LColor.h".
4491         * lyxtextclass.h: remove #include "support/types.h".
4492         * trans.h: remove #include "tex-accent.h".
4493         * trans_mgr.h: remove #include "tex-accent.h".
4494         * insets/inset.h: remove #include "support/types.h", <vector>.
4495         * insets/insetcollapsable.h: remove #include "LColor.h".
4496         * insets/insetinclude.h: remove #include "dimension.h".
4497         * insets/insetlatexaccent.h: remove #include "dimension.h".
4498         * insets/insetoptarg.h:: remove #include "insettext.h".
4499         * insets/insettext.h: remove #include "dimension.h",
4500         <boost/shared_ptr.hpp>
4501
4502         * insets/renderers.h: add #include "dimension.h".
4503         * insets/updatableinset.h: add #include "support/types.h".
4504
4505         * many .C files: Associated changes.
4506
4507 2003-09-06  Angus Leeming  <leeming@lyx.org>
4508
4509         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4510         one, inside testInvariant.
4511
4512         * PrinterParams.C: new file.
4513         * PrinterParams.[Ch]: move the function bodies out of line.
4514
4515 2003-09-06  Angus Leeming  <leeming@lyx.org>
4516
4517         * ParagraphParameters.h: forward declare ParameterStruct rather than
4518         including its header file.
4519         (depth): moved out-of-line.
4520
4521 2003-09-06  Angus Leeming  <leeming@lyx.org>
4522
4523         * BufferView_pimpl.h:
4524         * kbmap.h:
4525         * kbsequence.h:
4526         * lyxfunc.h: forward declare LyXKeySym rather than
4527         #include "frontends/LyXKeySym.h".
4528
4529         * BufferView_pimpl.C:
4530         * kbmap.C:
4531         * kbsequence.C:
4532         * lyxfunc.C: associated changes.
4533
4534 2003-09-06  Angus Leeming  <leeming@lyx.org>
4535
4536         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4537         As a result, can remove the #include "insets/inset.h" from BufferView.h
4538
4539 2003-09-06  Angus Leeming  <leeming@lyx.org>
4540
4541         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4542         As a result, can remove the #include "insets/inset.h" from BufferView.h
4543
4544 2003-09-06  Angus Leeming  <leeming@lyx.org>
4545
4546         * buffer_funcs.C:
4547         * buffer.h:
4548         * bufferlist.C:
4549         * BufferView.C:
4550         * bufferview_funcs.C:
4551         * BufferView_pimpl.C:
4552         * CutAndPaste.C:
4553         * lyx_cb.C:
4554         * lyxfunc.C:
4555         * paragraph.h:
4556         * ParagraphParameters.C:
4557         * tabular.C:
4558         * text3.C:
4559         * toc.C:
4560         * undo_funcs.C:
4561         * frontends/controllers/ControlDocument.C:
4562         * insets/insetcaption.C: rearrange the #includes into some sort of
4563         coherent order.
4564
4565         * buffer.h: remove #includes ErrorList.h, undo.h
4566
4567 2003-09-06  Angus Leeming  <leeming@lyx.org>
4568
4569         * support/types.h: add a 'depth_type' typedef, used to store the
4570         nesting depth of a paragraph.
4571
4572         * paragraph.h:
4573         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4574         defining explicitly.
4575
4576         * buffer.h:
4577         * paragraph_funcs.h:
4578         * ParagraphParameters.h:
4579         * sgml.h: use lyx::depth_type rather than Paragraph or
4580         ParameterStruct's depth_type.
4581
4582         * buffer.h
4583         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4584
4585         * BufferView.C:
4586         * BufferView_pimpl.C:
4587         * CutAndPaste.C:
4588         * ParagraphParameters.C:
4589         * buffer_funcs.C:
4590         * bufferlist.C:
4591         * bufferview_funcs.C:
4592         * lyx_cb.C:
4593         * lyxfunc.C:
4594         * tabular.C:
4595         * text3.C:
4596         * toc.C:
4597         * undo_funcs.C:
4598         * frontends/LyXView.C:
4599         * frontends/controllers/ControlDocument.C:
4600         * frontends/controllers/ControlErrorList.C:
4601         * insets/insetbibitem.C:
4602         * insets/insetbranch.C:
4603         * insets/insetcaption.C:
4604         * insets/insetcollapsable.C:
4605         * insets/insetenv.C:
4606         * insets/insetert.C:
4607         * insets/insetfloat.C:
4608         * insets/insetfoot.C:
4609         * insets/insetfootlike.C:
4610         * insets/insetnewline.C:
4611         * insets/insetquotes.C:
4612         * insets/insettabular.C:
4613         * insets/insettext.C:
4614         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4615
4616         * frontends/controllers/ControlChanges.C: #include "changes.h".
4617
4618 2003-09-06  Angus Leeming  <leeming@lyx.org>
4619
4620         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4621         than #including paragraph.h.
4622
4623         * ParagraphList.h:
4624         * RowList.h: deleted. Superfluous.
4625
4626         * CutAndPaste.h:
4627         * iterators.h:
4628         * lyxcursor.h:
4629         * lyxtext.h:
4630         * text_funcs.h:
4631         * undo.h:
4632         * undo_funcs.h:
4633         * insets/inset.h:
4634         * insets/insettext.h: use ParagraphList_fwd.h rather than
4635         ParagraphList.h.
4636
4637         * paragraph.h: don't forward declare ParagraphList.
4638
4639         * buffer.h:
4640         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4641         rather than ParagraphList.h. paragraph.h is still needed for the
4642         Paragraph::depth_type parameters.
4643
4644         * textcursor.h: enable it to compile stand-alone in light of the
4645         above changes.
4646
4647         * bufferview_funcs.C:
4648         * iterators.C:
4649         * lyxfunc.C:
4650         * lyxrow_funcs.C:
4651         * paragraph.C:
4652         * rowpainter.C:
4653         * text.C:
4654         * text2.C:
4655         * text3.C:
4656         * text_funcs.C:
4657         * textcursor.C:
4658         * undo.C:
4659         * frontends/controllers/ControlParagraph.C:
4660         * frontends/controllers/ControlTabular.C:
4661         * insets/insetmarginal.C:
4662         * insets/insetminipage.C:
4663         * insets/insetnote.C:
4664         * insets/insetoptarg.C: add header files needed to compile again.
4665
4666 2003-09-06  Angus Leeming  <leeming@lyx.org>
4667
4668         * RowList_fwd.h: new file, forward-declaring Row rather than
4669         #including lyxrow.h.
4670
4671         * lyxrow_funcs.h:
4672         * lyxtext.h:
4673         * paragraph.h:
4674         * insets/insettext.h: use it instead of RowList.h
4675
4676         * bufferview_funcs.C:
4677         * lyxfunc.C:
4678         * lyxrow_funcs.C:
4679         * paragraph.C:
4680         * rowpainter.C:
4681         * text.C:
4682         * text2.C:
4683         * text3.C: #include "RowList.h".
4684
4685 2003-09-05  Angus Leeming  <leeming@lyx.org>
4686
4687         * factory.C (createInset):
4688         * vspace.C (c-tor): replace sscanf call with an istringstream.
4689         * ispell.C: re-add missing HP/UX headers.
4690         * lyxserver.C: re-add missing  os2 headers.
4691
4692 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4693
4694         * BranchList.C:
4695         * graph.C:
4696         * ispell.C:
4697         * lastfiles.C:
4698         * lyx_cb.C:
4699         * lyxserver.C:
4700         * texrow.C:
4701         * text3.C: re-add missing system headers, needed for 2.95.2.
4702
4703 2003-09-05  Angus Leeming  <leeming@lyx.org>
4704
4705         Changes most place everywhere due to the removal of using directives
4706         from support/std_sstream.h.
4707
4708 2003-09-05  Angus Leeming  <leeming@lyx.org>
4709
4710         Replace LString.h with support/std_string.h,
4711         Lsstream.h with support/std_sstream.h,
4712         support/LIstream.h with support/std_istream.h,
4713         support/LOstream.h with support/std_ostream.h.
4714
4715         Changes resulting throughout the tree.
4716
4717 2003-09-05  Angus Leeming  <leeming@lyx.org>
4718
4719         * sgml.h: ensure that the header file can be compiled stand-alone.
4720         * *.C: strip out redundant #includes. (320 in total.)
4721
4722 2003-09-04  Angus Leeming  <leeming@lyx.org>
4723
4724         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4725         here (from getPackages).
4726
4727         * debug.[Ch]: add a new EXTERNAL tag.
4728
4729 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4730
4731         * text2.C (cursorEnd): simplify
4732         (setCursor): adjust
4733         (getColumnNearX): adjust
4734
4735         * text.C (computeBidiTables): adjust
4736         (fill): adjust
4737
4738         * rowpainter.C (paintChars): adjust
4739         (paintSelection): adjust
4740         (paintChangeBar): adjust
4741         (paintText): adjust
4742
4743         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4744         lastPos instead.
4745         (numberOfSeparators): adjust
4746
4747 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4748
4749         * LyXAction.C:
4750         * box.[Ch]:
4751         * lfuns.h:
4752         * lyxfunc.C:
4753         * text3.C: Restricts the mouse click functionality
4754         of insets like bibtex, include, toc and floatlist to the visible
4755         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4756         up the dialogs. Cursor has to be in front of the inset (i.e.
4757         start of row) for this to function.
4758
4759 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4760
4761         * bufferview_funcs.C (currentState): output row information
4762
4763 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4764
4765         * bufferview_funcs.C (currentState): output paragraph position
4766
4767 2003-09-04  Angus Leeming  <leeming@lyx.org>
4768
4769         * FloatList.h: move out #include "Floating.h".
4770         * LaTeX.h: move out #include "DepTable.h".
4771         * LyXAction.h: move out #include "funcrequest.h".
4772         * buffer.h: move out #include "author.h", "iterators.h".
4773         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4774         * lyx_main.h: move out #include "errorlist.h".
4775         * lyxfunc.h: move out #include "FuncStatus.h".
4776         * lyxtext: move out #include "lyxcursor.h".
4777         * paragraph_pimpl.h: move out #include "counters.h".
4778
4779 2003-09-03  Angus Leeming  <leeming@lyx.org>
4780
4781         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4782         preamble_snippets list, enabling us to add snippets to the preamble
4783         only if the snippet was not there already.
4784
4785 2003-09-04  Angus Leeming  <leeming@lyx.org>
4786
4787         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4788
4789 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4792         update
4793
4794 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4795
4796         * BranchList.C: point fix, earlier forgotten
4797
4798 2003-09-02  Angus Leeming  <leeming@lyx.org>
4799
4800         * box.C (contains): renamed from 'contained' after a fantastic
4801         amount of hot air.
4802
4803 2003-09-02  John Levon  <levon@movementarian.org>
4804
4805         * BufferView.C:
4806         * lyxcursor.h:
4807         * lyxcursor.C:
4808         * lyxfunc.C:
4809         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4810
4811 2003-09-02  John Levon  <levon@movementarian.org>
4812
4813         * text2.C: simplification of cursorEnd(), including partial
4814         fix for bug 1376
4815
4816 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * buffer.C (readFile): add a space
4819
4820 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4821
4822         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4823
4824 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * buffer.C (readFile): new function, take a filename and a
4827         ParagraphList::iterator
4828         (readFile): adjust
4829         (readFile): adjust, make it private. don't use setStream, make
4830         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4831         always contain the filename.
4832
4833         * BufferView.C (insertLyXFile): simplify and make it work for
4834         gzipped files.
4835
4836 2003-08-30  John Levon  <levon@movementarian.org>
4837
4838         * Makefile.am: fix dist (from Kayvan)
4839
4840 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4841
4842         * most files: change to use const Buffer refs
4843
4844 2003-08-27  André Pönitz  <poenitz@gmx.net>
4845
4846         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4847         on top of ownerPar().
4848
4849 2003-08-27  John Levon  <levon@movementarian.org>
4850
4851         * funcrequest.C: properly initialise POD members
4852
4853 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4854
4855         * lyxtext.h (top_y): move top_y from here
4856         * text.C:
4857         * text2.C:
4858         * text3.C:
4859         * BufferView.[Ch]:
4860         * BufferView_pimpl.[Ch]: to here
4861         * frontends/screen.C:
4862         * insets/insettabular.C:
4863         * insets/insettext.C: adjust
4864         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4865
4866 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4867
4868         * BufferView.[Ch]:
4869         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4870
4871 2003-08-26  André Pönitz  <poenitz@gmx.net>
4872
4873         * paragraph_func.[Ch] (outerPar): new function
4874
4875         * paragraph.C:
4876         * paragraph_funcs.C:
4877         * paragraph_funcs.h:
4878         * paragraph_pimpl.C:
4879         * text2.C: remove Inset::par_owner
4880
4881 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4882
4883         * lyxrow_funcs.C:
4884         * lyxtext.h:
4885         * text.C:
4886         * text2.C: eliminates the needFullRow/display() stuff
4887         altogether, putting the logic in metrics/draw in the insets.
4888
4889 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * text2.C (redoParagraphInternal, redoParagraphs):
4892         * text.C (redoParagraph): add a call to updateRowPositions at the
4893         end of each 'metrics-like' call. Remove all others.
4894         (getRow): remove the 'y-computing' version.
4895         (getRowNearY): do not compute nor return the real y. Solve the
4896         'y < 0' problem and simplify.
4897
4898 2003-08-22  Angus Leeming  <leeming@lyx.org>
4899
4900         * *.[Ch]: clean-up of licence and author blurbs.
4901         Also move config.h out of a few .h files and into a few .C files.
4902
4903 2003-08-22  André Pönitz  <poenitz@gmx.net>
4904
4905         * lyxrow.[Ch]: add x_ and *fill_ members
4906
4907         * lyxtext.h:
4908         * text.C:
4909         * rowpainter.C:
4910         * text2.C: adjust/remove prepareToPrint() calls
4911
4912 2003-08-22  André Pönitz  <poenitz@gmx.net>
4913
4914         * lyxrow.[Ch]: add  end_ member
4915
4916         * lyxrow_funcs.C: use LyXRow::end_
4917
4918         * lyxtext.h (singleWidth): add LyXFont parameter
4919
4920         * rowpainter.C:
4921         * text2.C: adjust LyXText::singleWidth() calls
4922
4923         * text.C (redoParagraph): simplify row breaking logic
4924
4925
4926 2003-08-19  André Pönitz  <poenitz@gmx.net>
4927
4928         * funcrequest.C: initialize button_ member
4929
4930         * text3.C:
4931         * rowpainter.[Ch]: interface consolidation
4932
4933 2003-08-18  André Pönitz  <poenitz@gmx.net>
4934
4935         * BufferView.C:
4936         * BufferView_pimpl.C:
4937         * lyxfind.C:
4938         * paragraph_funcs.C:
4939         * rowpainter.C:
4940         * text3.C: remove LyXScreen::draw() and fitCursor calls
4941
4942         * BranchList.h: remove spurious semicolons
4943
4944         * MenuBackend.C: fix branchlist related crash
4945
4946 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4947
4948         * BranchList.[Ch]:
4949         * InsetList.[Ch]:
4950         * LColor.[Ch]:
4951         * LyXAction.C:
4952         * Makefile.am:
4953         * MenuBackend.[Ch]:
4954         * bufferparams.[Ch]:
4955         * factory.C:
4956         * lfuns.h:
4957         * lyxfunc.C:
4958         * text3.C: implements the 'branch inset'
4959         idea. This allows the output of various versions of a document
4960         from a single source version, selectively outputing or suppressing
4961         output of parts of the text.
4962         This implementation contains a 'branch list editor' in a separate
4963         tab of the document settings dialog. Branches are user definable
4964         and have a "display colour" to distinguish them on-screen.
4965
4966         ColorHandler was somewhat cleaned up.
4967         (1) make possible a dynamically growing LColor list by allowing
4968         the graphic context cache to grow along (vector);
4969         (2) eliminate an IMHO unnecessary step in colour allocation.
4970
4971 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4972
4973         * BufferView_pimpl.C: compile fix
4974
4975 2003-08-15  André Pönitz  <poenitz@gmx.net>
4976
4977         * rowpainter.C: remove extra metrics calls
4978
4979         * lyxtext.h: merge the two constructors into a single one,
4980           pass reference to owner's par list
4981
4982         * BufferView_pimpl.C:
4983         * text.C:
4984         * text2.C: adjust
4985
4986 2003-08-15  André Pönitz  <poenitz@gmx.net>
4987
4988         * lyxrow_funcs.[Ch]:
4989         * lyxtext.h:
4990         * paragraph.h:
4991         * paragraph_funcs.C:
4992         * rowpainter.C:
4993         * text.C:
4994         * text2.C:
4995         * text3.C:
4996         * text_funcs.C: split LyXText::rowlist_ into individual
4997         Paragraph::rows_ chunks
4998
4999         * BufferView.[Ch]:
5000         * BufferView_pimpl.[Ch]:
5001         * lyxfind.C:
5002         * lyxtext.h:
5003         * text3.C: remove toggleSelection()
5004
5005 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5006
5007         * bufferlist.C: beautify two alerts (shorter text of buttons)
5008         * buffer.C: Remove redundant ' ' from message
5009         * tabular.h:
5010         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5011         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5012         rename VALIGN_CENTER to VALIGN_MIDDLE
5013
5014 2003-08-11  André Pönitz  <poenitz@gmx.net>
5015
5016         * lyxtext.h (getPar):
5017         * text.C: new function
5018
5019 2003-08-11  André Pönitz  <poenitz@gmx.net>
5020
5021         * Makefile.am:
5022         * tracer.[Ch]: remove unneeded files
5023
5024         * InsetList.[Ch]: remove resizeInsetsLyXText()
5025
5026         * lyxtext.h:
5027         * text.C:
5028         * text2.C:
5029         * text3.C: merge insertParagraphs() and appendParagraph()
5030         remove breakAgain(), update()
5031
5032         * BufferView_pimpl.[Ch]:
5033         * bufferview_funcs.[Ch]:
5034         * lyxfunc.C:
5035         * paragraph.[Ch]:
5036         * rowpainter.C:
5037         * tabular.C: adjust after text & InsetList changes.
5038
5039 2003-08-08  André Pönitz  <poenitz@gmx.net>
5040
5041         * text.C (insertChar, backspace): replace rowlist fiddling
5042         with rebreak of full par
5043
5044         * lyxtext.h:
5045         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5046         checkParagraph, updateInset): removed
5047
5048 2003-08-07  André Pönitz  <poenitz@gmx.net>
5049
5050         * paragraph.C:
5051         * text3.C: merge some LFUN handlers, remove dead code
5052
5053 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5054
5055         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5056
5057 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5058
5059         * text2.C (DEPM): fix part of bug 1255 and 1256
5060
5061 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5062
5063         * BufferView_pimpl.C (workAreaDispatch): change to use
5064         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5065         that are no mouse related.
5066
5067 2003-08-05  André Pönitz  <poenitz@gmx.net>
5068
5069         * BufferView.[Ch]:
5070         * BufferView_pimpl.[Ch]:
5071         * bufferview_funcs.C:
5072         * text2.C:
5073         * text3.C: rip out "deep update"
5074
5075         * textcursor.[Ch] (last_sel_cursor): remove unused member
5076
5077 2003-08-04  André Pönitz  <poenitz@gmx.net>
5078
5079         * BufferView.[Ch]:
5080         * BufferView_pimpl.[Ch]:
5081         * ParagraphParameters.C:
5082         * bufferview_funcs.C:
5083         * lyx_cb.C:
5084         * lyxfind.C:
5085         * lyxfunc.C:
5086         * text.C:
5087         * text2.C:
5088         * text3.C: replace "complicated" BufferView::update(...) calls with
5089         simpler ones.
5090
5091         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5092
5093 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5094
5095         * Makefile.am (lyx_SOURCES): add paper.h
5096
5097 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5098
5099         * Makefile.am: move things around so that both lyx-qt and
5100         lyx-xforms can be built (according to --with-frontend). Then lyx
5101         is a symbolic link to lyx-[firstfrontend]
5102
5103 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5104
5105         * Always use std::endl with lyxerr
5106
5107 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5108
5109         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5110
5111 2003-08-01  André Pönitz  <poenitz@gmx.net>
5112
5113         * BufferView.[Ch]:
5114         * BufferView_pimpl.[Ch]:
5115         * lyxfunc.C:
5116         * text3.C: merge BufferView::repaint() and BufferView::update()
5117
5118 2003-08-01  José Matos  <jamatos@lyx.org>
5119
5120         * buffer.[Ch]: file_format is no longer a buffer data element.
5121
5122 2003-08-01  André Pönitz  <poenitz@gmx.net>
5123
5124         * BufferView.C:
5125         * lyxtext.h:
5126         * text.C:
5127         * text2.C: make redoParagraph more independent of current cursor
5128
5129         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5130         * text.C:
5131         * text2.C: remove unneeded members
5132
5133 2003-07-30  André Pönitz  <poenitz@gmx.net>
5134
5135         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5136
5137         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5138           create a single function...
5139
5140         * paragraph_funcs.C (moveItem): ... here.
5141
5142         * text.C:
5143           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5144
5145 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5146
5147         * LColor.[Ch]: Add comment and greyedout logical colors.
5148
5149 2003-07-30  André Pönitz  <poenitz@gmx.net>
5150
5151         * tabular.C: don't use Assert too heavily. This crashes where it
5152           shouldn't
5153
5154 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5155
5156         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5157         is disabled (bug 1232)
5158
5159 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5160
5161         * factory.C: limited 'arg' scope
5162
5163 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5164
5165         * factory.C: fixed Note submenu issues
5166
5167 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5168
5169         * factory.C: submenu for Note/Comment/Greyedout
5170
5171 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5172
5173         * lyx_main.C (LyX):
5174         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5175
5176 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5177
5178         * LaTeXFeatures.C:
5179         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5180         greyedout. Patch provided by Jürgen Spitzmüller.
5181
5182 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5183
5184         * kbmap.C (read): fix error message when reading bind files
5185
5186 2003-07-29  Angus Leeming  <leeming@lyx.org>
5187
5188         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5189         certainly does not do what it purports to do. I am doing it, and
5190         us, a favour by killing it.
5191
5192 2003-07-28  José Matos  <jamatos@lyx.org>
5193
5194         * buffer.C (readBody, do_writeFile):
5195         * paragraph.C(readParagraph): \end_document replaces \the_end.
5196
5197 2003-07-29  André Pönitz  <poenitz@gmx.net>
5198
5199         * BufferView.[Ch]:
5200         * BufferView_pimpl.[Ch]:
5201         * lyxfunc.C:
5202         * text2.C:
5203         * text3.C:
5204         * textcursor.[Ch]: remove toggleToggle & Co
5205
5206 2003-07-28  José Matos  <jamatos@fep.up.pt>
5207
5208         * buffer.C (readParagraph):
5209         * params_func (readParToken, readParagraph):
5210         * paragraph.C (write): \layout -> \begin_layout.
5211
5212 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * lyxlex_pimpl.C (setFile): clean up slightly.
5215
5216         * bufferparams.h: add compressed var
5217
5218         * buffer_funcs.C (readFile): adjust for LyXLex change
5219         (newFile): ditto + simplify
5220
5221         * buffer.C (writeFile): handle writing of compressed files
5222
5223         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5224         Check if the file is compressed and set a bufferparm if so.
5225
5226         * Makefile.am (lyx_LDADD): remove explicit -lz
5227
5228 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5229
5230         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5231         makeDocBookFile): put the real LyX version in the first line of
5232         the file
5233
5234         * version.h:
5235         * version.C.in: remove lyx_docversion
5236
5237         * tabular.C (write_attribute): add a template-based version to
5238         write enums properly
5239
5240 2003-07-28  André Pönitz  <poenitz@gmx.net>
5241
5242         * lyxtext.h:
5243         * text.C:
5244         * text2.C:
5245         * text3.C: use doubles again for x-coordinates. They are needed.
5246
5247 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * messages.C (getLocaleDir): use lyx_localedir()
5250
5251         * lyxlex_pimpl.C (setFile): compress stuff
5252
5253         * buffer.C (writeFile): add some compression stuff
5254         (do_writeFile): new func, dont call expliti close... will this
5255         breake anything?
5256
5257         * Makefile.am (lyx_LDADD): add -lz
5258
5259 2003-07-28  José Matos  <jamatos@fep.up.pt>
5260
5261         * buffer.C: increment file format.
5262         * paragraph_funcs (readParagraph, readParToken):
5263         * paragraph.C (readParagraph): add \end_layout.
5264
5265 2003-07-27  Angus Leeming  <leeming@lyx.org>
5266
5267         * Makefile.am: remove special casing for configure-time setting of
5268         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5269
5270         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5271         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5272
5273 2003-07-26  André Pönitz  <poenitz@gmx.net>
5274
5275         * paragraph_func.[Ch]:
5276         * paragraph.C (realizeFont): inline it whereever it is used
5277
5278         * rowpainter.C:
5279         * text.C:
5280         * text2.C:
5281         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5282
5283
5284 2003-07-26  André Pönitz  <poenitz@gmx.net>
5285
5286         *       lyxtext.h:
5287         * text.C:
5288         * text2.C: get rid of LyXText::need_break_row
5289
5290 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5291
5292         * toc.[Ch]: put namespace toc inside namespace lyx
5293
5294         * MenuBackend.C (expandToc2): adjust for lyx::toc
5295         (expandToc): ditto
5296
5297         * lyxfunc.C (dispatch): adjust for lyx::find
5298
5299         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5300         lyx::find instead. Reorganize a bit.
5301         (LyXReplace): rename to replace
5302         (LyXFind): rename to find
5303
5304         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5305         (dispatch): ditto
5306
5307 2003-07-26  André Pönitz  <poenitz@gmx.net>
5308
5309         * text.C (setHeightOfRow): restrict scope of temporary variable
5310
5311         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5312           code (never has been used?)
5313
5314 2003-07-27  Asger Alstrup  <alstrup@local>
5315
5316         * text.C (fill): Optimise algorithm to exploit that we can reuse
5317         the LyXFont for many characters.
5318         (setHeightOfRow): Same thing.
5319         (rowBreakPoint): Same thing.
5320
5321 2003-07-26  Asger Alstrup  <alstrup@local>
5322
5323         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5324
5325         * text.C (singleWidth): Spurious font copying in hot-spot
5326         singleWidth avoided. Reorder tests for arabic for efficiency.
5327
5328         * text.C (fill): handle empty paragraphs better.
5329
5330 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5331
5332         * ispell.C:
5333         * encoding.h: add includes
5334
5335         * lyxrc.C: remove reading of bind files
5336
5337         * lyx_main.C (init): setup bindings and menus only if we have a
5338         gui.
5339
5340         * kbmap.C (read): new method. Do the actual reading of bind
5341         files.
5342
5343         * converter.C (dvipdfm_options):
5344         * bufferparams.C:
5345         * lyxrc.C (read):
5346         (output): adapt PAPER_* enums.
5347
5348         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5349
5350         * bufferparams.h: remove paper-related enums from there
5351
5352         * paper.h: New file. A trivial header file to hold paper-related
5353         enums. It should later expand to contain many paper-related
5354         horrors access.
5355
5356         * lyxrc.C: declare extern displayTranslator
5357
5358 2003-07-27  José Matos  <jamatos@fep.up.pt>
5359
5360         * tabular.[Ch] (linuxdoc): add support for tables and figures
5361         (linuxdoc).
5362
5363 2003-07-27  José Matos  <jamatos@fep.up.pt>
5364
5365         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5366         consistency in both functions.
5367         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5368
5369 2003-07-26  Asger Alstrup  <alstrup@local>
5370
5371         * rowpainter.C (paintRows): Change algorithm to work directly on
5372         the insets rather than asking every character in the document
5373         whether its an inset.
5374
5375 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5376
5377         * buffer.C (openFileWrite): factorize some code
5378
5379 2003-07-26  Angus Leeming  <leeming@lyx.org>
5380
5381         * lyx_cb.C:
5382         * lyx_main.[Ch]: replace occurances of system_tempdir with
5383         os::getTmpDir().
5384
5385 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * rename Inset to InsetOld
5388
5389 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5390
5391         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5392         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5393         which I think is a bit clearer. EDIT is gone, since it was
5394         premature optimisation, and broken for mathed anyway.
5395         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5396         with cursor positioning in insets as well (math insets still do not
5397         work, but that's a different story anyway.) It mysteriously
5398         crashes sometimes with undo in the first paragraph, but I'm fairly
5399         confident that this is a compiler bug.
5400
5401 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * paragraph.C (Paragraph): adjust for new clone return type
5404         (operator==): ditto
5405         (copyIntoMinibuffer): ditto
5406
5407 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5408
5409         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5410         by not having a special case, and always doing a full rebreak of
5411         the document after undo.
5412
5413 2003-07-23  Angus Leeming  <leeming@lyx.org>
5414
5415         * factory.C (createInset): InsetExternal::setParams now takes a
5416         Buffer const * arg.
5417
5418 2003-07-23  Angus Leeming  <leeming@lyx.org>
5419
5420         * factory.C (createInset): changed interface to the external and
5421         graphics mailers' string2params functions.
5422
5423 2003-07-23  Angus Leeming  <leeming@lyx.org>
5424
5425         * factory.C (createInset): pass a
5426         Buffer const * parameter to InsetExternalMailer's string2params.
5427
5428 2003-07-22  John Levon  <levon@movementarian.org>
5429
5430         * Thesaurus.h: include the right aiksaurus header
5431
5432 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5433
5434         * MenuBackend.C (expand): check menu shortcuts unconditionally
5435
5436 2003-07-21  Angus Leeming  <leeming@lyx.org>
5437
5438         * factory.C (createInset): pass a
5439         buffer_path parameter to InsetGraphicsMailer's string2params.
5440
5441 2003-07-21  Angus Leeming  <leeming@lyx.org>
5442
5443         * BufferView_pimpl.C (buffer):
5444         * buffer.C (d-tor):
5445         * lyx_main.C (LyX):
5446         * lyxfunc.C (dispatch):
5447         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5448         rather than the grfx shortcut.
5449
5450 2003-07-21  André Pönitz  <poenitz@gmx.net>
5451
5452         * rowpainter.C: remove unused variables
5453
5454         * tabular_funcs.C:
5455         * tabular_funcs.h: move to tabular.C
5456         * Makefile.am: adjust
5457
5458         * tabular.[Ch]: basic optical cleaning
5459
5460         * author.h: pass references, not values
5461
5462 2003-07-18  André Pönitz  <poenitz@gmx.net>
5463
5464         * lyxtext.h:
5465         * metricsinfo.C:
5466         * metricsinfo.h:
5467         * rowpainter.C:
5468         * text.C:
5469         * text2.C:
5470         * text3.C: two-phase drawing for InsetText and InsetTabular
5471         some float -> int changes.
5472
5473 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5474
5475         * lyx_main.C: fix the fix
5476
5477 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5478
5479         * lyx_main.C: fix a crash in batch mode if no files specified
5480         * converter.C: ws
5481
5482 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5483
5484         * format.[Ch] (papersize): moved to BufferParams
5485         * converter.[Ch] (dvips_options): moved to BufferParams
5486         (dvipdfm_options): moved to anon namespace
5487         * bufferparams.[Ch]: added above functions.
5488
5489 2003-07-17  André Pönitz  <poenitz@gmx.net>
5490
5491         * lyxtext.h:
5492         * rowpainter.C:
5493         * text2.C: don't call inset->update() anymore
5494
5495         * metricsinfo.[Ch]: add convenience constructor
5496
5497 2003-07-16  André Pönitz  <poenitz@gmx.net>
5498
5499         * lyxcursor.[Ch]:
5500         * lyxfunc.[Ch]:
5501         * text.C:
5502         * text2.C: replace the LyXCursor::irow_ member with
5503          on-demand computation of the value
5504
5505 2003-07-16  John Levon  <levon@movementarian.org>
5506
5507         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5508
5509 2003-07-15  André Pönitz  <poenitz@gmx.net>
5510
5511         * text.C:
5512         * text2.C: remove no more needed refresh_row
5513
5514 2003-07-15  André Pönitz  <poenitz@gmx.net>
5515
5516         * lyxtext.h:
5517         * rowpainter.C:
5518         * text2.C:
5519         * text3.C: refresh_status tristate -> need_update bool
5520
5521 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5522
5523         * lyxtext.h (init): remove reinit argument (act as if always true)
5524         * text2.C: adjust to that
5525
5526 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5527
5528         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5529         * text3.C: use it to delete selections in some cases
5530         (bugs 441, 673, 702, 954).
5531
5532 2003-07-14  André Pönitz  <poenitz@gmx.net>
5533
5534         * rowpainter.[Ch]: reduce interface
5535
5536 2003-07-14  André Pönitz  <poenitz@gmx.net>
5537
5538         * BufferView_pimpl.C:
5539         * text2.C: adjust after removing unused BufferView * argument
5540
5541 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5542
5543         * text2.C (init): fix a crash fired on resize
5544
5545 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5546
5547         * buffer.[Ch]: added new closing signal
5548         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5549         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5550         BufferView::Pimpl via the closing the signal
5551
5552 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5553
5554         * buffer.[Ch]: take out all bv-related from buffer
5555         * BufferView.C:
5556         * BufferView_pimpl.[Ch]: connect to new signals
5557         * CutAndPaste.C: removed useless asserts
5558         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5559         * lyxvc.[Ch]:
5560         * vc-backend.[Ch]:
5561         * lyxfunc.C: moved view-related funciontality from vc here
5562         * paragraph.C: removed outdated comments
5563         * text.C: ws
5564
5565 2003-07-10  André Pönitz  <poenitz@gmx.net>
5566
5567         * BufferView_pimpl.C:
5568         * tabular.h:
5569         * tabular_funcs.C:
5570         * text.C:
5571         * text2.C: remove InsetText::InnerCache, clean up consequences
5572
5573 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5574
5575         * ispell.C: fix two typos in error messages
5576
5577 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5578
5579         * Extend Note inset to other forms of annotation like Comment
5580         and Greyedout. Right button click gives dialog.
5581
5582         Files modified or added (+):
5583
5584         * insetnote.[Ch]
5585         * FormNote.[Ch]      +
5586         * ControlNote.[Ch]   +
5587         * form_note.fd       +
5588         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5589         frontends/controllers
5590         * xforms/Dialogs.C
5591         * factory.C
5592
5593 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5594
5595         * aspell.C: add missing namespace lyx::support
5596
5597 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5598
5599         * BufferView.[Ch] (newFile): Add
5600         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5601         * LaTeX.[Ch] (message): added this signal and use it
5602         * buffer.[Ch] (busy, message): added these signals and use them
5603         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5604         * converter.C:
5605         * exporter.C:
5606         * format.C:
5607         * importer.C: use buffer signals instead of direct bv calling
5608         * lyx_cb.[Ch] (ShowMessage): removed
5609         * lyx_main.C:
5610         * lyxfunc.C:
5611         * paragraph_funcs.C:
5612         * text2.C: use buffer signals
5613
5614 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * introduce namespace lyx::graphics
5617
5618 2003-07-02  André Pönitz  <poenitz@gmx.net>
5619
5620         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5621
5622 2003-07-01  André Pönitz  <poenitz@gmx.net>
5623
5624         * text.C:
5625         * text2.C:
5626         * text3.C:
5627         * text_funcs.[Ch]:
5628         * textcursor.h:
5629         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5630           text*.C to text_func.C
5631
5632 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5633
5634         * introduce namespace lyx::support
5635
5636 2003-06-30  André Pönitz  <poenitz@gmx.net>
5637
5638         * Chktex.C:
5639         * funcrequest.C:
5640         * lyxtext.h:
5641         * text.C: re-enable --with-included-string
5642
5643 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644
5645         * textcursor.C: add <config.h>
5646
5647         * text.C (getWord): remove const from word_location arg
5648
5649         * lyxvc.C (getLogFile): fix const type order
5650
5651         * lyxtext.h: remove const from word_location arg, add arg name
5652
5653         * lyxlayout.h: currect type on labeltype.
5654
5655         * importer.C: correct \file
5656
5657         * converter.C (intToFormat): use std:: on ret val, ws changes
5658
5659         * bufferlist.h: correct \file
5660
5661         * buffer.C (makeLinuxDocFile): fix const type order
5662         (makeDocBookFile): ditto
5663         (fillWithBibKeys): use std:: on stdlib args.
5664
5665         * CutAndPaste.C: fix authors.
5666         (availableSelections): use std:: on return vector
5667
5668 2003-06-27  André Pönitz  <poenitz@gmx.net>
5669
5670         * BufferView_pimpl.C:
5671         * bufferview_funcs.C:
5672         * lyxcursor.C:
5673         * lyxcursor.h:
5674         * lyxfunc.C:
5675         * lyxtext.h:
5676         * rowpainter.C:
5677         * text.C:
5678         * text2.C:
5679         * text3.C: remove LyXCursor::row_ member
5680
5681         * lyxtext.h:
5682         * text.C: rename fullRebreak() to partialRebreak() and implement
5683           a fullRebreak() that really bereks fully
5684
5685         * textcursor.h: new struct for cursor-related data
5686
5687 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5688
5689         * lyx_main.C (LyX): get full path of document loaded on the
5690         command line
5691
5692 2003-06-26  André Pönitz  <poenitz@gmx.net>
5693
5694         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5695           remove unused/broken operator>,<,>=.
5696
5697         *       text.C: remove only use of broken operator<= in an Assert().
5698
5699 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5700
5701         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5702         moved errorlist_.clear to showErrorList
5703
5704 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5705
5706         * converter.C (scanLog, runLaTeX):
5707         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5708         move the bv->showErrorList call to the callers
5709         * lyxfunc.C: i.e. here...
5710         * text2.C: and here
5711         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5712         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5713         namespace, the second to...
5714         * buffer_funcs (BufferFormat, parseErrors): added
5715         * errorlist.C (ErrorList(TeXErrors const &)): removed
5716
5717 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5718
5719         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5720
5721 2003-06-24  "Garst R. Reese" <reese@isn.net>
5722
5723         * debug.C: fix typo
5724
5725 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5726
5727         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5728
5729         * version.C.in: change docversion to 1.4
5730
5731 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5732
5733         * buffer.C: fix a bug just introduced
5734
5735 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5736
5737         * buffer.[Ch]: added the parseError signal and use it, removed
5738         sgmlError
5739         * BufferView.[Ch] (addError): moved to ...
5740         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5741         to the Buffer::parseError signal to catch (guess what) parse errors
5742         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5743
5744 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5747         ability to create a buffer and to return an existing one from
5748         the list. Moved these functions to...
5749         * buffer_funcs.[Ch]: added
5750         * BufferView.[Ch] (loadLyXFile): added
5751         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5752         job removed from bufferlist::loadLyXFile.
5753         * buffer.C (setReadOnly): make it work without view
5754         (i.e added an if (users))
5755
5756 2003-06-19  Angus Leeming  <leeming@lyx.org>
5757
5758         * lfuns.h:
5759         * LyXAction.C (init):
5760         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5761         with LFUN_DIALOG_SHOW <name> <data>.
5762
5763 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5764
5765         * CutAndPaste.C (availableSelections): small compilation fix for
5766         ancient (gcc 2.9x) compilers
5767
5768 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5769
5770         * text3.C (cursorNext): add tmp var
5771
5772         * text2.C (updateCounters): for function calling out of for clause
5773         (replaceSelectionWithString): ditto
5774         (insertStringAsParagraphs): ditto
5775         (getColumnNearX): add tmp var
5776         (setCursorFromCoordinates): add tmp var
5777         (cursorDownParagraph): add tmp var
5778         (deleteEmptyParagraphMechanism): add tmp var
5779
5780         * text.C (insertChar): add tmp var
5781
5782         * rowpainter.C (paintDepthBar): add tmp var
5783
5784         * CutAndPaste.C (availableSelections): potentially check all
5785         paragraphs in a cut to fill the shown strings.
5786
5787 2003-06-18  André Pönitz  <poenitz@gmx.net>
5788
5789         * kbmap.[Ch]: use vector<> instead of list<>
5790
5791 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5792
5793         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5794         pasteSelection with index
5795
5796         * text2.C (pasteSelection): modify, call pasteSelection with index
5797
5798         * paragraph.C (asString): reimplement version with no interval to
5799         call the one with interval.
5800
5801         * lyxtext.h: add index arg to pasteSelection
5802
5803         * MenuBackend.C (MenuItem): handle PasteRecent
5804         (Menu::read::Menutags): add md_pasterecent
5805         (read): handle it
5806         (expandPasteRecent): new function
5807         (expand): use it
5808
5809         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5810
5811         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5812         the limited stack
5813         (availableSelections): new function
5814
5815 2003-06-17  Angus Leeming  <leeming@lyx.org>
5816
5817         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5818
5819 2003-06-17  Angus Leeming  <leeming@lyx.org>
5820
5821         * lfuns.h:
5822         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5823
5824         * lyxfunc.C (dispatch): invoke it.
5825
5826 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5827
5828         * iterators.C (operator++, ParPosition): reintroduce some
5829         const_cast for the benefit of older compilers.
5830
5831 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5832
5833         * text3.C (dispatch): do not modify clipboard when doing
5834         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5835         LFUN_DELETE_SKIP on a selection selection
5836
5837 2003-06-16  André Pönitz  <poenitz@gmx.net>
5838
5839         * BufferView.C:
5840         * buffer.C:
5841         * buffer.h:
5842         * paragraph.C:
5843         * tabular.[Ch]: IU of clone() and getLabelList();
5844
5845 2003-06-13  André Pönitz  <poenitz@gmx.net>
5846
5847         * tabular.h: compactification
5848
5849 2003-06-12  André Pönitz  <poenitz@gmx.net>
5850
5851         * tabular.C:
5852         * tabular.h:
5853         * tabular_funcs.h: some renaming plus whitespace
5854
5855 2003-06-12  André Pönitz  <poenitz@gmx.net>
5856
5857         * BufferView.C:
5858         * BufferView_pimpl.C:
5859         * CutAndPaste.C:
5860         * buffer.C:
5861         * iterators.[Ch]:
5862         * lyxfunc.C:
5863         * text.C:
5864         * toc.C: Return a Paragraph & for ParIterator::operator*()
5865
5866 2003-06-11  John Levon  <levon@movementarian.org>
5867
5868         * lyx_main.C:
5869         * ToolbarBackend.h:
5870         * ToolbarBackend.C: add "Toolbars" section and
5871         put the flags there
5872
5873 2003-06-10  Angus Leeming  <leeming@lyx.org>
5874
5875         * lfuns.h:
5876         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5877
5878         * lyxfunc.C (dispatch): invoke it.
5879
5880 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * main.C: protect <ios> with HAVE_IOS
5883         (main): protect sync_with_stdio with HAVE_IOS
5884
5885 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5886
5887         * text2.C (cutSelection): adjust
5888         (pasteSelection): adjust
5889
5890         * messages.C: handle get of empty string
5891
5892         * main.C (main): use sync_with_stdio(false)
5893
5894         * lyxfunc.C (dispatch): adjust
5895
5896         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5897         (WriteAs): remove unneeded BufferView arg.
5898
5899         * bufferparams.h: use correct types on papersize, papersize2 and
5900         paperpackage.
5901
5902         * bufferparams.C (readToken): adjust for type
5903         (writeLaTeX): add missing cases to switch.
5904
5905         * bufferlist.C (quitWriteBuffer): adjust
5906         (close): adjust
5907
5908         * buffer.C (asciiParagraph): remove some commented code.
5909
5910         * CutAndPaste.C: remove current_view extern variable.
5911         (cutSelection): add BufferParams arg.
5912         (eraseSelection): add BufferParams arg.
5913         (pasteSelection): add Buffer const & arg
5914
5915 2003-06-07  John Levon  <levon@movementarian.org>
5916
5917         * buffer.C:
5918         * paragraph_funcs.C:
5919         * paragraph_pimpl.C:
5920         * text.C:
5921         * text2.C:
5922         * paragraph.h:
5923         * paragraph.C: allow InsetERT to freely space lines,
5924         and some consolidation of code
5925
5926 2003-06-06  José Matos  <jamatos@fep.up.pt>
5927
5928         * buffer.C (makeDocBookFile): fix bug #821
5929
5930 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5931
5932         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5933
5934 2003-06-04  Angus Leeming  <leeming@lyx.org>
5935
5936         * buffer.C: bump format to 224.
5937
5938 2003-06-05  André Pönitz  <poenitz@gmx.net>
5939
5940         * text2.C (redoParagraphs): remove two const_cast<>
5941
5942 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5943
5944         * ParagraphList.h: remove last remnants of NO_STD_LIST
5945
5946 2003-06-03  Angus Leeming  <leeming@lyx.org>
5947
5948         * factory.C (createInset): small change to the way InsetExternal's params
5949         are set.
5950
5951 2003-06-04  André Pönitz  <poenitz@gmx.net>
5952
5953         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5954
5955         * paragraph_pimpl.h:
5956         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5957
5958         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5959
5960         * undo_funcs.C: make some simple cases of undo work again
5961
5962 2003-06-03  John Levon  <levon@movementarian.org>
5963
5964         * ispell.C: HPUX doesn't have sys/select.h
5965         (from Albert Chin)
5966
5967 2003-06-03  John Levon  <levon@movementarian.org>
5968
5969         * CutAndPaste.C: update tabular and include inset
5970         buffer references
5971
5972         * buffer.h:
5973         * paragraph.h:
5974         * paragraph.C: remove owningBuffer(), don't pass Buffer
5975         to clone()
5976
5977         * factory.C: insetGraphicsParams changed
5978
5979 2003-06-02  John Levon  <levon@movementarian.org>
5980
5981         * LyXAction.C:
5982         * factory.C:
5983         * lfuns.h:
5984         * lyxfunc.C:
5985         * text3.C: remove insetparent
5986
5987 2003-06-02  John Levon  <levon@movementarian.org>
5988
5989         * buffer.h:
5990         * buffer.C: fix inset_iterator.end(), move out of line
5991         (bug 1149)
5992
5993 2003-06-01  John Levon  <levon@movementarian.org>
5994
5995         * text3.C: use a proper cut/paste when doing inset
5996         insert (from Jürgen Spitzmüller)
5997
5998 2003-06-01  John Levon  <levon@movementarian.org>
5999
6000         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6001
6002 2003-05-30  André Pönitz  <poenitz@gmx.net>
6003
6004         * rowpainter.C: unify second drawing phase
6005
6006 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * trans_mgr.C: remove one case of current_view
6009
6010         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6011
6012         * paragraph_funcs.h: remove paragraph.h include
6013
6014         * paragraph.h: delete NO_STD_LIST stuff
6015
6016         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6017
6018         * buffer.h: remove paragraph.h include
6019
6020         * ParagraphList.C: delete file
6021
6022         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6023
6024         * toc.C (getTocList): adjust
6025
6026         * paragraph_pimpl.C (validate): adjust
6027
6028         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6029
6030         * paragraph.C (Paragraph): adjust
6031         (getPositionOfInset): use const_iterator, adjust
6032         (bibitem): use const_iterator, adjust
6033         (setInsetOwner): adjust
6034
6035         * iterators.C (operator++): adjust
6036
6037         * InsetList.[Ch]: Replace selfmade iterator with standard
6038         vector::iterator also introduce const_iterator. Remove getPos,
6039         getInset and setInset from InsetTable. Adjust accordingly.
6040
6041         * BufferView.C (lockInset): adjust
6042         (ChangeInsets): adjust
6043
6044         * tabular.[Ch]: delete commented same_id functions
6045
6046 2003-05-28  John Levon  <levon@movementarian.org>
6047
6048         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6049
6050 2003-05-28  André Pönitz  <poenitz@gmx.net>
6051
6052         * metricsinfo.[Ch]: remove 'fullredraw' member
6053
6054 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6055
6056         * lyxtextclass.C (operator): remove caching.
6057
6058 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * text3.C: adjust
6061
6062         * text2.C (cursorBottom): adjust
6063         (setCounter): use ParagraphList::find, adjust
6064
6065         * text.C (workWidth): use ParagraphList::find, adjust
6066
6067         * lyxcursor.C (LyXCursor): adjust
6068
6069         * buffer.C (inset_iterator): adjust
6070
6071         * ParagraphList.h: make iterator(value_type) private, make
6072         ParagraphList a friend of iterator.
6073
6074         * ParagraphList.C (find): new function
6075
6076         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6077
6078 2003-05-27  André Pönitz  <poenitz@gmx.net>
6079
6080         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6081
6082 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6083
6084         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6085
6086 2003-05-26  John Levon  <levon@movementarian.org>
6087
6088         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6089
6090 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * remove same_id from function signatures, adjust.
6093
6094 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6097
6098         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6099
6100         * paragraph.C (Paragraph): get rid of same_ids parameter
6101
6102         * ParagraphList.C (insert): adjust
6103         (push_back): adjust
6104
6105 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * paragraph_funcs.C (breakParagraph): adjust
6108         (breakParagraphConservative): adjust
6109
6110         * buffer.C (readParagraph): adjust
6111
6112         * ParagraphList.C (insert): take a reference instead of a pointer
6113         (insert): adjust
6114
6115         * paragraph.[Ch] (id): new function
6116
6117         * bufferlist.C (newFile): adjust
6118
6119         * ParagraphList.C (ParagraphList): adjust
6120         (assign): adjust
6121         (push_back): take a reference instead of a pointer.
6122
6123         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6124
6125         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6126         instead.
6127
6128         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6129         set else use old code.
6130
6131         * ParagraphList.C: remove all NO_NEXT code and only compile this
6132         code of NO_STD_LIST is set.
6133
6134 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6135
6136         * BufferView_pimpl.C:
6137         * TextCache.C:
6138         * TextCache.h:
6139         * bufferlist.C:
6140         * errorlist.h:
6141         * format.C:
6142         * format.h:
6143         * graph.C:
6144         * lyxfunc.C:
6145         * lyxrc.C:
6146         * graphics/GraphicsConverter.C:
6147         * graphics/PreviewLoader.C: header adjustment
6148
6149 2003-05-23  Angus Leeming  <leeming@lyx.org>
6150
6151         * LaTeXFeatures.[Ch] (useBabel): new method.
6152         * bufferparams.C (writeLaTeX): use it.
6153
6154 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * ParagraphList.h (set): remove unused function.
6157
6158 2003-05-23  André Pönitz  <poenitz@gmx.net>
6159
6160         * BufferView.C:
6161         * BufferView_pimpl.C:
6162         * buffer.C:
6163         * buffer.h:
6164         * lyxfunc.C:
6165         * undo_funcs.C: setUndo reworked
6166
6167         * iterators.[Ch]: add access to topmost ParagraphList
6168
6169         * lyxtext.[Ch] (workWidth): add a const
6170
6171 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6172
6173         * texrow.[Ch] (increasePos): remove function
6174         * exporter.C (export): removed unused var and outdated comment
6175
6176 2003-05-23  Angus Leeming  <leeming@lyx.org>
6177
6178         * latexrunparams.h: rename fragile as moving_arg.
6179         * paragraph.C (simpleTeXOnePar): ditto.
6180         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6181
6182 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6183
6184         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6185         (createUndo): ditto
6186         (textUndoOrRedo): comment out a currently unused var.
6187
6188         * paragraph.h (NO_NEXT): enable NO_NEXT
6189
6190         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6191
6192         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6193
6194         * exporter.C (Export): adjust for removeAutoInsets removal.
6195
6196         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6197
6198         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6199
6200         * BufferView.[Ch] (removeAutoInsets): delete function
6201
6202 2003-05-22  Angus Leeming  <leeming@lyx.org>
6203
6204         * latexrunparams.h: add a free_spacing variable.
6205
6206         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6207         to pass moving_arg, as the data is stored in runparams.fragile.
6208
6209         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6210         to Inset::latexOptional or to simpleTeXOnePar.
6211
6212         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6213         free_spacing arg to Inset::latexOptional.
6214
6215         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6216         free_spacing arg.
6217
6218 2003-05-22  Angus Leeming  <leeming@lyx.org>
6219
6220         * latexrunparams.h: add fragile and use_babel variables.
6221
6222         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6223         * buffer.C (makeLaTeXFile): store this returned value in
6224         runparams.use_babel, thus passing it to the inset::latex methods.
6225
6226         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6227         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6228
6229         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6230         longer has a fragile arg, as it is stored in runparams.fragile.
6231
6232         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6233         moving_arg parameter as the data is stored in runparams.fragile.
6234
6235         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6236         a fragile parameter as the data is stored in runparams.fragile.
6237
6238 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6239
6240         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6241
6242 2003-05-22  Angus Leeming  <leeming@lyx.org>
6243
6244         * latexrunparams.h: add a 'bool nice' which defaults to false.
6245
6246         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6247         now encapsulated within runparams.
6248
6249         * bufferlist.C (updateIncludedTeXfiles):
6250         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6251
6252 2003-05-22  Angus Leeming  <leeming@lyx.org>
6253
6254         * latexrunparams.h: new file containing struct LatexRunParams.
6255         * Makefile.am: add new file.
6256
6257         * LaTeX.[Ch] (c-tor, run):
6258         * buffer.[Ch] (makeLaTeXFile):
6259         * bufferlist.[Ch] (updateIncludedTeXfiles):
6260         * converter.C (convert, scanLog):
6261         * converter.[Ch] (runLaTeX):
6262         * exporter.C (Export):
6263         * paragraph.[Ch] (simpleTeXOnePar):
6264         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6265         * paragraph_funcs.[Ch] (latexParagraphs):
6266         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6267         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6268         pass around a LatexRunParams parameter.
6269
6270 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * paragraph.[Ch]: remove unused constructor
6273
6274         * ParagraphList.C (erase): new function, taking two iterators
6275
6276 2003-05-22  André Pönitz  <poenitz@gmx.net>
6277
6278         * undo_funcs.C: remove duplicated code
6279
6280         * iterator.[Ch]: operator=
6281
6282 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6283
6284         * tabular.C (SetMultiColumn): ws changes
6285
6286         * rowpainter.C (paintFirst): get rid of a ->previous
6287
6288         * lyx_cb.C (getPossibleLabel): parlist simplification
6289
6290         * BufferView.C (ChangeInsets): simplify slightly.
6291
6292 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6293
6294         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6295         * lfuns.h: new LFUN_SPACE
6296         * lyxfunc.C: protected space has a new lfun
6297         * paragraph_funcs.C: read new space insets
6298         * text3.C:
6299         * factory.C: handle new space insets
6300
6301 2003-05-22  André Pönitz  <poenitz@gmx.net>
6302
6303         * BufferView.C:
6304         * BufferView_pimpl.C:
6305         * buffer.[Ch]:
6306         * lyxfunc.C:
6307         * undo_funcs.C: return a ParIterator from getParFromID.
6308
6309         * iterators.[Ch]: add two const's
6310
6311 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6312
6313         * toc.C (getTocList): adjust
6314
6315         * iterators.[Ch]: rework for parlist
6316
6317         * buffer.C (par_iterator_begin): adjust
6318         (par_iterator_end): adjust
6319
6320         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6321
6322         * BufferView.C (removeAutoInsets): adjust
6323         (ChangeInsets): adjust
6324
6325 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6326
6327         * text.C (top_y): fix bug 1110
6328
6329 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6330
6331         * errorlist.[Ch]: added
6332         * buffer.C:
6333         * BufferView.[Ch]:
6334         * BufferView_pimpl.C:
6335         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6336         instead
6337
6338 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * Makefile.am: ensure that lyx is relinked upon changes to the
6341         various "convenience" libs.
6342
6343 2003-05-20  Angus Leeming  <leeming@lyx.org>
6344
6345         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6346         files are compiled in alphabetical order again.
6347
6348         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6349
6350 2003-05-19  Angus Leeming  <leeming@lyx.org>
6351
6352         * gettext.[Ch]: remove "char const * _(char const *)".
6353
6354 2003-05-19  André Pönitz  <poenitz@gmx.net>
6355
6356         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6357
6358         * Makefile.am:
6359         * BufferView.C:
6360         * DepTable.h:
6361         * LaTeXFeatures.C:
6362         * buffer.C:
6363         * lyxfont.C:
6364         * lyxlex.h:
6365         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6366
6367 2003-05-19  André Pönitz  <poenitz@gmx.net>
6368
6369         * buffer.C:
6370         * lyxlayout.[Ch]:
6371         * lyxtextclass.[Ch]:
6372         * paragraph.C:
6373         * paragraph_funcs.[Ch]:
6374         * text2.C:
6375         * text3.C: more insetenv work
6376
6377 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6378
6379         * ParagraphParameters.C (params2string): small bug fixed
6380
6381 2003-05-16  André Pönitz  <poenitz@gmx.net>
6382
6383         * debug.C:
6384         * bufferview_funcs.C: patch from Kornel Benko to prevent
6385           crash when _(...) is called twice in a statement
6386
6387 2003-05-16  André Pönitz  <poenitz@gmx.net>
6388
6389         * BufferView.C:
6390         * lyxfunc.C:
6391         * text.C:
6392         * text2.C:
6393         * text3.C:
6394         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6395
6396 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * lyx_main.C (init): remove spurious static_cast
6399
6400 2003-05-14  André Pönitz  <poenitz@gmx.net>
6401
6402         * BufferView.C: fix format string
6403
6404 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * BufferView.[Ch] (insertErrors): removed
6407         * BufferView.[Ch] (showErrorList): added
6408         * buffer.C (runChkTeX):
6409         * converter.C (scanLog): call showErrorList instead of inserterrors
6410
6411 2003-05-13  André Pönitz  <poenitz@gmx.net>
6412
6413         * BufferView_pimpl.C:
6414         * buffer.C:
6415         * bufferview_func.C:
6416         * MenuBackend.C:
6417         * lyxfunc.C:
6418         * lyxrc.C:
6419         * tex-accent.C:
6420         * text3.C:
6421         * toc.C:
6422         * tabular_funcs.h: tostr() from its own header
6423
6424         * ParagraphParameters.C:
6425         * ToolbarBackend.C:
6426         * bufferparams.C:
6427         * format.C:
6428         * lyxlex_pimpl.C:
6429         * text3.C: STRCONV()
6430
6431 2003-05-12  André Pönitz  <poenitz@gmx.net>
6432
6433         * BufferView.C:
6434         * BufferView_pimpl.C:
6435         * CutAndPaste.C:
6436         * LaTeX.C:
6437         * LaTeXFeatures.C:
6438         * ParagraphParameters.C:
6439         * buffer.C:
6440         * bufferlist.C:
6441         * bufferparams.C:
6442         * bufferview_funcs.C:
6443         * converter.C:
6444         * counters.C:
6445         * debug.C:
6446         * exporter.C:
6447         * format.C:
6448         * importer.C:
6449         * lyx_cb.C:
6450         * lyx_main.C:
6451         * lyxfont.C:
6452         * lyxfunc.C:
6453         * lyxvc.C:
6454         * paragraph.C:
6455         * paragraph_funcs.C:
6456         * tabular.C:
6457         * tabular_funcs.C:
6458         * text2.C:
6459         * text3.C:  boost::format -> bformat  all over the place
6460
6461
6462 2003-05-09  André Pönitz  <poenitz@gmx.net>
6463
6464         * LColor.[Ch]: Pimpl the #include <map> away
6465
6466 2003-05-09  John Levon  <levon@movementarian.org>
6467
6468         * bufferlist.C: never remove emergency saves
6469
6470 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * Makefile.am: better lib building
6473
6474 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6475
6476         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6477         instead.
6478         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6479         (simpleTeXSpecialChars): adjust
6480         (simpleTeXSpecialChars): adjust
6481         * paragraph.C (simpleTeXOnePar): adjust
6482         * buffer.C (makeLaTeXFile): adjust
6483
6484         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6485
6486         * text2.C (changeDepth): parlist cleanup
6487         (getColumnNearX): ditto
6488
6489         * rowpainter.C (getLabelFont): parlist cleanup
6490
6491         * bufferlist.C (newFile): parlist cleanup
6492
6493         * CutAndPaste.C (eraseSelection): parlist cleanup
6494
6495         * BufferView_pimpl.C (trackChanges): parlist cleanup
6496         (dispatch): ditto
6497
6498         * BufferView.C (lockInset): parlist cleanup.
6499         (ChangeInsets): ditto
6500
6501 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * CutAndPaste.h: Update file header.
6504
6505         * CutAndPaste.C: Update file header.
6506         Store the parts cut out of the Document in a limited_stack.
6507         (copySelection): adjust
6508         (pasteSelection): new function, takes the index in the limited stack.
6509         (nrOfParagraphs): adjust
6510         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6511         simplify error inset insertion.
6512         (checkPastePossible): adjust
6513
6514 2003-05-06  John Levon  <levon@movementarian.org>
6515
6516         * text2.C: don't cast wrap inset to float
6517
6518 2003-05-05  André Pönitz  <poenitz@gmx.net>
6519
6520         * iterator.C:
6521         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6522
6523         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6524           few naked Paragraph *.
6525
6526 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6527
6528         * bufferparams.C: Output warning if a document with missing
6529         TeX document class is loaded
6530         * exporter.C: Disable TeX exports if the document class is missing
6531         * lyxtextclass.C:
6532         * lyxtextclass.h:
6533         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6534         isTeXClassAvailable()
6535
6536 2003-05-03  John Levon  <levon@movementarian.org>
6537
6538         * BufferView.h:
6539         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6540         explicit cursor show/hide
6541
6542         * BufferView_pimpl.h:
6543         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6544         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6545
6546         * lyxfunc.C: hide cursor before dispatching.
6547
6548         * lyx_cb.C:
6549         * lyxfind.C:
6550         * text.C:
6551         * text3.C: remove explicit cursor hides
6552
6553 2003-05-02  André Pönitz  <poenitz@gmx.net>
6554
6555         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6556
6557         * undo_funcs.C:
6558         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6559           linked lists
6560
6561         * text2.C: tiny whitespace
6562
6563 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * undo_funcs.C: almost only ws changes.
6566
6567         * ParagraphList.C (splice): just return if pl is empty.
6568
6569 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * ParagraphList.C (splice): new function.
6572
6573         * CutAndPaste.C (pasteSelection): use it
6574
6575 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * CutAndPaste.C (pasteSelection): remove the last next and
6578         previous from this file.
6579
6580 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * CutAndPaste.C (pasteSelection): more clean up, user proper
6583         ParagraphList functions for pasteing.
6584
6585         * ParagraphList.C (insert): new function, three arg insert
6586
6587 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6588
6589         * ParagraphList.C (insert): new function, three arg insert
6590
6591         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6592         not on paragraphs.
6593
6594 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6597
6598 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6601
6602 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6605         (copySelection): clean up a bit.
6606         (pasteSelection): use make_pair
6607
6608         * ParagraphList.C (ParagraphList): implement copy constructor
6609         (operator=): implement, base on copy constructor.
6610         (assign): new func
6611
6612         * paragraph.C (erase): return a bool
6613
6614         * paragraph_pimpl.C (erasePos): remove function, move contents...
6615         (erase): ... here. Return a bool.
6616         (erase): call erase instead of erasePos.
6617
6618 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6619
6620         * ParagraphList.h: define PitPosPair
6621         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6622         ParagraphList, fix a bug on pasting multiple pars
6623         * text2.C: change interface to C&P
6624
6625 2003-04-30  André Pönitz  <poenitz@gmx.net>
6626
6627         * undo_func.C: revert part of yesterday's patch 2
6628
6629 2003-04-30  John Levon  <levon@movementarian.org>
6630
6631         * LColor.C: s/tabular/table/
6632
6633 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * text3.C (dispatch): do not convert iterator -> pointer
6636         * undo_funcs.C (setCursorParUndo): ditto
6637         * text_funcs.C (transposeChars): ditto
6638
6639         * text2.C (setLayout): ws changes only
6640
6641         * text.C (breakParagraph): do not convert iterator -> pointer
6642         (insertChar): ditto
6643         (acceptChange): ditto
6644         (rejectChange): ditto
6645         (changeCase): ditto
6646         (Delete): ditto
6647         (backspace): ditto
6648
6649         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6650         pointer
6651
6652 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6653
6654         * text3.C (gotoInset): YABG (yet another bad getChar)
6655
6656 2003-04-29  André Pönitz  <poenitz@gmx.net>
6657
6658         * paragraph.h: make operator= private unimplemented as long as
6659           it is unusable
6660
6661         * ParagraphList.C: whitespace
6662
6663         * paragraph.[Ch]:
6664         * paragraph_pimpl.[Ch]:
6665         * paragraph_funcs.C:
6666         * CutAndPaste.C:
6667         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6668
6669         * text2.C:
6670           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6671
6672 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6673
6674         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6675         * paragraph.[Ch] (erase):
6676         * paragraph_pimpl.[Ch] (erase): change return type and value
6677         * text2.C (cutSelection): some rework
6678
6679 2003-04-28  John Levon  <levon@movementarian.org>
6680
6681         * bufferlist.C: changes for unsaved changes dialog
6682
6683 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6684
6685         * bufferlist.C (newFile): set language (messages_) for new
6686         documents also.
6687
6688         * buffer.C (readFile): ws changes only.
6689
6690 2003-04-28  André Pönitz  <poenitz@gmx.net>
6691
6692         * undo_funcs.C:
6693         * lyxfunc.C:
6694         * buffer.[Ch]:
6695         * BufferView_pimpl.C:
6696         * BufferView.C: getParFromID related ParagraphList::iterator changes
6697
6698 2003-04-28  André Pönitz  <poenitz@gmx.net>
6699
6700         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6701           Changes
6702
6703 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * messages.C: remove one more localedir class variable.
6706
6707 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * messages.C (getLocaleDir): singleton generation function
6710         (Pimpl): use it.
6711         (Messages): add a default constructor.
6712
6713         * main.C (main): do not setup localedir here, do not call
6714         gettext_init.
6715
6716         * gettext.C (_): use it.
6717         (gettext_init): delete funciton
6718
6719 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * gettext.C (getLyXMessages): new singleton generating function.
6722
6723         * buffer.C (updateDocLang): adjust
6724
6725         * Makefile.am (messages.o): add target
6726         (main.o): remove target
6727
6728 2003-04-27  John Levon  <levon@movementarian.org>
6729
6730         * bufferlist.C:
6731         * lyx_cb.C:
6732         * lyxfunc.C:
6733         * lyxvc.C: specify cancel button in Alert::prompt
6734
6735 2003-04-26  John Levon  <levon@movementarian.org>
6736
6737         * text3.C:
6738         * lyxfunc.C:
6739         * lfuns.h:
6740         * LyXAction.C: add LFUN_INSET_SETTINGS
6741
6742         * lyxfunc.C: don't enable tabular-feature when there's
6743         just any locking inset
6744
6745 2003-04-26  John Levon  <levon@movementarian.org>
6746
6747         * bufferlist.C: re-add Cancel to buffer close question
6748
6749         * lyxfunc.C: fix import UI a bit
6750
6751 2003-04-25  John Levon  <levon@movementarian.org>
6752
6753         * gettext.C: remove the broken asserts for now
6754
6755 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6756
6757         * messages.C: make case where setlocale cannot comply work better.
6758
6759         * buffer.C (updateDocLang): new function
6760         (changeLanguage): use it
6761         (readFile): use it
6762
6763         * text2.C (setCounter): use B_ a bit.
6764
6765         * lyxlayout.C (Read): be sure to trim the label strings.
6766
6767         * messages.C (Messages): fix typo in comment
6768
6769         * buffer.C (readFile): set message_ after file is loaded.
6770         (makeDocBookFile): remove double return
6771         (changeLanguage): reset message_ upon language change.
6772         (B_): new func, use this to get translated buffer strings.
6773
6774         * main.C: add myself and Jean Marc as authors.
6775
6776 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * messages.[hC]: pimplify Messages, and three different pimpls to be
6779         used in different circumstances.
6780
6781         * gettext.[Ch]: change for use with new message code.
6782
6783 2003-04-24 André Pönitz <poenitz@gmx.net>
6784
6785         * factory.C: support for eqref
6786
6787 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * messages.[Ch]: add missing char
6790
6791         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6792
6793         * messages.[Ch]: New files
6794
6795 2003-04-18  John Levon  <levon@movementarian.org>
6796
6797         * BufferView.h:
6798         * BufferView.C:
6799         * BufferView_pimpl.C:
6800         * lfuns.h:
6801         * LyXAction.C:
6802         * lyxtext.h:
6803         * text2.C: remove layout-copy/paste (bug 778)
6804
6805 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6806
6807         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6808
6809 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6812         if they succeed. Act accordingly.
6813
6814 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6815
6816         * text2.C (setCharFont): adjust
6817         (setCounter): adjust
6818         (insertStringAsLines): adjust
6819
6820         * text.C (leftMargin): adjust
6821         (setHeightOfRow): adjust
6822
6823         * rowpainter.C (paintFirst): adjust
6824         (paintLast): adjust
6825
6826         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6827         (outerHook): ditto
6828         (isFirstInSequence): ditto
6829         (getEndLabel): ditto
6830         (outerFont): adjust
6831
6832         * paragraph.C (getParLanguage): comment out some hard stuff.
6833
6834         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6835         (sgmlError): ditto
6836         (simpleDocBookOnePar): ditto
6837         (makeDocBookFile): use ParagraphList::iterator
6838
6839         * CutAndPaste.C (pasteSelection): adjust
6840
6841 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6842
6843         * text2.C (getFont): adjust
6844         (getLayoutFont): adjust
6845         (getLabelFont): adjust
6846
6847         * paragraph_funcs.C (TeXOnePar): adjust
6848
6849         * buffer.C (simpleLinuxDocOnePar): adjust
6850         (simpleDocBookOnePar): adjust
6851
6852         * CutAndPaste.C (pasteSelection): adjust
6853
6854         * BufferView.C (getEncoding): adjust
6855
6856         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6857
6858 2003-04-16  John Levon  <levon@movementarian.org>
6859
6860         * lyxfind.C: use parlist stuff for search/changes
6861
6862 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6865
6866         * text2.C (deleteEmptyParagraphMechanism): adjust
6867
6868         * text2.[Ch] (ownerParagraph): delete func (both of them
6869
6870 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6871
6872         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6873
6874 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * ParagraphList.C: prepare for NO_NEXT
6877
6878 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6879
6880         * text2.C (getFont): adjust
6881         (getLayoutFont): adjust
6882         (getLabelFont): adjust
6883
6884         * paragraph.C (getFont): adjust
6885         (getLabelFont): adjust
6886         (getLayoutFont): adjust
6887
6888         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6889
6890 2003-04-15  John Levon  <levon@movementarian.org>
6891
6892         From Angus Leeming
6893
6894         * lyx_main.C: handle Include in .ui files
6895
6896 2003-04-15  John Levon  <levon@movementarian.org>
6897
6898         * MenuBackend.C: make the doc files length shorter
6899
6900         * ToolbarBackend.h:
6901         * ToolbarBackend.C: handle toolbar placement flags,
6902         Minibuffer
6903
6904 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6905
6906         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6907         adjust
6908
6909         * paragraph_funcs.C (TeXOnePar): adjust
6910
6911         * paragraph.C (getLabelFont): add outerfont arg, adjust
6912         (getLayoutFont): ditto
6913         (simpleTeXOnePar): adjust
6914
6915         * paragraph_pimpl.C (realizeFont): delete func
6916
6917 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6918
6919         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6920         row argument, constify cur argument.
6921
6922 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * text2.C (getFont): adjust
6925         (getLayoutFont): adjust
6926         (getLabelFont): adjust
6927
6928         * paragraph_funcs.C (TeXOnePar): adjust
6929         (outerFont): new func...
6930         (realizeFont): ...moved out from here, changed this to facilitate
6931         transition
6932
6933         * paragraph.C (getFont): take outerfont as arg, adjust
6934         (simpleTeXOnePar): add outerfont arg, adjust
6935
6936         * buffer.C (simpleLinuxDocOnePar): adjust
6937         (simpleDocBookOnePar): adjust
6938
6939         * CutAndPaste.C (pasteSelection): adjust
6940
6941         * BufferView.C (getEncoding): adjust
6942
6943 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * text2.C (setCharFont): adjust
6946         (setCounter): adjust
6947
6948         * text.C (leftMargin): adjust
6949         (setHeightOfRow): adjust
6950
6951         * rowpainter.C (paintFirst): adjust
6952         (paintLast): adjust
6953
6954         * paragraph_pimpl.C (realizeFont): adjust
6955
6956         * paragraph.C (isFirstInSequence): move from here...
6957         * paragraph_funcs.C (isFirstInSequence): ...to here
6958
6959         * paragraph.C (outerHook): move from here...
6960         * paragraph_funcs.C (outerHook): ...to here
6961
6962         * paragraph.C (depthHook): move from here...
6963         * paragraph_funcs.C (depthHook): ...to here
6964
6965         * paragraph.C (getEndLabel): move from here...
6966         * paragraph_funcs.C (getEndLabel): ...to here
6967
6968         * text2.C (realizeFont): move from here...
6969         * paragraph_funcs.C (realizeFont): ...to here
6970
6971 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6974
6975 2003-04-14  Angus Leeming  <leeming@lyx.org>
6976
6977         * LColor.[Ch]: scrap LColor mathcursor.
6978
6979 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6980
6981         * lyxlex.[Ch] (text): delete function
6982         * trans.C (Load): adjust
6983         * paragraph_funcs.C (readParToken): adjust
6984
6985 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6988         vector<char> instead of a char[].
6989
6990         * lyxlex_pimpl.C (getString): adjust
6991         (next): adjust
6992         (lex): use getString
6993         (eatLine): adjust
6994         (nextToken): adjust
6995
6996         * lyxlex.C (text): use pimpl_->getString()
6997         (getBool): ditto
6998         (findToken): ditto
6999
7000 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7003         (makeFontEntriesLayoutSpecific): temp var for par.size()
7004         (setLayout): temp var for ownerParagraphs().end()
7005         (fullRebreak): temp var for rows().end()
7006         (selectionAsString): temp var for boost::next(startpit), realize
7007         that the while really is a regular for loop.
7008         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7009         setCursor in one place.
7010         (setParagraph): temp vr for ownerParagraphs().end()
7011         (updateCounters): make the while loop a for loop
7012         (cutSelection): temp var for ownerParagraphs().end()
7013         (updateInset): make the do {} while() a regular for loop
7014         (getCursorX): use temp vars
7015         (setCurrentFont): use temp vars
7016         (getColumnNearX): use temp vars
7017
7018 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7019
7020         * text.C (transformChar): use temp var for getChar
7021         (computeBidiTables): use temp var for row->par()
7022         (fill): move temp vars for row->par() and pit->layout() earlier in
7023         the function.
7024         (labelFill): use temp var for row->par()
7025         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7026         asc and desc, realize that pit never changes and that firstpit is
7027         just a duplicate and not needed. Exchange rit->par() with pit in a
7028         lot of places.
7029         (breakAgain): use a temp var for boost::next(rit)
7030         (breakAgainOneRow): ditto
7031         (breakParagraph): use a temp var for rows().begin()
7032         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7033         (cursorRightOneWord): use temp var for cursor.par() and
7034         cursor.pos(), remove usage of tmpcursor.
7035         (cursorLeftOneWord): use temp var for cursor.par() and
7036         cursor.pos() only set cur at end of function.
7037
7038 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7039
7040         * text.C, text2.C: exchange all usage of Paragraph::next with
7041         boost::next(ParagraphList::iterator)
7042
7043         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7044
7045         * text2.C (cursorTop): simplify implementation
7046         (cursorBottom): ditto
7047         (setParagraph): use ParagraphList::iterator
7048         (setCurrentFont): adjust
7049         (getColumnNearX): adjust
7050         (cursorRight): adjust
7051         (cursorLeft): remove usage of Paragraph::previous
7052         (cursorUpParagraph): ditto
7053         (deleteEmptyParagraphMechanism): slight cleanup
7054
7055         * text.C (isBoundary): take a Paragraph const & instead of a
7056         pointer as arg.
7057         (addressBreakPoint): ditto
7058         (leftMargin): remove usage of Paragraph::previous.
7059         (setHeightOfRow): ditto
7060         (cursorLeftOneWord): ditto
7061         (selectNextWordToSpellcheck): ditto
7062         (Delete): ditto
7063         (backspace): ditto
7064         (breakParagraph): remove one usage of Paragraph::next
7065         (redoParagraph): ditto
7066         (acceptChange): ditto
7067         (insertChar): adjust
7068         (rowBreakPoint): adjust
7069
7070         * bufferview_funcs.C (toggleAndShow): adjust
7071
7072 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7073
7074         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7075         methods to access it.
7076         * lyxtext.h:
7077         * text.C: Added updateRowPositions to compute all row positions.
7078         Make top_y and getRowNearY() to use the cached y position
7079
7080 2003-04-11  John Levon  <levon@movementarian.org>
7081
7082         * text.C (rowBreakPoint): reintroduce the labelEnd
7083         checks, code copied from the row fill stuff. Deep voodoo.
7084
7085         * text.C (fill): add a comment and debugging for the
7086         next poor soul.
7087
7088 2003-04-11  John Levon  <levon@movementarian.org>
7089
7090         * text.C: make sure fullrow insets get wrapped to the next line,
7091         even when they're in a manual label
7092
7093 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7094
7095         * text2.C (insertParagraph): make it take ParagraphList::iterator
7096         as arg.
7097         (setLayout): make it return ParagraphList::iterator
7098         (redoParagraphs): ditto
7099         (setCounter): ditto
7100         (checkParagraph): ditto
7101
7102         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7103
7104         * text2.C: adjust several funcs.
7105         (realizeFont): take a ParagraphList::iterator as arg.
7106         (getLayoutFont): ditto
7107         (getLabelFont): ditto
7108         (setCharFont): ditto
7109
7110         * text.C: adjust several funcs.
7111
7112 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7113
7114         * text.C (selectNextWordToSpellcheck): don't accidentally
7115         skip insets
7116
7117 2003-04-10  John Levon  <levon@movementarian.org>
7118
7119         * ToolbarBackend.C (getIcon): special handling for
7120         LFUN_MATH_DELIM
7121
7122 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * text2.C (cursorRight): a getChar assert fixed
7125
7126 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * text2.C (getFont): change to take a ParagraphList::iterator
7129         instead of Paragraph*
7130         Adjust several functions.
7131
7132         * text.C (transformChar): change to take a ParagraphList::iterator
7133         instead of Paragraph*
7134         (singleWidth): ditto
7135         Adjust several functions.
7136
7137         * rowpainter.C: adjust several functions
7138         * rowpainter.h:store a ParagraphList::iterator and not a
7139         Paragraph&.
7140
7141
7142 2003-04-09  John Levon  <levon@movementarian.org>
7143
7144         * lyxfunc.C:
7145         * lfuns.h:
7146         * LyXAction.h:
7147         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7148         and the "help" bits as well
7149
7150 2003-04-09  John Levon  <levon@movementarian.org>
7151
7152         * ToolbarBackend.h:
7153         * ToolbarBackend.C: allow multiple toolbars
7154
7155 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * undo_funcs.C (setCursorParUndo): adjust
7158
7159         * text_funcs.C (transposeChars): adjust
7160
7161         * text3.C (gotoNextInset): adjust
7162         (dispatch): adjust
7163
7164         * text2.C (setLayout): adjust
7165         (changeDepth): adjust
7166         (setFont): adjust
7167         (redoParagraphs): adjust
7168         (selectionAsString): adjust
7169         (setParagraph): adjust
7170         (insertInset): adjust
7171         (cutSelection): adjust
7172         (copySelection): adjust
7173         (pasteSelection): adjust
7174         (insertStringAsLines): adjust
7175         (updateInset): adjust
7176         (setCursor): change to take a ParagraphList::iterator parameter
7177         (setCursorIntern): change to take a ParagraphList::iterator parameter
7178         (setCurrentFont): adjust
7179         (cursorLeft): adjust
7180         (cursorRight): adjust
7181         (deleteEmptyParagraphMechanism): adjust
7182
7183         * text.C (breakParagraph): adjust
7184         (insertChar): adjust
7185         (acceptChange): adjust
7186         (rejectChange): adjust
7187         (selectNextWordToSpellcheck): adjust
7188         (changeCase): adjust
7189         (Delete): adjust
7190         (backspace): adjust
7191
7192         * lyxfind.C (SearchForward): adjust
7193         (SearchBackward): adjust
7194         (nextChange): adjust
7195
7196         * lyxcursor.C (par): adjust
7197
7198         * lyxcursor.h: store a ParagraphList::iterator instead of a
7199         Paragraph*
7200
7201         * lyx_cb.C (getPossibleLabel): adjust
7202
7203         * bufferview_funcs.C (toggleAndShow): adjust
7204
7205         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7206         (dispatch): adjust
7207
7208         * BufferView.C (removeAutoInsets): adjust
7209         (lockedInsetStoreUndo): adjust
7210
7211 2003-04-09  John Levon  <levon@movementarian.org>
7212
7213         * ToolbarBackend.C: try icon without argument
7214         if with argument fails
7215
7216 2003-04-08  John Levon  <levon@movementarian.org>
7217
7218         * ToolbarBackend.h:
7219         * ToolbarBackend.C: add getIcon(), handle tooltip,
7220         and change from "Icon" to "Item".
7221
7222 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7223
7224         * BufferView.C (lockInset): another bad getchar crunched
7225
7226 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7227
7228         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7229         again)
7230
7231 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7232
7233         * lyxfind.C (searchForward, searchBackwards): bug 782
7234
7235 2003-04-07  John Levon  <levon@movementarian.org>
7236
7237         * paragraph.C: remove dead comment
7238
7239         * text.C: remove troublesome depth-fiddling code
7240         in leftMargin() and rightMargin() (bug 1017)
7241
7242         * text.C: fix breaking of rows in nested lists
7243         (bug 1004)
7244
7245         * text2.C (updateCounters): fix up depth values
7246         (bug 1013)
7247
7248 2003-04-07  John Levon  <levon@movementarian.org>
7249
7250         * BufferView_pimpl.C: clear message when doc finishes resizing,
7251         and after a mouse event
7252
7253         * lyxfunc.C: clear message after exiting inset
7254
7255 2003-04-07  John Levon  <levon@movementarian.org>
7256
7257         * bufferview_funcs.C: show math status not outside
7258         status in the statusbar
7259
7260 2003-04-07  John Levon  <levon@movementarian.org>
7261
7262         * lyxfunc.C: note status changed after a depth change
7263
7264 2003-04-04  Angus Leeming  <leeming@lyx.org>
7265
7266         * LaTeX.h: move AuxInfo operator==, != out of line.
7267         Remove LaTeX virtual destructor; nothing derives from it.
7268         Move operator()() out of public area and rename it startscript().
7269         Change protected for private.
7270
7271 2003-04-04  Angus Leeming  <leeming@lyx.org>
7272
7273         * lyxfunc.C:
7274         * text2.C: remove unneeded #includes.
7275
7276 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7277
7278         * text2.C (dEPM): fix the heigth of the next row
7279
7280 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7281
7282         * text.C: squashed an invalid getChar requester + some ws changes
7283
7284 2003-04-03  John Levon  <levon@movementarian.org>
7285
7286         * bufferview_funcs.h:
7287         * bufferview_funcs.C:
7288         * lyxfunc.C:
7289         * lyxtext.h:
7290         * text2.C: make getStatus work for the env depth lfuns
7291
7292 2003-04-03  John Levon  <levon@movementarian.org>
7293
7294         * bufferview_funcs.h:
7295         * bufferview_funcs.C:
7296         * lyxfunc.C:
7297         * lyxtext.h:
7298         * text2.C: parlistize decDepth(), by merging it with incDepth()
7299
7300 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * lyxrow.h: store a ParagraphList::iterator instead of a
7303         Paragraph* and adjust other class functions to suit.
7304
7305         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7306         above.
7307
7308 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7309
7310         * text2.C (setCursor): do not anchor to cursor row for the time being
7311
7312 2003-04-02  John Levon  <levon@movementarian.org>
7313
7314         * LyXAction.C:
7315         * lfuns.h:
7316         * lyx_main.C:
7317         * lyxtext.h:
7318         * text.C:
7319         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7320
7321 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7322
7323         * paragraph.h: make ParagraphList and ParagraphList::iterator
7324         friends of Paragraph.
7325
7326         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7327
7328         * ParagraphList.C: Use the private next_ and previous_ from
7329         Paragraph.
7330
7331 2003-04-01  John Levon  <levon@movementarian.org>
7332
7333         * ToolbarBackend.h:
7334         * ToolbarBackend.C:
7335         * Makefile.am: rename, remove defaults gunk
7336
7337         * MenuBackend.h:
7338         * MenuBackend.C: remove defaults gunk
7339
7340         * Languages.h:
7341         * Languages.C: remove defaults gunk
7342
7343         * lyx_main.h:
7344         * lyx_main.C: error out if files couldn't be found.
7345
7346 2003-04-02  John Levon  <levon@movementarian.org>
7347
7348         * text2.C: make incDepth() use parlist
7349
7350 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7351
7352         * undo_funcs.C (firstUndoParagraph): adjust
7353
7354         * text3.C (gotoInset): adjust
7355         (dispatch): adjust, and rewrite loop.
7356
7357         * text2.C (init): adjust, and rewrite loop.
7358         (redoParagraphs): adjust
7359         (updateInset): adjust, and rewrite loop.
7360         (deleteEmptyParagraphMechanism): adjust
7361
7362         * tabular.C (LyXTabular): adjust
7363         (SetMultiColumn): adjust
7364         (TeXRow): adjust
7365
7366         * lyxtext.[Ch] (ownerParagraph): delete function
7367         (ownerParagraphs): new function returns a ParagraphList.
7368
7369         * BufferView.C (removeAutoInsets): adjust
7370         (insertErrors): adjust
7371         (setCursorFromRow): adjust
7372
7373 2003-04-01  Angus Leeming  <leeming@lyx.org>
7374
7375         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7376         in the frontends.
7377
7378 2003-04-02  John Levon  <levon@movementarian.org>
7379
7380         * lyxtext.h:
7381         * text.C:
7382         * Makefile.am:
7383         * text_funcs.h:
7384         * text_funcs.C: make transposeChars a free function
7385
7386         * lyxrow_funcs.C: remove wrong comment
7387
7388 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * lyxtext.h: adjust
7391         * rowpainter.C: adjust
7392         * text.C: adjust
7393         * text2.C: adjust
7394         * text3.C: adjust
7395
7396         * lyxrow_funcs. [Ch]: new files
7397
7398         * lyxrow.[Ch]: remove next and previous pointers
7399         (next,previous): remove accessor functions
7400         (isParEnd): move to lyxrow_funcs
7401         (lastPos): move to lyxrow_funcs
7402         (nextRowIsAllInset): move to lyxrow_funcs
7403         (lastPrintablePos): move to lyxrow_funcs
7404         (numberOfSeparators): move to lyxrow_funcs
7405         (numberOfHfills): move to lyxrow_funcs
7406         (numberOfLabelHfills): move to lyxrow_funcs
7407         (hfillExpansion): move to lyxrow_funcs
7408
7409         * lyxfunc.C: adjust
7410
7411         * bufferview_funcs.C (toggleAndShow): adjust
7412
7413         * RowList.h: Remove class RowList from file leave just a
7414         std::list<Row>.
7415
7416         * RowList.C: delete file
7417
7418         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7419         and lyxrow_funcs.h
7420
7421 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * text3.C (cursorPrevious): adjust
7424         (cursorNext): adjust
7425         (dispatch): adjust
7426
7427         * text2.C (redoHeightOfParagraph): adjust
7428         (redoDrawingOfParagraph): adjust
7429         (setCursor): adjust
7430
7431         * text.C (breakParagraph): adjust
7432         (insertChar): adjust
7433         (backspace): adjust
7434
7435         * rowpainter.C (RowPainter): adjust
7436         (leftMargin): simplify and adjust
7437         (most rowpainter functions): adjust.
7438
7439         * rowpainter.h: store the row as RowList::iterator not as Row*
7440
7441         * lyxcursor.C (row): taka RowList::iterator as arg
7442         (irow): ditto
7443
7444         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7445         of Row*.
7446
7447 2003-04-01  Angus Leeming  <leeming@lyx.org>
7448
7449         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7450         stuff like bool Bool.
7451
7452 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7453
7454         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7455         rewrite a loop
7456
7457 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7460         RowList::iterator.
7461
7462         * lyxtext.h (rows): drop one version and leve a const variant that
7463         returns a RowList::iterator.
7464
7465 2003-03-31  Angus Leeming  <leeming@lyx.org>
7466
7467         * text.C (fill): ensure that the signature is the same as that in the
7468         header file.
7469
7470 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7471
7472         * text2.C (redoParagraphs): adjust
7473         (updateCounters): adjust
7474         (checkParagraph): adjust
7475         (getColumnNearX): adjust and reformat a bit.
7476
7477         * text.C (top_y): adjust
7478         (workWidth): adjust
7479         (leftMargin): adjust
7480         (prepareToPrint): adjust
7481         (getRow): adjust
7482         (getRowNearY): adjust
7483
7484         * lyxtext.h: make rowlist_ mutable.
7485
7486         * RowList.h: add const_iterator
7487         * RowList.C: adjust for RowList::const_iterator.
7488
7489         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7490         adjust.
7491
7492 2003-03-31  John Levon  <levon@movementarian.org>
7493
7494         * lyxrc.h:
7495         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7496
7497         * lyx_main.C: set default fonts from using lyx_gui funcs
7498
7499         * exporter.C: pdf_mode moved from lyxrc
7500
7501         * lyx_cb.C:
7502         * lyxfunc.C: changes from above
7503
7504 2003-03-31  John Levon  <levon@movementarian.org>
7505
7506         * lyx_main.C: fix to the last fix
7507
7508 2003-03-31  John Levon  <levon@movementarian.org>
7509
7510         * bufferlist.C: "Load original" -> "Load Original"
7511
7512         * converter.C:
7513         * exporter.C:
7514         * importer.C:
7515         * lyx_main.C:
7516         * format.C: more Alert cleanups
7517
7518 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * text2.C (removeParagraph): make it take a RowList::iterator as
7521         arg, adjust.
7522         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7523         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7524
7525         * text.C (anchor_row): make it take a RowList::iterator as arg,
7526         adjust.
7527         (computeBidiTables): make it take a const reference to Row instead
7528         of Row pointer, adjust.
7529         (leftMargin): make it take a RowList::iterator as arg, adjust.
7530         (rowBreakPoint): adjust
7531         (breakAgainOneRow): make it take a RowList::iterator as arg,
7532         adjust.
7533         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7534
7535         * bufferview_funcs.C (toggleAndShow): adjust
7536
7537 2003-03-30  John Levon  <levon@movementarian.org>
7538
7539         * Makefile.am:
7540         * BoostFormat.h:
7541         * boost-inst.C: moved to support
7542
7543         * several files: changes as a result
7544
7545 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * text2.C (LyXText): adjust.
7548         (init): adjust
7549         (removeRow): make it take a RowList::iterator as arg, adjust.
7550         (fullRebreak): adjust
7551         (deleteEmptyParagraphMechanism): adjust
7552         (clearPaint): adjust
7553         (postPaint): adjust
7554
7555         * text.C (top_y): adjust
7556         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7557         (breakAgain): make it take a RowList::iterator as arg, adjust.
7558         (breakParagraph): adjust
7559         (insertChar): adjust
7560         (backspace): adjust
7561
7562         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7563         need_break_row, and refresh_row.
7564
7565         * text3.C (dispatch): adjust
7566
7567         * text2.C (checkParagraph): adjust
7568         (setCursor): adjust
7569         (setCursorFromCoordinates): adjust
7570
7571         * text.C (top_y): adjust
7572         (workWidth): adjust
7573         (getRow): make it return a RowList::iterator, adjust
7574         (getRowNearY): make it return a RowList::iterator, adjust
7575
7576         * text2.C (init): adjust
7577         (insertRow): remove function
7578         (insertParagraph): adjust
7579         (redoParagraphs): adjust
7580         (fullRebreak): adjust
7581         (updateCounters): adjust
7582
7583         * text.C (top_y): rewrite to use RowList iterators.
7584         (top_y): adjust
7585         (setHeightOfRow): rewrite to sue RowList iterators.
7586         (appendParagraph): adjust
7587         (breakAgain): adjust
7588         (breakAgainOneRow): adjust
7589         (breakParagraph): adjust
7590         (getRow): adjust
7591         (getRowNearY): adjust, and remove commented code.
7592
7593         * lyxtext.h (firstRow): delete function
7594         (lastRow): delete function
7595         (rows): new function (const and non-const versions.)
7596         (insertRow): delete function
7597
7598         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7599
7600 2003-03-29  John Levon  <levon@movementarian.org>
7601
7602         * BufferView_pimpl.C: always update scrollbar top
7603         because pasting text when we're anchored could mean we
7604         miss an update altogether
7605
7606 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7607
7608         * text2.C (init): use rowlist_.end() and not 0.
7609         (insertRow): change to take a RowList::iterator as arg, adjust
7610         for this.
7611         (insertParagraph): change to take a RowList::iterator as arg,
7612         adjust for this.
7613         (redoParagraphs): remove some debug msgs.
7614
7615         * text.C (appendParagraph): change to take a RowList::iterator
7616         arg, adjust for this.
7617         (breakAgain): add an assert
7618         (breakAgainOneRow): ditto
7619
7620 2003-03-29  John Levon  <levon@movementarian.org>
7621
7622         * text2.C: do not clear selection after inc/decDepth
7623         (bug 550)
7624
7625 2003-03-29  John Levon  <levon@movementarian.org>
7626
7627         * BufferView.C:
7628         * buffer.C: fix broken strerrors according to Lars
7629
7630 2003-03-29  John Levon  <levon@movementarian.org>
7631
7632         * converters.C: more Alert cleanups
7633
7634 2003-03-29  John Levon  <levon@movementarian.org>
7635
7636         * bufferview_funcs.C: remove pointless Alert
7637
7638         * buffer.C: fix confusing error message when
7639         a template is chmoded 000
7640
7641 2003-03-29  John Levon  <levon@movementarian.org>
7642
7643         * BufferView.C:
7644         * BufferView.h:
7645         * BufferView_pimpl.C: Alert fixes
7646
7647         * Makefile.am:
7648         * tabular.C:
7649         * tabular-old.C: remove unused table compat reading
7650
7651 2003-03-29  John Levon  <levon@movementarian.org>
7652
7653         * BufferView.C:
7654         * buffer.C:
7655         * lyx_cb.h:
7656         * lyx_cb.C: more Alert cleanups
7657
7658         * lyxfunc.C: don't allow chktex if not latex document
7659
7660 2003-03-29  John Levon  <levon@movementarian.org>
7661
7662         * lyx_cb.C:
7663         * BufferView.C:
7664         * buffer.C: warnings pushed down from support/,
7665         kill err_alert
7666
7667 2003-03-29  John Levon  <levon@movementarian.org>
7668
7669         * lyxfunc.C: safety check for C-r (revert)
7670
7671 2003-03-29  John Levon  <levon@movementarian.org>
7672
7673         * bufferlist.h:
7674         * bufferlist.C: several UI fixes using Alert::prompt.
7675         Fix the pointless looping quit code. Fix stupid revert
7676         behaviour (bug 938)
7677
7678         * lyxvc.h:
7679         * lyxvc.C:
7680         * lyx_cb.C: use Alert::prompt
7681
7682         * lyx_main.C: remove a silly question
7683
7684         * lyxfunc.C: remove a couple of silly questions,
7685         use Alert::prompt
7686
7687 2003-03-28  John Levon  <levon@movementarian.org>
7688
7689         * text2.C: fix bug 974 (End on empty par)
7690
7691 2003-03-28  John Levon  <levon@movementarian.org>
7692
7693         * BufferView_pimpl.C:
7694         * LyXAction.C:
7695         * lfuns.h: remove do-nothing math greek lfuns
7696
7697 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * lyxgluelength.h (isValidGlueLength): add default arg on
7700         parameter 2. Remove default arg from friend in class.
7701
7702         * lyxlength.h (isValidLength): add default arg on parameter 2.
7703         Remove default arg from friend in class.
7704
7705         * text2.C (LyXText): adjust, initialize refresh_row.
7706         (init): adjust
7707         (removeRow): adjust
7708         (insertRow): adjust
7709         (insertParagraph): adjst
7710         (redoParagraphs): adjust
7711         (fullRebreak): adjust
7712         (updateCounters): adjust
7713         (deleteEmptyParagraphMechanism): first attempt at fixing a
7714         crashing bug.
7715
7716         * text.C (top_y): adjust
7717         (setHeightOfRow): adjust
7718         (getRow): adjust
7719         (getRowNearY): adjust
7720
7721         * lyxtext.h: include RowList.h
7722         (~LyXText): not needed anymore, deleted.
7723         (firstRow): modify for RowList
7724         (lastRow): new function
7725         Delete firstrow and lastrow class variables, add a Rowlist
7726         rowlist_ class variable.
7727
7728         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7729         paragraph is empty.
7730
7731         * RowList.C (insert): fix case where it == begin().
7732
7733 2003-03-26  Angus Leeming  <leeming@lyx.org>
7734
7735         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7736         the thesaurus dialog.
7737
7738 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7739
7740         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7741
7742         * RowList.[Ch]: new files
7743
7744         * ParagraphList.C (erase): handle the case where it == begin
7745         correctly.
7746
7747 2003-03-25  John Levon  <levon@movementarian.org>
7748
7749         * Makefile.am:
7750         * aspell_local.h:
7751         * aspell.C: add new aspell support
7752
7753         * lyxrc.h:
7754         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7755         have it accessible.
7756
7757 2003-03-25  Angus Leeming  <leeming@lyx.org>
7758
7759         * lfuns.h:
7760         * LyXAction.C (init): new LFUN_INSET_INSERT.
7761
7762         * BufferView_pimpl.C (dispatch): split out part of the
7763         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7764
7765         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7766         LFUN_INSET_APPLY.
7767
7768 2003-03-25  Angus Leeming  <leeming@lyx.org>
7769
7770         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7771
7772 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7773
7774         * text2.C:
7775         * text3.C: remove useless row->height(0)
7776
7777 2003-03-25  John Levon  <levon@movementarian.org>
7778
7779         * lyxtext.h:
7780         * text2.C:
7781         * text3.C: rename the refreshing stuff to better names
7782
7783 2003-03-24  John Levon  <levon@movementarian.org>
7784
7785         * BufferView_pimpl.h:
7786         * BufferView_pimpl.C: update layout choice on a mouse
7787         press/release
7788
7789 2003-03-23  John Levon  <levon@movementarian.org>
7790
7791         * Makefile.am: fix commandtags.h reference
7792
7793 2003-03-22  John Levon  <levon@movementarian.org>
7794
7795         * BufferView_pimpl.C:
7796         * lyxtext.h:
7797         * rowpainter.C:
7798         * rowpainter.h:
7799         * text.C:
7800         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7801
7802 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7803
7804         * lyxtext.h:
7805         * text.C: take the rtl methods out of line
7806
7807 2003-03-21 André Pönitz <poenitz@gmx.net>
7808
7809         * metricsinfo.[Ch]: new files containing structures to be passed around
7810         during the two-phase-drawing...
7811
7812 2003-03-21 André Pönitz <poenitz@gmx.net>
7813
7814         * lyxtextclass.C: read 'environment' tag.
7815
7816 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7817
7818         * text2.C (removeRow): fix bug 964
7819
7820 2003-03-20  John Levon  <levon@movementarian.org>
7821
7822         * rowpainter.C:
7823         * text.C:
7824         * text2.C: paint cleanups. Inset::update() dropped font
7825         parameter
7826
7827 2003-03-19  John Levon  <levon@movementarian.org>
7828
7829         * lyxfunc.C: only fitcursor/markDirty if available()
7830
7831 2003-03-19  John Levon  <levon@movementarian.org>
7832
7833         * commandtags.h: rename to ...
7834
7835         * lfuns.h: ... this, and renumber / cleanup
7836
7837 2003-03-19  John Levon  <levon@movementarian.org>
7838
7839         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7840         fit the cursor after an lfun
7841
7842         * BufferView.h:
7843         * BufferView.C:
7844         * BufferView_pimpl.h:
7845         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7846
7847         * LyXAction.C: layout-character should have ReadOnly
7848
7849         * ParagraphParameters.C:
7850         * buffer.C:
7851         * bufferview_funcs.C:
7852         * lyx_cb.C:
7853         * lyxfind.C:
7854         * lyxtext.h:
7855         * text.C:
7856         * text2.C:
7857         * text3.C:
7858         * undo_funcs.C: changes from above
7859
7860 2003-03-18  John Levon  <levon@movementarian.org>
7861
7862         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7863         remove it from update()
7864
7865         * lyxfunc.C: update layout choice after an lfun
7866
7867         * text3.C: remove extra updateLayoutChoice()s
7868
7869 2003-03-18  John Levon  <levon@movementarian.org>
7870
7871         * text.C: top_y change means full repaint, fix
7872         a drawing bug with cursor movement
7873
7874 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7875
7876         * lyxtext.h:
7877         * text.C:
7878         * text2.C: anchor row on setCursor
7879
7880 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7881
7882         * lyxtext.h: remove almost all mutable keywords
7883         * text.C:
7884         * text2.C:
7885         * text3.C: remove const keywords accordingly
7886
7887 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7890         anon namespace
7891         (TeXEnvironment): ditto
7892         (TeXOnePar): ditto
7893
7894 2003-03-17  John Levon  <levon@movementarian.org>
7895
7896         * text.C (rowBreakPoint): remove attempt to fix displayed
7897         math insets inside a manual label
7898
7899 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * lyxtext.h: remove BufferView* as first arg from almost all class
7902         functions.
7903         * other files: adjust.
7904
7905 2003-03-17  John Levon  <levon@movementarian.org>
7906
7907         * lyxtext.h:
7908         * undo_funcs.C:
7909         * text2.C: more paint cleanups
7910
7911         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7912
7913         * rowpainter.h:
7914         * rowpainter.C: remove "smart" background painting code
7915
7916 2003-03-16  John Levon  <levon@movementarian.org>
7917
7918         * lyxtext.h:
7919         * text.C:
7920         * text2.C:
7921         * text3.C: add helper functions for setting refresh_row/y
7922
7923 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7924
7925         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7926         newline inset which *can* get inserted in the pass_thru layouts.
7927         This is primarily for literate documents.
7928
7929 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7930
7931         * buffer.C: increment LYX_FORMAT to 223
7932
7933 2003-03-14 André Pönitz <poenitz@gmx.net>
7934
7935         * textclass.h: prepare for environment handling, ws changes
7936         * lyxlayout.C: read latexheader and latexfooter tags
7937
7938 2003-03-14  John Levon  <levon@movementarian.org>
7939
7940         * text2.C: rewrite ::status() a bit
7941
7942 2003-03-13  John Levon  <levon@movementarian.org>
7943
7944         * lyxtext.h: add some docs
7945
7946 2003-03-13  John Levon  <levon@movementarian.org>
7947
7948         * lyxtext.h:
7949         * text.C:
7950         * text2.C:
7951         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7952
7953 2003-03-13  John Levon  <levon@movementarian.org>
7954
7955         * text3.C: fix appendix redrawing
7956
7957 2003-03-13  John Levon  <levon@movementarian.org>
7958
7959         * text.C (setHeightOfRow):
7960         * rowpainter.h:
7961         * rowpainter.C: make appendix mark have the text
7962           "Appendix" so the user knows what it is
7963
7964         * LColor.h:
7965         * LColor.C: s/appendixline/appendix/ from above
7966
7967 2003-03-13  John Levon  <levon@movementarian.org>
7968
7969         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7970
7971         * text.C: fix a getChar(pos) bug properly
7972
7973 2003-03-13  Angus Leeming  <leeming@lyx.org>
7974
7975         * commandtags.h:
7976         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7977         Probably only temporary. Let's see how things pan out.
7978
7979         * BufferView.C (unlockInset):
7980         * BufferView_pimpl.C (fitCursor):
7981         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7982
7983         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7984         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7985
7986         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7987         new functions that convert ParagraphParameters to and from a string.
7988
7989         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7990         BufferView::Pimpl's dispatch.
7991         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7992
7993 2003-03-13 André Pönitz <poenitz@gmx.net>
7994
7995         * lyxfunc.C:
7996         * text3.C:
7997         * factory.C: make it aware of InsetEnv
7998
7999 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8000
8001         * text2.C (setCursor): never ask for one past last
8002         (setCursor): add some debugging messages.
8003
8004         * text.C (singleWidth): never ask for one past last
8005         (singleWidth): ditto
8006         (leftMargin): ditto
8007         (rightMargin): ditto
8008         (rowBreakPoint): ditto
8009         (setHeightOfRow): ditto
8010         (prepareToPrint): ditto
8011
8012         * rowpainter.C (paintBackground): never ask for one past last
8013         (paintText): never ask for one past last
8014
8015         * paragraph_pimpl.C (getChar): make the assert stricter, never
8016         allow the one past last pos to be taken
8017
8018         * paragraph.C (getChar): ws changes only
8019
8020         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8021         (numberOfSeparators): ditto
8022         (numberOfHfills): ditto
8023
8024 2003-03-12  John Levon  <levon@movementarian.org>
8025
8026         * author.h:
8027         * author.C:
8028         * bufferparams.h:
8029         * bufferparams.C:
8030         * paragraph_funcs.C: fix per-buffer authorlists
8031
8032 2003-03-12  John Levon  <levon@movementarian.org>
8033
8034         * text.C: fix newline in right address
8035
8036 2003-03-12  Angus Leeming  <leeming@lyx.org>
8037
8038         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8039         duplicate those in LyXFunc::dispatch.
8040
8041         * commandtags.h:
8042         * LyXAction.C:
8043         * ToolbarDefaults.C:
8044         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8045         Add LFUN_FONTFREE_UPDATE.
8046
8047         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8048         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8049
8050         * bufferview_func.[Ch]: several new functions to facilliate
8051         transfer of data to and from the character dialog.
8052
8053 2003-03-12  John Levon  <levon@movementarian.org>
8054
8055         * buffer.C:
8056         * paragraph.h:
8057         * paragraph.C:
8058         * paragraph_funcs.C:
8059         * paragraph_pimpl.C:
8060         * sgml.C:
8061         * tabular.C:
8062         * text.C:
8063         * text3.C: remove META_NEWLINE in favour of an inset
8064
8065         * rowpainter.h:
8066         * rowpainter.C: remove paintNewline (done by inset)
8067
8068 2003-03-12  John Levon  <levon@movementarian.org>
8069
8070         * paragraph_pimpl.C: complain about bad getChar()s
8071         for a while at least
8072
8073 2003-03-12  John Levon  <levon@movementarian.org>
8074
8075         * buffer.h:
8076         * buffer.C: move paragraph read into a separate function,
8077         a little renaming to reflect that.
8078
8079         * bufferparams.h:
8080         * bufferparams.C: remove the author_ids map, not necessary now
8081
8082         * factory.h:
8083         * factory.C: moved Buffer::readInset to here
8084
8085         * paragraph_funcs.h:
8086         * paragraph_funcs.C: readParagraph free function moved from
8087         buffer.C
8088
8089         * tabular.C: name change
8090
8091 2003-03-12  John Levon  <levon@movementarian.org>
8092
8093         * buffer.C:
8094         * ParagraphParameters.C: move par params input to
8095         a read() method
8096
8097         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8098         behave like a normal read from the stream wrt reading
8099         a line vs. a \\token
8100
8101 2003-03-12  John Levon  <levon@movementarian.org>
8102
8103         * paragraph.C:
8104         * ParagraphParameters.h:
8105         * ParagraphParameters.C: move output code to a
8106         ::write() method
8107
8108 2003-03-12  John Levon  <levon@movementarian.org>
8109
8110         * BufferView.C (insertLyXFile):
8111         * buffer.h:
8112         * buffer.C:
8113         * tabular.C: use a parlist iterator for creating the
8114           document.
8115
8116 2003-03-12  John Levon  <levon@movementarian.org>
8117
8118         * buffer.C: make current_change static local not
8119           static file-scope
8120
8121 2003-03-12  John Levon  <levon@movementarian.org>
8122
8123         * buffer.C: fix insertStringAsLines for change tracking
8124
8125 2003-03-12  John Levon  <levon@movementarian.org>
8126
8127         * BufferView.C:
8128         * tabular.C:
8129         * buffer.h:
8130         * buffer.C:
8131         * bufferparams.h:
8132         * bufferparams.C: move author list into params. Rename some
8133           functions. Move the header reading into a separate token
8134           loop. Move the header token reading into BufferParams.
8135
8136 2003-03-12  John Levon  <levon@movementarian.org>
8137
8138         * changes.C: put debug inside lyxerr.debugging() checks
8139
8140 2003-03-11 André Pönitz <poenitz@gmx.net>
8141
8142         * factory.C: make it aware of InsetHFill
8143
8144 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8145
8146         * buffer.C (latexParagraphs): move function from here...
8147         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8148         args.
8149
8150 2003-03-10  Angus Leeming  <leeming@lyx.org>
8151
8152         * LyXAction.C (init): fix bug in poplating array with multiple entries
8153         with the same LFUN (spotted by JMarc).
8154
8155 2003-03-10  John Levon  <levon@movementarian.org>
8156
8157         * text.C:
8158         * text2.C: move getColumnNearX() near its
8159         only call site
8160
8161 2003-03-10  John Levon  <levon@movementarian.org>
8162
8163         * text.C: fix break before a minipage
8164
8165 2003-03-10  John Levon  <levon@movementarian.org>
8166
8167         * text.C: fix the last commit
8168
8169 2003-03-09  John Levon  <levon@movementarian.org>
8170
8171         * lyxtext.h:
8172         * text.C:
8173         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8174         bug 365 (don't break before insets unless needed). Don't
8175         return a value > last under any circumstances.
8176
8177 2003-03-09  Angus Leeming  <leeming@lyx.org>
8178
8179         * BufferView_pimpl.C (trackChanges, dispatch): call
8180         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8181
8182 2003-03-09  Angus Leeming  <leeming@lyx.org>
8183
8184         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8185         than Dialogs::showAboutlyx().
8186
8187 2003-03-09  Angus Leeming  <leeming@lyx.org>
8188
8189         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8190         than Dialogs::showTabularCreate().
8191
8192 2003-03-09  John Levon  <levon@movementarian.org>
8193
8194         * lyxtext.h:
8195         * text.C:
8196         * text2.C: 3rd arg to nextBreakPoint was always the same.
8197           Use references.
8198
8199 2003-03-08  John Levon  <levon@movementarian.org>
8200
8201         * lyxrow.C:
8202         * paragraph.C:
8203         * paragraph.h:
8204         * rowpainter.C:
8205         * text.C:
8206         * text2.C: Remove the "main" bit from the "main body"
8207           notion.
8208
8209 2003-03-08  John Levon  <levon@movementarian.org>
8210
8211         * text.C (leftMargin): The left margin of an empty
8212         manual label paragraph should not include the label width
8213         string length.
8214
8215         * text.C (prepareToPrint): don't attempt to measure hfills
8216         for empty manual label paragraphs - the answer should be 0
8217
8218 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * CutAndPaste.C: remove commented code and reindent.
8221
8222 2003-03-08  John Levon  <levon@movementarian.org>
8223
8224         * lyxfunc.h:
8225         * lyxfunc.C: move reloadBuffer()
8226
8227         * BufferView.h:
8228         * BufferView.C: to here
8229
8230         * lyxvc.C: add comment
8231
8232         * vc-backend.h:
8233         * vc-backend.C: call bv->reload() to avoid
8234           getStatus() check on MENURELOAD
8235
8236 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8237
8238         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8239         to an old format .dep file.
8240
8241 2003-03-07  Angus Leeming  <leeming@lyx.org>
8242
8243         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8244         when the LFUN_MOUSE_RELEASE should have been handled by
8245         inset->localDispatch.
8246
8247 2003-03-07  Angus Leeming  <leeming@lyx.org>
8248
8249         * BufferView_pimpl.C (dispatch):
8250         * LyXAction.C (init):
8251         * ToolbarDefaults.C (init):
8252         * commandtags.h:
8253         * lyxfunc.C (getStatus):
8254         remove LFUN_INSET_GRAPHICS.
8255
8256         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8257
8258 2003-03-07  Angus Leeming  <leeming@lyx.org>
8259
8260         * commandtags.h:
8261         * LyXAction.C (init):
8262         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8263
8264         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8265
8266         * commandtags.h:
8267         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8268
8269         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8270         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8271
8272 2003-03-07  Angus Leeming  <leeming@lyx.org>
8273
8274         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8275         remove "ert".
8276
8277 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8278
8279         * ParagraphList.C (front): new function
8280         (back): implement
8281
8282 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8283
8284         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8285         and top_row_offset_. removed var first_y.
8286         * text.C (top_y):
8287         * text2.C (LyXText, removeRow):
8288         * text3.C:
8289         * BufferView_pimpl.C:
8290         use these methods instead of using first_y
8291
8292 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * text2.C (pasteSelection): adjust for checkPastePossible
8295
8296         * CutAndPaste.C: remove Paragraph * buf and replace with
8297         ParagraphList paragraphs.
8298         (DeleteBuffer): delete
8299         (cutSelection): change the tc type to textclass_type
8300         (copySelection): change the tc type to textclass_type
8301         (copySelection): adjust for ParagraphList
8302         (pasteSelection): change the tc type to textclass_type
8303         (pasteSelection): adjust for Paragraphlist
8304         (nrOfParagraphs): simplify for ParagraphList
8305         (checkPastePossible): simplify for ParagraphList
8306         (checkPastePossible): remove unused arg
8307
8308         * ParagraphList.C (insert): handle the case where there are no
8309         paragraphs yet.
8310
8311         * CutAndPaste.h: make CutAndPaste a namespace.
8312
8313         * text3.C (dispatch): adjust
8314
8315         * text.C (breakParagraph): add a ParagraphList as arg
8316
8317         * paragraph_funcs.C (breakParagraph): change to take a
8318         BufferParams and a ParagraphList as args.
8319         (breakParagraphConservative): ditto
8320         (mergeParagraph): ditto
8321         (TeXDeeper): add a ParagraphList arg
8322         (TeXEnvironment): ditto
8323         (TeXOnePar): ditto
8324
8325         * buffer.C (readLyXformat2): adjust
8326         (insertStringAsLines): adjust
8327         (latexParagraphs): adjust
8328
8329         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8330         (cutSelection): adjust
8331         (pasteSelection): adjust
8332
8333         * BufferView_pimpl.C (insertInset): adjust
8334
8335 2003-03-05  Angus Leeming  <leeming@lyx.org>
8336
8337         * commandtags.h:
8338         * LyXAction.C (init):
8339         * BufferView_pimpl.C (dispatch):
8340         * lyxfunc.C (getStatus):
8341         remove LFUN_CHILD_INSERT.
8342
8343         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8344
8345 2003-03-05  Angus Leeming  <leeming@lyx.org>
8346
8347         * commandtags.h:
8348         * LyXAction.C (init):
8349         * src/factory.C (createInset):
8350         * lyxfunc.C (getStatus):
8351         * text3.C (dispatch):
8352         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8353
8354         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8355
8356 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * ParagraphList.C (insert): handle insert right before end()
8359         (erase): fix cases where it can be first or last paragraph.
8360
8361 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8364         Paragraph::next and Paragraph::previous
8365         (TeXOnePar): ditto
8366
8367         * text.C (breakParagraph): adjust
8368
8369         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8370         BufferParams& as arg.
8371         (breakParagraph): use ParagraphList::insert
8372         (breakParagraphConservative): take a Buffer* instead of a
8373         BufferParams& as arg.
8374         (breakParagraphConservative): use ParagraphList::insert.
8375
8376         * buffer.C (insertStringAsLines): un-const it
8377         (insertStringAsLines): adjust
8378
8379         * ParagraphList.C (insert): new function
8380
8381         * CutAndPaste.C (pasteSelection): adjust
8382
8383         * text.C (backspace): adjust
8384
8385         * tabular.C (SetMultiColumn): adjust
8386
8387         * CutAndPaste.C (cutSelection): adjust
8388         (pasteSelection): adjust
8389
8390         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8391         Buffer const * as arg
8392
8393         * ParagraphList.C (erase): new function
8394         * paragraph_funcs.C (mergeParagraph): use it
8395         (mergeParagraph): make it take a Buffer* instead of a
8396         BufferParams* as arg
8397
8398         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8399         as arg
8400         (breakParagraphConservative): ditto
8401
8402         * paragraph.h: remove the breakParagraph friend
8403
8404         * paragraph.C (eraseIntern): new function
8405         (setChange): new function
8406
8407         * paragraph_funcs.C (mergeParagraph): make it take a
8408         ParagraphList::iterator instead of a Paragraph *, adjust
8409         accordingly.
8410
8411         * paragraph.h: move an #endif so that the change tracking stuff
8412         also works in the NO_NEXT case.
8413
8414 2003-03-04  Angus Leeming  <leeming@lyx.org>
8415
8416         * commandtags.h:
8417         * LyXAction.C: new LFUN_INSET_MODIFY.
8418
8419         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8420         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8421
8422 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8423
8424         * several files: ws changes only
8425
8426         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8427         (TeXEnvironment): ditto
8428         (TeXDeeper): ditto
8429
8430         * buffer.C (makeLaTeXFile): adjust
8431         (latexParagraphs): make it take ParagraphList::iterator as args
8432
8433 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8434
8435         * buffer.C (latexParagraphs): adjust
8436
8437         * paragraph.C (TeXOnePar): move function...
8438         (optArgInset): move function...
8439         (TeXEnvironment): move function...
8440         * paragraph_pimpl.C (TeXDeeper): move function...
8441         * paragraph_funcs.C: ...here
8442
8443         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8444
8445 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8446
8447         * buffer.C (readInset): remove compability code for old Figure and
8448         InsetInfo insets
8449
8450 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8451
8452         * buffer.C: ws changes
8453         (readInset):
8454
8455         * BufferView_pimpl.C: ditto
8456         * author.C: ditto
8457         * buffer.h: ditto
8458         * bufferlist.h: ditto
8459         * changes.h: ditto
8460         * lyxfunc.C: ditto
8461
8462 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8463
8464         * converter.[Ch]: split into itself +
8465         * graph.[Ch]
8466         * format.[Ch]
8467         * Makefile.am: += graph.[Ch] + format.[Ch]
8468         * MenuBackend.C
8469         * buffer.C
8470         * exporter.C
8471         * importer.C
8472         * lyx_main.C
8473         * lyxfunc.C
8474         * lyxrc.C: added #include "format.h"
8475
8476 2003-02-27  Angus Leeming  <leeming@lyx.org>
8477
8478         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8479           a label.
8480
8481         * factory.C (createInset): add "label" to the factory.
8482
8483         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8484           string and do no more.
8485
8486 2003-02-27  Angus Leeming  <leeming@lyx.org>
8487
8488         * commandtags.h:
8489         * LyXAction.C (init):
8490         * factory.C (createInset):
8491         * BufferView_pimpl.C (dispatch):
8492           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8493
8494         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8495
8496         * lyxfunc.C (dispatch):
8497         * text3.C (dispatch): pass name to params2string.
8498
8499 2003-02-26  Angus Leeming  <leeming@lyx.org>
8500
8501         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8502           blocks together.
8503           Rearrange the ~includes. Strip out the unnecessary ones.
8504
8505         * factory.C (createInset): reformat.
8506           create new insets for the various LFUN_XYZ_APPLY lfuns.
8507
8508 2003-02-26  John Levon  <levon@movementarian.org>
8509
8510         * lyxrow.h:
8511         * lyxrow.C: add isParStart,isParEnd helpers
8512
8513         * paragraph.h: make isInserted/DeletedText take refs
8514
8515         * paragraph_funcs.h:
8516         * paragraph_funcs.C: remove #if 0'd code
8517
8518         * lyxtext.h:
8519         * text3.C:
8520         * text2.C:
8521         * text.C: use lyxrow helpers above.
8522           Move draw and paint routines to RowPainter.
8523           Make several methods use refs not pointers.
8524           Make backgroundColor() const.
8525           Add markChangeInDraw(), isInInset().
8526           Merge changeRegionCase into changeCase.
8527           Make workWidth() shouldn't-happen code into an Assert.
8528
8529         * rowpainter.h:
8530         * rowpainter.C: new class for painting a row.
8531
8532         * vspace.h:
8533         * vspace.C: make inPixels take a ref
8534
8535 2003-02-26  Angus Leeming  <leeming@lyx.org>
8536
8537         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8538         LFUN_REF_APPLY.
8539
8540 2003-02-25  John Levon  <levon@movementarian.org>
8541
8542         * ispell.C: give the forked command a more accurate name
8543
8544 2003-02-22  John Levon  <levon@movementarian.org>
8545
8546         * toc.h:
8547         * toc.C: make TocItem store an id not a Paragraph *
8548           (bug #913)
8549
8550 2003-02-21  Angus Leeming  <leeming@lyx.org>
8551
8552         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8553           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8554           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8555           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8556           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8557           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8558
8559         * BufferView_pimpl.C (dispatch):
8560         * LyXAction.C (init):
8561         * factory.C (createInset):
8562         * lyxfunc.C (getStatus, dispatch):
8563         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8564
8565 2003-02-21  Angus Leeming  <leeming@lyx.org>
8566
8567         * BufferView_pimpl.C (MenuInsertLyXFile):
8568         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8569         * lyxfunc.C (menuNew, open, doImport):
8570           no longer pass a LyXView & to fileDlg.
8571
8572 2003-02-21  Angus Leeming  <leeming@lyx.org>
8573
8574         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8575         * LyXAction.C: change, BIBKEY to BIBITEM.
8576         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8577         Change InsetBibKey to InsetBibitem.
8578         Change BIBKEY_CODE to BIBITEM_CODE.
8579         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8580         * factory.C: replace insetbib.h with insetbibitem.h.
8581         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8582         * paragraph.C: replace insetbib.h with insetbibitem.h.
8583         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8584         Change bibkey() to bibitem().
8585         * text.C: remove insetbib.h.
8586         * text2.C: replace insetbib.h with insetbibitem.h.
8587         change bibkey() to bibitem().
8588         * text3.C: remove insetbib.h.
8589         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8590
8591 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8592
8593         * lyxrc.C (output): enclose user email in quotes (in case there are
8594         several words)
8595
8596 2003-02-18  John Levon  <levon@movementarian.org>
8597
8598         * buffer.h: add std::
8599
8600 2003-02-17  John Levon  <levon@movementarian.org>
8601
8602         * SpellBase.h:
8603         * ispell.h:
8604         * ispell.C:
8605         * pspell.h:
8606         * pspell.C: reworking. Especially in ispell, a large
8607           number of clean ups and bug fixes.
8608
8609         * lyxfunc.C: fix revert to behave sensibly
8610
8611 2003-02-17 André Pönitz <poenitz@gmx.net>
8612
8613         * LyXAction.C:
8614         * commandtags.h: new LFUN_INSERT_BIBKEY
8615
8616         * layout.h:
8617         * lyxlayout.C:
8618         * buffer.C:
8619         * factory.C:
8620         * text.C:
8621         * text2.C:
8622         * text3.C:
8623         * paragraph.[Ch]:
8624         * paragraph_func.C: remove special bibkey handling
8625
8626 2003-02-17  John Levon  <levon@movementarian.org>
8627
8628         * text.C (Delete): fix case where delete at the end of
8629           the very first paragraph would not merge the pars
8630
8631 2003-02-17  John Levon  <levon@movementarian.org>
8632
8633         * lyxrow.C: fix lastPrintablePos()
8634
8635 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8636
8637         * bufferparams.C (writeLaTeX): add a std:here
8638
8639         * buffer.C: and remove a using directive there
8640
8641 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8642
8643         * buffer.C (makeLaTeXFile): move the code that generates the
8644           preamble...
8645
8646         * bufferparams.C (writeLaTeX): ... in this new method
8647
8648         * LaTeXFeatures.C (getEncodingSet): make const
8649           (getLanguages): make const
8650
8651         * MenuBackend.C (binding): returns the binding associated to this
8652           action
8653           (add): sets the status of each item by calling getStatus. Adds
8654           some intelligence.
8655           (read): add support for OptSubMenu
8656           (expand): remove extra separator at the end of expanded menu
8657
8658 2003-02-15  John Levon  <levon@movementarian.org>
8659
8660         * BufferView.C:
8661         * BufferView_pimpl.C:
8662         * bufferlist.h:
8663         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8664           inset code that had no actual effect. Remove unneeded status
8665           code.
8666
8667 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8668
8669         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8670           in preamble
8671
8672 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8673
8674         * text.C (drawLengthMarker): also draw an arrow marker for
8675           symbolic lengths (medskip...)
8676
8677 2003-02-14  John Levon  <levon@movementarian.org>
8678
8679         * tabular.h:
8680         * tabular.C: better method names
8681
8682 2003-02-14  John Levon  <levon@movementarian.org>
8683
8684         * BufferView_pimpl.C:
8685         * bufferlist.C:
8686         * buffer.C:
8687         * converter.C:
8688         * lyx_cb.C:
8689         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8690           it's a more accurate name. Remove some pointless uses.
8691
8692 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8693
8694         * text2.C (LyXText): change order of initilizers to shut off
8695           warnings
8696
8697 2003-02-14  John Levon  <levon@movementarian.org>
8698
8699         * buffer.C: use ParIterator for getParFromID()
8700
8701         * paragraph.h:
8702         * paragraph.C:
8703         * paragraph_pimpl.h:
8704         * paragraph_pimpl.C: remove unused getParFromID()
8705
8706 2003-02-14  John Levon  <levon@movementarian.org>
8707
8708         * buffer.C: remove some very old #if 0'd parse code
8709
8710 2003-02-13  John Levon  <levon@movementarian.org>
8711
8712         * text.h:
8713         * text.C:
8714         * text2.C: move hfillExpansion(), numberOfSeparators(),
8715           rowLast(), rowLastPrintable(), numberofHfills(),
8716           numberOfLabelHfills() ...
8717
8718         * lyxrow.h:
8719         * lyxrow.C: ... to member functions here.
8720
8721         * paragraph.h:
8722         * paragraph.C:
8723         * lyxtext.h:
8724         * text.C: remove LyXText::beginningOfMainBody(), and call
8725           p->beginningOfMainBody() directly. Move the check for
8726           LABEL_MANUAL into the latter.
8727
8728         * text.h:
8729         * text.C:
8730         * text2.C:
8731         * vspace.C:
8732         * BufferView.h:
8733         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8734
8735         * text.h:
8736         * text.C:
8737         * text2.C:
8738         * text3.C:
8739         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8740           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8741
8742 2003-02-13  John Levon  <levon@movementarian.org>
8743
8744         * CutAndPaste.C: remove debug
8745
8746 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8747
8748         * paragraph.C (asString): remove two unused variables
8749
8750         * lyxtextclass.C (readTitleType):
8751           (Read):
8752           (LyXTextClass): handle new members titletype_ and titlename_
8753
8754         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8755
8756 2003-02-09  John Levon  <levon@movementarian.org>
8757
8758         * buffer.h:
8759         * buffer.C: replace hand-coded list with a map for the dep clean
8760
8761 2003-02-08  John Levon  <levon@movementarian.org>
8762
8763         * LaTeX.C: consolidate code into showRunMessage() helper
8764
8765 2003-02-08  John Levon  <levon@movementarian.org>
8766
8767         * lyxfind.C:
8768         * lyxtext.h:
8769         * text2.C:
8770         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8771           and pass the size in explicitly
8772
8773         * BufferView_pimpl.h:
8774         * BufferView_pimpl.C:
8775         * BufferView.h:
8776         * BufferView.C: add getCurrentChange()
8777
8778         * BufferView_pimpl.h:
8779         * BufferView_pimpl.C: handle change lfuns
8780
8781         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8782           for changes. Mark pasted paragraphs as new.
8783
8784         * support/lyxtime.h:
8785         * support/lyxtime.C:
8786         * DepTable.C: abstract time_t as lyx::time_type
8787
8788         * LColor.h:
8789         * LColor.C: add colours for new text, deleted text, changebars
8790
8791         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8792           package use "usenames" option.
8793
8794         * commandtags.h:
8795         * lyxfunc.C:
8796         * LyXAction.C: add change lfuns
8797
8798         * Makefile.am:
8799         * author.h:
8800         * author.C: author handling
8801
8802         * buffer.h:
8803         * buffer.C: add a per-buffer author list, with first entry as
8804           current author. Handle new .lyx tokens for change tracking. Output
8805           author list to .lyx file. Output dvipost stuff to .tex preamble.
8806           Bump lyx format to 222.
8807
8808         * bufferlist.h:
8809         * bufferlist.C: add setCurrentAuthor() to reset current author details
8810           in all buffers.
8811
8812         * bufferparams.h:
8813         * bufferparams.C: add param for tracking
8814
8815         * bufferview_funcs.C: output change info in minibuffer
8816
8817         * Makefile.am:
8818         * changes.h:
8819         * changes.C: add change-tracking structure
8820
8821         * debug.h:
8822         * debug.C: add CHANGES debug flag
8823
8824         * lyxfind.h:
8825         * lyxfind.C: add code for finding the next change piece
8826
8827         * lyxrc.h:
8828         * lyxrc.C: add user_name and user_email
8829
8830         * lyxrow.h:
8831         * lyxrow.C: add a metric for the top of the text line
8832
8833         * lyxtext.h:
8834         * text.C: implement accept/rejectChange()
8835
8836         * lyxtext.h:
8837         * text.C: paint changebars. Paint new/deleted text in the chosen
8838         colours. Strike through deleted text.
8839
8840         * paragraph.h:
8841         * paragraph.C:
8842         * paragraph_pimpl.h:
8843         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8844           in the current change to the insert functions. Rework erase to
8845           mark text as deleted, adding an eraseIntern() and a range-based
8846           erase(). Implement per-paragraph change lookup and
8847           accept/reject.
8848
8849         * paragraph_funcs.C: Fixup paste for change tracking.
8850
8851         * tabular.C: mark added row/columns as new.
8852
8853         * text.C: fix rowLast() to never return -1. Don't allow
8854           spellchecking of deleted text. Track transpose changes. Don't
8855           allow paragraph break or merge where appropriate.
8856
8857         * text2.C: leave cursor at end of selection after a cut.
8858
8859 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8860
8861         * text.C (getLengthMarkerHeight):
8862         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8863         visible on screen too.
8864
8865 2003-02-07  John Levon  <levon@movementarian.org>
8866
8867         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8868
8869 2003-02-05  Angus Leeming  <leeming@lyx.org>
8870
8871         * lyxserver.C (read_ready): revert my patch of 11 September last year
8872         as it sends PC cpu through the roof. Presumably this means that
8873         the lyxserver will no longer run on an Alpha...
8874
8875 2003-01-30  Angus Leeming  <leeming@lyx.org>
8876
8877         * factory.C (createInset): create an InsetCommandParam of type "index"
8878         and use it to 'do the right thing'.
8879
8880         * text2.C (getStringToIndex): ensure that cursor position is always
8881         reset to the reset_cursor position.
8882
8883 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8884
8885         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8886         disabled.
8887
8888 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8889
8890         * bufferview.C:
8891         * lyxcb.C:
8892         * lyxfunc.C: Output messages with identical spelling, punctuation,
8893         and spaces
8894
8895 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8896
8897         * MenuBackend.C (expandFormats): List only viewable export formats
8898         in "View" menu
8899
8900         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8901         message
8902
8903         * lyxfunc.C (getStatus): Make sure that formats other than
8904         "fax" can also be disabled
8905
8906 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8907
8908         * text3.C (dispatch): put the lfuns that insert insets in 3
8909         groups, and call doInsertInset with appropriate arguments.
8910         (doInsertInset): new function, that creates an inset and inserts
8911         it according to some boolean parameters.
8912
8913 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8914
8915         * buffer.C (readFile): remember to pass on 'par' when calling
8916         readFile recursively.
8917
8918 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8919
8920         * MenuBackend.C (expandFormats): add "..." to import formats.
8921
8922 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8923
8924         * paragraph.C (asString): Remove XForms RTL hacks.
8925
8926 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8927         * buffer.C: fix typo
8928
8929 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8930
8931         * Makefile.am (LIBS): delete var
8932         (lyx_LDADD): add @LIBS@ here instead.
8933
8934 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8935
8936         * Clarify the meaning of "wheel mouse jump"
8937
8938 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8939
8940         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8941         tabular in a float
8942
8943 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8944
8945         * importer.C (Loaders): do not preallocate 3 elements in the
8946         vector, since one ends up with 6 elements otherwise
8947
8948 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8949
8950         * DepTable.C (write): write the file name as last element of the
8951         .dep file (because it may contain spaces)
8952         (read): read info in the right order
8953
8954 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8955
8956         * paragraph_pimpl.C (simpleTeXBlanks):
8957         (simpleTeXSpecialChars):
8958         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8959
8960         * tabular.C (latex): add some missing case statements. Reindent.
8961
8962         * MenuBackend.C (expandToc): remove unused variable.
8963
8964 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8965
8966         * LColor.C:
8967         * LaTeX.C:
8968         * LyXAction.C:
8969         * MenuBackend.C:
8970         * buffer.C:
8971         * exporter.C:
8972         * lyxfunc.C:
8973         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8974         and the like.
8975
8976 2003-01-05  John Levon  <levon@movementarian.org>
8977
8978         * BufferView.h:
8979         * BufferView.C: add getEncoding()
8980
8981         * kbsequence.h:
8982         * kbsequence.C: do not store last keypress
8983
8984         * lyxfunc.h:
8985         * lyxfunc.C: store last keypress here instead. Pass encoding
8986           to getISOEncoded()
8987
8988 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8989
8990         * lyx_main.C (init): remove annoying error message when following
8991         symbolic links (bug #780)
8992
8993 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8994
8995         * text.C (insertChar):
8996         * lyxrc.C (getDescription): remove extra spaces
8997
8998 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8999
9000         * lyxrc.C (getDescription): remove extra spaces
9001
9002 2002-12-20  John Levon  <levon@movementarian.org>
9003
9004         * text3.C: hack fix for page up/down across tall rows
9005
9006 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9007
9008         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9009         not been invoked
9010
9011 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9012
9013         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9014         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9015         thesaurus is not compiled in
9016
9017 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9018
9019         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9020
9021 2002-12-16  Angus Leeming  <leeming@lyx.org>
9022
9023         * lyxrc.[Ch]:
9024         * lyx_main.C (init): remove override_x_deadkeys stuff.
9025
9026 2002-12-12  John Levon  <levon@movementarian.org>
9027
9028         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9029           insert. Only remove shift modifier under strict
9030           circumstances.
9031
9032 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9033
9034         * MenuBackend.C (expandToc): fix crash.
9035
9036 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * MenuBackend.C (expandToc): gettext on float names.
9039
9040 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9041
9042         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9043         implement bool empty() [bug 490]
9044
9045 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9046
9047         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9048
9049 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9050
9051         * several files: ws changes
9052
9053 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9054
9055         * text2.C (setCounter): clean up a bit, use boost.format.
9056         (updateCounters): initialize par upon declaration.
9057
9058         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9059         if the layout exists. We do not just store the layout any more.
9060         (SwitchLayoutsBetweenClasses): use boost.format
9061
9062 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9063
9064         * converter.C (convert): if from and to files are the same, use a
9065         temporary files as intermediary
9066
9067 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9068
9069         * commandtags.h:
9070         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9071
9072 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9073
9074         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9075
9076 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9077
9078         * tabular.C (asciiPrintCell): use string(size, char) instead of
9079         explicit loop.
9080
9081         * sgml.C (openTag): fix order of arguments to string constructor
9082         (closeTag): ditto
9083
9084         * lyxfunc.C (dispatch): use boost.format
9085
9086         * lots of files: change "c" -> 'c'
9087
9088 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9089
9090         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9091
9092 2002-11-25  Angus Leeming  <leeming@lyx.org>
9093
9094         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9095
9096         * lyx_main.C (init): compile fix.
9097
9098 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9099
9100         * lyx_cb.C (start): boost.formatify
9101         do not include <iostream>
9102
9103         * lengthcommon.C: ws only
9104
9105         * boost-inst.C,BoostFormat.h: add more explict instantations
9106
9107 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9108
9109         * lots of files: handle USE_BOOST_FORMAT
9110
9111 2002-11-21  John Levon  <levon@movementarian.org>
9112
9113         * pspell.C: fix compile
9114
9115 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9116
9117         * lyxfunc.C (dispatch): use boost::format
9118         (open): ditto
9119         (doImport): ditto
9120
9121         * lyxfont.C (stateText): use boost::format
9122
9123         * lyx_main.C (LyX): use boost::format
9124         (init): ditto
9125         (queryUserLyXDir): ditto
9126         (readRcFile): ditto
9127         (parse_dbg): ditto
9128         (typedef boost::function): use the recommened syntax.
9129
9130         * importer.C (Import): use boost::format
9131
9132         * debug.C (showLevel): use boost::format
9133
9134         * converter.C (view): use boost::format
9135         (convert): ditto
9136         (move): ditto
9137         (scanLog): ditto
9138
9139         * bufferview_funcs.C (currentState): use boost::format
9140
9141         * bufferlist.C (emergencyWrite): use boost::format
9142
9143         * buffer.C (readLyXformat2): use boost::format
9144         (parseSingleLyXformat2Token): ditto
9145
9146         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9147
9148         * LaTeX.C (run): use boost::format
9149
9150         * Chktex.C (scanLogFile): use boost::format
9151
9152         * BufferView_pimpl.C (savePosition): use boost::format
9153         (restorePosition): ditto
9154         (MenuInsertLyXFile): ditto
9155
9156         * BoostFormat.h: help file for explicit instation.
9157
9158 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9159
9160         * tabular.C (latex): Support for block alignment in fixed width
9161         columns.
9162
9163 2002-11-17  John Levon  <levon@movementarian.org>
9164
9165         * BufferView_pimpl.C:
9166         * lyx_cb.C:
9167         * lyxfunc.C: split filedialog into open/save
9168
9169 2002-11-08  Juergen Vigna  <jug@sad.it>
9170
9171         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9172         by my last patch (hopefully).
9173
9174 2002-11-08  John Levon  <levon@movementarian.org>
9175
9176         * iterators.h:
9177         * iterators.C:
9178         * buffer.h:
9179         * buffer.C:
9180         * paragraph.h:
9181         * paragraph.C:
9182         * toc.h:
9183         * toc.C: ParConstIterator, and use it (from Lars)
9184
9185 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9186
9187         * lyxtextclass.[Ch]: revise and add doxygen comments
9188
9189 2002-11-07  John Levon  <levon@movementarian.org>
9190
9191         * text.C: fix progress value for spellchecker
9192
9193         * toc.C: fix navigate menu for insetwrap inside minipage
9194
9195         * paragraph_funcs.C: added FIXME for suspect code
9196
9197 2002-11-07  John Levon  <levon@movementarian.org>
9198
9199         * BufferView_pimpl.C: fix redrawing of insets
9200           on buffer switch
9201
9202 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9203
9204         * text2.C (updateCounters): fix bug 668
9205
9206 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9207
9208         * text3.C (dispatch): Do not make the buffer dirty when moving the
9209         cursor.
9210
9211 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * vc-backend.C: STRCONV
9214         (scanMaster): ditto
9215
9216         * text2.C (setCounter): STRCONV
9217
9218         * paragraph.C (asString): STRCONV
9219
9220         * lyxlength.C (asString): STRCONV
9221         (asLatexString): ditto
9222
9223         * lyxgluelength.C (asString): STRCONV
9224         (asLatexString): ditto
9225
9226         * lyxfunc.C (dispatch): STRCONV
9227         (open): ditto
9228
9229         * lyxfont.C (stateText): STRCONV
9230
9231         * importer.C (Import): STRCONV
9232
9233         * counters.C (labelItem): STRCONV
9234         (numberLabel): ditto
9235         (numberLabel): remove unused ostringstream o
9236
9237         * chset.C: STRCONV
9238         (loadFile): ditto
9239
9240         * bufferview_funcs.C (currentState): STRCONV
9241
9242         * buffer.C (readFile): STRCONV
9243         (asciiParagraph): ditto
9244         (makeLaTeXFile): ditto
9245
9246         * Spacing.C (writeEnvirBegin): STRCONV
9247
9248         * LaTeXFeatures.C (getLanguages): STRCONV
9249         (getPackages): ditto
9250         (getMacros): ditto
9251         (getBabelOptions): ditto
9252         (getTClassPreamble): ditto
9253         (getLyXSGMLEntities): ditto
9254         (getIncludedFiles): ditto
9255
9256         * LaTeX.C: STRCONV
9257         (run): ditto
9258         (scanAuxFile): ditto
9259         (deplog): ditto
9260
9261         * LString.h: add the STRCONV macros
9262
9263         * BufferView_pimpl.C (savePosition): STRCONV
9264         (restorePosition): ditto
9265         (MenuInsertLyXFile): ditto
9266
9267         * vc-backend.C (scanMaster): change from submatch[...] to
9268         submatch.str(...)
9269
9270         * funcrequest.C: include config.h
9271
9272         * factory.C: include config.h
9273
9274         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9275
9276         * box.C: include config.h
9277
9278         * LaTeX.C (scanAuxFile): change from submatch[...] to
9279         submatch.str(...)
9280         (deplog): ditto
9281
9282 2002-10-25  Angus Leeming  <leeming@lyx.org>
9283
9284         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9285
9286         * ispell.[Ch] (setError): new method.
9287         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9288         Use setError() insetead of goto END.
9289
9290         * lyx_cb.C (AutoSave): move out child process into new class
9291         AutoSaveBuffer.
9292
9293 2002-10-30  John Levon  <levon@movementarian.org>
9294
9295         * text3.C: make start appendix undoable
9296
9297 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9298
9299         * lyxlength.C (inPixels): Fix returned value.
9300
9301         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9302         environment.
9303
9304 2002-10-24  Angus Leeming  <leeming@lyx.org>
9305
9306         * lyxgluelength.h: no need to forward declare BufferParams
9307         or BufferView, so don't.
9308
9309 2002-10-21  John Levon  <levon@movementarian.org>
9310
9311         * BufferView.C: menuUndo ->undo, redo
9312
9313         * BufferView.h: document, remove dead, make some methods private
9314
9315         * paragraph_funcs.h:
9316         * paragraph_funcs.C:
9317         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9318
9319         * buffer.h:
9320         * buffer.C:
9321         * sgml.h:
9322         * sgml.C: move sgml open/close tag into sgml.C
9323
9324         * bufferview_funcs.h: unused prototype
9325
9326         * lyxfunc.h:
9327         * lyxfunc.C: remove unused
9328
9329         * lyxtext.h:
9330         * text.C: remove unused
9331
9332 2002-10-21  John Levon  <levon@movementarian.org>
9333
9334         * BufferView.h:
9335         * BufferView.C:
9336         * BufferView_pimpl.h:
9337         * BufferView_pimpl.C: fix mouse wheel handling based on
9338           patch from Darren Freeman
9339
9340 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9341
9342         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9343
9344 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9345
9346         * lyxlength.C (inPixels): Fix hanfling of negative length.
9347         Fix LyXLength::MU case.
9348
9349 2002-10-16  John Levon  <levon@movementarian.org>
9350
9351         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9352
9353 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9354
9355         * converter.C (view): add support for $$i (file name) and $$p
9356         (file path) for the viewer command. If $$i is not specified, then
9357         it is appended to the command (for compatibility with old syntax)
9358
9359 2002-10-14  Juergen Vigna  <jug@sad.it>
9360
9361         * undo_funcs.C (textHandleUndo): alter the order in which the
9362         new undopar is added to the LyXText, as we have to set first
9363         the right prev/next and then add it as otherwise the rebuild of
9364         LyXText is not correct. Also reset the cursor to the right paragraph,
9365         with this IMO we could remove the hack in "redoParagraphs()".
9366
9367 2002-10-09  Angus Leeming  <leeming@lyx.org>
9368
9369         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9370         to turn off an optimisation if a new inset is to be inserted.
9371
9372 2002-10-11 André Pönitz <poenitz@gmx.net>
9373
9374         * lyxtext.h: make some functions public to allow access
9375         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9376
9377 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9378
9379         * text3.C (dispatch): when changing layout, avoid an infinite loop
9380         [bug #652]
9381
9382 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9383
9384         * lyxrc.C (read): treat a viewer or converter command of "none" as
9385         if it were empty.
9386
9387         * MenuBackend.C (expandFormats): for an update, also allow the
9388         formats that are not viewable
9389
9390         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9391         script if it is newer than the lyxrc.defaults in user directory
9392
9393 2002-10-07 André Pönitz <poenitz@gmx.net>
9394
9395         * text.C: Vitaly Lipatov's small i18n fix
9396
9397 2002-09-25  Angus Leeming  <leeming@lyx.org>
9398
9399         * ispell.h: doxygen fix.
9400
9401 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9402
9403         * buffer.h (readFile): Add a new argument to the method, to allow
9404         reading of old-format templates.
9405
9406 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9407
9408         * toc.C (getTocList): Get TOC from InsetWrap.
9409
9410 2002-09-16  John Levon  <levon@movementarian.org>
9411
9412         * lyxfunc.C: check tabular for cut/copy too
9413
9414 2002-09-12  John Levon  <levon@movementarian.org>
9415
9416         * LyXAction.C: tidy
9417
9418         * factory.h:
9419         * factory.C: add header
9420
9421         * paragraph_funcs.h:
9422         * paragraph_funcs.C: cleanup
9423
9424 2002-09-11  John Levon  <levon@movementarian.org>
9425
9426         * PrinterParams.h: odd/even default to true
9427
9428 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9429
9430         * PrinterParams.h: update printer parameters for new xforms dialog
9431
9432 2002-09-11  Angus Leeming  <leeming@lyx.org>
9433
9434         * lyxserver.C (read_ready): re-write to make it more transparent
9435         and to make it work in coherent fashion under Tru64 Unix.
9436
9437 2002-09-11  André Pönitz <poenitz@gmx.net>
9438
9439         * commandtags.h:
9440         * LyXAction.C:
9441         * text3.C: implement LFUN_WORDSEL
9442
9443 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9444
9445         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9446         make floatlist_ a boost::shared_ptr<FloatList>
9447
9448         * lyxtextclass.C: include FloatList.h
9449         (LyXTextClass): initialize floatlist_
9450         (TextClassTags): add TC_NOFLOAT
9451         (Read): match "nofloat" to TC_NOFLOAT and use it.
9452         (readFloat): modify call to floatlist_
9453         (floats): ditto
9454         (floats): ditto
9455
9456         * FloatList.[Ch] (FloatList): remove commented out float
9457         initialization.
9458         (erase): new function
9459
9460 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9461
9462         * MenuBackend.C (expandToc): fix crash when there is no document
9463         open
9464
9465 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9466
9467         * many files: Add insetwrap.
9468
9469 2002-09-09  John Levon  <levon@movementarian.org>
9470
9471         * text2.C: remove confusing and awkward depth wraparound
9472
9473 2002-09-09  John Levon  <levon@movementarian.org>
9474
9475         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9476
9477         * buffer.h:
9478         * buffer.C: remove getIncludeonlyList()
9479
9480         * paragraph.C:
9481         * lyxfunc.C: remove headers
9482
9483 2002-09-09  Juergen Vigna  <jug@sad.it>
9484
9485         * text.C (getColumnNearX): fix form Michael this is most
9486         probably a cut&paste bug.
9487
9488 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9489
9490         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9491
9492         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9493         references, ws changes.
9494
9495         * text2.C (init): update counters after init
9496         (insertParagraph): no need to set counter on idividual paragraphs.
9497         (setCounter): access the counters object in the textclass object
9498         on in the buffer object.
9499         (updateCounters): ditto
9500
9501         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9502         shared_ptr<Counters> to avoid loading counters.h in all
9503         compilation units.
9504         (LyXTextClass): initialize ctrs_
9505         (TextClassTags): add TC_COUNTER, and ...
9506         (Read): use it here.
9507         (CounterTags): new tags
9508         (readCounter): new function
9509         (counters): new funtion
9510         (defaultLayoutName): return a const reference
9511
9512         * counters.C (Counters): remove contructor
9513         (newCounter): remove a couple of unneeded statements.
9514         (newCounter): simplify a bit.
9515         (numberLabel): some small formatting changes.
9516
9517         * buffer.[Ch]: remove all traces of counters, move the Counters
9518         object to the LyXTextClass.
9519
9520 2002-09-06  Alain Castera  <castera@in2p3.fr>
9521
9522         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9523         package to set the horizontal alignment on fixed width columns.
9524
9525         * lyx_sty.C:
9526         * lyx_sty.h: added tabularnewline macro def.
9527
9528         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9529
9530 2002-09-06  John Levon  <levon@movementarian.org>
9531
9532         * LyXAction.C: tooltips for sub/superscript
9533
9534         * MenuBackend.C: a bit more verbose
9535
9536         * lyxfunc.C: tiny clean
9537
9538         * undo_funcs.C: document undo_frozen
9539
9540 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9541
9542         * counters.C (Counters): add missing algorithm counter.
9543
9544         * text2.C (setCounter): lookup the counter with layouts latexname
9545         instead of by section number.
9546         (setCounter): use a hackish way to lookup the correct enum
9547         counter.
9548         a float name->type change
9549         reset enum couners with counter name directly instead of depth value.
9550
9551         * counters.C (Counters): remove the push_backs, change to use the
9552         float type not the float name.
9553         (labelItem): remove unused string, float name->type change
9554
9555         * counters.h: don't include vector, loose the enums and sects vectors
9556
9557 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9558
9559         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9560         (Read): add float->TC_FLOAT to textclassTags
9561         (Read): and handle it in the switch
9562         (readFloat): new function
9563
9564         * FloatList.C (FloatList): comment out the hardcoded float
9565         definitions.
9566
9567         * lyxlayout.h: ws change.
9568
9569 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9570
9571         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9572
9573 2002-09-03  Angus Leeming  <leeming@lyx.org>
9574
9575         * BufferView_pimpl.h: qualified name is not allowed in member
9576         declaration: WorkArea & Pimpl::workarea() const;
9577
9578         * factory.C: added using std::endl directive.
9579
9580         * text3.C: added using std::find and std::vector directives.
9581
9582 2002-08-29  André Pönitz <poenitz@gmx.net>
9583
9584         * lyxtext.h:
9585         * text2.C: remove unused member number_of_rows
9586
9587         * Makefile.am:
9588         * BufferView2.C: remove file, move contents to...
9589         * BufferView.C: ... here
9590
9591         * BufferView_pimpl.C:
9592         * factory.C: move more inset creation to factory
9593
9594         * vspace.C: avoid direct usage of LyXText, ws changes
9595
9596         * BufferView.[Ch]:
9597                 don't provide direct access to WorkArea, use two simple
9598                 acessors haveSelction() and workHeight() instead
9599
9600
9601 2002-08-29  John Levon  <levon@movementarian.org>
9602
9603         * BufferView_pimpl.C (dispatch): do not continue when
9604           no buffer
9605
9606 2002-08-28  André Pönitz <poenitz@gmx.net>
9607
9608         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9609
9610         * BufferView.h:
9611         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9612
9613 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9614
9615         * buffer.C: increment LYX_FORMAT to 221
9616
9617         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9618         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9619
9620         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9621
9622         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9623
9624 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9625
9626         * factory.C (createInset): use LyXTextClass::floats
9627
9628         * MenuBackend.C (expandFloatListInsert):
9629         (expandFloatInsert):
9630         (expandToc):
9631
9632         * text2.C (setCounter):
9633
9634         * LaTeXFeatures.C (useFloat):
9635         (getFloatDefinitions):
9636
9637         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9638
9639         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9640         floatlist_, with accessor floats().
9641
9642         * FloatList.h: remove global FloatList
9643
9644 2002-08-26  André Pönitz <poenitz@gmx.net>
9645
9646         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9647
9648         * BufferView.h:
9649         * BufferView2.C:
9650         * BufferView_pimpl.C:
9651         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9652
9653 2002-08-25  John Levon  <levon@movementarian.org>
9654
9655         * LyXAction.C: fix margin note description
9656
9657 2002-08-24  John Levon  <levon@movementarian.org>
9658
9659         * buffer.C:
9660         * bufferlist.C:
9661         * bufferview_funcs.C:
9662         * lyxfont.C:
9663         * undo_funcs.C: cleanups
9664
9665         * lyxfunc.C: disable CUT/COPY when no selection
9666
9667 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9668
9669         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9670         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9671
9672         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9673         Add backward compatibility to "mono", "gray" and "no".
9674
9675 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9676
9677         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9678         (and file_format >= 200).
9679
9680 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9683
9684 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9687
9688 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9689
9690         * BufferView_pimpl.C:
9691         * LyXAction.C:
9692         * buffer.C:
9693         * commandtags.h:
9694         * lyxfunc.C:
9695         * paragraph.[Ch]:
9696         * text2.C:
9697         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9698         inset and code to make it  work with the paragraph code. The inset
9699         can be anywhere in the paragraph, but will only do the expected
9700         thing in LaTeX if the layout file contains the parameter line
9701                         OptionalArgs    1
9702         (or more generally, a nonzero value) for that layout.
9703
9704 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9705
9706         * paragraph.h: remove the declaration of undefined counters class
9707         function.
9708
9709 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9710
9711         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9712         Dr. Richard Hawkins.
9713
9714 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * paragraph_funcs.h: remove some unneeded includes
9717
9718         * text.C (backspace): pasteParagraph now in global scipe
9719
9720         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9721         (pasteSelection): ditto
9722
9723         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9724         * paragraph_funcs.C (pasteParagraph): ... here
9725
9726 2002-08-20  André Pönitz <poenitz@gmx.net>
9727
9728         * commandtags.h: new LFUNs for swapping/copying table row/colums
9729
9730         * LyXAction.C:
9731         * lyxfunc.C: support for new lfuns
9732
9733 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9734
9735         * tabular.C:
9736         * buffer.[Ch]: remove NO_COMPABILITY stuff
9737
9738 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9739
9740         * boost.C (throw_exception): new file, with helper function for
9741         boost compiled without exceptions.
9742
9743         * paragraph.h:
9744         * lyxlength.C:
9745         * buffer.C:
9746         * ParameterStruct.h:
9747         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9748
9749         * bufferlist.C (emergencyWriteAll): use boost bind
9750
9751         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9752
9753         * text.C: include paragraph_funcs.h
9754         (breakParagraph): breakParagraph is now in global scope
9755
9756         * paragraph_funcs.[Ch]: new files
9757
9758         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9759         global scope
9760
9761         * buffer.C: include paragraph_funcs.h
9762         (insertStringAsLines): breakParagraph is now in global scope
9763
9764         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9765         paragraph_funcs.C
9766
9767         * CutAndPaste.C: include paragraph_funcs.h
9768         (cutSelection): breakParagraphConservative is now in global scope
9769         (pasteSelection): ditto
9770
9771         * buffer.h: declare oprator== and operator!= for
9772         Buffer::inset_iterator
9773
9774         * bufferlist.C (emergencyWrite): don't use fmt(...)
9775
9776         * text3.C: add using std::endl
9777
9778         * BufferView.C (moveCursorUpdate): remove default arg
9779
9780 2002-08-20  André Pönitz <poenitz@gmx.net>
9781
9782         * buffer.[Ch]: move inline functions to .C
9783
9784         * BufferView2.C:
9785         * BufferView_pimpl.C:
9786         * text.C:
9787         * buffer.[Ch]: use improved inset_iterator
9788
9789         * buffer.C:
9790         * paragraph.[Ch]: write one paragraph at a time
9791
9792 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9793
9794         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9795         style if style is not specified.
9796
9797 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9798
9799         * text2.C (setCounter): when searching for right label for a
9800         caption, make sure to recurse to parent insets (so that a caption
9801         in a minipage in a figure float works) (bug #568)
9802
9803 2002-08-20  André Pönitz <poenitz@gmx.net>
9804
9805         * text3.C: new file for LyXText::dispatch() and helpers
9806
9807         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9808
9809         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9810
9811 2002-08-19  André Pönitz <poenitz@gmx.net>
9812
9813         * lyxtext.h:
9814         * text.C: new LyXText::dispatch()
9815
9816         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9817
9818 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9819
9820         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9821
9822         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9823         Hebrew text.
9824
9825 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9826
9827         * Makefile.am: use $(variables) instead of @substitutions@
9828
9829 2002-08-15  André Pönitz <poenitz@gmx.net>
9830
9831         * lyxfunc.C:
9832         * BufferView_pimpl.C: streamlining mathed <-> outer world
9833         interaction
9834
9835         * commandtags.h:
9836         * LyXAction.C: remove unused LFUN_MATH
9837
9838 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9839
9840         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9841
9842 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9843
9844         * paragraph.C (Paragraph): reformat a bit
9845         (cutIntoMinibuffer): use builtin InsetList function instad of
9846         doing it manually.
9847         (getInset): ditto
9848
9849         * buffer.C: include boost/bind.hpp, add using std::for_each
9850         (writeFileAscii): use ParagraphList iterators
9851         (validate): use for_each for validate traversal of paragraphs
9852         (getBibkeyList): use ParagraphList iterators
9853         (resizeInsets): use for_each to resizeInsetsLyXText for all
9854         paragraphs.
9855         (getParFromID): use ParagraphList iterators
9856
9857         * BufferView2.C (lockInset): use paragraph list and iterators
9858
9859 2002-08-14  John Levon  <levon@movementarian.org>
9860
9861         * lyxserver.C: remove spurious xforms include
9862
9863 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9864
9865         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9866
9867 2002-08-13  André Pönitz <poenitz@gmx.net>
9868
9869         * LyXAction.[Ch]:
9870         * lyxfunc.C: further cleaning
9871
9872 2002-08-13  André Pönitz <poenitz@gmx.net>
9873
9874         * funcrequest.h: new constructor
9875
9876         * funcrequest.C: move stuff here from .h
9877
9878         * Makefile.am:
9879         * BufferView_pimpl.C:
9880         * LyXAction.C:
9881         * toc.C:
9882         * lyxfunc.C: subsequent changes
9883
9884         * lyxfunc.h: new view() member function
9885
9886         * lyxfunc.C: subsequent changes
9887
9888 2002-08-13  Angus Leeming  <leeming@lyx.org>
9889
9890         * BufferView2.C:
9891         * BufferView_pimpl.C:
9892         * buffer.C:
9893         * converter.C:
9894         * importer.C:
9895         * lyxfunc.C:
9896         * lyxvc.C:
9897         * toc.C:
9898         * vc-backend.C:
9899         changes due to the changed LyXView interface that now returns references
9900         to member variables not pointers.
9901
9902 2002-08-13  Angus Leeming  <leeming@lyx.org>
9903
9904         * WordLangTuple (word, lang_code): return references to strings,
9905         not strings.
9906
9907         * BufferView.h:
9908         * SpellBase.h:
9909         * lyxtext.h: forward-declare WordLangTuple.
9910
9911         * BufferView2.C:
9912         * ispell.C:
9913         * pspell.C:
9914         * text.C: #include "WordLangTuple.h".
9915
9916         * lyxtext.h:
9917         * text.C: (selectNextWordToSpellcheck): constify return type.
9918
9919 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9920
9921         * buffer.C:
9922         * buffer.h:
9923         * lyxtext.h:
9924         * paragraph.C:
9925         * paragraph_pimpl.h:
9926         * text.C:
9927         * text2.C:
9928         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9929         suggested by Angus.
9930         Made updateCounter always count from start of buffer, and removed
9931         second argument (par).
9932         Reverted floats number display to '#'. Perhaps I'll try again when the
9933         code base is sanitized a bit.
9934
9935 2002-08-12  Angus Leeming  <leeming@lyx.org>
9936
9937         * buffer.[Ch] (getLabelList): constify.
9938
9939 2002-08-07  André Pönitz <poenitz@gmx.net>
9940
9941         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9942
9943         * funcrequest.h: extension to keep mouse (x,y) position
9944
9945 2002-08-12  Juergen Vigna  <jug@sad.it>
9946
9947         * BufferView2.C (insertErrors): forbid undo when inserting error
9948         insets.
9949
9950         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9951
9952 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9953
9954         * ParagraphList.[Ch]: new files
9955
9956         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9957
9958         * BufferView2.C (lockInset): ParagraphList changes
9959         * toc.C: ditto
9960         * text2.C: ditto
9961         * bufferlist.C: ditto
9962         * buffer.h: ditto
9963         * buffer.C: ditto
9964
9965 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9966
9967         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9968         unused class variable counter_,
9969
9970         * paragraph.[Ch] (getFirstCounter): delete unused function
9971
9972         * counters.C: include LAssert.h
9973         (reset): add a new function with no arg, change other version to
9974         not have def. arg and to not allow empty arg.
9975
9976         * text2.C (setCounter): remove empty arg from call to Counters::reset
9977
9978 2002-08-11  John Levon  <levon@movementarian.org>
9979
9980         * Makefile.am: add WordLangTuple.h
9981
9982 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9983
9984         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9985         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9986
9987         * insets/insettext.C: InsetList changes
9988
9989         * graphics/GraphicsSupport.C (operator()): InsetList changes
9990
9991         * toc.C (getTocList): InsetList changes
9992
9993         * paragraph_pimpl.[Ch]: InsetList changes
9994
9995         * paragraph.[Ch]: InsetList changes
9996
9997         * buffer.C (inset_iterator): InsetList changes
9998         (setParagraph): ditto
9999         * buffer.h (inset_iterator): ditto
10000         * iterators.C (operator++): ditto
10001         * iterators.h: ditto
10002
10003         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10004
10005         * InsetList.[Ch]: new files, most InsetList handling moved out of
10006         paragraph.C.
10007
10008         * BufferView2.C (removeAutoInsets): InsetList changes
10009         (lockInset): ditto
10010         (ChangeInsets): ditto
10011
10012 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10013
10014         * paragraph_pimpl.h (empty): new function
10015
10016         * paragraph.[Ch] (empty): new function
10017
10018         * other files: use the new Paragraph::empty function
10019
10020 2002-08-09  John Levon  <levon@movementarian.org>
10021
10022         * lyxtext.h: remove unused refresh_height
10023
10024 2002-08-09  John Levon  <levon@movementarian.org>
10025
10026         * Makefile.am:
10027         * sgml.h:
10028         * sgml.C:
10029         * buffer.C:
10030         * paragraph.h:
10031         * paragraph.C: move sgml char escaping out of paragraph
10032
10033         * paragraph.h:
10034         * paragraph.C: remove id setter
10035
10036         * buffer.C:
10037         * paragraph.C:
10038         * paragraph_pimpl.C: remove dead tex_code_break_column
10039
10040         * bufferview_funcs.C: small cleanup
10041
10042         * lyxfunc.C: remove dead proto
10043
10044         * lyxtext.h: make some stuff private. Remove some dead stuff.
10045
10046         * lyxgluelength.C: make as[LyX]String() readable
10047
10048 2002-08-08  John Levon  <levon@movementarian.org>
10049
10050         * LyXAction.h:
10051         * LyXAction.C:
10052         * MenuBackend.C:
10053         * ToolbarDefaults.C:
10054         * lyxfunc.C:
10055         * lyxrc.C:
10056         * toc.C: lyxaction cleanup
10057
10058 2002-08-08  John Levon  <levon@movementarian.org>
10059
10060         * BufferView2.C: small cleanup
10061
10062         * lyxfind.h:
10063         * lyxfind.C: move unnecessary header into the .C
10064
10065 2002-08-08  John Levon  <levon@movementarian.org>
10066
10067         * funcrequest.h: just tedious nonsense
10068
10069         * lyx_main.h:
10070         * lyx_main.C: cleanups
10071
10072         * buffer.C:
10073         * vspace.C: remove dead header lyx_main.h
10074
10075 2002-08-07  Angus Leeming  <leeming@lyx.org>
10076
10077         * Paragraph.[Ch]:
10078         * paragraph_pimpl.h:
10079         Forward declare class Counters in paragraph.h by moving the ctrs member
10080         variable into Paragraph::Pimpl.
10081         (counters): new method, returning a reference to pimpl_->ctrs.
10082
10083         * text2.C: ensuing changes.
10084
10085 2002-08-07  John Levon  <levon@movementarian.org>
10086
10087         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10088
10089         * BufferView_pimpl.C: announce X selection on double/triple
10090           click
10091
10092         * lyx_main.C: use correct bool in batch dispatch
10093
10094         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10095
10096 2002-08-07  André Pönitz <poenitz@gmx.net>
10097
10098         * funcrequest.h: new class to wrap a kb_action and its argument
10099
10100         * BufferView.[Ch]:
10101         * BufferView_pimpl[Ch]:
10102         * LaTeX.C:
10103         * LyXAction.[Ch]:
10104         * lyxfunc.[Ch]:
10105         * lyxrc.C: subsequent changes
10106
10107
10108 2002-08-07  John Levon  <levon@movementarian.org>
10109
10110         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10111           document options change.
10112
10113 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10114
10115         * counters.[Ch]
10116         * text2.C
10117         * paragraph.[Ch]
10118         * makefile.am: move counters functionality over from
10119         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10120
10121 2002-08-06  John Levon  <levon@movementarian.org>
10122
10123         * WordLangTuple.h: new file for word + language code tuple
10124
10125         * SpellBase.h:
10126         * pspell.h:
10127         * pspell.C:
10128         * ispell.h:
10129         * ispell.C:
10130         * lyxtext.h:
10131         * text.C:
10132         * text2.C:
10133         * BufferView.h:
10134         * BufferView2.C: use WordLangTuple
10135
10136         * layout.h:
10137         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10138
10139 2002-08-06  John Levon  <levon@movementarian.org>
10140
10141         * lyx_main.C: fix cmdline batch handling
10142
10143 2002-08-06  André Pönitz <poenitz@gmx.net>
10144
10145         * lyxrc.C: set default for show_banner to true
10146
10147 2002-08-06  John Levon  <levon@movementarian.org>
10148
10149         * pspell.C: fix a crash, and allow new aspell to work
10150
10151 2002-08-06  John Levon  <levon@movementarian.org>
10152
10153         * lyxfunc.C:
10154         * kbmap.C: small cleanup
10155
10156         * vspace.h:
10157         * vspace.C: add const
10158
10159 2002-08-05  John Levon  <levon@movementarian.org>
10160
10161         * LyXAction.C: back to tabular-insert
10162
10163 2002-08-04  John Levon  <levon@movementarian.org>
10164
10165         * BufferView.h:
10166         * BufferView.C: cosmetic change
10167
10168         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10169
10170         * bufferlist.C:
10171         * buffer.h:
10172         * buffer.C:
10173         * lyxcb.h:
10174         * lyxcb.C:
10175         * lyxserver.C:
10176         * lyxvc.C:
10177         * vc-backend.C:
10178         * BufferView2.C: purge all "Lyx" not "LyX" strings
10179
10180         * lyxcursor.h:
10181         * lyxcursor.C: attempt to add some documentation
10182
10183         * lyxfunc.C:
10184         * commandtags.h:
10185         * LyXAction.C:
10186         * ToolbarDefaults.C:
10187         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10188           merge with LFUN_TABULAR_INSERT
10189
10190         * Makefile.am:
10191         * SpellBase.h:
10192         * ispell.h:
10193         * ispell.C:
10194         * pspell.h:
10195         * pspell.C: split up i/pspell implementations into separate
10196           files, many cleanups
10197
10198         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10199
10200         * text2.C: some cleanup
10201
10202         * lyxfunc.C: don't check for isp_command == "none" any more, it
10203           didn't make any sense
10204
10205 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10206
10207         * counters.[Ch]
10208         * text2.C
10209         * paragraph.[Ch]
10210         * makefile.am: move counters functionality over
10211         from text2.C/paragraph.[Ch] to counters.[Ch], and
10212         make proper C++.
10213 2002-08-02  John Levon  <levon@movementarian.org>
10214
10215         * buffer.C: s/lyxconvert/lyx2lyx/
10216
10217 2002-08-02  Angus Leeming  <leeming@lyx.org>
10218
10219         * lyxlex.C: revert John's change as it breaks reading of the user
10220         preamble.
10221
10222 2002-08-02  Angus Leeming  <leeming@lyx.org>
10223
10224         * importer.C (Import):
10225         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10226         changes due to LyXView::view() now returning a boost::shared_ptr.
10227
10228 2002-08-02  John Levon  <levon@movementarian.org>
10229
10230         * lyxlex.C: small cleanup
10231
10232 2002-08-02  John Levon  <levon@movementarian.org>
10233
10234         * text2.C (status): small cleanup, no logic change
10235
10236 2002-08-01  John Levon  <levon@movementarian.org>
10237
10238         * buffer.h:
10239         * buffer.C (writeFile): don't output alerts, caller
10240           handles this
10241
10242         * bufferlist.C:
10243         * lyx_cb.C: from above
10244
10245         * lyxfunc.C: allow to open non-existent files
10246
10247 2002-07-31  John Levon  <levon@movementarian.org>
10248
10249         * lyxserver.C: don't let incidental errors get
10250           in the way (errno)
10251
10252 2002-07-30  John Levon  <levon@movementarian.org>
10253
10254         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10255
10256 2002-07-30  John Levon  <levon@movementarian.org>
10257
10258         * lyxserver.h:
10259         * lyxserver.C: remove I/O callback too
10260
10261 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10264         log.
10265
10266 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10267
10268         * many files: strip,frontStrip -> trim,ltrim,rtrim
10269
10270 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10271
10272         * PrinterParams.h: remove extern containsOnly, and include
10273         support/lstrings.h instead.
10274
10275         * LaTeX.C (scanAuxFile): modify because of strip changes
10276         (deplog): ditto
10277         * buffer.C (makeLaTeXFile): ditto
10278         * bufferparams.C (writeFile): ditt
10279         * lyxfont.C (stateText): ditto
10280         * lyxserver.C (read_ready): ditto
10281         * vc-backend.C (scanMaster): ditto
10282
10283         * BufferView_pimpl.h: ws changes
10284
10285         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10286
10287 2002-07-26  André Pönitz <poenitz@gmx.net>
10288
10289         * kb_sequence.C: remove unnedred usings
10290
10291 2002-07-26  Juergen Vigna  <jug@sad.it>
10292
10293         * lyxfind.C (LyXReplace): we have to check better if the returned
10294         text is not of theLockingInset()->getLockingInset().
10295
10296 2002-07-25  Juergen Vigna  <jug@sad.it>
10297
10298         * lyxfind.C (LyXReplace): don't replace if we don't get the
10299         right LyXText.
10300
10301         * undo_funcs.C (createUndo): remove debugging code.
10302
10303 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10304
10305         * buffer.C (parseSingleLyXformat2Token): Use default placement
10306         when reading old floats.
10307
10308         * FloatList.C (FloatList): Change the default placement of figure
10309         and tables to "tbp".
10310
10311 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10312
10313         * MenuBackend.C: using std::max
10314
10315 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10316
10317         * MenuBackend.C (expandToc):
10318         (expandToc2): code moved from xforms menu frontend. It is now
10319         generic and TOCs are transparent to menu frontends.
10320
10321 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10322
10323         * toc.C (getTocList): protect against buf=0
10324
10325         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10326         Menu as first parameter. Now, this calls itself recursively to
10327         expand a whole tree (this will be useful for TOC handling)
10328         (expandFloatInsert): remove 'wide' version of floats
10329
10330         * MenuBackend.h (submenuname): returns the name of the submenu.
10331         (submenu): returns the submenu itself, provided it has been
10332         created by MenuBackend::expand
10333
10334 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10337         insets which have noFontChange == true. (bug #172)
10338
10339 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10340
10341         * BufferView_pimpl.C: add connection objects and use them...
10342         (Pimpl): here.
10343
10344 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * MenuBackend.C (expandLastfiles):
10347         (expandDocuments):
10348         (expandFormats):
10349         (expandFloatListInsert):
10350         (expandFloatInsert):
10351         (expand): split expand in parts
10352
10353 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * lyx_gui.C: use lyx_gui::exit()
10356
10357 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * LyXAction.C: show the failing pseudo action
10360
10361 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10362
10363         * buffer.C (readFile): Run the lyxconvert script in order to read
10364         old files.
10365
10366 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10367
10368         * LyXAction.C:
10369         * commandtags.h:
10370         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10371
10372 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * LyXAction.C:
10375         * commandtags.h:
10376         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10377
10378 2002-07-22  Herbert Voss  <voss@lyx.org>
10379
10380         * lengthcommon.C:
10381         * lyxlength.[Ch]: add support for the vertical lengths
10382
10383 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * toc.[Ch]: std:: fixes
10386
10387 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * lyxrc.C: do not include lyx_main.h
10390
10391         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10392         for layouts
10393
10394         * lyxrc.C:
10395         * encoding.C:
10396         * bufferlist.C:
10397         * BufferView2.C: include "lyxlex.h"
10398
10399         * tabular.h:
10400         * bufferparams.h: do not #include "lyxlex.h"
10401
10402         * lyxtextclasslist.C (Add): remove method
10403         (classlist): renamed to classlist_
10404
10405         * paragraph_pimpl.C:
10406         * paragraph.C:
10407         * text2.C:
10408         * CutAndPaste.C:
10409         * bufferview_funcs.C:
10410         * bufferlist.C:
10411         * text.C:
10412         * LaTeXFeatures.C:
10413         * buffer.C:
10414         * toc.C (getTocList): use BufferParams::getLyXTextClass
10415
10416         * toc.C (getTocList): use InsetFloat::addToToc
10417
10418         * toc.[Ch]: new files, containing helper functions to handle table
10419         of contents
10420
10421         * lyxfunc.C (dispatch): no need to remove spaces around command
10422         given as a string
10423         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10424         first command of the sequence; it is not very clever, but I do not
10425         have a better idea, actually
10426
10427         * LyXAction.C (LookupFunc): make sure to remove space at the
10428         beginning and end of the command
10429
10430 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * MenuBackend.C (getMenubar): new method: return the menubar of
10433         this menu set
10434         (read): treat differently reading of menu and menubar (in
10435         particular, the menubar has no name now)
10436         (Menu::menubar): remove
10437
10438         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10439         saving is finished
10440
10441 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10442
10443         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10444         a bibitem inset in a RTL paragraph.
10445
10446 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * paragraph_pimpl.C: constify
10449
10450         * BufferView_pimpl.C:
10451         * LaTeX.C:
10452         * lyxfunc.C: fix dispatch in a nicer way
10453
10454 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10455
10456         * lyxfunc.C (dispatch):
10457         * BufferView_pimpl.C:
10458         * BufferView_pimpl.h:
10459         * BufferView.C:
10460         * BufferView.h: rename Dispatch() to dispatch()
10461
10462         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10463
10464         * lyxlayout.C (Read): honor DependsOn tag
10465
10466         * lyxlayout.[Ch] (depends_on): new method
10467
10468         * version.C.in: update lyx_docversion
10469
10470         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10471
10472         * paragraph.C (validate): remove from here...
10473         * paragraph_pimpl.C (validate): ... and move here
10474         (isTextAt): make it const
10475
10476         * buffer.C (getLists): ws cleanup
10477
10478 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10479
10480         * language.C (read): Use iso8859-1 encoding in latex_lang
10481         (this prevents LyX from crashing when using iso10646-1 encoding).
10482
10483 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * text2.C (toggleInset): if cursor is inside an inset, close the
10486         inset and leave cursor _after_ it
10487
10488 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10489
10490         * lyxfunc.C: move minibuffer completion handling out of here
10491
10492 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * BufferView_pimpl.C:
10495         * LaTeX.C: fix dispatch calls
10496
10497 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10498
10499         * text.C (drawChars): Fix Arabic text rendering.
10500
10501 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * LyXAction.C:
10504         * commandtags.h:
10505         * lyxfunc.C: remove message-push/pop
10506
10507         * lyxserver.C:
10508         * lyxfunc.h:
10509         * lyxfunc.C: rationalise some code by removing verboseDispatch
10510           in favour of a bool argument to dispatch()
10511
10512 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10513
10514         * lyx_main.C (init): make sure to read symlinks as absolute paths
10515
10516 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * lyxfunc.h:
10519         * lyxfunc.C: no need for commandshortcut to be a member
10520
10521 2002-07-15  André Pönitz <poenitz@gmx.net>
10522
10523         * converter.C: add support for $$s (scripts from lib/scripts dir)
10524         * lyx_main.C: white space
10525
10526 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * bufferlist.C:
10529         * lyxrc.h:
10530         * lyxrc.C: remove second exit confirmation
10531
10532 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10533
10534         * BufferView.h:
10535         * BufferView.C:
10536         * BufferView2.C:
10537         * BufferView_pimpl.h:
10538         * BufferView_pimpl.C:
10539         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10540
10541 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * MenuBackend.C (expand): add numeric shortcuts to document menu
10544
10545         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10546
10547 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10548
10549         * lyxfont.C (setLyXFamily):
10550         (setLyXSeries):
10551         (setLyXShape):
10552         (setLyXSize):
10553         (setLyXMisc):
10554         (lyxRead):
10555         * debug.C (value):
10556         * buffer.C (asciiParagraph): use ascii_lowercase
10557
10558 2002-07-15  Mike Fabian  <mfabian@suse.de>
10559
10560         * lyxlex_pimpl.C (search_kw):
10561         * lyxlex.C (getLongString):
10562         * converter.h (operator<):
10563         * converter.C (operator<):
10564         * buffer.C (parseSingleLyXformat2Token):
10565         (asciiParagraph):
10566         * ToolbarDefaults.C (read):
10567         * MenuBackend.C (checkShortcuts):
10568         (read):
10569         * LColor.C (getFromGUIName):
10570         (getFromLyXName): use the compare_ascii_no_case instead of
10571         compare_no_case, because in turkish, 'i' is not the lowercase
10572         version of 'I', and thus turkish locale breaks parsing of tags.
10573
10574 2002-07-16  Angus Leeming  <leeming@lyx.org>
10575
10576         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10577         now takes a Buffer const & argument.
10578
10579 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * BufferView.C (resize): check there's a buffer to resize
10582
10583 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * lyxfunc.C: remove dead code
10586
10587         * lyxserver.h:
10588         * lyxserver.C: use lyx_guii::set_read_callback
10589
10590 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10591
10592         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10593         an inset in a RTL paragraph.
10594
10595 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * lyxfunc.C: repaint after a font size update
10598
10599 2002-07-15  André Pönitz <poenitz@gmx.net>
10600
10601         * lyxlength.C: inBP should be able to return negative values
10602
10603 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * lyxfunc.C: use lyx_gui::update_fonts()
10606
10607 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * lyxfunc.C: use lyx_gui::update_color()
10610
10611 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * bufferlist.C:
10614         * lyxfunc.h:
10615         * lyxfunc.C:
10616         * lyxrc.h:
10617         * lyxrc.C: remove file->new asks for name option, and let
10618           buffer-new take an argument
10619
10620 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * BufferView_pimpl.C: remove unneeded extra repaint()
10623
10624 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * LyXAction.C: allow command-sequence with NoBuffer
10627
10628         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10629
10630 2002-07-10  Angus Leeming  <leeming@lyx.org>
10631
10632         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10633
10634 2002-07-09  Angus Leeming  <leeming@lyx.org>
10635
10636         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10637
10638 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * lengthcommon.h: whitespace
10641
10642         * lyxfunc.C: update scrollbar after goto paragraph
10643
10644         * lyxtext.h: factor out page break drawing, and fix it so
10645           page break/added space paints as selected nicely
10646
10647 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * BufferView_pimpl.C: add FIXMEs, clean up a little
10650
10651 2002-07-09  André Pönitz <poenitz@gmx.net>
10652
10653         * lyxfont.[Ch]: support for wasy symbols
10654
10655 2002-07-08  André Pönitz <poenitz@gmx.net>
10656
10657         * BufferView_pimpl.C: apply John's patch for #93.
10658
10659 2002-07-05  Angus Leeming  <leeming@lyx.org>
10660
10661         * BufferView_pimpl.C (buffer): generate previews if desired.
10662
10663         * LColor.h: add "preview" to the color enum.
10664
10665         * LColor.C (LColor): add a corresponding entry to the items array.
10666
10667         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10668         with this buffer.
10669
10670 2002-07-05  Angus Leeming  <leeming@lyx.org>
10671
10672         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10673         The body of the code is now in the method that is passed an ostream &
10674         rather than a file name.
10675         Pass an additional only_preamble parameter, useful for the forthcoming
10676         preview stuff.
10677
10678 2002-07-03  André Pönitz <poenitz@gmx.net>
10679
10680         * lyxfunc.C: simplify getStatus() a bit for math stuff
10681
10682 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10683
10684         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10685
10686 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10687
10688         * text.C (changeRegionCase): do not change case of all the
10689         document when region ends at paragraph end (bug #461)
10690
10691 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * paragraph.C (startTeXParParams):
10694         (endTeXParParams): add \protect when necessary
10695
10696 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * BufferView_pimpl.C (workAreaExpose): remove warning
10699
10700 2002-06-27  Angus Leeming  <leeming@lyx.org>
10701
10702         * Makefile.am: add lyxlayout_ptr_fwd.h.
10703
10704 2002-06-26  André Pönitz <poenitz@gmx.net>
10705
10706         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10707
10708 2002-06-25  Angus Leeming  <leeming@lyx.org>
10709
10710         * lyxfunc.C (dispatch): Comment out the call to
10711         grfx::GCache::changeDisplay. The method no longer exists now that the
10712         pixmap generation part of the graphics loader has been moved into
10713         InsetGraphics.
10714
10715 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10716
10717         * text2.C: layout as layout
10718
10719         * text.C: layout as layout
10720
10721         * tabular.C (OldFormatRead): layout as layout
10722
10723         * paragraph_pimpl.C (TeXDeeper): layout as layout
10724         (realizeFont): layout as layout
10725
10726         * paragraph.C (writeFile): layout as layout
10727         (validate): layout as layout
10728         (getFont): layout as layout
10729         (getLabelFont): layout as layout
10730         (getLayoutFont): layout as layout
10731         (breakParagraph): layout as layout
10732         (stripLeadingSpaces): layout as layout
10733         (getEndLabel): layout as layout
10734         (getMaxDepthAfter): layout as layout
10735         (applyLayout): layout as layout
10736         (TeXOnePar): layout as layout
10737         (simpleTeXOnePar): layout as layout
10738         (TeXEnvironment): layout as layout
10739         (layout): layout as layout
10740         (layout): layout as layout
10741
10742         * lyxtextclass.C (compare_name): new functor to work with
10743         shared_ptr, layout as layout
10744         (Read): layout as layout
10745         (hasLayout): layout as layout
10746         (operator): layout as layout
10747         (delete_layout): layout as layout
10748         (defaultLayout): layout as layout
10749
10750         * lyxlayout_ptr_fwd.h: new file
10751
10752         * lyxlayout.C (Read): layout as layout
10753
10754         * lyx_cb.C (MenuInsertLabel): layout as layout
10755
10756         * bufferlist.C (newFile): layout as layout
10757
10758         * buffer.C (readLyXformat2): layout as layout
10759         (parseSingleLyXformat2Token): layout as layout
10760         (insertStringAsLines): layout as layout
10761         (asciiParagraph): layout as layout
10762         (latexParagraphs): layout as layout
10763         (makeLinuxDocFile): layout as layout
10764         (simpleLinuxDocOnePar): layout as layout
10765         (makeDocBookFile): layout as layout
10766         (simpleDocBookOnePar): layout as layout
10767         (getLists): layout as layout
10768
10769         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10770
10771         * CutAndPaste.C (cutSelection): layout as layout
10772         (pasteSelection): layout as layout
10773         (SwitchLayoutsBetweenClasses): layout as layout
10774
10775         * BufferView_pimpl.C (Dispatch): layout as layout
10776         (smartQuote): layout as layout
10777
10778         * BufferView2.C (unlockInset): layout as layout
10779
10780 2002-06-24  André Pönitz <poenitz@gmx.net>
10781
10782         * lyxfunc.C: fix #487
10783
10784 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * lyxrc.h:
10787         * lyxrc.C:
10788         * lyxfunc.C: remove display_shortcuts, show_banner
10789
10790 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * Buffer_pimpl.C: oops, update on resize
10793
10794 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10795
10796         * buffer.C:
10797         * converter.C:
10798         * exporter.C:
10799         * lyxfunc.C:
10800         * BufferView.h:
10801         * BufferView.C: use repaint()
10802
10803         * BufferView_pimpl.h:
10804         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10805           as it's a clearer description. Remove superfluous
10806           redraws.
10807
10808 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * text.C: fix bug 488. Not ideal, but getting
10811           getWord() to work properly for the insets that
10812           matter is more difficult ...
10813
10814 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * BufferView_pimpl.C:
10817         * LyXAction.C:
10818         * commandtags.h:
10819         * lyxfunc.C: remove the six million index lyxfuncs to just
10820           one, and DTRT (bug 458)
10821
10822 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * BufferView.h:
10825         * BufferView.C:
10826         * BufferView_pimpl.h:
10827         * BufferView_pimpl.C: clean up resize() stuff,
10828           and unnecessary updateScreen()s
10829
10830 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10831
10832         * BufferView.h:
10833         * BufferView.C:
10834         * BufferView_pimpl.h:
10835         * BufferView_pimpl.C:
10836         * lyxfind.h:
10837         * lyxfind.C:
10838         * minibuffer.C: remove focus management of workarea,
10839           not needed. Use screen's greyOut()
10840
10841 2002-06-17  Herbert Voss  <voss@lyx.org>
10842
10843         * converter.C: (convert) do not post a message, when converting
10844         fails, let the calling function decide what to do in this case
10845
10846 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10847
10848         * lyxfunc.C: tidy up a little
10849
10850 2002-06-16    <alstrup@diku.dk>
10851
10852         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10853         Got rid of FORMS_H_LOCATION include. Now we are
10854         GUII.
10855
10856 2002-06-15  LyX Development team  <lyx@rilke>
10857
10858         * buffer.[Ch] (sgmlOpenTag):
10859         (sgmlCloseTag): Added support for avoiding pernicious mixed
10860         content. Return number of lines written.
10861
10862         (makeLinuxDocFile):
10863         (makeDocBookFile): Fixed calls to sgml*Tag.
10864         Simple white space clean.
10865
10866         (simpleDocBookOnePar): Simple white space clean.
10867
10868         * tabular.[Ch] (docBook): Renamed to docbook and got another
10869         argument to related with the pernicious mixed content.
10870
10871         (docbookRow): Fixed calls for docbook inset method.
10872
10873 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10874
10875         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10876         so it's X11 independent.
10877
10878         * kb*.[Ch]: ditto.
10879
10880         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10881
10882 2002-06-15  Lyx Development team  <lyx@electronia>
10883
10884         * intl.h: Renamed getTrans to getTransManager.
10885
10886 2002-06-14  Angus Leeming  <leeming@lyx.org>
10887
10888         * Makefile.am: nuke forgotten stl_string_fwd.h.
10889
10890 2002-06-12  Angus Leeming  <leeming@lyx.org>
10891
10892         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10893
10894 2002-06-13  Angus Leeming  <leeming@lyx.org>
10895
10896         * LaTeX.C:
10897         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10898
10899 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10900
10901         * kbmap.C (getiso): add support for cyrillic and greek
10902
10903 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * BufferView.h:
10906         * BufferView.C:
10907         * BufferView_pimpl.h:
10908         * BufferView_pimpl.C: move bogus scrolling logic
10909           to xforms
10910
10911 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * lyxfunc.C:
10914         * BufferView_pimpl.C: view->resize() change
10915
10916 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10917
10918         * BufferView_pimpl.C: topCursorVisible
10919           prototype change
10920
10921 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * Makefile.am:
10924         * lyx_gui.h:
10925         * lyx_gui.C: move to frontends/
10926
10927         * main.C:
10928         * lyx_main.h:
10929         * lyx_main.C: changes from above
10930
10931 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * intl.C:
10934         * intl.h:
10935         * kbmap.C:
10936         * kbsequence.C:
10937         * lyx_cb.C:
10938         * lyx_main.C: minor tidy
10939
10940 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10941
10942         * BufferView_pimpl.h:
10943         * BufferView_pimpl.C:
10944         * BufferView.h:
10945         * BufferView.C: make painter() const,
10946           remove dead code
10947
10948         * BufferView2.C: use screen() accessor
10949
10950         * lyx_main.h:
10951         * lyx_main.C: some minor cleanup
10952
10953 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * BufferView_pimpl.h:
10956         * BufferView_pimpl.C: remove enter/leaveView,
10957           use workHeight()
10958
10959 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * BufferView.h:
10962         * BufferView.C:
10963         * BufferView2.C:
10964         * BufferView_pimpl.h:
10965         * BufferView_pimpl.C: only construct screen once,
10966           rename
10967
10968         * lyxrc.C: remove pointless comment
10969
10970 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10971
10972         * BufferView.h:
10973         * BufferView.C: remove active() and belowMouse()
10974
10975         * BufferView_pimpl.h:
10976         * BufferView_pimpl.C: use workarea() not workarea_,
10977           and make it use a scoped_ptr instead
10978
10979 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10980
10981         * lyx_gui.C: add debug message on BadWindow
10982
10983 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * sp_spell.C: fdopen is not part of the C++ standard.
10986
10987         * paragraph.C (InsetIterator): use >= instead of ==
10988
10989 2002-06-07  Angus Leeming  <leeming@lyx.org>
10990
10991         Fixes needed to compile with Compaq cxx 6.5.
10992         * BufferView_pimpl.C:
10993         * DepTable.C:
10994         * buffer.C:
10995         * converter.C:
10996         * encoding.C:
10997         * lyx_gui.C:
10998         * lyx_main.C:
10999         * lyxtextclasslist.C:
11000         * minibuffer.C:
11001         * sp_spell.C:
11002         * tabular_funcs.C:
11003         * vc-backend.C:
11004         all c-library variables have been moved into namespace std. Wrap
11005         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11006
11007         * lyxlength.C:
11008         * tabular-old.C:
11009         * tabular.C:
11010         Add a using std::abs declaration.
11011
11012         * kbmap.h (modifier_pair):
11013         * paragraph.h (InsetTable, InsetList):
11014         * lyxfont.h (FontBits):
11015         type definition made public.
11016
11017         * bufferlist.C (emergencyWriteAll): the compiler complains that
11018         there is more than one possible lyx::class_fun template to choose from.
11019         I re-named the void specialisation as lyx::void_class_fun.
11020
11021         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11022
11023         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11024         the compiler is is unable to find tostr in write_attribute.
11025
11026 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11027
11028         * buffer.C (sgmlError): hide #warning
11029
11030 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * xtl/*: get rid of xtl, which is not in use anyway
11033
11034         * LyXAction.C (init):
11035         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11036         were unimplemented xtl experimentation
11037
11038 2002-06-04  André Pönitz <poenitz@gmx.net>
11039
11040         * lyxfunc.C: disable array operation on simple formulae
11041
11042 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11043
11044         * converter.C: constify a bit
11045
11046 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * lyx_gui.C: check xforms version correctly
11049
11050 2002-04-30  Herbert Voss  <voss@lyx.org>
11051
11052         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11053         "keep" option
11054
11055 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11058           attempt to register it with a VCS)
11059
11060 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11061
11062         * lyx_main.C (init): honor variables LYX_DIR_13x and
11063         LYX_USERDIR_13x
11064
11065 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11066
11067         * buffer.h:
11068         * buffer.C:
11069         * lyx_main.C: fix a crash on bad command line,
11070           and give a useful exit status on error
11071
11072         * lyxfunc.C (doImport): allow -i lyx to work
11073
11074 2002-03-30  André Pönitz <poenitz@gmx.net>
11075
11076         * lyxfunc.C: mathed font changes
11077
11078 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * LaTeX.C:
11081         * importer.h:
11082         * importer.C:
11083         * lyx_sty.h:
11084         * lyx_sty.C:
11085         * lyxlex.C:
11086         * lyxrow.h:
11087         * lyxtext.h:
11088         * paragraph.h:
11089         * paragraph.C:
11090         * texrow.h:
11091         * texrow.C:
11092         * text.C:
11093         * trans_mgr.h: srcdocs, and some minor cleanups
11094
11095 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11096
11097         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11098         call getFont all the time)
11099
11100 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * switch from SigC signals to boost::signals
11103
11104 2002-05-29  André Pönitz <poenitz@gmx.net>
11105
11106         * paragraph_pimpl.C (getChar): don't call size() too often...
11107
11108 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11109
11110         * paragraph_pimpl.C (insertChar): do not try to update tables when
11111         appending (pos == size())
11112
11113         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11114         in order to reduce drastically the number of comparisons needed to
11115         parse a large document
11116
11117 2002-05-29  André Pönitz <poenitz@gmx.net>
11118
11119         * text.C:
11120         * text2.C:
11121         * lyxtextclass.C:
11122         * sp_pspell.h:
11123         * textclasslist.[Ch]:
11124         * sp_ispell.h: whitespace change
11125
11126 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11127
11128         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11129         lyxaction directly now.
11130
11131 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * trans.C:
11134         * lyxfont.C:
11135         * lyxvc.C: remove unused headers
11136
11137 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * Makefile.am:
11140         * buffer.h:
11141         * undostack.h:
11142         * undostack.C:
11143         * undo_funcs.h:
11144         * undo_funcs.C: some cleanups. Use shared_ptr
11145           and a template for the undo stacks.
11146
11147 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * BufferView_pimpl.h:
11150         * BufferView_pimpl.C:
11151         * kbmap.h:
11152         * kbmap.C:
11153         * kbsequence.h:
11154         * kbsequence.C:
11155         * lyxfunc.h:
11156         * lyxfunc.C:
11157         * text2.C: use key_state/mouse_state
11158
11159 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11160
11161         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11162         and LSubstring
11163
11164         * chset.C: change include order
11165         (loadFile): use boost regex and get rid of LRegex and LSubstring
11166
11167         * Makefile.am (BOOST_LIBS): new variable
11168         (lyx_LDADD): use it
11169
11170         * LaTeX.C: change include order.
11171         (scanAuxFile): use boost regex and get rid of LRegex and
11172         LSubstring
11173         (deplog): ditto
11174
11175 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * ColorHandler.h:
11178         * ColorHandler.C:
11179         * FontInfo.h:
11180         * FontInfo.C: moved to frontends/xforms/
11181
11182         * FontLoader.h:
11183         * FontLoader.C: moved into frontends for GUIIzation
11184
11185         * Makefile.am:
11186         * lyx_gui.C:
11187         * lyxfont.C:
11188         * lyxfunc.C: changes from above
11189
11190 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * LColor.C: remove spurious X include
11193
11194         * BufferView_pimpl.C:
11195         * Makefile.am:
11196         * font.h:
11197         * font.C:
11198         * text.C:
11199         * text2.C: move font metrics to frontends/
11200
11201 2002-05-24  Juergen Vigna  <jug@sad.it>
11202
11203         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11204         setting the undo_cursor.
11205
11206         * ParagraphParameters.h: include local includes first.
11207
11208 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * BufferView_pimpl.C:
11211         * BufferView_pimpl.h:
11212         * Makefile.am:
11213         * WorkArea.h:
11214         * WorkArea.C:
11215         * screen.C: move WorkArea into frontends/
11216
11217         * lyxscreen.h:
11218         * screen.C:
11219         * text.C:
11220         * BufferView.C:
11221         * BufferView2.C: move LyXScreen into frontends/
11222
11223         * lyxlookup.h:
11224         * lyxlookup.C:
11225         * lyx_gui.C: move lyxlookup into frontends/xforms/
11226
11227 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * BufferView2.C:
11230         * BufferView_pimpl.C:
11231         * FontLoader.C:
11232         * LyXView.h:
11233         * LyXView.C:
11234         * Makefile.am:
11235         * WorkArea.C:
11236         * XFormsView.h:
11237         * XFormsView.C:
11238         * buffer.C:
11239         * bufferlist.C:
11240         * bufferview_funcs.C:
11241         * converter.C:
11242         * importer.C:
11243         * lyx_cb.C:
11244         * lyx_gui.C:
11245         * lyx_main.C:
11246         * lyx_find.C:
11247         * lyxfunc.C:
11248         * lyxvc.C:
11249         * minibuffer.C:
11250         * text.C:
11251         * text2.C:
11252         * trans.C:
11253         * vc-backend.C: move LyX/XFormsView into frontends/
11254
11255 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * Makefile.am:
11258         * PainterBase.C:
11259         * PainterBase.h:
11260         * Painter.C:
11261         * Painter.h:
11262         * WorkArea.C:
11263         * WorkArea.h:
11264         * screen.C:
11265         * tabular.C:
11266         * text.C:
11267         * text2.C: move Painter to frontends/
11268
11269 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * buffer.C: comment out some some code that depend upon lyx_format
11272         < 220
11273
11274         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11275         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11276
11277         * buffer.h (NO_COMPABILITY): turn off compability
11278
11279         * ColorHandler.C: include scoped_array.hpp
11280
11281         * font.C: Use more specific smart_ptr header.
11282         * Painter.C: ditto
11283         * gettext.C: ditto
11284         * ShareContainer.h: ditto
11285         * lyx_main.h: ditto
11286         * kbmap.h: ditto
11287         * FontInfo.h: ditto
11288         * BufferView_pimpl.h: ditto
11289         * ColorHandler.h: ditto
11290
11291         * kbmap.C (defkey): change call to shared_ptr::reset
11292
11293 2002-05-21  Juergen Vigna  <jug@sad.it>
11294
11295         * buffer.C (insertErtContents): fix to insert ert asis if it is
11296         non empty. Skip it completely if it contains only whitespaces.
11297
11298 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * BufferView_pimpl.C:
11301         * BufferView2.C: clear selection on paste (bug 393)
11302
11303 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * DepTable.C: include ctime
11306
11307 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11310
11311 2002-05-14  Juergen Vigna  <jug@sad.it>
11312
11313         * text.C (breakParagraph): fixed function to honor the keepempty
11314         layout in the right maner and also to permit the right breaking
11315         algorithm on empty or non empyt keepempty paragraphs.
11316
11317         * paragraph.C (breakParagraph): we have to check also if the par
11318         is really empty (!size()) for isempty otherwise we do the wrong
11319         paragraph break.
11320
11321 2002-05-10  Juergen Vigna  <jug@sad.it>
11322
11323         * buffer.[Ch] : The following are only changes to the ert
11324         compatibility read reading old LaTeX layout and font stuff and
11325         convert it to ERTInsets.
11326
11327         * buffer.h: added isErtInset().
11328
11329         * buffer.C (struct ErtComp): add a fromlayout bool to check
11330         if we're inside a LaTeX layout.
11331         (isErtInset): new helper function.
11332         (insertErtContents): look for other ert insets before this one
11333         and insert the contents there, so that we don't have subsequent
11334         ERT insets with nothing between them. This way we create only one
11335         inset with multiple paragraphs. Also check if we don't insert only
11336         spaces ' ' as they are ignored anyway afterwards in the .tex file
11337         so if we have only spaces we will ignore this latex part in the
11338         new file.
11339         (parseSingleLyXformat2Token \\layout): better compatibility when
11340         reading layout-latex stuff.
11341         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11342         language tag.
11343         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11344         stuff after reading the inset only get the information back from
11345         the stack.
11346
11347 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11348
11349         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11350
11351         * LaTeXFeatures.C (getBabelOptions): New method.
11352
11353 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11354
11355         * BufferView_pimpl.C (Dispatch): work around missing argument for
11356         'layout'
11357
11358 2002-05-08  Juergen Vigna  <jug@sad.it>
11359
11360         * text.C (leftMargin): handle paragraph leftindent.
11361
11362         * paragraph.C (writeFile): write the new \\leftindent tag.
11363         (validate): handle leftindent code.
11364         (TeXEnvironment): handle paragraphleftindent code again.
11365
11366         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11367
11368         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11369         for paragrap_extra indent code and new token \\leftindent.
11370         (latexParagraphs): handle the leftindent as environment.
11371
11372         * ParameterStruct.h: added leftindent support.
11373
11374         * ParagraphParameters.C (leftIndent): added support functions for
11375         the paragraph left indent.
11376
11377         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11378         more appropriate.
11379
11380 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11381
11382         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11383         inside insetERT.
11384
11385         * text.C (computeBidiTables): No bidi in insetERT.
11386
11387         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11388         in RTL documents.
11389
11390 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * version.C.in: pre 5
11393
11394 2002-05-02  José Matos  <jamatos@fep.up.pt>
11395         * buffer.C (makeDocBookFile): white space changes, add newline to
11396         command styles.
11397         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11398
11399         * tabular.C (docBook): fix typo.
11400
11401 2002-05-03  Juergen Vigna  <jug@sad.it>
11402
11403         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11404         change in LyXText as we can not be sure it was not freed.
11405         (drawOneRow): remove unused code.
11406
11407         * text.C (drawInset): redo the calculation of the need_break_row as
11408         it could have a row which was already freed.
11409         (draw): look at the return value of drawInset and return false if
11410         it also returned false.
11411         (paintRowText): look at the return value of draw and return false if
11412         it also returned false.
11413
11414         * lyxtext.h: added bool return type to drawInset() and draw() so that
11415         if we have a change in the row so that the rowbreak has to be redone
11416         we abort drawing as it will be called again.
11417
11418 2002-05-02  Juergen Vigna  <jug@sad.it>
11419
11420         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11421         a change in the maintext also if we're inside an inset.
11422         (Dispatch): set the cursor again after a break line and after the
11423         screen has been updated as it could be we're in a different row.
11424
11425         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11426         to set the cursor behind the pargraph with > size().
11427         (setCursor): check also for the same paragraph when checking where
11428         to put the cursor if we have a NFR inset.
11429
11430         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11431         parts of layout read further up as it still was in the wrong
11432         position.
11433
11434 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11435
11436         * screen.C (drawFromTo): change sine fullRebreak always return
11437         true.
11438
11439         * buffer.C (parseSingleLyXformat2Token): reindent some
11440
11441         * BufferView_pimpl.C (update): change since fullRebreak always
11442         return true.
11443         (Dispatch): git rid of the last hardcoded "Standard"s.
11444
11445 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * text2.[Ch] (fullRebreak): make it return void now that we always
11448         returned true.
11449
11450 2002-04-30  Juergen Vigna  <jug@sad.it>
11451
11452         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11453         ert compatibility check for "latex" layout.
11454
11455 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11456
11457         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11458         minipages: use col% instead of p%, and also use the current font.
11459         (makeLaTeXFile): Fix use babel condition.
11460         (parseSingleLyXformat2Token): Correct font when reading old floats.
11461
11462 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11463
11464         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11465         inserting list of floats.
11466
11467 2002-04-25  Herbert Voss  <voss@lyx.org>
11468
11469         * MenuBackend.C (expand): don't add the graphics extensions to the
11470         export menu
11471
11472 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11473
11474         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11475         non-existing layout, do not complain if it was the default layout
11476         of the original class (bug #342)
11477
11478 2002-04-24  Juergen Vigna  <jug@sad.it>
11479
11480         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11481         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11482
11483 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11484
11485         * buffer.C (getBibkeyList): If using \bibliography, return the
11486         option field with the reference itself. Enables us to provide natbib
11487         support when using \bibliography.
11488
11489 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11490
11491         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11492
11493         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11494         natbib is provided by the LaTeX class.
11495
11496 2002-04-23  Juergen Vigna  <jug@sad.it>
11497
11498         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11499         Wakeup functions.
11500
11501         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11502
11503 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11506
11507         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11508         ensuremath around textordmasculine, textordfeminine and
11509         textdegree.
11510
11511 2002-04-19  Juergen Vigna  <jug@sad.it>
11512
11513         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11514         reinitializing the buffer otherwise row-dimensions may be wrong.
11515         (update): reset also the selection cursors if they do exits otherwise
11516         their x/y positions may be wrong.
11517
11518         * text2.C (cursorDown): don't enter the inset if we came from a row
11519         above and are one row over the inset.
11520
11521         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11522         really leaving an inset.
11523
11524 2002-04-18  Juergen Vigna  <jug@sad.it>
11525
11526         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11527         of the selected paragraph does not have the selected layout also if
11528         the last one had!
11529
11530         * text2.C (setLayout): fixed bug which did not change last selected
11531         paragraph.
11532
11533         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11534         changed the read and substituted \\end_float with \\end_inset!
11535
11536         * BufferView_pimpl.C (cursorPrevious):
11537         (cursorNext): fixed to make it work with rows heigher than the work
11538         area without moving the cursor only the draw of the row.
11539         (workAreaMotionNotify): fix jumping over high rows.
11540
11541 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11544         Ressler.
11545
11546 2002-04-16  Juergen Vigna  <jug@sad.it>
11547
11548         * text2.C (setCursor): set also the irow().
11549         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11550         (cursorUp):
11551         (cursorDown): support for locking an inset if the x_fix value goes
11552         inside it. That way I can transverse insets too with cursor up/down.
11553
11554         * lyxrow.h: added irow helper function same as other (i) functions.
11555
11556         * BufferView_pimpl.C (cursorPrevious):
11557         (cursorNext): fixed for insets!
11558
11559 2002-04-15  Juergen Vigna  <jug@sad.it>
11560
11561         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11562         position otherwise it is wrong in some cases.
11563
11564         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11565         inside the inset before the call.
11566
11567 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11568
11569         * buffer.[Ch] (getBibkeyList): make it const.
11570
11571 2002-04-12  Juergen Vigna  <jug@sad.it>
11572
11573         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11574
11575         * text2.C (getCursorX): new helper function
11576         (setCursor): compute also ix_
11577         (setCursorFromCoordinates): set also ix.
11578
11579         * lyxcursor.h: added ix_ and helper functions.
11580
11581         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11582
11583         * buffer.C (insertStringAsLines): dont break paragraph if the this
11584         paragraph is inside an inset which does not permit it!
11585
11586         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11587         also with no chars on this paragraph.
11588         (paintRowText): only paint stuff if it's inside the workarea!
11589
11590         * paragraph.C (breakParagraph): honor keepempty flag and break the
11591         paragraph always below not above.
11592
11593         * BufferView2.C (unlockInset): update the paragraph layout on inset
11594         unlock as we changed paragraph in such a case.
11595
11596         * lyxfind.C (LyXFind): clear the former selection if not found!
11597
11598         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11599         again called in insertChar().
11600
11601         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11602         an inset which uses the whole row!
11603         (rightMargin): ditto.
11604         (insertChar): force a rebreak if we inserted an inset!
11605
11606 2002-03-28  Herbert Voss  <voss@lyx.org>
11607
11608         * lyxlength.[Ch]: add inBP() to get the right PS-point
11609         units (BigPoint). With inPixels we have rounding errors
11610
11611 2002-04-11  Juergen Vigna  <jug@sad.it>
11612
11613         * text2.C (setCursorFromCoordinates): set iy to the right value.
11614         (setCursor): add check if row->previous exists!
11615
11616         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11617         an old float_type as this was the case in the old code!
11618
11619         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11620
11621         * BufferView2.C (showLockedInsetCursor): use iy
11622         (fitLockedInsetCursor): ditto
11623
11624         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11625         locked insets as there we have the right value now.
11626
11627         * lyxcursor.C: added iy_ variable and iy functions to set to the
11628         baseline of cursor-y of the locked inset.
11629
11630         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11631         (setCursor): fixed for insets which need a full row.
11632
11633         * text.C (rowLastPrintable): don't ignore the last space when before
11634         an inset which needs a full row.
11635         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11636         as last character of a row when before a inset which needs a full row.
11637
11638 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * version.C.in: update date
11641
11642         * text2.C (fullRebreak): try to always return true and see what
11643         happens...
11644
11645 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11646
11647         * MenuBackend.C (expand): use Floating::listName
11648
11649         * FloatList.C (FloatList): add listName argument to the built-in
11650         floats
11651
11652         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11653         text associated with the float.
11654
11655 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11658
11659 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11660
11661         * ShareContainer.h: add a couple of missing typenames.
11662
11663 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11664
11665         * lyxrc.C (getDescription): use _() correctly rather than N_().
11666
11667 2002-03-28  Herbert Voss  <voss@lyx.org>
11668
11669         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11670         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11671
11672 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673
11674         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11675         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11676
11677 2002-03-29  Juergen Vigna  <jug@sad.it>
11678
11679         * lyxfunc.C (dispatch): add a missing fitCursor call.
11680
11681         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11682         it was scrolled by a cursor move, so return the bool status.
11683
11684         * BufferView.C (fitCursor): return the bool flag also to the outside
11685         world as this is needed.
11686
11687         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11688
11689         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11690         call the edit() as it is not needed (and wrong) IMO.
11691         (workAreaButtonPress): set the screen_first variable before evt.
11692         unlock the inset as this may change screen_first and then we have
11693         a wrong y position for the click!
11694
11695 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11696
11697         * MenuBackend.C (expand): another translation that I missed
11698
11699 2002-03-28  Juergen Vigna  <jug@sad.it>
11700
11701         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11702
11703         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11704
11705 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11706
11707         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11708
11709         * MenuBackend.C (expand): fix export/view/update when there is no
11710         document open.
11711
11712 2002-03-27  Herbert Voss  <voss@lyx.org>
11713
11714         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11715         and text%
11716
11717 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * bufferview_funcs.C (currentState): only show paragraph number
11720         for is DEVEL_VERSION is set.
11721
11722         * lyxfunc.C (dispatch): put warning in INFO channel
11723
11724         * MenuBackend.C (expand): translate the name of floats
11725
11726         * FloatList.C (FloatList): mark the float names for translation
11727
11728         * converter.C (convert): use LibScriptSearch
11729
11730 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11731
11732         * MenuBackend.C (defaults): fix default menu (we might as well get
11733         rid of it...)
11734
11735 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11736
11737         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11738         directory.
11739
11740 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11741
11742         * lyxvc.C: reorder includes.
11743
11744 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11747           properly
11748
11749 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11750
11751         * CutAndPaste.C: change layouts earlier on paste
11752           to avoid crashing when calling getFont()
11753
11754 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11755
11756         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11757         irritating #error.
11758
11759 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11760
11761         * WorkArea.C: remove 'Pending' debug message.
11762
11763         * most files: ws cleanup
11764
11765         * buffer.[Ch]: ws changes
11766
11767         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11768
11769 2002-03-21  Juergen Vigna  <jug@sad.it>
11770
11771         * tabular.C (SetMultiColumn): collapse also the contents of the
11772         cells and set the last border right. Added a Buffer const * param.
11773
11774 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11777         linking or not.
11778
11779 2002-03-19  Juergen Vigna  <jug@sad.it>
11780
11781         * text2.C (clearSelection): reset also xsel_cache.
11782
11783         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11784         where it needs to be called (John tells us to do so too :)
11785         (selectionLost): reset sel_cache.
11786
11787         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11788
11789 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * text2.C (setCursorIntern): put debuging code in INSETS channel
11792
11793 2002-03-19  André Pönitz <poenitz@gmx.net>
11794
11795         * lyxfunc.C: tiny whitespace change
11796
11797 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * ToolbarDefaults.C (init):
11800         * LyXAction.C (init):
11801         * commandtags.h:
11802         * BufferView_pimpl.C (Dispatch):
11803         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11804
11805 2002-03-19  Allan Rae  <rae@lyx.org>
11806
11807         * exporter.C (Export): removeAutoInsets before doing anything else.
11808         While I've just introduced a dependency on BufferView this really is
11809         the best place to clean the buffer otherwise you need to cleanup in
11810         a dozen places before calling export or cleanup in a dozen functions
11811         that export calls.
11812
11813         * converter.C (runLaTeX):
11814         (scanLog): Better handling of removeAutoInsets and screen updates.
11815
11816         * lyxfunc.C (dispatch): small whitespace changes
11817
11818 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11819
11820         * WorkArea.C (C_WorkAreaEvent): return a value.
11821         (event_cb): return 1 if we handled the event, 0 otherwise.
11822
11823         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11824
11825 2002-03-18  Juergen Vigna  <jug@sad.it>
11826
11827         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11828         (GetAdditionalWidth): ditto.
11829         (RightLine): ditto.
11830         (LeftLine): ditto.
11831
11832         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11833         inset if we're there actually (probably not used right now but this
11834         is the direction to go for unifying code).
11835         (paste): disable code to clear the selection.
11836
11837         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11838         inside an InsetText and move the check further up as it is in the
11839         wrong place.
11840
11841         * text2.C (pasteSelection): set a selection over the pasted text.
11842
11843 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11844
11845         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11846         and libgraphics to build on Cygwin.
11847
11848 2002-03-15  Juergen Vigna  <jug@sad.it>
11849
11850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11851         inserting an Inset into the paragraph. I know this is not the best
11852         fix but we already use current_view in CutAndPaste so we will remove
11853         all of it's using at the same time.
11854
11855         * buffer.C (sgmlError): deactivated function till it is rewritten in
11856         the right mode, now it can create problems.
11857
11858         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11859         before accessing it.
11860
11861 2002-03-14  Juergen Vigna  <jug@sad.it>
11862
11863         * undo_funcs.C (textHandleUndo): do the right thing when updating
11864         the inset after the undo/redo.
11865
11866         * text2.C (setCursor): just some testcode for #44 not ready yet.
11867
11868         * undo_funcs.C (textHandleUndo): set the next() and previous()
11869         pointers of the paragraph to 0 before deleting otherwise we have
11870         problems with the Paragraph::[destructor].
11871
11872         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11873         on a paragraph insertion.
11874
11875 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * buffer.C (asciiParagraph): use += operator for char append to
11878         string.
11879
11880         * paragraph.C (getFontSettings): compare >= not just >
11881         (highestFontInRange): ditto
11882         (setFont): ditto
11883
11884 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11885
11886         * paragraph.C: change several algorithm to be more appripriate for
11887         the problem domain. This is lookip in FontList and in the InsetList.
11888
11889 2002-03-13  André Pönitz <poenitz@gmx.net>
11890
11891         * commandtags.h:
11892         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11893
11894 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11895
11896         * commandtags.h:
11897         * LyXAction.C:
11898         * lyxfunc.C:
11899         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11900
11901 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * Painter.C (display): anon helper function, adjust code for this
11904         change.
11905         (pixmap): remove function.
11906
11907         * Painter.h: remove private display variable.
11908
11909         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11910
11911 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         * WorkArea.[Ch]: remove figinset_canvas cruft.
11914
11915 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11916
11917         * lyxtextclass.C (operator): add one item cache optimization.
11918
11919         * bufferlist.h: doxy changes
11920
11921         * bufferlist.C: ws changes
11922
11923         * DepTable.[Ch] (ext_exist): place const in the right spot.
11924
11925         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11926         call resizeInsets.
11927         (workAreaExpose): call resizeInsets when the with BufferView changes.
11928         (Dispatch): adjust for protectedBlank removal
11929         (specialChar): call updateInset if the insert went ok.
11930
11931         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11932         specialChar instead.
11933
11934         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11935
11936         * BufferView.h: doxy change
11937
11938         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11939
11940         * lyxtextclass.C (operator[]): remove non-const version
11941         (defaultLayout): remove non-const version
11942
11943 2002-03-12  Juergen Vigna  <jug@sad.it>
11944
11945         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11946         did resize the LyXText too.
11947
11948         * buffer.C (readLyXformat2): set layout information on newly allocated
11949         paragraphs.
11950
11951         * tabular.C (OldFormatRead): set layout information on the paragraph.
11952
11953 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11954
11955         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11956
11957 2002-03-11  Juergen Vigna  <jug@sad.it>
11958
11959         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11960         plainly wrong.
11961         (resizeCurrentBuffer): force also the insets to resize themselfes.
11962         (moveCursorUpdate): fixed up for InsetText.
11963
11964 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11965
11966         * commandtags.h:
11967         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11968         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11969         value of Dialogs::tooltipsEnabled().
11970         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11971
11972 2002-03-08  Juergen Vigna  <jug@sad.it>
11973
11974         * BufferView_pimpl.C (updateInset): update inset inside inset also
11975         if it isn't inside theLockingInset().
11976
11977 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * buffer.C (asciiParagraph): redo some of the word and line length
11980         handling.
11981         (getLists): look for Caption instead of caption.
11982
11983 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11984
11985         * buffer.C (Buffer): initialize niceFile to true
11986         (makeLaTeXFile):
11987         (makeLinuxDocFile):
11988         (makeDocBookFile): make sure niceFile is true on exit
11989
11990 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11991
11992         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11993
11994 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11995
11996         * LyXSendto.C: remove.
11997         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11998         * lyx_gui.C: remove now-redundant comment.
11999         * ColorHandler.h: remove forward declaration of class WorkArea.
12000         * lyxfunc.C: remove #include "WorkArea.h".
12001
12002 2002-03-07  Juergen Vigna  <jug@sad.it>
12003
12004         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12005         got moved away with the DEPM and also set the inset_owner always
12006         right which before could have been omitted.
12007
12008 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12011         wanted layout is not found.
12012
12013 2002-03-07  Juergen Vigna  <jug@sad.it>
12014
12015         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12016
12017 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12018
12019         * paragraph.C (breakParagraph): use default layout not layout of
12020         prev paragraph.
12021         (Paragraph): clear ParagraphParameters.
12022
12023 2002-03-06  Juergen Vigna  <jug@sad.it>
12024
12025         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12026         otherwise it would not be a valid lenght. Fixed a special case in
12027         the minipage compatibility read where we end the document with a
12028         minipage.
12029
12030         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12031         was set as it could be 0 for InsetTexts first entry.
12032
12033 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12034
12035         * paragraph.C (writeFile): if layout is empty write out
12036         defaultLayoutName().
12037
12038         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12039         file without named layout we set layout to defaultLayoutName().
12040
12041 2002-03-06  Juergen Vigna  <jug@sad.it>
12042
12043         * CutAndPaste.C (copySelection): set layout for new paragraph.
12044
12045         * text.C (prepareToPrint): leave ERT inset left aligned
12046         (leftMargin): don't indent paragraphs inside ERT insets
12047
12048 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12049
12050         * paragraph.C (breakParagraph): dont call clear do the work manually
12051
12052         * paragraph.[Ch] (clear): remove function
12053
12054 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12055
12056         * paragraph.C (Paragraph): dont call clear, the work has already
12057         been done.
12058
12059         * lyxtextclass.C (operator): assert if n is empty
12060
12061         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12062         work manually instead.
12063
12064 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * BufferView_pimpl.C: protect selectionLost against text == 0
12067
12068 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * text.C (breakParagraph): fix a setting layout to '0' problem.
12071
12072 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12073
12074         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12075         final location of file, for the included files, and graphics.
12076
12077 2002-03-05  Juergen Vigna  <jug@sad.it>
12078
12079         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12080
12081 2002-03-04  Juergen Vigna  <jug@sad.it>
12082
12083         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12084
12085         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12086         last column of multicolumn cells.
12087         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12088
12089 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12090
12091         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12092         file if it doesn't go to a temporary file.
12093
12094         * buffer.C (sgmlOpenTag):
12095         (sgmlCloseTag):  remove extra newline insertion.
12096
12097 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * text.C (getRowNearY): comment out debug msg
12100
12101 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * text2.C: first -> first_y
12104
12105         * text.C (getRowNearY): add some attemts at a possible
12106         optimization, not working.
12107
12108         * tabular.[Ch]: add BufferParams to several function so that newly
12109         created paragraph can be initialized to he default layotu for the
12110         buffers textclass.
12111
12112         * tabular-old.C (ReadOld): add buf->params to call of Init
12113
12114         * screen.C: rename text->first to text->first_y
12115
12116         * paragraph.C (breakParagraph): always set layout in the broken
12117         paragraph
12118
12119         * lyxtextclass.C (Read): remove lowercase
12120         (hasLayout): ditto
12121         (operator): ditto
12122         (delete_layout): ditto
12123
12124         * lyxtext.h: rename first -> first_y
12125
12126         * lyxlayout.C (Read): remove lowercase
12127         (name): ditto
12128         (setName): ditto
12129         (obsoleted_by): ditto
12130
12131         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12132
12133         * buffer.C (insertErtContents): add params are to InsetERT
12134         (parseSingleLyXformat2Token): add code to check if a paragraphs
12135         layout really exist.
12136         (parseSingleLyXformat2Token): add params to several inset
12137         constructors
12138         (asciiParagraph): remove lowercase, do the layout comparisons with
12139         no_case
12140
12141         * BufferView_pimpl.C (cursorNext): first -> first_y
12142         (resizeCurrentBuffer): first -> first_y
12143         (updateScrollbar): first -> first_y
12144         (scrollCB): first -> first_y
12145         (workAreaMotionNotify): first -> first_y
12146         (workAreaButtonPress): first -> first_y
12147         (checkInsetHit): first -> first_y
12148         (cursorPrevious): first -> first_y
12149         (cursorNext): first -> first_y
12150         (Dispatch): add buffer_->params to severl inset contructors
12151
12152 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12153
12154         * lyxlayout.C (Read): remove some debug info that I forgot.
12155
12156         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12157         clean up the code slightly.
12158         (makeLinuxDocFile): ditto
12159         (makeDocBookFile): ditto
12160
12161         * text2.C: layout as string
12162
12163         * text.C: layout as string
12164
12165         * paragraph_pimpl.C: layout as string
12166
12167         * paragraph.[Ch]: layout as string
12168
12169         * lyxtextclasslist.[Ch]: layout as string
12170
12171         * lyxtextclass.[Ch]: layout as string
12172
12173         * lyxtext.h: layout as string
12174
12175         * lyxlayout.[Ch]: layout as string
12176
12177         * lyx_cb.C: layout as string
12178
12179         * bufferview_funcs.C: layout as string
12180
12181         * bufferparams.C: layout as string
12182
12183         * buffer.C: layout as string
12184
12185         * LyXView.[Ch]: layout as string
12186
12187         * LaTeXFeatures.[Ch]: layout as string
12188
12189         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12190
12191         * BufferView_pimpl.C: change current_layout to string, remove
12192         lyx::layout_type.
12193         (Dispatch):
12194         (smartQuote):
12195         (insertInset):
12196         (workAreaButtonRelease): layout as string
12197
12198         * BufferView2.C (unlockInset): adjust
12199
12200         * vspace.C (asLatexCommand): use an explict temp variable.
12201
12202 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * Makefile.am: use FRONTEND_*
12205
12206 2002-03-01  Juergen Vigna  <jug@sad.it>
12207
12208         * tabular.C (SetWidthOfMulticolCell): changed to something better
12209         I hope but still work in progress.
12210         (recalculateMulticolumnsOfColumn): renamed function from
12211         recalculateMulticolCells as it is more appropriate now.
12212         (SetWidthOfCell): calculate multicols better.
12213
12214 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12215
12216         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12217
12218         * lyxfunc.C (processKeySym): print sequence also if it is
12219         `deleted' (complete)
12220
12221         * kbsequence.C (print): print sequence even if it is deleted
12222         (complete would be a better word, actually).
12223
12224         * lyxfunc.C (dispatch): print complete options after a prefix key
12225
12226         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12227
12228 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12229
12230         * text2.C (setCharFont): eliminate setCharFont code duplication.
12231
12232 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12233
12234         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12235         LFUN_TABULAR_FEATURE (bug #177)
12236
12237 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * Makefile.am: remove figure.h
12240
12241 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12242
12243         * Bufferview_pimpl.C:
12244         * CutAndPasteC:
12245         * LaTeX.C:
12246         * LyXSendto.C:
12247         * buffer.C:
12248         * bufferlist.C:
12249         * converter.C:
12250         * language.C:
12251         * lyxfunc.C:
12252         * lyxvc.C:
12253         * paragraph.C:
12254         * text.C:
12255         * text2.C: remove #include "lyx_gui_misc.h".
12256
12257         * LaTeX.C: added #include <cstdio>
12258
12259 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12260
12261         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12262         that the paragraph following this one can have.
12263
12264         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12265
12266         * vspace.C (asLatexCommand): fix bogus gcc warning
12267
12268         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12269
12270 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12271
12272         * text2.C (setLayout): get rid of redundant code
12273
12274 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12275
12276         * text2.C (incDepth): make sure depth cannot be increased beyond
12277         reasonable values.
12278
12279 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12280
12281         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12282         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12283
12284         * PainterBase.h (image):
12285         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12286         a LyXImage const *.
12287
12288 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * BufferView.C:
12291         * BufferView.h:
12292         * BufferView_pimpl.C:
12293         * BufferView_pimpl.h:
12294         * LaTeXFeatures.C:
12295         * LyXAction.C:
12296         * LyXView.C:
12297         * Makefile.am:
12298         * UpdateList.h:
12299         * UpdateList.C:
12300         * buffer.C:
12301         * figure.h:
12302         * figureForm.C:
12303         * figureForm.h:
12304         * figure_form.C:
12305         * figure_form.h:
12306         * lyx_cb.C:
12307         * lyx_gui.C:
12308         * lyx_gui_misc.C:
12309         * lyxfunc.C:
12310         * sp_base.h:
12311         * sp_ispell.h:
12312         * sp_pspell.h:
12313         * sp_spell.C: remove fig inset, and the crap house of
12314           cards that follows it
12315
12316 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12317
12318         * Makefile.am:
12319         * lyxserver.C:
12320         * os2_defines.h:
12321         * os2_errortable.h:
12322         * nt_defines.h: move .h into support/
12323
12324         * vms_defines.h: remove
12325
12326         * WorkArea.C: add space in debug output
12327
12328         * text2.C:
12329         * paragraph.C:
12330         * buffer.C: add WITH_WARNINGS
12331
12332         * vc-backend.h:
12333         * vc-backend.C:
12334         * bufferlist.C: s/retrive/retrieve/, add docs
12335
12336         * vspace.h:
12337         * vspace.C:
12338         * kbmap.h:
12339         * lyxlength.h:
12340         * lyxgluelength.h:
12341         * length_common.h:
12342         * chset.h:
12343         * chset.C: add docs
12344
12345         * lyxgui.C: add ID to X error handler
12346
12347         * lyxtestclass.c: fix typo
12348
12349 2002-02-26  Juergen Vigna  <jug@sad.it>
12350
12351         * tabular_funcs.C (write_attribute): changed so that some default
12352         attributes are not written at all.
12353         (getTokenValue): set default values before trying to read the
12354         value so we have the return value always set as default if we don't
12355         find the token we search for.
12356
12357         * tabular.C (Write): write bools as bools not as strings!
12358
12359 2002-02-22  Juergen Vigna  <jug@sad.it>
12360
12361         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12362         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12363
12364         * text.C (leftMargin): don't add an indent for paragraphs inside
12365         tabular cells (fix #208).
12366
12367 2002-02-21  José Matos  <jamatos@fep.up.pt>
12368
12369         * tabular.C (docBook): fixed support for long tables.
12370
12371 2002-02-20  Juergen Vigna  <jug@sad.it>
12372
12373         * text2.C (getFont): get the drawing font of the Inset if this
12374         paragraph is inside an inset (only important for InsetERT for now).
12375
12376         * buffer.C (insertErtContents): use new lanugage params in ERT
12377         constructor.
12378
12379         * CutAndPaste.C: commenting out seemingly uneeded code.
12380
12381 2002-02-19  Allan Rae  <rae@lyx.org>
12382
12383         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12384         Iterators might be simple to use but they also get invalidated.
12385         (removeAutoInsets): renamed saved cursor tracking variables and added
12386         some comments to clarify what everything does.
12387
12388 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12389
12390         * Chktex.C:
12391         * LaTeX.C:
12392         * LyXSendto.C:
12393         * converter.C:
12394         * lyx_cb.C:
12395         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12396         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12397
12398         * lyxfunc.C:
12399         * vc-backend.h: remove #include "support/syscall.h"
12400
12401         * LaTeX.C:
12402         * LyXSendto.C:
12403         * converter.C: rearrange #includes in Lars' approved fashion.
12404
12405         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12406         forward declare class Timeout in the header file.
12407
12408         * XFormsView.C: changes due to the above.
12409
12410         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12411         similar to LyXView.
12412
12413         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12414         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12415
12416 2002-02-18  José Matos  <jamatos@fep.up.pt>
12417
12418         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12419         insets contents.
12420
12421 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12422
12423         * a lot of small ws changes
12424         * add a lot of using std::XXX
12425         * use std construcs some places where approp.
12426         * use some exisint stuff from lyxfunctional where approp.
12427         * Make file changes to use partial linking (lets test this now...)
12428
12429 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12430
12431         * Chktex.C:
12432         * buffer.C:
12433         remove #include "support/syscontr.h" as it's redundant. Always has been.
12434
12435         * Chktex.C:
12436         * LaTeX.C:
12437         * LyXSendto.C:
12438         * converter.C:
12439         * lyx_cb.C:
12440         * vc-backend.C:
12441         change Systemcalls::System to Systemcalls::Wait and
12442         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12443         No change of functionality, just reflects the stripped down Systemcalls
12444         class.
12445
12446 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12447
12448         * debug.[Ch]: add a GRAPHICS type to the enum.
12449
12450 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12453
12454         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12455         there is an inset.
12456
12457 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12458
12459         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12460         match the changes below.
12461
12462         * text2.C (toggleInset): if there is not editable inset at cursor
12463         position, try to see if cursor is _inside_ a collapsable inset
12464         and close it.
12465
12466 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12467
12468         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12469         document menu has a nice checkbox
12470
12471 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12472
12473         * lyxlength.C (asLatexString): change PW to output as percent of
12474         \textwidth.
12475
12476         * lengthcommon.C: change '%' to 't%'
12477
12478         * lyxfunc.C (dispatch): a few comments from Martin
12479
12480 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12481
12482         * WorkArea.h:
12483         * WorkArea.C:
12484         * BufferView_pimpl.h:
12485         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12486           the X selection.
12487
12488 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * vspace.C (inPixels): fix compiler warning
12491
12492 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * lyxfunc.C (getStatus): fix status message for disabled commands.
12495
12496 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * BufferView_pimpl.C: fix crash on close buffer
12499         during selection (#227)
12500
12501 2002-01-27  Herbert Voss  <voss@lyx.org>
12502
12503         * buffer.C: link old Figure to new graphic inset
12504
12505 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12506
12507         * FontLoader.C (getFontinfo): Change the latex font names in order
12508         to match the names of type1inst.
12509
12510 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12513
12514         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12515         (extchanged): ditto
12516         (ext_exist): ditto
12517         (remove_files_with_extension): ditto
12518         (remove_file): ditto
12519         (write): ditto
12520
12521         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12522         document is smaller than the work area height. Do not initialize
12523         static variables to 0.
12524
12525 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12526
12527         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12528
12529         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12530         LFUN_LAYOUT_PARAGRAPHS.
12531
12532         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12533         tabular. It is possible to provide a possible cell, which will
12534         typically be the actcell from the corresponding insettabular
12535
12536         * lyxfunc.C (getStatus): small cleanup; disable
12537         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12538         true
12539
12540 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12541
12542         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12543
12544         * paragraph.C (startTeXParParams):
12545         (endTeXParParams): new methods. The LaTeX code to
12546         start/end paragraph formatting
12547         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12548         empty (fixes bug #200)
12549
12550         * vspace.C (inPixels): adapt to the change below
12551         (inPixels): [later] more cleanups (remove unused variables)
12552
12553         * lyxlength.C (inPixels): change to use a width and a height as
12554         parameter.
12555
12556 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12557
12558         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12559         Replaced with \paperwidth
12560
12561         * DepTable.C (insert): add std:: qualifier
12562
12563 2002-01-18  Allan Rae  <rae@lyx.org>
12564
12565         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12566         updated also?
12567
12568         * text.C (drawInset): Turned out I didn't know enough about how
12569         rebreaking worked.  This fixes most of the redraw problems.  I see
12570         an occasional cursor trail when a line is broken now and the cursor
12571         placement can seem out by a few pixels also after a rebreak.
12572
12573 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * buffer.C (parseSingleLyXformat2Token): update because minipage
12576         width is now a LyXLength
12577
12578         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12579
12580         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12581         math insets
12582
12583 2002-01-17  Juergen Vigna  <jug@sad.it>
12584
12585         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12586
12587         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12588         is set correctly and the inset is updated correctly.
12589
12590 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12591
12592         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12593         the beginning of the loop.
12594
12595 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * lyxrc.C: improve help for use_scalable_fonts
12598
12599 2002-01-17  Allan Rae  <rae@lyx.org>
12600
12601         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12602
12603 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12604
12605         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12606         make sure to set their inset_owner to the right value (bug #171)
12607
12608 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12609
12610         * DepTable.h
12611         * DepTable.C: Implement mtime checking to reduce time spent doing
12612         CRCs.
12613
12614 2002-01-16  Juergen Vigna  <jug@sad.it>
12615
12616         * tabular.C (GetAdditionalHeight): one of error fixed.
12617
12618         * lyxrc.C (output): small fix in writing use_pspell.
12619
12620 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12621
12622         * sp_base.h: #include LString.h
12623
12624 2002-01-16  Allan Rae  <rae@lyx.org>
12625
12626         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12627         Can someone check this please?
12628
12629         * text.C (drawInset): It was possible that p.row would be removed by
12630         breakAgainOneRow upsetting a few other settings.  There may be another
12631         small tweak possible by setting need_break_row = 0 when p.row has been
12632         removed but I don't know enough about the logic here.
12633
12634 2002-01-15  Allan Rae  <rae@lyx.org>
12635
12636         * text.C (insertChar): removed conditional truism.
12637
12638         * BufferView2.C (removeAutoInsets): More tweaks.
12639         cur_par_prev could be a stray pointer.  Check for trailing empty line
12640         in case last line was cur_par and only had an error inset on it.
12641
12642 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12643
12644         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12645         absolute
12646
12647         * vc-backend.C (most methods):
12648         * exporter.C (Export):
12649         * converter.C (convert):
12650         (runLaTeX):
12651         * LyXSendto.C (SendtoApplyCB):
12652         * lyxfunc.C (dispatch):
12653         (menuNew):
12654         (open):
12655         (doImport):
12656         * lyx_cb.C (AutoSave):
12657         (InsertAsciiFile):
12658         * BufferView_pimpl.C (MenuInsertLyXFile):
12659         * buffer.C (runChktex): use Buffer::filePath().
12660
12661         * buffer.h: rename filename to filename_; rename filepath to
12662         filepath_ and make it private
12663         (filePath): new method
12664
12665         * buffer.C (writeFile): use fileName()
12666         (getLatexName):
12667
12668         * lyx_main.C (init): fix starting  of LyX when the binary is a
12669         link from so,ewhere else.
12670
12671         * minibuffer.C: include <cctype> for isprint
12672
12673 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12674
12675         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12676         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12677         name clash with InsetCollapsable's width function.
12678
12679 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * lastfiles.C: include <iterator>
12682
12683 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12686         std::count.
12687
12688         * buffer.C (makeLaTeXFile): ditto.
12689         Also make loop operation more transparent.
12690
12691 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * ToolbarDefaults.C: remove trailing comma closing namespace.
12694
12695         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12696
12697         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12698         as in WorkArea.
12699
12700         * trans.C (Load): comment out unused variable, allowed.
12701
12702 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * minibuffer.[Ch] (append_char): new method to recieve input from the
12705         drop-down completion browser. If a key was pressed, then recieve this
12706         char and append it to the existing string.
12707         (peek_event): modify the positioning data passed to the completion
12708         browser so that it can be placed above the minibuffer rather than below.
12709 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * LyXAction.C (init): alloe error-next for readonly documents.
12712
12713         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12714         count.
12715
12716 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12717
12718         * bufferlist.C (readFile): create the buffer _after_ checking that
12719         the file exists.
12720
12721         * lyxfunc.C (verboseDispatch): fix handling of arguments
12722
12723         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12724
12725         * lyxrc.C: use string::erase() instead of initializing to "".
12726
12727
12728 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12729
12730         * BufferView_pimpl.h:
12731         * BufferView_pimpl.C:
12732         * WorkArea.h:
12733         * WorkArea.C:
12734         * text2.C: tell X when we have made a selection for copying
12735
12736 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * BufferView_pimpl.C (MenuInsertLyXFile):
12739         * lyxfunc.C (menuNew):
12740         (open):
12741         (doImport): add shortcuts to directory buttons
12742
12743         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12744         open a float)
12745
12746         * lyxfunc.C (setStatusMessage):
12747         (getStatusMessage): new methods
12748         (getStatus):use setStatusMessage instead of setErrorMessage
12749         (dispatch): when function is disabled, set error message here
12750         [instead of in getStatus previously]
12751
12752         * BufferView_pimpl.C (workAreaButtonRelease): update
12753         toolbar/menubar here too.
12754
12755 2002-01-13  Allan Rae  <rae@lyx.org>
12756
12757         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12758         Now seems indestructible.  Remaining task is to audit all other
12759         code affected by deleteEmptyParagraphMechanism.  One small quirk
12760         left is that an empty document with an error in the preamble can
12761         be made to report an error but no error box appears.  I don't know
12762         where it goes.
12763         (removeAutoInsets): Improved comments.
12764
12765 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * Thesaurus.h:
12768         * Thesaurus.C: update for Aiksaurus 0.14
12769
12770 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * text2.C (firstParagraph): removed member function, all uses
12773         replaces with ownerParagraph
12774         (redoParagraphs): here
12775         (updateInset): here
12776         (toggleAppendix): here
12777         * BufferView2.C (insertErrors): here
12778         (setCursorFromRow): here
12779
12780 2002-01-13  Allan Rae  <rae@lyx.org>
12781
12782         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12783         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12784         There is still a way to segfault this although you may have to do this
12785         multiple times: Have an InsetERT with an unknown command in it.
12786         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12787         <down-arrow>, <Enter> again, View->DVI, BANG!
12788
12789         * text2.C (setCursor):
12790         (deleteEmptyParagraphMechanism):
12791         * lyxtext.h (setCursor):
12792         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12793         Making use of the return value may help fix other bugs.
12794
12795 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12798
12799         * LyXView.C (updateMenubar): call MenuBar::update here
12800         (updateToolbar): but not here
12801         (showState): do not update toolbar/menubar
12802
12803         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12804         should need to care about that.
12805
12806         * lyxfunc.C (verboseDispatch): simplify a bit
12807         (getStatus): have a version which takes a pseudoaction, and
12808         another which requires a (kb_action,string).
12809
12810         * LyXAction.C (retrieveActionArg): make it work also when action
12811         is not a pseudo-action.
12812         (getActionName): simplify a bit
12813         (helpText):
12814
12815 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12816
12817         * lyxfunc.C (verboseDispatch): new families of methods with
12818         several ways to specify a command and a bool to indicate whether
12819         the command name and shortcut should be displayed in minibuffer
12820         (eventually, we could extend that to a finer bitmask like
12821         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12822         (dispatch): the pristine dispatch command which just, well,
12823         dispatchs! Note it still sets its result to minibuffer; I'm not
12824         sure we want that.
12825
12826         * lyxfunc.h: remove setHintMessage
12827
12828         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12829
12830 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12831
12832         * BufferView_pimpl.C (specialChar): delete new inset if we have
12833         not been able to insert it.
12834
12835         * kbmap.C: revert to using int instead of kb_action, since all we
12836         are dealing with is pseudo-actions.
12837
12838         * LyXAction.C (searchActionArg): change to return int instead of
12839         kb_action, since the result is a pseudoaction.
12840
12841 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12842
12843         * buffer.C (insertErtContents): Fix (partially) the font bug.
12844
12845 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12846
12847         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12848         as the other one is broken on my machine!
12849
12850 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12851
12852         * commandtags.h:
12853         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12854
12855 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12858         reflect their actual use. Provide compatibility code for older lyxrc
12859         files.
12860
12861         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12862         FL_NORMAL_STYLE.
12863         change names of popup font variables in line with the changes to lyxrc.C
12864
12865 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12866
12867         * buffer.C (asciiParagraph): avoid outputing a word twice after
12868         an inset.
12869
12870         * lyxrc.C (getDescription): document that document_path and
12871         template_path can be empty.
12872
12873 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * LaTeXFeatures.C (getMacros):
12876         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12877
12878         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12879
12880         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12881         getPackages.
12882         (getPackages): rename feature "floats" to "float". Use an array to
12883         iterate over 'simple' features (i.e. just a \usepackage). Add
12884         handling of "amsmath" (renamed from "amsstyle").
12885
12886 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12887
12888         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12889         features list.
12890
12891 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12892
12893         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12894         FuncStaus::FuncStatus & FuncStaus::some_method().
12895
12896 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12897
12898         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12899         of the func_satus stuff. Edited and massaged in various ways by
12900         JMarc.
12901
12902         * lyxfunc.C (getStatus): use FuncStatus
12903
12904 2002-01-08  Juergen Vigna  <jug@sad.it>
12905
12906         * text.C (nextBreakPoint): use function Inset::isChar().
12907
12908         * paragraph.C (TeXOnePar): use function
12909         Inset::forceDefaultParagraphs.
12910
12911         * buffer.C (latexParagraphs): use function
12912         Inset::forceDefaultParagraphs.
12913
12914 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12915
12916         * lyx_gui.C (init): set the style of the menu popups to
12917         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12918
12919 2002-01-07  Juergen Vigna  <jug@sad.it>
12920
12921         * text.C (setHeightOfRow): small fix
12922         (prepareToPrint): don't look at alignment if we don't have the place
12923         for doing it.
12924
12925 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12926
12927         * box.C: New file. Move the Box methods and functions out of box.h,
12928         following Lars' suggestion.
12929
12930 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12931
12932         * box.h: #include "support/LOstream.h", needed for inlined function.
12933
12934         * lyxtextclass.C:
12935         * lyxtextclasslist.C: added some using std declarations.
12936
12937 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * box.h: make signed dimensions to allow insets wider than
12940           the screen (bug #162)
12941
12942         * BufferView_pimpl.C: add some insetHit debug
12943
12944 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12945
12946         * vc-backend.C: add FIXME
12947
12948 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12949
12950         * lyxfunc.C (getStatus): enable code for showing math font status
12951         in toolbar/menu.
12952
12953 2002-01-07  Juergen Vigna  <jug@sad.it>
12954
12955         * text.C (nextBreakPoint): removed debug output not needed anymore.
12956
12957 2002-01-06  Juergen Vigna  <jug@sad.it>
12958
12959         * text.C (nextBreakPoint): fixed up this function we had this bug
12960         since ever but now hopefully we break row better.
12961         (insertChar): we have to check if an inset is the next char as it
12962         could now happen that a large inset is causing a break.
12963
12964 2002-01-05  Juergen Vigna  <jug@sad.it>
12965
12966         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12967         if it doesn't like to be drawed.
12968
12969 2002-01-04  Juergen Vigna  <jug@sad.it>
12970
12971         * BufferView2.C (lockInset): forgot to set a cursor.
12972
12973         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12974
12975 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12976
12977         * FormMathsPanel.C:
12978         * FormMathsPanel.h
12979         * MathsSymbols.C:
12980         * form_maths_panel.C:
12981         * form_maths_panel.h:
12982         * form_maths_panel.fd: implemented sub- and super- buttons in math
12983         panel.
12984
12985         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12986         (or ^ space) to be used as in TeX (req'd by André).
12987
12988         * lyxfunc.C: Allow ^ and _ again to be used both as
12989         super/subscript (mathed) and as themselves (in text).
12990
12991 2002-01-03  Allan Rae  <rae@lyx.org>
12992
12993         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12994         "LyX" or the filename of the current buffer if it has one.  This is a
12995         modified form of John Levon's patch.
12996
12997         * XFormsView.C (setWindowTitle): also set icon title.
12998
12999         * LyXView.h (setWindowTitle): signature changed.
13000         * XFormsView.h (setWindowTitle): ditto.
13001
13002 2002-01-02  Juergen Vigna  <jug@sad.it>
13003
13004         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13005
13006 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13007
13008         * screen.C (topCursorVisible): introduce a temp var for
13009         text->cursor.row(), handle the case where this row is null. (kindo
13010         hachish)
13011
13012         * text2.C (setCursor): add a couple of asserts.
13013
13014         * paragraph.h (inset_iterator): add -> operator
13015
13016         * paragraph.[Ch] (autoDeleteInsets): remove member function
13017
13018         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13019         cursor pos correctly and handle inset deletion by itself.
13020         (insertErrors): move iterator declaration out of for expression
13021
13022         * lyxtextclass.C: add <algorithm>
13023
13024         * Makefile.am: added the new files to sources, removed layout.C
13025
13026         * layout.C: removed file
13027
13028         * layout.h: remove LYX_DUMMY_LAYOUT
13029
13030         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13031         layout.
13032
13033         * lyxlayout.[Ch]:
13034         * lyxtextclass.[Ch]:
13035         * lyxtextclasslist.[Ch]: new files
13036
13037         * include order changes to a lot of files, also changes because of
13038         the six new files.
13039
13040 2001-12-27  Juergen Vigna  <jug@sad.it>
13041
13042         * buffer.C (asciiParagraph): more fixes.
13043
13044         * tabular.C (ascii): make ascii export support export of only the
13045         data separated by a column-delimiter.
13046         (ascii): better support for ascii export.
13047
13048         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13049
13050 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13051
13052         * tabular_funcs.C: use a "using std::getline" instead of the
13053         previous fix from Angus (necessary for cxx + lyxstring)
13054
13055 2001-12-24  Juergen Vigna  <jug@sad.it>
13056
13057         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13058
13059         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13060         problems. First check a minipage also if we have some ert-contents
13061         (not only on par->size(), second set the right depth of the paragraph
13062         on the relink to the root-paragraph-list!
13063
13064         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13065         which then did not anymore update the main paragraphs on undo/redo!
13066
13067 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13068
13069         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13070         code. Support all font-changing funcs (even those which are not in
13071         menu currently). Support for reporting font settings in
13072         mathed (disabled until Andre provides a function on mathed's side).
13073
13074         * func_status.h (toggle): small helper function to set toggle
13075         state on a flag.
13076
13077 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13078
13079         * tabular_funcs.C: getline -> std::getline
13080
13081 2001-12-21  Juergen Vigna  <jug@sad.it>
13082
13083         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13084         accessed and could be 0 (I couldn't generate this but it seems
13085         Michael could!).
13086
13087 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13088
13089         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13090         * tabular_funcs.h: here and include iosfwd
13091
13092 2001-12-20  Juergen Vigna  <jug@sad.it>
13093
13094         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13095         inside inset but undo_par was.
13096
13097 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13098
13099         * Thesaurus.C: always include <config.h> in sources.
13100
13101         * Painter.h:
13102         * lyxlookup.h:
13103         * box.h: do not include <config.h> in header files
13104
13105         * text.C (paintLastRow): remove unused variable
13106
13107         * text.C (transformChar):
13108         (insertChar):
13109         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13110
13111         * Painter.C (text):
13112         * font.C (width): rewrite to use uppercase() instead of
13113         islower/toupper.
13114
13115         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13116
13117 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * lyxfind.C: clean up of find failure position change
13120
13121 2001-12-20  Juergen Vigna  <jug@sad.it>
13122
13123         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13124
13125         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13126         (TeXRow): added to LaTeX a single tabular row.
13127         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13128         (Latex): simplified and finally good LT-h/f support.
13129         (various_functions): just small adaptions for LT-h/f support.
13130
13131         * tabular_funcs.[hC]: added and moved here all not classfunctions
13132         of LyXTabular.
13133
13134 2001-12-19  Juergen Vigna  <jug@sad.it>
13135
13136         * tabular.[Ch]: better support for longtabular options (not finished
13137         yet!)
13138
13139 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * text.C (paintLastRow): use the label font instead of the font of
13142         the last character to compute the size of *_BOX. This makes more
13143         sense and avoids a crash with empty paragraphs.
13144         Use Painter::rectangle to draw EMPTY_BOX.
13145
13146 2001-12-19  Juergen Vigna  <jug@sad.it>
13147
13148         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13149         the paragraphs if the replaced paragraph is not the first one!
13150         Tried to delete not used paragraphs but does not work yet so for
13151         now it's inside #ifdef's and by default off!
13152
13153 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13154
13155         * MenuBackend.C: include "lyx_main.h" instead of declaring
13156         lastfiles (actually was declared as LastFiles* instead of a
13157         scoped_ptr).
13158
13159 2001-12-17  Juergen Vigna  <jug@sad.it>
13160
13161         * tabular.C (AppendColumn): applied John's fix
13162
13163 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13164
13165         * BufferView.h:
13166         * BufferView.C:
13167         * BufferView_pimpl.h:
13168         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13169
13170         * Makefile.am:
13171         * box.h: new start of class for above
13172
13173         * lyxfunc.C: ignore space-only minibuffer dispatches.
13174           Show the command name when it doesn't exist
13175
13176         * minibuffer.C: don't add empty lines to the history
13177
13178         * minibuffer.C: add a space on dropdown completion
13179
13180 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13181
13182         * text.C: fix line above/below drawing in insets
13183
13184 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * lyxlength.C (LyXLength): Initialize private variables.
13187
13188 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13191         when inserting error insets.
13192
13193 2001-12-13  Juergen Vigna  <jug@sad.it>
13194
13195         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13196         actually sometimes the before-paragraph.
13197         (setUndo): don't clear the redostack if we're not actually undoing!
13198
13199 2001-12-06  Juergen Vigna  <jug@sad.it>
13200
13201         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13202         and fixed redoing of main paragraph, so we can use it now ;)
13203
13204         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13205
13206 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13209         Juergen's request
13210
13211 2001-12-13  André Pönitz <poenitz@gmx.net>
13212
13213         * undostack.[Ch]:
13214         * undo_func.C: minor cleanup
13215
13216 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13219         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13220         font in urw-fonts package which is marked as -urw-fontspecific and
13221         does not work (incidentally, changing the encoding in the
13222         fonts.dir of this package to -adobe-fontspecific fixes the
13223         problem).
13224
13225         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13226         is a crash when undoing first paragraph (Juergen, please take a
13227         look). THis does not mean the undo fix is wrong, just that it
13228         uncovers problems.
13229
13230         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13231         the (Paragraph*) version when needed instead of duplicating the
13232         code.
13233
13234         * text.C (workWidth): use Inset::parOwner to find out where the
13235         inset has been inserted. This is a huge performance gain for large
13236         documents with lots of insets. If Inset::parOwner is not set, fall
13237         back on the brute force method
13238
13239         * paragraph_pimpl.C (insertInset):
13240         * paragraph.C (Paragraph):
13241         (cutIntoMinibuffer): set parOwner of insets when
13242         inserting/removing them
13243
13244         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13245
13246 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13247
13248         * commandtags.h:
13249         * LyXAction.C:
13250         * lyx_main.C:
13251         * lyxfunc.C:
13252         * mathed/formulabase.C:
13253         * mathed/math_cursor.[Ch]:
13254         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13255
13256
13257 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13258
13259         * lyxlength.[Ch] (operator!=): new function
13260
13261 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13262
13263         * text.C (workWidth): use Inset::parOwner to find out where the
13264         inset has been inserted. This is a huge performance gain for large
13265         documents with lots of insets. If Inset::parOwner is not set, fall
13266         back on the brute force method
13267
13268         * paragraph_pimpl.C (insertInset):
13269         * paragraph.C (Paragraph):
13270         (cutIntoMinibuffer): set parOwner of insets when
13271         inserting/removing them
13272
13273         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13274
13275 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * tabular-old.C (getTokenValue):
13278         * tabular.C (getTokenValue):
13279         (write_attribute): new versions for LyXLength
13280         (everywhere): adjust the use of widths
13281
13282         * tabular.h: change the type of widths from string to LyXLength
13283
13284 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13285
13286         * paragraph.C: fixed missing line number count when exporting
13287         Environments to LaTeX file
13288
13289         * buffer.C: added informational message for checking line numbers.
13290
13291 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13294         paragraph, do the 'double space' part, but not the 'empty
13295         paragraph' one.
13296
13297         * text.C (workWidth): small optimization
13298         (getLengthMarkerHeight): use minimal size for negative lengths.
13299
13300 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13301
13302         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13303
13304         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13305
13306 2001-12-11  André Pönitz <poenitz@gmx.net>
13307
13308         * FontLoader.C:
13309         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13310
13311 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13312
13313         * text2.C: keep selection on a setFont()
13314
13315 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * lyx_cb.C: another bv->text misuse, from insert label
13318
13319 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13320
13321         * kbsequence.h:
13322         * kbsequence.C: re-instate nmodifier mask
13323
13324 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13325
13326         * lyx_main.h: make lyxGUI private.
13327
13328 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * lyxfind.C: place the cursor correctly on failed search
13331
13332 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * text.C (getLengthMarkerHeight): for small heights, the arrows
13335         are not always on top/bottom of the text
13336         (drawLengthMarker): smaller arrows; take the left margin in
13337         account; draw also vfills.
13338         (paintFirstRow):
13339         (paintLastRow): remove special code for vfill and standard spaces,
13340         since everything is handled in drawLengthMarker now.
13341
13342 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * buffer.C (insertErtContents): try to handle font and language
13345         interaction a bit better.g
13346
13347         * ColorHandler.C (updateColor): change the hash to cover the whole
13348         LColor enum, ws cleanup
13349         (getGCLinepars): ditto
13350         (getGCLinepars): only lookup in the linecache once.
13351
13352 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13353
13354         * iterators.C (operator++): Make the iterator more robust
13355
13356         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13357         (John's patch)
13358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13359
13360 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * lyxtext.h:
13363         * text.C: better added space drawing
13364
13365 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13366
13367         * LyXView.C:
13368         * BufferView2.C: fix layout combo update on inset unlock
13369
13370 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * Makefile.am: don't compile unused files
13373
13374 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13375
13376         * lyxfunc.C:
13377         * commandtags.h:
13378         * LyXAction.C: remove old LFUN_LAYOUTNO
13379
13380 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13381
13382         * paragraph_pimpl.h:
13383         * paragraph_pimpl.C: isTextAt() doesn't need font param
13384
13385 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13386
13387         * lyxlex.h:
13388         * lyxlex.C: little cleanup
13389
13390 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * BufferView_pimpl.C: fix insertAscii for insets
13393
13394 2001-12-05  Juergen Vigna  <jug@sad.it>
13395
13396         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13397         set the right font on the "multi" paragraph paste!
13398
13399 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * trans_decl.h:
13402         * trans_mgr.[Ch]:
13403         * trans.[Ch]:
13404         * lyxgluelength.C:
13405         * lyxlength.C: remove out-commented code.
13406
13407         * BufferView_pimpl:
13408         * CutAndPaste.C:
13409         * DepTable.C:
13410         * buffer.C:
13411         * chset.C:
13412         * lastfiles.C:
13413         * lyxlex.C:
13414         * lyxlex_pimpl.C:
13415         * lyxserver.C:
13416         * screen.C:
13417         * tabular-old.C:
13418         * tabular.C:
13419         * text.C:
13420         * trans_mgr.C:
13421         * vc-backend.C: change "while(" to "while ("
13422
13423         * lyxlength.[Ch]: add zero function to check if length is zero or
13424         not
13425         * lyxgluelength.C: use it
13426
13427 2001-12-05  Allan Rae  <rae@lyx.org>
13428
13429         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13430         Works for 2.95.3, from what I understand of Garst's reports this should
13431         work for other g++ versions.  We're screwed if the abs(int) definition
13432         changed between bugfix releases of gcc.
13433
13434 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13435
13436         * text.C: fix chapter label offset !
13437
13438 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13439
13440         * lyxtext.h:
13441         * text.C: fix hfill at end of line, clean up
13442
13443 2001-12-04  Juergen Vigna  <jug@sad.it>
13444
13445         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13446         that we force an update of the inset and it's owners if neccessary.
13447
13448 2001-12-03  Juergen Vigna  <jug@sad.it>
13449
13450         * text.C (rowLast): simplified code
13451
13452 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * lyxfunc.C: fix show options on timeout
13455
13456 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * screen.C (topCursorVisible): scroll half a page when the cursor
13459         reached top of bottom of screen
13460
13461 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * minibuffer.C: deactivate on loss of focus
13464
13465 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * vspace.[Ch] (operator!=): add operator.
13468
13469 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13470
13471         * BufferView_pimpl.C: refuse to open an inset when
13472         there's a selection.
13473
13474 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13475
13476         * BufferView_pimpl.C: allow to click on RHS of full row insets
13477
13478 2001-11-30  Juergen Vigna  <jug@sad.it>
13479
13480         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13481         insets for undo reasons.
13482
13483 2001-11-28  André Pönitz <poenitz@gmx.net>
13484
13485         * vspace.[Ch]: cosmetical changes
13486
13487 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * LyXAction.h:
13490         * LyXAction.C:
13491         * lyxfunc.h:
13492         * lyxfunc.C:
13493         * kbmap.h:
13494         * kbmap.C:
13495         * lyxrc.C:
13496         * kbsequence.h:
13497         * kbsequence.C: part re-write of old kb code
13498
13499         * Painter.C:
13500         * WorkArea.C: remove Lgb_bug_find_hack
13501
13502 2001-11-30  José Matos <jamatos@fep.up.pt>
13503
13504         * buffer.C (makeDocBookFile): add a comment to point a hack.
13505         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13506         Fixed a double write of labels.
13507
13508 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13509
13510         * LaTeX.C:
13511         * LaTeX.h Fixed bug in LaTeX class where it would not
13512         re-run latex if no depfiles were changed, but the .dvi was removed.
13513
13514 2001-11-28  André Pönitz <poenitz@gmx.net>
13515
13516         * all the files from the change on 2001/11/26:
13517         use lyx::layout_type instead of LyXTextClass::size_type
13518         use lyx::textclass_type instead of LyXTextClassList::size_type
13519
13520 2001-11-29  Juergen Vigna  <jug@sad.it>
13521
13522         * text.C: added support for paragraph::isFreeSpacing()
13523
13524         * buffer.C: same as above
13525
13526         * paragraph.h: inserted isFreeSpacing() function to enable
13527         FreeSpacing inside InsetERT.
13528
13529         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13530         of the paragraph's in the cut/copy buffer to 0!
13531
13532         * text2.C (removeRow): remove the assert as it can!
13533
13534         * lyxtext.h: added helper function firstRow returning firstrow and
13535         made firstrow private again.
13536
13537         * BufferView2.C (lockInset): don't relock if we're already locked!
13538
13539         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13540         the only paragraph.
13541         (removeRow): added Assert::(firstrow)
13542
13543         * debug.C: forgot to add INSETTEXT here.
13544
13545 2001-11-28  Juergen Vigna  <jug@sad.it>
13546
13547         * sp_spell.C (initialize): changed error text to more general
13548         spellchecker command use (not only ispell!)
13549
13550         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13551
13552         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13553
13554 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * vspace.C: initialise lyxgluelength on failure
13557
13558 2001-11-28  Allan Rae  <rae@lyx.org>
13559
13560         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13561         declaration & definition that looks like a function declaration.
13562
13563 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13564
13565         * BufferView2.C (copy):
13566         (copyEnvironment): do not clear the selection when doing a copy.
13567
13568         * text.C (paintFirstRow): compilation fix
13569
13570 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13571
13572         * tabular.C (Latex): correct line count when writing latex.
13573
13574 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * paragraph_pimpl.h:
13577         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13578           bug a bit
13579
13580 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13581
13582         * text.C:
13583         * LColor.h:
13584         * LColor.C: change vfillline->added_space
13585
13586         * text.C: add markers and text for added space
13587
13588         * vspace.C: fix comment
13589
13590 2001-11-28  André Pönitz <poenitz@gmx.net>
13591
13592         * paragraph.C: whitespace changes
13593         * all the other files from the change on 2001/11/26:
13594         change *::pos_type into lyx::pos_type
13595
13596 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13597
13598         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13599         language of the document when inserting error insets.
13600
13601 2001-11-26  André Pönitz <poenitz@gmx.net>
13602
13603         * BufferView_pimpl.[Ch]:
13604         *       CutAndPaste.C:
13605         * buffer.[Ch]:
13606         * lyxcursor.[Ch]:
13607         * lyxfind.C:
13608         * lyxfunc.C:
13609         * lyxrow.[Ch]:
13610         * paragraph.[Ch]:
13611         * paragraph_pimpl.[Ch]:
13612         * sp_spell.C:
13613         * text.C:
13614         * text2.C: reduce header dependencies, introduce type for positions
13615
13616 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * <various>: change to use Alert.h
13619
13620 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13621
13622         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13623         when encountering an unknown token.
13624         (readLyXformat2): Show an error message if there were unknown tokens.
13625
13626 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13627
13628         * BufferView2.C:
13629         * BufferView_pimpl.C:
13630         * buffer.C:
13631         * paragraph.h:
13632         * text.C:
13633         * text2.C: use par->isInset()
13634
13635 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * paragraph_pimpl.h:
13638         * paragraph_pimpl.C: cleanup
13639
13640 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * text2.C (removeRow):
13643         * text.C (setHeightOfRow): remove useless (and costly) call to
13644         getRow.
13645
13646 2001-11-20  Allan Rae  <rae@lyx.org>
13647
13648         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13649         Now need Inset*::checkInsertChar() to return true for appropriate
13650         cases so that the characters in the minibuffer will actually be
13651         inserted.
13652
13653 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * text.C: change the order of the includes.
13656         (workWidth): initialize it at once.
13657         (workWidth): make maxw unsigned
13658         (setHeightOfRow): remove unused variable (inset)
13659         (selectSelectedWord): remove unused variable (inset)
13660         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13661
13662 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13663
13664         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13665         server is not running.
13666         (openConnection):
13667         (closeConnection): add debug info when server is disabled.
13668
13669         * ColorHandler.C (getGCForeground): send debug message to GUI
13670         channel.
13671
13672         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13673
13674         * kbmap.C (bind): modify because return conventions of
13675         kb_sequence::parse have changed.
13676
13677         * kbsequence.C (parse): only ignore spaces and not any stupid
13678         control character. This avoids tests like s[i] <= ' ', which are
13679         guaranteed to fail with 8bit characters and signed chars.
13680         Change return code to string::npos when there have been no error
13681         (0 was a bad idea when error is at first character)
13682
13683 2001-11-14  José Matos  <jamatos@fep.up.pt>
13684
13685         * buffer.h:
13686         * buffer.C (simpleDocBookOnePar): removed unused argument.
13687
13688 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13689
13690         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13691         insets which are part of a word. Paragraph::isLetter takes care of
13692         that now. Use Paragraph::isInset to identify insets.
13693         (selectSelectedWord): do not test for hyphenation break.
13694
13695         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13696         that protected spaces are considered as spaces.
13697
13698         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13699         Inset::isLetter.
13700
13701 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * lyxserver.h:
13704         * lyxserver.C: fix it. and small cleanup.
13705
13706 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * BufferView_pimpl.C: use inline helpers
13709
13710         * LaTeXFeatures.h:
13711         * LaTeXFeatures.C: fix typos
13712
13713         * Spacing.h:
13714         * Spacing.C: move spacing_string into class
13715
13716         * ToolbarDefaults.C: move stuff into namespace anon
13717
13718         * layout.h: update enum
13719
13720         * lyxfunc.C: use better debug
13721
13722         * minibuffer.h: fix typo
13723
13724         * debug.h:
13725         * debug.C:
13726         * WorkArea.C: add and use Debug::WORKAREA
13727
13728         * lyxtext.h:
13729         * text.C:
13730         * text2.C: code re-organisation, inline helpers
13731
13732 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13733
13734         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13735         std::vector.empty().
13736
13737 2001-11-09  Allan Rae  <rae@lyx.org>
13738
13739         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13740         '\n's after tables.  Tabular and ERT inset work now makes this no
13741         longer necessary.
13742
13743 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * minibuffer.h:
13746         * minibuffer.C: fix crash, improve drop-down completion
13747
13748 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13749
13750         * lyxserver.h:
13751         * lyxserver.C: invalidate fd's when doing endPipe()
13752
13753 2001-11-08  José Matos  <jamatos@fep.up.pt>
13754
13755         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13756         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13757
13758         * paragraph.h:
13759         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13760
13761 2001-11-07  José Matos  <jamatos@fep.up.pt>
13762
13763         * buffer.h:
13764         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13765         const qualifier.
13766
13767         * buffer.C (sgmlOpenTag):
13768         * buffer.C (sgmlCloseTag): removed debug info.
13769
13770         * buffer.h (sgmlOpenTag):
13771         * buffer.h (sgmlCloseTag): made public.
13772
13773 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * buffer.C (saveParamsAsDefaults):
13776         * lyx_cb.C (MenuLayoutSave): remove
13777
13778         * LyXAction.C (init):
13779         * commandtags.h:
13780         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13781
13782 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13783
13784         * buffer.C (setPaperStuff): removed from here...
13785
13786         * bufferparams.C (setPaperStuff): ... and moved there.
13787
13788 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13789
13790         * minibuffer.h:
13791         * minibuffer.C:
13792         * XFormsView.C: add support for drop-down completion
13793
13794 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13795
13796         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13797         commands.
13798
13799 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13800
13801         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13802         disabled.
13803
13804 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * lyx_main.C: change ref to known bugs
13807
13808 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13809
13810         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13811         to work around older babel problems.
13812
13813 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13814
13815         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13816
13817 2001-10-24  Juergen Vigna  <jug@sad.it>
13818
13819         * tabular-old.C (ReadOld): below variable changes reflected.
13820
13821         * tabular.[Ch]: added ltType struct for longtable header/footer
13822         defines and changed all instances where they are used. Added
13823         future support for double top/bottom rows.
13824
13825 2001-10-24  José Matos  <jamatos@fep.up.pt>
13826
13827         * buffer.h (docbookHandleCaption):
13828         * buffer.C (docbookHandleCaption): removed unused function.
13829         (makeDocBookFile): moved docbook supported version to v4.1.
13830
13831 2001-10-24  José Matos  <jamatos@fep.up.pt>
13832
13833         * tabular.h:
13834         * tabular.C (docbookRow): new function to export docbook code of a row.
13835         (DocBook): now honors the longtable flags.
13836
13837 2001-10-23  José Matos  <jamatos@fep.up.pt>
13838
13839         * LaTeXFeatures.h:
13840         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13841         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13842
13843         * buffer.C (makeLinuxDocFile):
13844         (makeDocBookFile): reworked the preamble, more clean, and with
13845         support for lyx defined entities. Changed the document declaration
13846         to be more XML friendly.
13847
13848         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13849         if we need to output XML that should be done with a filter.
13850
13851 2001-10-22  Juergen Vigna  <jug@sad.it>
13852
13853         * sp_pspell.h (class PSpell): add alive function needed in the
13854         controller to see if the spellchecker could be started.
13855
13856 2001-10-22  Juergen Vigna  <jug@sad.it>
13857
13858         * buffer.C (insertStringAsLines): modify the font for inserting
13859         chars in certain conditions by calling checkInsertChar(font).
13860
13861 2001-10-19  Juergen Vigna  <jug@sad.it>
13862
13863         * text.C (workWidth): use getRow instead of wrong algorithm.
13864         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13865
13866 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * lyxserver.h:
13869         * lyxserver.C:
13870         * lyx_main.h:
13871         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13872
13873 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13874
13875         * text.C (workWidth): do not search for the exact row when
13876         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13877         optimization for big documents.
13878
13879 2001-10-18  Juergen Vigna  <jug@sad.it>
13880
13881         * text.C (workWidth): new function with added Inset * parameter.
13882
13883 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13884
13885         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13886
13887         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13888         change return type of getColumnNearX.
13889
13890
13891         * text.C (changeRegionCase): use uppercase/lowercase instead of
13892         toupper/tolower.
13893         (leftMargin):
13894         (rightMargin): simplify code by factoring out the uses of
13895         textclasslist.
13896         (labelFill):
13897         (numberOfHfills):
13898         (setHeightOfRow):
13899         (appendParagraph): use Paragraph::size_type
13900
13901 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13902
13903         * vspace.C (asLatexString): add a missing break
13904
13905 2001-10-15  Herbert Voss  <voss@perce.de>
13906
13907         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13908
13909 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13912         is not available.
13913
13914 2001-10-10  André Pönitz <poenitz@gmx.net>
13915
13916         * lyxfunc.C: removed greek_kb_flag.
13917
13918 2001-10-10  Herbert Voss  <voss@perce.de>
13919
13920         * lyx_main.C: delete global string help_lyxdir.
13921
13922 2001-10-09  Herbert Voss  <voss@perce.de>
13923
13924         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13925
13926         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13927
13928         * lyx_main.C: added global string help_lyxdir.
13929
13930         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13931
13932 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13933
13934         * lyxrc.C (set_font_norm_type): support iso8859-4
13935
13936 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13937
13938         * LaTeX.C (deplog): add another regex for MikTeX
13939
13940 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13941
13942         * lyxrc.C (set_font_norm_type): support iso8859-3
13943
13944 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13945
13946         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13947
13948         * LaTeXFeatures.C: remove special case of french and index
13949
13950         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13951         before \begin{document}). This solves several incompatibilities.
13952
13953 2001-10-03  Garst Reese  <reese@isn.net>
13954
13955         * lyx_cb.C: change CheckTex error msg.
13956
13957 2001-10-03  José Matos  <jamatos@fep.up.pt>
13958
13959         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13960
13961 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * .cvsignore: update
13964
13965         * lyx_main.C (commandLineVersionInfo): use new style version info.
13966
13967         * buffer.C (writeFile):
13968         (makeLaTeXFile):
13969         (makeLinuxDocFile):
13970         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13971
13972         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13973
13974         * version.h: update to use stuff in version.C
13975
13976         * version.C.in: new file. Contains version information determined
13977         at compile time. This is a merging of version.h and
13978         version_info.h.in.
13979
13980 2001-10-03  Juergen Vigna  <jug@sad.it>
13981
13982         * BufferView_pimpl.C (update): don't change "dirty" status in
13983         updateInset call.
13984
13985 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13986
13987         * WorkArea.C (c-tor): re-position version string slightly.
13988
13989 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13990
13991         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13992         revert to previous code.
13993
13994         WorkArea.[Ch]: (show, destroySplash): methods removed.
13995
13996         WorkArea.C: rework code so that it's an amalgam of the codes before and
13997         after the splash screen was moved to WorkArea.
13998
13999 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * lyxrc.C (read):
14002         * vspace.C (inPixels):
14003         (lyx_advance):
14004         * kbmap.C (bind):
14005         * buffer.C (insertStringAsLines):
14006         (asciiParagraph): fix types to be large enough
14007
14008         * lyxlex_pimpl.h: change member status from short to int
14009
14010         * layout.h: fix type of endlabeltype
14011
14012         * kbmap.C (bind):
14013         * kbsequence.C (parse): change return type to string::size_type
14014
14015         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14016         variable
14017
14018         * Bullet.C (bulletSize):
14019         (bulletEntry): do not use short ints as parameters
14020
14021         * BufferView2.C (insertLyXFile): change a char to an int.
14022
14023         * WorkArea.C (WorkArea): remove unneeded floats in computation
14024
14025 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14026
14027         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14028
14029         * paragraph.C (asString): Do not ignore newline/hfill chars when
14030         copying to the clipboard.
14031
14032 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14033
14034         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14035         after a multi-line inset.
14036
14037 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14038
14039         * paragraph.C (validate): Set NeedLyXFootnoteCode
14040
14041 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14042
14043         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14044         and decrease-error to decrease.
14045
14046 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14049         it more readable (should be equivalent)
14050
14051 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14052
14053         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14054
14055 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14056
14057         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14058         of a cursor (row, etc.) after a character has been deleted
14059         (deleteEmptyParagraphMechanism): call the method above on _all_
14060         cursors held by the LyXText when a double space has been
14061         detected/deleted.
14062
14063 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14064
14065         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14066         pixmap.
14067         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14068
14069         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14070         background. Use greyOut() and the new show() methods to toggle between
14071         the foreground and background. Add code to remove the splash after
14072         its initial showing.
14073
14074         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14075         (create_forms): no longer call Dialogs::showSplash.
14076
14077 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14078
14079         * .cvsignore: add version_info.h
14080
14081 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14082
14083         * version_info.h.in: new file
14084
14085         * Makefile.am: add version_info.h.in
14086
14087         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14088         version_info.h instead of VERSION_INFO
14089
14090 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14091
14092         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14093         The ERT inset now returns string().
14094
14095 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14096
14097         * lyxtext.h, text.C (selectNextWord): renamed as
14098         selectNextWordToSpellcheck.
14099
14100         * text.C (selectNextWordToSpellcheck): Modified to not select
14101         words inside an ERT inset.
14102
14103 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * lyx_cb.C (MenuLayoutSave): change a bit the question
14106
14107         * sp_base.h: include <sys/types.h>
14108
14109 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14110
14111         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14112
14113 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14114
14115         * several files: fix typos in user-visible strings
14116
14117 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14118
14119         * text2.C (pasteSelection): do not set the selection, since it
14120         will be cleared later. Actually, the intent was to fix the way the
14121         selection was set, but I figured rmoving the code was just as good.
14122
14123 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14124
14125         * FontLoader.C (available): Check if font is available without
14126         loading the font.
14127
14128 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14129
14130         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14131
14132 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * lyxrc.[Ch]: added display_graphics variable and associated code.
14135
14136 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * bufferparams.C (hasClassDefaults): new method. Returns true if
14139         the buffer parameters correspond to known class defaults
14140
14141 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14142
14143         * XFormsView.C (show): set minimum size to the main window.
14144
14145 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14146
14147         * text2.C (copySelection):
14148         (cutSelection):
14149         * lyxfind.C (LyXReplace):
14150         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14151         LyXText::selectionAsString.
14152
14153         * paragraph.C (asString): add "label" argument to the second form
14154
14155         * text2.C (selectionAsString): add "label" argument and pass it to
14156         Paragraph::asString.
14157
14158 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * lyx_main.C (commandLineHelp): remove version information
14161
14162 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14163
14164         * lyx_main.C: add -version commandline option
14165
14166 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * paragraph.h: make the optional constructor arg required instead.
14169         some modifications to other files because of this.
14170
14171         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14172
14173         * lyxserver.C (C_LyXComm_callback): make it static
14174
14175         * lyx_main.C (error_handler): make it static
14176
14177         * lyx_gui.C (LyX_XErrHandler): make it static
14178
14179         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14180
14181         * WorkArea.C: make the extern "C" methods static.
14182
14183         * Makefile.am (lyx_LDADD): simplify
14184
14185 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14188         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14189
14190         * LyXAction.C (init):
14191         * lyxfunc.C (dispatch): associated code removal.
14192
14193 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14194
14195         * lyxfont.h (isSymbolFont): shut off warning
14196
14197         * text.C (setHeightOfRow):
14198         (getVisibleRow): fix crash with empty paragraphs which have a
14199         bottom line
14200
14201 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14202
14203         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14204         code.
14205
14206 2001-09-04  José Matos  <jamatos@fep.up.pt>
14207         * buffer.C
14208         * buffer.h
14209         * tabular.C (docbook): rename docBook method to docbook.
14210
14211 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14212
14213         * Makefile.am: add dependencies to main.o.
14214
14215 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14216
14217         * FontLoader.C (available): Return false if !lyxrc.use_gui
14218
14219 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14220
14221         * FontInfo.C (query):
14222         * converter.C (view):
14223         * importer.C (Import):
14224         * exporter.C (Export): Can not -> cannot.
14225
14226 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * BufferView_pimpl.C: allow to create index inset even if
14229           string is empty
14230
14231 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14232
14233         * buffer.C (getLists): replace boost::tie code with an explicit pair
14234         as boost::tie can break some compilers.
14235
14236         * iterators.h: Added a std:: declaration to the return type of
14237         ParIterator::size.
14238
14239 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14240
14241         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14242           case.
14243
14244 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14245
14246         * iterators.[Ch]: New files. Provide paragraph iterators.
14247
14248         * buffer.C (changeLanguage): Use paragraph iterators.
14249         (isMultiLingual): ditto
14250
14251         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14252
14253 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14254
14255         * FontLoader.C: Support for cmr font.
14256
14257 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14258
14259         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14260         (available): New method.
14261
14262         * FontInfo.C (getFontname): Use scalable fonts even when
14263         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14264         found.
14265
14266 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14267
14268         * converter.C (Formats::view): reverted! Incorrect fix.
14269
14270 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14271
14272         * converter.C (Formats::view): only output the -paper option
14273         if the dvi viewer is xdvi, thereby fixing bug #233429.
14274
14275 2001-08-23  Herbert Voss  <voss@perce>
14276
14277         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14278
14279 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14280
14281         * Spacing.h (Spacing): Set space to Default on in the default
14282         constructor.
14283
14284 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * vc-backend.h (RCS::versionString): add RCS to version
14287         (CVS::versionString): add CVS to version
14288
14289         * vc-backend.C (scanMaster): do not add CVS to version.
14290         (scanMaster): do not add RCS to version
14291
14292         * lyxvc.C (versionString): new method
14293
14294         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14295
14296 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * Spacing.C (set): initialize fval
14299
14300 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14301
14302         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14303         " or \.
14304
14305 2001-08-16  Juergen Vigna  <jug@sad.it>
14306
14307         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14308
14309 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14310
14311         * BufferView_pimpl.C:
14312         * figureForm.C:
14313         * lyxtext.h:
14314         * text2.C: setParagraph takes linespacing now
14315
14316 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14317
14318         * LyxAction.C: add internal LFUN_CITATION_INSERT
14319
14320         * LyXView.C: actually apply fix
14321
14322         * bufferlist.C: fix open non-existent file
14323
14324         * lyxfind.C: fix indentation
14325
14326         * lyxfunc.C: remove unneeded assert, fix typo
14327
14328 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14329
14330         * MenuBackend.C: use "Floatname List"
14331
14332 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14333
14334         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14335         when converting LaTeX layout to insetERT.
14336         Generate a non-collapsed float when reading old float
14337
14338 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14339
14340         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14341         ERT insets.
14342
14343 2001-08-13  Juergen Vigna  <jug@sad.it>
14344
14345         * text.C (fill): return 0 instead of 20 as this seems to be the more
14346         correct value.
14347
14348 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14349
14350         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14351         lyxrc.font_norm.
14352
14353 2001-08-13  Juergen Vigna  <jug@sad.it>
14354
14355         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14356         casesensitive off.
14357         (SearchBackward): comment out the unlocking of the inset_owner this
14358         should not be needed!
14359
14360 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14361
14362         * Many files: Remove inherit_language, and add latex_language
14363
14364         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14365         collapsible insets.
14366
14367 2001-08-10  Juergen Vigna  <jug@sad.it>
14368
14369         * text.C (prepareToPrint): fixed hfill-width in draw!
14370
14371         * BufferView2.C (selectLastWord): save the selection cursor as this
14372         now is cleared in the function LyXText::clearSelection!
14373
14374 2001-08-08  Juergen Vigna  <jug@sad.it>
14375
14376         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14377         BACKSPACE type functions.
14378
14379         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14380         is only cutted from the document but not put in the cut-buffer, where
14381         still the old stuff should be.
14382
14383         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14384
14385         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14386
14387         * tabular.C (SetWidthOfCell): fixed special case where the width
14388         was not updated!
14389         (LeftLine): handle '|' in align_special.
14390         (RightLine): ditto
14391         (LeftAlreadyDrawed): ditto
14392         (SetWidthOfCell): ditto
14393
14394 2001-08-07  Juergen Vigna  <jug@sad.it>
14395
14396         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14397
14398 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14399
14400         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14401         * lyxlex.[hC]: ditto
14402
14403 2001-08-06  Juergen Vigna  <jug@sad.it>
14404
14405         * text.C (getVisibleRow): fix up row clearing a bit.
14406
14407 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * minibuffer.C: make sure the X server sees the changes in the input.
14410
14411 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * paragraph.C (getFont): split into...
14414         (getLabelFont): this
14415         (getLayoutFont): and this
14416         * paragraph_pimpl.C (realizeFont): calling this
14417
14418         * text2.C (getFont): split into...
14419         (getLayoutFont): this
14420         (getLabelFont): and this
14421         (realizeFont): all three calling this
14422
14423         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14424         files where used.
14425
14426 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14427
14428         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14429
14430 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14431
14432         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14433         layouts from the Quote inset insertion.
14434
14435 2001-08-03  Juergen Vigna  <jug@sad.it>
14436
14437         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14438
14439         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14440         only if status not is already CHANGED_IN_DRAW (second level).
14441
14442         * text.C (draw): don't set the need_break_row when inside an
14443         InsetText LyXText.
14444
14445 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * buffer.C (parseSingleLyXformat2Token): handle more latex
14448         conversion cases.
14449
14450         * bufferview_funcs.[hC]: change function names to
14451         begin with small char, adjust other files.
14452
14453 2001-08-02  André Pönitz <poenitz@gmx.net>
14454
14455         * lyxfunc.C:
14456         BufferView_pimpl.C: remove broken special code for math-greek
14457
14458 2001-08-02  Juergen Vigna  <jug@sad.it>
14459
14460         * BufferView_pimpl.C (update): redone this function so that we
14461         update the text again if there was a CHANGE_IN_DRAW.
14462
14463         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14464         (drawFromTo): added a new internal bool which is used by draw() and
14465         redraw() function.
14466         (general): some cursor drawing problems fixed.
14467
14468 2001-08-01  Juergen Vigna  <jug@sad.it>
14469
14470         * lyxfind.C (LyXFind): fixed
14471         (SearchForward): ditto
14472         (SearchBackward): ditto
14473
14474         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14475         spurius drawing of the cursor in the main area.
14476
14477         * text2.C (status): small fix which could lead to a segfault!
14478         (clearSelection): remove unneeded BufferView param.
14479
14480 2001-08-01  André Pönitz <poenitz@gmx.net>
14481
14482         * lyxfunc.C: small change due to changed mathed interface
14483
14484 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14485
14486         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14487
14488 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14489
14490         * lyxfunc.c: fail gracefully if file doesn't exist
14491
14492         * LyXSendto.C:
14493         * buffer.C:
14494         * lyxfunc.C:
14495         * BufferView_pimpl.C: IsDirWriteable() proto changed
14496
14497         * LyXView.C: fix updateWindowTitle() to store the last title
14498
14499 2001-07-31  Juergen Vigna  <jug@sad.it>
14500
14501         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14502         the font (wrong since using of Paragraph::highestFontInRange).
14503
14504         * paragraph.C (highestFontInRange): added a default_size parameter.
14505
14506         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14507         (setHeightOfRow): reformat
14508
14509 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14510
14511         * converter.[hC] + affected files: move to (inital-char)lowercase
14512         function names.
14513
14514         * ParagraphParameters.C (ParagraphParameters): remove commented code
14515
14516         * PainterBase.[Ch]: remove commented code
14517
14518         * LaTeXFeatures.h: add "bool floats" for float.sty
14519
14520         * LaTeXFeatures.C (LaTeXFeatures): init floats
14521         (require): handle float
14522         (getPackages): do it with floats
14523
14524 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14525
14526         * BufferView_pimpl.C (Dispatch): improve handling of
14527         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14528
14529         * commandtags.h: #include lyxfont.h here temporarily to avoid
14530         keybinding bug.
14531
14532         * bufferlist.h: include LString.h here.
14533
14534 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * text2.C (getStringToIndex): new method.
14537
14538 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14539
14540         * *: Reduced header file dependencies all over.
14541
14542 2001-07-30  Baruch Even  <baruch@lyx.org>
14543
14544         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14545
14546 2001-07-29  Baruch Even  <baruch@lyx.org>
14547
14548         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14549
14550 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14551
14552         * ParameterStruct.h (endif): add a default constructor to make
14553         sure that all variables is initialized.
14554
14555         * ParagraphParameters.C (ParagraphParameters): adjust
14556
14557 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14558
14559         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14560         index; also, check that there is something to index, and that it
14561         does not span over several paragraphs.
14562         (doubleClick): use WHOLE_WORD_STRICT for double click.
14563
14564         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14565
14566         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14567         scheme.
14568
14569 2001-07-26  Baruch Even  <baruch@lyx.org>
14570
14571         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14572         an InsetFig figure, backwards compatible reading of old figure code.
14573
14574 2001-07-27  Juergen Vigna  <jug@sad.it>
14575
14576         * text2.C: font.realize function adaption.
14577
14578         * text.C (draw): add a warnings lyxerr text if needed.
14579
14580         * layout.C: font.realize function adaption.
14581
14582         * language.C: add inherit_language and implement it's handlings
14583
14584         * bufferview_funcs.C (StyleReset): remove language parameter from
14585         font creation (should be language_inherit now).
14586
14587         * bufferparams.C (writeFile): handle ignore_language.
14588
14589         * paragraph.C (getFontSettings): the language has to be resolved
14590         otherwise we have problems in LyXFont!
14591
14592         * lyxfont.C (lyxWriteChanges): added document_language parameter
14593         (update): removed unneeded language parameter
14594
14595         * paragraph.C (validate): fixed wrong output of color-package when
14596         using interface colors for certain fonts in certain environments,
14597         which should not seen as that on the final output.
14598
14599 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * BufferView_pimpl.C:
14602         * Thesaurus.h:
14603         * Thesaurus.C:
14604         * Makefile.am:
14605         * commandtags.h:
14606         * LyXAction.C: add thesaurus support
14607
14608         * lyxfind.h:
14609         * lyxfind.C: add "once" parameter, for thesaurus, to not
14610           move to the next match
14611
14612 2001-07-26  Juergen Vigna  <jug@sad.it>
14613
14614         * lyxfont.C (realize): honor ignore_language too!
14615         (resolved): ditto.
14616
14617         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14618
14619         * text.C (draw): one place more for ignore_language to not draw
14620         itself!
14621
14622 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14623
14624         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14625
14626 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14627
14628         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14629         the minipage conversion problem.
14630
14631 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14632
14633         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14634         insert an inset.
14635
14636 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14637
14638         * BufferView.h: don't forward declare WorkArea
14639
14640         * BufferView.C: don't include WorkArea.h
14641
14642 2001-07-25  André Pönitz <poenitz@gmx.net>
14643
14644         * commandtags.h:
14645         * LyXAction.C:
14646         * lyxfunc.C:  new LFUN 'math-space'
14647
14648         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14649
14650 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14651
14652         * text2.C (toggleInset): call open/close
14653
14654 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14655
14656         * lyxfunc.C (dispatch): add debug for the disabled case
14657
14658         * font.C (buttonText): make similar to rectText
14659
14660         * buffer.C (readInset): comment out parsing of insetlist and
14661         insttheorem
14662
14663         * PainterBase.C (rectText): small correction
14664
14665         * BufferView_pimpl.C: comment out insettheorem and insetlist
14666         * LyXAction.C: ditto
14667         * commandtags.h: ditto
14668
14669 2001-07-24  Juergen Vigna  <jug@sad.it>
14670
14671         * text.C (draw): honor the ignore_language.
14672
14673         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14674
14675 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14676
14677         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14678         char inset.
14679
14680 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14681
14682         * lyxtext.h: remove unused (and unimplemented) methods
14683
14684 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14685
14686         * text.C (getVisibleRow): honor background color
14687
14688         * PainterBase.h:
14689         * Painter.h: remove default color argument for fillRectangle
14690
14691         * text.C (backgroundColor): new method
14692
14693 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14694
14695         * text.C (getVisibleRow): adjust
14696
14697         * font.[Ch] (rectText): new method, metrics
14698         (buttonText): new method, metrics
14699
14700         * PainterBase.[hC]: make rectText and buttonText always draw and take
14701         fewer paramteres.
14702
14703 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14704
14705         * ToolbarDefaults.C (read):
14706         * MenuBackend.C (read): allow escaping in all strings
14707
14708         * BufferView_pimpl.C (insertAndEditInset): new method.
14709         (Dispatch): use insertAndEditInset whenever appropriate.
14710
14711         * BufferView_pimpl.C (insertNote): removed
14712
14713         * BufferView_pimpl.C (smartQuote): new method, moved from
14714         BufferView; if an insetquote cannot be inserted, insert a '"'
14715         character instead.
14716
14717         * BufferView2.C: remove insertCorrectQuote();
14718
14719         * lyxfunc.C (getStatus): Add support for all remaingin
14720         inset-insert lfuns.
14721
14722         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14723
14724         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14725         command (necessary to pass " as parameter of self-insert.
14726
14727         * text.C (selectWordWhenUnderCursor):
14728         (selectWord): add word_location parameter
14729         (selectWordWhenUnderCursor): same + remove special code for word
14730         boundary.
14731         (selectNextWord): use kind() to guess type of insetspecialchar,
14732         not latex().
14733
14734         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14735         (insertErtContents): create ert insets as collapsed.
14736         (readInset): better compatibility code for Info inset.
14737
14738 2001-07-20  Juergen Vigna  <jug@sad.it>
14739
14740         * lyxfunc.C (dispatch): use always LyXFind now!
14741
14742         * text2.C (init): add a reinit flag so that the LyXText can be
14743         reinited instead of deleted and reallocated (used in InsetText).
14744
14745         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14746
14747         * text.C: ditto
14748
14749         * text2.C: ditto
14750
14751 2001-07-18  Juergen Vigna  <jug@sad.it>
14752
14753         * text.C (selectNextWord): handle insets inside inset by calling
14754         always the bv->text functions so that we can go up the_locking_inset!
14755
14756         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14757         in strange locations when inside an inset!
14758
14759         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14760         handling to include insets.
14761
14762         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14763
14764 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14765
14766         * LyXAction.C (init):
14767         * commandtags.h:
14768         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14769         LIGATURE_BREAK, since the name is so stupid.
14770
14771 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14772
14773         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14774         InsetInfos.
14775
14776         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14777
14778         * sp_form.[Ch]: remove.
14779
14780         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14781
14782         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14783         InsetInfo.
14784
14785         * src/buffer.C (readInset): ditto.
14786
14787 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14788
14789         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14790         menuSeparator(), endOfSentenceDot(), ldots() and
14791         hyphenationPoint(), which are therefore removed.
14792         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14793
14794         * LyXAction.C (init):
14795         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14796
14797         * paragraph.C (getWord): removed.
14798
14799         * BufferView_pimpl.C (Dispatch): use last word or selection for
14800         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14801
14802         * lyx_main.C (queryUserLyXDir): do not ask before creating
14803         user_dir, except if it has been named explicitely.
14804
14805 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14806
14807         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14808         a document of zero size.
14809
14810 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14811
14812         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14813         approriately in the c-tor and in require().
14814         (getPackages): output the appropriate LaTeX for natbib support.
14815
14816         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14817         variables "use_natbib" and "use_numerical_citations" when reading the
14818         LyX file.
14819         (readInset): read the various natbib cite commands.
14820         (validate): white-space change.
14821
14822         * bufferparams.[Ch]: new variables "bool use_natbib" and
14823         "bool use_numerical_citations".
14824         (writeFile): output them in the LyX file.
14825
14826 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14827
14828         * lyxfunc.C (getStatus): add support for all the inset insertion
14829         commands.
14830
14831         * text2.C (insertInset):
14832         * paragraph.C (insetAllowed):
14833         * BufferView_pimpl.C (insertInset): update to take in account the
14834         renaming of insertInsetAllowed
14835
14836         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14837
14838         * text2.C (getInset): new method. returns inset at cursor position.
14839
14840         * BufferView_pimpl.C (Dispatch): changes because of this.
14841
14842         * LyXAction.C (init): rename open-stuff to inset-toggle.
14843
14844         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14845
14846         * text2.C (toggleInset): renamed from openStuff; use
14847         Inset::open().
14848
14849 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14850
14851         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14852
14853         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14854
14855 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14856
14857         * buffer.C (readLyXformat2): Add filename to the error dialog
14858
14859 2001-07-18  Juergen Vigna  <jug@sad.it>
14860
14861         * tabular.C (GetCellNumber): put an assert here instead of the check!
14862
14863 2001-07-17  Juergen Vigna  <jug@sad.it>
14864
14865         * BufferView_pimpl.C (toggleSelection): adapted too.
14866
14867         * text.C (selectNextWord): adapted for use with insets.
14868         (selectSelectedWord): ditto
14869
14870 2001-07-17  Juergen Vigna  <jug@sad.it>
14871
14872         * sp_spell.C (PSpell): fix initialitation order.
14873
14874 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * paragraph.C: spacing
14877
14878 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14879
14880         * sp_spell.C: repair language selection for pspell
14881
14882 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14883
14884         * lyxfunc.h: change more methods to begin with lower char.
14885
14886 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14887
14888         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14889         for unknown layouts.
14890
14891 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * buffer.C (readLyXformat2): Generate an error dialog if there are
14894         unknown layouts.
14895
14896 2001-07-16  Juergen Vigna  <jug@sad.it>
14897
14898         * sp_spell.C: always compile ISpell part.
14899
14900         * lyxrc.C: added use_pspell entry and it's handling.
14901
14902 2001-07-13  Juergen Vigna  <jug@sad.it>
14903
14904         * sp_spell.C: removed double includes.
14905
14906 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14907
14908         Consistent use of Lsstream.h:
14909         * Lsstream.h: added using std::stringstream for consistencies sake.
14910
14911         * buffer.C: removed using std::stringstream
14912
14913         * lyxfont.C (stateText):
14914         * paragraph.C (asString):
14915         * text.C (selectNextWord, selectSelectedWord):
14916         * text2.C (setCounter):
14917         * vspace.C (asString, asLatexString):
14918         std::ostringstream -> ostringstream.
14919
14920 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14921
14922         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14923         * commandtags.h: add LFUN_HELP_ABOUTLYX
14924         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14925
14926 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14927
14928         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14929         cursorToggle()
14930         * lyx_gui_misc.C: remove spellchecker
14931         * lyxfunc.C: showSpellchecker
14932         * sp_base.h: added
14933         * sp_ispell.h: added
14934         * sp_pspell.h: added
14935         * sp_spell.C: added
14936         * sp_form.[Ch]: removed
14937         * spellchecker.[Ch]: removed
14938
14939 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14940
14941         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14942         is set.
14943         (simpleTeXSpecialChars): Simply print the input character without
14944         any special translation if pass_thru is set.
14945
14946         * layout.h: Added bool pass_thru to layout class for being able to
14947         implement pass through of a paragraph for Literate Programming.
14948
14949         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14950         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14951         * layout.C (Read): add "passthru" to list of layout tags and add
14952         code to set the pass_thru boolean when it is read.
14953
14954 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14955
14956         * trans_decl.h: remove allowed from KmodInfo
14957
14958         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14959         remove allowed code
14960         (Load): adjust
14961
14962         * paragraph_pimpl.C (erase): use boost::prior
14963
14964         * Painter.C (text): use data() instead of c_str() when length is
14965         also provided.
14966         * WorkArea.C (putClipboard): ditto
14967         * font.h (width): ditto
14968
14969         * BufferView2.C: use it-> instead of (*it). for iterators
14970         * texrow.C: ditto
14971         * paragraph_pimpl.C: ditto
14972         * paragraph.C: ditto
14973         * minibuffer.C: ditto
14974         * language.C: ditto
14975         * kbmap.C: ditto
14976         * encoding.C: ditto
14977         * counters.C: ditto
14978         * converter.C: ditto
14979         * chset.C: ditto
14980         * Variables.C: ditto
14981         * TextCache.C: ditto
14982         * MenuBackend.C: ditto
14983         * LyXAction.C: ditto
14984         * LColor.C: ditto
14985         * FloatList.C: ditto
14986         * DepTable.C: ditto
14987         * ColorHandler.C (LyXColorHandler): ditto
14988
14989 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14992
14993         * text2.C (openStuff): reintroduce this method (which had been
14994         nuked in NEW_INSETS frenzy).
14995
14996         * lyxfunc.C (Dispatch): when an action has not been handled, use
14997         its name in the error message, not its number.
14998
14999         * paragraph.C (inInset): change method name to begin with lowercase.
15000
15001         * undo_funcs.C:
15002         * text2.C: updates because of this.
15003
15004 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * ToolbarDefaults.C (add): add spaces in error message
15007
15008 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15009
15010         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15011         (readLyXformat2): rename return_par to first_par, use lyxlex's
15012         pushToken and remove the manual push handling.
15013         (parseSingleLyXformat2Token): add another ert comp. variable:
15014         in_tabular, rename return_par to first_par. handle newlines better
15015
15016 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15017
15018         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15019
15020 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15021
15022         * text2.C (getParFromID): removed
15023
15024         * buffer.C (getParFromID): new method moved form lyxtext.
15025         * BufferView2.C (insertErrors): adjust
15026         (setCursorFromRow): adjust
15027         * BufferView_pimpl.C (restorePosition): adjust
15028         * lyxfunc.C (Dispatch): adjust
15029         * undo_funcs.C (textUndo): adjust
15030         (textRedo): adjust
15031         (textHandleUndo): adjust
15032         (textHandleUndo): adjust
15033
15034 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15035
15036         * buffer.C: up' the LYX_FORMAT
15037
15038         * lyxfont.h: turn NO_LATEX on as default
15039
15040         * buffer.C (insertErtContents): new methods of tex style compability.
15041         (parseSingleLyXformat2Token): use it several places.
15042         * tabular.C (OldFormatRead): and here
15043
15044 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * text2.C: remove some commented code.
15047         reindent file.
15048
15049         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15050         * trans.C: changes because of the above.
15051
15052 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15053
15054         * text2.C (setCounter): Fix counters bug with bibliography layout.
15055
15056 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15059         own member functions
15060         (simpleTeXSpecialChars): ditto
15061
15062 2001-07-06  Juergen Vigna  <jug@sad.it>
15063
15064         * a lot of files: changed the access to LyXText::status and the
15065         call of undo-functions.
15066
15067         * undo.[Ch]: added a inset_id to the undo informations.
15068
15069         * undo_funcs.[Ch]: added and moved here all undo functions.
15070
15071         * lyxtext.h: give the status enum a weight, made status_ a private
15072         variable and made accessor functions for it, removed the whole bunch
15073         of undo-functions as they are now in their own file, make some
15074         functions publically available. Added function ownerParagraph with
15075         int parameter.
15076
15077         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15078         made InInset() a const function, added getParFromID() function.
15079
15080         * buffer.[Ch]: added const version for inset_iterator functions,
15081         added getInsetFromID() function.
15082
15083         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15084         changed undo functions for new version.
15085
15086 2001-07-05  Juergen Vigna  <jug@sad.it>
15087
15088         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15089         unknow mechanism does not call the proper constructor but only this
15090         one also if I request the other!?
15091
15092 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15093
15094         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15095
15096         * text2.C (LyXText): use initialization lists.
15097
15098         * lyxtext.h (Selection): initialize set_ and mark_
15099         (init): remove method
15100
15101 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15102
15103         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15104
15105 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * screen.[Ch]: change method names to begin with lowercase
15108
15109         * BufferView_pimpl.C (updateScrollbar): simplify further and
15110         hopefully make it a bit faster.
15111
15112 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15113
15114         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15115         calling directly xforms functions.
15116
15117         * Painter.C (Painter):
15118         * lyx_cb.C (MenuWrite):
15119         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15120         fl_display.
15121
15122         * lyx_gui.C: remove bogus guiruntime extern declaration.
15123
15124 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15125
15126         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15127         in NEW_INSETS
15128         (redoDrawingOfParagraph): ditto
15129         (redoParagraphs): ditto
15130         (cutSelection): don't create a object for CutAndPaste use the
15131         static method directly
15132         (pasteSelection): ditto
15133
15134         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15135         LyXview (+ rename)
15136
15137 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15138
15139         * modifications to some other files because of this.
15140
15141         * Makefile.am (lyx_SOURCES): add XFormsView
15142
15143         * XFormsView.[Ch]: new files
15144
15145         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15146         the main window. Move the gui dependent stuff to XFormsView
15147
15148 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15149
15150         * tabular.C (GetCellInset): update cur_cell also in the row/col
15151         version of this function.
15152
15153         * lyxfunc.C: no need to include figure_form.h here.
15154
15155         * FontLoader.h:
15156         * lyxfunc.h:
15157         * lyxscreen.h:
15158         * text2.C:
15159         * lyxvc.C: no need to include forms.h here.
15160
15161 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15164
15165         * lyxfunc.C (Dispatch):
15166         * Spacing.C (set):
15167         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15168         constructor argument.
15169
15170 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * paragraph.C (Paragraph): dont't clear, and just set layout.
15173         (makeSameLayout): use params's copy contructor.
15174
15175         * ParagraphParameters.[Ch] (makeSame): delete method
15176
15177 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15178
15179         * Variables.[Ch]: fix indentation, rename set to isSet
15180
15181 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15182
15183         * lyxfunc.C (Dispatch): fix typo
15184
15185 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15186
15187         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15188         upper_bound.
15189
15190         * bufferlist.C: include assert.h for emergencyWrite().
15191
15192 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15193
15194         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15195           give up at last (bug #425202) !
15196
15197 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15198
15199         * lyx_gui_misc.C:
15200         * sp_form.h:
15201         * sp_form.C:
15202         * spellchecker.h:
15203         * spellchecker.C: strip spellchecker options and bring up
15204           preferences tab instead
15205
15206 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15207
15208         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15209         the istringstream constructor
15210
15211 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * paragraph.C (getLayout): fix return value
15214
15215         * paragraph.h: do not declare getLayout as inline.
15216
15217         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15218
15219 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * lyxcursor.h (operator<): new func
15222         (operator>): new func
15223         (operator>=): new func
15224         (operator<=): new func
15225
15226         * text.C (changeCase): use selection.start and selection.end
15227         (changeRegionCase): require from to be <= to. Require par to be a
15228         valid paragraph.
15229
15230         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15231
15232 2001-06-27  Juergen Vigna  <jug@sad.it>
15233
15234         * text.C (cursorLeftOneWord): changed to return the cursor and added
15235         overlay with BufferView * parameter which calls this one.
15236         (getWord): added
15237         (selectWord): use new getWord function.
15238         (changeCase): renamed from changeWordCase as and extended to work
15239         also on selections.
15240
15241         * lyxtext.h: added enum word_location
15242
15243         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15244         changeCase as this operates now also on selections.
15245
15246 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15247
15248         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15249
15250         * many files: send debug output to Debug::INFO instead of
15251         Debug::ANY.
15252
15253         * converter.C (View):
15254         (Convert):
15255         (Move): send debug output to Debug::FILES instead of console.
15256
15257 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15258
15259         * lyxfunc.C (getStatus): use func_status
15260
15261         * func_status.h: new header, describing the results of
15262         LyXFunc::getStatus;
15263
15264         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15265         LFUN_MATH_HALIGN.
15266
15267 2001-06-25  The LyX Project  <jug@sad.it>
15268
15269         * buffer.C (sgmlOpenTag):
15270         (sgmlCloseTag):
15271         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15272
15273 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * text2.C: remove some dead code
15276
15277         * tabular.C (GetCellInset): store the last cell checked (gotten)
15278
15279         * tabular.h: add the helper for the speedup
15280
15281         * lyxtext.h: remove some dead code
15282
15283 2001-06-26  The LyX Project  <Asger>
15284
15285         * paragraph.C: Change export to LaTeX of alignment to
15286         \begin{center} and family for better roundtrip work with reLyX.
15287
15288         * Tune the math drawing a bit.
15289
15290 2001-06-25  The LyX Project  <Asger>
15291
15292         * LColor.C (LColor): New color for math background. New color
15293         for buttons.
15294
15295 2001-06-25  The LyX Project  <jug@sad.it>
15296
15297         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15298
15299         * lyxfunc.C (Open):
15300         * bufferlist.C (newFile): do not restrict to files ending with
15301         .lyx
15302
15303         * BufferView_pimpl.C (MenuInsertLyXFile):
15304
15305 2001-06-24  The LyX Project  <jug@sad.it>
15306
15307         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15308         of compare_no_case
15309
15310 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15311
15312         * lyxtext.h: rename most methods to begin with a small char.
15313         Lots of changes because of this.
15314
15315         * paragraph.C (Paragraph): do not call fitToSize
15316         (erase): call Pimpl::erase
15317         (insertChar): call Pimpl::insertChar
15318         (insertInset): call Pipl::insertInset
15319         (breakParagraph): do not call fitToSize
15320         (breakParagraphConservative): do not call fitToSize
15321         (fitToSize): remove method
15322
15323         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15324
15325 2001-06-24  The LyX Project  <Asger>
15326
15327         * Fix Qt compilation^2
15328
15329 2001-06-24  The LyX Project  <jug@sad.it>
15330
15331         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15332         depthHook(getDepth()-1).
15333
15334         * paragraph.h:
15335         * ParagraphParameters.h:
15336         * ParameterStruct.h: change type of depth to unsigned int ==
15337         depth_type. Many adaptations to other files before of that.
15338
15339 2001-06-24  The LyX Project  <Asger>
15340
15341         * Fix Qt compilation.
15342
15343 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15344
15345         * paragraph.h: renamed several methods to begin with small letter.
15346         several changes to many parts of the code because of this.
15347
15348 2001-06-23  The LyX Project  <jug@sad.it>
15349
15350         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15351         rewritten to discard all double spaces when KeepEmpty is off
15352         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15353         to only handle newlines but not fiddle with spaces and friends.
15354
15355         * lyxfunc.C (MenuNew): when doing 'new from template', use
15356         template_path as default directory
15357
15358 2001-06-23  The LyX Project  <Asger>
15359
15360         * Clean-up of header file includes all over
15361         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15362
15363 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15364
15365         * paragraph.h: renamed from lyxparagraph.h
15366
15367 2001-06-23  Asger  <lyx@violet.home.sad.it>
15368
15369         * Buffer.h: Removed Buffer::resize
15370         * BufferList.h: Removed BufferList::resize
15371         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15372         the document lazily when we change the width, or the font settings.
15373
15374 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15375
15376         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15377
15378 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15379
15380         * buffer.h: remove out of date comment
15381
15382 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * lyxscreen.h:
15385         * screen.C: fix "theoretical" GC leak
15386
15387 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * LaTeX.C (scanAuxFile):
15390         (deplog): remove trailing \r when reading stream (useful under
15391         win32)
15392
15393 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15394
15395         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15396         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15397         and BufferView::theLockingInset(Inset*), so should use them and not
15398         access bv_->text->the_locking_inset directly.
15399
15400         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15401
15402 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15403
15404         * Makefile.am:
15405         * tex-defs.h: remove old unused file
15406
15407 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15408
15409         * BufferView_pimpl.C: fix typo, remove minibuffer message
15410           when buffer has loaded
15411
15412 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15413
15414         * lyxfunc.C (Dispatch): use stringstream
15415         (MenuNew): use stringstream
15416         (Open): use stringstream
15417
15418         * importer.C (Import): use stringstream
15419
15420         * bufferview_funcs.C (CurrentState): use stringstream
15421
15422         * LaTeX.C (run): use stringstream
15423
15424         * BufferView_pimpl.C (savePosition): use stringstream
15425         (restorePosition): use stringstream
15426         (MenuInsertLyXFile): use stringstream
15427
15428 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15429
15430         * BufferView.C:
15431         * Bullet.C:
15432         * ColorHandler.C:
15433         * FontInfo.C:
15434         * FontLoader.C:
15435         * LColor.C:
15436         * LaTeXFeatures.C:
15437         * Painter.C:
15438         * gettext.C:
15439         * lyx_gui_misc.C:
15440         * lyxserver.C:
15441         * vspace.C: removed // -*- C++ -*- as first line.
15442
15443         * lyxfind.h:
15444         * version.h: added // -*- C++ -*- as first line.
15445
15446 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15449
15450         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15451         of string
15452
15453 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15456         of floats.
15457
15458 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * gettext.C: include LString.h even when --disable-nls is on.
15461
15462 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15463
15464         * converter.h (Get): changed argument type from int to
15465         FormatList::size_type to avoid unnecessary conversion.
15466
15467         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15468         before using it.
15469
15470 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * gettext.h: include LString.h even when --disable-nls is on.
15473
15474 2001-06-07  Juergen Vigna  <jug@sad.it>
15475
15476         * text.C (BreakAgain): subst spaces with tabs.
15477
15478         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15479         (resizeInsetsLyXText): set force on resizeLyXText.
15480
15481 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15482
15483         * gettext.h (gettext_init):
15484         (locale_init): use a real definition instead of a macro
15485
15486 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15487
15488         * Bufferview_pimpl.C:
15489         * LColor.h:
15490         * LColor.C: further lcolor tidies
15491
15492 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15493
15494         * BufferView_pimpl.C (updateScrollbar): simplify.
15495
15496         * BufferView2.C: don't include insets/insetinfo.h, change
15497         prototype for insertInset and call the Pimpl version. let
15498         updateInset call Pimpl version.
15499
15500         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15501         gotoInset to BufferView::Pimpl
15502
15503 2001-06-01  Juergen Vigna  <jug@sad.it>
15504
15505         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15506         inside a LockingInset (is the update needed at all?).
15507
15508 2001-05-31  Juergen Vigna  <jug@sad.it>
15509
15510         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15511         here not the old one otherwise how should we compare it afterwards
15512         if it's the same!
15513
15514 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15515
15516         * lyxfont.C:
15517         * tabular.C:
15518         * tabular-old.C:
15519         * FontInfo.C: bring C functions into global namespace when
15520         necessary
15521
15522 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15523
15524         * LString.h: make sure config.h has been loaded before LString.h.
15525
15526         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15527         (one for each char read by EatLine!).
15528
15529         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15530         variables.
15531
15532 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15533
15534         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15535         to the same as the par we break from
15536
15537 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15538
15539         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15540
15541         * MenuBackend.C (expand): also create menu entries for wide
15542         versions of the floats.
15543
15544         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15545
15546         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15547
15548         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15549         frontends/Makefile.am
15550
15551         * text2.C: adjust
15552         * text.C: adjust
15553
15554
15555         * tabular.C (getTokenValue): add std::
15556
15557         * tabular-old.C (getTokenValue): add std::
15558         (getTokenValue): ditto
15559         (getTokenValue): ditto
15560
15561         * screen.C (ToggleSelection): adjust
15562
15563         * lyxtext.h: put selection cursors inside a Selection struct.
15564
15565         * lyxfunc.C (moveCursorUpdate): adjust
15566
15567         * lyxfont.C (latexWriteStartChanges): add std::
15568
15569         * lyxfind.C: adjust
15570
15571         * font.h: delete with(char const *, LyXFont const &)
15572
15573         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15574
15575         * FontInfo.C (getFontname): add std::
15576
15577         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15578         (workAreaButtonPress): adjust
15579         (tripleClick): adjust
15580         (update): adjust
15581         (moveCursorUpdate): adjust
15582         (Dispatch): adjust
15583
15584         * BufferView2.C (gotoInset): adjust
15585
15586 2001-05-30  Juergen Vigna  <jug@sad.it>
15587
15588         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15589         to check pspell I add this as default as I now have new pspell
15590         libraries and they seem to use this.
15591
15592 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15593
15594         * text2.C (CutSelection): make the cursor valid before the call to
15595         ClearSelection.
15596
15597 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15598
15599         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15600         relied on 0 terminated strings and other horrors. Bug found due to
15601         the new assert in lyxstring!
15602
15603         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15604         KP_ keys.
15605
15606 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15607
15608         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15609         to latinkeys.bind.
15610
15611         * lyxfunc.C (processKeySym): change method of getting to the
15612         self-insert char.
15613
15614         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15615         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15616         * BufferView_pimpl.[Ch]: here as private methods.
15617
15618 2001-05-28  Juergen Vigna  <jug@sad.it>
15619
15620         * text.C (SetHeightOfRow): added the update() call again as it is
15621         needed to initialize inset dimensions!
15622
15623 2001-05-16  Juergen Vigna  <jug@sad.it>
15624
15625         * text2.C (SetCharFont): Add new function with BufferView * and
15626         bool toggleall parameters for setting insets internal fonts.
15627         (SetFont): Freeze the undo as we may change fonts in Insets and
15628         all this change should be inside only one Undo!
15629
15630         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15631         setting font's in insets as for them we have the SetFont function!
15632
15633 2001-05-15  Juergen Vigna  <jug@sad.it>
15634
15635         * text2.C (ClearSelection): to be sure we REALLY don't have any
15636         selection anymore!
15637
15638         * tabular.C (TeXCellPreamble): fixed the left border problem for
15639         multicolumn cells.
15640
15641 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15642
15643         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15644         dependancy file
15645
15646 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15647
15648         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15649         LFUN_BREAKPARAGRAPH.
15650
15651         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15652         help test to "internal only", similar for LFUN_INSERT_URL
15653
15654         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15655         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15656         auto_region_delete and deadkeys.
15657
15658 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15659
15660         * LColor.h:
15661         * LColor.C: remove some dead entries, tidy a little
15662
15663 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15664
15665         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15666         commented code.
15667         (Dispatch): implement LFUN_ESCAPE
15668
15669         * commandtags.h: add LFUN_ESCAPE
15670
15671         * LyXAction.C (init): add entry for LFUN_ESCAPE
15672
15673         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15674         Remove commented code.
15675         (insertNote): moved here
15676         (open_new_inset): moved here
15677
15678         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15679         BufferView_pimpl
15680
15681 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15682
15683         * kbmap.C (findbinding): clean it up and make it work correctly.
15684
15685         * lyx_main.C (init): do not pass argc and argv as parameters
15686
15687 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15688
15689         * buffer.C: fix path for OS/2 & Win32
15690
15691         * lyx_gui.C:
15692         * lyx_main:
15693         * lyx_main.C: Added os:: class.
15694
15695         * os2_defines.h: update
15696
15697 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15698
15699         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15700         better by trying again with reduced state.
15701
15702 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * lyxrc.C (read): print error about invalid key sequence only when
15705         debugging (because not all latinX keysyms are known to some X
15706         servers)
15707
15708         * kbsequence.C (getiso): add a few std:: qualifiers
15709         (getiso): comment out extra return statement.
15710
15711 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15712
15713         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15714         handling.
15715         (Dispatch): enhance the accent inset a bit. (not perfect)
15716
15717 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15718
15719         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15720
15721 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * bufferlist.C (emergencyWrite): fix assert() call
15724
15725 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15726
15727         * text.C (InsertChar): Added trivial patch to only send the "you
15728         can not do multiple spaces this way" message once during a
15729         session.
15730
15731 2001-05-08  Baruch Even  <baruch@lyx.org>
15732
15733         * Makefile.am: Changed order of libraries to get LyX to link properly
15734         with the gnome frontend.
15735
15736 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15737
15738         * LaTeXFeatures.h: add a std:: qualifier
15739
15740 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15741
15742         * paragraph.C (String): use stringstream
15743
15744 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15745
15746         * paragraph.C (writeFile): remove footflag arg
15747
15748         * buffer.C (makeLaTeXFile): use stringstream
15749         (latexParagraphs): remove footnot gurba
15750
15751         * LaTeXFeatures.C (getPackages): use stringstream
15752         (getMacros): likewise
15753         (getTClassPreamble): likewise
15754         (getFloatDefinitions): new method
15755
15756         * paragraph.C (writeFile): reindent
15757         (Erase): reindent
15758
15759         * WorkArea.h: revert the xpos + etc changes.
15760
15761         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15762
15763         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15764
15765         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15766         (pasteSelection): likewise
15767         * text2.C (CreateUndo): likewise
15768
15769 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15770
15771         * minibuffer.C (peek_event): temporarily reduce the functionality
15772         of the minibuffer (to allow args on lfuns)
15773
15774         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15775         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15776
15777         * buffer.C (readInset): add compability reading of old float
15778         lists, add reading of new style float list.
15779         (readInset): avoid reevaluation of inscmd.getCmdName()
15780         (getLists): reindent
15781
15782         * MenuBackend.C (MenuItem): implement parsing of
15783         md_floatlistinsert and md_floatinsert.
15784         (expand::LastFiles): move initalizaton of iterators out of loop,
15785         avoid reevaluation.
15786         (expand::Documents): introduce typdedef vector<string> Strings,
15787         and use it.
15788         (expand::ExportFormats): introduce typedef vector<Format const *>
15789         Formats, and use it.
15790         (expand): implement FloatListInsert and FloatInsert.
15791
15792         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15793         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15794         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15795
15796         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15797         handling.
15798         (Dispatch::LFUN_FLOAT_LIST): implement
15799
15800 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15801
15802         * LaTeX.C (run): Fix problem with --export code.
15803
15804 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15805
15806         * BufferView.[Ch] (workarea): removed.
15807         (getClipboard) new method; wrapper for workarea()->getClipboard()
15808
15809         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15810         bug.
15811
15812         * WorkArea.h (width, height, xpos, ypos): These methods all
15813         returned the dimensions of the work_area sub-area of WorkArea,
15814         resulting in a position error if the WorkArea were resized. Now
15815         return the dimensions of the entire WorkArea.
15816
15817         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15818
15819 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * LaTeX.C (deplog): correct the syntax of regex reg1
15822
15823 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15824
15825         * undo.C: remove !NEW_INSETS cruft
15826
15827 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15828
15829         * text2.C: remove !NEW_INSETS cruft
15830
15831         * text.C: remove !NEW_INSETS cruft
15832
15833         * tabular.C: remove !NEW_INSETS cruft
15834
15835         * spellchecker.C: remove !NEW_INSETS cruft
15836
15837         * lyxtext.h: remove !NEW_INSETS cruft
15838
15839         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15840
15841         * lyxfunc.C: remove !NEW_INSETS cruft
15842
15843         * lyxfind.C: remove !NEW_INSETS cruft
15844
15845         * lyx_cb.C: remove !NEW_INSETS cruft
15846
15847         * figureForm.C: remove  !NEW_INSETS cruft
15848
15849         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15850
15851         * buffer.[Ch]: remove !NEW_INSETS cruft
15852
15853         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15854
15855         * CutAndPaste.C: remove !NEW_INSETS cruft
15856
15857         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15858
15859         * BufferView2.C: remove !NEW_INSETS cruft
15860
15861         * BufferView.h: remove !NEW_INSETS cruft
15862
15863 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15864
15865         * Lsstream.h: include LString.h before the sstream headers to
15866         fix problem with gcc 2.95.3 and lyxstring
15867
15868 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * lyx_main.C: add using directives when needed for C functions
15871         declared in std:: namespace.
15872
15873 2001-04-27  Juergen Vigna  <jug@sad.it>
15874
15875         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15876         (SetHeightOfRow): comment out the update call should not be needed!
15877
15878 2001-04-13  Juergen Vigna  <jug@sad.it>
15879
15880         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15881         (LyXTabular): tried to minimize operator= operations (and realized
15882         hopfully Lars wish).
15883
15884 2001-04-27  Juergen Vigna  <jug@sad.it>
15885
15886         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15887
15888 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15889
15890         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15891
15892         * buffer.C (readInset): hack to make listof algorithm work
15893
15894         * BufferView_pimpl.C: hack to make listof algorithm work
15895
15896 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15897
15898         * LyXAction.C: removed all !NEW_INSETS cruft
15899         (init): moved lfun_item in method
15900
15901         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15902
15903 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15904
15905         * BufferView2.C (theLockingInset): white space.
15906
15907 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15908
15909         * minibuffer.C: include <iostream>
15910
15911         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15912
15913         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15914
15915         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15916
15917         * text.[Ch] (TransposeChars): new method
15918
15919 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15920
15921         * call message directly through LyXView instead of through LyXFunc
15922         * BufferView2.C: adjust
15923         * BufferView_pimpl.C: adjust
15924         * FontLoader.C: adjust
15925         * buffer.C: adjust
15926         * bufferview_funcs.C: adjust
15927         * converter.C: adjust
15928         * figureForm.C: adjust
15929         * importer.C: adjust
15930         * lyx_cb.C: adjust
15931         * lyx_gui_misc.C: adjust
15932         * lyxfunc.C: adjust
15933         * lyxvc.C: adjust
15934         * text2.C: adjust
15935         + more files in subdirs
15936
15937         * lyxparagraph.h (size): move up int file
15938         (GetLayout): ditto
15939
15940         * adjust all uses of Assert to lyx::Assert.
15941
15942         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15943         lyxfunctional in namespace lyx
15944         * layout.C (hasLayout): ditto
15945         (GetLayout): ditto
15946         (GetLayout): ditto
15947         (delete_layout): ditto
15948         (NumberOfClass): ditto
15949         * converter.C (GetFormat): ditto
15950         (GetNumber): ditto
15951         (Add): ditto
15952         (Delete): ditto
15953         (SetViewer): ditto
15954         * bufferlist.C (getFileNames): ditto
15955         (emergencyWriteAll): ditto
15956         (exists): ditto
15957         (getBuffer): ditto
15958         * MenuBackend.C (hasSubmenu): ditto
15959         (hasMenu): ditto
15960         (getMenu): ditto
15961         * BufferView_pimpl.C (getInsetByCode): ditto
15962
15963 2001-04-18  Juergen Vigna  <jug@sad.it>
15964
15965         * vspace.C (asLatexString): fixed the 100% problem.
15966
15967 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15968
15969         * lyxfunc.C (Dispatch):
15970         * minibuffer.C:
15971         * minibuffer.h: add a few std:: qualifiers
15972
15973 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15974
15975         * minibuffer.[Ch]: reimplement so that commands is initiated and
15976         run from lyxfunc, simplified som handling, and made the completion
15977         and history code for complete. wip.
15978
15979         * lyxfunc.C (processKeySym): call message
15980         (miniDispatch): new temporary method
15981         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15982         (LFUN_MESSAGE): implement
15983         (LFUN_MESSAGE_PUSH): implement
15984         (LFUN_MESSAGE_POP): implement
15985         (initMiniBuffer): the initial/defualt minibuffer message.
15986
15987         * lyxfont.[Ch]: inline some more getters
15988
15989         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15990
15991         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15992
15993         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15994         (AutoSave): use LFUN_MESSAGE
15995         (Reconfigure): ditto
15996
15997         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15998
15999         * figureForm.C: use LFUN_MESSAGE
16000
16001         * converter.C (runLaTeX): use LFUN_MESSAGE
16002
16003         * bufferview_funcs.C: use LFUN_MESSAGE
16004         (Melt): ditto
16005         (changeDepth): ditto
16006
16007         * bufferparams.h: use boost::
16008
16009         * bufferlist.h: inherit privately from noncopyable
16010
16011         * bufferlist.C (loadLyXFile): remove some commented code.
16012
16013         * buffer.C (runChktex): use LFUN_MESSAGE
16014
16015         * ShareContainer.h: inherit privately from noncopyable
16016
16017         * ParagraphParameters.[hC] (depth): inline it.
16018
16019         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16020         methods.
16021         (message): new method
16022         (messagePush): ditto
16023         (messagePop): ditto
16024         (show): init minibuffer
16025         (showState): direct call
16026
16027         * LaTeX.[Ch]: inherit privately from noncopyable
16028         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16029         instead of WriteStatus.
16030
16031         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16032
16033         * BufferView_pimpl.C (buffer): don't init minibuffer
16034         (workAreaButtonPress): use LFUN_MESSAGE
16035         (workAreaButtonRelease): ditto
16036         (savePosition): ditto
16037         (restorePosition): ditto
16038         (MenuInsertLyXFile): ditto
16039         (workAreaExpose): don't init minibuffer
16040         (update): remove commented code, simplify
16041
16042         * BufferView2.C (openStuff): use LFUN_MESSAGE
16043         (toggleFloat): ditto
16044         (menuUndo): ditto
16045         (menuRedo): ditto
16046         (copyEnvironment): ditto
16047         (pasteEnvironment): ditto
16048         (copy): ditto
16049         (cut): ditto
16050         (paste): ditto
16051         (gotoInset): ditto
16052         (updateInset): remove some commented code
16053
16054         * lastfiles.h: inherit privately from noncopyable
16055         * layout.h: ditto
16056         * lyx_gui.h: ditto
16057         * lyx_main.h: ditto
16058         * lyxlex.h: ditto
16059         * lyxlex_pimpl.h: ditto
16060
16061         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16062         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16063         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16064
16065         * LyXAction.h: inherit privately from noncopyable, add methods
16066         func_begin, func_end, returning iterators to the func map.
16067
16068         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16069         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16070         (func_begin): new method
16071         (func_end): new method
16072
16073         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16074         and not)
16075         (copySelection): ditto
16076         (pasteSelection): ditto
16077
16078         * BufferView.C: whitespace change
16079         * BufferView.h: inherit privately from noncopyable
16080
16081 2001-04-16  Allan Rae  <rae@lyx.org>
16082
16083         * tabular-old.C (l_getline):
16084         * spellchecker.C (sc_check_word):
16085         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16086         an unrecognised preprocessor directive.  So ensure they're wrapped.
16087
16088 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16089
16090         * src/exporter.C (Export): Give an error message when path to file
16091         contains spaces.
16092
16093 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16094
16095         * LaTeX.C (deplog): Always check that foundfile exists.
16096
16097 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * lyx_main.h:
16100         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16101
16102 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16103
16104         * tabular.[Ch] (getLabelList): implement new method
16105
16106         * minibuffer.h: comment ouf setTiimer
16107
16108         * minibuffer.C (ExecutingCB): constify res
16109         (peek_event): constify s
16110         (Set): constify ntext
16111         (Init): constify nicename
16112
16113         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16114
16115         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16116         (savePosition): use two params to Minibuffer::Set
16117         (restorePosition): ditto
16118
16119 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16120
16121         * lyx_main.C: include language.h
16122
16123         * Makefile.am (lyx_main.o): add language.h
16124
16125 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16126
16127         * exporter.C:
16128         * paragraph.C:
16129         * screen.C:
16130         * tabular.C:
16131         * CutAndPaste.C: include gettext.h
16132
16133         * lyxfont.h: remove old hack with ON and OFF.
16134
16135         * lyxparagraph.h:
16136         * lyxfont.h: do not include language.h...
16137
16138         * BufferView2.C:
16139         * LaTeXFeatures.C:
16140         * Painter.C:
16141         * bufferview_funcs.C:
16142         * font.C:
16143         * lyxfont.C:
16144         * text.C:
16145         * text2.C:
16146         * trans_mgr.C:
16147         * paragraph.C: ... but do it here instead
16148
16149 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16150
16151         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16152
16153         * tabular.C: small reformat
16154
16155         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16156         NEW_INSETS version
16157         (GetChar): ditto
16158         (BreakParagraph): ditto
16159         (SetOnlyLayout): ditto
16160         (SetLayout): ditto
16161
16162         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16163         with one arg less.
16164
16165         * lastfiles.C: removed most using decl, add std:: where needed
16166
16167         * buffer.C: ws changes
16168
16169         * MenuBackend.C (class compare_format): put into anon namespace
16170         (expand): constify label, names, action, action2
16171         (expand):
16172
16173         * text.C (SingleWidth): constify font
16174         (IsBoundary): constify rtl2
16175         (GetVisibleRow): constify ww
16176
16177         * LaTeX.C (deplog): constify logfile
16178
16179         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16180         start_x, end_x
16181         (workAreaExpose): constify widthChange, heightChange
16182
16183         * lyxrow.C (par): moved
16184         (height): moved
16185         (next): moved
16186         * lyxrow.h: as inlines here
16187
16188         * lyxfont.h (shape): moved from lyxfont.C
16189         (emph): moved from lyxfont.C
16190
16191         * lyxfont.C (LyXFont): use initialization list for all
16192         constructors
16193         (shape): move to lyxfont.h as inline
16194         (emph): move to lyxfont.h as inline
16195
16196
16197 2001-04-04  Juergen Vigna  <jug@sad.it>
16198
16199         * vspace.C: had to include stdio.h for use of sscanf
16200
16201 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16202
16203         * BufferView.h:
16204         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16205         independent of xforms.
16206
16207 2001-04-02  Juergen Vigna  <jug@sad.it>
16208
16209         * spellchecker.C: fixed namespace placing!
16210
16211 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16212
16213         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16214         the LyXParagraph * is 0.
16215
16216 2001-03-29  Juergen Vigna  <jug@sad.it>
16217
16218         * vspace.C: added support for %, c%, p%, l%.
16219         (stringFromUnit): added helper function.
16220         (asLatexString): changed to give right results for the %-values.
16221
16222         * buffer.C: convert the widthp in a width%.
16223
16224 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16225
16226         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16227         figureForm.[Ch].
16228
16229         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16230         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16231
16232         * lyx_cb.[Ch]: see above.
16233
16234         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16235         form1.[Ch].
16236
16237         * form1.[Ch]:
16238         * lyx.[Ch]: replaced by figure_form.[Ch].
16239
16240         * lyx_gui.C:
16241         * lyx_gui_misc.C:
16242         * lyxfunc.C: changed headers associated with above changes.
16243
16244 2001-03-27  Juergen Vigna  <jug@sad.it>
16245
16246         * BufferView_pimpl.C: set the temporary cursor right!
16247
16248 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16249
16250         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16251
16252 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16253
16254         * LString.h: removed "using std::getline"!
16255
16256         * BufferView_pimpl.C (Dispatch): changes due to changes in
16257         InsetInclude::Params.
16258
16259         * buffer.C (tag_name): removed redundant break statements as they were
16260         producing lots of warnings with my compiler.
16261
16262 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16263
16264         * LString.h: add "using std::getline" when using the real <string>.
16265
16266 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16267
16268         * buffer.C: removed bitset usage.
16269         PAR_TAG moved to an anonymous name space.
16270         (tag_name): new funtion, also in the anonymous namespace.
16271         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16272         (makeDocBookFile): clean code. Completed transition from string arrays
16273         to string vectors.
16274         (SimpleDocBookOnePar): code clean.
16275
16276 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16277
16278         * tabular.C: add some comments.
16279
16280 2001-03-22  Juergen Vigna  <jug@sad.it>
16281
16282         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16283         compatibility read a bit and fixed bug with minipage in different
16284         depth.
16285
16286 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16287
16288         * buffer.C (pop_tag): removed.
16289         (push_tag): removed.
16290         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16291         array replaced with vector. Added support for CDATA sections.
16292         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16293         at any nest level.
16294         (makeDocBookFile): XML conformant declaration of CDATA section,
16295         fixed bug related to <emphasis> in the first paragraph char.
16296         (sgmlOpenTag): exclude empty tags.
16297         (sgmlCloseTag): ditto.
16298
16299         * buffer.h (pop_tag): removed.
16300         (push_tag): removed.
16301
16302 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16303
16304         * language.h (Languages): added size_type and size().
16305
16306 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16307
16308         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16309         response on compability reading of minipages. One probliem is that
16310         the old usage of minipages was «flertydig»
16311
16312         * several files here and in subdirs: don't use static at file
16313         scope use anon namespaces instead.
16314
16315 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16316
16317         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16318         LaTeX output. This is necessary for Literate document
16319         processing.
16320
16321 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16322
16323         * buffer.C: insert hfill when needed.
16324
16325         * tabular.C (l_getline): use string::erase, small whitespace change.
16326
16327         * BufferView_pimpl.C: try the anon namespace.
16328         * WorkArea.C: ditto
16329
16330 2001-03-16  Juergen Vigna  <jug@sad.it>
16331
16332         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16333         otherwise it won't open options-dialogs.
16334
16335         * buffer.C: honor pextraWidth(p) on converting minipages.
16336
16337         * tabular.C (l_getline): changed the functions to strip trailing \r.
16338
16339 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16340
16341         * BufferView_pimpl.C:
16342         * minibuffer..C: added "using SigC::slot" declaration.
16343
16344 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16345
16346         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16347
16348         * text2.C: ditto
16349
16350         * text.C: ditto
16351
16352         * paragraph.C: ditto
16353
16354         * lyxtext.h: NO_PEXTRA
16355
16356         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16357
16358         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16359         * ParameterStruct.h: ditto
16360         * ParagraphParameters.h: ditto
16361         * lyxparagraph.h: ditto
16362
16363 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16364
16365         * buffer.C: add compability for minipage alignment.
16366         (latexParagraphs): remove unwanted pextra check.
16367
16368         * several files: remove CXX_WORKING_NAMESPACES
16369
16370         * buffer.C (pop_tag): tie is in namespace boost
16371
16372         * BufferView.h: noncopyable is in namespace boost
16373         * lyxlex.h: ditto
16374         * lyx_main.h: ditto
16375         * lyx_gui.h: ditto
16376         * layout.h: ditto
16377         * lastfiles.h: ditto
16378         * bufferlist.h: ditto
16379         * ShareContainer.h: ditto
16380         * LyXView.h: ditto
16381         * LyXAction.h: ditto
16382         * LaTeX.h: ditto
16383
16384 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16385
16386         * Merging changes from BRANCH_MVC back into HEAD.
16387
16388         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16389
16390 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16391
16392         * BufferView_pimpl.C: change from intl.C
16393
16394         * combox.h:
16395         * combox.C:
16396         * Makefile.am: move combox.*
16397
16398         * form1.h:
16399         * form1.C:
16400         * lyx_gui.C:
16401         * intl.h:
16402         * intl.C: remove dialog (covered by prefs)
16403
16404 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16405
16406         * lyxfunc.C (Dispatch): removed redundant break statement.
16407
16408 2001-03-14  Juergen Vigna  <jug@sad.it>
16409
16410         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16411
16412 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16413
16414         * buffer.C: add hack to fix compability reading of minipages.
16415
16416 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16417
16418         * buffer.C (getLists): Cleanup.
16419
16420 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16421
16422         * lyxfont.C (update): don't honor toggleall on font size.
16423
16424 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16425
16426         * bmtable.c:
16427         * bmtable.h:
16428         * Makefile.am: moved to frontends/xforms/
16429
16430         * lyx_gui_misc.C:
16431         * lyxfunc.C:
16432         * BufferView_pimpl.C: changes for moved mathpanel
16433
16434 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16435
16436         * gettext.h: fix gettext_init() in --disable-nls
16437
16438 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16439
16440         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16441
16442 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16443
16444         * lyx.C:
16445         * lyx.h: strip external form
16446
16447 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16448
16449         * BufferView_pimpl.C: add comment, destroySplash()
16450
16451 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16452
16453         * BufferView_pimpl.C:
16454         * LyXAction.C:
16455         * buffer.C:
16456         * commandtags.h:
16457         * lyxfunc.C: use re-worked insetinclude
16458
16459 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16460
16461         * buffer.C: add using std::stringstream.
16462
16463         * lyx_cb.C: readd using std::ios.
16464
16465         * buffer.C: add using std::map.
16466
16467         * BufferView_pimpl.C: add using std::vector.
16468
16469         * ShareContainer.h: add std:: to swap.
16470
16471         * buffer.h: add some typedefs
16472         * buffer.C (getLists): use them
16473         (getLists): renamed from getTocList.
16474         add a counter for the different float types and use it in the
16475         generated string.
16476         (getLists): use the same counter for the NEW_INSETS and the "non"
16477         NEW_INSETS
16478
16479         * lyx_cb.h: remove unused items, includes, using etc.
16480
16481         * ShareContainer.h: remove some commented code, add more comments
16482         and "documentation".
16483
16484 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16485
16486         * buffer.C (getTocList): make the list also when NEW_INSETS is
16487         defined.
16488
16489         * buffer.h: remove TocType
16490
16491         * buffer.C (getTocList): change to return a map<string,
16492         vector<TocItem> >, implement for dynamic number of list.
16493
16494         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16495         * text2.C (PasteSelection): adjust
16496         * CutAndPaste.C (pasteSelection): adjust
16497
16498         * FloatList.C (FloatList): update from the new_insets branch.
16499         * Floating.[Ch]: ditto
16500         * LaTeXFeatures.C: ditto
16501         * buffer.C: ditto
16502         * lyxlex_pimpl.C: ditto
16503
16504         * paragraph.C (Last): remove when NEW_INSETS is defined.
16505
16506         * other file: changes because of the above.
16507
16508 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16509
16510         * lyxparagraph.h: rename next to next_, previous to previous_,
16511         make them private for NEW_INSETS. Rename Next() to next(),
16512         Previous() to previous().
16513
16514         * other files: changes because of the above.
16515
16516 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16517
16518         * BufferView.h:
16519         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16520         problem.
16521
16522 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16523
16524         * main.C (main): pass lyx_localedir to gettext_init().
16525
16526         * gettext.h: remove locale_init and gettext_init macros
16527
16528         * gettext.C (locale_init): new function
16529         (gettext_init): new function
16530
16531         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16532         setlocale().
16533
16534 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16535
16536         * Moved credits to frontends:
16537         * credits.[Ch]: removed
16538         * credits_form.[Ch]: removed
16539         * lyx_gui_misc.C: remove credits stuff
16540         * Makefile.am:
16541
16542 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16543
16544         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16545
16546         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16547         unneeded destructor.
16548
16549         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16550         a standalone pointer again.
16551
16552         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16553
16554 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16555
16556         * Makefile.am:
16557         * filedlg.h:
16558         * filedlg.C:
16559         * LyXAction.C:
16560         * ToolbarDefaults.C:
16561         * bufferlist.C:
16562         * commandtags.h:
16563         * form1.C:
16564         * form1.h:
16565         * lyx_cb.C:
16566         * lyx_cb.h:
16567         * lyxfunc.h:
16568         * lyxfunc.C:
16569         * BufferView_pimpl.C: use new file dialog in GUII
16570
16571         * lyx_cb.h:
16572         * lyx_cb.C: remove LayoutsCB to Toolbar
16573
16574 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * ShareContainer.h (get): add std:: qualifier
16577
16578 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16579
16580         * ShareContainer.h: define a proper ShareContainer::value_type
16581         type (and use typename to please compaq cxx)
16582
16583 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16584
16585         * lyxparagraph.h: move serveral local vars to
16586         ParameterStruct/ParagraphParameters., use ShareContainer in
16587         FontTable., make vars in FontTable private and add getter and
16588         setter.
16589
16590         * paragraph.C: changes because of the above.
16591
16592         * lyxfont.h: remove copy constructor and copy assignment. (the
16593         default ones is ok), move number inside FontBits. move inlines to
16594         lyxfont.C
16595
16596         * lyxfont.C: add number to initializaton of statics, move several
16597         inlines here. constify several local vars. some whitespace
16598         cleanup. Dont hide outerscope variables.
16599
16600         * Spacing.h: add two new constructors to match the set methods.
16601
16602         * ShareContainer.h: new file, will perhaps be moved to support
16603
16604         * ParameterStruct.h: new file
16605
16606         * ParagraphParameters.h: new file
16607
16608         * ParagraphParameters.C: new file
16609
16610         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16611         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16612
16613         * BufferView_pimpl.C: ParagraphParameter changes.
16614         * buffer.C: Likewise.
16615         * bufferview_funcs.C: Likewise.
16616         * text.C: Likewise.
16617         * text2.C: Likewise.
16618
16619 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16620
16621         * lyxfind.C (LyXReplace): do not redefine default argument in
16622         implementation.
16623         (IsStringInText): ditto
16624         (SearchForward): ditto
16625         (SearchBackward): ditto
16626
16627 2001-03-06  Juergen Vigna  <jug@sad.it>
16628
16629         * lyxfind.C (IsStringInText): put parentes around expressions.
16630
16631 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16632
16633         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16634
16635 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16636
16637         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16638
16639         * stl_string_fwd.h: add comment
16640
16641         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16642
16643         * tabular.h:
16644         * tabular.C: remove unused DocBook methods
16645
16646         * intl.C:
16647         * language.C:
16648         * paragraph.C:
16649         * buffer.C:
16650         killed DO_USE_DEFAULT_LANGUAGE
16651
16652 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16653
16654         * lyx_gui.C: do not include language.h.
16655
16656         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16657         arguments in function implementation.
16658
16659 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16660
16661         * BufferView_pimpl.C: add <ctime>
16662
16663 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16664
16665         * BufferView_pimpl.C: add using std::find_if
16666
16667 2001-02-27  José Matos  <jamatos@fep.up.pt>
16668
16669         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16670         by OnlyPath.
16671
16672 2001-02-11  José Matos  <jamatos@fep.up.pt>
16673
16674         * buffer.C (makeDocBookFile): command styles now have a parameter as
16675         "title" by default.
16676
16677 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16678
16679         * layout_forms.[Ch]: removed
16680         * lyx_cb.[Ch]: out character
16681         * lyx_gui.C: out character
16682         * lyx_gui_misc.C: out character
16683         * bufferview_funcs.C: : out character,
16684         added toggleall as parameter in ToggleAndShow
16685
16686 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16687
16688         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16689
16690         * text2.C (SetCurrentFont): Disable number property at boundary.
16691
16692 2001-02-26  Juergen Vigna  <jug@sad.it>
16693
16694         * lyxfunc.C (getStatus): added a string argument override function so
16695         that this is correctly called from LyXFunc::Dispatch if it contains a
16696         do_not_use_argument which is used!
16697         (Dispatch): added check for "custom" export and call appropriate func.
16698
16699 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16700
16701         * lyxrc.C: Add language_command_local, language_use_babel and
16702         language_global_options.
16703
16704         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16705
16706         * buffer.C (makeLaTeXFile): Use language_use_babel and
16707         language_global_options.
16708
16709 2001-02-23  Juergen Vigna  <jug@sad.it>
16710
16711         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16712         which works with LyXText and putted it inside BufferView. Here now we
16713         only call for that part the BufferView::Dispatch() function.
16714
16715         * BufferView.C (Dispatch): added.
16716
16717         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16718         functions which needs to use a LyXText over from LyXFunc.
16719         (MenuInsertLyXFile): added
16720         (getInsetByCode): added
16721         (moveCursorUpdate): added
16722         (static TEXT): added
16723
16724 2001-02-22  Juergen Vigna  <jug@sad.it>
16725
16726         * BufferView_pimpl.C (update): call a status update to see if LyXText
16727         needs it.
16728
16729 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16730
16731         * vc-backend.C (revert): implement for CVS
16732         (getLog): implement for CVS
16733
16734 2001-02-20  Juergen Vigna  <jug@sad.it>
16735
16736         * text2.C (ClearSelection): added BufferView param for inset_owner call
16737
16738         * lyxfunc.C (TEXT): added this function and use it instead of
16739         directly owner->view()-text of getLyXText().
16740
16741 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16742
16743         * src/layout_forms.C: out preamble
16744         * src/layout_forms.h: out preamble
16745         * src/lyx_cb.C: out preamble
16746         * src/lyx_cb.h: out preamble
16747         * src/lyx_gui.C: out preamble
16748         * src/lyx_gui_misc.C: out preamble
16749         * src/lyxfunc.C: connect with guii preamble
16750
16751 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16752
16753         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16754
16755 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16756
16757         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16758         whether to run bibtex.
16759
16760 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16761
16762         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16763
16764 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16765
16766         * Makefile.am (lyx_SOURCES): removed bibforms.h
16767
16768         * vspace.h: doxygen
16769
16770         * text.C (GetVisibleRow): make several local vars const
16771
16772         * tabular.C: small cleanup.
16773
16774         * lyxserver.C (callback): use compare instead of strncmp
16775
16776         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16777         inlines to after class or to paragraph.C
16778
16779         * lyxfont.h: remove friend operator!=
16780
16781         * converter.h: move friend bool operator< to non friend and after
16782         class def.
16783
16784         * combox.h: small cleanup
16785
16786         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16787         to inlines after class def.
16788
16789         * buffer.C (pop_tag): use string operations instead of strcmp
16790
16791         * bmtable.c: doxygen, small cleanup
16792
16793         * LaTeX.h: remove friend operator==
16794
16795 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16796
16797         * screen.C:
16798         * lyxrc.[Ch]:
16799         * lyxfunc.C:
16800         * lyxfont.[Ch]:
16801         * lyx_cb.C:
16802         * intl.[Ch]:
16803         * commandtags.h:
16804         * buffer.C:
16805         * WorkArea.[Ch]:
16806         * LyXAction.C:
16807         * BufferView_pimpl.C:
16808         * BufferView.[Ch]: remove cruft
16809
16810 2001-02-14  Juergen Vigna  <jug@sad.it>
16811
16812         * lyxfunc.C: removed #if 0 unused code
16813
16814         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16815
16816         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16817
16818         * text2.C (SetSelection): added a BufferView * parameter
16819
16820 2001-02-13  Juergen Vigna  <jug@sad.it>
16821
16822         * lyxfunc.C (Dispatch): fixed protected blank problem.
16823         * BufferView2.C (protectedBlank): added LyxText * parameter.
16824
16825         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16826         (AppendColumn): same as above for column_info.
16827
16828         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16829         (moveCursorUpdate): use a LyXText param for support of InsetText.
16830
16831         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16832         (tripleClick): ditto
16833
16834         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16835
16836         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16837
16838         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16839
16840         * text2.C (SetSelection): set correct update status if inset_owner
16841         (ToggleFree): ditto
16842
16843 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16844
16845         * tabular.C: remove some commented code.
16846
16847 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16848
16849         * BufferView_pimpl.C: call hideSplash()
16850
16851         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16852
16853         * include_form.h:
16854         * bibforms.h: remove
16855
16856         * lyxfunc.C:
16857         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16858           add LFUN_CHILD_CREATE
16859
16860         * counters.h: fix tiny typo
16861
16862         * lyx_cb.C:
16863         * lyx.h:
16864         * lyx_gui.C:
16865         * lyx.C: move splash to frontends/xforms/
16866
16867         * lyx_gui_misc.C: move Include and Bibform to frontends
16868
16869         * lyxvc.h: clarify comment
16870
16871         * vspace.C: tiny housekeeping
16872
16873 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16874
16875         * text.C (PrepareToPrint): RTL Fix.
16876
16877         * paragraph.C (GetUChar): New method.
16878         (String):  Use GetUChar.
16879
16880         * buffer.C (asciiParagraph): Use GetUChar.
16881
16882 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16883
16884         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16885
16886 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16887
16888         * buffer.h:
16889         * buffer.C: rename to getLogName(), handle
16890           build log / latex log nicely
16891
16892 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16893
16894         * MenuBackend.C:
16895         * MenuBackend.h: remove support for reference menuitem type.
16896
16897 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16898
16899         * BufferView_pimpl.C: housekeeping
16900         * BufferView_pimpl.h:
16901         * LyXView.h:
16902         * Makefile.am:
16903         * Timeout.C:
16904         * Timeout.h:
16905         * minibuffer.h: move Timeout GUI-I
16906
16907 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16908
16909         * lyxrc.C (read): Update converters data-structures.
16910
16911 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16912
16913         * LaTeX.h (operator!=): add operator != for Aux_Info
16914
16915 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16916
16917         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16918
16919         * LaTeXLog.C: deleted, useful code moved to Buffer
16920
16921         * buffer.h:
16922         * buffer.C: new function getLatexLogName()
16923
16924         * lyx_gui_misc.C:
16925         * lyx_gui.C:
16926         * lyxvc.C:
16927         * lyxvc.h:
16928         * lyxfunc.C: use frontends for LaTeX and VC logs
16929
16930 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16931
16932         * LaTeX.h: yet another std:: that Allan forgot.
16933
16934         * Variables.C (set): renamed from isset(), because this clashes
16935         with some HP-UX macros (grr).
16936
16937 2001-02-06  Allan Rae  <rae@lyx.org>
16938
16939         * LaTeX.h: Another bug fix.  Missing std:: this time.
16940
16941 2001-02-04  Allan Rae  <rae@lyx.org>
16942
16943         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16944         floats problem. I've left it commented out because it's not quite
16945         correct.  It should also test that the current object is a table or
16946         figure inset.  But I haven't gotten around to figuring out how to do
16947         that.  I *think* it'll be something like: "table" == inset.type()
16948
16949         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16950         bool.
16951
16952 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16953
16954         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16955         all the citation/databases/styles in the auxilary file.
16956         (run): Rerun latex if there was a babel language error.
16957
16958 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16959
16960         * text.C (Backspace): Preserve the font when changing newline char
16961         with a space.
16962         (BreakParagraph): If the cursor is before a space, delete the space.
16963
16964         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16965
16966 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16967
16968         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16969         new argument (code).
16970         (ChangeCitationsIfUnique): New method.
16971
16972         * paragraph.C (GetPositionOfInset): Handle bibkey.
16973
16974 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16975
16976         * BufferView_pimpl.h: change type of Position::par_pos to
16977         LyXParagraph::size_type.
16978
16979 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16980
16981         * BufferView_pimpl.C (savePosition, restorePosition): Write
16982         messages to minibuffer.
16983
16984 2001-01-28  José Matos  <jamatos@fep.up.pt>
16985
16986         * buffer.C (makeDocBookFile): adds support for document language.
16987         A silly restriction on the name of LatexCommand types where removed.
16988         Added support for CDATA sections, allows to chars unescaped, used
16989         among others in code, to avoid escape < and >.
16990
16991 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16992
16993         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16994         saved positions instrad of a stack. Furthermore, a position is
16995         stored using paragraph id/paragraph position.
16996
16997         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16998         Remove LFUN_REF_BACK.
16999
17000 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17001
17002         * converter.C (dvipdfm_options): New method.
17003
17004 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17005
17006         * vspace.C (isValidLength): Fix for empty input string.
17007
17008 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17009
17010         * LyXAction.C (init): change description of LFUN_FIGURE to
17011         "Insert Graphics"
17012
17013 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17014
17015         * LaTeX.C: add using directive
17016
17017 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17018
17019         * MenuBackend.C (expand): Fix the sorting of the formats.
17020
17021 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17022
17023         * lyx_main.C: tiny error message fix
17024
17025 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17026
17027         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17028         calling fl_initialize(). This fixes the problem with ',' as
17029         decimal separator in text files.
17030
17031 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17032
17033         * trans.C (process): Fix the keymap bug.
17034
17035 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17036
17037         * LaTeX.C (scanAuxFiles): New method. Provides support for
17038         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17039         (scanLogFile) Scan for "run BibTeX" messages.
17040
17041         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17042         OT1 font encoding. Also, load the aecompl package if the ae
17043         package is loaded.
17044
17045         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17046
17047 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17048
17049         * texrow.C (increasePos): turn two error messages into debug
17050         messages.
17051
17052 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17053
17054         * LaTeX.C (scanAux): Handle the \@input macro.
17055         (runBibTeX): Use scanAux().
17056
17057         * language.C (latex_options_): New field.
17058
17059         * LaTeXFeatures.C (getMacros): Add language macros.
17060
17061         * buffer.C (makeLaTeXFile): Small fix.
17062
17063 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17064
17065         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17066
17067         * text2.C: add a using directive.
17068
17069 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17070
17071         * BufferView2.C:
17072         * lyx_gui_misc.h:
17073         * lyxfr1.C:
17074         * lyxfunc.C: kill LyXBell.
17075
17076 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17077
17078         * text.C (IsBoundary): Remove the error message
17079
17080         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17081
17082         * lyxrc.C (setDefaults): Correct initialization value for
17083         font_norm_type.
17084
17085 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17086
17087         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17088         gotoError().
17089
17090         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17091         and GotoNextNote().
17092
17093         * src/LyXAction.C: Added reference-next.
17094
17095         * text.C (InsertChar): Use contains instead of strchr.
17096
17097         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17098
17099 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17100
17101         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17102         alignment commands (when needed).
17103
17104         * text.C (InsertChar): Add ':' to number separator chars.